call.c:_PyVectorcall_NARGS:
   34|  5.85k|{
   35|  5.85k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  5.85k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  5.85k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|  5.85k|}
exceptions.c:_PyVectorcall_NARGS:
   34|    331|{
   35|    331|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|    331|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|    331|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|    331|}
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|     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|}
setobject.c:_PyVectorcall_NARGS:
   34|     94|{
   35|     94|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|     94|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     94|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|     94|}
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|    762|{
   35|    762|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|    762|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|    762|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|    762|}
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|    143|{
   35|    143|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|    143|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|    143|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|    143|}
bltinmodule.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|}
import.c:PyObject_CallMethodOneArg:
   70|     22|{
   71|     22|    PyObject *args[2] = {self, arg};
   72|     22|    size_t nargsf = 2 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|     22|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     22|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   73|     22|    assert(arg != NULL);
  ------------------
  |  Branch (73:5): [True: 22, False: 0]
  ------------------
   74|     22|    return PyObject_VectorcallMethod(name, args, nargsf, _Py_NULL);
  ------------------
  |  |   57|     22|#  define _Py_NULL NULL
  ------------------
   75|     22|}
pylifecycle.c:PyObject_CallMethodNoArgs:
   63|      6|{
   64|      6|    size_t nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|      6|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|      6|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|       |    return PyObject_VectorcallMethod(name, &self, nargsf, _Py_NULL);
  ------------------
  |  |   57|      6|#  define _Py_NULL NULL
  ------------------
   66|      6|}
_iomodule.c:PyObject_CallMethodNoArgs:
   63|     33|{
   64|     33|    size_t nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|     33|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     33|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|       |    return PyObject_VectorcallMethod(name, &self, nargsf, _Py_NULL);
  ------------------
  |  |   57|     33|#  define _Py_NULL NULL
  ------------------
   66|     33|}
iobase.c:PyObject_CallMethodNoArgs:
   63|     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|     22|{
   71|     22|    PyObject *args[2] = {self, arg};
   72|     22|    size_t nargsf = 2 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|     22|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     22|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   73|     22|    assert(arg != NULL);
  ------------------
  |  Branch (73:5): [True: 22, False: 0]
  ------------------
   74|     22|    return PyObject_VectorcallMethod(name, args, nargsf, _Py_NULL);
  ------------------
  |  |   57|     22|#  define _Py_NULL NULL
  ------------------
   75|     22|}
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|     24|{
   71|     24|    PyObject *args[2] = {self, arg};
   72|     24|    size_t nargsf = 2 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|     24|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     24|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   73|     24|    assert(arg != NULL);
  ------------------
  |  Branch (73:5): [True: 24, False: 0]
  ------------------
   74|     24|    return PyObject_VectorcallMethod(name, args, nargsf, _Py_NULL);
  ------------------
  |  |   57|     24|#  define _Py_NULL NULL
  ------------------
   75|     24|}
_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|}
descrobject.c:_PyVectorcall_NARGS:
   34|  1.42k|{
   35|  1.42k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  1.42k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  1.42k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|  1.42k|}
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|     49|{
   35|     49|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|     49|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     49|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|     49|}
fileobject.c:PyObject_CallMethodNoArgs:
   63|     76|{
   64|     76|    size_t nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|     76|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     76|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|       |    return PyObject_VectorcallMethod(name, &self, nargsf, _Py_NULL);
  ------------------
  |  |   57|     76|#  define _Py_NULL NULL
  ------------------
   66|     76|}
methodobject.c:_PyVectorcall_NARGS:
   34|  3.15k|{
   35|  3.15k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  3.15k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  3.15k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|  3.15k|}

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|}
typeobject.c:PyByteArray_AS_STRING:
   25|    512|{
   26|    512|    return _PyByteArray_CAST(op)->ob_start;
  ------------------
  |  |   22|    512|    (assert(PyByteArray_Check(op)), _Py_CAST(PyByteArrayObject*, op))
  |  |  ------------------
  |  |  |  |   37|    512|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (26:12): [True: 512, False: 0]
  ------------------
   27|    512|}
bytearrayobject.c:PyByteArray_GET_SIZE:
   30|     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|      5|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|      5|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|      5|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 5, False: 0]
  ------------------
   31|      5|    return Py_SIZE(self);
  ------------------
  |  |  214|      5|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|      5|}
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|     49|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|     49|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|     49|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|     49|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 49, False: 0]
  ------------------
   31|     49|    return Py_SIZE(self);
  ------------------
  |  |  214|     49|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     49|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     49|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|     49|}
unicodeobject.c:PyBytes_AS_STRING:
   24|     43|{
   25|     43|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|     43|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|     43|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 43, False: 0]
  ------------------
   26|     43|}
ceval.c:PyBytes_AS_STRING:
   24|    466|{
   25|    466|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|    466|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|    466|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 466, False: 0]
  ------------------
   26|    466|}
ceval.c:PyBytes_GET_SIZE:
   29|    466|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|    466|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|    466|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|    466|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 466, False: 0]
  ------------------
   31|    466|    return Py_SIZE(self);
  ------------------
  |  |  214|    466|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    466|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    466|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|    466|}
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|    206|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|    206|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|    206|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|    206|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 206, False: 0]
  ------------------
   31|    206|    return Py_SIZE(self);
  ------------------
  |  |  214|    206|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    206|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    206|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|    206|}
bytearrayobject.c:PyBytes_AS_STRING:
   24|    206|{
   25|    206|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|    206|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|    206|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 206, False: 0]
  ------------------
   26|    206|}
bytesobject.c:PyBytes_AS_STRING:
   24|    635|{
   25|    635|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|    635|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|    635|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 635, False: 0]
  ------------------
   26|    635|}
bytesobject.c:PyBytes_GET_SIZE:
   29|  1.33k|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|  1.33k|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|  1.33k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  1.33k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 1.33k, False: 0]
  ------------------
   31|  1.33k|    return Py_SIZE(self);
  ------------------
  |  |  214|  1.33k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.33k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.33k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|  1.33k|}
codeobject.c:PyBytes_GET_SIZE:
   29|  27.1k|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|  27.1k|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|  27.1k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  27.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 27.1k, False: 0]
  ------------------
   31|  27.1k|    return Py_SIZE(self);
  ------------------
  |  |  214|  27.1k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  27.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|  27.1k|}
codeobject.c:PyBytes_AS_STRING:
   24|  19.9k|{
   25|  19.9k|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|  19.9k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  19.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 19.9k, False: 0]
  ------------------
   26|  19.9k|}
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|  1.95k|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|  1.95k|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|  1.95k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  1.95k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 1.95k, False: 0]
  ------------------
   31|  1.95k|    return Py_SIZE(self);
  ------------------
  |  |  214|  1.95k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.95k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.95k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|  1.95k|}
lexer.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|}
action_helpers.c:PyBytes_AS_STRING:
   24|     14|{
   25|     14|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|     14|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 14, False: 0]
  ------------------
   26|     14|}
action_helpers.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|}

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|    514|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|    514|    PyDictObject *mp;
   55|    514|    assert(PyAnyDict_Check(op));
  ------------------
  |  Branch (55:5): [True: 514, False: 0]
  |  Branch (55:5): [True: 0, False: 0]
  ------------------
   56|    514|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|    514|#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|    514|    return mp->ma_used;
   61|    514|#endif
   62|    514|}
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|      2|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|      2|    PyDictObject *mp;
   55|      2|    assert(PyAnyDict_Check(op));
  ------------------
  |  Branch (55:5): [True: 2, False: 0]
  |  Branch (55:5): [True: 0, False: 0]
  ------------------
   56|      2|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
   57|       |#ifdef Py_GIL_DISABLED
   58|       |    return _Py_atomic_load_ssize_relaxed(&mp->ma_used);
   59|       |#else
   60|      2|    return mp->ma_used;
   61|      2|#endif
   62|      2|}
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|     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|}
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|}

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

listobject.c:PyList_GET_SIZE:
   30|  2.60k|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|  2.60k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  2.60k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  2.60k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 2.60k, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|  2.60k|    return Py_SIZE(list);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|  2.60k|#endif
   37|  2.60k|}
listobject.c:PyList_SET_ITEM:
   43|  19.5k|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|  19.5k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  19.5k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  19.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (44:26): [True: 19.5k, False: 0]
  ------------------
   45|  19.5k|    assert(0 <= index);
  ------------------
  |  Branch (45:5): [True: 19.5k, False: 0]
  ------------------
   46|  19.5k|    assert(index < list->allocated);
  ------------------
  |  Branch (46:5): [True: 19.5k, False: 0]
  ------------------
   47|  19.5k|    list->ob_item[index] = value;
   48|  19.5k|}
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|     59|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|     59|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|     59|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     59|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (44:26): [True: 59, False: 0]
  ------------------
   45|     59|    assert(0 <= index);
  ------------------
  |  Branch (45:5): [True: 59, False: 0]
  ------------------
   46|     59|    assert(index < list->allocated);
  ------------------
  |  Branch (46:5): [True: 59, False: 0]
  ------------------
   47|     59|    list->ob_item[index] = value;
   48|     59|}
unicodeobject.c:PyList_GET_SIZE:
   30|    378|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|    378|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|    378|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    378|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 378, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|    378|    return Py_SIZE(list);
  ------------------
  |  |  214|    378|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    378|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    378|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|    378|#endif
   37|    378|}
unicodeobject.c:PyList_SET_ITEM:
   43|     27|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|     27|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|     27|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (44:26): [True: 27, False: 0]
  ------------------
   45|     27|    assert(0 <= index);
  ------------------
  |  Branch (45:5): [True: 27, False: 0]
  ------------------
   46|     27|    assert(index < list->allocated);
  ------------------
  |  Branch (46:5): [True: 27, False: 0]
  ------------------
   47|     27|    list->ob_item[index] = value;
   48|     27|}
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|    132|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|    132|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|    132|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    132|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 132, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|    132|    return Py_SIZE(list);
  ------------------
  |  |  214|    132|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    132|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    132|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|    132|#endif
   37|    132|}
ceval.c:PyList_GET_SIZE:
   30|  2.20k|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|  2.20k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  2.20k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  2.20k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 2.20k, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|  2.20k|    return Py_SIZE(list);
  ------------------
  |  |  214|  2.20k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.20k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.20k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|  2.20k|#endif
   37|  2.20k|}
ceval.c:PyList_SET_ITEM:
   43|  1.91k|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|  1.91k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  1.91k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.91k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (44:26): [True: 1.91k, False: 0]
  ------------------
   45|  1.91k|    assert(0 <= index);
  ------------------
  |  Branch (45:5): [True: 1.91k, False: 0]
  ------------------
   46|  1.91k|    assert(index < list->allocated);
  ------------------
  |  Branch (46:5): [True: 1.91k, False: 0]
  ------------------
   47|  1.91k|    list->ob_item[index] = value;
   48|  1.91k|}
compile.c:PyList_GET_SIZE:
   30|     20|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|     20|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|     20|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 20, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|     20|    return Py_SIZE(list);
  ------------------
  |  |  214|     20|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|     20|#endif
   37|     20|}
compile.c:PyList_SET_ITEM:
   43|      4|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|      4|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|      4|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (44:26): [True: 4, False: 0]
  ------------------
   45|      4|    assert(0 <= index);
  ------------------
  |  Branch (45:5): [True: 4, False: 0]
  ------------------
   46|      4|    assert(index < list->allocated);
  ------------------
  |  Branch (46:5): [True: 4, False: 0]
  ------------------
   47|      4|    list->ob_item[index] = value;
   48|      4|}
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_GET_SIZE:
   30|  26.4k|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|  26.4k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  26.4k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  26.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 26.4k, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|  26.4k|    return Py_SIZE(list);
  ------------------
  |  |  214|  26.4k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  26.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  26.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|  26.4k|#endif
   37|  26.4k|}
marshal.c:PyList_SET_ITEM:
   43|    651|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|    651|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|    651|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    651|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (44:26): [True: 651, False: 0]
  ------------------
   45|    651|    assert(0 <= index);
  ------------------
  |  Branch (45:5): [True: 651, False: 0]
  ------------------
   46|    651|    assert(index < list->allocated);
  ------------------
  |  Branch (46:5): [True: 651, False: 0]
  ------------------
   47|    651|    list->ob_item[index] = value;
   48|    651|}
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|    892|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|    892|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|    892|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    892|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 892, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|    892|    return Py_SIZE(list);
  ------------------
  |  |  214|    892|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    892|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    892|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|    892|#endif
   37|    892|}
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|      2|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|      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 (44:26): [True: 2, False: 0]
  ------------------
   45|      2|    assert(0 <= index);
  ------------------
  |  Branch (45:5): [True: 2, False: 0]
  ------------------
   46|      2|    assert(index < list->allocated);
  ------------------
  |  Branch (46:5): [True: 2, False: 0]
  ------------------
   47|      2|    list->ob_item[index] = value;
   48|      2|}

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|  12.5k|_PyLong_IsCompact(const PyLongObject* op) {
  123|  12.5k|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  ------------------
  |  Branch (123:5): [True: 12.5k, False: 0]
  ------------------
  124|  12.5k|    return op->long_value.lv_tag < (2 << _PyLong_NON_SIZE_BITS);
  ------------------
  |  |  118|  12.5k|#define _PyLong_NON_SIZE_BITS 3
  ------------------
  125|  12.5k|}
longobject.c:_PyLong_CompactValue:
  131|  4.19k|{
  132|  4.19k|    Py_ssize_t sign;
  133|  4.19k|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  ------------------
  |  Branch (133:5): [True: 4.19k, False: 0]
  ------------------
  134|  4.19k|    assert(PyUnstable_Long_IsCompact(op));
  ------------------
  |  Branch (134:5): [True: 4.19k, False: 0]
  ------------------
  135|  4.19k|    sign = 1 - (op->long_value.lv_tag & _PyLong_SIGN_MASK);
  ------------------
  |  |  117|  4.19k|#define _PyLong_SIGN_MASK 3
  ------------------
  136|  4.19k|    if (sign == 0) {
  ------------------
  |  Branch (136:9): [True: 914, False: 3.28k]
  ------------------
  137|       |        // gh-147988: Make sure that the digit is zero.
  138|       |        // It helps detecting the usage of uninitialized digits.
  139|    914|        assert(op->long_value.ob_digit[0] == 0);
  ------------------
  |  Branch (139:9): [True: 914, False: 0]
  ------------------
  140|    914|    }
  141|  4.19k|    return sign * (Py_ssize_t)op->long_value.ob_digit[0];
  142|  4.19k|}
ceval.c:_PyLong_CompactValue:
  131|  3.36k|{
  132|  3.36k|    Py_ssize_t sign;
  133|  3.36k|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  ------------------
  |  Branch (133:5): [True: 3.36k, False: 0]
  ------------------
  134|  3.36k|    assert(PyUnstable_Long_IsCompact(op));
  ------------------
  |  Branch (134:5): [True: 3.36k, False: 0]
  ------------------
  135|  3.36k|    sign = 1 - (op->long_value.lv_tag & _PyLong_SIGN_MASK);
  ------------------
  |  |  117|  3.36k|#define _PyLong_SIGN_MASK 3
  ------------------
  136|  3.36k|    if (sign == 0) {
  ------------------
  |  Branch (136:9): [True: 1.00k, False: 2.36k]
  ------------------
  137|       |        // gh-147988: Make sure that the digit is zero.
  138|       |        // It helps detecting the usage of uninitialized digits.
  139|  1.00k|        assert(op->long_value.ob_digit[0] == 0);
  ------------------
  |  Branch (139:9): [True: 1.00k, False: 0]
  ------------------
  140|  1.00k|    }
  141|  3.36k|    return sign * (Py_ssize_t)op->long_value.ob_digit[0];
  142|  3.36k|}
ceval.c:_PyLong_IsCompact:
  122|  11.2k|_PyLong_IsCompact(const PyLongObject* op) {
  123|  11.2k|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  ------------------
  |  Branch (123:5): [True: 11.2k, False: 0]
  ------------------
  124|  11.2k|    return op->long_value.lv_tag < (2 << _PyLong_NON_SIZE_BITS);
  ------------------
  |  |  118|  11.2k|#define _PyLong_NON_SIZE_BITS 3
  ------------------
  125|  11.2k|}
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.72k|static inline PyCFunction PyCFunction_GET_FUNCTION(PyObject *func) {
   41|  2.72k|    return _PyCFunctionObject_CAST(func)->m_ml->ml_meth;
  ------------------
  |  |   17|  2.72k|    (assert(PyCFunction_Check(func)), \
  |  |   18|  2.72k|     _Py_CAST(PyCFunctionObject*, (func)))
  |  |  ------------------
  |  |  |  |   37|  2.72k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (41:12): [True: 2.72k, False: 0]
  ------------------
   42|  2.72k|}
ceval.c:PyCFunction_GET_SELF:
   45|  2.72k|static inline PyObject* PyCFunction_GET_SELF(PyObject *func_obj) {
   46|  2.72k|    PyCFunctionObject *func = _PyCFunctionObject_CAST(func_obj);
  ------------------
  |  |   17|  2.72k|    (assert(PyCFunction_Check(func)), \
  |  |   18|  2.72k|     _Py_CAST(PyCFunctionObject*, (func)))
  |  |  ------------------
  |  |  |  |   37|  2.72k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (46:31): [True: 2.72k, False: 0]
  ------------------
   47|  2.72k|    if (func->m_ml->ml_flags & METH_STATIC) {
  ------------------
  |  |  105|  2.72k|#define METH_STATIC   0x0020
  ------------------
  |  Branch (47:9): [True: 0, False: 2.72k]
  ------------------
   48|      0|        return _Py_NULL;
  ------------------
  |  |   57|      0|#  define _Py_NULL NULL
  ------------------
   49|      0|    }
   50|  2.72k|    return func->m_self;
   51|  2.72k|}
ceval.c:PyCFunction_GET_FLAGS:
   54|  2.82k|static inline int PyCFunction_GET_FLAGS(PyObject *func) {
   55|  2.82k|    return _PyCFunctionObject_CAST(func)->m_ml->ml_flags;
  ------------------
  |  |   17|  2.82k|    (assert(PyCFunction_Check(func)), \
  |  |   18|  2.82k|     _Py_CAST(PyCFunctionObject*, (func)))
  |  |  ------------------
  |  |  |  |   37|  2.82k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (55:12): [True: 2.82k, False: 0]
  ------------------
   56|  2.82k|}
specialize.c:PyCFunction_GET_FUNCTION:
   40|    334|static inline PyCFunction PyCFunction_GET_FUNCTION(PyObject *func) {
   41|    334|    return _PyCFunctionObject_CAST(func)->m_ml->ml_meth;
  ------------------
  |  |   17|    334|    (assert(PyCFunction_Check(func)), \
  |  |   18|    334|     _Py_CAST(PyCFunctionObject*, (func)))
  |  |  ------------------
  |  |  |  |   37|    334|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (41:12): [True: 334, False: 0]
  ------------------
   42|    334|}
specialize.c:PyCFunction_GET_FLAGS:
   54|    334|static inline int PyCFunction_GET_FLAGS(PyObject *func) {
   55|    334|    return _PyCFunctionObject_CAST(func)->m_ml->ml_flags;
  ------------------
  |  |   17|    334|    (assert(PyCFunction_Check(func)), \
  |  |   18|    334|     _Py_CAST(PyCFunctionObject*, (func)))
  |  |  ------------------
  |  |  |  |   37|    334|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (55:12): [True: 334, False: 0]
  ------------------
   56|    334|}
methodobject.c:PyCFunction_GET_FUNCTION:
   40|  3.26k|static inline PyCFunction PyCFunction_GET_FUNCTION(PyObject *func) {
   41|  3.26k|    return _PyCFunctionObject_CAST(func)->m_ml->ml_meth;
  ------------------
  |  |   17|  3.26k|    (assert(PyCFunction_Check(func)), \
  |  |   18|  3.26k|     _Py_CAST(PyCFunctionObject*, (func)))
  |  |  ------------------
  |  |  |  |   37|  3.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (41:12): [True: 3.26k, False: 0]
  ------------------
   42|  3.26k|}
methodobject.c:PyCFunction_GET_SELF:
   45|  3.26k|static inline PyObject* PyCFunction_GET_SELF(PyObject *func_obj) {
   46|  3.26k|    PyCFunctionObject *func = _PyCFunctionObject_CAST(func_obj);
  ------------------
  |  |   17|  3.26k|    (assert(PyCFunction_Check(func)), \
  |  |   18|  3.26k|     _Py_CAST(PyCFunctionObject*, (func)))
  |  |  ------------------
  |  |  |  |   37|  3.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (46:31): [True: 3.26k, False: 0]
  ------------------
   47|  3.26k|    if (func->m_ml->ml_flags & METH_STATIC) {
  ------------------
  |  |  105|  3.26k|#define METH_STATIC   0x0020
  ------------------
  |  Branch (47:9): [True: 0, False: 3.26k]
  ------------------
   48|      0|        return _Py_NULL;
  ------------------
  |  |   57|      0|#  define _Py_NULL NULL
  ------------------
   49|      0|    }
   50|  3.26k|    return func->m_self;
   51|  3.26k|}
methodobject.c:PyCFunction_GET_FLAGS:
   54|    102|static inline int PyCFunction_GET_FLAGS(PyObject *func) {
   55|    102|    return _PyCFunctionObject_CAST(func)->m_ml->ml_flags;
  ------------------
  |  |   17|    102|    (assert(PyCFunction_Check(func)), \
  |  |   18|    102|     _Py_CAST(PyCFunctionObject*, (func)))
  |  |  ------------------
  |  |  |  |   37|    102|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (55:12): [True: 102, False: 0]
  ------------------
   56|    102|}
methodobject.c:PyCFunction_GET_CLASS:
   59|  3.80k|static inline PyTypeObject* PyCFunction_GET_CLASS(PyObject *func_obj) {
   60|  3.80k|    PyCFunctionObject *func = _PyCFunctionObject_CAST(func_obj);
  ------------------
  |  |   17|  3.80k|    (assert(PyCFunction_Check(func)), \
  |  |   18|  3.80k|     _Py_CAST(PyCFunctionObject*, (func)))
  |  |  ------------------
  |  |  |  |   37|  3.80k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (60:31): [True: 3.80k, False: 0]
  ------------------
   61|  3.80k|    if (func->m_ml->ml_flags & METH_METHOD) {
  ------------------
  |  |  133|  3.80k|#define METH_METHOD 0x0200
  ------------------
  |  Branch (61:9): [True: 58, False: 3.74k]
  ------------------
   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.74k|    return _Py_NULL;
  ------------------
  |  |   57|  3.74k|#  define _Py_NULL NULL
  ------------------
   65|  3.80k|}

object.c:_PyObject_SIZE:
    5|    205|static inline size_t _PyObject_SIZE(PyTypeObject *type) {
    6|    205|    return _Py_STATIC_CAST(size_t, type->tp_basicsize);
  ------------------
  |  |   34|    205|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
    7|    205|}
object.c:_PyObject_VAR_SIZE:
   23|  2.40k|static inline size_t _PyObject_VAR_SIZE(PyTypeObject *type, Py_ssize_t nitems) {
   24|  2.40k|    size_t size = _Py_STATIC_CAST(size_t, type->tp_basicsize);
  ------------------
  |  |   34|  2.40k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
   25|  2.40k|    size += _Py_STATIC_CAST(size_t, nitems) * _Py_STATIC_CAST(size_t, type->tp_itemsize);
  ------------------
  |  |   34|  2.40k|#  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.40k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
   26|  2.40k|    return _Py_SIZE_ROUND_UP(size, SIZEOF_VOID_P);
  ------------------
  |  |  238|  2.40k|#define _Py_SIZE_ROUND_UP(n, a) (((size_t)(n) + \
  |  |  239|  2.40k|        (size_t)((a) - 1)) & ~(size_t)((a) - 1))
  ------------------
   27|  2.40k|}
typeobject.c:_PyObject_VAR_SIZE:
   23|  10.2k|static inline size_t _PyObject_VAR_SIZE(PyTypeObject *type, Py_ssize_t nitems) {
   24|  10.2k|    size_t size = _Py_STATIC_CAST(size_t, type->tp_basicsize);
  ------------------
  |  |   34|  10.2k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
   25|  10.2k|    size += _Py_STATIC_CAST(size_t, nitems) * _Py_STATIC_CAST(size_t, type->tp_itemsize);
  ------------------
  |  |   34|  10.2k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
                  size += _Py_STATIC_CAST(size_t, nitems) * _Py_STATIC_CAST(size_t, type->tp_itemsize);
  ------------------
  |  |   34|  10.2k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
   26|  10.2k|    return _Py_SIZE_ROUND_UP(size, SIZEOF_VOID_P);
  ------------------
  |  |  238|  10.2k|#define _Py_SIZE_ROUND_UP(n, a) (((size_t)(n) + \
  |  |  239|  10.2k|        (size_t)((a) - 1)) & ~(size_t)((a) - 1))
  ------------------
   27|  10.2k|}
gc.c:_PyObject_SIZE:
    5|  7.77k|static inline size_t _PyObject_SIZE(PyTypeObject *type) {
    6|  7.77k|    return _Py_STATIC_CAST(size_t, type->tp_basicsize);
  ------------------
  |  |   34|  7.77k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
    7|  7.77k|}
gc.c:_PyObject_VAR_SIZE:
   23|  8.04k|static inline size_t _PyObject_VAR_SIZE(PyTypeObject *type, Py_ssize_t nitems) {
   24|  8.04k|    size_t size = _Py_STATIC_CAST(size_t, type->tp_basicsize);
  ------------------
  |  |   34|  8.04k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
   25|  8.04k|    size += _Py_STATIC_CAST(size_t, nitems) * _Py_STATIC_CAST(size_t, type->tp_itemsize);
  ------------------
  |  |   34|  8.04k|#  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.04k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
   26|  8.04k|    return _Py_SIZE_ROUND_UP(size, SIZEOF_VOID_P);
  ------------------
  |  |  238|  8.04k|#define _Py_SIZE_ROUND_UP(n, a) (((size_t)(n) + \
  |  |  239|  8.04k|        (size_t)((a) - 1)) & ~(size_t)((a) - 1))
  ------------------
   27|  8.04k|}

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|    413|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
typeobject.c:_Py_atomic_compare_exchange_uint:
  100|    413|{ return __atomic_compare_exchange_n(obj, expected, desired, 0,
  101|    413|                                     __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); }
typeobject.c:_Py_atomic_load_int64:
  264|    416|{ return __atomic_load_n(obj, __ATOMIC_SEQ_CST); }
typeobject.c:_Py_atomic_add_int64:
   31|    416|{ return __atomic_fetch_add(obj, value, __ATOMIC_SEQ_CST); }
typeobject.c:_Py_atomic_compare_exchange_uint8:
  105|     24|{ return __atomic_compare_exchange_n(obj, expected, desired, 0,
  106|     24|                                     __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); }
unicodeobject.c:_Py_atomic_load_ptr:
  300|      5|{ return (void *)__atomic_load_n((void * const *)obj, __ATOMIC_SEQ_CST); }
unicodeobject.c:_Py_atomic_store_ptr:
  450|      1|{ __atomic_store_n((void **)obj, value, __ATOMIC_SEQ_CST); }
_warnings.c:_Py_atomic_load_uint8:
  272|     22|{ return __atomic_load_n(obj, __ATOMIC_SEQ_CST); }
ceval.c:_Py_atomic_load_uintptr_relaxed:
  375|  24.2k|{ 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_uintptr_relaxed:
  375|  2.45k|{ 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.45k|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
getargs.c:_Py_atomic_load_uint8:
  272|     40|{ return __atomic_load_n(obj, __ATOMIC_SEQ_CST); }
getargs.c:_Py_atomic_load_ptr:
  300|      4|{ return (void *)__atomic_load_n((void * const *)obj, __ATOMIC_SEQ_CST); }
getargs.c:_Py_atomic_compare_exchange_ptr:
  135|      4|{ return __atomic_compare_exchange_n((void **)obj, (void **)expected, desired, 0,
  136|      4|                                     __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); }
ceval_gil.c:_Py_atomic_load_int_acquire:
  589|  1.24k|{ return __atomic_load_n(obj, __ATOMIC_ACQUIRE); }
ceval_gil.c:_Py_atomic_load_int_relaxed:
  307|  2.48k|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
ceval_gil.c:_Py_atomic_load_ptr_relaxed:
  387|  1.24k|{ return (void *)__atomic_load_n((void * const *)obj, __ATOMIC_RELAXED); }
ceval_gil.c:_Py_atomic_store_ptr_relaxed:
  509|  1.24k|{ __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.48k|{ __atomic_store_n(obj, value, __ATOMIC_RELAXED); }
ceval_gil.c:_Py_atomic_and_uintptr:
  218|  1.25k|{ return __atomic_fetch_and(obj, value, __ATOMIC_SEQ_CST); }
ceval_gil.c:_Py_atomic_load_int32_relaxed:
  347|  2.48k|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
ceval_gil.c:_Py_atomic_load_uintptr_relaxed:
  375|  3.73k|{ 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|    349|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
lock.c:_Py_atomic_compare_exchange_uint8:
  105|  1.34k|{ return __atomic_compare_exchange_n(obj, expected, desired, 0,
  106|  1.34k|                                     __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); }
lock.c:_Py_atomic_load_uint8:
  272|      5|{ return __atomic_load_n(obj, __ATOMIC_SEQ_CST); }
lock.c:_Py_atomic_exchange_uint8:
  171|      5|{ return __atomic_exchange_n(obj, value, __ATOMIC_SEQ_CST); }
lock.c:_Py_atomic_load_ullong_relaxed:
  391|  1.57k|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
lock.c:_Py_atomic_store_ullong_relaxed:
  518|  1.21k|{ __atomic_store_n(obj, value, __ATOMIC_RELAXED); }
pylifecycle.c:_Py_atomic_load_ptr_relaxed:
  387|     44|{ return (void *)__atomic_load_n((void * const *)obj, __ATOMIC_RELAXED); }
pylifecycle.c:_Py_atomic_load_int:
  248|  2.28k|{ 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|  4.96k|{ 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|    125|{ return __atomic_compare_exchange_n(obj, expected, desired, 0,
  106|    125|                                     __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|    456|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
signalmodule.c:_Py_atomic_load_int:
  248|    456|{ return __atomic_load_n(obj, __ATOMIC_SEQ_CST); }
codeobject.c:_Py_atomic_add_uint64:
   55|    456|{ return __atomic_fetch_add(obj, value, __ATOMIC_SEQ_CST); }
Python-ast.c:_Py_atomic_load_uint8:
  272|    100|{ return __atomic_load_n(obj, __ATOMIC_SEQ_CST); }

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

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.33k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  1.33k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  1.33k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.33k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 1.33k, False: 0]
  ------------------
   25|  1.33k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  1.33k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.33k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.33k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  1.33k|}
call.c:PyTuple_SET_ITEM:
   33|    172|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|    172|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    172|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    172|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 172, False: 0]
  ------------------
   35|    172|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 172, False: 0]
  ------------------
   36|    172|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 172, False: 0]
  ------------------
   37|    172|    tuple->ob_item[index] = value;
   38|    172|}
exceptions.c:PyTuple_GET_SIZE:
   23|    161|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    161|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    161|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    161|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 161, False: 0]
  ------------------
   25|    161|    return Py_SIZE(tuple);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    161|}
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|    582|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    582|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    582|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    582|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 582, False: 0]
  ------------------
   25|    582|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    582|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    582|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    582|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    582|}
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|      3|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|      3|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|      3|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 3, False: 0]
  ------------------
   25|      3|    return Py_SIZE(tuple);
  ------------------
  |  |  214|      3|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|      3|}
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.03k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  1.03k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  1.03k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.03k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 1.03k, False: 0]
  ------------------
   25|  1.03k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  1.03k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.03k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.03k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  1.03k|}
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|   148k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|   148k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|   148k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   148k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 148k, False: 0]
  ------------------
   25|   148k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|   148k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   148k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   148k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|   148k|}
typeobject.c:PyTuple_SET_ITEM:
   33|  2.71k|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|  2.71k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  2.71k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  2.71k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 2.71k, False: 0]
  ------------------
   35|  2.71k|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 2.71k, False: 0]
  ------------------
   36|  2.71k|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 2.71k, False: 0]
  ------------------
   37|  2.71k|    tuple->ob_item[index] = value;
   38|  2.71k|}
unicodeobject.c:PyTuple_GET_SIZE:
   23|    207|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    207|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    207|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    207|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 207, False: 0]
  ------------------
   25|    207|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    207|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    207|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    207|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    207|}
unicodeobject.c:PyTuple_SET_ITEM:
   33|    768|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|    768|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    768|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    768|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 768, False: 0]
  ------------------
   35|    768|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 768, False: 0]
  ------------------
   36|    768|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 768, False: 0]
  ------------------
   37|    768|    tuple->ob_item[index] = value;
   38|    768|}
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|    110|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    110|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    110|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    110|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 110, False: 0]
  ------------------
   25|    110|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    110|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    110|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    110|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    110|}
bltinmodule.c:PyTuple_GET_SIZE:
   23|    331|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    331|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    331|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    331|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 331, False: 0]
  ------------------
   25|    331|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    331|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    331|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    331|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    331|}
bltinmodule.c:PyTuple_SET_ITEM:
   33|    146|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|    146|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    146|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    146|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 146, False: 0]
  ------------------
   35|    146|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 146, False: 0]
  ------------------
   36|    146|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 146, False: 0]
  ------------------
   37|    146|    tuple->ob_item[index] = value;
   38|    146|}
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|}
getargs.c:PyTuple_GET_SIZE:
   23|  1.79k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  1.79k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  1.79k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.79k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 1.79k, False: 0]
  ------------------
   25|  1.79k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  1.79k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.79k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.79k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  1.79k|}
import.c:PyTuple_GET_SIZE:
   23|      6|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|      6|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|      6|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 6, False: 0]
  ------------------
   25|      6|    return Py_SIZE(tuple);
  ------------------
  |  |  214|      6|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|      6|}
initconfig.c:PyTuple_GET_SIZE:
   23|      6|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|      6|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|      6|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 6, False: 0]
  ------------------
   25|      6|    return Py_SIZE(tuple);
  ------------------
  |  |  214|      6|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|      6|}
initconfig.c:PyTuple_SET_ITEM:
   33|      2|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|      2|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|      2|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 2, False: 0]
  ------------------
   35|      2|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 2, False: 0]
  ------------------
   36|      2|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 2, False: 0]
  ------------------
   37|      2|    tuple->ob_item[index] = value;
   38|      2|}
marshal.c:PyTuple_SET_ITEM:
   33|  32.5k|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|  32.5k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  32.5k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  32.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 32.5k, False: 0]
  ------------------
   35|  32.5k|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 32.5k, False: 0]
  ------------------
   36|  32.5k|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 32.5k, False: 0]
  ------------------
   37|  32.5k|    tuple->ob_item[index] = value;
   38|  32.5k|}
modsupport.c:PyTuple_SET_ITEM:
   33|    578|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|    578|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    578|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    578|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 578, False: 0]
  ------------------
   35|    578|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 578, False: 0]
  ------------------
   36|    578|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 578, False: 0]
  ------------------
   37|    578|    tuple->ob_item[index] = value;
   38|    578|}
specialize.c:PyTuple_GET_SIZE:
   23|    106|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    106|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    106|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    106|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 106, False: 0]
  ------------------
   25|    106|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    106|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    106|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    106|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    106|}
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|    933|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    933|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    933|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    933|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 933, False: 0]
  ------------------
   25|    933|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    933|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    933|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    933|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    933|}
_functoolsmodule.c:PyTuple_GET_SIZE:
   23|      1|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|      1|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|      1|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 1, False: 0]
  ------------------
   25|      1|    return Py_SIZE(tuple);
  ------------------
  |  |  214|      1|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|      1|}
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|     37|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|     37|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|     37|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     37|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 37, False: 0]
  ------------------
   25|     37|    return Py_SIZE(tuple);
  ------------------
  |  |  214|     37|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     37|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     37|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|     37|}
bytearrayobject.c:PyTuple_GET_SIZE:
   23|      8|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|      8|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|      8|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 8, False: 0]
  ------------------
   25|      8|    return Py_SIZE(tuple);
  ------------------
  |  |  214|      8|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|      8|}
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.7k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  17.7k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  17.7k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  17.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 17.7k, False: 0]
  ------------------
   25|  17.7k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  17.7k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  17.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  17.7k|}
descrobject.c:PyTuple_GET_SIZE:
   23|    269|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    269|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    269|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    269|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 269, False: 0]
  ------------------
   25|    269|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    269|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    269|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    269|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    269|}
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|}
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|}

listobject.c:PyUnicode_GET_LENGTH:
  296|  10.6k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|  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 (297:12): [True: 10.6k, False: 0]
  ------------------
  298|  10.6k|}
listobject.c:_PyUnicode_DATA:
  278|  10.4k|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|  10.4k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|  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 (234:34): [True: 10.4k, False: 0]
  |  |  ------------------
  ------------------
  280|  10.4k|        return _PyUnicode_COMPACT_DATA(op);
  281|  10.4k|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|  10.4k|}
listobject.c:PyUnicode_IS_COMPACT:
  231|  10.4k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|  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 (232:12): [True: 10.4k, False: 0]
  ------------------
  233|  10.4k|}
listobject.c:_PyUnicode_COMPACT_DATA:
  261|  10.4k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|  10.4k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|  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 (227:32): [True: 10.4k, False: 0]
  |  |  ------------------
  ------------------
  263|  10.4k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  20.8k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 10.4k, False: 0]
  |  |  ------------------
  ------------------
  264|  10.4k|    }
  265|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  266|      0|}
listobject.c:PyUnicode_IS_ASCII:
  224|  10.4k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|  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 (225:12): [True: 10.4k, False: 0]
  ------------------
  226|  10.4k|}
longobject.c:_PyUnicode_DATA:
  278|    140|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|    140|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|    140|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    140|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    140|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 140, False: 0]
  |  |  ------------------
  ------------------
  280|    140|        return _PyUnicode_COMPACT_DATA(op);
  281|    140|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|    140|}
longobject.c:PyUnicode_IS_COMPACT:
  231|    140|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|    140|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|    140|    (assert(PyUnicode_Check(op)), \
  |  |  187|    140|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    140|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (232:12): [True: 140, False: 0]
  ------------------
  233|    140|}
longobject.c:_PyUnicode_COMPACT_DATA:
  261|    140|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|    140|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|    140|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    140|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    140|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 140, False: 0]
  |  |  ------------------
  ------------------
  263|    140|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|    280|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 140, False: 0]
  |  |  ------------------
  ------------------
  264|    140|    }
  265|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  266|      0|}
longobject.c:PyUnicode_IS_ASCII:
  224|    140|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|    140|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|    140|    (assert(PyUnicode_Check(op)), \
  |  |  187|    140|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    140|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (225:12): [True: 140, False: 0]
  ------------------
  226|    140|}
dictobject.c:PyUnstable_Unicode_GET_CACHED_HASH:
  303|   263k|PyUnstable_Unicode_GET_CACHED_HASH(PyObject *op) {
  304|       |#ifdef Py_GIL_DISABLED
  305|       |    return _Py_atomic_load_ssize_relaxed(&_PyASCIIObject_CAST(op)->hash);
  306|       |#else
  307|   263k|    return _PyASCIIObject_CAST(op)->hash;
  ------------------
  |  |  186|   263k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   263k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   263k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (307:12): [True: 263k, False: 0]
  ------------------
  308|   263k|#endif
  309|   263k|}
dictobject.c:PyUnicode_GET_LENGTH:
  296|  9.39k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|  9.39k|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  9.39k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  9.39k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  9.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (297:12): [True: 9.39k, False: 0]
  ------------------
  298|  9.39k|}
dictobject.c:_PyUnicode_DATA:
  278|  9.39k|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|  9.39k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|  9.39k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_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 (234:34): [True: 9.39k, False: 0]
  |  |  ------------------
  ------------------
  280|  9.39k|        return _PyUnicode_COMPACT_DATA(op);
  281|  9.39k|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|  9.39k|}
dictobject.c:PyUnicode_IS_COMPACT:
  231|  9.39k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|  9.39k|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  9.39k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  9.39k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  9.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (232:12): [True: 9.39k, False: 0]
  ------------------
  233|  9.39k|}
dictobject.c:_PyUnicode_COMPACT_DATA:
  261|  9.39k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|  9.39k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|  9.39k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_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 (227:32): [True: 9.39k, False: 0]
  |  |  ------------------
  ------------------
  263|  9.39k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  18.7k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 9.39k, False: 0]
  |  |  ------------------
  ------------------
  264|  9.39k|    }
  265|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  266|      0|}
dictobject.c:PyUnicode_IS_ASCII:
  224|  9.39k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|  9.39k|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  9.39k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  9.39k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  9.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (225:12): [True: 9.39k, False: 0]
  ------------------
  226|  9.39k|}
setobject.c:PyUnicode_GET_LENGTH:
  296|     60|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|     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 (297:12): [True: 60, False: 0]
  ------------------
  298|     60|}
setobject.c:_PyUnicode_DATA:
  278|     60|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|     60|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|     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 (234:34): [True: 60, False: 0]
  |  |  ------------------
  ------------------
  280|     60|        return _PyUnicode_COMPACT_DATA(op);
  281|     60|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|     60|}
setobject.c:PyUnicode_IS_COMPACT:
  231|     60|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|     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 (232:12): [True: 60, False: 0]
  ------------------
  233|     60|}
setobject.c:_PyUnicode_COMPACT_DATA:
  261|     60|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|     60|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|     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 (227:32): [True: 60, False: 0]
  |  |  ------------------
  ------------------
  263|     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]
  |  |  ------------------
  ------------------
  264|     60|    }
  265|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  266|      0|}
setobject.c:PyUnicode_IS_ASCII:
  224|     60|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|     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 (225:12): [True: 60, False: 0]
  ------------------
  226|     60|}
typeobject.c:PyUnicode_CHECK_INTERNED:
  207|  30.1k|static inline unsigned int PyUnicode_CHECK_INTERNED(PyObject *op) {
  208|       |#ifdef Py_GIL_DISABLED
  209|       |    return _Py_atomic_load_uint8_relaxed(&_PyASCIIObject_CAST(op)->state.interned);
  210|       |#else
  211|  30.1k|    return _PyASCIIObject_CAST(op)->state.interned;
  ------------------
  |  |  186|  30.1k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  30.1k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  30.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (211:12): [True: 30.1k, False: 0]
  ------------------
  212|  30.1k|#endif
  213|  30.1k|}
typeobject.c:PyUnstable_Unicode_GET_CACHED_HASH:
  303|  39.4k|PyUnstable_Unicode_GET_CACHED_HASH(PyObject *op) {
  304|       |#ifdef Py_GIL_DISABLED
  305|       |    return _Py_atomic_load_ssize_relaxed(&_PyASCIIObject_CAST(op)->hash);
  306|       |#else
  307|  39.4k|    return _PyASCIIObject_CAST(op)->hash;
  ------------------
  |  |  186|  39.4k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  39.4k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  39.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (307:12): [True: 39.4k, False: 0]
  ------------------
  308|  39.4k|#endif
  309|  39.4k|}
typeobject.c:PyUnicode_GET_LENGTH:
  296|    773|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|    773|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|    773|    (assert(PyUnicode_Check(op)), \
  |  |  187|    773|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    773|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (297:12): [True: 773, False: 0]
  ------------------
  298|    773|}
typeobject.c:_PyUnicode_DATA:
  278|    338|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|    338|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|    338|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    338|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    338|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 338, False: 0]
  |  |  ------------------
  ------------------
  280|    338|        return _PyUnicode_COMPACT_DATA(op);
  281|    338|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|    338|}
typeobject.c:PyUnicode_IS_COMPACT:
  231|    338|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|    338|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|    338|    (assert(PyUnicode_Check(op)), \
  |  |  187|    338|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    338|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (232:12): [True: 338, False: 0]
  ------------------
  233|    338|}
typeobject.c:_PyUnicode_COMPACT_DATA:
  261|    338|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|    338|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|    338|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    338|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    338|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 338, False: 0]
  |  |  ------------------
  ------------------
  263|    338|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|    676|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 338, False: 0]
  |  |  ------------------
  ------------------
  264|    338|    }
  265|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  266|      0|}
typeobject.c:PyUnicode_IS_ASCII:
  224|    338|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|    338|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|    338|    (assert(PyUnicode_Check(op)), \
  |  |  187|    338|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    338|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (225:12): [True: 338, False: 0]
  ------------------
  226|    338|}
unicode_writer.c:PyUnstable_Unicode_GET_CACHED_HASH:
  303|   278k|PyUnstable_Unicode_GET_CACHED_HASH(PyObject *op) {
  304|       |#ifdef Py_GIL_DISABLED
  305|       |    return _Py_atomic_load_ssize_relaxed(&_PyASCIIObject_CAST(op)->hash);
  306|       |#else
  307|   278k|    return _PyASCIIObject_CAST(op)->hash;
  ------------------
  |  |  186|   278k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   278k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   278k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (307:12): [True: 278k, False: 0]
  ------------------
  308|   278k|#endif
  309|   278k|}
unicode_writer.c:PyUnicode_CHECK_INTERNED:
  207|   278k|static inline unsigned int PyUnicode_CHECK_INTERNED(PyObject *op) {
  208|       |#ifdef Py_GIL_DISABLED
  209|       |    return _Py_atomic_load_uint8_relaxed(&_PyASCIIObject_CAST(op)->state.interned);
  210|       |#else
  211|   278k|    return _PyASCIIObject_CAST(op)->state.interned;
  ------------------
  |  |  186|   278k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   278k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   278k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (211:12): [True: 278k, False: 0]
  ------------------
  212|   278k|#endif
  213|   278k|}
unicode_writer.c:PyUnicode_WRITE:
  318|    100|{
  319|    100|    assert(index >= 0);
  ------------------
  |  Branch (319:5): [True: 100, False: 0]
  ------------------
  320|    100|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (320:9): [True: 63, False: 37]
  ------------------
  321|     63|        assert(value <= 0xffU);
  ------------------
  |  Branch (321:9): [True: 63, False: 0]
  ------------------
  322|     63|        _Py_STATIC_CAST(Py_UCS1*, data)[index] = _Py_STATIC_CAST(Py_UCS1, value);
  ------------------
  |  |   34|     63|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
                      _Py_STATIC_CAST(Py_UCS1*, data)[index] = _Py_STATIC_CAST(Py_UCS1, value);
  ------------------
  |  |   34|     63|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  323|     63|    }
  324|     37|    else if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (324:14): [True: 22, False: 15]
  ------------------
  325|     22|        assert(value <= 0xffffU);
  ------------------
  |  Branch (325:9): [True: 22, False: 0]
  ------------------
  326|     22|        _Py_STATIC_CAST(Py_UCS2*, data)[index] = _Py_STATIC_CAST(Py_UCS2, value);
  ------------------
  |  |   34|     22|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
                      _Py_STATIC_CAST(Py_UCS2*, data)[index] = _Py_STATIC_CAST(Py_UCS2, value);
  ------------------
  |  |   34|     22|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  327|     22|    }
  328|     15|    else {
  329|     15|        assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (329:9): [True: 15, False: 0]
  ------------------
  330|     15|        assert(value <= 0x10ffffU);
  ------------------
  |  Branch (330:9): [True: 15, False: 0]
  ------------------
  331|     15|        _Py_STATIC_CAST(Py_UCS4*, data)[index] = value;
  ------------------
  |  |   34|     15|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  332|     15|    }
  333|    100|}
unicode_writer.c:PyUnicode_GET_LENGTH:
  296|   557k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|   557k|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|   557k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   557k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   557k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (297:12): [True: 557k, False: 0]
  ------------------
  298|   557k|}
unicode_writer.c:PyUnicode_MAX_CHAR_VALUE:
  387|   278k|{
  388|   278k|    int kind;
  389|       |
  390|   278k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|   278k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   278k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   278k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 761, False: 278k]
  |  |  ------------------
  ------------------
  391|    761|        return 0x7fU;
  392|    761|    }
  393|       |
  394|   278k|    kind = PyUnicode_KIND(op);
  ------------------
  |  |  258|   278k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|   556k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 278k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  395|   278k|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (395:9): [True: 219k, False: 58.4k]
  ------------------
  396|   219k|       return 0xffU;
  397|   219k|    }
  398|  58.4k|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (398:9): [True: 147, False: 58.3k]
  ------------------
  399|    147|        return 0xffffU;
  400|    147|    }
  401|  58.4k|    assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (401:5): [True: 58.3k, False: 0]
  ------------------
  402|  58.3k|    return 0x10ffffU;
  403|  58.3k|}
unicode_writer.c:PyUnicode_IS_ASCII:
  224|   776k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|   776k|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|   776k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   776k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   776k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (225:12): [True: 776k, False: 0]
  ------------------
  226|   776k|}
unicode_writer.c:_PyUnicode_DATA:
  278|   498k|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|   498k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|   498k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   498k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   498k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 498k, False: 0]
  |  |  ------------------
  ------------------
  280|   498k|        return _PyUnicode_COMPACT_DATA(op);
  281|   498k|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|   498k|}
unicode_writer.c:PyUnicode_IS_COMPACT:
  231|   498k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|   498k|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|   498k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   498k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   498k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (232:12): [True: 498k, False: 0]
  ------------------
  233|   498k|}
unicode_writer.c:_PyUnicode_COMPACT_DATA:
  261|   498k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|   498k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|   498k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   498k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   498k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 479, False: 497k]
  |  |  ------------------
  ------------------
  263|    479|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|    958|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 479, False: 0]
  |  |  ------------------
  ------------------
  264|    479|    }
  265|   497k|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|   995k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 497k, False: 0]
  |  |  ------------------
  ------------------
  266|   497k|}
unicodeobject.c:PyUnicode_CHECK_INTERNED:
  207|  74.8k|static inline unsigned int PyUnicode_CHECK_INTERNED(PyObject *op) {
  208|       |#ifdef Py_GIL_DISABLED
  209|       |    return _Py_atomic_load_uint8_relaxed(&_PyASCIIObject_CAST(op)->state.interned);
  210|       |#else
  211|  74.8k|    return _PyASCIIObject_CAST(op)->state.interned;
  ------------------
  |  |  186|  74.8k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  74.8k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  74.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (211:12): [True: 74.8k, False: 0]
  ------------------
  212|  74.8k|#endif
  213|  74.8k|}
unicodeobject.c:_PyUnicode_DATA:
  278|   704k|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|   704k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|   704k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   704k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   704k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 704k, False: 7]
  |  |  ------------------
  ------------------
  280|   704k|        return _PyUnicode_COMPACT_DATA(op);
  281|   704k|    }
  282|      7|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|   704k|}
unicodeobject.c:_PyUnicode_COMPACT_DATA:
  261|   704k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|   704k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|   704k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   704k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   704k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 146k, False: 558k]
  |  |  ------------------
  ------------------
  263|   146k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|   293k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 146k, False: 0]
  |  |  ------------------
  ------------------
  264|   146k|    }
  265|   558k|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|  1.11M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 558k, False: 0]
  |  |  ------------------
  ------------------
  266|   558k|}
unicodeobject.c:_PyUnicode_NONCOMPACT_DATA:
  268|      7|static inline void* _PyUnicode_NONCOMPACT_DATA(PyObject *op) {
  269|      7|    void *data;
  270|      7|    assert(!PyUnicode_IS_COMPACT(op));
  ------------------
  |  Branch (270:5): [True: 7, False: 0]
  ------------------
  271|      7|    data = _PyUnicodeObject_CAST(op)->data.any;
  ------------------
  |  |  192|      7|    (assert(PyUnicode_Check(op)), \
  |  |  193|      7|     _Py_CAST(PyUnicodeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (271:12): [True: 7, False: 0]
  ------------------
  272|      7|    assert(data != NULL);
  ------------------
  |  Branch (272:5): [True: 7, False: 0]
  ------------------
  273|      7|    return data;
  274|      7|}
unicodeobject.c:PyUnicode_READ:
  342|   289M|{
  343|   289M|    assert(index >= 0);
  ------------------
  |  Branch (343:5): [True: 289M, False: 0]
  ------------------
  344|   289M|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (344:9): [True: 11.6M, False: 277M]
  ------------------
  345|  11.6M|        return _Py_STATIC_CAST(const Py_UCS1*, data)[index];
  ------------------
  |  |   34|  11.6M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  346|  11.6M|    }
  347|   277M|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (347:9): [True: 131M, False: 146M]
  ------------------
  348|   131M|        return _Py_STATIC_CAST(const Py_UCS2*, data)[index];
  ------------------
  |  |   34|   131M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  349|   131M|    }
  350|   277M|    assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (350:5): [True: 146M, False: 0]
  ------------------
  351|   146M|    return _Py_STATIC_CAST(const Py_UCS4*, data)[index];
  ------------------
  |  |   34|   146M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  352|   146M|}
unicodeobject.c:PyUnicode_GET_LENGTH:
  296|   110k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|   110k|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|   110k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   110k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   110k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (297:12): [True: 110k, False: 0]
  ------------------
  298|   110k|}
unicodeobject.c:PyUnicode_IS_COMPACT:
  231|  1.01M|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|  1.01M|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  1.01M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  1.01M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.01M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (232:12): [True: 1.01M, False: 0]
  ------------------
  233|  1.01M|}
unicodeobject.c:PyUnicode_IS_ASCII:
  224|   935k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|   935k|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|   935k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   935k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   935k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (225:12): [True: 935k, False: 0]
  ------------------
  226|   935k|}
unicodeobject.c:PyUnicode_IS_COMPACT_ASCII:
  238|   297k|static inline int PyUnicode_IS_COMPACT_ASCII(PyObject *op) {
  239|   594k|    return (_PyASCIIObject_CAST(op)->state.ascii && PyUnicode_IS_COMPACT(op));
  ------------------
  |  |  186|   297k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   297k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   297k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
                  return (_PyASCIIObject_CAST(op)->state.ascii && PyUnicode_IS_COMPACT(op));
  ------------------
  |  |  234|  18.5k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  18.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 18.5k, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (239:13): [True: 297k, False: 0]
  |  Branch (239:13): [True: 18.5k, False: 278k]
  ------------------
  240|   297k|}
unicodeobject.c:PyUnicode_WRITE:
  318|  20.0M|{
  319|  20.0M|    assert(index >= 0);
  ------------------
  |  Branch (319:5): [True: 20.0M, False: 0]
  ------------------
  320|  20.0M|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (320:9): [True: 8.10k, False: 20.0M]
  ------------------
  321|  8.10k|        assert(value <= 0xffU);
  ------------------
  |  Branch (321:9): [True: 8.10k, False: 0]
  ------------------
  322|  8.10k|        _Py_STATIC_CAST(Py_UCS1*, data)[index] = _Py_STATIC_CAST(Py_UCS1, value);
  ------------------
  |  |   34|  8.10k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
                      _Py_STATIC_CAST(Py_UCS1*, data)[index] = _Py_STATIC_CAST(Py_UCS1, value);
  ------------------
  |  |   34|  8.10k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  323|  8.10k|    }
  324|  20.0M|    else if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (324:14): [True: 102, False: 20.0M]
  ------------------
  325|    102|        assert(value <= 0xffffU);
  ------------------
  |  Branch (325:9): [True: 102, False: 0]
  ------------------
  326|    102|        _Py_STATIC_CAST(Py_UCS2*, data)[index] = _Py_STATIC_CAST(Py_UCS2, value);
  ------------------
  |  |   34|    102|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
                      _Py_STATIC_CAST(Py_UCS2*, data)[index] = _Py_STATIC_CAST(Py_UCS2, value);
  ------------------
  |  |   34|    102|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  327|    102|    }
  328|  20.0M|    else {
  329|  20.0M|        assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (329:9): [True: 20.0M, False: 0]
  ------------------
  330|  20.0M|        assert(value <= 0x10ffffU);
  ------------------
  |  Branch (330:9): [True: 20.0M, False: 0]
  ------------------
  331|  20.0M|        _Py_STATIC_CAST(Py_UCS4*, data)[index] = value;
  ------------------
  |  |   34|  20.0M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  332|  20.0M|    }
  333|  20.0M|}
unicodeobject.c:PyUnstable_Unicode_GET_CACHED_HASH:
  303|  36.0k|PyUnstable_Unicode_GET_CACHED_HASH(PyObject *op) {
  304|       |#ifdef Py_GIL_DISABLED
  305|       |    return _Py_atomic_load_ssize_relaxed(&_PyASCIIObject_CAST(op)->hash);
  306|       |#else
  307|  36.0k|    return _PyASCIIObject_CAST(op)->hash;
  ------------------
  |  |  186|  36.0k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  36.0k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  36.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (307:12): [True: 36.0k, False: 0]
  ------------------
  308|  36.0k|#endif
  309|  36.0k|}
unicodeobject.c:PyUnicode_MAX_CHAR_VALUE:
  387|  4.85k|{
  388|  4.85k|    int kind;
  389|       |
  390|  4.85k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|  4.85k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.85k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.85k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 4.82k, False: 30]
  |  |  ------------------
  ------------------
  391|  4.82k|        return 0x7fU;
  392|  4.82k|    }
  393|       |
  394|     30|    kind = PyUnicode_KIND(op);
  ------------------
  |  |  258|     30|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|     60|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 30, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  395|     30|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (395:9): [True: 0, False: 30]
  ------------------
  396|      0|       return 0xffU;
  397|      0|    }
  398|     30|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (398:9): [True: 18, False: 12]
  ------------------
  399|     18|        return 0xffffU;
  400|     18|    }
  401|     30|    assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (401:5): [True: 12, False: 0]
  ------------------
  402|     12|    return 0x10ffffU;
  403|     12|}
unicodeobject.c:Py_UNICODE_IS_SURROGATE:
   16|  41.0k|static inline int Py_UNICODE_IS_SURROGATE(Py_UCS4 ch) {
   17|  41.0k|    return (0xD800 <= ch && ch <= 0xDFFF);
  ------------------
  |  Branch (17:13): [True: 40.9k, False: 96]
  |  Branch (17:29): [True: 0, False: 40.9k]
  ------------------
   18|  41.0k|}
unicodeobject.c:Py_UNICODE_ISSPACE:
  742|     30|static inline int Py_UNICODE_ISSPACE(Py_UCS4 ch) {
  743|     30|    if (ch < 128) {
  ------------------
  |  Branch (743:9): [True: 30, False: 0]
  ------------------
  744|     30|        return _Py_ascii_whitespace[ch];
  745|     30|    }
  746|      0|    return _PyUnicode_IsWhitespace(ch);
  747|     30|}
bltinmodule.c:PyUnicode_GET_LENGTH:
  296|     46|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|     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 (297:12): [True: 46, False: 0]
  ------------------
  298|     46|}
bltinmodule.c:PyUnicode_READ_CHAR:
  363|     23|{
  364|     23|    int kind;
  365|       |
  366|     23|    assert(index >= 0);
  ------------------
  |  Branch (366:5): [True: 23, False: 0]
  ------------------
  367|       |    // Tolerate reading the NUL character at str[len(str)]
  368|     23|    assert(index <= PyUnicode_GET_LENGTH(unicode));
  ------------------
  |  Branch (368:5): [True: 23, False: 0]
  ------------------
  369|       |
  370|     23|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|     23|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|     46|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 23, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  371|     23|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (371:9): [True: 23, False: 0]
  ------------------
  372|     23|        return PyUnicode_1BYTE_DATA(unicode)[index];
  ------------------
  |  |  291|     23|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|     23|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  373|     23|    }
  374|      0|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (374:9): [True: 0, False: 0]
  ------------------
  375|      0|        return PyUnicode_2BYTE_DATA(unicode)[index];
  ------------------
  |  |  292|      0|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  376|      0|    }
  377|      0|    assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (377:5): [True: 0, False: 0]
  ------------------
  378|      0|    return PyUnicode_4BYTE_DATA(unicode)[index];
  ------------------
  |  |  293|      0|#define PyUnicode_4BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS4*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  379|      0|}
bltinmodule.c:_PyUnicode_DATA:
  278|     23|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|     23|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|     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 (234:34): [True: 23, False: 0]
  |  |  ------------------
  ------------------
  280|     23|        return _PyUnicode_COMPACT_DATA(op);
  281|     23|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|     23|}
bltinmodule.c:PyUnicode_IS_COMPACT:
  231|     23|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|     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 (232:12): [True: 23, False: 0]
  ------------------
  233|     23|}
bltinmodule.c:_PyUnicode_COMPACT_DATA:
  261|     23|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|     23|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|     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 (227:32): [True: 23, False: 0]
  |  |  ------------------
  ------------------
  263|     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]
  |  |  ------------------
  ------------------
  264|     23|    }
  265|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  266|      0|}
bltinmodule.c:PyUnicode_IS_ASCII:
  224|     23|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|     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 (225:12): [True: 23, False: 0]
  ------------------
  226|     23|}
ceval.c:PyUnicode_IS_COMPACT_ASCII:
  238|  1.09k|static inline int PyUnicode_IS_COMPACT_ASCII(PyObject *op) {
  239|  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));
  ------------------
  |  |  234|  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 (234:34): [True: 1.09k, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (239:13): [True: 1.09k, False: 0]
  |  Branch (239:13): [True: 1.09k, False: 0]
  ------------------
  240|  1.09k|}
ceval.c:PyUnicode_IS_COMPACT:
  231|  2.18k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|  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 (232:12): [True: 2.18k, False: 0]
  ------------------
  233|  2.18k|}
ceval.c:PyUnicode_GET_LENGTH:
  296|  1.09k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|  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 (297:12): [True: 1.09k, False: 0]
  ------------------
  298|  1.09k|}
ceval.c:_PyUnicode_DATA:
  278|  1.09k|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|  1.09k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|  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 (234:34): [True: 1.09k, False: 0]
  |  |  ------------------
  ------------------
  280|  1.09k|        return _PyUnicode_COMPACT_DATA(op);
  281|  1.09k|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|  1.09k|}
ceval.c:_PyUnicode_COMPACT_DATA:
  261|  1.09k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|  1.09k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|  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 (227:32): [True: 1.09k, False: 0]
  |  |  ------------------
  ------------------
  263|  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]
  |  |  ------------------
  ------------------
  264|  1.09k|    }
  265|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  266|      0|}
ceval.c:PyUnicode_IS_ASCII:
  224|  1.09k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|  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 (225:12): [True: 1.09k, False: 0]
  ------------------
  226|  1.09k|}
import.c:PyUnicode_GET_LENGTH:
  296|    757|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|    757|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|    757|    (assert(PyUnicode_Check(op)), \
  |  |  187|    757|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    757|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (297:12): [True: 757, False: 0]
  ------------------
  298|    757|}
intrinsics.c:PyUnicode_READ_CHAR:
  363|  1.72k|{
  364|  1.72k|    int kind;
  365|       |
  366|  1.72k|    assert(index >= 0);
  ------------------
  |  Branch (366:5): [True: 1.72k, False: 0]
  ------------------
  367|       |    // Tolerate reading the NUL character at str[len(str)]
  368|  1.72k|    assert(index <= PyUnicode_GET_LENGTH(unicode));
  ------------------
  |  Branch (368:5): [True: 1.72k, False: 0]
  ------------------
  369|       |
  370|  1.72k|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|  1.72k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|  3.44k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 1.72k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  371|  1.72k|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (371:9): [True: 1.72k, False: 0]
  ------------------
  372|  1.72k|        return PyUnicode_1BYTE_DATA(unicode)[index];
  ------------------
  |  |  291|  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))
  |  |  ------------------
  ------------------
  373|  1.72k|    }
  374|      0|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (374:9): [True: 0, False: 0]
  ------------------
  375|      0|        return PyUnicode_2BYTE_DATA(unicode)[index];
  ------------------
  |  |  292|      0|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  376|      0|    }
  377|      0|    assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (377:5): [True: 0, False: 0]
  ------------------
  378|      0|    return PyUnicode_4BYTE_DATA(unicode)[index];
  ------------------
  |  |  293|      0|#define PyUnicode_4BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS4*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  379|      0|}
intrinsics.c:PyUnicode_GET_LENGTH:
  296|  1.72k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|  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 (297:12): [True: 1.72k, False: 0]
  ------------------
  298|  1.72k|}
intrinsics.c:_PyUnicode_DATA:
  278|  1.72k|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|  1.72k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|  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 (234:34): [True: 1.72k, False: 0]
  |  |  ------------------
  ------------------
  280|  1.72k|        return _PyUnicode_COMPACT_DATA(op);
  281|  1.72k|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|  1.72k|}
intrinsics.c:PyUnicode_IS_COMPACT:
  231|  1.72k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|  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 (232:12): [True: 1.72k, False: 0]
  ------------------
  233|  1.72k|}
intrinsics.c:_PyUnicode_COMPACT_DATA:
  261|  1.72k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|  1.72k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|  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 (227:32): [True: 1.72k, False: 0]
  |  |  ------------------
  ------------------
  263|  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]
  |  |  ------------------
  ------------------
  264|  1.72k|    }
  265|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  266|      0|}
intrinsics.c:PyUnicode_IS_ASCII:
  224|  1.72k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|  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 (225:12): [True: 1.72k, False: 0]
  ------------------
  226|  1.72k|}
specialize.c:PyUnicode_IS_COMPACT_ASCII:
  238|      9|static inline int PyUnicode_IS_COMPACT_ASCII(PyObject *op) {
  239|     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));
  ------------------
  |  |  234|      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 (234:34): [True: 9, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (239:13): [True: 9, False: 0]
  |  Branch (239:13): [True: 9, False: 0]
  ------------------
  240|      9|}
specialize.c:PyUnicode_IS_COMPACT:
  231|      9|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|      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 (232:12): [True: 9, False: 0]
  ------------------
  233|      9|}
symtable.c:PyUnicode_GET_LENGTH:
  296|     50|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|     50|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|     50|    (assert(PyUnicode_Check(op)), \
  |  |  187|     50|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (297:12): [True: 50, False: 0]
  ------------------
  298|     50|}
symtable.c:PyUnicode_READ_CHAR:
  363|     50|{
  364|     50|    int kind;
  365|       |
  366|     50|    assert(index >= 0);
  ------------------
  |  Branch (366:5): [True: 50, False: 0]
  ------------------
  367|       |    // Tolerate reading the NUL character at str[len(str)]
  368|     50|    assert(index <= PyUnicode_GET_LENGTH(unicode));
  ------------------
  |  Branch (368:5): [True: 50, False: 0]
  ------------------
  369|       |
  370|     50|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|     50|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|    100|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 50, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  371|     50|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (371:9): [True: 50, False: 0]
  ------------------
  372|     50|        return PyUnicode_1BYTE_DATA(unicode)[index];
  ------------------
  |  |  291|     50|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|     50|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  373|     50|    }
  374|      0|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (374:9): [True: 0, False: 0]
  ------------------
  375|      0|        return PyUnicode_2BYTE_DATA(unicode)[index];
  ------------------
  |  |  292|      0|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  376|      0|    }
  377|      0|    assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (377:5): [True: 0, False: 0]
  ------------------
  378|      0|    return PyUnicode_4BYTE_DATA(unicode)[index];
  ------------------
  |  |  293|      0|#define PyUnicode_4BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS4*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  379|      0|}
symtable.c:_PyUnicode_DATA:
  278|     50|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|     50|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|     50|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 50, False: 0]
  |  |  ------------------
  ------------------
  280|     50|        return _PyUnicode_COMPACT_DATA(op);
  281|     50|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|     50|}
symtable.c:PyUnicode_IS_COMPACT:
  231|     50|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|     50|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|     50|    (assert(PyUnicode_Check(op)), \
  |  |  187|     50|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (232:12): [True: 50, False: 0]
  ------------------
  233|     50|}
symtable.c:_PyUnicode_COMPACT_DATA:
  261|     50|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|     50|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|     50|#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 (227:32): [True: 50, False: 0]
  |  |  ------------------
  ------------------
  263|     50|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|    100|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 50, False: 0]
  |  |  ------------------
  ------------------
  264|     50|    }
  265|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  266|      0|}
symtable.c:PyUnicode_IS_ASCII:
  224|     50|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|     50|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|     50|    (assert(PyUnicode_Check(op)), \
  |  |  187|     50|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (225:12): [True: 50, False: 0]
  ------------------
  226|     50|}
typecache.c:PyUnicode_CHECK_INTERNED:
  207|  26.8k|static inline unsigned int PyUnicode_CHECK_INTERNED(PyObject *op) {
  208|       |#ifdef Py_GIL_DISABLED
  209|       |    return _Py_atomic_load_uint8_relaxed(&_PyASCIIObject_CAST(op)->state.interned);
  210|       |#else
  211|  26.8k|    return _PyASCIIObject_CAST(op)->state.interned;
  ------------------
  |  |  186|  26.8k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  26.8k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  26.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (211:12): [True: 26.8k, False: 0]
  ------------------
  212|  26.8k|#endif
  213|  26.8k|}
typecache.c:PyUnstable_Unicode_GET_CACHED_HASH:
  303|  34.5k|PyUnstable_Unicode_GET_CACHED_HASH(PyObject *op) {
  304|       |#ifdef Py_GIL_DISABLED
  305|       |    return _Py_atomic_load_ssize_relaxed(&_PyASCIIObject_CAST(op)->hash);
  306|       |#else
  307|  34.5k|    return _PyASCIIObject_CAST(op)->hash;
  ------------------
  |  |  186|  34.5k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  34.5k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  34.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (307:12): [True: 34.5k, False: 0]
  ------------------
  308|  34.5k|#endif
  309|  34.5k|}
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:
  296|    132|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|    132|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|    132|    (assert(PyUnicode_Check(op)), \
  |  |  187|    132|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    132|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (297:12): [True: 132, False: 0]
  ------------------
  298|    132|}
textio.c:PyUnicode_IS_ASCII:
  224|     72|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|     72|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|     72|    (assert(PyUnicode_Check(op)), \
  |  |  187|     72|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     72|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (225:12): [True: 72, False: 0]
  ------------------
  226|     72|}
textio.c:_PyUnicode_DATA:
  278|     28|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|     28|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|     28|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 28, False: 0]
  |  |  ------------------
  ------------------
  280|     28|        return _PyUnicode_COMPACT_DATA(op);
  281|     28|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|     28|}
textio.c:PyUnicode_IS_COMPACT:
  231|     28|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|     28|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|     28|    (assert(PyUnicode_Check(op)), \
  |  |  187|     28|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (232:12): [True: 28, False: 0]
  ------------------
  233|     28|}
textio.c:_PyUnicode_COMPACT_DATA:
  261|     28|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|     28|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|     28|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 28, False: 0]
  |  |  ------------------
  ------------------
  263|     28|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|     56|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 28, False: 0]
  |  |  ------------------
  ------------------
  264|     28|    }
  265|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  266|      0|}
sre.c:PyUnicode_GET_LENGTH:
  296|      3|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|      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 (297:12): [True: 3, False: 0]
  ------------------
  298|      3|}
sre.c:_PyUnicode_DATA:
  278|      3|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|      3|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|      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 (234:34): [True: 3, False: 0]
  |  |  ------------------
  ------------------
  280|      3|        return _PyUnicode_COMPACT_DATA(op);
  281|      3|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|      3|}
sre.c:PyUnicode_IS_COMPACT:
  231|      3|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|      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 (232:12): [True: 3, False: 0]
  ------------------
  233|      3|}
sre.c:_PyUnicode_COMPACT_DATA:
  261|      3|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|      3|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|      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 (227:32): [True: 3, False: 0]
  |  |  ------------------
  ------------------
  263|      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]
  |  |  ------------------
  ------------------
  264|      3|    }
  265|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  266|      0|}
sre.c:PyUnicode_IS_ASCII:
  224|      3|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|      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 (225:12): [True: 3, False: 0]
  ------------------
  226|      3|}
getpath.c:PyUnicode_GET_LENGTH:
  296|     12|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|     12|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|     12|    (assert(PyUnicode_Check(op)), \
  |  |  187|     12|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (297:12): [True: 12, False: 0]
  ------------------
  298|     12|}
helpers.c:PyUnicode_GET_LENGTH:
  296|     18|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|     18|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|     18|    (assert(PyUnicode_Check(op)), \
  |  |  187|     18|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (297:12): [True: 18, False: 0]
  ------------------
  298|     18|}
bytesobject.c:PyUnicode_IS_ASCII:
  224|      1|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|      1|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|      1|    (assert(PyUnicode_Check(op)), \
  |  |  187|      1|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (225:12): [True: 1, False: 0]
  ------------------
  226|      1|}
bytesobject.c:_PyUnicode_DATA:
  278|      1|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|      1|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|      1|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 1, False: 0]
  |  |  ------------------
  ------------------
  280|      1|        return _PyUnicode_COMPACT_DATA(op);
  281|      1|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|      1|}
bytesobject.c:PyUnicode_IS_COMPACT:
  231|      1|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|      1|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|      1|    (assert(PyUnicode_Check(op)), \
  |  |  187|      1|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (232:12): [True: 1, False: 0]
  ------------------
  233|      1|}
bytesobject.c:_PyUnicode_COMPACT_DATA:
  261|      1|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|      1|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|      1|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 1, False: 0]
  |  |  ------------------
  ------------------
  263|      1|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|      2|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 1, False: 0]
  |  |  ------------------
  ------------------
  264|      1|    }
  265|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  266|      0|}
codeobject.c:PyUnicode_IS_ASCII:
  224|  14.8k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|  14.8k|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  14.8k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  14.8k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  14.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (225:12): [True: 14.8k, False: 0]
  ------------------
  226|  14.8k|}
codeobject.c:_PyUnicode_DATA:
  278|  7.41k|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|  7.41k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|  7.41k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 7.41k, False: 0]
  |  |  ------------------
  ------------------
  280|  7.41k|        return _PyUnicode_COMPACT_DATA(op);
  281|  7.41k|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|  7.41k|}
codeobject.c:PyUnicode_IS_COMPACT:
  231|  7.41k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|  7.41k|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  7.41k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  7.41k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  7.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (232:12): [True: 7.41k, False: 0]
  ------------------
  233|  7.41k|}
codeobject.c:_PyUnicode_COMPACT_DATA:
  261|  7.41k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|  7.41k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|  7.41k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 7.41k, False: 0]
  |  |  ------------------
  ------------------
  263|  7.41k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  14.8k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 7.41k, False: 0]
  |  |  ------------------
  ------------------
  264|  7.41k|    }
  265|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  266|      0|}
codeobject.c:PyUnicode_GET_LENGTH:
  296|  7.41k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|  7.41k|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  7.41k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  7.41k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  7.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (297:12): [True: 7.41k, False: 0]
  ------------------
  298|  7.41k|}
unicode_format.c:PyUnicode_IS_ASCII:
  224|     21|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|     21|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|     21|    (assert(PyUnicode_Check(op)), \
  |  |  187|     21|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (225:12): [True: 21, False: 0]
  ------------------
  226|     21|}
unicode_format.c:_PyUnicode_DATA:
  278|     21|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|     21|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|     21|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     21|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 21, False: 0]
  |  |  ------------------
  ------------------
  280|     21|        return _PyUnicode_COMPACT_DATA(op);
  281|     21|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|     21|}
unicode_format.c:PyUnicode_IS_COMPACT:
  231|     21|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|     21|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|     21|    (assert(PyUnicode_Check(op)), \
  |  |  187|     21|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (232:12): [True: 21, False: 0]
  ------------------
  233|     21|}
unicode_format.c:_PyUnicode_COMPACT_DATA:
  261|     21|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|     21|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|     21|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     21|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 21, False: 0]
  |  |  ------------------
  ------------------
  263|     21|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|     42|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 21, False: 0]
  |  |  ------------------
  ------------------
  264|     21|    }
  265|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  266|      0|}
unicode_format.c:PyUnicode_GET_LENGTH:
  296|     42|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|     42|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|     42|    (assert(PyUnicode_Check(op)), \
  |  |  187|     42|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     42|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (297:12): [True: 42, False: 0]
  ------------------
  298|     42|}
unicode_format.c:PyUnicode_READ:
  342|    399|{
  343|    399|    assert(index >= 0);
  ------------------
  |  Branch (343:5): [True: 399, False: 0]
  ------------------
  344|    399|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (344:9): [True: 399, False: 0]
  ------------------
  345|    399|        return _Py_STATIC_CAST(const Py_UCS1*, data)[index];
  ------------------
  |  |   34|    399|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  346|    399|    }
  347|      0|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (347:9): [True: 0, False: 0]
  ------------------
  348|      0|        return _Py_STATIC_CAST(const Py_UCS2*, data)[index];
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  349|      0|    }
  350|      0|    assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (350:5): [True: 0, False: 0]
  ------------------
  351|      0|    return _Py_STATIC_CAST(const Py_UCS4*, data)[index];
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  352|      0|}
pegen.c:PyUnicode_GET_LENGTH:
  296|     29|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|     29|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|     29|    (assert(PyUnicode_Check(op)), \
  |  |  187|     29|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (297:12): [True: 29, False: 0]
  ------------------
  298|     29|}
pegen.c:PyUnicode_IS_ASCII:
  224|    141|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|    141|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|    141|    (assert(PyUnicode_Check(op)), \
  |  |  187|    141|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    141|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (225:12): [True: 141, False: 0]
  ------------------
  226|    141|}
lexer.c:PyUnicode_GET_LENGTH:
  296|     44|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|     44|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|     44|    (assert(PyUnicode_Check(op)), \
  |  |  187|     44|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (297:12): [True: 44, False: 0]
  ------------------
  298|     44|}
lexer.c:PyUnicode_READ_CHAR:
  363|      3|{
  364|      3|    int kind;
  365|       |
  366|      3|    assert(index >= 0);
  ------------------
  |  Branch (366:5): [True: 3, False: 0]
  ------------------
  367|       |    // Tolerate reading the NUL character at str[len(str)]
  368|      3|    assert(index <= PyUnicode_GET_LENGTH(unicode));
  ------------------
  |  Branch (368:5): [True: 3, False: 0]
  ------------------
  369|       |
  370|      3|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|      3|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|      6|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 3, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  371|      3|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (371:9): [True: 0, False: 3]
  ------------------
  372|      0|        return PyUnicode_1BYTE_DATA(unicode)[index];
  ------------------
  |  |  291|      0|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  373|      0|    }
  374|      3|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (374:9): [True: 0, False: 3]
  ------------------
  375|      0|        return PyUnicode_2BYTE_DATA(unicode)[index];
  ------------------
  |  |  292|      0|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  376|      0|    }
  377|      3|    assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (377:5): [True: 3, False: 0]
  ------------------
  378|      3|    return PyUnicode_4BYTE_DATA(unicode)[index];
  ------------------
  |  |  293|      3|#define PyUnicode_4BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS4*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      3|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  379|      3|}
lexer.c:_PyUnicode_DATA:
  278|      3|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|      3|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|      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 (234:34): [True: 3, False: 0]
  |  |  ------------------
  ------------------
  280|      3|        return _PyUnicode_COMPACT_DATA(op);
  281|      3|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|      3|}
lexer.c:PyUnicode_IS_COMPACT:
  231|      3|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|      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 (232:12): [True: 3, False: 0]
  ------------------
  233|      3|}
lexer.c:_PyUnicode_COMPACT_DATA:
  261|      3|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|      3|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|      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 (227:32): [True: 0, False: 3]
  |  |  ------------------
  ------------------
  263|      0|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  264|      0|    }
  265|      3|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      6|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 3, False: 0]
  |  |  ------------------
  ------------------
  266|      3|}
lexer.c:PyUnicode_IS_ASCII:
  224|      3|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|      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 (225:12): [True: 3, False: 0]
  ------------------
  226|      3|}
string_parser.c:_PyUnicode_DATA:
  278|   277k|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|   277k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|   277k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   277k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   277k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 277k, False: 0]
  |  |  ------------------
  ------------------
  280|   277k|        return _PyUnicode_COMPACT_DATA(op);
  281|   277k|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|   277k|}
string_parser.c:PyUnicode_IS_COMPACT:
  231|   277k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|   277k|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|   277k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   277k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   277k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (232:12): [True: 277k, False: 0]
  ------------------
  233|   277k|}
string_parser.c:_PyUnicode_COMPACT_DATA:
  261|   277k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|   277k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|   277k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   277k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   277k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 0, False: 277k]
  |  |  ------------------
  ------------------
  263|      0|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  264|      0|    }
  265|   277k|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|   555k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 277k, False: 0]
  |  |  ------------------
  ------------------
  266|   277k|}
string_parser.c:PyUnicode_IS_ASCII:
  224|   277k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|   277k|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|   277k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   277k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   277k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (225:12): [True: 277k, False: 0]
  ------------------
  226|   277k|}
string_parser.c:PyUnicode_GET_LENGTH:
  296|   277k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|   277k|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|   277k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   277k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   277k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (297:12): [True: 277k, False: 0]
  ------------------
  298|   277k|}
string_parser.c:PyUnicode_READ:
  342|   277k|{
  343|   277k|    assert(index >= 0);
  ------------------
  |  Branch (343:5): [True: 277k, False: 0]
  ------------------
  344|   277k|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (344:9): [True: 219k, False: 58.2k]
  ------------------
  345|   219k|        return _Py_STATIC_CAST(const Py_UCS1*, data)[index];
  ------------------
  |  |   34|   219k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  346|   219k|    }
  347|  58.2k|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (347:9): [True: 32, False: 58.2k]
  ------------------
  348|     32|        return _Py_STATIC_CAST(const Py_UCS2*, data)[index];
  ------------------
  |  |   34|     32|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  349|     32|    }
  350|  58.2k|    assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (350:5): [True: 58.2k, False: 0]
  ------------------
  351|  58.2k|    return _Py_STATIC_CAST(const Py_UCS4*, data)[index];
  ------------------
  |  |   34|  58.2k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  352|  58.2k|}

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

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

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

listobject.c:_PyIndex_Check:
   14|     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|     66|{
   15|     66|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|     66|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 55, False: 11]
  |  Branch (16:37): [True: 55, False: 0]
  ------------------
   17|     66|}
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|}
abstract.c:_PyIndex_Check:
   14|    198|{
   15|    198|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  213|    198|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    198|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    198|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|    198|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 198, False: 0]
  |  Branch (16:37): [True: 8, False: 190]
  ------------------
   17|    198|}
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.40k|{
  139|  2.40k|    return make_backoff_counter(
  140|  2.40k|        opt_config->jump_backward_initial_value,
  141|  2.40k|        opt_config->jump_backward_initial_backoff);
  142|  2.40k|}
specialize.c:make_backoff_counter:
   62|  11.8k|{
   63|  11.8k|    assert(backoff <= UNREACHABLE_BACKOFF);
  ------------------
  |  Branch (63:5): [True: 11.8k, False: 0]
  ------------------
   64|  11.8k|    assert(value <= MAX_VALUE);
  ------------------
  |  Branch (64:5): [True: 11.8k, False: 0]
  ------------------
   65|  11.8k|    return ((_Py_BackoffCounter){
   66|  11.8k|        .value_and_backoff = MAKE_VALUE_AND_BACKOFF(value, backoff)
  ------------------
  |  |   44|  11.8k|    ((uint16_t)(((value) << BACKOFF_BITS) | (backoff)))
  |  |  ------------------
  |  |  |  |   37|  11.8k|#define BACKOFF_BITS 3
  |  |  ------------------
  ------------------
   67|  11.8k|    });
   68|  11.8k|}
specialize.c:initial_resume_backoff_counter:
  152|  2.40k|{
  153|  2.40k|    return make_backoff_counter(
  154|  2.40k|        opt_config->resume_initial_value,
  155|  2.40k|        opt_config->resume_initial_backoff);
  156|  2.40k|}
specialize.c:restart_backoff_counter:
   80|    438|{
   81|    438|    uint16_t backoff = counter.value_and_backoff & BACKOFF_MASK;
  ------------------
  |  |   38|    438|#define BACKOFF_MASK 7
  ------------------
   82|    438|    assert(backoff <= MAX_BACKOFF);
  ------------------
  |  Branch (82:5): [True: 438, False: 0]
  ------------------
   83|    438|    return ((_Py_BackoffCounter){
   84|    438|        .value_and_backoff = value_and_backoff_next[backoff]
   85|    438|    });
   86|    438|}

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

bytesobject.c:_PyBytesWriter_GetData:
  112|    257|{
  113|    257|    if (writer->obj == NULL) {
  ------------------
  |  Branch (113:9): [True: 76, False: 181]
  ------------------
  114|     76|        return writer->small_buffer;
  115|     76|    }
  116|    181|    else if (writer->use_bytearray) {
  ------------------
  |  Branch (116:14): [True: 0, False: 181]
  ------------------
  117|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  118|      0|    }
  119|    181|    else {
  120|    181|        return PyBytes_AS_STRING(writer->obj);
  ------------------
  |  |   27|    181|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    181|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    181|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  121|    181|    }
  122|    257|}
bytesobject.c:_PyBytesWriter_GetSize:
  106|     42|{
  107|     42|    return writer->size;
  108|     42|}

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

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

call.c:_Py_EnterRecursiveCallTstate:
  234|  2.30k|                                               const char *where) {
  235|  2.30k|    return (_Py_ReachedRecursionLimit(tstate) && _Py_CheckRecursiveCall(tstate, where));
  ------------------
  |  Branch (235:13): [True: 0, False: 2.30k]
  |  Branch (235:50): [True: 0, False: 0]
  ------------------
  236|  2.30k|}
call.c:_Py_ReachedRecursionLimit:
  211|  2.30k|static inline int _Py_ReachedRecursionLimit(PyThreadState *tstate)  {
  212|  2.30k|    uintptr_t here_addr = _Py_get_machine_stack_pointer();
  213|  2.30k|    _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.30k|#if _Py_STACK_GROWS_DOWN
  218|  2.30k|    return here_addr < _tstate->c_stack_soft_limit;
  219|       |#else
  220|       |    return here_addr > _tstate->c_stack_soft_limit;
  221|       |#endif
  222|  2.30k|}
call.c:_Py_LeaveRecursiveCallTstate:
  243|  2.30k|static inline void _Py_LeaveRecursiveCallTstate(PyThreadState *tstate) {
  244|  2.30k|    (void)tstate;
  245|  2.30k|}
object.c:_Py_EnterRecursiveCallTstate:
  234|  9.43k|                                               const char *where) {
  235|  9.43k|    return (_Py_ReachedRecursionLimit(tstate) && _Py_CheckRecursiveCall(tstate, where));
  ------------------
  |  Branch (235:13): [True: 0, False: 9.43k]
  |  Branch (235:50): [True: 0, False: 0]
  ------------------
  236|  9.43k|}
object.c:_Py_ReachedRecursionLimit:
  211|  9.43k|static inline int _Py_ReachedRecursionLimit(PyThreadState *tstate)  {
  212|  9.43k|    uintptr_t here_addr = _Py_get_machine_stack_pointer();
  213|  9.43k|    _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.43k|#if _Py_STACK_GROWS_DOWN
  218|  9.43k|    return here_addr < _tstate->c_stack_soft_limit;
  219|       |#else
  220|       |    return here_addr > _tstate->c_stack_soft_limit;
  221|       |#endif
  222|  9.43k|}
object.c:_Py_LeaveRecursiveCallTstate:
  243|  9.43k|static inline void _Py_LeaveRecursiveCallTstate(PyThreadState *tstate) {
  244|  9.43k|    (void)tstate;
  245|  9.43k|}
ceval.c:_PyEval_EvalFrame:
  119|  1.97k|{
  120|  1.97k|    EVAL_CALL_STAT_INC(EVAL_CALL_TOTAL);
  ------------------
  |  |   79|  1.97k|#define EVAL_CALL_STAT_INC(name) ((void)0)
  ------------------
  121|  1.97k|    if (tstate->interp->eval_frame == NULL) {
  ------------------
  |  Branch (121:9): [True: 1.97k, False: 0]
  ------------------
  122|  1.97k|        return _PyEval_EvalFrameDefault(tstate, frame, throwflag);
  123|  1.97k|    }
  124|      0|    return tstate->interp->eval_frame(tstate, frame, throwflag);
  125|  1.97k|}
ceval.c:_Py_EnterRecursiveCallTstate:
  234|  2.29k|                                               const char *where) {
  235|  2.29k|    return (_Py_ReachedRecursionLimit(tstate) && _Py_CheckRecursiveCall(tstate, where));
  ------------------
  |  Branch (235:13): [True: 0, False: 2.29k]
  |  Branch (235:50): [True: 0, False: 0]
  ------------------
  236|  2.29k|}
ceval.c:_Py_ReachedRecursionLimit:
  211|  4.08k|static inline int _Py_ReachedRecursionLimit(PyThreadState *tstate)  {
  212|  4.08k|    uintptr_t here_addr = _Py_get_machine_stack_pointer();
  213|  4.08k|    _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.08k|#if _Py_STACK_GROWS_DOWN
  218|  4.08k|    return here_addr < _tstate->c_stack_soft_limit;
  219|       |#else
  220|       |    return here_addr > _tstate->c_stack_soft_limit;
  221|       |#endif
  222|  4.08k|}
ceval.c:_Py_LeaveRecursiveCallTstate:
  243|  1.79k|static inline void _Py_LeaveRecursiveCallTstate(PyThreadState *tstate) {
  244|  1.79k|    (void)tstate;
  245|  1.79k|}
ceval.c:_Py_EnterRecursiveCall:
  238|    125|static inline int _Py_EnterRecursiveCall(const char *where) {
  239|    125|    PyThreadState *tstate = _PyThreadState_GET();
  240|    125|    return _Py_EnterRecursiveCallTstate(tstate, where);
  241|    125|}
ceval.c:_Py_LeaveRecursiveCall:
  254|    106|static inline void _Py_LeaveRecursiveCall(void)  {
  255|    106|}
gc.c:_Py_eval_breaker_bit_is_set:
  372|  2.45k|{
  373|  2.45k|    uintptr_t b = _Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker);
  374|  2.45k|    return (b & bit) != 0;
  375|  2.45k|}
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.24k|{
  373|  1.24k|    uintptr_t b = _Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker);
  374|  1.24k|    return (b & bit) != 0;
  375|  1.24k|}
ceval_gil.c:_Py_unset_eval_breaker_bit:
  366|  1.25k|{
  367|  1.25k|    _Py_atomic_and_uintptr(&tstate->eval_breaker, ~bit);
  368|  1.25k|}
abstract.c:_Py_EnterRecursiveCallTstate:
  234|    126|                                               const char *where) {
  235|    126|    return (_Py_ReachedRecursionLimit(tstate) && _Py_CheckRecursiveCall(tstate, where));
  ------------------
  |  Branch (235:13): [True: 0, False: 126]
  |  Branch (235:50): [True: 0, False: 0]
  ------------------
  236|    126|}
abstract.c:_Py_ReachedRecursionLimit:
  211|    126|static inline int _Py_ReachedRecursionLimit(PyThreadState *tstate)  {
  212|    126|    uintptr_t here_addr = _Py_get_machine_stack_pointer();
  213|    126|    _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|    126|#if _Py_STACK_GROWS_DOWN
  218|    126|    return here_addr < _tstate->c_stack_soft_limit;
  219|       |#else
  220|       |    return here_addr > _tstate->c_stack_soft_limit;
  221|       |#endif
  222|    126|}
abstract.c:_Py_LeaveRecursiveCallTstate:
  243|    126|static inline void _Py_LeaveRecursiveCallTstate(PyThreadState *tstate) {
  244|    126|    (void)tstate;
  245|    126|}
descrobject.c:_Py_EnterRecursiveCallTstate:
  234|  1.42k|                                               const char *where) {
  235|  1.42k|    return (_Py_ReachedRecursionLimit(tstate) && _Py_CheckRecursiveCall(tstate, where));
  ------------------
  |  Branch (235:13): [True: 0, False: 1.42k]
  |  Branch (235:50): [True: 0, False: 0]
  ------------------
  236|  1.42k|}
descrobject.c:_Py_ReachedRecursionLimit:
  211|  1.42k|static inline int _Py_ReachedRecursionLimit(PyThreadState *tstate)  {
  212|  1.42k|    uintptr_t here_addr = _Py_get_machine_stack_pointer();
  213|  1.42k|    _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.42k|#if _Py_STACK_GROWS_DOWN
  218|  1.42k|    return here_addr < _tstate->c_stack_soft_limit;
  219|       |#else
  220|       |    return here_addr > _tstate->c_stack_soft_limit;
  221|       |#endif
  222|  1.42k|}
descrobject.c:_Py_LeaveRecursiveCallTstate:
  243|  1.37k|static inline void _Py_LeaveRecursiveCallTstate(PyThreadState *tstate) {
  244|  1.37k|    (void)tstate;
  245|  1.37k|}
descrobject.c:_Py_LeaveRecursiveCall:
  254|     50|static inline void _Py_LeaveRecursiveCall(void)  {
  255|     50|}
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.15k|                                               const char *where) {
  235|  3.15k|    return (_Py_ReachedRecursionLimit(tstate) && _Py_CheckRecursiveCall(tstate, where));
  ------------------
  |  Branch (235:13): [True: 0, False: 3.15k]
  |  Branch (235:50): [True: 0, False: 0]
  ------------------
  236|  3.15k|}
methodobject.c:_Py_ReachedRecursionLimit:
  211|  3.15k|static inline int _Py_ReachedRecursionLimit(PyThreadState *tstate)  {
  212|  3.15k|    uintptr_t here_addr = _Py_get_machine_stack_pointer();
  213|  3.15k|    _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.15k|#if _Py_STACK_GROWS_DOWN
  218|  3.15k|    return here_addr < _tstate->c_stack_soft_limit;
  219|       |#else
  220|       |    return here_addr > _tstate->c_stack_soft_limit;
  221|       |#endif
  222|  3.15k|}
methodobject.c:_Py_LeaveRecursiveCallTstate:
  243|  3.15k|static inline void _Py_LeaveRecursiveCallTstate(PyThreadState *tstate) {
  244|  3.15k|    (void)tstate;
  245|  3.15k|}

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|  71.7k|{
  365|  71.7k|    return *p;
  366|  71.7k|}
ceval.c:read_obj:
  386|  4.73k|{
  387|  4.73k|    PyObject *val;
  388|  4.73k|    memcpy(&val, p, sizeof(val));
  389|  4.73k|    return val;
  390|  4.73k|}
ceval.c:read_u32:
  370|  23.2k|{
  371|  23.2k|    uint32_t val;
  372|  23.2k|    memcpy(&val, p, sizeof(val));
  373|  23.2k|    return val;
  374|  23.2k|}
ceval.c:parse_varint:
  395|  2.00k|parse_varint(unsigned char *p, int *result) {
  396|  2.00k|    int val = p[0] & 63;
  397|  2.70k|    while (p[0] & 64) {
  ------------------
  |  Branch (397:12): [True: 700, False: 2.00k]
  ------------------
  398|    700|        p++;
  399|    700|        val = (val << 6) | (p[0] & 63);
  400|    700|    }
  401|  2.00k|    *result = val;
  402|  2.00k|    return p+1;
  403|  2.00k|}
specialize.c:adaptive_counter_warmup:
  480|  2.40k|adaptive_counter_warmup(void) {
  481|  2.40k|    return adaptive_counter_bits(ADAPTIVE_WARMUP_VALUE,
  ------------------
  |  |  454|  2.40k|#define ADAPTIVE_WARMUP_VALUE 1
  ------------------
  482|  2.40k|                                 ADAPTIVE_WARMUP_BACKOFF);
  ------------------
  |  |  455|  2.40k|#define ADAPTIVE_WARMUP_BACKOFF 1
  ------------------
  483|  2.40k|}
specialize.c:adaptive_counter_bits:
  475|  7.01k|adaptive_counter_bits(uint16_t value, uint16_t backoff) {
  476|  7.01k|    return make_backoff_counter(value, backoff);
  477|  7.01k|}
specialize.c:adaptive_counter_cooldown:
  486|  4.61k|adaptive_counter_cooldown(void) {
  487|  4.61k|    return adaptive_counter_bits(ADAPTIVE_COOLDOWN_VALUE,
  ------------------
  |  |  463|  4.61k|#define ADAPTIVE_COOLDOWN_VALUE 52
  ------------------
  488|  4.61k|                                 ADAPTIVE_COOLDOWN_BACKOFF);
  ------------------
  |  |  464|  4.61k|#define ADAPTIVE_COOLDOWN_BACKOFF 0
  ------------------
  489|  4.61k|}
specialize.c:adaptive_counter_backoff:
  492|    438|adaptive_counter_backoff(_Py_BackoffCounter counter) {
  493|    438|    return restart_backoff_counter(counter);
  494|    438|}
specialize.c:write_u32:
  346|  1.24k|{
  347|  1.24k|    memcpy(p, &val, sizeof(val));
  348|  1.24k|}
specialize.c:write_ptr:
  358|    291|{
  359|    291|    memcpy(p, &val, sizeof(val));
  360|    291|}
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.1k|{
  206|  15.1k|    assert(PyBytes_Check(kinds));
  ------------------
  |  Branch (206:5): [True: 15.1k, False: 0]
  ------------------
  207|  15.1k|    assert(0 <= i && i < PyBytes_GET_SIZE(kinds));
  ------------------
  |  Branch (207:5): [True: 15.1k, False: 0]
  |  Branch (207:5): [True: 15.1k, False: 0]
  ------------------
  208|  15.1k|    const char *ptr = PyBytes_AS_STRING(kinds);
  ------------------
  |  |   27|  15.1k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  15.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  209|  15.1k|    return (_PyLocals_Kind)(ptr[i]);
  210|  15.1k|}
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:
  285|  2.92k|static inline PyDictKeyEntry* DK_ENTRIES(PyDictKeysObject *dk) {
  286|  2.92k|    assert(dk->dk_kind == DICT_KEYS_GENERAL);
  ------------------
  |  Branch (286:5): [True: 2.92k, False: 0]
  ------------------
  287|  2.92k|    return (PyDictKeyEntry*)_DK_ENTRIES(dk);
  288|  2.92k|}
dictobject.c:_DK_ENTRIES:
  279|   308k|static inline void* _DK_ENTRIES(PyDictKeysObject *dk) {
  280|   308k|    int8_t *indices = (int8_t*)(dk->dk_indices);
  281|   308k|    size_t index = (size_t)1 << dk->dk_log2_index_bytes;
  282|   308k|    return (&indices[index]);
  283|   308k|}
dictobject.c:DK_UNICODE_ENTRIES:
  289|  91.8k|static inline PyDictUnicodeEntry* DK_UNICODE_ENTRIES(PyDictKeysObject *dk) {
  290|  91.8k|    assert(dk->dk_kind != DICT_KEYS_GENERAL);
  ------------------
  |  Branch (290:5): [True: 91.8k, False: 0]
  ------------------
  291|  91.8k|    return (PyDictUnicodeEntry*)_DK_ENTRIES(dk);
  292|  91.8k|}
dictobject.c:get_insertion_order_array:
  340|    999|{
  341|    999|    return (uint8_t *)&values->values[values->capacity];
  342|    999|}
dictobject.c:_PyDict_NotifyEvent:
  322|  37.7k|{
  323|  37.7k|    assert(Py_REFCNT((PyObject*)mp) > 0);
  ------------------
  |  Branch (323:5): [True: 37.7k, False: 0]
  ------------------
  324|  37.7k|    int watcher_bits = FT_ATOMIC_LOAD_UINT64_ACQUIRE(mp->_ma_watcher_tag) & DICT_WATCHER_MASK;
  ------------------
  |  |  160|  37.7k|#define FT_ATOMIC_LOAD_UINT64_ACQUIRE(value) value
  ------------------
                  int watcher_bits = FT_ATOMIC_LOAD_UINT64_ACQUIRE(mp->_ma_watcher_tag) & DICT_WATCHER_MASK;
  ------------------
  |  |  297|  37.7k|#define DICT_WATCHER_MASK ((1 << DICT_MAX_WATCHERS) - 1)
  |  |  ------------------
  |  |  |  |   11|  37.7k|#define DICT_MAX_WATCHERS 8
  |  |  ------------------
  ------------------
  325|  37.7k|    if (watcher_bits) {
  ------------------
  |  Branch (325:9): [True: 7.36k, False: 30.3k]
  ------------------
  326|  7.36k|        RARE_EVENT_STAT_INC(watched_dict_modification);
  ------------------
  |  |   89|  7.36k|#define RARE_EVENT_STAT_INC(name) ((void)0)
  ------------------
  327|  7.36k|        _PyDict_SendEvent(watcher_bits, event, mp, key, value);
  328|  7.36k|    }
  329|  37.7k|}
dictobject.c:_PyDictValues_AddToInsertionOrder:
  346|    999|{
  347|    999|    assert(ix < SHARED_KEYS_MAX_SIZE);
  ------------------
  |  Branch (347:5): [True: 999, False: 0]
  ------------------
  348|    999|    int size = values->size;
  349|    999|    uint8_t *array = get_insertion_order_array(values);
  350|    999|    assert(size < values->capacity);
  ------------------
  |  Branch (350:5): [True: 999, False: 0]
  ------------------
  351|    999|    assert(((uint8_t)ix) == ix);
  ------------------
  |  Branch (351:5): [True: 999, False: 0]
  ------------------
  352|    999|    array[size] = (uint8_t)ix;
  353|    999|    values->size = size+1;
  354|    999|}
dictobject.c:shared_keys_usable_size:
  362|    834|{
  363|       |    // dk_usable will decrease for each instance that is created and each
  364|       |    // value that is added.  dk_nentries will increase for each value that
  365|       |    // is added.  We want to always return the right value or larger.
  366|       |    // We therefore increase dk_nentries first and we decrease dk_usable
  367|       |    // second, and conversely here we read dk_usable first and dk_entries
  368|       |    // second (to avoid the case where we read entries before the increment
  369|       |    // and read usable after the decrement)
  370|    834|    Py_ssize_t dk_usable = FT_ATOMIC_LOAD_SSIZE_ACQUIRE(keys->dk_usable);
  ------------------
  |  |  148|    834|#define FT_ATOMIC_LOAD_SSIZE_ACQUIRE(value) value
  ------------------
  371|    834|    Py_ssize_t dk_nentries = FT_ATOMIC_LOAD_SSIZE_ACQUIRE(keys->dk_nentries);
  ------------------
  |  |  148|    834|#define FT_ATOMIC_LOAD_SSIZE_ACQUIRE(value) value
  ------------------
  372|    834|    return dk_nentries + dk_usable;
  373|    834|}
dictobject.c:_PyDictKeys_AsSharedKeys:
  249|    334|{
  250|    334|    assert(keys->dk_kind == DICT_KEYS_SPLIT);
  ------------------
  |  Branch (250:5): [True: 334, False: 0]
  ------------------
  251|    334|    return _Py_CONTAINER_OF(keys, struct _instancekeysobject, dsk_keys);
  ------------------
  |  |  298|    334|    (type*)((char*)ptr - offsetof(type, member))
  ------------------
  252|    334|}
typeobject.c:_PyInlineValuesSize:
  377|    690|{
  378|    690|    PyDictKeysObject *keys = ((PyHeapTypeObject*)tp)->ht_cached_keys;
  379|    690|    assert(keys != NULL);
  ------------------
  |  Branch (379:5): [True: 690, False: 0]
  ------------------
  380|    690|    size_t size = shared_keys_usable_size(keys);
  381|    690|    size_t prefix_size = _Py_SIZE_ROUND_UP(size, sizeof(PyObject *));
  ------------------
  |  |  238|    690|#define _Py_SIZE_ROUND_UP(n, a) (((size_t)(n) + \
  |  |  239|    690|        (size_t)((a) - 1)) & ~(size_t)((a) - 1))
  ------------------
  382|    690|    assert(prefix_size < 256);
  ------------------
  |  Branch (382:5): [True: 690, False: 0]
  ------------------
  383|    690|    return prefix_size + (size + 1) * sizeof(PyObject *);
  384|    690|}
typeobject.c:shared_keys_usable_size:
  362|    690|{
  363|       |    // dk_usable will decrease for each instance that is created and each
  364|       |    // value that is added.  dk_nentries will increase for each value that
  365|       |    // is added.  We want to always return the right value or larger.
  366|       |    // We therefore increase dk_nentries first and we decrease dk_usable
  367|       |    // second, and conversely here we read dk_usable first and dk_entries
  368|       |    // second (to avoid the case where we read entries before the increment
  369|       |    // and read usable after the decrement)
  370|    690|    Py_ssize_t dk_usable = FT_ATOMIC_LOAD_SSIZE_ACQUIRE(keys->dk_usable);
  ------------------
  |  |  148|    690|#define FT_ATOMIC_LOAD_SSIZE_ACQUIRE(value) value
  ------------------
  371|    690|    Py_ssize_t dk_nentries = FT_ATOMIC_LOAD_SSIZE_ACQUIRE(keys->dk_nentries);
  ------------------
  |  |  148|    690|#define FT_ATOMIC_LOAD_SSIZE_ACQUIRE(value) value
  ------------------
  372|    690|    return dk_nentries + dk_usable;
  373|    690|}
ceval.c:DK_UNICODE_ENTRIES:
  289|  16.5k|static inline PyDictUnicodeEntry* DK_UNICODE_ENTRIES(PyDictKeysObject *dk) {
  290|  16.5k|    assert(dk->dk_kind != DICT_KEYS_GENERAL);
  ------------------
  |  Branch (290:5): [True: 16.5k, False: 0]
  ------------------
  291|  16.5k|    return (PyDictUnicodeEntry*)_DK_ENTRIES(dk);
  292|  16.5k|}
ceval.c:_DK_ENTRIES:
  279|  16.5k|static inline void* _DK_ENTRIES(PyDictKeysObject *dk) {
  280|  16.5k|    int8_t *indices = (int8_t*)(dk->dk_indices);
  281|  16.5k|    size_t index = (size_t)1 << dk->dk_log2_index_bytes;
  282|  16.5k|    return (&indices[index]);
  283|  16.5k|}
ceval.c:_PyDictValues_AddToInsertionOrder:
  346|  1.61k|{
  347|  1.61k|    assert(ix < SHARED_KEYS_MAX_SIZE);
  ------------------
  |  Branch (347:5): [True: 1.61k, False: 0]
  ------------------
  348|  1.61k|    int size = values->size;
  349|  1.61k|    uint8_t *array = get_insertion_order_array(values);
  350|  1.61k|    assert(size < values->capacity);
  ------------------
  |  Branch (350:5): [True: 1.61k, False: 0]
  ------------------
  351|  1.61k|    assert(((uint8_t)ix) == ix);
  ------------------
  |  Branch (351:5): [True: 1.61k, False: 0]
  ------------------
  352|  1.61k|    array[size] = (uint8_t)ix;
  353|  1.61k|    values->size = size+1;
  354|  1.61k|}
ceval.c:get_insertion_order_array:
  340|  1.61k|{
  341|  1.61k|    return (uint8_t *)&values->values[values->capacity];
  342|  1.61k|}

listobject.c:_Py_freelists_GET:
   19|  3.73k|{
   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.73k|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|  3.73k|    return &interp->object_state.freelists;
   30|  3.73k|#endif
   31|  3.73k|}
listobject.c:_PyFreeList_Pop:
   88|  1.93k|{
   89|  1.93k|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|  1.93k|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 1.76k, False: 172]
  ------------------
   91|  1.76k|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  1.76k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|  1.76k|        _Py_NewReference(op);
   93|  1.76k|    }
   94|  1.93k|    return op;
   95|  1.93k|}
listobject.c:_PyFreeList_PopNoStats:
   76|  1.93k|{
   77|  1.93k|    void *obj = fl->freelist;
   78|  1.93k|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 1.76k, False: 172]
  ------------------
   79|  1.76k|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 1.76k, False: 0]
  ------------------
   80|  1.76k|        fl->freelist = *(void **)obj;
   81|  1.76k|        fl->size--;
   82|  1.76k|    }
   83|  1.93k|    return obj;
   84|  1.93k|}
listobject.c:_PyFreeList_Free:
   68|  1.80k|{
   69|  1.80k|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 0, False: 1.80k]
  ------------------
   70|      0|        dofree(obj);
   71|      0|    }
   72|  1.80k|}
listobject.c:_PyFreeList_Push:
   54|  1.80k|{
   55|  1.80k|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 1.80k, False: 0]
  |  Branch (55:31): [True: 1.80k, False: 0]
  ------------------
   56|  1.80k|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  163|  1.80k|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|  1.80k|        fl->freelist = obj;
   58|  1.80k|        fl->size++;
   59|  1.80k|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|  1.80k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|  1.80k|        return 1;
   61|  1.80k|    }
   62|      0|    return 0;
   63|  1.80k|}
longobject.c:_PyFreeList_Pop:
   88|  1.26k|{
   89|  1.26k|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|  1.26k|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 942, False: 325]
  ------------------
   91|    942|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|    942|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|    942|        _Py_NewReference(op);
   93|    942|    }
   94|  1.26k|    return op;
   95|  1.26k|}
longobject.c:_PyFreeList_PopNoStats:
   76|  1.26k|{
   77|  1.26k|    void *obj = fl->freelist;
   78|  1.26k|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 942, False: 325]
  ------------------
   79|    942|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 942, False: 0]
  ------------------
   80|    942|        fl->freelist = *(void **)obj;
   81|    942|        fl->size--;
   82|    942|    }
   83|  1.26k|    return obj;
   84|  1.26k|}
longobject.c:_PyFreeList_Free:
   68|    978|{
   69|    978|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 0, False: 978]
  ------------------
   70|      0|        dofree(obj);
   71|      0|    }
   72|    978|}
longobject.c:_PyFreeList_Push:
   54|    978|{
   55|    978|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 978, False: 0]
  |  Branch (55:31): [True: 978, False: 0]
  ------------------
   56|    978|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  163|    978|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|    978|        fl->freelist = obj;
   58|    978|        fl->size++;
   59|    978|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|    978|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|    978|        return 1;
   61|    978|    }
   62|      0|    return 0;
   63|    978|}
longobject.c:_Py_freelists_GET:
   19|  2.24k|{
   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.24k|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|  2.24k|    return &interp->object_state.freelists;
   30|  2.24k|#endif
   31|  2.24k|}
dictobject.c:_Py_freelists_GET:
   19|  9.33k|{
   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.33k|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|  9.33k|    return &interp->object_state.freelists;
   30|  9.33k|#endif
   31|  9.33k|}
dictobject.c:_PyFreeList_Pop:
   88|  3.93k|{
   89|  3.93k|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|  3.93k|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 2.05k, False: 1.87k]
  ------------------
   91|  2.05k|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  2.05k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|  2.05k|        _Py_NewReference(op);
   93|  2.05k|    }
   94|  3.93k|    return op;
   95|  3.93k|}
dictobject.c:_PyFreeList_PopNoStats:
   76|  5.74k|{
   77|  5.74k|    void *obj = fl->freelist;
   78|  5.74k|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 3.44k, False: 2.30k]
  ------------------
   79|  3.44k|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 3.44k, False: 0]
  ------------------
   80|  3.44k|        fl->freelist = *(void **)obj;
   81|  3.44k|        fl->size--;
   82|  3.44k|    }
   83|  5.74k|    return obj;
   84|  5.74k|}
dictobject.c:_PyFreeList_PopMem:
   99|  1.81k|{
  100|  1.81k|    void *op = _PyFreeList_PopNoStats(fl);
  101|  1.81k|    if (op != NULL) {
  ------------------
  |  Branch (101:9): [True: 1.38k, False: 427]
  ------------------
  102|  1.38k|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  1.38k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
  103|  1.38k|    }
  104|  1.81k|    return op;
  105|  1.81k|}
dictobject.c:_PyFreeList_Free:
   68|  3.58k|{
   69|  3.58k|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 107, False: 3.47k]
  ------------------
   70|    107|        dofree(obj);
   71|    107|    }
   72|  3.58k|}
dictobject.c:_PyFreeList_Push:
   54|  3.58k|{
   55|  3.58k|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 3.47k, False: 107]
  |  Branch (55:31): [True: 3.47k, False: 0]
  ------------------
   56|  3.47k|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  163|  3.47k|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|  3.47k|        fl->freelist = obj;
   58|  3.47k|        fl->size++;
   59|  3.47k|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|  3.47k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|  3.47k|        return 1;
   61|  3.47k|    }
   62|    107|    return 0;
   63|  3.58k|}
rangeobject.c:_PyFreeList_Free:
   68|     59|{
   69|     59|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 0, False: 59]
  ------------------
   70|      0|        dofree(obj);
   71|      0|    }
   72|     59|}
rangeobject.c:_PyFreeList_Push:
   54|     59|{
   55|     59|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 59, False: 0]
  |  Branch (55:31): [True: 59, False: 0]
  ------------------
   56|     59|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  163|     59|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|     59|        fl->freelist = obj;
   58|     59|        fl->size++;
   59|     59|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|     59|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|     59|        return 1;
   61|     59|    }
   62|      0|    return 0;
   63|     59|}
rangeobject.c:_Py_freelists_GET:
   19|    118|{
   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|    118|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|    118|    return &interp->object_state.freelists;
   30|    118|#endif
   31|    118|}
rangeobject.c:_PyFreeList_Pop:
   88|     59|{
   89|     59|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|     59|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 54, False: 5]
  ------------------
   91|     54|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|     54|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|     54|        _Py_NewReference(op);
   93|     54|    }
   94|     59|    return op;
   95|     59|}
rangeobject.c:_PyFreeList_PopNoStats:
   76|     59|{
   77|     59|    void *obj = fl->freelist;
   78|     59|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 54, False: 5]
  ------------------
   79|     54|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 54, False: 0]
  ------------------
   80|     54|        fl->freelist = *(void **)obj;
   81|     54|        fl->size--;
   82|     54|    }
   83|     59|    return obj;
   84|     59|}
sliceobject.c:_PyFreeList_Pop:
   88|    164|{
   89|    164|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|    164|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 46, False: 118]
  ------------------
   91|     46|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|     46|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|     46|        _Py_NewReference(op);
   93|     46|    }
   94|    164|    return op;
   95|    164|}
sliceobject.c:_PyFreeList_PopNoStats:
   76|    164|{
   77|    164|    void *obj = fl->freelist;
   78|    164|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 46, False: 118]
  ------------------
   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|    164|    return obj;
   84|    164|}
sliceobject.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|}
sliceobject.c:_PyFreeList_Free:
   68|     60|{
   69|     60|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 12, False: 48]
  ------------------
   70|     12|        dofree(obj);
   71|     12|    }
   72|     60|}
sliceobject.c:_PyFreeList_Push:
   54|     60|{
   55|     60|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 48, False: 12]
  |  Branch (55:31): [True: 48, False: 0]
  ------------------
   56|     48|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  163|     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|     12|    return 0;
   63|     60|}
tupleobject.c:_PyFreeList_Pop:
   88|  14.7k|{
   89|  14.7k|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|  14.7k|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 7.69k, False: 7.06k]
  ------------------
   91|  7.69k|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  7.69k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|  7.69k|        _Py_NewReference(op);
   93|  7.69k|    }
   94|  14.7k|    return op;
   95|  14.7k|}
tupleobject.c:_PyFreeList_PopNoStats:
   76|  14.7k|{
   77|  14.7k|    void *obj = fl->freelist;
   78|  14.7k|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 7.69k, False: 7.06k]
  ------------------
   79|  7.69k|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 7.69k, False: 0]
  ------------------
   80|  7.69k|        fl->freelist = *(void **)obj;
   81|  7.69k|        fl->size--;
   82|  7.69k|    }
   83|  14.7k|    return obj;
   84|  14.7k|}
tupleobject.c:_PyFreeList_Free:
   68|     76|{
   69|     76|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 0, False: 76]
  ------------------
   70|      0|        dofree(obj);
   71|      0|    }
   72|     76|}
tupleobject.c:_PyFreeList_Push:
   54|  7.80k|{
   55|  7.80k|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 7.80k, False: 0]
  |  Branch (55:31): [True: 7.80k, False: 0]
  ------------------
   56|  7.80k|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  163|  7.80k|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|  7.80k|        fl->freelist = obj;
   58|  7.80k|        fl->size++;
   59|  7.80k|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|  7.80k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|  7.80k|        return 1;
   61|  7.80k|    }
   62|      0|    return 0;
   63|  7.80k|}
tupleobject.c:_Py_freelists_GET:
   19|  22.5k|{
   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.5k|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|  22.5k|    return &interp->object_state.freelists;
   30|  22.5k|#endif
   31|  22.5k|}
unicode_writer.c:_PyFreeList_PopMem:
   99|     24|{
  100|     24|    void *op = _PyFreeList_PopNoStats(fl);
  101|     24|    if (op != NULL) {
  ------------------
  |  Branch (101:9): [True: 19, False: 5]
  ------------------
  102|     19|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|     19|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
  103|     19|    }
  104|     24|    return op;
  105|     24|}
unicode_writer.c:_PyFreeList_PopNoStats:
   76|     24|{
   77|     24|    void *obj = fl->freelist;
   78|     24|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 19, False: 5]
  ------------------
   79|     19|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 19, False: 0]
  ------------------
   80|     19|        fl->freelist = *(void **)obj;
   81|     19|        fl->size--;
   82|     19|    }
   83|     24|    return obj;
   84|     24|}
unicode_writer.c:_Py_freelists_GET:
   19|     48|{
   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|     48|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|     48|    return &interp->object_state.freelists;
   30|     48|#endif
   31|     48|}
unicode_writer.c:_PyFreeList_Free:
   68|     24|{
   69|     24|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 4, False: 20]
  ------------------
   70|      4|        dofree(obj);
   71|      4|    }
   72|     24|}
unicode_writer.c:_PyFreeList_Push:
   54|     24|{
   55|     24|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 20, False: 4]
  |  Branch (55:31): [True: 20, False: 0]
  ------------------
   56|     20|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  163|     20|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|     20|        fl->freelist = obj;
   58|     20|        fl->size++;
   59|     20|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|     20|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|     20|        return 1;
   61|     20|    }
   62|      4|    return 0;
   63|     24|}
bytesobject.c:_PyFreeList_PopMem:
   99|    105|{
  100|    105|    void *op = _PyFreeList_PopNoStats(fl);
  101|    105|    if (op != NULL) {
  ------------------
  |  Branch (101:9): [True: 95, False: 10]
  ------------------
  102|     95|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|     95|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
  103|     95|    }
  104|    105|    return op;
  105|    105|}
bytesobject.c:_PyFreeList_PopNoStats:
   76|    105|{
   77|    105|    void *obj = fl->freelist;
   78|    105|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 95, False: 10]
  ------------------
   79|     95|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 95, False: 0]
  ------------------
   80|     95|        fl->freelist = *(void **)obj;
   81|     95|        fl->size--;
   82|     95|    }
   83|    105|    return obj;
   84|    105|}
bytesobject.c:_PyFreeList_Free:
   68|    105|{
   69|    105|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 8, False: 97]
  ------------------
   70|      8|        dofree(obj);
   71|      8|    }
   72|    105|}
bytesobject.c:_PyFreeList_Push:
   54|    105|{
   55|    105|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 97, False: 8]
  |  Branch (55:31): [True: 97, False: 0]
  ------------------
   56|     97|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  163|     97|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|     97|        fl->freelist = obj;
   58|     97|        fl->size++;
   59|     97|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|     97|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|     97|        return 1;
   61|     97|    }
   62|      8|    return 0;
   63|    105|}
bytesobject.c:_Py_freelists_GET:
   19|    210|{
   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|    210|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|    210|    return &interp->object_state.freelists;
   30|    210|#endif
   31|    210|}
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);
  ------------------
  |  |  163|    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|}
complexobject.c:_PyFreeList_Pop:
   88|      8|{
   89|      8|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|      8|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 4, False: 4]
  ------------------
   91|      4|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|      4|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|      4|        _Py_NewReference(op);
   93|      4|    }
   94|      8|    return op;
   95|      8|}
complexobject.c:_PyFreeList_PopNoStats:
   76|      8|{
   77|      8|    void *obj = fl->freelist;
   78|      8|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 4, False: 4]
  ------------------
   79|      4|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 4, False: 0]
  ------------------
   80|      4|        fl->freelist = *(void **)obj;
   81|      4|        fl->size--;
   82|      4|    }
   83|      8|    return obj;
   84|      8|}
complexobject.c:_Py_freelists_GET:
   19|     16|{
   20|       |#ifdef Py_DEBUG
   21|       |    _Py_AssertHoldsTstate();
   22|       |#endif
   23|       |
   24|       |#ifdef Py_GIL_DISABLED
   25|       |    PyThreadState *tstate = _PyThreadState_GET();
   26|       |    return &((_PyThreadStateImpl*)tstate)->freelists;
   27|       |#else
   28|     16|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|     16|    return &interp->object_state.freelists;
   30|     16|#endif
   31|     16|}
complexobject.c:_PyFreeList_Free:
   68|      8|{
   69|      8|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 0, False: 8]
  ------------------
   70|      0|        dofree(obj);
   71|      0|    }
   72|      8|}
complexobject.c:_PyFreeList_Push:
   54|      8|{
   55|      8|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 8, False: 0]
  |  Branch (55:31): [True: 8, False: 0]
  ------------------
   56|      8|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  163|      8|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|      8|        fl->freelist = obj;
   58|      8|        fl->size++;
   59|      8|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|      8|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|      8|        return 1;
   61|      8|    }
   62|      0|    return 0;
   63|      8|}
floatobject.c:_PyFreeList_Pop:
   88|    362|{
   89|    362|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|    362|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 338, False: 24]
  ------------------
   91|    338|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|    338|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|    338|        _Py_NewReference(op);
   93|    338|    }
   94|    362|    return op;
   95|    362|}
floatobject.c:_PyFreeList_PopNoStats:
   76|    362|{
   77|    362|    void *obj = fl->freelist;
   78|    362|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 338, False: 24]
  ------------------
   79|    338|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 338, False: 0]
  ------------------
   80|    338|        fl->freelist = *(void **)obj;
   81|    338|        fl->size--;
   82|    338|    }
   83|    362|    return obj;
   84|    362|}
floatobject.c:_Py_freelists_GET:
   19|    707|{
   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|    707|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|    707|    return &interp->object_state.freelists;
   30|    707|#endif
   31|    707|}
floatobject.c:_PyFreeList_Free:
   68|    345|{
   69|    345|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 0, False: 345]
  ------------------
   70|      0|        dofree(obj);
   71|      0|    }
   72|    345|}
floatobject.c:_PyFreeList_Push:
   54|    345|{
   55|    345|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 345, False: 0]
  |  Branch (55:31): [True: 345, False: 0]
  ------------------
   56|    345|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  163|    345|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|    345|        fl->freelist = obj;
   58|    345|        fl->size++;
   59|    345|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|    345|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|    345|        return 1;
   61|    345|    }
   62|      0|    return 0;
   63|    345|}
methodobject.c:_PyFreeList_Pop:
   88|  2.42k|{
   89|  2.42k|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|  2.42k|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 1.02k, False: 1.39k]
  ------------------
   91|  1.02k|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  1.02k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|  1.02k|        _Py_NewReference(op);
   93|  1.02k|    }
   94|  2.42k|    return op;
   95|  2.42k|}
methodobject.c:_PyFreeList_PopNoStats:
   76|  2.42k|{
   77|  2.42k|    void *obj = fl->freelist;
   78|  2.42k|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 1.02k, False: 1.39k]
  ------------------
   79|  1.02k|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 1.02k, False: 0]
  ------------------
   80|  1.02k|        fl->freelist = *(void **)obj;
   81|  1.02k|        fl->size--;
   82|  1.02k|    }
   83|  2.42k|    return obj;
   84|  2.42k|}
methodobject.c:_Py_freelists_GET:
   19|  3.45k|{
   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.45k|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|  3.45k|    return &interp->object_state.freelists;
   30|  3.45k|#endif
   31|  3.45k|}
methodobject.c:_PyFreeList_Free:
   68|  1.03k|{
   69|  1.03k|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 0, False: 1.03k]
  ------------------
   70|      0|        dofree(obj);
   71|      0|    }
   72|  1.03k|}
methodobject.c:_PyFreeList_Push:
   54|  1.03k|{
   55|  1.03k|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 1.03k, False: 0]
  |  Branch (55:31): [True: 1.03k, False: 0]
  ------------------
   56|  1.03k|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  163|  1.03k|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|  1.03k|        fl->freelist = obj;
   58|  1.03k|        fl->size++;
   59|  1.03k|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|  1.03k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|  1.03k|        return 1;
   61|  1.03k|    }
   62|      0|    return 0;
   63|  1.03k|}

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|    309|{
   27|    309|    return version >= FUNC_VERSION_FIRST_VALID;
  ------------------
  |  |   20|    309|#define FUNC_VERSION_FIRST_VALID 2
  ------------------
   28|    309|}

exceptions.c:_PyObject_GC_UNTRACK:
  253|    213|{
  254|    213|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|    213|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 213, False: 0]
  |  |  ------------------
  |  |  417|    213|      ? (void)(0) \
  |  |  418|    213|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|    213|                          "object not tracked by the garbage collector",
  256|    213|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|    213|    PyGC_Head *gc = _Py_AS_GC(op);
  262|    213|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|    213|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|    213|    _PyGCHead_SET_NEXT(prev, next);
  265|    213|    _PyGCHead_SET_PREV(next, prev);
  266|    213|    gc->_gc_next = 0;
  267|    213|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|    213|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|    213|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|    213|    gcstate->heap_size--;
  270|    213|#endif
  271|    213|}
exceptions.c:_PyObject_GC_IS_TRACKED:
   73|    213|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|    213|    PyGC_Head *gc = _Py_AS_GC(op);
   78|    213|    return (gc->_gc_next != 0);
   79|    213|#endif
   80|    213|}
exceptions.c:_Py_AS_GC:
   17|    426|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|    426|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|    426|    return (PyGC_Head*)gc;
   20|    426|}
exceptions.c:_PyGCHead_PREV:
  155|    213|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|    213|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|    213|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|    213|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|    213|    return (PyGC_Head*)prev;
  158|    213|}
exceptions.c:_PyGCHead_NEXT:
  146|    213|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|    213|    uintptr_t next = gc->_gc_next;
  148|    213|    return (PyGC_Head*)next;
  149|    213|}
exceptions.c:_PyGCHead_SET_NEXT:
  150|    213|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|    213|    gc->_gc_next = (uintptr_t)next;
  152|    213|}
exceptions.c:_PyGCHead_SET_PREV:
  160|    213|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|    213|    uintptr_t uprev = (uintptr_t)prev;
  162|    213|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 213, False: 0]
  ------------------
  163|    213|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|    213|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|    213|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|    213|}
genericaliasobject.c:_PyObject_GC_UNTRACK:
  253|      5|{
  254|      5|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|      5|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 5, False: 0]
  |  |  ------------------
  |  |  417|      5|      ? (void)(0) \
  |  |  418|      5|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|      5|                          "object not tracked by the garbage collector",
  256|      5|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|      5|    PyGC_Head *gc = _Py_AS_GC(op);
  262|      5|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|      5|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|      5|    _PyGCHead_SET_NEXT(prev, next);
  265|      5|    _PyGCHead_SET_PREV(next, prev);
  266|      5|    gc->_gc_next = 0;
  267|      5|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|      5|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|      5|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|      5|    gcstate->heap_size--;
  270|      5|#endif
  271|      5|}
genericaliasobject.c:_PyObject_GC_IS_TRACKED:
   73|      5|static inline int _PyObject_GC_IS_TRACKED(PyObject *op) {
   74|       |#ifdef Py_GIL_DISABLED
   75|       |    return _PyObject_HAS_GC_BITS(op, _PyGC_BITS_TRACKED);
   76|       |#else
   77|      5|    PyGC_Head *gc = _Py_AS_GC(op);
   78|      5|    return (gc->_gc_next != 0);
   79|      5|#endif
   80|      5|}
genericaliasobject.c:_Py_AS_GC:
   17|     10|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|     10|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|     10|    return (PyGC_Head*)gc;
   20|     10|}
genericaliasobject.c:_PyGCHead_PREV:
  155|      5|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|      5|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|      5|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|      5|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|      5|    return (PyGC_Head*)prev;
  158|      5|}
genericaliasobject.c:_PyGCHead_NEXT:
  146|      5|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|      5|    uintptr_t next = gc->_gc_next;
  148|      5|    return (PyGC_Head*)next;
  149|      5|}
genericaliasobject.c:_PyGCHead_SET_NEXT:
  150|      5|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|      5|    gc->_gc_next = (uintptr_t)next;
  152|      5|}
genericaliasobject.c:_PyGCHead_SET_PREV:
  160|      5|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|      5|    uintptr_t uprev = (uintptr_t)prev;
  162|      5|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 5, False: 0]
  ------------------
  163|      5|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|      5|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|      5|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|      5|}
funcobject.c:_PyObject_GC_TRACK:
  213|  2.40k|{
  214|  2.40k|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|  2.40k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 2.40k, False: 0]
  |  |  ------------------
  |  |  417|  2.40k|      ? (void)(0) \
  |  |  418|  2.40k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|  2.40k|                          "object already tracked by the garbage collector",
  216|  2.40k|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  2.40k|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  2.40k|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  416|  2.40k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 2.40k, False: 0]
  |  |  ------------------
  |  |  417|  2.40k|      ? (void)(0) \
  |  |  418|  2.40k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|  2.40k|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  2.40k|                          "object is in generation which is garbage collected",
  224|  2.40k|                          filename, lineno, __func__);
  225|       |
  226|  2.40k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  2.40k|    PyGC_Head *generation0 = gcstate->generation0;
  228|  2.40k|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  2.40k|    _PyGCHead_SET_NEXT(last, gc);
  230|  2.40k|    _PyGCHead_SET_PREV(gc, last);
  231|  2.40k|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  2.40k|    generation0->_gc_prev = (uintptr_t)gc;
  233|  2.40k|    gcstate->heap_size++;
  234|  2.40k|#endif
  235|  2.40k|}
funcobject.c:_PyObject_GC_IS_TRACKED:
   73|  3.04k|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.04k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  3.04k|    return (gc->_gc_next != 0);
   79|  3.04k|#endif
   80|  3.04k|}
funcobject.c:_Py_AS_GC:
   17|  6.09k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  6.09k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  6.09k|    return (PyGC_Head*)gc;
   20|  6.09k|}
funcobject.c:_PyGCHead_SET_NEXT:
  150|  5.45k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  5.45k|    gc->_gc_next = (uintptr_t)next;
  152|  5.45k|}
funcobject.c:_PyGCHead_SET_PREV:
  160|  3.04k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  3.04k|    uintptr_t uprev = (uintptr_t)prev;
  162|  3.04k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 3.04k, False: 0]
  ------------------
  163|  3.04k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  3.04k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  3.04k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  3.04k|}
funcobject.c:_PyObject_GC_UNTRACK:
  253|    637|{
  254|    637|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|    637|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 637, False: 0]
  |  |  ------------------
  |  |  417|    637|      ? (void)(0) \
  |  |  418|    637|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|    637|                          "object not tracked by the garbage collector",
  256|    637|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|    637|    PyGC_Head *gc = _Py_AS_GC(op);
  262|    637|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|    637|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|    637|    _PyGCHead_SET_NEXT(prev, next);
  265|    637|    _PyGCHead_SET_PREV(next, prev);
  266|    637|    gc->_gc_next = 0;
  267|    637|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|    637|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|    637|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|    637|    gcstate->heap_size--;
  270|    637|#endif
  271|    637|}
funcobject.c:_PyGCHead_PREV:
  155|    637|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|    637|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|    637|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|    637|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|    637|    return (PyGC_Head*)prev;
  158|    637|}
funcobject.c:_PyGCHead_NEXT:
  146|    637|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|    637|    uintptr_t next = gc->_gc_next;
  148|    637|    return (PyGC_Head*)next;
  149|    637|}
listobject.c:_PyObject_GC_TRACK:
  213|  1.93k|{
  214|  1.93k|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|  1.93k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 1.93k, False: 0]
  |  |  ------------------
  |  |  417|  1.93k|      ? (void)(0) \
  |  |  418|  1.93k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|  1.93k|                          "object already tracked by the garbage collector",
  216|  1.93k|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  1.93k|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  1.93k|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  416|  1.93k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 1.93k, False: 0]
  |  |  ------------------
  |  |  417|  1.93k|      ? (void)(0) \
  |  |  418|  1.93k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|  1.93k|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  1.93k|                          "object is in generation which is garbage collected",
  224|  1.93k|                          filename, lineno, __func__);
  225|       |
  226|  1.93k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  1.93k|    PyGC_Head *generation0 = gcstate->generation0;
  228|  1.93k|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  1.93k|    _PyGCHead_SET_NEXT(last, gc);
  230|  1.93k|    _PyGCHead_SET_PREV(gc, last);
  231|  1.93k|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  1.93k|    generation0->_gc_prev = (uintptr_t)gc;
  233|  1.93k|    gcstate->heap_size++;
  234|  1.93k|#endif
  235|  1.93k|}
listobject.c:_PyObject_GC_IS_TRACKED:
   73|  1.98k|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.98k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  1.98k|    return (gc->_gc_next != 0);
   79|  1.98k|#endif
   80|  1.98k|}
listobject.c:_Py_AS_GC:
   17|  3.97k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  3.97k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  3.97k|    return (PyGC_Head*)gc;
   20|  3.97k|}
listobject.c:_PyGCHead_SET_NEXT:
  150|  3.92k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  3.92k|    gc->_gc_next = (uintptr_t)next;
  152|  3.92k|}
listobject.c:_PyGCHead_SET_PREV:
  160|  1.98k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  1.98k|    uintptr_t uprev = (uintptr_t)prev;
  162|  1.98k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 1.98k, False: 0]
  ------------------
  163|  1.98k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  1.98k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  1.98k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  1.98k|}
listobject.c:_PyObject_GC_UNTRACK:
  253|     52|{
  254|     52|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|     52|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 52, False: 0]
  |  |  ------------------
  |  |  417|     52|      ? (void)(0) \
  |  |  418|     52|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|     52|                          "object not tracked by the garbage collector",
  256|     52|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|     52|    PyGC_Head *gc = _Py_AS_GC(op);
  262|     52|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|     52|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|     52|    _PyGCHead_SET_NEXT(prev, next);
  265|     52|    _PyGCHead_SET_PREV(next, prev);
  266|     52|    gc->_gc_next = 0;
  267|     52|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|     52|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|     52|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|     52|    gcstate->heap_size--;
  270|     52|#endif
  271|     52|}
listobject.c:_PyGCHead_PREV:
  155|     52|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|     52|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|     52|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|     52|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|     52|    return (PyGC_Head*)prev;
  158|     52|}
listobject.c:_PyGCHead_NEXT:
  146|     52|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|     52|    uintptr_t next = gc->_gc_next;
  148|     52|    return (PyGC_Head*)next;
  149|     52|}
dictobject.c:_PyObject_GC_IS_TRACKED:
   73|  5.94k|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.94k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  5.94k|    return (gc->_gc_next != 0);
   79|  5.94k|#endif
   80|  5.94k|}
dictobject.c:_Py_AS_GC:
   17|  10.4k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  10.4k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  10.4k|    return (PyGC_Head*)gc;
   20|  10.4k|}
dictobject.c:_PyObject_GC_TRACK:
  213|  4.27k|{
  214|  4.27k|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|  4.27k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 4.27k, False: 0]
  |  |  ------------------
  |  |  417|  4.27k|      ? (void)(0) \
  |  |  418|  4.27k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|  4.27k|                          "object already tracked by the garbage collector",
  216|  4.27k|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  4.27k|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  4.27k|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  416|  4.27k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 4.27k, False: 0]
  |  |  ------------------
  |  |  417|  4.27k|      ? (void)(0) \
  |  |  418|  4.27k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|  4.27k|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  4.27k|                          "object is in generation which is garbage collected",
  224|  4.27k|                          filename, lineno, __func__);
  225|       |
  226|  4.27k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  4.27k|    PyGC_Head *generation0 = gcstate->generation0;
  228|  4.27k|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  4.27k|    _PyGCHead_SET_NEXT(last, gc);
  230|  4.27k|    _PyGCHead_SET_PREV(gc, last);
  231|  4.27k|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  4.27k|    generation0->_gc_prev = (uintptr_t)gc;
  233|  4.27k|    gcstate->heap_size++;
  234|  4.27k|#endif
  235|  4.27k|}
dictobject.c:_PyGCHead_SET_NEXT:
  150|  8.78k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  8.78k|    gc->_gc_next = (uintptr_t)next;
  152|  8.78k|}
dictobject.c:_PyGCHead_SET_PREV:
  160|  4.51k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  4.51k|    uintptr_t uprev = (uintptr_t)prev;
  162|  4.51k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 4.51k, False: 0]
  ------------------
  163|  4.51k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  4.51k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  4.51k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  4.51k|}
dictobject.c:_PyObject_GC_UNTRACK:
  253|    234|{
  254|    234|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|    234|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 234, False: 0]
  |  |  ------------------
  |  |  417|    234|      ? (void)(0) \
  |  |  418|    234|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|    234|                          "object not tracked by the garbage collector",
  256|    234|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|    234|    PyGC_Head *gc = _Py_AS_GC(op);
  262|    234|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|    234|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|    234|    _PyGCHead_SET_NEXT(prev, next);
  265|    234|    _PyGCHead_SET_PREV(next, prev);
  266|    234|    gc->_gc_next = 0;
  267|    234|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|    234|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|    234|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|    234|    gcstate->heap_size--;
  270|    234|#endif
  271|    234|}
dictobject.c:_PyGCHead_PREV:
  155|    234|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|    234|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|    234|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|    234|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|    234|    return (PyGC_Head*)prev;
  158|    234|}
dictobject.c:_PyGCHead_NEXT:
  146|    234|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|    234|    uintptr_t next = gc->_gc_next;
  148|    234|    return (PyGC_Head*)next;
  149|    234|}
object.c:_PyGC_FINALIZED:
  166|    167|static inline int _PyGC_FINALIZED(PyObject *op) {
  167|       |#ifdef Py_GIL_DISABLED
  168|       |    return _PyObject_HAS_GC_BITS(op, _PyGC_BITS_FINALIZED);
  169|       |#else
  170|    167|    PyGC_Head *gc = _Py_AS_GC(op);
  171|    167|    return ((gc->_gc_prev & _PyGC_PREV_MASK_FINALIZED) != 0);
  ------------------
  |  |  117|    167|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  172|    167|#endif
  173|    167|}
object.c:_PyGC_SET_FINALIZED:
  174|    167|static inline void _PyGC_SET_FINALIZED(PyObject *op) {
  175|       |#ifdef Py_GIL_DISABLED
  176|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_FINALIZED);
  177|       |#else
  178|    167|    PyGC_Head *gc = _Py_AS_GC(op);
  179|    167|    gc->_gc_prev |= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|    167|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  180|    167|#endif
  181|    167|}
object.c:_PyObject_GC_IS_TRACKED:
   73|  1.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|  1.83k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  1.83k|    return (gc->_gc_next != 0);
   79|  1.83k|#endif
   80|  1.83k|}
object.c:_PyObject_GC_UNTRACK:
  253|    834|{
  254|    834|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|    834|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 834, False: 0]
  |  |  ------------------
  |  |  417|    834|      ? (void)(0) \
  |  |  418|    834|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|    834|                          "object not tracked by the garbage collector",
  256|    834|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|    834|    PyGC_Head *gc = _Py_AS_GC(op);
  262|    834|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|    834|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|    834|    _PyGCHead_SET_NEXT(prev, next);
  265|    834|    _PyGCHead_SET_PREV(next, prev);
  266|    834|    gc->_gc_next = 0;
  267|    834|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|    834|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|    834|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|    834|    gcstate->heap_size--;
  270|    834|#endif
  271|    834|}
object.c:_PyGCHead_PREV:
  155|    834|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|    834|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|    834|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|    834|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|    834|    return (PyGC_Head*)prev;
  158|    834|}
object.c:_PyGCHead_NEXT:
  146|    834|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|    834|    uintptr_t next = gc->_gc_next;
  148|    834|    return (PyGC_Head*)next;
  149|    834|}
object.c:_PyGCHead_SET_NEXT:
  150|    834|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|    834|    gc->_gc_next = (uintptr_t)next;
  152|    834|}
object.c:_PyGCHead_SET_PREV:
  160|    834|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|    834|    uintptr_t uprev = (uintptr_t)prev;
  162|    834|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 834, False: 0]
  ------------------
  163|    834|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|    834|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|    834|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|    834|}
object.c:_Py_AS_GC:
   17|  3.00k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  3.00k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  3.00k|    return (PyGC_Head*)gc;
   20|  3.00k|}
sentinelobject.c:_PyObject_GC_TRACK:
  213|      3|{
  214|      3|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|      3|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 3, False: 0]
  |  |  ------------------
  |  |  417|      3|      ? (void)(0) \
  |  |  418|      3|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|      3|                          "object already tracked by the garbage collector",
  216|      3|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|      3|    PyGC_Head *gc = _Py_AS_GC(op);
  221|      3|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  416|      3|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 3, False: 0]
  |  |  ------------------
  |  |  417|      3|      ? (void)(0) \
  |  |  418|      3|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|      3|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|      3|                          "object is in generation which is garbage collected",
  224|      3|                          filename, lineno, __func__);
  225|       |
  226|      3|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|      3|    PyGC_Head *generation0 = gcstate->generation0;
  228|      3|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|      3|    _PyGCHead_SET_NEXT(last, gc);
  230|      3|    _PyGCHead_SET_PREV(gc, last);
  231|      3|    _PyGCHead_SET_NEXT(gc, generation0);
  232|      3|    generation0->_gc_prev = (uintptr_t)gc;
  233|      3|    gcstate->heap_size++;
  234|      3|#endif
  235|      3|}
sentinelobject.c:_PyObject_GC_IS_TRACKED:
   73|      3|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|    PyGC_Head *gc = _Py_AS_GC(op);
   78|      3|    return (gc->_gc_next != 0);
   79|      3|#endif
   80|      3|}
sentinelobject.c:_Py_AS_GC:
   17|      6|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|      6|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|      6|    return (PyGC_Head*)gc;
   20|      6|}
sentinelobject.c:_PyGCHead_SET_NEXT:
  150|      6|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|      6|    gc->_gc_next = (uintptr_t)next;
  152|      6|}
sentinelobject.c:_PyGCHead_SET_PREV:
  160|      3|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|      3|    uintptr_t uprev = (uintptr_t)prev;
  162|      3|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 3, False: 0]
  ------------------
  163|      3|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|      3|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|      3|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|      3|}
setobject.c:_PyObject_GC_UNTRACK:
  253|    197|{
  254|    197|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|    197|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 197, False: 0]
  |  |  ------------------
  |  |  417|    197|      ? (void)(0) \
  |  |  418|    197|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|    197|                          "object not tracked by the garbage collector",
  256|    197|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|    197|    PyGC_Head *gc = _Py_AS_GC(op);
  262|    197|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|    197|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|    197|    _PyGCHead_SET_NEXT(prev, next);
  265|    197|    _PyGCHead_SET_PREV(next, prev);
  266|    197|    gc->_gc_next = 0;
  267|    197|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|    197|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|    197|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|    197|    gcstate->heap_size--;
  270|    197|#endif
  271|    197|}
setobject.c:_PyObject_GC_IS_TRACKED:
   73|    726|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|    726|    PyGC_Head *gc = _Py_AS_GC(op);
   78|    726|    return (gc->_gc_next != 0);
   79|    726|#endif
   80|    726|}
setobject.c:_Py_AS_GC:
   17|  1.45k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  1.45k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  1.45k|    return (PyGC_Head*)gc;
   20|  1.45k|}
setobject.c:_PyGCHead_PREV:
  155|    197|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|    197|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|    197|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|    197|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|    197|    return (PyGC_Head*)prev;
  158|    197|}
setobject.c:_PyGCHead_NEXT:
  146|    197|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|    197|    uintptr_t next = gc->_gc_next;
  148|    197|    return (PyGC_Head*)next;
  149|    197|}
setobject.c:_PyGCHead_SET_NEXT:
  150|  1.25k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  1.25k|    gc->_gc_next = (uintptr_t)next;
  152|  1.25k|}
setobject.c:_PyGCHead_SET_PREV:
  160|    726|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|    726|    uintptr_t uprev = (uintptr_t)prev;
  162|    726|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 726, False: 0]
  ------------------
  163|    726|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|    726|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|    726|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|    726|}
setobject.c:_PyObject_GC_MAY_BE_TRACKED:
   85|    819|static inline int _PyObject_GC_MAY_BE_TRACKED(PyObject *obj) {
   86|    819|    if (!PyObject_IS_GC(obj)) {
  ------------------
  |  Branch (86:9): [True: 772, False: 47]
  ------------------
   87|    772|        return 0;
   88|    772|    }
   89|     47|    if (PyTuple_CheckExact(obj)) {
  ------------------
  |  |   28|     47|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|     47|#  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: 0, False: 47]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   90|      0|        return _PyObject_GC_IS_TRACKED(obj);
  ------------------
  |  |   81|      0|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   91|      0|    }
   92|     47|    return 1;
   93|     47|}
setobject.c:_PyObject_GC_TRACK:
  213|    529|{
  214|    529|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|    529|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 529, False: 0]
  |  |  ------------------
  |  |  417|    529|      ? (void)(0) \
  |  |  418|    529|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|    529|                          "object already tracked by the garbage collector",
  216|    529|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|    529|    PyGC_Head *gc = _Py_AS_GC(op);
  221|    529|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  416|    529|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 529, False: 0]
  |  |  ------------------
  |  |  417|    529|      ? (void)(0) \
  |  |  418|    529|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|    529|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|    529|                          "object is in generation which is garbage collected",
  224|    529|                          filename, lineno, __func__);
  225|       |
  226|    529|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|    529|    PyGC_Head *generation0 = gcstate->generation0;
  228|    529|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|    529|    _PyGCHead_SET_NEXT(last, gc);
  230|    529|    _PyGCHead_SET_PREV(gc, last);
  231|    529|    _PyGCHead_SET_NEXT(gc, generation0);
  232|    529|    generation0->_gc_prev = (uintptr_t)gc;
  233|    529|    gcstate->heap_size++;
  234|    529|#endif
  235|    529|}
sliceobject.c:_PyObject_GC_TRACK:
  213|    164|{
  214|    164|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|    164|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 164, False: 0]
  |  |  ------------------
  |  |  417|    164|      ? (void)(0) \
  |  |  418|    164|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|    164|                          "object already tracked by the garbage collector",
  216|    164|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|    164|    PyGC_Head *gc = _Py_AS_GC(op);
  221|    164|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  416|    164|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 164, False: 0]
  |  |  ------------------
  |  |  417|    164|      ? (void)(0) \
  |  |  418|    164|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|    164|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|    164|                          "object is in generation which is garbage collected",
  224|    164|                          filename, lineno, __func__);
  225|       |
  226|    164|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|    164|    PyGC_Head *generation0 = gcstate->generation0;
  228|    164|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|    164|    _PyGCHead_SET_NEXT(last, gc);
  230|    164|    _PyGCHead_SET_PREV(gc, last);
  231|    164|    _PyGCHead_SET_NEXT(gc, generation0);
  232|    164|    generation0->_gc_prev = (uintptr_t)gc;
  233|    164|    gcstate->heap_size++;
  234|    164|#endif
  235|    164|}
sliceobject.c:_PyObject_GC_IS_TRACKED:
   73|    164|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|    164|    PyGC_Head *gc = _Py_AS_GC(op);
   78|    164|    return (gc->_gc_next != 0);
   79|    164|#endif
   80|    164|}
sliceobject.c:_Py_AS_GC:
   17|    328|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|    328|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|    328|    return (PyGC_Head*)gc;
   20|    328|}
sliceobject.c:_PyGCHead_SET_NEXT:
  150|    328|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|    328|    gc->_gc_next = (uintptr_t)next;
  152|    328|}
sliceobject.c:_PyGCHead_SET_PREV:
  160|    164|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|    164|    uintptr_t uprev = (uintptr_t)prev;
  162|    164|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 164, False: 0]
  ------------------
  163|    164|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|    164|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|    164|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|    164|}
tupleobject.c:_PyObject_GC_TRACK:
  213|  11.9k|{
  214|  11.9k|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|  11.9k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 11.9k, False: 0]
  |  |  ------------------
  |  |  417|  11.9k|      ? (void)(0) \
  |  |  418|  11.9k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|  11.9k|                          "object already tracked by the garbage collector",
  216|  11.9k|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  11.9k|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  11.9k|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  416|  11.9k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 11.9k, False: 0]
  |  |  ------------------
  |  |  417|  11.9k|      ? (void)(0) \
  |  |  418|  11.9k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|  11.9k|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  11.9k|                          "object is in generation which is garbage collected",
  224|  11.9k|                          filename, lineno, __func__);
  225|       |
  226|  11.9k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  11.9k|    PyGC_Head *generation0 = gcstate->generation0;
  228|  11.9k|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  11.9k|    _PyGCHead_SET_NEXT(last, gc);
  230|  11.9k|    _PyGCHead_SET_PREV(gc, last);
  231|  11.9k|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  11.9k|    generation0->_gc_prev = (uintptr_t)gc;
  233|  11.9k|    gcstate->heap_size++;
  234|  11.9k|#endif
  235|  11.9k|}
tupleobject.c:_Py_AS_GC:
   17|  38.7k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  38.7k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  38.7k|    return (PyGC_Head*)gc;
   20|  38.7k|}
tupleobject.c:_PyGCHead_SET_NEXT:
  150|  28.4k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  28.4k|    gc->_gc_next = (uintptr_t)next;
  152|  28.4k|}
tupleobject.c:_PyGCHead_SET_PREV:
  160|  16.4k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  16.4k|    uintptr_t uprev = (uintptr_t)prev;
  162|  16.4k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 16.4k, False: 0]
  ------------------
  163|  16.4k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  16.4k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  16.4k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  16.4k|}
tupleobject.c:_PyObject_GC_IS_TRACKED:
   73|  22.3k|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.3k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  22.3k|    return (gc->_gc_next != 0);
   79|  22.3k|#endif
   80|  22.3k|}
tupleobject.c:_PyObject_GC_MAY_BE_TRACKED:
   85|  20.5k|static inline int _PyObject_GC_MAY_BE_TRACKED(PyObject *obj) {
   86|  20.5k|    if (!PyObject_IS_GC(obj)) {
  ------------------
  |  Branch (86:9): [True: 19.2k, False: 1.32k]
  ------------------
   87|  19.2k|        return 0;
   88|  19.2k|    }
   89|  1.32k|    if (PyTuple_CheckExact(obj)) {
  ------------------
  |  |   28|  1.32k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  1.32k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.32k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.32k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 360, False: 967]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   90|    360|        return _PyObject_GC_IS_TRACKED(obj);
  ------------------
  |  |   81|    360|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|    360|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   91|    360|    }
   92|    967|    return 1;
   93|  1.32k|}
tupleobject.c:_PyObject_GC_UNTRACK:
  253|  4.42k|{
  254|  4.42k|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|  4.42k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 4.42k, False: 0]
  |  |  ------------------
  |  |  417|  4.42k|      ? (void)(0) \
  |  |  418|  4.42k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|  4.42k|                          "object not tracked by the garbage collector",
  256|  4.42k|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|  4.42k|    PyGC_Head *gc = _Py_AS_GC(op);
  262|  4.42k|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|  4.42k|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|  4.42k|    _PyGCHead_SET_NEXT(prev, next);
  265|  4.42k|    _PyGCHead_SET_PREV(next, prev);
  266|  4.42k|    gc->_gc_next = 0;
  267|  4.42k|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|  4.42k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|  4.42k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|  4.42k|    gcstate->heap_size--;
  270|  4.42k|#endif
  271|  4.42k|}
tupleobject.c:_PyGCHead_PREV:
  155|  4.42k|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|  4.42k|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|  4.42k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  4.42k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|  4.42k|    return (PyGC_Head*)prev;
  158|  4.42k|}
tupleobject.c:_PyGCHead_NEXT:
  146|  4.42k|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|  4.42k|    uintptr_t next = gc->_gc_next;
  148|  4.42k|    return (PyGC_Head*)next;
  149|  4.42k|}
typeobject.c:_PyObject_GC_TRACK:
  213|  9.92k|{
  214|  9.92k|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|  9.92k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 9.92k, False: 0]
  |  |  ------------------
  |  |  417|  9.92k|      ? (void)(0) \
  |  |  418|  9.92k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|  9.92k|                          "object already tracked by the garbage collector",
  216|  9.92k|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  9.92k|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  9.92k|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  416|  9.92k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 9.92k, False: 0]
  |  |  ------------------
  |  |  417|  9.92k|      ? (void)(0) \
  |  |  418|  9.92k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|  9.92k|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  9.92k|                          "object is in generation which is garbage collected",
  224|  9.92k|                          filename, lineno, __func__);
  225|       |
  226|  9.92k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  9.92k|    PyGC_Head *generation0 = gcstate->generation0;
  228|  9.92k|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  9.92k|    _PyGCHead_SET_NEXT(last, gc);
  230|  9.92k|    _PyGCHead_SET_PREV(gc, last);
  231|  9.92k|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  9.92k|    generation0->_gc_prev = (uintptr_t)gc;
  233|  9.92k|    gcstate->heap_size++;
  234|  9.92k|#endif
  235|  9.92k|}
typeobject.c:_PyObject_GC_IS_TRACKED:
   73|  10.3k|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.3k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  10.3k|    return (gc->_gc_next != 0);
   79|  10.3k|#endif
   80|  10.3k|}
typeobject.c:_Py_AS_GC:
   17|  20.6k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  20.6k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  20.6k|    return (PyGC_Head*)gc;
   20|  20.6k|}
typeobject.c:_PyGCHead_SET_NEXT:
  150|  20.2k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  20.2k|    gc->_gc_next = (uintptr_t)next;
  152|  20.2k|}
typeobject.c:_PyGCHead_SET_PREV:
  160|  10.3k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  10.3k|    uintptr_t uprev = (uintptr_t)prev;
  162|  10.3k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 10.3k, False: 0]
  ------------------
  163|  10.3k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  10.3k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  10.3k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  10.3k|}
typeobject.c:_PyObject_GC_UNTRACK:
  253|    397|{
  254|    397|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|    397|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 397, False: 0]
  |  |  ------------------
  |  |  417|    397|      ? (void)(0) \
  |  |  418|    397|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|    397|                          "object not tracked by the garbage collector",
  256|    397|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|    397|    PyGC_Head *gc = _Py_AS_GC(op);
  262|    397|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|    397|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|    397|    _PyGCHead_SET_NEXT(prev, next);
  265|    397|    _PyGCHead_SET_PREV(next, prev);
  266|    397|    gc->_gc_next = 0;
  267|    397|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|    397|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|    397|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|    397|    gcstate->heap_size--;
  270|    397|#endif
  271|    397|}
typeobject.c:_PyGCHead_PREV:
  155|    397|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|    397|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|    397|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|    397|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|    397|    return (PyGC_Head*)prev;
  158|    397|}
typeobject.c:_PyGCHead_NEXT:
  146|    397|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|    397|    uintptr_t next = gc->_gc_next;
  148|    397|    return (PyGC_Head*)next;
  149|    397|}
unicodeobject.c:_PyObject_GC_UNTRACK:
  253|     31|{
  254|     31|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|     31|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 31, False: 0]
  |  |  ------------------
  |  |  417|     31|      ? (void)(0) \
  |  |  418|     31|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|     31|                          "object not tracked by the garbage collector",
  256|     31|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|     31|    PyGC_Head *gc = _Py_AS_GC(op);
  262|     31|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|     31|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|     31|    _PyGCHead_SET_NEXT(prev, next);
  265|     31|    _PyGCHead_SET_PREV(next, prev);
  266|     31|    gc->_gc_next = 0;
  267|     31|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|     31|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|     31|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|     31|    gcstate->heap_size--;
  270|     31|#endif
  271|     31|}
unicodeobject.c:_PyObject_GC_IS_TRACKED:
   73|     62|static inline int _PyObject_GC_IS_TRACKED(PyObject *op) {
   74|       |#ifdef Py_GIL_DISABLED
   75|       |    return _PyObject_HAS_GC_BITS(op, _PyGC_BITS_TRACKED);
   76|       |#else
   77|     62|    PyGC_Head *gc = _Py_AS_GC(op);
   78|     62|    return (gc->_gc_next != 0);
   79|     62|#endif
   80|     62|}
unicodeobject.c:_Py_AS_GC:
   17|    124|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|    124|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|    124|    return (PyGC_Head*)gc;
   20|    124|}
unicodeobject.c:_PyGCHead_PREV:
  155|     31|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|     31|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|     31|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|     31|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|     31|    return (PyGC_Head*)prev;
  158|     31|}
unicodeobject.c:_PyGCHead_NEXT:
  146|     31|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|     31|    uintptr_t next = gc->_gc_next;
  148|     31|    return (PyGC_Head*)next;
  149|     31|}
unicodeobject.c:_PyGCHead_SET_NEXT:
  150|     93|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|     93|    gc->_gc_next = (uintptr_t)next;
  152|     93|}
unicodeobject.c:_PyGCHead_SET_PREV:
  160|     62|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|     62|    uintptr_t uprev = (uintptr_t)prev;
  162|     62|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 62, False: 0]
  ------------------
  163|     62|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|     62|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|     62|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|     62|}
unicodeobject.c:_PyObject_GC_TRACK:
  213|     31|{
  214|     31|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|     31|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 31, False: 0]
  |  |  ------------------
  |  |  417|     31|      ? (void)(0) \
  |  |  418|     31|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|     31|                          "object already tracked by the garbage collector",
  216|     31|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|     31|    PyGC_Head *gc = _Py_AS_GC(op);
  221|     31|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  416|     31|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 31, False: 0]
  |  |  ------------------
  |  |  417|     31|      ? (void)(0) \
  |  |  418|     31|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|     31|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|     31|                          "object is in generation which is garbage collected",
  224|     31|                          filename, lineno, __func__);
  225|       |
  226|     31|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|     31|    PyGC_Head *generation0 = gcstate->generation0;
  228|     31|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|     31|    _PyGCHead_SET_NEXT(last, gc);
  230|     31|    _PyGCHead_SET_PREV(gc, last);
  231|     31|    _PyGCHead_SET_NEXT(gc, generation0);
  232|     31|    generation0->_gc_prev = (uintptr_t)gc;
  233|     31|    gcstate->heap_size++;
  234|     31|#endif
  235|     31|}
unionobject.c:_PyObject_GC_UNTRACK:
  253|      1|{
  254|      1|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|      1|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 1, False: 0]
  |  |  ------------------
  |  |  417|      1|      ? (void)(0) \
  |  |  418|      1|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|      1|                          "object not tracked by the garbage collector",
  256|      1|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|      1|    PyGC_Head *gc = _Py_AS_GC(op);
  262|      1|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|      1|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|      1|    _PyGCHead_SET_NEXT(prev, next);
  265|      1|    _PyGCHead_SET_PREV(next, prev);
  266|      1|    gc->_gc_next = 0;
  267|      1|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|      1|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|      1|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|      1|    gcstate->heap_size--;
  270|      1|#endif
  271|      1|}
unionobject.c:_PyObject_GC_IS_TRACKED:
   73|     46|static inline int _PyObject_GC_IS_TRACKED(PyObject *op) {
   74|       |#ifdef Py_GIL_DISABLED
   75|       |    return _PyObject_HAS_GC_BITS(op, _PyGC_BITS_TRACKED);
   76|       |#else
   77|     46|    PyGC_Head *gc = _Py_AS_GC(op);
   78|     46|    return (gc->_gc_next != 0);
   79|     46|#endif
   80|     46|}
unionobject.c:_Py_AS_GC:
   17|     92|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|     92|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|     92|    return (PyGC_Head*)gc;
   20|     92|}
unionobject.c:_PyGCHead_PREV:
  155|      1|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|      1|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|      1|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|      1|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|      1|    return (PyGC_Head*)prev;
  158|      1|}
unionobject.c:_PyGCHead_NEXT:
  146|      1|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|      1|    uintptr_t next = gc->_gc_next;
  148|      1|    return (PyGC_Head*)next;
  149|      1|}
unionobject.c:_PyGCHead_SET_NEXT:
  150|     91|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|     91|    gc->_gc_next = (uintptr_t)next;
  152|     91|}
unionobject.c:_PyGCHead_SET_PREV:
  160|     46|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|     46|    uintptr_t uprev = (uintptr_t)prev;
  162|     46|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 46, False: 0]
  ------------------
  163|     46|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|     46|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|     46|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|     46|}
unionobject.c:_PyObject_GC_TRACK:
  213|     45|{
  214|     45|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|     45|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 45, False: 0]
  |  |  ------------------
  |  |  417|     45|      ? (void)(0) \
  |  |  418|     45|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|     45|                          "object already tracked by the garbage collector",
  216|     45|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|     45|    PyGC_Head *gc = _Py_AS_GC(op);
  221|     45|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  416|     45|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 45, False: 0]
  |  |  ------------------
  |  |  417|     45|      ? (void)(0) \
  |  |  418|     45|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|     45|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|     45|                          "object is in generation which is garbage collected",
  224|     45|                          filename, lineno, __func__);
  225|       |
  226|     45|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|     45|    PyGC_Head *generation0 = gcstate->generation0;
  228|     45|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|     45|    _PyGCHead_SET_NEXT(last, gc);
  230|     45|    _PyGCHead_SET_PREV(gc, last);
  231|     45|    _PyGCHead_SET_NEXT(gc, generation0);
  232|     45|    generation0->_gc_prev = (uintptr_t)gc;
  233|     45|    gcstate->heap_size++;
  234|     45|#endif
  235|     45|}
bltinmodule.c:_PyObject_GC_IS_TRACKED:
   73|     68|static inline int _PyObject_GC_IS_TRACKED(PyObject *op) {
   74|       |#ifdef Py_GIL_DISABLED
   75|       |    return _PyObject_HAS_GC_BITS(op, _PyGC_BITS_TRACKED);
   76|       |#else
   77|     68|    PyGC_Head *gc = _Py_AS_GC(op);
   78|     68|    return (gc->_gc_next != 0);
   79|     68|#endif
   80|     68|}
bltinmodule.c:_Py_AS_GC:
   17|     68|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|     68|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|     68|    return (PyGC_Head*)gc;
   20|     68|}
context.c:_PyObject_GC_MAY_BE_TRACKED:
   85|      3|static inline int _PyObject_GC_MAY_BE_TRACKED(PyObject *obj) {
   86|      3|    if (!PyObject_IS_GC(obj)) {
  ------------------
  |  Branch (86:9): [True: 3, False: 0]
  ------------------
   87|      3|        return 0;
   88|      3|    }
   89|      0|    if (PyTuple_CheckExact(obj)) {
  ------------------
  |  |   28|      0|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   90|      0|        return _PyObject_GC_IS_TRACKED(obj);
  ------------------
  |  |   81|      0|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   91|      0|    }
   92|      0|    return 1;
   93|      0|}
frame.c:_PyObject_GC_IS_TRACKED:
   73|    280|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|    280|    PyGC_Head *gc = _Py_AS_GC(op);
   78|    280|    return (gc->_gc_next != 0);
   79|    280|#endif
   80|    280|}
frame.c:_Py_AS_GC:
   17|    420|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|    420|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|    420|    return (PyGC_Head*)gc;
   20|    420|}
frame.c:_PyObject_GC_TRACK:
  213|    140|{
  214|    140|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|    140|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 140, False: 0]
  |  |  ------------------
  |  |  417|    140|      ? (void)(0) \
  |  |  418|    140|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|    140|                          "object already tracked by the garbage collector",
  216|    140|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|    140|    PyGC_Head *gc = _Py_AS_GC(op);
  221|    140|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  416|    140|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 140, False: 0]
  |  |  ------------------
  |  |  417|    140|      ? (void)(0) \
  |  |  418|    140|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|    140|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|    140|                          "object is in generation which is garbage collected",
  224|    140|                          filename, lineno, __func__);
  225|       |
  226|    140|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|    140|    PyGC_Head *generation0 = gcstate->generation0;
  228|    140|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|    140|    _PyGCHead_SET_NEXT(last, gc);
  230|    140|    _PyGCHead_SET_PREV(gc, last);
  231|    140|    _PyGCHead_SET_NEXT(gc, generation0);
  232|    140|    generation0->_gc_prev = (uintptr_t)gc;
  233|    140|    gcstate->heap_size++;
  234|    140|#endif
  235|    140|}
frame.c:_PyGCHead_SET_NEXT:
  150|    280|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|    280|    gc->_gc_next = (uintptr_t)next;
  152|    280|}
frame.c:_PyGCHead_SET_PREV:
  160|    140|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|    140|    uintptr_t uprev = (uintptr_t)prev;
  162|    140|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 140, False: 0]
  ------------------
  163|    140|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|    140|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|    140|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|    140|}
gc.c:_PyGCHead_NEXT:
  146|  66.2k|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|  66.2k|    uintptr_t next = gc->_gc_next;
  148|  66.2k|    return (PyGC_Head*)next;
  149|  66.2k|}
gc.c:_PyGCHead_PREV:
  155|  22.8k|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|  22.8k|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|  22.8k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  22.8k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|  22.8k|    return (PyGC_Head*)prev;
  158|  22.8k|}
gc.c:_PyGCHead_SET_NEXT:
  150|  24.1k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  24.1k|    gc->_gc_next = (uintptr_t)next;
  152|  24.1k|}
gc.c:_PyGCHead_SET_PREV:
  160|  46.0k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  46.0k|    uintptr_t uprev = (uintptr_t)prev;
  162|  46.0k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 46.0k, False: 0]
  ------------------
  163|  46.0k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  46.0k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  46.0k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  46.0k|}
gc.c:_Py_FROM_GC:
   23|  70.7k|static inline PyObject* _Py_FROM_GC(PyGC_Head *gc) {
   24|  70.7k|    char *op = ((char *)gc) + sizeof(PyGC_Head);
   25|  70.7k|    return (PyObject *)op;
   26|  70.7k|}
gc.c:_PyObject_GC_IS_TRACKED:
   73|  34.5k|static inline int _PyObject_GC_IS_TRACKED(PyObject *op) {
   74|       |#ifdef Py_GIL_DISABLED
   75|       |    return _PyObject_HAS_GC_BITS(op, _PyGC_BITS_TRACKED);
   76|       |#else
   77|  34.5k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  34.5k|    return (gc->_gc_next != 0);
   79|  34.5k|#endif
   80|  34.5k|}
gc.c:_PyObject_GC_TRACK:
  213|    568|{
  214|    568|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|    568|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 568, False: 0]
  |  |  ------------------
  |  |  417|    568|      ? (void)(0) \
  |  |  418|    568|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|    568|                          "object already tracked by the garbage collector",
  216|    568|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|    568|    PyGC_Head *gc = _Py_AS_GC(op);
  221|    568|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  416|    568|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 568, False: 0]
  |  |  ------------------
  |  |  417|    568|      ? (void)(0) \
  |  |  418|    568|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|    568|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|    568|                          "object is in generation which is garbage collected",
  224|    568|                          filename, lineno, __func__);
  225|       |
  226|    568|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|    568|    PyGC_Head *generation0 = gcstate->generation0;
  228|    568|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|    568|    _PyGCHead_SET_NEXT(last, gc);
  230|    568|    _PyGCHead_SET_PREV(gc, last);
  231|    568|    _PyGCHead_SET_NEXT(gc, generation0);
  232|    568|    generation0->_gc_prev = (uintptr_t)gc;
  233|    568|    gcstate->heap_size++;
  234|    568|#endif
  235|    568|}
gc.c:_PyObject_GC_UNTRACK:
  253|  12.2k|{
  254|  12.2k|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|  12.2k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 12.2k, False: 0]
  |  |  ------------------
  |  |  417|  12.2k|      ? (void)(0) \
  |  |  418|  12.2k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|  12.2k|                          "object not tracked by the garbage collector",
  256|  12.2k|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|  12.2k|    PyGC_Head *gc = _Py_AS_GC(op);
  262|  12.2k|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|  12.2k|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|  12.2k|    _PyGCHead_SET_NEXT(prev, next);
  265|  12.2k|    _PyGCHead_SET_PREV(next, prev);
  266|  12.2k|    gc->_gc_next = 0;
  267|  12.2k|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|  12.2k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|  12.2k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|  12.2k|    gcstate->heap_size--;
  270|  12.2k|#endif
  271|  12.2k|}
gc.c:_Py_AS_GC:
   17|   124k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|   124k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|   124k|    return (PyGC_Head*)gc;
   20|   124k|}
gc.c:_PyGC_FINALIZED:
  166|    156|static inline int _PyGC_FINALIZED(PyObject *op) {
  167|       |#ifdef Py_GIL_DISABLED
  168|       |    return _PyObject_HAS_GC_BITS(op, _PyGC_BITS_FINALIZED);
  169|       |#else
  170|    156|    PyGC_Head *gc = _Py_AS_GC(op);
  171|    156|    return ((gc->_gc_prev & _PyGC_PREV_MASK_FINALIZED) != 0);
  ------------------
  |  |  117|    156|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  172|    156|#endif
  173|    156|}
fileio.c:_PyObject_GC_UNTRACK:
  253|     27|{
  254|     27|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|     27|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 27, False: 0]
  |  |  ------------------
  |  |  417|     27|      ? (void)(0) \
  |  |  418|     27|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|     27|                          "object not tracked by the garbage collector",
  256|     27|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|     27|    PyGC_Head *gc = _Py_AS_GC(op);
  262|     27|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|     27|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|     27|    _PyGCHead_SET_NEXT(prev, next);
  265|     27|    _PyGCHead_SET_PREV(next, prev);
  266|     27|    gc->_gc_next = 0;
  267|     27|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|     27|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|     27|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|     27|    gcstate->heap_size--;
  270|     27|#endif
  271|     27|}
fileio.c:_PyObject_GC_IS_TRACKED:
   73|     27|static inline int _PyObject_GC_IS_TRACKED(PyObject *op) {
   74|       |#ifdef Py_GIL_DISABLED
   75|       |    return _PyObject_HAS_GC_BITS(op, _PyGC_BITS_TRACKED);
   76|       |#else
   77|     27|    PyGC_Head *gc = _Py_AS_GC(op);
   78|     27|    return (gc->_gc_next != 0);
   79|     27|#endif
   80|     27|}
fileio.c:_Py_AS_GC:
   17|     54|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|     54|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|     54|    return (PyGC_Head*)gc;
   20|     54|}
fileio.c:_PyGCHead_PREV:
  155|     27|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|     27|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|     27|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|     27|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|     27|    return (PyGC_Head*)prev;
  158|     27|}
fileio.c:_PyGCHead_NEXT:
  146|     27|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|     27|    uintptr_t next = gc->_gc_next;
  148|     27|    return (PyGC_Head*)next;
  149|     27|}
fileio.c:_PyGCHead_SET_NEXT:
  150|     27|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|     27|    gc->_gc_next = (uintptr_t)next;
  152|     27|}
fileio.c:_PyGCHead_SET_PREV:
  160|     27|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|     27|    uintptr_t uprev = (uintptr_t)prev;
  162|     27|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 27, False: 0]
  ------------------
  163|     27|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|     27|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|     27|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|     27|}
bufferedio.c:_PyObject_GC_UNTRACK:
  253|     27|{
  254|     27|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|     27|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 27, False: 0]
  |  |  ------------------
  |  |  417|     27|      ? (void)(0) \
  |  |  418|     27|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|     27|                          "object not tracked by the garbage collector",
  256|     27|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|     27|    PyGC_Head *gc = _Py_AS_GC(op);
  262|     27|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|     27|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|     27|    _PyGCHead_SET_NEXT(prev, next);
  265|     27|    _PyGCHead_SET_PREV(next, prev);
  266|     27|    gc->_gc_next = 0;
  267|     27|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|     27|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|     27|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|     27|    gcstate->heap_size--;
  270|     27|#endif
  271|     27|}
bufferedio.c:_PyObject_GC_IS_TRACKED:
   73|     27|static inline int _PyObject_GC_IS_TRACKED(PyObject *op) {
   74|       |#ifdef Py_GIL_DISABLED
   75|       |    return _PyObject_HAS_GC_BITS(op, _PyGC_BITS_TRACKED);
   76|       |#else
   77|     27|    PyGC_Head *gc = _Py_AS_GC(op);
   78|     27|    return (gc->_gc_next != 0);
   79|     27|#endif
   80|     27|}
bufferedio.c:_Py_AS_GC:
   17|     54|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|     54|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|     54|    return (PyGC_Head*)gc;
   20|     54|}
bufferedio.c:_PyGCHead_PREV:
  155|     27|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|     27|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|     27|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|     27|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|     27|    return (PyGC_Head*)prev;
  158|     27|}
bufferedio.c:_PyGCHead_NEXT:
  146|     27|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|     27|    uintptr_t next = gc->_gc_next;
  148|     27|    return (PyGC_Head*)next;
  149|     27|}
bufferedio.c:_PyGCHead_SET_NEXT:
  150|     27|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|     27|    gc->_gc_next = (uintptr_t)next;
  152|     27|}
bufferedio.c:_PyGCHead_SET_PREV:
  160|     27|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|     27|    uintptr_t uprev = (uintptr_t)prev;
  162|     27|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 27, False: 0]
  ------------------
  163|     27|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|     27|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|     27|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|     27|}
bytearrayobject.c:_PyObject_GC_UNTRACK:
  253|      2|{
  254|      2|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|      2|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 2, False: 0]
  |  |  ------------------
  |  |  417|      2|      ? (void)(0) \
  |  |  418|      2|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|      2|                          "object not tracked by the garbage collector",
  256|      2|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|      2|    PyGC_Head *gc = _Py_AS_GC(op);
  262|      2|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|      2|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|      2|    _PyGCHead_SET_NEXT(prev, next);
  265|      2|    _PyGCHead_SET_PREV(next, prev);
  266|      2|    gc->_gc_next = 0;
  267|      2|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|      2|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|      2|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|      2|    gcstate->heap_size--;
  270|      2|#endif
  271|      2|}
bytearrayobject.c:_PyObject_GC_IS_TRACKED:
   73|      4|static inline int _PyObject_GC_IS_TRACKED(PyObject *op) {
   74|       |#ifdef Py_GIL_DISABLED
   75|       |    return _PyObject_HAS_GC_BITS(op, _PyGC_BITS_TRACKED);
   76|       |#else
   77|      4|    PyGC_Head *gc = _Py_AS_GC(op);
   78|      4|    return (gc->_gc_next != 0);
   79|      4|#endif
   80|      4|}
bytearrayobject.c:_Py_AS_GC:
   17|      8|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|      8|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|      8|    return (PyGC_Head*)gc;
   20|      8|}
bytearrayobject.c:_PyGCHead_PREV:
  155|      2|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|      2|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|      2|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|      2|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|      2|    return (PyGC_Head*)prev;
  158|      2|}
bytearrayobject.c:_PyGCHead_NEXT:
  146|      2|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|      2|    uintptr_t next = gc->_gc_next;
  148|      2|    return (PyGC_Head*)next;
  149|      2|}
bytearrayobject.c:_PyGCHead_SET_NEXT:
  150|      6|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|      6|    gc->_gc_next = (uintptr_t)next;
  152|      6|}
bytearrayobject.c:_PyGCHead_SET_PREV:
  160|      4|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|      4|    uintptr_t uprev = (uintptr_t)prev;
  162|      4|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 4, False: 0]
  ------------------
  163|      4|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|      4|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|      4|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|      4|}
bytearrayobject.c:_PyObject_GC_TRACK:
  213|      2|{
  214|      2|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|      2|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 2, False: 0]
  |  |  ------------------
  |  |  417|      2|      ? (void)(0) \
  |  |  418|      2|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|      2|                          "object already tracked by the garbage collector",
  216|      2|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|      2|    PyGC_Head *gc = _Py_AS_GC(op);
  221|      2|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  416|      2|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 2, False: 0]
  |  |  ------------------
  |  |  417|      2|      ? (void)(0) \
  |  |  418|      2|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|      2|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|      2|                          "object is in generation which is garbage collected",
  224|      2|                          filename, lineno, __func__);
  225|       |
  226|      2|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|      2|    PyGC_Head *generation0 = gcstate->generation0;
  228|      2|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|      2|    _PyGCHead_SET_NEXT(last, gc);
  230|      2|    _PyGCHead_SET_PREV(gc, last);
  231|      2|    _PyGCHead_SET_NEXT(gc, generation0);
  232|      2|    generation0->_gc_prev = (uintptr_t)gc;
  233|      2|    gcstate->heap_size++;
  234|      2|#endif
  235|      2|}
bytesobject.c:_PyObject_GC_UNTRACK:
  253|      2|{
  254|      2|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|      2|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 2, False: 0]
  |  |  ------------------
  |  |  417|      2|      ? (void)(0) \
  |  |  418|      2|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|      2|                          "object not tracked by the garbage collector",
  256|      2|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|      2|    PyGC_Head *gc = _Py_AS_GC(op);
  262|      2|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|      2|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|      2|    _PyGCHead_SET_NEXT(prev, next);
  265|      2|    _PyGCHead_SET_PREV(next, prev);
  266|      2|    gc->_gc_next = 0;
  267|      2|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|      2|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|      2|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|      2|    gcstate->heap_size--;
  270|      2|#endif
  271|      2|}
bytesobject.c:_PyObject_GC_IS_TRACKED:
   73|      4|static inline int _PyObject_GC_IS_TRACKED(PyObject *op) {
   74|       |#ifdef Py_GIL_DISABLED
   75|       |    return _PyObject_HAS_GC_BITS(op, _PyGC_BITS_TRACKED);
   76|       |#else
   77|      4|    PyGC_Head *gc = _Py_AS_GC(op);
   78|      4|    return (gc->_gc_next != 0);
   79|      4|#endif
   80|      4|}
bytesobject.c:_Py_AS_GC:
   17|      8|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|      8|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|      8|    return (PyGC_Head*)gc;
   20|      8|}
bytesobject.c:_PyGCHead_PREV:
  155|      2|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|      2|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|      2|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|      2|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|      2|    return (PyGC_Head*)prev;
  158|      2|}
bytesobject.c:_PyGCHead_NEXT:
  146|      2|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|      2|    uintptr_t next = gc->_gc_next;
  148|      2|    return (PyGC_Head*)next;
  149|      2|}
bytesobject.c:_PyGCHead_SET_NEXT:
  150|      6|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|      6|    gc->_gc_next = (uintptr_t)next;
  152|      6|}
bytesobject.c:_PyGCHead_SET_PREV:
  160|      4|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|      4|    uintptr_t uprev = (uintptr_t)prev;
  162|      4|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 4, False: 0]
  ------------------
  163|      4|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|      4|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|      4|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|      4|}
bytesobject.c:_PyObject_GC_TRACK:
  213|      2|{
  214|      2|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|      2|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 2, False: 0]
  |  |  ------------------
  |  |  417|      2|      ? (void)(0) \
  |  |  418|      2|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|      2|                          "object already tracked by the garbage collector",
  216|      2|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|      2|    PyGC_Head *gc = _Py_AS_GC(op);
  221|      2|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  416|      2|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 2, False: 0]
  |  |  ------------------
  |  |  417|      2|      ? (void)(0) \
  |  |  418|      2|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|      2|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|      2|                          "object is in generation which is garbage collected",
  224|      2|                          filename, lineno, __func__);
  225|       |
  226|      2|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|      2|    PyGC_Head *generation0 = gcstate->generation0;
  228|      2|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|      2|    _PyGCHead_SET_NEXT(last, gc);
  230|      2|    _PyGCHead_SET_PREV(gc, last);
  231|      2|    _PyGCHead_SET_NEXT(gc, generation0);
  232|      2|    generation0->_gc_prev = (uintptr_t)gc;
  233|      2|    gcstate->heap_size++;
  234|      2|#endif
  235|      2|}
cellobject.c:_PyObject_GC_TRACK:
  213|    363|{
  214|    363|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|    363|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 363, False: 0]
  |  |  ------------------
  |  |  417|    363|      ? (void)(0) \
  |  |  418|    363|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|    363|                          "object already tracked by the garbage collector",
  216|    363|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|    363|    PyGC_Head *gc = _Py_AS_GC(op);
  221|    363|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  416|    363|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 363, False: 0]
  |  |  ------------------
  |  |  417|    363|      ? (void)(0) \
  |  |  418|    363|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|    363|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|    363|                          "object is in generation which is garbage collected",
  224|    363|                          filename, lineno, __func__);
  225|       |
  226|    363|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|    363|    PyGC_Head *generation0 = gcstate->generation0;
  228|    363|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|    363|    _PyGCHead_SET_NEXT(last, gc);
  230|    363|    _PyGCHead_SET_PREV(gc, last);
  231|    363|    _PyGCHead_SET_NEXT(gc, generation0);
  232|    363|    generation0->_gc_prev = (uintptr_t)gc;
  233|    363|    gcstate->heap_size++;
  234|    363|#endif
  235|    363|}
cellobject.c:_PyObject_GC_IS_TRACKED:
   73|    648|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|    648|    PyGC_Head *gc = _Py_AS_GC(op);
   78|    648|    return (gc->_gc_next != 0);
   79|    648|#endif
   80|    648|}
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:
  150|  1.01k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  1.01k|    gc->_gc_next = (uintptr_t)next;
  152|  1.01k|}
cellobject.c:_PyGCHead_SET_PREV:
  160|    648|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|    648|    uintptr_t uprev = (uintptr_t)prev;
  162|    648|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 648, False: 0]
  ------------------
  163|    648|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|    648|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|    648|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|    648|}
cellobject.c:_PyObject_GC_UNTRACK:
  253|    285|{
  254|    285|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|    285|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 285, False: 0]
  |  |  ------------------
  |  |  417|    285|      ? (void)(0) \
  |  |  418|    285|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|    285|                          "object not tracked by the garbage collector",
  256|    285|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|    285|    PyGC_Head *gc = _Py_AS_GC(op);
  262|    285|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|    285|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|    285|    _PyGCHead_SET_NEXT(prev, next);
  265|    285|    _PyGCHead_SET_PREV(next, prev);
  266|    285|    gc->_gc_next = 0;
  267|    285|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|    285|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|    285|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|    285|    gcstate->heap_size--;
  270|    285|#endif
  271|    285|}
cellobject.c:_PyGCHead_PREV:
  155|    285|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|    285|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|    285|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|    285|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|    285|    return (PyGC_Head*)prev;
  158|    285|}
cellobject.c:_PyGCHead_NEXT:
  146|    285|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|    285|    uintptr_t next = gc->_gc_next;
  148|    285|    return (PyGC_Head*)next;
  149|    285|}
classobject.c:_PyObject_GC_TRACK:
  213|    655|{
  214|    655|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|    655|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 655, False: 0]
  |  |  ------------------
  |  |  417|    655|      ? (void)(0) \
  |  |  418|    655|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|    655|                          "object already tracked by the garbage collector",
  216|    655|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|    655|    PyGC_Head *gc = _Py_AS_GC(op);
  221|    655|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  416|    655|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 655, False: 0]
  |  |  ------------------
  |  |  417|    655|      ? (void)(0) \
  |  |  418|    655|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|    655|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|    655|                          "object is in generation which is garbage collected",
  224|    655|                          filename, lineno, __func__);
  225|       |
  226|    655|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|    655|    PyGC_Head *generation0 = gcstate->generation0;
  228|    655|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|    655|    _PyGCHead_SET_NEXT(last, gc);
  230|    655|    _PyGCHead_SET_PREV(gc, last);
  231|    655|    _PyGCHead_SET_NEXT(gc, generation0);
  232|    655|    generation0->_gc_prev = (uintptr_t)gc;
  233|    655|    gcstate->heap_size++;
  234|    655|#endif
  235|    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:
  150|  1.96k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  1.96k|    gc->_gc_next = (uintptr_t)next;
  152|  1.96k|}
classobject.c:_PyGCHead_SET_PREV:
  160|  1.30k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  1.30k|    uintptr_t uprev = (uintptr_t)prev;
  162|  1.30k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 1.30k, False: 0]
  ------------------
  163|  1.30k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  1.30k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  1.30k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  1.30k|}
classobject.c:_PyObject_GC_UNTRACK:
  253|    653|{
  254|    653|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|    653|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 653, False: 0]
  |  |  ------------------
  |  |  417|    653|      ? (void)(0) \
  |  |  418|    653|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|    653|                          "object not tracked by the garbage collector",
  256|    653|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|    653|    PyGC_Head *gc = _Py_AS_GC(op);
  262|    653|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|    653|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|    653|    _PyGCHead_SET_NEXT(prev, next);
  265|    653|    _PyGCHead_SET_PREV(next, prev);
  266|    653|    gc->_gc_next = 0;
  267|    653|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|    653|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|    653|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|    653|    gcstate->heap_size--;
  270|    653|#endif
  271|    653|}
classobject.c:_PyGCHead_PREV:
  155|    653|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|    653|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|    653|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|    653|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|    653|    return (PyGC_Head*)prev;
  158|    653|}
classobject.c:_PyGCHead_NEXT:
  146|    653|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|    653|    uintptr_t next = gc->_gc_next;
  148|    653|    return (PyGC_Head*)next;
  149|    653|}
descrobject.c:_PyObject_GC_UNTRACK:
  253|    466|{
  254|    466|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|    466|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 466, False: 0]
  |  |  ------------------
  |  |  417|    466|      ? (void)(0) \
  |  |  418|    466|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|    466|                          "object not tracked by the garbage collector",
  256|    466|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|    466|    PyGC_Head *gc = _Py_AS_GC(op);
  262|    466|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|    466|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|    466|    _PyGCHead_SET_NEXT(prev, next);
  265|    466|    _PyGCHead_SET_PREV(next, prev);
  266|    466|    gc->_gc_next = 0;
  267|    466|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|    466|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|    466|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|    466|    gcstate->heap_size--;
  270|    466|#endif
  271|    466|}
descrobject.c:_PyObject_GC_IS_TRACKED:
   73|    951|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|    951|    PyGC_Head *gc = _Py_AS_GC(op);
   78|    951|    return (gc->_gc_next != 0);
   79|    951|#endif
   80|    951|}
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:
  155|    466|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|    466|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|    466|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|    466|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|    466|    return (PyGC_Head*)prev;
  158|    466|}
descrobject.c:_PyGCHead_NEXT:
  146|    466|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|    466|    uintptr_t next = gc->_gc_next;
  148|    466|    return (PyGC_Head*)next;
  149|    466|}
descrobject.c:_PyGCHead_SET_NEXT:
  150|  1.43k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  1.43k|    gc->_gc_next = (uintptr_t)next;
  152|  1.43k|}
descrobject.c:_PyGCHead_SET_PREV:
  160|    951|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|    951|    uintptr_t uprev = (uintptr_t)prev;
  162|    951|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 951, False: 0]
  ------------------
  163|    951|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|    951|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|    951|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|    951|}
descrobject.c:_PyObject_GC_TRACK:
  213|    485|{
  214|    485|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|    485|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 485, False: 0]
  |  |  ------------------
  |  |  417|    485|      ? (void)(0) \
  |  |  418|    485|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|    485|                          "object already tracked by the garbage collector",
  216|    485|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|    485|    PyGC_Head *gc = _Py_AS_GC(op);
  221|    485|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  416|    485|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 485, False: 0]
  |  |  ------------------
  |  |  417|    485|      ? (void)(0) \
  |  |  418|    485|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|    485|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|    485|                          "object is in generation which is garbage collected",
  224|    485|                          filename, lineno, __func__);
  225|       |
  226|    485|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|    485|    PyGC_Head *generation0 = gcstate->generation0;
  228|    485|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|    485|    _PyGCHead_SET_NEXT(last, gc);
  230|    485|    _PyGCHead_SET_PREV(gc, last);
  231|    485|    _PyGCHead_SET_NEXT(gc, generation0);
  232|    485|    generation0->_gc_prev = (uintptr_t)gc;
  233|    485|    gcstate->heap_size++;
  234|    485|#endif
  235|    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:
  213|     21|{
  214|     21|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|     21|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 21, False: 0]
  |  |  ------------------
  |  |  417|     21|      ? (void)(0) \
  |  |  418|     21|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|     21|                          "object already tracked by the garbage collector",
  216|     21|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|     21|    PyGC_Head *gc = _Py_AS_GC(op);
  221|     21|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  416|     21|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 21, False: 0]
  |  |  ------------------
  |  |  417|     21|      ? (void)(0) \
  |  |  418|     21|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|     21|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|     21|                          "object is in generation which is garbage collected",
  224|     21|                          filename, lineno, __func__);
  225|       |
  226|     21|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|     21|    PyGC_Head *generation0 = gcstate->generation0;
  228|     21|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|     21|    _PyGCHead_SET_NEXT(last, gc);
  230|     21|    _PyGCHead_SET_PREV(gc, last);
  231|     21|    _PyGCHead_SET_NEXT(gc, generation0);
  232|     21|    generation0->_gc_prev = (uintptr_t)gc;
  233|     21|    gcstate->heap_size++;
  234|     21|#endif
  235|     21|}
enumobject.c:_PyGCHead_SET_NEXT:
  150|     42|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|     42|    gc->_gc_next = (uintptr_t)next;
  152|     42|}
enumobject.c:_PyGCHead_SET_PREV:
  160|     21|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|     21|    uintptr_t uprev = (uintptr_t)prev;
  162|     21|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 21, False: 0]
  ------------------
  163|     21|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|     21|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|     21|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|     21|}
genobject.c:_PyObject_GC_UNTRACK:
  253|    226|{
  254|    226|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|    226|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 226, False: 0]
  |  |  ------------------
  |  |  417|    226|      ? (void)(0) \
  |  |  418|    226|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|    226|                          "object not tracked by the garbage collector",
  256|    226|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|    226|    PyGC_Head *gc = _Py_AS_GC(op);
  262|    226|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|    226|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|    226|    _PyGCHead_SET_NEXT(prev, next);
  265|    226|    _PyGCHead_SET_PREV(next, prev);
  266|    226|    gc->_gc_next = 0;
  267|    226|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|    226|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|    226|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|    226|    gcstate->heap_size--;
  270|    226|#endif
  271|    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:
  155|    226|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|    226|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|    226|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|    226|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|    226|    return (PyGC_Head*)prev;
  158|    226|}
genobject.c:_PyGCHead_NEXT:
  146|    226|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|    226|    uintptr_t next = gc->_gc_next;
  148|    226|    return (PyGC_Head*)next;
  149|    226|}
genobject.c:_PyGCHead_SET_NEXT:
  150|    678|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|    678|    gc->_gc_next = (uintptr_t)next;
  152|    678|}
genobject.c:_PyGCHead_SET_PREV:
  160|    452|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|    452|    uintptr_t uprev = (uintptr_t)prev;
  162|    452|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 452, False: 0]
  ------------------
  163|    452|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|    452|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|    452|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|    452|}
genobject.c:_PyObject_GC_TRACK:
  213|    226|{
  214|    226|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|    226|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 226, False: 0]
  |  |  ------------------
  |  |  417|    226|      ? (void)(0) \
  |  |  418|    226|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|    226|                          "object already tracked by the garbage collector",
  216|    226|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|    226|    PyGC_Head *gc = _Py_AS_GC(op);
  221|    226|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  416|    226|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 226, False: 0]
  |  |  ------------------
  |  |  417|    226|      ? (void)(0) \
  |  |  418|    226|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|    226|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|    226|                          "object is in generation which is garbage collected",
  224|    226|                          filename, lineno, __func__);
  225|       |
  226|    226|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|    226|    PyGC_Head *generation0 = gcstate->generation0;
  228|    226|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|    226|    _PyGCHead_SET_NEXT(last, gc);
  230|    226|    _PyGCHead_SET_PREV(gc, last);
  231|    226|    _PyGCHead_SET_NEXT(gc, generation0);
  232|    226|    generation0->_gc_prev = (uintptr_t)gc;
  233|    226|    gcstate->heap_size++;
  234|    226|#endif
  235|    226|}
frameobject.c:_PyObject_GC_IS_TRACKED:
   73|    575|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|    575|    PyGC_Head *gc = _Py_AS_GC(op);
   78|    575|    return (gc->_gc_next != 0);
   79|    575|#endif
   80|    575|}
frameobject.c:_Py_AS_GC:
   17|    715|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|    715|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|    715|    return (PyGC_Head*)gc;
   20|    715|}
frameobject.c:_PyObject_GC_UNTRACK:
  253|    140|{
  254|    140|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|    140|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 140, False: 0]
  |  |  ------------------
  |  |  417|    140|      ? (void)(0) \
  |  |  418|    140|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|    140|                          "object not tracked by the garbage collector",
  256|    140|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|    140|    PyGC_Head *gc = _Py_AS_GC(op);
  262|    140|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|    140|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|    140|    _PyGCHead_SET_NEXT(prev, next);
  265|    140|    _PyGCHead_SET_PREV(next, prev);
  266|    140|    gc->_gc_next = 0;
  267|    140|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|    140|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|    140|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|    140|    gcstate->heap_size--;
  270|    140|#endif
  271|    140|}
frameobject.c:_PyGCHead_PREV:
  155|    140|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|    140|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|    140|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|    140|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|    140|    return (PyGC_Head*)prev;
  158|    140|}
frameobject.c:_PyGCHead_NEXT:
  146|    140|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|    140|    uintptr_t next = gc->_gc_next;
  148|    140|    return (PyGC_Head*)next;
  149|    140|}
frameobject.c:_PyGCHead_SET_NEXT:
  150|    140|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|    140|    gc->_gc_next = (uintptr_t)next;
  152|    140|}
frameobject.c:_PyGCHead_SET_PREV:
  160|    140|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|    140|    uintptr_t uprev = (uintptr_t)prev;
  162|    140|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 140, False: 0]
  ------------------
  163|    140|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|    140|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|    140|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|    140|}
iterobject.c:_PyObject_GC_TRACK:
  213|      9|{
  214|      9|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|      9|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 9, False: 0]
  |  |  ------------------
  |  |  417|      9|      ? (void)(0) \
  |  |  418|      9|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|      9|                          "object already tracked by the garbage collector",
  216|      9|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|      9|    PyGC_Head *gc = _Py_AS_GC(op);
  221|      9|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  416|      9|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 9, False: 0]
  |  |  ------------------
  |  |  417|      9|      ? (void)(0) \
  |  |  418|      9|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|      9|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|      9|                          "object is in generation which is garbage collected",
  224|      9|                          filename, lineno, __func__);
  225|       |
  226|      9|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|      9|    PyGC_Head *generation0 = gcstate->generation0;
  228|      9|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|      9|    _PyGCHead_SET_NEXT(last, gc);
  230|      9|    _PyGCHead_SET_PREV(gc, last);
  231|      9|    _PyGCHead_SET_NEXT(gc, generation0);
  232|      9|    generation0->_gc_prev = (uintptr_t)gc;
  233|      9|    gcstate->heap_size++;
  234|      9|#endif
  235|      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:
  150|     27|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|     27|    gc->_gc_next = (uintptr_t)next;
  152|     27|}
iterobject.c:_PyGCHead_SET_PREV:
  160|     18|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|     18|    uintptr_t uprev = (uintptr_t)prev;
  162|     18|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 18, False: 0]
  ------------------
  163|     18|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|     18|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|     18|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|     18|}
iterobject.c:_PyObject_GC_UNTRACK:
  253|      9|{
  254|      9|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|      9|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 9, False: 0]
  |  |  ------------------
  |  |  417|      9|      ? (void)(0) \
  |  |  418|      9|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|      9|                          "object not tracked by the garbage collector",
  256|      9|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|      9|    PyGC_Head *gc = _Py_AS_GC(op);
  262|      9|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|      9|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|      9|    _PyGCHead_SET_NEXT(prev, next);
  265|      9|    _PyGCHead_SET_PREV(next, prev);
  266|      9|    gc->_gc_next = 0;
  267|      9|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|      9|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|      9|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|      9|    gcstate->heap_size--;
  270|      9|#endif
  271|      9|}
iterobject.c:_PyGCHead_PREV:
  155|      9|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|      9|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|      9|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|      9|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|      9|    return (PyGC_Head*)prev;
  158|      9|}
iterobject.c:_PyGCHead_NEXT:
  146|      9|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|      9|    uintptr_t next = gc->_gc_next;
  148|      9|    return (PyGC_Head*)next;
  149|      9|}
lazyimportobject.c:_PyObject_GC_TRACK:
  213|     14|{
  214|     14|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|     14|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 14, False: 0]
  |  |  ------------------
  |  |  417|     14|      ? (void)(0) \
  |  |  418|     14|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|     14|                          "object already tracked by the garbage collector",
  216|     14|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|     14|    PyGC_Head *gc = _Py_AS_GC(op);
  221|     14|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  416|     14|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 14, False: 0]
  |  |  ------------------
  |  |  417|     14|      ? (void)(0) \
  |  |  418|     14|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|     14|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|     14|                          "object is in generation which is garbage collected",
  224|     14|                          filename, lineno, __func__);
  225|       |
  226|     14|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|     14|    PyGC_Head *generation0 = gcstate->generation0;
  228|     14|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|     14|    _PyGCHead_SET_NEXT(last, gc);
  230|     14|    _PyGCHead_SET_PREV(gc, last);
  231|     14|    _PyGCHead_SET_NEXT(gc, generation0);
  232|     14|    generation0->_gc_prev = (uintptr_t)gc;
  233|     14|    gcstate->heap_size++;
  234|     14|#endif
  235|     14|}
lazyimportobject.c:_PyObject_GC_IS_TRACKED:
   73|     14|static inline int _PyObject_GC_IS_TRACKED(PyObject *op) {
   74|       |#ifdef Py_GIL_DISABLED
   75|       |    return _PyObject_HAS_GC_BITS(op, _PyGC_BITS_TRACKED);
   76|       |#else
   77|     14|    PyGC_Head *gc = _Py_AS_GC(op);
   78|     14|    return (gc->_gc_next != 0);
   79|     14|#endif
   80|     14|}
lazyimportobject.c:_Py_AS_GC:
   17|     28|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|     28|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|     28|    return (PyGC_Head*)gc;
   20|     28|}
lazyimportobject.c:_PyGCHead_SET_NEXT:
  150|     28|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|     28|    gc->_gc_next = (uintptr_t)next;
  152|     28|}
lazyimportobject.c:_PyGCHead_SET_PREV:
  160|     14|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|     14|    uintptr_t uprev = (uintptr_t)prev;
  162|     14|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 14, False: 0]
  ------------------
  163|     14|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|     14|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|     14|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|     14|}
memoryobject.c:_PyObject_GC_UNTRACK:
  253|    125|{
  254|    125|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|    125|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 125, False: 0]
  |  |  ------------------
  |  |  417|    125|      ? (void)(0) \
  |  |  418|    125|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|    125|                          "object not tracked by the garbage collector",
  256|    125|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|    125|    PyGC_Head *gc = _Py_AS_GC(op);
  262|    125|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|    125|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|    125|    _PyGCHead_SET_NEXT(prev, next);
  265|    125|    _PyGCHead_SET_PREV(next, prev);
  266|    125|    gc->_gc_next = 0;
  267|    125|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|    125|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|    125|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|    125|    gcstate->heap_size--;
  270|    125|#endif
  271|    125|}
memoryobject.c:_PyObject_GC_IS_TRACKED:
   73|    250|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|    250|    PyGC_Head *gc = _Py_AS_GC(op);
   78|    250|    return (gc->_gc_next != 0);
   79|    250|#endif
   80|    250|}
memoryobject.c:_Py_AS_GC:
   17|    500|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|    500|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|    500|    return (PyGC_Head*)gc;
   20|    500|}
memoryobject.c:_PyGCHead_PREV:
  155|    125|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|    125|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|    125|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|    125|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|    125|    return (PyGC_Head*)prev;
  158|    125|}
memoryobject.c:_PyGCHead_NEXT:
  146|    125|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|    125|    uintptr_t next = gc->_gc_next;
  148|    125|    return (PyGC_Head*)next;
  149|    125|}
memoryobject.c:_PyGCHead_SET_NEXT:
  150|    375|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|    375|    gc->_gc_next = (uintptr_t)next;
  152|    375|}
memoryobject.c:_PyGCHead_SET_PREV:
  160|    250|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|    250|    uintptr_t uprev = (uintptr_t)prev;
  162|    250|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 250, False: 0]
  ------------------
  163|    250|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|    250|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|    250|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|    250|}
memoryobject.c:_PyObject_GC_TRACK:
  213|    125|{
  214|    125|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|    125|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 125, False: 0]
  |  |  ------------------
  |  |  417|    125|      ? (void)(0) \
  |  |  418|    125|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|    125|                          "object already tracked by the garbage collector",
  216|    125|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|    125|    PyGC_Head *gc = _Py_AS_GC(op);
  221|    125|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  416|    125|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 125, False: 0]
  |  |  ------------------
  |  |  417|    125|      ? (void)(0) \
  |  |  418|    125|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|    125|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|    125|                          "object is in generation which is garbage collected",
  224|    125|                          filename, lineno, __func__);
  225|       |
  226|    125|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|    125|    PyGC_Head *generation0 = gcstate->generation0;
  228|    125|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|    125|    _PyGCHead_SET_NEXT(last, gc);
  230|    125|    _PyGCHead_SET_PREV(gc, last);
  231|    125|    _PyGCHead_SET_NEXT(gc, generation0);
  232|    125|    generation0->_gc_prev = (uintptr_t)gc;
  233|    125|    gcstate->heap_size++;
  234|    125|#endif
  235|    125|}
methodobject.c:_PyObject_GC_TRACK:
  213|  2.42k|{
  214|  2.42k|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|  2.42k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 2.42k, False: 0]
  |  |  ------------------
  |  |  417|  2.42k|      ? (void)(0) \
  |  |  418|  2.42k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|  2.42k|                          "object already tracked by the garbage collector",
  216|  2.42k|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  2.42k|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  2.42k|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  416|  2.42k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 2.42k, False: 0]
  |  |  ------------------
  |  |  417|  2.42k|      ? (void)(0) \
  |  |  418|  2.42k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|  2.42k|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  2.42k|                          "object is in generation which is garbage collected",
  224|  2.42k|                          filename, lineno, __func__);
  225|       |
  226|  2.42k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  2.42k|    PyGC_Head *generation0 = gcstate->generation0;
  228|  2.42k|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  2.42k|    _PyGCHead_SET_NEXT(last, gc);
  230|  2.42k|    _PyGCHead_SET_PREV(gc, last);
  231|  2.42k|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  2.42k|    generation0->_gc_prev = (uintptr_t)gc;
  233|  2.42k|    gcstate->heap_size++;
  234|  2.42k|#endif
  235|  2.42k|}
methodobject.c:_PyObject_GC_IS_TRACKED:
   73|  2.42k|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.42k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  2.42k|    return (gc->_gc_next != 0);
   79|  2.42k|#endif
   80|  2.42k|}
methodobject.c:_Py_AS_GC:
   17|  4.84k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  4.84k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  4.84k|    return (PyGC_Head*)gc;
   20|  4.84k|}
methodobject.c:_PyGCHead_SET_NEXT:
  150|  4.84k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  4.84k|    gc->_gc_next = (uintptr_t)next;
  152|  4.84k|}
methodobject.c:_PyGCHead_SET_PREV:
  160|  2.42k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  2.42k|    uintptr_t uprev = (uintptr_t)prev;
  162|  2.42k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 2.42k, False: 0]
  ------------------
  163|  2.42k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  2.42k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  2.42k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  2.42k|}

ceval.c:_PyGen_GetGeneratorFromFrame:
   18|    251|{
   19|    251|    assert(frame->owner == FRAME_OWNED_BY_GENERATOR);
  ------------------
  |  Branch (19:5): [True: 251, False: 0]
  ------------------
   20|    251|    size_t offset_in_gen = offsetof(PyGenObject, gi_iframe);
   21|    251|    return (PyGenObject *)(((char *)frame) - offset_in_gen);
   22|    251|}
frame.c:_PyGen_GetGeneratorFromFrame:
   18|    113|{
   19|    113|    assert(frame->owner == FRAME_OWNED_BY_GENERATOR);
  ------------------
  |  Branch (19:5): [True: 113, False: 0]
  ------------------
   20|    113|    size_t offset_in_gen = offsetof(PyGenObject, gi_iframe);
   21|    113|    return (PyGenObject *)(((char *)frame) - offset_in_gen);
   22|    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|     22|_PyInterpreterState_GetFinalizing(PyInterpreterState *interp) {
   32|     22|    return (PyThreadState*)_Py_atomic_load_ptr_relaxed(&interp->_finalizing);
   33|     22|}

sentinelobject.c:_PyFrame_GetFunction:
   96|      3|static inline PyFunctionObject *_PyFrame_GetFunction(_PyInterpreterFrame *f) {
   97|      3|    PyObject *func = PyStackRef_AsPyObjectBorrow(f->f_funcobj);
   98|      3|    assert(PyFunction_Check(func));
  ------------------
  |  Branch (98:5): [True: 3, False: 0]
  ------------------
   99|      3|    return (PyFunctionObject *)func;
  100|      3|}
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)
  |  |  ------------------
  |  |  |  |  302|     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|   110k|static inline PyCodeObject *_PyFrame_GetCode(_PyInterpreterFrame *f) {
   22|   110k|    assert(!PyStackRef_IsNull(f->f_executable));
  ------------------
  |  Branch (22:5): [True: 110k, False: 0]
  ------------------
   23|   110k|    PyObject *executable = PyStackRef_AsPyObjectBorrow(f->f_executable);
   24|   110k|    assert(PyCode_Check(executable));
  ------------------
  |  Branch (24:5): [True: 110k, False: 0]
  ------------------
   25|   110k|    return (PyCodeObject *)executable;
   26|   110k|}
ceval.c:_PyFrame_GetStackPointer:
  235|  49.7k|{
  236|  49.7k|    return frame->stackpointer;
  237|  49.7k|}
ceval.c:_PyFrame_StackPointerInvalidate:
  259|   193k|{
  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|   193k|}
ceval.c:_PyFrame_SetStackPointer:
  241|   159k|{
  242|   159k|    frame->stackpointer = stack_pointer;
  243|   159k|}
ceval.c:_PyFrame_StackPointerValidate:
  247|   191k|{
  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|   191k|}
ceval.c:_PyFrame_StackAssertInvalid:
  271|   250k|{
  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|   250k|}
ceval.c:_PyThreadState_HasStackSpace:
  384|  3.48k|{
  385|  3.48k|    assert(
  ------------------
  |  Branch (385:5): [True: 0, False: 3.48k]
  |  Branch (385:5): [True: 0, False: 0]
  |  Branch (385:5): [True: 3.48k, False: 0]
  |  Branch (385:5): [True: 3.48k, False: 0]
  ------------------
  386|  3.48k|        (tstate->datastack_top == NULL && tstate->datastack_limit == NULL)
  387|  3.48k|        ||
  388|  3.48k|        (tstate->datastack_top != NULL && tstate->datastack_limit != NULL)
  389|  3.48k|    );
  390|  3.48k|    return tstate->datastack_top != NULL &&
  ------------------
  |  Branch (390:12): [True: 3.48k, False: 0]
  ------------------
  391|  3.48k|        size < tstate->datastack_limit - tstate->datastack_top;
  ------------------
  |  Branch (391:9): [True: 3.48k, False: 0]
  ------------------
  392|  3.48k|}
ceval.c:_PyFrame_PushUnchecked:
  405|  3.17k|{
  406|  3.17k|    CALL_STAT_INC(frames_pushed);
  ------------------
  |  |   76|  3.17k|#define CALL_STAT_INC(name) ((void)0)
  ------------------
  407|  3.17k|    PyFunctionObject *func_obj = (PyFunctionObject *)PyStackRef_AsPyObjectBorrow(func);
  408|  3.17k|    PyCodeObject *code = (PyCodeObject *)func_obj->func_code;
  409|  3.17k|    _PyInterpreterFrame *new_frame = (_PyInterpreterFrame *)tstate->datastack_top;
  410|  3.17k|    tstate->datastack_top += code->co_framesize;
  411|  3.17k|    assert(tstate->datastack_top < tstate->datastack_limit);
  ------------------
  |  Branch (411:5): [True: 3.17k, False: 0]
  ------------------
  412|  3.17k|    _PyFrame_Initialize(tstate, new_frame, func, NULL, code, null_locals_from,
  413|  3.17k|                        previous);
  414|  3.17k|    return new_frame;
  415|  3.17k|}
ceval.c:_PyFrame_PushTrampolineUnchecked:
  421|    310|{
  422|    310|    CALL_STAT_INC(frames_pushed);
  ------------------
  |  |   76|    310|#define CALL_STAT_INC(name) ((void)0)
  ------------------
  423|    310|    _PyInterpreterFrame *frame = (_PyInterpreterFrame *)tstate->datastack_top;
  424|    310|    tstate->datastack_top += code->co_framesize;
  425|    310|    assert(tstate->datastack_top < tstate->datastack_limit);
  ------------------
  |  Branch (425:5): [True: 310, False: 0]
  ------------------
  426|    310|    frame->previous = previous;
  427|    310|    frame->f_funcobj = PyStackRef_None;
  ------------------
  |  |  485|    310|#define PyStackRef_None ((_PyStackRef){.bits = ((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT })
  |  |  ------------------
  |  |  |  |   55|    310|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  428|    310|    frame->f_executable = PyStackRef_FromPyObjectNew(code);
  ------------------
  |  |  611|    310|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    310|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    310|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  429|       |#ifdef Py_DEBUG
  430|       |    frame->f_builtins = NULL;
  431|       |    frame->f_globals = NULL;
  432|       |#endif
  433|    310|    frame->f_locals = NULL;
  434|    310|    assert(stackdepth <= code->co_stacksize);
  ------------------
  |  Branch (434:5): [True: 310, False: 0]
  ------------------
  435|    310|    frame->stackpointer = frame->localsplus + code->co_nlocalsplus + stackdepth;
  436|    310|    frame->frame_obj = NULL;
  437|       |#ifdef Py_GIL_DISABLED
  438|       |    _PyFrame_InitializeTLBC(tstate, frame, code);
  439|       |#else
  440|    310|    frame->instr_ptr = _PyCode_CODE(code);
  ------------------
  |  |   16|    310|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  302|    310|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  441|    310|#endif
  442|    310|    frame->owner = FRAME_OWNED_BY_THREAD;
  443|    310|    frame->visited = 0;
  444|       |#ifdef Py_DEBUG
  445|       |    frame->stackpointer_valid = 1;
  446|       |    frame->lltrace = 0;
  447|       |#endif
  448|    310|    frame->return_offset = 0;
  449|    310|    return frame;
  450|    310|}
ceval.c:_PyFrame_GetBytecode:
   60|  6.75k|{
   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.75k|    return _PyCode_CODE(_PyFrame_GetCode(f));
  ------------------
  |  |   16|  6.75k|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  302|  6.75k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   68|  6.75k|#endif
   69|  6.75k|}
ceval.c:_PyFrame_StackPush:
  118|    401|static inline void _PyFrame_StackPush(_PyInterpreterFrame *f, _PyStackRef value) {
  119|    401|    *f->stackpointer = value;
  120|    401|    f->stackpointer++;
  121|    401|}
ceval.c:_PyFrame_Stackbase:
  102|  9.79k|static inline _PyStackRef *_PyFrame_Stackbase(_PyInterpreterFrame *f) {
  103|  9.79k|    return (f->localsplus + _PyFrame_GetCode(f)->co_nlocalsplus);
  104|  9.79k|}
ceval.c:_PyFrame_IsIncomplete:
  294|  3.39k|{
  295|  3.39k|    if (frame->owner >= FRAME_OWNED_BY_INTERPRETER) {
  ------------------
  |  Branch (295:9): [True: 2.11k, False: 1.27k]
  ------------------
  296|  2.11k|        return true;
  297|  2.11k|    }
  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.39k|}
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|    446|{
  346|       |
  347|    446|    assert(!_PyFrame_IsIncomplete(frame));
  ------------------
  |  Branch (347:5): [True: 446, False: 0]
  ------------------
  348|    446|    PyFrameObject *res = (PyFrameObject*)FT_ATOMIC_LOAD_PTR_ACQUIRE(frame->frame_obj);
  ------------------
  |  |  150|    446|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
  349|    446|    if (res != NULL) {
  ------------------
  |  Branch (349:9): [True: 112, False: 334]
  ------------------
  350|    112|        return res;
  351|    112|    }
  352|    334|    return _PyFrame_MakeAndSetFrameObject(frame);
  353|    446|}
ceval.c:_PyFrame_StackPop:
  112|    629|static inline _PyStackRef _PyFrame_StackPop(_PyInterpreterFrame *f) {
  113|    629|    assert(f->stackpointer > _PyFrame_Stackbase(f));
  ------------------
  |  Branch (113:5): [True: 629, False: 0]
  ------------------
  114|    629|    f->stackpointer--;
  115|    629|    return *f->stackpointer;
  116|    629|}
ceval.c:_PyFrame_Initialize:
  192|  8.09k|{
  193|  8.09k|    frame->previous = previous;
  194|  8.09k|    frame->f_funcobj = func;
  195|  8.09k|    frame->f_executable = PyStackRef_FromPyObjectNew(code);
  ------------------
  |  |  611|  8.09k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  8.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  196|  8.09k|    PyFunctionObject *func_obj = (PyFunctionObject *)PyStackRef_AsPyObjectBorrow(func);
  197|  8.09k|    frame->f_builtins = func_obj->func_builtins;
  198|  8.09k|    frame->f_globals = func_obj->func_globals;
  199|  8.09k|    frame->f_locals = locals;
  200|  8.09k|    frame->stackpointer = frame->localsplus + code->co_nlocalsplus;
  201|  8.09k|    frame->frame_obj = NULL;
  202|       |#ifdef Py_GIL_DISABLED
  203|       |    _PyFrame_InitializeTLBC(tstate, frame, code);
  204|       |#else
  205|  8.09k|    (void)tstate;
  206|  8.09k|    frame->instr_ptr = _PyCode_CODE(code);
  ------------------
  |  |   16|  8.09k|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  302|  8.09k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  207|  8.09k|#endif
  208|  8.09k|    frame->return_offset = 0;
  209|  8.09k|    frame->owner = FRAME_OWNED_BY_THREAD;
  210|  8.09k|    frame->visited = 0;
  211|       |#ifdef Py_DEBUG
  212|       |    frame->stackpointer_valid = 1;
  213|       |    frame->lltrace = 0;
  214|       |#endif
  215|       |
  216|  31.4k|    for (int i = null_locals_from; i < code->co_nlocalsplus; i++) {
  ------------------
  |  Branch (216:36): [True: 23.3k, False: 8.09k]
  ------------------
  217|  23.3k|        frame->localsplus[i] = PyStackRef_NULL;
  218|  23.3k|    }
  219|  8.09k|}
ceval.c:_PyThreadState_GetFrame:
  314|    403|{
  315|    403|    return _PyFrame_GetFirstComplete(tstate->current_frame);
  316|    403|}
ceval.c:_PyFrame_GetFirstComplete:
  305|    403|{
  306|    424|    while (frame && _PyFrame_IsIncomplete(frame)) {
  ------------------
  |  Branch (306:12): [True: 403, False: 21]
  |  Branch (306:21): [True: 21, False: 382]
  ------------------
  307|     21|        frame = frame->previous;
  308|     21|    }
  309|    403|    return frame;
  310|    403|}
frame.c:_PyFrame_GetCode:
   21|  1.40k|static inline PyCodeObject *_PyFrame_GetCode(_PyInterpreterFrame *f) {
   22|  1.40k|    assert(!PyStackRef_IsNull(f->f_executable));
  ------------------
  |  Branch (22:5): [True: 1.40k, False: 0]
  ------------------
   23|  1.40k|    PyObject *executable = PyStackRef_AsPyObjectBorrow(f->f_executable);
   24|  1.40k|    assert(PyCode_Check(executable));
  ------------------
  |  Branch (24:5): [True: 1.40k, False: 0]
  ------------------
   25|  1.40k|    return (PyCodeObject *)executable;
   26|  1.40k|}
frame.c:_PyFrame_Copy:
  135|    140|{
  136|    140|    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|    140|    dest->previous = NULL;
  140|    140|    dest->f_funcobj = PyStackRef_MakeHeapSafe(src->f_funcobj);
  141|    140|    dest->f_globals = src->f_globals;
  142|    140|    dest->f_builtins = src->f_builtins;
  143|    140|    dest->f_locals = src->f_locals;
  144|    140|    dest->frame_obj = src->frame_obj;
  145|    140|    dest->instr_ptr = src->instr_ptr;
  146|       |#ifdef Py_GIL_DISABLED
  147|       |    dest->tlbc_index = src->tlbc_index;
  148|       |#endif
  149|    140|    assert(src->stackpointer != NULL);
  ------------------
  |  Branch (149:5): [True: 140, False: 0]
  ------------------
  150|    140|    int stacktop = (int)(src->stackpointer - src->localsplus);
  151|    140|    assert(stacktop >= 0);
  ------------------
  |  Branch (151:5): [True: 140, False: 0]
  ------------------
  152|    140|    dest->stackpointer = dest->localsplus + stacktop;
  153|       |    // visited is GC bookkeeping for the current stack walk, not frame state.
  154|    140|    dest->visited = 0;
  155|       |#ifdef Py_DEBUG
  156|       |    dest->stackpointer_valid =  src->stackpointer_valid;
  157|       |    dest->lltrace = src->lltrace;
  158|       |#endif
  159|    695|    for (int i = 0; i < stacktop; i++) {
  ------------------
  |  Branch (159:21): [True: 555, False: 140]
  ------------------
  160|    555|        dest->localsplus[i] = PyStackRef_MakeHeapSafe(src->localsplus[i]);
  161|    555|    }
  162|    140|}
frame.c:_PyFrame_IsIncomplete:
  294|    592|{
  295|    592|    if (frame->owner >= FRAME_OWNED_BY_INTERPRETER) {
  ------------------
  |  Branch (295:9): [True: 106, False: 486]
  ------------------
  296|    106|        return true;
  297|    106|    }
  298|    486|    return frame->owner != FRAME_OWNED_BY_GENERATOR &&
  ------------------
  |  Branch (298:12): [True: 486, False: 0]
  ------------------
  299|    486|           frame->instr_ptr < _PyFrame_GetBytecode(frame) +
  ------------------
  |  Branch (299:12): [True: 0, False: 486]
  ------------------
  300|    486|                                  _PyFrame_GetCode(frame)->_co_firsttraceable;
  301|    592|}
frame.c:_PyFrame_GetFirstComplete:
  305|    140|{
  306|    246|    while (frame && _PyFrame_IsIncomplete(frame)) {
  ------------------
  |  Branch (306:12): [True: 209, False: 37]
  |  Branch (306:21): [True: 106, False: 103]
  ------------------
  307|    106|        frame = frame->previous;
  308|    106|    }
  309|    140|    return frame;
  310|    140|}
frame.c:_PyFrame_GetFrameObject:
  345|    103|{
  346|       |
  347|    103|    assert(!_PyFrame_IsIncomplete(frame));
  ------------------
  |  Branch (347:5): [True: 103, False: 0]
  ------------------
  348|    103|    PyFrameObject *res = (PyFrameObject*)FT_ATOMIC_LOAD_PTR_ACQUIRE(frame->frame_obj);
  ------------------
  |  |  150|    103|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
  349|    103|    if (res != NULL) {
  ------------------
  |  Branch (349:9): [True: 4, False: 99]
  ------------------
  350|      4|        return res;
  351|      4|    }
  352|     99|    return _PyFrame_MakeAndSetFrameObject(frame);
  353|    103|}
frame.c:_PyFrame_GetBytecode:
   60|    486|{
   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|    486|    return _PyCode_CODE(_PyFrame_GetCode(f));
  ------------------
  |  |   16|    486|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  302|    486|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   68|    486|#endif
   69|    486|}
pystate.c:_PyThreadState_HasStackSpace:
  384|  4.91k|{
  385|  4.91k|    assert(
  ------------------
  |  Branch (385:5): [True: 2, False: 4.91k]
  |  Branch (385:5): [True: 2, False: 0]
  |  Branch (385:5): [True: 4.91k, False: 0]
  |  Branch (385:5): [True: 4.91k, False: 0]
  ------------------
  386|  4.91k|        (tstate->datastack_top == NULL && tstate->datastack_limit == NULL)
  387|  4.91k|        ||
  388|  4.91k|        (tstate->datastack_top != NULL && tstate->datastack_limit != NULL)
  389|  4.91k|    );
  390|  4.91k|    return tstate->datastack_top != NULL &&
  ------------------
  |  Branch (390:12): [True: 4.91k, False: 2]
  ------------------
  391|  4.91k|        size < tstate->datastack_limit - tstate->datastack_top;
  ------------------
  |  Branch (391:9): [True: 4.91k, False: 0]
  ------------------
  392|  4.91k|}
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)
  |  |  ------------------
  |  |  |  |  302|      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);
  ------------------
  |  |  150|      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|    446|static inline PyCodeObject *_PyFrame_GetCode(_PyInterpreterFrame *f) {
   22|    446|    assert(!PyStackRef_IsNull(f->f_executable));
  ------------------
  |  Branch (22:5): [True: 446, False: 0]
  ------------------
   23|    446|    PyObject *executable = PyStackRef_AsPyObjectBorrow(f->f_executable);
   24|    446|    assert(PyCode_Check(executable));
  ------------------
  |  Branch (24:5): [True: 446, False: 0]
  ------------------
   25|    446|    return (PyCodeObject *)executable;
   26|    446|}
traceback.c:_PyFrame_GetBytecode:
   60|    446|{
   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|    446|    return _PyCode_CODE(_PyFrame_GetCode(f));
  ------------------
  |  |   16|    446|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  302|    446|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   68|    446|#endif
   69|    446|}
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|    141|{
  227|    141|    return frame->localsplus;
  228|    141|}
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)
  |  |  ------------------
  |  |  |  |  302|     10|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   68|     10|#endif
   69|     10|}
lazyimportobject.c:_PyFrame_GetCode:
   21|     28|static inline PyCodeObject *_PyFrame_GetCode(_PyInterpreterFrame *f) {
   22|     28|    assert(!PyStackRef_IsNull(f->f_executable));
  ------------------
  |  Branch (22:5): [True: 28, False: 0]
  ------------------
   23|     28|    PyObject *executable = PyStackRef_AsPyObjectBorrow(f->f_executable);
   24|     28|    assert(PyCode_Check(executable));
  ------------------
  |  Branch (24:5): [True: 28, False: 0]
  ------------------
   25|     28|    return (PyCodeObject *)executable;
   26|     28|}
lazyimportobject.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)
  |  |  ------------------
  |  |  |  |  302|     14|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   68|     14|#endif
   69|     14|}

listobject.c:_PyList_AppendTakeRef:
   38|  21.0k|{
   39|  21.0k|    assert(self != NULL && newitem != NULL);
  ------------------
  |  Branch (39:5): [True: 21.0k, False: 0]
  |  Branch (39:5): [True: 21.0k, False: 0]
  ------------------
   40|  21.0k|    assert(PyList_Check(self));
  ------------------
  |  Branch (40:5): [True: 21.0k, False: 0]
  ------------------
   41|  21.0k|    Py_ssize_t len = Py_SIZE(self);
  ------------------
  |  |  214|  21.0k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  21.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  21.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   42|  21.0k|    Py_ssize_t allocated = self->allocated;
   43|  21.0k|    assert((size_t)len + 1 < PY_SSIZE_T_MAX);
  ------------------
  |  Branch (43:5): [True: 21.0k, False: 0]
  ------------------
   44|  21.0k|    if (allocated > len) {
  ------------------
  |  Branch (44:9): [True: 19.5k, False: 1.53k]
  ------------------
   45|       |#ifdef Py_GIL_DISABLED
   46|       |        _Py_atomic_store_ptr_release(&self->ob_item[len], newitem);
   47|       |#else
   48|  19.5k|        PyList_SET_ITEM(self, len, newitem);
  ------------------
  |  |   50|  19.5k|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  19.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  19.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  19.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  19.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   49|  19.5k|#endif
   50|  19.5k|        Py_SET_SIZE(self, len + 1);
  ------------------
  |  |  216|  19.5k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  19.5k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  19.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   51|  19.5k|        return 0;
   52|  19.5k|    }
   53|  1.53k|    return _PyList_AppendTakeRefListResize(self, newitem);
   54|  21.0k|}
ceval.c:_PyList_AppendTakeRef:
   38|  2.56k|{
   39|  2.56k|    assert(self != NULL && newitem != NULL);
  ------------------
  |  Branch (39:5): [True: 2.56k, False: 0]
  |  Branch (39:5): [True: 2.56k, False: 0]
  ------------------
   40|  2.56k|    assert(PyList_Check(self));
  ------------------
  |  Branch (40:5): [True: 2.56k, False: 0]
  ------------------
   41|  2.56k|    Py_ssize_t len = Py_SIZE(self);
  ------------------
  |  |  214|  2.56k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.56k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.56k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   42|  2.56k|    Py_ssize_t allocated = self->allocated;
   43|  2.56k|    assert((size_t)len + 1 < PY_SSIZE_T_MAX);
  ------------------
  |  Branch (43:5): [True: 2.56k, False: 0]
  ------------------
   44|  2.56k|    if (allocated > len) {
  ------------------
  |  Branch (44:9): [True: 1.91k, False: 649]
  ------------------
   45|       |#ifdef Py_GIL_DISABLED
   46|       |        _Py_atomic_store_ptr_release(&self->ob_item[len], newitem);
   47|       |#else
   48|  1.91k|        PyList_SET_ITEM(self, len, newitem);
  ------------------
  |  |   50|  1.91k|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  1.91k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.91k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  1.91k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.91k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   49|  1.91k|#endif
   50|  1.91k|        Py_SET_SIZE(self, len + 1);
  ------------------
  |  |  216|  1.91k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  1.91k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.91k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   51|  1.91k|        return 0;
   52|  1.91k|    }
   53|    649|    return _PyList_AppendTakeRefListResize(self, newitem);
   54|  2.56k|}
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|     40|{
  158|     40|    if (_Py_atomic_load_uint8(&flag->v) == _Py_ONCE_INITIALIZED) {
  ------------------
  |  |   18|     40|#define _Py_ONCE_INITIALIZED 4
  ------------------
  |  Branch (158:9): [True: 36, False: 4]
  ------------------
  159|     36|        return 0;
  160|     36|    }
  161|      4|    return _PyOnceFlag_CallOnceSlow(flag, fn, arg);
  162|     40|}
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|    100|{
  158|    100|    if (_Py_atomic_load_uint8(&flag->v) == _Py_ONCE_INITIALIZED) {
  ------------------
  |  |   18|    100|#define _Py_ONCE_INITIALIZED 4
  ------------------
  |  Branch (158:9): [True: 99, False: 1]
  ------------------
  159|     99|        return 0;
  160|     99|    }
  161|      1|    return _PyOnceFlag_CallOnceSlow(flag, fn, arg);
  162|    100|}

longobject.c:_PyLong_InitTag:
  292|  2.60k|{
  293|  2.60k|    assert(PyLong_Check(op));
  ------------------
  |  Branch (293:5): [True: 2.60k, False: 0]
  ------------------
  294|  2.60k|    op->long_value.lv_tag = SIGN_ZERO; /* non-immortal zero */
  ------------------
  |  |  173|  2.60k|#define SIGN_ZERO 1
  ------------------
  295|  2.60k|}
longobject.c:_PyLong_SetSignAndDigitCount:
  302|  4.42k|{
  303|  4.42k|    assert(size >= 0);
  ------------------
  |  Branch (303:5): [True: 4.42k, False: 0]
  ------------------
  304|  4.42k|    assert(-1 <= sign && sign <= 1);
  ------------------
  |  Branch (304:5): [True: 4.42k, False: 0]
  |  Branch (304:5): [True: 4.42k, False: 0]
  ------------------
  305|  4.42k|    assert(sign != 0 || size == 0);
  ------------------
  |  Branch (305:5): [True: 4.34k, False: 77]
  |  Branch (305:5): [True: 77, False: 0]
  ------------------
  306|  4.42k|    assert(!_PyLong_IsSmallInt(op));
  ------------------
  |  Branch (306:5): [True: 4.42k, False: 0]
  ------------------
  307|  4.42k|    op->long_value.lv_tag = TAG_FROM_SIGN_AND_SIZE(sign, size);
  ------------------
  |  |  298|  4.42k|    ((uintptr_t)(1 - (sign)) | ((uintptr_t)(size) << NON_SIZE_BITS))
  |  |  ------------------
  |  |  |  |  175|  4.42k|#define NON_SIZE_BITS 3
  |  |  ------------------
  ------------------
  308|  4.42k|}
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.05k|{
  253|  2.05k|    assert(PyLong_Check(op));
  ------------------
  |  Branch (253:5): [True: 2.05k, False: 0]
  ------------------
  254|  2.05k|    return (Py_ssize_t)(op->long_value.lv_tag >> NON_SIZE_BITS);
  ------------------
  |  |  175|  2.05k|#define NON_SIZE_BITS 3
  ------------------
  255|  2.05k|}
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|    418|{
  226|    418|    return (op->long_value.lv_tag & SIGN_MASK) == SIGN_NEGATIVE;
  ------------------
  |  |  172|    418|#define SIGN_MASK 3
  ------------------
                  return (op->long_value.lv_tag & SIGN_MASK) == SIGN_NEGATIVE;
  ------------------
  |  |  174|    418|#define SIGN_NEGATIVE 2
  ------------------
  227|    418|}
longobject.c:_PyLong_IsPositive:
  231|      2|{
  232|      2|    return (op->long_value.lv_tag & SIGN_MASK) == 0;
  ------------------
  |  |  172|      2|#define SIGN_MASK 3
  ------------------
  233|      2|}
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|     21|{
  313|     21|    assert(size >= 0);
  ------------------
  |  Branch (313:5): [True: 21, False: 0]
  ------------------
  314|     21|    assert(!_PyLong_IsSmallInt(op));
  ------------------
  |  Branch (314:5): [True: 21, False: 0]
  ------------------
  315|     21|    op->long_value.lv_tag = (((size_t)size) << NON_SIZE_BITS) | (op->long_value.lv_tag & SIGN_MASK);
  ------------------
  |  |  175|     21|#define NON_SIZE_BITS 3
  ------------------
                  op->long_value.lv_tag = (((size_t)size) << NON_SIZE_BITS) | (op->long_value.lv_tag & SIGN_MASK);
  ------------------
  |  |  172|     21|#define SIGN_MASK 3
  ------------------
  316|     21|}
longobject.c:_PyLong_IsSmallInt:
  238|  6.55k|{
  239|  6.55k|    assert(PyLong_Check(op));
  ------------------
  |  Branch (239:5): [True: 6.55k, False: 0]
  ------------------
  240|  6.55k|    bool is_small_int = (op->long_value.lv_tag & IMMORTALITY_BIT_MASK) != 0;
  ------------------
  |  |  176|  6.55k|#define IMMORTALITY_BIT_MASK (1 << 2)
  ------------------
  241|  6.55k|    if (is_small_int) {
  ------------------
  |  Branch (241:9): [True: 0, False: 6.55k]
  ------------------
  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.55k|    return is_small_int;
  248|  6.55k|}
longobject.c:_PyLong_BothAreCompact:
  212|    675|_PyLong_BothAreCompact(const PyLongObject* a, const PyLongObject* b) {
  213|    675|    assert(PyLong_Check(a));
  ------------------
  |  Branch (213:5): [True: 675, False: 0]
  ------------------
  214|    675|    assert(PyLong_Check(b));
  ------------------
  |  Branch (214:5): [True: 675, False: 0]
  ------------------
  215|    675|    return (a->long_value.lv_tag | b->long_value.lv_tag) < (2 << NON_SIZE_BITS);
  ------------------
  |  |  175|    675|#define NON_SIZE_BITS 3
  ------------------
  216|    675|}
longobject.c:_PyLong_SignedDigitCount:
  260|    423|{
  261|    423|    assert(PyLong_Check(op));
  ------------------
  |  Branch (261:5): [True: 423, False: 0]
  ------------------
  262|    423|    Py_ssize_t sign = 1 - (op->long_value.lv_tag & SIGN_MASK);
  ------------------
  |  |  172|    423|#define SIGN_MASK 3
  ------------------
  263|    423|    return sign * (Py_ssize_t)(op->long_value.lv_tag >> NON_SIZE_BITS);
  ------------------
  |  |  175|    423|#define NON_SIZE_BITS 3
  ------------------
  264|    423|}
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|     58|{ return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS]; }
  ------------------
  |  |   59|     58|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|     58|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     58|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
              { return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS]; }
  ------------------
  |  |   98|     58|#define _PY_NSMALLNEGINTS           5
  ------------------
rangeobject.c:_PyLong_GetOne:
   78|     72|{ return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+1]; }
  ------------------
  |  |   59|     72|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|     72|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     72|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
              { return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+1]; }
  ------------------
  |  |   98|     72|#define _PY_NSMALLNEGINTS           5
  ------------------
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.60k|{
  346|  4.60k|    return PyLong_CheckExact(op) && _PyLong_IsCompact((const PyLongObject *)op);
  ------------------
  |  |   14|  4.60k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  9.21k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.60k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.60k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 4.60k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (346:37): [True: 4.59k, False: 8]
  ------------------
  347|  4.60k|}
ceval.c:_PyLong_BothAreCompact:
  212|    206|_PyLong_BothAreCompact(const PyLongObject* a, const PyLongObject* b) {
  213|    206|    assert(PyLong_Check(a));
  ------------------
  |  Branch (213:5): [True: 206, False: 0]
  ------------------
  214|    206|    assert(PyLong_Check(b));
  ------------------
  |  Branch (214:5): [True: 206, False: 0]
  ------------------
  215|    206|    return (a->long_value.lv_tag | b->long_value.lv_tag) < (2 << NON_SIZE_BITS);
  ------------------
  |  |  175|    206|#define NON_SIZE_BITS 3
  ------------------
  216|    206|}
ceval.c:_PyLong_IsNonNegativeCompact:
  205|  1.39k|_PyLong_IsNonNegativeCompact(const PyLongObject* op) {
  206|  1.39k|    assert(PyLong_Check(op));
  ------------------
  |  Branch (206:5): [True: 1.39k, False: 0]
  ------------------
  207|  1.39k|    return ((op->long_value.lv_tag & ~IMMORTALITY_BIT_MASK) <= (1 << NON_SIZE_BITS));
  ------------------
  |  |  176|  1.39k|#define IMMORTALITY_BIT_MASK (1 << 2)
  ------------------
                  return ((op->long_value.lv_tag & ~IMMORTALITY_BIT_MASK) <= (1 << NON_SIZE_BITS));
  ------------------
  |  |  175|  1.39k|#define NON_SIZE_BITS 3
  ------------------
  208|  1.39k|}
ceval.c:_PyLong_DigitCount:
  252|  2.67k|{
  253|  2.67k|    assert(PyLong_Check(op));
  ------------------
  |  Branch (253:5): [True: 2.67k, False: 0]
  ------------------
  254|  2.67k|    return (Py_ssize_t)(op->long_value.lv_tag >> NON_SIZE_BITS);
  ------------------
  |  |  175|  2.67k|#define NON_SIZE_BITS 3
  ------------------
  255|  2.67k|}
ceval.c:_PyLong_IsZero:
  219|    332|{
  220|    332|    return (op->long_value.lv_tag & SIGN_MASK) == SIGN_ZERO;
  ------------------
  |  |  172|    332|#define SIGN_MASK 3
  ------------------
                  return (op->long_value.lv_tag & SIGN_MASK) == SIGN_ZERO;
  ------------------
  |  |  173|    332|#define SIGN_ZERO 1
  ------------------
  221|    332|}
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|     73|_PyLong_IsNonNegativeCompact(const PyLongObject* op) {
  206|     73|    assert(PyLong_Check(op));
  ------------------
  |  Branch (206:5): [True: 73, False: 0]
  ------------------
  207|     73|    return ((op->long_value.lv_tag & ~IMMORTALITY_BIT_MASK) <= (1 << NON_SIZE_BITS));
  ------------------
  |  |  176|     73|#define IMMORTALITY_BIT_MASK (1 << 2)
  ------------------
                  return ((op->long_value.lv_tag & ~IMMORTALITY_BIT_MASK) <= (1 << NON_SIZE_BITS));
  ------------------
  |  |  175|     73|#define NON_SIZE_BITS 3
  ------------------
  208|     73|}
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|      7|{
   40|      7|    return 0;
   41|      7|}

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|    811|static inline PyObject* _PyModule_GetDict(PyObject *mod) {
   68|    811|    PyObject *dict = _PyModule_CAST(mod)->md_dict;
  ------------------
  |  |   46|    811|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    811|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (68:22): [True: 811, False: 0]
  ------------------
   69|       |    // _PyModule_GetDict(mod) must not be used after calling module_clear(mod)
   70|    811|    assert(dict != NULL);
  ------------------
  |  Branch (70:5): [True: 811, False: 0]
  ------------------
   71|    811|    return dict;  // borrowed reference
   72|    811|}
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|    124|static inline PyModuleDef *_PyModule_GetToken(PyObject *arg) {
   58|    124|    PyModuleObject *mod = _PyModule_CAST(arg);
  ------------------
  |  |   46|    124|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    124|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (58:27): [True: 124, False: 0]
  ------------------
   59|      0|    return (PyModuleDef *)mod->md_token;
   60|    124|}
import.c:_PyModule_GetDefOrNull:
   48|      8|static inline PyModuleDef *_PyModule_GetDefOrNull(PyObject *arg) {
   49|      8|    PyModuleObject *mod = _PyModule_CAST(arg);
  ------------------
  |  |   46|      8|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (49:27): [True: 8, False: 0]
  ------------------
   50|      8|    if (mod->md_token_is_def) {
  ------------------
  |  Branch (50:9): [True: 8, False: 0]
  ------------------
   51|      8|        return (PyModuleDef *)mod->md_token;
   52|      8|    }
   53|      0|    return NULL;
   54|      8|}
posixmodule.c:_PyModule_GetState:
   63|    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|      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|}
_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:
  445|    843|{
  446|    843|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (446:5): [True: 843, False: 0]
  ------------------
  447|    843|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    843|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  448|    843|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (448:9): [True: 77, False: 766]
  ------------------
  449|     77|        _Py_Dealloc(op);
  450|     77|    }
  451|    843|}
funcobject.c:_PyObject_ResurrectStart:
  674|    630|{
  675|    630|    assert(Py_REFCNT(op) == 0);
  ------------------
  |  Branch (675:5): [True: 630, False: 0]
  ------------------
  676|       |#ifdef Py_REF_DEBUG
  677|       |    _Py_IncRefTotal(_PyThreadState_GET());
  678|       |#endif
  679|       |#ifdef Py_GIL_DISABLED
  680|       |    _Py_atomic_store_uintptr_relaxed(&op->ob_tid, _Py_ThreadId());
  681|       |    _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, 1);
  682|       |    _Py_atomic_store_ssize_relaxed(&op->ob_ref_shared, 0);
  683|       |#else
  684|    630|    Py_SET_REFCNT(op, 1);
  ------------------
  |  |  201|    630|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|    630|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    630|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  685|    630|#endif
  686|       |#ifdef Py_TRACE_REFS
  687|       |    _Py_ResurrectReference(op);
  688|       |#endif
  689|    630|}
funcobject.c:_PyObject_ResurrectEnd:
  696|    630|{
  697|       |#ifdef Py_REF_DEBUG
  698|       |    _Py_DecRefTotal(_PyThreadState_GET());
  699|       |#endif
  700|    630|#ifndef Py_GIL_DISABLED
  701|    630|    Py_SET_REFCNT(op, Py_REFCNT(op) - 1);
  ------------------
  |  |  201|    630|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|    630|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    630|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  702|    630|    if (Py_REFCNT(op) == 0) {
  ------------------
  |  |  119|    630|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    630|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    630|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (702:9): [True: 630, False: 0]
  ------------------
  703|       |# ifdef Py_TRACE_REFS
  704|       |        _Py_ForgetReference(op);
  705|       |# endif
  706|    630|        return 0;
  707|    630|    }
  708|      0|    return 1;
  709|       |#else
  710|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  711|       |    Py_ssize_t shared = _Py_atomic_load_ssize_acquire(&op->ob_ref_shared);
  712|       |    if (_Py_IsOwnedByCurrentThread(op) && local == 1 && shared == 0) {
  713|       |        // Fast-path: object has a single refcount and is owned by this thread
  714|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, 0);
  715|       |# ifdef Py_TRACE_REFS
  716|       |        _Py_ForgetReference(op);
  717|       |# endif
  718|       |        return 0;
  719|       |    }
  720|       |    // Slow-path: object has a shared refcount or is not owned by this thread
  721|       |    return _PyObject_ResurrectEndSlow(op);
  722|       |#endif
  723|    630|}
listobject.c:_Py_RefcntAdd:
  135|      4|{
  136|      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]
  |  |  ------------------
  ------------------
  137|      4|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      4|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  138|      4|        return;
  139|      4|    }
  140|      0|#ifndef Py_GIL_DISABLED
  141|      0|    Py_ssize_t refcnt = _Py_REFCNT(op);
  142|      0|    Py_ssize_t new_refcnt = refcnt + n;
  143|      0|    if (new_refcnt >= (Py_ssize_t)_Py_IMMORTAL_MINIMUM_REFCNT) {
  ------------------
  |  |   48|      0|#define _Py_IMMORTAL_MINIMUM_REFCNT (1ULL << 31)
  ------------------
  |  Branch (143:9): [True: 0, False: 0]
  ------------------
  144|      0|        new_refcnt = _Py_IMMORTAL_INITIAL_REFCNT;
  ------------------
  |  |   47|      0|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  145|      0|    }
  146|      0|#  if SIZEOF_VOID_P > 4
  147|      0|    op->ob_refcnt = (uint32_t)new_refcnt;
  148|       |#  else
  149|       |    op->ob_refcnt = new_refcnt;
  150|       |#  endif
  151|       |#  ifdef Py_REF_DEBUG
  152|       |    _Py_AddRefTotal(_PyThreadState_GET(), new_refcnt - refcnt);
  153|       |#  endif
  154|       |#else
  155|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  156|       |        uint32_t local = op->ob_ref_local;
  157|       |        Py_ssize_t refcnt = (Py_ssize_t)local + n;
  158|       |#  if PY_SSIZE_T_MAX > UINT32_MAX
  159|       |        if (refcnt > (Py_ssize_t)UINT32_MAX) {
  160|       |            // Make the object immortal if the 32-bit local reference count
  161|       |            // would overflow.
  162|       |            refcnt = _Py_IMMORTAL_REFCNT_LOCAL;
  163|       |        }
  164|       |#  endif
  165|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, (uint32_t)refcnt);
  166|       |    }
  167|       |    else {
  168|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (n << _Py_REF_SHARED_SHIFT));
  169|       |    }
  170|       |#  ifdef Py_REF_DEBUG
  171|       |    _Py_AddRefTotal(_PyThreadState_GET(), n);
  172|       |#  endif
  173|       |#endif
  174|       |    // Although the ref count was increased by `n` (which may be greater than 1)
  175|       |    // it is only a single increment (i.e. addition) operation, so only 1 refcnt
  176|       |    // increment operation is counted.
  177|      0|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      0|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  178|      0|}
longobject.c:_PyObject_Init:
  478|  2.46k|{
  479|  2.46k|    assert(op != NULL);
  ------------------
  |  Branch (479:5): [True: 2.46k, False: 0]
  ------------------
  480|  2.46k|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|  2.46k|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|  2.46k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  481|  2.46k|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  ------------------
  |  Branch (481:5): [True: 0, False: 2.46k]
  |  Branch (481:5): [True: 2.46k, False: 0]
  ------------------
  482|  2.46k|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  307|  2.46k|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  2.46k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.46k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  483|  2.46k|    _Py_NewReference(op);
  484|  2.46k|}
longobject.c:_PyType_HasFeature:
  284|  2.46k|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  285|  2.46k|    return ((type->tp_flags) & feature) != 0;
  286|  2.46k|}
longobject.c:_Py_DECREF_SPECIALIZED:
  234|    118|{
  235|    118|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    118|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    118|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    118|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 118]
  |  |  ------------------
  ------------------
  236|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  237|      0|        return;
  238|      0|    }
  239|    118|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    118|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  240|       |#ifdef Py_REF_DEBUG
  241|       |    _Py_DEC_REFTOTAL(PyInterpreterState_Get());
  242|       |#endif
  243|    118|    if (--op->ob_refcnt != 0) {
  ------------------
  |  Branch (243:9): [True: 0, False: 118]
  ------------------
  244|      0|        assert(op->ob_refcnt > 0);
  ------------------
  |  Branch (244:9): [True: 0, False: 0]
  ------------------
  245|      0|    }
  246|    118|    else {
  247|       |#ifdef Py_TRACE_REFS
  248|       |        _Py_ForgetReference(op);
  249|       |#endif
  250|       |        _PyReftracerTrack(op, PyRefTracer_DESTROY);
  ------------------
  |  |  112|    118|    do { \
  |  |  113|    118|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  114|    118|        if (tracer->tracer_func != NULL) { \
  |  |  ------------------
  |  |  |  Branch (114:13): [True: 0, False: 118]
  |  |  ------------------
  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  117|      0|        } \
  |  |  118|    118|    } while(0)
  |  |  ------------------
  |  |  |  Branch (118:13): [Folded, False: 118]
  |  |  ------------------
  ------------------
  251|    118|        destruct(op);
  252|    118|    }
  253|    118|}
dictobject.c:_Py_INCREF_MORTAL:
 1023|  14.2k|{
 1024|  14.2k|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (1024:5): [True: 14.2k, False: 0]
  ------------------
 1025|  14.2k|    op->ob_refcnt++;
 1026|  14.2k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  14.2k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
 1027|       |#if defined(Py_REF_DEBUG) && !defined(Py_LIMITED_API)
 1028|       |    if (!_Py_IsImmortal(op)) {
 1029|       |        _Py_INCREF_IncRefTotal();
 1030|       |    }
 1031|       |#endif
 1032|  14.2k|}
dictobject.c:Py_DECREF_MORTAL:
  445|  2.40k|{
  446|  2.40k|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (446:5): [True: 2.40k, False: 0]
  ------------------
  447|  2.40k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  2.40k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  448|  2.40k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (448:9): [True: 0, False: 2.40k]
  ------------------
  449|      0|        _Py_Dealloc(op);
  450|      0|    }
  451|  2.40k|}
dictobject.c:_PyObject_HashDictKey:
  839|  76.3k|{
  840|  76.3k|    if (PyUnicode_CheckExact(op)) {
  ------------------
  |  |  104|  76.3k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  76.3k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  76.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  76.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 74.1k, False: 2.15k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  841|  74.1k|        Py_hash_t hash = PyUnstable_Unicode_GET_CACHED_HASH(op);
  842|  74.1k|        if (hash != -1) {
  ------------------
  |  Branch (842:13): [True: 73.1k, False: 990]
  ------------------
  843|  73.1k|            return hash;
  844|  73.1k|        }
  845|  74.1k|    }
  846|  3.14k|    return PyObject_Hash(op);
  847|  76.3k|}
dictobject.c:_PyObject_ResurrectStart:
  674|  2.07k|{
  675|  2.07k|    assert(Py_REFCNT(op) == 0);
  ------------------
  |  Branch (675:5): [True: 2.07k, False: 0]
  ------------------
  676|       |#ifdef Py_REF_DEBUG
  677|       |    _Py_IncRefTotal(_PyThreadState_GET());
  678|       |#endif
  679|       |#ifdef Py_GIL_DISABLED
  680|       |    _Py_atomic_store_uintptr_relaxed(&op->ob_tid, _Py_ThreadId());
  681|       |    _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, 1);
  682|       |    _Py_atomic_store_ssize_relaxed(&op->ob_ref_shared, 0);
  683|       |#else
  684|  2.07k|    Py_SET_REFCNT(op, 1);
  ------------------
  |  |  201|  2.07k|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|  2.07k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.07k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  685|  2.07k|#endif
  686|       |#ifdef Py_TRACE_REFS
  687|       |    _Py_ResurrectReference(op);
  688|       |#endif
  689|  2.07k|}
dictobject.c:_PyObject_ResurrectEnd:
  696|  2.07k|{
  697|       |#ifdef Py_REF_DEBUG
  698|       |    _Py_DecRefTotal(_PyThreadState_GET());
  699|       |#endif
  700|  2.07k|#ifndef Py_GIL_DISABLED
  701|  2.07k|    Py_SET_REFCNT(op, Py_REFCNT(op) - 1);
  ------------------
  |  |  201|  2.07k|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|  2.07k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.07k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  702|  2.07k|    if (Py_REFCNT(op) == 0) {
  ------------------
  |  |  119|  2.07k|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.07k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.07k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (702:9): [True: 2.07k, False: 0]
  ------------------
  703|       |# ifdef Py_TRACE_REFS
  704|       |        _Py_ForgetReference(op);
  705|       |# endif
  706|  2.07k|        return 0;
  707|  2.07k|    }
  708|      0|    return 1;
  709|       |#else
  710|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  711|       |    Py_ssize_t shared = _Py_atomic_load_ssize_acquire(&op->ob_ref_shared);
  712|       |    if (_Py_IsOwnedByCurrentThread(op) && local == 1 && shared == 0) {
  713|       |        // Fast-path: object has a single refcount and is owned by this thread
  714|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, 0);
  715|       |# ifdef Py_TRACE_REFS
  716|       |        _Py_ForgetReference(op);
  717|       |# endif
  718|       |        return 0;
  719|       |    }
  720|       |    // Slow-path: object has a shared refcount or is not owned by this thread
  721|       |    return _PyObject_ResurrectEndSlow(op);
  722|       |#endif
  723|  2.07k|}
dictobject.c:_PyObject_IsUniquelyReferenced:
  185|  1.00k|{
  186|  1.00k|#if !defined(Py_GIL_DISABLED)
  187|  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  188|       |#else
  189|       |    // NOTE: the entire ob_ref_shared field must be zero, including flags, to
  190|       |    // ensure that other threads cannot concurrently create new references to
  191|       |    // this object.
  192|       |    return (_Py_IsOwnedByCurrentThread(ob) &&
  193|       |            _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local) == 1 &&
  194|       |            _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared) == 0);
  195|       |#endif
  196|  1.00k|}
dictobject.c:_PyObject_InlineValues:
  947|  3.76k|{
  948|  3.76k|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|  3.76k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.76k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.76k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  949|  3.76k|    assert(tp->tp_basicsize > 0 && (size_t)tp->tp_basicsize % sizeof(PyObject *) == 0);
  ------------------
  |  Branch (949:5): [True: 3.76k, False: 0]
  |  Branch (949:5): [True: 3.76k, False: 0]
  ------------------
  950|  3.76k|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  ------------------
  |  Branch (950:5): [True: 3.76k, False: 0]
  ------------------
  951|  3.76k|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  ------------------
  |  Branch (951:5): [True: 3.76k, False: 0]
  ------------------
  952|  3.76k|    return (PyDictValues *)((char *)obj + tp->tp_basicsize);
  953|  3.76k|}
dictobject.c:_PyObject_ManagedDictPointer:
  933|  2.35k|{
  934|  2.35k|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  ------------------
  |  Branch (934:5): [True: 2.35k, False: 0]
  ------------------
  935|  2.35k|    return (PyManagedDictPointer *)((char *)obj + MANAGED_DICT_OFFSET);
  ------------------
  |  |  923|  2.35k|#  define MANAGED_DICT_OFFSET    (((Py_ssize_t)sizeof(PyObject *))*-3)
  ------------------
  936|  2.35k|}
dictobject.c:_PyObject_GetManagedDict:
  940|  1.36k|{
  941|  1.36k|    PyManagedDictPointer *dorv = _PyObject_ManagedDictPointer(obj);
  942|  1.36k|    return (PyDictObject *)FT_ATOMIC_LOAD_PTR_ACQUIRE(dorv->dict);
  ------------------
  |  |  150|  1.36k|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
  943|  1.36k|}
dictobject.c:_PyType_HasFeature:
  284|    698|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  285|    698|    return ((type->tp_flags) & feature) != 0;
  286|    698|}
object.c:_PyObject_Init:
  478|  2.60k|{
  479|  2.60k|    assert(op != NULL);
  ------------------
  |  Branch (479:5): [True: 2.60k, False: 0]
  ------------------
  480|  2.60k|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|  2.60k|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|  2.60k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.60k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  481|  2.60k|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  ------------------
  |  Branch (481:5): [True: 0, False: 2.60k]
  |  Branch (481:5): [True: 2.60k, False: 0]
  ------------------
  482|  2.60k|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  307|  2.60k|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  2.60k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.60k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.60k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  483|  2.60k|    _Py_NewReference(op);
  484|  2.60k|}
object.c:_PyObject_InitVar:
  488|  2.40k|{
  489|  2.40k|    assert(op != NULL);
  ------------------
  |  Branch (489:5): [True: 2.40k, False: 0]
  ------------------
  490|  2.40k|    assert(typeobj != &PyLong_Type);
  ------------------
  |  Branch (490:5): [True: 2.40k, False: 0]
  ------------------
  491|  2.40k|    _PyObject_Init((PyObject *)op, typeobj);
  492|  2.40k|    Py_SET_SIZE(op, size);
  ------------------
  |  |  216|  2.40k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  2.40k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  493|  2.40k|}
object.c:_PyType_HasFeature:
  284|  4.23k|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  285|  4.23k|    return ((type->tp_flags) & feature) != 0;
  286|  4.23k|}
object.c:_PyObject_ResurrectStart:
  674|    167|{
  675|    167|    assert(Py_REFCNT(op) == 0);
  ------------------
  |  Branch (675:5): [True: 167, False: 0]
  ------------------
  676|       |#ifdef Py_REF_DEBUG
  677|       |    _Py_IncRefTotal(_PyThreadState_GET());
  678|       |#endif
  679|       |#ifdef Py_GIL_DISABLED
  680|       |    _Py_atomic_store_uintptr_relaxed(&op->ob_tid, _Py_ThreadId());
  681|       |    _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, 1);
  682|       |    _Py_atomic_store_ssize_relaxed(&op->ob_ref_shared, 0);
  683|       |#else
  684|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  685|    167|#endif
  686|       |#ifdef Py_TRACE_REFS
  687|       |    _Py_ResurrectReference(op);
  688|       |#endif
  689|    167|}
object.c:_PyObject_ResurrectEnd:
  696|    167|{
  697|       |#ifdef Py_REF_DEBUG
  698|       |    _Py_DecRefTotal(_PyThreadState_GET());
  699|       |#endif
  700|    167|#ifndef Py_GIL_DISABLED
  701|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  702|    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 (702:9): [True: 167, False: 0]
  ------------------
  703|       |# ifdef Py_TRACE_REFS
  704|       |        _Py_ForgetReference(op);
  705|       |# endif
  706|    167|        return 0;
  707|    167|    }
  708|      0|    return 1;
  709|       |#else
  710|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  711|       |    Py_ssize_t shared = _Py_atomic_load_ssize_acquire(&op->ob_ref_shared);
  712|       |    if (_Py_IsOwnedByCurrentThread(op) && local == 1 && shared == 0) {
  713|       |        // Fast-path: object has a single refcount and is owned by this thread
  714|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, 0);
  715|       |# ifdef Py_TRACE_REFS
  716|       |        _Py_ForgetReference(op);
  717|       |# endif
  718|       |        return 0;
  719|       |    }
  720|       |    // Slow-path: object has a shared refcount or is not owned by this thread
  721|       |    return _PyObject_ResurrectEndSlow(op);
  722|       |#endif
  723|    167|}
object.c:_PyObject_GetManagedDict:
  940|    195|{
  941|    195|    PyManagedDictPointer *dorv = _PyObject_ManagedDictPointer(obj);
  942|    195|    return (PyDictObject *)FT_ATOMIC_LOAD_PTR_ACQUIRE(dorv->dict);
  ------------------
  |  |  150|    195|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
  943|    195|}
object.c:_PyObject_ManagedDictPointer:
  933|    380|{
  934|    380|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  ------------------
  |  Branch (934:5): [True: 380, False: 0]
  ------------------
  935|    380|    return (PyManagedDictPointer *)((char *)obj + MANAGED_DICT_OFFSET);
  ------------------
  |  |  923|    380|#  define MANAGED_DICT_OFFSET    (((Py_ssize_t)sizeof(PyObject *))*-3)
  ------------------
  936|    380|}
object.c:Py_DECREF_MORTAL:
  445|  2.83k|{
  446|  2.83k|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (446:5): [True: 2.83k, False: 0]
  ------------------
  447|  2.83k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  2.83k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  448|  2.83k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (448:9): [True: 0, False: 2.83k]
  ------------------
  449|      0|        _Py_Dealloc(op);
  450|      0|    }
  451|  2.83k|}
object.c:_PyObject_IsUniquelyReferenced:
  185|   277k|{
  186|   277k|#if !defined(Py_GIL_DISABLED)
  187|   277k|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|   277k|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   277k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   277k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  188|       |#else
  189|       |    // NOTE: the entire ob_ref_shared field must be zero, including flags, to
  190|       |    // ensure that other threads cannot concurrently create new references to
  191|       |    // this object.
  192|       |    return (_Py_IsOwnedByCurrentThread(ob) &&
  193|       |            _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local) == 1 &&
  194|       |            _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared) == 0);
  195|       |#endif
  196|   277k|}
setobject.c:_PyObject_IsUniquelyReferenced:
  185|    150|{
  186|    150|#if !defined(Py_GIL_DISABLED)
  187|    150|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|    150|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    150|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    150|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  188|       |#else
  189|       |    // NOTE: the entire ob_ref_shared field must be zero, including flags, to
  190|       |    // ensure that other threads cannot concurrently create new references to
  191|       |    // this object.
  192|       |    return (_Py_IsOwnedByCurrentThread(ob) &&
  193|       |            _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local) == 1 &&
  194|       |            _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared) == 0);
  195|       |#endif
  196|    150|}
structseq.c:_PyType_HasFeature:
  284|    120|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  285|    120|    return ((type->tp_flags) & feature) != 0;
  286|    120|}
tupleobject.c:_PyObject_IsUniquelyReferenced:
  185|     34|{
  186|     34|#if !defined(Py_GIL_DISABLED)
  187|     34|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|     34|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  188|       |#else
  189|       |    // NOTE: the entire ob_ref_shared field must be zero, including flags, to
  190|       |    // ensure that other threads cannot concurrently create new references to
  191|       |    // this object.
  192|       |    return (_Py_IsOwnedByCurrentThread(ob) &&
  193|       |            _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local) == 1 &&
  194|       |            _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared) == 0);
  195|       |#endif
  196|     34|}
tupleobject.c:_PyType_HasFeature:
  284|  11.1k|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  285|  11.1k|    return ((type->tp_flags) & feature) != 0;
  286|  11.1k|}
typeobject.c:_PyType_HasFeature:
  284|  50.1k|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  285|  50.1k|    return ((type->tp_flags) & feature) != 0;
  286|  50.1k|}
typeobject.c:_PyType_PreHeaderSize:
  851|  10.2k|{
  852|  10.2k|    return (
  853|  10.2k|#ifndef Py_GIL_DISABLED
  854|  10.2k|        (size_t)_PyType_IS_GC(tp) * sizeof(PyGC_Head) +
  ------------------
  |  |  820|  10.2k|#define _PyType_IS_GC(t) _PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
  |  |  ------------------
  |  |  |  |  524|  10.2k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  |  |  ------------------
  ------------------
  855|  10.2k|#endif
  856|  10.2k|        (size_t)_PyType_HasFeature(tp, Py_TPFLAGS_PREHEADER) * 2 * sizeof(PyObject *)
  ------------------
  |  |  487|  10.2k|#define Py_TPFLAGS_PREHEADER (Py_TPFLAGS_MANAGED_WEAKREF | Py_TPFLAGS_MANAGED_DICT)
  |  |  ------------------
  |  |  |  |  477|  10.2k|#define Py_TPFLAGS_MANAGED_WEAKREF (1 << 3)
  |  |  ------------------
  |  |               #define Py_TPFLAGS_PREHEADER (Py_TPFLAGS_MANAGED_WEAKREF | Py_TPFLAGS_MANAGED_DICT)
  |  |  ------------------
  |  |  |  |  482|  10.2k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  |  |  ------------------
  ------------------
  857|  10.2k|    );
  858|  10.2k|}
typeobject.c:_PyObject_Init:
  478|  10.2k|{
  479|  10.2k|    assert(op != NULL);
  ------------------
  |  Branch (479:5): [True: 10.2k, False: 0]
  ------------------
  480|  10.2k|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|  10.2k|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|  10.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  481|  10.2k|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  ------------------
  |  Branch (481:5): [True: 1.60k, False: 8.65k]
  |  Branch (481:5): [True: 8.65k, False: 0]
  ------------------
  482|  10.2k|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  307|  10.2k|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  10.2k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  10.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  10.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  483|  10.2k|    _Py_NewReference(op);
  484|  10.2k|}
typeobject.c:_PyObject_InitVar:
  488|    643|{
  489|    643|    assert(op != NULL);
  ------------------
  |  Branch (489:5): [True: 643, False: 0]
  ------------------
  490|    643|    assert(typeobj != &PyLong_Type);
  ------------------
  |  Branch (490:5): [True: 643, False: 0]
  ------------------
  491|    643|    _PyObject_Init((PyObject *)op, typeobj);
  492|    643|    Py_SET_SIZE(op, size);
  ------------------
  |  |  216|    643|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|    643|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    643|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  493|    643|}
typeobject.c:Py_DECREF_MORTAL:
  445|  49.8k|{
  446|  49.8k|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (446:5): [True: 49.8k, False: 0]
  ------------------
  447|  49.8k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  49.8k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  448|  49.8k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (448:9): [True: 0, False: 49.8k]
  ------------------
  449|      0|        _Py_Dealloc(op);
  450|      0|    }
  451|  49.8k|}
typeobject.c:_PyObject_HashDictKey:
  839|  39.4k|{
  840|  39.4k|    if (PyUnicode_CheckExact(op)) {
  ------------------
  |  |  104|  39.4k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  39.4k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  39.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  39.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 39.4k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  841|  39.4k|        Py_hash_t hash = PyUnstable_Unicode_GET_CACHED_HASH(op);
  842|  39.4k|        if (hash != -1) {
  ------------------
  |  Branch (842:13): [True: 39.2k, False: 178]
  ------------------
  843|  39.2k|            return hash;
  844|  39.2k|        }
  845|  39.4k|    }
  846|    178|    return PyObject_Hash(op);
  847|  39.4k|}
typeobject.c:_Py_INCREF_MORTAL:
 1023|  38.4k|{
 1024|  38.4k|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (1024:5): [True: 38.4k, False: 0]
  ------------------
 1025|  38.4k|    op->ob_refcnt++;
 1026|  38.4k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  38.4k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
 1027|       |#if defined(Py_REF_DEBUG) && !defined(Py_LIMITED_API)
 1028|       |    if (!_Py_IsImmortal(op)) {
 1029|       |        _Py_INCREF_IncRefTotal();
 1030|       |    }
 1031|       |#endif
 1032|  38.4k|}
typeobject.c:_PyObject_XDecRefDelayed:
  745|      5|{
  746|      5|    Py_XDECREF(obj);
  ------------------
  |  |  524|      5|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  747|      5|}
unicodeobject.c:_PyObject_Init:
  478|   307k|{
  479|   307k|    assert(op != NULL);
  ------------------
  |  Branch (479:5): [True: 307k, False: 0]
  ------------------
  480|   307k|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|   307k|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|   307k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   307k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  481|   307k|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  ------------------
  |  Branch (481:5): [True: 0, False: 307k]
  |  Branch (481:5): [True: 307k, False: 0]
  ------------------
  482|   307k|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  307|   307k|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|   307k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   307k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   307k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  483|   307k|    _Py_NewReference(op);
  484|   307k|}
unicodeobject.c:_PyType_HasFeature:
  284|   307k|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  285|   307k|    return ((type->tp_flags) & feature) != 0;
  286|   307k|}
unicodeobject.c:_PyObject_IsUniquelyReferenced:
  185|    454|{
  186|    454|#if !defined(Py_GIL_DISABLED)
  187|    454|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|    454|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    454|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    454|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  188|       |#else
  189|       |    // NOTE: the entire ob_ref_shared field must be zero, including flags, to
  190|       |    // ensure that other threads cannot concurrently create new references to
  191|       |    // this object.
  192|       |    return (_Py_IsOwnedByCurrentThread(ob) &&
  193|       |            _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local) == 1 &&
  194|       |            _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared) == 0);
  195|       |#endif
  196|    454|}
weakrefobject.c:_PyType_SUPPORTS_WEAKREFS:
  869|  2.47k|static inline int _PyType_SUPPORTS_WEAKREFS(PyTypeObject *type) {
  870|  2.47k|    return (type->tp_weaklistoffset != 0);
  871|  2.47k|}
weakrefobject.c:_PyObject_GET_WEAKREFS_LISTPTR:
  785|  2.71k|{
  786|  2.71k|    if (PyType_Check(op) &&
  ------------------
  |  |  766|  5.43k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.71k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.71k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 1.14k, False: 1.57k]
  |  |  ------------------
  ------------------
  787|  1.14k|            ((PyTypeObject *)op)->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  1.14k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (787:13): [True: 575, False: 570]
  ------------------
  788|    575|        PyInterpreterState *interp = _PyInterpreterState_GET();
  789|    575|        managed_static_type_state *state = _PyStaticType_GetState(
  790|    575|                                                interp, (PyTypeObject *)op);
  791|    575|        return _PyStaticType_GET_WEAKREFS_LISTPTR(state);
  792|    575|    }
  793|       |    // Essentially _PyObject_GET_WEAKREFS_LISTPTR_FROM_OFFSET():
  794|  2.14k|    Py_ssize_t offset = Py_TYPE(op)->tp_weaklistoffset;
  ------------------
  |  |  213|  2.14k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.14k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.14k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  795|  2.14k|    return (PyObject **)((char *)op + offset);
  796|  2.71k|}
weakrefobject.c:_Py_TryIncref:
  728|    668|{
  729|       |#ifdef Py_GIL_DISABLED
  730|       |    return _Py_TryIncrefFast(op) || _Py_TryIncRefShared(op);
  731|       |#else
  732|    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 (732:9): [True: 668, False: 0]
  ------------------
  733|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  734|    668|        return 1;
  735|    668|    }
  736|      0|    return 0;
  737|    668|#endif
  738|    668|}
bltinmodule.c:_PyObject_IsUniquelyReferenced:
  185|     69|{
  186|     69|#if !defined(Py_GIL_DISABLED)
  187|     69|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|     69|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     69|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     69|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  188|       |#else
  189|       |    // NOTE: the entire ob_ref_shared field must be zero, including flags, to
  190|       |    // ensure that other threads cannot concurrently create new references to
  191|       |    // this object.
  192|       |    return (_Py_IsOwnedByCurrentThread(ob) &&
  193|       |            _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local) == 1 &&
  194|       |            _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared) == 0);
  195|       |#endif
  196|     69|}
ceval.c:Py_DECREF_MORTAL:
  445|  48.4k|{
  446|  48.4k|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (446:5): [True: 48.4k, False: 0]
  ------------------
  447|  48.4k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  48.4k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  448|  48.4k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (448:9): [True: 4.37k, False: 44.1k]
  ------------------
  449|  4.37k|        _Py_Dealloc(op);
  450|  4.37k|    }
  451|  48.4k|}
ceval.c:Py_DECREF_MORTAL_SPECIALIZED:
  455|  1.72k|{
  456|  1.72k|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (456:5): [True: 1.72k, False: 0]
  ------------------
  457|  1.72k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.72k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  458|  1.72k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (458:9): [True: 329, False: 1.39k]
  ------------------
  459|       |        _PyReftracerTrack(op, PyRefTracer_DESTROY);
  ------------------
  |  |  112|    329|    do { \
  |  |  113|    329|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  114|    329|        if (tracer->tracer_func != NULL) { \
  |  |  ------------------
  |  |  |  Branch (114:13): [True: 0, False: 329]
  |  |  ------------------
  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  117|      0|        } \
  |  |  118|    329|    } while(0)
  |  |  ------------------
  |  |  |  Branch (118:13): [Folded, False: 329]
  |  |  ------------------
  ------------------
  460|    329|        destruct(op);
  461|    329|    }
  462|  1.72k|}
ceval.c:_Py_INCREF_MORTAL:
 1023|  45.4k|{
 1024|  45.4k|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (1024:5): [True: 45.4k, False: 0]
  ------------------
 1025|  45.4k|    op->ob_refcnt++;
 1026|  45.4k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  45.4k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
 1027|       |#if defined(Py_REF_DEBUG) && !defined(Py_LIMITED_API)
 1028|       |    if (!_Py_IsImmortal(op)) {
 1029|       |        _Py_INCREF_IncRefTotal();
 1030|       |    }
 1031|       |#endif
 1032|  45.4k|}
ceval.c:_PyObject_InlineValues:
  947|  9.25k|{
  948|  9.25k|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|  9.25k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  9.25k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.25k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  949|  9.25k|    assert(tp->tp_basicsize > 0 && (size_t)tp->tp_basicsize % sizeof(PyObject *) == 0);
  ------------------
  |  Branch (949:5): [True: 9.25k, False: 0]
  |  Branch (949:5): [True: 9.25k, False: 0]
  ------------------
  950|  9.25k|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  ------------------
  |  Branch (950:5): [True: 9.25k, False: 0]
  ------------------
  951|  9.25k|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  ------------------
  |  Branch (951:5): [True: 9.25k, False: 0]
  ------------------
  952|  9.25k|    return (PyDictValues *)((char *)obj + tp->tp_basicsize);
  953|  9.25k|}
ceval.c:_PyType_HasFeature:
  284|  4.21k|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  285|  4.21k|    return ((type->tp_flags) & feature) != 0;
  286|  4.21k|}
ceval.c:_PyObject_GetManagedDict:
  940|  4.40k|{
  941|  4.40k|    PyManagedDictPointer *dorv = _PyObject_ManagedDictPointer(obj);
  942|  4.40k|    return (PyDictObject *)FT_ATOMIC_LOAD_PTR_ACQUIRE(dorv->dict);
  ------------------
  |  |  150|  4.40k|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
  943|  4.40k|}
ceval.c:_PyObject_ManagedDictPointer:
  933|  4.40k|{
  934|  4.40k|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  ------------------
  |  Branch (934:5): [True: 4.40k, False: 0]
  ------------------
  935|  4.40k|    return (PyManagedDictPointer *)((char *)obj + MANAGED_DICT_OFFSET);
  ------------------
  |  |  923|  4.40k|#  define MANAGED_DICT_OFFSET    (((Py_ssize_t)sizeof(PyObject *))*-3)
  ------------------
  936|  4.40k|}
frame.c:Py_DECREF_MORTAL:
  445|  21.3k|{
  446|  21.3k|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (446:5): [True: 21.3k, False: 0]
  ------------------
  447|  21.3k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  21.3k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  448|  21.3k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (448:9): [True: 3.66k, False: 17.7k]
  ------------------
  449|  3.66k|        _Py_Dealloc(op);
  450|  3.66k|    }
  451|  21.3k|}
frame.c:_PyObject_IsUniquelyReferenced:
  185|    435|{
  186|    435|#if !defined(Py_GIL_DISABLED)
  187|    435|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|    435|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    435|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    435|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  188|       |#else
  189|       |    // NOTE: the entire ob_ref_shared field must be zero, including flags, to
  190|       |    // ensure that other threads cannot concurrently create new references to
  191|       |    // this object.
  192|       |    return (_Py_IsOwnedByCurrentThread(ob) &&
  193|       |            _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local) == 1 &&
  194|       |            _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared) == 0);
  195|       |#endif
  196|    435|}
frame.c:_Py_INCREF_MORTAL:
 1023|    140|{
 1024|    140|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (1024:5): [True: 140, False: 0]
  ------------------
 1025|    140|    op->ob_refcnt++;
 1026|    140|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    140|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
 1027|       |#if defined(Py_REF_DEBUG) && !defined(Py_LIMITED_API)
 1028|       |    if (!_Py_IsImmortal(op)) {
 1029|       |        _Py_INCREF_IncRefTotal();
 1030|       |    }
 1031|       |#endif
 1032|    140|}
gc.c:_PyType_SUPPORTS_WEAKREFS:
  869|    312|static inline int _PyType_SUPPORTS_WEAKREFS(PyTypeObject *type) {
  870|    312|    return (type->tp_weaklistoffset != 0);
  871|    312|}
gc.c:_PyObject_GET_WEAKREFS_LISTPTR_FROM_OFFSET:
  812|    158|{
  813|    158|    assert(!PyType_Check(op) ||
  ------------------
  |  Branch (813:5): [True: 146, False: 12]
  |  Branch (813:5): [True: 12, False: 0]
  ------------------
  814|    158|            ((PyTypeObject *)op)->tp_flags & Py_TPFLAGS_HEAPTYPE);
  815|    158|    Py_ssize_t offset = Py_TYPE(op)->tp_weaklistoffset;
  ------------------
  |  |  213|    158|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    158|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    158|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  816|    158|    return (PyWeakReference **)((char *)op + offset);
  817|    158|}
gc.c:_PyObject_IS_GC:
  825|   164k|{
  826|   164k|    PyTypeObject *type = Py_TYPE(obj);
  ------------------
  |  |  213|   164k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   164k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   164k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  827|   164k|    return (_PyType_IS_GC(type)
  ------------------
  |  |  820|   328k|#define _PyType_IS_GC(t) _PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
  |  |  ------------------
  |  |  |  |  524|   164k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  |  |  ------------------
  |  |  |  Branch (820:26): [True: 59.6k, False: 104k]
  |  |  ------------------
  ------------------
  828|  59.6k|            && (type->tp_is_gc == NULL || type->tp_is_gc(obj)));
  ------------------
  |  Branch (828:17): [True: 38.7k, False: 20.8k]
  |  Branch (828:43): [True: 9.02k, False: 11.8k]
  ------------------
  829|   164k|}
gc.c:_PyType_PreHeaderSize:
  851|  21.4k|{
  852|  21.4k|    return (
  853|  21.4k|#ifndef Py_GIL_DISABLED
  854|  21.4k|        (size_t)_PyType_IS_GC(tp) * sizeof(PyGC_Head) +
  ------------------
  |  |  820|  21.4k|#define _PyType_IS_GC(t) _PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
  |  |  ------------------
  |  |  |  |  524|  21.4k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  |  |  ------------------
  ------------------
  855|  21.4k|#endif
  856|  21.4k|        (size_t)_PyType_HasFeature(tp, Py_TPFLAGS_PREHEADER) * 2 * sizeof(PyObject *)
  ------------------
  |  |  487|  21.4k|#define Py_TPFLAGS_PREHEADER (Py_TPFLAGS_MANAGED_WEAKREF | Py_TPFLAGS_MANAGED_DICT)
  |  |  ------------------
  |  |  |  |  477|  21.4k|#define Py_TPFLAGS_MANAGED_WEAKREF (1 << 3)
  |  |  ------------------
  |  |               #define Py_TPFLAGS_PREHEADER (Py_TPFLAGS_MANAGED_WEAKREF | Py_TPFLAGS_MANAGED_DICT)
  |  |  ------------------
  |  |  |  |  482|  21.4k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  |  |  ------------------
  ------------------
  857|  21.4k|    );
  858|  21.4k|}
gc.c:_PyType_HasFeature:
  284|   230k|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  285|   230k|    return ((type->tp_flags) & feature) != 0;
  286|   230k|}
gc.c:_PyObject_Init:
  478|  15.8k|{
  479|  15.8k|    assert(op != NULL);
  ------------------
  |  Branch (479:5): [True: 15.8k, False: 0]
  ------------------
  480|  15.8k|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|  15.8k|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|  15.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  481|  15.8k|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  ------------------
  |  Branch (481:5): [True: 124, False: 15.6k]
  |  Branch (481:5): [True: 15.6k, False: 0]
  ------------------
  482|  15.8k|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  307|  15.8k|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  15.8k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  15.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  15.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  483|  15.8k|    _Py_NewReference(op);
  484|  15.8k|}
gc.c:_PyObject_InitVar:
  488|  8.04k|{
  489|  8.04k|    assert(op != NULL);
  ------------------
  |  Branch (489:5): [True: 8.04k, False: 0]
  ------------------
  490|  8.04k|    assert(typeobj != &PyLong_Type);
  ------------------
  |  Branch (490:5): [True: 8.04k, False: 0]
  ------------------
  491|  8.04k|    _PyObject_Init((PyObject *)op, typeobj);
  492|  8.04k|    Py_SET_SIZE(op, size);
  ------------------
  |  |  216|  8.04k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  8.04k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  493|  8.04k|}
import.c:_Py_TryIncref:
  728|      2|{
  729|       |#ifdef Py_GIL_DISABLED
  730|       |    return _Py_TryIncrefFast(op) || _Py_TryIncRefShared(op);
  731|       |#else
  732|      2|    if (Py_REFCNT(op) > 0) {
  ------------------
  |  |  119|      2|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (732:9): [True: 2, False: 0]
  ------------------
  733|      2|        Py_INCREF(op);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  734|      2|        return 1;
  735|      2|    }
  736|      0|    return 0;
  737|      2|#endif
  738|      2|}
intrinsics.c:_PyObject_IsUniquelyReferenced:
  185|     67|{
  186|     67|#if !defined(Py_GIL_DISABLED)
  187|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  188|       |#else
  189|       |    // NOTE: the entire ob_ref_shared field must be zero, including flags, to
  190|       |    // ensure that other threads cannot concurrently create new references to
  191|       |    // this object.
  192|       |    return (_Py_IsOwnedByCurrentThread(ob) &&
  193|       |            _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local) == 1 &&
  194|       |            _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared) == 0);
  195|       |#endif
  196|     67|}
specialize.c:_PyObject_GetManagedDict:
  940|    594|{
  941|    594|    PyManagedDictPointer *dorv = _PyObject_ManagedDictPointer(obj);
  942|    594|    return (PyDictObject *)FT_ATOMIC_LOAD_PTR_ACQUIRE(dorv->dict);
  ------------------
  |  |  150|    594|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
  943|    594|}
specialize.c:_PyObject_ManagedDictPointer:
  933|    594|{
  934|    594|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  ------------------
  |  Branch (934:5): [True: 594, False: 0]
  ------------------
  935|    594|    return (PyManagedDictPointer *)((char *)obj + MANAGED_DICT_OFFSET);
  ------------------
  |  |  923|    594|#  define MANAGED_DICT_OFFSET    (((Py_ssize_t)sizeof(PyObject *))*-3)
  ------------------
  936|    594|}
specialize.c:_PyObject_InlineValues:
  947|  1.17k|{
  948|  1.17k|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|  1.17k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  949|  1.17k|    assert(tp->tp_basicsize > 0 && (size_t)tp->tp_basicsize % sizeof(PyObject *) == 0);
  ------------------
  |  Branch (949:5): [True: 1.17k, False: 0]
  |  Branch (949:5): [True: 1.17k, False: 0]
  ------------------
  950|  1.17k|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  ------------------
  |  Branch (950:5): [True: 1.17k, False: 0]
  ------------------
  951|  1.17k|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  ------------------
  |  Branch (951:5): [True: 1.17k, False: 0]
  ------------------
  952|  1.17k|    return (PyDictValues *)((char *)obj + tp->tp_basicsize);
  953|  1.17k|}
typecache.c:_Py_INCREF_MORTAL:
 1023|  9.51k|{
 1024|  9.51k|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (1024:5): [True: 9.51k, False: 0]
  ------------------
 1025|  9.51k|    op->ob_refcnt++;
 1026|  9.51k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  9.51k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
 1027|       |#if defined(Py_REF_DEBUG) && !defined(Py_LIMITED_API)
 1028|       |    if (!_Py_IsImmortal(op)) {
 1029|       |        _Py_INCREF_IncRefTotal();
 1030|       |    }
 1031|       |#endif
 1032|  9.51k|}
_datetimemodule.c:_PyObject_Init:
  478|      8|{
  479|      8|    assert(op != NULL);
  ------------------
  |  Branch (479:5): [True: 8, False: 0]
  ------------------
  480|      8|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|      8|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  481|      8|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  ------------------
  |  Branch (481:5): [True: 0, False: 8]
  |  Branch (481:5): [True: 8, False: 0]
  ------------------
  482|      8|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  307|      8|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|      8|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  483|      8|    _Py_NewReference(op);
  484|      8|}
_datetimemodule.c:_PyType_HasFeature:
  284|      8|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  285|      8|    return ((type->tp_flags) & feature) != 0;
  286|      8|}
itertoolsmodule.c:_PyObject_IsUniquelyReferenced:
  185|    135|{
  186|    135|#if !defined(Py_GIL_DISABLED)
  187|    135|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|    135|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    135|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    135|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  188|       |#else
  189|       |    // NOTE: the entire ob_ref_shared field must be zero, including flags, to
  190|       |    // ensure that other threads cannot concurrently create new references to
  191|       |    // this object.
  192|       |    return (_Py_IsOwnedByCurrentThread(ob) &&
  193|       |            _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local) == 1 &&
  194|       |            _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared) == 0);
  195|       |#endif
  196|    135|}
abstract.c:Py_DECREF_MORTAL:
  445|     89|{
  446|     89|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (446:5): [True: 89, False: 0]
  ------------------
  447|     89|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     89|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  448|     89|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (448:9): [True: 0, False: 89]
  ------------------
  449|      0|        _Py_Dealloc(op);
  450|      0|    }
  451|     89|}
bytesobject.c:_PyObject_InitVar:
  488|  8.51k|{
  489|  8.51k|    assert(op != NULL);
  ------------------
  |  Branch (489:5): [True: 8.51k, False: 0]
  ------------------
  490|  8.51k|    assert(typeobj != &PyLong_Type);
  ------------------
  |  Branch (490:5): [True: 8.51k, False: 0]
  ------------------
  491|  8.51k|    _PyObject_Init((PyObject *)op, typeobj);
  492|  8.51k|    Py_SET_SIZE(op, size);
  ------------------
  |  |  216|  8.51k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  8.51k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.51k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  493|  8.51k|}
bytesobject.c:_PyObject_Init:
  478|  8.51k|{
  479|  8.51k|    assert(op != NULL);
  ------------------
  |  Branch (479:5): [True: 8.51k, False: 0]
  ------------------
  480|  8.51k|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|  8.51k|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|  8.51k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.51k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  481|  8.51k|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  ------------------
  |  Branch (481:5): [True: 0, False: 8.51k]
  |  Branch (481:5): [True: 8.51k, False: 0]
  ------------------
  482|  8.51k|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  307|  8.51k|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  8.51k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  8.51k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  8.51k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  483|  8.51k|    _Py_NewReference(op);
  484|  8.51k|}
bytesobject.c:_PyType_HasFeature:
  284|  8.51k|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  285|  8.51k|    return ((type->tp_flags) & feature) != 0;
  286|  8.51k|}
bytesobject.c:_PyObject_IsUniquelyReferenced:
  185|     31|{
  186|     31|#if !defined(Py_GIL_DISABLED)
  187|     31|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|     31|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     31|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     31|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  188|       |#else
  189|       |    // NOTE: the entire ob_ref_shared field must be zero, including flags, to
  190|       |    // ensure that other threads cannot concurrently create new references to
  191|       |    // this object.
  192|       |    return (_Py_IsOwnedByCurrentThread(ob) &&
  193|       |            _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local) == 1 &&
  194|       |            _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared) == 0);
  195|       |#endif
  196|     31|}
codeobject.c:_PyObject_ResurrectStart:
  674|    456|{
  675|    456|    assert(Py_REFCNT(op) == 0);
  ------------------
  |  Branch (675:5): [True: 456, False: 0]
  ------------------
  676|       |#ifdef Py_REF_DEBUG
  677|       |    _Py_IncRefTotal(_PyThreadState_GET());
  678|       |#endif
  679|       |#ifdef Py_GIL_DISABLED
  680|       |    _Py_atomic_store_uintptr_relaxed(&op->ob_tid, _Py_ThreadId());
  681|       |    _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, 1);
  682|       |    _Py_atomic_store_ssize_relaxed(&op->ob_ref_shared, 0);
  683|       |#else
  684|    456|    Py_SET_REFCNT(op, 1);
  ------------------
  |  |  201|    456|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|    456|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    456|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  685|    456|#endif
  686|       |#ifdef Py_TRACE_REFS
  687|       |    _Py_ResurrectReference(op);
  688|       |#endif
  689|    456|}
codeobject.c:_PyObject_ResurrectEnd:
  696|    456|{
  697|       |#ifdef Py_REF_DEBUG
  698|       |    _Py_DecRefTotal(_PyThreadState_GET());
  699|       |#endif
  700|    456|#ifndef Py_GIL_DISABLED
  701|    456|    Py_SET_REFCNT(op, Py_REFCNT(op) - 1);
  ------------------
  |  |  201|    456|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|    456|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    456|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  702|    456|    if (Py_REFCNT(op) == 0) {
  ------------------
  |  |  119|    456|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    456|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    456|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (702:9): [True: 456, False: 0]
  ------------------
  703|       |# ifdef Py_TRACE_REFS
  704|       |        _Py_ForgetReference(op);
  705|       |# endif
  706|    456|        return 0;
  707|    456|    }
  708|      0|    return 1;
  709|       |#else
  710|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  711|       |    Py_ssize_t shared = _Py_atomic_load_ssize_acquire(&op->ob_ref_shared);
  712|       |    if (_Py_IsOwnedByCurrentThread(op) && local == 1 && shared == 0) {
  713|       |        // Fast-path: object has a single refcount and is owned by this thread
  714|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, 0);
  715|       |# ifdef Py_TRACE_REFS
  716|       |        _Py_ForgetReference(op);
  717|       |# endif
  718|       |        return 0;
  719|       |    }
  720|       |    // Slow-path: object has a shared refcount or is not owned by this thread
  721|       |    return _PyObject_ResurrectEndSlow(op);
  722|       |#endif
  723|    456|}
complexobject.c:_PyObject_Init:
  478|      4|{
  479|      4|    assert(op != NULL);
  ------------------
  |  Branch (479:5): [True: 4, False: 0]
  ------------------
  480|      4|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|      4|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  481|      4|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  ------------------
  |  Branch (481:5): [True: 0, False: 4]
  |  Branch (481:5): [True: 4, False: 0]
  ------------------
  482|      4|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  307|      4|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  483|      4|    _Py_NewReference(op);
  484|      4|}
complexobject.c:_PyType_HasFeature:
  284|      4|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  285|      4|    return ((type->tp_flags) & feature) != 0;
  286|      4|}
enumobject.c:_PyObject_IsUniquelyReferenced:
  185|    174|{
  186|    174|#if !defined(Py_GIL_DISABLED)
  187|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  188|       |#else
  189|       |    // NOTE: the entire ob_ref_shared field must be zero, including flags, to
  190|       |    // ensure that other threads cannot concurrently create new references to
  191|       |    // this object.
  192|       |    return (_Py_IsOwnedByCurrentThread(ob) &&
  193|       |            _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local) == 1 &&
  194|       |            _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared) == 0);
  195|       |#endif
  196|    174|}
genobject.c:Py_DECREF_MORTAL:
  445|    113|{
  446|    113|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (446:5): [True: 113, False: 0]
  ------------------
  447|    113|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    113|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  448|    113|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (448:9): [True: 0, False: 113]
  ------------------
  449|      0|        _Py_Dealloc(op);
  450|      0|    }
  451|    113|}
floatobject.c:_PyObject_Init:
  478|     24|{
  479|     24|    assert(op != NULL);
  ------------------
  |  Branch (479:5): [True: 24, False: 0]
  ------------------
  480|     24|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|     24|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  481|     24|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  ------------------
  |  Branch (481:5): [True: 0, False: 24]
  |  Branch (481:5): [True: 24, False: 0]
  ------------------
  482|     24|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  307|     24|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|     24|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  483|     24|    _Py_NewReference(op);
  484|     24|}
floatobject.c:_PyType_HasFeature:
  284|     24|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  285|     24|    return ((type->tp_flags) & feature) != 0;
  286|     24|}
frameobject.c:Py_DECREF_MORTAL:
  445|    501|{
  446|    501|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (446:5): [True: 501, False: 0]
  ------------------
  447|    501|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    501|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  448|    501|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (448:9): [True: 71, False: 430]
  ------------------
  449|     71|        _Py_Dealloc(op);
  450|     71|    }
  451|    501|}

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

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: 205]
  ------------------
   79|  19.1k|        return NULL;
   80|  19.1k|    }
   81|    205|    return (PyObject *)Py_TYPE(tstate->current_exception);
  ------------------
  |  |  213|    205|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    205|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    205|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   82|  19.3k|}
dictobject.c:_PyErr_Occurred:
   76|    149|{
   77|    149|    assert(tstate != NULL);
  ------------------
  |  Branch (77:5): [True: 149, False: 0]
  ------------------
   78|    149|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 149, False: 0]
  ------------------
   79|    149|        return NULL;
   80|    149|    }
   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|    149|}
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.88k|{
   77|  1.88k|    assert(tstate != NULL);
  ------------------
  |  Branch (77:5): [True: 1.88k, False: 0]
  ------------------
   78|  1.88k|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 1.87k, False: 11]
  ------------------
   79|  1.87k|        return NULL;
   80|  1.87k|    }
   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.88k|}
ceval.c:_PyErr_Occurred:
   76|  6.75k|{
   77|  6.75k|    assert(tstate != NULL);
  ------------------
  |  Branch (77:5): [True: 6.75k, False: 0]
  ------------------
   78|  6.75k|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 5.88k, False: 866]
  ------------------
   79|  5.88k|        return NULL;
   80|  5.88k|    }
   81|    866|    return (PyObject *)Py_TYPE(tstate->current_exception);
  ------------------
  |  |  213|    866|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    866|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    866|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   82|  6.75k|}
ceval.c:_PyErr_ClearExcState:
   85|    101|{
   86|       |    Py_CLEAR(exc_state->exc_value);
  ------------------
  |  |  484|    101|    do { \
  |  |  485|    101|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|    101|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    101|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|    101|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    101|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    101|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 101]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|    101|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 101]
  |  |  ------------------
  ------------------
   87|    101|}
errors.c:_PyErr_Occurred:
   76|  59.3k|{
   77|  59.3k|    assert(tstate != NULL);
  ------------------
  |  Branch (77:5): [True: 59.3k, False: 0]
  ------------------
   78|  59.3k|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 58.7k, False: 523]
  ------------------
   79|  58.7k|        return NULL;
   80|  58.7k|    }
   81|    523|    return (PyObject *)Py_TYPE(tstate->current_exception);
  ------------------
  |  |  213|    523|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    523|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    523|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   82|  59.3k|}
gc.c:_PyErr_Occurred:
   76|  2.59k|{
   77|  2.59k|    assert(tstate != NULL);
  ------------------
  |  Branch (77:5): [True: 2.59k, False: 0]
  ------------------
   78|  2.59k|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 2.59k, False: 0]
  ------------------
   79|  2.59k|        return NULL;
   80|  2.59k|    }
   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.59k|}
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|    362|{
   77|    362|    assert(tstate != NULL);
  ------------------
  |  Branch (77:5): [True: 362, False: 0]
  ------------------
   78|    362|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 361, False: 1]
  ------------------
   79|    361|        return NULL;
   80|    361|    }
   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|    362|}
genobject.c:_PyErr_ClearExcState:
   85|     12|{
   86|       |    Py_CLEAR(exc_state->exc_value);
  ------------------
  |  |  484|     12|    do { \
  |  |  485|     12|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|     12|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     12|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|     12|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     12|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     12|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 12]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|     12|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 12]
  |  |  ------------------
  ------------------
   87|     12|}
genobject.c:_PyErr_Occurred:
   76|    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.23k|{
   77|  2.23k|    assert(tstate != NULL);
  ------------------
  |  Branch (77:5): [True: 2.23k, False: 0]
  ------------------
   78|  2.23k|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 2.23k, False: 0]
  ------------------
   79|  2.23k|        return NULL;
   80|  2.23k|    }
   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.23k|}

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

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

call.c:_PyThreadState_GET:
  117|  15.9k|{
  118|  15.9k|#if !defined(Py_BUILD_CORE_MODULE)
  119|  15.9k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  15.9k|}
call.c:_Py_get_machine_stack_pointer:
  336|  2.30k|_Py_get_machine_stack_pointer(void) {
  337|  2.30k|    uintptr_t result;
  338|       |#if defined(_M_ARM64)
  339|       |    result = __getReg(31);
  340|       |#elif defined(_M_X64) || defined(_M_IX86)
  341|       |    result = (uintptr_t)_AddressOfReturnAddress();
  342|       |#elif defined(__aarch64__)
  343|       |    __asm__ ("mov %0, sp" : "=r" (result));
  344|       |#elif defined(__x86_64__)
  345|       |    __asm__("{movq %%rsp, %0" : "=r" (result));
  346|       |#else
  347|       |    char here;
  348|       |    result = (uintptr_t)&here;
  349|       |#endif
  350|  2.30k|    return result;
  351|  2.30k|}
exceptions.c:_PyInterpreterState_GET:
  225|    323|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|    323|#if !defined(Py_BUILD_CORE_MODULE)
  231|    323|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|    323|}
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.70k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  9.70k|#if !defined(Py_BUILD_CORE_MODULE)
  231|  9.70k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  9.70k|}
listobject.c:_PyInterpreterState_GET:
  225|  5.72k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  5.72k|#if !defined(Py_BUILD_CORE_MODULE)
  231|  5.72k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  5.72k|}
longobject.c:_PyInterpreterState_GET:
  225|  2.24k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  2.24k|#if !defined(Py_BUILD_CORE_MODULE)
  231|  2.24k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  2.24k|}
dictobject.c:_PyInterpreterState_GET:
  225|  24.9k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  24.9k|#if !defined(Py_BUILD_CORE_MODULE)
  231|  24.9k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  24.9k|}
dictobject.c:_PyThreadState_GET:
  117|    155|{
  118|    155|#if !defined(Py_BUILD_CORE_MODULE)
  119|    155|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|    155|}
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|   324k|{
  118|   324k|#if !defined(Py_BUILD_CORE_MODULE)
  119|   324k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|   324k|}
object.c:_Py_get_machine_stack_pointer:
  336|  27.8k|_Py_get_machine_stack_pointer(void) {
  337|  27.8k|    uintptr_t result;
  338|       |#if defined(_M_ARM64)
  339|       |    result = __getReg(31);
  340|       |#elif defined(_M_X64) || defined(_M_IX86)
  341|       |    result = (uintptr_t)_AddressOfReturnAddress();
  342|       |#elif defined(__aarch64__)
  343|       |    __asm__ ("mov %0, sp" : "=r" (result));
  344|       |#elif defined(__x86_64__)
  345|       |    __asm__("{movq %%rsp, %0" : "=r" (result));
  346|       |#else
  347|       |    char here;
  348|       |    result = (uintptr_t)&here;
  349|       |#endif
  350|  27.8k|    return result;
  351|  27.8k|}
object.c:_PyInterpreterState_GET:
  225|    834|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|    834|#if !defined(Py_BUILD_CORE_MODULE)
  231|    834|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|    834|}
object.c:_Py_RecursionLimit_GetMargin:
  355|  18.4k|{
  356|  18.4k|    _PyThreadStateImpl *_tstate = (_PyThreadStateImpl *)tstate;
  357|  18.4k|    assert(_tstate->c_stack_hard_limit != 0);
  ------------------
  |  Branch (357:5): [True: 18.4k, False: 0]
  ------------------
  358|  18.4k|    intptr_t here_addr = _Py_get_machine_stack_pointer();
  359|  18.4k|#if _Py_STACK_GROWS_DOWN
  360|  18.4k|    return Py_ARITHMETIC_RIGHT_SHIFT(intptr_t, here_addr - (intptr_t)_tstate->c_stack_soft_limit, _PyOS_STACK_MARGIN_SHIFT);
  ------------------
  |  |  226|  18.4k|#define Py_ARITHMETIC_RIGHT_SHIFT(TYPE, I, J) ((I) >> (J))
  ------------------
  361|       |#else
  362|       |    return Py_ARITHMETIC_RIGHT_SHIFT(intptr_t, (intptr_t)_tstate->c_stack_soft_limit - here_addr, _PyOS_STACK_MARGIN_SHIFT);
  363|       |#endif
  364|  18.4k|}
object.c:_Py_AssertHoldsTstateFunc:
  320|   277k|{
  321|   277k|    PyThreadState *tstate = _PyThreadState_GET();
  322|   277k|    _Py_EnsureFuncTstateNotNULL(func, tstate);
  323|   277k|}
object.c:_Py_EnsureFuncTstateNotNULL:
  195|   277k|{
  196|   277k|    if (tstate == NULL) {
  ------------------
  |  Branch (196:9): [True: 0, False: 277k]
  ------------------
  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|   277k|}
obmalloc.c:_PyInterpreterState_GET:
  225|   691k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|   691k|#if !defined(Py_BUILD_CORE_MODULE)
  231|   691k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|   691k|}
obmalloc.c:_Py_IsMainInterpreter:
   61|      2|{
   62|      2|    return (interp == _PyInterpreterState_Main());
   63|      2|}
rangeobject.c:_PyInterpreterState_GET:
  225|    118|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|    118|#if !defined(Py_BUILD_CORE_MODULE)
  231|    118|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|    118|}
sentinelobject.c:_PyInterpreterState_GET:
  225|      3|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|      3|#if !defined(Py_BUILD_CORE_MODULE)
  231|      3|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|      3|}
sentinelobject.c:_PyThreadState_GET:
  117|      3|{
  118|      3|#if !defined(Py_BUILD_CORE_MODULE)
  119|      3|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|      3|}
setobject.c:_PyInterpreterState_GET:
  225|    726|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|    726|#if !defined(Py_BUILD_CORE_MODULE)
  231|    726|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|    726|}
sliceobject.c:_PyInterpreterState_GET:
  225|    388|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|    388|#if !defined(Py_BUILD_CORE_MODULE)
  231|    388|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|    388|}
tupleobject.c:_PyInterpreterState_GET:
  225|  38.9k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  38.9k|#if !defined(Py_BUILD_CORE_MODULE)
  231|  38.9k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  38.9k|}
typeobject.c:_PyInterpreterState_GET:
  225|  83.1k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  83.1k|#if !defined(Py_BUILD_CORE_MODULE)
  231|  83.1k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  83.1k|}
typeobject.c:_PyThreadState_GET:
  117|  46.8k|{
  118|  46.8k|#if !defined(Py_BUILD_CORE_MODULE)
  119|  46.8k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  46.8k|}
typeobject.c:_Py_IsMainInterpreter:
   61|    406|{
   62|    406|    return (interp == _PyInterpreterState_Main());
   63|    406|}
unicode_writer.c:_PyInterpreterState_GET:
  225|     48|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|     48|#if !defined(Py_BUILD_CORE_MODULE)
  231|     48|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|     48|}
unicode_writer.c:_Py_AssertHoldsTstateFunc:
  320|     28|{
  321|     28|    PyThreadState *tstate = _PyThreadState_GET();
  322|     28|    _Py_EnsureFuncTstateNotNULL(func, tstate);
  323|     28|}
unicode_writer.c:_PyThreadState_GET:
  117|     28|{
  118|     28|#if !defined(Py_BUILD_CORE_MODULE)
  119|     28|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|     28|}
unicode_writer.c:_Py_EnsureFuncTstateNotNULL:
  195|     28|{
  196|     28|    if (tstate == NULL) {
  ------------------
  |  Branch (196:9): [True: 0, False: 28]
  ------------------
  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|     28|}
unicodeobject.c:_PyInterpreterState_GET:
  225|  7.87k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  7.87k|#if !defined(Py_BUILD_CORE_MODULE)
  231|  7.87k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  7.87k|}
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|    575|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|    575|#if !defined(Py_BUILD_CORE_MODULE)
  231|    575|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|    575|}
_warnings.c:_PyThreadState_GET:
  117|     22|{
  118|     22|#if !defined(Py_BUILD_CORE_MODULE)
  119|     22|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|     22|}
_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|    366|{
  118|    366|#if !defined(Py_BUILD_CORE_MODULE)
  119|    366|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|    366|}
ceval.c:_Py_get_machine_stack_pointer:
  336|   346k|_Py_get_machine_stack_pointer(void) {
  337|   346k|    uintptr_t result;
  338|       |#if defined(_M_ARM64)
  339|       |    result = __getReg(31);
  340|       |#elif defined(_M_X64) || defined(_M_IX86)
  341|       |    result = (uintptr_t)_AddressOfReturnAddress();
  342|       |#elif defined(__aarch64__)
  343|       |    __asm__ ("mov %0, sp" : "=r" (result));
  344|       |#elif defined(__x86_64__)
  345|       |    __asm__("{movq %%rsp, %0" : "=r" (result));
  346|       |#else
  347|       |    char here;
  348|       |    result = (uintptr_t)&here;
  349|       |#endif
  350|   346k|    return result;
  351|   346k|}
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.16k|{
  196|  2.16k|    if (tstate == NULL) {
  ------------------
  |  Branch (196:9): [True: 0, False: 2.16k]
  ------------------
  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.16k|}
codecs.c:_PyInterpreterState_GET:
  225|     35|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|     35|#if !defined(Py_BUILD_CORE_MODULE)
  231|     35|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|     35|}
context.c:_PyThreadState_GET:
  117|     22|{
  118|     22|#if !defined(Py_BUILD_CORE_MODULE)
  119|     22|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|     22|}
errors.c:_PyThreadState_GET:
  117|   121k|{
  118|   121k|#if !defined(Py_BUILD_CORE_MODULE)
  119|   121k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|   121k|}
errors.c:_Py_AssertHoldsTstateFunc:
  320|  59.0k|{
  321|  59.0k|    PyThreadState *tstate = _PyThreadState_GET();
  322|  59.0k|    _Py_EnsureFuncTstateNotNULL(func, tstate);
  323|  59.0k|}
errors.c:_Py_EnsureFuncTstateNotNULL:
  195|  59.0k|{
  196|  59.0k|    if (tstate == NULL) {
  ------------------
  |  Branch (196:9): [True: 0, False: 59.0k]
  ------------------
  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.0k|}
frame.c:_PyThreadState_GET:
  117|  8.40k|{
  118|  8.40k|#if !defined(Py_BUILD_CORE_MODULE)
  119|  8.40k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  8.40k|}
frame.c:_PyInterpreterState_GET:
  225|    140|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|    140|#if !defined(Py_BUILD_CORE_MODULE)
  231|    140|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|    140|}
gc.c:_PyInterpreterState_GET:
  225|  18.4k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  18.4k|#if !defined(Py_BUILD_CORE_MODULE)
  231|  18.4k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  18.4k|}
gc.c:_PyThreadState_GET:
  117|  41.8k|{
  118|  41.8k|#if !defined(Py_BUILD_CORE_MODULE)
  119|  41.8k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  41.8k|}
ceval_gil.c:_PyThreadState_GET:
  117|  1.24k|{
  118|  1.24k|#if !defined(Py_BUILD_CORE_MODULE)
  119|  1.24k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  1.24k|}
ceval_gil.c:_Py_EnsureFuncTstateNotNULL:
  195|  2.48k|{
  196|  2.48k|    if (tstate == NULL) {
  ------------------
  |  Branch (196:9): [True: 0, False: 2.48k]
  ------------------
  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.48k|}
import.c:_PyThreadState_GET:
  117|    861|{
  118|    861|#if !defined(Py_BUILD_CORE_MODULE)
  119|    861|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|    861|}
import.c:_PyInterpreterState_GET:
  225|  1.05k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  1.05k|#if !defined(Py_BUILD_CORE_MODULE)
  231|  1.05k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  1.05k|}
import.c:_Py_IsMainInterpreter:
   61|     38|{
   62|     38|    return (interp == _PyInterpreterState_Main());
   63|     38|}
marshal.c:_PyInterpreterState_GET:
  225|  12.3k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  12.3k|#if !defined(Py_BUILD_CORE_MODULE)
  231|  12.3k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  12.3k|}
pylifecycle.c:_Py_IsMainInterpreter:
   61|      8|{
   62|      8|    return (interp == _PyInterpreterState_Main());
   63|      8|}
pystate.c:_Py_EnsureFuncTstateNotNULL:
  195|  4.16k|{
  196|  4.16k|    if (tstate == NULL) {
  ------------------
  |  Branch (196:9): [True: 0, False: 4.16k]
  ------------------
  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.16k|}
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.40k|{
  118|  2.40k|#if !defined(Py_BUILD_CORE_MODULE)
  119|  2.40k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  2.40k|}
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|    517|{
  118|    517|#if !defined(Py_BUILD_CORE_MODULE)
  119|    517|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|    517|}
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|}
typecache.c:_PyInterpreterState_GET:
  225|  20.0k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  20.0k|#if !defined(Py_BUILD_CORE_MODULE)
  231|  20.0k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  20.0k|}
dtoa.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|}
fileutils.c:_Py_AssertHoldsTstateFunc:
  320|     86|{
  321|     86|    PyThreadState *tstate = _PyThreadState_GET();
  322|     86|    _Py_EnsureFuncTstateNotNULL(func, tstate);
  323|     86|}
fileutils.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|}
fileutils.c:_Py_EnsureFuncTstateNotNULL:
  195|     86|{
  196|     86|    if (tstate == NULL) {
  ------------------
  |  Branch (196:9): [True: 0, False: 86]
  ------------------
  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|     86|}
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:_Py_IsMainInterpreter:
   61|    456|{
   62|    456|    return (interp == _PyInterpreterState_Main());
   63|    456|}
signalmodule.c:_PyThreadState_GET:
  117|    456|{
  118|    456|#if !defined(Py_BUILD_CORE_MODULE)
  119|    456|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|    456|}
signalmodule.c:_Py_ThreadCanHandleSignals:
   84|    456|{
   85|    456|    return (_Py_IsMainThread() && _Py_IsMainInterpreter(interp));
  ------------------
  |  Branch (85:13): [True: 456, False: 0]
  |  Branch (85:35): [True: 456, False: 0]
  ------------------
   86|    456|}
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.86k|{
  118|  1.86k|#if !defined(Py_BUILD_CORE_MODULE)
  119|  1.86k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  1.86k|}
abstract.c:_Py_get_machine_stack_pointer:
  336|    126|_Py_get_machine_stack_pointer(void) {
  337|    126|    uintptr_t result;
  338|       |#if defined(_M_ARM64)
  339|       |    result = __getReg(31);
  340|       |#elif defined(_M_X64) || defined(_M_IX86)
  341|       |    result = (uintptr_t)_AddressOfReturnAddress();
  342|       |#elif defined(__aarch64__)
  343|       |    __asm__ ("mov %0, sp" : "=r" (result));
  344|       |#elif defined(__x86_64__)
  345|       |    __asm__("{movq %%rsp, %0" : "=r" (result));
  346|       |#else
  347|       |    char here;
  348|       |    result = (uintptr_t)&here;
  349|       |#endif
  350|    126|    return result;
  351|    126|}
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|    214|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|    214|#if !defined(Py_BUILD_CORE_MODULE)
  231|    214|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|    214|}
cellobject.c:_PyInterpreterState_GET:
  225|    648|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|    648|#if !defined(Py_BUILD_CORE_MODULE)
  231|    648|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|    648|}
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.3k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  13.3k|#if !defined(Py_BUILD_CORE_MODULE)
  231|  13.3k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  13.3k|}
complexobject.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|}
descrobject.c:_PyInterpreterState_GET:
  225|    951|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|    951|#if !defined(Py_BUILD_CORE_MODULE)
  231|    951|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|    951|}
descrobject.c:_PyThreadState_GET:
  117|  1.42k|{
  118|  1.42k|#if !defined(Py_BUILD_CORE_MODULE)
  119|  1.42k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  1.42k|}
descrobject.c:_Py_get_machine_stack_pointer:
  336|  1.42k|_Py_get_machine_stack_pointer(void) {
  337|  1.42k|    uintptr_t result;
  338|       |#if defined(_M_ARM64)
  339|       |    result = __getReg(31);
  340|       |#elif defined(_M_X64) || defined(_M_IX86)
  341|       |    result = (uintptr_t)_AddressOfReturnAddress();
  342|       |#elif defined(__aarch64__)
  343|       |    __asm__ ("mov %0, sp" : "=r" (result));
  344|       |#elif defined(__x86_64__)
  345|       |    __asm__("{movq %%rsp, %0" : "=r" (result));
  346|       |#else
  347|       |    char here;
  348|       |    result = (uintptr_t)&here;
  349|       |#endif
  350|  1.42k|    return result;
  351|  1.42k|}
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|     13|{
  118|     13|#if !defined(Py_BUILD_CORE_MODULE)
  119|     13|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|     13|}
genobject.c:_PyInterpreterState_GET:
  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|    707|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|    707|#if !defined(Py_BUILD_CORE_MODULE)
  231|    707|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|    707|}
frameobject.c:_PyInterpreterState_GET:
  225|    140|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|    140|#if !defined(Py_BUILD_CORE_MODULE)
  231|    140|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|    140|}
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|     14|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|     14|#if !defined(Py_BUILD_CORE_MODULE)
  231|     14|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|     14|}
memoryobject.c:_PyInterpreterState_GET:
  225|    250|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|    250|#if !defined(Py_BUILD_CORE_MODULE)
  231|    250|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|    250|}
methodobject.c:_PyInterpreterState_GET:
  225|  5.88k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  5.88k|#if !defined(Py_BUILD_CORE_MODULE)
  231|  5.88k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  5.88k|}
methodobject.c:_PyThreadState_GET:
  117|  3.26k|{
  118|  3.26k|#if !defined(Py_BUILD_CORE_MODULE)
  119|  3.26k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  3.26k|}
methodobject.c:_Py_get_machine_stack_pointer:
  336|  3.15k|_Py_get_machine_stack_pointer(void) {
  337|  3.15k|    uintptr_t result;
  338|       |#if defined(_M_ARM64)
  339|       |    result = __getReg(31);
  340|       |#elif defined(_M_X64) || defined(_M_IX86)
  341|       |    result = (uintptr_t)_AddressOfReturnAddress();
  342|       |#elif defined(__aarch64__)
  343|       |    __asm__ ("mov %0, sp" : "=r" (result));
  344|       |#elif defined(__x86_64__)
  345|       |    __asm__("{movq %%rsp, %0" : "=r" (result));
  346|       |#else
  347|       |    char here;
  348|       |    result = (uintptr_t)&here;
  349|       |#endif
  350|  3.15k|    return result;
  351|  3.15k|}
Python-ast.c:_PyInterpreterState_GET:
  225|    100|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|    100|#if !defined(Py_BUILD_CORE_MODULE)
  231|    100|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|    100|}
crossinterp.c:_Py_IsMainInterpreter:
   61|      2|{
   62|      2|    return (interp == _PyInterpreterState_Main());
   63|      2|}
pegen.c:_PyInterpreterState_GET:
  225|    141|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|    141|#if !defined(Py_BUILD_CORE_MODULE)
  231|    141|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|    141|}
parser.c:_Py_get_machine_stack_pointer:
  336|   342k|_Py_get_machine_stack_pointer(void) {
  337|   342k|    uintptr_t result;
  338|       |#if defined(_M_ARM64)
  339|       |    result = __getReg(31);
  340|       |#elif defined(_M_X64) || defined(_M_IX86)
  341|       |    result = (uintptr_t)_AddressOfReturnAddress();
  342|       |#elif defined(__aarch64__)
  343|       |    __asm__ ("mov %0, sp" : "=r" (result));
  344|       |#elif defined(__x86_64__)
  345|       |    __asm__("{movq %%rsp, %0" : "=r" (result));
  346|       |#else
  347|       |    char here;
  348|       |    result = (uintptr_t)&here;
  349|       |#endif
  350|   342k|    return result;
  351|   342k|}

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

typeobject.c:_PySlot_heaptype_apply_field_slot:
  381|    790|{
  382|    790|    switch (slot.sl_id) {
  ------------------
  |  Branch (382:13): [True: 789, False: 1]
  ------------------
  383|      1|        case Py_mp_subscript:
  ------------------
  |  |   13|      1|#define Py_mp_subscript 5
  ------------------
  |  Branch (383:9): [True: 1, False: 789]
  ------------------
  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: 790]
  ------------------
  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: 790]
  ------------------
  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: 790]
  ------------------
  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: 790]
  ------------------
  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: 790]
  ------------------
  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: 790]
  ------------------
  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: 790]
  ------------------
  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: 790]
  ------------------
  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: 790]
  ------------------
  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: 790]
  ------------------
  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: 790]
  ------------------
  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: 790]
  ------------------
  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: 790]
  ------------------
  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: 790]
  ------------------
  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: 790]
  ------------------
  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: 790]
  ------------------
  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: 790]
  ------------------
  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: 790]
  ------------------
  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: 790]
  ------------------
  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: 790]
  ------------------
  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: 790]
  ------------------
  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: 790]
  ------------------
  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: 790]
  ------------------
  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: 790]
  ------------------
  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: 790]
  ------------------
  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: 785]
  ------------------
  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: 790]
  ------------------
  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: 790]
  ------------------
  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: 790]
  ------------------
  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: 790]
  ------------------
  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: 790]
  ------------------
  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: 790]
  ------------------
  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: 790]
  ------------------
  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: 789]
  ------------------
  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: 789]
  ------------------
  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: 789]
  ------------------
  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: 789]
  ------------------
  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: 789]
  ------------------
  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: 789]
  ------------------
  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: 789]
  ------------------
  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: 789]
  ------------------
  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: 769]
  ------------------
  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: 790]
  ------------------
  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: 790]
  ------------------
  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: 782]
  ------------------
  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: 736]
  ------------------
  522|     54|            ht->ht_type.tp_clear = (inquiry)slot.sl_func;
  523|     54|            break;
  524|    116|        case Py_tp_dealloc:
  ------------------
  |  |   60|    116|#define Py_tp_dealloc 52
  ------------------
  |  Branch (524:9): [True: 116, False: 674]
  ------------------
  525|    116|            ht->ht_type.tp_dealloc = (destructor)slot.sl_func;
  526|    116|            break;
  527|      0|        case Py_tp_del:
  ------------------
  |  |   61|      0|#define Py_tp_del 53
  ------------------
  |  Branch (527:9): [True: 0, False: 790]
  ------------------
  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: 787]
  ------------------
  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: 789]
  ------------------
  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: 790]
  ------------------
  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: 790]
  ------------------
  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: 755]
  ------------------
  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: 788]
  ------------------
  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: 769]
  ------------------
  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: 790]
  ------------------
  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: 756]
  ------------------
  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: 751]
  ------------------
  558|     39|            ht->ht_type.tp_iternext = (iternextfunc)slot.sl_func;
  559|     39|            break;
  560|     89|        case Py_tp_methods:
  ------------------
  |  |   72|     89|#define Py_tp_methods 64
  ------------------
  |  Branch (560:9): [True: 89, False: 701]
  ------------------
  561|     89|            ht->ht_type.tp_methods = slot.sl_ptr;
  562|     89|            break;
  563|     78|        case Py_tp_new:
  ------------------
  |  |   73|     78|#define Py_tp_new 65
  ------------------
  |  Branch (563:9): [True: 78, False: 712]
  ------------------
  564|     78|            ht->ht_type.tp_new = (newfunc)slot.sl_func;
  565|     78|            break;
  566|     64|        case Py_tp_repr:
  ------------------
  |  |   74|     64|#define Py_tp_repr 66
  ------------------
  |  Branch (566:9): [True: 64, False: 726]
  ------------------
  567|     64|            ht->ht_type.tp_repr = (reprfunc)slot.sl_func;
  568|     64|            break;
  569|      7|        case Py_tp_richcompare:
  ------------------
  |  |   75|      7|#define Py_tp_richcompare 67
  ------------------
  |  Branch (569:9): [True: 7, False: 783]
  ------------------
  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: 790]
  ------------------
  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: 786]
  ------------------
  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: 789]
  ------------------
  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: 682]
  ------------------
  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: 790]
  ------------------
  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: 748]
  ------------------
  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: 750]
  ------------------
  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: 790]
  ------------------
  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: 790]
  ------------------
  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: 790]
  ------------------
  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: 790]
  ------------------
  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: 790]
  ------------------
  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: 786]
  ------------------
  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: 790]
  ------------------
  612|      0|            ht->as_async.am_send = (sendfunc)slot.sl_func;
  613|      0|            break;
  614|      0|        case Py_tp_vectorcall:
  ------------------
  |  |   90|      0|#define Py_tp_vectorcall 82
  ------------------
  |  Branch (614:9): [True: 0, False: 790]
  ------------------
  615|      0|            ht->ht_type.tp_vectorcall = (vectorcallfunc)slot.sl_func;
  616|      0|            break;
  617|      2|        case Py_bf_getbuffer:
  ------------------
  |  |   96|      2|#define Py_bf_getbuffer _Py_SLOT_COMPAT_VALUE(1, 88)
  |  |  ------------------
  |  |  |  |    7|      2|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (617:9): [True: 2, False: 788]
  ------------------
  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: 788]
  ------------------
  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: 790]
  ------------------
  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: 790]
  ------------------
  627|      0|            ht->as_mapping.mp_length = (lenfunc)slot.sl_func;
  628|      0|            break;
  629|    790|    }
  630|    790|}
typeobject.c:_PySlot_resolve_type_slot:
    8|     42|{
    9|     42|    switch (slot_id) {
   10|      0|        case 1:
  ------------------
  |  Branch (10:9): [True: 0, False: 42]
  ------------------
   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: 42]
  ------------------
   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: 42]
  ------------------
   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: 42]
  ------------------
   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: 42]
  ------------------
   19|      0|        case Py_mp_subscript:
  ------------------
  |  |   13|      0|#define Py_mp_subscript 5
  ------------------
  |  Branch (19:9): [True: 0, False: 42]
  ------------------
   20|      0|        case Py_nb_absolute:
  ------------------
  |  |   14|      0|#define Py_nb_absolute 6
  ------------------
  |  Branch (20:9): [True: 0, False: 42]
  ------------------
   21|      0|        case Py_nb_add:
  ------------------
  |  |   15|      0|#define Py_nb_add 7
  ------------------
  |  Branch (21:9): [True: 0, False: 42]
  ------------------
   22|      0|        case Py_nb_and:
  ------------------
  |  |   16|      0|#define Py_nb_and 8
  ------------------
  |  Branch (22:9): [True: 0, False: 42]
  ------------------
   23|      0|        case Py_nb_bool:
  ------------------
  |  |   17|      0|#define Py_nb_bool 9
  ------------------
  |  Branch (23:9): [True: 0, False: 42]
  ------------------
   24|      0|        case Py_nb_divmod:
  ------------------
  |  |   18|      0|#define Py_nb_divmod 10
  ------------------
  |  Branch (24:9): [True: 0, False: 42]
  ------------------
   25|      0|        case Py_nb_float:
  ------------------
  |  |   19|      0|#define Py_nb_float 11
  ------------------
  |  Branch (25:9): [True: 0, False: 42]
  ------------------
   26|      0|        case Py_nb_floor_divide:
  ------------------
  |  |   20|      0|#define Py_nb_floor_divide 12
  ------------------
  |  Branch (26:9): [True: 0, False: 42]
  ------------------
   27|      0|        case Py_nb_index:
  ------------------
  |  |   21|      0|#define Py_nb_index 13
  ------------------
  |  Branch (27:9): [True: 0, False: 42]
  ------------------
   28|      0|        case Py_nb_inplace_add:
  ------------------
  |  |   22|      0|#define Py_nb_inplace_add 14
  ------------------
  |  Branch (28:9): [True: 0, False: 42]
  ------------------
   29|      0|        case Py_nb_inplace_and:
  ------------------
  |  |   23|      0|#define Py_nb_inplace_and 15
  ------------------
  |  Branch (29:9): [True: 0, False: 42]
  ------------------
   30|      0|        case Py_nb_inplace_floor_divide:
  ------------------
  |  |   24|      0|#define Py_nb_inplace_floor_divide 16
  ------------------
  |  Branch (30:9): [True: 0, False: 42]
  ------------------
   31|      0|        case Py_nb_inplace_lshift:
  ------------------
  |  |   25|      0|#define Py_nb_inplace_lshift 17
  ------------------
  |  Branch (31:9): [True: 0, False: 42]
  ------------------
   32|      0|        case Py_nb_inplace_multiply:
  ------------------
  |  |   26|      0|#define Py_nb_inplace_multiply 18
  ------------------
  |  Branch (32:9): [True: 0, False: 42]
  ------------------
   33|      0|        case Py_nb_inplace_or:
  ------------------
  |  |   27|      0|#define Py_nb_inplace_or 19
  ------------------
  |  Branch (33:9): [True: 0, False: 42]
  ------------------
   34|      0|        case Py_nb_inplace_power:
  ------------------
  |  |   28|      0|#define Py_nb_inplace_power 20
  ------------------
  |  Branch (34:9): [True: 0, False: 42]
  ------------------
   35|      0|        case Py_nb_inplace_remainder:
  ------------------
  |  |   29|      0|#define Py_nb_inplace_remainder 21
  ------------------
  |  Branch (35:9): [True: 0, False: 42]
  ------------------
   36|      0|        case Py_nb_inplace_rshift:
  ------------------
  |  |   30|      0|#define Py_nb_inplace_rshift 22
  ------------------
  |  Branch (36:9): [True: 0, False: 42]
  ------------------
   37|      0|        case Py_nb_inplace_subtract:
  ------------------
  |  |   31|      0|#define Py_nb_inplace_subtract 23
  ------------------
  |  Branch (37:9): [True: 0, False: 42]
  ------------------
   38|      0|        case Py_nb_inplace_true_divide:
  ------------------
  |  |   32|      0|#define Py_nb_inplace_true_divide 24
  ------------------
  |  Branch (38:9): [True: 0, False: 42]
  ------------------
   39|      0|        case Py_nb_inplace_xor:
  ------------------
  |  |   33|      0|#define Py_nb_inplace_xor 25
  ------------------
  |  Branch (39:9): [True: 0, False: 42]
  ------------------
   40|      0|        case Py_nb_int:
  ------------------
  |  |   34|      0|#define Py_nb_int 26
  ------------------
  |  Branch (40:9): [True: 0, False: 42]
  ------------------
   41|      0|        case Py_nb_invert:
  ------------------
  |  |   35|      0|#define Py_nb_invert 27
  ------------------
  |  Branch (41:9): [True: 0, False: 42]
  ------------------
   42|      0|        case Py_nb_lshift:
  ------------------
  |  |   36|      0|#define Py_nb_lshift 28
  ------------------
  |  Branch (42:9): [True: 0, False: 42]
  ------------------
   43|      0|        case Py_nb_multiply:
  ------------------
  |  |   37|      0|#define Py_nb_multiply 29
  ------------------
  |  Branch (43:9): [True: 0, False: 42]
  ------------------
   44|      0|        case Py_nb_negative:
  ------------------
  |  |   38|      0|#define Py_nb_negative 30
  ------------------
  |  Branch (44:9): [True: 0, False: 42]
  ------------------
   45|      0|        case Py_nb_or:
  ------------------
  |  |   39|      0|#define Py_nb_or 31
  ------------------
  |  Branch (45:9): [True: 0, False: 42]
  ------------------
   46|      0|        case Py_nb_positive:
  ------------------
  |  |   40|      0|#define Py_nb_positive 32
  ------------------
  |  Branch (46:9): [True: 0, False: 42]
  ------------------
   47|      0|        case Py_nb_power:
  ------------------
  |  |   41|      0|#define Py_nb_power 33
  ------------------
  |  Branch (47:9): [True: 0, False: 42]
  ------------------
   48|      0|        case Py_nb_remainder:
  ------------------
  |  |   42|      0|#define Py_nb_remainder 34
  ------------------
  |  Branch (48:9): [True: 0, False: 42]
  ------------------
   49|      0|        case Py_nb_rshift:
  ------------------
  |  |   43|      0|#define Py_nb_rshift 35
  ------------------
  |  Branch (49:9): [True: 0, False: 42]
  ------------------
   50|      0|        case Py_nb_subtract:
  ------------------
  |  |   44|      0|#define Py_nb_subtract 36
  ------------------
  |  Branch (50:9): [True: 0, False: 42]
  ------------------
   51|      0|        case Py_nb_true_divide:
  ------------------
  |  |   45|      0|#define Py_nb_true_divide 37
  ------------------
  |  Branch (51:9): [True: 0, False: 42]
  ------------------
   52|      0|        case Py_nb_xor:
  ------------------
  |  |   46|      0|#define Py_nb_xor 38
  ------------------
  |  Branch (52:9): [True: 0, False: 42]
  ------------------
   53|      0|        case Py_sq_ass_item:
  ------------------
  |  |   47|      0|#define Py_sq_ass_item 39
  ------------------
  |  Branch (53:9): [True: 0, False: 42]
  ------------------
   54|      0|        case Py_sq_concat:
  ------------------
  |  |   48|      0|#define Py_sq_concat 40
  ------------------
  |  Branch (54:9): [True: 0, False: 42]
  ------------------
   55|      0|        case Py_sq_contains:
  ------------------
  |  |   49|      0|#define Py_sq_contains 41
  ------------------
  |  Branch (55:9): [True: 0, False: 42]
  ------------------
   56|      0|        case Py_sq_inplace_concat:
  ------------------
  |  |   50|      0|#define Py_sq_inplace_concat 42
  ------------------
  |  Branch (56:9): [True: 0, False: 42]
  ------------------
   57|      0|        case Py_sq_inplace_repeat:
  ------------------
  |  |   51|      0|#define Py_sq_inplace_repeat 43
  ------------------
  |  Branch (57:9): [True: 0, False: 42]
  ------------------
   58|      0|        case Py_sq_item:
  ------------------
  |  |   52|      0|#define Py_sq_item 44
  ------------------
  |  Branch (58:9): [True: 0, False: 42]
  ------------------
   59|      0|        case Py_sq_length:
  ------------------
  |  |   53|      0|#define Py_sq_length 45
  ------------------
  |  Branch (59:9): [True: 0, False: 42]
  ------------------
   60|      0|        case Py_sq_repeat:
  ------------------
  |  |   54|      0|#define Py_sq_repeat 46
  ------------------
  |  Branch (60:9): [True: 0, False: 42]
  ------------------
   61|      0|        case Py_tp_alloc:
  ------------------
  |  |   55|      0|#define Py_tp_alloc 47
  ------------------
  |  Branch (61:9): [True: 0, False: 42]
  ------------------
   62|      0|        case Py_tp_base:
  ------------------
  |  |   56|      0|#define Py_tp_base 48
  ------------------
  |  Branch (62:9): [True: 0, False: 42]
  ------------------
   63|      0|        case Py_tp_bases:
  ------------------
  |  |   57|      0|#define Py_tp_bases 49
  ------------------
  |  Branch (63:9): [True: 0, False: 42]
  ------------------
   64|      0|        case Py_tp_call:
  ------------------
  |  |   58|      0|#define Py_tp_call 50
  ------------------
  |  Branch (64:9): [True: 0, False: 42]
  ------------------
   65|      0|        case Py_tp_clear:
  ------------------
  |  |   59|      0|#define Py_tp_clear 51
  ------------------
  |  Branch (65:9): [True: 0, False: 42]
  ------------------
   66|      0|        case Py_tp_dealloc:
  ------------------
  |  |   60|      0|#define Py_tp_dealloc 52
  ------------------
  |  Branch (66:9): [True: 0, False: 42]
  ------------------
   67|      0|        case Py_tp_del:
  ------------------
  |  |   61|      0|#define Py_tp_del 53
  ------------------
  |  Branch (67:9): [True: 0, False: 42]
  ------------------
   68|      0|        case Py_tp_descr_get:
  ------------------
  |  |   62|      0|#define Py_tp_descr_get 54
  ------------------
  |  Branch (68:9): [True: 0, False: 42]
  ------------------
   69|      0|        case Py_tp_descr_set:
  ------------------
  |  |   63|      0|#define Py_tp_descr_set 55
  ------------------
  |  Branch (69:9): [True: 0, False: 42]
  ------------------
   70|      0|        case Py_tp_doc:
  ------------------
  |  |   64|      0|#define Py_tp_doc 56
  ------------------
  |  Branch (70:9): [True: 0, False: 42]
  ------------------
   71|      0|        case Py_tp_getattr:
  ------------------
  |  |   65|      0|#define Py_tp_getattr 57
  ------------------
  |  Branch (71:9): [True: 0, False: 42]
  ------------------
   72|      0|        case Py_tp_getattro:
  ------------------
  |  |   66|      0|#define Py_tp_getattro 58
  ------------------
  |  Branch (72:9): [True: 0, False: 42]
  ------------------
   73|      0|        case Py_tp_hash:
  ------------------
  |  |   67|      0|#define Py_tp_hash 59
  ------------------
  |  Branch (73:9): [True: 0, False: 42]
  ------------------
   74|      0|        case Py_tp_init:
  ------------------
  |  |   68|      0|#define Py_tp_init 60
  ------------------
  |  Branch (74:9): [True: 0, False: 42]
  ------------------
   75|      0|        case Py_tp_is_gc:
  ------------------
  |  |   69|      0|#define Py_tp_is_gc 61
  ------------------
  |  Branch (75:9): [True: 0, False: 42]
  ------------------
   76|      0|        case Py_tp_iter:
  ------------------
  |  |   70|      0|#define Py_tp_iter 62
  ------------------
  |  Branch (76:9): [True: 0, False: 42]
  ------------------
   77|      0|        case Py_tp_iternext:
  ------------------
  |  |   71|      0|#define Py_tp_iternext 63
  ------------------
  |  Branch (77:9): [True: 0, False: 42]
  ------------------
   78|      0|        case Py_tp_methods:
  ------------------
  |  |   72|      0|#define Py_tp_methods 64
  ------------------
  |  Branch (78:9): [True: 0, False: 42]
  ------------------
   79|      0|        case Py_tp_new:
  ------------------
  |  |   73|      0|#define Py_tp_new 65
  ------------------
  |  Branch (79:9): [True: 0, False: 42]
  ------------------
   80|      0|        case Py_tp_repr:
  ------------------
  |  |   74|      0|#define Py_tp_repr 66
  ------------------
  |  Branch (80:9): [True: 0, False: 42]
  ------------------
   81|      0|        case Py_tp_richcompare:
  ------------------
  |  |   75|      0|#define Py_tp_richcompare 67
  ------------------
  |  Branch (81:9): [True: 0, False: 42]
  ------------------
   82|      0|        case Py_tp_setattr:
  ------------------
  |  |   76|      0|#define Py_tp_setattr 68
  ------------------
  |  Branch (82:9): [True: 0, False: 42]
  ------------------
   83|      0|        case Py_tp_setattro:
  ------------------
  |  |   77|      0|#define Py_tp_setattro 69
  ------------------
  |  Branch (83:9): [True: 0, False: 42]
  ------------------
   84|      0|        case Py_tp_str:
  ------------------
  |  |   78|      0|#define Py_tp_str 70
  ------------------
  |  Branch (84:9): [True: 0, False: 42]
  ------------------
   85|      0|        case Py_tp_traverse:
  ------------------
  |  |   79|      0|#define Py_tp_traverse 71
  ------------------
  |  Branch (85:9): [True: 0, False: 42]
  ------------------
   86|      0|        case Py_tp_members:
  ------------------
  |  |   80|      0|#define Py_tp_members 72
  ------------------
  |  Branch (86:9): [True: 0, False: 42]
  ------------------
   87|      0|        case Py_tp_getset:
  ------------------
  |  |   81|      0|#define Py_tp_getset 73
  ------------------
  |  Branch (87:9): [True: 0, False: 42]
  ------------------
   88|     42|        case Py_tp_free:
  ------------------
  |  |   82|     42|#define Py_tp_free 74
  ------------------
  |  Branch (88:9): [True: 42, False: 0]
  ------------------
   89|     42|        case Py_nb_matrix_multiply:
  ------------------
  |  |   83|     42|#define Py_nb_matrix_multiply 75
  ------------------
  |  Branch (89:9): [True: 0, False: 42]
  ------------------
   90|     42|        case Py_nb_inplace_matrix_multiply:
  ------------------
  |  |   84|     42|#define Py_nb_inplace_matrix_multiply 76
  ------------------
  |  Branch (90:9): [True: 0, False: 42]
  ------------------
   91|     42|        case Py_am_await:
  ------------------
  |  |   85|     42|#define Py_am_await 77
  ------------------
  |  Branch (91:9): [True: 0, False: 42]
  ------------------
   92|     42|        case Py_am_aiter:
  ------------------
  |  |   86|     42|#define Py_am_aiter 78
  ------------------
  |  Branch (92:9): [True: 0, False: 42]
  ------------------
   93|     42|        case Py_am_anext:
  ------------------
  |  |   87|     42|#define Py_am_anext 79
  ------------------
  |  Branch (93:9): [True: 0, False: 42]
  ------------------
   94|     42|        case Py_tp_finalize:
  ------------------
  |  |   88|     42|#define Py_tp_finalize 80
  ------------------
  |  Branch (94:9): [True: 0, False: 42]
  ------------------
   95|     42|        case Py_am_send:
  ------------------
  |  |   89|     42|#define Py_am_send 81
  ------------------
  |  Branch (95:9): [True: 0, False: 42]
  ------------------
   96|     42|        case Py_tp_vectorcall:
  ------------------
  |  |   90|     42|#define Py_tp_vectorcall 82
  ------------------
  |  Branch (96:9): [True: 0, False: 42]
  ------------------
   97|     42|        case Py_tp_token:
  ------------------
  |  |   91|     42|#define Py_tp_token 83
  ------------------
  |  Branch (97:9): [True: 0, False: 42]
  ------------------
   98|     42|        case Py_bf_getbuffer:
  ------------------
  |  |   96|     42|#define Py_bf_getbuffer _Py_SLOT_COMPAT_VALUE(1, 88)
  |  |  ------------------
  |  |  |  |    7|     42|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (98:9): [True: 0, False: 42]
  ------------------
   99|     42|        case Py_bf_releasebuffer:
  ------------------
  |  |   97|     42|#define Py_bf_releasebuffer _Py_SLOT_COMPAT_VALUE(2, 89)
  |  |  ------------------
  |  |  |  |    7|     42|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (99:9): [True: 0, False: 42]
  ------------------
  100|     42|        case Py_mp_ass_subscript:
  ------------------
  |  |   98|     42|#define Py_mp_ass_subscript _Py_SLOT_COMPAT_VALUE(3, 90)
  |  |  ------------------
  |  |  |  |    7|     42|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (100:9): [True: 0, False: 42]
  ------------------
  101|     42|        case Py_mp_length:
  ------------------
  |  |   99|     42|#define Py_mp_length _Py_SLOT_COMPAT_VALUE(4, 91)
  |  |  ------------------
  |  |  |  |    7|     42|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (101:9): [True: 0, False: 42]
  ------------------
  102|     42|        case Py_slot_subslots:
  ------------------
  |  |  100|     42|#define Py_slot_subslots 92
  ------------------
  |  Branch (102:9): [True: 0, False: 42]
  ------------------
  103|     42|        case Py_tp_slots:
  ------------------
  |  |  101|     42|#define Py_tp_slots 93
  ------------------
  |  Branch (103:9): [True: 0, False: 42]
  ------------------
  104|     42|        case Py_tp_name:
  ------------------
  |  |  103|     42|#define Py_tp_name 95
  ------------------
  |  Branch (104:9): [True: 0, False: 42]
  ------------------
  105|     42|        case Py_tp_basicsize:
  ------------------
  |  |  104|     42|#define Py_tp_basicsize 96
  ------------------
  |  Branch (105:9): [True: 0, False: 42]
  ------------------
  106|     42|        case Py_tp_extra_basicsize:
  ------------------
  |  |  105|     42|#define Py_tp_extra_basicsize 97
  ------------------
  |  Branch (106:9): [True: 0, False: 42]
  ------------------
  107|     42|        case Py_tp_itemsize:
  ------------------
  |  |  106|     42|#define Py_tp_itemsize 98
  ------------------
  |  Branch (107:9): [True: 0, False: 42]
  ------------------
  108|     42|        case Py_tp_flags:
  ------------------
  |  |  107|     42|#define Py_tp_flags 99
  ------------------
  |  Branch (108:9): [True: 0, False: 42]
  ------------------
  109|     42|        case Py_tp_metaclass:
  ------------------
  |  |  115|     42|#define Py_tp_metaclass 107
  ------------------
  |  Branch (109:9): [True: 0, False: 42]
  ------------------
  110|     42|        case Py_tp_module:
  ------------------
  |  |  116|     42|#define Py_tp_module 108
  ------------------
  |  Branch (110:9): [True: 0, False: 42]
  ------------------
  111|     42|            return slot_id;
  112|      0|        default:
  ------------------
  |  Branch (112:9): [True: 0, False: 42]
  ------------------
  113|      0|            return Py_slot_invalid;
  ------------------
  |  |   25|      0|#define Py_slot_invalid 0xffff
  ------------------
  114|     42|    }
  115|     42|}
typeobject.c:_PySlot_type_getslot:
  153|     42|{
  154|     42|    switch (slot_id) {
  ------------------
  |  Branch (154:13): [True: 42, False: 0]
  ------------------
  155|      0|        case Py_mp_subscript:
  ------------------
  |  |   13|      0|#define Py_mp_subscript 5
  ------------------
  |  Branch (155:9): [True: 0, False: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  334|      0|            return (void*)tp->tp_getset;
  335|     42|        case Py_tp_free:
  ------------------
  |  |   82|     42|#define Py_tp_free 74
  ------------------
  |  Branch (335:9): [True: 42, False: 0]
  ------------------
  336|     42|            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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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: 42]
  ------------------
  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|     42|    }
  375|      0|    _PySlot_err_bad_slot("PyType_GetSlot", slot_id);
  376|       |    return NULL;
  377|     42|}
slots.c:_PySlot_resolve_type_slot:
    8|  2.15k|{
    9|  2.15k|    switch (slot_id) {
   10|      0|        case 1:
  ------------------
  |  Branch (10:9): [True: 0, False: 2.15k]
  ------------------
   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.15k]
  ------------------
   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.15k]
  ------------------
   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.15k]
  ------------------
   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|    244|        case Py_slot_end:
  ------------------
  |  |   12|    244|#define Py_slot_end 0
  ------------------
  |  Branch (18:9): [True: 244, False: 1.91k]
  ------------------
   19|    246|        case Py_mp_subscript:
  ------------------
  |  |   13|    246|#define Py_mp_subscript 5
  ------------------
  |  Branch (19:9): [True: 2, False: 2.15k]
  ------------------
   20|    246|        case Py_nb_absolute:
  ------------------
  |  |   14|    246|#define Py_nb_absolute 6
  ------------------
  |  Branch (20:9): [True: 0, False: 2.15k]
  ------------------
   21|    246|        case Py_nb_add:
  ------------------
  |  |   15|    246|#define Py_nb_add 7
  ------------------
  |  Branch (21:9): [True: 0, False: 2.15k]
  ------------------
   22|    246|        case Py_nb_and:
  ------------------
  |  |   16|    246|#define Py_nb_and 8
  ------------------
  |  Branch (22:9): [True: 0, False: 2.15k]
  ------------------
   23|    246|        case Py_nb_bool:
  ------------------
  |  |   17|    246|#define Py_nb_bool 9
  ------------------
  |  Branch (23:9): [True: 0, False: 2.15k]
  ------------------
   24|    246|        case Py_nb_divmod:
  ------------------
  |  |   18|    246|#define Py_nb_divmod 10
  ------------------
  |  Branch (24:9): [True: 0, False: 2.15k]
  ------------------
   25|    246|        case Py_nb_float:
  ------------------
  |  |   19|    246|#define Py_nb_float 11
  ------------------
  |  Branch (25:9): [True: 0, False: 2.15k]
  ------------------
   26|    246|        case Py_nb_floor_divide:
  ------------------
  |  |   20|    246|#define Py_nb_floor_divide 12
  ------------------
  |  Branch (26:9): [True: 0, False: 2.15k]
  ------------------
   27|    246|        case Py_nb_index:
  ------------------
  |  |   21|    246|#define Py_nb_index 13
  ------------------
  |  Branch (27:9): [True: 0, False: 2.15k]
  ------------------
   28|    246|        case Py_nb_inplace_add:
  ------------------
  |  |   22|    246|#define Py_nb_inplace_add 14
  ------------------
  |  Branch (28:9): [True: 0, False: 2.15k]
  ------------------
   29|    246|        case Py_nb_inplace_and:
  ------------------
  |  |   23|    246|#define Py_nb_inplace_and 15
  ------------------
  |  Branch (29:9): [True: 0, False: 2.15k]
  ------------------
   30|    246|        case Py_nb_inplace_floor_divide:
  ------------------
  |  |   24|    246|#define Py_nb_inplace_floor_divide 16
  ------------------
  |  Branch (30:9): [True: 0, False: 2.15k]
  ------------------
   31|    246|        case Py_nb_inplace_lshift:
  ------------------
  |  |   25|    246|#define Py_nb_inplace_lshift 17
  ------------------
  |  Branch (31:9): [True: 0, False: 2.15k]
  ------------------
   32|    246|        case Py_nb_inplace_multiply:
  ------------------
  |  |   26|    246|#define Py_nb_inplace_multiply 18
  ------------------
  |  Branch (32:9): [True: 0, False: 2.15k]
  ------------------
   33|    246|        case Py_nb_inplace_or:
  ------------------
  |  |   27|    246|#define Py_nb_inplace_or 19
  ------------------
  |  Branch (33:9): [True: 0, False: 2.15k]
  ------------------
   34|    246|        case Py_nb_inplace_power:
  ------------------
  |  |   28|    246|#define Py_nb_inplace_power 20
  ------------------
  |  Branch (34:9): [True: 0, False: 2.15k]
  ------------------
   35|    246|        case Py_nb_inplace_remainder:
  ------------------
  |  |   29|    246|#define Py_nb_inplace_remainder 21
  ------------------
  |  Branch (35:9): [True: 0, False: 2.15k]
  ------------------
   36|    246|        case Py_nb_inplace_rshift:
  ------------------
  |  |   30|    246|#define Py_nb_inplace_rshift 22
  ------------------
  |  Branch (36:9): [True: 0, False: 2.15k]
  ------------------
   37|    246|        case Py_nb_inplace_subtract:
  ------------------
  |  |   31|    246|#define Py_nb_inplace_subtract 23
  ------------------
  |  Branch (37:9): [True: 0, False: 2.15k]
  ------------------
   38|    246|        case Py_nb_inplace_true_divide:
  ------------------
  |  |   32|    246|#define Py_nb_inplace_true_divide 24
  ------------------
  |  Branch (38:9): [True: 0, False: 2.15k]
  ------------------
   39|    246|        case Py_nb_inplace_xor:
  ------------------
  |  |   33|    246|#define Py_nb_inplace_xor 25
  ------------------
  |  Branch (39:9): [True: 0, False: 2.15k]
  ------------------
   40|    246|        case Py_nb_int:
  ------------------
  |  |   34|    246|#define Py_nb_int 26
  ------------------
  |  Branch (40:9): [True: 0, False: 2.15k]
  ------------------
   41|    246|        case Py_nb_invert:
  ------------------
  |  |   35|    246|#define Py_nb_invert 27
  ------------------
  |  Branch (41:9): [True: 0, False: 2.15k]
  ------------------
   42|    246|        case Py_nb_lshift:
  ------------------
  |  |   36|    246|#define Py_nb_lshift 28
  ------------------
  |  Branch (42:9): [True: 0, False: 2.15k]
  ------------------
   43|    246|        case Py_nb_multiply:
  ------------------
  |  |   37|    246|#define Py_nb_multiply 29
  ------------------
  |  Branch (43:9): [True: 0, False: 2.15k]
  ------------------
   44|    246|        case Py_nb_negative:
  ------------------
  |  |   38|    246|#define Py_nb_negative 30
  ------------------
  |  Branch (44:9): [True: 0, False: 2.15k]
  ------------------
   45|    256|        case Py_nb_or:
  ------------------
  |  |   39|    256|#define Py_nb_or 31
  ------------------
  |  Branch (45:9): [True: 10, False: 2.14k]
  ------------------
   46|    256|        case Py_nb_positive:
  ------------------
  |  |   40|    256|#define Py_nb_positive 32
  ------------------
  |  Branch (46:9): [True: 0, False: 2.15k]
  ------------------
   47|    256|        case Py_nb_power:
  ------------------
  |  |   41|    256|#define Py_nb_power 33
  ------------------
  |  Branch (47:9): [True: 0, False: 2.15k]
  ------------------
   48|    256|        case Py_nb_remainder:
  ------------------
  |  |   42|    256|#define Py_nb_remainder 34
  ------------------
  |  Branch (48:9): [True: 0, False: 2.15k]
  ------------------
   49|    256|        case Py_nb_rshift:
  ------------------
  |  |   43|    256|#define Py_nb_rshift 35
  ------------------
  |  Branch (49:9): [True: 0, False: 2.15k]
  ------------------
   50|    256|        case Py_nb_subtract:
  ------------------
  |  |   44|    256|#define Py_nb_subtract 36
  ------------------
  |  Branch (50:9): [True: 0, False: 2.15k]
  ------------------
   51|    256|        case Py_nb_true_divide:
  ------------------
  |  |   45|    256|#define Py_nb_true_divide 37
  ------------------
  |  Branch (51:9): [True: 0, False: 2.15k]
  ------------------
   52|    256|        case Py_nb_xor:
  ------------------
  |  |   46|    256|#define Py_nb_xor 38
  ------------------
  |  Branch (52:9): [True: 0, False: 2.15k]
  ------------------
   53|    258|        case Py_sq_ass_item:
  ------------------
  |  |   47|    258|#define Py_sq_ass_item 39
  ------------------
  |  Branch (53:9): [True: 2, False: 2.15k]
  ------------------
   54|    260|        case Py_sq_concat:
  ------------------
  |  |   48|    260|#define Py_sq_concat 40
  ------------------
  |  Branch (54:9): [True: 2, False: 2.15k]
  ------------------
   55|    262|        case Py_sq_contains:
  ------------------
  |  |   49|    262|#define Py_sq_contains 41
  ------------------
  |  Branch (55:9): [True: 2, False: 2.15k]
  ------------------
   56|    264|        case Py_sq_inplace_concat:
  ------------------
  |  |   50|    264|#define Py_sq_inplace_concat 42
  ------------------
  |  Branch (56:9): [True: 2, False: 2.15k]
  ------------------
   57|    266|        case Py_sq_inplace_repeat:
  ------------------
  |  |   51|    266|#define Py_sq_inplace_repeat 43
  ------------------
  |  Branch (57:9): [True: 2, False: 2.15k]
  ------------------
   58|    268|        case Py_sq_item:
  ------------------
  |  |   52|    268|#define Py_sq_item 44
  ------------------
  |  Branch (58:9): [True: 2, False: 2.15k]
  ------------------
   59|    270|        case Py_sq_length:
  ------------------
  |  |   53|    270|#define Py_sq_length 45
  ------------------
  |  Branch (59:9): [True: 2, False: 2.15k]
  ------------------
   60|    272|        case Py_sq_repeat:
  ------------------
  |  |   54|    272|#define Py_sq_repeat 46
  ------------------
  |  Branch (60:9): [True: 2, False: 2.15k]
  ------------------
   61|    314|        case Py_tp_alloc:
  ------------------
  |  |   55|    314|#define Py_tp_alloc 47
  ------------------
  |  Branch (61:9): [True: 42, False: 2.11k]
  ------------------
   62|    314|        case Py_tp_base:
  ------------------
  |  |   56|    314|#define Py_tp_base 48
  ------------------
  |  Branch (62:9): [True: 0, False: 2.15k]
  ------------------
   63|    314|        case Py_tp_bases:
  ------------------
  |  |   57|    314|#define Py_tp_bases 49
  ------------------
  |  Branch (63:9): [True: 0, False: 2.15k]
  ------------------
   64|    330|        case Py_tp_call:
  ------------------
  |  |   58|    330|#define Py_tp_call 50
  ------------------
  |  Branch (64:9): [True: 16, False: 2.14k]
  ------------------
   65|    438|        case Py_tp_clear:
  ------------------
  |  |   59|    438|#define Py_tp_clear 51
  ------------------
  |  Branch (65:9): [True: 108, False: 2.05k]
  ------------------
   66|    670|        case Py_tp_dealloc:
  ------------------
  |  |   60|    670|#define Py_tp_dealloc 52
  ------------------
  |  Branch (66:9): [True: 232, False: 1.92k]
  ------------------
   67|    670|        case Py_tp_del:
  ------------------
  |  |   61|    670|#define Py_tp_del 53
  ------------------
  |  Branch (67:9): [True: 0, False: 2.15k]
  ------------------
   68|    676|        case Py_tp_descr_get:
  ------------------
  |  |   62|    676|#define Py_tp_descr_get 54
  ------------------
  |  Branch (68:9): [True: 6, False: 2.15k]
  ------------------
   69|    678|        case Py_tp_descr_set:
  ------------------
  |  |   63|    678|#define Py_tp_descr_set 55
  ------------------
  |  Branch (69:9): [True: 2, False: 2.15k]
  ------------------
   70|    872|        case Py_tp_doc:
  ------------------
  |  |   64|    872|#define Py_tp_doc 56
  ------------------
  |  Branch (70:9): [True: 194, False: 1.96k]
  ------------------
   71|    872|        case Py_tp_getattr:
  ------------------
  |  |   65|    872|#define Py_tp_getattr 57
  ------------------
  |  Branch (71:9): [True: 0, False: 2.15k]
  ------------------
   72|    942|        case Py_tp_getattro:
  ------------------
  |  |   66|    942|#define Py_tp_getattro 58
  ------------------
  |  Branch (72:9): [True: 70, False: 2.08k]
  ------------------
   73|    946|        case Py_tp_hash:
  ------------------
  |  |   67|    946|#define Py_tp_hash 59
  ------------------
  |  Branch (73:9): [True: 4, False: 2.15k]
  ------------------
   74|    988|        case Py_tp_init:
  ------------------
  |  |   68|    988|#define Py_tp_init 60
  ------------------
  |  Branch (74:9): [True: 42, False: 2.11k]
  ------------------
   75|    988|        case Py_tp_is_gc:
  ------------------
  |  |   69|    988|#define Py_tp_is_gc 61
  ------------------
  |  Branch (75:9): [True: 0, False: 2.15k]
  ------------------
   76|  1.05k|        case Py_tp_iter:
  ------------------
  |  |   70|  1.05k|#define Py_tp_iter 62
  ------------------
  |  Branch (76:9): [True: 68, False: 2.09k]
  ------------------
   77|  1.13k|        case Py_tp_iternext:
  ------------------
  |  |   71|  1.13k|#define Py_tp_iternext 63
  ------------------
  |  Branch (77:9): [True: 78, False: 2.08k]
  ------------------
   78|  1.31k|        case Py_tp_methods:
  ------------------
  |  |   72|  1.31k|#define Py_tp_methods 64
  ------------------
  |  Branch (78:9): [True: 178, False: 1.98k]
  ------------------
   79|  1.46k|        case Py_tp_new:
  ------------------
  |  |   73|  1.46k|#define Py_tp_new 65
  ------------------
  |  Branch (79:9): [True: 156, False: 2.00k]
  ------------------
   80|  1.59k|        case Py_tp_repr:
  ------------------
  |  |   74|  1.59k|#define Py_tp_repr 66
  ------------------
  |  Branch (80:9): [True: 128, False: 2.03k]
  ------------------
   81|  1.61k|        case Py_tp_richcompare:
  ------------------
  |  |   75|  1.61k|#define Py_tp_richcompare 67
  ------------------
  |  Branch (81:9): [True: 14, False: 2.14k]
  ------------------
   82|  1.61k|        case Py_tp_setattr:
  ------------------
  |  |   76|  1.61k|#define Py_tp_setattr 68
  ------------------
  |  Branch (82:9): [True: 0, False: 2.15k]
  ------------------
   83|  1.61k|        case Py_tp_setattro:
  ------------------
  |  |   77|  1.61k|#define Py_tp_setattro 69
  ------------------
  |  Branch (83:9): [True: 8, False: 2.15k]
  ------------------
   84|  1.62k|        case Py_tp_str:
  ------------------
  |  |   78|  1.62k|#define Py_tp_str 70
  ------------------
  |  Branch (84:9): [True: 2, False: 2.15k]
  ------------------
   85|  1.83k|        case Py_tp_traverse:
  ------------------
  |  |   79|  1.83k|#define Py_tp_traverse 71
  ------------------
  |  Branch (85:9): [True: 216, False: 1.94k]
  ------------------
   86|  1.97k|        case Py_tp_members:
  ------------------
  |  |   80|  1.97k|#define Py_tp_members 72
  ------------------
  |  Branch (86:9): [True: 140, False: 2.01k]
  ------------------
   87|  2.06k|        case Py_tp_getset:
  ------------------
  |  |   81|  2.06k|#define Py_tp_getset 73
  ------------------
  |  Branch (87:9): [True: 84, False: 2.07k]
  ------------------
   88|  2.14k|        case Py_tp_free:
  ------------------
  |  |   82|  2.14k|#define Py_tp_free 74
  ------------------
  |  Branch (88:9): [True: 80, False: 2.07k]
  ------------------
   89|  2.14k|        case Py_nb_matrix_multiply:
  ------------------
  |  |   83|  2.14k|#define Py_nb_matrix_multiply 75
  ------------------
  |  Branch (89:9): [True: 0, False: 2.15k]
  ------------------
   90|  2.14k|        case Py_nb_inplace_matrix_multiply:
  ------------------
  |  |   84|  2.14k|#define Py_nb_inplace_matrix_multiply 76
  ------------------
  |  Branch (90:9): [True: 0, False: 2.15k]
  ------------------
   91|  2.14k|        case Py_am_await:
  ------------------
  |  |   85|  2.14k|#define Py_am_await 77
  ------------------
  |  Branch (91:9): [True: 0, False: 2.15k]
  ------------------
   92|  2.14k|        case Py_am_aiter:
  ------------------
  |  |   86|  2.14k|#define Py_am_aiter 78
  ------------------
  |  Branch (92:9): [True: 0, False: 2.15k]
  ------------------
   93|  2.14k|        case Py_am_anext:
  ------------------
  |  |   87|  2.14k|#define Py_am_anext 79
  ------------------
  |  Branch (93:9): [True: 0, False: 2.15k]
  ------------------
   94|  2.14k|        case Py_tp_finalize:
  ------------------
  |  |   88|  2.14k|#define Py_tp_finalize 80
  ------------------
  |  Branch (94:9): [True: 8, False: 2.15k]
  ------------------
   95|  2.14k|        case Py_am_send:
  ------------------
  |  |   89|  2.14k|#define Py_am_send 81
  ------------------
  |  Branch (95:9): [True: 0, False: 2.15k]
  ------------------
   96|  2.14k|        case Py_tp_vectorcall:
  ------------------
  |  |   90|  2.14k|#define Py_tp_vectorcall 82
  ------------------
  |  Branch (96:9): [True: 0, False: 2.15k]
  ------------------
   97|  2.15k|        case Py_tp_token:
  ------------------
  |  |   91|  2.15k|#define Py_tp_token 83
  ------------------
  |  Branch (97:9): [True: 2, False: 2.15k]
  ------------------
   98|  2.15k|        case Py_bf_getbuffer:
  ------------------
  |  |   96|  2.15k|#define Py_bf_getbuffer _Py_SLOT_COMPAT_VALUE(1, 88)
  |  |  ------------------
  |  |  |  |    7|  2.15k|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (98:9): [True: 4, False: 2.15k]
  ------------------
   99|  2.15k|        case Py_bf_releasebuffer:
  ------------------
  |  |   97|  2.15k|#define Py_bf_releasebuffer _Py_SLOT_COMPAT_VALUE(2, 89)
  |  |  ------------------
  |  |  |  |    7|  2.15k|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (99:9): [True: 4, False: 2.15k]
  ------------------
  100|  2.15k|        case Py_mp_ass_subscript:
  ------------------
  |  |   98|  2.15k|#define Py_mp_ass_subscript _Py_SLOT_COMPAT_VALUE(3, 90)
  |  |  ------------------
  |  |  |  |    7|  2.15k|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (100:9): [True: 0, False: 2.15k]
  ------------------
  101|  2.15k|        case Py_mp_length:
  ------------------
  |  |   99|  2.15k|#define Py_mp_length _Py_SLOT_COMPAT_VALUE(4, 91)
  |  |  ------------------
  |  |  |  |    7|  2.15k|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (101:9): [True: 0, False: 2.15k]
  ------------------
  102|  2.15k|        case Py_slot_subslots:
  ------------------
  |  |  100|  2.15k|#define Py_slot_subslots 92
  ------------------
  |  Branch (102:9): [True: 0, False: 2.15k]
  ------------------
  103|  2.15k|        case Py_tp_slots:
  ------------------
  |  |  101|  2.15k|#define Py_tp_slots 93
  ------------------
  |  Branch (103:9): [True: 0, False: 2.15k]
  ------------------
  104|  2.15k|        case Py_tp_name:
  ------------------
  |  |  103|  2.15k|#define Py_tp_name 95
  ------------------
  |  Branch (104:9): [True: 0, False: 2.15k]
  ------------------
  105|  2.15k|        case Py_tp_basicsize:
  ------------------
  |  |  104|  2.15k|#define Py_tp_basicsize 96
  ------------------
  |  Branch (105:9): [True: 0, False: 2.15k]
  ------------------
  106|  2.15k|        case Py_tp_extra_basicsize:
  ------------------
  |  |  105|  2.15k|#define Py_tp_extra_basicsize 97
  ------------------
  |  Branch (106:9): [True: 0, False: 2.15k]
  ------------------
  107|  2.15k|        case Py_tp_itemsize:
  ------------------
  |  |  106|  2.15k|#define Py_tp_itemsize 98
  ------------------
  |  Branch (107:9): [True: 0, False: 2.15k]
  ------------------
  108|  2.15k|        case Py_tp_flags:
  ------------------
  |  |  107|  2.15k|#define Py_tp_flags 99
  ------------------
  |  Branch (108:9): [True: 0, False: 2.15k]
  ------------------
  109|  2.15k|        case Py_tp_metaclass:
  ------------------
  |  |  115|  2.15k|#define Py_tp_metaclass 107
  ------------------
  |  Branch (109:9): [True: 0, False: 2.15k]
  ------------------
  110|  2.15k|        case Py_tp_module:
  ------------------
  |  |  116|  2.15k|#define Py_tp_module 108
  ------------------
  |  Branch (110:9): [True: 0, False: 2.15k]
  ------------------
  111|  2.15k|            return slot_id;
  112|      0|        default:
  ------------------
  |  Branch (112:9): [True: 0, False: 2.15k]
  ------------------
  113|      0|            return Py_slot_invalid;
  ------------------
  |  |   25|      0|#define Py_slot_invalid 0xffff
  ------------------
  114|  2.15k|    }
  115|  2.15k|}
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.33k|{
  635|  5.33k|    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.33k]
  ------------------
  637|      5|        case Py_mp_subscript: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   13|      5|#define Py_mp_subscript 5
  ------------------
  |  Branch (637:9): [True: 5, False: 5.32k]
  ------------------
  638|      0|        case Py_nb_absolute: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   14|      0|#define Py_nb_absolute 6
  ------------------
  |  Branch (638:9): [True: 0, False: 5.33k]
  ------------------
  639|      0|        case Py_nb_add: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   15|      0|#define Py_nb_add 7
  ------------------
  |  Branch (639:9): [True: 0, False: 5.33k]
  ------------------
  640|      0|        case Py_nb_and: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   16|      0|#define Py_nb_and 8
  ------------------
  |  Branch (640:9): [True: 0, False: 5.33k]
  ------------------
  641|      0|        case Py_nb_bool: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   17|      0|#define Py_nb_bool 9
  ------------------
  |  Branch (641:9): [True: 0, False: 5.33k]
  ------------------
  642|      0|        case Py_nb_divmod: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   18|      0|#define Py_nb_divmod 10
  ------------------
  |  Branch (642:9): [True: 0, False: 5.33k]
  ------------------
  643|      0|        case Py_nb_float: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   19|      0|#define Py_nb_float 11
  ------------------
  |  Branch (643:9): [True: 0, False: 5.33k]
  ------------------
  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.33k]
  ------------------
  645|      0|        case Py_nb_index: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   21|      0|#define Py_nb_index 13
  ------------------
  |  Branch (645:9): [True: 0, False: 5.33k]
  ------------------
  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.33k]
  ------------------
  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.33k]
  ------------------
  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.33k]
  ------------------
  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.33k]
  ------------------
  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.33k]
  ------------------
  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.33k]
  ------------------
  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.33k]
  ------------------
  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.33k]
  ------------------
  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.33k]
  ------------------
  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.33k]
  ------------------
  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.33k]
  ------------------
  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.33k]
  ------------------
  658|      0|        case Py_nb_int: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   34|      0|#define Py_nb_int 26
  ------------------
  |  Branch (658:9): [True: 0, False: 5.33k]
  ------------------
  659|      0|        case Py_nb_invert: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   35|      0|#define Py_nb_invert 27
  ------------------
  |  Branch (659:9): [True: 0, False: 5.33k]
  ------------------
  660|      0|        case Py_nb_lshift: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   36|      0|#define Py_nb_lshift 28
  ------------------
  |  Branch (660:9): [True: 0, False: 5.33k]
  ------------------
  661|      0|        case Py_nb_multiply: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   37|      0|#define Py_nb_multiply 29
  ------------------
  |  Branch (661:9): [True: 0, False: 5.33k]
  ------------------
  662|      0|        case Py_nb_negative: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   38|      0|#define Py_nb_negative 30
  ------------------
  |  Branch (662:9): [True: 0, False: 5.33k]
  ------------------
  663|     25|        case Py_nb_or: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   39|     25|#define Py_nb_or 31
  ------------------
  |  Branch (663:9): [True: 25, False: 5.30k]
  ------------------
  664|      0|        case Py_nb_positive: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   40|      0|#define Py_nb_positive 32
  ------------------
  |  Branch (664:9): [True: 0, False: 5.33k]
  ------------------
  665|      0|        case Py_nb_power: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   41|      0|#define Py_nb_power 33
  ------------------
  |  Branch (665:9): [True: 0, False: 5.33k]
  ------------------
  666|      0|        case Py_nb_remainder: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   42|      0|#define Py_nb_remainder 34
  ------------------
  |  Branch (666:9): [True: 0, False: 5.33k]
  ------------------
  667|      0|        case Py_nb_rshift: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   43|      0|#define Py_nb_rshift 35
  ------------------
  |  Branch (667:9): [True: 0, False: 5.33k]
  ------------------
  668|      0|        case Py_nb_subtract: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   44|      0|#define Py_nb_subtract 36
  ------------------
  |  Branch (668:9): [True: 0, False: 5.33k]
  ------------------
  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.33k]
  ------------------
  670|      0|        case Py_nb_xor: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   46|      0|#define Py_nb_xor 38
  ------------------
  |  Branch (670:9): [True: 0, False: 5.33k]
  ------------------
  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.32k]
  ------------------
  672|      5|        case Py_sq_concat: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   48|      5|#define Py_sq_concat 40
  ------------------
  |  Branch (672:9): [True: 5, False: 5.32k]
  ------------------
  673|      5|        case Py_sq_contains: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   49|      5|#define Py_sq_contains 41
  ------------------
  |  Branch (673:9): [True: 5, False: 5.32k]
  ------------------
  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.32k]
  ------------------
  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.32k]
  ------------------
  676|      5|        case Py_sq_item: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   52|      5|#define Py_sq_item 44
  ------------------
  |  Branch (676:9): [True: 5, False: 5.32k]
  ------------------
  677|      5|        case Py_sq_length: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   53|      5|#define Py_sq_length 45
  ------------------
  |  Branch (677:9): [True: 5, False: 5.32k]
  ------------------
  678|      5|        case Py_sq_repeat: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   54|      5|#define Py_sq_repeat 46
  ------------------
  |  Branch (678:9): [True: 5, False: 5.32k]
  ------------------
  679|    105|        case Py_tp_alloc: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   55|    105|#define Py_tp_alloc 47
  ------------------
  |  Branch (679:9): [True: 105, False: 5.22k]
  ------------------
  680|      0|        case Py_tp_base: return _PySlot_DTYPE_PTR;
  ------------------
  |  |   56|      0|#define Py_tp_base 48
  ------------------
  |  Branch (680:9): [True: 0, False: 5.33k]
  ------------------
  681|      0|        case Py_tp_bases: return _PySlot_DTYPE_PTR;
  ------------------
  |  |   57|      0|#define Py_tp_bases 49
  ------------------
  |  Branch (681:9): [True: 0, False: 5.33k]
  ------------------
  682|     40|        case Py_tp_call: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   58|     40|#define Py_tp_call 50
  ------------------
  |  Branch (682:9): [True: 40, False: 5.29k]
  ------------------
  683|    270|        case Py_tp_clear: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   59|    270|#define Py_tp_clear 51
  ------------------
  |  Branch (683:9): [True: 270, False: 5.06k]
  ------------------
  684|    580|        case Py_tp_dealloc: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   60|    580|#define Py_tp_dealloc 52
  ------------------
  |  Branch (684:9): [True: 580, False: 4.75k]
  ------------------
  685|      0|        case Py_tp_del: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   61|      0|#define Py_tp_del 53
  ------------------
  |  Branch (685:9): [True: 0, False: 5.33k]
  ------------------
  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.31k]
  ------------------
  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.32k]
  ------------------
  688|    388|        case Py_tp_doc: return _PySlot_DTYPE_PTR;
  ------------------
  |  |   64|    388|#define Py_tp_doc 56
  ------------------
  |  Branch (688:9): [True: 388, False: 4.94k]
  ------------------
  689|      0|        case Py_tp_getattr: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   65|      0|#define Py_tp_getattr 57
  ------------------
  |  Branch (689:9): [True: 0, False: 5.33k]
  ------------------
  690|    175|        case Py_tp_getattro: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   66|    175|#define Py_tp_getattro 58
  ------------------
  |  Branch (690:9): [True: 175, False: 5.15k]
  ------------------
  691|     10|        case Py_tp_hash: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   67|     10|#define Py_tp_hash 59
  ------------------
  |  Branch (691:9): [True: 10, False: 5.32k]
  ------------------
  692|    105|        case Py_tp_init: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   68|    105|#define Py_tp_init 60
  ------------------
  |  Branch (692:9): [True: 105, False: 5.22k]
  ------------------
  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.33k]
  ------------------
  694|    170|        case Py_tp_iter: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   70|    170|#define Py_tp_iter 62
  ------------------
  |  Branch (694:9): [True: 170, False: 5.16k]
  ------------------
  695|    195|        case Py_tp_iternext: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   71|    195|#define Py_tp_iternext 63
  ------------------
  |  Branch (695:9): [True: 195, False: 5.13k]
  ------------------
  696|    445|        case Py_tp_methods: return _PySlot_DTYPE_PTR;
  ------------------
  |  |   72|    445|#define Py_tp_methods 64
  ------------------
  |  Branch (696:9): [True: 445, False: 4.88k]
  ------------------
  697|    390|        case Py_tp_new: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   73|    390|#define Py_tp_new 65
  ------------------
  |  Branch (697:9): [True: 390, False: 4.94k]
  ------------------
  698|    320|        case Py_tp_repr: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   74|    320|#define Py_tp_repr 66
  ------------------
  |  Branch (698:9): [True: 320, False: 5.01k]
  ------------------
  699|     35|        case Py_tp_richcompare: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   75|     35|#define Py_tp_richcompare 67
  ------------------
  |  Branch (699:9): [True: 35, False: 5.29k]
  ------------------
  700|      0|        case Py_tp_setattr: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   76|      0|#define Py_tp_setattr 68
  ------------------
  |  Branch (700:9): [True: 0, False: 5.33k]
  ------------------
  701|     20|        case Py_tp_setattro: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   77|     20|#define Py_tp_setattro 69
  ------------------
  |  Branch (701:9): [True: 20, False: 5.31k]
  ------------------
  702|      5|        case Py_tp_str: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   78|      5|#define Py_tp_str 70
  ------------------
  |  Branch (702:9): [True: 5, False: 5.32k]
  ------------------
  703|    540|        case Py_tp_traverse: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   79|    540|#define Py_tp_traverse 71
  ------------------
  |  Branch (703:9): [True: 540, False: 4.79k]
  ------------------
  704|    350|        case Py_tp_members: return _PySlot_DTYPE_PTR;
  ------------------
  |  |   80|    350|#define Py_tp_members 72
  ------------------
  |  Branch (704:9): [True: 350, False: 4.98k]
  ------------------
  705|    210|        case Py_tp_getset: return _PySlot_DTYPE_PTR;
  ------------------
  |  |   81|    210|#define Py_tp_getset 73
  ------------------
  |  Branch (705:9): [True: 210, False: 5.12k]
  ------------------
  706|    200|        case Py_tp_free: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   82|    200|#define Py_tp_free 74
  ------------------
  |  Branch (706:9): [True: 200, False: 5.13k]
  ------------------
  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.33k]
  ------------------
  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.33k]
  ------------------
  709|      0|        case Py_am_await: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   85|      0|#define Py_am_await 77
  ------------------
  |  Branch (709:9): [True: 0, False: 5.33k]
  ------------------
  710|      0|        case Py_am_aiter: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   86|      0|#define Py_am_aiter 78
  ------------------
  |  Branch (710:9): [True: 0, False: 5.33k]
  ------------------
  711|      0|        case Py_am_anext: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   87|      0|#define Py_am_anext 79
  ------------------
  |  Branch (711:9): [True: 0, False: 5.33k]
  ------------------
  712|     20|        case Py_tp_finalize: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   88|     20|#define Py_tp_finalize 80
  ------------------
  |  Branch (712:9): [True: 20, False: 5.31k]
  ------------------
  713|      0|        case Py_am_send: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   89|      0|#define Py_am_send 81
  ------------------
  |  Branch (713:9): [True: 0, False: 5.33k]
  ------------------
  714|      0|        case Py_tp_vectorcall: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   90|      0|#define Py_tp_vectorcall 82
  ------------------
  |  Branch (714:9): [True: 0, False: 5.33k]
  ------------------
  715|      4|        case Py_tp_token: return _PySlot_DTYPE_PTR;
  ------------------
  |  |   91|      4|#define Py_tp_token 83
  ------------------
  |  Branch (715:9): [True: 4, False: 5.32k]
  ------------------
  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.33k]
  ------------------
  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.13k]
  ------------------
  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.19k]
  ------------------
  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.19k]
  ------------------
  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.32k]
  ------------------
  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.32k]
  ------------------
  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.33k]
  ------------------
  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.33k]
  ------------------
  724|      0|        case Py_slot_subslots: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  100|      0|#define Py_slot_subslots 92
  ------------------
  |  Branch (724:9): [True: 0, False: 5.33k]
  ------------------
  725|      0|        case Py_tp_slots: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  101|      0|#define Py_tp_slots 93
  ------------------
  |  Branch (725:9): [True: 0, False: 5.33k]
  ------------------
  726|      0|        case Py_mod_slots: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  102|      0|#define Py_mod_slots 94
  ------------------
  |  Branch (726:9): [True: 0, False: 5.33k]
  ------------------
  727|      0|        case Py_tp_name: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  103|      0|#define Py_tp_name 95
  ------------------
  |  Branch (727:9): [True: 0, False: 5.33k]
  ------------------
  728|      0|        case Py_tp_basicsize: return _PySlot_DTYPE_SIZE;
  ------------------
  |  |  104|      0|#define Py_tp_basicsize 96
  ------------------
  |  Branch (728:9): [True: 0, False: 5.33k]
  ------------------
  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.33k]
  ------------------
  730|      0|        case Py_tp_itemsize: return _PySlot_DTYPE_SIZE;
  ------------------
  |  |  106|      0|#define Py_tp_itemsize 98
  ------------------
  |  Branch (730:9): [True: 0, False: 5.33k]
  ------------------
  731|      0|        case Py_tp_flags: return _PySlot_DTYPE_UINT64;
  ------------------
  |  |  107|      0|#define Py_tp_flags 99
  ------------------
  |  Branch (731:9): [True: 0, False: 5.33k]
  ------------------
  732|      0|        case Py_mod_name: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  108|      0|#define Py_mod_name 100
  ------------------
  |  Branch (732:9): [True: 0, False: 5.33k]
  ------------------
  733|      0|        case Py_mod_doc: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  109|      0|#define Py_mod_doc 101
  ------------------
  |  Branch (733:9): [True: 0, False: 5.33k]
  ------------------
  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.33k]
  ------------------
  735|      0|        case Py_mod_methods: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  111|      0|#define Py_mod_methods 103
  ------------------
  |  Branch (735:9): [True: 0, False: 5.33k]
  ------------------
  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.33k]
  ------------------
  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.33k]
  ------------------
  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.33k]
  ------------------
  739|      0|        case Py_tp_metaclass: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  115|      0|#define Py_tp_metaclass 107
  ------------------
  |  Branch (739:9): [True: 0, False: 5.33k]
  ------------------
  740|      0|        case Py_tp_module: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  116|      0|#define Py_tp_module 108
  ------------------
  |  Branch (740:9): [True: 0, False: 5.33k]
  ------------------
  741|    180|        case Py_mod_abi: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  117|    180|#define Py_mod_abi 109
  ------------------
  |  Branch (741:9): [True: 180, False: 5.15k]
  ------------------
  742|      0|        case Py_mod_token: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  118|      0|#define Py_mod_token 110
  ------------------
  |  Branch (742:9): [True: 0, False: 5.33k]
  ------------------
  743|      0|        default: return _PySlot_DTYPE_VOID;
  ------------------
  |  Branch (743:9): [True: 0, False: 5.33k]
  ------------------
  744|  5.33k|    }
  745|  5.33k|}
slots.c:_PySlot_get_must_be_static:
  948|  1.21k|{
  949|  1.21k|    switch (slot_id) {
  ------------------
  |  Branch (949:13): [True: 201, False: 1.01k]
  ------------------
  950|     89|        case Py_tp_methods: return true;
  ------------------
  |  |   72|     89|#define Py_tp_methods 64
  ------------------
  |  Branch (950:9): [True: 89, False: 1.12k]
  ------------------
  951|     70|        case Py_tp_members: return true;
  ------------------
  |  |   80|     70|#define Py_tp_members 72
  ------------------
  |  Branch (951:9): [True: 70, 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|     97|        case Py_tp_doc:
  ------------------
  |  |   64|     97|#define Py_tp_doc 56
  ------------------
  |  Branch (846:9): [True: 97, False: 1.12k]
  ------------------
  847|     98|        case Py_tp_token:
  ------------------
  |  |   91|     98|#define Py_tp_token 83
  ------------------
  |  Branch (847:9): [True: 1, False: 1.21k]
  ------------------
  848|    166|        case Py_mod_multiple_interpreters:
  ------------------
  |  |   94|    166|#define Py_mod_multiple_interpreters _Py_SLOT_COMPAT_VALUE(3, 86)
  |  |  ------------------
  |  |  |  |    7|    166|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (848:9): [True: 68, False: 1.14k]
  ------------------
  849|    234|        case Py_mod_gil:
  ------------------
  |  |   95|    234|#define Py_mod_gil _Py_SLOT_COMPAT_VALUE(4, 87)
  |  |  ------------------
  |  |  |  |    7|    234|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (849:9): [True: 68, False: 1.14k]
  ------------------
  850|    234|        case Py_slot_subslots:
  ------------------
  |  |  100|    234|#define Py_slot_subslots 92
  ------------------
  |  Branch (850:9): [True: 0, False: 1.21k]
  ------------------
  851|    234|        case Py_tp_slots:
  ------------------
  |  |  101|    234|#define Py_tp_slots 93
  ------------------
  |  Branch (851:9): [True: 0, False: 1.21k]
  ------------------
  852|    234|        case Py_mod_slots:
  ------------------
  |  |  102|    234|#define Py_mod_slots 94
  ------------------
  |  Branch (852:9): [True: 0, False: 1.21k]
  ------------------
  853|    234|        case Py_tp_basicsize:
  ------------------
  |  |  104|    234|#define Py_tp_basicsize 96
  ------------------
  |  Branch (853:9): [True: 0, False: 1.21k]
  ------------------
  854|    234|        case Py_tp_extra_basicsize:
  ------------------
  |  |  105|    234|#define Py_tp_extra_basicsize 97
  ------------------
  |  Branch (854:9): [True: 0, False: 1.21k]
  ------------------
  855|    234|        case Py_tp_itemsize:
  ------------------
  |  |  106|    234|#define Py_tp_itemsize 98
  ------------------
  |  Branch (855:9): [True: 0, False: 1.21k]
  ------------------
  856|    234|        case Py_tp_flags:
  ------------------
  |  |  107|    234|#define Py_tp_flags 99
  ------------------
  |  Branch (856:9): [True: 0, False: 1.21k]
  ------------------
  857|    234|        case Py_mod_state_size:
  ------------------
  |  |  110|    234|#define Py_mod_state_size 102
  ------------------
  |  Branch (857:9): [True: 0, False: 1.21k]
  ------------------
  858|    234|            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.21k]
  ------------------
  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.16k]
  ------------------
  906|    213|        case Py_tp_dealloc:
  ------------------
  |  |   60|    213|#define Py_tp_dealloc 52
  ------------------
  |  Branch (906:9): [True: 116, False: 1.10k]
  ------------------
  907|    213|        case Py_tp_del:
  ------------------
  |  |   61|    213|#define Py_tp_del 53
  ------------------
  |  Branch (907:9): [True: 0, False: 1.21k]
  ------------------
  908|    216|        case Py_tp_descr_get:
  ------------------
  |  |   62|    216|#define Py_tp_descr_get 54
  ------------------
  |  Branch (908:9): [True: 3, False: 1.21k]
  ------------------
  909|    217|        case Py_tp_descr_set:
  ------------------
  |  |   63|    217|#define Py_tp_descr_set 55
  ------------------
  |  Branch (909:9): [True: 1, False: 1.21k]
  ------------------
  910|    217|        case Py_tp_getattr:
  ------------------
  |  |   65|    217|#define Py_tp_getattr 57
  ------------------
  |  Branch (910:9): [True: 0, False: 1.21k]
  ------------------
  911|    252|        case Py_tp_getattro:
  ------------------
  |  |   66|    252|#define Py_tp_getattro 58
  ------------------
  |  Branch (911:9): [True: 35, False: 1.18k]
  ------------------
  912|    254|        case Py_tp_hash:
  ------------------
  |  |   67|    254|#define Py_tp_hash 59
  ------------------
  |  Branch (912:9): [True: 2, False: 1.21k]
  ------------------
  913|    275|        case Py_tp_init:
  ------------------
  |  |   68|    275|#define Py_tp_init 60
  ------------------
  |  Branch (913:9): [True: 21, False: 1.19k]
  ------------------
  914|    275|        case Py_tp_is_gc:
  ------------------
  |  |   69|    275|#define Py_tp_is_gc 61
  ------------------
  |  Branch (914:9): [True: 0, False: 1.21k]
  ------------------
  915|    309|        case Py_tp_iter:
  ------------------
  |  |   70|    309|#define Py_tp_iter 62
  ------------------
  |  Branch (915:9): [True: 34, False: 1.18k]
  ------------------
  916|    348|        case Py_tp_iternext:
  ------------------
  |  |   71|    348|#define Py_tp_iternext 63
  ------------------
  |  Branch (916:9): [True: 39, False: 1.17k]
  ------------------
  917|    437|        case Py_tp_methods:
  ------------------
  |  |   72|    437|#define Py_tp_methods 64
  ------------------
  |  Branch (917:9): [True: 89, False: 1.12k]
  ------------------
  918|    515|        case Py_tp_new:
  ------------------
  |  |   73|    515|#define Py_tp_new 65
  ------------------
  |  Branch (918:9): [True: 78, False: 1.13k]
  ------------------
  919|    579|        case Py_tp_repr:
  ------------------
  |  |   74|    579|#define Py_tp_repr 66
  ------------------
  |  Branch (919:9): [True: 64, False: 1.15k]
  ------------------
  920|    586|        case Py_tp_richcompare:
  ------------------
  |  |   75|    586|#define Py_tp_richcompare 67
  ------------------
  |  Branch (920:9): [True: 7, False: 1.21k]
  ------------------
  921|    586|        case Py_tp_setattr:
  ------------------
  |  |   76|    586|#define Py_tp_setattr 68
  ------------------
  |  Branch (921:9): [True: 0, False: 1.21k]
  ------------------
  922|    590|        case Py_tp_setattro:
  ------------------
  |  |   77|    590|#define Py_tp_setattro 69
  ------------------
  |  Branch (922:9): [True: 4, False: 1.21k]
  ------------------
  923|    591|        case Py_tp_str:
  ------------------
  |  |   78|    591|#define Py_tp_str 70
  ------------------
  |  Branch (923:9): [True: 1, False: 1.21k]
  ------------------
  924|    699|        case Py_tp_traverse:
  ------------------
  |  |   79|    699|#define Py_tp_traverse 71
  ------------------
  |  Branch (924:9): [True: 108, False: 1.10k]
  ------------------
  925|    741|        case Py_tp_getset:
  ------------------
  |  |   81|    741|#define Py_tp_getset 73
  ------------------
  |  Branch (925:9): [True: 42, False: 1.17k]
  ------------------
  926|    781|        case Py_tp_free:
  ------------------
  |  |   82|    781|#define Py_tp_free 74
  ------------------
  |  Branch (926:9): [True: 40, False: 1.17k]
  ------------------
  927|    781|        case Py_nb_matrix_multiply:
  ------------------
  |  |   83|    781|#define Py_nb_matrix_multiply 75
  ------------------
  |  Branch (927:9): [True: 0, False: 1.21k]
  ------------------
  928|    781|        case Py_nb_inplace_matrix_multiply:
  ------------------
  |  |   84|    781|#define Py_nb_inplace_matrix_multiply 76
  ------------------
  |  Branch (928:9): [True: 0, False: 1.21k]
  ------------------
  929|    781|        case Py_am_await:
  ------------------
  |  |   85|    781|#define Py_am_await 77
  ------------------
  |  Branch (929:9): [True: 0, False: 1.21k]
  ------------------
  930|    781|        case Py_am_aiter:
  ------------------
  |  |   86|    781|#define Py_am_aiter 78
  ------------------
  |  Branch (930:9): [True: 0, False: 1.21k]
  ------------------
  931|    781|        case Py_am_anext:
  ------------------
  |  |   87|    781|#define Py_am_anext 79
  ------------------
  |  Branch (931:9): [True: 0, False: 1.21k]
  ------------------
  932|    785|        case Py_tp_finalize:
  ------------------
  |  |   88|    785|#define Py_tp_finalize 80
  ------------------
  |  Branch (932:9): [True: 4, False: 1.21k]
  ------------------
  933|    785|        case Py_am_send:
  ------------------
  |  |   89|    785|#define Py_am_send 81
  ------------------
  |  Branch (933:9): [True: 0, False: 1.21k]
  ------------------
  934|    785|        case Py_tp_vectorcall:
  ------------------
  |  |   90|    785|#define Py_tp_vectorcall 82
  ------------------
  |  Branch (934:9): [True: 0, False: 1.21k]
  ------------------
  935|    785|        case Py_mod_create:
  ------------------
  |  |   92|    785|#define Py_mod_create _Py_SLOT_COMPAT_VALUE(1, 84)
  |  |  ------------------
  |  |  |  |    7|    785|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (935:9): [True: 0, False: 1.21k]
  ------------------
  936|    787|        case Py_bf_getbuffer:
  ------------------
  |  |   96|    787|#define Py_bf_getbuffer _Py_SLOT_COMPAT_VALUE(1, 88)
  |  |  ------------------
  |  |  |  |    7|    787|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (936:9): [True: 2, False: 1.21k]
  ------------------
  937|    789|        case Py_bf_releasebuffer:
  ------------------
  |  |   97|    789|#define Py_bf_releasebuffer _Py_SLOT_COMPAT_VALUE(2, 89)
  |  |  ------------------
  |  |  |  |    7|    789|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (937:9): [True: 2, False: 1.21k]
  ------------------
  938|    789|        case Py_mp_ass_subscript:
  ------------------
  |  |   98|    789|#define Py_mp_ass_subscript _Py_SLOT_COMPAT_VALUE(3, 90)
  |  |  ------------------
  |  |  |  |    7|    789|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (938:9): [True: 0, False: 1.21k]
  ------------------
  939|    789|        case Py_mp_length:
  ------------------
  |  |   99|    789|#define Py_mp_length _Py_SLOT_COMPAT_VALUE(4, 91)
  |  |  ------------------
  |  |  |  |    7|    789|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (939:9): [True: 0, False: 1.21k]
  ------------------
  940|    789|            return _PySlot_PROBLEM_DEPRECATED;
  941|    194|        default:
  ------------------
  |  Branch (941:9): [True: 194, False: 1.02k]
  ------------------
  942|    194|            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.21k]
  ------------------
  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.16k]
  ------------------
  798|    213|        case Py_tp_dealloc:
  ------------------
  |  |   60|    213|#define Py_tp_dealloc 52
  ------------------
  |  Branch (798:9): [True: 116, False: 1.10k]
  ------------------
  799|    213|        case Py_tp_del:
  ------------------
  |  |   61|    213|#define Py_tp_del 53
  ------------------
  |  Branch (799:9): [True: 0, False: 1.21k]
  ------------------
  800|    216|        case Py_tp_descr_get:
  ------------------
  |  |   62|    216|#define Py_tp_descr_get 54
  ------------------
  |  Branch (800:9): [True: 3, False: 1.21k]
  ------------------
  801|    217|        case Py_tp_descr_set:
  ------------------
  |  |   63|    217|#define Py_tp_descr_set 55
  ------------------
  |  Branch (801:9): [True: 1, False: 1.21k]
  ------------------
  802|    217|        case Py_tp_getattr:
  ------------------
  |  |   65|    217|#define Py_tp_getattr 57
  ------------------
  |  Branch (802:9): [True: 0, False: 1.21k]
  ------------------
  803|    252|        case Py_tp_getattro:
  ------------------
  |  |   66|    252|#define Py_tp_getattro 58
  ------------------
  |  Branch (803:9): [True: 35, False: 1.18k]
  ------------------
  804|    254|        case Py_tp_hash:
  ------------------
  |  |   67|    254|#define Py_tp_hash 59
  ------------------
  |  Branch (804:9): [True: 2, False: 1.21k]
  ------------------
  805|    275|        case Py_tp_init:
  ------------------
  |  |   68|    275|#define Py_tp_init 60
  ------------------
  |  Branch (805:9): [True: 21, False: 1.19k]
  ------------------
  806|    275|        case Py_tp_is_gc:
  ------------------
  |  |   69|    275|#define Py_tp_is_gc 61
  ------------------
  |  Branch (806:9): [True: 0, False: 1.21k]
  ------------------
  807|    309|        case Py_tp_iter:
  ------------------
  |  |   70|    309|#define Py_tp_iter 62
  ------------------
  |  Branch (807:9): [True: 34, False: 1.18k]
  ------------------
  808|    348|        case Py_tp_iternext:
  ------------------
  |  |   71|    348|#define Py_tp_iternext 63
  ------------------
  |  Branch (808:9): [True: 39, False: 1.17k]
  ------------------
  809|    437|        case Py_tp_methods:
  ------------------
  |  |   72|    437|#define Py_tp_methods 64
  ------------------
  |  Branch (809:9): [True: 89, False: 1.12k]
  ------------------
  810|    515|        case Py_tp_new:
  ------------------
  |  |   73|    515|#define Py_tp_new 65
  ------------------
  |  Branch (810:9): [True: 78, False: 1.13k]
  ------------------
  811|    579|        case Py_tp_repr:
  ------------------
  |  |   74|    579|#define Py_tp_repr 66
  ------------------
  |  Branch (811:9): [True: 64, False: 1.15k]
  ------------------
  812|    586|        case Py_tp_richcompare:
  ------------------
  |  |   75|    586|#define Py_tp_richcompare 67
  ------------------
  |  Branch (812:9): [True: 7, False: 1.21k]
  ------------------
  813|    586|        case Py_tp_setattr:
  ------------------
  |  |   76|    586|#define Py_tp_setattr 68
  ------------------
  |  Branch (813:9): [True: 0, False: 1.21k]
  ------------------
  814|    590|        case Py_tp_setattro:
  ------------------
  |  |   77|    590|#define Py_tp_setattro 69
  ------------------
  |  Branch (814:9): [True: 4, False: 1.21k]
  ------------------
  815|    591|        case Py_tp_str:
  ------------------
  |  |   78|    591|#define Py_tp_str 70
  ------------------
  |  Branch (815:9): [True: 1, False: 1.21k]
  ------------------
  816|    699|        case Py_tp_traverse:
  ------------------
  |  |   79|    699|#define Py_tp_traverse 71
  ------------------
  |  Branch (816:9): [True: 108, False: 1.10k]
  ------------------
  817|    741|        case Py_tp_getset:
  ------------------
  |  |   81|    741|#define Py_tp_getset 73
  ------------------
  |  Branch (817:9): [True: 42, False: 1.17k]
  ------------------
  818|    781|        case Py_tp_free:
  ------------------
  |  |   82|    781|#define Py_tp_free 74
  ------------------
  |  Branch (818:9): [True: 40, False: 1.17k]
  ------------------
  819|    781|        case Py_nb_matrix_multiply:
  ------------------
  |  |   83|    781|#define Py_nb_matrix_multiply 75
  ------------------
  |  Branch (819:9): [True: 0, False: 1.21k]
  ------------------
  820|    781|        case Py_nb_inplace_matrix_multiply:
  ------------------
  |  |   84|    781|#define Py_nb_inplace_matrix_multiply 76
  ------------------
  |  Branch (820:9): [True: 0, False: 1.21k]
  ------------------
  821|    781|        case Py_am_await:
  ------------------
  |  |   85|    781|#define Py_am_await 77
  ------------------
  |  Branch (821:9): [True: 0, False: 1.21k]
  ------------------
  822|    781|        case Py_am_aiter:
  ------------------
  |  |   86|    781|#define Py_am_aiter 78
  ------------------
  |  Branch (822:9): [True: 0, False: 1.21k]
  ------------------
  823|    781|        case Py_am_anext:
  ------------------
  |  |   87|    781|#define Py_am_anext 79
  ------------------
  |  Branch (823:9): [True: 0, False: 1.21k]
  ------------------
  824|    785|        case Py_tp_finalize:
  ------------------
  |  |   88|    785|#define Py_tp_finalize 80
  ------------------
  |  Branch (824:9): [True: 4, False: 1.21k]
  ------------------
  825|    785|        case Py_am_send:
  ------------------
  |  |   89|    785|#define Py_am_send 81
  ------------------
  |  Branch (825:9): [True: 0, False: 1.21k]
  ------------------
  826|    785|        case Py_tp_vectorcall:
  ------------------
  |  |   90|    785|#define Py_tp_vectorcall 82
  ------------------
  |  Branch (826:9): [True: 0, False: 1.21k]
  ------------------
  827|    786|        case Py_tp_token:
  ------------------
  |  |   91|    786|#define Py_tp_token 83
  ------------------
  |  Branch (827:9): [True: 1, False: 1.21k]
  ------------------
  828|    788|        case Py_bf_getbuffer:
  ------------------
  |  |   96|    788|#define Py_bf_getbuffer _Py_SLOT_COMPAT_VALUE(1, 88)
  |  |  ------------------
  |  |  |  |    7|    788|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (828:9): [True: 2, False: 1.21k]
  ------------------
  829|    790|        case Py_bf_releasebuffer:
  ------------------
  |  |   97|    790|#define Py_bf_releasebuffer _Py_SLOT_COMPAT_VALUE(2, 89)
  |  |  ------------------
  |  |  |  |    7|    790|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (829:9): [True: 2, False: 1.21k]
  ------------------
  830|    790|        case Py_mp_ass_subscript:
  ------------------
  |  |   98|    790|#define Py_mp_ass_subscript _Py_SLOT_COMPAT_VALUE(3, 90)
  |  |  ------------------
  |  |  |  |    7|    790|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (830:9): [True: 0, False: 1.21k]
  ------------------
  831|    790|        case Py_mp_length:
  ------------------
  |  |   99|    790|#define Py_mp_length _Py_SLOT_COMPAT_VALUE(4, 91)
  |  |  ------------------
  |  |  |  |    7|    790|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (831:9): [True: 0, False: 1.21k]
  ------------------
  832|    790|            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.15k]
  ------------------
  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|    303|        default:
  ------------------
  |  Branch (836:9): [True: 303, False: 914]
  ------------------
  837|    303|            return _PySlot_PROBLEM_REJECT;
  838|  1.21k|    }
  839|  1.21k|}

call.c:_PyThreadState_PushCStackRef:
  787|  1.68k|{
  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|  1.68k|    ref->ref = PyStackRef_NULL;
  794|  1.68k|}
call.c:PyStackRef_FromPyObjectBorrow:
  627|    843|{
  628|    843|    assert(obj != NULL);
  ------------------
  |  Branch (628:5): [True: 843, False: 0]
  ------------------
  629|    843|    return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT};
  ------------------
  |  |   55|    843|#define Py_TAG_REFCNT 1
  ------------------
  630|    843|}
call.c:_PyThreadState_PopCStackRef:
  805|  1.68k|{
  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|  1.68k|    PyStackRef_XCLOSE(ref->ref);
  812|  1.68k|}
call.c:PyStackRef_XCLOSE:
  722|  1.68k|{
  723|  1.68k|    assert(ref.bits != 0);
  ------------------
  |  Branch (723:5): [True: 1.68k, False: 0]
  ------------------
  724|  1.68k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (724:9): [True: 843, False: 843]
  ------------------
  725|    843|        assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (725:9): [True: 843, False: 0]
  ------------------
  726|    843|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  452|    843|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    843|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    843|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|    843|    }
  728|  1.68k|}
call.c:PyStackRef_RefcountOnObject:
  534|  1.68k|{
  535|  1.68k|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|  1.68k|#define Py_TAG_REFCNT 1
  ------------------
  536|  1.68k|}
call.c:PyStackRef_AsPyObjectBorrow:
  540|  1.68k|{
  541|  1.68k|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 1.68k, False: 0]
  ------------------
  542|  1.68k|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|  1.68k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  1.68k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|  1.68k|}
call.c:PyStackRef_IsTaggedInt:
  440|  1.68k|{
  441|  1.68k|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|  1.68k|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|  1.68k|#define Py_INT_TAG 3
  ------------------
  442|  1.68k|}
listobject.c:PyStackRef_AsPyObjectSteal:
  554|    269|{
  555|    269|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (555:5): [True: 269, False: 0]
  ------------------
  556|    269|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (556:5): [True: 269, False: 0]
  ------------------
  557|    269|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (557:9): [True: 65, False: 204]
  ------------------
  558|     65|        return BITS_TO_PTR(ref);
  ------------------
  |  |  476|     65|#define BITS_TO_PTR(REF) ((PyObject *)((REF).bits))
  ------------------
  559|     65|    }
  560|    204|    else {
  561|    204|        return Py_NewRef(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |  550|    204|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    204|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    204|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  562|    204|    }
  563|    269|}
listobject.c:PyStackRef_IsTaggedInt:
  440|    269|{
  441|    269|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|    269|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|    269|#define Py_INT_TAG 3
  ------------------
  442|    269|}
listobject.c:PyStackRef_RefcountOnObject:
  534|    269|{
  535|    269|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|    269|#define Py_TAG_REFCNT 1
  ------------------
  536|    269|}
longobject.c:PyStackRef_FromPyObjectBorrow:
  627|    206|{
  628|    206|    assert(obj != NULL);
  ------------------
  |  Branch (628:5): [True: 206, False: 0]
  ------------------
  629|    206|    return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT};
  ------------------
  |  |   55|    206|#define Py_TAG_REFCNT 1
  ------------------
  630|    206|}
dictobject.c:_PyStackRef_FromPyObjectNew:
  595|  15.6k|{
  596|  15.6k|    assert(obj != NULL);
  ------------------
  |  Branch (596:5): [True: 15.6k, 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|  15.6k|    if (_Py_IsImmortal(obj)) {
  ------------------
  |  |  137|  15.6k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  15.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 1.32k, False: 14.2k]
  |  |  ------------------
  ------------------
  603|  1.32k|        return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT };
  ------------------
  |  |   55|  1.32k|#define Py_TAG_REFCNT 1
  ------------------
  604|  1.32k|    }
  605|  14.2k|#endif
  606|  14.2k|    _Py_INCREF_MORTAL(obj);
  607|  14.2k|    _PyStackRef ref = (_PyStackRef){ .bits = (uintptr_t)obj };
  608|  14.2k|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|  14.2k|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  609|  14.2k|    return ref;
  610|  15.6k|}
dictobject.c:PyStackRef_RefcountOnObject:
  534|  2.40k|{
  535|  2.40k|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|  2.40k|#define Py_TAG_REFCNT 1
  ------------------
  536|  2.40k|}
dictobject.c:PyStackRef_AsPyObjectBorrow:
  540|  2.40k|{
  541|  2.40k|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 2.40k, False: 0]
  ------------------
  542|  2.40k|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|  2.40k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  2.40k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|  2.40k|}
dictobject.c:PyStackRef_IsTaggedInt:
  440|  2.40k|{
  441|  2.40k|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|  2.40k|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|  2.40k|#define Py_INT_TAG 3
  ------------------
  442|  2.40k|}
dictobject.c:PyStackRef_CLOSE:
  700|  2.40k|{
  701|  2.40k|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (701:5): [True: 2.40k, False: 0]
  ------------------
  702|  2.40k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (702:9): [True: 2.40k, False: 0]
  ------------------
  703|  2.40k|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  452|  2.40k|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.40k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  704|  2.40k|    }
  705|  2.40k|}
object.c:PyStackRef_FromPyObjectSteal:
  567|  3.71k|{
  568|  3.71k|    assert(obj != NULL);
  ------------------
  |  Branch (568:5): [True: 3.71k, False: 0]
  ------------------
  569|       |#ifdef Py_GIL_DISABLED
  570|       |    return (_PyStackRef){ .bits = (uintptr_t)obj };
  571|       |#else
  572|  3.71k|#  if SIZEOF_VOID_P > 4
  573|  3.71k|    unsigned int tag = obj->ob_flags & Py_TAG_REFCNT;
  ------------------
  |  |   55|  3.71k|#define Py_TAG_REFCNT 1
  ------------------
  574|       |#  else
  575|       |    unsigned int tag = _Py_IsImmortal(obj) ? Py_TAG_REFCNT : 0;
  576|       |#  endif
  577|  3.71k|    _PyStackRef ref = ((_PyStackRef){.bits = ((uintptr_t)(obj)) | tag});
  578|  3.71k|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|  3.71k|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  579|  3.71k|    return ref;
  580|  3.71k|#endif
  581|  3.71k|}
object.c:PyStackRef_AsPyObjectBorrow:
  540|  16.4k|{
  541|  16.4k|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 16.4k, False: 0]
  ------------------
  542|  16.4k|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|  16.4k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  16.4k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|  16.4k|}
object.c:PyStackRef_XCLOSE:
  722|  14.1k|{
  723|  14.1k|    assert(ref.bits != 0);
  ------------------
  |  Branch (723:5): [True: 14.1k, False: 0]
  ------------------
  724|  14.1k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (724:9): [True: 2.83k, False: 11.3k]
  ------------------
  725|  2.83k|        assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (725:9): [True: 2.83k, False: 0]
  ------------------
  726|  2.83k|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  452|  2.83k|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.83k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.83k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|  2.83k|    }
  728|  14.1k|}
object.c:PyStackRef_RefcountOnObject:
  534|  14.1k|{
  535|  14.1k|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|  14.1k|#define Py_TAG_REFCNT 1
  ------------------
  536|  14.1k|}
object.c:_PyThreadState_PushCStackRef:
  787|  13.2k|{
  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.2k|    ref->ref = PyStackRef_NULL;
  794|  13.2k|}
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));
  ------------------
  |  |  550|     10|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  562|     10|    }
  563|     11|}
object.c:_PyThreadState_PopCStackRef:
  805|  13.2k|{
  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.2k|    PyStackRef_XCLOSE(ref->ref);
  812|  13.2k|}
object.c:PyStackRef_IsTaggedInt:
  440|  16.4k|{
  441|  16.4k|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|  16.4k|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|  16.4k|#define Py_INT_TAG 3
  ------------------
  442|  16.4k|}
sentinelobject.c:PyStackRef_AsPyObjectBorrow:
  540|      3|{
  541|      3|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 3, False: 0]
  ------------------
  542|      3|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|      3|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|      3|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|      3|}
sentinelobject.c:PyStackRef_IsTaggedInt:
  440|      3|{
  441|      3|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|      3|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|      3|#define Py_INT_TAG 3
  ------------------
  442|      3|}
tupleobject.c:PyStackRef_AsPyObjectSteal:
  554|  4.58k|{
  555|  4.58k|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (555:5): [True: 4.58k, False: 0]
  ------------------
  556|  4.58k|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (556:5): [True: 4.58k, False: 0]
  ------------------
  557|  4.58k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (557:9): [True: 1.71k, False: 2.87k]
  ------------------
  558|  1.71k|        return BITS_TO_PTR(ref);
  ------------------
  |  |  476|  1.71k|#define BITS_TO_PTR(REF) ((PyObject *)((REF).bits))
  ------------------
  559|  1.71k|    }
  560|  2.87k|    else {
  561|  2.87k|        return Py_NewRef(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |  550|  2.87k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.87k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.87k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  562|  2.87k|    }
  563|  4.58k|}
tupleobject.c:PyStackRef_IsTaggedInt:
  440|  4.58k|{
  441|  4.58k|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|  4.58k|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|  4.58k|#define Py_INT_TAG 3
  ------------------
  442|  4.58k|}
tupleobject.c:PyStackRef_RefcountOnObject:
  534|  4.58k|{
  535|  4.58k|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|  4.58k|#define Py_TAG_REFCNT 1
  ------------------
  536|  4.58k|}
typeobject.c:PyStackRef_AsPyObjectBorrow:
  540|  19.4k|{
  541|  19.4k|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 19.4k, False: 0]
  ------------------
  542|  19.4k|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|  19.4k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  19.4k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|  19.4k|}
typeobject.c:PyStackRef_IsTaggedInt:
  440|  22.0k|{
  441|  22.0k|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|  22.0k|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|  22.0k|#define Py_INT_TAG 3
  ------------------
  442|  22.0k|}
typeobject.c:PyStackRef_XCLOSE:
  722|  49.8k|{
  723|  49.8k|    assert(ref.bits != 0);
  ------------------
  |  Branch (723:5): [True: 49.8k, False: 0]
  ------------------
  724|  49.8k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (724:9): [True: 42.5k, False: 7.33k]
  ------------------
  725|  42.5k|        assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (725:9): [True: 42.5k, False: 0]
  ------------------
  726|  42.5k|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  452|  42.5k|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  42.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  42.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|  42.5k|    }
  728|  49.8k|}
typeobject.c:PyStackRef_RefcountOnObject:
  534|  59.8k|{
  535|  59.8k|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|  59.8k|#define Py_TAG_REFCNT 1
  ------------------
  536|  59.8k|}
typeobject.c:PyStackRef_FromPyObjectSteal:
  567|  1.98k|{
  568|  1.98k|    assert(obj != NULL);
  ------------------
  |  Branch (568:5): [True: 1.98k, False: 0]
  ------------------
  569|       |#ifdef Py_GIL_DISABLED
  570|       |    return (_PyStackRef){ .bits = (uintptr_t)obj };
  571|       |#else
  572|  1.98k|#  if SIZEOF_VOID_P > 4
  573|  1.98k|    unsigned int tag = obj->ob_flags & Py_TAG_REFCNT;
  ------------------
  |  |   55|  1.98k|#define Py_TAG_REFCNT 1
  ------------------
  574|       |#  else
  575|       |    unsigned int tag = _Py_IsImmortal(obj) ? Py_TAG_REFCNT : 0;
  576|       |#  endif
  577|  1.98k|    _PyStackRef ref = ((_PyStackRef){.bits = ((uintptr_t)(obj)) | tag});
  578|  1.98k|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|  1.98k|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  579|  1.98k|    return ref;
  580|  1.98k|#endif
  581|  1.98k|}
typeobject.c:PyStackRef_CLOSE:
  700|  7.33k|{
  701|  7.33k|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (701:5): [True: 7.33k, False: 0]
  ------------------
  702|  7.33k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (702:9): [True: 7.31k, False: 26]
  ------------------
  703|  7.31k|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  452|  7.31k|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.31k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  704|  7.31k|    }
  705|  7.33k|}
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.53k, False: 71]
  ------------------
  558|  2.53k|        return BITS_TO_PTR(ref);
  ------------------
  |  |  476|  2.53k|#define BITS_TO_PTR(REF) ((PyObject *)((REF).bits))
  ------------------
  559|  2.53k|    }
  560|     71|    else {
  561|     71|        return Py_NewRef(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |  550|     71|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     71|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     71|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  562|     71|    }
  563|  2.61k|}
typeobject.c:_PyThreadState_PushCStackRef:
  787|  50.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|  50.8k|    ref->ref = PyStackRef_NULL;
  794|  50.8k|}
typeobject.c:_PyStackRef_FromPyObjectNew:
  595|  41.1k|{
  596|  41.1k|    assert(obj != NULL);
  ------------------
  |  Branch (596:5): [True: 41.1k, 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|  41.1k|    if (_Py_IsImmortal(obj)) {
  ------------------
  |  |  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: 2.68k, False: 38.4k]
  |  |  ------------------
  ------------------
  603|  2.68k|        return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT };
  ------------------
  |  |   55|  2.68k|#define Py_TAG_REFCNT 1
  ------------------
  604|  2.68k|    }
  605|  38.4k|#endif
  606|  38.4k|    _Py_INCREF_MORTAL(obj);
  607|  38.4k|    _PyStackRef ref = (_PyStackRef){ .bits = (uintptr_t)obj };
  608|  38.4k|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|  38.4k|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  609|  38.4k|    return ref;
  610|  41.1k|}
typeobject.c:_PyThreadState_PopCStackRef:
  805|  47.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|  47.7k|    PyStackRef_XCLOSE(ref->ref);
  812|  47.7k|}
typeobject.c:_PyThreadState_PopCStackRefSteal:
  816|  3.02k|{
  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.02k|    return ref->ref;
  823|  3.02k|}
typeobject.c:_PyThreadState_PushCStackRefNew:
  798|    994|{
  799|    994|    _PyThreadState_PushCStackRef(tstate, ref);
  800|    994|    ref->ref = PyStackRef_FromPyObjectNew(obj);
  ------------------
  |  |  611|    994|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    994|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    994|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  801|    994|}
ceval.c:_PyThreadState_PushCStackRef:
  787|  2.33k|{
  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.33k|    ref->ref = PyStackRef_NULL;
  794|  2.33k|}
ceval.c:PyStackRef_FromPyObjectBorrow:
  627|  18.1k|{
  628|  18.1k|    assert(obj != NULL);
  ------------------
  |  Branch (628:5): [True: 18.1k, False: 0]
  ------------------
  629|  18.1k|    return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT};
  ------------------
  |  |   55|  18.1k|#define Py_TAG_REFCNT 1
  ------------------
  630|  18.1k|}
ceval.c:PyStackRef_AsPyObjectBorrow:
  540|   371k|{
  541|   371k|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 371k, False: 0]
  ------------------
  542|   371k|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|   371k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|   371k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|   371k|}
ceval.c:PyStackRef_XCLOSE:
  722|  71.1k|{
  723|  71.1k|    assert(ref.bits != 0);
  ------------------
  |  Branch (723:5): [True: 71.1k, False: 0]
  ------------------
  724|  71.1k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (724:9): [True: 25.6k, False: 45.4k]
  ------------------
  725|  25.6k|        assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (725:9): [True: 25.6k, False: 0]
  ------------------
  726|  25.6k|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  452|  25.6k|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  25.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  25.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|  25.6k|    }
  728|  71.1k|}
ceval.c:PyStackRef_RefcountOnObject:
  534|   161k|{
  535|   161k|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|   161k|#define Py_TAG_REFCNT 1
  ------------------
  536|   161k|}
ceval.c:PyStackRef_CLOSE:
  700|  49.9k|{
  701|  49.9k|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (701:5): [True: 49.9k, False: 0]
  ------------------
  702|  49.9k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (702:9): [True: 22.7k, False: 27.1k]
  ------------------
  703|  22.7k|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  452|  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|  49.9k|}
ceval.c:_PyThreadState_PopCStackRefSteal:
  816|  2.33k|{
  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.33k|    return ref->ref;
  823|  2.33k|}
ceval.c:PyStackRef_TYPE:
  748|  3.20k|PyStackRef_TYPE(_PyStackRef stackref) {
  749|  3.20k|    if (PyStackRef_IsTaggedInt(stackref)) {
  ------------------
  |  Branch (749:9): [True: 0, False: 3.20k]
  ------------------
  750|      0|        return &PyLong_Type;
  751|      0|    }
  752|  3.20k|    return Py_TYPE(PyStackRef_AsPyObjectBorrow(stackref));
  ------------------
  |  |  213|  3.20k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.20k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.20k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  753|  3.20k|}
ceval.c:PyStackRef_TagInt:
  446|  2.04k|{
  447|  2.04k|    assert(Py_ARITHMETIC_RIGHT_SHIFT(intptr_t, (intptr_t)(((uintptr_t)i) << Py_TAGGED_SHIFT),
  ------------------
  |  Branch (447:5): [True: 2.04k, False: 0]
  ------------------
  448|  2.04k|                                     Py_TAGGED_SHIFT) == i);
  449|  2.04k|    return (_PyStackRef){ .bits = ((((uintptr_t)i) << Py_TAGGED_SHIFT) | Py_INT_TAG) };
  ------------------
  |  |   58|  2.04k|#define Py_TAGGED_SHIFT 2
  ------------------
                  return (_PyStackRef){ .bits = ((((uintptr_t)i) << Py_TAGGED_SHIFT) | Py_INT_TAG) };
  ------------------
  |  |   53|  2.04k|#define Py_INT_TAG 3
  ------------------
  450|  2.04k|}
ceval.c:PyStackRef_FromPyObjectSteal:
  567|  28.6k|{
  568|  28.6k|    assert(obj != NULL);
  ------------------
  |  Branch (568:5): [True: 28.6k, False: 0]
  ------------------
  569|       |#ifdef Py_GIL_DISABLED
  570|       |    return (_PyStackRef){ .bits = (uintptr_t)obj };
  571|       |#else
  572|  28.6k|#  if SIZEOF_VOID_P > 4
  573|  28.6k|    unsigned int tag = obj->ob_flags & Py_TAG_REFCNT;
  ------------------
  |  |   55|  28.6k|#define Py_TAG_REFCNT 1
  ------------------
  574|       |#  else
  575|       |    unsigned int tag = _Py_IsImmortal(obj) ? Py_TAG_REFCNT : 0;
  576|       |#  endif
  577|  28.6k|    _PyStackRef ref = ((_PyStackRef){.bits = ((uintptr_t)(obj)) | tag});
  578|  28.6k|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|  28.6k|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  579|  28.6k|    return ref;
  580|  28.6k|#endif
  581|  28.6k|}
ceval.c:PyStackRef_CLOSE_SPECIALIZED:
  710|  12.6k|{
  711|  12.6k|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (711:5): [True: 12.6k, False: 0]
  ------------------
  712|  12.6k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (712:9): [True: 1.72k, False: 10.8k]
  ------------------
  713|  1.72k|        Py_DECREF_MORTAL_SPECIALIZED(BITS_TO_PTR(ref), destruct);
  ------------------
  |  |  463|  1.72k|#define Py_DECREF_MORTAL_SPECIALIZED(op, destruct) Py_DECREF_MORTAL_SPECIALIZED(_PyObject_CAST(op), destruct)
  |  |  ------------------
  |  |  |  |  171|  1.72k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.72k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  714|  1.72k|    }
  715|  12.6k|}
ceval.c:PyStackRef_IsHeapSafe:
  659|  9.10k|{
  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.10k|    return (ref.bits & Py_TAG_BITS) != Py_TAG_REFCNT || ref.bits == PyStackRef_NULL_BITS || _Py_IsImmortal(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |   56|  9.10k|#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.2k|#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.70k|#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.62k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.62k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 5.01k, False: 1.60k]
  |  |  ------------------
  ------------------
  |  Branch (667:12): [True: 2.39k, False: 6.70k]
  |  Branch (667:57): [True: 84, False: 6.62k]
  ------------------
  668|  9.10k|#endif
  669|  9.10k|}
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.25k, False: 7.82k]
  ------------------
  558|  4.25k|        return BITS_TO_PTR(ref);
  ------------------
  |  |  476|  4.25k|#define BITS_TO_PTR(REF) ((PyObject *)((REF).bits))
  ------------------
  559|  4.25k|    }
  560|  7.82k|    else {
  561|  7.82k|        return Py_NewRef(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |  550|  7.82k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  7.82k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.82k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  562|  7.82k|    }
  563|  12.0k|}
ceval.c:_PyStackRef_FromPyObjectNew:
  595|  49.6k|{
  596|  49.6k|    assert(obj != NULL);
  ------------------
  |  Branch (596:5): [True: 49.6k, 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|  49.6k|    if (_Py_IsImmortal(obj)) {
  ------------------
  |  |  137|  49.6k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  49.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  49.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 7.65k, False: 42.0k]
  |  |  ------------------
  ------------------
  603|  7.65k|        return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT };
  ------------------
  |  |   55|  7.65k|#define Py_TAG_REFCNT 1
  ------------------
  604|  7.65k|    }
  605|  42.0k|#endif
  606|  42.0k|    _Py_INCREF_MORTAL(obj);
  607|  42.0k|    _PyStackRef ref = (_PyStackRef){ .bits = (uintptr_t)obj };
  608|  42.0k|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|  42.0k|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  609|  42.0k|    return ref;
  610|  49.6k|}
ceval.c:PyStackRef_Wrap:
  398|  5.15k|{
  399|  5.15k|    assert(ptr != NULL);
  ------------------
  |  Branch (399:5): [True: 5.15k, 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.15k|    return (_PyStackRef){ .bits = (uintptr_t)ptr };
  405|  5.15k|#endif
  406|  5.15k|}
ceval.c:PyStackRef_Unwrap:
  410|  5.15k|{
  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.15k|    return (void *)(ref.bits);
  416|  5.15k|#endif
  417|  5.15k|}
ceval.c:PyStackRef_FromPyObjectStealMortal:
  585|  3.07k|{
  586|  3.07k|    assert(obj != NULL);
  ------------------
  |  Branch (586:5): [True: 3.07k, False: 0]
  ------------------
  587|  3.07k|    assert(!_Py_IsImmortal(obj));
  ------------------
  |  Branch (587:5): [True: 3.07k, False: 0]
  ------------------
  588|  3.07k|    _PyStackRef ref = (_PyStackRef){ .bits = (uintptr_t)obj };
  589|  3.07k|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|  3.07k|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  590|  3.07k|    return ref;
  591|  3.07k|}
ceval.c:PyStackRef_DUP:
  639|  6.18k|{
  640|  6.18k|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (640:5): [True: 6.18k, False: 0]
  ------------------
  641|  6.18k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (641:9): [True: 3.37k, False: 2.81k]
  ------------------
  642|  3.37k|        _Py_INCREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  476|  3.37k|#define BITS_TO_PTR(REF) ((PyObject *)((REF).bits))
  ------------------
  643|  3.37k|    }
  644|  6.18k|    return ref;
  645|  6.18k|}
ceval.c:_PyStackRef_CloseStack:
  873|  4.74k|{
  874|       |    // arguments is a pointer into the GC visible stack,
  875|       |    // so we must NULL out values as we clear them.
  876|  13.4k|    for (int i = total_args-1; i >= 0; i--) {
  ------------------
  |  Branch (876:32): [True: 8.74k, False: 4.74k]
  ------------------
  877|  8.74k|        _PyStackRef tmp = arguments[i];
  878|  8.74k|        arguments[i] = PyStackRef_NULL;
  879|  8.74k|        PyStackRef_CLOSE(tmp);
  880|  8.74k|    }
  881|  4.74k|}
ceval.c:PyStackRef_IsValid:
  433|    869|{
  434|       |    /* Invalid values are ERROR and NULL */
  435|    869|    return ref.bits >= Py_INT_TAG;
  ------------------
  |  |   53|    869|#define Py_INT_TAG 3
  ------------------
  436|    869|}
ceval.c:PyStackRef_IsError:
  421|    345|{
  422|    345|    return ref.bits == Py_TAG_INVALID;
  ------------------
  |  |   54|    345|#define Py_TAG_INVALID 2
  ------------------
  423|    345|}
ceval.c:PyStackRef_IsTaggedInt:
  440|   418k|{
  441|   418k|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|   418k|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|   418k|#define Py_INT_TAG 3
  ------------------
  442|   418k|}
ceval.c:PyStackRef_UntagInt:
  454|  7.33k|{
  455|  7.33k|    assert(PyStackRef_IsTaggedInt(i));
  ------------------
  |  Branch (455:5): [True: 7.33k, False: 0]
  ------------------
  456|  7.33k|    intptr_t val = (intptr_t)i.bits;
  457|  7.33k|    return Py_ARITHMETIC_RIGHT_SHIFT(intptr_t, val, Py_TAGGED_SHIFT);
  ------------------
  |  |  226|  7.33k|#define Py_ARITHMETIC_RIGHT_SHIFT(TYPE, I, J) ((I) >> (J))
  ------------------
  458|  7.33k|}
ceval.c:PyStackRef_IncrementTaggedIntNoOverflow:
  463|  3.16k|{
  464|  3.16k|    assert((ref.bits & Py_TAG_BITS) == Py_INT_TAG); // Is tagged int
  ------------------
  |  Branch (464:5): [True: 3.16k, False: 0]
  ------------------
  465|  3.16k|    assert((ref.bits & (~Py_TAG_BITS)) != (INTPTR_MAX & (~Py_TAG_BITS))); // Isn't about to overflow
  ------------------
  |  Branch (465:5): [True: 3.16k, False: 0]
  ------------------
  466|  3.16k|    return (_PyStackRef){ .bits = ref.bits + (1 << Py_TAGGED_SHIFT) };
  ------------------
  |  |   58|  3.16k|#define Py_TAGGED_SHIFT 2
  ------------------
  467|  3.16k|}
ceval.c:PyStackRef_MakeHeapSafe:
  673|  9.08k|{
  674|  9.08k|    if (PyStackRef_IsHeapSafe(ref)) {
  ------------------
  |  Branch (674:9): [True: 7.49k, False: 1.58k]
  ------------------
  675|  7.49k|        return ref;
  676|  7.49k|    }
  677|  1.58k|    PyObject *obj = BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|  1.58k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  1.58k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  678|  1.58k|    Py_INCREF(obj);
  ------------------
  |  |  310|  1.58k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.58k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  679|  1.58k|    ref.bits = (uintptr_t)obj;
  680|  1.58k|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|  1.58k|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  681|  1.58k|    return ref;
  682|  9.08k|}
ceval.c:PyStackRef_DupImmortal:
  650|  9.73k|{
  651|  9.73k|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (651:5): [True: 9.73k, False: 0]
  ------------------
  652|  9.73k|    assert(!PyStackRef_RefcountOnObject(ref));
  ------------------
  |  Branch (652:5): [True: 9.73k, False: 0]
  ------------------
  653|  9.73k|    assert(_Py_IsImmortal(BITS_TO_PTR_MASKED(ref)));
  ------------------
  |  Branch (653:5): [True: 9.73k, False: 0]
  ------------------
  654|  9.73k|    return ref;
  655|  9.73k|}
ceval.c:PyStackRef_Borrow:
  547|  46.0k|{
  548|  46.0k|    return (_PyStackRef){ .bits = ref.bits | Py_TAG_REFCNT };
  ------------------
  |  |   55|  46.0k|#define Py_TAG_REFCNT 1
  ------------------
  549|  46.0k|}
frame.c:PyStackRef_IsTaggedInt:
  440|  1.40k|{
  441|  1.40k|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|  1.40k|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|  1.40k|#define Py_INT_TAG 3
  ------------------
  442|  1.40k|}
frame.c:PyStackRef_XCLOSE:
  722|  36.3k|{
  723|  36.3k|    assert(ref.bits != 0);
  ------------------
  |  Branch (723:5): [True: 36.3k, False: 0]
  ------------------
  724|  36.3k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (724:9): [True: 21.3k, False: 15.0k]
  ------------------
  725|  21.3k|        assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (725:9): [True: 21.3k, False: 0]
  ------------------
  726|  21.3k|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  452|  21.3k|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  21.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  21.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|  21.3k|    }
  728|  36.3k|}
frame.c:PyStackRef_RefcountOnObject:
  534|  36.5k|{
  535|  36.5k|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|  36.5k|#define Py_TAG_REFCNT 1
  ------------------
  536|  36.5k|}
frame.c:PyStackRef_MakeHeapSafe:
  673|    835|{
  674|    835|    if (PyStackRef_IsHeapSafe(ref)) {
  ------------------
  |  Branch (674:9): [True: 783, False: 52]
  ------------------
  675|    783|        return ref;
  676|    783|    }
  677|     52|    PyObject *obj = BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|     52|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|     52|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  678|     52|    Py_INCREF(obj);
  ------------------
  |  |  310|     52|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     52|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     52|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  679|     52|    ref.bits = (uintptr_t)obj;
  680|     52|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|     52|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  681|     52|    return ref;
  682|    835|}
frame.c:PyStackRef_IsHeapSafe:
  659|    835|{
  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|    835|    return (ref.bits & Py_TAG_BITS) != Py_TAG_REFCNT || ref.bits == PyStackRef_NULL_BITS || _Py_IsImmortal(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |   56|    835|#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.67k|#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|    386|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  ------------------
  |  |  |  |   55|  1.22k|#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.07k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    242|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    242|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 190, False: 52]
  |  |  ------------------
  ------------------
  |  Branch (667:12): [True: 449, False: 386]
  |  Branch (667:57): [True: 144, False: 242]
  ------------------
  668|    835|#endif
  669|    835|}
frame.c:PyStackRef_DUP:
  639|    140|{
  640|    140|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (640:5): [True: 140, False: 0]
  ------------------
  641|    140|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (641:9): [True: 140, False: 0]
  ------------------
  642|    140|        _Py_INCREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  476|    140|#define BITS_TO_PTR(REF) ((PyObject *)((REF).bits))
  ------------------
  643|    140|    }
  644|    140|    return ref;
  645|    140|}
frame.c:PyStackRef_AsPyObjectBorrow:
  540|  1.40k|{
  541|  1.40k|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 1.40k, False: 0]
  ------------------
  542|  1.40k|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|  1.40k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  1.40k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|  1.40k|}
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.84k|{
  541|  3.84k|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 3.84k, False: 0]
  ------------------
  542|  3.84k|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|  3.84k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  3.84k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|  3.84k|}
specialize.c:PyStackRef_IsTaggedInt:
  440|  3.92k|{
  441|  3.92k|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|  3.92k|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|  3.92k|#define Py_INT_TAG 3
  ------------------
  442|  3.92k|}
specialize.c:PyStackRef_TYPE:
  748|     87|PyStackRef_TYPE(_PyStackRef stackref) {
  749|     87|    if (PyStackRef_IsTaggedInt(stackref)) {
  ------------------
  |  Branch (749:9): [True: 0, False: 87]
  ------------------
  750|      0|        return &PyLong_Type;
  751|      0|    }
  752|     87|    return Py_TYPE(PyStackRef_AsPyObjectBorrow(stackref));
  ------------------
  |  |  213|     87|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     87|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     87|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  753|     87|}
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|    446|{
  541|    446|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 446, False: 0]
  ------------------
  542|    446|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|    446|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|    446|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|    446|}
traceback.c:PyStackRef_IsTaggedInt:
  440|    446|{
  441|    446|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|    446|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|    446|#define Py_INT_TAG 3
  ------------------
  442|    446|}
typecache.c:_PyStackRef_FromPyObjectNew:
  595|  9.60k|{
  596|  9.60k|    assert(obj != NULL);
  ------------------
  |  Branch (596:5): [True: 9.60k, 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.60k|    if (_Py_IsImmortal(obj)) {
  ------------------
  |  |  137|  9.60k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.60k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.60k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 92, False: 9.51k]
  |  |  ------------------
  ------------------
  603|     92|        return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT };
  ------------------
  |  |   55|     92|#define Py_TAG_REFCNT 1
  ------------------
  604|     92|    }
  605|  9.51k|#endif
  606|  9.51k|    _Py_INCREF_MORTAL(obj);
  607|  9.51k|    _PyStackRef ref = (_PyStackRef){ .bits = (uintptr_t)obj };
  608|  9.51k|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|  9.51k|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  609|  9.51k|    return ref;
  610|  9.60k|}
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));
  ------------------
  |  |  452|     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));
  ------------------
  |  |  452|    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|    835|{
  535|    835|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|    835|#define Py_TAG_REFCNT 1
  ------------------
  536|    835|}
frameobject.c:PyStackRef_XCLOSE:
  722|    835|{
  723|    835|    assert(ref.bits != 0);
  ------------------
  |  Branch (723:5): [True: 835, False: 0]
  ------------------
  724|    835|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (724:9): [True: 501, False: 334]
  ------------------
  725|    501|        assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (725:9): [True: 501, False: 0]
  ------------------
  726|    501|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  452|    501|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    501|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    501|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|    501|    }
  728|    835|}
lazyimportobject.c:PyStackRef_AsPyObjectBorrow:
  540|     28|{
  541|     28|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 28, False: 0]
  ------------------
  542|     28|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|     28|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|     28|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|     28|}
lazyimportobject.c:PyStackRef_IsTaggedInt:
  440|     28|{
  441|     28|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|     28|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|     28|#define Py_INT_TAG 3
  ------------------
  442|     28|}

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);
  ------------------
  |  |  505|     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);
  ------------------
  |  |  505|      0|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   57|      0|    }
   58|     68|}
enumobject.c:_PyTuple_Recycle:
   53|    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);
  ------------------
  |  |  505|     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.3k|{
  110|       |    return _PyType_GetDict(type) != NULL;
  111|  15.3k|}
typeobject.c:_PyType_IsReady:
  109|  5.27k|{
  110|       |    return _PyType_GetDict(type) != NULL;
  111|  5.27k|}
weakrefobject.c:_PyStaticType_GET_WEAKREFS_LISTPTR:
   48|    575|{
   49|    575|    assert(state != NULL);
  ------------------
  |  Branch (49:5): [True: 575, False: 0]
  ------------------
   50|    575|    return &state->tp_weaklist;
   51|    575|}
modsupport.c:_PyType_IsReady:
  109|     77|{
  110|       |    return _PyType_GetDict(type) != NULL;
  111|     77|}
specialize.c:_PyType_IsReady:
  109|  1.12k|{
  110|       |    return _PyType_GetDict(type) != NULL;
  111|  1.12k|}
_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_Update:
  134|   278k|{
  135|   278k|    PyObject *buffer = writer->buffer;
  136|   278k|    writer->maxchar = PyUnicode_MAX_CHAR_VALUE(buffer);
  ------------------
  |  |  405|   278k|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   278k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   278k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  137|   278k|    writer->data = PyUnicode_DATA(buffer);
  ------------------
  |  |  284|   278k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   278k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   278k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  138|   278k|    writer->kind = PyUnicode_KIND(buffer);
  ------------------
  |  |  258|   278k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|   557k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 278k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  139|       |
  140|   278k|    if (!writer->readonly) {
  ------------------
  |  Branch (140:9): [True: 278k, False: 26]
  ------------------
  141|   278k|        writer->size = PyUnicode_GET_LENGTH(buffer);
  ------------------
  |  |  299|   278k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   278k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   278k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  142|   278k|    }
  143|     26|    else {
  144|       |        /* Copy-on-write mode: set buffer size to 0 so
  145|       |         * _PyUnicodeWriter_Prepare() will copy (and enlarge) the buffer on
  146|       |         * next write. */
  147|     26|        writer->size = 0;
  148|     26|    }
  149|   278k|}
unicode_writer.c:_PyUnicodeWriter_CanWrite:
  114|   278k|{
  115|   278k|    assert(!writer->readonly);
  ------------------
  |  Branch (115:5): [True: 278k, False: 0]
  ------------------
  116|       |
  117|   278k|    PyObject *buffer = writer->buffer;
  118|   278k|    assert(buffer != NULL);
  ------------------
  |  Branch (118:5): [True: 278k, False: 0]
  ------------------
  119|       |
  120|       |    // Code adapted from _PyUnicode_IsModifiable().
  121|       |    // Do not use _PyObject_IsUniquelyReferenced(): the caller can have its own
  122|       |    // lock to prevent a writer from being used by two threads at the same
  123|       |    // time.
  124|   278k|    assert(Py_REFCNT(buffer) == 1);
  ------------------
  |  Branch (124:5): [True: 278k, False: 0]
  ------------------
  125|   278k|    assert(PyUnstable_Unicode_GET_CACHED_HASH(buffer) == -1);
  ------------------
  |  Branch (125:5): [True: 278k, False: 0]
  ------------------
  126|   278k|    assert(!PyUnicode_CHECK_INTERNED(buffer));
  ------------------
  |  Branch (126:5): [True: 278k, False: 0]
  ------------------
  127|   278k|    assert(!_Py_IsImmortal(buffer));
  ------------------
  |  Branch (127:5): [True: 278k, False: 0]
  ------------------
  128|   278k|    return 1;
  129|   278k|}
unicode_writer.c:_PyUnicodeWriter_WriteCharInline:
  153|    100|{
  154|    100|    if (ch > writer->maxchar || 1 > writer->size - writer->pos) {
  ------------------
  |  Branch (154:9): [True: 0, False: 100]
  |  Branch (154:33): [True: 24, False: 76]
  ------------------
  155|     24|        if (writer->buffer == NULL && ch <= 255) {
  ------------------
  |  Branch (155:13): [True: 0, False: 24]
  |  Branch (155:39): [True: 0, False: 0]
  ------------------
  156|       |            // If the first write is a Latin1 character, use the singleton
  157|       |            // as a read-only object
  158|      0|            PyObject *obj = _Py_LATIN1_CHR(ch);
  ------------------
  |  |  940|      0|    ((CH) < 128 \
  |  |  ------------------
  |  |  |  Branch (940:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  941|      0|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  942|      0|     : (PyObject*)&_Py_SINGLETON(strings).latin1[(CH) - 128])
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  159|      0|            writer->readonly = 1;
  160|      0|            writer->buffer = obj; // Py_NewRef() is not need on immortal object
  161|      0|            _PyUnicodeWriter_Update(writer);
  162|      0|            assert(writer->pos == 0);
  ------------------
  |  Branch (162:13): [True: 0, False: 0]
  ------------------
  163|      0|            writer->pos = 1;
  164|       |            // The next write will create a new buffer and copy the string
  165|      0|            return 0;
  166|      0|        }
  167|       |
  168|     24|        if (_PyUnicodeWriter_PrepareInternal(writer, 1, ch) == -1) {
  ------------------
  |  Branch (168:13): [True: 0, False: 24]
  ------------------
  169|      0|            return -1;
  170|      0|        }
  171|     24|    }
  172|    100|    assert(_PyUnicodeWriter_CanWrite(writer));
  ------------------
  |  Branch (172:5): [True: 100, False: 0]
  ------------------
  173|       |
  174|    100|    PyUnicode_WRITE(writer->kind, writer->data, writer->pos, ch);
  ------------------
  |  |  335|    100|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|    100|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|    100|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  336|    100|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|    100|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  175|    100|    writer->pos++;
  176|    100|    return 0;
  177|    100|}
unicodeobject.c:_PyUnicodeWriter_CanWrite:
  114|    438|{
  115|    438|    assert(!writer->readonly);
  ------------------
  |  Branch (115:5): [True: 438, False: 0]
  ------------------
  116|       |
  117|    438|    PyObject *buffer = writer->buffer;
  118|    438|    assert(buffer != NULL);
  ------------------
  |  Branch (118:5): [True: 438, False: 0]
  ------------------
  119|       |
  120|       |    // Code adapted from _PyUnicode_IsModifiable().
  121|       |    // Do not use _PyObject_IsUniquelyReferenced(): the caller can have its own
  122|       |    // lock to prevent a writer from being used by two threads at the same
  123|       |    // time.
  124|    438|    assert(Py_REFCNT(buffer) == 1);
  ------------------
  |  Branch (124:5): [True: 438, False: 0]
  ------------------
  125|    438|    assert(PyUnstable_Unicode_GET_CACHED_HASH(buffer) == -1);
  ------------------
  |  Branch (125:5): [True: 438, False: 0]
  ------------------
  126|    438|    assert(!PyUnicode_CHECK_INTERNED(buffer));
  ------------------
  |  Branch (126:5): [True: 438, False: 0]
  ------------------
  127|    438|    assert(!_Py_IsImmortal(buffer));
  ------------------
  |  Branch (127:5): [True: 438, False: 0]
  ------------------
  128|    438|    return 1;
  129|    438|}
unicodeobject.c:_PyUnicodeWriter_WriteCharInline:
  153|    300|{
  154|    300|    if (ch > writer->maxchar || 1 > writer->size - writer->pos) {
  ------------------
  |  Branch (154:9): [True: 248, False: 52]
  |  Branch (154:33): [True: 8, False: 44]
  ------------------
  155|    256|        if (writer->buffer == NULL && ch <= 255) {
  ------------------
  |  Branch (155:13): [True: 0, False: 256]
  |  Branch (155:39): [True: 0, False: 0]
  ------------------
  156|       |            // If the first write is a Latin1 character, use the singleton
  157|       |            // as a read-only object
  158|      0|            PyObject *obj = _Py_LATIN1_CHR(ch);
  ------------------
  |  |  940|      0|    ((CH) < 128 \
  |  |  ------------------
  |  |  |  Branch (940:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  941|      0|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  942|      0|     : (PyObject*)&_Py_SINGLETON(strings).latin1[(CH) - 128])
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  159|      0|            writer->readonly = 1;
  160|      0|            writer->buffer = obj; // Py_NewRef() is not need on immortal object
  161|      0|            _PyUnicodeWriter_Update(writer);
  162|      0|            assert(writer->pos == 0);
  ------------------
  |  Branch (162:13): [True: 0, False: 0]
  ------------------
  163|      0|            writer->pos = 1;
  164|       |            // The next write will create a new buffer and copy the string
  165|      0|            return 0;
  166|      0|        }
  167|       |
  168|    256|        if (_PyUnicodeWriter_PrepareInternal(writer, 1, ch) == -1) {
  ------------------
  |  Branch (168:13): [True: 0, False: 256]
  ------------------
  169|      0|            return -1;
  170|      0|        }
  171|    256|    }
  172|    300|    assert(_PyUnicodeWriter_CanWrite(writer));
  ------------------
  |  Branch (172:5): [True: 300, False: 0]
  ------------------
  173|       |
  174|    300|    PyUnicode_WRITE(writer->kind, writer->data, writer->pos, ch);
  ------------------
  |  |  335|    300|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|    300|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|    300|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  336|    300|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|    300|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  175|    300|    writer->pos++;
  176|    300|    return 0;
  177|    300|}
unicodeobject.c:_PyUnicode_EnsureUnicode:
  102|  1.68k|{
  103|  1.68k|    if (!PyUnicode_Check(obj)) {
  ------------------
  |  |  103|  1.68k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.68k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (103:9): [True: 0, False: 1.68k]
  ------------------
  104|      0|        PyErr_Format(PyExc_TypeError,
  105|      0|                     "must be str, not %T", obj);
  106|      0|        return -1;
  107|      0|    }
  108|  1.68k|    return 0;
  109|  1.68k|}
unicodeobject.c:_PyUnicode_Fill:
   70|      8|{
   71|      8|    assert(0 <= start);
  ------------------
  |  Branch (71:5): [True: 8, False: 0]
  ------------------
   72|      8|    switch (kind) {
   73|      8|    case PyUnicode_1BYTE_KIND: {
  ------------------
  |  Branch (73:5): [True: 8, False: 0]
  ------------------
   74|      8|        assert(value <= 0xff);
  ------------------
  |  Branch (74:9): [True: 8, False: 0]
  ------------------
   75|      8|        Py_UCS1 ch = (unsigned char)value;
   76|      8|        Py_UCS1 *to = (Py_UCS1 *)data + start;
   77|      8|        memset(to, ch, length);
   78|      8|        break;
   79|      8|    }
   80|      0|    case PyUnicode_2BYTE_KIND: {
  ------------------
  |  Branch (80:5): [True: 0, False: 8]
  ------------------
   81|      0|        assert(value <= 0xffff);
  ------------------
  |  Branch (81:9): [True: 0, False: 0]
  ------------------
   82|      0|        Py_UCS2 ch = (Py_UCS2)value;
   83|      0|        Py_UCS2 *to = (Py_UCS2 *)data + start;
   84|      0|        const Py_UCS2 *end = to + length;
   85|      0|        for (; to < end; ++to) *to = ch;
  ------------------
  |  Branch (85:16): [True: 0, False: 0]
  ------------------
   86|      0|        break;
   87|      0|    }
   88|      0|    case PyUnicode_4BYTE_KIND: {
  ------------------
  |  Branch (88:5): [True: 0, False: 8]
  ------------------
   89|      0|        assert(value <= _Py_MAX_UNICODE);
  ------------------
  |  Branch (89:9): [True: 0, False: 0]
  ------------------
   90|      0|        Py_UCS4 ch = value;
   91|      0|        Py_UCS4 * to = (Py_UCS4 *)data + start;
   92|      0|        const Py_UCS4 *end = to + length;
   93|      0|        for (; to < end; ++to) *to = ch;
  ------------------
  |  Branch (93:16): [True: 0, False: 0]
  ------------------
   94|      0|        break;
   95|      0|    }
   96|      0|    default: Py_UNREACHABLE();
  ------------------
  |  |  289|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  |  Branch (96:5): [True: 0, False: 8]
  ------------------
   97|      8|    }
   98|      8|}
unicode_format.c:_PyUnicode_EnsureUnicode:
  102|     21|{
  103|     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 (103:9): [True: 0, False: 21]
  ------------------
  104|      0|        PyErr_Format(PyExc_TypeError,
  105|      0|                     "must be str, not %T", obj);
  106|      0|        return -1;
  107|      0|    }
  108|     21|    return 0;
  109|     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__check_retval_._ascii.ob_base),
  218|      2|        offsetof(struct _Py_global_strings, identifiers._py__dealloc_warn._ascii.ob_base),
  219|      2|        offsetof(struct _Py_global_strings, identifiers._py__feature_version._ascii.ob_base),
  220|      2|        offsetof(struct _Py_global_strings, identifiers._py__field_types._ascii.ob_base),
  221|      2|        offsetof(struct _Py_global_strings, identifiers._py__fields_._ascii.ob_base),
  222|      2|        offsetof(struct _Py_global_strings, identifiers._py__filters._ascii.ob_base),
  223|      2|        offsetof(struct _Py_global_strings, identifiers._py__finalizing._ascii.ob_base),
  224|      2|        offsetof(struct _Py_global_strings, identifiers._py__find_and_load._ascii.ob_base),
  225|      2|        offsetof(struct _Py_global_strings, identifiers._py__find_and_load_lazy_submodule._ascii.ob_base),
  226|      2|        offsetof(struct _Py_global_strings, identifiers._py__fix_up_module._ascii.ob_base),
  227|      2|        offsetof(struct _Py_global_strings, identifiers._py__flags_._ascii.ob_base),
  228|      2|        offsetof(struct _Py_global_strings, identifiers._py__get_sourcefile._ascii.ob_base),
  229|      2|        offsetof(struct _Py_global_strings, identifiers._py__handle_fromlist._ascii.ob_base),
  230|      2|        offsetof(struct _Py_global_strings, identifiers._py__initializing._ascii.ob_base),
  231|      2|        offsetof(struct _Py_global_strings, identifiers._py__internal_use._ascii.ob_base),
  232|      2|        offsetof(struct _Py_global_strings, identifiers._py__io._ascii.ob_base),
  233|      2|        offsetof(struct _Py_global_strings, identifiers._py__is_text_encoding._ascii.ob_base),
  234|      2|        offsetof(struct _Py_global_strings, identifiers._py__isatty_open_only._ascii.ob_base),
  235|      2|        offsetof(struct _Py_global_strings, identifiers._py__length_._ascii.ob_base),
  236|      2|        offsetof(struct _Py_global_strings, identifiers._py__limbo._ascii.ob_base),
  237|      2|        offsetof(struct _Py_global_strings, identifiers._py__lock_unlock_module._ascii.ob_base),
  238|      2|        offsetof(struct _Py_global_strings, identifiers._py__loop._ascii.ob_base),
  239|      2|        offsetof(struct _Py_global_strings, identifiers._py__needs_com_addref_._ascii.ob_base),
  240|      2|        offsetof(struct _Py_global_strings, identifiers._py__only_immortal._ascii.ob_base),
  241|      2|        offsetof(struct _Py_global_strings, identifiers._py__restype_._ascii.ob_base),
  242|      2|        offsetof(struct _Py_global_strings, identifiers._py__showwarnmsg._ascii.ob_base),
  243|      2|        offsetof(struct _Py_global_strings, identifiers._py__shutdown._ascii.ob_base),
  244|      2|        offsetof(struct _Py_global_strings, identifiers._py__slotnames._ascii.ob_base),
  245|      2|        offsetof(struct _Py_global_strings, identifiers._py__strptime._ascii.ob_base),
  246|      2|        offsetof(struct _Py_global_strings, identifiers._py__strptime_datetime_date._ascii.ob_base),
  247|      2|        offsetof(struct _Py_global_strings, identifiers._py__strptime_datetime_datetime._ascii.ob_base),
  248|      2|        offsetof(struct _Py_global_strings, identifiers._py__strptime_datetime_time._ascii.ob_base),
  249|      2|        offsetof(struct _Py_global_strings, identifiers._py__type_._ascii.ob_base),
  250|      2|        offsetof(struct _Py_global_strings, identifiers._py__uninitialized_submodules._ascii.ob_base),
  251|      2|        offsetof(struct _Py_global_strings, identifiers._py__warn_unawaited_coroutine._ascii.ob_base),
  252|      2|        offsetof(struct _Py_global_strings, identifiers._py__xoptions._ascii.ob_base),
  253|      2|        offsetof(struct _Py_global_strings, identifiers._py_abs_tol._ascii.ob_base),
  254|      2|        offsetof(struct _Py_global_strings, identifiers._py_access._ascii.ob_base),
  255|      2|        offsetof(struct _Py_global_strings, identifiers._py_aclose._ascii.ob_base),
  256|      2|        offsetof(struct _Py_global_strings, identifiers._py_add._ascii.ob_base),
  257|      2|        offsetof(struct _Py_global_strings, identifiers._py_add_done_callback._ascii.ob_base),
  258|      2|        offsetof(struct _Py_global_strings, identifiers._py_adobe._ascii.ob_base),
  259|      2|        offsetof(struct _Py_global_strings, identifiers._py_after_in_child._ascii.ob_base),
  260|      2|        offsetof(struct _Py_global_strings, identifiers._py_after_in_parent._ascii.ob_base),
  261|      2|        offsetof(struct _Py_global_strings, identifiers._py_alias._ascii.ob_base),
  262|      2|        offsetof(struct _Py_global_strings, identifiers._py_align._ascii.ob_base),
  263|      2|        offsetof(struct _Py_global_strings, identifiers._py_all._ascii.ob_base),
  264|      2|        offsetof(struct _Py_global_strings, identifiers._py_all_interpreters._ascii.ob_base),
  265|      2|        offsetof(struct _Py_global_strings, identifiers._py_all_threads._ascii.ob_base),
  266|      2|        offsetof(struct _Py_global_strings, identifiers._py_allow_code._ascii.ob_base),
  267|      2|        offsetof(struct _Py_global_strings, identifiers._py_alphabet._ascii.ob_base),
  268|      2|        offsetof(struct _Py_global_strings, identifiers._py_any._ascii.ob_base),
  269|      2|        offsetof(struct _Py_global_strings, identifiers._py_append._ascii.ob_base),
  270|      2|        offsetof(struct _Py_global_strings, identifiers._py_arg._ascii.ob_base),
  271|      2|        offsetof(struct _Py_global_strings, identifiers._py_argdefs._ascii.ob_base),
  272|      2|        offsetof(struct _Py_global_strings, identifiers._py_args._ascii.ob_base),
  273|      2|        offsetof(struct _Py_global_strings, identifiers._py_arguments._ascii.ob_base),
  274|      2|        offsetof(struct _Py_global_strings, identifiers._py_argv._ascii.ob_base),
  275|      2|        offsetof(struct _Py_global_strings, identifiers._py_as_integer_ratio._ascii.ob_base),
  276|      2|        offsetof(struct _Py_global_strings, identifiers._py_asend._ascii.ob_base),
  277|      2|        offsetof(struct _Py_global_strings, identifiers._py_assoclen._ascii.ob_base),
  278|      2|        offsetof(struct _Py_global_strings, identifiers._py_ast._ascii.ob_base),
  279|      2|        offsetof(struct _Py_global_strings, identifiers._py_athrow._ascii.ob_base),
  280|      2|        offsetof(struct _Py_global_strings, identifiers._py_attr._ascii.ob_base),
  281|      2|        offsetof(struct _Py_global_strings, identifiers._py_attribute._ascii.ob_base),
  282|      2|        offsetof(struct _Py_global_strings, identifiers._py_autocommit._ascii.ob_base),
  283|      2|        offsetof(struct _Py_global_strings, identifiers._py_backtick._ascii.ob_base),
  284|      2|        offsetof(struct _Py_global_strings, identifiers._py_base._ascii.ob_base),
  285|      2|        offsetof(struct _Py_global_strings, identifiers._py_before._ascii.ob_base),
  286|      2|        offsetof(struct _Py_global_strings, identifiers._py_big._ascii.ob_base),
  287|      2|        offsetof(struct _Py_global_strings, identifiers._py_binary_form._ascii.ob_base),
  288|      2|        offsetof(struct _Py_global_strings, identifiers._py_bit_offset._ascii.ob_base),
  289|      2|        offsetof(struct _Py_global_strings, identifiers._py_bit_size._ascii.ob_base),
  290|      2|        offsetof(struct _Py_global_strings, identifiers._py_block._ascii.ob_base),
  291|      2|        offsetof(struct _Py_global_strings, identifiers._py_blocking._ascii.ob_base),
  292|      2|        offsetof(struct _Py_global_strings, identifiers._py_bound._ascii.ob_base),
  293|      2|        offsetof(struct _Py_global_strings, identifiers._py_buffer._ascii.ob_base),
  294|      2|        offsetof(struct _Py_global_strings, identifiers._py_buffer_callback._ascii.ob_base),
  295|      2|        offsetof(struct _Py_global_strings, identifiers._py_buffer_size._ascii.ob_base),
  296|      2|        offsetof(struct _Py_global_strings, identifiers._py_buffering._ascii.ob_base),
  297|      2|        offsetof(struct _Py_global_strings, identifiers._py_buffers._ascii.ob_base),
  298|      2|        offsetof(struct _Py_global_strings, identifiers._py_bufsize._ascii.ob_base),
  299|      2|        offsetof(struct _Py_global_strings, identifiers._py_builtins._ascii.ob_base),
  300|      2|        offsetof(struct _Py_global_strings, identifiers._py_byte_offset._ascii.ob_base),
  301|      2|        offsetof(struct _Py_global_strings, identifiers._py_byte_size._ascii.ob_base),
  302|      2|        offsetof(struct _Py_global_strings, identifiers._py_byteorder._ascii.ob_base),
  303|      2|        offsetof(struct _Py_global_strings, identifiers._py_bytes._ascii.ob_base),
  304|      2|        offsetof(struct _Py_global_strings, identifiers._py_bytes_per_sep._ascii.ob_base),
  305|      2|        offsetof(struct _Py_global_strings, identifiers._py_c_call._ascii.ob_base),
  306|      2|        offsetof(struct _Py_global_strings, identifiers._py_c_exception._ascii.ob_base),
  307|      2|        offsetof(struct _Py_global_strings, identifiers._py_c_parameter_type._ascii.ob_base),
  308|      2|        offsetof(struct _Py_global_strings, identifiers._py_c_return._ascii.ob_base),
  309|      2|        offsetof(struct _Py_global_strings, identifiers._py_c_stack._ascii.ob_base),
  310|      2|        offsetof(struct _Py_global_strings, identifiers._py_cache_frames._ascii.ob_base),
  311|      2|        offsetof(struct _Py_global_strings, identifiers._py_cached_datetime_module._ascii.ob_base),
  312|      2|        offsetof(struct _Py_global_strings, identifiers._py_cached_statements._ascii.ob_base),
  313|      2|        offsetof(struct _Py_global_strings, identifiers._py_cadata._ascii.ob_base),
  314|      2|        offsetof(struct _Py_global_strings, identifiers._py_cafile._ascii.ob_base),
  315|      2|        offsetof(struct _Py_global_strings, identifiers._py_call._ascii.ob_base),
  316|      2|        offsetof(struct _Py_global_strings, identifiers._py_call_exception_handler._ascii.ob_base),
  317|      2|        offsetof(struct _Py_global_strings, identifiers._py_call_soon._ascii.ob_base),
  318|      2|        offsetof(struct _Py_global_strings, identifiers._py_callable._ascii.ob_base),
  319|      2|        offsetof(struct _Py_global_strings, identifiers._py_callback._ascii.ob_base),
  320|      2|        offsetof(struct _Py_global_strings, identifiers._py_cancel._ascii.ob_base),
  321|      2|        offsetof(struct _Py_global_strings, identifiers._py_canonical._ascii.ob_base),
  322|      2|        offsetof(struct _Py_global_strings, identifiers._py_capath._ascii.ob_base),
  323|      2|        offsetof(struct _Py_global_strings, identifiers._py_capitals._ascii.ob_base),
  324|      2|        offsetof(struct _Py_global_strings, identifiers._py_capture_features._ascii.ob_base),
  325|      2|        offsetof(struct _Py_global_strings, identifiers._py_category._ascii.ob_base),
  326|      2|        offsetof(struct _Py_global_strings, identifiers._py_cb_type._ascii.ob_base),
  327|      2|        offsetof(struct _Py_global_strings, identifiers._py_certfile._ascii.ob_base),
  328|      2|        offsetof(struct _Py_global_strings, identifiers._py_chain._ascii.ob_base),
  329|      2|        offsetof(struct _Py_global_strings, identifiers._py_check_same_thread._ascii.ob_base),
  330|      2|        offsetof(struct _Py_global_strings, identifiers._py_clamp._ascii.ob_base),
  331|      2|        offsetof(struct _Py_global_strings, identifiers._py_clear._ascii.ob_base),
  332|      2|        offsetof(struct _Py_global_strings, identifiers._py_close._ascii.ob_base),
  333|      2|        offsetof(struct _Py_global_strings, identifiers._py_closed._ascii.ob_base),
  334|      2|        offsetof(struct _Py_global_strings, identifiers._py_closefd._ascii.ob_base),
  335|      2|        offsetof(struct _Py_global_strings, identifiers._py_closure._ascii.ob_base),
  336|      2|        offsetof(struct _Py_global_strings, identifiers._py_co_argcount._ascii.ob_base),
  337|      2|        offsetof(struct _Py_global_strings, identifiers._py_co_cellvars._ascii.ob_base),
  338|      2|        offsetof(struct _Py_global_strings, identifiers._py_co_code._ascii.ob_base),
  339|      2|        offsetof(struct _Py_global_strings, identifiers._py_co_consts._ascii.ob_base),
  340|      2|        offsetof(struct _Py_global_strings, identifiers._py_co_exceptiontable._ascii.ob_base),
  341|      2|        offsetof(struct _Py_global_strings, identifiers._py_co_filename._ascii.ob_base),
  342|      2|        offsetof(struct _Py_global_strings, identifiers._py_co_firstlineno._ascii.ob_base),
  343|      2|        offsetof(struct _Py_global_strings, identifiers._py_co_flags._ascii.ob_base),
  344|      2|        offsetof(struct _Py_global_strings, identifiers._py_co_freevars._ascii.ob_base),
  345|      2|        offsetof(struct _Py_global_strings, identifiers._py_co_kwonlyargcount._ascii.ob_base),
  346|      2|        offsetof(struct _Py_global_strings, identifiers._py_co_linetable._ascii.ob_base),
  347|      2|        offsetof(struct _Py_global_strings, identifiers._py_co_name._ascii.ob_base),
  348|      2|        offsetof(struct _Py_global_strings, identifiers._py_co_names._ascii.ob_base),
  349|      2|        offsetof(struct _Py_global_strings, identifiers._py_co_nlocals._ascii.ob_base),
  350|      2|        offsetof(struct _Py_global_strings, identifiers._py_co_posonlyargcount._ascii.ob_base),
  351|      2|        offsetof(struct _Py_global_strings, identifiers._py_co_qualname._ascii.ob_base),
  352|      2|        offsetof(struct _Py_global_strings, identifiers._py_co_stacksize._ascii.ob_base),
  353|      2|        offsetof(struct _Py_global_strings, identifiers._py_co_varnames._ascii.ob_base),
  354|      2|        offsetof(struct _Py_global_strings, identifiers._py_code._ascii.ob_base),
  355|      2|        offsetof(struct _Py_global_strings, identifiers._py_col_offset._ascii.ob_base),
  356|      2|        offsetof(struct _Py_global_strings, identifiers._py_collector._ascii.ob_base),
  357|      2|        offsetof(struct _Py_global_strings, identifiers._py_command._ascii.ob_base),
  358|      2|        offsetof(struct _Py_global_strings, identifiers._py_comment_factory._ascii.ob_base),
  359|      2|        offsetof(struct _Py_global_strings, identifiers._py_compile_mode._ascii.ob_base),
  360|      2|        offsetof(struct _Py_global_strings, identifiers._py_compression._ascii.ob_base),
  361|      2|        offsetof(struct _Py_global_strings, identifiers._py_config._ascii.ob_base),
  362|      2|        offsetof(struct _Py_global_strings, identifiers._py_consts._ascii.ob_base),
  363|      2|        offsetof(struct _Py_global_strings, identifiers._py_context._ascii.ob_base),
  364|      2|        offsetof(struct _Py_global_strings, identifiers._py_contravariant._ascii.ob_base),
  365|      2|        offsetof(struct _Py_global_strings, identifiers._py_conversion._ascii.ob_base),
  366|      2|        offsetof(struct _Py_global_strings, identifiers._py_cookie._ascii.ob_base),
  367|      2|        offsetof(struct _Py_global_strings, identifiers._py_copy._ascii.ob_base),
  368|      2|        offsetof(struct _Py_global_strings, identifiers._py_copyreg._ascii.ob_base),
  369|      2|        offsetof(struct _Py_global_strings, identifiers._py_coro._ascii.ob_base),
  370|      2|        offsetof(struct _Py_global_strings, identifiers._py_count._ascii.ob_base),
  371|      2|        offsetof(struct _Py_global_strings, identifiers._py_covariant._ascii.ob_base),
  372|      2|        offsetof(struct _Py_global_strings, identifiers._py_ctx._ascii.ob_base),
  373|      2|        offsetof(struct _Py_global_strings, identifiers._py_cwd._ascii.ob_base),
  374|      2|        offsetof(struct _Py_global_strings, identifiers._py_d_parameter_type._ascii.ob_base),
  375|      2|        offsetof(struct _Py_global_strings, identifiers._py_daemon._ascii.ob_base),
  376|      2|        offsetof(struct _Py_global_strings, identifiers._py_data._ascii.ob_base),
  377|      2|        offsetof(struct _Py_global_strings, identifiers._py_database._ascii.ob_base),
  378|      2|        offsetof(struct _Py_global_strings, identifiers._py_date._ascii.ob_base),
  379|      2|        offsetof(struct _Py_global_strings, identifiers._py_day._ascii.ob_base),
  380|      2|        offsetof(struct _Py_global_strings, identifiers._py_days._ascii.ob_base),
  381|      2|        offsetof(struct _Py_global_strings, identifiers._py_debug._ascii.ob_base),
  382|      2|        offsetof(struct _Py_global_strings, identifiers._py_decode._ascii.ob_base),
  383|      2|        offsetof(struct _Py_global_strings, identifiers._py_decoder._ascii.ob_base),
  384|      2|        offsetof(struct _Py_global_strings, identifiers._py_default._ascii.ob_base),
  385|      2|        offsetof(struct _Py_global_strings, identifiers._py_defaultaction._ascii.ob_base),
  386|      2|        offsetof(struct _Py_global_strings, identifiers._py_delete._ascii.ob_base),
  387|      2|        offsetof(struct _Py_global_strings, identifiers._py_depth._ascii.ob_base),
  388|      2|        offsetof(struct _Py_global_strings, identifiers._py_desired_access._ascii.ob_base),
  389|      2|        offsetof(struct _Py_global_strings, identifiers._py_detect_types._ascii.ob_base),
  390|      2|        offsetof(struct _Py_global_strings, identifiers._py_deterministic._ascii.ob_base),
  391|      2|        offsetof(struct _Py_global_strings, identifiers._py_device._ascii.ob_base),
  392|      2|        offsetof(struct _Py_global_strings, identifiers._py_dict._ascii.ob_base),
  393|      2|        offsetof(struct _Py_global_strings, identifiers._py_difference_update._ascii.ob_base),
  394|      2|        offsetof(struct _Py_global_strings, identifiers._py_digest._ascii.ob_base),
  395|      2|        offsetof(struct _Py_global_strings, identifiers._py_digest_size._ascii.ob_base),
  396|      2|        offsetof(struct _Py_global_strings, identifiers._py_digestmod._ascii.ob_base),
  397|      2|        offsetof(struct _Py_global_strings, identifiers._py_dir_fd._ascii.ob_base),
  398|      2|        offsetof(struct _Py_global_strings, identifiers._py_discard._ascii.ob_base),
  399|      2|        offsetof(struct _Py_global_strings, identifiers._py_dispatch_table._ascii.ob_base),
  400|      2|        offsetof(struct _Py_global_strings, identifiers._py_displayhook._ascii.ob_base),
  401|      2|        offsetof(struct _Py_global_strings, identifiers._py_dklen._ascii.ob_base),
  402|      2|        offsetof(struct _Py_global_strings, identifiers._py_doc._ascii.ob_base),
  403|      2|        offsetof(struct _Py_global_strings, identifiers._py_done._ascii.ob_base),
  404|      2|        offsetof(struct _Py_global_strings, identifiers._py_dont_inherit._ascii.ob_base),
  405|      2|        offsetof(struct _Py_global_strings, identifiers._py_dst._ascii.ob_base),
  406|      2|        offsetof(struct _Py_global_strings, identifiers._py_dst_dir_fd._ascii.ob_base),
  407|      2|        offsetof(struct _Py_global_strings, identifiers._py_duration_sec._ascii.ob_base),
  408|      2|        offsetof(struct _Py_global_strings, identifiers._py_eager_start._ascii.ob_base),
  409|      2|        offsetof(struct _Py_global_strings, identifiers._py_effective_ids._ascii.ob_base),
  410|      2|        offsetof(struct _Py_global_strings, identifiers._py_element_factory._ascii.ob_base),
  411|      2|        offsetof(struct _Py_global_strings, identifiers._py_emptyerror._ascii.ob_base),
  412|      2|        offsetof(struct _Py_global_strings, identifiers._py_encode._ascii.ob_base),
  413|      2|        offsetof(struct _Py_global_strings, identifiers._py_encoding._ascii.ob_base),
  414|      2|        offsetof(struct _Py_global_strings, identifiers._py_end._ascii.ob_base),
  415|      2|        offsetof(struct _Py_global_strings, identifiers._py_end_col_offset._ascii.ob_base),
  416|      2|        offsetof(struct _Py_global_strings, identifiers._py_end_lineno._ascii.ob_base),
  417|      2|        offsetof(struct _Py_global_strings, identifiers._py_end_offset._ascii.ob_base),
  418|      2|        offsetof(struct _Py_global_strings, identifiers._py_endpos._ascii.ob_base),
  419|      2|        offsetof(struct _Py_global_strings, identifiers._py_entrypoint._ascii.ob_base),
  420|      2|        offsetof(struct _Py_global_strings, identifiers._py_env._ascii.ob_base),
  421|      2|        offsetof(struct _Py_global_strings, identifiers._py_error_rate._ascii.ob_base),
  422|      2|        offsetof(struct _Py_global_strings, identifiers._py_errors._ascii.ob_base),
  423|      2|        offsetof(struct _Py_global_strings, identifiers._py_event._ascii.ob_base),
  424|      2|        offsetof(struct _Py_global_strings, identifiers._py_eventmask._ascii.ob_base),
  425|      2|        offsetof(struct _Py_global_strings, identifiers._py_exc._ascii.ob_base),
  426|      2|        offsetof(struct _Py_global_strings, identifiers._py_exc_tb._ascii.ob_base),
  427|      2|        offsetof(struct _Py_global_strings, identifiers._py_exc_type._ascii.ob_base),
  428|      2|        offsetof(struct _Py_global_strings, identifiers._py_exc_val._ascii.ob_base),
  429|      2|        offsetof(struct _Py_global_strings, identifiers._py_exc_value._ascii.ob_base),
  430|      2|        offsetof(struct _Py_global_strings, identifiers._py_excepthook._ascii.ob_base),
  431|      2|        offsetof(struct _Py_global_strings, identifiers._py_exception._ascii.ob_base),
  432|      2|        offsetof(struct _Py_global_strings, identifiers._py_existing_file_name._ascii.ob_base),
  433|      2|        offsetof(struct _Py_global_strings, identifiers._py_exit._ascii.ob_base),
  434|      2|        offsetof(struct _Py_global_strings, identifiers._py_exp._ascii.ob_base),
  435|      2|        offsetof(struct _Py_global_strings, identifiers._py_expression._ascii.ob_base),
  436|      2|        offsetof(struct _Py_global_strings, identifiers._py_extend._ascii.ob_base),
  437|      2|        offsetof(struct _Py_global_strings, identifiers._py_extra_tokens._ascii.ob_base),
  438|      2|        offsetof(struct _Py_global_strings, identifiers._py_facility._ascii.ob_base),
  439|      2|        offsetof(struct _Py_global_strings, identifiers._py_factory._ascii.ob_base),
  440|      2|        offsetof(struct _Py_global_strings, identifiers._py_fallback._ascii.ob_base),
  441|      2|        offsetof(struct _Py_global_strings, identifiers._py_false._ascii.ob_base),
  442|      2|        offsetof(struct _Py_global_strings, identifiers._py_family._ascii.ob_base),
  443|      2|        offsetof(struct _Py_global_strings, identifiers._py_fanout._ascii.ob_base),
  444|      2|        offsetof(struct _Py_global_strings, identifiers._py_fd._ascii.ob_base),
  445|      2|        offsetof(struct _Py_global_strings, identifiers._py_fd2._ascii.ob_base),
  446|      2|        offsetof(struct _Py_global_strings, identifiers._py_fdel._ascii.ob_base),
  447|      2|        offsetof(struct _Py_global_strings, identifiers._py_fget._ascii.ob_base),
  448|      2|        offsetof(struct _Py_global_strings, identifiers._py_fields._ascii.ob_base),
  449|      2|        offsetof(struct _Py_global_strings, identifiers._py_file._ascii.ob_base),
  450|      2|        offsetof(struct _Py_global_strings, identifiers._py_file_actions._ascii.ob_base),
  451|      2|        offsetof(struct _Py_global_strings, identifiers._py_filename._ascii.ob_base),
  452|      2|        offsetof(struct _Py_global_strings, identifiers._py_fileno._ascii.ob_base),
  453|      2|        offsetof(struct _Py_global_strings, identifiers._py_filepath._ascii.ob_base),
  454|      2|        offsetof(struct _Py_global_strings, identifiers._py_fillvalue._ascii.ob_base),
  455|      2|        offsetof(struct _Py_global_strings, identifiers._py_filter._ascii.ob_base),
  456|      2|        offsetof(struct _Py_global_strings, identifiers._py_filters._ascii.ob_base),
  457|      2|        offsetof(struct _Py_global_strings, identifiers._py_final._ascii.ob_base),
  458|      2|        offsetof(struct _Py_global_strings, identifiers._py_find_class._ascii.ob_base),
  459|      2|        offsetof(struct _Py_global_strings, identifiers._py_fix_imports._ascii.ob_base),
  460|      2|        offsetof(struct _Py_global_strings, identifiers._py_flags._ascii.ob_base),
  461|      2|        offsetof(struct _Py_global_strings, identifiers._py_flush._ascii.ob_base),
  462|      2|        offsetof(struct _Py_global_strings, identifiers._py_fold._ascii.ob_base),
  463|      2|        offsetof(struct _Py_global_strings, identifiers._py_foldspaces._ascii.ob_base),
  464|      2|        offsetof(struct _Py_global_strings, identifiers._py_follow_symlinks._ascii.ob_base),
  465|      2|        offsetof(struct _Py_global_strings, identifiers._py_format._ascii.ob_base),
  466|      2|        offsetof(struct _Py_global_strings, identifiers._py_format_spec._ascii.ob_base),
  467|      2|        offsetof(struct _Py_global_strings, identifiers._py_frame_buffer._ascii.ob_base),
  468|      2|        offsetof(struct _Py_global_strings, identifiers._py_free_threaded._ascii.ob_base),
  469|      2|        offsetof(struct _Py_global_strings, identifiers._py_from_param._ascii.ob_base),
  470|      2|        offsetof(struct _Py_global_strings, identifiers._py_fromlist._ascii.ob_base),
  471|      2|        offsetof(struct _Py_global_strings, identifiers._py_fromtimestamp._ascii.ob_base),
  472|      2|        offsetof(struct _Py_global_strings, identifiers._py_fromutc._ascii.ob_base),
  473|      2|        offsetof(struct _Py_global_strings, identifiers._py_fset._ascii.ob_base),
  474|      2|        offsetof(struct _Py_global_strings, identifiers._py_fullerror._ascii.ob_base),
  475|      2|        offsetof(struct _Py_global_strings, identifiers._py_func._ascii.ob_base),
  476|      2|        offsetof(struct _Py_global_strings, identifiers._py_function._ascii.ob_base),
  477|      2|        offsetof(struct _Py_global_strings, identifiers._py_future._ascii.ob_base),
  478|      2|        offsetof(struct _Py_global_strings, identifiers._py_gc._ascii.ob_base),
  479|      2|        offsetof(struct _Py_global_strings, identifiers._py_generation._ascii.ob_base),
  480|      2|        offsetof(struct _Py_global_strings, identifiers._py_get._ascii.ob_base),
  481|      2|        offsetof(struct _Py_global_strings, identifiers._py_get_debug._ascii.ob_base),
  482|      2|        offsetof(struct _Py_global_strings, identifiers._py_get_loop._ascii.ob_base),
  483|      2|        offsetof(struct _Py_global_strings, identifiers._py_get_source._ascii.ob_base),
  484|      2|        offsetof(struct _Py_global_strings, identifiers._py_getattr._ascii.ob_base),
  485|      2|        offsetof(struct _Py_global_strings, identifiers._py_getstate._ascii.ob_base),
  486|      2|        offsetof(struct _Py_global_strings, identifiers._py_gid._ascii.ob_base),
  487|      2|        offsetof(struct _Py_global_strings, identifiers._py_globals._ascii.ob_base),
  488|      2|        offsetof(struct _Py_global_strings, identifiers._py_groupindex._ascii.ob_base),
  489|      2|        offsetof(struct _Py_global_strings, identifiers._py_groups._ascii.ob_base),
  490|      2|        offsetof(struct _Py_global_strings, identifiers._py_handle._ascii.ob_base),
  491|      2|        offsetof(struct _Py_global_strings, identifiers._py_handle_seq._ascii.ob_base),
  492|      2|        offsetof(struct _Py_global_strings, identifiers._py_has_location._ascii.ob_base),
  493|      2|        offsetof(struct _Py_global_strings, identifiers._py_hash_name._ascii.ob_base),
  494|      2|        offsetof(struct _Py_global_strings, identifiers._py_header._ascii.ob_base),
  495|      2|        offsetof(struct _Py_global_strings, identifiers._py_headers._ascii.ob_base),
  496|      2|        offsetof(struct _Py_global_strings, identifiers._py_hi._ascii.ob_base),
  497|      2|        offsetof(struct _Py_global_strings, identifiers._py_hook._ascii.ob_base),
  498|      2|        offsetof(struct _Py_global_strings, identifiers._py_host._ascii.ob_base),
  499|      2|        offsetof(struct _Py_global_strings, identifiers._py_hour._ascii.ob_base),
  500|      2|        offsetof(struct _Py_global_strings, identifiers._py_hours._ascii.ob_base),
  501|      2|        offsetof(struct _Py_global_strings, identifiers._py_id._ascii.ob_base),
  502|      2|        offsetof(struct _Py_global_strings, identifiers._py_ident._ascii.ob_base),
  503|      2|        offsetof(struct _Py_global_strings, identifiers._py_identity_hint._ascii.ob_base),
  504|      2|        offsetof(struct _Py_global_strings, identifiers._py_ignore._ascii.ob_base),
  505|      2|        offsetof(struct _Py_global_strings, identifiers._py_ignorechars._ascii.ob_base),
  506|      2|        offsetof(struct _Py_global_strings, identifiers._py_imag._ascii.ob_base),
  507|      2|        offsetof(struct _Py_global_strings, identifiers._py_implieslink._ascii.ob_base),
  508|      2|        offsetof(struct _Py_global_strings, identifiers._py_importlib._ascii.ob_base),
  509|      2|        offsetof(struct _Py_global_strings, identifiers._py_in_fd._ascii.ob_base),
  510|      2|        offsetof(struct _Py_global_strings, identifiers._py_include_aliases._ascii.ob_base),
  511|      2|        offsetof(struct _Py_global_strings, identifiers._py_incoming._ascii.ob_base),
  512|      2|        offsetof(struct _Py_global_strings, identifiers._py_index._ascii.ob_base),
  513|      2|        offsetof(struct _Py_global_strings, identifiers._py_indexgroup._ascii.ob_base),
  514|      2|        offsetof(struct _Py_global_strings, identifiers._py_inf._ascii.ob_base),
  515|      2|        offsetof(struct _Py_global_strings, identifiers._py_infer_variance._ascii.ob_base),
  516|      2|        offsetof(struct _Py_global_strings, identifiers._py_inherit_handle._ascii.ob_base),
  517|      2|        offsetof(struct _Py_global_strings, identifiers._py_inheritable._ascii.ob_base),
  518|      2|        offsetof(struct _Py_global_strings, identifiers._py_initial._ascii.ob_base),
  519|      2|        offsetof(struct _Py_global_strings, identifiers._py_initial_bytes._ascii.ob_base),
  520|      2|        offsetof(struct _Py_global_strings, identifiers._py_initial_owner._ascii.ob_base),
  521|      2|        offsetof(struct _Py_global_strings, identifiers._py_initial_state._ascii.ob_base),
  522|      2|        offsetof(struct _Py_global_strings, identifiers._py_initial_value._ascii.ob_base),
  523|      2|        offsetof(struct _Py_global_strings, identifiers._py_initval._ascii.ob_base),
  524|      2|        offsetof(struct _Py_global_strings, identifiers._py_inner_size._ascii.ob_base),
  525|      2|        offsetof(struct _Py_global_strings, identifiers._py_input._ascii.ob_base),
  526|      2|        offsetof(struct _Py_global_strings, identifiers._py_insert_comments._ascii.ob_base),
  527|      2|        offsetof(struct _Py_global_strings, identifiers._py_insert_pis._ascii.ob_base),
  528|      2|        offsetof(struct _Py_global_strings, identifiers._py_instructions._ascii.ob_base),
  529|      2|        offsetof(struct _Py_global_strings, identifiers._py_intern._ascii.ob_base),
  530|      2|        offsetof(struct _Py_global_strings, identifiers._py_intersection._ascii.ob_base),
  531|      2|        offsetof(struct _Py_global_strings, identifiers._py_interval._ascii.ob_base),
  532|      2|        offsetof(struct _Py_global_strings, identifiers._py_io._ascii.ob_base),
  533|      2|        offsetof(struct _Py_global_strings, identifiers._py_is_compress._ascii.ob_base),
  534|      2|        offsetof(struct _Py_global_strings, identifiers._py_is_raw._ascii.ob_base),
  535|      2|        offsetof(struct _Py_global_strings, identifiers._py_is_running._ascii.ob_base),
  536|      2|        offsetof(struct _Py_global_strings, identifiers._py_is_struct._ascii.ob_base),
  537|      2|        offsetof(struct _Py_global_strings, identifiers._py_isatty._ascii.ob_base),
  538|      2|        offsetof(struct _Py_global_strings, identifiers._py_isinstance._ascii.ob_base),
  539|      2|        offsetof(struct _Py_global_strings, identifiers._py_isoformat._ascii.ob_base),
  540|      2|        offsetof(struct _Py_global_strings, identifiers._py_isolation_level._ascii.ob_base),
  541|      2|        offsetof(struct _Py_global_strings, identifiers._py_istext._ascii.ob_base),
  542|      2|        offsetof(struct _Py_global_strings, identifiers._py_item._ascii.ob_base),
  543|      2|        offsetof(struct _Py_global_strings, identifiers._py_items._ascii.ob_base),
  544|      2|        offsetof(struct _Py_global_strings, identifiers._py_iter._ascii.ob_base),
  545|      2|        offsetof(struct _Py_global_strings, identifiers._py_iterable._ascii.ob_base),
  546|      2|        offsetof(struct _Py_global_strings, identifiers._py_iterations._ascii.ob_base),
  547|      2|        offsetof(struct _Py_global_strings, identifiers._py_iv._ascii.ob_base),
  548|      2|        offsetof(struct _Py_global_strings, identifiers._py_join._ascii.ob_base),
  549|      2|        offsetof(struct _Py_global_strings, identifiers._py_jump._ascii.ob_base),
  550|      2|        offsetof(struct _Py_global_strings, identifiers._py_keepends._ascii.ob_base),
  551|      2|        offsetof(struct _Py_global_strings, identifiers._py_key._ascii.ob_base),
  552|      2|        offsetof(struct _Py_global_strings, identifiers._py_keyfile._ascii.ob_base),
  553|      2|        offsetof(struct _Py_global_strings, identifiers._py_keys._ascii.ob_base),
  554|      2|        offsetof(struct _Py_global_strings, identifiers._py_kind._ascii.ob_base),
  555|      2|        offsetof(struct _Py_global_strings, identifiers._py_kw._ascii.ob_base),
  556|      2|        offsetof(struct _Py_global_strings, identifiers._py_kw1._ascii.ob_base),
  557|      2|        offsetof(struct _Py_global_strings, identifiers._py_kw2._ascii.ob_base),
  558|      2|        offsetof(struct _Py_global_strings, identifiers._py_kwargs._ascii.ob_base),
  559|      2|        offsetof(struct _Py_global_strings, identifiers._py_kwdefaults._ascii.ob_base),
  560|      2|        offsetof(struct _Py_global_strings, identifiers._py_label._ascii.ob_base),
  561|      2|        offsetof(struct _Py_global_strings, identifiers._py_last._ascii.ob_base),
  562|      2|        offsetof(struct _Py_global_strings, identifiers._py_last_exc._ascii.ob_base),
  563|      2|        offsetof(struct _Py_global_strings, identifiers._py_last_node._ascii.ob_base),
  564|      2|        offsetof(struct _Py_global_strings, identifiers._py_last_traceback._ascii.ob_base),
  565|      2|        offsetof(struct _Py_global_strings, identifiers._py_last_type._ascii.ob_base),
  566|      2|        offsetof(struct _Py_global_strings, identifiers._py_last_value._ascii.ob_base),
  567|      2|        offsetof(struct _Py_global_strings, identifiers._py_latin1._ascii.ob_base),
  568|      2|        offsetof(struct _Py_global_strings, identifiers._py_leaf_size._ascii.ob_base),
  569|      2|        offsetof(struct _Py_global_strings, identifiers._py_legacy._ascii.ob_base),
  570|      2|        offsetof(struct _Py_global_strings, identifiers._py_len._ascii.ob_base),
  571|      2|        offsetof(struct _Py_global_strings, identifiers._py_length._ascii.ob_base),
  572|      2|        offsetof(struct _Py_global_strings, identifiers._py_level._ascii.ob_base),
  573|      2|        offsetof(struct _Py_global_strings, identifiers._py_limit._ascii.ob_base),
  574|      2|        offsetof(struct _Py_global_strings, identifiers._py_line._ascii.ob_base),
  575|      2|        offsetof(struct _Py_global_strings, identifiers._py_line_buffering._ascii.ob_base),
  576|      2|        offsetof(struct _Py_global_strings, identifiers._py_lineno._ascii.ob_base),
  577|      2|        offsetof(struct _Py_global_strings, identifiers._py_little._ascii.ob_base),
  578|      2|        offsetof(struct _Py_global_strings, identifiers._py_lo._ascii.ob_base),
  579|      2|        offsetof(struct _Py_global_strings, identifiers._py_locale._ascii.ob_base),
  580|      2|        offsetof(struct _Py_global_strings, identifiers._py_locals._ascii.ob_base),
  581|      2|        offsetof(struct _Py_global_strings, identifiers._py_logoption._ascii.ob_base),
  582|      2|        offsetof(struct _Py_global_strings, identifiers._py_loop._ascii.ob_base),
  583|      2|        offsetof(struct _Py_global_strings, identifiers._py_manual_reset._ascii.ob_base),
  584|      2|        offsetof(struct _Py_global_strings, identifiers._py_mapping._ascii.ob_base),
  585|      2|        offsetof(struct _Py_global_strings, identifiers._py_mask._ascii.ob_base),
  586|      2|        offsetof(struct _Py_global_strings, identifiers._py_match._ascii.ob_base),
  587|      2|        offsetof(struct _Py_global_strings, identifiers._py_max_length._ascii.ob_base),
  588|      2|        offsetof(struct _Py_global_strings, identifiers._py_max_threads._ascii.ob_base),
  589|      2|        offsetof(struct _Py_global_strings, identifiers._py_maxdigits._ascii.ob_base),
  590|      2|        offsetof(struct _Py_global_strings, identifiers._py_maxevents._ascii.ob_base),
  591|      2|        offsetof(struct _Py_global_strings, identifiers._py_maxlen._ascii.ob_base),
  592|      2|        offsetof(struct _Py_global_strings, identifiers._py_maxmem._ascii.ob_base),
  593|      2|        offsetof(struct _Py_global_strings, identifiers._py_maxsize._ascii.ob_base),
  594|      2|        offsetof(struct _Py_global_strings, identifiers._py_maxsplit._ascii.ob_base),
  595|      2|        offsetof(struct _Py_global_strings, identifiers._py_maxvalue._ascii.ob_base),
  596|      2|        offsetof(struct _Py_global_strings, identifiers._py_memLevel._ascii.ob_base),
  597|      2|        offsetof(struct _Py_global_strings, identifiers._py_memlimit._ascii.ob_base),
  598|      2|        offsetof(struct _Py_global_strings, identifiers._py_message._ascii.ob_base),
  599|      2|        offsetof(struct _Py_global_strings, identifiers._py_metaclass._ascii.ob_base),
  600|      2|        offsetof(struct _Py_global_strings, identifiers._py_metadata._ascii.ob_base),
  601|      2|        offsetof(struct _Py_global_strings, identifiers._py_method._ascii.ob_base),
  602|      2|        offsetof(struct _Py_global_strings, identifiers._py_microsecond._ascii.ob_base),
  603|      2|        offsetof(struct _Py_global_strings, identifiers._py_microseconds._ascii.ob_base),
  604|      2|        offsetof(struct _Py_global_strings, identifiers._py_milliseconds._ascii.ob_base),
  605|      2|        offsetof(struct _Py_global_strings, identifiers._py_minute._ascii.ob_base),
  606|      2|        offsetof(struct _Py_global_strings, identifiers._py_minutes._ascii.ob_base),
  607|      2|        offsetof(struct _Py_global_strings, identifiers._py_missed_samples._ascii.ob_base),
  608|      2|        offsetof(struct _Py_global_strings, identifiers._py_mod._ascii.ob_base),
  609|      2|        offsetof(struct _Py_global_strings, identifiers._py_mode._ascii.ob_base),
  610|      2|        offsetof(struct _Py_global_strings, identifiers._py_module._ascii.ob_base),
  611|      2|        offsetof(struct _Py_global_strings, identifiers._py_module_globals._ascii.ob_base),
  612|      2|        offsetof(struct _Py_global_strings, identifiers._py_modules._ascii.ob_base),
  613|      2|        offsetof(struct _Py_global_strings, identifiers._py_modulo._ascii.ob_base),
  614|      2|        offsetof(struct _Py_global_strings, identifiers._py_month._ascii.ob_base),
  615|      2|        offsetof(struct _Py_global_strings, identifiers._py_mro._ascii.ob_base),
  616|      2|        offsetof(struct _Py_global_strings, identifiers._py_msg._ascii.ob_base),
  617|      2|        offsetof(struct _Py_global_strings, identifiers._py_mutex._ascii.ob_base),
  618|      2|        offsetof(struct _Py_global_strings, identifiers._py_mycmp._ascii.ob_base),
  619|      2|        offsetof(struct _Py_global_strings, identifiers._py_n_fields._ascii.ob_base),
  620|      2|        offsetof(struct _Py_global_strings, identifiers._py_n_sequence_fields._ascii.ob_base),
  621|      2|        offsetof(struct _Py_global_strings, identifiers._py_n_unnamed_fields._ascii.ob_base),
  622|      2|        offsetof(struct _Py_global_strings, identifiers._py_name._ascii.ob_base),
  623|      2|        offsetof(struct _Py_global_strings, identifiers._py_name_from._ascii.ob_base),
  624|      2|        offsetof(struct _Py_global_strings, identifiers._py_namespace_separator._ascii.ob_base),
  625|      2|        offsetof(struct _Py_global_strings, identifiers._py_namespaces._ascii.ob_base),
  626|      2|        offsetof(struct _Py_global_strings, identifiers._py_native._ascii.ob_base),
  627|      2|        offsetof(struct _Py_global_strings, identifiers._py_nbytes._ascii.ob_base),
  628|      2|        offsetof(struct _Py_global_strings, identifiers._py_ndigits._ascii.ob_base),
  629|      2|        offsetof(struct _Py_global_strings, identifiers._py_nested._ascii.ob_base),
  630|      2|        offsetof(struct _Py_global_strings, identifiers._py_new_file_name._ascii.ob_base),
  631|      2|        offsetof(struct _Py_global_strings, identifiers._py_new_limit._ascii.ob_base),
  632|      2|        offsetof(struct _Py_global_strings, identifiers._py_newline._ascii.ob_base),
  633|      2|        offsetof(struct _Py_global_strings, identifiers._py_newlines._ascii.ob_base),
  634|      2|        offsetof(struct _Py_global_strings, identifiers._py_next._ascii.ob_base),
  635|      2|        offsetof(struct _Py_global_strings, identifiers._py_nlocals._ascii.ob_base),
  636|      2|        offsetof(struct _Py_global_strings, identifiers._py_node_depth._ascii.ob_base),
  637|      2|        offsetof(struct _Py_global_strings, identifiers._py_node_offset._ascii.ob_base),
  638|      2|        offsetof(struct _Py_global_strings, identifiers._py_ns._ascii.ob_base),
  639|      2|        offsetof(struct _Py_global_strings, identifiers._py_nstype._ascii.ob_base),
  640|      2|        offsetof(struct _Py_global_strings, identifiers._py_nt._ascii.ob_base),
  641|      2|        offsetof(struct _Py_global_strings, identifiers._py_null._ascii.ob_base),
  642|      2|        offsetof(struct _Py_global_strings, identifiers._py_number._ascii.ob_base),
  643|      2|        offsetof(struct _Py_global_strings, identifiers._py_obj._ascii.ob_base),
  644|      2|        offsetof(struct _Py_global_strings, identifiers._py_object._ascii.ob_base),
  645|      2|        offsetof(struct _Py_global_strings, identifiers._py_offset._ascii.ob_base),
  646|      2|        offsetof(struct _Py_global_strings, identifiers._py_offset_dst._ascii.ob_base),
  647|      2|        offsetof(struct _Py_global_strings, identifiers._py_offset_src._ascii.ob_base),
  648|      2|        offsetof(struct _Py_global_strings, identifiers._py_on_type_read._ascii.ob_base),
  649|      2|        offsetof(struct _Py_global_strings, identifiers._py_onceregistry._ascii.ob_base),
  650|      2|        offsetof(struct _Py_global_strings, identifiers._py_only_active_thread._ascii.ob_base),
  651|      2|        offsetof(struct _Py_global_strings, identifiers._py_only_keys._ascii.ob_base),
  652|      2|        offsetof(struct _Py_global_strings, identifiers._py_op._ascii.ob_base),
  653|      2|        offsetof(struct _Py_global_strings, identifiers._py_oparg._ascii.ob_base),
  654|      2|        offsetof(struct _Py_global_strings, identifiers._py_opcode._ascii.ob_base),
  655|      2|        offsetof(struct _Py_global_strings, identifiers._py_opcodes._ascii.ob_base),
  656|      2|        offsetof(struct _Py_global_strings, identifiers._py_open._ascii.ob_base),
  657|      2|        offsetof(struct _Py_global_strings, identifiers._py_opener._ascii.ob_base),
  658|      2|        offsetof(struct _Py_global_strings, identifiers._py_operation._ascii.ob_base),
  659|      2|        offsetof(struct _Py_global_strings, identifiers._py_optimize._ascii.ob_base),
  660|      2|        offsetof(struct _Py_global_strings, identifiers._py_options._ascii.ob_base),
  661|      2|        offsetof(struct _Py_global_strings, identifiers._py_order._ascii.ob_base),
  662|      2|        offsetof(struct _Py_global_strings, identifiers._py_origin._ascii.ob_base),
  663|      2|        offsetof(struct _Py_global_strings, identifiers._py_other._ascii.ob_base),
  664|      2|        offsetof(struct _Py_global_strings, identifiers._py_out_fd._ascii.ob_base),
  665|      2|        offsetof(struct _Py_global_strings, identifiers._py_outgoing._ascii.ob_base),
  666|      2|        offsetof(struct _Py_global_strings, identifiers._py_outpath._ascii.ob_base),
  667|      2|        offsetof(struct _Py_global_strings, identifiers._py_overlapped._ascii.ob_base),
  668|      2|        offsetof(struct _Py_global_strings, identifiers._py_owner._ascii.ob_base),
  669|      2|        offsetof(struct _Py_global_strings, identifiers._py_pad._ascii.ob_base),
  670|      2|        offsetof(struct _Py_global_strings, identifiers._py_padded._ascii.ob_base),
  671|      2|        offsetof(struct _Py_global_strings, identifiers._py_pages._ascii.ob_base),
  672|      2|        offsetof(struct _Py_global_strings, identifiers._py_pair._ascii.ob_base),
  673|      2|        offsetof(struct _Py_global_strings, identifiers._py_parameter._ascii.ob_base),
  674|      2|        offsetof(struct _Py_global_strings, identifiers._py_parent._ascii.ob_base),
  675|      2|        offsetof(struct _Py_global_strings, identifiers._py_password._ascii.ob_base),
  676|      2|        offsetof(struct _Py_global_strings, identifiers._py_path._ascii.ob_base),
  677|      2|        offsetof(struct _Py_global_strings, identifiers._py_pattern._ascii.ob_base),
  678|      2|        offsetof(struct _Py_global_strings, identifiers._py_peek._ascii.ob_base),
  679|      2|        offsetof(struct _Py_global_strings, identifiers._py_persistent_id._ascii.ob_base),
  680|      2|        offsetof(struct _Py_global_strings, identifiers._py_persistent_load._ascii.ob_base),
  681|      2|        offsetof(struct _Py_global_strings, identifiers._py_person._ascii.ob_base),
  682|      2|        offsetof(struct _Py_global_strings, identifiers._py_pi_factory._ascii.ob_base),
  683|      2|        offsetof(struct _Py_global_strings, identifiers._py_pid._ascii.ob_base),
  684|      2|        offsetof(struct _Py_global_strings, identifiers._py_pidfd._ascii.ob_base),
  685|      2|        offsetof(struct _Py_global_strings, identifiers._py_pointer_bits._ascii.ob_base),
  686|      2|        offsetof(struct _Py_global_strings, identifiers._py_policy._ascii.ob_base),
  687|      2|        offsetof(struct _Py_global_strings, identifiers._py_port._ascii.ob_base),
  688|      2|        offsetof(struct _Py_global_strings, identifiers._py_pos._ascii.ob_base),
  689|      2|        offsetof(struct _Py_global_strings, identifiers._py_pos1._ascii.ob_base),
  690|      2|        offsetof(struct _Py_global_strings, identifiers._py_pos2._ascii.ob_base),
  691|      2|        offsetof(struct _Py_global_strings, identifiers._py_posix._ascii.ob_base),
  692|      2|        offsetof(struct _Py_global_strings, identifiers._py_prec._ascii.ob_base),
  693|      2|        offsetof(struct _Py_global_strings, identifiers._py_preserve_exc._ascii.ob_base),
  694|      2|        offsetof(struct _Py_global_strings, identifiers._py_print_file_and_line._ascii.ob_base),
  695|      2|        offsetof(struct _Py_global_strings, identifiers._py_priority._ascii.ob_base),
  696|      2|        offsetof(struct _Py_global_strings, identifiers._py_progress._ascii.ob_base),
  697|      2|        offsetof(struct _Py_global_strings, identifiers._py_progress_callback._ascii.ob_base),
  698|      2|        offsetof(struct _Py_global_strings, identifiers._py_progress_routine._ascii.ob_base),
  699|      2|        offsetof(struct _Py_global_strings, identifiers._py_proto._ascii.ob_base),
  700|      2|        offsetof(struct _Py_global_strings, identifiers._py_protocol._ascii.ob_base),
  701|      2|        offsetof(struct _Py_global_strings, identifiers._py_ps1._ascii.ob_base),
  702|      2|        offsetof(struct _Py_global_strings, identifiers._py_ps2._ascii.ob_base),
  703|      2|        offsetof(struct _Py_global_strings, identifiers._py_qid._ascii.ob_base),
  704|      2|        offsetof(struct _Py_global_strings, identifiers._py_qualname._ascii.ob_base),
  705|      2|        offsetof(struct _Py_global_strings, identifiers._py_query._ascii.ob_base),
  706|      2|        offsetof(struct _Py_global_strings, identifiers._py_queuetype._ascii.ob_base),
  707|      2|        offsetof(struct _Py_global_strings, identifiers._py_quotetabs._ascii.ob_base),
  708|      2|        offsetof(struct _Py_global_strings, identifiers._py_raw._ascii.ob_base),
  709|      2|        offsetof(struct _Py_global_strings, identifiers._py_read._ascii.ob_base),
  710|      2|        offsetof(struct _Py_global_strings, identifiers._py_read1._ascii.ob_base),
  711|      2|        offsetof(struct _Py_global_strings, identifiers._py_readable._ascii.ob_base),
  712|      2|        offsetof(struct _Py_global_strings, identifiers._py_readall._ascii.ob_base),
  713|      2|        offsetof(struct _Py_global_strings, identifiers._py_readinto._ascii.ob_base),
  714|      2|        offsetof(struct _Py_global_strings, identifiers._py_readinto1._ascii.ob_base),
  715|      2|        offsetof(struct _Py_global_strings, identifiers._py_readline._ascii.ob_base),
  716|      2|        offsetof(struct _Py_global_strings, identifiers._py_readonly._ascii.ob_base),
  717|      2|        offsetof(struct _Py_global_strings, identifiers._py_real._ascii.ob_base),
  718|      2|        offsetof(struct _Py_global_strings, identifiers._py_recursive._ascii.ob_base),
  719|      2|        offsetof(struct _Py_global_strings, identifiers._py_reducer_override._ascii.ob_base),
  720|      2|        offsetof(struct _Py_global_strings, identifiers._py_registry._ascii.ob_base),
  721|      2|        offsetof(struct _Py_global_strings, identifiers._py_rel_tol._ascii.ob_base),
  722|      2|        offsetof(struct _Py_global_strings, identifiers._py_release._ascii.ob_base),
  723|      2|        offsetof(struct _Py_global_strings, identifiers._py_reload._ascii.ob_base),
  724|      2|        offsetof(struct _Py_global_strings, identifiers._py_repeat._ascii.ob_base),
  725|      2|        offsetof(struct _Py_global_strings, identifiers._py_repl._ascii.ob_base),
  726|      2|        offsetof(struct _Py_global_strings, identifiers._py_replace._ascii.ob_base),
  727|      2|        offsetof(struct _Py_global_strings, identifiers._py_repr._ascii.ob_base),
  728|      2|        offsetof(struct _Py_global_strings, identifiers._py_reqrefs._ascii.ob_base),
  729|      2|        offsetof(struct _Py_global_strings, identifiers._py_require_ready._ascii.ob_base),
  730|      2|        offsetof(struct _Py_global_strings, identifiers._py_reserved._ascii.ob_base),
  731|      2|        offsetof(struct _Py_global_strings, identifiers._py_reset._ascii.ob_base),
  732|      2|        offsetof(struct _Py_global_strings, identifiers._py_resetids._ascii.ob_base),
  733|      2|        offsetof(struct _Py_global_strings, identifiers._py_restrict._ascii.ob_base),
  734|      2|        offsetof(struct _Py_global_strings, identifiers._py_return._ascii.ob_base),
  735|      2|        offsetof(struct _Py_global_strings, identifiers._py_reverse._ascii.ob_base),
  736|      2|        offsetof(struct _Py_global_strings, identifiers._py_reversed._ascii.ob_base),
  737|      2|        offsetof(struct _Py_global_strings, identifiers._py_rounding._ascii.ob_base),
  738|      2|        offsetof(struct _Py_global_strings, identifiers._py_salt._ascii.ob_base),
  739|      2|        offsetof(struct _Py_global_strings, identifiers._py_sample_interval_us._ascii.ob_base),
  740|      2|        offsetof(struct _Py_global_strings, identifiers._py_sample_rate._ascii.ob_base),
  741|      2|        offsetof(struct _Py_global_strings, identifiers._py_sched_priority._ascii.ob_base),
  742|      2|        offsetof(struct _Py_global_strings, identifiers._py_scheduler._ascii.ob_base),
  743|      2|        offsetof(struct _Py_global_strings, identifiers._py_script._ascii.ob_base),
  744|      2|        offsetof(struct _Py_global_strings, identifiers._py_second._ascii.ob_base),
  745|      2|        offsetof(struct _Py_global_strings, identifiers._py_seconds._ascii.ob_base),
  746|      2|        offsetof(struct _Py_global_strings, identifiers._py_security_attributes._ascii.ob_base),
  747|      2|        offsetof(struct _Py_global_strings, identifiers._py_seek._ascii.ob_base),
  748|      2|        offsetof(struct _Py_global_strings, identifiers._py_seekable._ascii.ob_base),
  749|      2|        offsetof(struct _Py_global_strings, identifiers._py_selectors._ascii.ob_base),
  750|      2|        offsetof(struct _Py_global_strings, identifiers._py_self._ascii.ob_base),
  751|      2|        offsetof(struct _Py_global_strings, identifiers._py_send._ascii.ob_base),
  752|      2|        offsetof(struct _Py_global_strings, identifiers._py_sep._ascii.ob_base),
  753|      2|        offsetof(struct _Py_global_strings, identifiers._py_sequence._ascii.ob_base),
  754|      2|        offsetof(struct _Py_global_strings, identifiers._py_server_hostname._ascii.ob_base),
  755|      2|        offsetof(struct _Py_global_strings, identifiers._py_server_side._ascii.ob_base),
  756|      2|        offsetof(struct _Py_global_strings, identifiers._py_session._ascii.ob_base),
  757|      2|        offsetof(struct _Py_global_strings, identifiers._py_setpgroup._ascii.ob_base),
  758|      2|        offsetof(struct _Py_global_strings, identifiers._py_setsid._ascii.ob_base),
  759|      2|        offsetof(struct _Py_global_strings, identifiers._py_setsigdef._ascii.ob_base),
  760|      2|        offsetof(struct _Py_global_strings, identifiers._py_setsigmask._ascii.ob_base),
  761|      2|        offsetof(struct _Py_global_strings, identifiers._py_setstate._ascii.ob_base),
  762|      2|        offsetof(struct _Py_global_strings, identifiers._py_shape._ascii.ob_base),
  763|      2|        offsetof(struct _Py_global_strings, identifiers._py_shared._ascii.ob_base),
  764|      2|        offsetof(struct _Py_global_strings, identifiers._py_short._ascii.ob_base),
  765|      2|        offsetof(struct _Py_global_strings, identifiers._py_show_cmd._ascii.ob_base),
  766|      2|        offsetof(struct _Py_global_strings, identifiers._py_signed._ascii.ob_base),
  767|      2|        offsetof(struct _Py_global_strings, identifiers._py_signum._ascii.ob_base),
  768|      2|        offsetof(struct _Py_global_strings, identifiers._py_size._ascii.ob_base),
  769|      2|        offsetof(struct _Py_global_strings, identifiers._py_sizehint._ascii.ob_base),
  770|      2|        offsetof(struct _Py_global_strings, identifiers._py_skip_file_prefixes._ascii.ob_base),
  771|      2|        offsetof(struct _Py_global_strings, identifiers._py_skip_non_matching_threads._ascii.ob_base),
  772|      2|        offsetof(struct _Py_global_strings, identifiers._py_sleep._ascii.ob_base),
  773|      2|        offsetof(struct _Py_global_strings, identifiers._py_sock._ascii.ob_base),
  774|      2|        offsetof(struct _Py_global_strings, identifiers._py_sort._ascii.ob_base),
  775|      2|        offsetof(struct _Py_global_strings, identifiers._py_source._ascii.ob_base),
  776|      2|        offsetof(struct _Py_global_strings, identifiers._py_source_traceback._ascii.ob_base),
  777|      2|        offsetof(struct _Py_global_strings, identifiers._py_spam._ascii.ob_base),
  778|      2|        offsetof(struct _Py_global_strings, identifiers._py_src._ascii.ob_base),
  779|      2|        offsetof(struct _Py_global_strings, identifiers._py_src_dir_fd._ascii.ob_base),
  780|      2|        offsetof(struct _Py_global_strings, identifiers._py_stack_frames._ascii.ob_base),
  781|      2|        offsetof(struct _Py_global_strings, identifiers._py_stacklevel._ascii.ob_base),
  782|      2|        offsetof(struct _Py_global_strings, identifiers._py_start._ascii.ob_base),
  783|      2|        offsetof(struct _Py_global_strings, identifiers._py_start_time_us._ascii.ob_base),
  784|      2|        offsetof(struct _Py_global_strings, identifiers._py_statement._ascii.ob_base),
  785|      2|        offsetof(struct _Py_global_strings, identifiers._py_stats._ascii.ob_base),
  786|      2|        offsetof(struct _Py_global_strings, identifiers._py_status._ascii.ob_base),
  787|      2|        offsetof(struct _Py_global_strings, identifiers._py_stderr._ascii.ob_base),
  788|      2|        offsetof(struct _Py_global_strings, identifiers._py_stdin._ascii.ob_base),
  789|      2|        offsetof(struct _Py_global_strings, identifiers._py_stdout._ascii.ob_base),
  790|      2|        offsetof(struct _Py_global_strings, identifiers._py_step._ascii.ob_base),
  791|      2|        offsetof(struct _Py_global_strings, identifiers._py_steps._ascii.ob_base),
  792|      2|        offsetof(struct _Py_global_strings, identifiers._py_stop_exception._ascii.ob_base),
  793|      2|        offsetof(struct _Py_global_strings, identifiers._py_stop_value._ascii.ob_base),
  794|      2|        offsetof(struct _Py_global_strings, identifiers._py_store_name._ascii.ob_base),
  795|      2|        offsetof(struct _Py_global_strings, identifiers._py_strategy._ascii.ob_base),
  796|      2|        offsetof(struct _Py_global_strings, identifiers._py_strftime._ascii.ob_base),
  797|      2|        offsetof(struct _Py_global_strings, identifiers._py_strict._ascii.ob_base),
  798|      2|        offsetof(struct _Py_global_strings, identifiers._py_strict_mode._ascii.ob_base),
  799|      2|        offsetof(struct _Py_global_strings, identifiers._py_string._ascii.ob_base),
  800|      2|        offsetof(struct _Py_global_strings, identifiers._py_sub_key._ascii.ob_base),
  801|      2|        offsetof(struct _Py_global_strings, identifiers._py_subcalls._ascii.ob_base),
  802|      2|        offsetof(struct _Py_global_strings, identifiers._py_symmetric_difference_update._ascii.ob_base),
  803|      2|        offsetof(struct _Py_global_strings, identifiers._py_tabsize._ascii.ob_base),
  804|      2|        offsetof(struct _Py_global_strings, identifiers._py_tag._ascii.ob_base),
  805|      2|        offsetof(struct _Py_global_strings, identifiers._py_take_bytes._ascii.ob_base),
  806|      2|        offsetof(struct _Py_global_strings, identifiers._py_target._ascii.ob_base),
  807|      2|        offsetof(struct _Py_global_strings, identifiers._py_target_is_directory._ascii.ob_base),
  808|      2|        offsetof(struct _Py_global_strings, identifiers._py_targetfd._ascii.ob_base),
  809|      2|        offsetof(struct _Py_global_strings, identifiers._py_task._ascii.ob_base),
  810|      2|        offsetof(struct _Py_global_strings, identifiers._py_tb_frame._ascii.ob_base),
  811|      2|        offsetof(struct _Py_global_strings, identifiers._py_tb_lasti._ascii.ob_base),
  812|      2|        offsetof(struct _Py_global_strings, identifiers._py_tb_lineno._ascii.ob_base),
  813|      2|        offsetof(struct _Py_global_strings, identifiers._py_tb_next._ascii.ob_base),
  814|      2|        offsetof(struct _Py_global_strings, identifiers._py_tell._ascii.ob_base),
  815|      2|        offsetof(struct _Py_global_strings, identifiers._py_template._ascii.ob_base),
  816|      2|        offsetof(struct _Py_global_strings, identifiers._py_term._ascii.ob_base),
  817|      2|        offsetof(struct _Py_global_strings, identifiers._py_text._ascii.ob_base),
  818|      2|        offsetof(struct _Py_global_strings, identifiers._py_third._ascii.ob_base),
  819|      2|        offsetof(struct _Py_global_strings, identifiers._py_threading._ascii.ob_base),
  820|      2|        offsetof(struct _Py_global_strings, identifiers._py_throw._ascii.ob_base),
  821|      2|        offsetof(struct _Py_global_strings, identifiers._py_time._ascii.ob_base),
  822|      2|        offsetof(struct _Py_global_strings, identifiers._py_timeout._ascii.ob_base),
  823|      2|        offsetof(struct _Py_global_strings, identifiers._py_timer._ascii.ob_base),
  824|      2|        offsetof(struct _Py_global_strings, identifiers._py_times._ascii.ob_base),
  825|      2|        offsetof(struct _Py_global_strings, identifiers._py_timespec._ascii.ob_base),
  826|      2|        offsetof(struct _Py_global_strings, identifiers._py_timestamp._ascii.ob_base),
  827|      2|        offsetof(struct _Py_global_strings, identifiers._py_timestamp_us._ascii.ob_base),
  828|      2|        offsetof(struct _Py_global_strings, identifiers._py_timetuple._ascii.ob_base),
  829|      2|        offsetof(struct _Py_global_strings, identifiers._py_timeunit._ascii.ob_base),
  830|      2|        offsetof(struct _Py_global_strings, identifiers._py_top._ascii.ob_base),
  831|      2|        offsetof(struct _Py_global_strings, identifiers._py_traceback._ascii.ob_base),
  832|      2|        offsetof(struct _Py_global_strings, identifiers._py_trailers._ascii.ob_base),
  833|      2|        offsetof(struct _Py_global_strings, identifiers._py_translate._ascii.ob_base),
  834|      2|        offsetof(struct _Py_global_strings, identifiers._py_traps._ascii.ob_base),
  835|      2|        offsetof(struct _Py_global_strings, identifiers._py_true._ascii.ob_base),
  836|      2|        offsetof(struct _Py_global_strings, identifiers._py_truncate._ascii.ob_base),
  837|      2|        offsetof(struct _Py_global_strings, identifiers._py_twice._ascii.ob_base),
  838|      2|        offsetof(struct _Py_global_strings, identifiers._py_txt._ascii.ob_base),
  839|      2|        offsetof(struct _Py_global_strings, identifiers._py_type._ascii.ob_base),
  840|      2|        offsetof(struct _Py_global_strings, identifiers._py_type_params._ascii.ob_base),
  841|      2|        offsetof(struct _Py_global_strings, identifiers._py_tz._ascii.ob_base),
  842|      2|        offsetof(struct _Py_global_strings, identifiers._py_tzinfo._ascii.ob_base),
  843|      2|        offsetof(struct _Py_global_strings, identifiers._py_tzname._ascii.ob_base),
  844|      2|        offsetof(struct _Py_global_strings, identifiers._py_uid._ascii.ob_base),
  845|      2|        offsetof(struct _Py_global_strings, identifiers._py_unboundop._ascii.ob_base),
  846|      2|        offsetof(struct _Py_global_strings, identifiers._py_unlink._ascii.ob_base),
  847|      2|        offsetof(struct _Py_global_strings, identifiers._py_unraisablehook._ascii.ob_base),
  848|      2|        offsetof(struct _Py_global_strings, identifiers._py_updates._ascii.ob_base),
  849|      2|        offsetof(struct _Py_global_strings, identifiers._py_uri._ascii.ob_base),
  850|      2|        offsetof(struct _Py_global_strings, identifiers._py_usedforsecurity._ascii.ob_base),
  851|      2|        offsetof(struct _Py_global_strings, identifiers._py_utcoffset._ascii.ob_base),
  852|      2|        offsetof(struct _Py_global_strings, identifiers._py_value._ascii.ob_base),
  853|      2|        offsetof(struct _Py_global_strings, identifiers._py_values._ascii.ob_base),
  854|      2|        offsetof(struct _Py_global_strings, identifiers._py_version._ascii.ob_base),
  855|      2|        offsetof(struct _Py_global_strings, identifiers._py_volume._ascii.ob_base),
  856|      2|        offsetof(struct _Py_global_strings, identifiers._py_wait_all._ascii.ob_base),
  857|      2|        offsetof(struct _Py_global_strings, identifiers._py_warn_on_full_buffer._ascii.ob_base),
  858|      2|        offsetof(struct _Py_global_strings, identifiers._py_warnings._ascii.ob_base),
  859|      2|        offsetof(struct _Py_global_strings, identifiers._py_warnoptions._ascii.ob_base),
  860|      2|        offsetof(struct _Py_global_strings, identifiers._py_wbits._ascii.ob_base),
  861|      2|        offsetof(struct _Py_global_strings, identifiers._py_week._ascii.ob_base),
  862|      2|        offsetof(struct _Py_global_strings, identifiers._py_weekday._ascii.ob_base),
  863|      2|        offsetof(struct _Py_global_strings, identifiers._py_weeks._ascii.ob_base),
  864|      2|        offsetof(struct _Py_global_strings, identifiers._py_which._ascii.ob_base),
  865|      2|        offsetof(struct _Py_global_strings, identifiers._py_who._ascii.ob_base),
  866|      2|        offsetof(struct _Py_global_strings, identifiers._py_withdata._ascii.ob_base),
  867|      2|        offsetof(struct _Py_global_strings, identifiers._py_wrapcol._ascii.ob_base),
  868|      2|        offsetof(struct _Py_global_strings, identifiers._py_writable._ascii.ob_base),
  869|      2|        offsetof(struct _Py_global_strings, identifiers._py_write._ascii.ob_base),
  870|      2|        offsetof(struct _Py_global_strings, identifiers._py_write_through._ascii.ob_base),
  871|      2|        offsetof(struct _Py_global_strings, identifiers._py_year._ascii.ob_base),
  872|      2|        offsetof(struct _Py_global_strings, identifiers._py_zdict._ascii.ob_base),
  873|      2|        offsetof(struct _Py_global_strings, identifiers._py_zstd_dict._ascii.ob_base),
  874|      2|        offsetof(struct _Py_global_strings, literals._py_empty._ascii.ob_base),
  875|      2|        offsetof(struct _Py_global_strings, literals._py_dbl_percent._ascii.ob_base),
  876|      2|        offsetof(struct _Py_global_strings, literals._py_dot_locals._ascii.ob_base),
  877|      2|        offsetof(struct _Py_global_strings, literals._py_defaults._ascii.ob_base),
  878|      2|        offsetof(struct _Py_global_strings, literals._py_format._ascii.ob_base),
  879|      2|        offsetof(struct _Py_global_strings, literals._py_generic_base._ascii.ob_base),
  880|      2|        offsetof(struct _Py_global_strings, literals._py_kwdefaults._ascii.ob_base),
  881|      2|        offsetof(struct _Py_global_strings, literals._py_type_params._ascii.ob_base),
  882|      2|        offsetof(struct _Py_global_strings, literals._py_str_replace_inf._ascii.ob_base),
  883|      2|        offsetof(struct _Py_global_strings, literals._py_gc._ascii.ob_base),
  884|      2|        offsetof(struct _Py_global_strings, literals._py_anon_null._ascii.ob_base),
  885|      2|        offsetof(struct _Py_global_strings, literals._py_anon_dictcomp._ascii.ob_base),
  886|      2|        offsetof(struct _Py_global_strings, literals._py_anon_genexpr._ascii.ob_base),
  887|      2|        offsetof(struct _Py_global_strings, literals._py_anon_lambda._ascii.ob_base),
  888|      2|        offsetof(struct _Py_global_strings, literals._py_anon_listcomp._ascii.ob_base),
  889|      2|        offsetof(struct _Py_global_strings, literals._py_anon_module._ascii.ob_base),
  890|      2|        offsetof(struct _Py_global_strings, literals._py_native._ascii.ob_base),
  891|      2|        offsetof(struct _Py_global_strings, literals._py_anon_setcomp._ascii.ob_base),
  892|      2|        offsetof(struct _Py_global_strings, literals._py_anon_string._ascii.ob_base),
  893|      2|        offsetof(struct _Py_global_strings, literals._py_anon_unknown._ascii.ob_base),
  894|      2|        offsetof(struct _Py_global_strings, literals._py_json_decoder._ascii.ob_base),
  895|      2|        offsetof(struct _Py_global_strings, literals._py_list_err._ascii.ob_base),
  896|      2|        offsetof(struct _Py_global_strings, literals._py_utf_8._ascii.ob_base),
  897|      2|        offsetof(struct _Py_global_strings, literals._py_dbl_open_br._ascii.ob_base),
  898|      2|        offsetof(struct _Py_global_strings, literals._py_dbl_close_br._ascii.ob_base),
  899|      2|    };
  900|      2|    char *base = (char *)&_Py_SINGLETON(strings);
  ------------------
  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
  901|  1.76k|    for (size_t i = 0; i < Py_ARRAY_LENGTH(offsets); i++) {
  ------------------
  |  |  221|  1.76k|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (901:24): [True: 1.76k, False: 2]
  ------------------
  902|  1.76k|        PyObject *string = (PyObject *)(base + offsets[i]);
  903|  1.76k|        _PyUnicode_InternStatic(interp, &string);
  904|  1.76k|        assert(_PyUnicode_CheckConsistency(string, 1));
  ------------------
  |  Branch (904:9): [True: 1.76k, False: 0]
  ------------------
  905|  1.76k|        assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (905:9): [True: 1.76k, False: 0]
  ------------------
  906|  1.76k|    }
  907|      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|    352|    PyObject *obj = FT_ATOMIC_LOAD_PTR(ref->wr_object);
  ------------------
  |  |  145|    352|#define FT_ATOMIC_LOAD_PTR(value) value
  ------------------
   78|    352|    if (obj == Py_None) {
  ------------------
  |  |  616|    352|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (78:9): [True: 0, False: 352]
  ------------------
   79|       |        // clear_weakref() was called
   80|      0|        return NULL;
   81|      0|    }
   82|       |
   83|    352|    LOCK_WEAKREFS(obj);
   84|       |#ifdef Py_GIL_DISABLED
   85|       |    if (ref->wr_object == Py_None) {
   86|       |        // clear_weakref() was called
   87|       |        UNLOCK_WEAKREFS(obj);
   88|       |        return NULL;
   89|       |    }
   90|       |#endif
   91|    352|    if (_Py_TryIncref(obj)) {
  ------------------
  |  Branch (91:9): [True: 352, False: 0]
  ------------------
   92|    352|        UNLOCK_WEAKREFS(obj);
   93|    352|        return obj;
   94|    352|    }
   95|      0|    UNLOCK_WEAKREFS(obj);
   96|       |    return NULL;
   97|    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|      2|    PyObject *obj = FT_ATOMIC_LOAD_PTR(ref->wr_object);
  ------------------
  |  |  145|      2|#define FT_ATOMIC_LOAD_PTR(value) value
  ------------------
   78|      2|    if (obj == Py_None) {
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (78:9): [True: 0, False: 2]
  ------------------
   79|       |        // clear_weakref() was called
   80|      0|        return NULL;
   81|      0|    }
   82|       |
   83|      2|    LOCK_WEAKREFS(obj);
   84|       |#ifdef Py_GIL_DISABLED
   85|       |    if (ref->wr_object == Py_None) {
   86|       |        // clear_weakref() was called
   87|       |        UNLOCK_WEAKREFS(obj);
   88|       |        return NULL;
   89|       |    }
   90|       |#endif
   91|      2|    if (_Py_TryIncref(obj)) {
  ------------------
  |  Branch (91:9): [True: 2, False: 0]
  ------------------
   92|      2|        UNLOCK_WEAKREFS(obj);
   93|      2|        return obj;
   94|      2|    }
   95|      0|    UNLOCK_WEAKREFS(obj);
   96|       |    return NULL;
   97|      2|}
_weakref.c:_PyWeakref_IS_DEAD:
  100|    112|{
  101|    112|    assert(PyWeakref_Check(ref_obj));
  ------------------
  |  Branch (101:5): [True: 0, False: 0]
  |  Branch (101:5): [True: 0, False: 0]
  |  Branch (101:5): [True: 112, False: 0]
  ------------------
  102|    112|    int ret = 0;
  103|    112|    PyWeakReference *ref = _Py_CAST(PyWeakReference*, ref_obj);
  ------------------
  |  |   37|    112|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  104|    112|    PyObject *obj = FT_ATOMIC_LOAD_PTR(ref->wr_object);
  ------------------
  |  |  145|    112|#define FT_ATOMIC_LOAD_PTR(value) value
  ------------------
  105|    112|    if (obj == Py_None) {
  ------------------
  |  |  616|    112|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (105:9): [True: 112, False: 0]
  ------------------
  106|       |        // clear_weakref() was called
  107|    112|        ret = 1;
  108|    112|    }
  109|      0|    else {
  110|      0|        LOCK_WEAKREFS(obj);
  111|       |        // See _PyWeakref_GET_REF() for the rationale of this test
  112|       |#ifdef Py_GIL_DISABLED
  113|       |        ret = (ref->wr_object == Py_None) || _is_dead(obj);
  114|       |#else
  115|      0|        ret = _is_dead(obj);
  116|      0|#endif
  117|      0|        UNLOCK_WEAKREFS(obj);
  118|      0|    }
  119|    112|    return ret;
  120|    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.5k|{
  750|  14.5k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  14.5k|    flags = type->tp_flags;
  756|  14.5k|#endif
  757|  14.5k|    return ((flags & feature) != 0);
  758|  14.5k|}
call.c:_Py_SIZE_impl:
  240|  1.50k|{
  241|  1.50k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 1.50k, False: 0]
  ------------------
  242|  1.50k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 1.50k, False: 0]
  ------------------
  243|  1.50k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  1.50k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  1.50k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  1.50k|}
call.c:_Py_IS_TYPE_impl:
  248|  1.67k|{
  249|  1.67k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  1.67k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.67k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.67k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  1.67k|}
exceptions.c:PyType_Check:
  762|    375|static inline int PyType_Check(PyObject *op) {
  763|    375|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|    375|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|    375|}
exceptions.c:PyType_HasFeature:
  749|  3.22k|{
  750|  3.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|  3.22k|    flags = type->tp_flags;
  756|  3.22k|#endif
  757|  3.22k|    return ((flags & feature) != 0);
  758|  3.22k|}
exceptions.c:_Py_SIZE_impl:
  240|    166|{
  241|    166|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 166, False: 0]
  ------------------
  242|    166|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 166, False: 0]
  ------------------
  243|    166|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    166|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    166|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    166|}
exceptions.c:_Py_TYPE_impl:
  233|  5.14k|{
  234|  5.14k|    return ob->ob_type;
  235|  5.14k|}
exceptions.c:PyObject_TypeCheck:
  374|    367|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    367|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|    734|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    367|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    367|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 230, False: 137]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 137, False: 0]
  ------------------
  376|    367|}
exceptions.c:_Py_IS_TYPE_impl:
  248|    893|{
  249|    893|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    893|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    893|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    893|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    893|}
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.64k|{
  750|  5.64k|    unsigned 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.64k|    flags = type->tp_flags;
  756|  5.64k|#endif
  757|  5.64k|    return ((flags & feature) != 0);
  758|  5.64k|}
funcobject.c:_Py_TYPE_impl:
  233|  12.0k|{
  234|  12.0k|    return ob->ob_type;
  235|  12.0k|}
funcobject.c:PyObject_TypeCheck:
  374|    985|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    985|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  1.97k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    985|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    985|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 985, 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|    985|}
funcobject.c:_Py_IS_TYPE_impl:
  248|  6.42k|{
  249|  6.42k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  6.42k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  6.42k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.42k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  6.42k|}
listobject.c:_Py_SET_SIZE_impl:
  254|  25.8k|{
  255|  25.8k|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  ------------------
  |  Branch (255:5): [True: 25.8k, False: 0]
  ------------------
  256|  25.8k|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  ------------------
  |  Branch (256:5): [True: 25.8k, False: 0]
  ------------------
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|  25.8k|    ob->ob_size = size;
  261|  25.8k|#endif
  262|  25.8k|}
listobject.c:PyType_HasFeature:
  749|   127k|{
  750|   127k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|   127k|    flags = type->tp_flags;
  756|   127k|#endif
  757|   127k|    return ((flags & feature) != 0);
  758|   127k|}
listobject.c:_Py_TYPE_impl:
  233|   273k|{
  234|   273k|    return ob->ob_type;
  235|   273k|}
listobject.c:_Py_SIZE_impl:
  240|  39.5k|{
  241|  39.5k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 39.5k, False: 0]
  ------------------
  242|  39.5k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 39.5k, False: 0]
  ------------------
  243|  39.5k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  39.5k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  39.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  39.5k|}
listobject.c:_Py_IS_TYPE_impl:
  248|  14.9k|{
  249|  14.9k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  14.9k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  14.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  14.9k|}
listobject.c:PyType_Check:
  762|     89|static inline int PyType_Check(PyObject *op) {
  763|     89|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|     89|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|     89|}
longobject.c:Py_SET_TYPE:
  206|  2.46k|{
  207|  2.46k|    ob->ob_type = type;
  208|  2.46k|}
longobject.c:PyType_HasFeature:
  749|  36.2k|{
  750|  36.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|  36.2k|    flags = type->tp_flags;
  756|  36.2k|#endif
  757|  36.2k|    return ((flags & feature) != 0);
  758|  36.2k|}
longobject.c:_Py_TYPE_impl:
  233|  23.4k|{
  234|  23.4k|    return ob->ob_type;
  235|  23.4k|}
longobject.c:_Py_IS_TYPE_impl:
  248|  2.38k|{
  249|  2.38k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  2.38k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.38k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.38k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  2.38k|}
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|   474k|{
  750|   474k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|   474k|    flags = type->tp_flags;
  756|   474k|#endif
  757|   474k|    return ((flags & feature) != 0);
  758|   474k|}
dictobject.c:_Py_TYPE_impl:
  233|  1.15M|{
  234|  1.15M|    return ob->ob_type;
  235|  1.15M|}
dictobject.c:PyObject_TypeCheck:
  374|  70.2k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  70.2k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|   140k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  70.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  70.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 9, False: 70.2k]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|  70.2k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  70.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  70.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 70.2k]
  ------------------
  376|  70.2k|}
dictobject.c:_Py_IS_TYPE_impl:
  248|   582k|{
  249|   582k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|   582k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   582k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   582k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|   582k|}
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|     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|}
moduleobject.c:PyObject_TypeCheck:
  374|  5.55k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  5.55k|    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.55k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.55k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 5.55k, 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.55k|}
moduleobject.c:Py_SET_TYPE:
  206|     42|{
  207|     42|    ob->ob_type = type;
  208|     42|}
moduleobject.c:PyType_HasFeature:
  749|  7.87k|{
  750|  7.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|  7.87k|    flags = type->tp_flags;
  756|  7.87k|#endif
  757|  7.87k|    return ((flags & feature) != 0);
  758|  7.87k|}
moduleobject.c:_Py_TYPE_impl:
  233|  19.2k|{
  234|  19.2k|    return ob->ob_type;
  235|  19.2k|}
moduleobject.c:_Py_IS_TYPE_impl:
  248|  11.2k|{
  249|  11.2k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  11.2k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  11.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  11.2k|}
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|   537k|{
  234|   537k|    return ob->ob_type;
  235|   537k|}
object.c:PyType_HasFeature:
  749|  30.8k|{
  750|  30.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|  30.8k|    flags = type->tp_flags;
  756|  30.8k|#endif
  757|  30.8k|    return ((flags & feature) != 0);
  758|  30.8k|}
object.c:Py_SET_TYPE:
  206|  2.60k|{
  207|  2.60k|    ob->ob_type = type;
  208|  2.60k|}
object.c:_Py_IS_TYPE_impl:
  248|  22.2k|{
  249|  22.2k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  22.2k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  22.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  22.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  22.2k|}
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.40k|{
  255|  2.40k|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  ------------------
  |  Branch (255:5): [True: 2.40k, False: 0]
  ------------------
  256|  2.40k|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  ------------------
  |  Branch (256:5): [True: 2.40k, False: 0]
  ------------------
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|  2.40k|    ob->ob_size = size;
  261|  2.40k|#endif
  262|  2.40k|}
rangeobject.c:_Py_IS_TYPE_impl:
  248|     59|{
  249|     59|    return Py_TYPE(ob) == 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     59|}
rangeobject.c:_Py_TYPE_impl:
  233|    175|{
  234|    175|    return ob->ob_type;
  235|    175|}
rangeobject.c:PyType_HasFeature:
  749|    102|{
  750|    102|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    102|    flags = type->tp_flags;
  756|    102|#endif
  757|    102|    return ((flags & feature) != 0);
  758|    102|}
sentinelobject.c:PyType_HasFeature:
  749|     15|{
  750|     15|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|     15|    flags = type->tp_flags;
  756|     15|#endif
  757|     15|    return ((flags & feature) != 0);
  758|     15|}
sentinelobject.c:_Py_TYPE_impl:
  233|     33|{
  234|     33|    return ob->ob_type;
  235|     33|}
sentinelobject.c:_Py_IS_TYPE_impl:
  248|     12|{
  249|     12|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|     12|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     12|}
sentinelobject.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|}
setobject.c:PyType_HasFeature:
  749|    931|{
  750|    931|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    931|    flags = type->tp_flags;
  756|    931|#endif
  757|    931|    return ((flags & feature) != 0);
  758|    931|}
setobject.c:_Py_IS_TYPE_impl:
  248|  8.49k|{
  249|  8.49k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  8.49k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.49k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.49k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  8.49k|}
setobject.c:_Py_TYPE_impl:
  233|  9.82k|{
  234|  9.82k|    return ob->ob_type;
  235|  9.82k|}
setobject.c:PyType_Check:
  762|    624|static inline int PyType_Check(PyObject *op) {
  763|    624|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|    624|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|    624|}
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|  62.0k|{
  750|  62.0k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  62.0k|    flags = type->tp_flags;
  756|  62.0k|#endif
  757|  62.0k|    return ((flags & feature) != 0);
  758|  62.0k|}
tupleobject.c:_Py_TYPE_impl:
  233|   179k|{
  234|   179k|    return ob->ob_type;
  235|   179k|}
tupleobject.c:_Py_SIZE_impl:
  240|  45.7k|{
  241|  45.7k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 45.7k, False: 0]
  ------------------
  242|  45.7k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 45.7k, False: 0]
  ------------------
  243|  45.7k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  45.7k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  45.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  45.7k|}
tupleobject.c:_Py_IS_TYPE_impl:
  248|  14.8k|{
  249|  14.8k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  14.8k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  14.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  14.8k|}
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|   147k|static inline int PyType_Check(PyObject *op) {
  763|   147k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|   147k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|   147k|}
typeobject.c:_Py_IS_TYPE_impl:
  248|  90.7k|{
  249|  90.7k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  90.7k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  90.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  90.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  90.7k|}
typeobject.c:PyType_HasFeature:
  749|   967k|{
  750|   967k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|   967k|    flags = type->tp_flags;
  756|   967k|#endif
  757|   967k|    return ((flags & feature) != 0);
  758|   967k|}
typeobject.c:_Py_TYPE_impl:
  233|  1.38M|{
  234|  1.38M|    return ob->ob_type;
  235|  1.38M|}
typeobject.c:Py_SET_TYPE:
  206|  10.4k|{
  207|  10.4k|    ob->ob_type = type;
  208|  10.4k|}
typeobject.c:_Py_SET_SIZE_impl:
  254|    643|{
  255|    643|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  ------------------
  |  Branch (255:5): [True: 643, False: 0]
  ------------------
  256|    643|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  ------------------
  |  Branch (256:5): [True: 643, False: 0]
  ------------------
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|    643|    ob->ob_size = size;
  261|    643|#endif
  262|    643|}
typeobject.c:_Py_SIZE_impl:
  240|   152k|{
  241|   152k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 152k, False: 0]
  ------------------
  242|   152k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 152k, False: 0]
  ------------------
  243|   152k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|   152k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|   152k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|   152k|}
typeobject.c:PyObject_TypeCheck:
  374|  2.86k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  2.86k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  5.73k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  2.86k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.86k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 2.82k, 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.86k|}
unicode_writer.c:PyType_HasFeature:
  749|  3.72M|{
  750|  3.72M|    unsigned 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.72M|    flags = type->tp_flags;
  756|  3.72M|#endif
  757|  3.72M|    return ((flags & feature) != 0);
  758|  3.72M|}
unicode_writer.c:_Py_TYPE_impl:
  233|  3.72M|{
  234|  3.72M|    return ob->ob_type;
  235|  3.72M|}
unicodeobject.c:PyType_HasFeature:
  749|  8.25M|{
  750|  8.25M|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  8.25M|    flags = type->tp_flags;
  756|  8.25M|#endif
  757|  8.25M|    return ((flags & feature) != 0);
  758|  8.25M|}
unicodeobject.c:_Py_TYPE_impl:
  233|  8.60M|{
  234|  8.60M|    return ob->ob_type;
  235|  8.60M|}
unicodeobject.c:Py_SET_TYPE:
  206|   307k|{
  207|   307k|    ob->ob_type = type;
  208|   307k|}
unicodeobject.c:_Py_IS_TYPE_impl:
  248|  62.1k|{
  249|  62.1k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  62.1k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  62.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  62.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  62.1k|}
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.40k|{
  241|  1.40k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 1.40k, False: 0]
  ------------------
  242|  1.40k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 1.40k, False: 0]
  ------------------
  243|  1.40k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  1.40k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  1.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  1.40k|}
unicodeobject.c:_Py_SET_SIZE_impl:
  254|     12|{
  255|     12|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  ------------------
  |  Branch (255:5): [True: 12, False: 0]
  ------------------
  256|     12|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  ------------------
  |  Branch (256:5): [True: 12, False: 0]
  ------------------
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|     12|    ob->ob_size = size;
  261|     12|#endif
  262|     12|}
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|  13.2k|{
  234|  13.2k|    return ob->ob_type;
  235|  13.2k|}
weakrefobject.c:PyType_Check:
  762|  2.71k|static inline int PyType_Check(PyObject *op) {
  763|  2.71k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|  2.71k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|  2.71k|}
weakrefobject.c:PyObject_TypeCheck:
  374|  2.83k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  2.83k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  5.66k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  2.83k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.83k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 2.71k, 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.83k|}
weakrefobject.c:_Py_IS_TYPE_impl:
  248|  4.06k|{
  249|  4.06k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  4.06k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.06k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.06k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  4.06k|}
weakrefobject.c:_Py_SIZE_impl:
  240|    386|{
  241|    386|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 386, False: 0]
  ------------------
  242|    386|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 386, False: 0]
  ------------------
  243|    386|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    386|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    386|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    386|}
weakrefobject.c:PyType_HasFeature:
  749|  3.48k|{
  750|  3.48k|    unsigned 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.48k|    flags = type->tp_flags;
  756|  3.48k|#endif
  757|  3.48k|    return ((flags & feature) != 0);
  758|  3.48k|}
_warnings.c:PyType_HasFeature:
  749|  1.18k|{
  750|  1.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|  1.18k|    flags = type->tp_flags;
  756|  1.18k|#endif
  757|  1.18k|    return ((flags & feature) != 0);
  758|  1.18k|}
_warnings.c:_Py_TYPE_impl:
  233|  1.75k|{
  234|  1.75k|    return ob->ob_type;
  235|  1.75k|}
_warnings.c:_Py_SIZE_impl:
  240|    242|{
  241|    242|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 242, False: 0]
  ------------------
  242|    242|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 242, False: 0]
  ------------------
  243|    242|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    242|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    242|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    242|}
_warnings.c:_Py_IS_TYPE_impl:
  248|     66|{
  249|     66|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|     66|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     66|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     66|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     66|}
_warnings.c:PyObject_TypeCheck:
  374|     22|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|     22|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|     44|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 0, False: 22]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|     22|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 22]
  ------------------
  376|     22|}
bltinmodule.c:PyType_Check:
  762|    443|static inline int PyType_Check(PyObject *op) {
  763|    443|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|    443|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|    443|}
bltinmodule.c:_Py_SIZE_impl:
  240|    477|{
  241|    477|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 477, False: 0]
  ------------------
  242|    477|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 477, False: 0]
  ------------------
  243|    477|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    477|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    477|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    477|}
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.20k|{
  234|  4.20k|    return ob->ob_type;
  235|  4.20k|}
bltinmodule.c:_Py_IS_TYPE_impl:
  248|    586|{
  249|    586|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    586|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    586|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    586|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    586|}
ceval.c:PyType_HasFeature:
  749|  90.0k|{
  750|  90.0k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  90.0k|    flags = type->tp_flags;
  756|  90.0k|#endif
  757|  90.0k|    return ((flags & feature) != 0);
  758|  90.0k|}
ceval.c:_Py_TYPE_impl:
  233|   350k|{
  234|   350k|    return ob->ob_type;
  235|   350k|}
ceval.c:PyType_Check:
  762|  2.10k|static inline int PyType_Check(PyObject *op) {
  763|  2.10k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|  2.10k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|  2.10k|}
ceval.c:_Py_IS_TYPE_impl:
  248|   145k|{
  249|   145k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|   145k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   145k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   145k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|   145k|}
ceval.c:PyObject_TypeCheck:
  374|  8.32k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  8.32k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  16.6k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  8.32k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.32k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 8.32k, 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.32k|}
ceval.c:_Py_SIZE_impl:
  240|  12.0k|{
  241|  12.0k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 12.0k, False: 0]
  ------------------
  242|  12.0k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 12.0k, False: 0]
  ------------------
  243|  12.0k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  12.0k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  12.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  12.0k|}
ceval.c:_Py_SET_SIZE_impl:
  254|  1.91k|{
  255|  1.91k|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  ------------------
  |  Branch (255:5): [True: 1.91k, False: 0]
  ------------------
  256|  1.91k|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  ------------------
  |  Branch (256:5): [True: 1.91k, False: 0]
  ------------------
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|  1.91k|    ob->ob_size = size;
  261|  1.91k|#endif
  262|  1.91k|}
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|     11|{
  750|     11|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|     11|    flags = type->tp_flags;
  756|     11|#endif
  757|     11|    return ((flags & feature) != 0);
  758|     11|}
codecs.c:_Py_TYPE_impl:
  233|     28|{
  234|     28|    return ob->ob_type;
  235|     28|}
compile.c:_Py_SIZE_impl:
  240|     20|{
  241|     20|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 20, False: 0]
  ------------------
  242|     20|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 20, False: 0]
  ------------------
  243|     20|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|     20|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|     20|}
compile.c:PyType_HasFeature:
  749|     94|{
  750|     94|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|     94|    flags = type->tp_flags;
  756|     94|#endif
  757|     94|    return ((flags & feature) != 0);
  758|     94|}
compile.c:_Py_TYPE_impl:
  233|    198|{
  234|    198|    return ob->ob_type;
  235|    198|}
compile.c:_Py_IS_TYPE_impl:
  248|     64|{
  249|     64|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|     64|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     64|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     64|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     64|}
context.c:_Py_IS_TYPE_impl:
  248|     22|{
  249|     22|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|     22|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     22|}
context.c:_Py_TYPE_impl:
  233|     25|{
  234|     25|    return ob->ob_type;
  235|     25|}
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|  2.25k|static inline int PyType_Check(PyObject *op) {
  763|  2.25k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|  2.25k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|  2.25k|}
errors.c:PyType_HasFeature:
  749|  7.61k|{
  750|  7.61k|    unsigned 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.61k|    flags = type->tp_flags;
  756|  7.61k|#endif
  757|  7.61k|    return ((flags & feature) != 0);
  758|  7.61k|}
errors.c:_Py_TYPE_impl:
  233|  7.84k|{
  234|  7.84k|    return ob->ob_type;
  235|  7.84k|}
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.40k|{
  249|  1.40k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  1.40k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.40k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  1.40k|}
frame.c:_Py_TYPE_impl:
  233|  1.40k|{
  234|  1.40k|    return ob->ob_type;
  235|  1.40k|}
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|    190|{
  750|    190|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    190|    flags = type->tp_flags;
  756|    190|#endif
  757|    190|    return ((flags & feature) != 0);
  758|    190|}
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|    158|static inline int PyType_Check(PyObject *op) {
  763|    158|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|    158|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|    158|}
gc.c:PyObject_TypeCheck:
  374|    156|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    156|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|    312|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    156|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    156|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 0, False: 156]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  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 (375:36): [True: 0, False: 156]
  ------------------
  376|    156|}
gc.c:Py_SET_TYPE:
  206|  15.8k|{
  207|  15.8k|    ob->ob_type = type;
  208|  15.8k|}
gc.c:_Py_TYPE_impl:
  233|   240k|{
  234|   240k|    return ob->ob_type;
  235|   240k|}
gc.c:_Py_SET_SIZE_impl:
  254|  8.04k|{
  255|  8.04k|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  ------------------
  |  Branch (255:5): [True: 8.04k, False: 0]
  ------------------
  256|  8.04k|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  ------------------
  |  Branch (256:5): [True: 8.04k, False: 0]
  ------------------
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|  8.04k|    ob->ob_size = size;
  261|  8.04k|#endif
  262|  8.04k|}
getargs.c:PyType_HasFeature:
  749|  6.06k|{
  750|  6.06k|    unsigned 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.06k|    flags = type->tp_flags;
  756|  6.06k|#endif
  757|  6.06k|    return ((flags & feature) != 0);
  758|  6.06k|}
getargs.c:_Py_TYPE_impl:
  233|  10.1k|{
  234|  10.1k|    return ob->ob_type;
  235|  10.1k|}
getargs.c:_Py_SIZE_impl:
  240|  1.79k|{
  241|  1.79k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 1.79k, False: 0]
  ------------------
  242|  1.79k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 1.79k, False: 0]
  ------------------
  243|  1.79k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  1.79k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  1.79k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  1.79k|}
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|     20|{
  241|     20|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 20, False: 0]
  ------------------
  242|     20|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 20, False: 0]
  ------------------
  243|     20|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|     20|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|     20|}
import.c:PyType_HasFeature:
  749|  1.67k|{
  750|  1.67k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  1.67k|    flags = type->tp_flags;
  756|  1.67k|#endif
  757|  1.67k|    return ((flags & feature) != 0);
  758|  1.67k|}
import.c:_Py_TYPE_impl:
  233|  1.83k|{
  234|  1.83k|    return ob->ob_type;
  235|  1.83k|}
import.c:PyObject_TypeCheck:
  374|     83|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|     83|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|    166|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     83|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     83|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 83, 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|     83|}
import.c:_Py_IS_TYPE_impl:
  248|    119|{
  249|    119|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    119|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    119|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    119|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    119|}
importdl.c:PyType_HasFeature:
  749|     38|{
  750|     38|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|     38|    flags = type->tp_flags;
  756|     38|#endif
  757|     38|    return ((flags & feature) != 0);
  758|     38|}
importdl.c:_Py_TYPE_impl:
  233|    106|{
  234|    106|    return ob->ob_type;
  235|    106|}
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.0k|{
  750|  86.0k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  86.0k|    flags = type->tp_flags;
  756|  86.0k|#endif
  757|  86.0k|    return ((flags & feature) != 0);
  758|  86.0k|}
marshal.c:_Py_TYPE_impl:
  233|   204k|{
  234|   204k|    return ob->ob_type;
  235|   204k|}
marshal.c:_Py_SIZE_impl:
  240|  58.9k|{
  241|  58.9k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 58.9k, False: 0]
  ------------------
  242|  58.9k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 58.9k, False: 0]
  ------------------
  243|  58.9k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  58.9k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  58.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  58.9k|}
modsupport.c:_Py_TYPE_impl:
  233|  2.52k|{
  234|  2.52k|    return ob->ob_type;
  235|  2.52k|}
modsupport.c:PyType_HasFeature:
  749|    578|{
  750|    578|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    578|    flags = type->tp_flags;
  756|    578|#endif
  757|    578|    return ((flags & feature) != 0);
  758|    578|}
modsupport.c:_Py_SIZE_impl:
  240|    578|{
  241|    578|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 578, False: 0]
  ------------------
  242|    578|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 578, False: 0]
  ------------------
  243|    578|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    578|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    578|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    578|}
modsupport.c:PyObject_TypeCheck:
  374|    793|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    793|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  1.58k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    793|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    793|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 793, 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|    793|}
modsupport.c:_Py_IS_TYPE_impl:
  248|    793|{
  249|    793|    return Py_TYPE(ob) == type;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    793|}
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|     41|{
  750|     41|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|     41|    flags = type->tp_flags;
  756|     41|#endif
  757|     41|    return ((flags & feature) != 0);
  758|     41|}
pythonrun.c:_Py_TYPE_impl:
  233|     41|{
  234|     41|    return ob->ob_type;
  235|     41|}
specialize.c:PyType_Check:
  762|  1.34k|static inline int PyType_Check(PyObject *op) {
  763|  1.34k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|  1.34k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|  1.34k|}
specialize.c:_Py_TYPE_impl:
  233|  20.8k|{
  234|  20.8k|    return ob->ob_type;
  235|  20.8k|}
specialize.c:_Py_IS_TYPE_impl:
  248|  9.16k|{
  249|  9.16k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  9.16k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  9.16k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.16k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  9.16k|}
specialize.c:PyObject_TypeCheck:
  374|    691|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    691|    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|    691|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    691|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 691, 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|    691|}
specialize.c:_Py_SIZE_impl:
  240|    110|{
  241|    110|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 110, False: 0]
  ------------------
  242|    110|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 110, False: 0]
  ------------------
  243|    110|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    110|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    110|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    110|}
specialize.c:PyType_HasFeature:
  749|  2.74k|{
  750|  2.74k|    unsigned 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.74k|    flags = type->tp_flags;
  756|  2.74k|#endif
  757|  2.74k|    return ((flags & feature) != 0);
  758|  2.74k|}
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|    293|{
  750|    293|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    293|    flags = type->tp_flags;
  756|    293|#endif
  757|    293|    return ((flags & feature) != 0);
  758|    293|}
symtable.c:_Py_TYPE_impl:
  233|    319|{
  234|    319|    return ob->ob_type;
  235|    319|}
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.06k|{
  249|  1.06k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  1.06k|}
traceback.c:PyType_HasFeature:
  749|    446|{
  750|    446|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    446|    flags = type->tp_flags;
  756|    446|#endif
  757|    446|    return ((flags & feature) != 0);
  758|    446|}
traceback.c:_Py_TYPE_impl:
  233|  1.50k|{
  234|  1.50k|    return ob->ob_type;
  235|  1.50k|}
typecache.c:_Py_IS_TYPE_impl:
  248|  26.8k|{
  249|  26.8k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  26.8k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  26.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  26.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  26.8k|}
typecache.c:_Py_TYPE_impl:
  233|  88.2k|{
  234|  88.2k|    return ob->ob_type;
  235|  88.2k|}
typecache.c:PyType_HasFeature:
  749|  61.4k|{
  750|  61.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|  61.4k|    flags = type->tp_flags;
  756|  61.4k|#endif
  757|  61.4k|    return ((flags & feature) != 0);
  758|  61.4k|}
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|    929|{
  750|    929|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    929|    flags = type->tp_flags;
  756|    929|#endif
  757|    929|    return ((flags & feature) != 0);
  758|    929|}
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|    336|{
  234|    336|    return ob->ob_type;
  235|    336|}
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|    372|{
  750|    372|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    372|    flags = type->tp_flags;
  756|    372|#endif
  757|    372|    return ((flags & feature) != 0);
  758|    372|}
textio.c:_Py_TYPE_impl:
  233|    458|{
  234|    458|    return ob->ob_type;
  235|    458|}
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|     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|}
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.4k|{
  234|  11.4k|    return ob->ob_type;
  235|  11.4k|}
_abc.c:PyType_HasFeature:
  749|  7.09k|{
  750|  7.09k|    unsigned 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.09k|    flags = type->tp_flags;
  756|  7.09k|#endif
  757|  7.09k|    return ((flags & feature) != 0);
  758|  7.09k|}
_abc.c:_Py_SIZE_impl:
  240|  1.82k|{
  241|  1.82k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 1.82k, False: 0]
  ------------------
  242|  1.82k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 1.82k, False: 0]
  ------------------
  243|  1.82k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  1.82k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  1.82k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  1.82k|}
_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|      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|}
_functoolsmodule.c:_Py_TYPE_impl:
  233|     10|{
  234|     10|    return ob->ob_type;
  235|     10|}
_functoolsmodule.c:_Py_SIZE_impl:
  240|      1|{
  241|      1|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 1, False: 0]
  ------------------
  242|      1|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 1, False: 0]
  ------------------
  243|      1|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|      1|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|      1|}
_functoolsmodule.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|}
_functoolsmodule.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|}
_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|    206|{
  234|    206|    return ob->ob_type;
  235|    206|}
getpath.c:PyType_HasFeature:
  749|    156|{
  750|    156|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    156|    flags = type->tp_flags;
  756|    156|#endif
  757|    156|    return ((flags & feature) != 0);
  758|    156|}
getpath.c:_Py_SIZE_impl:
  240|     24|{
  241|     24|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 24, False: 0]
  ------------------
  242|     24|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 24, False: 0]
  ------------------
  243|     24|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|     24|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|     24|}
helpers.c:PyType_HasFeature:
  749|     18|{
  750|     18|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|     18|    flags = type->tp_flags;
  756|     18|#endif
  757|     18|    return ((flags & feature) != 0);
  758|     18|}
helpers.c:_Py_TYPE_impl:
  233|     18|{
  234|     18|    return ob->ob_type;
  235|     18|}
abstract.c:_Py_TYPE_impl:
  233|  30.2k|{
  234|  30.2k|    return ob->ob_type;
  235|  30.2k|}
abstract.c:PyType_HasFeature:
  749|  2.71k|{
  750|  2.71k|    unsigned 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.71k|    flags = type->tp_flags;
  756|  2.71k|#endif
  757|  2.71k|    return ((flags & feature) != 0);
  758|  2.71k|}
abstract.c:PyType_Check:
  762|  1.56k|static inline int PyType_Check(PyObject *op) {
  763|  1.56k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|  1.56k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|  1.56k|}
abstract.c:_Py_IS_TYPE_impl:
  248|  13.9k|{
  249|  13.9k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  13.9k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  13.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  13.9k|}
abstract.c:PyObject_TypeCheck:
  374|    446|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    446|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|    892|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    446|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    446|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 0, False: 446]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 27, False: 419]
  ------------------
  376|    446|}
abstract.c:_Py_SIZE_impl:
  240|    104|{
  241|    104|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 104, False: 0]
  ------------------
  242|    104|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 104, False: 0]
  ------------------
  243|    104|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    104|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    104|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    104|}
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.09k|static inline int PyType_CheckExact(PyObject *op) {
  773|  1.09k|    return Py_IS_TYPE(op, &PyType_Type);
  ------------------
  |  |  215|  1.09k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  1.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  774|  1.09k|}
boolobject.c:_Py_TYPE_impl:
  233|      6|{
  234|      6|    return ob->ob_type;
  235|      6|}
boolobject.c:PyType_Check:
  762|      6|static inline int PyType_Check(PyObject *op) {
  763|      6|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|      6|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|      6|}
boolobject.c:PyType_HasFeature:
  749|      6|{
  750|      6|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|      6|    flags = type->tp_flags;
  756|      6|#endif
  757|      6|    return ((flags & feature) != 0);
  758|      6|}
bytes_methods.c:_Py_TYPE_impl:
  233|     28|{
  234|     28|    return ob->ob_type;
  235|     28|}
bytearrayobject.c:PyType_HasFeature:
  749|    442|{
  750|    442|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    442|    flags = type->tp_flags;
  756|    442|#endif
  757|    442|    return ((flags & feature) != 0);
  758|    442|}
bytearrayobject.c:_Py_SIZE_impl:
  240|    313|{
  241|    313|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 313, False: 0]
  ------------------
  242|    313|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 313, False: 0]
  ------------------
  243|    313|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    313|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    313|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    313|}
bytearrayobject.c:_Py_SET_SIZE_impl:
  254|    206|{
  255|    206|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  ------------------
  |  Branch (255:5): [True: 206, False: 0]
  ------------------
  256|    206|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  ------------------
  |  Branch (256:5): [True: 206, False: 0]
  ------------------
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|    206|    ob->ob_size = size;
  261|    206|#endif
  262|    206|}
bytearrayobject.c:PyObject_TypeCheck:
  374|    402|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    402|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|    804|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    402|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    402|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 387, 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|    402|}
bytearrayobject.c:_Py_IS_TYPE_impl:
  248|    429|{
  249|    429|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    429|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    429|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    429|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    429|}
bytearrayobject.c:_Py_TYPE_impl:
  233|  2.17k|{
  234|  2.17k|    return ob->ob_type;
  235|  2.17k|}
bytesobject.c:Py_SET_TYPE:
  206|  8.51k|{
  207|  8.51k|    ob->ob_type = type;
  208|  8.51k|}
bytesobject.c:PyType_HasFeature:
  749|  9.71k|{
  750|  9.71k|    unsigned 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.71k|    flags = type->tp_flags;
  756|  9.71k|#endif
  757|  9.71k|    return ((flags & feature) != 0);
  758|  9.71k|}
bytesobject.c:_Py_TYPE_impl:
  233|  32.0k|{
  234|  32.0k|    return ob->ob_type;
  235|  32.0k|}
bytesobject.c:_Py_IS_TYPE_impl:
  248|    456|{
  249|    456|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    456|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    456|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    456|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    456|}
bytesobject.c:_Py_SIZE_impl:
  240|  2.32k|{
  241|  2.32k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 2.32k, False: 0]
  ------------------
  242|  2.32k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 2.32k, False: 0]
  ------------------
  243|  2.32k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  2.32k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  2.32k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  2.32k|}
bytesobject.c:_Py_SET_SIZE_impl:
  254|  8.54k|{
  255|  8.54k|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  ------------------
  |  Branch (255:5): [True: 8.54k, False: 0]
  ------------------
  256|  8.54k|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  ------------------
  |  Branch (256:5): [True: 8.54k, False: 0]
  ------------------
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|  8.54k|    ob->ob_size = size;
  261|  8.54k|#endif
  262|  8.54k|}
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|    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|}
cellobject.c:_Py_TYPE_impl:
  233|    224|{
  234|    224|    return ob->ob_type;
  235|    224|}
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|   200k|{
  750|   200k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|   200k|    flags = type->tp_flags;
  756|   200k|#endif
  757|   200k|    return ((flags & feature) != 0);
  758|   200k|}
codeobject.c:_Py_TYPE_impl:
  233|   348k|{
  234|   348k|    return ob->ob_type;
  235|   348k|}
codeobject.c:_Py_SIZE_impl:
  240|  51.0k|{
  241|  51.0k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 51.0k, False: 0]
  ------------------
  242|  51.0k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 51.0k, False: 0]
  ------------------
  243|  51.0k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  51.0k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  51.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  51.0k|}
codeobject.c:_Py_IS_TYPE_impl:
  248|  45.7k|{
  249|  45.7k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  45.7k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  45.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  45.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  45.7k|}
complexobject.c:Py_SET_TYPE:
  206|      4|{
  207|      4|    ob->ob_type = type;
  208|      4|}
complexobject.c:PyObject_TypeCheck:
  374|      8|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|      8|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|     16|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 8, False: 0]
  |  |  ------------------
  ------------------
                  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|}
complexobject.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|}
complexobject.c:_Py_TYPE_impl:
  233|     16|{
  234|     16|    return ob->ob_type;
  235|     16|}
descrobject.c:PyType_HasFeature:
  749|  2.28k|{
  750|  2.28k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  2.28k|    flags = type->tp_flags;
  756|  2.28k|#endif
  757|  2.28k|    return ((flags & feature) != 0);
  758|  2.28k|}
descrobject.c:PyType_Check:
  762|    741|static inline int PyType_Check(PyObject *op) {
  763|    741|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|    741|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|    741|}
descrobject.c:_Py_SIZE_impl:
  240|    269|{
  241|    269|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 269, False: 0]
  ------------------
  242|    269|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 269, False: 0]
  ------------------
  243|    269|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    269|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    269|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    269|}
descrobject.c:_Py_TYPE_impl:
  233|  12.8k|{
  234|  12.8k|    return ob->ob_type;
  235|  12.8k|}
descrobject.c:_Py_IS_TYPE_impl:
  248|  4.79k|{
  249|  4.79k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  4.79k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.79k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.79k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  4.79k|}
descrobject.c:PyObject_TypeCheck:
  374|  4.67k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  4.67k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  9.35k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  4.67k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.67k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 3.18k, False: 1.49k]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|  1.49k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.49k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.49k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 1.49k, False: 0]
  ------------------
  376|  4.67k|}
enumobject.c:_Py_TYPE_impl:
  233|  1.90k|{
  234|  1.90k|    return ob->ob_type;
  235|  1.90k|}
enumobject.c:PyType_HasFeature:
  749|  1.02k|{
  750|  1.02k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  1.02k|    flags = type->tp_flags;
  756|  1.02k|#endif
  757|  1.02k|    return ((flags & feature) != 0);
  758|  1.02k|}
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|    108|static inline int PyType_Check(PyObject *op) {
  763|    108|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|    108|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|    108|}
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|     24|{
  207|     24|    ob->ob_type = type;
  208|     24|}
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.13k|{
  234|  1.13k|    return ob->ob_type;
  235|  1.13k|}
floatobject.c:PyObject_TypeCheck:
  374|    423|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    423|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|    846|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    423|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    423|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 414, 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|    423|}
floatobject.c:_Py_IS_TYPE_impl:
  248|  1.11k|{
  249|  1.11k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  1.11k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.11k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.11k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  1.11k|}
frameobject.c:PyObject_TypeCheck:
  374|    437|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    437|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|    874|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    437|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    437|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 437, 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|    437|}
frameobject.c:_Py_IS_TYPE_impl:
  248|    499|{
  249|    499|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    499|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    499|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    499|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    499|}
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|    519|{
  234|    519|    return ob->ob_type;
  235|    519|}
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|     20|{
  750|     20|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|     20|    flags = type->tp_flags;
  756|     20|#endif
  757|     20|    return ((flags & feature) != 0);
  758|     20|}
lazyimportobject.c:_Py_TYPE_impl:
  233|     50|{
  234|     50|    return ob->ob_type;
  235|     50|}
lazyimportobject.c:_Py_IS_TYPE_impl:
  248|     30|{
  249|     30|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|     30|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     30|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     30|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     30|}
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.5k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  16.5k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  33.1k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  16.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 16.4k, 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.5k|}
methodobject.c:_Py_IS_TYPE_impl:
  248|  17.6k|{
  249|  17.6k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  17.6k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  17.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  17.6k|}
methodobject.c:_Py_TYPE_impl:
  233|  17.7k|{
  234|  17.7k|    return ob->ob_type;
  235|  17.7k|}
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|    231|{
  750|    231|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    231|    flags = type->tp_flags;
  756|    231|#endif
  757|    231|    return ((flags & feature) != 0);
  758|    231|}
unicode_format.c:_Py_TYPE_impl:
  233|    273|{
  234|    273|    return ob->ob_type;
  235|    273|}
unicode_format.c:_Py_IS_TYPE_impl:
  248|     42|{
  249|     42|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|     42|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     42|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     42|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     42|}
Python-ast.c:_Py_TYPE_impl:
  233|  1.11k|{
  234|  1.11k|    return ob->ob_type;
  235|  1.11k|}
Python-ast.c:PyType_HasFeature:
  749|    336|{
  750|    336|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    336|    flags = type->tp_flags;
  756|    336|#endif
  757|    336|    return ((flags & feature) != 0);
  758|    336|}
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|     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|}
assemble.c:_Py_TYPE_impl:
  233|     14|{
  234|     14|    return ob->ob_type;
  235|     14|}
assemble.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|}
crossinterp.c:_Py_TYPE_impl:
  233|      2|{
  234|      2|    return ob->ob_type;
  235|      2|}
pegen.c:PyType_HasFeature:
  749|  2.14k|{
  750|  2.14k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  2.14k|    flags = type->tp_flags;
  756|  2.14k|#endif
  757|  2.14k|    return ((flags & feature) != 0);
  758|  2.14k|}
pegen.c:_Py_TYPE_impl:
  233|  6.08k|{
  234|  6.08k|    return ob->ob_type;
  235|  6.08k|}
pegen.c:_Py_SIZE_impl:
  240|  1.95k|{
  241|  1.95k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 1.95k, False: 0]
  ------------------
  242|  1.95k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 1.95k, False: 0]
  ------------------
  243|  1.95k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  1.95k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  1.95k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  1.95k|}
pegen.c:PyObject_TypeCheck:
  374|     21|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|     21|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|     42|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     21|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 21, False: 0]
  |  |  ------------------
  ------------------
                  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|     21|}
pegen.c:_Py_IS_TYPE_impl:
  248|     21|{
  249|     21|    return Py_TYPE(ob) == type;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     21|}
lexer.c:PyType_HasFeature:
  749|     58|{
  750|     58|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|     58|    flags = type->tp_flags;
  756|     58|#endif
  757|     58|    return ((flags & feature) != 0);
  758|     58|}
lexer.c:_Py_TYPE_impl:
  233|     62|{
  234|     62|    return ob->ob_type;
  235|     62|}
lexer.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|}
action_helpers.c:_Py_IS_TYPE_impl:
  248|    745|{
  249|    745|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    745|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    745|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    745|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    745|}
action_helpers.c:_Py_TYPE_impl:
  233|    843|{
  234|    843|    return ob->ob_type;
  235|    843|}
action_helpers.c:PyType_HasFeature:
  749|     42|{
  750|     42|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|     42|    flags = type->tp_flags;
  756|     42|#endif
  757|     42|    return ((flags & feature) != 0);
  758|     42|}
action_helpers.c:_Py_SIZE_impl:
  240|     28|{
  241|     28|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 28, False: 0]
  ------------------
  242|     28|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 28, False: 0]
  ------------------
  243|     28|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|     28|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|     28|}
string_parser.c:PyType_HasFeature:
  749|  1.38M|{
  750|  1.38M|    unsigned 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.38M|    flags = type->tp_flags;
  756|  1.38M|#endif
  757|  1.38M|    return ((flags & feature) != 0);
  758|  1.38M|}
string_parser.c:_Py_TYPE_impl:
  233|  1.38M|{
  234|  1.38M|    return ob->ob_type;
  235|  1.38M|}

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|    297|static inline int PyDTrace_AUDIT_ENABLED(void) { return 0; }

call.c:Py_DECREF:
  418|  3.82k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  3.82k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  3.82k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.82k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.82k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 783, False: 3.04k]
  |  |  ------------------
  ------------------
  422|    783|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    783|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    783|        return;
  424|    783|    }
  425|  3.04k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  3.04k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  3.04k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 2.13k, False: 913]
  ------------------
  427|  2.13k|        _Py_Dealloc(op);
  428|  2.13k|    }
  429|  3.04k|}
call.c:_Py_IsImmortal:
  127|  3.82k|{
  128|       |#if defined(Py_GIL_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.82k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  3.82k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  3.82k|}
call.c:_Py_IsStaticImmortal:
  141|    843|{
  142|    843|#if defined(Py_GIL_DISABLED) || SIZEOF_VOID_P > 4
  143|    843|    return (op->ob_flags & _Py_STATICALLY_ALLOCATED_FLAG) != 0;
  ------------------
  |  |  583|    843|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  ------------------
  144|       |#else
  145|       |    return op->ob_refcnt >= _Py_STATIC_IMMORTAL_MINIMUM_REFCNT;
  146|       |#endif
  147|    843|}
call.c:_Py_NewRef:
  535|    344|{
  536|    344|    Py_INCREF(obj);
  ------------------
  |  |  310|    344|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    344|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    344|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|    344|    return obj;
  538|    344|}
call.c:Py_INCREF:
  256|    344|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|    344|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    344|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 258, False: 86]
  ------------------
  288|       |        // the object is immortal
  289|    258|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|    258|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|    258|        return;
  291|    258|    }
  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:
  541|  1.38k|{
  542|  1.38k|    Py_XINCREF(obj);
  ------------------
  |  |  514|  1.38k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.38k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.38k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  1.38k|    return obj;
  544|  1.38k|}
exceptions.c:Py_XINCREF:
  508|  1.38k|{
  509|  1.38k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  1.38k|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 267, False: 1.11k]
  ------------------
  510|    267|        Py_INCREF(op);
  ------------------
  |  |  310|    267|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    267|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    267|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|    267|    }
  512|  1.38k|}
exceptions.c:Py_XDECREF:
  518|  1.35k|{
  519|  1.35k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  1.35k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 232, False: 1.11k]
  ------------------
  520|    232|        Py_DECREF(op);
  ------------------
  |  |  430|    232|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    232|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    232|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|    232|    }
  522|  1.35k|}
exceptions.c:_Py_NewRef:
  535|    961|{
  536|    961|    Py_INCREF(obj);
  ------------------
  |  |  310|    961|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    961|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    961|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|    961|    return obj;
  538|    961|}
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: 125, False: 1.15k]
  ------------------
  288|       |        // the object is immortal
  289|    125|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|    125|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|    125|        return;
  291|    125|    }
  292|  1.15k|    op->ob_refcnt = cur_refcnt + 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.15k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  1.15k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  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.15k|#endif
  308|  1.15k|}
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: 342, False: 1.60k]
  |  |  ------------------
  ------------------
  422|    342|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    342|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    342|        return;
  424|    342|    }
  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: 936, False: 669]
  ------------------
  427|    936|        _Py_Dealloc(op);
  428|    936|    }
  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:
  518|     15|{
  519|     15|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     15|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 10, False: 5]
  ------------------
  520|     10|        Py_DECREF(op);
  ------------------
  |  |  430|     10|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|     10|    }
  522|     15|}
genericaliasobject.c:_Py_NewRef:
  535|     79|{
  536|     79|    Py_INCREF(obj);
  ------------------
  |  |  310|     79|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     79|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     79|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|     79|    return obj;
  538|     79|}
genericaliasobject.c:Py_INCREF:
  256|     79|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|     79|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     79|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 79, False: 0]
  ------------------
  288|       |        // the object is immortal
  289|     79|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     79|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     79|        return;
  291|     79|    }
  292|      0|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|      0|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      0|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|      0|#endif
  308|      0|}
genericaliasobject.c:_Py_REFCNT:
  105|      5|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|      5|    #if !defined(Py_GIL_DISABLED)
  107|      5|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|      5|    }
funcobject.c:Py_XDECREF:
  518|    291|{
  519|    291|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    291|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 118, False: 173]
  ------------------
  520|    118|        Py_DECREF(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|    118|    }
  522|    291|}
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: 6.99k, False: 6.43k]
  ------------------
  288|       |        // the object is immortal
  289|  6.99k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  6.99k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  6.99k|        return;
  291|  6.99k|    }
  292|  6.43k|    op->ob_refcnt = cur_refcnt + 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.43k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  6.43k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  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.43k|#endif
  308|  6.43k|}
funcobject.c:_Py_NewRef:
  535|  3.79k|{
  536|  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  3.79k|    return obj;
  538|  3.79k|}
funcobject.c:_Py_XNewRef:
  541|    229|{
  542|    229|    Py_XINCREF(obj);
  ------------------
  |  |  514|    229|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    229|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    229|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|    229|    return obj;
  544|    229|}
funcobject.c:Py_XINCREF:
  508|    229|{
  509|    229|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    229|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 52, False: 177]
  ------------------
  510|     52|        Py_INCREF(op);
  ------------------
  |  |  310|     52|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     52|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     52|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|     52|    }
  512|    229|}
funcobject.c:_Py_REFCNT:
  105|  5.59k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  5.59k|    #if !defined(Py_GIL_DISABLED)
  107|  5.59k|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|  5.59k|    }
funcobject.c:Py_DECREF:
  418|  6.70k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  6.70k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  6.70k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.70k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.70k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 4.12k, False: 2.58k]
  |  |  ------------------
  ------------------
  422|  4.12k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  4.12k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  4.12k|        return;
  424|  4.12k|    }
  425|  2.58k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  2.58k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  2.58k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 198, False: 2.38k]
  ------------------
  427|    198|        _Py_Dealloc(op);
  428|    198|    }
  429|  2.58k|}
funcobject.c:_Py_IsImmortal:
  127|  7.96k|{
  128|       |#if defined(Py_GIL_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.96k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  7.96k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  7.96k|}
funcobject.c:Py_SET_REFCNT:
  154|  1.26k|static inline void Py_SET_REFCNT(PyObject *ob, Py_ssize_t refcnt) {
  155|  1.26k|    assert(refcnt >= 0);
  ------------------
  |  Branch (155:5): [True: 1.26k, 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.26k|    if (_Py_IsImmortal(ob)) {
  ------------------
  |  |  137|  1.26k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.26k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 1.26k]
  |  |  ------------------
  ------------------
  167|      0|        return;
  168|      0|    }
  169|  1.26k|#ifndef Py_GIL_DISABLED
  170|  1.26k|#if SIZEOF_VOID_P > 4
  171|  1.26k|    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.26k|#endif  // Py_LIMITED_API
  199|  1.26k|}
listobject.c:Py_DECREF:
  418|  30.4k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  30.4k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  30.4k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  30.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  30.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 19.0k, False: 11.4k]
  |  |  ------------------
  ------------------
  422|  19.0k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  19.0k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  19.0k|        return;
  424|  19.0k|    }
  425|  11.4k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  11.4k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  11.4k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 4.43k, False: 6.97k]
  ------------------
  427|  4.43k|        _Py_Dealloc(op);
  428|  4.43k|    }
  429|  11.4k|}
listobject.c:_Py_IsImmortal:
  127|  30.4k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  30.4k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  30.4k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  30.4k|}
listobject.c:Py_XDECREF:
  518|  28.4k|{
  519|  28.4k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  28.4k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 28.2k, False: 189]
  ------------------
  520|  28.2k|        Py_DECREF(op);
  ------------------
  |  |  430|  28.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  28.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  28.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  28.2k|    }
  522|  28.4k|}
listobject.c:_Py_NewRef:
  535|  28.9k|{
  536|  28.9k|    Py_INCREF(obj);
  ------------------
  |  |  310|  28.9k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  28.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  28.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  28.9k|    return obj;
  538|  28.9k|}
listobject.c:Py_INCREF:
  256|  29.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|  29.4k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  29.4k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 19.6k, False: 9.81k]
  ------------------
  288|       |        // the object is immortal
  289|  19.6k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  19.6k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  19.6k|        return;
  291|  19.6k|    }
  292|  9.81k|    op->ob_refcnt = cur_refcnt + 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.81k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  9.81k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  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.81k|#endif
  308|  9.81k|}
listobject.c:_Py_XNewRef:
  541|    124|{
  542|    124|    Py_XINCREF(obj);
  ------------------
  |  |  514|    124|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    124|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    124|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|    124|    return obj;
  544|    124|}
listobject.c:Py_XINCREF:
  508|    124|{
  509|    124|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    124|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 124, False: 0]
  ------------------
  510|    124|        Py_INCREF(op);
  ------------------
  |  |  310|    124|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    124|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    124|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|    124|    }
  512|    124|}
longobject.c:_Py_IsImmortal:
  127|  2.73k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  2.73k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  2.73k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  2.73k|}
longobject.c:Py_DECREF:
  418|    154|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    154|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    154|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    154|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    154|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 153, False: 1]
  |  |  ------------------
  ------------------
  422|    153|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    153|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    153|        return;
  424|    153|    }
  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:
  518|    115|{
  519|    115|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    115|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 4, False: 111]
  ------------------
  520|      4|        Py_DECREF(op);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|      4|    }
  522|    115|}
longobject.c:Py_INCREF:
  256|  2.46k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->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.46k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  2.46k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 2.46k, False: 0]
  ------------------
  288|       |        // the object is immortal
  289|  2.46k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  2.46k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  2.46k|        return;
  291|  2.46k|    }
  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:
  535|      3|{
  536|      3|    Py_INCREF(obj);
  ------------------
  |  |  310|      3|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|      3|    return obj;
  538|      3|}
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:
  541|  3.81k|{
  542|  3.81k|    Py_XINCREF(obj);
  ------------------
  |  |  514|  3.81k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.81k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.81k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  3.81k|    return obj;
  544|  3.81k|}
dictobject.c:Py_XINCREF:
  508|  3.81k|{
  509|  3.81k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  3.81k|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 2.93k, False: 878]
  ------------------
  510|  2.93k|        Py_INCREF(op);
  ------------------
  |  |  310|  2.93k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.93k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.93k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  2.93k|    }
  512|  3.81k|}
dictobject.c:_Py_IsImmortal:
  127|  50.5k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  50.5k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  50.5k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  50.5k|}
dictobject.c:_Py_IsStaticImmortal:
  141|  16.6k|{
  142|  16.6k|#if defined(Py_GIL_DISABLED) || SIZEOF_VOID_P > 4
  143|  16.6k|    return (op->ob_flags & _Py_STATICALLY_ALLOCATED_FLAG) != 0;
  ------------------
  |  |  583|  16.6k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  ------------------
  144|       |#else
  145|       |    return op->ob_refcnt >= _Py_STATIC_IMMORTAL_MINIMUM_REFCNT;
  146|       |#endif
  147|  16.6k|}
dictobject.c:Py_INCREF:
  256|   123k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|   123k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|   123k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 51.3k, False: 71.9k]
  ------------------
  288|       |        // the object is immortal
  289|  51.3k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  51.3k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  51.3k|        return;
  291|  51.3k|    }
  292|  71.9k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  71.9k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  71.9k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  71.9k|#endif
  308|  71.9k|}
dictobject.c:Py_DECREF:
  418|  30.8k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  30.8k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  30.8k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  30.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  30.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 20.6k, False: 10.1k]
  |  |  ------------------
  ------------------
  422|  20.6k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  20.6k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  20.6k|        return;
  424|  20.6k|    }
  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: 1.98k, False: 8.16k]
  ------------------
  427|  1.98k|        _Py_Dealloc(op);
  428|  1.98k|    }
  429|  10.1k|}
dictobject.c:_Py_REFCNT:
  105|  44.9k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  44.9k|    #if !defined(Py_GIL_DISABLED)
  107|  44.9k|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|  44.9k|    }
dictobject.c:_Py_NewRef:
  535|   100k|{
  536|   100k|    Py_INCREF(obj);
  ------------------
  |  |  310|   100k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   100k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   100k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|   100k|    return obj;
  538|   100k|}
dictobject.c:Py_XDECREF:
  518|  20.8k|{
  519|  20.8k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  20.8k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 19.6k, False: 1.22k]
  ------------------
  520|  19.6k|        Py_DECREF(op);
  ------------------
  |  |  430|  19.6k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  19.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  19.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  19.6k|    }
  522|  20.8k|}
dictobject.c:Py_SET_REFCNT:
  154|  4.15k|static inline void Py_SET_REFCNT(PyObject *ob, Py_ssize_t refcnt) {
  155|  4.15k|    assert(refcnt >= 0);
  ------------------
  |  Branch (155:5): [True: 4.15k, 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|  4.15k|    if (_Py_IsImmortal(ob)) {
  ------------------
  |  |  137|  4.15k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.15k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.15k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 4.15k]
  |  |  ------------------
  ------------------
  167|      0|        return;
  168|      0|    }
  169|  4.15k|#ifndef Py_GIL_DISABLED
  170|  4.15k|#if SIZEOF_VOID_P > 4
  171|  4.15k|    ob->ob_refcnt = (uint32_t)refcnt;
  172|       |#else
  173|       |    ob->ob_refcnt = refcnt;
  174|       |#endif
  175|       |#else
  176|       |    if (_Py_IsOwnedByCurrentThread(ob)) {
  177|       |        if ((size_t)refcnt > (size_t)UINT32_MAX) {
  178|       |            // On overflow, make the object immortal
  179|       |            ob->ob_tid = _Py_UNOWNED_TID;
  180|       |            ob->ob_ref_local = _Py_IMMORTAL_REFCNT_LOCAL;
  181|       |            ob->ob_ref_shared = 0;
  182|       |        }
  183|       |        else {
  184|       |            // Set local refcount to desired refcount and shared refcount
  185|       |            // to zero, but preserve the shared refcount flags.
  186|       |            ob->ob_ref_local = _Py_STATIC_CAST(uint32_t, refcnt);
  187|       |            ob->ob_ref_shared &= _Py_REF_SHARED_FLAG_MASK;
  188|       |        }
  189|       |    }
  190|       |    else {
  191|       |        // Set local refcount to zero and shared refcount to desired refcount.
  192|       |        // Mark the object as merged.
  193|       |        ob->ob_tid = _Py_UNOWNED_TID;
  194|       |        ob->ob_ref_local = 0;
  195|       |        ob->ob_ref_shared = _Py_REF_SHARED(refcnt, _Py_REF_MERGED);
  196|       |    }
  197|       |#endif  // Py_GIL_DISABLED
  198|  4.15k|#endif  // Py_LIMITED_API
  199|  4.15k|}
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.75k|{
  128|       |#if defined(Py_GIL_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.75k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  1.75k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  1.75k|}
moduleobject.c:_Py_NewRef:
  535|    101|{
  536|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|    101|    return obj;
  538|    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.70k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  1.70k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  1.70k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.70k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.70k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 539, False: 1.17k]
  |  |  ------------------
  ------------------
  422|    539|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    539|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    539|        return;
  424|    539|    }
  425|  1.17k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.17k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.17k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 1.17k]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|  1.17k|}
moduleobject.c:Py_XDECREF:
  518|    125|{
  519|    125|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    125|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 4, False: 121]
  ------------------
  520|      4|        Py_DECREF(op);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|      4|    }
  522|    125|}
object.c:_Py_REFCNT:
  105|   278k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|   278k|    #if !defined(Py_GIL_DISABLED)
  107|   278k|        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|   278k|    }
object.c:Py_XDECREF:
  518|    196|{
  519|    196|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    196|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 20, False: 176]
  ------------------
  520|     20|        Py_DECREF(op);
  ------------------
  |  |  430|     20|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|     20|    }
  522|    196|}
object.c:Py_INCREF:
  256|  29.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|  29.7k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  29.7k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 20.7k, False: 9.06k]
  ------------------
  288|       |        // the object is immortal
  289|  20.7k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  20.7k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  20.7k|        return;
  291|  20.7k|    }
  292|  9.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|  9.06k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  9.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|  9.06k|#endif
  308|  9.06k|}
object.c:Py_DECREF:
  418|  28.9k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  28.9k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  28.9k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  28.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  28.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 18.9k, False: 10.0k]
  |  |  ------------------
  ------------------
  422|  18.9k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  18.9k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  18.9k|        return;
  424|  18.9k|    }
  425|  10.0k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  10.0k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  10.0k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 150, False: 9.86k]
  ------------------
  427|    150|        _Py_Dealloc(op);
  428|    150|    }
  429|  10.0k|}
object.c:_Py_NewRef:
  535|    462|{
  536|    462|    Py_INCREF(obj);
  ------------------
  |  |  310|    462|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    462|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    462|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|    462|    return obj;
  538|    462|}
object.c:_Py_IsImmortal:
  127|  49.7k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  49.7k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  49.7k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  49.7k|}
object.c:_Py_IsStaticImmortal:
  141|  2.83k|{
  142|  2.83k|#if defined(Py_GIL_DISABLED) || SIZEOF_VOID_P > 4
  143|  2.83k|    return (op->ob_flags & _Py_STATICALLY_ALLOCATED_FLAG) != 0;
  ------------------
  |  |  583|  2.83k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  ------------------
  144|       |#else
  145|       |    return op->ob_refcnt >= _Py_STATIC_IMMORTAL_MINIMUM_REFCNT;
  146|       |#endif
  147|  2.83k|}
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|    171|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    171|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    171|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    171|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    171|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 156, False: 15]
  |  |  ------------------
  ------------------
  422|    156|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    156|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    156|        return;
  424|    156|    }
  425|     15|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     15|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     15|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 13, False: 2]
  ------------------
  427|     13|        _Py_Dealloc(op);
  428|     13|    }
  429|     15|}
rangeobject.c:_Py_IsImmortal:
  127|    171|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    171|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    171|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    171|}
rangeobject.c:_Py_NewRef:
  535|      6|{
  536|      6|    Py_INCREF(obj);
  ------------------
  |  |  310|      6|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|      6|    return obj;
  538|      6|}
rangeobject.c:Py_INCREF:
  256|      8|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|      8|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|      8|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 6, False: 2]
  ------------------
  288|       |        // the object is immortal
  289|      6|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      6|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|      6|        return;
  291|      6|    }
  292|      2|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|      2|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      2|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|      2|#endif
  308|      2|}
rangeobject.c:Py_XDECREF:
  518|      6|{
  519|      6|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      6|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 6, False: 0]
  ------------------
  520|      6|        Py_DECREF(op);
  ------------------
  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|      6|    }
  522|      6|}
sentinelobject.c:Py_DECREF:
  418|      3|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|      3|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|      3|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 1, False: 2]
  |  |  ------------------
  ------------------
  422|      1|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      1|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      1|        return;
  424|      1|    }
  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|}
sentinelobject.c:_Py_IsImmortal:
  127|      3|{
  128|       |#if defined(Py_GIL_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|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|      3|}
sentinelobject.c:_Py_NewRef:
  535|      9|{
  536|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|      9|    return obj;
  538|      9|}
sentinelobject.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: 5, False: 4]
  ------------------
  288|       |        // the object is immortal
  289|      5|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      5|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|      5|        return;
  291|      5|    }
  292|      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|}
sentinelobject.c:_Py_XNewRef:
  541|      3|{
  542|      3|    Py_XINCREF(obj);
  ------------------
  |  |  514|      3|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|      3|    return obj;
  544|      3|}
sentinelobject.c:Py_XINCREF:
  508|      3|{
  509|      3|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      3|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 0, False: 3]
  ------------------
  510|      0|        Py_INCREF(op);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|      0|    }
  512|      3|}
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.79k]
  |  |  ------------------
  ------------------
  422|    305|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    305|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    305|        return;
  424|    305|    }
  425|  1.79k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.79k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.79k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 105, False: 1.69k]
  ------------------
  427|    105|        _Py_Dealloc(op);
  428|    105|    }
  429|  1.79k|}
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.85k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->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.85k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  2.85k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 676, False: 2.17k]
  ------------------
  288|       |        // the object is immortal
  289|    676|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|    676|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|    676|        return;
  291|    676|    }
  292|  2.17k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  2.17k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  2.17k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  2.17k|#endif
  308|  2.17k|}
setobject.c:Py_XDECREF:
  518|     84|{
  519|     84|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     84|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 2, False: 82]
  ------------------
  520|      2|        Py_DECREF(op);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|      2|    }
  522|     84|}
setobject.c:_Py_REFCNT:
  105|    449|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|    449|    #if !defined(Py_GIL_DISABLED)
  107|    449|        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|    449|    }
setobject.c:_Py_NewRef:
  535|  2.84k|{
  536|  2.84k|    Py_INCREF(obj);
  ------------------
  |  |  310|  2.84k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.84k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.84k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  2.84k|    return obj;
  538|  2.84k|}
sliceobject.c:Py_DECREF:
  418|    194|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    194|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    194|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    194|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    194|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 194, False: 0]
  |  |  ------------------
  ------------------
  422|    194|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    194|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    194|        return;
  424|    194|    }
  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|    194|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    194|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    194|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    194|}
sliceobject.c:_Py_NewRef:
  535|    503|{
  536|    503|    Py_INCREF(obj);
  ------------------
  |  |  310|    503|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    503|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    503|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|    503|    return obj;
  538|    503|}
sliceobject.c:Py_INCREF:
  256|    503|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|    503|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    503|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 503, False: 0]
  ------------------
  288|       |        // the object is immortal
  289|    503|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|    503|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|    503|        return;
  291|    503|    }
  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:
  518|  2.28k|{
  519|  2.28k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  2.28k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 2.28k, False: 0]
  ------------------
  520|  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  2.28k|    }
  522|  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:
  518|  26.9k|{
  519|  26.9k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  26.9k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 26.9k, False: 74]
  ------------------
  520|  26.9k|        Py_DECREF(op);
  ------------------
  |  |  430|  26.9k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  26.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  26.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  26.9k|    }
  522|  26.9k|}
tupleobject.c:_Py_NewRef:
  535|  11.8k|{
  536|  11.8k|    Py_INCREF(obj);
  ------------------
  |  |  310|  11.8k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  11.8k|    return obj;
  538|  11.8k|}
tupleobject.c:Py_INCREF:
  256|  11.9k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  11.9k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  11.9k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 5.08k, False: 6.83k]
  ------------------
  288|       |        // the object is immortal
  289|  5.08k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  5.08k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  5.08k|        return;
  291|  5.08k|    }
  292|  6.83k|    op->ob_refcnt = cur_refcnt + 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.83k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  6.83k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  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.83k|#endif
  308|  6.83k|}
tupleobject.c:Py_DECREF:
  418|  26.9k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  26.9k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  26.9k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  26.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  26.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 14.9k, False: 12.0k]
  |  |  ------------------
  ------------------
  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|  12.0k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  12.0k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  12.0k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 1.93k, False: 10.1k]
  ------------------
  427|  1.93k|        _Py_Dealloc(op);
  428|  1.93k|    }
  429|  12.0k|}
tupleobject.c:_Py_IsImmortal:
  127|  26.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|  26.9k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  26.9k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  26.9k|}
typeobject.c:_Py_NewRef:
  535|  6.28k|{
  536|  6.28k|    Py_INCREF(obj);
  ------------------
  |  |  310|  6.28k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.28k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.28k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  6.28k|    return obj;
  538|  6.28k|}
typeobject.c:_Py_XNewRef:
  541|  1.16k|{
  542|  1.16k|    Py_XINCREF(obj);
  ------------------
  |  |  514|  1.16k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.16k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.16k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  1.16k|    return obj;
  544|  1.16k|}
typeobject.c:Py_XINCREF:
  508|  1.54k|{
  509|  1.54k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  1.54k|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 588, False: 952]
  ------------------
  510|    588|        Py_INCREF(op);
  ------------------
  |  |  310|    588|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    588|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    588|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|    588|    }
  512|  1.54k|}
typeobject.c:Py_INCREF:
  256|  18.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|  18.1k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  18.1k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 12.0k, False: 6.12k]
  ------------------
  288|       |        // the object is immortal
  289|  12.0k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  12.0k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  12.0k|        return;
  291|  12.0k|    }
  292|  6.12k|    op->ob_refcnt = cur_refcnt + 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.12k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  6.12k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  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.12k|#endif
  308|  6.12k|}
typeobject.c:Py_DECREF:
  418|  16.3k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  16.3k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  16.3k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  16.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 1.64k, False: 14.7k]
  |  |  ------------------
  ------------------
  422|  1.64k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  1.64k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  1.64k|        return;
  424|  1.64k|    }
  425|  14.7k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  14.7k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  14.7k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 1.77k, False: 12.9k]
  ------------------
  427|  1.77k|        _Py_Dealloc(op);
  428|  1.77k|    }
  429|  14.7k|}
typeobject.c:_Py_IsImmortal:
  127|  66.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|  66.9k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  66.9k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  66.9k|}
typeobject.c:_Py_REFCNT:
  105|  1.77k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  1.77k|    #if !defined(Py_GIL_DISABLED)
  107|  1.77k|        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.77k|    }
typeobject.c:_Py_IsStaticImmortal:
  141|  88.2k|{
  142|  88.2k|#if defined(Py_GIL_DISABLED) || SIZEOF_VOID_P > 4
  143|  88.2k|    return (op->ob_flags & _Py_STATICALLY_ALLOCATED_FLAG) != 0;
  ------------------
  |  |  583|  88.2k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  ------------------
  144|       |#else
  145|       |    return op->ob_refcnt >= _Py_STATIC_IMMORTAL_MINIMUM_REFCNT;
  146|       |#endif
  147|  88.2k|}
typeobject.c:Py_XDECREF:
  518|  5.46k|{
  519|  5.46k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  5.46k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 1.51k, False: 3.94k]
  ------------------
  520|  1.51k|        Py_DECREF(op);
  ------------------
  |  |  430|  1.51k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.51k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.51k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  1.51k|    }
  522|  5.46k|}
unicode_writer.c:_Py_REFCNT:
  105|   278k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|   278k|    #if !defined(Py_GIL_DISABLED)
  107|   278k|        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|   278k|    }
unicode_writer.c:_Py_IsImmortal:
  127|   498k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|   498k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   498k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   498k|}
unicode_writer.c:Py_DECREF:
  418|   219k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   219k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   219k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   219k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   219k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 3, False: 219k]
  |  |  ------------------
  ------------------
  422|      3|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      3|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      3|        return;
  424|      3|    }
  425|   219k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   219k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   219k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 219k, False: 13]
  ------------------
  427|   219k|        _Py_Dealloc(op);
  428|   219k|    }
  429|   219k|}
unicode_writer.c:_Py_NewRef:
  535|     16|{
  536|     16|    Py_INCREF(obj);
  ------------------
  |  |  310|     16|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|     16|    return obj;
  538|     16|}
unicode_writer.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: 3, False: 13]
  ------------------
  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|     13|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|     13|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|     13|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|     13|#endif
  308|     13|}
unicodeobject.c:Py_DECREF:
  418|  40.7k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  40.7k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  40.7k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  40.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  40.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 846, False: 39.9k]
  |  |  ------------------
  ------------------
  422|    846|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    846|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    846|        return;
  424|    846|    }
  425|  39.9k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  39.9k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  39.9k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 11.2k, False: 28.6k]
  ------------------
  427|  11.2k|        _Py_Dealloc(op);
  428|  11.2k|    }
  429|  39.9k|}
unicodeobject.c:_Py_IsImmortal:
  127|   387k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|   387k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   387k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   387k|}
unicodeobject.c:_Py_REFCNT:
  105|    924|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|    924|    #if !defined(Py_GIL_DISABLED)
  107|    924|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|    924|    }
unicodeobject.c:_Py_NewRef:
  535|  8.13k|{
  536|  8.13k|    Py_INCREF(obj);
  ------------------
  |  |  310|  8.13k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.13k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  8.13k|    return obj;
  538|  8.13k|}
unicodeobject.c:Py_XDECREF:
  518|   556k|{
  519|   556k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   556k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 729, False: 556k]
  ------------------
  520|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|    729|    }
  522|   556k|}
unicodeobject.c:Py_INCREF:
  256|   317k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|   317k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|   317k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 316k, False: 790]
  ------------------
  288|       |        // the object is immortal
  289|   316k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|   316k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|   316k|        return;
  291|   316k|    }
  292|    790|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|    790|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    790|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|    790|#endif
  308|    790|}
unicodeobject.c:Py_SET_REFCNT:
  154|     32|static inline void Py_SET_REFCNT(PyObject *ob, Py_ssize_t refcnt) {
  155|     32|    assert(refcnt >= 0);
  ------------------
  |  Branch (155:5): [True: 32, 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|     32|    if (_Py_IsImmortal(ob)) {
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  167|      0|        return;
  168|      0|    }
  169|     32|#ifndef Py_GIL_DISABLED
  170|     32|#if SIZEOF_VOID_P > 4
  171|     32|    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|     32|#endif  // Py_LIMITED_API
  199|     32|}
unionobject.c:Py_DECREF:
  418|     92|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     92|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     92|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     92|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     92|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 92]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|     92|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     92|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     92|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 92, False: 0]
  ------------------
  427|     92|        _Py_Dealloc(op);
  428|     92|    }
  429|     92|}
unionobject.c:_Py_IsImmortal:
  127|     92|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|     92|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     92|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     92|}
unionobject.c:Py_XDECREF:
  518|     49|{
  519|     49|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     49|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 2, False: 47]
  ------------------
  520|      2|        Py_DECREF(op);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|      2|    }
  522|     49|}
unionobject.c:_Py_REFCNT:
  105|      1|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|      1|    #if !defined(Py_GIL_DISABLED)
  107|      1|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|      1|    }
weakrefobject.c:Py_INCREF:
  256|    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:
  541|  1.30k|{
  542|  1.30k|    Py_XINCREF(obj);
  ------------------
  |  |  514|  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  1.30k|    return obj;
  544|  1.30k|}
weakrefobject.c:Py_XINCREF:
  508|  1.30k|{
  509|  1.30k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  1.30k|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 315, False: 992]
  ------------------
  510|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|    315|    }
  512|  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.51k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  1.51k|    #if !defined(Py_GIL_DISABLED)
  107|  1.51k|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|  1.51k|    }
weakrefobject.c:Py_XDECREF:
  518|    438|{
  519|    438|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    438|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 22, False: 416]
  ------------------
  520|     22|        Py_DECREF(op);
  ------------------
  |  |  430|     22|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|     22|    }
  522|    438|}
_warnings.c:_Py_NewRef:
  535|     52|{
  536|     52|    Py_INCREF(obj);
  ------------------
  |  |  310|     52|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     52|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     52|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|     52|    return obj;
  538|     52|}
_warnings.c:Py_INCREF:
  256|    184|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|    184|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    184|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 52, False: 132]
  ------------------
  288|       |        // the object is immortal
  289|     52|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     52|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     52|        return;
  291|     52|    }
  292|    132|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|    132|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    132|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|    132|#endif
  308|    132|}
_warnings.c:Py_DECREF:
  418|    468|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    468|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    468|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    468|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    468|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 98, False: 370]
  |  |  ------------------
  ------------------
  422|     98|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     98|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     98|        return;
  424|     98|    }
  425|    370|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    370|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    370|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 66, False: 304]
  ------------------
  427|     66|        _Py_Dealloc(op);
  428|     66|    }
  429|    370|}
_warnings.c:_Py_IsImmortal:
  127|    468|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    468|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    468|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    468|}
_warnings.c:Py_XDECREF:
  518|    110|{
  519|    110|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    110|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 110, False: 0]
  ------------------
  520|    110|        Py_DECREF(op);
  ------------------
  |  |  430|    110|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    110|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    110|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|    110|    }
  522|    110|}
bltinmodule.c:_Py_NewRef:
  535|    347|{
  536|    347|    Py_INCREF(obj);
  ------------------
  |  |  310|    347|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    347|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    347|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|    347|    return obj;
  538|    347|}
bltinmodule.c:Py_INCREF:
  256|    762|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|    762|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    762|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 403, False: 359]
  ------------------
  288|       |        // the object is immortal
  289|    403|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|    403|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|    403|        return;
  291|    403|    }
  292|    359|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|    359|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    359|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|    359|#endif
  308|    359|}
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: 694, False: 1.35k]
  |  |  ------------------
  ------------------
  422|    694|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    694|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    694|        return;
  424|    694|    }
  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: 585, False: 768]
  ------------------
  427|    585|        _Py_Dealloc(op);
  428|    585|    }
  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:
  518|  1.12k|{
  519|  1.12k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  1.12k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 839, False: 282]
  ------------------
  520|    839|        Py_DECREF(op);
  ------------------
  |  |  430|    839|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    839|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    839|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|    839|    }
  522|  1.12k|}
bltinmodule.c:_Py_XNewRef:
  541|     20|{
  542|     20|    Py_XINCREF(obj);
  ------------------
  |  |  514|     20|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|     20|    return obj;
  544|     20|}
bltinmodule.c:Py_XINCREF:
  508|     20|{
  509|     20|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     20|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 20, False: 0]
  ------------------
  510|     20|        Py_INCREF(op);
  ------------------
  |  |  310|     20|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|     20|    }
  512|     20|}
ceval.c:_Py_IsImmortal:
  127|  71.6k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  71.6k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  71.6k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  71.6k|}
ceval.c:_Py_NewRef:
  535|  8.14k|{
  536|  8.14k|    Py_INCREF(obj);
  ------------------
  |  |  310|  8.14k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.14k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.14k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  8.14k|    return obj;
  538|  8.14k|}
ceval.c:_Py_IsStaticImmortal:
  141|  95.6k|{
  142|  95.6k|#if defined(Py_GIL_DISABLED) || SIZEOF_VOID_P > 4
  143|  95.6k|    return (op->ob_flags & _Py_STATICALLY_ALLOCATED_FLAG) != 0;
  ------------------
  |  |  583|  95.6k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  ------------------
  144|       |#else
  145|       |    return op->ob_refcnt >= _Py_STATIC_IMMORTAL_MINIMUM_REFCNT;
  146|       |#endif
  147|  95.6k|}
ceval.c:_Py_REFCNT:
  105|    206|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|    206|    #if !defined(Py_GIL_DISABLED)
  107|    206|        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|    206|    }
ceval.c:Py_INCREF:
  256|  11.2k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  11.2k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  11.2k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 6.30k, False: 4.90k]
  ------------------
  288|       |        // the object is immortal
  289|  6.30k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  6.30k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  6.30k|        return;
  291|  6.30k|    }
  292|  4.90k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  4.90k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  4.90k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  4.90k|#endif
  308|  4.90k|}
ceval.c:Py_XDECREF:
  518|    292|{
  519|    292|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    292|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 32, False: 260]
  ------------------
  520|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|     32|    }
  522|    292|}
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:
  508|  3.06k|{
  509|  3.06k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  3.06k|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 1.39k, False: 1.67k]
  ------------------
  510|  1.39k|        Py_INCREF(op);
  ------------------
  |  |  310|  1.39k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.39k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  1.39k|    }
  512|  3.06k|}
ceval.c:_Py_XNewRef:
  541|  1.09k|{
  542|  1.09k|    Py_XINCREF(obj);
  ------------------
  |  |  514|  1.09k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  1.09k|    return obj;
  544|  1.09k|}
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:
  535|     36|{
  536|     36|    Py_INCREF(obj);
  ------------------
  |  |  310|     36|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|     36|    return obj;
  538|     36|}
compile.c:Py_DECREF:
  418|    168|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    168|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    168|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    168|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    168|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 46, False: 122]
  |  |  ------------------
  ------------------
  422|     46|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     46|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     46|        return;
  424|     46|    }
  425|    122|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    122|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    122|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 50, False: 72]
  ------------------
  427|     50|        _Py_Dealloc(op);
  428|     50|    }
  429|    122|}
compile.c:_Py_IsImmortal:
  127|    168|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    168|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    168|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    168|}
compile.c:Py_XDECREF:
  518|     16|{
  519|     16|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     16|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 12, False: 4]
  ------------------
  520|     12|        Py_DECREF(op);
  ------------------
  |  |  430|     12|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|     12|    }
  522|     16|}
compile.c:_Py_XNewRef:
  541|      6|{
  542|      6|    Py_XINCREF(obj);
  ------------------
  |  |  514|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|      6|    return obj;
  544|      6|}
compile.c:Py_XINCREF:
  508|      6|{
  509|      6|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      6|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 2, False: 4]
  ------------------
  510|      2|        Py_INCREF(op);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|      2|    }
  512|      6|}
compile.c:Py_INCREF:
  256|     38|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|     38|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     38|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 18, False: 20]
  ------------------
  288|       |        // the object is immortal
  289|     18|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     18|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     18|        return;
  291|     18|    }
  292|     20|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|     20|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|     20|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|     20|#endif
  308|     20|}
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:
  535|      3|{
  536|      3|    Py_INCREF(obj);
  ------------------
  |  |  310|      3|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|      3|    return obj;
  538|      3|}
context.c:Py_XINCREF:
  508|     25|{
  509|     25|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     25|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 0, False: 25]
  ------------------
  510|      0|        Py_INCREF(op);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|      0|    }
  512|     25|}
context.c:_Py_XNewRef:
  541|      3|{
  542|      3|    Py_XINCREF(obj);
  ------------------
  |  |  514|      3|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|      3|    return obj;
  544|      3|}
errors.c:Py_XDECREF:
  518|  2.83k|{
  519|  2.83k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  2.83k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 344, False: 2.48k]
  ------------------
  520|    344|        Py_DECREF(op);
  ------------------
  |  |  430|    344|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    344|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    344|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|    344|    }
  522|  2.83k|}
errors.c:Py_DECREF:
  418|  1.28k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  1.28k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  1.28k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.28k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.28k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 529, False: 758]
  |  |  ------------------
  ------------------
  422|    529|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    529|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    529|        return;
  424|    529|    }
  425|    758|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    758|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    758|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 216, False: 542]
  ------------------
  427|    216|        _Py_Dealloc(op);
  428|    216|    }
  429|    758|}
errors.c:_Py_IsImmortal:
  127|  1.28k|{
  128|       |#if defined(Py_GIL_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.28k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  1.28k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  1.28k|}
errors.c:Py_XINCREF:
  508|    490|{
  509|    490|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    490|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 490, False: 0]
  ------------------
  510|    490|        Py_INCREF(op);
  ------------------
  |  |  310|    490|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    490|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    490|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|    490|    }
  512|    490|}
errors.c:Py_INCREF:
  256|  1.02k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->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.02k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  1.02k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 546, False: 476]
  ------------------
  288|       |        // the object is immortal
  289|    546|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|    546|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|    546|        return;
  291|    546|    }
  292|    476|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|    476|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    476|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|    476|#endif
  308|    476|}
errors.c:_Py_NewRef:
  535|    511|{
  536|    511|    Py_INCREF(obj);
  ------------------
  |  |  310|    511|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    511|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    511|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|    511|    return obj;
  538|    511|}
flowgraph.c:_Py_NewRef:
  535|      4|{
  536|      4|    Py_INCREF(obj);
  ------------------
  |  |  310|      4|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|      4|    return obj;
  538|      4|}
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.5k|{
  142|  21.5k|#if defined(Py_GIL_DISABLED) || SIZEOF_VOID_P > 4
  143|  21.5k|    return (op->ob_flags & _Py_STATICALLY_ALLOCATED_FLAG) != 0;
  ------------------
  |  |  583|  21.5k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  ------------------
  144|       |#else
  145|       |    return op->ob_refcnt >= _Py_STATIC_IMMORTAL_MINIMUM_REFCNT;
  146|       |#endif
  147|  21.5k|}
frame.c:Py_DECREF:
  418|    735|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    735|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    735|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    735|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    735|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 735]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|    735|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    735|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    735|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 295, False: 440]
  ------------------
  427|    295|        _Py_Dealloc(op);
  428|    295|    }
  429|    735|}
frame.c:_Py_IsImmortal:
  127|    977|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    977|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    977|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    977|}
frame.c:_Py_REFCNT:
  105|    435|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|    435|    #if !defined(Py_GIL_DISABLED)
  107|    435|        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|    435|    }
frame.c:Py_INCREF:
  256|    155|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|    155|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    155|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 155]
  ------------------
  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|    155|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|    155|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    155|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|    155|#endif
  308|    155|}
frame.c:_Py_NewRef:
  535|    103|{
  536|    103|    Py_INCREF(obj);
  ------------------
  |  |  310|    103|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    103|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    103|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|    103|    return obj;
  538|    103|}
gc.c:Py_DECREF:
  418|     85|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     85|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     85|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     85|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     85|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 85]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  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: 24, False: 61]
  ------------------
  427|     24|        _Py_Dealloc(op);
  428|     24|    }
  429|     85|}
gc.c:_Py_IsImmortal:
  127|  33.4k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  33.4k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  33.4k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  33.4k|}
gc.c:Py_INCREF:
  256|  15.8k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  15.8k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  15.8k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 15.6k, False: 193]
  ------------------
  288|       |        // the object is immortal
  289|  15.6k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  15.6k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  15.6k|        return;
  291|  15.6k|    }
  292|    193|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|    193|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    193|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|    193|#endif
  308|    193|}
gc.c:_Py_REFCNT:
  105|  17.7k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  17.7k|    #if !defined(Py_GIL_DISABLED)
  107|  17.7k|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|  17.7k|    }
gc.c:Py_XDECREF:
  518|     16|{
  519|     16|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     16|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 0, False: 16]
  ------------------
  520|      0|        Py_DECREF(op);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|      0|    }
  522|     16|}
getargs.c:_Py_NewRef:
  535|    125|{
  536|    125|    Py_INCREF(obj);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|    125|    return obj;
  538|    125|}
getargs.c:Py_INCREF:
  256|    125|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|    125|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    125|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 119, False: 6]
  ------------------
  288|       |        // the object is immortal
  289|    119|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|    119|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|    119|        return;
  291|    119|    }
  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|}
getargs.c:Py_DECREF:
  418|    159|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    159|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    159|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    159|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    159|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 133, False: 26]
  |  |  ------------------
  ------------------
  422|    133|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    133|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    133|        return;
  424|    133|    }
  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|}
getargs.c:_Py_IsImmortal:
  127|    159|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    159|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    159|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    159|}
import.c:Py_INCREF:
  256|  1.85k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->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.85k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  1.85k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 339, False: 1.51k]
  ------------------
  288|       |        // the object is immortal
  289|    339|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|    339|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|    339|        return;
  291|    339|    }
  292|  1.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|  1.51k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  1.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|  1.51k|#endif
  308|  1.51k|}
import.c:Py_DECREF:
  418|  3.46k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  3.46k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  3.46k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.46k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 405, False: 3.06k]
  |  |  ------------------
  ------------------
  422|    405|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    405|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    405|        return;
  424|    405|    }
  425|  3.06k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  3.06k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  3.06k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 233, False: 2.82k]
  ------------------
  427|    233|        _Py_Dealloc(op);
  428|    233|    }
  429|  3.06k|}
import.c:_Py_IsImmortal:
  127|  3.46k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  3.46k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  3.46k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  3.46k|}
import.c:Py_XDECREF:
  518|  1.34k|{
  519|  1.34k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  1.34k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 1.20k, False: 143]
  ------------------
  520|  1.20k|        Py_DECREF(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  1.20k|    }
  522|  1.34k|}
import.c:_Py_REFCNT:
  105|      2|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|      2|    #if !defined(Py_GIL_DISABLED)
  107|      2|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|      2|    }
import.c:_Py_NewRef:
  535|    804|{
  536|    804|    Py_INCREF(obj);
  ------------------
  |  |  310|    804|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    804|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    804|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|    804|    return obj;
  538|    804|}
import.c:_Py_XNewRef:
  541|     20|{
  542|     20|    Py_XINCREF(obj);
  ------------------
  |  |  514|     20|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|     20|    return obj;
  544|     20|}
import.c:Py_XINCREF:
  508|     32|{
  509|     32|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     32|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 16, False: 16]
  ------------------
  510|     16|        Py_INCREF(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|     16|    }
  512|     32|}
importdl.c:Py_DECREF:
  418|     74|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     74|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     74|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     74|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     74|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 31, False: 43]
  |  |  ------------------
  ------------------
  422|     31|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     31|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     31|        return;
  424|     31|    }
  425|     43|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     43|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     43|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 35, False: 8]
  ------------------
  427|     35|        _Py_Dealloc(op);
  428|     35|    }
  429|     43|}
importdl.c:_Py_IsImmortal:
  127|     74|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|     74|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     74|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     74|}
importdl.c:_Py_NewRef:
  535|     35|{
  536|     35|    Py_INCREF(obj);
  ------------------
  |  |  310|     35|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     35|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     35|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|     35|    return obj;
  538|     35|}
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:
  535|     32|{
  536|     32|    Py_INCREF(obj);
  ------------------
  |  |  310|     32|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     32|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|     32|    return obj;
  538|     32|}
initconfig.c:Py_INCREF:
  256|     32|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|     32|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     32|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 32, False: 0]
  ------------------
  288|       |        // the object is immortal
  289|     32|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     32|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     32|        return;
  291|     32|    }
  292|      0|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|      0|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      0|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|      0|#endif
  308|      0|}
instrumentation.c:Py_DECREF:
  418|     48|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     48|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     48|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 30, False: 18]
  |  |  ------------------
  ------------------
  422|     30|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     30|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     30|        return;
  424|     30|    }
  425|     18|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     18|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     18|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 18]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|     18|}
instrumentation.c:_Py_IsImmortal:
  127|     48|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|     48|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     48|}
instruction_sequence.c:Py_XDECREF:
  518|      8|{
  519|      8|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      8|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 0, False: 8]
  ------------------
  520|      0|        Py_DECREF(op);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|      0|    }
  522|      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:
  518|  1.73k|{
  519|  1.73k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  1.73k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 1.73k, False: 0]
  ------------------
  520|  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  1.73k|    }
  522|  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_XDECREF:
  518|  24.3k|{
  519|  24.3k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  24.3k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 24.3k, False: 0]
  ------------------
  520|  24.3k|        Py_DECREF(op);
  ------------------
  |  |  430|  24.3k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  24.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  24.3k|    }
  522|  24.3k|}
marshal.c:_Py_NewRef:
  535|  26.4k|{
  536|  26.4k|    Py_INCREF(obj);
  ------------------
  |  |  310|  26.4k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  26.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  26.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  26.4k|    return obj;
  538|  26.4k|}
marshal.c:Py_INCREF:
  256|  26.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|  26.4k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  26.4k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 23.3k, False: 3.12k]
  ------------------
  288|       |        // the object is immortal
  289|  23.3k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  23.3k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  23.3k|        return;
  291|  23.3k|    }
  292|  3.12k|    op->ob_refcnt = cur_refcnt + 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.12k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  3.12k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  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.12k|#endif
  308|  3.12k|}
marshal.c:Py_DECREF:
  418|  25.1k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  25.1k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  25.1k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  25.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  25.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 11.3k, False: 13.7k]
  |  |  ------------------
  ------------------
  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.7k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  13.7k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  13.7k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 57, False: 13.7k]
  ------------------
  427|     57|        _Py_Dealloc(op);
  428|     57|    }
  429|  13.7k|}
marshal.c:_Py_IsImmortal:
  127|  25.1k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  25.1k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  25.1k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  25.1k|}
modsupport.c:Py_INCREF:
  256|  1.69k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->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.69k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  1.69k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 853, False: 839]
  ------------------
  288|       |        // the object is immortal
  289|    853|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|    853|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|    853|        return;
  291|    853|    }
  292|    839|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|    839|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    839|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|    839|#endif
  308|    839|}
modsupport.c:Py_XDECREF:
  518|    520|{
  519|    520|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    520|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 520, False: 0]
  ------------------
  520|    520|        Py_DECREF(op);
  ------------------
  |  |  430|    520|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    520|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    520|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|    520|    }
  522|    520|}
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.06k, False: 457]
  |  |  ------------------
  ------------------
  422|  1.06k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  1.06k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  1.06k|        return;
  424|  1.06k|    }
  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|  3.41k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  3.41k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  3.41k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 2.30k, False: 1.11k]
  |  |  ------------------
  ------------------
  422|  2.30k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  2.30k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  2.30k|        return;
  424|  2.30k|    }
  425|  1.11k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.11k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.11k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 39, False: 1.07k]
  ------------------
  427|     39|        _Py_Dealloc(op);
  428|     39|    }
  429|  1.11k|}
pyarena.c:_Py_IsImmortal:
  127|  3.41k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  3.41k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  3.41k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  3.41k|}
pylifecycle.c:_Py_NewRef:
  535|      2|{
  536|      2|    Py_INCREF(obj);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|      2|    return obj;
  538|      2|}
pylifecycle.c:Py_INCREF:
  256|      2|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|      2|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|      2|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 2]
  ------------------
  288|       |        // the object is immortal
  289|      0|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      0|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|      0|        return;
  291|      0|    }
  292|      2|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|      2|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      2|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|      2|#endif
  308|      2|}
pylifecycle.c:Py_DECREF:
  418|     72|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     72|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     72|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     72|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     72|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 14, False: 58]
  |  |  ------------------
  ------------------
  422|     14|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     14|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     14|        return;
  424|     14|    }
  425|     58|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     58|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     58|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 6, False: 52]
  ------------------
  427|      6|        _Py_Dealloc(op);
  428|      6|    }
  429|     58|}
pylifecycle.c:_Py_IsImmortal:
  127|     72|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|     72|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     72|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     72|}
pylifecycle.c:Py_XDECREF:
  518|     12|{
  519|     12|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     12|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 12, False: 0]
  ------------------
  520|     12|        Py_DECREF(op);
  ------------------
  |  |  430|     12|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|     12|    }
  522|     12|}
pythonrun.c:Py_DECREF:
  418|      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:
  518|      6|{
  519|      6|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      6|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 4, False: 2]
  ------------------
  520|      4|        Py_DECREF(op);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|      4|    }
  522|      6|}
specialize.c:Py_XDECREF:
  518|  1.05k|{
  519|  1.05k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  1.05k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 500, False: 554]
  ------------------
  520|    500|        Py_DECREF(op);
  ------------------
  |  |  430|    500|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    500|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    500|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|    500|    }
  522|  1.05k|}
specialize.c:Py_DECREF:
  418|    523|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    523|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    523|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    523|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    523|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 13, False: 510]
  |  |  ------------------
  ------------------
  422|     13|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     13|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     13|        return;
  424|     13|    }
  425|    510|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    510|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    510|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 510]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|    510|}
specialize.c:_Py_IsImmortal:
  127|    523|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    523|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    523|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    523|}
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:
  508|    130|{
  509|    130|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    130|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 130, False: 0]
  ------------------
  510|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|    130|    }
  512|    130|}
structmember.c:_Py_XNewRef:
  541|    112|{
  542|    112|    Py_XINCREF(obj);
  ------------------
  |  |  514|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|    112|    return obj;
  544|    112|}
structmember.c:Py_XDECREF:
  518|    112|{
  519|    112|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    112|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 0, False: 112]
  ------------------
  520|      0|        Py_DECREF(op);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|      0|    }
  522|    112|}
symtable.c:_Py_NewRef:
  535|     72|{
  536|     72|    Py_INCREF(obj);
  ------------------
  |  |  310|     72|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     72|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     72|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|     72|    return obj;
  538|     72|}
symtable.c:Py_INCREF:
  256|     72|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|     72|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     72|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 72, False: 0]
  ------------------
  288|       |        // the object is immortal
  289|     72|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     72|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     72|        return;
  291|     72|    }
  292|      0|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|      0|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      0|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|      0|#endif
  308|      0|}
symtable.c:Py_XDECREF:
  518|     66|{
  519|     66|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     66|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 50, False: 16]
  ------------------
  520|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|     50|    }
  522|     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:
  518|    175|{
  519|    175|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    175|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 87, False: 88]
  ------------------
  520|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|     87|    }
  522|    175|}
sysmodule.c:Py_DECREF:
  418|    287|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    287|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    287|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    287|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    287|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 100, False: 187]
  |  |  ------------------
  ------------------
  422|    100|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    100|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    100|        return;
  424|    100|    }
  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|    287|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    287|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    287|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    287|}
sysmodule.c:_Py_XNewRef:
  541|      2|{
  542|      2|    Py_XINCREF(obj);
  ------------------
  |  |  514|      2|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|      2|    return obj;
  544|      2|}
sysmodule.c:Py_XINCREF:
  508|      2|{
  509|      2|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      2|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 2, False: 0]
  ------------------
  510|      2|        Py_INCREF(op);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|      2|    }
  512|      2|}
sysmodule.c:Py_INCREF:
  256|    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:
  535|     96|{
  536|     96|    Py_INCREF(obj);
  ------------------
  |  |  310|     96|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     96|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     96|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|     96|    return obj;
  538|     96|}
traceback.c:Py_INCREF:
  256|    531|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|    531|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    531|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 531]
  ------------------
  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|    531|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|    531|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    531|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|    531|#endif
  308|    531|}
traceback.c:Py_XINCREF:
  508|    892|{
  509|    892|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    892|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 531, False: 361]
  ------------------
  510|    531|        Py_INCREF(op);
  ------------------
  |  |  310|    531|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    531|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    531|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|    531|    }
  512|    892|}
traceback.c:_Py_XNewRef:
  541|    892|{
  542|    892|    Py_XINCREF(obj);
  ------------------
  |  |  514|    892|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    892|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    892|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|    892|    return obj;
  544|    892|}
traceback.c:Py_XDECREF:
  518|  1.78k|{
  519|  1.78k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  1.78k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 1.06k, False: 722]
  ------------------
  520|  1.06k|        Py_DECREF(op);
  ------------------
  |  |  430|  1.06k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.06k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.06k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  1.06k|    }
  522|  1.78k|}
traceback.c:Py_DECREF:
  418|  1.06k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  1.06k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  1.06k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.06k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.06k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 1.06k]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|  1.06k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.06k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.06k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 225, False: 837]
  ------------------
  427|    225|        _Py_Dealloc(op);
  428|    225|    }
  429|  1.06k|}
traceback.c:_Py_IsImmortal:
  127|  1.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|  1.06k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  1.06k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  1.06k|}
typecache.c:Py_INCREF:
  256|  7.77k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  7.77k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  7.77k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 5.24k, False: 2.53k]
  ------------------
  288|       |        // the object is immortal
  289|  5.24k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  5.24k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  5.24k|        return;
  291|  5.24k|    }
  292|  2.53k|    op->ob_refcnt = cur_refcnt + 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.53k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  2.53k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  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.53k|#endif
  308|  2.53k|}
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.51k|{
  142|  9.51k|#if defined(Py_GIL_DISABLED) || SIZEOF_VOID_P > 4
  143|  9.51k|    return (op->ob_flags & _Py_STATICALLY_ALLOCATED_FLAG) != 0;
  ------------------
  |  |  583|  9.51k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  ------------------
  144|       |#else
  145|       |    return op->ob_refcnt >= _Py_STATIC_IMMORTAL_MINIMUM_REFCNT;
  146|       |#endif
  147|  9.51k|}
typecache.c:Py_DECREF:
  418|  4.33k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  4.33k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  4.33k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.33k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.33k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 2.59k, False: 1.74k]
  |  |  ------------------
  ------------------
  422|  2.59k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  2.59k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  2.59k|        return;
  424|  2.59k|    }
  425|  1.74k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.74k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.74k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 1.74k]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|  1.74k|}
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:
  535|    236|{
  536|    236|    Py_INCREF(obj);
  ------------------
  |  |  310|    236|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    236|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    236|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|    236|    return obj;
  538|    236|}
posixmodule.c:Py_INCREF:
  256|    409|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|    409|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    409|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 12, False: 397]
  ------------------
  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|    397|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|    397|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    397|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|    397|#endif
  308|    397|}
_datetimemodule.c:Py_INCREF:
  256|     12|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|     12|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     12|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 8, False: 4]
  ------------------
  288|       |        // the object is immortal
  289|      8|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      8|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|      8|        return;
  291|      8|    }
  292|      4|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|      4|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      4|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|      4|#endif
  308|      4|}
_datetimemodule.c:_Py_NewRef:
  535|      4|{
  536|      4|    Py_INCREF(obj);
  ------------------
  |  |  310|      4|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|      4|    return obj;
  538|      4|}
_datetimemodule.c:Py_DECREF:
  418|     32|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     32|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     32|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     32|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 32]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|     32|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     32|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     32|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 32]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|     32|}
_datetimemodule.c:_Py_IsImmortal:
  127|     40|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|     40|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     40|}
_datetimemodule.c:_Py_XNewRef:
  541|      4|{
  542|      4|    Py_XINCREF(obj);
  ------------------
  |  |  514|      4|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|      4|    return obj;
  544|      4|}
_datetimemodule.c:Py_XINCREF:
  508|      4|{
  509|      4|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      4|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 0, False: 4]
  ------------------
  510|      0|        Py_INCREF(op);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|      0|    }
  512|      4|}
_collectionsmodule.c:Py_INCREF:
  256|      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|}
_collectionsmodule.c:_Py_NewRef:
  535|      9|{
  536|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|      9|    return obj;
  538|      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:
  535|      6|{
  536|      6|    Py_INCREF(obj);
  ------------------
  |  |  310|      6|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|      6|    return obj;
  538|      6|}
_iomodule.c:Py_INCREF:
  256|      6|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|      6|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|      6|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 6, False: 0]
  ------------------
  288|       |        // the object is immortal
  289|      6|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      6|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|      6|        return;
  291|      6|    }
  292|      0|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|      0|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      0|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|      0|#endif
  308|      0|}
iobase.c:_Py_REFCNT:
  105|     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:
  535|     27|{
  536|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|     27|    return obj;
  538|     27|}
iobase.c:Py_XDECREF:
  518|     27|{
  519|     27|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     27|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 27, False: 0]
  ------------------
  520|     27|        Py_DECREF(op);
  ------------------
  |  |  430|     27|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|     27|    }
  522|     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|    244|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    244|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    244|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    244|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    244|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 77, False: 167]
  |  |  ------------------
  ------------------
  422|     77|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     77|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     77|        return;
  424|     77|    }
  425|    167|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    167|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    167|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 80, False: 87]
  ------------------
  427|     80|        _Py_Dealloc(op);
  428|     80|    }
  429|    167|}
bufferedio.c:_Py_IsImmortal:
  127|    244|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    244|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    244|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    244|}
bufferedio.c:_Py_REFCNT:
  105|     27|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|     27|    #if !defined(Py_GIL_DISABLED)
  107|     27|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|     27|    }
bufferedio.c:Py_XDECREF:
  518|    114|{
  519|    114|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    114|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 27, False: 87]
  ------------------
  520|     27|        Py_DECREF(op);
  ------------------
  |  |  430|     27|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|     27|    }
  522|    114|}
bufferedio.c:_Py_NewRef:
  535|     29|{
  536|     29|    Py_INCREF(obj);
  ------------------
  |  |  310|     29|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     29|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|     29|    return obj;
  538|     29|}
bufferedio.c:Py_INCREF:
  256|     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:
  508|     27|{
  509|     27|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     27|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 27, False: 0]
  ------------------
  510|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|     27|    }
  512|     27|}
textio.c:_Py_NewRef:
  535|     34|{
  536|     34|    Py_INCREF(obj);
  ------------------
  |  |  310|     34|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|     34|    return obj;
  538|     34|}
textio.c:Py_INCREF:
  256|     56|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|     56|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     56|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 56]
  ------------------
  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|     56|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|     56|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|     56|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|     56|#endif
  308|     56|}
textio.c:Py_DECREF:
  418|    122|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    122|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    122|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    122|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    122|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 44, False: 78]
  |  |  ------------------
  ------------------
  422|     44|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     44|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     44|        return;
  424|     44|    }
  425|     78|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     78|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     78|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 24, False: 54]
  ------------------
  427|     24|        _Py_Dealloc(op);
  428|     24|    }
  429|     78|}
textio.c:_Py_IsImmortal:
  127|    122|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    122|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    122|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    122|}
textio.c:Py_XDECREF:
  518|     10|{
  519|     10|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     10|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 4, False: 6]
  ------------------
  520|      4|        Py_DECREF(op);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|      4|    }
  522|     10|}
itertoolsmodule.c:Py_DECREF:
  418|    462|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    462|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    462|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    462|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    462|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 87, False: 375]
  |  |  ------------------
  ------------------
  422|     87|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     87|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     87|        return;
  424|     87|    }
  425|    375|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    375|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    375|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 114, False: 261]
  ------------------
  427|    114|        _Py_Dealloc(op);
  428|    114|    }
  429|    375|}
itertoolsmodule.c:_Py_IsImmortal:
  127|    462|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    462|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    462|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    462|}
itertoolsmodule.c:_Py_NewRef:
  535|    135|{
  536|    135|    Py_INCREF(obj);
  ------------------
  |  |  310|    135|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    135|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    135|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|    135|    return obj;
  538|    135|}
itertoolsmodule.c:Py_INCREF:
  256|    375|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|    375|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    375|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 171, False: 204]
  ------------------
  288|       |        // the object is immortal
  289|    171|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|    171|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|    171|        return;
  291|    171|    }
  292|    204|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|    204|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    204|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|    204|#endif
  308|    204|}
itertoolsmodule.c:Py_XDECREF:
  518|    114|{
  519|    114|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    114|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 114, False: 0]
  ------------------
  520|    114|        Py_DECREF(op);
  ------------------
  |  |  430|    114|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    114|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    114|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|    114|    }
  522|    114|}
itertoolsmodule.c:_Py_REFCNT:
  105|    270|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|    270|    #if !defined(Py_GIL_DISABLED)
  107|    270|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|    270|    }
sre.c:Py_DECREF:
  418|     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:
  535|      6|{
  536|      6|    Py_INCREF(obj);
  ------------------
  |  |  310|      6|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|      6|    return obj;
  538|      6|}
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:
  518|      1|{
  519|      1|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      1|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 1, False: 0]
  ------------------
  520|      1|        Py_DECREF(op);
  ------------------
  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|      1|    }
  522|      1|}
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|    930|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|    930|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    930|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 921, False: 9]
  ------------------
  288|       |        // the object is immortal
  289|    921|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|    921|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|    921|        return;
  291|    921|    }
  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: 996, False: 1.97k]
  |  |  ------------------
  ------------------
  422|    996|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    996|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    996|        return;
  424|    996|    }
  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:
  518|    357|{
  519|    357|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    357|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 258, False: 99]
  ------------------
  520|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|    258|    }
  522|    357|}
_abc.c:_Py_NewRef:
  535|     77|{
  536|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|     77|    return obj;
  538|     77|}
_abc.c:_Py_XNewRef:
  541|     77|{
  542|     77|    Py_XINCREF(obj);
  ------------------
  |  |  514|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|     77|    return obj;
  544|     77|}
_abc.c:Py_XINCREF:
  508|     77|{
  509|     77|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     77|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 77, False: 0]
  ------------------
  510|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|     77|    }
  512|     77|}
_functoolsmodule.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|}
_functoolsmodule.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|}
_functoolsmodule.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|}
_functoolsmodule.c:_Py_NewRef:
  535|      9|{
  536|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|      9|    return obj;
  538|      9|}
getpath.c:Py_DECREF:
  418|     64|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     64|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     64|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     64|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     64|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 24, False: 40]
  |  |  ------------------
  ------------------
  422|     24|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     24|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     24|        return;
  424|     24|    }
  425|     40|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     40|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     40|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 2, False: 38]
  ------------------
  427|      2|        _Py_Dealloc(op);
  428|      2|    }
  429|     40|}
getpath.c:_Py_IsImmortal:
  127|     64|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|     64|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     64|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     64|}
getpath.c:_Py_NewRef:
  535|     16|{
  536|     16|    Py_INCREF(obj);
  ------------------
  |  |  310|     16|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|     16|    return obj;
  538|     16|}
getpath.c:Py_INCREF:
  256|     24|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|     24|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     24|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 24, False: 0]
  ------------------
  288|       |        // the object is immortal
  289|     24|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     24|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     24|        return;
  291|     24|    }
  292|      0|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|      0|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      0|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|      0|#endif
  308|      0|}
getpath.c:_Py_XNewRef:
  541|      8|{
  542|      8|    Py_XINCREF(obj);
  ------------------
  |  |  514|      8|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|      8|    return obj;
  544|      8|}
getpath.c:Py_XINCREF:
  508|      8|{
  509|      8|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      8|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 8, False: 0]
  ------------------
  510|      8|        Py_INCREF(op);
  ------------------
  |  |  310|      8|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|      8|    }
  512|      8|}
reader.c:Py_XDECREF:
  518|     78|{
  519|     78|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     78|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 0, False: 78]
  ------------------
  520|      0|        Py_DECREF(op);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|      0|    }
  522|     78|}
helpers.c:Py_DECREF:
  418|     54|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     54|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     54|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     54|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     54|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 54]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  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: 18, False: 36]
  ------------------
  427|     18|        _Py_Dealloc(op);
  428|     18|    }
  429|     54|}
helpers.c:_Py_IsImmortal:
  127|     54|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|     54|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     54|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     54|}
helpers.c:Py_XDECREF:
  518|     18|{
  519|     18|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     18|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 18, False: 0]
  ------------------
  520|     18|        Py_DECREF(op);
  ------------------
  |  |  430|     18|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|     18|    }
  522|     18|}
abstract.c:_Py_NewRef:
  535|  3.43k|{
  536|  3.43k|    Py_INCREF(obj);
  ------------------
  |  |  310|  3.43k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  3.43k|    return obj;
  538|  3.43k|}
abstract.c:Py_INCREF:
  256|  3.49k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->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.49k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  3.49k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 766, False: 2.72k]
  ------------------
  288|       |        // the object is immortal
  289|    766|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|    766|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|    766|        return;
  291|    766|    }
  292|  2.72k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  2.72k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  2.72k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  2.72k|#endif
  308|  2.72k|}
abstract.c:Py_DECREF:
  418|  1.66k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  1.66k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  1.66k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.66k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.66k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 1.09k, False: 575]
  |  |  ------------------
  ------------------
  422|  1.09k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  1.09k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  1.09k|        return;
  424|  1.09k|    }
  425|    575|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    575|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    575|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 314, False: 261]
  ------------------
  427|    314|        _Py_Dealloc(op);
  428|    314|    }
  429|    575|}
abstract.c:_Py_IsImmortal:
  127|  1.66k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  1.66k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  1.66k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  1.66k|}
abstract.c:Py_XDECREF:
  518|     22|{
  519|     22|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     22|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 22, False: 0]
  ------------------
  520|     22|        Py_DECREF(op);
  ------------------
  |  |  430|     22|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|     22|    }
  522|     22|}
abstract.c:_Py_XNewRef:
  541|     78|{
  542|     78|    Py_XINCREF(obj);
  ------------------
  |  |  514|     78|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     78|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     78|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|     78|    return obj;
  544|     78|}
abstract.c:Py_XINCREF:
  508|     78|{
  509|     78|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     78|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 56, False: 22]
  ------------------
  510|     56|        Py_INCREF(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|     56|    }
  512|     78|}
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|    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: 2, False: 200]
  |  |  ------------------
  ------------------
  422|      2|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      2|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      2|        return;
  424|      2|    }
  425|    200|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    200|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    200|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 200, False: 0]
  ------------------
  427|    200|        _Py_Dealloc(op);
  428|    200|    }
  429|    200|}
bytearrayobject.c:_Py_IsImmortal:
  127|    408|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    408|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    408|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    408|}
bytearrayobject.c:Py_XDECREF:
  518|    202|{
  519|    202|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    202|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 202, False: 0]
  ------------------
  520|    202|        Py_DECREF(op);
  ------------------
  |  |  430|    202|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    202|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    202|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|    202|    }
  522|    202|}
bytearrayobject.c:_Py_NewRef:
  535|      2|{
  536|      2|    Py_INCREF(obj);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|      2|    return obj;
  538|      2|}
bytearrayobject.c:Py_INCREF:
  256|      2|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|      2|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|      2|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 2]
  ------------------
  288|       |        // the object is immortal
  289|      0|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      0|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|      0|        return;
  291|      0|    }
  292|      2|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|      2|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      2|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|      2|#endif
  308|      2|}
bytesobject.c:_Py_IsImmortal:
  127|  10.7k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  10.7k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  10.7k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  10.7k|}
bytesobject.c:Py_INCREF:
  256|  8.51k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->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.51k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  8.51k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 8.51k, False: 1]
  ------------------
  288|       |        // the object is immortal
  289|  8.51k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  8.51k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  8.51k|        return;
  291|  8.51k|    }
  292|      1|    op->ob_refcnt = cur_refcnt + 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|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      1|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  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|#endif
  308|      1|}
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:
  518|    107|{
  519|    107|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    107|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 49, False: 58]
  ------------------
  520|     49|        Py_DECREF(op);
  ------------------
  |  |  430|     49|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     49|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     49|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|     49|    }
  522|    107|}
bytesobject.c:_Py_NewRef:
  535|      3|{
  536|      3|    Py_INCREF(obj);
  ------------------
  |  |  310|      3|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|      3|    return obj;
  538|      3|}
bytesobject.c:_Py_REFCNT:
  105|    543|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|    543|    #if !defined(Py_GIL_DISABLED)
  107|    543|        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|    543|    }
capsule.c:Py_DECREF:
  418|      2|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|      2|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|      2|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|      2|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|      2|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|      2|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 2]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|      2|}
capsule.c:_Py_IsImmortal:
  127|      2|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|      2|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|      2|}
capsule.c:Py_XDECREF:
  518|      1|{
  519|      1|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      1|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 1, False: 0]
  ------------------
  520|      1|        Py_DECREF(op);
  ------------------
  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|      1|    }
  522|      1|}
cellobject.c:_Py_XNewRef:
  541|    587|{
  542|    587|    Py_XINCREF(obj);
  ------------------
  |  |  514|    587|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    587|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    587|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|    587|    return obj;
  544|    587|}
cellobject.c:Py_XINCREF:
  508|    587|{
  509|    587|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    587|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 305, False: 282]
  ------------------
  510|    305|        Py_INCREF(op);
  ------------------
  |  |  310|    305|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    305|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    305|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|    305|    }
  512|    587|}
cellobject.c:Py_INCREF:
  256|    305|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|    305|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    305|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 6, False: 299]
  ------------------
  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|    299|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|    299|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    299|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|    299|#endif
  308|    299|}
cellobject.c:Py_XDECREF:
  518|    509|{
  519|    509|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    509|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 481, False: 28]
  ------------------
  520|    481|        Py_DECREF(op);
  ------------------
  |  |  430|    481|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    481|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    481|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|    481|    }
  522|    509|}
cellobject.c:Py_DECREF:
  418|    487|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    487|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    487|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    487|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    487|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 5, False: 482]
  |  |  ------------------
  ------------------
  422|      5|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      5|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      5|        return;
  424|      5|    }
  425|    482|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    482|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    482|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 20, False: 462]
  ------------------
  427|     20|        _Py_Dealloc(op);
  428|     20|    }
  429|    482|}
cellobject.c:_Py_IsImmortal:
  127|    487|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    487|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    487|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    487|}
classobject.c:_Py_NewRef:
  535|  1.31k|{
  536|  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  1.31k|    return obj;
  538|  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:
  518|    653|{
  519|    653|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    653|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 653, False: 0]
  ------------------
  520|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|    653|    }
  522|    653|}
codeobject.c:_Py_NewRef:
  535|  21.6k|{
  536|  21.6k|    Py_INCREF(obj);
  ------------------
  |  |  310|  21.6k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  21.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  21.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  21.6k|    return obj;
  538|  21.6k|}
codeobject.c:Py_INCREF:
  256|  21.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|  21.6k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  21.6k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 10.3k, False: 11.3k]
  ------------------
  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.3k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  11.3k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  11.3k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  11.3k|#endif
  308|  11.3k|}
codeobject.c:Py_XDECREF:
  518|  6.50k|{
  519|  6.50k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  6.50k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 4.10k, False: 2.40k]
  ------------------
  520|  4.10k|        Py_DECREF(op);
  ------------------
  |  |  430|  4.10k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.10k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.10k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  4.10k|    }
  522|  6.50k|}
codeobject.c:_Py_REFCNT:
  105|  4.68k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  4.68k|    #if !defined(Py_GIL_DISABLED)
  107|  4.68k|        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.68k|    }
codeobject.c:Py_DECREF:
  418|  4.12k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  4.12k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  4.12k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.12k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.12k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 2.27k, False: 1.85k]
  |  |  ------------------
  ------------------
  422|  2.27k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  2.27k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  2.27k|        return;
  424|  2.27k|    }
  425|  1.85k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.85k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.85k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 1.44k, False: 406]
  ------------------
  427|  1.44k|        _Py_Dealloc(op);
  428|  1.44k|    }
  429|  1.85k|}
codeobject.c:_Py_IsImmortal:
  127|  5.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|  5.04k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  5.04k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  5.04k|}
codeobject.c:Py_SET_REFCNT:
  154|    912|static inline void Py_SET_REFCNT(PyObject *ob, Py_ssize_t refcnt) {
  155|    912|    assert(refcnt >= 0);
  ------------------
  |  Branch (155:5): [True: 912, 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|    912|    if (_Py_IsImmortal(ob)) {
  ------------------
  |  |  137|    912|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    912|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    912|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 912]
  |  |  ------------------
  ------------------
  167|      0|        return;
  168|      0|    }
  169|    912|#ifndef Py_GIL_DISABLED
  170|    912|#if SIZEOF_VOID_P > 4
  171|    912|    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|    912|#endif  // Py_LIMITED_API
  199|    912|}
complexobject.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|}
complexobject.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: 4, False: 0]
  ------------------
  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|      0|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|      0|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      0|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|      0|#endif
  308|      0|}
descrobject.c:Py_XDECREF:
  518|    697|{
  519|    697|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    697|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 375, False: 322]
  ------------------
  520|    375|        Py_DECREF(op);
  ------------------
  |  |  430|    375|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    375|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    375|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|    375|    }
  522|    697|}
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: 146, False: 891]
  |  |  ------------------
  ------------------
  422|    146|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    146|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    146|        return;
  424|    146|    }
  425|    891|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    891|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    891|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 237, False: 654]
  ------------------
  427|    237|        _Py_Dealloc(op);
  428|    237|    }
  429|    891|}
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:
  541|  5.19k|{
  542|  5.19k|    Py_XINCREF(obj);
  ------------------
  |  |  514|  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  5.19k|    return obj;
  544|  5.19k|}
descrobject.c:Py_XINCREF:
  508|  5.19k|{
  509|  5.19k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  5.19k|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 5.14k, False: 55]
  ------------------
  510|  5.14k|        Py_INCREF(op);
  ------------------
  |  |  310|  5.14k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.14k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.14k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  5.14k|    }
  512|  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.82k, False: 2.01k]
  ------------------
  288|       |        // the object is immortal
  289|  3.82k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  3.82k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  3.82k|        return;
  291|  3.82k|    }
  292|  2.01k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  2.01k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  2.01k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  2.01k|#endif
  308|  2.01k|}
descrobject.c:_Py_NewRef:
  535|    703|{
  536|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|    703|    return obj;
  538|    703|}
enumobject.c:Py_XDECREF:
  518|     69|{
  519|     69|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     69|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 46, False: 23]
  ------------------
  520|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|     46|    }
  522|     69|}
enumobject.c:Py_DECREF:
  418|    407|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    407|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    407|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    407|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    407|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 324, False: 83]
  |  |  ------------------
  ------------------
  422|    324|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    324|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    324|        return;
  424|    324|    }
  425|     83|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     83|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     83|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 59, False: 24]
  ------------------
  427|     59|        _Py_Dealloc(op);
  428|     59|    }
  429|     83|}
enumobject.c:_Py_IsImmortal:
  127|    407|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    407|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    407|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    407|}
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:
  535|    226|{
  536|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|    226|    return obj;
  538|    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|    103|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    103|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    103|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    103|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    103|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 76, False: 27]
  |  |  ------------------
  ------------------
  422|     76|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     76|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     76|        return;
  424|     76|    }
  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|    103|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    103|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    103|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    103|}
floatobject.c:_Py_IsImmortal:
  127|     24|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|     24|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     24|}
floatobject.c:Py_INCREF:
  256|     24|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|     24|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     24|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 24, False: 0]
  ------------------
  288|       |        // the object is immortal
  289|     24|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     24|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     24|        return;
  291|     24|    }
  292|      0|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|      0|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      0|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|      0|#endif
  308|      0|}
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|    107|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    107|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    107|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    107|}
frameobject.c:_Py_IsStaticImmortal:
  141|    501|{
  142|    501|#if defined(Py_GIL_DISABLED) || SIZEOF_VOID_P > 4
  143|    501|    return (op->ob_flags & _Py_STATICALLY_ALLOCATED_FLAG) != 0;
  ------------------
  |  |  583|    501|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  ------------------
  144|       |#else
  145|       |    return op->ob_refcnt >= _Py_STATIC_IMMORTAL_MINIMUM_REFCNT;
  146|       |#endif
  147|    501|}
frameobject.c:Py_DECREF:
  418|    107|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    107|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    107|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    107|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    107|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 107]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|    107|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    107|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    107|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 2, False: 105]
  ------------------
  427|      2|        _Py_Dealloc(op);
  428|      2|    }
  429|    107|}
frameobject.c:_Py_REFCNT:
  105|    435|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|    435|    #if !defined(Py_GIL_DISABLED)
  107|    435|        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|    435|    }
frameobject.c:_Py_NewRef:
  535|     25|{
  536|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|     25|    return obj;
  538|     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:
  535|      9|{
  536|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|      9|    return obj;
  538|      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:
  518|      9|{
  519|      9|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      9|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 0, False: 9]
  ------------------
  520|      0|        Py_DECREF(op);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|      0|    }
  522|      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:
  541|     28|{
  542|     28|    Py_XINCREF(obj);
  ------------------
  |  |  514|     28|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|     28|    return obj;
  544|     28|}
lazyimportobject.c:Py_XINCREF:
  508|     28|{
  509|     28|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     28|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 18, False: 10]
  ------------------
  510|     18|        Py_INCREF(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|     18|    }
  512|     28|}
lazyimportobject.c:Py_INCREF:
  256|     46|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|     46|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     46|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 14, False: 32]
  ------------------
  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|     32|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|     32|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|     32|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|     32|#endif
  308|     32|}
lazyimportobject.c:_Py_NewRef:
  535|     28|{
  536|     28|    Py_INCREF(obj);
  ------------------
  |  |  310|     28|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|     28|    return obj;
  538|     28|}
memoryobject.c:_Py_NewRef:
  535|    125|{
  536|    125|    Py_INCREF(obj);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|    125|    return obj;
  538|    125|}
memoryobject.c:Py_INCREF:
  256|    125|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|    125|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    125|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 125]
  ------------------
  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|    125|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|    125|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    125|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|    125|#endif
  308|    125|}
memoryobject.c:Py_DECREF:
  418|    125|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    125|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    125|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    125|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    125|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 125]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|    125|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    125|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    125|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 49, False: 76]
  ------------------
  427|     49|        _Py_Dealloc(op);
  428|     49|    }
  429|    125|}
memoryobject.c:_Py_IsImmortal:
  127|    125|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    125|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    125|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    125|}
methodobject.c:_Py_NewRef:
  535|     33|{
  536|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|     33|    return obj;
  538|     33|}
methodobject.c:Py_INCREF:
  256|  3.40k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->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.40k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  3.40k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 1.16k, False: 2.23k]
  ------------------
  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.23k|    op->ob_refcnt = cur_refcnt + 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.23k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  2.23k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  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.23k|#endif
  308|  2.23k|}
methodobject.c:_Py_XNewRef:
  541|  4.84k|{
  542|  4.84k|    Py_XINCREF(obj);
  ------------------
  |  |  514|  4.84k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.84k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.84k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  4.84k|    return obj;
  544|  4.84k|}
methodobject.c:Py_XINCREF:
  508|  4.84k|{
  509|  4.84k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  4.84k|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 3.36k, False: 1.48k]
  ------------------
  510|  3.36k|        Py_INCREF(op);
  ------------------
  |  |  310|  3.36k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.36k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.36k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  3.36k|    }
  512|  4.84k|}
methodobject.c:_Py_REFCNT:
  105|  1.03k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  1.03k|    #if !defined(Py_GIL_DISABLED)
  107|  1.03k|        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.03k|    }
methodobject.c:Py_XDECREF:
  518|  3.09k|{
  519|  3.09k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  3.09k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 1.03k, False: 2.05k]
  ------------------
  520|  1.03k|        Py_DECREF(op);
  ------------------
  |  |  430|  1.03k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.03k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.03k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  1.03k|    }
  522|  3.09k|}
methodobject.c:Py_DECREF:
  418|  1.04k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  1.04k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  1.04k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.04k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 255, False: 790]
  |  |  ------------------
  ------------------
  422|    255|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    255|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    255|        return;
  424|    255|    }
  425|    790|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    790|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    790|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 29, False: 761]
  ------------------
  427|     29|        _Py_Dealloc(op);
  428|     29|    }
  429|    790|}
methodobject.c:_Py_IsImmortal:
  127|  1.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|  1.04k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  1.04k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  1.04k|}
namespaceobject.c:Py_DECREF:
  418|      2|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|      2|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|      2|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|      2|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|      2|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|      2|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 2, False: 0]
  ------------------
  427|      2|        _Py_Dealloc(op);
  428|      2|    }
  429|      2|}
namespaceobject.c:_Py_IsImmortal:
  127|      2|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|      2|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|      2|}
unicode_format.c:Py_DECREF:
  418|     21|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     21|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     21|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     21|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 21, False: 0]
  |  |  ------------------
  ------------------
  422|     21|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     21|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     21|        return;
  424|     21|    }
  425|      0|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|      0|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 0]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|      0|}
unicode_format.c:_Py_IsImmortal:
  127|     21|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|     21|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     21|}
unicode_format.c:_Py_NewRef:
  535|     21|{
  536|     21|    Py_INCREF(obj);
  ------------------
  |  |  310|     21|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     21|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|     21|    return obj;
  538|     21|}
unicode_format.c:Py_INCREF:
  256|     21|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|     21|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     21|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 21, False: 0]
  ------------------
  288|       |        // the object is immortal
  289|     21|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     21|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     21|        return;
  291|     21|    }
  292|      0|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|      0|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      0|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|      0|#endif
  308|      0|}
unicode_format.c:Py_XDECREF:
  518|     21|{
  519|     21|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     21|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 0, False: 21]
  ------------------
  520|      0|        Py_DECREF(op);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|      0|    }
  522|     21|}
Python-ast.c:Py_DECREF:
  418|    918|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    918|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    918|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    918|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    918|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 266, False: 652]
  |  |  ------------------
  ------------------
  422|    266|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    266|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    266|        return;
  424|    266|    }
  425|    652|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    652|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    652|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 94, False: 558]
  ------------------
  427|     94|        _Py_Dealloc(op);
  428|     94|    }
  429|    652|}
Python-ast.c:_Py_IsImmortal:
  127|    918|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    918|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    918|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    918|}
Python-ast.c:Py_INCREF:
  256|    127|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|    127|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    127|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 40, False: 87]
  ------------------
  288|       |        // the object is immortal
  289|     40|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     40|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     40|        return;
  291|     40|    }
  292|     87|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|     87|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|     87|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|     87|#endif
  308|     87|}
Python-ast.c:_Py_NewRef:
  535|     47|{
  536|     47|    Py_INCREF(obj);
  ------------------
  |  |  310|     47|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     47|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     47|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|     47|    return obj;
  538|     47|}
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:
  535|      2|{
  536|      2|    Py_INCREF(obj);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|      2|    return obj;
  538|      2|}
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:
  518|     28|{
  519|     28|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     28|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 28, False: 0]
  ------------------
  520|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|     28|    }
  522|     28|}
pegen.c:Py_DECREF:
  418|     76|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     76|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     76|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     76|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     76|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 5, False: 71]
  |  |  ------------------
  ------------------
  422|      5|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      5|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      5|        return;
  424|      5|    }
  425|     71|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     71|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     71|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 56, False: 15]
  ------------------
  427|     56|        _Py_Dealloc(op);
  428|     56|    }
  429|     71|}
pegen.c:_Py_IsImmortal:
  127|     76|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|     76|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     76|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     76|}
pegen.c:Py_XDECREF:
  518|     60|{
  519|     60|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     60|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 15, False: 45]
  ------------------
  520|     15|        Py_DECREF(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|     15|    }
  522|     60|}
pegen_errors.c:Py_DECREF:
  418|     84|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     84|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     84|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     84|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     84|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 17, False: 67]
  |  |  ------------------
  ------------------
  422|     17|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     17|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     17|        return;
  424|     17|    }
  425|     67|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     67|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     67|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 22, False: 45]
  ------------------
  427|     22|        _Py_Dealloc(op);
  428|     22|    }
  429|     67|}
pegen_errors.c:_Py_IsImmortal:
  127|     84|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|     84|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     84|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     84|}
pegen_errors.c:Py_XDECREF:
  518|     51|{
  519|     51|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     51|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 34, False: 17]
  ------------------
  520|     34|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|     34|    }
  522|     51|}
lexer.c:Py_DECREF:
  418|     23|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     23|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     23|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     23|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     23|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 23]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|     23|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     23|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     23|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 23, False: 0]
  ------------------
  427|     23|        _Py_Dealloc(op);
  428|     23|    }
  429|     23|}
lexer.c:_Py_IsImmortal:
  127|     23|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|     23|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     23|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     23|}
state.c:Py_XDECREF:
  518|     78|{
  519|     78|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     78|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 41, False: 37]
  ------------------
  520|     41|        Py_DECREF(op);
  ------------------
  |  |  430|     41|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     41|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     41|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|     41|    }
  522|     78|}
state.c:Py_DECREF:
  418|     41|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     41|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     41|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     41|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     41|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 2, False: 39]
  |  |  ------------------
  ------------------
  422|      2|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      2|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      2|        return;
  424|      2|    }
  425|     39|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     39|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     39|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 39]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|     39|}
state.c:_Py_IsImmortal:
  127|     41|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|     41|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     41|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     41|}
api.c:Py_XINCREF:
  508|     78|{
  509|     78|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     78|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 41, False: 37]
  ------------------
  510|     41|        Py_INCREF(op);
  ------------------
  |  |  310|     41|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     41|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     41|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|     41|    }
  512|     78|}
api.c:Py_INCREF:
  256|     41|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|     41|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     41|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 2, False: 39]
  ------------------
  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|     39|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|     39|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|     39|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|     39|#endif
  308|     39|}
api.c:Py_XDECREF:
  518|     78|{
  519|     78|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     78|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 0, False: 78]
  ------------------
  520|      0|        Py_DECREF(op);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|      0|    }
  522|     78|}
string_parser.c:Py_DECREF:
  418|   277k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   277k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   277k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   277k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   277k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 219k, False: 58.2k]
  |  |  ------------------
  ------------------
  422|   219k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|   219k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|   219k|        return;
  424|   219k|    }
  425|  58.2k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  58.2k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  58.2k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 58.2k, False: 0]
  ------------------
  427|  58.2k|        _Py_Dealloc(op);
  428|  58.2k|    }
  429|  58.2k|}
string_parser.c:_Py_IsImmortal:
  127|   277k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|   277k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   277k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   277k|}

PyInit__abc:
 1004|      2|{
 1005|      2|    return PyModuleDef_Init(&_abcmodule);
 1006|      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) {
  ------------------
  |  |  936|     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) {
  ------------------
  |  |  936|     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);
  ------------------
  |  |  524|     67|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     67|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     67|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  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__));
  ------------------
  |  |  936|     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|    847|    for (Py_ssize_t pos = 0; pos < PyList_GET_SIZE(items); pos++) {
  ------------------
  |  |   38|    847|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    847|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    847|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (385:30): [True: 776, False: 71]
  ------------------
  386|    776|        PyObject *it = PySequence_Fast(
  387|    776|                PyList_GET_ITEM(items, pos),
  ------------------
  |  |   40|    776|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|    776|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    776|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (387:17): [True: 776, False: 0]
  ------------------
  388|      0|                "items() returned non-iterable");
  389|    776|        if (!it) {
  ------------------
  |  Branch (389:13): [True: 0, False: 776]
  ------------------
  390|      0|            goto error;
  391|      0|        }
  392|    776|        if (PySequence_Fast_GET_SIZE(it) != 2) {
  ------------------
  |  |   92|    776|    (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   25|    776|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    776|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 0, False: 776]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (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|    776|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    776|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    776|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (392:13): [True: 0, False: 776]
  ------------------
  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|    776|        PyObject *key = PySequence_Fast_GET_ITEM(it, 0);
  ------------------
  |  |   97|    776|     (PyList_Check(o) ? PyList_GET_ITEM((o), (i)) : PyTuple_GET_ITEM((o), (i)))
  |  |  ------------------
  |  |  |  |   25|    776|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    776|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 0, False: 776]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                    (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|    776|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   19|    776|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    776|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (400:25): [True: 0, False: 0]
  |  Branch (400:25): [True: 776, False: 0]
  ------------------
  401|    776|        PyObject *value = PySequence_Fast_GET_ITEM(it, 1);
  ------------------
  |  |   97|    776|     (PyList_Check(o) ? PyList_GET_ITEM((o), (i)) : PyTuple_GET_ITEM((o), (i)))
  |  |  ------------------
  |  |  |  |   25|    776|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    776|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 0, False: 776]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                    (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|    776|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   19|    776|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    776|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (401:27): [True: 0, False: 0]
  |  Branch (401:27): [True: 776, False: 0]
  ------------------
  402|       |        // items or it may be cleared while accessing __abstractmethod__
  403|       |        // So we need to keep strong reference for key
  404|    776|        Py_INCREF(key);
  ------------------
  |  |  310|    776|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    776|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    776|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  405|    776|        int is_abstract = _PyObject_IsAbstract(value);
  406|    776|        if (is_abstract < 0 ||
  ------------------
  |  Branch (406:13): [True: 0, False: 776]
  ------------------
  407|    776|                (is_abstract && PySet_Add(abstracts, key) < 0)) {
  ------------------
  |  Branch (407:18): [True: 56, False: 720]
  |  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|    776|        Py_DECREF(key);
  ------------------
  |  |  430|    776|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    776|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    776|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  413|    776|        Py_DECREF(it);
  ------------------
  |  |  430|    776|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    776|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    776|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  414|    776|    }
  415|       |
  416|       |    /* Stage 2: inherited abstract methods. */
  417|     71|    bases = PyObject_GetAttr(self, &_Py_ID(__bases__));
  ------------------
  |  |  936|     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__),
  ------------------
  |  |  936|     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) {
  ------------------
  |  |  936|     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);
  ------------------
  |  |  524|     71|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     71|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     71|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  479|     71|    Py_XDECREF(items);
  ------------------
  |  |  524|     71|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     71|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     71|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  480|     71|    Py_XDECREF(bases);
  ------------------
  |  |  524|     71|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     71|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     71|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  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));
  ------------------
  |  |  936|    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. */
  ------------------
  |  |  550|     32|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     32|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  568|     32|    }
  569|     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);
  ------------------
  |  |  550|     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:
  716|     77|{
  717|     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 (717:9): [True: 0, False: 77]
  ------------------
  718|      0|        PyErr_SetString(PyExc_TypeError, "issubclass() arg 1 must be a class");
  719|      0|        return NULL;
  720|      0|    }
  721|       |
  722|     77|    PyObject *ok, *subclasses = NULL, *result = NULL;
  723|     77|    _abcmodule_state *state = NULL;
  724|     77|    Py_ssize_t pos;
  725|     77|    int incache;
  726|     77|    _abc_data *impl = _get_impl(module, self);
  727|     77|    if (impl == NULL) {
  ------------------
  |  Branch (727:9): [True: 0, False: 77]
  ------------------
  728|      0|        return NULL;
  729|      0|    }
  730|       |
  731|       |    /* 1. Check cache. */
  732|     77|    incache = _in_weak_set(impl, &impl->_abc_cache, subclass);
  733|     77|    if (incache < 0) {
  ------------------
  |  Branch (733:9): [True: 0, False: 77]
  ------------------
  734|      0|        goto end;
  735|      0|    }
  736|     77|    if (incache > 0) {
  ------------------
  |  Branch (736:9): [True: 0, False: 77]
  ------------------
  737|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  738|      0|        goto end;
  739|      0|    }
  740|       |
  741|     77|    state = get_abc_state(module);
  742|       |    /* 2. Check negative cache; may have to invalidate. */
  743|     77|    uint64_t invalidation_counter = get_invalidation_counter(state);
  744|     77|    if (get_cache_version(impl) < invalidation_counter) {
  ------------------
  |  Branch (744:9): [True: 24, False: 53]
  ------------------
  745|       |        /* Invalidate the negative cache. */
  746|     24|        PyObject *negative_cache;
  747|     24|        Py_BEGIN_CRITICAL_SECTION(impl);
  ------------------
  |  |   51|     24|    {
  ------------------
  748|     24|        negative_cache = impl->_abc_negative_cache;
  749|     24|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     24|    }
  ------------------
  750|     24|        if (negative_cache != NULL && PySet_Clear(negative_cache) < 0) {
  ------------------
  |  Branch (750:13): [True: 22, False: 2]
  |  Branch (750:39): [True: 0, False: 22]
  ------------------
  751|      0|            goto end;
  752|      0|        }
  753|     24|        set_cache_version(impl, invalidation_counter);
  754|     24|    }
  755|     53|    else {
  756|     53|        incache = _in_weak_set(impl, &impl->_abc_negative_cache, subclass);
  757|     53|        if (incache < 0) {
  ------------------
  |  Branch (757:13): [True: 0, False: 53]
  ------------------
  758|      0|            goto end;
  759|      0|        }
  760|     53|        if (incache > 0) {
  ------------------
  |  Branch (760:13): [True: 0, False: 53]
  ------------------
  761|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  762|      0|            goto end;
  763|      0|        }
  764|     53|    }
  765|       |
  766|       |    /* 3. Check the subclass hook. */
  767|     77|    ok = PyObject_CallMethodOneArg(
  768|     77|            (PyObject *)self, &_Py_ID(__subclasshook__), subclass);
  ------------------
  |  |  936|     77|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     77|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     77|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  769|     77|    if (ok == NULL) {
  ------------------
  |  Branch (769:9): [True: 0, False: 77]
  ------------------
  770|      0|        goto end;
  771|      0|    }
  772|     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 (772:9): [True: 32, False: 45]
  ------------------
  773|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  774|     32|        if (_add_to_weak_set(impl, &impl->_abc_cache, subclass) < 0) {
  ------------------
  |  Branch (774:13): [True: 0, False: 32]
  ------------------
  775|      0|            goto end;
  776|      0|        }
  777|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  778|     32|        goto end;
  779|     32|    }
  780|     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 (780:9): [True: 0, False: 45]
  ------------------
  781|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  782|      0|        if (_add_to_weak_set(impl, &impl->_abc_negative_cache, subclass) < 0) {
  ------------------
  |  Branch (782:13): [True: 0, False: 0]
  ------------------
  783|      0|            goto end;
  784|      0|        }
  785|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  786|      0|        goto end;
  787|      0|    }
  788|     45|    if (ok != Py_NotImplemented) {
  ------------------
  |  |  640|     45|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (788:9): [True: 0, False: 45]
  ------------------
  789|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  790|      0|        PyErr_SetString(PyExc_AssertionError, "__subclasshook__ must return either"
  791|      0|                                              " False, True, or NotImplemented");
  792|      0|        goto end;
  793|      0|    }
  794|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  795|       |
  796|       |    /* 4. Check if it's a direct subclass. */
  797|     45|    if (PyType_IsSubtype((PyTypeObject *)subclass, (PyTypeObject *)self)) {
  ------------------
  |  Branch (797:9): [True: 0, False: 45]
  ------------------
  798|      0|        if (_add_to_weak_set(impl, &impl->_abc_cache, subclass) < 0) {
  ------------------
  |  Branch (798:13): [True: 0, False: 0]
  ------------------
  799|      0|            goto end;
  800|      0|        }
  801|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  802|      0|        goto end;
  803|      0|    }
  804|       |
  805|       |    /* 5. Check if it's a subclass of a registered class (recursive). */
  806|     45|    if (subclasscheck_check_registry(impl, subclass, &result)) {
  ------------------
  |  Branch (806:9): [True: 0, False: 45]
  ------------------
  807|       |        // Exception occurred or result is set.
  808|      0|        goto end;
  809|      0|    }
  810|       |
  811|       |    /* 6. Check if it's a subclass of a subclass (recursive). */
  812|     45|    subclasses = PyObject_CallMethod(self, "__subclasses__", NULL);
  813|     45|    if (subclasses == NULL) {
  ------------------
  |  Branch (813:9): [True: 0, False: 45]
  ------------------
  814|      0|        goto end;
  815|      0|    }
  816|     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 (816:9): [True: 0, False: 45]
  ------------------
  817|      0|        PyErr_SetString(PyExc_TypeError, "__subclasses__() must return a list");
  818|      0|        goto end;
  819|      0|    }
  820|     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 (820:19): [True: 0, False: 45]
  ------------------
  821|      0|        PyObject *scls = PyList_GetItemRef(subclasses, pos);
  822|      0|        if (scls == NULL) {
  ------------------
  |  Branch (822:13): [True: 0, False: 0]
  ------------------
  823|      0|            goto end;
  824|      0|        }
  825|      0|        int r = PyObject_IsSubclass(subclass, scls);
  826|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  827|      0|        if (r > 0) {
  ------------------
  |  Branch (827:13): [True: 0, False: 0]
  ------------------
  828|      0|            if (_add_to_weak_set(impl, &impl->_abc_cache, subclass) < 0) {
  ------------------
  |  Branch (828:17): [True: 0, False: 0]
  ------------------
  829|      0|                goto end;
  830|      0|            }
  831|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  832|      0|            goto end;
  833|      0|        }
  834|      0|        if (r < 0) {
  ------------------
  |  Branch (834:13): [True: 0, False: 0]
  ------------------
  835|      0|            goto end;
  836|      0|        }
  837|      0|    }
  838|       |
  839|       |    /* No dice; update negative cache. */
  840|     45|    if (_add_to_weak_set(impl, &impl->_abc_negative_cache, subclass) < 0) {
  ------------------
  |  Branch (840:9): [True: 0, False: 45]
  ------------------
  841|      0|        goto end;
  842|      0|    }
  843|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  844|       |
  845|     77|end:
  846|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  847|     77|    Py_XDECREF(subclasses);
  ------------------
  |  |  524|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  848|     77|    return Py_XNewRef(result);
  ------------------
  |  |  551|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  849|     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:
  855|     45|{
  856|       |    // Fast path: check subclass is in weakref directly.
  857|     45|    int ret = _in_weak_set(impl, &impl->_abc_registry, subclass);
  858|     45|    if (ret < 0) {
  ------------------
  |  Branch (858:9): [True: 0, False: 45]
  ------------------
  859|      0|        *result = NULL;
  860|      0|        return -1;
  861|      0|    }
  862|     45|    if (ret > 0) {
  ------------------
  |  Branch (862:9): [True: 0, False: 45]
  ------------------
  863|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  864|      0|        return 1;
  865|      0|    }
  866|       |
  867|     45|    PyObject *registry_shared;
  868|     45|    Py_BEGIN_CRITICAL_SECTION(impl);
  ------------------
  |  |   51|     45|    {
  ------------------
  869|     45|    registry_shared = impl->_abc_registry;
  870|     45|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     45|    }
  ------------------
  871|     45|    if (registry_shared == NULL) {
  ------------------
  |  Branch (871:9): [True: 23, False: 22]
  ------------------
  872|     23|        return 0;
  873|     23|    }
  874|       |
  875|       |    // Make a local copy of the registry to protect against concurrent
  876|       |    // modifications of _abc_registry.
  877|     22|    PyObject *registry = PyFrozenSet_New(registry_shared);
  878|     22|    if (registry == NULL) {
  ------------------
  |  Branch (878:9): [True: 0, False: 22]
  ------------------
  879|      0|        return -1;
  880|      0|    }
  881|     22|    PyObject *key;
  882|     22|    Py_ssize_t pos = 0;
  883|     22|    Py_hash_t hash;
  884|       |
  885|     65|    while (_PySet_NextEntry(registry, &pos, &key, &hash)) {
  ------------------
  |  Branch (885:12): [True: 43, False: 22]
  ------------------
  886|     43|        PyObject *rkey;
  887|     43|        if (PyWeakref_GetRef(key, &rkey) < 0) {
  ------------------
  |  Branch (887:13): [True: 0, False: 43]
  ------------------
  888|       |            // Someone inject non-weakref type in the registry.
  889|      0|            ret = -1;
  890|      0|            break;
  891|      0|        }
  892|       |
  893|     43|        if (rkey == NULL) {
  ------------------
  |  Branch (893:13): [True: 0, False: 43]
  ------------------
  894|      0|            continue;
  895|      0|        }
  896|     43|        int r = PyObject_IsSubclass(subclass, rkey);
  897|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  898|     43|        if (r < 0) {
  ------------------
  |  Branch (898:13): [True: 0, False: 43]
  ------------------
  899|      0|            ret = -1;
  900|      0|            break;
  901|      0|        }
  902|     43|        if (r > 0) {
  ------------------
  |  Branch (902:13): [True: 0, False: 43]
  ------------------
  903|      0|            if (_add_to_weak_set(impl, &impl->_abc_cache, subclass) < 0) {
  ------------------
  |  Branch (903:17): [True: 0, False: 0]
  ------------------
  904|      0|                ret = -1;
  905|      0|                break;
  906|      0|            }
  907|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  908|      0|            ret = 1;
  909|      0|            break;
  910|      0|        }
  911|     43|    }
  912|       |
  913|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  914|     22|    return ret;
  915|     22|}
_abc.c:_abcmodule_exec:
  949|      2|{
  950|      2|    _abcmodule_state *state = get_abc_state(module);
  951|      2|    state->abc_invalidation_counter = 0;
  952|      2|    state->_abc_data_type = (PyTypeObject *)PyType_FromModuleAndSpec(module, &_abc_data_type_spec, NULL);
  953|      2|    if (state->_abc_data_type == NULL) {
  ------------------
  |  Branch (953:9): [True: 0, False: 2]
  ------------------
  954|      0|        return -1;
  955|      0|    }
  956|       |
  957|      2|    return 0;
  958|      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:
  962|      4|{
  963|      4|    _abcmodule_state *state = get_abc_state(module);
  964|      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]
  |  |  ------------------
  ------------------
  965|      4|    return 0;
  966|      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:
 2904|      1|{
 2905|      1|    return PyModuleDef_Init(&_collectionsmodule);
 2906|      1|}
_collectionsmodule.c:collections_exec:
 2865|      1|collections_exec(PyObject *module) {
 2866|      1|    collections_state *state = get_module_state(module);
 2867|      1|    ADD_TYPE(module, &deque_spec, state->deque_type, NULL);
  ------------------
  |  | 2853|      1|#define ADD_TYPE(MOD, SPEC, TYPE, BASE) do {                        \
  |  | 2854|      1|    TYPE = (PyTypeObject *)PyType_FromMetaclass(NULL, MOD, SPEC,    \
  |  | 2855|      1|                                                (PyObject *)BASE);  \
  |  | 2856|      1|    if (TYPE == NULL) {                                             \
  |  |  ------------------
  |  |  |  Branch (2856:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 2857|      0|        return -1;                                                  \
  |  | 2858|      0|    }                                                               \
  |  | 2859|      1|    if (PyModule_AddType(MOD, TYPE) < 0) {                          \
  |  |  ------------------
  |  |  |  Branch (2859:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 2860|      0|        return -1;                                                  \
  |  | 2861|      0|    }                                                               \
  |  | 2862|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (2862:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 2868|      1|    ADD_TYPE(module, &defdict_spec, state->defdict_type, &PyDict_Type);
  ------------------
  |  | 2853|      1|#define ADD_TYPE(MOD, SPEC, TYPE, BASE) do {                        \
  |  | 2854|      1|    TYPE = (PyTypeObject *)PyType_FromMetaclass(NULL, MOD, SPEC,    \
  |  | 2855|      1|                                                (PyObject *)BASE);  \
  |  | 2856|      1|    if (TYPE == NULL) {                                             \
  |  |  ------------------
  |  |  |  Branch (2856:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 2857|      0|        return -1;                                                  \
  |  | 2858|      0|    }                                                               \
  |  | 2859|      1|    if (PyModule_AddType(MOD, TYPE) < 0) {                          \
  |  |  ------------------
  |  |  |  Branch (2859:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 2860|      0|        return -1;                                                  \
  |  | 2861|      0|    }                                                               \
  |  | 2862|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (2862:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 2869|      1|    ADD_TYPE(module, &dequeiter_spec, state->dequeiter_type, NULL);
  ------------------
  |  | 2853|      1|#define ADD_TYPE(MOD, SPEC, TYPE, BASE) do {                        \
  |  | 2854|      1|    TYPE = (PyTypeObject *)PyType_FromMetaclass(NULL, MOD, SPEC,    \
  |  | 2855|      1|                                                (PyObject *)BASE);  \
  |  | 2856|      1|    if (TYPE == NULL) {                                             \
  |  |  ------------------
  |  |  |  Branch (2856:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 2857|      0|        return -1;                                                  \
  |  | 2858|      0|    }                                                               \
  |  | 2859|      1|    if (PyModule_AddType(MOD, TYPE) < 0) {                          \
  |  |  ------------------
  |  |  |  Branch (2859:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 2860|      0|        return -1;                                                  \
  |  | 2861|      0|    }                                                               \
  |  | 2862|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (2862:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 2870|      1|    ADD_TYPE(module, &dequereviter_spec, state->dequereviter_type, NULL);
  ------------------
  |  | 2853|      1|#define ADD_TYPE(MOD, SPEC, TYPE, BASE) do {                        \
  |  | 2854|      1|    TYPE = (PyTypeObject *)PyType_FromMetaclass(NULL, MOD, SPEC,    \
  |  | 2855|      1|                                                (PyObject *)BASE);  \
  |  | 2856|      1|    if (TYPE == NULL) {                                             \
  |  |  ------------------
  |  |  |  Branch (2856:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 2857|      0|        return -1;                                                  \
  |  | 2858|      0|    }                                                               \
  |  | 2859|      1|    if (PyModule_AddType(MOD, TYPE) < 0) {                          \
  |  |  ------------------
  |  |  |  Branch (2859:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 2860|      0|        return -1;                                                  \
  |  | 2861|      0|    }                                                               \
  |  | 2862|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (2862:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 2871|      1|    ADD_TYPE(module, &tuplegetter_spec, state->tuplegetter_type, NULL);
  ------------------
  |  | 2853|      1|#define ADD_TYPE(MOD, SPEC, TYPE, BASE) do {                        \
  |  | 2854|      1|    TYPE = (PyTypeObject *)PyType_FromMetaclass(NULL, MOD, SPEC,    \
  |  | 2855|      1|                                                (PyObject *)BASE);  \
  |  | 2856|      1|    if (TYPE == NULL) {                                             \
  |  |  ------------------
  |  |  |  Branch (2856:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 2857|      0|        return -1;                                                  \
  |  | 2858|      0|    }                                                               \
  |  | 2859|      1|    if (PyModule_AddType(MOD, TYPE) < 0) {                          \
  |  |  ------------------
  |  |  |  Branch (2859:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 2860|      0|        return -1;                                                  \
  |  | 2861|      0|    }                                                               \
  |  | 2862|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (2862:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 2872|       |
 2873|      1|    if (PyModule_AddType(module, &PyODict_Type) < 0) {
  ------------------
  |  Branch (2873:9): [True: 0, False: 1]
  ------------------
 2874|      0|        return -1;
 2875|      0|    }
 2876|       |
 2877|      1|    return 0;
 2878|      1|}
_collectionsmodule.c:get_module_state:
   22|      3|{
   23|      3|    void *state = _PyModule_GetState(mod);
   24|      3|    assert(state != NULL);
  ------------------
  |  Branch (24:5): [True: 3, False: 0]
  ------------------
   25|      3|    return (collections_state *)state;
   26|      3|}
_collectionsmodule.c:get_module_state_by_cls:
   30|      9|{
   31|      9|    void *state = _PyType_GetModuleState(cls);
   32|      9|    assert(state != NULL);
  ------------------
  |  Branch (32:5): [True: 9, False: 0]
  ------------------
   33|      9|    return (collections_state *)state;
   34|      9|}
_collectionsmodule.c:tuplegetter_traverse:
 2735|      8|{
 2736|      8|    _tuplegetterobject *tuplegetter = tuplegetterobject_CAST(self);
  ------------------
  |  | 2667|      8|#define tuplegetterobject_CAST(op)  ((_tuplegetterobject *)(op))
  ------------------
 2737|      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]
  |  |  ------------------
  ------------------
 2738|      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]
  |  |  ------------------
  ------------------
 2739|      8|    return 0;
 2740|      8|}
_collectionsmodule.c:tuplegetter_new_impl:
 2681|      9|{
 2682|      9|    _tuplegetterobject* self;
 2683|      9|    self = (_tuplegetterobject *)type->tp_alloc(type, 0);
 2684|      9|    if (self == NULL) {
  ------------------
  |  Branch (2684:9): [True: 0, False: 9]
  ------------------
 2685|      0|        return NULL;
 2686|      0|    }
 2687|      9|    self->index = index;
 2688|      9|    self->doc = Py_NewRef(doc);
  ------------------
  |  |  550|      9|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      9|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2689|      9|    return (PyObject *)self;
 2690|      9|}
_collectionsmodule.c:collections_traverse:
 2814|      2|{
 2815|      2|    collections_state *state = get_module_state(mod);
 2816|      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]
  |  |  ------------------
  ------------------
 2817|      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]
  |  |  ------------------
  ------------------
 2818|      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]
  |  |  ------------------
  ------------------
 2819|      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]
  |  |  ------------------
  ------------------
 2820|      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]
  |  |  ------------------
  ------------------
 2821|      2|    return 0;
 2822|      2|}

_PyDateTime_InitTypes:
 7552|      2|{
 7553|       |    /* Bases classes must be initialized before subclasses,
 7554|       |     * so capi_types must have the types in the appropriate order. */
 7555|     14|    for (size_t i = 0; i < Py_ARRAY_LENGTH(capi_types); i++) {
  ------------------
  |  |  221|     14|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (7555:24): [True: 12, False: 2]
  ------------------
 7556|     12|        PyTypeObject *type = capi_types[i];
 7557|     12|        if (_PyStaticType_InitForExtension(interp, type) < 0) {
  ------------------
  |  Branch (7557:13): [True: 0, False: 12]
  ------------------
 7558|      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)}
  ------------------
 7559|      0|        }
 7560|     12|    }
 7561|       |
 7562|      2|#define DATETIME_ADD_MACRO(dict, c, value_expr)         \
 7563|      2|    do {                                                \
 7564|      2|        assert(!PyErr_Occurred());                      \
 7565|      2|        PyObject *value = (value_expr);                 \
 7566|      2|        if (value == NULL) {                            \
 7567|      2|            goto error;                                 \
 7568|      2|        }                                               \
 7569|      2|        if (PyDict_SetItemString(dict, c, value) < 0) { \
 7570|      2|            Py_DECREF(value);                           \
 7571|      2|            goto error;                                 \
 7572|      2|        }                                               \
 7573|      2|        Py_DECREF(value);                               \
 7574|      2|    } while(0)
 7575|       |
 7576|       |    /* timedelta values */
 7577|      2|    PyObject *d = _PyType_GetDict(&PyDateTime_DeltaType);
 7578|      2|    DATETIME_ADD_MACRO(d, "resolution", new_delta(0, 0, 1, 0));
  ------------------
  |  | 7563|      2|    do {                                                \
  |  | 7564|      2|        assert(!PyErr_Occurred());                      \
  |  | 7565|      2|        PyObject *value = (value_expr);                 \
  |  | 7566|      2|        if (value == NULL) {                            \
  |  |  ------------------
  |  |  |  Branch (7566:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7567|      0|            goto error;                                 \
  |  | 7568|      0|        }                                               \
  |  | 7569|      2|        if (PyDict_SetItemString(dict, c, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (7569:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7570|      0|            Py_DECREF(value);                           \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7571|      0|            goto error;                                 \
  |  | 7572|      0|        }                                               \
  |  | 7573|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7574|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (7574:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (7578:5): [True: 2, False: 0]
  ------------------
 7579|      2|    DATETIME_ADD_MACRO(d, "min", new_delta(-MAX_DELTA_DAYS, 0, 0, 0));
  ------------------
  |  | 7563|      2|    do {                                                \
  |  | 7564|      2|        assert(!PyErr_Occurred());                      \
  |  | 7565|      2|        PyObject *value = (value_expr);                 \
  |  | 7566|      2|        if (value == NULL) {                            \
  |  |  ------------------
  |  |  |  Branch (7566:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7567|      0|            goto error;                                 \
  |  | 7568|      0|        }                                               \
  |  | 7569|      2|        if (PyDict_SetItemString(dict, c, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (7569:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7570|      0|            Py_DECREF(value);                           \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7571|      0|            goto error;                                 \
  |  | 7572|      0|        }                                               \
  |  | 7573|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7574|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (7574:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (7579:5): [True: 2, False: 0]
  ------------------
 7580|      2|    DATETIME_ADD_MACRO(d, "max",
  ------------------
  |  | 7563|      2|    do {                                                \
  |  | 7564|      2|        assert(!PyErr_Occurred());                      \
  |  | 7565|      2|        PyObject *value = (value_expr);                 \
  |  | 7566|      2|        if (value == NULL) {                            \
  |  |  ------------------
  |  |  |  Branch (7566:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7567|      0|            goto error;                                 \
  |  | 7568|      0|        }                                               \
  |  | 7569|      2|        if (PyDict_SetItemString(dict, c, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (7569:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7570|      0|            Py_DECREF(value);                           \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7571|      0|            goto error;                                 \
  |  | 7572|      0|        }                                               \
  |  | 7573|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7574|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (7574:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (7580:5): [True: 2, False: 0]
  ------------------
 7581|      2|                        new_delta(MAX_DELTA_DAYS, 24*3600-1, 1000000-1, 0));
 7582|       |
 7583|       |    /* date values */
 7584|      2|    d = _PyType_GetDict(&PyDateTime_DateType);
 7585|      2|    DATETIME_ADD_MACRO(d, "min", new_date(1, 1, 1));
  ------------------
  |  | 7563|      2|    do {                                                \
  |  | 7564|      2|        assert(!PyErr_Occurred());                      \
  |  | 7565|      2|        PyObject *value = (value_expr);                 \
  |  | 7566|      2|        if (value == NULL) {                            \
  |  |  ------------------
  |  |  |  Branch (7566:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7567|      0|            goto error;                                 \
  |  | 7568|      0|        }                                               \
  |  | 7569|      2|        if (PyDict_SetItemString(dict, c, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (7569:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7570|      0|            Py_DECREF(value);                           \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7571|      0|            goto error;                                 \
  |  | 7572|      0|        }                                               \
  |  | 7573|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7574|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (7574:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (7585:5): [True: 2, False: 0]
  ------------------
 7586|      2|    DATETIME_ADD_MACRO(d, "max", new_date(MAXYEAR, 12, 31));
  ------------------
  |  | 7563|      2|    do {                                                \
  |  | 7564|      2|        assert(!PyErr_Occurred());                      \
  |  | 7565|      2|        PyObject *value = (value_expr);                 \
  |  | 7566|      2|        if (value == NULL) {                            \
  |  |  ------------------
  |  |  |  Branch (7566:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7567|      0|            goto error;                                 \
  |  | 7568|      0|        }                                               \
  |  | 7569|      2|        if (PyDict_SetItemString(dict, c, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (7569:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7570|      0|            Py_DECREF(value);                           \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7571|      0|            goto error;                                 \
  |  | 7572|      0|        }                                               \
  |  | 7573|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7574|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (7574:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (7586:5): [True: 2, False: 0]
  ------------------
 7587|      2|    DATETIME_ADD_MACRO(d, "resolution", new_delta(1, 0, 0, 0));
  ------------------
  |  | 7563|      2|    do {                                                \
  |  | 7564|      2|        assert(!PyErr_Occurred());                      \
  |  | 7565|      2|        PyObject *value = (value_expr);                 \
  |  | 7566|      2|        if (value == NULL) {                            \
  |  |  ------------------
  |  |  |  Branch (7566:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7567|      0|            goto error;                                 \
  |  | 7568|      0|        }                                               \
  |  | 7569|      2|        if (PyDict_SetItemString(dict, c, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (7569:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7570|      0|            Py_DECREF(value);                           \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7571|      0|            goto error;                                 \
  |  | 7572|      0|        }                                               \
  |  | 7573|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7574|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (7574:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (7587:5): [True: 2, False: 0]
  ------------------
 7588|       |
 7589|       |    /* time values */
 7590|      2|    d = _PyType_GetDict(&PyDateTime_TimeType);
 7591|      2|    DATETIME_ADD_MACRO(d, "min", new_time(0, 0, 0, 0, Py_None, 0));
  ------------------
  |  | 7563|      2|    do {                                                \
  |  | 7564|      2|        assert(!PyErr_Occurred());                      \
  |  | 7565|      2|        PyObject *value = (value_expr);                 \
  |  | 7566|      2|        if (value == NULL) {                            \
  |  |  ------------------
  |  |  |  Branch (7566:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7567|      0|            goto error;                                 \
  |  | 7568|      0|        }                                               \
  |  | 7569|      2|        if (PyDict_SetItemString(dict, c, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (7569:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7570|      0|            Py_DECREF(value);                           \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7571|      0|            goto error;                                 \
  |  | 7572|      0|        }                                               \
  |  | 7573|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7574|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (7574:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (7591:5): [True: 2, False: 0]
  ------------------
 7592|      2|    DATETIME_ADD_MACRO(d, "max", new_time(23, 59, 59, 999999, Py_None, 0));
  ------------------
  |  | 7563|      2|    do {                                                \
  |  | 7564|      2|        assert(!PyErr_Occurred());                      \
  |  | 7565|      2|        PyObject *value = (value_expr);                 \
  |  | 7566|      2|        if (value == NULL) {                            \
  |  |  ------------------
  |  |  |  Branch (7566:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7567|      0|            goto error;                                 \
  |  | 7568|      0|        }                                               \
  |  | 7569|      2|        if (PyDict_SetItemString(dict, c, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (7569:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7570|      0|            Py_DECREF(value);                           \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7571|      0|            goto error;                                 \
  |  | 7572|      0|        }                                               \
  |  | 7573|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7574|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (7574:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (7592:5): [True: 2, False: 0]
  ------------------
 7593|      2|    DATETIME_ADD_MACRO(d, "resolution", new_delta(0, 0, 1, 0));
  ------------------
  |  | 7563|      2|    do {                                                \
  |  | 7564|      2|        assert(!PyErr_Occurred());                      \
  |  | 7565|      2|        PyObject *value = (value_expr);                 \
  |  | 7566|      2|        if (value == NULL) {                            \
  |  |  ------------------
  |  |  |  Branch (7566:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7567|      0|            goto error;                                 \
  |  | 7568|      0|        }                                               \
  |  | 7569|      2|        if (PyDict_SetItemString(dict, c, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (7569:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7570|      0|            Py_DECREF(value);                           \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7571|      0|            goto error;                                 \
  |  | 7572|      0|        }                                               \
  |  | 7573|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7574|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (7574:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (7593:5): [True: 2, False: 0]
  ------------------
 7594|       |
 7595|       |    /* datetime values */
 7596|      2|    d = _PyType_GetDict(&PyDateTime_DateTimeType);
 7597|      2|    DATETIME_ADD_MACRO(d, "min",
  ------------------
  |  | 7563|      2|    do {                                                \
  |  | 7564|      2|        assert(!PyErr_Occurred());                      \
  |  | 7565|      2|        PyObject *value = (value_expr);                 \
  |  | 7566|      2|        if (value == NULL) {                            \
  |  |  ------------------
  |  |  |  Branch (7566:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7567|      0|            goto error;                                 \
  |  | 7568|      0|        }                                               \
  |  | 7569|      2|        if (PyDict_SetItemString(dict, c, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (7569:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7570|      0|            Py_DECREF(value);                           \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7571|      0|            goto error;                                 \
  |  | 7572|      0|        }                                               \
  |  | 7573|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7574|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (7574:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (7597:5): [True: 2, False: 0]
  ------------------
 7598|      2|                        new_datetime(1, 1, 1, 0, 0, 0, 0, Py_None, 0));
 7599|      2|    DATETIME_ADD_MACRO(d, "max", new_datetime(MAXYEAR, 12, 31, 23, 59, 59,
  ------------------
  |  | 7563|      2|    do {                                                \
  |  | 7564|      2|        assert(!PyErr_Occurred());                      \
  |  | 7565|      2|        PyObject *value = (value_expr);                 \
  |  | 7566|      2|        if (value == NULL) {                            \
  |  |  ------------------
  |  |  |  Branch (7566:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7567|      0|            goto error;                                 \
  |  | 7568|      0|        }                                               \
  |  | 7569|      2|        if (PyDict_SetItemString(dict, c, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (7569:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7570|      0|            Py_DECREF(value);                           \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7571|      0|            goto error;                                 \
  |  | 7572|      0|        }                                               \
  |  | 7573|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7574|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (7574:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (7599:5): [True: 2, False: 0]
  ------------------
 7600|      2|                                                999999, Py_None, 0));
 7601|      2|    DATETIME_ADD_MACRO(d, "resolution", new_delta(0, 0, 1, 0));
  ------------------
  |  | 7563|      2|    do {                                                \
  |  | 7564|      2|        assert(!PyErr_Occurred());                      \
  |  | 7565|      2|        PyObject *value = (value_expr);                 \
  |  | 7566|      2|        if (value == NULL) {                            \
  |  |  ------------------
  |  |  |  Branch (7566:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7567|      0|            goto error;                                 \
  |  | 7568|      0|        }                                               \
  |  | 7569|      2|        if (PyDict_SetItemString(dict, c, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (7569:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7570|      0|            Py_DECREF(value);                           \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7571|      0|            goto error;                                 \
  |  | 7572|      0|        }                                               \
  |  | 7573|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7574|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (7574:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (7601:5): [True: 2, False: 0]
  ------------------
 7602|       |
 7603|       |    /* timezone values */
 7604|      2|    d = _PyType_GetDict(&PyDateTime_TimeZoneType);
 7605|      2|    if (PyDict_SetItemString(d, "utc", (PyObject *)&utc_timezone) < 0) {
  ------------------
  |  Branch (7605:9): [True: 0, False: 2]
  ------------------
 7606|      0|        goto error;
 7607|      0|    }
 7608|       |
 7609|       |    /* bpo-37642: These attributes are rounded to the nearest minute for backwards
 7610|       |    * compatibility, even though the constructor will accept a wider range of
 7611|       |    * values. This may change in the future.*/
 7612|       |
 7613|       |    /* -23:59 */
 7614|      2|    DATETIME_ADD_MACRO(d, "min", create_timezone_from_delta(-1, 60, 0, 1));
  ------------------
  |  | 7563|      2|    do {                                                \
  |  | 7564|      2|        assert(!PyErr_Occurred());                      \
  |  | 7565|      2|        PyObject *value = (value_expr);                 \
  |  | 7566|      2|        if (value == NULL) {                            \
  |  |  ------------------
  |  |  |  Branch (7566:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7567|      0|            goto error;                                 \
  |  | 7568|      0|        }                                               \
  |  | 7569|      2|        if (PyDict_SetItemString(dict, c, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (7569:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7570|      0|            Py_DECREF(value);                           \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7571|      0|            goto error;                                 \
  |  | 7572|      0|        }                                               \
  |  | 7573|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7574|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (7574:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (7614:5): [True: 2, False: 0]
  ------------------
 7615|       |
 7616|       |    /* +23:59 */
 7617|      2|    DATETIME_ADD_MACRO(
  ------------------
  |  | 7563|      2|    do {                                                \
  |  | 7564|      2|        assert(!PyErr_Occurred());                      \
  |  | 7565|      2|        PyObject *value = (value_expr);                 \
  |  | 7566|      2|        if (value == NULL) {                            \
  |  |  ------------------
  |  |  |  Branch (7566:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7567|      0|            goto error;                                 \
  |  | 7568|      0|        }                                               \
  |  | 7569|      2|        if (PyDict_SetItemString(dict, c, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (7569:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7570|      0|            Py_DECREF(value);                           \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7571|      0|            goto error;                                 \
  |  | 7572|      0|        }                                               \
  |  | 7573|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7574|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (7574:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (7617:5): [True: 2, False: 0]
  ------------------
 7618|      2|            d, "max", create_timezone_from_delta(0, (23 * 60 + 59) * 60, 0, 0));
 7619|       |
 7620|      2|#undef DATETIME_ADD_MACRO
 7621|       |
 7622|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 7623|       |
 7624|      0|error:
 7625|      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)}
  |  |  ------------------
  ------------------
 7626|      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:
 1389|     16|{
 1390|     16|    PyDateTime_Delta *self;
 1391|       |
 1392|     16|    if (normalize)
  ------------------
  |  Branch (1392:9): [True: 2, False: 14]
  ------------------
 1393|      2|        normalize_d_s_us(&days, &seconds, &microseconds);
 1394|     16|    assert(0 <= seconds && seconds < 24*3600);
  ------------------
  |  Branch (1394:5): [True: 16, False: 0]
  |  Branch (1394:5): [True: 16, False: 0]
  ------------------
 1395|     16|    assert(0 <= microseconds && microseconds < 1000000);
  ------------------
  |  Branch (1395:5): [True: 16, False: 0]
  |  Branch (1395:5): [True: 16, False: 0]
  ------------------
 1396|       |
 1397|     16|    if (check_delta_day_range(days) < 0)
  ------------------
  |  Branch (1397:9): [True: 0, False: 16]
  ------------------
 1398|      0|        return NULL;
 1399|       |
 1400|     16|    self = look_up_delta(days, seconds, microseconds, type);
 1401|     16|    if (self != NULL) {
  ------------------
  |  Branch (1401:9): [True: 0, False: 16]
  ------------------
 1402|      0|        return (PyObject *)self;
 1403|      0|    }
 1404|     16|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (1404:5): [True: 16, False: 0]
  ------------------
 1405|       |
 1406|     16|    self = (PyDateTime_Delta *) (type->tp_alloc(type, 0));
 1407|     16|    if (self != NULL) {
  ------------------
  |  Branch (1407:9): [True: 16, False: 0]
  ------------------
 1408|     16|        self->hashcode = -1;
 1409|     16|        SET_TD_DAYS(self, days);
  ------------------
  |  |  326|     16|#define SET_TD_DAYS(o, v)       ((o)->days = (v))
  ------------------
 1410|     16|        SET_TD_SECONDS(self, seconds);
  ------------------
  |  |  327|     16|#define SET_TD_SECONDS(o, v)    ((o)->seconds = (v))
  ------------------
 1411|     16|        SET_TD_MICROSECONDS(self, microseconds);
  ------------------
  |  |  328|     16|#define SET_TD_MICROSECONDS(o, v) ((o)->microseconds = (v))
  ------------------
 1412|     16|    }
 1413|     16|    return (PyObject *) self;
 1414|     16|}
_datetimemodule.c:normalize_d_s_us:
  748|      2|{
  749|      2|    if (*us < 0 || *us >= 1000000) {
  ------------------
  |  Branch (749:9): [True: 0, False: 2]
  |  Branch (749:20): [True: 0, False: 2]
  ------------------
  750|      0|        normalize_pair(s, us, 1000000);
  751|       |        /* |s| can't be bigger than about
  752|       |         * |original s| + |original us|/1000000 now.
  753|       |         */
  754|       |
  755|      0|    }
  756|      2|    if (*s < 0 || *s >= 24*3600) {
  ------------------
  |  Branch (756:9): [True: 0, False: 2]
  |  Branch (756:19): [True: 0, False: 2]
  ------------------
  757|      0|        normalize_pair(d, s, 24*3600);
  758|       |        /* |d| can't be bigger than about
  759|       |         * |original d| +
  760|       |         * (|original s| + |original us|/1000000) / (24*3600) now.
  761|       |         */
  762|      0|    }
  763|      2|    assert(0 <= *s && *s < 24*3600);
  ------------------
  |  Branch (763:5): [True: 2, False: 0]
  |  Branch (763:5): [True: 2, False: 0]
  ------------------
  764|      2|    assert(0 <= *us && *us < 1000000);
  ------------------
  |  Branch (764:5): [True: 2, False: 0]
  |  Branch (764:5): [True: 2, False: 0]
  ------------------
  765|      2|}
_datetimemodule.c:check_delta_day_range:
  649|     16|{
  650|     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 (650:9): [True: 16, False: 0]
  |  Branch (650:36): [True: 16, False: 0]
  ------------------
  651|     16|        return 0;
  652|      0|    PyErr_Format(PyExc_OverflowError,
  653|      0|                 "days=%d; must have magnitude <= %d",
  654|      0|                 days, MAX_DELTA_DAYS);
  ------------------
  |  |  278|      0|#define MAX_DELTA_DAYS 999999999
  ------------------
  655|      0|    return -1;
  656|     16|}
_datetimemodule.c:look_up_delta:
 3162|     16|{
 3163|     16|    if (days == 0 && seconds == 0 && microseconds == 0
  ------------------
  |  Branch (3163:9): [True: 8, False: 8]
  |  Branch (3163:22): [True: 6, False: 2]
  |  Branch (3163:38): [True: 0, False: 6]
  ------------------
 3164|      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 (3164:16): [True: 0, False: 0]
  ------------------
 3165|      0|    {
 3166|      0|        return &zero_delta;
 3167|      0|    }
 3168|     16|    return NULL;
 3169|     16|}
_datetimemodule.c:check_tzinfo_subclass:
 1493|      8|{
 1494|      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 (1494:9): [True: 8, False: 0]
  ------------------
 1495|      8|        return 0;
 1496|      0|    PyErr_Format(PyExc_TypeError,
 1497|      0|                 "tzinfo argument must be None or of a tzinfo subclass, "
 1498|      0|                 "not type '%s'",
 1499|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1500|      0|    return -1;
 1501|      8|}
_datetimemodule.c:new_date_ex:
 1172|      4|{
 1173|      4|    PyDateTime_Date *self;
 1174|       |
 1175|      4|    if (check_date_args(year, month, day) < 0) {
  ------------------
  |  Branch (1175:9): [True: 0, False: 4]
  ------------------
 1176|      0|        return NULL;
 1177|      0|    }
 1178|       |
 1179|      4|    self = (PyDateTime_Date *)(type->tp_alloc(type, 0));
 1180|      4|    if (self != NULL)
  ------------------
  |  Branch (1180:9): [True: 4, False: 0]
  ------------------
 1181|      4|        set_date_fields(self, year, month, day);
 1182|      4|    return (PyObject *)self;
 1183|      4|}
_datetimemodule.c:check_date_args:
  663|      8|{
  664|       |
  665|      8|    if (year < MINYEAR || year > MAXYEAR) {
  ------------------
  |  |  269|     16|#define MINYEAR 1
  ------------------
                  if (year < MINYEAR || year > MAXYEAR) {
  ------------------
  |  |  270|      8|#define MAXYEAR 9999
  ------------------
  |  Branch (665:9): [True: 0, False: 8]
  |  Branch (665:27): [True: 0, False: 8]
  ------------------
  666|      0|        PyErr_Format(PyExc_ValueError,
  667|      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
  ------------------
  668|      0|        return -1;
  669|      0|    }
  670|      8|    if (month < 1 || month > 12) {
  ------------------
  |  Branch (670:9): [True: 0, False: 8]
  |  Branch (670:22): [True: 0, False: 8]
  ------------------
  671|      0|        PyErr_Format(PyExc_ValueError,
  672|      0|                     "month must be in 1..12, not %d", month);
  673|      0|        return -1;
  674|      0|    }
  675|      8|    int dim = days_in_month(year, month);
  676|      8|    if (day < 1 || day > dim) {
  ------------------
  |  Branch (676:9): [True: 0, False: 8]
  |  Branch (676:20): [True: 0, False: 8]
  ------------------
  677|      0|        PyErr_Format(PyExc_ValueError,
  678|      0|                     "day %i must be in range 1..%d for month %i in year %i",
  679|      0|                     day, dim, month, year);
  680|      0|        return -1;
  681|      0|    }
  682|      8|    return 0;
  683|      8|}
_datetimemodule.c:set_date_fields:
  914|      8|{
  915|      8|    self->hashcode = -1;
  916|      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)))
  ------------------
  917|      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])
  |  |  ------------------
  ------------------
  918|      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])
  |  |  ------------------
  ------------------
  919|      8|}
_datetimemodule.c:check_time_args:
  690|      8|{
  691|      8|    if (h < 0 || h > 23) {
  ------------------
  |  Branch (691:9): [True: 0, False: 8]
  |  Branch (691:18): [True: 0, False: 8]
  ------------------
  692|      0|        PyErr_Format(PyExc_ValueError, "hour must be in 0..23, not %i", h);
  693|      0|        return -1;
  694|      0|    }
  695|      8|    if (m < 0 || m > 59) {
  ------------------
  |  Branch (695:9): [True: 0, False: 8]
  |  Branch (695:18): [True: 0, False: 8]
  ------------------
  696|      0|        PyErr_Format(PyExc_ValueError, "minute must be in 0..59, not %i", m);
  697|      0|        return -1;
  698|      0|    }
  699|      8|    if (s < 0 || s > 59) {
  ------------------
  |  Branch (699:9): [True: 0, False: 8]
  |  Branch (699:18): [True: 0, False: 8]
  ------------------
  700|      0|        PyErr_Format(PyExc_ValueError, "second must be in 0..59, not %i", s);
  701|      0|        return -1;
  702|      0|    }
  703|      8|    if (us < 0 || us > 999999) {
  ------------------
  |  Branch (703:9): [True: 0, False: 8]
  |  Branch (703:19): [True: 0, False: 8]
  ------------------
  704|      0|        PyErr_Format(PyExc_ValueError,
  705|      0|                     "microsecond must be in 0..999999, not %i", us);
  706|      0|        return -1;
  707|      0|    }
  708|      8|    if (fold != 0 && fold != 1) {
  ------------------
  |  Branch (708:9): [True: 0, False: 8]
  |  Branch (708:22): [True: 0, False: 0]
  ------------------
  709|      0|        PyErr_Format(PyExc_ValueError,
  710|      0|                     "fold must be either 0 or 1, not %i", fold);
  711|      0|        return -1;
  712|      0|    }
  713|      8|    return 0;
  714|      8|}
_datetimemodule.c:create_timezone:
 1435|      4|{
 1436|      4|    PyDateTime_TimeZone *self;
 1437|      4|    PyTypeObject *type = TIMEZONE_TYPE(NO_STATE);
  ------------------
  |  |   83|      4|#define TIMEZONE_TYPE(st) &PyDateTime_TimeZoneType
  ------------------
 1438|       |
 1439|      4|    assert(offset != NULL);
  ------------------
  |  Branch (1439:5): [True: 4, False: 0]
  ------------------
 1440|      4|    assert(PyDelta_Check(offset));
  ------------------
  |  Branch (1440:5): [True: 4, False: 0]
  ------------------
 1441|      4|    assert(name == NULL || PyUnicode_Check(name));
  ------------------
  |  Branch (1441:5): [True: 4, False: 0]
  |  Branch (1441:5): [True: 0, False: 0]
  ------------------
 1442|       |
 1443|      4|    self = look_up_timezone(offset, name);
 1444|      4|    if (self != NULL) {
  ------------------
  |  Branch (1444:9): [True: 0, False: 4]
  ------------------
 1445|      0|        return (PyObject *)self;
 1446|      0|    }
 1447|      4|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (1447:5): [True: 4, False: 0]
  ------------------
 1448|       |
 1449|      4|    self = (PyDateTime_TimeZone *)(type->tp_alloc(type, 0));
 1450|      4|    if (self == NULL) {
  ------------------
  |  Branch (1450:9): [True: 0, False: 4]
  ------------------
 1451|      0|        return NULL;
 1452|      0|    }
 1453|      4|    self->offset = Py_NewRef(offset);
  ------------------
  |  |  550|      4|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1454|      4|    self->name = Py_XNewRef(name);
  ------------------
  |  |  551|      4|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1455|      4|    return (PyObject *)self;
 1456|      4|}
_datetimemodule.c:look_up_timezone:
 4596|      4|{
 4597|      4|    if (offset == utc_timezone.offset && name == NULL) {
  ------------------
  |  Branch (4597:9): [True: 0, False: 4]
  |  Branch (4597:42): [True: 0, False: 0]
  ------------------
 4598|      0|        return (PyDateTime_TimeZone *)CONST_UTC(NO_STATE);
  ------------------
  |  |  119|      0|#define CONST_UTC(st) ((PyObject *)&utc_timezone)
  ------------------
 4599|      0|    }
 4600|      4|    return NULL;
 4601|      4|}
_datetimemodule.c:time_alloc:
  884|      4|{
  885|      4|    size_t size = aware ? sizeof(PyDateTime_Time) : sizeof(_PyDateTime_BaseTime);
  ------------------
  |  Branch (885:19): [True: 0, False: 4]
  ------------------
  886|      4|    PyObject *self = (PyObject *)PyObject_Malloc(size);
  887|      4|    if (self == NULL) {
  ------------------
  |  Branch (887:9): [True: 0, False: 4]
  ------------------
  888|      0|        return PyErr_NoMemory();
  889|      0|    }
  890|      4|    _PyObject_Init(self, type);
  891|      4|    return self;
  892|      4|}
_datetimemodule.c:new_time_ex2:
 1323|      4|{
 1324|      4|    PyDateTime_Time *self;
 1325|      4|    char aware = tzinfo != Py_None;
  ------------------
  |  |  616|      4|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1326|       |
 1327|      4|    if (check_time_args(hour, minute, second, usecond, fold) < 0) {
  ------------------
  |  Branch (1327:9): [True: 0, False: 4]
  ------------------
 1328|      0|        return NULL;
 1329|      0|    }
 1330|      4|    if (check_tzinfo_subclass(tzinfo) < 0) {
  ------------------
  |  Branch (1330:9): [True: 0, False: 4]
  ------------------
 1331|      0|        return NULL;
 1332|      0|    }
 1333|       |
 1334|      4|    self = (PyDateTime_Time *) (type->tp_alloc(type, aware));
 1335|      4|    if (self != NULL) {
  ------------------
  |  Branch (1335:9): [True: 4, False: 0]
  ------------------
 1336|      4|        self->hastzinfo = aware;
 1337|      4|        self->hashcode = -1;
 1338|      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])
  |  |  ------------------
  ------------------
 1339|      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])
  |  |  ------------------
  ------------------
 1340|      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])
  |  |  ------------------
  ------------------
 1341|      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)))
  ------------------
 1342|      4|        if (aware) {
  ------------------
  |  Branch (1342:13): [True: 0, False: 4]
  ------------------
 1343|      0|            self->tzinfo = Py_NewRef(tzinfo);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1344|      0|        }
 1345|      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)
  |  |  ------------------
  ------------------
 1346|      4|    }
 1347|      4|    return (PyObject *)self;
 1348|      4|}
_datetimemodule.c:datetime_alloc:
  896|      4|{
  897|      4|    size_t size = aware ? sizeof(PyDateTime_DateTime) : sizeof(_PyDateTime_BaseDateTime);
  ------------------
  |  Branch (897:19): [True: 0, False: 4]
  ------------------
  898|      4|    PyObject *self = (PyObject *)PyObject_Malloc(size);
  899|      4|    if (self == NULL) {
  ------------------
  |  Branch (899:9): [True: 0, False: 4]
  ------------------
  900|      0|        return PyErr_NoMemory();
  901|      0|    }
  902|      4|    _PyObject_Init(self, type);
  903|      4|    return self;
  904|      4|}
_datetimemodule.c:new_datetime_ex2:
 1215|      4|{
 1216|      4|    PyDateTime_DateTime *self;
 1217|      4|    char aware = tzinfo != Py_None;
  ------------------
  |  |  616|      4|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1218|       |
 1219|      4|    if (check_date_args(year, month, day) < 0) {
  ------------------
  |  Branch (1219:9): [True: 0, False: 4]
  ------------------
 1220|      0|        return NULL;
 1221|      0|    }
 1222|      4|    if (check_time_args(hour, minute, second, usecond, fold) < 0) {
  ------------------
  |  Branch (1222:9): [True: 0, False: 4]
  ------------------
 1223|      0|        return NULL;
 1224|      0|    }
 1225|      4|    if (check_tzinfo_subclass(tzinfo) < 0) {
  ------------------
  |  Branch (1225:9): [True: 0, False: 4]
  ------------------
 1226|      0|        return NULL;
 1227|      0|    }
 1228|       |
 1229|      4|    self = (PyDateTime_DateTime *) (type->tp_alloc(type, aware));
 1230|      4|    if (self != NULL) {
  ------------------
  |  Branch (1230:9): [True: 4, False: 0]
  ------------------
 1231|      4|        self->hastzinfo = aware;
 1232|      4|        set_date_fields((PyDateTime_Date *)self, year, month, day);
 1233|      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])
  |  |  ------------------
  ------------------
 1234|      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])
  |  |  ------------------
  ------------------
 1235|      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])
  |  |  ------------------
  ------------------
 1236|      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)))
  ------------------
 1237|      4|        if (aware) {
  ------------------
  |  Branch (1237:13): [True: 0, False: 4]
  ------------------
 1238|      0|            self->tzinfo = Py_NewRef(tzinfo);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1239|      0|        }
 1240|      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)
  |  |  ------------------
  ------------------
 1241|      4|    }
 1242|      4|    return (PyObject *)self;
 1243|      4|}
_datetimemodule.c:create_timezone_from_delta:
 7417|      4|{
 7418|      4|    PyObject *delta = new_delta(days, sec, ms, normalize);
  ------------------
  |  | 1417|      4|    new_delta_ex(d, s, us, normalize, DELTA_TYPE(NO_STATE))
  |  |  ------------------
  |  |  |  |   81|      4|#define DELTA_TYPE(st) &PyDateTime_DeltaType
  |  |  ------------------
  ------------------
 7419|      4|    if (delta == NULL) {
  ------------------
  |  Branch (7419:9): [True: 0, False: 4]
  ------------------
 7420|      0|        return NULL;
 7421|      0|    }
 7422|      4|    PyObject *tz = create_timezone(delta, NULL);
 7423|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7424|      4|    return tz;
 7425|      4|}

PyInit__functools:
 2048|      1|{
 2049|      1|    return PyModuleDef_Init(&_functools_module);
 2050|      1|}
_functoolsmodule.c:get_functools_state:
   39|      6|{
   40|      6|    void *state = _PyModule_GetState(module);
   41|      6|    assert(state != NULL);
  ------------------
  |  Branch (41:5): [True: 6, False: 0]
  ------------------
   42|      6|    return (_functools_state *)state;
   43|      6|}
_functoolsmodule.c:_functools_exec:
 1929|      1|{
 1930|      1|    _functools_state *state = get_functools_state(module);
 1931|      1|    state->kwd_mark = _PyObject_CallNoArgs((PyObject *)&PyBaseObject_Type);
 1932|      1|    if (state->kwd_mark == NULL) {
  ------------------
  |  Branch (1932:9): [True: 0, False: 1]
  ------------------
 1933|      0|        return -1;
 1934|      0|    }
 1935|       |
 1936|      1|    state->placeholder_type = (PyTypeObject *)PyType_FromModuleAndSpec(module,
 1937|      1|        &placeholder_type_spec, NULL);
 1938|      1|    if (state->placeholder_type == NULL) {
  ------------------
  |  Branch (1938:9): [True: 0, False: 1]
  ------------------
 1939|      0|        return -1;
 1940|      0|    }
 1941|      1|    if (PyModule_AddType(module, state->placeholder_type) < 0) {
  ------------------
  |  Branch (1941:9): [True: 0, False: 1]
  ------------------
 1942|      0|        return -1;
 1943|      0|    }
 1944|       |
 1945|      1|    PyObject *placeholder = PyObject_CallNoArgs((PyObject *)state->placeholder_type);
 1946|      1|    if (placeholder == NULL) {
  ------------------
  |  Branch (1946:9): [True: 0, False: 1]
  ------------------
 1947|      0|        return -1;
 1948|      0|    }
 1949|      1|    if (PyModule_AddObjectRef(module, "Placeholder", placeholder) < 0) {
  ------------------
  |  Branch (1949:9): [True: 0, False: 1]
  ------------------
 1950|      0|        Py_DECREF(placeholder);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1951|      0|        return -1;
 1952|      0|    }
 1953|      1|    Py_DECREF(placeholder);
  ------------------
  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1954|       |
 1955|      1|    state->partial_type = (PyTypeObject *)PyType_FromModuleAndSpec(module,
 1956|      1|        &partial_type_spec, NULL);
 1957|      1|    if (state->partial_type == NULL) {
  ------------------
  |  Branch (1957:9): [True: 0, False: 1]
  ------------------
 1958|      0|        return -1;
 1959|      0|    }
 1960|      1|    if (PyModule_AddType(module, state->partial_type) < 0) {
  ------------------
  |  Branch (1960:9): [True: 0, False: 1]
  ------------------
 1961|      0|        return -1;
 1962|      0|    }
 1963|       |
 1964|      1|    PyObject *lru_cache_type = PyType_FromModuleAndSpec(module,
 1965|      1|        &lru_cache_type_spec, NULL);
 1966|      1|    if (lru_cache_type == NULL) {
  ------------------
  |  Branch (1966:9): [True: 0, False: 1]
  ------------------
 1967|      0|        return -1;
 1968|      0|    }
 1969|      1|    if (PyModule_AddType(module, (PyTypeObject *)lru_cache_type) < 0) {
  ------------------
  |  Branch (1969:9): [True: 0, False: 1]
  ------------------
 1970|      0|        Py_DECREF(lru_cache_type);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1971|      0|        return -1;
 1972|      0|    }
 1973|      1|    Py_DECREF(lru_cache_type);
  ------------------
  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1974|       |
 1975|      1|    state->keyobject_type = (PyTypeObject *)PyType_FromModuleAndSpec(module,
 1976|      1|        &keyobject_type_spec, NULL);
 1977|      1|    if (state->keyobject_type == NULL) {
  ------------------
  |  Branch (1977:9): [True: 0, False: 1]
  ------------------
 1978|      0|        return -1;
 1979|      0|    }
 1980|       |    // keyobject_type is used only internally.
 1981|       |    // So we don't expose it in module namespace.
 1982|       |
 1983|      1|    state->lru_list_elem_type = (PyTypeObject *)PyType_FromModuleAndSpec(
 1984|      1|        module, &lru_list_elem_type_spec, NULL);
 1985|      1|    if (state->lru_list_elem_type == NULL) {
  ------------------
  |  Branch (1985:9): [True: 0, False: 1]
  ------------------
 1986|      0|        return -1;
 1987|      0|    }
 1988|       |    // lru_list_elem is used only in _lru_cache_wrapper.
 1989|       |    // So we don't expose it in module namespace.
 1990|       |
 1991|      1|    return 0;
 1992|      1|}
_functoolsmodule.c:placeholder_new:
   90|      1|{
   91|      1|    if (PyTuple_GET_SIZE(args) || (kwargs && PyDict_GET_SIZE(kwargs))) {
  ------------------
  |  |   27|      2|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (27:30): [True: 0, False: 1]
  |  |  ------------------
  ------------------
                  if (PyTuple_GET_SIZE(args) || (kwargs && PyDict_GET_SIZE(kwargs))) {
  ------------------
  |  |   63|      0|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (63:29): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (91:36): [True: 0, False: 1]
  ------------------
   92|      0|        PyErr_SetString(PyExc_TypeError, "PlaceholderType takes no arguments");
   93|      0|        return NULL;
   94|      0|    }
   95|      1|    _functools_state *state = get_functools_state_by_type(type);
   96|      1|    if (state->placeholder != NULL) {
  ------------------
  |  Branch (96:9): [True: 0, False: 1]
  ------------------
   97|      0|        return Py_NewRef(state->placeholder);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   98|      0|    }
   99|       |
  100|      1|    PyObject *placeholder = PyType_GenericNew(type, NULL, NULL);
  101|      1|    if (placeholder == NULL) {
  ------------------
  |  Branch (101:9): [True: 0, False: 1]
  ------------------
  102|      0|        return NULL;
  103|      0|    }
  104|       |
  105|      1|    if (state->placeholder == NULL) {
  ------------------
  |  Branch (105:9): [True: 1, False: 0]
  ------------------
  106|      1|        state->placeholder = Py_NewRef(placeholder);
  ------------------
  |  |  550|      1|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  107|      1|    }
  108|      1|    return placeholder;
  109|      1|}
_functoolsmodule.c:get_functools_state_by_type:
  151|      3|{
  152|      3|    PyObject *module = PyType_GetModuleByDef(type, &_functools_module);
  153|      3|    if (module == NULL) {
  ------------------
  |  Branch (153:9): [True: 0, False: 3]
  ------------------
  154|      0|        return NULL;
  155|      0|    }
  156|      3|    return get_functools_state(module);
  157|      3|}
_functoolsmodule.c:lru_cache_new:
 1621|      2|{
 1622|      2|    PyObject *func, *maxsize_O, *cache_info_type, *cachedict;
 1623|      2|    int typed;
 1624|      2|    lru_cache_object *obj;
 1625|      2|    Py_ssize_t maxsize;
 1626|      2|    PyObject *(*wrapper)(lru_cache_object *, PyObject *, PyObject *);
 1627|      2|    _functools_state *state;
 1628|      2|    static char *keywords[] = {"user_function", "maxsize", "typed",
 1629|      2|                               "cache_info_type", NULL};
 1630|       |
 1631|      2|    if (!PyArg_ParseTupleAndKeywords(args, kw, "OOpO:lru_cache", keywords,
  ------------------
  |  Branch (1631:9): [True: 0, False: 2]
  ------------------
 1632|      2|                                     &func, &maxsize_O, &typed,
 1633|      2|                                     &cache_info_type)) {
 1634|      0|        return NULL;
 1635|      0|    }
 1636|       |
 1637|      2|    if (!PyCallable_Check(func)) {
  ------------------
  |  Branch (1637:9): [True: 0, False: 2]
  ------------------
 1638|      0|        PyErr_SetString(PyExc_TypeError,
 1639|      0|                        "the first argument must be callable");
 1640|      0|        return NULL;
 1641|      0|    }
 1642|       |
 1643|      2|    state = get_functools_state_by_type(type);
 1644|      2|    if (state == NULL) {
  ------------------
  |  Branch (1644:9): [True: 0, False: 2]
  ------------------
 1645|      0|        return NULL;
 1646|      0|    }
 1647|       |
 1648|       |    /* select the caching function, and make/inc maxsize_O */
 1649|      2|    if (maxsize_O == Py_None) {
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1649:9): [True: 0, False: 2]
  ------------------
 1650|      0|        wrapper = infinite_lru_cache_wrapper;
 1651|       |        /* use this only to initialize lru_cache_object attribute maxsize */
 1652|      0|        maxsize = -1;
 1653|      2|    } else if (PyIndex_Check(maxsize_O)) {
  ------------------
  |  Branch (1653:16): [True: 2, False: 0]
  ------------------
 1654|      2|        maxsize = PyNumber_AsSsize_t(maxsize_O, PyExc_OverflowError);
 1655|      2|        if (maxsize == -1 && PyErr_Occurred())
  ------------------
  |  Branch (1655:13): [True: 0, False: 2]
  |  Branch (1655:30): [True: 0, False: 0]
  ------------------
 1656|      0|            return NULL;
 1657|      2|        if (maxsize < 0) {
  ------------------
  |  Branch (1657:13): [True: 0, False: 2]
  ------------------
 1658|      0|            maxsize = 0;
 1659|      0|        }
 1660|      2|        if (maxsize == 0)
  ------------------
  |  Branch (1660:13): [True: 0, False: 2]
  ------------------
 1661|      0|            wrapper = uncached_lru_cache_wrapper;
 1662|      2|        else
 1663|      2|            wrapper = bounded_lru_cache_wrapper;
 1664|      2|    } else {
 1665|      0|        PyErr_SetString(PyExc_TypeError, "maxsize should be integer or None");
 1666|      0|        return NULL;
 1667|      0|    }
 1668|       |
 1669|      2|    if (!(cachedict = PyDict_New()))
  ------------------
  |  Branch (1669:9): [True: 0, False: 2]
  ------------------
 1670|      0|        return NULL;
 1671|       |
 1672|      2|    obj = (lru_cache_object *)type->tp_alloc(type, 0);
 1673|      2|    if (obj == NULL) {
  ------------------
  |  Branch (1673:9): [True: 0, False: 2]
  ------------------
 1674|      0|        Py_DECREF(cachedict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1675|      0|        return NULL;
 1676|      0|    }
 1677|       |
 1678|      2|    obj->root.prev = &obj->root;
 1679|      2|    obj->root.next = &obj->root;
 1680|      2|    obj->wrapper = wrapper;
 1681|      2|    obj->typed = typed;
 1682|      2|    obj->cache = cachedict;
 1683|      2|    obj->func = Py_NewRef(func);
  ------------------
  |  |  550|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1684|      2|    obj->misses = obj->hits = 0;
 1685|      2|    obj->maxsize = maxsize;
 1686|      2|    obj->kwd_mark = Py_NewRef(state->kwd_mark);
  ------------------
  |  |  550|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1687|      2|    obj->lru_list_elem_type = (PyTypeObject*)Py_NewRef(state->lru_list_elem_type);
  ------------------
  |  |  550|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1688|      2|    obj->cache_info_type = Py_NewRef(cache_info_type);
  ------------------
  |  |  550|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1689|      2|    obj->dict = NULL;
 1690|       |    obj->weakreflist = NULL;
 1691|      2|    return (PyObject *)obj;
 1692|      2|}
_functoolsmodule.c:_functools_traverse:
 1996|      2|{
 1997|      2|    _functools_state *state = get_functools_state(module);
 1998|      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]
  |  |  ------------------
  ------------------
 1999|      2|    Py_VISIT(state->placeholder_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]
  |  |  ------------------
  ------------------
 2000|      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]
  |  |  ------------------
  ------------------
 2001|      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]
  |  |  ------------------
  ------------------
 2002|      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]
  |  |  ------------------
  ------------------
 2003|      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]
  |  |  ------------------
  ------------------
 2004|      2|    return 0;
 2005|      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);
  ------------------
  |  |  550|      6|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  219|     27|    } else {
  220|     27|        path_or_fd = PyOS_FSPath(file);
  221|     27|        if (path_or_fd == NULL) {
  ------------------
  |  Branch (221:13): [True: 0, False: 27]
  ------------------
  222|      0|            return NULL;
  223|      0|        }
  224|     27|    }
  225|       |
  226|     33|    if (!is_number &&
  ------------------
  |  Branch (226:9): [True: 27, False: 6]
  ------------------
  227|     33|        !PyUnicode_Check(path_or_fd) &&
  ------------------
  |  |  103|     27|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     60|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (227:9): [True: 0, False: 27]
  ------------------
  228|      0|        !PyBytes_Check(path_or_fd)) {
  ------------------
  |  |   28|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (228:9): [True: 0, False: 0]
  ------------------
  229|      0|        PyErr_Format(PyExc_TypeError, "invalid file: %R", file);
  230|      0|        goto error;
  231|      0|    }
  232|       |
  233|       |    /* Decode mode */
  234|     99|    for (i = 0; i < strlen(mode); i++) {
  ------------------
  |  Branch (234:17): [True: 66, False: 33]
  ------------------
  235|     66|        char c = mode[i];
  236|       |
  237|     66|        switch (c) {
  238|      0|        case 'x':
  ------------------
  |  Branch (238:9): [True: 0, False: 66]
  ------------------
  239|      0|            creating = 1;
  240|      0|            break;
  241|     29|        case 'r':
  ------------------
  |  Branch (241:9): [True: 29, False: 37]
  ------------------
  242|     29|            reading = 1;
  243|     29|            break;
  244|      4|        case 'w':
  ------------------
  |  Branch (244:9): [True: 4, False: 62]
  ------------------
  245|      4|            writing = 1;
  246|      4|            break;
  247|      0|        case 'a':
  ------------------
  |  Branch (247:9): [True: 0, False: 66]
  ------------------
  248|      0|            appending = 1;
  249|      0|            break;
  250|      0|        case '+':
  ------------------
  |  Branch (250:9): [True: 0, False: 66]
  ------------------
  251|      0|            updating = 1;
  252|      0|            break;
  253|      0|        case 't':
  ------------------
  |  Branch (253:9): [True: 0, False: 66]
  ------------------
  254|      0|            text = 1;
  255|      0|            break;
  256|     33|        case 'b':
  ------------------
  |  Branch (256:9): [True: 33, False: 33]
  ------------------
  257|     33|            binary = 1;
  258|     33|            break;
  259|      0|        default:
  ------------------
  |  Branch (259:9): [True: 0, False: 66]
  ------------------
  260|      0|            goto invalid_mode;
  261|     66|        }
  262|       |
  263|       |        /* c must not be duplicated */
  264|     66|        if (strchr(mode+i+1, c)) {
  ------------------
  |  Branch (264:13): [True: 0, False: 66]
  ------------------
  265|      0|          invalid_mode:
  266|      0|            PyErr_Format(PyExc_ValueError, "invalid mode: '%s'", mode);
  267|      0|            goto error;
  268|      0|        }
  269|       |
  270|     66|    }
  271|       |
  272|     33|    m = rawmode;
  273|     33|    if (creating)  *(m++) = 'x';
  ------------------
  |  Branch (273:9): [True: 0, False: 33]
  ------------------
  274|     33|    if (reading)   *(m++) = 'r';
  ------------------
  |  Branch (274:9): [True: 29, False: 4]
  ------------------
  275|     33|    if (writing)   *(m++) = 'w';
  ------------------
  |  Branch (275:9): [True: 4, False: 29]
  ------------------
  276|     33|    if (appending) *(m++) = 'a';
  ------------------
  |  Branch (276:9): [True: 0, False: 33]
  ------------------
  277|     33|    if (updating)  *(m++) = '+';
  ------------------
  |  Branch (277:9): [True: 0, False: 33]
  ------------------
  278|     33|    *m = '\0';
  279|       |
  280|       |    /* Parameters validation */
  281|     33|    if (text && binary) {
  ------------------
  |  Branch (281:9): [True: 0, False: 33]
  |  Branch (281:17): [True: 0, False: 0]
  ------------------
  282|      0|        PyErr_SetString(PyExc_ValueError,
  283|      0|                        "can't have text and binary mode at once");
  284|      0|        goto error;
  285|      0|    }
  286|       |
  287|     33|    if (creating + reading + writing + appending > 1) {
  ------------------
  |  Branch (287:9): [True: 0, False: 33]
  ------------------
  288|      0|        PyErr_SetString(PyExc_ValueError,
  289|      0|                        "must have exactly one of create/read/write/append mode");
  290|      0|        goto error;
  291|      0|    }
  292|       |
  293|     33|    if (binary && encoding != NULL) {
  ------------------
  |  Branch (293:9): [True: 33, False: 0]
  |  Branch (293:19): [True: 0, False: 33]
  ------------------
  294|      0|        PyErr_SetString(PyExc_ValueError,
  295|      0|                        "binary mode doesn't take an encoding argument");
  296|      0|        goto error;
  297|      0|    }
  298|       |
  299|     33|    if (binary && errors != NULL) {
  ------------------
  |  Branch (299:9): [True: 33, False: 0]
  |  Branch (299:19): [True: 0, False: 33]
  ------------------
  300|      0|        PyErr_SetString(PyExc_ValueError,
  301|      0|                        "binary mode doesn't take an errors argument");
  302|      0|        goto error;
  303|      0|    }
  304|       |
  305|     33|    if (binary && newline != NULL) {
  ------------------
  |  Branch (305:9): [True: 33, False: 0]
  |  Branch (305:19): [True: 0, False: 33]
  ------------------
  306|      0|        PyErr_SetString(PyExc_ValueError,
  307|      0|                        "binary mode doesn't take a newline argument");
  308|      0|        goto error;
  309|      0|    }
  310|       |
  311|     33|    if (binary && buffering == 1) {
  ------------------
  |  Branch (311:9): [True: 33, False: 0]
  |  Branch (311:19): [True: 0, False: 33]
  ------------------
  312|      0|        if (PyErr_WarnEx(PyExc_RuntimeWarning,
  ------------------
  |  Branch (312:13): [True: 0, False: 0]
  ------------------
  313|      0|                         "line buffering (buffering=1) isn't supported in "
  314|      0|                         "binary mode, the default buffer size will be used",
  315|      0|                         1) < 0) {
  316|      0|           goto error;
  317|      0|        }
  318|      0|    }
  319|       |
  320|       |    /* Create the Raw file stream */
  321|     33|    _PyIO_State *state = get_io_state(module);
  322|     33|    {
  323|     33|        PyObject *RawIO_class = (PyObject *)state->PyFileIO_Type;
  324|       |#ifdef HAVE_WINDOWS_CONSOLE_IO
  325|       |        const PyConfig *config = _Py_GetConfig();
  326|       |        if (!config->legacy_windows_stdio && _PyIO_get_console_type(path_or_fd) != '\0') {
  327|       |            RawIO_class = (PyObject *)state->PyWindowsConsoleIO_Type;
  328|       |            encoding = "utf-8";
  329|       |        }
  330|       |#endif
  331|     33|        raw = PyObject_CallFunction(RawIO_class, "OsOO",
  332|     33|                                    path_or_fd, rawmode,
  333|     33|                                    closefd ? Py_True : Py_False,
  ------------------
  |  |   26|     33|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                                                  closefd ? Py_True : Py_False,
  ------------------
  |  |   25|     33|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (333:37): [True: 27, False: 6]
  ------------------
  334|     33|                                    opener);
  335|     33|    }
  336|       |
  337|     33|    if (raw == NULL)
  ------------------
  |  Branch (337:9): [True: 0, False: 33]
  ------------------
  338|      0|        goto error;
  339|     33|    result = raw;
  340|       |
  341|     33|    Py_SETREF(path_or_fd, NULL);
  ------------------
  |  |  354|     33|    do { \
  |  |  355|     33|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|     33|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|     33|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|     33|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|     33|        *_tmp_dst_ptr = (src); \
  |  |  358|     33|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|     33|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|     33|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359: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));
  ------------------
  |  |  936|     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));
  ------------------
  |  |  936|     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);
  ------------------
  |  |  126|     33|       __extension__ \
  |  |  127|     66|       ({ _Py_TYPEOF (x) _x = (x); \
  |  |  ------------------
  |  |  |  |  552|     33|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  |  Branch (127:32): [True: 33, False: 0]
  |  |  ------------------
  |  |  128|     33|          _Py_TYPEOF (y) _y = (y); \
  |  |  ------------------
  |  |  |  |  552|     33|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|     33|          _x > _y ? _x : _y; })
  |  |  ------------------
  |  |  |  Branch (129: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)
  ------------------
  |  |  936|      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));
  ------------------
  |  |  936|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  447|      0|        _PyErr_ChainExceptions1(exc);
  448|      0|        Py_XDECREF(close_result);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  449|      0|        Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  450|      0|    }
  451|      0|    Py_XDECREF(path_or_fd);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  452|      0|    Py_XDECREF(modeobj);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  453|       |    return NULL;
  454|      0|}
_iomodule.c:_io_open_code_impl:
  516|     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)
  ------------------
  |  |  936|      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:
  426|     27|{
  427|     27|    buffered *self = buffered_CAST(op);
  ------------------
  |  |  267|     27|#define buffered_CAST(op)   ((buffered *)(op))
  ------------------
  428|     27|    PyTypeObject *tp = Py_TYPE(self);
  ------------------
  |  |  213|     27|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  429|     27|    self->finalizing = 1;
  430|     27|    if (_PyIOBase_finalize(op) < 0)
  ------------------
  |  Branch (430:9): [True: 0, False: 27]
  ------------------
  431|      0|        return;
  432|     27|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  507|     27|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  433|     27|    self->ok = 0;
  434|     27|    FT_CLEAR_WEAKREFS(op, self->weakreflist);
  ------------------
  |  |   47|     27|    do {                                            \
  |  |   48|     27|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|     27|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 27]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|     27|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 27]
  |  |  ------------------
  ------------------
  |  Branch (434:5): [True: 27, False: 0]
  ------------------
  435|     27|    if (self->buffer) {
  ------------------
  |  Branch (435:9): [True: 0, False: 27]
  ------------------
  436|      0|        PyMem_Free(self->buffer);
  437|      0|        self->buffer = NULL;
  438|      0|    }
  439|     27|    if (self->lock) {
  ------------------
  |  Branch (439:9): [True: 27, False: 0]
  ------------------
  440|     27|        PyThread_free_lock(self->lock);
  441|     27|        self->lock = NULL;
  442|     27|    }
  443|     27|    (void)buffered_clear(op);
  444|     27|    tp->tp_free(self);
  445|     27|    Py_DECREF(tp);
  ------------------
  |  |  430|     27|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  446|     27|}
bufferedio.c:buffered_traverse:
  466|     12|{
  467|     12|    buffered *self = buffered_CAST(op);
  ------------------
  |  |  267|     12|#define buffered_CAST(op)   ((buffered *)(op))
  ------------------
  468|     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]
  |  |  ------------------
  ------------------
  469|     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]
  |  |  ------------------
  ------------------
  470|     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]
  |  |  ------------------
  ------------------
  471|     12|    return 0;
  472|     12|}
bufferedio.c:buffered_clear:
  416|     27|{
  417|     27|    buffered *self = buffered_CAST(op);
  ------------------
  |  |  267|     27|#define buffered_CAST(op)   ((buffered *)(op))
  ------------------
  418|     27|    self->ok = 0;
  419|     27|    Py_CLEAR(self->raw);
  ------------------
  |  |  484|     27|    do { \
  |  |  485|     27|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|     27|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     27|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|     27|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     27|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     27|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 27, False: 0]
  |  |  ------------------
  |  |  488|     27|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     27|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     27|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|     27|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     27|        } \
  |  |  491|     27|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 27]
  |  |  ------------------
  ------------------
  420|       |    Py_CLEAR(self->dict);
  ------------------
  |  |  484|     27|    do { \
  |  |  485|     27|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|     27|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     27|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|     27|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     27|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     27|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 27]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|     27|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 27]
  |  |  ------------------
  ------------------
  421|     27|    return 0;
  422|     27|}
bufferedio.c:buffered_flush_and_rewind_unlocked:
  909|     22|{
  910|     22|    PyObject *res;
  911|       |
  912|     22|    res = _bufferedwriter_flush_unlocked(self);
  913|     22|    if (res == NULL)
  ------------------
  |  Branch (913:9): [True: 0, False: 22]
  ------------------
  914|      0|        return NULL;
  915|     22|    Py_DECREF(res);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  916|       |
  917|     22|    if (self->readable) {
  ------------------
  |  Branch (917:9): [True: 0, False: 22]
  ------------------
  918|       |        /* Rewind the raw stream so that its position corresponds to
  919|       |           the current logical position. */
  920|      0|        Py_off_t n;
  921|      0|        n = _buffered_raw_seek(self, -RAW_OFFSET(self), 1);
  ------------------
  |  |  402|      0|    (((VALID_READ_BUFFER(self) || VALID_WRITE_BUFFER(self)) \
  |  |  ------------------
  |  |  |  |  385|      0|    (self->readable && self->read_end != -1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (385:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (385:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (((VALID_READ_BUFFER(self) || VALID_WRITE_BUFFER(self)) \
  |  |  ------------------
  |  |  |  |  388|      0|    (self->writable && self->write_end != -1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (388:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (388:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  403|      0|        && self->raw_pos >= 0) ? self->raw_pos - self->pos : 0)
  |  |  ------------------
  |  |  |  Branch (403:12): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  922|      0|        _bufferedreader_reset_buf(self);
  923|      0|        if (n == -1)
  ------------------
  |  Branch (923:13): [True: 0, False: 0]
  ------------------
  924|      0|            return NULL;
  925|      0|    }
  926|     22|    Py_RETURN_NONE;
  ------------------
  |  |  628|     22|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     22|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  927|     22|}
bufferedio.c:_bufferedwriter_flush_unlocked:
 2025|     22|{
 2026|     22|    Py_off_t n, rewind;
 2027|       |
 2028|     22|    if (!VALID_WRITE_BUFFER(self) || self->write_pos == self->write_end)
  ------------------
  |  |  388|     44|    (self->writable && self->write_end != -1)
  |  |  ------------------
  |  |  |  Branch (388:6): [True: 22, False: 0]
  |  |  |  Branch (388:24): [True: 22, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2028:38): [True: 0, False: 22]
  ------------------
 2029|      0|        goto end;
 2030|       |    /* First, rewind */
 2031|     22|    rewind = RAW_OFFSET(self) + (self->pos - self->write_pos);
  ------------------
  |  |  402|     22|    (((VALID_READ_BUFFER(self) || VALID_WRITE_BUFFER(self)) \
  |  |  ------------------
  |  |  |  |  385|     44|    (self->readable && self->read_end != -1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (385:6): [True: 0, False: 22]
  |  |  |  |  |  Branch (385:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (((VALID_READ_BUFFER(self) || VALID_WRITE_BUFFER(self)) \
  |  |  ------------------
  |  |  |  |  388|     22|    (self->writable && self->write_end != -1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (388:6): [True: 22, False: 0]
  |  |  |  |  |  Branch (388:24): [True: 22, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  403|     22|        && self->raw_pos >= 0) ? self->raw_pos - self->pos : 0)
  |  |  ------------------
  |  |  |  Branch (403:12): [True: 22, False: 0]
  |  |  ------------------
  ------------------
 2032|     22|    if (rewind != 0) {
  ------------------
  |  Branch (2032:9): [True: 0, False: 22]
  ------------------
 2033|      0|        n = _buffered_raw_seek(self, -rewind, 1);
 2034|      0|        if (n < 0) {
  ------------------
  |  Branch (2034:13): [True: 0, False: 0]
  ------------------
 2035|      0|            goto error;
 2036|      0|        }
 2037|      0|        self->raw_pos -= rewind;
 2038|      0|    }
 2039|     44|    while (self->write_pos < self->write_end) {
  ------------------
  |  Branch (2039:12): [True: 22, False: 22]
  ------------------
 2040|     22|        n = _bufferedwriter_raw_write(self,
 2041|     22|            self->buffer + self->write_pos,
 2042|     22|            Py_SAFE_DOWNCAST(self->write_end - self->write_pos,
  ------------------
  |  |  247|     22|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  ------------------
  |  |  |  |   34|     22|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2043|     22|                             Py_off_t, Py_ssize_t));
 2044|     22|        if (n == -1) {
  ------------------
  |  Branch (2044:13): [True: 0, False: 22]
  ------------------
 2045|      0|            goto error;
 2046|      0|        }
 2047|     22|        else if (n == -2) {
  ------------------
  |  Branch (2047:18): [True: 0, False: 22]
  ------------------
 2048|      0|            _set_BlockingIOError("write could not complete without blocking",
 2049|      0|                                 0);
 2050|      0|            goto error;
 2051|      0|        }
 2052|     22|        self->write_pos += n;
 2053|     22|        self->raw_pos = self->write_pos;
 2054|       |        /* Partial writes can return successfully when interrupted by a
 2055|       |           signal (see write(2)).  We must run signal handlers before
 2056|       |           blocking another time, possibly indefinitely. */
 2057|     22|        if (PyErr_CheckSignals() < 0)
  ------------------
  |  Branch (2057:13): [True: 0, False: 22]
  ------------------
 2058|      0|            goto error;
 2059|     22|    }
 2060|       |
 2061|       |
 2062|     22|end:
 2063|       |    /* This ensures that after return from this function,
 2064|       |       VALID_WRITE_BUFFER(self) returns false.
 2065|       |
 2066|       |       This is a required condition because when a tell() is called
 2067|       |       after flushing and if VALID_READ_BUFFER(self) is false, we need
 2068|       |       VALID_WRITE_BUFFER(self) to be false to have
 2069|       |       RAW_OFFSET(self) == 0.
 2070|       |
 2071|       |       Issue: https://bugs.python.org/issue32228 */
 2072|     22|    _bufferedwriter_reset_buf(self);
 2073|     22|    Py_RETURN_NONE;
  ------------------
  |  |  628|     22|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     22|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 2074|       |
 2075|      0|error:
 2076|       |    return NULL;
 2077|     22|}
bufferedio.c:_bufferedwriter_raw_write:
 1978|     22|{
 1979|     22|    Py_buffer buf;
 1980|     22|    PyObject *memobj, *res;
 1981|     22|    Py_ssize_t n;
 1982|     22|    int errnum;
 1983|       |    /* NOTE: the buffer needn't be released as its object is NULL. */
 1984|     22|    if (PyBuffer_FillInfo(&buf, NULL, start, len, 1, PyBUF_CONTIG_RO) == -1)
  ------------------
  |  |  125|     22|#define PyBUF_CONTIG_RO (PyBUF_ND)
  |  |  ------------------
  |  |  |  |  117|     22|#define PyBUF_ND 0x0008
  |  |  ------------------
  ------------------
  |  Branch (1984:9): [True: 0, False: 22]
  ------------------
 1985|      0|        return -1;
 1986|     22|    memobj = PyMemoryView_FromBuffer(&buf);
 1987|     22|    if (memobj == NULL)
  ------------------
  |  Branch (1987:9): [True: 0, False: 22]
  ------------------
 1988|      0|        return -1;
 1989|       |    /* NOTE: PyErr_SetFromErrno() calls PyErr_CheckSignals() when EINTR
 1990|       |       occurs so we needn't do it ourselves.
 1991|       |       We then retry writing, ignoring the signal if no handler has
 1992|       |       raised (see issue #10956).
 1993|       |    */
 1994|     22|    do {
 1995|     22|        errno = 0;
 1996|     22|        res = PyObject_CallMethodOneArg(self->raw, &_Py_ID(write), memobj);
  ------------------
  |  |  936|     22|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     22|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     22|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1997|     22|        errnum = errno;
 1998|     22|    } while (res == NULL && _PyIO_trap_eintr());
  ------------------
  |  Branch (1998:14): [True: 0, False: 22]
  |  Branch (1998:29): [True: 0, False: 0]
  ------------------
 1999|     22|    Py_DECREF(memobj);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2000|     22|    if (res == NULL)
  ------------------
  |  Branch (2000:9): [True: 0, False: 22]
  ------------------
 2001|      0|        return -1;
 2002|     22|    if (res == Py_None) {
  ------------------
  |  |  616|     22|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2002:9): [True: 0, False: 22]
  ------------------
 2003|       |        /* Non-blocking stream would have blocked. Special return code!
 2004|       |           Being paranoid we reset errno in case it is changed by code
 2005|       |           triggered by a decref.  errno is used by _set_BlockingIOError(). */
 2006|      0|        Py_DECREF(res);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2007|      0|        errno = errnum;
 2008|      0|        return -2;
 2009|      0|    }
 2010|     22|    n = PyNumber_AsSsize_t(res, PyExc_ValueError);
 2011|     22|    Py_DECREF(res);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2012|     22|    if (n < 0 || n > len) {
  ------------------
  |  Branch (2012:9): [True: 0, False: 22]
  |  Branch (2012:18): [True: 0, False: 22]
  ------------------
 2013|      0|        PyErr_Format(PyExc_OSError,
 2014|      0|                     "raw write() returned invalid length %zd "
 2015|      0|                     "(should have been between 0 and %zd)", n, len);
 2016|      0|        return -1;
 2017|      0|    }
 2018|     22|    if (n > 0 && self->abs_pos != -1)
  ------------------
  |  Branch (2018:9): [True: 22, False: 0]
  |  Branch (2018:18): [True: 22, False: 0]
  ------------------
 2019|     22|        self->abs_pos += n;
 2020|     22|    return n;
 2021|     22|}
bufferedio.c:_bufferedwriter_reset_buf:
 1926|     26|{
 1927|     26|    self->write_pos = 0;
 1928|     26|    self->write_end = -1;
 1929|     26|}
bufferedio.c:_bufferedreader_reset_buf:
 1579|     56|{
 1580|     56|    self->read_end = -1;
 1581|     56|}
bufferedio.c:_io__Buffered_simple_flush_impl:
  515|     27|{
  516|     27|    CHECK_INITIALIZED(self)
  ------------------
  |  |  341|     27|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (341:9): [True: 0, False: 27]
  |  |  ------------------
  |  |  342|      0|        if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (342:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  343|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  344|      0|                 "raw stream has been detached"); \
  |  |  345|      0|        } else { \
  |  |  346|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  347|      0|                "I/O operation on uninitialized object"); \
  |  |  348|      0|        } \
  |  |  349|      0|        return NULL; \
  |  |  350|      0|    }
  ------------------
  517|     27|    return PyObject_CallMethodNoArgs(self->raw, &_Py_ID(flush));
  ------------------
  |  |  936|     27|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     27|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     27|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  518|     27|}
bufferedio.c:_io__Buffered_close_impl:
  556|     27|{
  557|     27|    PyObject *res = NULL;
  558|     27|    int r;
  559|       |
  560|     27|    CHECK_INITIALIZED(self)
  ------------------
  |  |  341|     27|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (341:9): [True: 0, False: 27]
  |  |  ------------------
  |  |  342|      0|        if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (342:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  343|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  344|      0|                 "raw stream has been detached"); \
  |  |  345|      0|        } else { \
  |  |  346|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  347|      0|                "I/O operation on uninitialized object"); \
  |  |  348|      0|        } \
  |  |  349|      0|        return NULL; \
  |  |  350|      0|    }
  ------------------
  561|     27|    if (!ENTER_BUFFERED(self)) {
  ------------------
  |  |  330|     27|    ( (PyThread_acquire_lock(self->lock, 0) ? \
  |  |  ------------------
  |  |  |  Branch (330:7): [True: 27, False: 0]
  |  |  |  Branch (330:8): [True: 27, False: 0]
  |  |  ------------------
  |  |  331|     27|       1 : _enter_buffered_busy(self)) \
  |  |  332|     27|     && (self->owner = PyThread_get_thread_ident(), 1) )
  |  |  ------------------
  |  |  |  Branch (332:9): [True: 27, False: 0]
  |  |  ------------------
  ------------------
  562|      0|        return NULL;
  563|      0|    }
  564|       |    /* gh-138720: Use IS_CLOSED to match flush CHECK_CLOSED. */
  565|     27|    r = IS_CLOSED(self);
  ------------------
  |  |  365|     27|    (!self->buffer ? 1 : \
  |  |  ------------------
  |  |  |  Branch (365:6): [True: 0, False: 27]
  |  |  ------------------
  |  |  366|     27|    (self->fast_closed_checks \
  |  |  ------------------
  |  |  |  Branch (366:6): [True: 27, False: 0]
  |  |  ------------------
  |  |  367|     27|     ? _PyFileIO_closed(self->raw) \
  |  |  368|     27|     : buffered_closed(self)))
  ------------------
  566|     27|    if (r < 0)
  ------------------
  |  Branch (566:9): [True: 0, False: 27]
  ------------------
  567|      0|        goto end;
  568|     27|    if (r > 0) {
  ------------------
  |  Branch (568:9): [True: 0, False: 27]
  ------------------
  569|      0|        res = Py_NewRef(Py_None);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  570|      0|        goto end;
  571|      0|    }
  572|       |
  573|     27|    if (self->finalizing) {
  ------------------
  |  Branch (573:9): [True: 0, False: 27]
  ------------------
  574|      0|        PyObject *r = _io__Buffered__dealloc_warn_impl(self, (PyObject *)self);
  575|      0|        if (r)
  ------------------
  |  Branch (575:13): [True: 0, False: 0]
  ------------------
  576|      0|            Py_DECREF(r);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  577|      0|        else
  578|      0|            PyErr_Clear();
  579|      0|    }
  580|       |    /* flush() will most probably re-take the lock, so drop it first */
  581|     27|    LEAVE_BUFFERED(self)
  ------------------
  |  |  335|     27|    do { \
  |  |  336|     27|        self->owner = 0; \
  |  |  337|     27|        PyThread_release_lock(self->lock); \
  |  |  338|     27|    } while(0);
  |  |  ------------------
  |  |  |  Branch (338:13): [Folded, False: 27]
  |  |  ------------------
  ------------------
  582|     27|    r = _PyFile_Flush((PyObject *)self);
  583|     27|    if (!ENTER_BUFFERED(self)) {
  ------------------
  |  |  330|     27|    ( (PyThread_acquire_lock(self->lock, 0) ? \
  |  |  ------------------
  |  |  |  Branch (330:7): [True: 27, False: 0]
  |  |  |  Branch (330:8): [True: 27, False: 0]
  |  |  ------------------
  |  |  331|     27|       1 : _enter_buffered_busy(self)) \
  |  |  332|     27|     && (self->owner = PyThread_get_thread_ident(), 1) )
  |  |  ------------------
  |  |  |  Branch (332:9): [True: 27, False: 0]
  |  |  ------------------
  ------------------
  584|      0|        return NULL;
  585|      0|    }
  586|     27|    PyObject *exc = NULL;
  587|     27|    if (r < 0) {
  ------------------
  |  Branch (587:9): [True: 0, False: 27]
  ------------------
  588|      0|        exc = PyErr_GetRaisedException();
  589|      0|    }
  590|       |
  591|     27|    res = PyObject_CallMethodNoArgs(self->raw, &_Py_ID(close));
  ------------------
  |  |  936|     27|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     27|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     27|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  592|       |
  593|     27|    if (self->buffer) {
  ------------------
  |  Branch (593:9): [True: 27, False: 0]
  ------------------
  594|     27|        PyMem_Free(self->buffer);
  595|     27|        self->buffer = NULL;
  596|     27|    }
  597|       |
  598|     27|    if (exc != NULL) {
  ------------------
  |  Branch (598:9): [True: 0, False: 27]
  ------------------
  599|      0|        _PyErr_ChainExceptions1(exc);
  600|      0|        Py_CLEAR(res);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  601|      0|    }
  602|       |
  603|     27|    self->read_end = 0;
  604|     27|    self->pos = 0;
  605|       |
  606|     27|end:
  607|     27|    LEAVE_BUFFERED(self)
  ------------------
  |  |  335|     27|    do { \
  |  |  336|     27|        self->owner = 0; \
  |  |  337|     27|        PyThread_release_lock(self->lock); \
  |  |  338|     27|    } while(0);
  |  |  ------------------
  |  |  |  Branch (338:13): [Folded, False: 27]
  |  |  ------------------
  ------------------
  608|     27|    return res;
  609|     27|}
bufferedio.c:_io__Buffered_seekable_impl:
  642|      6|{
  643|      6|    CHECK_INITIALIZED(self)
  ------------------
  |  |  341|      6|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (341:9): [True: 0, False: 6]
  |  |  ------------------
  |  |  342|      0|        if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (342:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  343|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  344|      0|                 "raw stream has been detached"); \
  |  |  345|      0|        } else { \
  |  |  346|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  347|      0|                "I/O operation on uninitialized object"); \
  |  |  348|      0|        } \
  |  |  349|      0|        return NULL; \
  |  |  350|      0|    }
  ------------------
  644|      6|    return PyObject_CallMethodNoArgs(self->raw, &_Py_ID(seekable));
  ------------------
  |  |  936|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  645|      6|}
bufferedio.c:_io__Buffered_readable_impl:
  655|      2|{
  656|      2|    CHECK_INITIALIZED(self)
  ------------------
  |  |  341|      2|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (341:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  342|      0|        if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (342:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  343|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  344|      0|                 "raw stream has been detached"); \
  |  |  345|      0|        } else { \
  |  |  346|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  347|      0|                "I/O operation on uninitialized object"); \
  |  |  348|      0|        } \
  |  |  349|      0|        return NULL; \
  |  |  350|      0|    }
  ------------------
  657|      2|    return PyObject_CallMethodNoArgs(self->raw, &_Py_ID(readable));
  ------------------
  |  |  936|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  658|      2|}
bufferedio.c:_io__Buffered_read_impl:
  994|     27|{
  995|     27|    PyObject *res;
  996|       |
  997|     27|    CHECK_INITIALIZED(self)
  ------------------
  |  |  341|     27|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (341:9): [True: 0, False: 27]
  |  |  ------------------
  |  |  342|      0|        if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (342:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  343|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  344|      0|                 "raw stream has been detached"); \
  |  |  345|      0|        } else { \
  |  |  346|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  347|      0|                "I/O operation on uninitialized object"); \
  |  |  348|      0|        } \
  |  |  349|      0|        return NULL; \
  |  |  350|      0|    }
  ------------------
  998|     27|    if (n < -1) {
  ------------------
  |  Branch (998:9): [True: 0, False: 27]
  ------------------
  999|      0|        PyErr_SetString(PyExc_ValueError,
 1000|      0|                        "read length must be non-negative or -1");
 1001|      0|        return NULL;
 1002|      0|    }
 1003|       |
 1004|     27|    CHECK_CLOSED(self, "read of closed file")
  ------------------
  |  |  371|     27|    do { \
  |  |  372|     27|        int _closed = IS_CLOSED(self); \
  |  |  ------------------
  |  |  |  |  365|     27|    (!self->buffer ? 1 : \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (365:6): [True: 0, False: 27]
  |  |  |  |  ------------------
  |  |  |  |  366|     27|    (self->fast_closed_checks \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (366:6): [True: 27, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  367|     27|     ? _PyFileIO_closed(self->raw) \
  |  |  |  |  368|     27|     : buffered_closed(self)))
  |  |  ------------------
  |  |  373|     27|        if (_closed < 0) { \
  |  |  ------------------
  |  |  |  Branch (373:13): [True: 0, False: 27]
  |  |  ------------------
  |  |  374|      0|            return NULL; \
  |  |  375|      0|        } \
  |  |  376|     27|        if (_closed && \
  |  |  ------------------
  |  |  |  Branch (376:13): [True: 0, False: 27]
  |  |  ------------------
  |  |  377|     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 (377:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  378|     27|        { \
  |  |  379|      0|            PyErr_SetString(PyExc_ValueError, error_msg); \
  |  |  380|      0|            return NULL; \
  |  |  381|      0|        } \
  |  |  382|     27|    } while (0);
  |  |  ------------------
  |  |  |  Branch (382:14): [Folded, False: 27]
  |  |  ------------------
  ------------------
 1005|       |
 1006|     27|    if (n == -1) {
  ------------------
  |  Branch (1006:9): [True: 27, False: 0]
  ------------------
 1007|       |        /* The number of bytes is unspecified, read until the end of stream */
 1008|     27|        if (!ENTER_BUFFERED(self))
  ------------------
  |  |  330|     27|    ( (PyThread_acquire_lock(self->lock, 0) ? \
  |  |  ------------------
  |  |  |  Branch (330:7): [True: 27, False: 0]
  |  |  |  Branch (330:8): [True: 27, False: 0]
  |  |  ------------------
  |  |  331|     27|       1 : _enter_buffered_busy(self)) \
  |  |  332|     27|     && (self->owner = PyThread_get_thread_ident(), 1) )
  |  |  ------------------
  |  |  |  Branch (332:9): [True: 27, False: 0]
  |  |  ------------------
  ------------------
 1009|      0|            return NULL;
 1010|     27|        res = _bufferedreader_read_all(self);
 1011|     27|    }
 1012|      0|    else {
 1013|      0|        res = _bufferedreader_read_fast(self, n);
 1014|      0|        if (res != Py_None)
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1014:13): [True: 0, False: 0]
  ------------------
 1015|      0|            return res;
 1016|      0|        Py_DECREF(res);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1017|      0|        if (!ENTER_BUFFERED(self))
  ------------------
  |  |  330|      0|    ( (PyThread_acquire_lock(self->lock, 0) ? \
  |  |  ------------------
  |  |  |  Branch (330:7): [True: 0, False: 0]
  |  |  |  Branch (330:8): [True: 0, False: 0]
  |  |  ------------------
  |  |  331|      0|       1 : _enter_buffered_busy(self)) \
  |  |  332|      0|     && (self->owner = PyThread_get_thread_ident(), 1) )
  |  |  ------------------
  |  |  |  Branch (332:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1018|      0|            return NULL;
 1019|      0|        res = _bufferedreader_read_generic(self, n);
 1020|      0|    }
 1021|       |
 1022|     27|    LEAVE_BUFFERED(self)
  ------------------
  |  |  335|     27|    do { \
  |  |  336|     27|        self->owner = 0; \
  |  |  337|     27|        PyThread_release_lock(self->lock); \
  |  |  338|     27|    } while(0);
  |  |  ------------------
  |  |  |  Branch (338:13): [Folded, False: 27]
  |  |  ------------------
  ------------------
 1023|     27|    return res;
 1024|     27|}
bufferedio.c:_bufferedreader_read_all:
 1691|     27|{
 1692|     27|    Py_ssize_t current_size;
 1693|     27|    PyObject *res = NULL, *data = NULL, *tmp = NULL, *chunks = NULL, *readall;
 1694|       |
 1695|       |    /* First copy what we have in the current buffer. */
 1696|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1697|     27|    if (current_size) {
  ------------------
  |  Branch (1697:9): [True: 0, False: 27]
  ------------------
 1698|      0|        data = PyBytes_FromStringAndSize(
 1699|      0|            self->buffer + self->pos, current_size);
 1700|      0|        if (data == NULL)
  ------------------
  |  Branch (1700:13): [True: 0, False: 0]
  ------------------
 1701|      0|            return NULL;
 1702|      0|        self->pos += current_size;
 1703|      0|    }
 1704|       |    /* We're going past the buffer's bounds, flush it */
 1705|     27|    if (self->writable) {
  ------------------
  |  Branch (1705:9): [True: 0, False: 27]
  ------------------
 1706|      0|        tmp = buffered_flush_and_rewind_unlocked(self);
 1707|      0|        if (tmp == NULL)
  ------------------
  |  Branch (1707:13): [True: 0, False: 0]
  ------------------
 1708|      0|            goto cleanup;
 1709|      0|        Py_CLEAR(tmp);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1710|      0|    }
 1711|     27|    _bufferedreader_reset_buf(self);
 1712|       |
 1713|     27|    if (PyObject_GetOptionalAttr(self->raw, &_Py_ID(readall), &readall) < 0) {
  ------------------
  |  |  936|     27|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     27|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     27|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1713:9): [True: 0, False: 27]
  ------------------
 1714|      0|        goto cleanup;
 1715|      0|    }
 1716|     27|    if (readall) {
  ------------------
  |  Branch (1716:9): [True: 27, False: 0]
  ------------------
 1717|     27|        tmp = _PyObject_CallNoArgs(readall);
 1718|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1719|     27|        if (tmp == NULL)
  ------------------
  |  Branch (1719:13): [True: 0, False: 27]
  ------------------
 1720|      0|            goto cleanup;
 1721|     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 (1721:13): [True: 27, False: 0]
  |  Branch (1721:31): [True: 0, False: 27]
  ------------------
 1722|      0|            PyErr_SetString(PyExc_TypeError, "readall() should return bytes");
 1723|      0|            goto cleanup;
 1724|      0|        }
 1725|     27|        if (current_size == 0) {
  ------------------
  |  Branch (1725:13): [True: 27, False: 0]
  ------------------
 1726|     27|            res = tmp;
 1727|     27|        } else {
 1728|      0|            if (tmp != Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1728:17): [True: 0, False: 0]
  ------------------
 1729|      0|                PyBytes_Concat(&data, tmp);
 1730|      0|            }
 1731|      0|            res = data;
 1732|      0|        }
 1733|     27|        goto cleanup;
 1734|     27|    }
 1735|       |
 1736|      0|    chunks = PyList_New(0);
 1737|      0|    if (chunks == NULL)
  ------------------
  |  Branch (1737:9): [True: 0, False: 0]
  ------------------
 1738|      0|        goto cleanup;
 1739|       |
 1740|      0|    while (1) {
  ------------------
  |  Branch (1740:12): [True: 0, Folded]
  ------------------
 1741|      0|        if (data) {
  ------------------
  |  Branch (1741:13): [True: 0, False: 0]
  ------------------
 1742|      0|            if (PyList_Append(chunks, data) < 0)
  ------------------
  |  Branch (1742:17): [True: 0, False: 0]
  ------------------
 1743|      0|                goto cleanup;
 1744|      0|            Py_CLEAR(data);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1745|      0|        }
 1746|       |
 1747|       |        /* Read until EOF or until read() would block. */
 1748|      0|        data = PyObject_CallMethodNoArgs(self->raw, &_Py_ID(read));
  ------------------
  |  |  936|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1749|      0|        if (data == NULL)
  ------------------
  |  Branch (1749:13): [True: 0, False: 0]
  ------------------
 1750|      0|            goto cleanup;
 1751|      0|        if (data != Py_None && !PyBytes_Check(data)) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
                      if (data != Py_None && !PyBytes_Check(data)) {
  ------------------
  |  |   28|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1751:13): [True: 0, False: 0]
  |  Branch (1751:32): [True: 0, False: 0]
  ------------------
 1752|      0|            PyErr_SetString(PyExc_TypeError, "read() should return bytes");
 1753|      0|            goto cleanup;
 1754|      0|        }
 1755|      0|        if (data == Py_None || PyBytes_GET_SIZE(data) == 0) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
                      if (data == Py_None || PyBytes_GET_SIZE(data) == 0) {
  ------------------
  |  |   33|      0|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1755:13): [True: 0, False: 0]
  |  Branch (1755:32): [True: 0, False: 0]
  ------------------
 1756|      0|            if (current_size == 0) {
  ------------------
  |  Branch (1756:17): [True: 0, False: 0]
  ------------------
 1757|      0|                res = data;
 1758|      0|                goto cleanup;
 1759|      0|            }
 1760|      0|            else {
 1761|      0|                tmp = PyBytes_Join((PyObject *)&_Py_SINGLETON(bytes_empty), chunks);
  ------------------
  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
 1762|      0|                res = tmp;
 1763|      0|                goto cleanup;
 1764|      0|            }
 1765|      0|        }
 1766|      0|        current_size += PyBytes_GET_SIZE(data);
  ------------------
  |  |   33|      0|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1767|      0|        if (self->abs_pos != -1)
  ------------------
  |  Branch (1767:13): [True: 0, False: 0]
  ------------------
 1768|      0|            self->abs_pos += PyBytes_GET_SIZE(data);
  ------------------
  |  |   33|      0|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1769|      0|    }
 1770|     27|cleanup:
 1771|       |    /* res is either NULL or a borrowed ref */
 1772|     27|    Py_XINCREF(res);
  ------------------
  |  |  514|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1773|     27|    Py_XDECREF(data);
  ------------------
  |  |  524|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1774|     27|    Py_XDECREF(tmp);
  ------------------
  |  |  524|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1775|     27|    Py_XDECREF(chunks);
  ------------------
  |  |  524|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1776|     27|    return res;
 1777|      0|}
bufferedio.c:_buffered_raw_tell:
  785|     37|{
  786|     37|    Py_off_t n;
  787|     37|    PyObject *res;
  788|     37|    res = PyObject_CallMethodNoArgs(self->raw, &_Py_ID(tell));
  ------------------
  |  |  936|     37|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     37|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     37|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  789|     37|    if (res == NULL)
  ------------------
  |  Branch (789:9): [True: 0, False: 37]
  ------------------
  790|      0|        return -1;
  791|     37|    n = PyNumber_AsOff_t(res, PyExc_ValueError);
  792|     37|    Py_DECREF(res);
  ------------------
  |  |  430|     37|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     37|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     37|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  793|     37|    if (n < 0) {
  ------------------
  |  Branch (793:9): [True: 0, False: 37]
  ------------------
  794|      0|        if (!PyErr_Occurred())
  ------------------
  |  Branch (794:13): [True: 0, False: 0]
  ------------------
  795|      0|            PyErr_Format(PyExc_OSError,
  796|      0|                         "Raw stream returned invalid position %" PY_PRIdOFF,
  ------------------
  |  |  114|      0|# define PY_PRIdOFF         "zd"
  ------------------
  797|      0|                         (PY_OFF_T_COMPAT)n);
  798|      0|        return -1;
  799|      0|    }
  800|     37|    self->abs_pos = n;
  801|     37|    return n;
  802|     37|}
bufferedio.c:_io__Buffered_tell_impl:
 1337|      4|{
 1338|      4|    Py_off_t pos;
 1339|       |
 1340|      4|    CHECK_INITIALIZED(self)
  ------------------
  |  |  341|      4|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (341:9): [True: 0, False: 4]
  |  |  ------------------
  |  |  342|      0|        if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (342:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  343|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  344|      0|                 "raw stream has been detached"); \
  |  |  345|      0|        } else { \
  |  |  346|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  347|      0|                "I/O operation on uninitialized object"); \
  |  |  348|      0|        } \
  |  |  349|      0|        return NULL; \
  |  |  350|      0|    }
  ------------------
 1341|      4|    pos = _buffered_raw_tell(self);
 1342|      4|    if (pos == -1)
  ------------------
  |  Branch (1342:9): [True: 0, False: 4]
  ------------------
 1343|      0|        return NULL;
 1344|      4|    pos -= RAW_OFFSET(self);
  ------------------
  |  |  402|      4|    (((VALID_READ_BUFFER(self) || VALID_WRITE_BUFFER(self)) \
  |  |  ------------------
  |  |  |  |  385|      8|    (self->readable && self->read_end != -1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (385:6): [True: 0, False: 4]
  |  |  |  |  |  Branch (385:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (((VALID_READ_BUFFER(self) || VALID_WRITE_BUFFER(self)) \
  |  |  ------------------
  |  |  |  |  388|      4|    (self->writable && self->write_end != -1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (388:6): [True: 4, False: 0]
  |  |  |  |  |  Branch (388:24): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  403|      4|        && self->raw_pos >= 0) ? self->raw_pos - self->pos : 0)
  |  |  ------------------
  |  |  |  Branch (403:12): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1345|       |
 1346|       |    // GH-95782
 1347|      4|    if (pos < 0)
  ------------------
  |  Branch (1347:9): [True: 0, False: 4]
  ------------------
 1348|      0|        pos = 0;
 1349|       |
 1350|      4|    return PyLong_FromOff_t(pos);
  ------------------
  |  |  110|      4|# define PyLong_FromOff_t   PyLong_FromSsize_t
  ------------------
 1351|      4|}
bufferedio.c:_io__Buffered_closed_get_impl:
  543|     54|{
  544|     54|    CHECK_INITIALIZED(self)
  ------------------
  |  |  341|     54|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (341:9): [True: 0, False: 54]
  |  |  ------------------
  |  |  342|      0|        if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (342:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  343|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  344|      0|                 "raw stream has been detached"); \
  |  |  345|      0|        } else { \
  |  |  346|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  347|      0|                "I/O operation on uninitialized object"); \
  |  |  348|      0|        } \
  |  |  349|      0|        return NULL; \
  |  |  350|      0|    }
  ------------------
  545|     54|    return PyObject_GetAttr(self->raw, &_Py_ID(closed));
  ------------------
  |  |  936|     54|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     54|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     54|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  546|     54|}
bufferedio.c:_io_BufferedReader___init___impl:
 1595|     29|{
 1596|     29|    self->ok = 0;
 1597|     29|    self->detached = 0;
 1598|       |
 1599|     29|    _PyIO_State *state = find_io_state_by_def(Py_TYPE(self));
  ------------------
  |  |  213|     29|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     29|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1600|     29|    if (_PyIOBase_check_readable(state, raw, Py_True) == NULL) {
  ------------------
  |  |   26|     29|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|     29|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1600:9): [True: 0, False: 29]
  ------------------
 1601|      0|        return -1;
 1602|      0|    }
 1603|       |
 1604|     29|    Py_XSETREF(self->raw, Py_NewRef(raw));
  ------------------
  |  |  376|     29|    do { \
  |  |  377|     29|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|     29|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|     29|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|     29|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|     29|        *_tmp_dst_ptr = (src); \
  |  |  380|     29|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|     29|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     29|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|     29|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 29]
  |  |  ------------------
  ------------------
 1605|     29|    self->buffer_size = buffer_size;
 1606|     29|    self->readable = 1;
 1607|     29|    self->writable = 0;
 1608|       |
 1609|     29|    if (_buffered_init(self) < 0)
  ------------------
  |  Branch (1609:9): [True: 0, False: 29]
  ------------------
 1610|      0|        return -1;
 1611|     29|    _bufferedreader_reset_buf(self);
 1612|       |
 1613|     29|    self->fast_closed_checks = (
 1614|     29|        Py_IS_TYPE(self, state->PyBufferedReader_Type) &&
  ------------------
  |  |  215|     58|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     29|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 29, False: 0]
  |  |  ------------------
  ------------------
 1615|     29|        Py_IS_TYPE(raw, state->PyFileIO_Type)
  ------------------
  |  |  215|     29|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     29|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 29, False: 0]
  |  |  ------------------
  ------------------
 1616|     29|    );
 1617|       |
 1618|     29|    self->ok = 1;
 1619|     29|    return 0;
 1620|     29|}
bufferedio.c:_buffered_init:
  839|     33|{
  840|     33|    Py_ssize_t n;
  841|     33|    if (self->buffer_size <= 0) {
  ------------------
  |  Branch (841:9): [True: 0, False: 33]
  ------------------
  842|      0|        PyErr_SetString(PyExc_ValueError,
  843|      0|            "buffer size must be strictly positive");
  844|      0|        return -1;
  845|      0|    }
  846|     33|    if (self->buffer)
  ------------------
  |  Branch (846:9): [True: 0, False: 33]
  ------------------
  847|      0|        PyMem_Free(self->buffer);
  848|     33|    self->buffer = PyMem_Malloc(self->buffer_size);
  849|     33|    if (self->buffer == NULL) {
  ------------------
  |  Branch (849:9): [True: 0, False: 33]
  ------------------
  850|      0|        PyErr_NoMemory();
  851|      0|        return -1;
  852|      0|    }
  853|     33|    if (self->lock)
  ------------------
  |  Branch (853:9): [True: 0, False: 33]
  ------------------
  854|      0|        PyThread_free_lock(self->lock);
  855|     33|    self->lock = PyThread_allocate_lock();
  856|     33|    if (self->lock == NULL) {
  ------------------
  |  Branch (856:9): [True: 0, False: 33]
  ------------------
  857|      0|        PyErr_SetString(PyExc_RuntimeError, "can't allocate read lock");
  858|      0|        return -1;
  859|      0|    }
  860|     33|    self->owner = 0;
  861|       |    /* Find out whether buffer_size is a power of 2 */
  862|       |    /* XXX is this optimization useful? */
  863|    594|    for (n = self->buffer_size - 1; n & 1; n >>= 1)
  ------------------
  |  Branch (863:37): [True: 561, False: 33]
  ------------------
  864|    561|        ;
  865|     33|    if (n == 0)
  ------------------
  |  Branch (865:9): [True: 33, False: 0]
  ------------------
  866|     33|        self->buffer_mask = self->buffer_size - 1;
  867|      0|    else
  868|      0|        self->buffer_mask = 0;
  869|     33|    if (_buffered_raw_tell(self) == -1)
  ------------------
  |  Branch (869:9): [True: 0, False: 33]
  ------------------
  870|      0|        PyErr_Clear();
  871|     33|    return 0;
  872|     33|}
bufferedio.c:_io__Buffered_writable_impl:
  668|      4|{
  669|      4|    CHECK_INITIALIZED(self)
  ------------------
  |  |  341|      4|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (341:9): [True: 0, False: 4]
  |  |  ------------------
  |  |  342|      0|        if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (342:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  343|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  344|      0|                 "raw stream has been detached"); \
  |  |  345|      0|        } else { \
  |  |  346|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  347|      0|                "I/O operation on uninitialized object"); \
  |  |  348|      0|        } \
  |  |  349|      0|        return NULL; \
  |  |  350|      0|    }
  ------------------
  670|      4|    return PyObject_CallMethodNoArgs(self->raw, &_Py_ID(writable));
  ------------------
  |  |  936|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  671|      4|}
bufferedio.c:_io_BufferedWriter_write_impl:
 2089|     22|{
 2090|     22|    PyObject *res = NULL;
 2091|     22|    Py_ssize_t written, avail, remaining;
 2092|     22|    Py_off_t offset;
 2093|     22|    int r;
 2094|       |
 2095|     22|    CHECK_INITIALIZED(self)
  ------------------
  |  |  341|     22|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (341:9): [True: 0, False: 22]
  |  |  ------------------
  |  |  342|      0|        if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (342:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  343|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  344|      0|                 "raw stream has been detached"); \
  |  |  345|      0|        } else { \
  |  |  346|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  347|      0|                "I/O operation on uninitialized object"); \
  |  |  348|      0|        } \
  |  |  349|      0|        return NULL; \
  |  |  350|      0|    }
  ------------------
 2096|       |
 2097|     22|    if (!ENTER_BUFFERED(self))
  ------------------
  |  |  330|     22|    ( (PyThread_acquire_lock(self->lock, 0) ? \
  |  |  ------------------
  |  |  |  Branch (330:7): [True: 22, False: 0]
  |  |  |  Branch (330:8): [True: 22, False: 0]
  |  |  ------------------
  |  |  331|     22|       1 : _enter_buffered_busy(self)) \
  |  |  332|     22|     && (self->owner = PyThread_get_thread_ident(), 1) )
  |  |  ------------------
  |  |  |  Branch (332:9): [True: 22, False: 0]
  |  |  ------------------
  ------------------
 2098|      0|        return NULL;
 2099|       |
 2100|       |    /* Issue #31976: Check for closed file after acquiring the lock. Another
 2101|       |       thread could be holding the lock while closing the file. */
 2102|     22|    r = IS_CLOSED(self);
  ------------------
  |  |  365|     22|    (!self->buffer ? 1 : \
  |  |  ------------------
  |  |  |  Branch (365:6): [True: 0, False: 22]
  |  |  ------------------
  |  |  366|     22|    (self->fast_closed_checks \
  |  |  ------------------
  |  |  |  Branch (366:6): [True: 22, False: 0]
  |  |  ------------------
  |  |  367|     22|     ? _PyFileIO_closed(self->raw) \
  |  |  368|     22|     : buffered_closed(self)))
  ------------------
 2103|     22|    if (r < 0) {
  ------------------
  |  Branch (2103:9): [True: 0, False: 22]
  ------------------
 2104|      0|        goto error;
 2105|      0|    }
 2106|     22|    if (r > 0) {
  ------------------
  |  Branch (2106:9): [True: 0, False: 22]
  ------------------
 2107|      0|        PyErr_SetString(PyExc_ValueError, "write to closed file");
 2108|      0|        goto error;
 2109|      0|    }
 2110|       |
 2111|       |    /* Fast path: the data to write can be fully buffered. */
 2112|     22|    if (!VALID_READ_BUFFER(self) && !VALID_WRITE_BUFFER(self)) {
  ------------------
  |  |  385|     44|    (self->readable && self->read_end != -1)
  |  |  ------------------
  |  |  |  Branch (385:6): [True: 0, False: 22]
  |  |  |  Branch (385:24): [True: 0, False: 0]
  |  |  ------------------
  ------------------
                  if (!VALID_READ_BUFFER(self) && !VALID_WRITE_BUFFER(self)) {
  ------------------
  |  |  388|     22|    (self->writable && self->write_end != -1)
  |  |  ------------------
  |  |  |  Branch (388:6): [True: 22, False: 0]
  |  |  |  Branch (388:24): [True: 0, False: 22]
  |  |  ------------------
  ------------------
 2113|     22|        self->pos = 0;
 2114|     22|        self->raw_pos = 0;
 2115|     22|    }
 2116|     22|    avail = Py_SAFE_DOWNCAST(self->buffer_size - self->pos, Py_off_t, Py_ssize_t);
  ------------------
  |  |  247|     22|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  ------------------
  |  |  |  |   34|     22|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2117|     22|    if (buffer->len <= avail && buffer->len < self->buffer_size) {
  ------------------
  |  Branch (2117:9): [True: 22, False: 0]
  |  Branch (2117:33): [True: 22, False: 0]
  ------------------
 2118|     22|        memcpy(self->buffer + self->pos, buffer->buf, buffer->len);
 2119|     22|        if (!VALID_WRITE_BUFFER(self) || self->write_pos > self->pos) {
  ------------------
  |  |  388|     44|    (self->writable && self->write_end != -1)
  |  |  ------------------
  |  |  |  Branch (388:6): [True: 22, False: 0]
  |  |  |  Branch (388:24): [True: 0, False: 22]
  |  |  ------------------
  ------------------
  |  Branch (2119:42): [True: 0, False: 0]
  ------------------
 2120|     22|            self->write_pos = self->pos;
 2121|     22|        }
 2122|     22|        ADJUST_POSITION(self, self->pos + buffer->len);
  ------------------
  |  |  391|     22|    do { \
  |  |  392|     22|        self->pos = _new_pos; \
  |  |  393|     22|        if (VALID_READ_BUFFER(self) && self->read_end < self->pos) \
  |  |  ------------------
  |  |  |  |  385|     44|    (self->readable && self->read_end != -1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (385:6): [True: 0, False: 22]
  |  |  |  |  |  Branch (385:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (393:40): [True: 0, False: 0]
  |  |  ------------------
  |  |  394|     22|            self->read_end = self->pos; \
  |  |  395|     22|    } while(0)
  |  |  ------------------
  |  |  |  Branch (395:13): [Folded, False: 22]
  |  |  ------------------
  ------------------
 2123|     22|        if (self->pos > self->write_end)
  ------------------
  |  Branch (2123:13): [True: 22, False: 0]
  ------------------
 2124|     22|            self->write_end = self->pos;
 2125|     22|        written = buffer->len;
 2126|     22|        goto end;
 2127|     22|    }
 2128|       |
 2129|       |    /* First write the current buffer */
 2130|      0|    res = _bufferedwriter_flush_unlocked(self);
 2131|      0|    if (res == NULL) {
  ------------------
  |  Branch (2131:9): [True: 0, False: 0]
  ------------------
 2132|      0|        Py_ssize_t *w = _buffered_check_blocking_error();
 2133|      0|        if (w == NULL)
  ------------------
  |  Branch (2133:13): [True: 0, False: 0]
  ------------------
 2134|      0|            goto error;
 2135|      0|        if (self->readable)
  ------------------
  |  Branch (2135:13): [True: 0, False: 0]
  ------------------
 2136|      0|            _bufferedreader_reset_buf(self);
 2137|       |        /* Make some place by shifting the buffer. */
 2138|      0|        assert(VALID_WRITE_BUFFER(self));
  ------------------
  |  Branch (2138:9): [True: 0, False: 0]
  |  Branch (2138:9): [True: 0, False: 0]
  ------------------
 2139|      0|        memmove(self->buffer, self->buffer + self->write_pos,
 2140|      0|                Py_SAFE_DOWNCAST(self->write_end - self->write_pos,
  ------------------
  |  |  247|      0|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2141|      0|                                 Py_off_t, Py_ssize_t));
 2142|      0|        self->write_end -= self->write_pos;
 2143|      0|        self->raw_pos -= self->write_pos;
 2144|      0|        self->pos -= self->write_pos;
 2145|      0|        self->write_pos = 0;
 2146|      0|        avail = Py_SAFE_DOWNCAST(self->buffer_size - self->write_end,
  ------------------
  |  |  247|      0|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2147|      0|                                 Py_off_t, Py_ssize_t);
 2148|      0|        if (buffer->len <= avail) {
  ------------------
  |  Branch (2148:13): [True: 0, False: 0]
  ------------------
 2149|       |            /* Everything can be buffered */
 2150|      0|            PyErr_Clear();
 2151|      0|            memcpy(self->buffer + self->write_end, buffer->buf, buffer->len);
 2152|      0|            self->write_end += buffer->len;
 2153|      0|            self->pos += buffer->len;
 2154|      0|            written = buffer->len;
 2155|      0|            goto end;
 2156|      0|        }
 2157|       |        /* Buffer as much as possible. */
 2158|      0|        memcpy(self->buffer + self->write_end, buffer->buf, avail);
 2159|      0|        self->write_end += avail;
 2160|      0|        self->pos += avail;
 2161|       |        /* XXX Modifying the existing exception e using the pointer w
 2162|       |           will change e.characters_written but not e.args[2].
 2163|       |           Therefore we just replace with a new error. */
 2164|      0|        _set_BlockingIOError("write could not complete without blocking",
 2165|      0|                             avail);
 2166|      0|        goto error;
 2167|      0|    }
 2168|      0|    Py_CLEAR(res);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2169|       |
 2170|       |    /* Adjust the raw stream position if it is away from the logical stream
 2171|       |       position. This happens if the read buffer has been filled but not
 2172|       |       modified (and therefore _bufferedwriter_flush_unlocked() didn't rewind
 2173|       |       the raw stream by itself).
 2174|       |       Fixes issue #6629.
 2175|       |    */
 2176|      0|    offset = RAW_OFFSET(self);
  ------------------
  |  |  402|      0|    (((VALID_READ_BUFFER(self) || VALID_WRITE_BUFFER(self)) \
  |  |  ------------------
  |  |  |  |  385|      0|    (self->readable && self->read_end != -1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (385:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (385:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (((VALID_READ_BUFFER(self) || VALID_WRITE_BUFFER(self)) \
  |  |  ------------------
  |  |  |  |  388|      0|    (self->writable && self->write_end != -1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (388:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (388:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  403|      0|        && self->raw_pos >= 0) ? self->raw_pos - self->pos : 0)
  |  |  ------------------
  |  |  |  Branch (403:12): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2177|      0|    if (offset != 0) {
  ------------------
  |  Branch (2177:9): [True: 0, False: 0]
  ------------------
 2178|      0|        if (_buffered_raw_seek(self, -offset, 1) < 0)
  ------------------
  |  Branch (2178:13): [True: 0, False: 0]
  ------------------
 2179|      0|            goto error;
 2180|      0|        self->raw_pos -= offset;
 2181|      0|    }
 2182|       |
 2183|       |    /* Then write buf itself. At this point the buffer has been emptied. */
 2184|      0|    remaining = buffer->len;
 2185|      0|    written = 0;
 2186|      0|    while (remaining >= self->buffer_size) {
  ------------------
  |  Branch (2186:12): [True: 0, False: 0]
  ------------------
 2187|      0|        Py_ssize_t n = _bufferedwriter_raw_write(
 2188|      0|            self, (char *) buffer->buf + written, buffer->len - written);
 2189|      0|        if (n == -1) {
  ------------------
  |  Branch (2189:13): [True: 0, False: 0]
  ------------------
 2190|      0|            goto error;
 2191|      0|        } else if (n == -2) {
  ------------------
  |  Branch (2191:20): [True: 0, False: 0]
  ------------------
 2192|       |            /* Write failed because raw file is non-blocking */
 2193|      0|            if (remaining > self->buffer_size) {
  ------------------
  |  Branch (2193:17): [True: 0, False: 0]
  ------------------
 2194|       |                /* Can't buffer everything, still buffer as much as possible */
 2195|      0|                memcpy(self->buffer,
 2196|      0|                       (char *) buffer->buf + written, self->buffer_size);
 2197|      0|                self->raw_pos = 0;
 2198|      0|                ADJUST_POSITION(self, self->buffer_size);
  ------------------
  |  |  391|      0|    do { \
  |  |  392|      0|        self->pos = _new_pos; \
  |  |  393|      0|        if (VALID_READ_BUFFER(self) && self->read_end < self->pos) \
  |  |  ------------------
  |  |  |  |  385|      0|    (self->readable && self->read_end != -1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (385:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (385:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (393:40): [True: 0, False: 0]
  |  |  ------------------
  |  |  394|      0|            self->read_end = self->pos; \
  |  |  395|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (395:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2199|      0|                self->write_end = self->buffer_size;
 2200|      0|                written += self->buffer_size;
 2201|      0|                _set_BlockingIOError("write could not complete without "
 2202|      0|                                     "blocking", written);
 2203|      0|                goto error;
 2204|      0|            }
 2205|      0|            PyErr_Clear();
 2206|      0|            break;
 2207|      0|        }
 2208|      0|        written += n;
 2209|      0|        remaining -= n;
 2210|       |        /* Partial writes can return successfully when interrupted by a
 2211|       |           signal (see write(2)).  We must run signal handlers before
 2212|       |           blocking another time, possibly indefinitely. */
 2213|      0|        if (PyErr_CheckSignals() < 0)
  ------------------
  |  Branch (2213:13): [True: 0, False: 0]
  ------------------
 2214|      0|            goto error;
 2215|      0|    }
 2216|      0|    if (self->readable)
  ------------------
  |  Branch (2216:9): [True: 0, False: 0]
  ------------------
 2217|      0|        _bufferedreader_reset_buf(self);
 2218|      0|    if (remaining > 0) {
  ------------------
  |  Branch (2218:9): [True: 0, False: 0]
  ------------------
 2219|      0|        memcpy(self->buffer, (char *) buffer->buf + written, remaining);
 2220|      0|        written += remaining;
 2221|      0|    }
 2222|      0|    self->write_pos = 0;
 2223|       |    /* TODO: sanity check (remaining >= 0) */
 2224|      0|    self->write_end = remaining;
 2225|      0|    ADJUST_POSITION(self, remaining);
  ------------------
  |  |  391|      0|    do { \
  |  |  392|      0|        self->pos = _new_pos; \
  |  |  393|      0|        if (VALID_READ_BUFFER(self) && self->read_end < self->pos) \
  |  |  ------------------
  |  |  |  |  385|      0|    (self->readable && self->read_end != -1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (385:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (385:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (393:40): [True: 0, False: 0]
  |  |  ------------------
  |  |  394|      0|            self->read_end = self->pos; \
  |  |  395|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (395:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2226|      0|    self->raw_pos = 0;
 2227|       |
 2228|     22|end:
 2229|     22|    res = PyLong_FromSsize_t(written);
 2230|       |
 2231|     22|error:
 2232|     22|    LEAVE_BUFFERED(self)
  ------------------
  |  |  335|     22|    do { \
  |  |  336|     22|        self->owner = 0; \
  |  |  337|     22|        PyThread_release_lock(self->lock); \
  |  |  338|     22|    } while(0);
  |  |  ------------------
  |  |  |  Branch (338:13): [Folded, False: 22]
  |  |  ------------------
  ------------------
 2233|     22|    return res;
 2234|     22|}
bufferedio.c:_io__Buffered_flush_impl:
  937|     22|{
  938|     22|    PyObject *res;
  939|       |
  940|     22|    CHECK_INITIALIZED(self)
  ------------------
  |  |  341|     22|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (341:9): [True: 0, False: 22]
  |  |  ------------------
  |  |  342|      0|        if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (342:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  343|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  344|      0|                 "raw stream has been detached"); \
  |  |  345|      0|        } else { \
  |  |  346|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  347|      0|                "I/O operation on uninitialized object"); \
  |  |  348|      0|        } \
  |  |  349|      0|        return NULL; \
  |  |  350|      0|    }
  ------------------
  941|     22|    CHECK_CLOSED(self, "flush of closed file")
  ------------------
  |  |  371|     22|    do { \
  |  |  372|     22|        int _closed = IS_CLOSED(self); \
  |  |  ------------------
  |  |  |  |  365|     22|    (!self->buffer ? 1 : \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (365:6): [True: 0, False: 22]
  |  |  |  |  ------------------
  |  |  |  |  366|     22|    (self->fast_closed_checks \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (366:6): [True: 22, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  367|     22|     ? _PyFileIO_closed(self->raw) \
  |  |  |  |  368|     22|     : buffered_closed(self)))
  |  |  ------------------
  |  |  373|     22|        if (_closed < 0) { \
  |  |  ------------------
  |  |  |  Branch (373:13): [True: 0, False: 22]
  |  |  ------------------
  |  |  374|      0|            return NULL; \
  |  |  375|      0|        } \
  |  |  376|     22|        if (_closed && \
  |  |  ------------------
  |  |  |  Branch (376:13): [True: 0, False: 22]
  |  |  ------------------
  |  |  377|     22|            (Py_SAFE_DOWNCAST(READAHEAD(self), Py_off_t, Py_ssize_t) == 0)) \
  |  |  ------------------
  |  |  |  |  247|      0|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (377:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  378|     22|        { \
  |  |  379|      0|            PyErr_SetString(PyExc_ValueError, error_msg); \
  |  |  380|      0|            return NULL; \
  |  |  381|      0|        } \
  |  |  382|     22|    } while (0);
  |  |  ------------------
  |  |  |  Branch (382:14): [Folded, False: 22]
  |  |  ------------------
  ------------------
  942|       |
  943|     22|    if (!ENTER_BUFFERED(self))
  ------------------
  |  |  330|     22|    ( (PyThread_acquire_lock(self->lock, 0) ? \
  |  |  ------------------
  |  |  |  Branch (330:7): [True: 22, False: 0]
  |  |  |  Branch (330:8): [True: 22, False: 0]
  |  |  ------------------
  |  |  331|     22|       1 : _enter_buffered_busy(self)) \
  |  |  332|     22|     && (self->owner = PyThread_get_thread_ident(), 1) )
  |  |  ------------------
  |  |  |  Branch (332:9): [True: 22, False: 0]
  |  |  ------------------
  ------------------
  944|      0|        return NULL;
  945|     22|    res = buffered_flush_and_rewind_unlocked(self);
  946|     22|    LEAVE_BUFFERED(self)
  ------------------
  |  |  335|     22|    do { \
  |  |  336|     22|        self->owner = 0; \
  |  |  337|     22|        PyThread_release_lock(self->lock); \
  |  |  338|     22|    } while(0);
  |  |  ------------------
  |  |  |  Branch (338:13): [Folded, False: 22]
  |  |  ------------------
  ------------------
  947|       |
  948|     22|    return res;
  949|     22|}
bufferedio.c:_io_BufferedWriter___init___impl:
 1947|      4|{
 1948|      4|    self->ok = 0;
 1949|      4|    self->detached = 0;
 1950|       |
 1951|      4|    _PyIO_State *state = find_io_state_by_def(Py_TYPE(self));
  ------------------
  |  |  213|      4|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1952|      4|    if (_PyIOBase_check_writable(state, raw, Py_True) == NULL) {
  ------------------
  |  |   26|      4|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1952:9): [True: 0, False: 4]
  ------------------
 1953|      0|        return -1;
 1954|      0|    }
 1955|       |
 1956|      4|    Py_INCREF(raw);
  ------------------
  |  |  310|      4|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1957|      4|    Py_XSETREF(self->raw, raw);
  ------------------
  |  |  376|      4|    do { \
  |  |  377|      4|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|      4|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|      4|        *_tmp_dst_ptr = (src); \
  |  |  380|      4|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
 1958|      4|    self->readable = 0;
 1959|      4|    self->writable = 1;
 1960|       |
 1961|      4|    self->buffer_size = buffer_size;
 1962|      4|    if (_buffered_init(self) < 0)
  ------------------
  |  Branch (1962:9): [True: 0, False: 4]
  ------------------
 1963|      0|        return -1;
 1964|      4|    _bufferedwriter_reset_buf(self);
 1965|      4|    self->pos = 0;
 1966|       |
 1967|      4|    self->fast_closed_checks = (
 1968|      4|        Py_IS_TYPE(self, state->PyBufferedWriter_Type) &&
  ------------------
  |  |  215|      8|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 4, False: 0]
  |  |  ------------------
  ------------------
 1969|      4|        Py_IS_TYPE(raw, state->PyFileIO_Type)
  ------------------
  |  |  215|      4|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 4, False: 0]
  |  |  ------------------
  ------------------
 1970|      4|    );
 1971|       |
 1972|      4|    self->ok = 1;
 1973|      4|    return 0;
 1974|      4|}

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

bufferedio.c:_io__Buffered_simple_flush:
  336|     27|{
  337|     27|    PyObject *return_value = NULL;
  338|       |
  339|     27|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|     27|    {
  ------------------
  340|     27|    return_value = _io__Buffered_simple_flush_impl((buffered *)self);
  341|     27|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     27|    }
  ------------------
  342|       |
  343|     27|    return return_value;
  344|     27|}
bufferedio.c:_io__Buffered_close:
  374|     27|{
  375|     27|    PyObject *return_value = NULL;
  376|       |
  377|     27|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|     27|    {
  ------------------
  378|     27|    return_value = _io__Buffered_close_impl((buffered *)self);
  379|     27|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     27|    }
  ------------------
  380|       |
  381|     27|    return return_value;
  382|     27|}
bufferedio.c:_io__Buffered_seekable:
  420|      6|{
  421|      6|    PyObject *return_value = NULL;
  422|       |
  423|      6|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      6|    {
  ------------------
  424|      6|    return_value = _io__Buffered_seekable_impl((buffered *)self);
  425|      6|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      6|    }
  ------------------
  426|       |
  427|      6|    return return_value;
  428|      6|}
bufferedio.c:_io__Buffered_readable:
  443|      2|{
  444|      2|    PyObject *return_value = NULL;
  445|       |
  446|      2|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      2|    {
  ------------------
  447|      2|    return_value = _io__Buffered_readable_impl((buffered *)self);
  448|      2|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      2|    }
  ------------------
  449|       |
  450|      2|    return return_value;
  451|      2|}
bufferedio.c:_io__Buffered_read:
  632|     27|{
  633|     27|    PyObject *return_value = NULL;
  634|     27|    Py_ssize_t n = -1;
  635|       |
  636|     27|    if (!_PyArg_CheckPositional("read", nargs, 0, 1)) {
  ------------------
  |  |   31|     27|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 27, False: 0]
  |  |  |  Branch (31:27): [True: 27, False: 0]
  |  |  ------------------
  |  |   32|     27|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  637|      0|        goto exit;
  638|      0|    }
  639|     27|    if (nargs < 1) {
  ------------------
  |  Branch (639:9): [True: 27, False: 0]
  ------------------
  640|     27|        goto skip_optional;
  641|     27|    }
  642|      0|    if (!_Py_convert_optional_to_ssize_t(args[0], &n)) {
  ------------------
  |  Branch (642:9): [True: 0, False: 0]
  ------------------
  643|      0|        goto exit;
  644|      0|    }
  645|     27|skip_optional:
  646|     27|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|     27|    {
  ------------------
  647|     27|    return_value = _io__Buffered_read_impl((buffered *)self, n);
  648|     27|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     27|    }
  ------------------
  649|       |
  650|     27|exit:
  651|     27|    return return_value;
  652|     27|}
bufferedio.c:_io__Buffered_tell:
  814|      4|{
  815|      4|    PyObject *return_value = NULL;
  816|       |
  817|      4|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      4|    {
  ------------------
  818|      4|    return_value = _io__Buffered_tell_impl((buffered *)self);
  819|      4|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      4|    }
  ------------------
  820|       |
  821|      4|    return return_value;
  822|      4|}
bufferedio.c:_io__Buffered_closed_get:
  351|     54|{
  352|     54|    PyObject *return_value = NULL;
  353|       |
  354|     54|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|     54|    {
  ------------------
  355|     54|    return_value = _io__Buffered_closed_get_impl((buffered *)self);
  356|     54|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     54|    }
  ------------------
  357|       |
  358|     54|    return return_value;
  359|     54|}
bufferedio.c:_io_BufferedReader___init__:
  923|     29|{
  924|     29|    int return_value = -1;
  925|     29|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  926|       |
  927|     29|    #define NUM_KEYWORDS 2
  928|     29|    static struct {
  929|     29|        PyGC_Head _this_is_not_used;
  930|     29|        PyObject_VAR_HEAD
  931|     29|        Py_hash_t ob_hash;
  932|     29|        PyObject *ob_item[NUM_KEYWORDS];
  933|     29|    } _kwtuple = {
  934|     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|    },
  ------------------
  935|     29|        .ob_hash = -1,
  936|     29|        .ob_item = { &_Py_ID(raw), &_Py_ID(buffer_size), },
  ------------------
  |  |  936|     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), },
  ------------------
  |  |  936|     29|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     29|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     29|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  937|     29|    };
  938|     29|    #undef NUM_KEYWORDS
  939|     29|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  940|       |
  941|       |    #else  // !Py_BUILD_CORE
  942|       |    #  define KWTUPLE NULL
  943|       |    #endif  // !Py_BUILD_CORE
  944|       |
  945|     29|    static const char * const _keywords[] = {"raw", "buffer_size", NULL};
  946|     29|    static _PyArg_Parser _parser = {
  947|     29|        .keywords = _keywords,
  948|     29|        .fname = "BufferedReader",
  949|     29|        .kwtuple = KWTUPLE,
  ------------------
  |  |  939|     29|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  950|     29|    };
  951|     29|    #undef KWTUPLE
  952|     29|    PyObject *argsbuf[2];
  953|     29|    PyObject * const *fastargs;
  954|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  955|     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 (955:36): [True: 0, False: 29]
  ------------------
  956|     29|    PyObject *raw;
  957|     29|    Py_ssize_t buffer_size = DEFAULT_BUFFER_SIZE;
  ------------------
  |  |   82|     29|#define DEFAULT_BUFFER_SIZE (128 * 1024)  /* bytes */
  ------------------
  958|       |
  959|     29|    fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser,
  ------------------
  |  |   88|     29|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 29, Folded]
  |  |  |  Branch (88:23): [True: 29, False: 0]
  |  |  |  Branch (88:43): [True: 0, Folded]
  |  |  ------------------
  |  |   89|     58|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 29, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 29]
  |  |  |  Branch (89:43): [True: 29, False: 0]
  |  |  |  Branch (89:67): [True: 29, False: 0]
  |  |  |  Branch (89:68): [True: 29, False: 0]
  |  |  ------------------
  |  |   90|     58|      (args) : \
  |  |  ------------------
  |  |  |  Branch (90:8): [True: 29, False: 0]
  |  |  ------------------
  |  |   91|     29|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |  ------------------
  |  |  |  Branch (91:29): [True: 0, False: 0]
  |  |  ------------------
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  960|     29|            /*minpos*/ 1, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  961|     29|    if (!fastargs) {
  ------------------
  |  Branch (961:9): [True: 0, False: 29]
  ------------------
  962|      0|        goto exit;
  963|      0|    }
  964|     29|    raw = fastargs[0];
  965|     29|    if (!noptargs) {
  ------------------
  |  Branch (965:9): [True: 0, False: 29]
  ------------------
  966|      0|        goto skip_optional_pos;
  967|      0|    }
  968|     29|    {
  969|     29|        Py_ssize_t ival = -1;
  970|     29|        PyObject *iobj = _PyNumber_Index(fastargs[1]);
  971|     29|        if (iobj != NULL) {
  ------------------
  |  Branch (971:13): [True: 29, False: 0]
  ------------------
  972|     29|            ival = PyLong_AsSsize_t(iobj);
  973|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  974|     29|        }
  975|     29|        if (ival == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (975:13): [True: 0, False: 29]
  |  Branch (975:27): [True: 0, False: 0]
  ------------------
  976|      0|            goto exit;
  977|      0|        }
  978|     29|        buffer_size = ival;
  979|     29|    }
  980|     29|skip_optional_pos:
  981|     29|    return_value = _io_BufferedReader___init___impl((buffered *)self, raw, buffer_size);
  982|       |
  983|     29|exit:
  984|     29|    return return_value;
  985|     29|}
bufferedio.c:_io__Buffered_writable:
  466|      4|{
  467|      4|    PyObject *return_value = NULL;
  468|       |
  469|      4|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      4|    {
  ------------------
  470|      4|    return_value = _io__Buffered_writable_impl((buffered *)self);
  471|      4|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      4|    }
  ------------------
  472|       |
  473|      4|    return return_value;
  474|      4|}
bufferedio.c:_io_BufferedWriter_write:
 1080|     22|{
 1081|     22|    PyObject *return_value = NULL;
 1082|     22|    Py_buffer buffer = {NULL, NULL};
 1083|       |
 1084|     22|    if (PyObject_GetBuffer(arg, &buffer, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|     22|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (1084:9): [True: 0, False: 22]
  ------------------
 1085|      0|        goto exit;
 1086|      0|    }
 1087|     22|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|     22|    {
  ------------------
 1088|     22|    return_value = _io_BufferedWriter_write_impl((buffered *)self, &buffer);
 1089|     22|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     22|    }
  ------------------
 1090|       |
 1091|     22|exit:
 1092|       |    /* Cleanup for buffer */
 1093|     22|    if (buffer.obj) {
  ------------------
  |  Branch (1093:9): [True: 22, False: 0]
  ------------------
 1094|     22|       PyBuffer_Release(&buffer);
 1095|     22|    }
 1096|       |
 1097|     22|    return return_value;
 1098|     22|}
bufferedio.c:_io__Buffered_flush:
  565|     22|{
  566|     22|    PyObject *return_value = NULL;
  567|       |
  568|     22|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|     22|    {
  ------------------
  569|     22|    return_value = _io__Buffered_flush_impl((buffered *)self);
  570|     22|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     22|    }
  ------------------
  571|       |
  572|     22|    return return_value;
  573|     22|}
bufferedio.c:_io_BufferedWriter___init__:
 1003|      4|{
 1004|      4|    int return_value = -1;
 1005|      4|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 1006|       |
 1007|      4|    #define NUM_KEYWORDS 2
 1008|      4|    static struct {
 1009|      4|        PyGC_Head _this_is_not_used;
 1010|      4|        PyObject_VAR_HEAD
 1011|      4|        Py_hash_t ob_hash;
 1012|      4|        PyObject *ob_item[NUM_KEYWORDS];
 1013|      4|    } _kwtuple = {
 1014|      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|    },
  ------------------
 1015|      4|        .ob_hash = -1,
 1016|      4|        .ob_item = { &_Py_ID(raw), &_Py_ID(buffer_size), },
  ------------------
  |  |  936|      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), },
  ------------------
  |  |  936|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1017|      4|    };
 1018|      4|    #undef NUM_KEYWORDS
 1019|      4|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 1020|       |
 1021|       |    #else  // !Py_BUILD_CORE
 1022|       |    #  define KWTUPLE NULL
 1023|       |    #endif  // !Py_BUILD_CORE
 1024|       |
 1025|      4|    static const char * const _keywords[] = {"raw", "buffer_size", NULL};
 1026|      4|    static _PyArg_Parser _parser = {
 1027|      4|        .keywords = _keywords,
 1028|      4|        .fname = "BufferedWriter",
 1029|      4|        .kwtuple = KWTUPLE,
  ------------------
  |  | 1019|      4|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 1030|      4|    };
 1031|      4|    #undef KWTUPLE
 1032|      4|    PyObject *argsbuf[2];
 1033|      4|    PyObject * const *fastargs;
 1034|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1035|      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 (1035:36): [True: 0, False: 4]
  ------------------
 1036|      4|    PyObject *raw;
 1037|      4|    Py_ssize_t buffer_size = DEFAULT_BUFFER_SIZE;
  ------------------
  |  |   82|      4|#define DEFAULT_BUFFER_SIZE (128 * 1024)  /* bytes */
  ------------------
 1038|       |
 1039|      4|    fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser,
  ------------------
  |  |   88|      4|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 4, Folded]
  |  |  |  Branch (88:23): [True: 4, False: 0]
  |  |  |  Branch (88:43): [True: 0, Folded]
  |  |  ------------------
  |  |   89|      8|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 4, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 4]
  |  |  |  Branch (89:43): [True: 4, False: 0]
  |  |  |  Branch (89:67): [True: 4, False: 0]
  |  |  |  Branch (89:68): [True: 4, False: 0]
  |  |  ------------------
  |  |   90|      8|      (args) : \
  |  |  ------------------
  |  |  |  Branch (90:8): [True: 4, False: 0]
  |  |  ------------------
  |  |   91|      4|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |  ------------------
  |  |  |  Branch (91:29): [True: 0, False: 0]
  |  |  ------------------
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 1040|      4|            /*minpos*/ 1, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 1041|      4|    if (!fastargs) {
  ------------------
  |  Branch (1041:9): [True: 0, False: 4]
  ------------------
 1042|      0|        goto exit;
 1043|      0|    }
 1044|      4|    raw = fastargs[0];
 1045|      4|    if (!noptargs) {
  ------------------
  |  Branch (1045:9): [True: 0, False: 4]
  ------------------
 1046|      0|        goto skip_optional_pos;
 1047|      0|    }
 1048|      4|    {
 1049|      4|        Py_ssize_t ival = -1;
 1050|      4|        PyObject *iobj = _PyNumber_Index(fastargs[1]);
 1051|      4|        if (iobj != NULL) {
  ------------------
  |  Branch (1051:13): [True: 4, False: 0]
  ------------------
 1052|      4|            ival = PyLong_AsSsize_t(iobj);
 1053|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1054|      4|        }
 1055|      4|        if (ival == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1055:13): [True: 0, False: 4]
  |  Branch (1055:27): [True: 0, False: 0]
  ------------------
 1056|      0|            goto exit;
 1057|      0|        }
 1058|      4|        buffer_size = ival;
 1059|      4|    }
 1060|      4|skip_optional_pos:
 1061|      4|    return_value = _io_BufferedWriter___init___impl((buffered *)self, raw, buffer_size);
 1062|       |
 1063|      4|exit:
 1064|      4|    return return_value;
 1065|      4|}

fileio.c:_io_FileIO_readall:
  313|     27|{
  314|     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 (314:9): [True: 0, False: 27]
  |  Branch (314:19): [True: 0, False: 27]
  ------------------
  315|      0|        PyErr_SetString(PyExc_TypeError, "readall() takes no arguments");
  316|      0|        return NULL;
  317|      0|    }
  318|     27|    return _io_FileIO_readall_impl((fileio *)self, cls);
  319|     27|}
fileio.c:_io_FileIO_write:
  398|     22|{
  399|     22|    PyObject *return_value = NULL;
  400|     22|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  401|     22|    #  define KWTUPLE (PyObject *)&_Py_SINGLETON(tuple_empty)
  402|       |    #else
  403|       |    #  define KWTUPLE NULL
  404|       |    #endif
  405|       |
  406|     22|    static const char * const _keywords[] = {"", NULL};
  407|     22|    static _PyArg_Parser _parser = {
  408|     22|        .keywords = _keywords,
  409|     22|        .fname = "write",
  410|     22|        .kwtuple = KWTUPLE,
  ------------------
  |  |  401|     22|    #  define KWTUPLE (PyObject *)&_Py_SINGLETON(tuple_empty)
  |  |  ------------------
  |  |  |  |   18|     22|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     22|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  411|     22|    };
  412|     22|    #undef KWTUPLE
  413|     22|    PyObject *argsbuf[1];
  414|     22|    Py_buffer b = {NULL, NULL};
  415|       |
  416|     22|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|     22|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 22, False: 0]
  |  |  ------------------
  |  |   89|     22|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 22, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 22]
  |  |  |  Branch (89:43): [True: 22, False: 0]
  |  |  |  Branch (89:67): [True: 22, False: 0]
  |  |  ------------------
  |  |   90|     22|      (args) : \
  |  |   91|     22|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  417|     22|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  418|     22|    if (!args) {
  ------------------
  |  Branch (418:9): [True: 0, False: 22]
  ------------------
  419|      0|        goto exit;
  420|      0|    }
  421|     22|    if (PyObject_GetBuffer(args[0], &b, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|     22|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (421:9): [True: 0, False: 22]
  ------------------
  422|      0|        goto exit;
  423|      0|    }
  424|     22|    return_value = _io_FileIO_write_impl((fileio *)self, cls, &b);
  425|       |
  426|     22|exit:
  427|       |    /* Cleanup for b */
  428|     22|    if (b.obj) {
  ------------------
  |  Branch (428:9): [True: 22, False: 0]
  ------------------
  429|     22|       PyBuffer_Release(&b);
  430|     22|    }
  431|       |
  432|     22|    return return_value;
  433|     22|}
fileio.c:_io_FileIO_tell:
  497|     37|{
  498|     37|    return _io_FileIO_tell_impl((fileio *)self);
  499|     37|}
fileio.c:_io_FileIO_close:
   50|     27|{
   51|     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 (51:9): [True: 0, False: 27]
  |  Branch (51:19): [True: 0, False: 27]
  ------------------
   52|      0|        PyErr_SetString(PyExc_TypeError, "close() takes no arguments");
   53|      0|        return NULL;
   54|      0|    }
   55|     27|    return _io_FileIO_close_impl((fileio *)self, cls);
   56|     27|}
fileio.c:_io_FileIO_seekable:
  235|      6|{
  236|      6|    return _io_FileIO_seekable_impl((fileio *)self);
  237|      6|}
fileio.c:_io_FileIO_readable:
  199|     31|{
  200|     31|    return _io_FileIO_readable_impl((fileio *)self);
  201|     31|}
fileio.c:_io_FileIO_writable:
  217|      8|{
  218|      8|    return _io_FileIO_writable_impl((fileio *)self);
  219|      8|}
fileio.c:_io_FileIO_isatty:
  570|      6|{
  571|      6|    return _io_FileIO_isatty_impl((fileio *)self);
  572|      6|}
fileio.c:_io_FileIO__isatty_open_only:
  587|     33|{
  588|     33|    return _io_FileIO__isatty_open_only_impl((fileio *)self);
  589|     33|}
fileio.c:_io_FileIO_closed_get:
  599|     81|{
  600|     81|    PyObject *return_value = NULL;
  601|     81|    int _return_value;
  602|       |
  603|     81|    _return_value = _io_FileIO_closed_get_impl((fileio *)self);
  604|     81|    if ((_return_value == -1) && PyErr_Occurred()) {
  ------------------
  |  Branch (604:9): [True: 0, False: 81]
  |  Branch (604:34): [True: 0, False: 0]
  ------------------
  605|      0|        goto exit;
  606|      0|    }
  607|     81|    return_value = PyBool_FromLong((long)_return_value);
  608|       |
  609|     81|exit:
  610|     81|    return return_value;
  611|     81|}
fileio.c:_io_FileIO__blksize_get:
  655|     33|{
  656|     33|    PyObject *return_value = NULL;
  657|     33|    long _return_value;
  658|       |
  659|     33|    _return_value = _io_FileIO__blksize_get_impl((fileio *)self);
  660|     33|    if ((_return_value == -1) && PyErr_Occurred()) {
  ------------------
  |  Branch (660:9): [True: 0, False: 33]
  |  Branch (660:34): [True: 0, False: 0]
  ------------------
  661|      0|        goto exit;
  662|      0|    }
  663|     33|    return_value = PyLong_FromLong(_return_value);
  664|       |
  665|     33|exit:
  666|     33|    return return_value;
  667|     33|}
fileio.c:_io_FileIO___init__:
   85|     33|{
   86|     33|    int return_value = -1;
   87|     33|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
   88|       |
   89|     33|    #define NUM_KEYWORDS 4
   90|     33|    static struct {
   91|     33|        PyGC_Head _this_is_not_used;
   92|     33|        PyObject_VAR_HEAD
   93|     33|        Py_hash_t ob_hash;
   94|     33|        PyObject *ob_item[NUM_KEYWORDS];
   95|     33|    } _kwtuple = {
   96|     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|    },
  ------------------
   97|     33|        .ob_hash = -1,
   98|     33|        .ob_item = { &_Py_ID(file), &_Py_ID(mode), &_Py_ID(closefd), &_Py_ID(opener), },
  ------------------
  |  |  936|     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), },
  ------------------
  |  |  936|     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), },
  ------------------
  |  |  936|     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), },
  ------------------
  |  |  936|     33|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     33|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     33|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   99|     33|    };
  100|     33|    #undef NUM_KEYWORDS
  101|     33|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  102|       |
  103|       |    #else  // !Py_BUILD_CORE
  104|       |    #  define KWTUPLE NULL
  105|       |    #endif  // !Py_BUILD_CORE
  106|       |
  107|     33|    static const char * const _keywords[] = {"file", "mode", "closefd", "opener", NULL};
  108|     33|    static _PyArg_Parser _parser = {
  109|     33|        .keywords = _keywords,
  110|     33|        .fname = "FileIO",
  111|     33|        .kwtuple = KWTUPLE,
  ------------------
  |  |  101|     33|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  112|     33|    };
  113|     33|    #undef KWTUPLE
  114|     33|    PyObject *argsbuf[4];
  115|     33|    PyObject * const *fastargs;
  116|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  117|     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 (117:36): [True: 0, False: 33]
  ------------------
  118|     33|    PyObject *nameobj;
  119|     33|    const char *mode = "r";
  120|     33|    int closefd = 1;
  121|     33|    PyObject *opener = Py_None;
  ------------------
  |  |  616|     33|#  define Py_None (&_Py_NoneStruct)
  ------------------
  122|       |
  123|     33|    fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser,
  ------------------
  |  |   88|     33|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 33, Folded]
  |  |  |  Branch (88:23): [True: 33, False: 0]
  |  |  |  Branch (88:43): [True: 0, Folded]
  |  |  ------------------
  |  |   89|     66|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 33, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 33]
  |  |  |  Branch (89:43): [True: 33, False: 0]
  |  |  |  Branch (89:67): [True: 33, False: 0]
  |  |  |  Branch (89:68): [True: 33, False: 0]
  |  |  ------------------
  |  |   90|     66|      (args) : \
  |  |  ------------------
  |  |  |  Branch (90:8): [True: 33, False: 0]
  |  |  ------------------
  |  |   91|     33|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |  ------------------
  |  |  |  Branch (91:29): [True: 0, False: 0]
  |  |  ------------------
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  124|     33|            /*minpos*/ 1, /*maxpos*/ 4, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  125|     33|    if (!fastargs) {
  ------------------
  |  Branch (125:9): [True: 0, False: 33]
  ------------------
  126|      0|        goto exit;
  127|      0|    }
  128|     33|    nameobj = fastargs[0];
  129|     33|    if (!noptargs) {
  ------------------
  |  Branch (129:9): [True: 0, False: 33]
  ------------------
  130|      0|        goto skip_optional_pos;
  131|      0|    }
  132|     33|    if (fastargs[1]) {
  ------------------
  |  Branch (132:9): [True: 33, False: 0]
  ------------------
  133|     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 (133:13): [True: 0, False: 33]
  ------------------
  134|      0|            _PyArg_BadArgument("FileIO", "argument 'mode'", "str", fastargs[1]);
  135|      0|            goto exit;
  136|      0|        }
  137|     33|        Py_ssize_t mode_length;
  138|     33|        mode = PyUnicode_AsUTF8AndSize(fastargs[1], &mode_length);
  139|     33|        if (mode == NULL) {
  ------------------
  |  Branch (139:13): [True: 0, False: 33]
  ------------------
  140|      0|            goto exit;
  141|      0|        }
  142|     33|        if (strlen(mode) != (size_t)mode_length) {
  ------------------
  |  Branch (142:13): [True: 0, False: 33]
  ------------------
  143|      0|            PyErr_SetString(PyExc_ValueError, "embedded null character");
  144|      0|            goto exit;
  145|      0|        }
  146|     33|        if (!--noptargs) {
  ------------------
  |  Branch (146:13): [True: 0, False: 33]
  ------------------
  147|      0|            goto skip_optional_pos;
  148|      0|        }
  149|     33|    }
  150|     33|    if (fastargs[2]) {
  ------------------
  |  Branch (150:9): [True: 33, False: 0]
  ------------------
  151|     33|        closefd = PyObject_IsTrue(fastargs[2]);
  152|     33|        if (closefd < 0) {
  ------------------
  |  Branch (152:13): [True: 0, False: 33]
  ------------------
  153|      0|            goto exit;
  154|      0|        }
  155|     33|        if (!--noptargs) {
  ------------------
  |  Branch (155:13): [True: 0, False: 33]
  ------------------
  156|      0|            goto skip_optional_pos;
  157|      0|        }
  158|     33|    }
  159|     33|    opener = fastargs[3];
  160|     33|skip_optional_pos:
  161|     33|    return_value = _io_FileIO___init___impl((fileio *)self, nameobj, mode, closefd, opener);
  162|       |
  163|     33|exit:
  164|     33|    return return_value;
  165|     33|}

iobase.c:_io__IOBase_flush:
  170|     54|{
  171|     54|    return _io__IOBase_flush_impl(self);
  172|     54|}
iobase.c:_io__IOBase_close:
  280|     27|{
  281|     27|    return _io__IOBase_close_impl(self);
  282|     27|}
iobase.c:_io__IOBase_readable:
  321|      4|{
  322|      4|    return _io__IOBase_readable_impl(self);
  323|      4|}
iobase.c:_io__IOBase_writable:
  341|      2|{
  342|      2|    return _io__IOBase_writable_impl(self);
  343|      2|}
iobase.c:_io__IOBase___enter__:
  359|     27|{
  360|     27|    return _io__IOBase___enter___impl(self);
  361|     27|}
iobase.c:_io__IOBase___exit__:
  377|     27|{
  378|     27|    PyObject *return_value = NULL;
  379|     27|    PyObject *__clinic_args = NULL;
  380|       |
  381|     27|    __clinic_args = PyTuple_FromArray(args, nargs);
  382|     27|    if (__clinic_args == NULL) {
  ------------------
  |  Branch (382:9): [True: 0, False: 27]
  ------------------
  383|      0|        goto exit;
  384|      0|    }
  385|     27|    return_value = _io__IOBase___exit___impl(self, __clinic_args);
  386|       |
  387|     27|exit:
  388|       |    /* Cleanup for args */
  389|     27|    Py_XDECREF(__clinic_args);
  ------------------
  |  |  524|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  390|       |
  391|     27|    return return_value;
  392|     27|}

textio.c:_io_TextIOWrapper_write:
  779|     22|{
  780|     22|    PyObject *return_value = NULL;
  781|     22|    PyObject *text;
  782|       |
  783|     22|    if (!PyUnicode_Check(arg)) {
  ------------------
  |  |  103|     22|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     22|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (783:9): [True: 0, False: 22]
  ------------------
  784|      0|        _PyArg_BadArgument("write", "argument", "str", arg);
  785|      0|        goto exit;
  786|      0|    }
  787|     22|    text = arg;
  788|     22|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|     22|    {
  ------------------
  789|     22|    return_value = _io_TextIOWrapper_write_impl((textio *)self, text);
  790|     22|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     22|    }
  ------------------
  791|       |
  792|     22|exit:
  793|     22|    return return_value;
  794|     22|}
textio.c:_io_TextIOWrapper___init__:
  521|      6|{
  522|      6|    int return_value = -1;
  523|      6|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  524|       |
  525|      6|    #define NUM_KEYWORDS 6
  526|      6|    static struct {
  527|      6|        PyGC_Head _this_is_not_used;
  528|      6|        PyObject_VAR_HEAD
  529|      6|        Py_hash_t ob_hash;
  530|      6|        PyObject *ob_item[NUM_KEYWORDS];
  531|      6|    } _kwtuple = {
  532|      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|    },
  ------------------
  533|      6|        .ob_hash = -1,
  534|      6|        .ob_item = { &_Py_ID(buffer), &_Py_ID(encoding), &_Py_ID(errors), &_Py_ID(newline), &_Py_ID(line_buffering), &_Py_ID(write_through), },
  ------------------
  |  |  936|      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), },
  ------------------
  |  |  936|      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), },
  ------------------
  |  |  936|      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), },
  ------------------
  |  |  936|      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), },
  ------------------
  |  |  936|      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), },
  ------------------
  |  |  936|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  535|      6|    };
  536|      6|    #undef NUM_KEYWORDS
  537|      6|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  538|       |
  539|       |    #else  // !Py_BUILD_CORE
  540|       |    #  define KWTUPLE NULL
  541|       |    #endif  // !Py_BUILD_CORE
  542|       |
  543|      6|    static const char * const _keywords[] = {"buffer", "encoding", "errors", "newline", "line_buffering", "write_through", NULL};
  544|      6|    static _PyArg_Parser _parser = {
  545|      6|        .keywords = _keywords,
  546|      6|        .fname = "TextIOWrapper",
  547|      6|        .kwtuple = KWTUPLE,
  ------------------
  |  |  537|      6|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  548|      6|    };
  549|      6|    #undef KWTUPLE
  550|      6|    PyObject *argsbuf[6];
  551|      6|    PyObject * const *fastargs;
  552|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  553|      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 (553:36): [True: 0, False: 6]
  ------------------
  554|      6|    PyObject *buffer;
  555|      6|    const char *encoding = NULL;
  556|      6|    PyObject *errors = Py_None;
  ------------------
  |  |  616|      6|#  define Py_None (&_Py_NoneStruct)
  ------------------
  557|      6|    const char *newline = NULL;
  558|      6|    int line_buffering = 0;
  559|      6|    int write_through = 0;
  560|       |
  561|      6|    fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser,
  ------------------
  |  |   88|      6|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 6, Folded]
  |  |  |  Branch (88:23): [True: 6, False: 0]
  |  |  |  Branch (88:43): [True: 0, Folded]
  |  |  ------------------
  |  |   89|     12|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 6, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 6]
  |  |  |  Branch (89:43): [True: 6, False: 0]
  |  |  |  Branch (89:67): [True: 6, False: 0]
  |  |  |  Branch (89:68): [True: 6, False: 0]
  |  |  ------------------
  |  |   90|     12|      (args) : \
  |  |  ------------------
  |  |  |  Branch (90:8): [True: 6, False: 0]
  |  |  ------------------
  |  |   91|      6|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |  ------------------
  |  |  |  Branch (91:29): [True: 0, False: 0]
  |  |  ------------------
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  562|      6|            /*minpos*/ 1, /*maxpos*/ 6, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  563|      6|    if (!fastargs) {
  ------------------
  |  Branch (563:9): [True: 0, False: 6]
  ------------------
  564|      0|        goto exit;
  565|      0|    }
  566|      6|    buffer = fastargs[0];
  567|      6|    if (!noptargs) {
  ------------------
  |  Branch (567:9): [True: 0, False: 6]
  ------------------
  568|      0|        goto skip_optional_pos;
  569|      0|    }
  570|      6|    if (fastargs[1]) {
  ------------------
  |  Branch (570:9): [True: 6, False: 0]
  ------------------
  571|      6|        if (fastargs[1] == Py_None) {
  ------------------
  |  |  616|      6|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (571:13): [True: 0, False: 6]
  ------------------
  572|      0|            encoding = NULL;
  573|      0|        }
  574|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  575|      6|            Py_ssize_t encoding_length;
  576|      6|            encoding = PyUnicode_AsUTF8AndSize(fastargs[1], &encoding_length);
  577|      6|            if (encoding == NULL) {
  ------------------
  |  Branch (577:17): [True: 0, False: 6]
  ------------------
  578|      0|                goto exit;
  579|      0|            }
  580|      6|            if (strlen(encoding) != (size_t)encoding_length) {
  ------------------
  |  Branch (580:17): [True: 0, False: 6]
  ------------------
  581|      0|                PyErr_SetString(PyExc_ValueError, "embedded null character");
  582|      0|                goto exit;
  583|      0|            }
  584|      6|        }
  585|      0|        else {
  586|      0|            _PyArg_BadArgument("TextIOWrapper", "argument 'encoding'", "str or None", fastargs[1]);
  587|      0|            goto exit;
  588|      0|        }
  589|      6|        if (!--noptargs) {
  ------------------
  |  Branch (589:13): [True: 0, False: 6]
  ------------------
  590|      0|            goto skip_optional_pos;
  591|      0|        }
  592|      6|    }
  593|      6|    if (fastargs[2]) {
  ------------------
  |  Branch (593:9): [True: 6, False: 0]
  ------------------
  594|      6|        errors = fastargs[2];
  595|      6|        if (!--noptargs) {
  ------------------
  |  Branch (595:13): [True: 0, False: 6]
  ------------------
  596|      0|            goto skip_optional_pos;
  597|      0|        }
  598|      6|    }
  599|      6|    if (fastargs[3]) {
  ------------------
  |  Branch (599:9): [True: 6, False: 0]
  ------------------
  600|      6|        if (fastargs[3] == Py_None) {
  ------------------
  |  |  616|      6|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (600:13): [True: 0, False: 6]
  ------------------
  601|      0|            newline = NULL;
  602|      0|        }
  603|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  604|      6|            Py_ssize_t newline_length;
  605|      6|            newline = PyUnicode_AsUTF8AndSize(fastargs[3], &newline_length);
  606|      6|            if (newline == NULL) {
  ------------------
  |  Branch (606:17): [True: 0, False: 6]
  ------------------
  607|      0|                goto exit;
  608|      0|            }
  609|      6|            if (strlen(newline) != (size_t)newline_length) {
  ------------------
  |  Branch (609:17): [True: 0, False: 6]
  ------------------
  610|      0|                PyErr_SetString(PyExc_ValueError, "embedded null character");
  611|      0|                goto exit;
  612|      0|            }
  613|      6|        }
  614|      0|        else {
  615|      0|            _PyArg_BadArgument("TextIOWrapper", "argument 'newline'", "str or None", fastargs[3]);
  616|      0|            goto exit;
  617|      0|        }
  618|      6|        if (!--noptargs) {
  ------------------
  |  Branch (618:13): [True: 0, False: 6]
  ------------------
  619|      0|            goto skip_optional_pos;
  620|      0|        }
  621|      6|    }
  622|      6|    if (fastargs[4]) {
  ------------------
  |  Branch (622:9): [True: 6, False: 0]
  ------------------
  623|      6|        line_buffering = PyObject_IsTrue(fastargs[4]);
  624|      6|        if (line_buffering < 0) {
  ------------------
  |  Branch (624:13): [True: 0, False: 6]
  ------------------
  625|      0|            goto exit;
  626|      0|        }
  627|      6|        if (!--noptargs) {
  ------------------
  |  Branch (627:13): [True: 0, False: 6]
  ------------------
  628|      0|            goto skip_optional_pos;
  629|      0|        }
  630|      6|    }
  631|      6|    write_through = PyObject_IsTrue(fastargs[5]);
  632|      6|    if (write_through < 0) {
  ------------------
  |  Branch (632:9): [True: 0, False: 6]
  ------------------
  633|      0|        goto exit;
  634|      0|    }
  635|      6|skip_optional_pos:
  636|      6|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      6|    {
  ------------------
  637|      6|    return_value = _io_TextIOWrapper___init___impl((textio *)self, buffer, encoding, errors, newline, line_buffering, write_through);
  638|      6|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      6|    }
  ------------------
  639|       |
  640|      6|exit:
  641|      6|    return return_value;
  642|      6|}

_PyFileIO_closed:
   95|    120|{
   96|    120|    return (PyFileIO_CAST(self)->fd < 0);
  ------------------
  |  |   88|    120|#define PyFileIO_CAST(op) ((fileio *)(op))
  ------------------
   97|    120|}
fileio.c:fileio_dealloc:
  575|     27|{
  576|     27|    fileio *self = PyFileIO_CAST(op);
  ------------------
  |  |   88|     27|#define PyFileIO_CAST(op) ((fileio *)(op))
  ------------------
  577|     27|    self->finalizing = 1;
  578|     27|    if (_PyIOBase_finalize(op) < 0) {
  ------------------
  |  Branch (578:9): [True: 0, False: 27]
  ------------------
  579|      0|        return;
  580|      0|    }
  581|       |
  582|     27|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  507|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  583|     27|    if (self->stat_atopen != NULL) {
  ------------------
  |  Branch (583:9): [True: 0, False: 27]
  ------------------
  584|      0|        PyMem_Free(self->stat_atopen);
  585|      0|        self->stat_atopen = NULL;
  586|      0|    }
  587|     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 (587:5): [True: 27, False: 0]
  ------------------
  588|     27|    (void)fileio_clear(op);
  589|       |
  590|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  591|     27|    tp->tp_free(op);
  592|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  593|     27|}
fileio.c:fileio_traverse:
  558|     12|{
  559|     12|    fileio *self = PyFileIO_CAST(op);
  ------------------
  |  |   88|     12|#define PyFileIO_CAST(op) ((fileio *)(op))
  ------------------
  560|     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]
  |  |  ------------------
  ------------------
  561|     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]
  |  |  ------------------
  ------------------
  562|     12|    return 0;
  563|     12|}
fileio.c:fileio_clear:
  567|     27|{
  568|     27|    fileio *self = PyFileIO_CAST(op);
  ------------------
  |  |   88|     27|#define PyFileIO_CAST(op) ((fileio *)(op))
  ------------------
  569|       |    Py_CLEAR(self->dict);
  ------------------
  |  |  484|     27|    do { \
  |  |  485|     27|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|     27|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     27|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|     27|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     27|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     27|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 27, False: 0]
  |  |  ------------------
  |  |  488|     27|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     27|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     27|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|     27|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     27|        } \
  |  |  491|     27|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 27]
  |  |  ------------------
  ------------------
  570|     27|    return 0;
  571|     27|}
fileio.c:_io_FileIO_readall_impl:
  757|     27|{
  758|     27|    Py_off_t pos, end;
  759|     27|    PyBytesWriter *writer;
  760|     27|    Py_ssize_t bytes_read = 0;
  761|     27|    Py_ssize_t n;
  762|     27|    size_t bufsize;
  763|       |
  764|     27|    if (self->fd < 0) {
  ------------------
  |  Branch (764:9): [True: 0, False: 27]
  ------------------
  765|      0|        return err_closed();
  766|      0|    }
  767|     27|    if (!self->readable) {
  ------------------
  |  Branch (767:9): [True: 0, False: 27]
  ------------------
  768|      0|        _PyIO_State *state = get_io_state_by_cls(cls);
  769|      0|        return err_mode(state, "reading");
  770|      0|    }
  771|       |
  772|     27|    if (self->stat_atopen != NULL && self->stat_atopen->st_size < _PY_READ_MAX) {
  ------------------
  |  |   59|     27|#   define _PY_READ_MAX  PY_SSIZE_T_MAX
  |  |  ------------------
  |  |  |  |  137|     27|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  ------------------
  |  Branch (772:9): [True: 27, False: 0]
  |  Branch (772:38): [True: 27, False: 0]
  ------------------
  773|     27|        end = (Py_off_t)self->stat_atopen->st_size;
  774|     27|    }
  775|      0|    else {
  776|      0|        end = -1;
  777|      0|    }
  778|     27|    if (end <= 0) {
  ------------------
  |  Branch (778:9): [True: 0, False: 27]
  ------------------
  779|       |        /* Use a default size and resize as needed. */
  780|      0|        bufsize = SMALLCHUNK;
  ------------------
  |  |   52|      0|#  define SMALLCHUNK BUFSIZ
  ------------------
  781|      0|    }
  782|     27|    else {
  783|       |        /* This is probably a real file. */
  784|     27|        if (end > _PY_READ_MAX - 1) {
  ------------------
  |  |   59|     27|#   define _PY_READ_MAX  PY_SSIZE_T_MAX
  |  |  ------------------
  |  |  |  |  137|     27|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  ------------------
  |  Branch (784:13): [True: 0, False: 27]
  ------------------
  785|      0|            bufsize = _PY_READ_MAX;
  ------------------
  |  |   59|      0|#   define _PY_READ_MAX  PY_SSIZE_T_MAX
  |  |  ------------------
  |  |  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  ------------------
  786|      0|        }
  787|     27|        else {
  788|       |            /* In order to detect end of file, need a read() of at
  789|       |               least 1 byte which returns size 0. Oversize the buffer
  790|       |               by 1 byte so the I/O can be completed with two read()
  791|       |               calls (one for all data, one for EOF) without needing
  792|       |               to resize the buffer. */
  793|     27|            bufsize = (size_t)end + 1;
  794|     27|        }
  795|       |
  796|       |        /* While a lot of code does open().read() to get the whole contents
  797|       |           of a file it is possible a caller seeks/reads a ways into the file
  798|       |           then calls readall() to get the rest, which would result in allocating
  799|       |           more than required. Guard against that for larger files where we expect
  800|       |           the I/O time to dominate anyways while keeping small files fast. */
  801|     27|        if (bufsize > LARGE_BUFFER_CUTOFF_SIZE) {
  ------------------
  |  |   57|     27|#define LARGE_BUFFER_CUTOFF_SIZE 65536
  ------------------
  |  Branch (801:13): [True: 2, False: 25]
  ------------------
  802|      2|            Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  117|      2|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  118|      2|                        PyThreadState *_save; \
  |  |  119|      2|                        _save = PyEval_SaveThread();
  ------------------
  803|      2|            _Py_BEGIN_SUPPRESS_IPH
  804|       |#ifdef MS_WINDOWS
  805|       |            pos = _lseeki64(self->fd, 0L, SEEK_CUR);
  806|       |#else
  807|      2|            pos = lseek(self->fd, 0L, SEEK_CUR);
  808|      2|#endif
  809|      2|            _Py_END_SUPPRESS_IPH
  810|      2|            Py_END_ALLOW_THREADS
  ------------------
  |  |  122|      2|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  123|      2|                 }
  ------------------
  811|       |
  812|      2|            if (end >= pos && pos >= 0 && (end - pos) < (_PY_READ_MAX - 1)) {
  ------------------
  |  |   59|      2|#   define _PY_READ_MAX  PY_SSIZE_T_MAX
  |  |  ------------------
  |  |  |  |  137|      2|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  ------------------
  |  Branch (812:17): [True: 2, False: 0]
  |  Branch (812:31): [True: 2, False: 0]
  |  Branch (812:43): [True: 2, False: 0]
  ------------------
  813|      2|                bufsize = (size_t)(end - pos) + 1;
  814|      2|            }
  815|      2|        }
  816|     27|    }
  817|       |
  818|     27|    writer = PyBytesWriter_Create(bufsize);
  819|     27|    if (writer == NULL) {
  ------------------
  |  Branch (819:9): [True: 0, False: 27]
  ------------------
  820|      0|        return NULL;
  821|      0|    }
  822|       |
  823|     54|    while (1) {
  ------------------
  |  Branch (823:12): [True: 54, Folded]
  ------------------
  824|     54|        if (bytes_read >= (Py_ssize_t)bufsize) {
  ------------------
  |  Branch (824:13): [True: 0, False: 54]
  ------------------
  825|      0|            bufsize = new_buffersize(self, bytes_read);
  826|      0|            if (bufsize > PY_SSIZE_T_MAX || bufsize <= 0) {
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (826:17): [True: 0, False: 0]
  |  Branch (826:45): [True: 0, False: 0]
  ------------------
  827|      0|                PyErr_SetString(PyExc_OverflowError,
  828|      0|                                "unbounded read returned more bytes "
  829|      0|                                "than a Python bytes object can hold");
  830|      0|                PyBytesWriter_Discard(writer);
  831|      0|                return NULL;
  832|      0|            }
  833|       |
  834|      0|            if (PyBytesWriter_GetSize(writer) < (Py_ssize_t)bufsize) {
  ------------------
  |  Branch (834:17): [True: 0, False: 0]
  ------------------
  835|      0|                if (PyBytesWriter_Resize(writer, bufsize) < 0)
  ------------------
  |  Branch (835:21): [True: 0, False: 0]
  ------------------
  836|      0|                    return NULL;
  837|      0|            }
  838|      0|        }
  839|       |
  840|     54|        n = _Py_read(self->fd,
  841|     54|                     (char*)PyBytesWriter_GetData(writer) + bytes_read,
  842|     54|                     bufsize - bytes_read);
  843|       |
  844|     54|        if (n == 0)
  ------------------
  |  Branch (844:13): [True: 27, False: 27]
  ------------------
  845|     27|            break;
  846|     27|        if (n == -1) {
  ------------------
  |  Branch (846:13): [True: 0, False: 27]
  ------------------
  847|      0|            if (errno == EAGAIN) {
  ------------------
  |  Branch (847:17): [True: 0, False: 0]
  ------------------
  848|      0|                PyErr_Clear();
  849|      0|                if (bytes_read > 0)
  ------------------
  |  Branch (849:21): [True: 0, False: 0]
  ------------------
  850|      0|                    break;
  851|      0|                PyBytesWriter_Discard(writer);
  852|      0|                Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  853|      0|            }
  854|      0|            PyBytesWriter_Discard(writer);
  855|      0|            return NULL;
  856|      0|        }
  857|     27|        bytes_read += n;
  858|     27|    }
  859|       |
  860|     27|    return PyBytesWriter_FinishWithSize(writer, bytes_read);
  861|     27|}
fileio.c:_io_FileIO_write_impl:
  936|     22|{
  937|     22|    Py_ssize_t n;
  938|     22|    int err;
  939|       |
  940|     22|    if (self->fd < 0)
  ------------------
  |  Branch (940:9): [True: 0, False: 22]
  ------------------
  941|      0|        return err_closed();
  942|     22|    if (!self->writable) {
  ------------------
  |  Branch (942:9): [True: 0, False: 22]
  ------------------
  943|      0|        _PyIO_State *state = get_io_state_by_cls(cls);
  944|      0|        return err_mode(state, "writing");
  945|      0|    }
  946|       |
  947|     22|    n = _Py_write(self->fd, b->buf, b->len);
  948|       |    /* copy errno because PyBuffer_Release() can indirectly modify it */
  949|     22|    err = errno;
  950|       |
  951|     22|    if (n < 0) {
  ------------------
  |  Branch (951:9): [True: 0, False: 22]
  ------------------
  952|      0|        if (err == EAGAIN) {
  ------------------
  |  Branch (952:13): [True: 0, False: 0]
  ------------------
  953|      0|            PyErr_Clear();
  954|      0|            Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  955|      0|        }
  956|      0|        return NULL;
  957|      0|    }
  958|       |
  959|     22|    return PyLong_FromSsize_t(n);
  960|     22|}
fileio.c:portable_lseek:
  967|     37|{
  968|     37|    Py_off_t pos, res;
  969|     37|    int fd = self->fd;
  970|       |
  971|     37|#ifdef SEEK_SET
  972|       |    /* Turn 0, 1, 2 into SEEK_{SET,CUR,END} */
  973|     37|    switch (whence) {
  ------------------
  |  Branch (973:13): [Folded, False: 37]
  ------------------
  974|       |#if SEEK_SET != 0
  975|       |    case 0: whence = SEEK_SET; break;
  976|       |#endif
  977|       |#if SEEK_CUR != 1
  978|       |    case 1: whence = SEEK_CUR; break;
  979|       |#endif
  980|       |#if SEEK_END != 2
  981|       |    case 2: whence = SEEK_END; break;
  982|       |#endif
  983|     37|    }
  984|     37|#endif /* SEEK_SET */
  985|       |
  986|     37|    if (posobj == NULL) {
  ------------------
  |  Branch (986:9): [True: 37, False: 0]
  ------------------
  987|     37|        pos = 0;
  988|     37|    }
  989|      0|    else {
  990|       |#if defined(HAVE_LARGEFILE_SUPPORT)
  991|       |        pos = PyLong_AsLongLong(posobj);
  992|       |#else
  993|      0|        pos = PyLong_AsLong(posobj);
  994|      0|#endif
  995|      0|        if (PyErr_Occurred())
  ------------------
  |  Branch (995:13): [True: 0, False: 0]
  ------------------
  996|      0|            return NULL;
  997|      0|    }
  998|       |
  999|     37|    Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  117|     37|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  118|     37|                        PyThreadState *_save; \
  |  |  119|     37|                        _save = PyEval_SaveThread();
  ------------------
 1000|     37|    _Py_BEGIN_SUPPRESS_IPH
 1001|       |#ifdef MS_WINDOWS
 1002|       |    HANDLE h = (HANDLE)_get_osfhandle(fd);
 1003|       |    if (h != INVALID_HANDLE_VALUE && GetFileType(h) == FILE_TYPE_PIPE) {
 1004|       |        res = -1;
 1005|       |        errno = ESPIPE;
 1006|       |    }
 1007|       |    else {
 1008|       |        res = _lseeki64(fd, pos, whence);
 1009|       |    }
 1010|       |#else
 1011|     37|    res = lseek(fd, pos, whence);
 1012|     37|#endif
 1013|     37|    _Py_END_SUPPRESS_IPH
 1014|     37|    Py_END_ALLOW_THREADS
  ------------------
  |  |  122|     37|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  123|     37|                 }
  ------------------
 1015|       |
 1016|     37|    if (self->seekable < 0) {
  ------------------
  |  Branch (1016:9): [True: 33, False: 4]
  ------------------
 1017|     33|        self->seekable = (res >= 0);
 1018|     33|    }
 1019|       |
 1020|     37|    if (res < 0) {
  ------------------
  |  Branch (1020:9): [True: 0, False: 37]
  ------------------
 1021|      0|        if (suppress_pipe_error && errno == ESPIPE) {
  ------------------
  |  Branch (1021:13): [True: 0, False: 0]
  |  Branch (1021:36): [True: 0, False: 0]
  ------------------
 1022|      0|            res = 0;
 1023|      0|        } else {
 1024|      0|            return PyErr_SetFromErrno(PyExc_OSError);
 1025|      0|        }
 1026|      0|    }
 1027|       |
 1028|       |#if defined(HAVE_LARGEFILE_SUPPORT)
 1029|       |    return PyLong_FromLongLong(res);
 1030|       |#else
 1031|     37|    return PyLong_FromLong(res);
 1032|     37|#endif
 1033|     37|}
fileio.c:_io_FileIO_tell_impl:
 1074|     37|{
 1075|     37|    if (self->fd < 0)
  ------------------
  |  Branch (1075:9): [True: 0, False: 37]
  ------------------
 1076|      0|        return err_closed();
 1077|       |
 1078|     37|    return portable_lseek(self, NULL, 1, false);
 1079|     37|}
fileio.c:_io_FileIO_close_impl:
  170|     27|{
  171|     27|    PyObject *res;
  172|     27|    int rc;
  173|     27|    _PyIO_State *state = get_io_state_by_cls(cls);
  174|     27|    res = PyObject_CallMethodOneArg((PyObject*)state->PyRawIOBase_Type,
  175|     27|                                     &_Py_ID(close), (PyObject *)self);
  ------------------
  |  |  936|     27|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     27|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     27|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  176|     27|    if (!self->closefd) {
  ------------------
  |  Branch (176:9): [True: 0, False: 27]
  ------------------
  177|      0|        self->fd = -1;
  178|      0|        return res;
  179|      0|    }
  180|       |
  181|     27|    PyObject *exc = NULL;
  182|     27|    if (res == NULL) {
  ------------------
  |  Branch (182:9): [True: 0, False: 27]
  ------------------
  183|      0|        exc = PyErr_GetRaisedException();
  184|      0|    }
  185|     27|    if (self->finalizing) {
  ------------------
  |  Branch (185:9): [True: 0, False: 27]
  ------------------
  186|      0|        PyObject *r = _io_FileIO__dealloc_warn_impl(self, (PyObject *)self);
  187|      0|        if (r) {
  ------------------
  |  Branch (187:13): [True: 0, False: 0]
  ------------------
  188|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  189|      0|        }
  190|      0|        else {
  191|      0|            PyErr_Clear();
  192|      0|        }
  193|      0|    }
  194|     27|    rc = internal_close(self);
  195|     27|    if (res == NULL) {
  ------------------
  |  Branch (195:9): [True: 0, False: 27]
  ------------------
  196|      0|        _PyErr_ChainExceptions1(exc);
  197|      0|    }
  198|     27|    if (rc < 0) {
  ------------------
  |  Branch (198:9): [True: 0, False: 27]
  ------------------
  199|       |        Py_CLEAR(res);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  200|      0|    }
  201|     27|    return res;
  202|     27|}
fileio.c:internal_close:
  130|     27|{
  131|     27|    int err = 0;
  132|     27|    int save_errno = 0;
  133|     27|    if (self->fd >= 0) {
  ------------------
  |  Branch (133:9): [True: 27, False: 0]
  ------------------
  134|     27|        int fd = self->fd;
  135|     27|        self->fd = -1;
  136|       |        /* fd is accessible and someone else may have closed it */
  137|     27|        Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  117|     27|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  118|     27|                        PyThreadState *_save; \
  |  |  119|     27|                        _save = PyEval_SaveThread();
  ------------------
  138|     27|        _Py_BEGIN_SUPPRESS_IPH
  139|     27|        err = close(fd);
  140|     27|        if (err < 0)
  ------------------
  |  Branch (140:13): [True: 0, False: 27]
  ------------------
  141|      0|            save_errno = errno;
  142|     27|        _Py_END_SUPPRESS_IPH
  143|     27|        Py_END_ALLOW_THREADS
  ------------------
  |  |  122|     27|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  123|     27|                 }
  ------------------
  144|     27|    }
  145|     27|    PyMem_Free(self->stat_atopen);
  146|     27|    self->stat_atopen = NULL;
  147|     27|    if (err < 0) {
  ------------------
  |  Branch (147:9): [True: 0, False: 27]
  ------------------
  148|      0|        errno = save_errno;
  149|      0|        PyErr_SetFromErrno(PyExc_OSError);
  150|      0|        return -1;
  151|      0|    }
  152|     27|    return 0;
  153|     27|}
fileio.c:_io_FileIO_seekable_impl:
  663|      6|{
  664|      6|    if (self->fd < 0)
  ------------------
  |  Branch (664:9): [True: 0, False: 6]
  ------------------
  665|      0|        return err_closed();
  666|      6|    if (self->seekable < 0) {
  ------------------
  |  Branch (666:9): [True: 0, False: 6]
  ------------------
  667|       |        /* portable_lseek() sets the seekable attribute */
  668|      0|        PyObject *pos = portable_lseek(self, NULL, SEEK_CUR, false);
  669|      0|        assert(self->seekable >= 0);
  ------------------
  |  Branch (669:9): [True: 0, False: 0]
  ------------------
  670|      0|        if (pos == NULL) {
  ------------------
  |  Branch (670:13): [True: 0, False: 0]
  ------------------
  671|      0|            PyErr_Clear();
  672|      0|        }
  673|      0|        else {
  674|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  675|      0|        }
  676|      0|    }
  677|      6|    return PyBool_FromLong((long) self->seekable);
  678|      6|}
fileio.c:_io_FileIO_readable_impl:
  633|     31|{
  634|     31|    if (self->fd < 0)
  ------------------
  |  Branch (634:9): [True: 0, False: 31]
  ------------------
  635|      0|        return err_closed();
  636|     31|    return PyBool_FromLong((long) self->readable);
  637|     31|}
fileio.c:_io_FileIO_writable_impl:
  648|      8|{
  649|      8|    if (self->fd < 0)
  ------------------
  |  Branch (649:9): [True: 0, False: 8]
  ------------------
  650|      0|        return err_closed();
  651|      8|    return PyBool_FromLong((long) self->writable);
  652|      8|}
fileio.c:_io_FileIO_isatty_impl:
 1239|      8|{
 1240|      8|    long res;
 1241|       |
 1242|      8|    if (self->fd < 0)
  ------------------
  |  Branch (1242:9): [True: 0, False: 8]
  ------------------
 1243|      0|        return err_closed();
 1244|      8|    Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  117|      8|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  118|      8|                        PyThreadState *_save; \
  |  |  119|      8|                        _save = PyEval_SaveThread();
  ------------------
 1245|      8|    _Py_BEGIN_SUPPRESS_IPH
 1246|      8|    res = isatty(self->fd);
 1247|      8|    _Py_END_SUPPRESS_IPH
 1248|      8|    Py_END_ALLOW_THREADS
  ------------------
  |  |  122|      8|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  123|      8|                 }
  ------------------
 1249|      8|    return PyBool_FromLong(res);
 1250|      8|}
fileio.c:_io_FileIO__isatty_open_only_impl:
 1267|     33|{
 1268|     33|    if (self->stat_atopen != NULL && !S_ISCHR(self->stat_atopen->st_mode)) {
  ------------------
  |  Branch (1268:9): [True: 33, False: 0]
  |  Branch (1268:38): [True: 31, False: 2]
  ------------------
 1269|     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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1270|     31|    }
 1271|      2|    return _io_FileIO_isatty_impl(self);
 1272|     33|}
fileio.c:_io_FileIO_closed_get_impl:
 1308|     81|{
 1309|     81|    return self->fd < 0;
 1310|     81|}
fileio.c:_io_FileIO__blksize_get_impl:
 1350|     33|{
 1351|     33|#ifdef HAVE_STRUCT_STAT_ST_BLKSIZE
 1352|     33|    if (self->stat_atopen != NULL && self->stat_atopen->st_blksize > 1) {
  ------------------
  |  Branch (1352:9): [True: 33, False: 0]
  |  Branch (1352:38): [True: 33, False: 0]
  ------------------
 1353|     33|        return self->stat_atopen->st_blksize;
 1354|     33|    }
 1355|      0|#endif /* HAVE_STRUCT_STAT_ST_BLKSIZE */
 1356|      0|    return DEFAULT_BUFFER_SIZE;
  ------------------
  |  |   82|      0|#define DEFAULT_BUFFER_SIZE (128 * 1024)  /* bytes */
  ------------------
 1357|     33|}
fileio.c:_io_FileIO___init___impl:
  260|     33|{
  261|       |#ifdef MS_WINDOWS
  262|       |    wchar_t *widename = NULL;
  263|       |#else
  264|     33|    const char *name = NULL;
  265|     33|#endif
  266|     33|    PyObject *stringobj = NULL;
  267|     33|    const char *s;
  268|     33|    int ret = 0;
  269|     33|    int rwa = 0, plus = 0;
  270|     33|    int flags = 0;
  271|     33|    int fd = -1;
  272|     33|    int fd_is_own = 0;
  273|     33|#ifdef O_CLOEXEC
  274|     33|    int *atomic_flag_works = &_Py_open_cloexec_works;
  275|       |#elif !defined(MS_WINDOWS)
  276|       |    int *atomic_flag_works = NULL;
  277|       |#endif
  278|     33|    int fstat_result;
  279|     33|    int async_err = 0;
  280|       |
  281|       |#ifdef Py_DEBUG
  282|       |    _PyIO_State *state = find_io_state_by_def(Py_TYPE(self));
  283|       |    assert(PyFileIO_Check(state, self));
  284|       |#endif
  285|     33|    if (self->fd >= 0) {
  ------------------
  |  Branch (285:9): [True: 0, False: 33]
  ------------------
  286|      0|        if (self->closefd) {
  ------------------
  |  Branch (286:13): [True: 0, False: 0]
  ------------------
  287|       |            /* Have to close the existing file first. */
  288|      0|            if (internal_close(self) < 0) {
  ------------------
  |  Branch (288:17): [True: 0, False: 0]
  ------------------
  289|      0|                return -1;
  290|      0|            }
  291|      0|        }
  292|      0|        else
  293|      0|            self->fd = -1;
  294|      0|    }
  295|       |
  296|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  297|      0|        if (PyErr_WarnEx(PyExc_RuntimeWarning,
  ------------------
  |  Branch (297:13): [True: 0, False: 0]
  ------------------
  298|      0|                "bool is used as a file descriptor", 1))
  299|      0|        {
  300|      0|            return -1;
  301|      0|        }
  302|      0|    }
  303|     33|    fd = PyLong_AsInt(nameobj);
  304|     33|    if (fd < 0) {
  ------------------
  |  Branch (304:9): [True: 27, False: 6]
  ------------------
  305|     27|        if (!PyErr_Occurred()) {
  ------------------
  |  Branch (305:13): [True: 0, False: 27]
  ------------------
  306|      0|            PyErr_SetString(PyExc_ValueError,
  307|      0|                            "negative file descriptor");
  308|      0|            return -1;
  309|      0|        }
  310|     27|        PyErr_Clear();
  311|     27|    }
  312|       |
  313|     33|    if (fd < 0) {
  ------------------
  |  Branch (313:9): [True: 27, False: 6]
  ------------------
  314|       |#ifdef MS_WINDOWS
  315|       |        if (!PyUnicode_FSDecoder(nameobj, &stringobj)) {
  316|       |            return -1;
  317|       |        }
  318|       |        widename = PyUnicode_AsWideCharString(stringobj, NULL);
  319|       |        if (widename == NULL)
  320|       |            return -1;
  321|       |#else
  322|     27|        if (!PyUnicode_FSConverter(nameobj, &stringobj)) {
  ------------------
  |  Branch (322:13): [True: 0, False: 27]
  ------------------
  323|      0|            return -1;
  324|      0|        }
  325|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  326|     27|#endif
  327|     27|    }
  328|       |
  329|     33|    s = mode;
  330|     66|    while (*s) {
  ------------------
  |  Branch (330:12): [True: 33, False: 33]
  ------------------
  331|     33|        switch (*s++) {
  332|      0|        case 'x':
  ------------------
  |  Branch (332:9): [True: 0, False: 33]
  ------------------
  333|      0|            if (rwa) {
  ------------------
  |  Branch (333:17): [True: 0, False: 0]
  ------------------
  334|      0|            bad_mode:
  335|      0|                PyErr_SetString(PyExc_ValueError,
  336|      0|                                "Must have exactly one of create/read/write/append "
  337|      0|                                "mode and at most one plus");
  338|      0|                goto error;
  339|      0|            }
  340|      0|            rwa = 1;
  341|      0|            self->created = 1;
  342|      0|            self->writable = 1;
  343|      0|            flags |= O_EXCL | O_CREAT;
  344|      0|            break;
  345|     29|        case 'r':
  ------------------
  |  Branch (345:9): [True: 29, False: 4]
  ------------------
  346|     29|            if (rwa)
  ------------------
  |  Branch (346:17): [True: 0, False: 29]
  ------------------
  347|      0|                goto bad_mode;
  348|     29|            rwa = 1;
  349|     29|            self->readable = 1;
  350|     29|            break;
  351|      4|        case 'w':
  ------------------
  |  Branch (351:9): [True: 4, False: 29]
  ------------------
  352|      4|            if (rwa)
  ------------------
  |  Branch (352:17): [True: 0, False: 4]
  ------------------
  353|      0|                goto bad_mode;
  354|      4|            rwa = 1;
  355|      4|            self->writable = 1;
  356|      4|            self->truncate = 1;
  357|      4|            flags |= O_CREAT | O_TRUNC;
  358|      4|            break;
  359|      0|        case 'a':
  ------------------
  |  Branch (359:9): [True: 0, False: 33]
  ------------------
  360|      0|            if (rwa)
  ------------------
  |  Branch (360:17): [True: 0, False: 0]
  ------------------
  361|      0|                goto bad_mode;
  362|      0|            rwa = 1;
  363|      0|            self->writable = 1;
  364|      0|            self->appending = 1;
  365|      0|            flags |= O_APPEND | O_CREAT;
  366|      0|            break;
  367|      0|        case 'b':
  ------------------
  |  Branch (367:9): [True: 0, False: 33]
  ------------------
  368|      0|            break;
  369|      0|        case '+':
  ------------------
  |  Branch (369:9): [True: 0, False: 33]
  ------------------
  370|      0|            if (plus)
  ------------------
  |  Branch (370:17): [True: 0, False: 0]
  ------------------
  371|      0|                goto bad_mode;
  372|      0|            self->readable = self->writable = 1;
  373|      0|            plus = 1;
  374|      0|            break;
  375|      0|        default:
  ------------------
  |  Branch (375:9): [True: 0, False: 33]
  ------------------
  376|      0|            PyErr_Format(PyExc_ValueError,
  377|      0|                         "invalid mode: %.200s", mode);
  378|      0|            goto error;
  379|     33|        }
  380|     33|    }
  381|       |
  382|     33|    if (!rwa)
  ------------------
  |  Branch (382:9): [True: 0, False: 33]
  ------------------
  383|      0|        goto bad_mode;
  384|       |
  385|     33|    if (self->readable && self->writable)
  ------------------
  |  Branch (385:9): [True: 29, False: 4]
  |  Branch (385:27): [True: 0, False: 29]
  ------------------
  386|      0|        flags |= O_RDWR;
  387|     33|    else if (self->readable)
  ------------------
  |  Branch (387:14): [True: 29, False: 4]
  ------------------
  388|     29|        flags |= O_RDONLY;
  389|      4|    else
  390|      4|        flags |= O_WRONLY;
  391|       |
  392|       |#ifdef O_BINARY
  393|       |    flags |= O_BINARY;
  394|       |#endif
  395|       |
  396|       |#ifdef MS_WINDOWS
  397|       |    flags |= O_NOINHERIT;
  398|       |#elif defined(O_CLOEXEC)
  399|     33|    flags |= O_CLOEXEC;
  400|     33|#endif
  401|       |
  402|     33|    if (PySys_Audit("open", "Osi", nameobj, mode, flags) < 0) {
  ------------------
  |  Branch (402:9): [True: 0, False: 33]
  ------------------
  403|      0|        goto error;
  404|      0|    }
  405|       |
  406|     33|    if (fd >= 0) {
  ------------------
  |  Branch (406:9): [True: 6, False: 27]
  ------------------
  407|      6|        self->fd = fd;
  408|      6|        self->closefd = closefd;
  409|      6|    }
  410|     27|    else {
  411|     27|        self->closefd = 1;
  412|     27|        if (!closefd) {
  ------------------
  |  Branch (412:13): [True: 0, False: 27]
  ------------------
  413|      0|            PyErr_SetString(PyExc_ValueError,
  414|      0|                "Cannot use closefd=False with file name");
  415|      0|            goto error;
  416|      0|        }
  417|       |
  418|     27|        errno = 0;
  419|     27|        if (opener == Py_None) {
  ------------------
  |  |  616|     27|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (419:13): [True: 27, False: 0]
  ------------------
  420|     27|            do {
  421|     27|                Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  117|     27|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  118|     27|                        PyThreadState *_save; \
  |  |  119|     27|                        _save = PyEval_SaveThread();
  ------------------
  422|       |#ifdef MS_WINDOWS
  423|       |                self->fd = _wopen(widename, flags, 0666);
  424|       |#else
  425|     27|                self->fd = open(name, flags, 0666);
  426|     27|#endif
  427|     27|                Py_END_ALLOW_THREADS
  ------------------
  |  |  122|     27|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  123|     27|                 }
  ------------------
  428|     27|            } while (self->fd < 0 && errno == EINTR &&
  ------------------
  |  Branch (428:22): [True: 0, False: 27]
  |  Branch (428:38): [True: 0, False: 0]
  ------------------
  429|      0|                     !(async_err = PyErr_CheckSignals()));
  ------------------
  |  Branch (429:22): [True: 0, False: 0]
  ------------------
  430|       |
  431|     27|            if (async_err)
  ------------------
  |  Branch (431:17): [True: 0, False: 27]
  ------------------
  432|      0|                goto error;
  433|       |
  434|     27|            if (self->fd < 0) {
  ------------------
  |  Branch (434:17): [True: 0, False: 27]
  ------------------
  435|      0|                PyErr_SetFromErrnoWithFilenameObject(PyExc_OSError, nameobj);
  436|      0|                goto error;
  437|      0|            }
  438|     27|        }
  439|      0|        else {
  440|      0|            PyObject *fdobj;
  441|       |
  442|      0|#ifndef MS_WINDOWS
  443|       |            /* the opener may clear the atomic flag */
  444|      0|            atomic_flag_works = NULL;
  445|      0|#endif
  446|       |
  447|      0|            fdobj = PyObject_CallFunction(opener, "Oi", nameobj, flags);
  448|      0|            if (fdobj == NULL)
  ------------------
  |  Branch (448:17): [True: 0, False: 0]
  ------------------
  449|      0|                goto error;
  450|      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 (450:17): [True: 0, False: 0]
  ------------------
  451|      0|                Py_DECREF(fdobj);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  452|      0|                PyErr_SetString(PyExc_TypeError,
  453|      0|                        "expected integer from opener");
  454|      0|                goto error;
  455|      0|            }
  456|       |
  457|      0|            self->fd = PyLong_AsInt(fdobj);
  458|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  459|      0|            if (self->fd < 0) {
  ------------------
  |  Branch (459:17): [True: 0, False: 0]
  ------------------
  460|      0|                if (!PyErr_Occurred()) {
  ------------------
  |  Branch (460:21): [True: 0, False: 0]
  ------------------
  461|       |                    /* The opener returned a negative but didn't set an
  462|       |                       exception.  See issue #27066 */
  463|      0|                    PyErr_Format(PyExc_ValueError,
  464|      0|                                 "opener returned %d", self->fd);
  465|      0|                }
  466|      0|                goto error;
  467|      0|            }
  468|      0|        }
  469|     27|        fd_is_own = 1;
  470|       |
  471|     27|#ifndef MS_WINDOWS
  472|     27|        if (_Py_set_inheritable(self->fd, 0, atomic_flag_works) < 0)
  ------------------
  |  Branch (472:13): [True: 0, False: 27]
  ------------------
  473|      0|            goto error;
  474|     27|#endif
  475|     27|    }
  476|       |
  477|     33|    PyMem_Free(self->stat_atopen);
  478|     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)) ) )
  ------------------
  479|     33|    if (self->stat_atopen == NULL) {
  ------------------
  |  Branch (479:9): [True: 0, False: 33]
  ------------------
  480|      0|        PyErr_NoMemory();
  481|      0|        goto error;
  482|      0|    }
  483|     33|    Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  117|     33|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  118|     33|                        PyThreadState *_save; \
  |  |  119|     33|                        _save = PyEval_SaveThread();
  ------------------
  484|     33|    fstat_result = _Py_fstat_noraise(self->fd, self->stat_atopen);
  485|     33|    Py_END_ALLOW_THREADS
  ------------------
  |  |  122|     33|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  123|     33|                 }
  ------------------
  486|     33|    if (fstat_result < 0) {
  ------------------
  |  Branch (486:9): [True: 0, False: 33]
  ------------------
  487|       |        /* Tolerate fstat() errors other than EBADF.  See Issue #25717, where
  488|       |        an anonymous file on a Virtual Box shared folder filesystem would
  489|       |        raise ENOENT. */
  490|       |#ifdef MS_WINDOWS
  491|       |        if (GetLastError() == ERROR_INVALID_HANDLE) {
  492|       |            PyErr_SetFromWindowsErr(0);
  493|       |#else
  494|      0|        if (errno == EBADF) {
  ------------------
  |  Branch (494:13): [True: 0, False: 0]
  ------------------
  495|      0|            PyErr_SetFromErrno(PyExc_OSError);
  496|      0|#endif
  497|      0|            goto error;
  498|      0|        }
  499|       |
  500|      0|        PyMem_Free(self->stat_atopen);
  501|      0|        self->stat_atopen = NULL;
  502|      0|    }
  503|     33|    else {
  504|     33|#if defined(S_ISDIR) && defined(EISDIR)
  505|       |        /* On Unix, open will succeed for directories.
  506|       |           In Python, there should be no file objects referring to
  507|       |           directories, so we need a check.  */
  508|     33|        if (S_ISDIR(self->stat_atopen->st_mode)) {
  ------------------
  |  Branch (508:13): [True: 0, False: 33]
  ------------------
  509|      0|            errno = EISDIR;
  510|      0|            PyErr_SetFromErrnoWithFilenameObject(PyExc_OSError, nameobj);
  511|      0|            goto error;
  512|      0|        }
  513|     33|#endif /* defined(S_ISDIR) */
  514|     33|    }
  515|       |
  516|       |#if defined(MS_WINDOWS) || defined(__CYGWIN__)
  517|       |    /* don't translate newlines (\r\n <=> \n) */
  518|       |    _setmode(self->fd, O_BINARY);
  519|       |#endif
  520|       |
  521|     33|    if (PyObject_SetAttr((PyObject *)self, &_Py_ID(name), nameobj) < 0)
  ------------------
  |  |  936|     33|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     33|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     33|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (521:9): [True: 0, False: 33]
  ------------------
  522|      0|        goto error;
  523|       |
  524|     33|    if (self->appending) {
  ------------------
  |  Branch (524:9): [True: 0, False: 33]
  ------------------
  525|       |        /* For consistent behaviour, we explicitly seek to the
  526|       |           end of file (otherwise, it might be done only on the
  527|       |           first write()). */
  528|      0|        PyObject *pos = portable_lseek(self, NULL, 2, true);
  529|      0|        if (pos == NULL)
  ------------------
  |  Branch (529:13): [True: 0, False: 0]
  ------------------
  530|      0|            goto error;
  531|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  532|      0|    }
  533|       |
  534|     33|    goto done;
  535|       |
  536|     33| error:
  537|      0|    ret = -1;
  538|      0|    if (!fd_is_own)
  ------------------
  |  Branch (538:9): [True: 0, False: 0]
  ------------------
  539|      0|        self->fd = -1;
  540|      0|    if (self->fd >= 0) {
  ------------------
  |  Branch (540:9): [True: 0, False: 0]
  ------------------
  541|      0|        PyObject *exc = PyErr_GetRaisedException();
  542|      0|        internal_close(self);
  543|      0|        _PyErr_ChainExceptions1(exc);
  544|      0|    }
  545|      0|    PyMem_Free(self->stat_atopen);
  546|      0|    self->stat_atopen = NULL;
  547|       |
  548|     33| done:
  549|       |#ifdef MS_WINDOWS
  550|       |    PyMem_Free(widename);
  551|       |#endif
  552|       |    Py_CLEAR(stringobj);
  ------------------
  |  |  484|     33|    do { \
  |  |  485|     33|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|     33|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     33|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|     33|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     33|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     33|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 27, False: 6]
  |  |  ------------------
  |  |  488|     27|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     27|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     27|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|     27|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     27|        } \
  |  |  491|     33|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 33]
  |  |  ------------------
  ------------------
  553|     33|    return ret;
  554|      0|}
fileio.c:fileio_new:
  206|     33|{
  207|     33|    assert(type != NULL && type->tp_alloc != NULL);
  ------------------
  |  Branch (207:5): [True: 33, False: 0]
  |  Branch (207:5): [True: 33, False: 0]
  ------------------
  208|       |
  209|     33|    fileio *self = (fileio *) type->tp_alloc(type, 0);
  210|     33|    if (self == NULL) {
  ------------------
  |  Branch (210:9): [True: 0, False: 33]
  ------------------
  211|      0|        return NULL;
  212|      0|    }
  213|       |
  214|     33|    self->fd = -1;
  215|     33|    self->created = 0;
  216|     33|    self->readable = 0;
  217|     33|    self->writable = 0;
  218|     33|    self->appending = 0;
  219|     33|    self->seekable = -1;
  220|     33|    self->truncate = 0;
  221|     33|    self->stat_atopen = NULL;
  222|     33|    self->closefd = 1;
  223|       |    self->weakreflist = NULL;
  224|     33|    return (PyObject *) self;
  225|     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));
  ------------------
  |  |  936|     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);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491: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));
  ------------------
  |  |  936|      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);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491: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);
  ------------------
  |  |  936|     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));
  ------------------
  |  |  936|     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);
  ------------------
  |  |  936|     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);
  ------------------
  |  |  550|     27|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  542|     27|}
iobase.c:_io__IOBase___exit___impl:
  554|     27|{
  555|     27|    return PyObject_CallMethodNoArgs(self, &_Py_ID(close));
  ------------------
  |  |  936|     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) {
  ------------------
  |  |  936|     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))
  ------------------
  |  |  936|      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));
  ------------------
  |  |  936|      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:
 1554|     12|{
 1555|     12|    textio *self = textio_CAST(op);
  ------------------
  |  |  737|     12|#define textio_CAST(op) ((textio *)(op))
  ------------------
 1556|     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]
  |  |  ------------------
  ------------------
 1557|     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]
  |  |  ------------------
  ------------------
 1558|     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]
  |  |  ------------------
  ------------------
 1559|     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]
  |  |  ------------------
  ------------------
 1560|     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]
  |  |  ------------------
  ------------------
 1561|     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]
  |  |  ------------------
  ------------------
 1562|     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]
  |  |  ------------------
  ------------------
 1563|     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]
  |  |  ------------------
  ------------------
 1564|     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]
  |  |  ------------------
  ------------------
 1565|     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]
  |  |  ------------------
  ------------------
 1566|     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]
  |  |  ------------------
  ------------------
 1567|       |
 1568|     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]
  |  |  ------------------
  ------------------
 1569|     12|    return 0;
 1570|     12|}
textio.c:buffer_access_safe:
  746|     60|{
  747|       |    /* Check self->buffer directly but match errors of CHECK_ATTACHED since this
  748|       |       is called during construction and finalization where self->ok == 0. */
  749|     60|    if (self->buffer == NULL) {
  ------------------
  |  Branch (749:9): [True: 0, False: 60]
  ------------------
  750|      0|        if (self->ok <= 0) {
  ------------------
  |  Branch (750:13): [True: 0, False: 0]
  ------------------
  751|      0|            PyErr_SetString(PyExc_ValueError,
  752|      0|                            "I/O operation on uninitialized object");
  753|      0|        }
  754|      0|        else {
  755|      0|            PyErr_SetString(PyExc_ValueError,
  756|      0|                            "underlying buffer has been detached");
  757|      0|        }
  758|      0|        return NULL;
  759|      0|    }
  760|       |
  761|       |    /* Returning a borrowed reference is safe since TextIOWrapper methods are
  762|       |       protected by critical sections. */
  763|     60|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(self);
  764|     60|    return self->buffer;
  765|     60|}
textio.c:_textiowrapper_writeflush:
 1656|     22|{
 1657|     22|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(self);
 1658|       |
 1659|     22|    if (self->pending_bytes == NULL)
  ------------------
  |  Branch (1659:9): [True: 0, False: 22]
  ------------------
 1660|      0|        return 0;
 1661|       |
 1662|     22|    PyObject *pending = self->pending_bytes;
 1663|     22|    PyObject *b;
 1664|       |
 1665|     22|    if (PyBytes_Check(pending)) {
  ------------------
  |  |   28|     22|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     22|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 22]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1666|      0|        b = Py_NewRef(pending);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1667|      0|    }
 1668|     22|    else if (PyUnicode_Check(pending)) {
  ------------------
  |  |  103|     22|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     22|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 22, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1669|     22|        assert(PyUnicode_IS_ASCII(pending));
  ------------------
  |  Branch (1669:9): [True: 22, False: 0]
  ------------------
 1670|     22|        assert(PyUnicode_GET_LENGTH(pending) == self->pending_bytes_count);
  ------------------
  |  Branch (1670:9): [True: 22, False: 0]
  ------------------
 1671|     22|        b = PyBytes_FromStringAndSize(
 1672|     22|                PyUnicode_DATA(pending), PyUnicode_GET_LENGTH(pending));
  ------------------
  |  |  284|     22|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                              PyUnicode_DATA(pending), PyUnicode_GET_LENGTH(pending));
  ------------------
  |  |  299|     22|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1673|     22|        if (b == NULL) {
  ------------------
  |  Branch (1673:13): [True: 0, False: 22]
  ------------------
 1674|      0|            return -1;
 1675|      0|        }
 1676|     22|    }
 1677|      0|    else {
 1678|      0|        assert(PyList_Check(pending));
  ------------------
  |  Branch (1678:9): [True: 0, False: 0]
  ------------------
 1679|      0|        PyBytesWriter *writer = PyBytesWriter_Create(self->pending_bytes_count);
 1680|      0|        if (writer == NULL) {
  ------------------
  |  Branch (1680:13): [True: 0, False: 0]
  ------------------
 1681|      0|            return -1;
 1682|      0|        }
 1683|       |
 1684|      0|        char *buf = PyBytesWriter_GetData(writer);
 1685|      0|        Py_ssize_t pos = 0;
 1686|       |
 1687|      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 (1687:32): [True: 0, False: 0]
  ------------------
 1688|      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 (1688:29): [True: 0, False: 0]
  ------------------
 1689|      0|            const char *src;
 1690|      0|            Py_ssize_t len;
 1691|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1692|      0|                assert(PyUnicode_IS_ASCII(obj));
  ------------------
  |  Branch (1692:17): [True: 0, False: 0]
  ------------------
 1693|      0|                src = PyUnicode_DATA(obj);
  ------------------
  |  |  284|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1694|      0|                len = PyUnicode_GET_LENGTH(obj);
  ------------------
  |  |  299|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1695|      0|            }
 1696|      0|            else {
 1697|      0|                assert(PyBytes_Check(obj));
  ------------------
  |  Branch (1697:17): [True: 0, False: 0]
  ------------------
 1698|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1699|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1700|      0|            }
 1701|      0|            memcpy(buf + pos, src, len);
 1702|      0|            pos += len;
 1703|      0|        }
 1704|      0|        assert(pos == self->pending_bytes_count);
  ------------------
  |  Branch (1704:9): [True: 0, False: 0]
  ------------------
 1705|       |
 1706|      0|        b = PyBytesWriter_Finish(writer);
 1707|      0|        if (b == NULL) {
  ------------------
  |  Branch (1707:13): [True: 0, False: 0]
  ------------------
 1708|      0|            return -1;
 1709|      0|        }
 1710|      0|    }
 1711|       |
 1712|     22|    self->pending_bytes_count = 0;
 1713|     22|    self->pending_bytes = NULL;
 1714|     22|    Py_DECREF(pending);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1715|       |
 1716|     22|    PyObject *ret;
 1717|     22|    do {
 1718|     22|        ret = buffer_callmethod_onearg(self, &_Py_ID(write), b);
  ------------------
  |  |  936|     22|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     22|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     22|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1719|     22|    } while (ret == NULL && _PyIO_trap_eintr());
  ------------------
  |  Branch (1719:14): [True: 0, False: 22]
  |  Branch (1719:29): [True: 0, False: 0]
  ------------------
 1720|     22|    Py_DECREF(b);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1721|       |    // NOTE: We cleared buffer but we don't know how many bytes are actually written
 1722|       |    // when an error occurred.
 1723|     22|    if (ret == NULL)
  ------------------
  |  Branch (1723:9): [True: 0, False: 22]
  ------------------
 1724|      0|        return -1;
 1725|     22|    Py_DECREF(ret);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1726|     22|    return 0;
 1727|     22|}
textio.c:buffer_callmethod_onearg:
  791|     22|{
  792|     22|    PyObject *buffer = buffer_access_safe(self);
  793|     22|    if (buffer == NULL) {
  ------------------
  |  Branch (793:9): [True: 0, False: 22]
  ------------------
  794|      0|        return NULL;
  795|      0|    }
  796|       |
  797|     22|    return PyObject_CallMethodOneArg(buffer, name, arg);
  798|     22|}
textio.c:validate_newline:
  914|      6|{
  915|      6|    if (newline && newline[0] != '\0'
  ------------------
  |  Branch (915:9): [True: 6, False: 0]
  |  Branch (915:20): [True: 6, False: 0]
  ------------------
  916|      6|        && !(newline[0] == '\n' && newline[1] == '\0')
  ------------------
  |  Branch (916:14): [True: 6, False: 0]
  |  Branch (916:36): [True: 6, False: 0]
  ------------------
  917|      0|        && !(newline[0] == '\r' && newline[1] == '\0')
  ------------------
  |  Branch (917:14): [True: 0, False: 0]
  |  Branch (917:36): [True: 0, False: 0]
  ------------------
  918|      0|        && !(newline[0] == '\r' && newline[1] == '\n' && newline[2] == '\0')) {
  ------------------
  |  Branch (918:14): [True: 0, False: 0]
  |  Branch (918:36): [True: 0, False: 0]
  |  Branch (918:58): [True: 0, False: 0]
  ------------------
  919|      0|        PyErr_Format(PyExc_ValueError,
  920|      0|                     "illegal newline value: %s", newline);
  921|      0|        return -1;
  922|      0|    }
  923|      6|    return 0;
  924|      6|}
textio.c:set_newline:
  928|      6|{
  929|      6|    PyObject *old = self->readnl;
  930|      6|    if (newline == NULL) {
  ------------------
  |  Branch (930:9): [True: 0, False: 6]
  ------------------
  931|      0|        self->readnl = NULL;
  932|      0|    }
  933|      6|    else {
  934|      6|        self->readnl = PyUnicode_FromString(newline);
  935|      6|        if (self->readnl == NULL) {
  ------------------
  |  Branch (935:13): [True: 0, False: 6]
  ------------------
  936|      0|            self->readnl = old;
  937|      0|            return -1;
  938|      0|        }
  939|      6|    }
  940|      6|    self->readuniversal = (newline == NULL || newline[0] == '\0');
  ------------------
  |  Branch (940:28): [True: 0, False: 6]
  |  Branch (940:47): [True: 0, False: 6]
  ------------------
  941|      6|    self->readtranslate = (newline == NULL);
  942|      6|    self->writetranslate = (newline == NULL || newline[0] != '\0');
  ------------------
  |  Branch (942:29): [True: 0, False: 6]
  |  Branch (942:48): [True: 6, False: 0]
  ------------------
  943|      6|    if (!self->readuniversal && self->readnl != NULL) {
  ------------------
  |  Branch (943:9): [True: 6, False: 0]
  |  Branch (943:33): [True: 6, False: 0]
  ------------------
  944|       |        // validate_newline() accepts only ASCII newlines.
  945|      6|        assert(PyUnicode_KIND(self->readnl) == PyUnicode_1BYTE_KIND);
  ------------------
  |  Branch (945:9): [True: 6, False: 0]
  |  Branch (945:9): [True: 6, False: 0]
  ------------------
  946|      6|        self->writenl = (const char *)PyUnicode_1BYTE_DATA(self->readnl);
  ------------------
  |  |  291|      6|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      6|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  947|      6|        if (strcmp(self->writenl, "\n") == 0) {
  ------------------
  |  Branch (947:13): [True: 6, False: 0]
  ------------------
  948|      6|            self->writenl = NULL;
  949|      6|        }
  950|      6|    }
  951|      0|    else {
  952|       |#ifdef MS_WINDOWS
  953|       |        self->writenl = "\r\n";
  954|       |#else
  955|      0|        self->writenl = NULL;
  956|      0|#endif
  957|      0|    }
  958|      6|    Py_XDECREF(old);
  ------------------
  |  |  524|      6|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  959|      6|    return 0;
  960|      6|}
textio.c:_textiowrapper_set_decoder:
  965|      6|{
  966|      6|    PyObject *res;
  967|      6|    int r;
  968|       |
  969|      6|    res = buffer_callmethod_noargs(self, &_Py_ID(readable));
  ------------------
  |  |  936|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  970|      6|    if (res == NULL)
  ------------------
  |  Branch (970:9): [True: 0, False: 6]
  ------------------
  971|      0|        return -1;
  972|       |
  973|      6|    r = PyObject_IsTrue(res);
  974|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  975|      6|    if (r == -1)
  ------------------
  |  Branch (975:9): [True: 0, False: 6]
  ------------------
  976|      0|        return -1;
  977|       |
  978|      6|    if (r != 1)
  ------------------
  |  Branch (978:9): [True: 4, False: 2]
  ------------------
  979|      4|        return 0;
  980|       |
  981|      2|    Py_CLEAR(self->decoder);
  ------------------
  |  |  484|      2|    do { \
  |  |  485|      2|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      2|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      2|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  982|      2|    self->decoder = _PyCodecInfo_GetIncrementalDecoder(codec_info, errors);
  983|      2|    if (self->decoder == NULL)
  ------------------
  |  Branch (983:9): [True: 0, False: 2]
  ------------------
  984|      0|        return -1;
  985|       |
  986|      2|    if (self->readuniversal) {
  ------------------
  |  Branch (986:9): [True: 0, False: 2]
  ------------------
  987|      0|        _PyIO_State *state = self->state;
  988|      0|        PyObject *incrementalDecoder = PyObject_CallFunctionObjArgs(
  989|      0|            (PyObject *)state->PyIncrementalNewlineDecoder_Type,
  990|      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 (990:28): [True: 0, False: 0]
  ------------------
  991|      0|        if (incrementalDecoder == NULL)
  ------------------
  |  Branch (991:13): [True: 0, False: 0]
  ------------------
  992|      0|            return -1;
  993|      0|        Py_XSETREF(self->decoder, incrementalDecoder);
  ------------------
  |  |  376|      0|    do { \
  |  |  377|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|      0|        *_tmp_dst_ptr = (src); \
  |  |  380|      0|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  994|      0|    }
  995|       |
  996|      2|    return 0;
  997|      2|}
textio.c:buffer_callmethod_noargs:
  780|     16|{
  781|     16|    PyObject *buffer = buffer_access_safe(self);
  782|     16|    if (buffer == NULL) {
  ------------------
  |  Branch (782:9): [True: 0, False: 16]
  ------------------
  783|      0|        return NULL;
  784|      0|    }
  785|       |
  786|     16|    return PyObject_CallMethodNoArgs(buffer, name);
  787|     16|}
textio.c:_textiowrapper_set_encoder:
 1021|      6|{
 1022|      6|    PyObject *res;
 1023|      6|    int r;
 1024|       |
 1025|      6|    res = buffer_callmethod_noargs(self, &_Py_ID(writable));
  ------------------
  |  |  936|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1026|      6|    if (res == NULL)
  ------------------
  |  Branch (1026:9): [True: 0, False: 6]
  ------------------
 1027|      0|        return -1;
 1028|       |
 1029|      6|    r = PyObject_IsTrue(res);
 1030|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1031|      6|    if (r == -1)
  ------------------
  |  Branch (1031:9): [True: 0, False: 6]
  ------------------
 1032|      0|        return -1;
 1033|       |
 1034|      6|    if (r != 1)
  ------------------
  |  Branch (1034:9): [True: 2, False: 4]
  ------------------
 1035|      2|        return 0;
 1036|       |
 1037|      4|    Py_CLEAR(self->encoder);
  ------------------
  |  |  484|      4|    do { \
  |  |  485|      4|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      4|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      4|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 4]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
 1038|      4|    self->encodefunc = NULL;
 1039|      4|    self->encoder = _PyCodecInfo_GetIncrementalEncoder(codec_info, errors);
 1040|      4|    if (self->encoder == NULL)
  ------------------
  |  Branch (1040:9): [True: 0, False: 4]
  ------------------
 1041|      0|        return -1;
 1042|       |
 1043|       |    /* Get the normalized named of the codec */
 1044|      4|    if (PyObject_GetOptionalAttr(codec_info, &_Py_ID(name), &res) < 0) {
  ------------------
  |  |  936|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1044:9): [True: 0, False: 4]
  ------------------
 1045|      0|        return -1;
 1046|      0|    }
 1047|      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 (1047:9): [True: 4, False: 0]
  ------------------
 1048|      4|        const encodefuncentry *e = encodefuncs;
 1049|     12|        while (e->name != NULL) {
  ------------------
  |  Branch (1049:16): [True: 12, False: 0]
  ------------------
 1050|     12|            if (_PyUnicode_EqualToASCIIString(res, e->name)) {
  ------------------
  |  Branch (1050:17): [True: 4, False: 8]
  ------------------
 1051|      4|                self->encodefunc = e->encodefunc;
 1052|      4|                break;
 1053|      4|            }
 1054|      8|            e++;
 1055|      8|        }
 1056|      4|    }
 1057|      4|    Py_XDECREF(res);
  ------------------
  |  |  524|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1058|       |
 1059|      4|    return 0;
 1060|      4|}
textio.c:_textiowrapper_fix_encoder_state:
 1064|      6|{
 1065|      6|    if (!self->seekable || !self->encoder) {
  ------------------
  |  Branch (1065:9): [True: 0, False: 6]
  |  Branch (1065:28): [True: 2, False: 4]
  ------------------
 1066|      2|        return 0;
 1067|      2|    }
 1068|       |
 1069|      4|    self->encoding_start_of_stream = 1;
 1070|       |
 1071|      4|    PyObject *cookieObj = buffer_callmethod_noargs(self, &_Py_ID(tell));
  ------------------
  |  |  936|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1072|      4|    if (cookieObj == NULL) {
  ------------------
  |  Branch (1072:9): [True: 0, False: 4]
  ------------------
 1073|      0|        return -1;
 1074|      0|    }
 1075|       |
 1076|      4|    int cmp = PyObject_RichCompareBool(cookieObj, _PyLong_GetZero(), Py_EQ);
  ------------------
  |  |  654|      4|#define Py_EQ 2
  ------------------
 1077|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1078|      4|    if (cmp < 0) {
  ------------------
  |  Branch (1078:9): [True: 0, False: 4]
  ------------------
 1079|      0|        return -1;
 1080|      0|    }
 1081|       |
 1082|      4|    if (cmp == 0) {
  ------------------
  |  Branch (1082:9): [True: 2, False: 2]
  ------------------
 1083|      2|        self->encoding_start_of_stream = 0;
 1084|      2|        PyObject *res = PyObject_CallMethodOneArg(
 1085|      2|            self->encoder, &_Py_ID(setstate), _PyLong_GetZero());
  ------------------
  |  |  936|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1086|      2|        if (res == NULL) {
  ------------------
  |  Branch (1086:13): [True: 0, False: 2]
  ------------------
 1087|      0|            return -1;
 1088|      0|        }
 1089|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1090|      2|    }
 1091|       |
 1092|      4|    return 0;
 1093|      4|}
textio.c:_io_TextIOWrapper_write_impl:
 1739|     22|{
 1740|     22|    PyObject *ret;
 1741|     22|    PyObject *b;
 1742|     22|    Py_ssize_t textlen;
 1743|     22|    int haslf = 0;
 1744|     22|    int needflush = 0, text_needflush = 0;
 1745|       |
 1746|     22|    CHECK_ATTACHED(self);
  ------------------
  |  | 1610|     22|    CHECK_INITIALIZED(self); \
  |  |  ------------------
  |  |  |  | 1603|     22|    if (self->ok <= 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1603:9): [True: 0, False: 22]
  |  |  |  |  ------------------
  |  |  |  | 1604|      0|        PyErr_SetString(PyExc_ValueError, \
  |  |  |  | 1605|      0|            "I/O operation on uninitialized object"); \
  |  |  |  | 1606|      0|        return NULL; \
  |  |  |  | 1607|      0|    }
  |  |  ------------------
  |  | 1611|     22|    if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (1611:9): [True: 0, False: 22]
  |  |  ------------------
  |  | 1612|      0|        PyErr_SetString(PyExc_ValueError, \
  |  | 1613|      0|             "underlying buffer has been detached"); \
  |  | 1614|      0|        return NULL; \
  |  | 1615|      0|    }
  ------------------
 1747|     22|    CHECK_CLOSED(self);
  ------------------
  |  | 1577|     22|    do { \
  |  | 1578|     22|        int r; \
  |  | 1579|     22|        PyObject *_res; \
  |  | 1580|     22|        if (Py_IS_TYPE(self, self->state->PyTextIOWrapper_Type)) { \
  |  |  ------------------
  |  |  |  |  215|     22|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 22, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1581|     22|            if (self->raw != NULL) \
  |  |  ------------------
  |  |  |  Branch (1581:17): [True: 22, False: 0]
  |  |  ------------------
  |  | 1582|     22|                r = _PyFileIO_closed(self->raw); \
  |  | 1583|     22|            else { \
  |  | 1584|      0|                _res = _io_TextIOWrapper_closed_get_impl(self); \
  |  | 1585|      0|                if (_res == NULL) \
  |  |  ------------------
  |  |  |  Branch (1585:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1586|      0|                    return NULL; \
  |  | 1587|      0|                r = PyObject_IsTrue(_res); \
  |  | 1588|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1589|      0|                if (r < 0) \
  |  |  ------------------
  |  |  |  Branch (1589:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1590|      0|                    return NULL; \
  |  | 1591|      0|            } \
  |  | 1592|     22|            if (r > 0) { \
  |  |  ------------------
  |  |  |  Branch (1592:17): [True: 0, False: 22]
  |  |  ------------------
  |  | 1593|      0|                PyErr_SetString(PyExc_ValueError, \
  |  | 1594|      0|                                "I/O operation on closed file."); \
  |  | 1595|      0|                return NULL; \
  |  | 1596|      0|            } \
  |  | 1597|     22|        } \
  |  | 1598|     22|        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 (1598:18): [True: 0, False: 0]
  |  |  ------------------
  |  | 1599|      0|            return NULL; \
  |  | 1600|     22|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1600:14): [Folded, False: 22]
  |  |  ------------------
  ------------------
 1748|       |
 1749|     22|    if (self->encoder == NULL) {
  ------------------
  |  Branch (1749:9): [True: 0, False: 22]
  ------------------
 1750|      0|        return _unsupported(self->state, "not writable");
 1751|      0|    }
 1752|       |
 1753|     22|    Py_INCREF(text);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1754|       |
 1755|     22|    textlen = PyUnicode_GET_LENGTH(text);
  ------------------
  |  |  299|     22|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1756|       |
 1757|     22|    if ((self->writetranslate && self->writenl != NULL) || self->line_buffering)
  ------------------
  |  Branch (1757:10): [True: 22, False: 0]
  |  Branch (1757:34): [True: 0, False: 22]
  |  Branch (1757:60): [True: 22, False: 0]
  ------------------
 1758|     22|        if (PyUnicode_FindChar(text, '\n', 0, PyUnicode_GET_LENGTH(text), 1) != -1)
  ------------------
  |  |  299|     22|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1758:13): [True: 22, False: 0]
  ------------------
 1759|     22|            haslf = 1;
 1760|       |
 1761|     22|    if (haslf && self->writetranslate && self->writenl != NULL) {
  ------------------
  |  Branch (1761:9): [True: 22, False: 0]
  |  Branch (1761:18): [True: 22, False: 0]
  |  Branch (1761:42): [True: 0, False: 22]
  ------------------
 1762|      0|        PyObject *newtext = _PyObject_CallMethod(text, &_Py_ID(replace),
  ------------------
  |  |  936|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1763|      0|                                                 "ss", "\n", self->writenl);
 1764|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1765|      0|        if (newtext == NULL)
  ------------------
  |  Branch (1765:13): [True: 0, False: 0]
  ------------------
 1766|      0|            return NULL;
 1767|      0|        text = newtext;
 1768|      0|    }
 1769|       |
 1770|     22|    if (self->write_through)
  ------------------
  |  Branch (1770:9): [True: 0, False: 22]
  ------------------
 1771|      0|        text_needflush = 1;
 1772|     22|    if (self->line_buffering &&
  ------------------
  |  Branch (1772:9): [True: 22, False: 0]
  ------------------
 1773|     22|        (haslf ||
  ------------------
  |  Branch (1773:10): [True: 22, False: 0]
  ------------------
 1774|      0|         PyUnicode_FindChar(text, '\r', 0, PyUnicode_GET_LENGTH(text), 1) != -1))
  ------------------
  |  |  299|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1774:10): [True: 0, False: 0]
  ------------------
 1775|     22|        needflush = 1;
 1776|       |
 1777|       |    /* XXX What if we were just reading? */
 1778|     22|    if (self->encodefunc != NULL) {
  ------------------
  |  Branch (1778:9): [True: 22, False: 0]
  ------------------
 1779|     22|        if (PyUnicode_IS_ASCII(text) &&
  ------------------
  |  |  227|     44|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 22, False: 0]
  |  |  ------------------
  ------------------
 1780|       |                // See bpo-43260
 1781|     22|                PyUnicode_GET_LENGTH(text) <= self->chunk_size &&
  ------------------
  |  |  299|     22|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1781:17): [True: 22, False: 0]
  ------------------
 1782|     22|                is_asciicompat_encoding(self->encodefunc)) {
  ------------------
  |  Branch (1782:17): [True: 22, False: 0]
  ------------------
 1783|     22|            b = Py_NewRef(text);
  ------------------
  |  |  550|     22|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1784|     22|        }
 1785|      0|        else {
 1786|      0|            b = (*self->encodefunc)((PyObject *) self, text);
 1787|      0|        }
 1788|     22|        self->encoding_start_of_stream = 0;
 1789|     22|    }
 1790|      0|    else {
 1791|      0|        b = PyObject_CallMethodOneArg(self->encoder, &_Py_ID(encode), text);
  ------------------
  |  |  936|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1792|      0|    }
 1793|       |
 1794|     22|    Py_DECREF(text);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1795|     22|    if (b == NULL)
  ------------------
  |  Branch (1795:9): [True: 0, False: 22]
  ------------------
 1796|      0|        return NULL;
 1797|     22|    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 (1797:9): [True: 0, False: 22]
  |  Branch (1797:22): [True: 0, False: 0]
  ------------------
 1798|      0|        PyErr_Format(PyExc_TypeError,
 1799|      0|                     "encoder should return a bytes object, not '%.200s'",
 1800|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1801|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1802|      0|        return NULL;
 1803|      0|    }
 1804|       |
 1805|     22|    Py_ssize_t bytes_len;
 1806|     22|    if (b == text) {
  ------------------
  |  Branch (1806:9): [True: 22, False: 0]
  ------------------
 1807|     22|        bytes_len = PyUnicode_GET_LENGTH(b);
  ------------------
  |  |  299|     22|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1808|     22|    }
 1809|      0|    else {
 1810|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1811|      0|    }
 1812|       |
 1813|       |    // We should avoid concatenating huge data.
 1814|       |    // Flush the buffer before adding b to the buffer if b is not small.
 1815|       |    // https://github.com/python/cpython/issues/87426
 1816|     22|    if (bytes_len >= self->chunk_size) {
  ------------------
  |  Branch (1816:9): [True: 0, False: 22]
  ------------------
 1817|       |        // _textiowrapper_writeflush() calls buffer.write().
 1818|       |        // self->pending_bytes can be appended during buffer->write()
 1819|       |        // or other thread.
 1820|       |        // We need to loop until buffer becomes empty.
 1821|       |        // https://github.com/python/cpython/issues/118138
 1822|       |        // https://github.com/python/cpython/issues/119506
 1823|      0|        while (self->pending_bytes != NULL) {
  ------------------
  |  Branch (1823:16): [True: 0, False: 0]
  ------------------
 1824|      0|            if (_textiowrapper_writeflush(self) < 0) {
  ------------------
  |  Branch (1824:17): [True: 0, False: 0]
  ------------------
 1825|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1826|      0|                return NULL;
 1827|      0|            }
 1828|      0|        }
 1829|      0|    }
 1830|       |
 1831|     22|    if (bytes_len > 0) {
  ------------------
  |  Branch (1831:9): [True: 22, False: 0]
  ------------------
 1832|     22|        if (self->pending_bytes == NULL) {
  ------------------
  |  Branch (1832:13): [True: 22, False: 0]
  ------------------
 1833|     22|            assert(self->pending_bytes_count == 0);
  ------------------
  |  Branch (1833:13): [True: 22, False: 0]
  ------------------
 1834|     22|            self->pending_bytes = b;
 1835|     22|        }
 1836|      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 (1836:18): [True: 0, False: 0]
  ------------------
 1837|      0|            PyObject *list = PyList_New(2);
 1838|      0|            if (list == NULL) {
  ------------------
  |  Branch (1838:17): [True: 0, False: 0]
  ------------------
 1839|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1840|      0|                return NULL;
 1841|      0|            }
 1842|       |            // Since Python 3.12, allocating GC object won't trigger GC and release
 1843|       |            // GIL. See https://github.com/python/cpython/issues/97922
 1844|      0|            assert(!PyList_CheckExact(self->pending_bytes));
  ------------------
  |  Branch (1844:13): [True: 0, False: 0]
  ------------------
 1845|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1846|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1847|      0|            self->pending_bytes = list;
 1848|      0|        }
 1849|      0|        else {
 1850|      0|            if (PyList_Append(self->pending_bytes, b) < 0) {
  ------------------
  |  Branch (1850:17): [True: 0, False: 0]
  ------------------
 1851|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1852|      0|                return NULL;
 1853|      0|            }
 1854|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1855|      0|        }
 1856|       |
 1857|     22|        self->pending_bytes_count += bytes_len;
 1858|     22|    }
 1859|      0|    else {
 1860|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1861|      0|    }
 1862|       |
 1863|     22|    if (self->pending_bytes_count >= self->chunk_size || needflush ||
  ------------------
  |  Branch (1863:9): [True: 0, False: 22]
  |  Branch (1863:58): [True: 22, False: 0]
  ------------------
 1864|     22|        text_needflush) {
  ------------------
  |  Branch (1864:9): [True: 0, False: 0]
  ------------------
 1865|     22|        if (_textiowrapper_writeflush(self) < 0)
  ------------------
  |  Branch (1865:13): [True: 0, False: 22]
  ------------------
 1866|      0|            return NULL;
 1867|     22|    }
 1868|       |
 1869|     22|    if (needflush) {
  ------------------
  |  Branch (1869:9): [True: 22, False: 0]
  ------------------
 1870|     22|        PyObject *buffer = buffer_access_safe(self);
 1871|     22|        if (buffer == NULL || _PyFile_Flush(buffer) < 0) {
  ------------------
  |  Branch (1871:13): [True: 0, False: 22]
  |  Branch (1871:31): [True: 0, False: 22]
  ------------------
 1872|      0|            return NULL;
 1873|      0|        }
 1874|     22|    }
 1875|       |
 1876|     22|    if (self->snapshot != NULL) {
  ------------------
  |  Branch (1876:9): [True: 0, False: 22]
  ------------------
 1877|      0|        textiowrapper_set_decoded_chars(self, NULL);
 1878|      0|        Py_CLEAR(self->snapshot);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1879|      0|    }
 1880|       |
 1881|     22|    if (self->decoder) {
  ------------------
  |  Branch (1881:9): [True: 0, False: 22]
  ------------------
 1882|      0|        ret = PyObject_CallMethodNoArgs(self->decoder, &_Py_ID(reset));
  ------------------
  |  |  936|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1883|      0|        if (ret == NULL)
  ------------------
  |  Branch (1883:13): [True: 0, False: 0]
  ------------------
 1884|      0|            return NULL;
 1885|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1886|      0|    }
 1887|       |
 1888|     22|    return PyLong_FromSsize_t(textlen);
 1889|     22|}
textio.c:is_asciicompat_encoding:
  888|     22|{
  889|     22|    return f == ascii_encode || f == latin1_encode || f == utf8_encode;
  ------------------
  |  Branch (889:12): [True: 0, False: 22]
  |  Branch (889:33): [True: 0, False: 22]
  |  Branch (889:55): [True: 22, False: 0]
  ------------------
  890|     22|}
textio.c:_io_TextIOWrapper___init___impl:
 1176|      6|{
 1177|      6|    PyObject *raw, *codec_info = NULL;
 1178|      6|    PyObject *res;
 1179|      6|    int r;
 1180|       |
 1181|      6|    self->ok = 0;
 1182|      6|    self->detached = 0;
 1183|       |
 1184|      6|    if (encoding == NULL) {
  ------------------
  |  Branch (1184:9): [True: 0, False: 6]
  ------------------
 1185|      0|        PyInterpreterState *interp = _PyInterpreterState_GET();
 1186|      0|        if (_PyInterpreterState_GetConfig(interp)->warn_default_encoding) {
  ------------------
  |  Branch (1186:13): [True: 0, False: 0]
  ------------------
 1187|      0|            if (PyErr_WarnEx(PyExc_EncodingWarning,
  ------------------
  |  Branch (1187:17): [True: 0, False: 0]
  ------------------
 1188|      0|                             "'encoding' argument not specified", 1)) {
 1189|      0|                return -1;
 1190|      0|            }
 1191|      0|        }
 1192|      0|    }
 1193|       |
 1194|      6|    if (errors == Py_None) {
  ------------------
  |  |  616|      6|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1194:9): [True: 0, False: 6]
  ------------------
 1195|      0|        errors = &_Py_ID(strict);
  ------------------
  |  |  936|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1196|      0|    }
 1197|      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 (1197:14): [True: 0, False: 6]
  ------------------
 1198|       |        // Check 'errors' argument here because Argument Clinic doesn't support
 1199|       |        // 'str(accept={str, NoneType})' converter.
 1200|      0|        PyErr_Format(
 1201|      0|            PyExc_TypeError,
 1202|      0|            "TextIOWrapper() argument 'errors' must be str or None, not %.50s",
 1203|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1204|      0|        return -1;
 1205|      0|    }
 1206|      6|    else if (io_check_errors(errors)) {
  ------------------
  |  Branch (1206:14): [True: 0, False: 6]
  ------------------
 1207|      0|        return -1;
 1208|      0|    }
 1209|      6|    const char *errors_str = _PyUnicode_AsUTF8NoNUL(errors);
 1210|      6|    if (errors_str == NULL) {
  ------------------
  |  Branch (1210:9): [True: 0, False: 6]
  ------------------
 1211|      0|        return -1;
 1212|      0|    }
 1213|       |
 1214|      6|    if (validate_newline(newline) < 0) {
  ------------------
  |  Branch (1214:9): [True: 0, False: 6]
  ------------------
 1215|      0|        return -1;
 1216|      0|    }
 1217|       |
 1218|      6|    Py_CLEAR(self->buffer);
  ------------------
  |  |  484|      6|    do { \
  |  |  485|      6|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      6|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      6|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 6]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 1219|      6|    Py_CLEAR(self->encoding);
  ------------------
  |  |  484|      6|    do { \
  |  |  485|      6|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      6|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      6|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 6]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 1220|      6|    Py_CLEAR(self->encoder);
  ------------------
  |  |  484|      6|    do { \
  |  |  485|      6|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      6|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      6|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 6]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 1221|      6|    Py_CLEAR(self->decoder);
  ------------------
  |  |  484|      6|    do { \
  |  |  485|      6|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      6|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      6|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 6]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 1222|      6|    Py_CLEAR(self->readnl);
  ------------------
  |  |  484|      6|    do { \
  |  |  485|      6|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      6|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      6|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 6]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 1223|      6|    Py_CLEAR(self->decoded_chars);
  ------------------
  |  |  484|      6|    do { \
  |  |  485|      6|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      6|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      6|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 6]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 1224|      6|    Py_CLEAR(self->pending_bytes);
  ------------------
  |  |  484|      6|    do { \
  |  |  485|      6|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      6|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      6|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 6]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 1225|      6|    Py_CLEAR(self->snapshot);
  ------------------
  |  |  484|      6|    do { \
  |  |  485|      6|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      6|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      6|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 6]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 1226|      6|    Py_CLEAR(self->errors);
  ------------------
  |  |  484|      6|    do { \
  |  |  485|      6|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      6|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      6|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 6]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 1227|      6|    Py_CLEAR(self->raw);
  ------------------
  |  |  484|      6|    do { \
  |  |  485|      6|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      6|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      6|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 6]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 1228|      6|    self->decoded_chars_used = 0;
 1229|      6|    self->pending_bytes_count = 0;
 1230|      6|    self->encodefunc = NULL;
 1231|      6|    self->b2cratio = 0.0;
 1232|       |
 1233|      6|    if (encoding == NULL && _PyRuntime.preconfig.utf8_mode) {
  ------------------
  |  Branch (1233:9): [True: 0, False: 6]
  |  Branch (1233:29): [True: 0, False: 0]
  ------------------
 1234|      0|        _Py_DECLARE_STR(utf_8, "utf-8");
 1235|      0|        self->encoding = &_Py_STR(utf_8);
  ------------------
  |  |  938|      0|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1236|      0|    }
 1237|      6|    else if (encoding == NULL || (strcmp(encoding, "locale") == 0)) {
  ------------------
  |  Branch (1237:14): [True: 0, False: 6]
  |  Branch (1237:34): [True: 0, False: 6]
  ------------------
 1238|      0|        self->encoding = _Py_GetLocaleEncodingObject();
 1239|      0|        if (self->encoding == NULL) {
  ------------------
  |  Branch (1239:13): [True: 0, False: 0]
  ------------------
 1240|      0|            goto error;
 1241|      0|        }
 1242|      0|        assert(PyUnicode_Check(self->encoding));
  ------------------
  |  Branch (1242:9): [True: 0, False: 0]
  ------------------
 1243|      0|    }
 1244|       |
 1245|      6|    if (self->encoding != NULL) {
  ------------------
  |  Branch (1245:9): [True: 0, False: 6]
  ------------------
 1246|      0|        encoding = PyUnicode_AsUTF8(self->encoding);
 1247|      0|        if (encoding == NULL)
  ------------------
  |  Branch (1247:13): [True: 0, False: 0]
  ------------------
 1248|      0|            goto error;
 1249|      0|    }
 1250|      6|    else if (encoding != NULL) {
  ------------------
  |  Branch (1250:14): [True: 6, False: 0]
  ------------------
 1251|      6|        self->encoding = PyUnicode_FromString(encoding);
 1252|      6|        if (self->encoding == NULL)
  ------------------
  |  Branch (1252:13): [True: 0, False: 6]
  ------------------
 1253|      0|            goto error;
 1254|      6|    }
 1255|      0|    else {
 1256|      0|        PyErr_SetString(PyExc_OSError,
 1257|      0|                        "could not determine default encoding");
 1258|      0|        goto error;
 1259|      0|    }
 1260|       |
 1261|       |    /* Check we have been asked for a real text encoding */
 1262|      6|    codec_info = _PyCodec_LookupTextEncoding(encoding, NULL);
 1263|      6|    if (codec_info == NULL) {
  ------------------
  |  Branch (1263:9): [True: 0, False: 6]
  ------------------
 1264|      0|        Py_CLEAR(self->encoding);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1265|      0|        goto error;
 1266|      0|    }
 1267|       |
 1268|       |    /* XXX: Failures beyond this point have the potential to leak elements
 1269|       |     * of the partially constructed object (like self->encoding)
 1270|       |     */
 1271|       |
 1272|      6|    self->errors = Py_NewRef(errors);
  ------------------
  |  |  550|      6|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1273|      6|    self->chunk_size = 8192;
 1274|      6|    self->line_buffering = line_buffering;
 1275|      6|    self->write_through = write_through;
 1276|      6|    if (set_newline(self, newline) < 0) {
  ------------------
  |  Branch (1276:9): [True: 0, False: 6]
  ------------------
 1277|      0|        goto error;
 1278|      0|    }
 1279|       |
 1280|      6|    self->buffer = Py_NewRef(buffer);
  ------------------
  |  |  550|      6|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1281|       |
 1282|       |    /* Build the decoder object */
 1283|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1284|      6|    self->state = state;
 1285|      6|    if (_textiowrapper_set_decoder(self, codec_info, errors_str) != 0)
  ------------------
  |  Branch (1285:9): [True: 0, False: 6]
  ------------------
 1286|      0|        goto error;
 1287|       |
 1288|       |    /* Build the encoder object */
 1289|      6|    if (_textiowrapper_set_encoder(self, codec_info, errors_str) != 0)
  ------------------
  |  Branch (1289:9): [True: 0, False: 6]
  ------------------
 1290|      0|        goto error;
 1291|       |
 1292|       |    /* Finished sorting out the codec details */
 1293|      6|    Py_CLEAR(codec_info);
  ------------------
  |  |  484|      6|    do { \
  |  |  485|      6|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      6|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      6|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 6, False: 0]
  |  |  ------------------
  |  |  488|      6|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      6|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      6|        } \
  |  |  491|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 1294|       |
 1295|      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]
  |  |  ------------------
  ------------------
 1296|      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]
  |  |  ------------------
  ------------------
 1297|      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]
  |  |  ------------------
  ------------------
 1298|      6|    {
 1299|      6|        if (PyObject_GetOptionalAttr(buffer, &_Py_ID(raw), &raw) < 0)
  ------------------
  |  |  936|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1299:13): [True: 0, False: 6]
  ------------------
 1300|      0|            goto error;
 1301|       |        /* Cache the raw FileIO object to speed up 'closed' checks */
 1302|      6|        if (raw != NULL) {
  ------------------
  |  Branch (1302:13): [True: 6, False: 0]
  ------------------
 1303|      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]
  |  |  ------------------
  ------------------
 1304|      6|                self->raw = raw;
 1305|      0|            else
 1306|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1307|      6|        }
 1308|      6|    }
 1309|       |
 1310|      6|    res = PyObject_CallMethodNoArgs(buffer, &_Py_ID(seekable));
  ------------------
  |  |  936|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1311|      6|    if (res == NULL)
  ------------------
  |  Branch (1311:9): [True: 0, False: 6]
  ------------------
 1312|      0|        goto error;
 1313|      6|    r = PyObject_IsTrue(res);
 1314|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1315|      6|    if (r < 0)
  ------------------
  |  Branch (1315:9): [True: 0, False: 6]
  ------------------
 1316|      0|        goto error;
 1317|      6|    self->seekable = self->telling = r;
 1318|       |
 1319|      6|    r = PyObject_HasAttrWithError(buffer, &_Py_ID(read1));
  ------------------
  |  |  936|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1320|      6|    if (r < 0) {
  ------------------
  |  Branch (1320:9): [True: 0, False: 6]
  ------------------
 1321|      0|        goto error;
 1322|      0|    }
 1323|      6|    self->has_read1 = r;
 1324|       |
 1325|      6|    self->encoding_start_of_stream = 0;
 1326|      6|    if (_textiowrapper_fix_encoder_state(self) < 0) {
  ------------------
  |  Branch (1326:9): [True: 0, False: 6]
  ------------------
 1327|      0|        goto error;
 1328|      0|    }
 1329|       |
 1330|      6|    self->ok = 1;
 1331|      6|    return 0;
 1332|       |
 1333|      0|  error:
 1334|      0|    Py_XDECREF(codec_info);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1335|      0|    return -1;
 1336|      6|}
textio.c:io_check_errors:
 1097|      6|{
 1098|      6|    assert(errors != NULL && errors != Py_None);
  ------------------
  |  Branch (1098:5): [True: 6, False: 0]
  |  Branch (1098:5): [True: 6, False: 0]
  ------------------
 1099|       |
 1100|      6|    PyInterpreterState *interp = _PyInterpreterState_GET();
 1101|      6|#ifndef Py_DEBUG
 1102|       |    /* In release mode, only check in development mode (-X dev) */
 1103|      6|    if (!_PyInterpreterState_GetConfig(interp)->dev_mode) {
  ------------------
  |  Branch (1103:9): [True: 6, False: 0]
  ------------------
 1104|      6|        return 0;
 1105|      6|    }
 1106|       |#else
 1107|       |    /* Always check in debug mode */
 1108|       |#endif
 1109|       |
 1110|       |    /* Avoid calling PyCodec_LookupError() before the codec registry is ready:
 1111|       |       before_PyUnicode_InitEncodings() is called. */
 1112|      0|    if (!interp->unicode.fs_codec.encoding) {
  ------------------
  |  Branch (1112:9): [True: 0, False: 0]
  ------------------
 1113|      0|        return 0;
 1114|      0|    }
 1115|       |
 1116|      0|    const char *name = _PyUnicode_AsUTF8NoNUL(errors);
 1117|      0|    if (name == NULL) {
  ------------------
  |  Branch (1117:9): [True: 0, False: 0]
  ------------------
 1118|      0|        return -1;
 1119|      0|    }
 1120|      0|    PyObject *handler = PyCodec_LookupError(name);
 1121|      0|    if (handler != NULL) {
  ------------------
  |  Branch (1121:9): [True: 0, False: 0]
  ------------------
 1122|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1123|      0|        return 0;
 1124|      0|    }
 1125|      0|    return -1;
 1126|      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), },
  ------------------
  |  |  936|      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), },
  ------------------
  |  |  936|      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), },
  ------------------
  |  |  936|      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), },
  ------------------
  |  |  936|      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), },
  ------------------
  |  |  936|      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), },
  ------------------
  |  |  936|      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,
  ------------------
  |  |   88|      4|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 4, False: 0]
  |  |  ------------------
  |  |   89|      4|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 4, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 4]
  |  |  |  Branch (89:43): [True: 4, False: 0]
  |  |  |  Branch (89:67): [True: 4, False: 0]
  |  |  ------------------
  |  |   90|      4|      (args) : \
  |  |   91|      4|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 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), },
  ------------------
  |  |  936|      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), },
  ------------------
  |  |  936|      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), },
  ------------------
  |  |  936|      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,
  ------------------
  |  |   88|      1|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 1, False: 0]
  |  |  ------------------
  |  |   89|      1|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 1, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 1]
  |  |  |  Branch (89:43): [True: 1, False: 0]
  |  |  |  Branch (89:67): [True: 1, False: 0]
  |  |  ------------------
  |  |   90|      1|      (args) : \
  |  |   91|      1|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  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:
 3690|      1|{
 3691|      1|    return PyModuleDef_Init(&sremodule);
 3692|      1|}
sre.c:_sre_compile_impl:
 1776|      4|{
 1777|       |    /* "compile" pattern descriptor to pattern object */
 1778|       |
 1779|      4|    _sremodulestate *module_state = get_sre_module_state(module);
 1780|      4|    PatternObject* self;
 1781|      4|    Py_ssize_t i, n;
 1782|       |
 1783|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1784|       |    /* coverity[ampersand_in_size] */
 1785|      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))
  |  |  ------------------
  ------------------
 1786|      4|    if (!self)
  ------------------
  |  Branch (1786:9): [True: 0, False: 4]
  ------------------
 1787|      0|        return NULL;
 1788|      4|    self->weakreflist = NULL;
 1789|      4|    self->pattern = NULL;
 1790|      4|    self->groupindex = NULL;
 1791|      4|    self->indexgroup = NULL;
 1792|       |#ifdef Py_DEBUG
 1793|       |    self->fail_after_count = -1;
 1794|       |    self->fail_after_exc = NULL;
 1795|       |#endif
 1796|       |
 1797|      4|    self->codesize = n;
 1798|       |
 1799|    144|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (1799:17): [True: 140, False: 4]
  ------------------
 1800|    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 (1800:23): [True: 140, False: 0]
  ------------------
 1801|      0|        unsigned long value = PyLong_AsUnsignedLong(o);
 1802|    140|        if (value == (unsigned long)-1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1802:13): [True: 0, False: 140]
  |  Branch (1802:43): [True: 0, False: 0]
  ------------------
 1803|      0|            break;
 1804|      0|        }
 1805|    140|        self->code[i] = (SRE_CODE) value;
 1806|    140|        if ((unsigned long) self->code[i] != value) {
  ------------------
  |  Branch (1806:13): [True: 0, False: 140]
  ------------------
 1807|      0|            PyErr_SetString(PyExc_OverflowError,
 1808|      0|                            "regular expression code size limit exceeded");
 1809|      0|            break;
 1810|      0|        }
 1811|    140|    }
 1812|      4|    PyObject_GC_Track(self);
 1813|       |
 1814|      4|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (1814:9): [True: 0, False: 4]
  ------------------
 1815|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1816|      0|        return NULL;
 1817|      0|    }
 1818|       |
 1819|      4|    if (pattern == Py_None) {
  ------------------
  |  |  616|      4|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1819:9): [True: 0, False: 4]
  ------------------
 1820|      0|        self->isbytes = -1;
 1821|      0|    }
 1822|      4|    else {
 1823|      4|        Py_ssize_t p_length;
 1824|      4|        int charsize;
 1825|      4|        Py_buffer view;
 1826|      4|        view.buf = NULL;
 1827|      4|        if (!getstring(pattern, &p_length, &self->isbytes,
  ------------------
  |  Branch (1827:13): [True: 0, False: 4]
  ------------------
 1828|      4|                       &charsize, &view)) {
 1829|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1830|      0|            return NULL;
 1831|      0|        }
 1832|      4|        if (view.buf)
  ------------------
  |  Branch (1832:13): [True: 2, False: 2]
  ------------------
 1833|      2|            PyBuffer_Release(&view);
 1834|      4|    }
 1835|       |
 1836|      4|    self->pattern = Py_NewRef(pattern);
  ------------------
  |  |  550|      4|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1837|       |
 1838|      4|    self->flags = flags;
 1839|       |
 1840|      4|    self->groups = groups;
 1841|       |
 1842|      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 (1842:9): [True: 0, False: 4]
  ------------------
 1843|      0|        self->groupindex = Py_NewRef(groupindex);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1844|      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 (1844:13): [True: 0, False: 0]
  ------------------
 1845|      0|            self->indexgroup = Py_NewRef(indexgroup);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1846|      0|        }
 1847|      0|    }
 1848|       |
 1849|      4|    if (!_validate(self)) {
  ------------------
  |  Branch (1849:9): [True: 0, False: 4]
  ------------------
 1850|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1851|      0|        return NULL;
 1852|      0|    }
 1853|       |
 1854|      4|    return (PyObject*) self;
 1855|      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);
  ------------------
  |  |  299|      3|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  659|      3|        *p_charsize = PyUnicode_KIND(string);
  ------------------
  |  |  258|      3|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|      6|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 3, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  660|      0|        *p_isbytes = 0;
  661|      3|        return PyUnicode_DATA(string);
  ------------------
  |  |  284|      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:
 2466|      4|{
 2467|      4|    if (_validate_outer(self->code, self->code+self->codesize, self->groups))
  ------------------
  |  Branch (2467:9): [True: 0, False: 4]
  ------------------
 2468|      0|    {
 2469|      0|        PyErr_SetString(PyExc_RuntimeError, "invalid SRE code");
 2470|      0|        return 0;
 2471|      0|    }
 2472|      4|    else
 2473|      4|        VTRACE(("Success!\n"));
  ------------------
  |  | 1953|      4|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  ------------------
  |  |  |  Branch (1953:31): [Folded, False: 4]
  |  |  ------------------
  ------------------
 2474|      4|    return 1;
 2475|      4|}
sre.c:_validate_outer:
 2457|      4|{
 2458|      4|    if (groups < 0 || (size_t)groups > SRE_MAXGROUPS ||
  ------------------
  |  |   21|      8|# define SRE_MAXGROUPS ((SRE_CODE)INT32_MAX / 2)
  ------------------
  |  Branch (2458:9): [True: 0, False: 4]
  |  Branch (2458:23): [True: 0, False: 4]
  ------------------
 2459|      4|        code >= end || end[-1] != SRE_OP_SUCCESS)
  ------------------
  |  |   16|      4|#define SRE_OP_SUCCESS 1
  ------------------
  |  Branch (2459:9): [True: 0, False: 4]
  |  Branch (2459:24): [True: 0, False: 4]
  ------------------
 2460|      0|        FAIL;
  ------------------
  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2461|      4|    return _validate_inner(code, end-1, groups);
 2462|      4|}
sre.c:_validate_inner:
 2134|     11|{
 2135|       |    /* Some variables are manipulated by the macros above */
 2136|     11|    SRE_CODE op;
  ------------------
  |  |   18|     11|#define SRE_CODE Py_UCS4
  ------------------
 2137|     11|    SRE_CODE arg;
  ------------------
  |  |   18|     11|#define SRE_CODE Py_UCS4
  ------------------
 2138|     11|    SRE_CODE skip;
  ------------------
  |  |   18|     11|#define SRE_CODE Py_UCS4
  ------------------
 2139|       |
 2140|     11|    VTRACE(("code=%p, end=%p\n", code, end));
  ------------------
  |  | 1953|     11|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  ------------------
  |  |  |  Branch (1953:31): [Folded, False: 11]
  |  |  ------------------
  ------------------
 2141|       |
 2142|     11|    if (code > end)
  ------------------
  |  Branch (2142:9): [True: 0, False: 11]
  ------------------
 2143|      0|        FAIL;
  ------------------
  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2144|       |
 2145|     40|    while (code < end) {
  ------------------
  |  Branch (2145:12): [True: 29, False: 11]
  ------------------
 2146|     29|        GET_OP;
  ------------------
  |  | 1961|     29|    do {                                                \
  |  | 1962|     29|        VTRACE(("%p: ", code));                         \
  |  |  ------------------
  |  |  |  | 1953|     29|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 29]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1963|     29|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1963:13): [True: 0, False: 29]
  |  |  ------------------
  |  | 1964|     29|        op = *code++;                                   \
  |  | 1965|     29|        VTRACE(("%lu (op)\n", (unsigned long)op));      \
  |  |  ------------------
  |  |  |  | 1953|     29|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 29]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1966|     29|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1966:14): [Folded, False: 29]
  |  |  ------------------
  ------------------
 2147|     29|        switch (op) {
 2148|       |
 2149|      2|        case SRE_OP_MARK:
  ------------------
  |  |   32|      2|#define SRE_OP_MARK 17
  ------------------
  |  Branch (2149:9): [True: 2, False: 27]
  ------------------
 2150|       |            /* We don't check whether marks are properly nested; the
 2151|       |               sre_match() code is robust even if they don't, and the worst
 2152|       |               you can get is nonsensical match results. */
 2153|      2|            GET_ARG;
  ------------------
  |  | 1968|      2|    do {                                                \
  |  | 1969|      2|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1953|      2|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1970|      2|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1970:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 1971|      2|        arg = *code++;                                  \
  |  | 1972|      2|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1953|      2|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1973|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1973:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2154|      2|            if (arg >= 2 * (size_t)groups) {
  ------------------
  |  Branch (2154:17): [True: 0, False: 2]
  ------------------
 2155|      0|                VTRACE(("arg=%d, groups=%d\n", (int)arg, (int)groups));
  ------------------
  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  ------------------
  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2156|      0|                FAIL;
  ------------------
  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2157|      0|            }
 2158|      2|            break;
 2159|       |
 2160|      7|        case SRE_OP_LITERAL:
  ------------------
  |  |   31|      7|#define SRE_OP_LITERAL 16
  ------------------
  |  Branch (2160:9): [True: 7, False: 22]
  ------------------
 2161|      7|        case SRE_OP_NOT_LITERAL:
  ------------------
  |  |   35|      7|#define SRE_OP_NOT_LITERAL 20
  ------------------
  |  Branch (2161:9): [True: 0, False: 29]
  ------------------
 2162|      7|        case SRE_OP_LITERAL_IGNORE:
  ------------------
  |  |   47|      7|#define SRE_OP_LITERAL_IGNORE 32
  ------------------
  |  Branch (2162:9): [True: 0, False: 29]
  ------------------
 2163|      7|        case SRE_OP_NOT_LITERAL_IGNORE:
  ------------------
  |  |   48|      7|#define SRE_OP_NOT_LITERAL_IGNORE 33
  ------------------
  |  Branch (2163:9): [True: 0, False: 29]
  ------------------
 2164|      7|        case SRE_OP_LITERAL_UNI_IGNORE:
  ------------------
  |  |   55|      7|#define SRE_OP_LITERAL_UNI_IGNORE 40
  ------------------
  |  Branch (2164:9): [True: 0, False: 29]
  ------------------
 2165|      7|        case SRE_OP_NOT_LITERAL_UNI_IGNORE:
  ------------------
  |  |   56|      7|#define SRE_OP_NOT_LITERAL_UNI_IGNORE 41
  ------------------
  |  Branch (2165:9): [True: 0, False: 29]
  ------------------
 2166|      7|        case SRE_OP_LITERAL_LOC_IGNORE:
  ------------------
  |  |   51|      7|#define SRE_OP_LITERAL_LOC_IGNORE 36
  ------------------
  |  Branch (2166:9): [True: 0, False: 29]
  ------------------
 2167|      7|        case SRE_OP_NOT_LITERAL_LOC_IGNORE:
  ------------------
  |  |   52|      7|#define SRE_OP_NOT_LITERAL_LOC_IGNORE 37
  ------------------
  |  Branch (2167:9): [True: 0, False: 29]
  ------------------
 2168|      7|            GET_ARG;
  ------------------
  |  | 1968|      7|    do {                                                \
  |  | 1969|      7|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1953|      7|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 7]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1970|      7|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1970:13): [True: 0, False: 7]
  |  |  ------------------
  |  | 1971|      7|        arg = *code++;                                  \
  |  | 1972|      7|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1953|      7|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 7]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1973|      7|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1973:14): [Folded, False: 7]
  |  |  ------------------
  ------------------
 2169|       |            /* The arg is just a character, nothing to check */
 2170|      7|            break;
 2171|       |
 2172|      7|        case SRE_OP_SUCCESS:
  ------------------
  |  |   16|      0|#define SRE_OP_SUCCESS 1
  ------------------
  |  Branch (2172:9): [True: 0, False: 29]
  ------------------
 2173|      0|        case SRE_OP_FAILURE:
  ------------------
  |  |   15|      0|#define SRE_OP_FAILURE 0
  ------------------
  |  Branch (2173:9): [True: 0, False: 29]
  ------------------
 2174|       |            /* Nothing to check; these normally end the matching process */
 2175|      0|            break;
 2176|       |
 2177|      3|        case SRE_OP_AT:
  ------------------
  |  |   21|      3|#define SRE_OP_AT 6
  ------------------
  |  Branch (2177:9): [True: 3, False: 26]
  ------------------
 2178|      3|            GET_ARG;
  ------------------
  |  | 1968|      3|    do {                                                \
  |  | 1969|      3|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1953|      3|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1970|      3|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1970:13): [True: 0, False: 3]
  |  |  ------------------
  |  | 1971|      3|        arg = *code++;                                  \
  |  | 1972|      3|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1953|      3|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1973|      3|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1973:14): [Folded, False: 3]
  |  |  ------------------
  ------------------
 2179|      3|            switch (arg) {
 2180|      2|            case SRE_AT_BEGINNING:
  ------------------
  |  |   58|      2|#define SRE_AT_BEGINNING 0
  ------------------
  |  Branch (2180:13): [True: 2, False: 1]
  ------------------
 2181|      2|            case SRE_AT_BEGINNING_STRING:
  ------------------
  |  |   60|      2|#define SRE_AT_BEGINNING_STRING 2
  ------------------
  |  Branch (2181:13): [True: 0, False: 3]
  ------------------
 2182|      2|            case SRE_AT_BEGINNING_LINE:
  ------------------
  |  |   59|      2|#define SRE_AT_BEGINNING_LINE 1
  ------------------
  |  Branch (2182:13): [True: 0, False: 3]
  ------------------
 2183|      3|            case SRE_AT_END:
  ------------------
  |  |   63|      3|#define SRE_AT_END 5
  ------------------
  |  Branch (2183:13): [True: 1, False: 2]
  ------------------
 2184|      3|            case SRE_AT_END_LINE:
  ------------------
  |  |   64|      3|#define SRE_AT_END_LINE 6
  ------------------
  |  Branch (2184:13): [True: 0, False: 3]
  ------------------
 2185|      3|            case SRE_AT_END_STRING:
  ------------------
  |  |   65|      3|#define SRE_AT_END_STRING 7
  ------------------
  |  Branch (2185:13): [True: 0, False: 3]
  ------------------
 2186|      3|            case SRE_AT_BOUNDARY:
  ------------------
  |  |   61|      3|#define SRE_AT_BOUNDARY 3
  ------------------
  |  Branch (2186:13): [True: 0, False: 3]
  ------------------
 2187|      3|            case SRE_AT_NON_BOUNDARY:
  ------------------
  |  |   62|      3|#define SRE_AT_NON_BOUNDARY 4
  ------------------
  |  Branch (2187:13): [True: 0, False: 3]
  ------------------
 2188|      3|            case SRE_AT_LOC_BOUNDARY:
  ------------------
  |  |   66|      3|#define SRE_AT_LOC_BOUNDARY 8
  ------------------
  |  Branch (2188:13): [True: 0, False: 3]
  ------------------
 2189|      3|            case SRE_AT_LOC_NON_BOUNDARY:
  ------------------
  |  |   67|      3|#define SRE_AT_LOC_NON_BOUNDARY 9
  ------------------
  |  Branch (2189:13): [True: 0, False: 3]
  ------------------
 2190|      3|            case SRE_AT_UNI_BOUNDARY:
  ------------------
  |  |   68|      3|#define SRE_AT_UNI_BOUNDARY 10
  ------------------
  |  Branch (2190:13): [True: 0, False: 3]
  ------------------
 2191|      3|            case SRE_AT_UNI_NON_BOUNDARY:
  ------------------
  |  |   69|      3|#define SRE_AT_UNI_NON_BOUNDARY 11
  ------------------
  |  Branch (2191:13): [True: 0, False: 3]
  ------------------
 2192|      3|                break;
 2193|      0|            default:
  ------------------
  |  Branch (2193:13): [True: 0, False: 3]
  ------------------
 2194|      0|                FAIL;
  ------------------
  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2195|      3|            }
 2196|      3|            break;
 2197|       |
 2198|      3|        case SRE_OP_CATEGORY:
  ------------------
  |  |   23|      0|#define SRE_OP_CATEGORY 8
  ------------------
  |  Branch (2198:9): [True: 0, False: 29]
  ------------------
 2199|      0|            GET_ARG;
  ------------------
  |  | 1968|      0|    do {                                                \
  |  | 1969|      0|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1970|      0|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1970:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1971|      0|        arg = *code++;                                  \
  |  | 1972|      0|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1973|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1973:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2200|      0|            if (!_validate_category(arg)) {
  ------------------
  |  Branch (2200:17): [True: 0, False: 0]
  ------------------
 2201|      0|                FAIL;
  ------------------
  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2202|      0|            }
 2203|      0|            break;
 2204|       |
 2205|      1|        case SRE_OP_ANY:
  ------------------
  |  |   17|      1|#define SRE_OP_ANY 2
  ------------------
  |  Branch (2205:9): [True: 1, False: 28]
  ------------------
 2206|      1|        case SRE_OP_ANY_ALL:
  ------------------
  |  |   18|      1|#define SRE_OP_ANY_ALL 3
  ------------------
  |  Branch (2206:9): [True: 0, False: 29]
  ------------------
 2207|       |            /* These have no operands */
 2208|      1|            break;
 2209|       |
 2210|      6|        case SRE_OP_IN:
  ------------------
  |  |   28|      6|#define SRE_OP_IN 13
  ------------------
  |  Branch (2210:9): [True: 6, False: 23]
  ------------------
 2211|      6|        case SRE_OP_IN_IGNORE:
  ------------------
  |  |   46|      6|#define SRE_OP_IN_IGNORE 31
  ------------------
  |  Branch (2211:9): [True: 0, False: 29]
  ------------------
 2212|      6|        case SRE_OP_IN_UNI_IGNORE:
  ------------------
  |  |   54|      6|#define SRE_OP_IN_UNI_IGNORE 39
  ------------------
  |  Branch (2212:9): [True: 0, False: 29]
  ------------------
 2213|      6|        case SRE_OP_IN_LOC_IGNORE:
  ------------------
  |  |   50|      6|#define SRE_OP_IN_LOC_IGNORE 35
  ------------------
  |  Branch (2213:9): [True: 0, False: 29]
  ------------------
 2214|      6|            GET_SKIP;
  ------------------
  |  | 1985|      6|#define GET_SKIP GET_SKIP_ADJ(0)
  |  |  ------------------
  |  |  |  | 1975|      6|    do {                                                \
  |  |  |  | 1976|      6|        VTRACE(("%p= ", code));                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1953|      6|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 6]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1977|      6|        if (code >= end) FAIL;                          \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1977:13): [True: 0, False: 6]
  |  |  |  |  ------------------
  |  |  |  | 1978|      6|        skip = *code;                                   \
  |  |  |  | 1979|      6|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1953|      6|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 6]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1980|      6|               (unsigned long)skip, code+skip));        \
  |  |  |  | 1981|      6|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1981:13): [True: 0, False: 6]
  |  |  |  |  ------------------
  |  |  |  | 1982|      6|            FAIL;                                       \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1983|      6|        code++;                                         \
  |  |  |  | 1984|      6|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1984:14): [Folded, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2215|       |            /* Stop 1 before the end; we check the FAILURE below */
 2216|      6|            if (_validate_charset(code, code+skip-2))
  ------------------
  |  Branch (2216:17): [True: 0, False: 6]
  ------------------
 2217|      0|                FAIL;
  ------------------
  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2218|      6|            if (code[skip-2] != SRE_OP_FAILURE)
  ------------------
  |  |   15|      6|#define SRE_OP_FAILURE 0
  ------------------
  |  Branch (2218:17): [True: 0, False: 6]
  ------------------
 2219|      0|                FAIL;
  ------------------
  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2220|      6|            code += skip-1;
 2221|      6|            break;
 2222|       |
 2223|      4|        case SRE_OP_INFO:
  ------------------
  |  |   29|      4|#define SRE_OP_INFO 14
  ------------------
  |  Branch (2223:9): [True: 4, False: 25]
  ------------------
 2224|      4|            {
 2225|       |                /* A minimal info field is
 2226|       |                   <INFO> <1=skip> <2=flags> <3=min> <4=max>;
 2227|       |                   If SRE_INFO_PREFIX or SRE_INFO_CHARSET is in the flags,
 2228|       |                   more follows. */
 2229|      4|                SRE_CODE flags, i;
  ------------------
  |  |   18|      4|#define SRE_CODE Py_UCS4
  ------------------
 2230|      4|                SRE_CODE *newcode;
  ------------------
  |  |   18|      4|#define SRE_CODE Py_UCS4
  ------------------
 2231|      4|                GET_SKIP;
  ------------------
  |  | 1985|      4|#define GET_SKIP GET_SKIP_ADJ(0)
  |  |  ------------------
  |  |  |  | 1975|      4|    do {                                                \
  |  |  |  | 1976|      4|        VTRACE(("%p= ", code));                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1953|      4|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 4]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1977|      4|        if (code >= end) FAIL;                          \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1977:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 1978|      4|        skip = *code;                                   \
  |  |  |  | 1979|      4|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1953|      4|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 4]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1980|      4|               (unsigned long)skip, code+skip));        \
  |  |  |  | 1981|      4|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1981:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 1982|      4|            FAIL;                                       \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1983|      4|        code++;                                         \
  |  |  |  | 1984|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1984:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2232|      4|                newcode = code+skip-1;
 2233|      4|                GET_ARG; flags = arg;
  ------------------
  |  | 1968|      4|    do {                                                \
  |  | 1969|      4|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1953|      4|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1970|      4|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1970:13): [True: 0, False: 4]
  |  |  ------------------
  |  | 1971|      4|        arg = *code++;                                  \
  |  | 1972|      4|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1953|      4|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1973|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1973:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
 2234|      4|                GET_ARG;
  ------------------
  |  | 1968|      4|    do {                                                \
  |  | 1969|      4|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1953|      4|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1970|      4|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1970:13): [True: 0, False: 4]
  |  |  ------------------
  |  | 1971|      4|        arg = *code++;                                  \
  |  | 1972|      4|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1953|      4|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1973|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1973:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
 2235|      4|                GET_ARG;
  ------------------
  |  | 1968|      4|    do {                                                \
  |  | 1969|      4|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1953|      4|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1970|      4|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1970:13): [True: 0, False: 4]
  |  |  ------------------
  |  | 1971|      4|        arg = *code++;                                  \
  |  | 1972|      4|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1953|      4|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1973|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1973:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
 2236|       |                /* Check that only valid flags are present */
 2237|      4|                if ((flags & ~(SRE_INFO_PREFIX |
  ------------------
  |  |  146|      4|#define SRE_INFO_PREFIX 1
  ------------------
  |  Branch (2237:21): [True: 0, False: 4]
  ------------------
 2238|      4|                               SRE_INFO_LITERAL |
  ------------------
  |  |  147|      4|#define SRE_INFO_LITERAL 2
  ------------------
 2239|      4|                               SRE_INFO_CHARSET)) != 0)
  ------------------
  |  |  148|      4|#define SRE_INFO_CHARSET 4
  ------------------
 2240|      0|                    FAIL;
  ------------------
  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2241|       |                /* PREFIX and CHARSET are mutually exclusive */
 2242|      4|                if ((flags & SRE_INFO_PREFIX) &&
  ------------------
  |  |  146|      4|#define SRE_INFO_PREFIX 1
  ------------------
  |  Branch (2242:21): [True: 0, False: 4]
  ------------------
 2243|      0|                    (flags & SRE_INFO_CHARSET))
  ------------------
  |  |  148|      0|#define SRE_INFO_CHARSET 4
  ------------------
  |  Branch (2243:21): [True: 0, False: 0]
  ------------------
 2244|      0|                    FAIL;
  ------------------
  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2245|       |                /* LITERAL implies PREFIX */
 2246|      4|                if ((flags & SRE_INFO_LITERAL) &&
  ------------------
  |  |  147|      4|#define SRE_INFO_LITERAL 2
  ------------------
  |  Branch (2246:21): [True: 0, False: 4]
  ------------------
 2247|      0|                    !(flags & SRE_INFO_PREFIX))
  ------------------
  |  |  146|      0|#define SRE_INFO_PREFIX 1
  ------------------
  |  Branch (2247:21): [True: 0, False: 0]
  ------------------
 2248|      0|                    FAIL;
  ------------------
  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2249|       |                /* Validate the prefix */
 2250|      4|                if (flags & SRE_INFO_PREFIX) {
  ------------------
  |  |  146|      4|#define SRE_INFO_PREFIX 1
  ------------------
  |  Branch (2250:21): [True: 0, False: 4]
  ------------------
 2251|      0|                    SRE_CODE prefix_len;
  ------------------
  |  |   18|      0|#define SRE_CODE Py_UCS4
  ------------------
 2252|      0|                    GET_ARG; prefix_len = arg;
  ------------------
  |  | 1968|      0|    do {                                                \
  |  | 1969|      0|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1970|      0|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1970:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1971|      0|        arg = *code++;                                  \
  |  | 1972|      0|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1973|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1973:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2253|      0|                    GET_ARG;
  ------------------
  |  | 1968|      0|    do {                                                \
  |  | 1969|      0|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1970|      0|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1970:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1971|      0|        arg = *code++;                                  \
  |  | 1972|      0|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1973|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1973:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2254|       |                    /* Here comes the prefix string */
 2255|      0|                    if (prefix_len > (uintptr_t)(newcode - code))
  ------------------
  |  Branch (2255:25): [True: 0, False: 0]
  ------------------
 2256|      0|                        FAIL;
  ------------------
  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2257|      0|                    code += prefix_len;
 2258|       |                    /* And here comes the overlap table */
 2259|      0|                    if (prefix_len > (uintptr_t)(newcode - code))
  ------------------
  |  Branch (2259:25): [True: 0, False: 0]
  ------------------
 2260|      0|                        FAIL;
  ------------------
  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2261|       |                    /* Each overlap value should be < prefix_len */
 2262|      0|                    for (i = 0; i < prefix_len; i++) {
  ------------------
  |  Branch (2262:33): [True: 0, False: 0]
  ------------------
 2263|      0|                        if (code[i] >= prefix_len)
  ------------------
  |  Branch (2263:29): [True: 0, False: 0]
  ------------------
 2264|      0|                            FAIL;
  ------------------
  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2265|      0|                    }
 2266|      0|                    code += prefix_len;
 2267|      0|                }
 2268|       |                /* Validate the charset */
 2269|      4|                if (flags & SRE_INFO_CHARSET) {
  ------------------
  |  |  148|      4|#define SRE_INFO_CHARSET 4
  ------------------
  |  Branch (2269:21): [True: 0, False: 4]
  ------------------
 2270|      0|                    if (_validate_charset(code, newcode-1))
  ------------------
  |  Branch (2270:25): [True: 0, False: 0]
  ------------------
 2271|      0|                        FAIL;
  ------------------
  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2272|      0|                    if (newcode[-1] != SRE_OP_FAILURE)
  ------------------
  |  |   15|      0|#define SRE_OP_FAILURE 0
  ------------------
  |  Branch (2272:25): [True: 0, False: 0]
  ------------------
 2273|      0|                        FAIL;
  ------------------
  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2274|      0|                    code = newcode;
 2275|      0|                }
 2276|      4|                else if (code != newcode) {
  ------------------
  |  Branch (2276:26): [True: 0, False: 4]
  ------------------
 2277|      0|                  VTRACE(("code=%p, newcode=%p\n", code, newcode));
  ------------------
  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  ------------------
  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2278|      0|                    FAIL;
  ------------------
  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2279|      0|                }
 2280|      4|            }
 2281|      4|            break;
 2282|       |
 2283|      4|        case SRE_OP_BRANCH:
  ------------------
  |  |   22|      1|#define SRE_OP_BRANCH 7
  ------------------
  |  Branch (2283:9): [True: 1, False: 28]
  ------------------
 2284|      1|            {
 2285|      1|                SRE_CODE *target = NULL;
  ------------------
  |  |   18|      1|#define SRE_CODE Py_UCS4
  ------------------
 2286|      3|                for (;;) {
 2287|      3|                    GET_SKIP;
  ------------------
  |  | 1985|      3|#define GET_SKIP GET_SKIP_ADJ(0)
  |  |  ------------------
  |  |  |  | 1975|      3|    do {                                                \
  |  |  |  | 1976|      3|        VTRACE(("%p= ", code));                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1953|      3|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 3]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1977|      3|        if (code >= end) FAIL;                          \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1977:13): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  | 1978|      3|        skip = *code;                                   \
  |  |  |  | 1979|      3|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1953|      3|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 3]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1980|      3|               (unsigned long)skip, code+skip));        \
  |  |  |  | 1981|      3|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1981:13): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  | 1982|      3|            FAIL;                                       \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1983|      3|        code++;                                         \
  |  |  |  | 1984|      3|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1984:14): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2288|      3|                    if (skip == 0)
  ------------------
  |  Branch (2288:25): [True: 1, False: 2]
  ------------------
 2289|      1|                        break;
 2290|       |                    /* Stop 2 before the end; we check the JUMP below */
 2291|      2|                    if (_validate_inner(code, code+skip-3, groups))
  ------------------
  |  Branch (2291:25): [True: 0, False: 2]
  ------------------
 2292|      0|                        FAIL;
  ------------------
  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2293|      2|                    code += skip-3;
 2294|       |                    /* Check that it ends with a JUMP, and that each JUMP
 2295|       |                       has the same target */
 2296|      2|                    GET_OP;
  ------------------
  |  | 1961|      2|    do {                                                \
  |  | 1962|      2|        VTRACE(("%p: ", code));                         \
  |  |  ------------------
  |  |  |  | 1953|      2|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1963|      2|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1963:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 1964|      2|        op = *code++;                                   \
  |  | 1965|      2|        VTRACE(("%lu (op)\n", (unsigned long)op));      \
  |  |  ------------------
  |  |  |  | 1953|      2|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1966|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1966:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2297|      2|                    if (op != SRE_OP_JUMP)
  ------------------
  |  |   30|      2|#define SRE_OP_JUMP 15
  ------------------
  |  Branch (2297:25): [True: 0, False: 2]
  ------------------
 2298|      0|                        FAIL;
  ------------------
  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2299|      2|                    GET_SKIP;
  ------------------
  |  | 1985|      2|#define GET_SKIP GET_SKIP_ADJ(0)
  |  |  ------------------
  |  |  |  | 1975|      2|    do {                                                \
  |  |  |  | 1976|      2|        VTRACE(("%p= ", code));                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1953|      2|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1977|      2|        if (code >= end) FAIL;                          \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1977:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 1978|      2|        skip = *code;                                   \
  |  |  |  | 1979|      2|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1953|      2|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1980|      2|               (unsigned long)skip, code+skip));        \
  |  |  |  | 1981|      2|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1981:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 1982|      2|            FAIL;                                       \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1983|      2|        code++;                                         \
  |  |  |  | 1984|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1984:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2300|      2|                    if (target == NULL)
  ------------------
  |  Branch (2300:25): [True: 1, False: 1]
  ------------------
 2301|      1|                        target = code+skip-1;
 2302|      1|                    else if (code+skip-1 != target)
  ------------------
  |  Branch (2302:30): [True: 0, False: 1]
  ------------------
 2303|      0|                        FAIL;
  ------------------
  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2304|      2|                }
 2305|      1|                if (code != target)
  ------------------
  |  Branch (2305:21): [True: 0, False: 1]
  ------------------
 2306|      0|                    FAIL;
  ------------------
  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2307|      1|            }
 2308|      1|            break;
 2309|       |
 2310|      4|        case SRE_OP_REPEAT_ONE:
  ------------------
  |  |   39|      4|#define SRE_OP_REPEAT_ONE 24
  ------------------
  |  Branch (2310:9): [True: 4, False: 25]
  ------------------
 2311|      5|        case SRE_OP_MIN_REPEAT_ONE:
  ------------------
  |  |   41|      5|#define SRE_OP_MIN_REPEAT_ONE 26
  ------------------
  |  Branch (2311:9): [True: 1, False: 28]
  ------------------
 2312|      5|        case SRE_OP_POSSESSIVE_REPEAT_ONE:
  ------------------
  |  |   44|      5|#define SRE_OP_POSSESSIVE_REPEAT_ONE 29
  ------------------
  |  Branch (2312:9): [True: 0, False: 29]
  ------------------
 2313|      5|            {
 2314|      5|                SRE_CODE min, max;
  ------------------
  |  |   18|      5|#define SRE_CODE Py_UCS4
  ------------------
 2315|      5|                GET_SKIP;
  ------------------
  |  | 1985|      5|#define GET_SKIP GET_SKIP_ADJ(0)
  |  |  ------------------
  |  |  |  | 1975|      5|    do {                                                \
  |  |  |  | 1976|      5|        VTRACE(("%p= ", code));                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1953|      5|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 5]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1977|      5|        if (code >= end) FAIL;                          \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1977:13): [True: 0, False: 5]
  |  |  |  |  ------------------
  |  |  |  | 1978|      5|        skip = *code;                                   \
  |  |  |  | 1979|      5|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1953|      5|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 5]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1980|      5|               (unsigned long)skip, code+skip));        \
  |  |  |  | 1981|      5|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1981:13): [True: 0, False: 5]
  |  |  |  |  ------------------
  |  |  |  | 1982|      5|            FAIL;                                       \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1983|      5|        code++;                                         \
  |  |  |  | 1984|      5|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1984:14): [Folded, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2316|      5|                GET_ARG; min = arg;
  ------------------
  |  | 1968|      5|    do {                                                \
  |  | 1969|      5|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1953|      5|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1970|      5|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1970:13): [True: 0, False: 5]
  |  |  ------------------
  |  | 1971|      5|        arg = *code++;                                  \
  |  | 1972|      5|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1953|      5|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1973|      5|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1973:14): [Folded, False: 5]
  |  |  ------------------
  ------------------
 2317|      5|                GET_ARG; max = arg;
  ------------------
  |  | 1968|      5|    do {                                                \
  |  | 1969|      5|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1953|      5|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1970|      5|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1970:13): [True: 0, False: 5]
  |  |  ------------------
  |  | 1971|      5|        arg = *code++;                                  \
  |  | 1972|      5|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1953|      5|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1973|      5|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1973:14): [Folded, False: 5]
  |  |  ------------------
  ------------------
 2318|      5|                if (min > max)
  ------------------
  |  Branch (2318:21): [True: 0, False: 5]
  ------------------
 2319|      0|                    FAIL;
  ------------------
  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2320|      5|                if (max > SRE_MAXREPEAT)
  ------------------
  |  |   20|      5|# define SRE_MAXREPEAT (~(SRE_CODE)0)
  ------------------
  |  Branch (2320:21): [True: 0, False: 5]
  ------------------
 2321|      0|                    FAIL;
  ------------------
  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2322|      5|                if (_validate_inner(code, code+skip-4, groups))
  ------------------
  |  Branch (2322:21): [True: 0, False: 5]
  ------------------
 2323|      0|                    FAIL;
  ------------------
  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2324|      5|                code += skip-4;
 2325|      5|                GET_OP;
  ------------------
  |  | 1961|      5|    do {                                                \
  |  | 1962|      5|        VTRACE(("%p: ", code));                         \
  |  |  ------------------
  |  |  |  | 1953|      5|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1963|      5|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1963:13): [True: 0, False: 5]
  |  |  ------------------
  |  | 1964|      5|        op = *code++;                                   \
  |  | 1965|      5|        VTRACE(("%lu (op)\n", (unsigned long)op));      \
  |  |  ------------------
  |  |  |  | 1953|      5|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1966|      5|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1966:14): [Folded, False: 5]
  |  |  ------------------
  ------------------
 2326|      5|                if (op != SRE_OP_SUCCESS)
  ------------------
  |  |   16|      5|#define SRE_OP_SUCCESS 1
  ------------------
  |  Branch (2326:21): [True: 0, False: 5]
  ------------------
 2327|      0|                    FAIL;
  ------------------
  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2328|      5|            }
 2329|      5|            break;
 2330|       |
 2331|      5|        case SRE_OP_REPEAT:
  ------------------
  |  |   38|      0|#define SRE_OP_REPEAT 23
  ------------------
  |  Branch (2331:9): [True: 0, False: 29]
  ------------------
 2332|      0|        case SRE_OP_POSSESSIVE_REPEAT:
  ------------------
  |  |   43|      0|#define SRE_OP_POSSESSIVE_REPEAT 28
  ------------------
  |  Branch (2332:9): [True: 0, False: 29]
  ------------------
 2333|      0|            {
 2334|      0|                SRE_CODE op1 = op, min, max;
  ------------------
  |  |   18|      0|#define SRE_CODE Py_UCS4
  ------------------
 2335|      0|                GET_SKIP;
  ------------------
  |  | 1985|      0|#define GET_SKIP GET_SKIP_ADJ(0)
  |  |  ------------------
  |  |  |  | 1975|      0|    do {                                                \
  |  |  |  | 1976|      0|        VTRACE(("%p= ", code));                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1977|      0|        if (code >= end) FAIL;                          \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1977:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1978|      0|        skip = *code;                                   \
  |  |  |  | 1979|      0|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1980|      0|               (unsigned long)skip, code+skip));        \
  |  |  |  | 1981|      0|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1981:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1982|      0|            FAIL;                                       \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1983|      0|        code++;                                         \
  |  |  |  | 1984|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1984:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2336|      0|                GET_ARG; min = arg;
  ------------------
  |  | 1968|      0|    do {                                                \
  |  | 1969|      0|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1970|      0|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1970:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1971|      0|        arg = *code++;                                  \
  |  | 1972|      0|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1973|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1973:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2337|      0|                GET_ARG; max = arg;
  ------------------
  |  | 1968|      0|    do {                                                \
  |  | 1969|      0|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1970|      0|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1970:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1971|      0|        arg = *code++;                                  \
  |  | 1972|      0|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1973|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1973:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2338|      0|                if (min > max)
  ------------------
  |  Branch (2338:21): [True: 0, False: 0]
  ------------------
 2339|      0|                    FAIL;
  ------------------
  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2340|      0|                if (max > SRE_MAXREPEAT)
  ------------------
  |  |   20|      0|# define SRE_MAXREPEAT (~(SRE_CODE)0)
  ------------------
  |  Branch (2340:21): [True: 0, False: 0]
  ------------------
 2341|      0|                    FAIL;
  ------------------
  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2342|      0|                if (_validate_inner(code, code+skip-3, groups))
  ------------------
  |  Branch (2342:21): [True: 0, False: 0]
  ------------------
 2343|      0|                    FAIL;
  ------------------
  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2344|      0|                code += skip-3;
 2345|      0|                GET_OP;
  ------------------
  |  | 1961|      0|    do {                                                \
  |  | 1962|      0|        VTRACE(("%p: ", code));                         \
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1963|      0|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1963:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1964|      0|        op = *code++;                                   \
  |  | 1965|      0|        VTRACE(("%lu (op)\n", (unsigned long)op));      \
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1966|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1966:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2346|      0|                if (op1 == SRE_OP_POSSESSIVE_REPEAT) {
  ------------------
  |  |   43|      0|#define SRE_OP_POSSESSIVE_REPEAT 28
  ------------------
  |  Branch (2346:21): [True: 0, False: 0]
  ------------------
 2347|      0|                    if (op != SRE_OP_SUCCESS)
  ------------------
  |  |   16|      0|#define SRE_OP_SUCCESS 1
  ------------------
  |  Branch (2347:25): [True: 0, False: 0]
  ------------------
 2348|      0|                        FAIL;
  ------------------
  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2349|      0|                }
 2350|      0|                else {
 2351|      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 (2351:25): [True: 0, False: 0]
  |  Branch (2351:51): [True: 0, False: 0]
  ------------------
 2352|      0|                        FAIL;
  ------------------
  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2353|      0|                }
 2354|      0|            }
 2355|      0|            break;
 2356|       |
 2357|      0|        case SRE_OP_ATOMIC_GROUP:
  ------------------
  |  |   42|      0|#define SRE_OP_ATOMIC_GROUP 27
  ------------------
  |  Branch (2357:9): [True: 0, False: 29]
  ------------------
 2358|      0|            {
 2359|      0|                GET_SKIP;
  ------------------
  |  | 1985|      0|#define GET_SKIP GET_SKIP_ADJ(0)
  |  |  ------------------
  |  |  |  | 1975|      0|    do {                                                \
  |  |  |  | 1976|      0|        VTRACE(("%p= ", code));                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1977|      0|        if (code >= end) FAIL;                          \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1977:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1978|      0|        skip = *code;                                   \
  |  |  |  | 1979|      0|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1980|      0|               (unsigned long)skip, code+skip));        \
  |  |  |  | 1981|      0|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1981:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1982|      0|            FAIL;                                       \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1983|      0|        code++;                                         \
  |  |  |  | 1984|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1984:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2360|      0|                if (_validate_inner(code, code+skip-2, groups))
  ------------------
  |  Branch (2360:21): [True: 0, False: 0]
  ------------------
 2361|      0|                    FAIL;
  ------------------
  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2362|      0|                code += skip-2;
 2363|      0|                GET_OP;
  ------------------
  |  | 1961|      0|    do {                                                \
  |  | 1962|      0|        VTRACE(("%p: ", code));                         \
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1963|      0|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1963:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1964|      0|        op = *code++;                                   \
  |  | 1965|      0|        VTRACE(("%lu (op)\n", (unsigned long)op));      \
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1966|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1966:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2364|      0|                if (op != SRE_OP_SUCCESS)
  ------------------
  |  |   16|      0|#define SRE_OP_SUCCESS 1
  ------------------
  |  Branch (2364:21): [True: 0, False: 0]
  ------------------
 2365|      0|                    FAIL;
  ------------------
  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2366|      0|            }
 2367|      0|            break;
 2368|       |
 2369|      0|        case SRE_OP_GROUPREF:
  ------------------
  |  |   26|      0|#define SRE_OP_GROUPREF 11
  ------------------
  |  Branch (2369:9): [True: 0, False: 29]
  ------------------
 2370|      0|        case SRE_OP_GROUPREF_IGNORE:
  ------------------
  |  |   45|      0|#define SRE_OP_GROUPREF_IGNORE 30
  ------------------
  |  Branch (2370:9): [True: 0, False: 29]
  ------------------
 2371|      0|        case SRE_OP_GROUPREF_UNI_IGNORE:
  ------------------
  |  |   53|      0|#define SRE_OP_GROUPREF_UNI_IGNORE 38
  ------------------
  |  Branch (2371:9): [True: 0, False: 29]
  ------------------
 2372|      0|        case SRE_OP_GROUPREF_LOC_IGNORE:
  ------------------
  |  |   49|      0|#define SRE_OP_GROUPREF_LOC_IGNORE 34
  ------------------
  |  Branch (2372:9): [True: 0, False: 29]
  ------------------
 2373|      0|            GET_ARG;
  ------------------
  |  | 1968|      0|    do {                                                \
  |  | 1969|      0|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1970|      0|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1970:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1971|      0|        arg = *code++;                                  \
  |  | 1972|      0|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1973|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1973:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2374|      0|            if (arg >= (size_t)groups)
  ------------------
  |  Branch (2374:17): [True: 0, False: 0]
  ------------------
 2375|      0|                FAIL;
  ------------------
  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2376|      0|            break;
 2377|       |
 2378|      0|        case SRE_OP_GROUPREF_EXISTS:
  ------------------
  |  |   27|      0|#define SRE_OP_GROUPREF_EXISTS 12
  ------------------
  |  Branch (2378:9): [True: 0, False: 29]
  ------------------
 2379|       |            /* The regex syntax for this is: '(?(group)then|else)', where
 2380|       |               'group' is either an integer group number or a group name,
 2381|       |               'then' and 'else' are sub-regexes, and 'else' is optional. */
 2382|      0|            GET_ARG;
  ------------------
  |  | 1968|      0|    do {                                                \
  |  | 1969|      0|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1970|      0|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1970:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1971|      0|        arg = *code++;                                  \
  |  | 1972|      0|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1973|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1973:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2383|      0|            if (arg >= (size_t)groups)
  ------------------
  |  Branch (2383:17): [True: 0, False: 0]
  ------------------
 2384|      0|                FAIL;
  ------------------
  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2385|      0|            GET_SKIP_ADJ(1);
  ------------------
  |  | 1975|      0|    do {                                                \
  |  | 1976|      0|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1977|      0|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1977:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1978|      0|        skip = *code;                                   \
  |  | 1979|      0|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1980|      0|               (unsigned long)skip, code+skip));        \
  |  | 1981|      0|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  ------------------
  |  |  |  Branch (1981:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1982|      0|            FAIL;                                       \
  |  |  ------------------
  |  |  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1983|      0|        code++;                                         \
  |  | 1984|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1984:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2386|      0|            code--; /* The skip is relative to the first arg! */
 2387|       |            /* There are two possibilities here: if there is both a 'then'
 2388|       |               part and an 'else' part, the generated code looks like:
 2389|       |
 2390|       |               GROUPREF_EXISTS
 2391|       |               <group>
 2392|       |               <skipyes>
 2393|       |               ...then part...
 2394|       |               JUMP
 2395|       |               <skipno>
 2396|       |               (<skipyes> jumps here)
 2397|       |               ...else part...
 2398|       |               (<skipno> jumps here)
 2399|       |
 2400|       |               If there is only a 'then' part, it looks like:
 2401|       |
 2402|       |               GROUPREF_EXISTS
 2403|       |               <group>
 2404|       |               <skip>
 2405|       |               ...then part...
 2406|       |               (<skip> jumps here)
 2407|       |
 2408|       |               There is no direct way to decide which it is, and we don't want
 2409|       |               to allow arbitrary jumps anywhere in the code; so we just look
 2410|       |               for a JUMP opcode preceding our skip target.
 2411|       |            */
 2412|      0|            VTRACE(("then part:\n"));
  ------------------
  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  ------------------
  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2413|      0|            int rc = _validate_inner(code+1, code+skip-1, groups);
 2414|      0|            if (rc == 1) {
  ------------------
  |  Branch (2414:17): [True: 0, False: 0]
  ------------------
 2415|      0|                VTRACE(("else part:\n"));
  ------------------
  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  ------------------
  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2416|      0|                code += skip-2; /* Position after JUMP, at <skipno> */
 2417|      0|                GET_SKIP;
  ------------------
  |  | 1985|      0|#define GET_SKIP GET_SKIP_ADJ(0)
  |  |  ------------------
  |  |  |  | 1975|      0|    do {                                                \
  |  |  |  | 1976|      0|        VTRACE(("%p= ", code));                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1977|      0|        if (code >= end) FAIL;                          \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1977:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1978|      0|        skip = *code;                                   \
  |  |  |  | 1979|      0|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1980|      0|               (unsigned long)skip, code+skip));        \
  |  |  |  | 1981|      0|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1981:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1982|      0|            FAIL;                                       \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1983|      0|        code++;                                         \
  |  |  |  | 1984|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1984:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2418|      0|                rc = _validate_inner(code, code+skip-1, groups);
 2419|      0|            }
 2420|      0|            if (rc)
  ------------------
  |  Branch (2420:17): [True: 0, False: 0]
  ------------------
 2421|      0|                FAIL;
  ------------------
  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2422|      0|            code += skip-1;
 2423|      0|            break;
 2424|       |
 2425|      0|        case SRE_OP_ASSERT:
  ------------------
  |  |   19|      0|#define SRE_OP_ASSERT 4
  ------------------
  |  Branch (2425:9): [True: 0, False: 29]
  ------------------
 2426|      0|        case SRE_OP_ASSERT_NOT:
  ------------------
  |  |   20|      0|#define SRE_OP_ASSERT_NOT 5
  ------------------
  |  Branch (2426:9): [True: 0, False: 29]
  ------------------
 2427|      0|            GET_SKIP;
  ------------------
  |  | 1985|      0|#define GET_SKIP GET_SKIP_ADJ(0)
  |  |  ------------------
  |  |  |  | 1975|      0|    do {                                                \
  |  |  |  | 1976|      0|        VTRACE(("%p= ", code));                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1977|      0|        if (code >= end) FAIL;                          \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1977:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1978|      0|        skip = *code;                                   \
  |  |  |  | 1979|      0|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1980|      0|               (unsigned long)skip, code+skip));        \
  |  |  |  | 1981|      0|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1981:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1982|      0|            FAIL;                                       \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1983|      0|        code++;                                         \
  |  |  |  | 1984|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1984:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2428|      0|            GET_ARG; /* 0 for lookahead, width for lookbehind */
  ------------------
  |  | 1968|      0|    do {                                                \
  |  | 1969|      0|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1970|      0|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1970:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1971|      0|        arg = *code++;                                  \
  |  | 1972|      0|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1973|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1973:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2429|      0|            code--; /* Back up over arg to simplify math below */
 2430|       |            /* Stop 1 before the end; we check the SUCCESS below */
 2431|      0|            if (_validate_inner(code+1, code+skip-2, groups))
  ------------------
  |  Branch (2431:17): [True: 0, False: 0]
  ------------------
 2432|      0|                FAIL;
  ------------------
  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2433|      0|            code += skip-2;
 2434|      0|            GET_OP;
  ------------------
  |  | 1961|      0|    do {                                                \
  |  | 1962|      0|        VTRACE(("%p: ", code));                         \
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1963|      0|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1963:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1964|      0|        op = *code++;                                   \
  |  | 1965|      0|        VTRACE(("%lu (op)\n", (unsigned long)op));      \
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1966|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1966:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2435|      0|            if (op != SRE_OP_SUCCESS)
  ------------------
  |  |   16|      0|#define SRE_OP_SUCCESS 1
  ------------------
  |  Branch (2435:17): [True: 0, False: 0]
  ------------------
 2436|      0|                FAIL;
  ------------------
  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2437|      0|            break;
 2438|       |
 2439|      0|        case SRE_OP_JUMP:
  ------------------
  |  |   30|      0|#define SRE_OP_JUMP 15
  ------------------
  |  Branch (2439:9): [True: 0, False: 29]
  ------------------
 2440|      0|            if (code + 1 != end)
  ------------------
  |  Branch (2440:17): [True: 0, False: 0]
  ------------------
 2441|      0|                FAIL;
  ------------------
  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2442|      0|            VTRACE(("JUMP: %d\n", __LINE__));
  ------------------
  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  ------------------
  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2443|      0|            return 1;
 2444|       |
 2445|      0|        default:
  ------------------
  |  Branch (2445:9): [True: 0, False: 29]
  ------------------
 2446|      0|            FAIL;
  ------------------
  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2447|       |
 2448|     29|        }
 2449|     29|    }
 2450|       |
 2451|     11|    VTRACE(("okay\n"));
  ------------------
  |  | 1953|     11|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  ------------------
  |  |  |  Branch (1953:31): [Folded, False: 11]
  |  |  ------------------
  ------------------
 2452|     11|    return 0;
 2453|     11|}
sre.c:_validate_category:
 1989|      1|{
 1990|      1|    switch (arg) {
 1991|      0|    case SRE_CATEGORY_DIGIT:
  ------------------
  |  |   70|      0|#define SRE_CATEGORY_DIGIT 0
  ------------------
  |  Branch (1991:5): [True: 0, False: 1]
  ------------------
 1992|      0|    case SRE_CATEGORY_NOT_DIGIT:
  ------------------
  |  |   71|      0|#define SRE_CATEGORY_NOT_DIGIT 1
  ------------------
  |  Branch (1992:5): [True: 0, False: 1]
  ------------------
 1993|      0|    case SRE_CATEGORY_SPACE:
  ------------------
  |  |   72|      0|#define SRE_CATEGORY_SPACE 2
  ------------------
  |  Branch (1993:5): [True: 0, False: 1]
  ------------------
 1994|      0|    case SRE_CATEGORY_NOT_SPACE:
  ------------------
  |  |   73|      0|#define SRE_CATEGORY_NOT_SPACE 3
  ------------------
  |  Branch (1994:5): [True: 0, False: 1]
  ------------------
 1995|      1|    case SRE_CATEGORY_WORD:
  ------------------
  |  |   74|      1|#define SRE_CATEGORY_WORD 4
  ------------------
  |  Branch (1995:5): [True: 1, False: 0]
  ------------------
 1996|      1|    case SRE_CATEGORY_NOT_WORD:
  ------------------
  |  |   75|      1|#define SRE_CATEGORY_NOT_WORD 5
  ------------------
  |  Branch (1996:5): [True: 0, False: 1]
  ------------------
 1997|      1|    case SRE_CATEGORY_LINEBREAK:
  ------------------
  |  |   76|      1|#define SRE_CATEGORY_LINEBREAK 6
  ------------------
  |  Branch (1997:5): [True: 0, False: 1]
  ------------------
 1998|      1|    case SRE_CATEGORY_NOT_LINEBREAK:
  ------------------
  |  |   77|      1|#define SRE_CATEGORY_NOT_LINEBREAK 7
  ------------------
  |  Branch (1998:5): [True: 0, False: 1]
  ------------------
 1999|      1|    case SRE_CATEGORY_LOC_WORD:
  ------------------
  |  |   78|      1|#define SRE_CATEGORY_LOC_WORD 8
  ------------------
  |  Branch (1999:5): [True: 0, False: 1]
  ------------------
 2000|      1|    case SRE_CATEGORY_LOC_NOT_WORD:
  ------------------
  |  |   79|      1|#define SRE_CATEGORY_LOC_NOT_WORD 9
  ------------------
  |  Branch (2000:5): [True: 0, False: 1]
  ------------------
 2001|      1|    case SRE_CATEGORY_UNI_DIGIT:
  ------------------
  |  |   80|      1|#define SRE_CATEGORY_UNI_DIGIT 10
  ------------------
  |  Branch (2001:5): [True: 0, False: 1]
  ------------------
 2002|      1|    case SRE_CATEGORY_UNI_NOT_DIGIT:
  ------------------
  |  |   81|      1|#define SRE_CATEGORY_UNI_NOT_DIGIT 11
  ------------------
  |  Branch (2002:5): [True: 0, False: 1]
  ------------------
 2003|      1|    case SRE_CATEGORY_UNI_SPACE:
  ------------------
  |  |   82|      1|#define SRE_CATEGORY_UNI_SPACE 12
  ------------------
  |  Branch (2003:5): [True: 0, False: 1]
  ------------------
 2004|      1|    case SRE_CATEGORY_UNI_NOT_SPACE:
  ------------------
  |  |   83|      1|#define SRE_CATEGORY_UNI_NOT_SPACE 13
  ------------------
  |  Branch (2004:5): [True: 0, False: 1]
  ------------------
 2005|      1|    case SRE_CATEGORY_UNI_WORD:
  ------------------
  |  |   84|      1|#define SRE_CATEGORY_UNI_WORD 14
  ------------------
  |  Branch (2005:5): [True: 0, False: 1]
  ------------------
 2006|      1|    case SRE_CATEGORY_UNI_NOT_WORD:
  ------------------
  |  |   85|      1|#define SRE_CATEGORY_UNI_NOT_WORD 15
  ------------------
  |  Branch (2006:5): [True: 0, False: 1]
  ------------------
 2007|      1|    case SRE_CATEGORY_UNI_LINEBREAK:
  ------------------
  |  |   86|      1|#define SRE_CATEGORY_UNI_LINEBREAK 16
  ------------------
  |  Branch (2007:5): [True: 0, False: 1]
  ------------------
 2008|      1|    case SRE_CATEGORY_UNI_NOT_LINEBREAK:
  ------------------
  |  |   87|      1|#define SRE_CATEGORY_UNI_NOT_LINEBREAK 17
  ------------------
  |  Branch (2008:5): [True: 0, False: 1]
  ------------------
 2009|      1|    case SRE_CATEGORY_ALPHA:
  ------------------
  |  |   88|      1|#define SRE_CATEGORY_ALPHA 18
  ------------------
  |  Branch (2009:5): [True: 0, False: 1]
  ------------------
 2010|      1|    case SRE_CATEGORY_NOT_ALPHA:
  ------------------
  |  |   89|      1|#define SRE_CATEGORY_NOT_ALPHA 19
  ------------------
  |  Branch (2010:5): [True: 0, False: 1]
  ------------------
 2011|      1|    case SRE_CATEGORY_LOWER:
  ------------------
  |  |   90|      1|#define SRE_CATEGORY_LOWER 20
  ------------------
  |  Branch (2011:5): [True: 0, False: 1]
  ------------------
 2012|      1|    case SRE_CATEGORY_NOT_LOWER:
  ------------------
  |  |   91|      1|#define SRE_CATEGORY_NOT_LOWER 21
  ------------------
  |  Branch (2012:5): [True: 0, False: 1]
  ------------------
 2013|      1|    case SRE_CATEGORY_UPPER:
  ------------------
  |  |   92|      1|#define SRE_CATEGORY_UPPER 22
  ------------------
  |  Branch (2013:5): [True: 0, False: 1]
  ------------------
 2014|      1|    case SRE_CATEGORY_NOT_UPPER:
  ------------------
  |  |   93|      1|#define SRE_CATEGORY_NOT_UPPER 23
  ------------------
  |  Branch (2014:5): [True: 0, False: 1]
  ------------------
 2015|      1|    case SRE_CATEGORY_NUMERIC:
  ------------------
  |  |   94|      1|#define SRE_CATEGORY_NUMERIC 24
  ------------------
  |  Branch (2015:5): [True: 0, False: 1]
  ------------------
 2016|      1|    case SRE_CATEGORY_NOT_NUMERIC:
  ------------------
  |  |   95|      1|#define SRE_CATEGORY_NOT_NUMERIC 25
  ------------------
  |  Branch (2016:5): [True: 0, False: 1]
  ------------------
 2017|      1|    case SRE_CATEGORY_PRINTABLE:
  ------------------
  |  |   96|      1|#define SRE_CATEGORY_PRINTABLE 26
  ------------------
  |  Branch (2017:5): [True: 0, False: 1]
  ------------------
 2018|      1|    case SRE_CATEGORY_NOT_PRINTABLE:
  ------------------
  |  |   97|      1|#define SRE_CATEGORY_NOT_PRINTABLE 27
  ------------------
  |  Branch (2018:5): [True: 0, False: 1]
  ------------------
 2019|      1|    case SRE_CATEGORY_ALNUM:
  ------------------
  |  |   98|      1|#define SRE_CATEGORY_ALNUM 28
  ------------------
  |  Branch (2019:5): [True: 0, False: 1]
  ------------------
 2020|      1|    case SRE_CATEGORY_NOT_ALNUM:
  ------------------
  |  |   99|      1|#define SRE_CATEGORY_NOT_ALNUM 29
  ------------------
  |  Branch (2020:5): [True: 0, False: 1]
  ------------------
 2021|      1|    case SRE_CATEGORY_XID_START:
  ------------------
  |  |  100|      1|#define SRE_CATEGORY_XID_START 30
  ------------------
  |  Branch (2021:5): [True: 0, False: 1]
  ------------------
 2022|      1|    case SRE_CATEGORY_NOT_XID_START:
  ------------------
  |  |  101|      1|#define SRE_CATEGORY_NOT_XID_START 31
  ------------------
  |  Branch (2022:5): [True: 0, False: 1]
  ------------------
 2023|      1|    case SRE_CATEGORY_XID_CONTINUE:
  ------------------
  |  |  102|      1|#define SRE_CATEGORY_XID_CONTINUE 32
  ------------------
  |  Branch (2023:5): [True: 0, False: 1]
  ------------------
 2024|      1|    case SRE_CATEGORY_NOT_XID_CONTINUE:
  ------------------
  |  |  103|      1|#define SRE_CATEGORY_NOT_XID_CONTINUE 33
  ------------------
  |  Branch (2024:5): [True: 0, False: 1]
  ------------------
 2025|      1|    case SRE_CATEGORY_TITLE:
  ------------------
  |  |  104|      1|#define SRE_CATEGORY_TITLE 34
  ------------------
  |  Branch (2025:5): [True: 0, False: 1]
  ------------------
 2026|      1|    case SRE_CATEGORY_NOT_TITLE:
  ------------------
  |  |  105|      1|#define SRE_CATEGORY_NOT_TITLE 35
  ------------------
  |  Branch (2026:5): [True: 0, False: 1]
  ------------------
 2027|      1|    case SRE_CATEGORY_CASED:
  ------------------
  |  |  106|      1|#define SRE_CATEGORY_CASED 36
  ------------------
  |  Branch (2027:5): [True: 0, False: 1]
  ------------------
 2028|      1|    case SRE_CATEGORY_NOT_CASED:
  ------------------
  |  |  107|      1|#define SRE_CATEGORY_NOT_CASED 37
  ------------------
  |  Branch (2028:5): [True: 0, False: 1]
  ------------------
 2029|      1|    case SRE_CATEGORY_CASE_IGNORABLE:
  ------------------
  |  |  108|      1|#define SRE_CATEGORY_CASE_IGNORABLE 38
  ------------------
  |  Branch (2029:5): [True: 0, False: 1]
  ------------------
 2030|      1|    case SRE_CATEGORY_NOT_CASE_IGNORABLE:
  ------------------
  |  |  109|      1|#define SRE_CATEGORY_NOT_CASE_IGNORABLE 39
  ------------------
  |  Branch (2030:5): [True: 0, False: 1]
  ------------------
 2031|      1|    case SRE_CATEGORY_LU:
  ------------------
  |  |  110|      1|#define SRE_CATEGORY_LU 40
  ------------------
  |  Branch (2031:5): [True: 0, False: 1]
  ------------------
 2032|      1|    case SRE_CATEGORY_NOT_LU:
  ------------------
  |  |  111|      1|#define SRE_CATEGORY_NOT_LU 41
  ------------------
  |  Branch (2032:5): [True: 0, False: 1]
  ------------------
 2033|      1|    case SRE_CATEGORY_N:
  ------------------
  |  |  112|      1|#define SRE_CATEGORY_N 42
  ------------------
  |  Branch (2033:5): [True: 0, False: 1]
  ------------------
 2034|      1|    case SRE_CATEGORY_NOT_N:
  ------------------
  |  |  113|      1|#define SRE_CATEGORY_NOT_N 43
  ------------------
  |  Branch (2034:5): [True: 0, False: 1]
  ------------------
 2035|      1|    case SRE_CATEGORY_LM:
  ------------------
  |  |  114|      1|#define SRE_CATEGORY_LM 44
  ------------------
  |  Branch (2035:5): [True: 0, False: 1]
  ------------------
 2036|      1|    case SRE_CATEGORY_NOT_LM:
  ------------------
  |  |  115|      1|#define SRE_CATEGORY_NOT_LM 45
  ------------------
  |  Branch (2036:5): [True: 0, False: 1]
  ------------------
 2037|      1|    case SRE_CATEGORY_NL:
  ------------------
  |  |  116|      1|#define SRE_CATEGORY_NL 46
  ------------------
  |  Branch (2037:5): [True: 0, False: 1]
  ------------------
 2038|      1|    case SRE_CATEGORY_NOT_NL:
  ------------------
  |  |  117|      1|#define SRE_CATEGORY_NOT_NL 47
  ------------------
  |  Branch (2038:5): [True: 0, False: 1]
  ------------------
 2039|      1|    case SRE_CATEGORY_NO:
  ------------------
  |  |  118|      1|#define SRE_CATEGORY_NO 48
  ------------------
  |  Branch (2039:5): [True: 0, False: 1]
  ------------------
 2040|      1|    case SRE_CATEGORY_NOT_NO:
  ------------------
  |  |  119|      1|#define SRE_CATEGORY_NOT_NO 49
  ------------------
  |  Branch (2040:5): [True: 0, False: 1]
  ------------------
 2041|      1|    case SRE_CATEGORY_CF:
  ------------------
  |  |  120|      1|#define SRE_CATEGORY_CF 50
  ------------------
  |  Branch (2041:5): [True: 0, False: 1]
  ------------------
 2042|      1|    case SRE_CATEGORY_NOT_CF:
  ------------------
  |  |  121|      1|#define SRE_CATEGORY_NOT_CF 51
  ------------------
  |  Branch (2042:5): [True: 0, False: 1]
  ------------------
 2043|      1|    case SRE_CATEGORY_Z:
  ------------------
  |  |  122|      1|#define SRE_CATEGORY_Z 52
  ------------------
  |  Branch (2043:5): [True: 0, False: 1]
  ------------------
 2044|      1|    case SRE_CATEGORY_NOT_Z:
  ------------------
  |  |  123|      1|#define SRE_CATEGORY_NOT_Z 53
  ------------------
  |  Branch (2044:5): [True: 0, False: 1]
  ------------------
 2045|      1|    case SRE_CATEGORY_ZS:
  ------------------
  |  |  124|      1|#define SRE_CATEGORY_ZS 54
  ------------------
  |  Branch (2045:5): [True: 0, False: 1]
  ------------------
 2046|      1|    case SRE_CATEGORY_NOT_ZS:
  ------------------
  |  |  125|      1|#define SRE_CATEGORY_NOT_ZS 55
  ------------------
  |  Branch (2046:5): [True: 0, False: 1]
  ------------------
 2047|      1|    case SRE_CATEGORY_C:
  ------------------
  |  |  126|      1|#define SRE_CATEGORY_C 56
  ------------------
  |  Branch (2047:5): [True: 0, False: 1]
  ------------------
 2048|      1|    case SRE_CATEGORY_NOT_C:
  ------------------
  |  |  127|      1|#define SRE_CATEGORY_NOT_C 57
  ------------------
  |  Branch (2048:5): [True: 0, False: 1]
  ------------------
 2049|      1|    case SRE_CATEGORY_CN:
  ------------------
  |  |  128|      1|#define SRE_CATEGORY_CN 58
  ------------------
  |  Branch (2049:5): [True: 0, False: 1]
  ------------------
 2050|      1|    case SRE_CATEGORY_NOT_CN:
  ------------------
  |  |  129|      1|#define SRE_CATEGORY_NOT_CN 59
  ------------------
  |  Branch (2050:5): [True: 0, False: 1]
  ------------------
 2051|      1|    case SRE_CATEGORY_ASSIGNED:
  ------------------
  |  |  130|      1|#define SRE_CATEGORY_ASSIGNED 60
  ------------------
  |  Branch (2051:5): [True: 0, False: 1]
  ------------------
 2052|      1|    case SRE_CATEGORY_NOT_ASSIGNED:
  ------------------
  |  |  131|      1|#define SRE_CATEGORY_NOT_ASSIGNED 61
  ------------------
  |  Branch (2052:5): [True: 0, False: 1]
  ------------------
 2053|      1|    case SRE_CATEGORY_BLANK:
  ------------------
  |  |  132|      1|#define SRE_CATEGORY_BLANK 62
  ------------------
  |  Branch (2053:5): [True: 0, False: 1]
  ------------------
 2054|      1|    case SRE_CATEGORY_NOT_BLANK:
  ------------------
  |  |  133|      1|#define SRE_CATEGORY_NOT_BLANK 63
  ------------------
  |  Branch (2054:5): [True: 0, False: 1]
  ------------------
 2055|      1|    case SRE_CATEGORY_GRAPH:
  ------------------
  |  |  134|      1|#define SRE_CATEGORY_GRAPH 64
  ------------------
  |  Branch (2055:5): [True: 0, False: 1]
  ------------------
 2056|      1|    case SRE_CATEGORY_NOT_GRAPH:
  ------------------
  |  |  135|      1|#define SRE_CATEGORY_NOT_GRAPH 65
  ------------------
  |  Branch (2056:5): [True: 0, False: 1]
  ------------------
 2057|      1|    case SRE_CATEGORY_PRINT:
  ------------------
  |  |  136|      1|#define SRE_CATEGORY_PRINT 66
  ------------------
  |  Branch (2057:5): [True: 0, False: 1]
  ------------------
 2058|      1|    case SRE_CATEGORY_NOT_PRINT:
  ------------------
  |  |  137|      1|#define SRE_CATEGORY_NOT_PRINT 67
  ------------------
  |  Branch (2058:5): [True: 0, False: 1]
  ------------------
 2059|      1|        return 1;
 2060|      0|    default:
  ------------------
  |  Branch (2060:5): [True: 0, False: 1]
  ------------------
 2061|      0|        return 0;
 2062|      1|    }
 2063|      1|}
sre.c:_validate_charset:
 2067|      6|{
 2068|       |    /* Some variables are manipulated by the macros above */
 2069|      6|    SRE_CODE op;
  ------------------
  |  |   18|      6|#define SRE_CODE Py_UCS4
  ------------------
 2070|      6|    SRE_CODE arg;
  ------------------
  |  |   18|      6|#define SRE_CODE Py_UCS4
  ------------------
 2071|      6|    SRE_CODE offset;
  ------------------
  |  |   18|      6|#define SRE_CODE Py_UCS4
  ------------------
 2072|      6|    int i;
 2073|       |
 2074|     15|    while (code < end) {
  ------------------
  |  Branch (2074:12): [True: 9, False: 6]
  ------------------
 2075|      9|        GET_OP;
  ------------------
  |  | 1961|      9|    do {                                                \
  |  | 1962|      9|        VTRACE(("%p: ", code));                         \
  |  |  ------------------
  |  |  |  | 1953|      9|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 9]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1963|      9|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1963:13): [True: 0, False: 9]
  |  |  ------------------
  |  | 1964|      9|        op = *code++;                                   \
  |  | 1965|      9|        VTRACE(("%lu (op)\n", (unsigned long)op));      \
  |  |  ------------------
  |  |  |  | 1953|      9|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 9]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1966|      9|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1966:14): [Folded, False: 9]
  |  |  ------------------
  ------------------
 2076|      9|        switch (op) {
 2077|       |
 2078|      0|        case SRE_OP_NEGATE:
  ------------------
  |  |   36|      0|#define SRE_OP_NEGATE 21
  ------------------
  |  Branch (2078:9): [True: 0, False: 9]
  ------------------
 2079|      0|            break;
 2080|       |
 2081|      4|        case SRE_OP_LITERAL:
  ------------------
  |  |   31|      4|#define SRE_OP_LITERAL 16
  ------------------
  |  Branch (2081:9): [True: 4, False: 5]
  ------------------
 2082|      4|            GET_ARG;
  ------------------
  |  | 1968|      4|    do {                                                \
  |  | 1969|      4|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1953|      4|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1970|      4|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1970:13): [True: 0, False: 4]
  |  |  ------------------
  |  | 1971|      4|        arg = *code++;                                  \
  |  | 1972|      4|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1953|      4|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1973|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1973:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
 2083|      4|            break;
 2084|       |
 2085|      4|        case SRE_OP_RANGE:
  ------------------
  |  |   37|      1|#define SRE_OP_RANGE 22
  ------------------
  |  Branch (2085:9): [True: 1, False: 8]
  ------------------
 2086|      1|        case SRE_OP_RANGE_UNI_IGNORE:
  ------------------
  |  |   57|      1|#define SRE_OP_RANGE_UNI_IGNORE 42
  ------------------
  |  Branch (2086:9): [True: 0, False: 9]
  ------------------
 2087|      1|            GET_ARG;
  ------------------
  |  | 1968|      1|    do {                                                \
  |  | 1969|      1|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1953|      1|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1970|      1|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1970:13): [True: 0, False: 1]
  |  |  ------------------
  |  | 1971|      1|        arg = *code++;                                  \
  |  | 1972|      1|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1953|      1|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1973|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1973:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 2088|      1|            GET_ARG;
  ------------------
  |  | 1968|      1|    do {                                                \
  |  | 1969|      1|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1953|      1|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1970|      1|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1970:13): [True: 0, False: 1]
  |  |  ------------------
  |  | 1971|      1|        arg = *code++;                                  \
  |  | 1972|      1|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1953|      1|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1973|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1973:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 2089|      1|            break;
 2090|       |
 2091|      3|        case SRE_OP_CHARSET:
  ------------------
  |  |   24|      3|#define SRE_OP_CHARSET 9
  ------------------
  |  Branch (2091:9): [True: 3, False: 6]
  ------------------
 2092|      3|            offset = 256/SRE_CODE_BITS; /* 256-bit bitmap */
  ------------------
  |  |   56|      3|#define SRE_CODE_BITS (8 * sizeof(SRE_CODE))
  ------------------
 2093|      3|            if (offset > (uintptr_t)(end - code))
  ------------------
  |  Branch (2093:17): [True: 0, False: 3]
  ------------------
 2094|      0|                FAIL;
  ------------------
  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2095|      3|            code += offset;
 2096|      3|            break;
 2097|       |
 2098|      0|        case SRE_OP_BIGCHARSET:
  ------------------
  |  |   25|      0|#define SRE_OP_BIGCHARSET 10
  ------------------
  |  Branch (2098:9): [True: 0, False: 9]
  ------------------
 2099|      0|            GET_ARG; /* Number of blocks */
  ------------------
  |  | 1968|      0|    do {                                                \
  |  | 1969|      0|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1970|      0|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1970:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1971|      0|        arg = *code++;                                  \
  |  | 1972|      0|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1973|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1973:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2100|      0|            offset = 256/sizeof(SRE_CODE); /* 256-byte table */
 2101|      0|            if (offset > (uintptr_t)(end - code))
  ------------------
  |  Branch (2101:17): [True: 0, False: 0]
  ------------------
 2102|      0|                FAIL;
  ------------------
  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2103|       |            /* Make sure that each byte points to a valid block */
 2104|      0|            for (i = 0; i < 256; i++) {
  ------------------
  |  Branch (2104:25): [True: 0, False: 0]
  ------------------
 2105|      0|                if (((unsigned char *)code)[i] >= arg)
  ------------------
  |  Branch (2105:21): [True: 0, False: 0]
  ------------------
 2106|      0|                    FAIL;
  ------------------
  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2107|      0|            }
 2108|      0|            code += offset;
 2109|      0|            offset = arg * (256/SRE_CODE_BITS); /* 256-bit bitmap times arg */
  ------------------
  |  |   56|      0|#define SRE_CODE_BITS (8 * sizeof(SRE_CODE))
  ------------------
 2110|      0|            if (offset > (uintptr_t)(end - code))
  ------------------
  |  Branch (2110:17): [True: 0, False: 0]
  ------------------
 2111|      0|                FAIL;
  ------------------
  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2112|      0|            code += offset;
 2113|      0|            break;
 2114|       |
 2115|      1|        case SRE_OP_CATEGORY:
  ------------------
  |  |   23|      1|#define SRE_OP_CATEGORY 8
  ------------------
  |  Branch (2115:9): [True: 1, False: 8]
  ------------------
 2116|      1|            GET_ARG;
  ------------------
  |  | 1968|      1|    do {                                                \
  |  | 1969|      1|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1953|      1|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1970|      1|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1970:13): [True: 0, False: 1]
  |  |  ------------------
  |  | 1971|      1|        arg = *code++;                                  \
  |  | 1972|      1|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1953|      1|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1973|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1973:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 2117|      1|            if (!_validate_category(arg)) {
  ------------------
  |  Branch (2117:17): [True: 0, False: 1]
  ------------------
 2118|      0|                FAIL;
  ------------------
  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2119|      0|            }
 2120|      1|            break;
 2121|       |
 2122|      1|        default:
  ------------------
  |  Branch (2122:9): [True: 0, False: 9]
  ------------------
 2123|      0|            FAIL;
  ------------------
  |  | 1957|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1953|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1953:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1957:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2124|       |
 2125|      9|        }
 2126|      9|    }
 2127|       |
 2128|      6|    return 0;
 2129|      6|}
sre.c:sre_exec:
 3633|      1|{
 3634|      1|    _sremodulestate *state;
 3635|       |
 3636|       |#ifdef Py_DEBUG
 3637|       |    _assert_match_aliases_prefixmatch(pattern_methods);
 3638|       |    _assert_match_aliases_prefixmatch(scanner_methods);
 3639|       |#endif
 3640|       |
 3641|       |    /* Create heap types */
 3642|      1|    state = get_sre_module_state(m);
 3643|      1|    CREATE_TYPE(m, state->Pattern_Type, &pattern_spec);
  ------------------
  |  | 3601|      1|#define CREATE_TYPE(m, type, spec)                                  \
  |  | 3602|      1|do {                                                                \
  |  | 3603|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(m, spec, NULL); \
  |  | 3604|      1|    if (type == NULL) {                                             \
  |  |  ------------------
  |  |  |  Branch (3604:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 3605|      0|        goto error;                                                 \
  |  | 3606|      0|    }                                                               \
  |  | 3607|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (3607:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 3644|      1|    CREATE_TYPE(m, state->Match_Type, &match_spec);
  ------------------
  |  | 3601|      1|#define CREATE_TYPE(m, type, spec)                                  \
  |  | 3602|      1|do {                                                                \
  |  | 3603|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(m, spec, NULL); \
  |  | 3604|      1|    if (type == NULL) {                                             \
  |  |  ------------------
  |  |  |  Branch (3604:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 3605|      0|        goto error;                                                 \
  |  | 3606|      0|    }                                                               \
  |  | 3607|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (3607:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 3645|      1|    CREATE_TYPE(m, state->Scanner_Type, &scanner_spec);
  ------------------
  |  | 3601|      1|#define CREATE_TYPE(m, type, spec)                                  \
  |  | 3602|      1|do {                                                                \
  |  | 3603|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(m, spec, NULL); \
  |  | 3604|      1|    if (type == NULL) {                                             \
  |  |  ------------------
  |  |  |  Branch (3604:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 3605|      0|        goto error;                                                 \
  |  | 3606|      0|    }                                                               \
  |  | 3607|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (3607:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 3646|      1|    CREATE_TYPE(m, state->Template_Type, &template_spec);
  ------------------
  |  | 3601|      1|#define CREATE_TYPE(m, type, spec)                                  \
  |  | 3602|      1|do {                                                                \
  |  | 3603|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(m, spec, NULL); \
  |  | 3604|      1|    if (type == NULL) {                                             \
  |  |  ------------------
  |  |  |  Branch (3604:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 3605|      0|        goto error;                                                 \
  |  | 3606|      0|    }                                                               \
  |  | 3607|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (3607:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 3647|       |
 3648|      1|    if (PyModule_AddIntConstant(m, "MAGIC", SRE_MAGIC) < 0) {
  ------------------
  |  |   14|      1|#define SRE_MAGIC 20260622
  ------------------
  |  Branch (3648:9): [True: 0, False: 1]
  ------------------
 3649|      0|        goto error;
 3650|      0|    }
 3651|       |
 3652|      1|    if (PyModule_AddIntConstant(m, "CODESIZE", sizeof(SRE_CODE)) < 0) {
  ------------------
  |  Branch (3652:9): [True: 0, False: 1]
  ------------------
 3653|      0|        goto error;
 3654|      0|    }
 3655|       |
 3656|      1|    ADD_ULONG_CONSTANT(m, "MAXREPEAT", SRE_MAXREPEAT);
  ------------------
  |  | 3610|      1|    do {                                                  \
  |  | 3611|      1|        if (PyModule_Add(module, name, PyLong_FromUnsignedLong(value)) < 0) { \
  |  |  ------------------
  |  |  |  Branch (3611:13): [True: 0, False: 1]
  |  |  ------------------
  |  | 3612|      0|            goto error;                                   \
  |  | 3613|      0|        }                                                 \
  |  | 3614|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (3614:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 3657|      1|    ADD_ULONG_CONSTANT(m, "MAXGROUPS", SRE_MAXGROUPS);
  ------------------
  |  | 3610|      1|    do {                                                  \
  |  | 3611|      1|        if (PyModule_Add(module, name, PyLong_FromUnsignedLong(value)) < 0) { \
  |  |  ------------------
  |  |  |  Branch (3611:13): [True: 0, False: 1]
  |  |  ------------------
  |  | 3612|      0|            goto error;                                   \
  |  | 3613|      0|        }                                                 \
  |  | 3614|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (3614:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 3658|       |
 3659|      1|    if (PyModule_AddStringConstant(m, "copyright", copyright) < 0) {
  ------------------
  |  Branch (3659:9): [True: 0, False: 1]
  ------------------
 3660|      0|        goto error;
 3661|      0|    }
 3662|       |
 3663|      1|    return 0;
 3664|       |
 3665|      0|error:
 3666|      0|    return -1;
 3667|      1|}
sre.c:pattern_dealloc:
  890|      2|{
  891|      2|    PyTypeObject *tp = Py_TYPE(self);
  ------------------
  |  |  213|      2|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  892|      2|    PyObject_GC_UnTrack(self);
  893|      2|    FT_CLEAR_WEAKREFS(self, _PatternObject_CAST(self)->weakreflist);
  ------------------
  |  |   47|      2|    do {                                            \
  |  |   48|      2|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|      2|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 2]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (893:5): [True: 2, False: 0]
  ------------------
  894|      2|    (void)pattern_clear(self);
  895|      2|    tp->tp_free(self);
  896|      2|    Py_DECREF(tp);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  897|      2|}
sre.c:_sre_SRE_Pattern_prefixmatch_impl:
  938|      1|{
  939|      1|    _sremodulestate *module_state = get_sre_module_state_by_class(cls);
  ------------------
  |  |  540|      1|    (get_sre_module_state(PyType_GetModule(cls)))
  ------------------
  940|      1|    SRE_STATE state;
  941|      1|    Py_ssize_t status;
  942|      1|    PyObject *match;
  943|       |
  944|      1|    if (!state_init(&state, self, string, pos, endpos))
  ------------------
  |  Branch (944:9): [True: 0, False: 1]
  ------------------
  945|      0|        return NULL;
  946|       |
  947|      1|    INIT_TRACE(&state);
  948|      1|    state.ptr = state.start;
  949|       |
  950|      1|    TRACE(("|%p|%p|MATCH\n", PatternObject_GetCode(self), state.ptr));
  951|       |
  952|      1|    status = sre_match(&state, PatternObject_GetCode(self));
  ------------------
  |  |   47|      1|#define PatternObject_GetCode(o) (((PatternObject*)(o))->code)
  ------------------
  953|       |
  954|      1|    TRACE(("|%p|%p|END\n", PatternObject_GetCode(self), state.ptr));
  955|      1|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (955:9): [True: 0, False: 1]
  ------------------
  956|      0|        state_fini(&state);
  957|      0|        return NULL;
  958|      0|    }
  959|       |
  960|      1|    match = pattern_new_match(module_state, self, &state, status);
  961|      1|    state_fini(&state);
  962|      1|    return match;
  963|      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);
  ------------------
  |  |  550|      1|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  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|      1|    if (state->charsize == 1)
  ------------------
  |  Branch (902:9): [True: 1, False: 0]
  ------------------
  903|      1|        return sre_ucs1_match(state, pattern, 1);
  904|      0|    if (state->charsize == 2)
  ------------------
  |  Branch (904:9): [True: 0, False: 0]
  ------------------
  905|      0|        return sre_ucs2_match(state, pattern, 1);
  906|      0|    assert(state->charsize == 4);
  ------------------
  |  Branch (906:5): [True: 0, False: 0]
  ------------------
  907|      0|    return sre_ucs4_match(state, pattern, 1);
  908|      0|}
sre.c:data_stack_grow:
  398|      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);
  ------------------
  |  |  524|      1|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  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:
 2940|      1|{
 2941|       |    /* create match object (from state object) */
 2942|       |
 2943|      1|    MatchObject* match;
 2944|      1|    Py_ssize_t i, j;
 2945|      1|    char* base;
 2946|      1|    int n;
 2947|       |
 2948|      1|    if (status > 0) {
  ------------------
  |  Branch (2948:9): [True: 1, False: 0]
  ------------------
 2949|       |
 2950|       |        /* create match object (with room for extra group marks) */
 2951|       |        /* coverity[ampersand_in_size] */
 2952|      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))
  |  |  ------------------
  ------------------
 2953|      1|                                   module_state->Match_Type,
 2954|      1|                                   2*(pattern->groups+1));
 2955|      1|        if (!match)
  ------------------
  |  Branch (2955:13): [True: 0, False: 1]
  ------------------
 2956|      0|            return NULL;
 2957|       |
 2958|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2959|      1|        match->pattern = pattern;
 2960|       |
 2961|      1|        match->string = Py_NewRef(state->string);
  ------------------
  |  |  550|      1|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2962|       |
 2963|      1|        match->regs = NULL;
 2964|      1|        match->groups = pattern->groups+1;
 2965|       |
 2966|       |        /* fill in group slices */
 2967|       |
 2968|      1|        base = (char*) state->beginning;
 2969|      1|        n = state->charsize;
 2970|       |
 2971|      1|        match->mark[0] = ((char*) state->start - base) / n;
 2972|      1|        match->mark[1] = ((char*) state->ptr - base) / n;
 2973|       |
 2974|      1|        for (i = j = 0; i < pattern->groups; i++, j+=2)
  ------------------
  |  Branch (2974:25): [True: 0, False: 1]
  ------------------
 2975|      0|            if (j+1 <= state->lastmark && state->mark[j] && state->mark[j+1]) {
  ------------------
  |  Branch (2975:17): [True: 0, False: 0]
  |  Branch (2975:43): [True: 0, False: 0]
  |  Branch (2975:61): [True: 0, False: 0]
  ------------------
 2976|      0|                match->mark[j+2] = ((char*) state->mark[j] - base) / n;
 2977|      0|                match->mark[j+3] = ((char*) state->mark[j+1] - base) / n;
 2978|       |
 2979|       |                /* check wrong span */
 2980|      0|                if (match->mark[j+2] > match->mark[j+3]) {
  ------------------
  |  Branch (2980:21): [True: 0, False: 0]
  ------------------
 2981|      0|                    PyErr_SetString(PyExc_SystemError,
 2982|      0|                                    "The span of capturing group is wrong,"
 2983|      0|                                    " please report a bug for the re module.");
 2984|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2985|      0|                    return NULL;
 2986|      0|                }
 2987|      0|            } else
 2988|      0|                match->mark[j+2] = match->mark[j+3] = -1; /* undefined */
 2989|       |
 2990|      1|        match->pos = state->pos;
 2991|      1|        match->endpos = state->endpos;
 2992|       |
 2993|      1|        match->lastindex = state->lastindex;
 2994|       |
 2995|      1|        PyObject_GC_Track(match);
 2996|      1|        return (PyObject*) match;
 2997|       |
 2998|      1|    } else if (status == 0) {
  ------------------
  |  Branch (2998:16): [True: 0, False: 0]
  ------------------
 2999|       |
 3000|       |        /* no match */
 3001|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 3002|       |
 3003|      0|    }
 3004|       |
 3005|       |    /* internal error */
 3006|      0|    pattern_error(status);
 3007|       |    return NULL;
 3008|      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);
  ------------------
  |  |  484|      2|    do { \
  |  |  485|      2|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      2|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      2|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  880|      2|    Py_CLEAR(self->indexgroup);
  ------------------
  |  |  484|      2|    do { \
  |  |  485|      2|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      2|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      2|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  881|      2|    Py_CLEAR(self->pattern);
  ------------------
  |  |  484|      2|    do { \
  |  |  485|      2|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      2|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      2|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2, False: 0]
  |  |  ------------------
  |  |  488|      2|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      2|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      2|        } \
  |  |  491|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  882|       |#ifdef Py_DEBUG
  883|       |    Py_CLEAR(self->fail_after_exc);
  884|       |#endif
  885|      2|    return 0;
  886|      2|}
sre.c:match_dealloc:
 2503|      1|{
 2504|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2505|      1|    PyObject_GC_UnTrack(self);
 2506|      1|    (void)match_clear(self);
 2507|      1|    tp->tp_free(self);
 2508|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2509|      1|}
sre.c:match_clear:
 2493|      1|{
 2494|      1|    MatchObject *self = _MatchObject_CAST(op);
  ------------------
  |  |  547|      1|#define _MatchObject_CAST(op)       ((MatchObject *)(op))
  ------------------
 2495|      1|    Py_CLEAR(self->string);
  ------------------
  |  |  484|      1|    do { \
  |  |  485|      1|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      1|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      1|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      1|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      1|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      1|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 1, False: 0]
  |  |  ------------------
  |  |  488|      1|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      1|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      1|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      1|        } \
  |  |  491|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 2496|      1|    Py_CLEAR(self->regs);
  ------------------
  |  |  484|      1|    do { \
  |  |  485|      1|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      1|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      1|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      1|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      1|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      1|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 1]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 2497|       |    Py_CLEAR(self->pattern);
  ------------------
  |  |  484|      1|    do { \
  |  |  485|      1|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      1|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      1|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      1|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      1|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      1|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 1, False: 0]
  |  |  ------------------
  |  |  488|      1|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      1|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      1|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      1|        } \
  |  |  491|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 2498|      1|    return 0;
 2499|      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++) {
  ------------------
  |  |  221|     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:
 2901|      2|{
 2902|      2|    return PyModuleDef_Init(&thread_module);
 2903|      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:
 2135|     81|{
 2136|     81|    thread_module_state *state = get_thread_state(module);
 2137|     81|    return lock_new_impl(state->lock_type);
 2138|     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:
 2162|    224|{
 2163|    224|    PyThread_ident_t ident = PyThread_get_thread_ident_ex();
 2164|    224|    if (ident == PYTHREAD_INVALID_THREAD_ID) {
  ------------------
  |  |   13|    224|#define PYTHREAD_INVALID_THREAD_ID ((unsigned long)-1)
  ------------------
  |  Branch (2164:9): [True: 0, False: 224]
  ------------------
 2165|      0|        PyErr_SetString(ThreadError, "no current thread ident");
  ------------------
  |  |   23|      0|#define ThreadError PyExc_RuntimeError
  ------------------
 2166|      0|        return NULL;
 2167|      0|    }
 2168|    224|    return PyLong_FromUnsignedLongLong(ident);
 2169|    224|}
_threadmodule.c:thread_module_exec:
 2720|      2|{
 2721|      2|    thread_module_state *state = get_thread_state(module);
 2722|      2|    PyObject *d = PyModule_GetDict(module);
 2723|       |
 2724|       |    // Initialize the C thread library
 2725|      2|    PyThread_init_thread();
 2726|       |
 2727|       |    // _ThreadHandle
 2728|      2|    state->thread_handle_type = (PyTypeObject *)PyType_FromSpec(&ThreadHandle_Type_spec);
 2729|      2|    if (state->thread_handle_type == NULL) {
  ------------------
  |  Branch (2729:9): [True: 0, False: 2]
  ------------------
 2730|      0|        return -1;
 2731|      0|    }
 2732|      2|    if (PyDict_SetItemString(d, "_ThreadHandle", (PyObject *)state->thread_handle_type) < 0) {
  ------------------
  |  Branch (2732:9): [True: 0, False: 2]
  ------------------
 2733|      0|        return -1;
 2734|      0|    }
 2735|       |
 2736|       |    // Lock
 2737|      2|    state->lock_type = (PyTypeObject *)PyType_FromModuleAndSpec(module, &lock_type_spec, NULL);
 2738|      2|    if (state->lock_type == NULL) {
  ------------------
  |  Branch (2738:9): [True: 0, False: 2]
  ------------------
 2739|      0|        return -1;
 2740|      0|    }
 2741|      2|    if (PyModule_AddType(module, state->lock_type) < 0) {
  ------------------
  |  Branch (2741:9): [True: 0, False: 2]
  ------------------
 2742|      0|        return -1;
 2743|      0|    }
 2744|       |    // Old alias: lock -> LockType
 2745|      2|    if (PyDict_SetItemString(d, "LockType", (PyObject *)state->lock_type) < 0) {
  ------------------
  |  Branch (2745:9): [True: 0, False: 2]
  ------------------
 2746|      0|        return -1;
 2747|      0|    }
 2748|       |
 2749|       |    // RLock
 2750|      2|    state->rlock_type = (PyTypeObject *)PyType_FromModuleAndSpec(module, &rlock_type_spec, NULL);
 2751|      2|    if (state->rlock_type == NULL) {
  ------------------
  |  Branch (2751:9): [True: 0, False: 2]
  ------------------
 2752|      0|        return -1;
 2753|      0|    }
 2754|      2|    if (PyModule_AddType(module, state->rlock_type) < 0) {
  ------------------
  |  Branch (2754:9): [True: 0, False: 2]
  ------------------
 2755|      0|        return -1;
 2756|      0|    }
 2757|       |
 2758|       |    // Local dummy
 2759|      2|    state->local_dummy_type = (PyTypeObject *)PyType_FromSpec(&local_dummy_type_spec);
 2760|      2|    if (state->local_dummy_type == NULL) {
  ------------------
  |  Branch (2760:9): [True: 0, False: 2]
  ------------------
 2761|      0|        return -1;
 2762|      0|    }
 2763|       |
 2764|       |    // Local
 2765|      2|    state->local_type = (PyTypeObject *)PyType_FromModuleAndSpec(module, &local_type_spec, NULL);
 2766|      2|    if (state->local_type == NULL) {
  ------------------
  |  Branch (2766:9): [True: 0, False: 2]
  ------------------
 2767|      0|        return -1;
 2768|      0|    }
 2769|      2|    if (PyModule_AddType(module, state->local_type) < 0) {
  ------------------
  |  Branch (2769:9): [True: 0, False: 2]
  ------------------
 2770|      0|        return -1;
 2771|      0|    }
 2772|       |
 2773|       |    // Add module attributes
 2774|      2|    if (PyDict_SetItemString(d, "error", ThreadError) < 0) {
  ------------------
  |  |   23|      2|#define ThreadError PyExc_RuntimeError
  ------------------
  |  Branch (2774:9): [True: 0, False: 2]
  ------------------
 2775|      0|        return -1;
 2776|      0|    }
 2777|       |
 2778|       |    // _ExceptHookArgs type
 2779|      2|    state->excepthook_type = PyStructSequence_NewType(&ExceptHookArgs_desc);
 2780|      2|    if (state->excepthook_type == NULL) {
  ------------------
  |  Branch (2780:9): [True: 0, False: 2]
  ------------------
 2781|      0|        return -1;
 2782|      0|    }
 2783|      2|    if (PyModule_AddType(module, state->excepthook_type) < 0) {
  ------------------
  |  Branch (2783:9): [True: 0, False: 2]
  ------------------
 2784|      0|        return -1;
 2785|      0|    }
 2786|       |
 2787|       |    // TIMEOUT_MAX
 2788|      2|    double timeout_max = (double)PY_TIMEOUT_MAX * 1e-6;
 2789|      2|    double time_max = PyTime_AsSecondsDouble(PyTime_MAX);
  ------------------
  |  |   12|      2|#define PyTime_MAX INT64_MAX
  ------------------
 2790|      2|    timeout_max = Py_MIN(timeout_max, time_max);
  ------------------
  |  |  120|      2|       __extension__ \
  |  |  121|      2|       ({ _Py_TYPEOF (x) _x = (x); \
  |  |  ------------------
  |  |  |  |  552|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  122|      2|          _Py_TYPEOF (y) _y = (y); \
  |  |  ------------------
  |  |  |  |  552|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  123|      2|          _x < _y ? _x : _y; })
  |  |  ------------------
  |  |  |  Branch (123:11): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2791|       |    // Round towards minus infinity
 2792|      2|    timeout_max = floor(timeout_max);
 2793|       |
 2794|      2|    if (PyModule_Add(module, "TIMEOUT_MAX",
  ------------------
  |  Branch (2794:9): [True: 0, False: 2]
  ------------------
 2795|      2|                        PyFloat_FromDouble(timeout_max)) < 0) {
 2796|      0|        return -1;
 2797|      0|    }
 2798|       |
 2799|      2|    llist_init(&state->shutdown_handles);
 2800|       |
 2801|      2|#ifdef _PYTHREAD_NAME_MAXLEN
 2802|      2|    if (PyModule_AddIntConstant(module, "_NAME_MAXLEN",
  ------------------
  |  Branch (2802:9): [True: 0, False: 2]
  ------------------
 2803|      2|                                _PYTHREAD_NAME_MAXLEN) < 0) {
  ------------------
  |  | 2172|      2|#define _PYTHREAD_NAME_MAXLEN 15
  ------------------
 2804|      0|        return -1;
 2805|      0|    }
 2806|      2|#endif
 2807|       |
 2808|       |#ifdef MS_WINDOWS
 2809|       |    HMODULE kernelbase = GetModuleHandleW(L"kernelbase.dll");
 2810|       |    if (kernelbase != NULL) {
 2811|       |        if (pGetThreadDescription == NULL) {
 2812|       |            pGetThreadDescription = (PF_GET_THREAD_DESCRIPTION)GetProcAddress(
 2813|       |                                        kernelbase, "GetThreadDescription");
 2814|       |        }
 2815|       |        if (pSetThreadDescription == NULL) {
 2816|       |            pSetThreadDescription = (PF_SET_THREAD_DESCRIPTION)GetProcAddress(
 2817|       |                                        kernelbase, "SetThreadDescription");
 2818|       |        }
 2819|       |    }
 2820|       |
 2821|       |    if (pGetThreadDescription == NULL) {
 2822|       |        if (PyObject_DelAttrString(module, "_get_name") < 0) {
 2823|       |            return -1;
 2824|       |        }
 2825|       |    }
 2826|       |    if (pSetThreadDescription == NULL) {
 2827|       |        if (PyObject_DelAttrString(module, "set_name") < 0) {
 2828|       |            return -1;
 2829|       |        }
 2830|       |    }
 2831|       |#endif
 2832|       |
 2833|      2|    return 0;
 2834|      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:
 2839|      4|{
 2840|      4|    thread_module_state *state = get_thread_state(module);
 2841|      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]
  |  |  ------------------
  ------------------
 2842|      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]
  |  |  ------------------
  ------------------
 2843|      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]
  |  |  ------------------
  ------------------
 2844|      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]
  |  |  ------------------
  ------------------
 2845|      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]
  |  |  ------------------
  ------------------
 2846|      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]
  |  |  ------------------
  ------------------
 2847|      4|    return 0;
 2848|      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:
  598|      2|int LLVMFuzzerInitialize(int *argc, char ***argv) {
  599|      2|    PyConfig config;
  600|      2|    PyConfig_InitPythonConfig(&config);
  601|      2|    config.install_signal_handlers = 0;
  602|       |    /* Raise the limit above the default allows exercising larger things
  603|       |     * now that we fall back to the _pylong module for large values. */
  604|      2|    config.int_max_str_digits = 8086;
  605|      2|    PyStatus status;
  606|      2|    status = PyConfig_SetBytesString(&config, &config.program_name, *argv[0]);
  607|      2|    if (PyStatus_Exception(status)) {
  ------------------
  |  Branch (607:9): [True: 0, False: 2]
  ------------------
  608|      0|        goto fail;
  609|      0|    }
  610|       |
  611|      2|    status = Py_InitializeFromConfig(&config);
  612|      2|    if (PyStatus_Exception(status)) {
  ------------------
  |  Branch (612:9): [True: 0, False: 2]
  ------------------
  613|      0|        goto fail;
  614|      0|    }
  615|      2|    PyConfig_Clear(&config);
  616|       |
  617|      2|    return 0;
  618|       |
  619|      0|fail:
  620|      0|    PyConfig_Clear(&config);
  621|      0|    Py_ExitStatusException(status);
  622|      2|}
LLVMFuzzerTestOneInput:
  631|     39|int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
  632|     39|    assert(Py_IsInitialized());
  633|       |
  634|     39|    int rv = 0;
  635|       |
  636|       |#if !defined(_Py_FUZZ_ONE) || defined(_Py_FUZZ_fuzz_builtin_float)
  637|       |    rv |= _run_fuzz(data, size, fuzz_builtin_float);
  638|       |#endif
  639|       |#if !defined(_Py_FUZZ_ONE) || defined(_Py_FUZZ_fuzz_builtin_int)
  640|       |    rv |= _run_fuzz(data, size, fuzz_builtin_int);
  641|       |#endif
  642|       |#if !defined(_Py_FUZZ_ONE) || defined(_Py_FUZZ_fuzz_builtin_unicode)
  643|       |    rv |= _run_fuzz(data, size, fuzz_builtin_unicode);
  644|       |#endif
  645|       |#if !defined(_Py_FUZZ_ONE) || defined(_Py_FUZZ_fuzz_struct_unpack)
  646|       |    static int STRUCT_UNPACK_INITIALIZED = 0;
  647|       |    if (!STRUCT_UNPACK_INITIALIZED && !init_struct_unpack()) {
  648|       |        PyErr_Print();
  649|       |        abort();
  650|       |    } else {
  651|       |        STRUCT_UNPACK_INITIALIZED = 1;
  652|       |    }
  653|       |    rv |= _run_fuzz(data, size, fuzz_struct_unpack);
  654|       |#endif
  655|       |#if !defined(_Py_FUZZ_ONE) || defined(_Py_FUZZ_fuzz_json_loads)
  656|       |    static int JSON_LOADS_INITIALIZED = 0;
  657|       |    if (!JSON_LOADS_INITIALIZED && !init_json_loads()) {
  658|       |        PyErr_Print();
  659|       |        abort();
  660|       |    } else {
  661|       |        JSON_LOADS_INITIALIZED = 1;
  662|       |    }
  663|       |
  664|       |    rv |= _run_fuzz(data, size, fuzz_json_loads);
  665|       |#endif
  666|       |#if !defined(_Py_FUZZ_ONE) || defined(_Py_FUZZ_fuzz_sre_compile)
  667|       |    static int SRE_COMPILE_INITIALIZED = 0;
  668|       |    if (!SRE_COMPILE_INITIALIZED && !init_sre_compile()) {
  669|       |        PyErr_Print();
  670|       |        abort();
  671|       |    } else {
  672|       |        SRE_COMPILE_INITIALIZED = 1;
  673|       |    }
  674|       |
  675|       |    if (SRE_COMPILE_INITIALIZED) {
  676|       |        rv |= _run_fuzz(data, size, fuzz_sre_compile);
  677|       |    }
  678|       |#endif
  679|       |#if !defined(_Py_FUZZ_ONE) || defined(_Py_FUZZ_fuzz_sre_match)
  680|       |    static int SRE_MATCH_INITIALIZED = 0;
  681|       |    if (!SRE_MATCH_INITIALIZED && !init_sre_match()) {
  682|       |        PyErr_Print();
  683|       |        abort();
  684|       |    } else {
  685|       |        SRE_MATCH_INITIALIZED = 1;
  686|       |    }
  687|       |
  688|       |    rv |= _run_fuzz(data, size, fuzz_sre_match);
  689|       |#endif
  690|       |#if !defined(_Py_FUZZ_ONE) || defined(_Py_FUZZ_fuzz_csv_reader)
  691|       |    static int CSV_READER_INITIALIZED = 0;
  692|       |    if (!CSV_READER_INITIALIZED && !init_csv_reader()) {
  693|       |        PyErr_Print();
  694|       |        abort();
  695|       |    } else {
  696|       |        CSV_READER_INITIALIZED = 1;
  697|       |    }
  698|       |
  699|       |    rv |= _run_fuzz(data, size, fuzz_csv_reader);
  700|       |#endif
  701|     39|#if !defined(_Py_FUZZ_ONE) || defined(_Py_FUZZ_fuzz_ast_literal_eval)
  702|     39|    static int AST_LITERAL_EVAL_INITIALIZED = 0;
  703|     39|    if (!AST_LITERAL_EVAL_INITIALIZED && !init_ast_literal_eval()) {
  ------------------
  |  Branch (703:9): [True: 1, False: 38]
  |  Branch (703:42): [True: 0, False: 1]
  ------------------
  704|      0|        PyErr_Print();
  705|      0|        abort();
  706|     39|    } else {
  707|     39|        AST_LITERAL_EVAL_INITIALIZED = 1;
  708|     39|    }
  709|       |
  710|     39|    rv |= _run_fuzz(data, size, fuzz_ast_literal_eval);
  711|     39|#endif
  712|       |#if !defined(_Py_FUZZ_ONE) || defined(_Py_FUZZ_fuzz_elementtree_parsewhole)
  713|       |    static int ELEMENTTREE_PARSEWHOLE_INITIALIZED = 0;
  714|       |    if (!ELEMENTTREE_PARSEWHOLE_INITIALIZED && !init_elementtree_parsewhole()) {
  715|       |        PyErr_Print();
  716|       |        abort();
  717|       |    } else {
  718|       |        ELEMENTTREE_PARSEWHOLE_INITIALIZED = 1;
  719|       |    }
  720|       |
  721|       |    rv |= _run_fuzz(data, size, fuzz_elementtree_parsewhole);
  722|       |#endif
  723|       |#if !defined(_Py_FUZZ_ONE) || defined(_Py_FUZZ_fuzz_pycompile)
  724|       |    rv |= _run_fuzz(data, size, fuzz_pycompile);
  725|       |#endif
  726|     39|  return rv;
  727|     39|}
fuzzer.c:init_ast_literal_eval:
  398|      1|static int init_ast_literal_eval(void) {
  399|      1|    PyObject* ast_module = PyImport_ImportModule("ast");
  400|      1|    if (ast_module == NULL) {
  ------------------
  |  Branch (400:9): [True: 0, False: 1]
  ------------------
  401|      0|        return 0;
  402|      0|    }
  403|      1|    ast_literal_eval_method = PyObject_GetAttrString(ast_module, "literal_eval");
  404|       |    return ast_literal_eval_method != NULL;
  405|      1|}
fuzzer.c:_run_fuzz:
  582|     39|static int _run_fuzz(const uint8_t *data, size_t size, int(*fuzzer)(const char* , size_t)) {
  583|     39|    int rv = fuzzer((const char*) data, size);
  584|     39|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (584:9): [True: 0, False: 39]
  ------------------
  585|       |        /* Fuzz tests should handle expected errors for themselves.
  586|       |           This is last-ditch check in case they didn't. */
  587|      0|        PyErr_Print();
  588|      0|        abort();
  589|      0|    }
  590|       |    /* Someday the return value might mean something, propagate it. */
  591|     39|    return rv;
  592|     39|}
fuzzer.c:fuzz_ast_literal_eval:
  407|     39|static int fuzz_ast_literal_eval(const char* data, size_t size) {
  408|     39|    if (size > MAX_AST_LITERAL_EVAL_TEST_SIZE) {
  ------------------
  |  |  395|     39|#define MAX_AST_LITERAL_EVAL_TEST_SIZE 0x100000
  ------------------
  |  Branch (408:9): [True: 0, False: 39]
  ------------------
  409|      0|        return 0;
  410|      0|    }
  411|       |    /* Ignore non null-terminated strings since ast can't handle
  412|       |       embedded nulls */
  413|     39|    if (memchr(data, '\0', size) == NULL) {
  ------------------
  |  Branch (413:9): [True: 0, False: 39]
  ------------------
  414|      0|        return 0;
  415|      0|    }
  416|       |
  417|     39|    PyObject* s = PyUnicode_FromString(data);
  418|       |    /* Ignore exceptions until we have a valid string */
  419|     39|    if (s == NULL) {
  ------------------
  |  Branch (419:9): [True: 2, False: 37]
  ------------------
  420|      2|        PyErr_Clear();
  421|      2|        return 0;
  422|      2|    }
  423|       |
  424|     37|    PyObject* literal = PyObject_CallOneArg(ast_literal_eval_method, s);
  425|       |    /* Ignore some common errors thrown by ast.literal_eval */
  426|     37|    if (literal == NULL && (PyErr_ExceptionMatches(PyExc_ValueError) ||
  ------------------
  |  Branch (426:9): [True: 37, False: 0]
  |  Branch (426:29): [True: 16, False: 21]
  ------------------
  427|     21|                            PyErr_ExceptionMatches(PyExc_TypeError) ||
  ------------------
  |  Branch (427:29): [True: 0, False: 21]
  ------------------
  428|     21|                            PyErr_ExceptionMatches(PyExc_SyntaxError) ||
  ------------------
  |  Branch (428:29): [True: 21, False: 0]
  ------------------
  429|      0|                            PyErr_ExceptionMatches(PyExc_MemoryError) ||
  ------------------
  |  Branch (429:29): [True: 0, False: 0]
  ------------------
  430|      0|                            PyErr_ExceptionMatches(PyExc_OverflowError) ||
  ------------------
  |  Branch (430:29): [True: 0, False: 0]
  ------------------
  431|      0|                            PyErr_ExceptionMatches(PyExc_RecursionError))
  ------------------
  |  Branch (431:29): [True: 0, False: 0]
  ------------------
  432|     37|    ) {
  433|     37|        PyErr_Clear();
  434|     37|    }
  435|       |
  436|     37|    Py_XDECREF(literal);
  ------------------
  |  |  524|     37|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     37|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     37|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  437|     37|    Py_DECREF(s);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  438|     37|    return 0;
  439|     39|}

_PyAtExit_Init:
   68|      2|{
   69|      2|    struct atexit_state *state = &interp->atexit;
   70|       |    // _PyAtExit_Init() must only be called once
   71|      2|    assert(state->callbacks == NULL);
  ------------------
  |  Branch (71:5): [True: 2, False: 0]
  ------------------
   72|       |
   73|      2|    state->callbacks = PyList_New(0);
   74|      2|    if (state->callbacks == NULL) {
  ------------------
  |  Branch (74:9): [True: 0, False: 2]
  ------------------
   75|      0|        return _PyStatus_NO_MEMORY();
  ------------------
  |  |   33|      0|#define _PyStatus_NO_MEMORY() _PyStatus_ERR(_PyStatus_NO_MEMORY_ERRMSG)
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  ------------------
   76|      0|    }
   77|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
   78|      2|}

_abc.c:_abc__abc_register:
   65|     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)) {
  ------------------
  |  |   31|     77|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 77, False: 0]
  |  |  |  Branch (31:27): [True: 77, False: 0]
  |  |  ------------------
  |  |   32|     77|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32: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)) {
  ------------------
  |  |   31|     77|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 77, False: 0]
  |  |  |  Branch (31:27): [True: 77, False: 0]
  |  |  ------------------
  |  |   32|     77|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32: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:
 2918|     12|{
 2919|     12|    PyObject *return_value = NULL;
 2920|     12|    const char *name;
 2921|       |
 2922|     12|    if (!PyUnicode_Check(arg)) {
  ------------------
  |  |  103|     12|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     12|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2922:9): [True: 0, False: 12]
  ------------------
 2923|      0|        _PyArg_BadArgument("lookup_error", "argument", "str", arg);
 2924|      0|        goto exit;
 2925|      0|    }
 2926|     12|    Py_ssize_t name_length;
 2927|     12|    name = PyUnicode_AsUTF8AndSize(arg, &name_length);
 2928|     12|    if (name == NULL) {
  ------------------
  |  Branch (2928:9): [True: 0, False: 12]
  ------------------
 2929|      0|        goto exit;
 2930|      0|    }
 2931|     12|    if (strlen(name) != (size_t)name_length) {
  ------------------
  |  Branch (2931:9): [True: 0, False: 12]
  ------------------
 2932|      0|        PyErr_SetString(PyExc_ValueError, "embedded null character");
 2933|      0|        goto exit;
 2934|      0|    }
 2935|     12|    return_value = _codecs_lookup_error_impl(module, name);
 2936|       |
 2937|     12|exit:
 2938|     12|    return return_value;
 2939|     12|}
_codecsmodule.c:_codecs__normalize_encoding:
 2957|      2|{
 2958|      2|    PyObject *return_value = NULL;
 2959|      2|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 2960|       |
 2961|      2|    #define NUM_KEYWORDS 1
 2962|      2|    static struct {
 2963|      2|        PyGC_Head _this_is_not_used;
 2964|      2|        PyObject_VAR_HEAD
 2965|      2|        Py_hash_t ob_hash;
 2966|      2|        PyObject *ob_item[NUM_KEYWORDS];
 2967|      2|    } _kwtuple = {
 2968|      2|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|      2|    {                                     \
  |  |   98|      2|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|      2|    {                               \
  |  |  |  |   91|      2|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|      2|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|      2|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|      2|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|      2|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|      2|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|      2|        (type)                      \
  |  |  |  |   93|      2|    },
  |  |  ------------------
  |  |   99|      2|        (size)                            \
  |  |  100|      2|    },
  ------------------
 2969|      2|        .ob_hash = -1,
 2970|      2|        .ob_item = { &_Py_ID(encoding), },
  ------------------
  |  |  936|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2971|      2|    };
 2972|      2|    #undef NUM_KEYWORDS
 2973|      2|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 2974|       |
 2975|       |    #else  // !Py_BUILD_CORE
 2976|       |    #  define KWTUPLE NULL
 2977|       |    #endif  // !Py_BUILD_CORE
 2978|       |
 2979|      2|    static const char * const _keywords[] = {"encoding", NULL};
 2980|      2|    static _PyArg_Parser _parser = {
 2981|      2|        .keywords = _keywords,
 2982|      2|        .fname = "_normalize_encoding",
 2983|      2|        .kwtuple = KWTUPLE,
  ------------------
  |  | 2973|      2|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 2984|      2|    };
 2985|      2|    #undef KWTUPLE
 2986|      2|    PyObject *argsbuf[1];
 2987|      2|    PyObject *encoding;
 2988|       |
 2989|      2|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|      2|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 2, False: 0]
  |  |  ------------------
  |  |   89|      2|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 2, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 2]
  |  |  |  Branch (89:43): [True: 2, False: 0]
  |  |  |  Branch (89:67): [True: 2, False: 0]
  |  |  ------------------
  |  |   90|      2|      (args) : \
  |  |   91|      2|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 2990|      2|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 2991|      2|    if (!args) {
  ------------------
  |  Branch (2991:9): [True: 0, False: 2]
  ------------------
 2992|      0|        goto exit;
 2993|      0|    }
 2994|      2|    if (!PyUnicode_Check(args[0])) {
  ------------------
  |  |  103|      2|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      2|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2994:9): [True: 0, False: 2]
  ------------------
 2995|      0|        _PyArg_BadArgument("_normalize_encoding", "argument 'encoding'", "str", args[0]);
 2996|      0|        goto exit;
 2997|      0|    }
 2998|      2|    encoding = args[0];
 2999|      2|    return_value = _codecs__normalize_encoding_impl(module, encoding);
 3000|       |
 3001|      2|exit:
 3002|      2|    return return_value;
 3003|      2|}

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

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

posixmodule.c:os_stat:
   47|    152|{
   48|    152|    PyObject *return_value = NULL;
   49|    152|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
   50|       |
   51|    152|    #define NUM_KEYWORDS 3
   52|    152|    static struct {
   53|    152|        PyGC_Head _this_is_not_used;
   54|    152|        PyObject_VAR_HEAD
   55|    152|        Py_hash_t ob_hash;
   56|    152|        PyObject *ob_item[NUM_KEYWORDS];
   57|    152|    } _kwtuple = {
   58|    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|    },
  ------------------
   59|    152|        .ob_hash = -1,
   60|    152|        .ob_item = { &_Py_ID(path), &_Py_ID(dir_fd), &_Py_ID(follow_symlinks), },
  ------------------
  |  |  936|    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), },
  ------------------
  |  |  936|    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), },
  ------------------
  |  |  936|    152|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    152|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    152|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   61|    152|    };
   62|    152|    #undef NUM_KEYWORDS
   63|    152|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
   64|       |
   65|       |    #else  // !Py_BUILD_CORE
   66|       |    #  define KWTUPLE NULL
   67|       |    #endif  // !Py_BUILD_CORE
   68|       |
   69|    152|    static const char * const _keywords[] = {"path", "dir_fd", "follow_symlinks", NULL};
   70|    152|    static _PyArg_Parser _parser = {
   71|    152|        .keywords = _keywords,
   72|    152|        .fname = "stat",
   73|    152|        .kwtuple = KWTUPLE,
  ------------------
  |  |   63|    152|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
   74|    152|    };
   75|    152|    #undef KWTUPLE
   76|    152|    PyObject *argsbuf[3];
   77|    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 (77:36): [True: 0, False: 152]
  ------------------
   78|    152|    path_t path = PATH_T_INITIALIZE_P("stat", "path", 0, 0, 0, 1);
  ------------------
  |  | 1385|    152|    PATH_T_INITIALIZE(function_name, argument_name, nullable, nonstrict, 0, \
  |  |  ------------------
  |  |  |  | 1375|    152|    {function_name, argument_name, nullable, nonstrict, make_wide, \
  |  |  |  | 1376|    152|     suppress_value_error, allow_fd, NULL, NULL, -1, false, 0, 0, NULL, NULL}
  |  |  ------------------
  |  | 1386|    152|                      suppress_value_error, allow_fd)
  ------------------
   79|    152|    int dir_fd = DEFAULT_DIR_FD;
  ------------------
  |  | 1158|    152|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
   80|    152|    int follow_symlinks = 1;
   81|       |
   82|    152|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|    152|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 152, False: 0]
  |  |  ------------------
  |  |   89|    152|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 152, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 152]
  |  |  |  Branch (89:43): [True: 152, False: 0]
  |  |  |  Branch (89:67): [True: 152, False: 0]
  |  |  ------------------
  |  |   90|    152|      (args) : \
  |  |   91|    152|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
   83|    152|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
   84|    152|    if (!args) {
  ------------------
  |  Branch (84:9): [True: 0, False: 152]
  ------------------
   85|      0|        goto exit;
   86|      0|    }
   87|    152|    if (!path_converter(args[0], &path)) {
  ------------------
  |  Branch (87:9): [True: 0, False: 152]
  ------------------
   88|      0|        goto exit;
   89|      0|    }
   90|    152|    if (!noptargs) {
  ------------------
  |  Branch (90:9): [True: 152, False: 0]
  ------------------
   91|    152|        goto skip_optional_kwonly;
   92|    152|    }
   93|      0|    if (args[1]) {
  ------------------
  |  Branch (93:9): [True: 0, False: 0]
  ------------------
   94|      0|        if (!FSTATAT_DIR_FD_CONVERTER(args[1], &dir_fd)) {
  ------------------
  |  | 3027|      0|    #define FSTATAT_DIR_FD_CONVERTER dir_fd_converter
  ------------------
  |  Branch (94:13): [True: 0, False: 0]
  ------------------
   95|      0|            goto exit;
   96|      0|        }
   97|      0|        if (!--noptargs) {
  ------------------
  |  Branch (97:13): [True: 0, False: 0]
  ------------------
   98|      0|            goto skip_optional_kwonly;
   99|      0|        }
  100|      0|    }
  101|      0|    follow_symlinks = PyObject_IsTrue(args[2]);
  102|      0|    if (follow_symlinks < 0) {
  ------------------
  |  Branch (102:9): [True: 0, False: 0]
  ------------------
  103|      0|        goto exit;
  104|      0|    }
  105|    152|skip_optional_kwonly:
  106|    152|    return_value = os_stat_impl(module, &path, dir_fd, follow_symlinks);
  107|       |
  108|    152|exit:
  109|       |    /* Cleanup for path */
  110|    152|    path_cleanup(&path);
  111|       |
  112|    152|    return return_value;
  113|    152|}
posixmodule.c:os_listdir:
 1777|     11|{
 1778|     11|    PyObject *return_value = NULL;
 1779|     11|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 1780|       |
 1781|     11|    #define NUM_KEYWORDS 1
 1782|     11|    static struct {
 1783|     11|        PyGC_Head _this_is_not_used;
 1784|     11|        PyObject_VAR_HEAD
 1785|     11|        Py_hash_t ob_hash;
 1786|     11|        PyObject *ob_item[NUM_KEYWORDS];
 1787|     11|    } _kwtuple = {
 1788|     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|    },
  ------------------
 1789|     11|        .ob_hash = -1,
 1790|     11|        .ob_item = { &_Py_ID(path), },
  ------------------
  |  |  936|     11|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     11|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     11|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1791|     11|    };
 1792|     11|    #undef NUM_KEYWORDS
 1793|     11|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 1794|       |
 1795|       |    #else  // !Py_BUILD_CORE
 1796|       |    #  define KWTUPLE NULL
 1797|       |    #endif  // !Py_BUILD_CORE
 1798|       |
 1799|     11|    static const char * const _keywords[] = {"path", NULL};
 1800|     11|    static _PyArg_Parser _parser = {
 1801|     11|        .keywords = _keywords,
 1802|     11|        .fname = "listdir",
 1803|     11|        .kwtuple = KWTUPLE,
  ------------------
  |  | 1793|     11|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 1804|     11|    };
 1805|     11|    #undef KWTUPLE
 1806|     11|    PyObject *argsbuf[1];
 1807|     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 (1807:36): [True: 0, False: 11]
  ------------------
 1808|     11|    path_t path = PATH_T_INITIALIZE_P("listdir", "path", 1, 0, 0, PATH_HAVE_FDOPENDIR);
  ------------------
  |  | 1385|     11|    PATH_T_INITIALIZE(function_name, argument_name, nullable, nonstrict, 0, \
  |  |  ------------------
  |  |  |  | 1375|     11|    {function_name, argument_name, nullable, nonstrict, make_wide, \
  |  |  |  | 1376|     11|     suppress_value_error, allow_fd, NULL, NULL, -1, false, 0, 0, NULL, NULL}
  |  |  ------------------
  |  | 1386|     11|                      suppress_value_error, allow_fd)
  ------------------
 1809|       |
 1810|     11|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|     11|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 11, False: 0]
  |  |  ------------------
  |  |   89|     11|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 11, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 11]
  |  |  |  Branch (89:43): [True: 11, False: 0]
  |  |  |  Branch (89:67): [True: 11, False: 0]
  |  |  ------------------
  |  |   90|     11|      (args) : \
  |  |   91|     11|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 1811|     11|            /*minpos*/ 0, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 1812|     11|    if (!args) {
  ------------------
  |  Branch (1812:9): [True: 0, False: 11]
  ------------------
 1813|      0|        goto exit;
 1814|      0|    }
 1815|     11|    if (!noptargs) {
  ------------------
  |  Branch (1815:9): [True: 0, False: 11]
  ------------------
 1816|      0|        goto skip_optional_pos;
 1817|      0|    }
 1818|     11|    if (!path_converter(args[0], &path)) {
  ------------------
  |  Branch (1818:9): [True: 0, False: 11]
  ------------------
 1819|      0|        goto exit;
 1820|      0|    }
 1821|     11|skip_optional_pos:
 1822|     11|    return_value = os_listdir_impl(module, &path);
 1823|       |
 1824|     11|exit:
 1825|       |    /* Cleanup for path */
 1826|     11|    path_cleanup(&path);
 1827|       |
 1828|     11|    return return_value;
 1829|     11|}
posixmodule.c:os_getegid:
 5219|      2|{
 5220|      2|    return os_getegid_impl(module);
 5221|      2|}
posixmodule.c:os_geteuid:
 5241|      2|{
 5242|      2|    return os_geteuid_impl(module);
 5243|      2|}
posixmodule.c:os_getgid:
 5263|      2|{
 5264|      2|    return os_getgid_impl(module);
 5265|      2|}
posixmodule.c:os_getuid:
 5684|      2|{
 5685|      2|    return os_getuid_impl(module);
 5686|      2|}
posixmodule.c:os__path_normpath:
 2662|     10|{
 2663|     10|    PyObject *return_value = NULL;
 2664|     10|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 2665|       |
 2666|     10|    #define NUM_KEYWORDS 1
 2667|     10|    static struct {
 2668|     10|        PyGC_Head _this_is_not_used;
 2669|     10|        PyObject_VAR_HEAD
 2670|     10|        Py_hash_t ob_hash;
 2671|     10|        PyObject *ob_item[NUM_KEYWORDS];
 2672|     10|    } _kwtuple = {
 2673|     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|    },
  ------------------
 2674|     10|        .ob_hash = -1,
 2675|     10|        .ob_item = { &_Py_ID(path), },
  ------------------
  |  |  936|     10|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     10|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     10|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2676|     10|    };
 2677|     10|    #undef NUM_KEYWORDS
 2678|     10|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 2679|       |
 2680|       |    #else  // !Py_BUILD_CORE
 2681|       |    #  define KWTUPLE NULL
 2682|       |    #endif  // !Py_BUILD_CORE
 2683|       |
 2684|     10|    static const char * const _keywords[] = {"path", NULL};
 2685|     10|    static _PyArg_Parser _parser = {
 2686|     10|        .keywords = _keywords,
 2687|     10|        .fname = "_path_normpath",
 2688|     10|        .kwtuple = KWTUPLE,
  ------------------
  |  | 2678|     10|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 2689|     10|    };
 2690|     10|    #undef KWTUPLE
 2691|     10|    PyObject *argsbuf[1];
 2692|     10|    path_t path = PATH_T_INITIALIZE("_path_normpath", "path", 0, 1, 1, 0, 0);
  ------------------
  |  | 1375|     10|    {function_name, argument_name, nullable, nonstrict, make_wide, \
  |  | 1376|     10|     suppress_value_error, allow_fd, NULL, NULL, -1, false, 0, 0, NULL, NULL}
  ------------------
 2693|       |
 2694|     10|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|     10|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 10, False: 0]
  |  |  ------------------
  |  |   89|     10|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 10, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 10]
  |  |  |  Branch (89:43): [True: 10, False: 0]
  |  |  |  Branch (89:67): [True: 10, False: 0]
  |  |  ------------------
  |  |   90|     10|      (args) : \
  |  |   91|     10|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 2695|     10|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 2696|     10|    if (!args) {
  ------------------
  |  Branch (2696:9): [True: 0, False: 10]
  ------------------
 2697|      0|        goto exit;
 2698|      0|    }
 2699|     10|    if (!path_converter(args[0], &path)) {
  ------------------
  |  Branch (2699:9): [True: 0, False: 10]
  ------------------
 2700|      0|        goto exit;
 2701|      0|    }
 2702|     10|    return_value = os__path_normpath_impl(module, &path);
 2703|       |
 2704|     10|exit:
 2705|       |    /* Cleanup for path */
 2706|     10|    path_cleanup(&path);
 2707|       |
 2708|     10|    return return_value;
 2709|     10|}
posixmodule.c:os_fspath:
12538|    135|{
12539|    135|    PyObject *return_value = NULL;
12540|    135|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
12541|       |
12542|    135|    #define NUM_KEYWORDS 1
12543|    135|    static struct {
12544|    135|        PyGC_Head _this_is_not_used;
12545|    135|        PyObject_VAR_HEAD
12546|    135|        Py_hash_t ob_hash;
12547|    135|        PyObject *ob_item[NUM_KEYWORDS];
12548|    135|    } _kwtuple = {
12549|    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|    },
  ------------------
12550|    135|        .ob_hash = -1,
12551|    135|        .ob_item = { &_Py_ID(path), },
  ------------------
  |  |  936|    135|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    135|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    135|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12552|    135|    };
12553|    135|    #undef NUM_KEYWORDS
12554|    135|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
12555|       |
12556|       |    #else  // !Py_BUILD_CORE
12557|       |    #  define KWTUPLE NULL
12558|       |    #endif  // !Py_BUILD_CORE
12559|       |
12560|    135|    static const char * const _keywords[] = {"path", NULL};
12561|    135|    static _PyArg_Parser _parser = {
12562|    135|        .keywords = _keywords,
12563|    135|        .fname = "fspath",
12564|    135|        .kwtuple = KWTUPLE,
  ------------------
  |  |12554|    135|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
12565|    135|    };
12566|    135|    #undef KWTUPLE
12567|    135|    PyObject *argsbuf[1];
12568|    135|    PyObject *path;
12569|       |
12570|    135|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|    135|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 135, False: 0]
  |  |  ------------------
  |  |   89|    135|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 135, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 135]
  |  |  |  Branch (89:43): [True: 135, False: 0]
  |  |  |  Branch (89:67): [True: 135, False: 0]
  |  |  ------------------
  |  |   90|    135|      (args) : \
  |  |   91|    135|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
12571|    135|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
12572|    135|    if (!args) {
  ------------------
  |  Branch (12572:9): [True: 0, False: 135]
  ------------------
12573|      0|        goto exit;
12574|      0|    }
12575|    135|    path = args[0];
12576|    135|    return_value = os_fspath_impl(module, path);
12577|       |
12578|    135|exit:
12579|    135|    return return_value;
12580|    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:
  836|      2|{
  837|      2|    return PyMarshal_ReadObjectFromString(
  838|      2|        (const char*)_Py_M__getpath, sizeof(_Py_M__getpath));
  839|      2|}
_PyConfig_InitPathConfig:
  859|      4|{
  860|      4|    PyStatus status = _PyPathConfig_ReadGlobal(config);
  861|       |
  862|      4|    if (_PyStatus_EXCEPTION(status) || !compute_path_config) {
  ------------------
  |  |   43|      8|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 4]
  |  |  ------------------
  ------------------
  |  Branch (862:40): [True: 2, False: 2]
  ------------------
  863|      2|        return status;
  864|      2|    }
  865|       |
  866|      2|    if (!_PyThreadState_GET()) {
  ------------------
  |  Branch (866:9): [True: 0, False: 2]
  ------------------
  867|      0|        return PyStatus_Error("cannot calculate path configuration without GIL");
  868|      0|    }
  869|       |
  870|      2|    PyObject *configDict = _PyConfig_AsDict(config);
  871|      2|    if (!configDict) {
  ------------------
  |  Branch (871:9): [True: 0, False: 2]
  ------------------
  872|      0|        PyErr_Clear();
  873|      0|        return PyStatus_NoMemory();
  874|      0|    }
  875|       |
  876|      2|    PyObject *dict = PyDict_New();
  877|      2|    if (!dict) {
  ------------------
  |  Branch (877:9): [True: 0, False: 2]
  ------------------
  878|      0|        PyErr_Clear();
  879|      0|        Py_DECREF(configDict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  880|      0|        return PyStatus_NoMemory();
  881|      0|    }
  882|       |
  883|      2|    if (PyDict_SetItemString(dict, "config", configDict) < 0) {
  ------------------
  |  Branch (883:9): [True: 0, False: 2]
  ------------------
  884|      0|        PyErr_Clear();
  885|      0|        Py_DECREF(configDict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  886|      0|        Py_DECREF(dict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  887|      0|        return PyStatus_NoMemory();
  888|      0|    }
  889|       |    /* reference now held by dict */
  890|      2|    Py_DECREF(configDict);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  891|       |
  892|      2|    PyObject *co = _Py_Get_Getpath_CodeObject();
  893|      2|    if (!co || !PyCode_Check(co)) {
  ------------------
  |  |  168|      2|#define PyCode_Check(op) Py_IS_TYPE((op), &PyCode_Type)
  |  |  ------------------
  |  |  |  |  215|      2|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (893:9): [True: 0, False: 2]
  |  Branch (893:16): [True: 0, False: 2]
  ------------------
  894|      0|        PyErr_Clear();
  895|      0|        Py_XDECREF(co);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  896|      0|        Py_DECREF(dict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  897|      0|        return PyStatus_Error("error reading frozen getpath.py");
  898|      0|    }
  899|       |
  900|       |#ifdef MS_WINDOWS
  901|       |    PyObject *winreg = PyImport_ImportModule("winreg");
  902|       |    if (!winreg || PyDict_SetItemString(dict, "winreg", winreg) < 0) {
  903|       |        PyErr_Clear();
  904|       |        Py_XDECREF(winreg);
  905|       |        if (PyDict_SetItemString(dict, "winreg", Py_None) < 0) {
  906|       |            PyErr_Clear();
  907|       |            Py_DECREF(co);
  908|       |            Py_DECREF(dict);
  909|       |            return PyStatus_Error("error importing winreg module");
  910|       |        }
  911|       |    } else {
  912|       |        Py_DECREF(winreg);
  913|       |    }
  914|       |#endif
  915|       |
  916|      2|    if (
  917|       |#ifdef MS_WINDOWS
  918|       |        !decode_to_dict(dict, "os_name", "nt") ||
  919|       |#elif defined(__APPLE__)
  920|       |        !decode_to_dict(dict, "os_name", "darwin") ||
  921|       |#else
  922|      2|        !decode_to_dict(dict, "os_name", "posix") ||
  ------------------
  |  Branch (922:9): [True: 0, False: 2]
  ------------------
  923|      2|#endif
  924|       |#ifdef WITH_NEXT_FRAMEWORK
  925|       |        !int_to_dict(dict, "WITH_NEXT_FRAMEWORK", 1) ||
  926|       |#else
  927|      2|        !int_to_dict(dict, "WITH_NEXT_FRAMEWORK", 0) ||
  ------------------
  |  Branch (927:9): [True: 0, False: 2]
  ------------------
  928|      2|#endif
  929|      2|        !decode_to_dict(dict, "PREFIX", PREFIX) ||
  ------------------
  |  Branch (929:9): [True: 0, False: 2]
  ------------------
  930|      2|        !decode_to_dict(dict, "EXEC_PREFIX", EXEC_PREFIX) ||
  ------------------
  |  Branch (930:9): [True: 0, False: 2]
  ------------------
  931|      2|        !decode_to_dict(dict, "PYTHONPATH", PYTHONPATH) ||
  ------------------
  |  Branch (931:9): [True: 0, False: 2]
  ------------------
  932|      2|        !decode_to_dict(dict, "VPATH", VPATH) ||
  ------------------
  |  Branch (932:9): [True: 0, False: 2]
  ------------------
  933|      2|        !decode_to_dict(dict, "PLATLIBDIR", PLATLIBDIR) ||
  ------------------
  |  Branch (933:9): [True: 0, False: 2]
  ------------------
  934|      2|        !decode_to_dict(dict, "PYDEBUGEXT", PYDEBUGEXT) ||
  ------------------
  |  |   41|      2|#define PYDEBUGEXT NULL
  ------------------
  |  Branch (934:9): [True: 0, False: 2]
  ------------------
  935|      2|        !int_to_dict(dict, "VERSION_MAJOR", PY_MAJOR_VERSION) ||
  ------------------
  |  |   23|      2|#define PY_MAJOR_VERSION        3
  ------------------
  |  Branch (935:9): [True: 0, False: 2]
  ------------------
  936|      2|        !int_to_dict(dict, "VERSION_MINOR", PY_MINOR_VERSION) ||
  ------------------
  |  |   24|      2|#define PY_MINOR_VERSION        16
  ------------------
  |  Branch (936:9): [True: 0, False: 2]
  ------------------
  937|      2|        !decode_to_dict(dict, "PYWINVER", PYWINVER) ||
  ------------------
  |  |   48|      2|#define PYWINVER NULL
  ------------------
  |  Branch (937:9): [True: 0, False: 2]
  ------------------
  938|      2|        !wchar_to_dict(dict, "EXE_SUFFIX", EXE_SUFFIX) ||
  ------------------
  |  |   56|      2|#define EXE_SUFFIX NULL
  ------------------
  |  Branch (938:9): [True: 0, False: 2]
  ------------------
  939|      2|        !env_to_dict(dict, "ENV_PATH", 0) ||
  ------------------
  |  Branch (939:9): [True: 0, False: 2]
  ------------------
  940|      2|        !env_to_dict(dict, "ENV_PYTHONHOME", 0) ||
  ------------------
  |  Branch (940:9): [True: 0, False: 2]
  ------------------
  941|      2|        !env_to_dict(dict, "ENV_PYTHONEXECUTABLE", 0) ||
  ------------------
  |  Branch (941:9): [True: 0, False: 2]
  ------------------
  942|      2|        !env_to_dict(dict, "ENV___PYVENV_LAUNCHER__", 1) ||
  ------------------
  |  Branch (942:9): [True: 0, False: 2]
  ------------------
  943|      2|        !progname_to_dict(dict, "real_executable") ||
  ------------------
  |  Branch (943:9): [True: 0, False: 2]
  ------------------
  944|      2|        !library_to_dict(dict, "library") ||
  ------------------
  |  Branch (944:9): [True: 0, False: 2]
  ------------------
  945|      2|        !wchar_to_dict(dict, "executable_dir", NULL) ||
  ------------------
  |  Branch (945:9): [True: 0, False: 2]
  ------------------
  946|      2|        !wchar_to_dict(dict, "py_setpath", _PyPathConfig_GetGlobalModuleSearchPath()) ||
  ------------------
  |  Branch (946:9): [True: 0, False: 2]
  ------------------
  947|      2|        !funcs_to_dict(dict, config->pathconfig_warnings) ||
  ------------------
  |  Branch (947:9): [True: 0, False: 2]
  ------------------
  948|       |#ifdef Py_GIL_DISABLED
  949|       |        !decode_to_dict(dict, "ABI_THREAD", "t") ||
  950|       |#else
  951|      2|        !decode_to_dict(dict, "ABI_THREAD", "") ||
  ------------------
  |  Branch (951:9): [True: 0, False: 2]
  ------------------
  952|      2|#endif
  953|      2|#ifndef MS_WINDOWS
  954|      2|        PyDict_SetItemString(dict, "winreg", Py_None) < 0 ||
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (954:9): [True: 0, False: 2]
  ------------------
  955|      2|#endif
  956|      2|        PyDict_SetItemString(dict, "__builtins__", PyEval_GetBuiltins()) < 0
  ------------------
  |  Branch (956:9): [True: 0, False: 2]
  ------------------
  957|      2|    ) {
  958|      0|        Py_DECREF(co);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  959|      0|        Py_DECREF(dict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  960|      0|        PyErr_FormatUnraisable("Exception ignored while preparing getpath");
  961|      0|        return PyStatus_Error("error evaluating initial values");
  962|      0|    }
  963|       |
  964|      2|    PyObject *r = PyEval_EvalCode(co, dict, dict);
  965|      2|    Py_DECREF(co);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  966|       |
  967|      2|    if (!r) {
  ------------------
  |  Branch (967:9): [True: 0, False: 2]
  ------------------
  968|      0|        Py_DECREF(dict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  969|      0|        PyErr_FormatUnraisable("Exception ignored while running getpath");
  970|      0|        return PyStatus_Error("error evaluating path");
  971|      0|    }
  972|      2|    Py_DECREF(r);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  973|       |
  974|      2|    if (_PyConfig_FromDict(config, configDict) < 0) {
  ------------------
  |  Branch (974:9): [True: 0, False: 2]
  ------------------
  975|      0|        PyErr_FormatUnraisable("Exception ignored while reading getpath results");
  976|      0|        Py_DECREF(dict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  977|      0|        return PyStatus_Error("error getting getpath results");
  978|      0|    }
  979|       |
  980|      2|    Py_DECREF(dict);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  981|       |
  982|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  983|      2|}
getpath.c:decode_to_dict:
  661|     18|{
  662|     18|    PyObject *u = NULL;
  663|     18|    int r;
  664|     18|    if (s && s[0]) {
  ------------------
  |  Branch (664:9): [True: 14, False: 4]
  |  Branch (664:14): [True: 8, False: 6]
  ------------------
  665|      8|        size_t len;
  666|      8|        const wchar_t *w = Py_DecodeLocale(s, &len);
  667|      8|        if (w) {
  ------------------
  |  Branch (667:13): [True: 8, False: 0]
  ------------------
  668|      8|            u = PyUnicode_FromWideChar(w, len);
  669|      8|            PyMem_RawFree((void *)w);
  670|      8|        }
  671|      8|        if (!u) {
  ------------------
  |  Branch (671:13): [True: 0, False: 8]
  ------------------
  672|      0|            return 0;
  673|      0|        }
  674|     10|    } else {
  675|     10|        u = Py_NewRef(Py_None);
  ------------------
  |  |  550|     10|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  676|     10|    }
  677|     18|    r = PyDict_SetItemString(dict, key, u) == 0;
  678|     18|    Py_DECREF(u);
  ------------------
  |  |  430|     18|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  679|     18|    return r;
  680|     18|}
getpath.c:int_to_dict:
  740|      6|{
  741|      6|    PyObject *o;
  742|      6|    int r;
  743|      6|    o = PyLong_FromLong(v);
  744|      6|    if (!o) {
  ------------------
  |  Branch (744:9): [True: 0, False: 6]
  ------------------
  745|      0|        return 0;
  746|      0|    }
  747|      6|    r = PyDict_SetItemString(dict, key, o) == 0;
  748|      6|    Py_DECREF(o);
  ------------------
  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  749|      6|    return r;
  750|      6|}
getpath.c:wchar_to_dict:
  641|      6|{
  642|      6|    PyObject *u;
  643|      6|    int r;
  644|      6|    if (s && s[0]) {
  ------------------
  |  Branch (644:9): [True: 0, False: 6]
  |  Branch (644:14): [True: 0, False: 0]
  ------------------
  645|      0|        u = PyUnicode_FromWideChar(s, -1);
  646|      0|        if (!u) {
  ------------------
  |  Branch (646:13): [True: 0, False: 0]
  ------------------
  647|      0|            return 0;
  648|      0|        }
  649|      6|    } else {
  650|      6|        u = Py_NewRef(Py_None);
  ------------------
  |  |  550|      6|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  651|      6|    }
  652|      6|    r = PyDict_SetItemString(dict, key, u) == 0;
  653|      6|    Py_DECREF(u);
  ------------------
  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  654|      6|    return r;
  655|      6|}
getpath.c:env_to_dict:
  685|      8|{
  686|      8|    PyObject *u = NULL;
  687|      8|    int r = 0;
  688|      8|    assert(strncmp(key, "ENV_", 4) == 0);
  ------------------
  |  Branch (688:5): [True: 8, False: 0]
  ------------------
  689|      8|    assert(strlen(key) < 64);
  ------------------
  |  Branch (689:5): [True: 8, False: 0]
  ------------------
  690|       |#ifdef MS_WINDOWS
  691|       |    wchar_t wkey[64];
  692|       |    // Quick convert to wchar_t, since we know key is ASCII
  693|       |    wchar_t *wp = wkey;
  694|       |    for (const char *p = &key[4]; *p; ++p) {
  695|       |        assert(!(*p & 0x80));
  696|       |        *wp++ = *p;
  697|       |    }
  698|       |    *wp = L'\0';
  699|       |    const wchar_t *v = _wgetenv(wkey);
  700|       |    if (v) {
  701|       |        u = PyUnicode_FromWideChar(v, -1);
  702|       |        if (!u) {
  703|       |            PyErr_Clear();
  704|       |        }
  705|       |    }
  706|       |#else
  707|      8|    const char *v = getenv(&key[4]);
  708|      8|    if (v) {
  ------------------
  |  Branch (708:9): [True: 2, False: 6]
  ------------------
  709|      2|        size_t len;
  710|      2|        const wchar_t *w = Py_DecodeLocale(v, &len);
  711|      2|        if (w) {
  ------------------
  |  Branch (711:13): [True: 2, False: 0]
  ------------------
  712|      2|            u = PyUnicode_FromWideChar(w, len);
  713|      2|            if (!u) {
  ------------------
  |  Branch (713:17): [True: 0, False: 2]
  ------------------
  714|      0|                PyErr_Clear();
  715|      0|            }
  716|      2|            PyMem_RawFree((void *)w);
  717|      2|        }
  718|      2|    }
  719|      8|#endif
  720|      8|    if (u) {
  ------------------
  |  Branch (720:9): [True: 2, False: 6]
  ------------------
  721|      2|        r = PyDict_SetItemString(dict, key, u) == 0;
  722|      2|        Py_DECREF(u);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  723|      6|    } else {
  724|      6|        r = PyDict_SetItemString(dict, key, Py_None) == 0;
  ------------------
  |  |  616|      6|#  define Py_None (&_Py_NoneStruct)
  ------------------
  725|      6|    }
  726|      8|    if (r && and_clear) {
  ------------------
  |  Branch (726:9): [True: 8, False: 0]
  |  Branch (726:14): [True: 2, False: 6]
  ------------------
  727|       |#ifdef MS_WINDOWS
  728|       |        _wputenv_s(wkey, L"");
  729|       |#else
  730|      2|        unsetenv(&key[4]);
  731|      2|#endif
  732|      2|    }
  733|      8|    return r;
  734|      8|}
getpath.c:progname_to_dict:
  777|      2|{
  778|       |#ifdef MS_WINDOWS
  779|       |    return winmodule_to_dict(dict, key, NULL);
  780|       |#elif defined(__APPLE__)
  781|       |    char *path;
  782|       |    uint32_t pathLen = 256;
  783|       |    while (pathLen) {
  784|       |        path = PyMem_RawMalloc((pathLen + 1) * sizeof(char));
  785|       |        if (!path) {
  786|       |            return 0;
  787|       |        }
  788|       |        if (_NSGetExecutablePath(path, &pathLen) != 0) {
  789|       |            PyMem_RawFree(path);
  790|       |            continue;
  791|       |        }
  792|       |        // Only keep if the path is absolute
  793|       |        if (path[0] == SEP) {
  794|       |            int r = decode_to_dict(dict, key, path);
  795|       |            PyMem_RawFree(path);
  796|       |            return r;
  797|       |        }
  798|       |        // Fall back and store None
  799|       |        PyMem_RawFree(path);
  800|       |        break;
  801|       |    }
  802|       |#endif
  803|      2|    return PyDict_SetItemString(dict, key, Py_None) == 0;
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  804|      2|}
getpath.c:library_to_dict:
  810|      2|{
  811|       |/* macOS framework builds do not link against a libpython dynamic library, but
  812|       |   instead link against a macOS Framework. */
  813|       |#if defined(Py_ENABLE_SHARED) || defined(WITH_NEXT_FRAMEWORK)
  814|       |
  815|       |#ifdef MS_WINDOWS
  816|       |    extern HMODULE PyWin_DLLhModule;
  817|       |    if (PyWin_DLLhModule) {
  818|       |        return winmodule_to_dict(dict, key, PyWin_DLLhModule);
  819|       |    }
  820|       |#endif
  821|       |
  822|       |#if HAVE_DLADDR
  823|       |    Dl_info libpython_info;
  824|       |    if (dladdr(&Py_Initialize, &libpython_info) && libpython_info.dli_fname) {
  825|       |        return decode_to_dict(dict, key, libpython_info.dli_fname);
  826|       |    }
  827|       |#endif
  828|       |#endif
  829|       |
  830|      2|    return PyDict_SetItemString(dict, key, Py_None) == 0;
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  831|      2|}
getpath.c:funcs_to_dict:
  612|      2|{
  613|     24|    for (PyMethodDef *m = getpath_methods; m->ml_name; ++m) {
  ------------------
  |  Branch (613:44): [True: 22, False: 2]
  ------------------
  614|     22|        PyObject *f = PyCFunction_NewEx(m, NULL, NULL);
  ------------------
  |  |   87|     22|#define PyCFunction_NewEx(ML, SELF, MOD) PyCMethod_New((ML), (SELF), (MOD), NULL)
  ------------------
  615|     22|        if (!f) {
  ------------------
  |  Branch (615:13): [True: 0, False: 22]
  ------------------
  616|      0|            return 0;
  617|      0|        }
  618|     22|        if (PyDict_SetItemString(dict, m->ml_name, f) < 0) {
  ------------------
  |  Branch (618:13): [True: 0, False: 22]
  ------------------
  619|      0|            Py_DECREF(f);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  620|      0|            return 0;
  621|      0|        }
  622|     22|        Py_DECREF(f);
  ------------------
  |  |  430|     22|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  623|     22|    }
  624|      2|    PyMethodDef *m2 = warnings ? &getpath_warn_method : &getpath_nowarn_method;
  ------------------
  |  Branch (624:23): [True: 2, False: 0]
  ------------------
  625|      2|    PyObject *f = PyCFunction_NewEx(m2, NULL, NULL);
  ------------------
  |  |   87|      2|#define PyCFunction_NewEx(ML, SELF, MOD) PyCMethod_New((ML), (SELF), (MOD), NULL)
  ------------------
  626|      2|    if (!f) {
  ------------------
  |  Branch (626:9): [True: 0, False: 2]
  ------------------
  627|      0|        return 0;
  628|      0|    }
  629|      2|    if (PyDict_SetItemString(dict, m2->ml_name, f) < 0) {
  ------------------
  |  Branch (629:9): [True: 0, False: 2]
  ------------------
  630|      0|        Py_DECREF(f);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  631|      0|        return 0;
  632|      0|    }
  633|      2|    Py_DECREF(f);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|      2|    return 1;
  635|      2|}
getpath.c:getpath_abspath:
   65|      2|{
   66|      2|    PyObject *r = NULL;
   67|      2|    PyObject *pathobj;
   68|      2|    wchar_t *path;
   69|      2|    if (!PyArg_ParseTuple(args, "U", &pathobj)) {
  ------------------
  |  Branch (69:9): [True: 0, False: 2]
  ------------------
   70|      0|        return NULL;
   71|      0|    }
   72|      2|    Py_ssize_t len;
   73|      2|    path = PyUnicode_AsWideCharString(pathobj, &len);
   74|      2|    if (path) {
  ------------------
  |  Branch (74:9): [True: 2, False: 0]
  ------------------
   75|      2|        wchar_t *abs;
   76|      2|        if (_Py_abspath((const wchar_t *)_Py_normpath(path, -1), &abs) == 0 && abs) {
  ------------------
  |  Branch (76:13): [True: 2, False: 0]
  |  Branch (76:80): [True: 2, False: 0]
  ------------------
   77|      2|            r = PyUnicode_FromWideChar(abs, -1);
   78|      2|            PyMem_RawFree((void *)abs);
   79|      2|        } else {
   80|      0|            PyErr_SetString(PyExc_OSError, "failed to make path absolute");
   81|      0|        }
   82|      2|        PyMem_Free((void *)path);
   83|      2|    }
   84|      2|    return r;
   85|      2|}
getpath.c:getpath_dirname:
  106|     12|{
  107|     12|    PyObject *path;
  108|     12|    if (!PyArg_ParseTuple(args, "U", &path)) {
  ------------------
  |  Branch (108:9): [True: 0, False: 12]
  ------------------
  109|      0|        return NULL;
  110|      0|    }
  111|     12|    Py_ssize_t end = PyUnicode_GET_LENGTH(path);
  ------------------
  |  |  299|     12|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  112|     12|    Py_ssize_t pos = PyUnicode_FindChar(path, SEP, 0, end, -1);
  ------------------
  |  |   29|     12|#  define SEP L'/'
  ------------------
  113|     12|    if (pos < 0) {
  ------------------
  |  Branch (113:9): [True: 0, False: 12]
  ------------------
  114|      0|        return Py_GetConstant(Py_CONSTANT_EMPTY_STR);
  ------------------
  |  |  597|      0|#define Py_CONSTANT_EMPTY_STR 7
  ------------------
  115|      0|    }
  116|     12|    return PyUnicode_Substring(path, 0, pos);
  117|     12|}
getpath.c:getpath_isdir:
  175|      8|{
  176|      8|    PyObject *r = NULL;
  177|      8|    PyObject *pathobj;
  178|      8|    const wchar_t *path;
  179|      8|    if (!PyArg_ParseTuple(args, "U", &pathobj)) {
  ------------------
  |  Branch (179:9): [True: 0, False: 8]
  ------------------
  180|      0|        return NULL;
  181|      0|    }
  182|      8|    path = PyUnicode_AsWideCharString(pathobj, NULL);
  183|      8|    if (path) {
  ------------------
  |  Branch (183:9): [True: 8, False: 0]
  ------------------
  184|       |#ifdef MS_WINDOWS
  185|       |        DWORD attr = GetFileAttributesW(path);
  186|       |        r = (attr != INVALID_FILE_ATTRIBUTES) &&
  187|       |            (attr & FILE_ATTRIBUTE_DIRECTORY) ? Py_True : Py_False;
  188|       |#else
  189|      8|        struct stat st;
  190|      8|        r = (_Py_wstat(path, &st) == 0) && S_ISDIR(st.st_mode) ? Py_True : Py_False;
  ------------------
  |  |   26|      8|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      r = (_Py_wstat(path, &st) == 0) && S_ISDIR(st.st_mode) ? Py_True : Py_False;
  ------------------
  |  |   25|      8|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (190:13): [True: 8, False: 0]
  |  Branch (190:44): [True: 8, False: 0]
  ------------------
  191|      8|#endif
  192|      8|        PyMem_Free((void *)path);
  193|      8|    }
  194|      8|    return Py_XNewRef(r);
  ------------------
  |  |  551|      8|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  195|      8|}
getpath.c:getpath_isfile:
  200|     10|{
  201|     10|    PyObject *pathobj;
  202|     10|    if (!PyArg_ParseTuple(args, "U", &pathobj)) {
  ------------------
  |  Branch (202:9): [True: 0, False: 10]
  ------------------
  203|      0|        return NULL;
  204|      0|    }
  205|       |
  206|     10|    int isfile;
  207|       |#ifdef MS_WINDOWS
  208|       |    wchar_t *path = PyUnicode_AsWideCharString(pathobj, NULL);
  209|       |    if (path == NULL) {
  210|       |        return NULL;
  211|       |    }
  212|       |
  213|       |    DWORD attr = GetFileAttributesW(path);
  214|       |    PyMem_Free(path);
  215|       |    isfile = ((attr != INVALID_FILE_ATTRIBUTES)
  216|       |               && !(attr & FILE_ATTRIBUTE_DIRECTORY));
  217|       |#else
  218|     10|    struct stat st;
  219|     10|    int res = _Py_stat(pathobj, &st);
  220|     10|    if (res == -2) {
  ------------------
  |  Branch (220:9): [True: 0, False: 10]
  ------------------
  221|      0|        return NULL;
  222|      0|    }
  223|     10|    isfile = ((res == 0) && S_ISREG(st.st_mode));
  ------------------
  |  Branch (223:15): [True: 2, False: 8]
  |  Branch (223:29): [True: 2, False: 0]
  ------------------
  224|     10|#endif
  225|     10|    return PyBool_FromLong(isfile);
  226|     10|}
getpath.c:getpath_joinpath:
  267|     24|{
  268|     24|    if (!PyTuple_Check(args)) {
  ------------------
  |  |   27|     24|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     24|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (268:9): [True: 0, False: 24]
  ------------------
  269|      0|        PyErr_SetString(PyExc_TypeError, "requires tuple of arguments");
  270|      0|        return NULL;
  271|      0|    }
  272|     24|    Py_ssize_t n = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|     24|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  273|     24|    if (n == 0) {
  ------------------
  |  Branch (273:9): [True: 0, False: 24]
  ------------------
  274|      0|        return Py_GetConstant(Py_CONSTANT_EMPTY_STR);
  ------------------
  |  |  597|      0|#define Py_CONSTANT_EMPTY_STR 7
  ------------------
  275|      0|    }
  276|       |    /* Convert all parts to wchar and accumulate max final length */
  277|     24|    wchar_t **parts = (wchar_t **)PyMem_Malloc(n * sizeof(wchar_t *));
  278|     24|    if (parts == NULL) {
  ------------------
  |  Branch (278:9): [True: 0, False: 24]
  ------------------
  279|      0|        PyErr_NoMemory();
  280|      0|        return NULL;
  281|      0|    }
  282|     24|    memset(parts, 0, n * sizeof(wchar_t *));
  283|     24|    Py_ssize_t cchFinal = 0;
  284|     24|    Py_ssize_t first = 0;
  285|       |
  286|     72|    for (Py_ssize_t i = 0; i < n; ++i) {
  ------------------
  |  Branch (286:28): [True: 48, False: 24]
  ------------------
  287|     48|        PyObject *s = PyTuple_GET_ITEM(args, i);
  ------------------
  |  |   29|     48|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     48|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (287:23): [True: 48, False: 0]
  ------------------
  288|      0|        Py_ssize_t cch;
  289|     48|        if (s == Py_None) {
  ------------------
  |  |  616|     48|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (289:13): [True: 0, False: 48]
  ------------------
  290|      0|            cch = 0;
  291|     48|        } else if (PyUnicode_Check(s)) {
  ------------------
  |  |  103|     48|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     48|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 48, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  292|     48|            parts[i] = PyUnicode_AsWideCharString(s, &cch);
  293|     48|            if (!parts[i]) {
  ------------------
  |  Branch (293:17): [True: 0, False: 48]
  ------------------
  294|      0|                cchFinal = -1;
  295|      0|                break;
  296|      0|            }
  297|     48|            if (_Py_isabs(parts[i])) {
  ------------------
  |  Branch (297:17): [True: 24, False: 24]
  ------------------
  298|     24|                first = i;
  299|     24|            }
  300|     48|        } else {
  301|      0|            PyErr_SetString(PyExc_TypeError, "all arguments to joinpath() must be str or None");
  302|      0|            cchFinal = -1;
  303|      0|            break;
  304|      0|        }
  305|     48|        cchFinal += cch + 1;
  306|     48|    }
  307|       |
  308|     24|    wchar_t *final = cchFinal > 0 ? (wchar_t *)PyMem_Malloc(cchFinal * sizeof(wchar_t)) : NULL;
  ------------------
  |  Branch (308:22): [True: 24, False: 0]
  ------------------
  309|     24|    if (!final) {
  ------------------
  |  Branch (309:9): [True: 0, False: 24]
  ------------------
  310|      0|        for (Py_ssize_t i = 0; i < n; ++i) {
  ------------------
  |  Branch (310:32): [True: 0, False: 0]
  ------------------
  311|      0|            PyMem_Free(parts[i]);
  312|      0|        }
  313|      0|        PyMem_Free(parts);
  314|      0|        if (cchFinal) {
  ------------------
  |  Branch (314:13): [True: 0, False: 0]
  ------------------
  315|      0|            PyErr_NoMemory();
  316|      0|            return NULL;
  317|      0|        }
  318|      0|        return Py_GetConstant(Py_CONSTANT_EMPTY_STR);
  ------------------
  |  |  597|      0|#define Py_CONSTANT_EMPTY_STR 7
  ------------------
  319|      0|    }
  320|       |
  321|     24|    final[0] = '\0';
  322|       |    /* Now join all the paths. The final result should be shorter than the buffer */
  323|     72|    for (Py_ssize_t i = 0; i < n; ++i) {
  ------------------
  |  Branch (323:28): [True: 48, False: 24]
  ------------------
  324|     48|        if (!parts[i]) {
  ------------------
  |  Branch (324:13): [True: 0, False: 48]
  ------------------
  325|      0|            continue;
  326|      0|        }
  327|     48|        if (i >= first && final) {
  ------------------
  |  Branch (327:13): [True: 48, False: 0]
  |  Branch (327:27): [True: 48, False: 0]
  ------------------
  328|     48|            if (!final[0]) {
  ------------------
  |  Branch (328:17): [True: 24, False: 24]
  ------------------
  329|       |                /* final is definitely long enough to fit any individual part */
  330|     24|                wcscpy(final, parts[i]);
  331|     24|            } else if (_Py_add_relfile(final, parts[i], cchFinal) < 0) {
  ------------------
  |  Branch (331:24): [True: 0, False: 24]
  ------------------
  332|       |                /* if we fail, keep iterating to free memory, but stop adding parts */
  333|      0|                PyMem_Free(final);
  334|      0|                final = NULL;
  335|      0|            }
  336|     48|        }
  337|     48|        PyMem_Free(parts[i]);
  338|     48|    }
  339|     24|    PyMem_Free(parts);
  340|     24|    if (!final) {
  ------------------
  |  Branch (340:9): [True: 0, False: 24]
  ------------------
  341|      0|        PyErr_SetString(PyExc_SystemError, "failed to join paths");
  342|      0|        return NULL;
  343|      0|    }
  344|     24|    PyObject *r = PyUnicode_FromWideChar(_Py_normpath(final, -1), -1);
  345|     24|    PyMem_Free(final);
  346|     24|    return r;
  347|     24|}
getpath.c:getpath_readlines:
  352|     10|{
  353|     10|    PyObject *pathobj;
  354|     10|    if (!PyArg_ParseTuple(args, "U", &pathobj)) {
  ------------------
  |  Branch (354:9): [True: 0, False: 10]
  ------------------
  355|      0|        return NULL;
  356|      0|    }
  357|     10|    FILE *fp = Py_fopen(pathobj, "rb");
  358|     10|    if (!fp) {
  ------------------
  |  Branch (358:9): [True: 10, False: 0]
  ------------------
  359|     10|        return NULL;
  360|     10|    }
  361|       |
  362|      0|    PyObject *r = PyList_New(0);
  363|      0|    if (!r) {
  ------------------
  |  Branch (363:9): [True: 0, False: 0]
  ------------------
  364|      0|        fclose(fp);
  365|      0|        return NULL;
  366|      0|    }
  367|      0|    const size_t MAX_FILE = 32 * 1024;
  368|      0|    char *buffer = (char *)PyMem_Malloc(MAX_FILE);
  369|      0|    if (!buffer) {
  ------------------
  |  Branch (369:9): [True: 0, False: 0]
  ------------------
  370|      0|        Py_DECREF(r);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  371|      0|        fclose(fp);
  372|      0|        PyErr_NoMemory();
  373|      0|        return NULL;
  374|      0|    }
  375|       |
  376|      0|    size_t cb = fread(buffer, 1, MAX_FILE, fp);
  377|      0|    fclose(fp);
  378|      0|    if (!cb) {
  ------------------
  |  Branch (378:9): [True: 0, False: 0]
  ------------------
  379|      0|        return r;
  380|      0|    }
  381|      0|    if (cb >= MAX_FILE) {
  ------------------
  |  Branch (381:9): [True: 0, False: 0]
  ------------------
  382|      0|        Py_DECREF(r);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  383|      0|        PyErr_SetString(PyExc_MemoryError,
  384|      0|            "cannot read file larger than 32KB during initialization");
  385|      0|        return NULL;
  386|      0|    }
  387|      0|    buffer[cb] = '\0';
  388|       |
  389|      0|    size_t len;
  390|      0|    wchar_t *wbuffer = _Py_DecodeUTF8_surrogateescape(buffer, cb, &len);
  391|      0|    PyMem_Free((void *)buffer);
  392|      0|    if (!wbuffer) {
  ------------------
  |  Branch (392:9): [True: 0, False: 0]
  ------------------
  393|      0|        Py_DECREF(r);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  394|      0|        PyErr_NoMemory();
  395|      0|        return NULL;
  396|      0|    }
  397|       |
  398|      0|    wchar_t *p1 = wbuffer;
  399|      0|    wchar_t *p2 = p1;
  400|      0|    while ((p2 = wcschr(p1, L'\n')) != NULL) {
  ------------------
  |  Branch (400:12): [True: 0, False: 0]
  ------------------
  401|      0|        Py_ssize_t cb = p2 - p1;
  402|      0|        while (cb >= 0 && (p1[cb] == L'\n' || p1[cb] == L'\r')) {
  ------------------
  |  Branch (402:16): [True: 0, False: 0]
  |  Branch (402:28): [True: 0, False: 0]
  |  Branch (402:47): [True: 0, False: 0]
  ------------------
  403|      0|            --cb;
  404|      0|        }
  405|      0|        PyObject *u = PyUnicode_FromWideChar(p1, cb >= 0 ? cb + 1 : 0);
  ------------------
  |  Branch (405:50): [True: 0, False: 0]
  ------------------
  406|      0|        if (!u || PyList_Append(r, u) < 0) {
  ------------------
  |  Branch (406:13): [True: 0, False: 0]
  |  Branch (406:19): [True: 0, False: 0]
  ------------------
  407|      0|            Py_XDECREF(u);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  408|      0|            Py_CLEAR(r);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  409|      0|            break;
  410|      0|        }
  411|      0|        Py_DECREF(u);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  412|      0|        p1 = p2 + 1;
  413|      0|    }
  414|      0|    if (r && p1 && *p1) {
  ------------------
  |  Branch (414:9): [True: 0, False: 0]
  |  Branch (414:14): [True: 0, False: 0]
  |  Branch (414:20): [True: 0, False: 0]
  ------------------
  415|      0|        PyObject *u = PyUnicode_FromWideChar(p1, -1);
  416|      0|        if (!u || PyList_Append(r, u) < 0) {
  ------------------
  |  Branch (416:13): [True: 0, False: 0]
  |  Branch (416:19): [True: 0, False: 0]
  ------------------
  417|      0|            Py_CLEAR(r);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  418|      0|        }
  419|      0|        Py_XDECREF(u);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  420|      0|    }
  421|      0|    PyMem_RawFree(wbuffer);
  422|      0|    return r;
  423|      0|}
getpath.c:getpath_realpath:
  428|      2|{
  429|      2|    PyObject *pathobj;
  430|      2|    if (!PyArg_ParseTuple(args, "U", &pathobj)) {
  ------------------
  |  Branch (430:9): [True: 0, False: 2]
  ------------------
  431|      0|        return NULL;
  432|      0|    }
  433|      2|#if defined(HAVE_READLINK)
  434|       |    /* This readlink calculation only resolves a symlinked file, and
  435|       |       does not resolve any path segments. This is consistent with
  436|       |       prior releases, however, the realpath implementation below is
  437|       |       potentially correct in more cases. */
  438|      2|    PyObject *r = NULL;
  439|      2|    int nlink = 0;
  440|      2|    wchar_t *path = PyUnicode_AsWideCharString(pathobj, NULL);
  441|      2|    if (!path) {
  ------------------
  |  Branch (441:9): [True: 0, False: 2]
  ------------------
  442|      0|        goto done;
  443|      0|    }
  444|      2|    wchar_t *path2 = _PyMem_RawWcsdup(path);
  445|      2|    PyMem_Free((void *)path);
  446|      2|    path = path2;
  447|      2|    while (path) {
  ------------------
  |  Branch (447:12): [True: 2, False: 0]
  ------------------
  448|      2|        wchar_t resolved[MAXPATHLEN + 1];
  449|      2|        int linklen = _Py_wreadlink(path, resolved, Py_ARRAY_LENGTH(resolved));
  ------------------
  |  |  221|      2|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  450|      2|        if (linklen == -1) {
  ------------------
  |  Branch (450:13): [True: 2, False: 0]
  ------------------
  451|      2|            r = PyUnicode_FromWideChar(path, -1);
  452|      2|            break;
  453|      2|        }
  454|      0|        if (_Py_isabs(resolved)) {
  ------------------
  |  Branch (454:13): [True: 0, False: 0]
  ------------------
  455|      0|            PyMem_RawFree((void *)path);
  456|      0|            path = _PyMem_RawWcsdup(resolved);
  457|      0|        } else {
  458|      0|            wchar_t *s = wcsrchr(path, SEP);
  ------------------
  |  |   29|      0|#  define SEP L'/'
  ------------------
  459|      0|            if (s) {
  ------------------
  |  Branch (459:17): [True: 0, False: 0]
  ------------------
  460|      0|                *s = L'\0';
  461|      0|            }
  462|      0|            path2 = _Py_join_relfile(path, resolved);
  463|      0|            if (path2) {
  ------------------
  |  Branch (463:17): [True: 0, False: 0]
  ------------------
  464|      0|                path2 = _Py_normpath(path2, -1);
  465|      0|            }
  466|      0|            PyMem_RawFree((void *)path);
  467|      0|            path = path2;
  468|      0|        }
  469|      0|        nlink++;
  470|       |        /* 40 is the Linux kernel 4.2 limit */
  471|      0|        if (nlink >= 40) {
  ------------------
  |  Branch (471:13): [True: 0, False: 0]
  ------------------
  472|      0|            PyErr_SetString(PyExc_OSError, "maximum number of symbolic links reached");
  473|      0|            break;
  474|      0|        }
  475|      0|    }
  476|      2|    if (!path) {
  ------------------
  |  Branch (476:9): [True: 0, False: 2]
  ------------------
  477|      0|        PyErr_NoMemory();
  478|      0|    }
  479|      2|done:
  480|      2|    PyMem_RawFree((void *)path);
  481|      2|    return r;
  482|       |
  483|       |#elif defined(HAVE_REALPATH)
  484|       |    PyObject *r = NULL;
  485|       |    struct stat st;
  486|       |    const char *narrow = NULL;
  487|       |    wchar_t *path = PyUnicode_AsWideCharString(pathobj, NULL);
  488|       |    if (!path) {
  489|       |        goto done;
  490|       |    }
  491|       |    narrow = Py_EncodeLocale(path, NULL);
  492|       |    if (!narrow) {
  493|       |        PyErr_NoMemory();
  494|       |        goto done;
  495|       |    }
  496|       |    if (lstat(narrow, &st)) {
  497|       |        PyErr_SetFromErrno(PyExc_OSError);
  498|       |        goto done;
  499|       |    }
  500|       |    if (!S_ISLNK(st.st_mode)) {
  501|       |        r = Py_NewRef(pathobj);
  502|       |        goto done;
  503|       |    }
  504|       |    wchar_t resolved[MAXPATHLEN+1];
  505|       |    if (_Py_wrealpath(path, resolved, MAXPATHLEN) == NULL) {
  506|       |        PyErr_SetFromErrno(PyExc_OSError);
  507|       |    } else {
  508|       |        r = PyUnicode_FromWideChar(resolved, -1);
  509|       |    }
  510|       |done:
  511|       |    PyMem_Free((void *)path);
  512|       |    PyMem_Free((void *)narrow);
  513|       |    return r;
  514|       |#elif defined(MS_WINDOWS)
  515|       |    HANDLE hFile;
  516|       |    wchar_t resolved[MAXPATHLEN+1];
  517|       |    int len = 0, err;
  518|       |    Py_ssize_t pathlen;
  519|       |    PyObject *result;
  520|       |
  521|       |    wchar_t *path = PyUnicode_AsWideCharString(pathobj, &pathlen);
  522|       |    if (!path) {
  523|       |        return NULL;
  524|       |    }
  525|       |    if (wcslen(path) != pathlen) {
  526|       |        PyErr_SetString(PyExc_ValueError, "path contains embedded nulls");
  527|       |        return NULL;
  528|       |    }
  529|       |
  530|       |    Py_BEGIN_ALLOW_THREADS
  531|       |    hFile = CreateFileW(path, 0, 0, NULL, OPEN_EXISTING, FILE_FLAG_BACKUP_SEMANTICS, NULL);
  532|       |    if (hFile != INVALID_HANDLE_VALUE) {
  533|       |        len = GetFinalPathNameByHandleW(hFile, resolved, MAXPATHLEN, VOLUME_NAME_DOS);
  534|       |        err = len ? 0 : GetLastError();
  535|       |        CloseHandle(hFile);
  536|       |    } else {
  537|       |        err = GetLastError();
  538|       |    }
  539|       |    Py_END_ALLOW_THREADS
  540|       |
  541|       |    if (err) {
  542|       |        PyErr_SetFromWindowsErr(err);
  543|       |        result = NULL;
  544|       |    } else if (len <= MAXPATHLEN) {
  545|       |        const wchar_t *p = resolved;
  546|       |        if (0 == wcsncmp(p, L"\\\\?\\", 4)) {
  547|       |            if (GetFileAttributesW(&p[4]) != INVALID_FILE_ATTRIBUTES) {
  548|       |                p += 4;
  549|       |                len -= 4;
  550|       |            }
  551|       |        }
  552|       |        if (CompareStringOrdinal(path, (int)pathlen, p, len, TRUE) == CSTR_EQUAL) {
  553|       |            result = Py_NewRef(pathobj);
  554|       |        } else {
  555|       |            result = PyUnicode_FromWideChar(p, len);
  556|       |        }
  557|       |    } else {
  558|       |        result = Py_NewRef(pathobj);
  559|       |    }
  560|       |    PyMem_Free(path);
  561|       |    return result;
  562|       |#endif
  563|       |
  564|      0|    return Py_NewRef(pathobj);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  565|      2|}

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

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

PyErr_CheckSignals:
 1775|    456|{
 1776|    456|    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|    456|    uintptr_t breaker = _Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker);
 1785|    456|    if (breaker & _PY_GC_SCHEDULED_BIT) {
  ------------------
  |  |  349|    456|#define _PY_GC_SCHEDULED_BIT (1U << 4)
  ------------------
  |  Branch (1785:9): [True: 0, False: 456]
  ------------------
 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|    456|    if (breaker & _PY_ASYNC_EXCEPTION_BIT) {
  ------------------
  |  |  348|    456|#define _PY_ASYNC_EXCEPTION_BIT (1U << 3)
  ------------------
  |  Branch (1789:9): [True: 0, False: 456]
  ------------------
 1790|      0|        if (_PyEval_RaiseAsyncExc(tstate) < 0) {
  ------------------
  |  Branch (1790:13): [True: 0, False: 0]
  ------------------
 1791|      0|            return -1;
 1792|      0|        }
 1793|      0|    }
 1794|       |
 1795|    456|#if defined(Py_REMOTE_DEBUG) && defined(Py_SUPPORTS_REMOTE_DEBUG)
 1796|    456|    _PyRunRemoteDebugger(tstate);
 1797|    456|#endif
 1798|       |
 1799|    456|    if (_Py_ThreadCanHandleSignals(tstate->interp)) {
  ------------------
  |  Branch (1799:9): [True: 456, False: 0]
  ------------------
 1800|    456|        if (_PyErr_CheckSignalsTstate(tstate) < 0) {
  ------------------
  |  Branch (1800:13): [True: 0, False: 456]
  ------------------
 1801|      0|            return -1;
 1802|      0|        }
 1803|    456|    }
 1804|       |
 1805|    456|    return 0;
 1806|    456|}
_PyErr_CheckSignalsTstate:
 1812|    456|{
 1813|    456|    _Py_CHECK_EMSCRIPTEN_SIGNALS();
 1814|    456|    if (!_Py_atomic_load_int(&is_tripped)) {
  ------------------
  |  |  112|    456|#define is_tripped _PyRuntime.signals.is_tripped
  ------------------
  |  Branch (1814:9): [True: 456, False: 0]
  ------------------
 1815|    456|        return 0;
 1816|    456|    }
 1817|       |
 1818|       |    /*
 1819|       |     * The is_tripped variable is meant to speed up the calls to
 1820|       |     * PyErr_CheckSignals (both directly or via pending calls) when no
 1821|       |     * signal has arrived. This variable is set to 1 when a signal arrives
 1822|       |     * and it is set to 0 here, when we know some signals arrived. This way
 1823|       |     * we can run the registered handlers with no signals blocked.
 1824|       |     *
 1825|       |     * NOTE: with this approach we can have a situation where is_tripped is
 1826|       |     *       1 but we have no more signals to handle (Handlers[i].tripped
 1827|       |     *       is 0 for every signal i). This won't do us any harm (except
 1828|       |     *       we're gonna spent some cycles for nothing). This happens when
 1829|       |     *       we receive a signal i after we zero is_tripped and before we
 1830|       |     *       check Handlers[i].tripped.
 1831|       |     */
 1832|      0|    _Py_atomic_store_int(&is_tripped, 0);
  ------------------
  |  |  112|      0|#define is_tripped _PyRuntime.signals.is_tripped
  ------------------
 1833|       |
 1834|      0|    _PyInterpreterFrame *frame = _PyThreadState_GetFrame(tstate);
 1835|      0|    signal_state_t *state = &signal_global_state;
  ------------------
  |  |  116|      0|#define signal_global_state _PyRuntime.signals
  ------------------
 1836|      0|    for (int i = 1; i < Py_NSIG; i++) {
  ------------------
  |  |   26|      0|#  define Py_NSIG NSIG
  ------------------
  |  Branch (1836:21): [True: 0, False: 0]
  ------------------
 1837|      0|        if (!_Py_atomic_load_int_relaxed(&Handlers[i].tripped)) {
  ------------------
  |  |  110|      0|#define Handlers _PyRuntime.signals.handlers
  ------------------
  |  Branch (1837:13): [True: 0, False: 0]
  ------------------
 1838|      0|            continue;
 1839|      0|        }
 1840|      0|        _Py_atomic_store_int_relaxed(&Handlers[i].tripped, 0);
  ------------------
  |  |  110|      0|#define Handlers _PyRuntime.signals.handlers
  ------------------
 1841|       |
 1842|       |        /* Signal handlers can be modified while a signal is received,
 1843|       |         * and therefore the fact that trip_signal() or PyErr_SetInterrupt()
 1844|       |         * was called doesn't guarantee that there is still a Python
 1845|       |         * signal handler for it by the time PyErr_CheckSignals() is called
 1846|       |         * (see bpo-43406).
 1847|       |         */
 1848|      0|        PyObject *func = get_handler(i);
 1849|      0|        if (func == NULL || func == Py_None ||
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1849:13): [True: 0, False: 0]
  |  Branch (1849:29): [True: 0, False: 0]
  ------------------
 1850|      0|            compare_handler(func, state->ignore_handler) ||
  ------------------
  |  Branch (1850:13): [True: 0, False: 0]
  ------------------
 1851|      0|            compare_handler(func, state->default_handler)) {
  ------------------
  |  Branch (1851:13): [True: 0, False: 0]
  ------------------
 1852|       |            /* No Python signal handler due to aforementioned race condition.
 1853|       |             * We can't call raise() as it would break the assumption
 1854|       |             * that PyErr_SetInterrupt() only *simulates* an incoming
 1855|       |             * signal (i.e. it will never kill the process).
 1856|       |             * We also don't want to interrupt user code with a cryptic
 1857|       |             * asynchronous exception, so instead just write out an
 1858|       |             * unraisable error.
 1859|       |             */
 1860|      0|            PyErr_Format(PyExc_OSError,
 1861|      0|                         "Signal %i ignored due to race condition",
 1862|      0|                         i);
 1863|      0|            PyErr_FormatUnraisable("Exception ignored while "
 1864|      0|                                   "calling signal handler");
 1865|      0|            continue;
 1866|      0|        }
 1867|      0|        PyObject *arglist = NULL;
 1868|      0|        if (frame == NULL) {
  ------------------
  |  Branch (1868:13): [True: 0, False: 0]
  ------------------
 1869|      0|            arglist = Py_BuildValue("(iO)", i, Py_None);
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1870|      0|        }
 1871|      0|        else {
 1872|      0|            PyFrameObject *f = _PyFrame_GetFrameObject(frame);
 1873|      0|            if (f != NULL) {
  ------------------
  |  Branch (1873:17): [True: 0, False: 0]
  ------------------
 1874|      0|                arglist = Py_BuildValue("(iO)", i, f);
 1875|      0|            }
 1876|      0|        }
 1877|      0|        PyObject *result;
 1878|      0|        if (arglist) {
  ------------------
  |  Branch (1878:13): [True: 0, False: 0]
  ------------------
 1879|      0|            result = _PyObject_Call(tstate, func, arglist, NULL);
 1880|      0|            Py_DECREF(arglist);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1881|      0|        }
 1882|      0|        else {
 1883|      0|            result = NULL;
 1884|      0|        }
 1885|      0|        if (!result) {
  ------------------
  |  Branch (1885:13): [True: 0, False: 0]
  ------------------
 1886|       |            /* On error, re-schedule a call to _PyErr_CheckSignalsTstate() */
 1887|      0|            _Py_atomic_store_int(&is_tripped, 1);
  ------------------
  |  |  112|      0|#define is_tripped _PyRuntime.signals.is_tripped
  ------------------
 1888|      0|            return -1;
 1889|      0|        }
 1890|       |
 1891|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1892|      0|    }
 1893|       |
 1894|      0|    return 0;
 1895|      0|}
_PySignal_Init:
 1982|      2|{
 1983|      2|    signal_state_t *state = &signal_global_state;
  ------------------
  |  |  116|      2|#define signal_global_state _PyRuntime.signals
  ------------------
 1984|       |
 1985|      2|    state->default_handler = PyLong_FromVoidPtr((void *)SIG_DFL);
 1986|      2|    if (state->default_handler == NULL) {
  ------------------
  |  Branch (1986:9): [True: 0, False: 2]
  ------------------
 1987|      0|        return -1;
 1988|      0|    }
 1989|       |
 1990|      2|    state->ignore_handler = PyLong_FromVoidPtr((void *)SIG_IGN);
 1991|      2|    if (state->ignore_handler == NULL) {
  ------------------
  |  Branch (1991:9): [True: 0, False: 2]
  ------------------
 1992|      0|        return -1;
 1993|      0|    }
 1994|       |
 1995|       |#ifdef MS_WINDOWS
 1996|       |    /* Create manual-reset event, initially unset */
 1997|       |    state->sigint_event = (void *)CreateEvent(NULL, TRUE, FALSE, FALSE);
 1998|       |    if (state->sigint_event == NULL) {
 1999|       |        PyErr_SetFromWindowsErr(0);
 2000|       |        return -1;
 2001|       |    }
 2002|       |#endif
 2003|       |
 2004|    130|    for (int signum = 1; signum < Py_NSIG; signum++) {
  ------------------
  |  |   26|    130|#  define Py_NSIG NSIG
  ------------------
  |  Branch (2004:26): [True: 128, False: 2]
  ------------------
 2005|    128|        _Py_atomic_store_int_relaxed(&Handlers[signum].tripped, 0);
  ------------------
  |  |  110|    128|#define Handlers _PyRuntime.signals.handlers
  ------------------
 2006|    128|    }
 2007|       |
 2008|      2|    if (install_signal_handlers) {
  ------------------
  |  Branch (2008:9): [True: 0, False: 2]
  ------------------
 2009|      0|        if (signal_install_handlers() < 0) {
  ------------------
  |  Branch (2009:13): [True: 0, False: 0]
  ------------------
 2010|      0|            return -1;
 2011|      0|        }
 2012|      0|    }
 2013|       |
 2014|      2|    return 0;
 2015|      2|}

PyInit_time:
 2273|      2|{
 2274|      2|    return PyModuleDef_Init(&timemodule);
 2275|      2|}
timemodule.c:get_time_state:
   92|      6|{
   93|      6|    void *state = _PyModule_GetState(module);
   94|      6|    assert(state != NULL);
  ------------------
  |  Branch (94:5): [True: 6, False: 0]
  ------------------
   95|      6|    return (time_module_state *)state;
   96|      6|}
timemodule.c:init_timezone:
 1847|      2|{
 1848|      2|#define ADD_INT(NAME, VALUE) do {                       \
 1849|      2|    if (PyModule_AddIntConstant(m, NAME, VALUE) < 0) {  \
 1850|      2|        return -1;                                      \
 1851|      2|    }                                                   \
 1852|      2|} while (0)
 1853|       |
 1854|      2|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (1854:5): [True: 2, False: 0]
  ------------------
 1855|       |
 1856|       |    /* This code moved from PyInit_time wholesale to allow calling it from
 1857|       |    time_tzset. In the future, some parts of it can be moved back
 1858|       |    (for platforms that don't HAVE_WORKING_TZSET, when we know what they
 1859|       |    are), and the extraneous calls to tzset(3) should be removed.
 1860|       |    I haven't done this yet, as I don't want to change this code as
 1861|       |    little as possible when introducing the time.tzset and time.tzsetwall
 1862|       |    methods. This should simply be a method of doing the following once,
 1863|       |    at the top of this function and removing the call to tzset() from
 1864|       |    time_tzset():
 1865|       |
 1866|       |        #ifdef HAVE_TZSET
 1867|       |        tzset()
 1868|       |        #endif
 1869|       |
 1870|       |    And I'm lazy and hate C so nyer.
 1871|       |     */
 1872|       |#ifdef HAVE_DECL_TZNAME
 1873|       |    PyObject *otz0, *otz1;
 1874|       |#if !defined(MS_WINDOWS) || defined(MS_WINDOWS_DESKTOP) || defined(MS_WINDOWS_SYSTEM)
 1875|       |    tzset();
 1876|       |#endif
 1877|       |    ADD_INT("timezone", _Py_timezone);
 1878|       |#ifdef HAVE_ALTZONE
 1879|       |    ADD_INT("altzone", altzone);
 1880|       |#else
 1881|       |    ADD_INT("altzone", _Py_timezone-3600);
 1882|       |#endif
 1883|       |    ADD_INT("daylight", _Py_daylight);
 1884|       |#ifdef MS_WINDOWS
 1885|       |    TIME_ZONE_INFORMATION tzinfo = {0};
 1886|       |    GetTimeZoneInformation(&tzinfo);
 1887|       |    otz0 = PyUnicode_FromWideChar(tzinfo.StandardName, -1);
 1888|       |    if (otz0 == NULL) {
 1889|       |        return -1;
 1890|       |    }
 1891|       |    otz1 = PyUnicode_FromWideChar(tzinfo.DaylightName, -1);
 1892|       |    if (otz1 == NULL) {
 1893|       |        Py_DECREF(otz0);
 1894|       |        return -1;
 1895|       |    }
 1896|       |#else
 1897|       |    otz0 = PyUnicode_DecodeLocale(_Py_tzname[0], "surrogateescape");
 1898|       |    if (otz0 == NULL) {
 1899|       |        return -1;
 1900|       |    }
 1901|       |    otz1 = PyUnicode_DecodeLocale(_Py_tzname[1], "surrogateescape");
 1902|       |    if (otz1 == NULL) {
 1903|       |        Py_DECREF(otz0);
 1904|       |        return -1;
 1905|       |    }
 1906|       |#endif // MS_WINDOWS
 1907|       |    if (PyModule_Add(m, "tzname", Py_BuildValue("(NN)", otz0, otz1)) < 0) {
 1908|       |        return -1;
 1909|       |    }
 1910|       |#else // !HAVE_DECL_TZNAME
 1911|      2|    static const time_t YEAR = (365 * 24 + 6) * 3600;
 1912|      2|    time_t t;
 1913|      2|    struct tm p;
 1914|      2|    time_t janzone_t, julyzone_t;
 1915|      2|    char janname[10], julyname[10];
 1916|      2|    t = (time((time_t *)0) / YEAR) * YEAR;
 1917|      2|    _PyTime_localtime(t, &p);
 1918|      2|    get_zone(janname, 9, &p);
 1919|      2|    janzone_t = -get_gmtoff(t, &p);
 1920|      2|    janname[9] = '\0';
 1921|      2|    t += YEAR/2;
 1922|      2|    _PyTime_localtime(t, &p);
 1923|      2|    get_zone(julyname, 9, &p);
 1924|      2|    julyzone_t = -get_gmtoff(t, &p);
 1925|      2|    julyname[9] = '\0';
 1926|       |
 1927|       |    /* Sanity check, don't check for the validity of timezones.
 1928|       |       In practice, it should be more in range -12 hours .. +14 hours. */
 1929|      2|#define MAX_TIMEZONE (48 * 3600)
 1930|      2|    if (janzone_t < -MAX_TIMEZONE || janzone_t > MAX_TIMEZONE
  ------------------
  |  | 1929|      4|#define MAX_TIMEZONE (48 * 3600)
  ------------------
                  if (janzone_t < -MAX_TIMEZONE || janzone_t > MAX_TIMEZONE
  ------------------
  |  | 1929|      4|#define MAX_TIMEZONE (48 * 3600)
  ------------------
  |  Branch (1930:9): [True: 0, False: 2]
  |  Branch (1930:38): [True: 0, False: 2]
  ------------------
 1931|      2|        || julyzone_t < -MAX_TIMEZONE || julyzone_t > MAX_TIMEZONE)
  ------------------
  |  | 1929|      4|#define MAX_TIMEZONE (48 * 3600)
  ------------------
                      || julyzone_t < -MAX_TIMEZONE || julyzone_t > MAX_TIMEZONE)
  ------------------
  |  | 1929|      2|#define MAX_TIMEZONE (48 * 3600)
  ------------------
  |  Branch (1931:12): [True: 0, False: 2]
  |  Branch (1931:42): [True: 0, False: 2]
  ------------------
 1932|      0|    {
 1933|      0|        PyErr_SetString(PyExc_RuntimeError, "invalid GMT offset");
 1934|      0|        return -1;
 1935|      0|    }
 1936|      2|    int janzone = (int)janzone_t;
 1937|      2|    int julyzone = (int)julyzone_t;
 1938|       |
 1939|      2|    PyObject *tzname_obj;
 1940|      2|    if (janzone < julyzone) {
  ------------------
  |  Branch (1940:9): [True: 0, False: 2]
  ------------------
 1941|       |        /* DST is reversed in the southern hemisphere */
 1942|      0|        ADD_INT("timezone", julyzone);
  ------------------
  |  | 1848|      0|#define ADD_INT(NAME, VALUE) do {                       \
  |  | 1849|      0|    if (PyModule_AddIntConstant(m, NAME, VALUE) < 0) {  \
  |  |  ------------------
  |  |  |  Branch (1849:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 1850|      0|        return -1;                                      \
  |  | 1851|      0|    }                                                   \
  |  | 1852|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (1852:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1943|      0|        ADD_INT("altzone", janzone);
  ------------------
  |  | 1848|      0|#define ADD_INT(NAME, VALUE) do {                       \
  |  | 1849|      0|    if (PyModule_AddIntConstant(m, NAME, VALUE) < 0) {  \
  |  |  ------------------
  |  |  |  Branch (1849:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 1850|      0|        return -1;                                      \
  |  | 1851|      0|    }                                                   \
  |  | 1852|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (1852:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1944|      0|        ADD_INT("daylight", janzone != julyzone);
  ------------------
  |  | 1848|      0|#define ADD_INT(NAME, VALUE) do {                       \
  |  | 1849|      0|    if (PyModule_AddIntConstant(m, NAME, VALUE) < 0) {  \
  |  |  ------------------
  |  |  |  Branch (1849:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 1850|      0|        return -1;                                      \
  |  | 1851|      0|    }                                                   \
  |  | 1852|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (1852:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1945|      0|        tzname_obj = Py_BuildValue("(zz)", julyname, janname);
 1946|      2|    } else {
 1947|      2|        ADD_INT("timezone", janzone);
  ------------------
  |  | 1848|      2|#define ADD_INT(NAME, VALUE) do {                       \
  |  | 1849|      2|    if (PyModule_AddIntConstant(m, NAME, VALUE) < 0) {  \
  |  |  ------------------
  |  |  |  Branch (1849:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1850|      0|        return -1;                                      \
  |  | 1851|      0|    }                                                   \
  |  | 1852|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (1852:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1948|      2|        ADD_INT("altzone", julyzone);
  ------------------
  |  | 1848|      2|#define ADD_INT(NAME, VALUE) do {                       \
  |  | 1849|      2|    if (PyModule_AddIntConstant(m, NAME, VALUE) < 0) {  \
  |  |  ------------------
  |  |  |  Branch (1849:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1850|      0|        return -1;                                      \
  |  | 1851|      0|    }                                                   \
  |  | 1852|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (1852:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1949|      2|        ADD_INT("daylight", janzone != julyzone);
  ------------------
  |  | 1848|      2|#define ADD_INT(NAME, VALUE) do {                       \
  |  | 1849|      2|    if (PyModule_AddIntConstant(m, NAME, VALUE) < 0) {  \
  |  |  ------------------
  |  |  |  Branch (1849:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1850|      0|        return -1;                                      \
  |  | 1851|      0|    }                                                   \
  |  | 1852|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (1852:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1950|      2|        tzname_obj = Py_BuildValue("(zz)", janname, julyname);
 1951|      2|    }
 1952|      2|    if (PyModule_Add(m, "tzname", tzname_obj) < 0) {
  ------------------
  |  Branch (1952:9): [True: 0, False: 2]
  ------------------
 1953|      0|        return -1;
 1954|      0|    }
 1955|      2|#endif // !HAVE_DECL_TZNAME
 1956|      2|#undef ADD_INT
 1957|       |
 1958|      2|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (1958:9): [True: 0, False: 2]
  ------------------
 1959|      0|        return -1;
 1960|      0|    }
 1961|      2|    return 0;
 1962|      2|}
timemodule.c:get_zone:
 1825|      4|{
 1826|      4|#ifdef HAVE_STRUCT_TM_TM_ZONE
 1827|      4|    strncpy(zone, p->tm_zone ? p->tm_zone : "   ", n);
  ------------------
  |  Branch (1827:19): [True: 4, False: 0]
  ------------------
 1828|       |#else
 1829|       |    tzset();
 1830|       |    strftime(zone, n, "%Z", p);
 1831|       |#endif
 1832|      4|}
timemodule.c:get_gmtoff:
 1836|      4|{
 1837|      4|#ifdef HAVE_STRUCT_TM_TM_ZONE
 1838|      4|    return p->tm_gmtoff;
 1839|       |#else
 1840|       |    return timegm(p) - t;
 1841|       |#endif
 1842|      4|}
timemodule.c:time_exec:
 2043|      2|{
 2044|      2|    time_module_state *state = get_time_state(module);
 2045|       |#if defined(__APPLE__) && defined(HAVE_CLOCK_GETTIME)
 2046|       |    if (HAVE_CLOCK_GETTIME_RUNTIME) {
 2047|       |        /* pass: ^^^ cannot use '!' here */
 2048|       |    } else {
 2049|       |        PyObject* dct = PyModule_GetDict(module);
 2050|       |        if (dct == NULL) {
 2051|       |            return -1;
 2052|       |        }
 2053|       |
 2054|       |        if (PyDict_PopString(dct, "clock_gettime", NULL) < 0) {
 2055|       |            return -1;
 2056|       |        }
 2057|       |        if (PyDict_PopString(dct, "clock_gettime_ns", NULL) < 0) {
 2058|       |            return -1;
 2059|       |        }
 2060|       |        if (PyDict_PopString(dct, "clock_settime", NULL) < 0) {
 2061|       |            return -1;
 2062|       |        }
 2063|       |        if (PyDict_PopString(dct, "clock_settime_ns", NULL) < 0) {
 2064|       |            return -1;
 2065|       |        }
 2066|       |        if (PyDict_PopString(dct, "clock_getres", NULL) < 0) {
 2067|       |            return -1;
 2068|       |        }
 2069|       |    }
 2070|       |#endif
 2071|       |#if defined(__APPLE__) && defined(HAVE_THREAD_TIME)
 2072|       |    if (HAVE_CLOCK_GETTIME_RUNTIME) {
 2073|       |        /* pass: ^^^ cannot use '!' here */
 2074|       |    } else {
 2075|       |        PyObject* dct = PyModule_GetDict(module);
 2076|       |
 2077|       |        if (PyDict_PopString(dct, "thread_time", NULL) < 0) {
 2078|       |            return -1;
 2079|       |        }
 2080|       |        if (PyDict_PopString(dct, "thread_time_ns", NULL) < 0) {
 2081|       |            return -1;
 2082|       |        }
 2083|       |    }
 2084|       |#endif
 2085|       |    /* Set, or reset, module variables like time.timezone */
 2086|      2|    if (init_timezone(module) < 0) {
  ------------------
  |  Branch (2086:9): [True: 0, False: 2]
  ------------------
 2087|      0|        return -1;
 2088|      0|    }
 2089|       |
 2090|      2|#if defined(HAVE_CLOCK_GETTIME) || defined(HAVE_CLOCK_SETTIME) || defined(HAVE_CLOCK_GETRES)
 2091|      2|    if (HAVE_CLOCK_GETTIME_RUNTIME) {
  ------------------
  |  |   60|      2|#  define HAVE_CLOCK_GETTIME_RUNTIME 1
  |  |  ------------------
  |  |  |  Branch (60:38): [True: 2, Folded]
  |  |  ------------------
  ------------------
 2092|       |
 2093|      2|#ifdef CLOCK_REALTIME
 2094|      2|        if (PyModule_AddIntMacro(module, CLOCK_REALTIME) < 0) {
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  ------------------
  |  Branch (2094:13): [True: 0, False: 2]
  ------------------
 2095|      0|            return -1;
 2096|      0|        }
 2097|      2|#endif
 2098|      2|#ifdef CLOCK_MONOTONIC
 2099|      2|        if (PyModule_AddIntMacro(module, CLOCK_MONOTONIC) < 0) {
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  ------------------
  |  Branch (2099:13): [True: 0, False: 2]
  ------------------
 2100|      0|            return -1;
 2101|      0|        }
 2102|      2|#endif
 2103|      2|#ifdef CLOCK_MONOTONIC_RAW
 2104|      2|        if (PyModule_AddIntMacro(module, CLOCK_MONOTONIC_RAW) < 0) {
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  ------------------
  |  Branch (2104:13): [True: 0, False: 2]
  ------------------
 2105|      0|            return -1;
 2106|      0|        }
 2107|      2|#endif
 2108|       |#ifdef CLOCK_HIGHRES
 2109|       |        if (PyModule_AddIntMacro(module, CLOCK_HIGHRES) < 0) {
 2110|       |            return -1;
 2111|       |        }
 2112|       |#endif
 2113|      2|#ifdef CLOCK_PROCESS_CPUTIME_ID
 2114|      2|        if (PyModule_AddIntMacro(module, CLOCK_PROCESS_CPUTIME_ID) < 0) {
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  ------------------
  |  Branch (2114:13): [True: 0, False: 2]
  ------------------
 2115|      0|            return -1;
 2116|      0|        }
 2117|      2|#endif
 2118|      2|#ifdef CLOCK_THREAD_CPUTIME_ID
 2119|      2|        if (PyModule_AddIntMacro(module, CLOCK_THREAD_CPUTIME_ID) < 0) {
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  ------------------
  |  Branch (2119:13): [True: 0, False: 2]
  ------------------
 2120|      0|            return -1;
 2121|      0|        }
 2122|      2|#endif
 2123|       |#ifdef CLOCK_PROF
 2124|       |        if (PyModule_AddIntMacro(module, CLOCK_PROF) < 0) {
 2125|       |            return -1;
 2126|       |        }
 2127|       |#endif
 2128|      2|#ifdef CLOCK_BOOTTIME
 2129|      2|        if (PyModule_AddIntMacro(module, CLOCK_BOOTTIME) < 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_TAI
 2134|      2|        if (PyModule_AddIntMacro(module, CLOCK_TAI) < 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|       |#ifdef CLOCK_UPTIME
 2139|       |        if (PyModule_AddIntMacro(module, CLOCK_UPTIME) < 0) {
 2140|       |            return -1;
 2141|       |        }
 2142|       |#endif
 2143|       |#ifdef CLOCK_UPTIME_RAW
 2144|       |        if (PyModule_AddIntMacro(module, CLOCK_UPTIME_RAW) < 0) {
 2145|       |            return -1;
 2146|       |        }
 2147|       |#endif
 2148|       |#ifdef CLOCK_MONOTONIC_RAW_APPROX
 2149|       |        if (PyModule_AddIntMacro(module, CLOCK_MONOTONIC_RAW_APPROX) < 0) {
 2150|       |            return -1;
 2151|       |        }
 2152|       |#endif
 2153|       |#ifdef CLOCK_UPTIME_RAW_APPROX
 2154|       |        if (PyModule_AddIntMacro(module, CLOCK_UPTIME_RAW_APPROX) < 0) {
 2155|       |            return -1;
 2156|       |        }
 2157|       |#endif
 2158|      2|    }
 2159|       |
 2160|      2|#endif  /* defined(HAVE_CLOCK_GETTIME) || defined(HAVE_CLOCK_SETTIME) || defined(HAVE_CLOCK_GETRES) */
 2161|       |
 2162|      2|    if (PyModule_AddIntConstant(module, "_STRUCT_TM_ITEMS", 11)) {
  ------------------
  |  Branch (2162:9): [True: 0, False: 2]
  ------------------
 2163|      0|        return -1;
 2164|      0|    }
 2165|       |
 2166|       |    // struct_time type
 2167|      2|    state->struct_time_type = PyStructSequence_NewType(&struct_time_type_desc);
 2168|      2|    if (state->struct_time_type == NULL) {
  ------------------
  |  Branch (2168:9): [True: 0, False: 2]
  ------------------
 2169|      0|        return -1;
 2170|      0|    }
 2171|      2|    if (PyModule_AddType(module, state->struct_time_type)) {
  ------------------
  |  Branch (2171:9): [True: 0, False: 2]
  ------------------
 2172|      0|        return -1;
 2173|      0|    }
 2174|       |
 2175|       |#if defined(__linux__) && !defined(__GLIBC__)
 2176|       |    struct tm tm;
 2177|       |    const time_t zero = 0;
 2178|       |    if (gmtime_r(&zero, &tm) != NULL)
 2179|       |        utc_string = tm.tm_zone;
 2180|       |#endif
 2181|       |
 2182|       |#if defined(MS_WINDOWS)
 2183|       |    if (timer_flags == (DWORD)-1) {
 2184|       |        DWORD test_flags = CREATE_WAITABLE_TIMER_HIGH_RESOLUTION;
 2185|       |        HANDLE timer = CreateWaitableTimerExW(NULL, NULL, test_flags,
 2186|       |                                              TIMER_ALL_ACCESS);
 2187|       |        if (timer == NULL) {
 2188|       |            // CREATE_WAITABLE_TIMER_HIGH_RESOLUTION is not supported.
 2189|       |            timer_flags = 0;
 2190|       |        }
 2191|       |        else {
 2192|       |            // CREATE_WAITABLE_TIMER_HIGH_RESOLUTION is supported.
 2193|       |            timer_flags = CREATE_WAITABLE_TIMER_HIGH_RESOLUTION;
 2194|       |            CloseHandle(timer);
 2195|       |        }
 2196|       |    }
 2197|       |#endif
 2198|       |
 2199|       |// gh-115714: Don't use times() on WASI.
 2200|      2|#if defined(HAVE_TIMES) && !defined(__wasi__)
 2201|      2|    long ticks_per_second;
 2202|      2|    if (_Py_GetTicksPerSecond(&ticks_per_second) < 0) {
  ------------------
  |  Branch (2202:9): [True: 0, False: 2]
  ------------------
 2203|      0|        PyErr_SetString(PyExc_RuntimeError,
 2204|      0|                        "cannot read ticks_per_second");
 2205|      0|        return -1;
 2206|      0|    }
 2207|      2|    if (_PyTimeFraction_Set(&state->times_base, SEC_TO_NS,
  ------------------
  |  |   64|      2|#define SEC_TO_NS (1000 * 1000 * 1000)
  ------------------
  |  Branch (2207:9): [True: 0, False: 2]
  ------------------
 2208|      2|                            ticks_per_second) < 0) {
 2209|      0|        PyErr_Format(PyExc_OverflowError, "ticks_per_second is too large");
 2210|      0|        return -1;
 2211|      0|    }
 2212|      2|#endif
 2213|       |
 2214|      2|#ifdef HAVE_CLOCK
 2215|      2|    if (_PyTimeFraction_Set(&state->clock_base, SEC_TO_NS,
  ------------------
  |  |   64|      2|#define SEC_TO_NS (1000 * 1000 * 1000)
  ------------------
  |  Branch (2215:9): [True: 0, False: 2]
  ------------------
 2216|      2|                            CLOCKS_PER_SEC) < 0) {
 2217|      0|        PyErr_Format(PyExc_OverflowError, "CLOCKS_PER_SEC is too large");
 2218|      0|        return -1;
 2219|      0|    }
 2220|      2|#endif
 2221|       |
 2222|      2|    return 0;
 2223|      2|}
timemodule.c:time_module_traverse:
 2228|      4|{
 2229|      4|    time_module_state *state = get_time_state(module);
 2230|      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]
  |  |  ------------------
  ------------------
 2231|      4|    return 0;
 2232|      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);
  ------------------
  |  |  550|      4|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   55|      4|}
PyObject_Size:
   59|  1.06k|{
   60|  1.06k|    if (o == NULL) {
  ------------------
  |  Branch (60:9): [True: 0, False: 1.06k]
  ------------------
   61|      0|        null_error();
   62|      0|        return -1;
   63|      0|    }
   64|       |
   65|  1.06k|    PySequenceMethods *m = Py_TYPE(o)->tp_as_sequence;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   66|  1.06k|    if (m && m->sq_length) {
  ------------------
  |  Branch (66:9): [True: 1.06k, False: 0]
  |  Branch (66:14): [True: 1.05k, False: 10]
  ------------------
   67|  1.05k|        Py_ssize_t len = m->sq_length(o);
   68|  1.05k|        assert(_Py_CheckSlotResult(o, "__len__", len >= 0));
  ------------------
  |  Branch (68:9): [True: 1.05k, False: 0]
  ------------------
   69|  1.05k|        return len;
   70|  1.05k|    }
   71|       |
   72|     10|    return PyMapping_Size(o);
   73|  1.06k|}
_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__));
  ------------------
  |  |  936|    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.33k|{
  158|  1.33k|    if (o == NULL || key == NULL) {
  ------------------
  |  Branch (158:9): [True: 0, False: 1.33k]
  |  Branch (158:22): [True: 0, False: 1.33k]
  ------------------
  159|      0|        return null_error();
  160|      0|    }
  161|       |
  162|  1.33k|    PyMappingMethods *m = Py_TYPE(o)->tp_as_mapping;
  ------------------
  |  |  213|  1.33k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.33k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.33k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  163|  1.33k|    if (m && m->mp_subscript) {
  ------------------
  |  Branch (163:9): [True: 1.33k, False: 5]
  |  Branch (163:14): [True: 1.33k, False: 0]
  ------------------
  164|  1.33k|        PyObject *item = m->mp_subscript(o, key);
  165|  1.33k|        assert(_Py_CheckSlotResult(o, "__getitem__", item != NULL));
  ------------------
  |  Branch (165:9): [True: 1.33k, False: 0]
  ------------------
  166|  1.33k|        return item;
  167|  1.33k|    }
  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) {
  ------------------
  |  |  936|      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);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) 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.17k|{
  212|  6.17k|    if (PyAnyDict_CheckExact(obj)) {
  ------------------
  |  |   41|  6.17k|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   19|  6.17k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|  12.3k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  6.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  6.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 6.14k, 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.14k|        return PyDict_GetItemRef(obj, key, result);
  214|  6.14k|    }
  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|    241|{
  231|    241|    PyObject* result;
  232|    241|    *err = PyMapping_GetOptionalItem(obj, key, &result);
  233|    241|    return result;
  234|    241|}
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|    105|{
  442|    105|    if (flags != PyBUF_SIMPLE) {  /* fast path */
  ------------------
  |  |  108|    105|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (442:9): [True: 27, False: 78]
  ------------------
  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|    105|    PyBufferProcs *pb = Py_TYPE(obj)->tp_as_buffer;
  ------------------
  |  |  213|    105|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    105|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    105|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  449|       |
  450|    105|    if (pb == NULL || pb->bf_getbuffer == NULL) {
  ------------------
  |  Branch (450:9): [True: 0, False: 105]
  |  Branch (450:23): [True: 0, False: 105]
  ------------------
  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|    105|    int res = (*pb->bf_getbuffer)(obj, view, flags);
  457|    105|    assert(_Py_CheckSlotResult(obj, "getbuffer", res >= 0));
  ------------------
  |  Branch (457:5): [True: 105, False: 0]
  ------------------
  458|    105|    return res;
  459|    105|}
PyBuffer_FillInfo:
  777|     78|{
  778|     78|    if (view == NULL) {
  ------------------
  |  Branch (778:9): [True: 0, False: 78]
  ------------------
  779|      0|        PyErr_SetString(PyExc_BufferError,
  780|      0|                        "PyBuffer_FillInfo: view==NULL argument is obsolete");
  781|      0|        return -1;
  782|      0|    }
  783|       |
  784|     78|    if (flags != PyBUF_SIMPLE) {  /* fast path */
  ------------------
  |  |  108|     78|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (784:9): [True: 49, False: 29]
  ------------------
  785|     49|        if (flags == PyBUF_READ || flags == PyBUF_WRITE) {
  ------------------
  |  |  137|     98|#define PyBUF_READ  0x100
  ------------------
                      if (flags == PyBUF_READ || flags == PyBUF_WRITE) {
  ------------------
  |  |  138|     49|#define PyBUF_WRITE 0x200
  ------------------
  |  Branch (785:13): [True: 0, False: 49]
  |  Branch (785:36): [True: 0, False: 49]
  ------------------
  786|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  787|      0|            return -1;
  788|      0|        }
  789|     49|        if (((flags & PyBUF_WRITABLE) == PyBUF_WRITABLE) &&
  ------------------
  |  |  109|     49|#define PyBUF_WRITABLE 0x0001
  ------------------
                      if (((flags & PyBUF_WRITABLE) == PyBUF_WRITABLE) &&
  ------------------
  |  |  109|     49|#define PyBUF_WRITABLE 0x0001
  ------------------
  |  Branch (789:13): [True: 0, False: 49]
  ------------------
  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|     49|    }
  796|       |
  797|     78|    view->obj = Py_XNewRef(obj);
  ------------------
  |  |  551|     78|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     78|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     78|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  798|     78|    view->buf = buf;
  799|     78|    view->len = len;
  800|     78|    view->readonly = readonly;
  801|     78|    view->itemsize = 1;
  802|     78|    view->format = NULL;
  803|     78|    if ((flags & PyBUF_FORMAT) == PyBUF_FORMAT)
  ------------------
  |  |  116|     78|#define PyBUF_FORMAT 0x0004
  ------------------
                  if ((flags & PyBUF_FORMAT) == PyBUF_FORMAT)
  ------------------
  |  |  116|     78|#define PyBUF_FORMAT 0x0004
  ------------------
  |  Branch (803:9): [True: 27, False: 51]
  ------------------
  804|     27|        view->format = "B";
  805|     78|    view->ndim = 1;
  806|     78|    view->shape = NULL;
  807|     78|    if ((flags & PyBUF_ND) == PyBUF_ND)
  ------------------
  |  |  117|     78|#define PyBUF_ND 0x0008
  ------------------
                  if ((flags & PyBUF_ND) == PyBUF_ND)
  ------------------
  |  |  117|     78|#define PyBUF_ND 0x0008
  ------------------
  |  Branch (807:9): [True: 49, False: 29]
  ------------------
  808|     49|        view->shape = &(view->len);
  809|     78|    view->strides = NULL;
  810|     78|    if ((flags & PyBUF_STRIDES) == PyBUF_STRIDES)
  ------------------
  |  |  118|     78|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  ------------------
  |  |  |  |  117|     78|#define PyBUF_ND 0x0008
  |  |  ------------------
  ------------------
                  if ((flags & PyBUF_STRIDES) == PyBUF_STRIDES)
  ------------------
  |  |  118|     78|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  ------------------
  |  |  |  |  117|     78|#define PyBUF_ND 0x0008
  |  |  ------------------
  ------------------
  |  Branch (810:9): [True: 27, False: 51]
  ------------------
  811|     27|        view->strides = &(view->itemsize);
  812|     78|    view->suboffsets = NULL;
  813|       |    view->internal = NULL;
  814|     78|    return 0;
  815|     78|}
PyBuffer_Release:
  819|    127|{
  820|    127|    PyObject *obj = view->obj;
  821|    127|    PyBufferProcs *pb;
  822|    127|    if (obj == NULL)
  ------------------
  |  Branch (822:9): [True: 22, False: 105]
  ------------------
  823|     22|        return;
  824|    105|    pb = Py_TYPE(obj)->tp_as_buffer;
  ------------------
  |  |  213|    105|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    105|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    105|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  825|    105|    if (pb && pb->bf_releasebuffer) {
  ------------------
  |  Branch (825:9): [True: 105, False: 0]
  |  Branch (825:15): [True: 49, False: 56]
  ------------------
  826|     49|        pb->bf_releasebuffer(obj, view);
  827|     49|    }
  828|    105|    view->obj = NULL;
  829|    105|    Py_DECREF(obj);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  830|    105|}
PyObject_Format:
  855|     91|{
  856|     91|    PyObject *meth;
  857|     91|    PyObject *empty = NULL;
  858|     91|    PyObject *result = NULL;
  859|       |
  860|     91|    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: 91]
  |  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|     91|    if (format_spec == NULL || PyUnicode_GET_LENGTH(format_spec) == 0) {
  ------------------
  |  |  299|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (868:9): [True: 91, False: 0]
  |  Branch (868:32): [True: 0, False: 0]
  ------------------
  869|     91|        if (PyUnicode_CheckExact(obj)) {
  ------------------
  |  |  104|     91|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|     91|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     91|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     91|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 91]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  870|      0|            return Py_NewRef(obj);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  871|      0|        }
  872|     91|        if (PyLong_CheckExact(obj)) {
  ------------------
  |  |   14|     91|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|     91|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     91|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     91|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 69, False: 22]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  873|     69|            return PyObject_Str(obj);
  874|     69|        }
  875|     91|    }
  876|       |
  877|       |    /* If no format_spec is provided, use an empty string */
  878|     22|    if (format_spec == NULL) {
  ------------------
  |  Branch (878:9): [True: 22, False: 0]
  ------------------
  879|     22|        empty = Py_GetConstant(Py_CONSTANT_EMPTY_STR);
  ------------------
  |  |  597|     22|#define Py_CONSTANT_EMPTY_STR 7
  ------------------
  880|     22|        format_spec = empty;
  881|     22|    }
  882|       |
  883|       |    /* Find the (unbound!) __format__ method */
  884|     22|    meth = _PyObject_LookupSpecial(obj, &_Py_ID(__format__));
  ------------------
  |  |  936|     22|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     22|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     22|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  885|     22|    if (meth == NULL) {
  ------------------
  |  Branch (885:9): [True: 0, False: 22]
  ------------------
  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|     22|    result = PyObject_CallOneArg(meth, format_spec);
  897|     22|    Py_DECREF(meth);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  898|       |
  899|     22|    if (result && !PyUnicode_Check(result)) {
  ------------------
  |  |  103|     22|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     22|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (899:9): [True: 22, False: 0]
  |  Branch (899:19): [True: 0, False: 22]
  ------------------
  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);
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  904|      0|        goto done;
  905|      0|    }
  906|       |
  907|     22|done:
  908|     22|    Py_XDECREF(empty);
  ------------------
  |  |  524|     22|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  909|     22|    return result;
  910|     22|}
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|    107|{
 1141|    107|    PyObject *result = BINARY_OP1(v, w, NB_SLOT(nb_add), "+");
  ------------------
  |  |  996|    107|#  define BINARY_OP1(v, w, op_slot, op_name) binary_op1(v, w, op_slot, op_name)
  ------------------
 1142|    107|    if (result != Py_NotImplemented) {
  ------------------
  |  |  640|    107|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1142:9): [True: 49, False: 58]
  ------------------
 1143|     49|        return result;
 1144|     49|    }
 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|    607|{
 1413|    607|    if (item == NULL) {
  ------------------
  |  Branch (1413:9): [True: 0, False: 607]
  ------------------
 1414|      0|        return null_error();
 1415|      0|    }
 1416|       |
 1417|    607|    if (PyLong_Check(item)) {
  ------------------
  |  |   13|    607|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    607|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 580, False: 27]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1418|    580|        return Py_NewRef(item);
  ------------------
  |  |  550|    580|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    580|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    580|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1419|    580|    }
 1420|     27|    if (!_PyIndex_Check(item)) {
  ------------------
  |  Branch (1420:9): [True: 27, False: 0]
  ------------------
 1421|     27|        PyErr_Format(PyExc_TypeError,
 1422|     27|                     "'%.200s' object cannot be interpreted "
 1423|     27|                     "as an integer", Py_TYPE(item)->tp_name);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1424|     27|        return NULL;
 1425|     27|    }
 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|     40|{
 1459|     40|    PyObject *result = _PyNumber_Index(item);
 1460|     40|    if (result != NULL && !PyLong_CheckExact(result)) {
  ------------------
  |  |   14|     40|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|     40|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1460:9): [True: 40, False: 0]
  |  Branch (1460:27): [True: 0, False: 40]
  ------------------
 1461|      0|        Py_SETREF(result, _PyLong_Copy((PyLongObject *)result));
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1462|      0|    }
 1463|     40|    return result;
 1464|     40|}
PyNumber_AsSsize_t:
 1470|    414|{
 1471|    414|    Py_ssize_t result;
 1472|    414|    PyObject *runerr;
 1473|    414|    PyObject *value = _PyNumber_Index(item);
 1474|    414|    if (value == NULL)
  ------------------
  |  Branch (1474:9): [True: 0, False: 414]
  ------------------
 1475|      0|        return -1;
 1476|       |
 1477|       |    /* We're done if PyLong_AsSsize_t() returns without error. */
 1478|    414|    result = PyLong_AsSsize_t(value);
 1479|    414|    if (result != -1)
  ------------------
  |  Branch (1479:9): [True: 297, False: 117]
  ------------------
 1480|    297|        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|    414| finish:
 1514|    414|    Py_DECREF(value);
  ------------------
  |  |  430|    414|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    414|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    414|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1515|    414|    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);
  ------------------
  |  |  550|    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));
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 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|     47|{
 1693|     47|    if (s == NULL) {
  ------------------
  |  Branch (1693:9): [True: 0, False: 47]
  ------------------
 1694|      0|        null_error();
 1695|      0|        return -1;
 1696|      0|    }
 1697|       |
 1698|     47|    PySequenceMethods *m = Py_TYPE(s)->tp_as_sequence;
  ------------------
  |  |  213|     47|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     47|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     47|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1699|     47|    if (m && m->sq_length) {
  ------------------
  |  Branch (1699:9): [True: 47, False: 0]
  |  Branch (1699:14): [True: 47, False: 0]
  ------------------
 1700|     47|        Py_ssize_t len = m->sq_length(s);
 1701|     47|        assert(_Py_CheckSlotResult(s, "__len__", len >= 0));
  ------------------
  |  Branch (1701:9): [True: 47, False: 0]
  ------------------
 1702|     47|        return len;
 1703|     47|    }
 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.91k|{
 1844|  1.91k|    if (s == NULL) {
  ------------------
  |  Branch (1844:9): [True: 0, False: 1.91k]
  ------------------
 1845|      0|        return null_error();
 1846|      0|    }
 1847|       |
 1848|  1.91k|    PySequenceMethods *m = Py_TYPE(s)->tp_as_sequence;
  ------------------
  |  |  213|  1.91k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.91k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.91k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1849|  1.91k|    if (m && m->sq_item) {
  ------------------
  |  Branch (1849:9): [True: 1.91k, False: 0]
  |  Branch (1849:14): [True: 1.91k, False: 0]
  ------------------
 1850|  1.91k|        if (i < 0) {
  ------------------
  |  Branch (1850:13): [True: 0, False: 1.91k]
  ------------------
 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.91k|        PyObject *res = m->sq_item(s, i);
 1861|  1.91k|        assert(_Py_CheckSlotResult(s, "__getitem__", res != NULL));
  ------------------
  |  Branch (1861:9): [True: 1.91k, False: 0]
  ------------------
 1862|  1.91k|        return res;
 1863|  1.91k|    }
 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: 980, 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|    980|        return Py_NewRef(v);
  ------------------
  |  |  550|    980|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    980|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    980|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2021|    980|    }
 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|    149|    for (n = 0; n < 8; n++) {
  ------------------
  |  Branch (2032:17): [True: 147, False: 2]
  ------------------
 2033|    147|        PyObject *item = PyIter_Next(it);
 2034|    147|        if (item == NULL) {
  ------------------
  |  Branch (2034:13): [True: 40, False: 107]
  ------------------
 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|    107|        buffer[n] = item;
 2042|    107|    }
 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.73k|{
 2107|  1.73k|    PyObject *it;
 2108|       |
 2109|  1.73k|    if (v == NULL) {
  ------------------
  |  Branch (2109:9): [True: 0, False: 1.73k]
  ------------------
 2110|      0|        return null_error();
 2111|      0|    }
 2112|       |
 2113|  1.73k|    if (PyList_CheckExact(v) || PyTuple_CheckExact(v)) {
  ------------------
  |  |   26|  1.73k|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|  3.47k|#  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: 526, False: 1.20k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyList_CheckExact(v) || PyTuple_CheckExact(v)) {
  ------------------
  |  |   28|  1.20k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  1.20k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.20k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.20k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.20k, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2114|  1.73k|        return Py_NewRef(v);
  ------------------
  |  |  550|  1.73k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.73k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.73k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2115|  1.73k|    }
 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|    635|{
 2243|    635|    PySequenceMethods *sqm = Py_TYPE(seq)->tp_as_sequence;
  ------------------
  |  |  213|    635|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    635|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    635|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2244|    635|    if (sqm != NULL && sqm->sq_contains != NULL) {
  ------------------
  |  Branch (2244:9): [True: 635, False: 0]
  |  Branch (2244:24): [True: 635, False: 0]
  ------------------
 2245|    635|        int res = (*sqm->sq_contains)(seq, ob);
 2246|    635|        assert(_Py_CheckSlotResult(seq, "__contains__", res >= 0));
  ------------------
  |  Branch (2246:9): [True: 635, False: 0]
  ------------------
 2247|    635|        return res;
 2248|    635|    }
 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|    635|}
PyMapping_Check:
 2271|    695|{
 2272|    695|    return o && Py_TYPE(o)->tp_as_mapping &&
  ------------------
  |  |  213|    695|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    695|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    695|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2272:12): [True: 695, False: 0]
  |  Branch (2272:17): [True: 695, False: 0]
  ------------------
 2273|    695|        Py_TYPE(o)->tp_as_mapping->mp_subscript;
  ------------------
  |  |  213|    695|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    695|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    695|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2273:9): [True: 695, False: 0]
  ------------------
 2274|    695|}
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));
  ------------------
  |  |  936|      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));
  ------------------
  |  |  936|     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|    792|{
 2728|    792|    PyThreadState *tstate = _PyThreadState_GET();
 2729|    792|    return object_recursive_isinstance(tstate, inst, cls);
 2730|    792|}
PyObject_IsSubclass:
 2805|    635|{
 2806|    635|    PyThreadState *tstate = _PyThreadState_GET();
 2807|    635|    return object_issubclass(tstate, derived, cls);
 2808|    635|}
_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|    562|{
 2827|    562|    PyTypeObject *t = Py_TYPE(o);
  ------------------
  |  |  213|    562|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    562|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    562|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2828|    562|    getiterfunc f;
 2829|       |
 2830|    562|    f = t->tp_iter;
 2831|    562|    if (f == NULL) {
  ------------------
  |  Branch (2831:9): [True: 9, False: 553]
  ------------------
 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|    553|    else {
 2837|    553|        PyObject *res = (*f)(o);
 2838|    553|        if (res != NULL && !PyIter_Check(res)) {
  ------------------
  |  Branch (2838:13): [True: 553, False: 0]
  |  Branch (2838:28): [True: 0, False: 553]
  ------------------
 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);
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2843|      0|        }
 2844|    553|        return res;
 2845|    553|    }
 2846|    562|}
PyIter_Check:
 2869|    555|{
 2870|    555|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|    555|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    555|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    555|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2871|    555|    return (tp->tp_iternext != NULL &&
  ------------------
  |  Branch (2871:13): [True: 555, False: 0]
  ------------------
 2872|    555|            tp->tp_iternext != &_PyObject_NextNotImplemented);
  ------------------
  |  Branch (2872:13): [True: 555, False: 0]
  ------------------
 2873|    555|}
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|    154|{
 1014|    154|    PyObject *result = BINARY_OP1(v, w, op_slot, op_name);
  ------------------
  |  |  996|    154|#  define BINARY_OP1(v, w, op_slot, op_name) binary_op1(v, w, op_slot, op_name)
  ------------------
 1015|    154|    if (result == Py_NotImplemented) {
  ------------------
  |  |  640|    154|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1015:9): [True: 0, False: 154]
  ------------------
 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|    154|    return result;
 1020|    154|}
abstract.c:binary_op1:
  946|    296|{
  947|    296|    binaryfunc slotv;
  948|    296|    if (Py_TYPE(v)->tp_as_number != NULL) {
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (948:9): [True: 277, False: 19]
  ------------------
  949|    277|        slotv = NB_BINOP(Py_TYPE(v)->tp_as_number, op_slot);
  ------------------
  |  |  926|    277|        (*(binaryfunc*)(& ((char*)nb_methods)[slot]))
  ------------------
  950|    277|    }
  951|     19|    else {
  952|     19|        slotv = NULL;
  953|     19|    }
  954|       |
  955|    296|    binaryfunc slotw;
  956|    296|    if (!Py_IS_TYPE(w, Py_TYPE(v)) && Py_TYPE(w)->tp_as_number != NULL) {
  ------------------
  |  |  215|    592|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    296|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    296|#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: 288]
  |  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|    288|    else {
  963|    288|        slotw = NULL;
  964|    288|    }
  965|       |
  966|    296|    if (slotv) {
  ------------------
  |  Branch (966:9): [True: 219, False: 77]
  ------------------
  967|    219|        PyObject *x;
  968|    219|        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: 217]
  |  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|    217|        x = slotv(v, w);
  976|    217|        assert(_Py_CheckSlotResult(v, op_name, x != NULL));
  ------------------
  |  Branch (976:9): [True: 217, False: 0]
  ------------------
  977|    217|        if (x != Py_NotImplemented) {
  ------------------
  |  |  640|    217|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (977:13): [True: 217, False: 0]
  ------------------
  978|    217|            return x;
  979|    217|        }
  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|    837|{
 2673|       |    /* Quick test for an exact match */
 2674|    837|    if (Py_IS_TYPE(inst, (PyTypeObject *)cls)) {
  ------------------
  |  |  215|    837|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    837|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    837|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 381, False: 456]
  |  |  ------------------
  ------------------
 2675|    381|        return 1;
 2676|    381|    }
 2677|       |
 2678|       |    /* We know what type's __instancecheck__ does. */
 2679|    456|    if (PyType_CheckExact(cls)) {
  ------------------
  |  |  776|    456|#  define PyType_CheckExact(op) PyType_CheckExact(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    456|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    456|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (776:33): [True: 417, False: 39]
  |  |  ------------------
  ------------------
 2680|    417|        return object_isinstance(inst, cls);
 2681|    417|    }
 2682|       |
 2683|     39|    if (_PyUnion_Check(cls)) {
  ------------------
  |  |   15|     39|#define _PyUnion_Check(op) Py_IS_TYPE((op), &_PyUnion_Type)
  |  |  ------------------
  |  |  |  |  215|     39|#  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: 0, False: 39]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2684|      0|        cls = _Py_union_args(cls);
 2685|      0|    }
 2686|       |
 2687|     39|    if (PyTuple_Check(cls)) {
  ------------------
  |  |   27|     39|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     39|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 37, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2688|       |        /* Not a general sequence -- that opens up the road to
 2689|       |           recursion and stack overflow. */
 2690|     37|        if (_Py_EnterRecursiveCallTstate(tstate, " in __instancecheck__")) {
  ------------------
  |  Branch (2690:13): [True: 0, False: 37]
  ------------------
 2691|      0|            return -1;
 2692|      0|        }
 2693|     37|        Py_ssize_t n = PyTuple_GET_SIZE(cls);
  ------------------
  |  |   27|     37|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     37|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     37|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2694|     37|        int r = 0;
 2695|     49|        for (Py_ssize_t i = 0; i < n; ++i) {
  ------------------
  |  Branch (2695:32): [True: 45, False: 4]
  ------------------
 2696|     45|            PyObject *item = PyTuple_GET_ITEM(cls, i);
  ------------------
  |  |   29|     45|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     45|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     45|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2696:30): [True: 45, False: 0]
  ------------------
 2697|      0|            r = object_recursive_isinstance(tstate, inst, item);
 2698|     45|            if (r != 0) {
  ------------------
  |  Branch (2698:17): [True: 33, False: 12]
  ------------------
 2699|       |                /* either found it, or got an error */
 2700|     33|                break;
 2701|     33|            }
 2702|     45|        }
 2703|     37|        _Py_LeaveRecursiveCallTstate(tstate);
 2704|     37|        return r;
 2705|     37|    }
 2706|       |
 2707|      2|    PyObject *res;
 2708|      2|    int found = call_special_method(tstate, cls, &_Py_ID(__instancecheck__),
  ------------------
  |  |  936|      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|    635|{
 2756|       |    /* We know what type's __subclasscheck__ does. */
 2757|    635|    if (PyType_CheckExact(cls)) {
  ------------------
  |  |  776|    635|#  define PyType_CheckExact(op) PyType_CheckExact(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    635|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    635|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (776:33): [True: 548, False: 87]
  |  |  ------------------
  ------------------
 2758|       |        /* Quick test for an exact match */
 2759|    548|        if (derived == cls)
  ------------------
  |  Branch (2759:13): [True: 343, False: 205]
  ------------------
 2760|    343|            return 1;
 2761|    205|        return recursive_issubclass(derived, cls);
 2762|    548|    }
 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__),
  ------------------
  |  |  936|     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|    419|{
 2606|    419|    PyObject *icls;
 2607|    419|    int retval;
 2608|    419|    if (PyType_Check(cls)) {
  ------------------
  |  |  766|    419|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    419|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    419|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 419, False: 0]
  |  |  ------------------
  ------------------
 2609|    419|        retval = PyObject_TypeCheck(inst, (PyTypeObject *)cls);
  ------------------
  |  |  378|    419|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    419|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    419|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2610|    419|        if (retval == 0) {
  ------------------
  |  Branch (2610:13): [True: 392, False: 27]
  ------------------
 2611|    392|            retval = PyObject_GetOptionalAttr(inst, &_Py_ID(__class__), &icls);
  ------------------
  |  |  936|    392|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    392|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    392|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2612|    392|            if (icls != NULL) {
  ------------------
  |  Branch (2612:17): [True: 392, False: 0]
  ------------------
 2613|    392|                if (icls != (PyObject *)(Py_TYPE(inst)) && PyType_Check(icls)) {
  ------------------
  |  |  213|    392|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    392|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    392|#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: 392]
  ------------------
 2614|      0|                    retval = PyType_IsSubtype(
 2615|      0|                        (PyTypeObject *)icls,
 2616|      0|                        (PyTypeObject *)cls);
 2617|      0|                }
 2618|    392|                else {
 2619|    392|                    retval = 0;
 2620|    392|                }
 2621|    392|                Py_DECREF(icls);
  ------------------
  |  |  430|    392|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    392|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    392|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2622|    392|            }
 2623|    392|        }
 2624|    419|    }
 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);
  ------------------
  |  |  936|      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|    419|    return retval;
 2637|    419|}
abstract.c:recursive_issubclass:
 2735|    568|{
 2736|    568|    if (PyType_Check(cls) && PyType_Check(derived)) {
  ------------------
  |  |  766|  1.13k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    568|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    568|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 568, False: 0]
  |  |  ------------------
  ------------------
                  if (PyType_Check(cls) && PyType_Check(derived)) {
  ------------------
  |  |  766|    568|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    568|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    568|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 568, False: 0]
  |  |  ------------------
  ------------------
 2737|       |        /* Fast path (non-recursive) */
 2738|    568|        return PyType_IsSubtype((PyTypeObject *)derived, (PyTypeObject *)cls);
 2739|    568|    }
 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.36k, False: 245]
  ------------------
 2889|  2.36k|        return 1;
 2890|  2.36k|    }
 2891|       |
 2892|    245|    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|    245|    if (!_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (2895:9): [True: 244, False: 1]
  ------------------
 2896|    244|        return 0;
 2897|    244|    }
 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:
   22|  4.34k|{
   23|  4.34k|    return ok ? Py_True : Py_False;
  ------------------
  |  |   26|  4.34k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|    721|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    721|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return ok ? Py_True : Py_False;
  ------------------
  |  |   25|  4.34k|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|  3.62k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.62k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (23:12): [True: 721, False: 3.62k]
  ------------------
   24|  4.34k|}
boolobject.c:bool_vectorcall:
   47|      6|{
   48|      6|    long ok = 0;
   49|      6|    if (!_PyArg_NoKwnames("bool", kwnames)) {
  ------------------
  |  |   15|      6|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (15:6): [True: 6, False: 0]
  |  |  |  Branch (15:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   50|      0|        return NULL;
   51|      0|    }
   52|       |
   53|      6|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|      6|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
   54|      6|    if (!_PyArg_CheckPositional("bool", nargs, 0, 1)) {
  ------------------
  |  |   31|      6|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 6, False: 0]
  |  |  |  Branch (31:27): [True: 6, False: 0]
  |  |  ------------------
  |  |   32|      6|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   55|      0|        return NULL;
   56|      0|    }
   57|       |
   58|      6|    assert(PyType_Check(type));
  ------------------
  |  Branch (58:5): [True: 6, False: 0]
  ------------------
   59|      6|    if (nargs) {
  ------------------
  |  Branch (59:9): [True: 6, False: 0]
  ------------------
   60|      6|        ok = PyObject_IsTrue(args[0]);
   61|      6|        if (ok < 0) {
  ------------------
  |  Branch (61:13): [True: 0, False: 6]
  ------------------
   62|      0|            return NULL;
   63|      0|        }
   64|      6|    }
   65|      6|    return PyBool_FromLong(ok);
   66|      6|}

PyByteArray_FromStringAndSize:
  170|    192|{
  171|    192|    PyByteArrayObject *new;
  172|       |
  173|    192|    if (size < 0) {
  ------------------
  |  Branch (173:9): [True: 0, False: 192]
  ------------------
  174|      0|        PyErr_SetString(PyExc_SystemError,
  175|      0|            "Negative size passed to PyByteArray_FromStringAndSize");
  176|      0|        return NULL;
  177|      0|    }
  178|       |
  179|    192|    new = PyObject_New(PyByteArrayObject, &PyByteArray_Type);
  ------------------
  |  |  130|    192|#define PyObject_New(type, typeobj) ((type *)_PyObject_New(typeobj))
  ------------------
  180|    192|    if (new == NULL) {
  ------------------
  |  Branch (180:9): [True: 0, False: 192]
  ------------------
  181|      0|        return NULL;
  182|      0|    }
  183|       |
  184|       |    /* Fill values used in bytearray_dealloc.
  185|       |
  186|       |       In an optimized build the memory isn't zeroed and ob_exports would be
  187|       |       uninitialized when when PyBytes_FromStringAndSize errored leading to
  188|       |       intermittent test failures. */
  189|    192|    new->ob_exports = 0;
  190|       |
  191|       |    /* Optimization: size=0 bytearray should not allocate space
  192|       |
  193|       |       PyBytes_FromStringAndSize returns the empty bytes global when size=0 so
  194|       |       no allocation occurs. */
  195|    192|    new->ob_bytes_object = PyBytes_FromStringAndSize(NULL, size);
  196|    192|    if (new->ob_bytes_object == NULL) {
  ------------------
  |  Branch (196:9): [True: 0, False: 192]
  ------------------
  197|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  198|      0|        return NULL;
  199|      0|    }
  200|    192|    bytearray_reinit_from_bytes(new, size);
  201|    192|    if (bytes != NULL && size > 0) {
  ------------------
  |  Branch (201:9): [True: 24, False: 168]
  |  Branch (201:26): [True: 24, False: 0]
  ------------------
  202|     24|        memcpy(new->ob_bytes, bytes, size);
  203|     24|    }
  204|       |
  205|    192|    return (PyObject *)new;
  206|    192|}
PyByteArray_Resize:
  348|     14|{
  349|     14|    int ret;
  350|     14|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|     14|    {
  ------------------
  351|     14|    ret = bytearray_resize_lock_held(self, requested_size);
  352|     14|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     14|    }
  ------------------
  353|     14|    return ret;
  354|     14|}
bytearrayobject.c:bytearray_reinit_from_bytes:
   57|    206|{
   58|    206|    Py_ssize_t alloc = PyBytes_GET_SIZE(self->ob_bytes_object);
  ------------------
  |  |   33|    206|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|    206|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    206|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   59|    206|    assert(0 <= size && size <= alloc);
  ------------------
  |  Branch (59:5): [True: 206, False: 0]
  |  Branch (59:5): [True: 206, False: 0]
  ------------------
   60|       |
   61|       |    /* Only the empty bytes may be immortal. */
   62|    206|    assert((alloc == 0) == _Py_IsImmortal(self->ob_bytes_object));
  ------------------
  |  Branch (62:5): [True: 206, False: 0]
  ------------------
   63|       |
   64|    206|    self->ob_bytes = self->ob_start = PyBytes_AS_STRING(self->ob_bytes_object);
  ------------------
  |  |   27|    206|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    206|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    206|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   65|    206|    Py_SET_SIZE(self, size);
  ------------------
  |  |  216|    206|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|    206|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    206|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   66|    206|    FT_ATOMIC_STORE_SSIZE_RELAXED(self->ob_alloc, alloc);
  ------------------
  |  |  194|    206|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
   67|    206|}
bytearrayobject.c:bytearray_resize_lock_held:
  266|     14|{
  267|     14|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(self);
  268|     14|    PyByteArrayObject *obj = ((PyByteArrayObject *)self);
  269|       |
  270|     14|    assert(obj->ob_bytes_object != NULL);
  ------------------
  |  Branch (270:5): [True: 14, False: 0]
  ------------------
  271|       |
  272|       |    /* All computations are done unsigned to avoid integer overflows
  273|       |       (see issue #22335). */
  274|     14|    size_t alloc = (size_t) obj->ob_alloc;
  275|     14|    size_t logical_offset = (size_t) (obj->ob_start - obj->ob_bytes);
  276|     14|    size_t size = (size_t) requested_size;
  277|       |
  278|     14|    assert(self != NULL);
  ------------------
  |  Branch (278:5): [True: 14, False: 0]
  ------------------
  279|     14|    assert(PyByteArray_Check(self));
  ------------------
  |  Branch (279:5): [True: 14, False: 0]
  ------------------
  280|     14|    assert(logical_offset <= alloc);
  ------------------
  |  Branch (280:5): [True: 14, False: 0]
  ------------------
  281|       |
  282|     14|    if (requested_size < 0) {
  ------------------
  |  Branch (282:9): [True: 0, False: 14]
  ------------------
  283|      0|        PyErr_Format(PyExc_ValueError,
  284|      0|            "Can only resize to positive sizes, got %zd", requested_size);
  285|      0|        return -1;
  286|      0|    }
  287|       |
  288|     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 (288:9): [True: 8, False: 6]
  ------------------
  289|      8|        return 0;
  290|      8|    }
  291|      6|    if (!_canresize(obj)) {
  ------------------
  |  Branch (291:9): [True: 0, False: 6]
  ------------------
  292|      0|        return -1;
  293|      0|    }
  294|       |
  295|       |    /* Resize to 0 resets to empty bytes (see issue #153419). */
  296|      6|    if (requested_size == 0) {
  ------------------
  |  Branch (296:9): [True: 0, False: 6]
  ------------------
  297|      0|        Py_SETREF(obj->ob_bytes_object,
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  298|      0|                   Py_GetConstant(Py_CONSTANT_EMPTY_BYTES));
  299|      0|        bytearray_reinit_from_bytes(obj, 0);
  300|      0|        return 0;
  301|      0|    }
  302|       |
  303|      6|    if (size + logical_offset <= alloc) {
  ------------------
  |  Branch (303:9): [True: 0, False: 6]
  ------------------
  304|       |        /* Current buffer is large enough to host the requested size,
  305|       |           decide on a strategy. */
  306|      0|        if (size < alloc / 2) {
  ------------------
  |  Branch (306:13): [True: 0, False: 0]
  ------------------
  307|       |            /* Major downsize; resize down to exact size */
  308|      0|            alloc = size;
  309|      0|        }
  310|      0|        else {
  311|       |            /* Minor downsize; quick exit */
  312|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  313|       |            /* Add mid-buffer null; end provided by bytes. */
  314|      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 (314:48): [True: 0, False: 0]
  ------------------
  315|      0|            return 0;
  316|      0|        }
  317|      0|    }
  318|      6|    else {
  319|       |        /* Need growing, decide on a strategy */
  320|      6|        if (size <= alloc * 1.125) {
  ------------------
  |  Branch (320:13): [True: 0, False: 6]
  ------------------
  321|       |            /* Moderate upsize; overallocate similar to list_resize() */
  322|      0|            alloc = size + (size >> 3) + (size < 9 ? 3 : 6);
  ------------------
  |  Branch (322:43): [True: 0, False: 0]
  ------------------
  323|      0|        }
  324|      6|        else {
  325|       |            /* Major upsize; resize up to exact size */
  326|      6|            alloc = size;
  327|      6|        }
  328|      6|    }
  329|      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 (329:9): [True: 0, False: 6]
  ------------------
  330|      0|        PyErr_NoMemory();
  331|      0|        return -1;
  332|      0|    }
  333|       |
  334|      6|    if (bytearray_resize_storage(obj, requested_size, (Py_ssize_t)alloc) < 0) {
  ------------------
  |  Branch (334:9): [True: 0, False: 6]
  ------------------
  335|      0|        return -1;
  336|      0|    }
  337|       |
  338|      6|    bytearray_reinit_from_bytes(obj, size);
  339|      6|    if (alloc != size) {
  ------------------
  |  Branch (339:9): [True: 0, False: 6]
  ------------------
  340|       |        /* Add mid-buffer null; end provided by bytes. */
  341|      0|        bytearray_write_trailing_null_byte(obj);
  342|      0|    }
  343|      6|    return 0;
  344|      6|}
bytearrayobject.c:_canresize:
  129|     14|{
  130|     14|    if (self->ob_exports > 0) {
  ------------------
  |  Branch (130:9): [True: 0, False: 14]
  ------------------
  131|      0|        PyErr_SetString(PyExc_BufferError,
  132|      0|                "Existing exports of data: object cannot be re-sized");
  133|      0|        return 0;
  134|      0|    }
  135|     14|    return 1;
  136|     14|}
bytearrayobject.c:bytearray_resize_storage:
  230|      6|{
  231|      6|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(self);
  232|      6|    assert(1 <= new_size && new_size <= alloc);
  ------------------
  |  Branch (232:5): [True: 6, False: 0]
  |  Branch (232:5): [True: 6, False: 0]
  ------------------
  233|       |
  234|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  235|       |
  236|       |    /* Re-align data to the start of the allocation. */
  237|      6|    char *old_start = self->ob_start;
  238|      6|    if (self->ob_start != self->ob_bytes) {
  ------------------
  |  Branch (238:9): [True: 0, False: 6]
  ------------------
  239|       |        /* optimization tradeoff: This is faster than a new allocation when
  240|       |           the number of bytes being removed in a resize is small; for
  241|       |           large size changes it may be better to just make a new bytes
  242|       |           object as _PyBytes_Resize will do a malloc + memcpy internally.
  243|       |           */
  244|      0|        Py_ssize_t move = Py_MIN(new_size, size);
  ------------------
  |  |  120|      0|       __extension__ \
  |  |  121|      0|       ({ _Py_TYPEOF (x) _x = (x); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  122|      0|          _Py_TYPEOF (y) _y = (y); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  123|      0|          _x < _y ? _x : _y; })
  |  |  ------------------
  |  |  |  Branch (123:11): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  245|      0|        memmove(self->ob_bytes, self->ob_start, move);
  246|      0|        self->ob_start = self->ob_bytes;
  247|      0|    }
  248|       |
  249|      6|    if (_PyBytes_ResizeKeepOnError(&self->ob_bytes_object, alloc) < 0) {
  ------------------
  |  Branch (249:9): [True: 0, False: 6]
  ------------------
  250|      0|        if (old_start != self->ob_bytes && new_size < size) {
  ------------------
  |  Branch (250:13): [True: 0, False: 0]
  |  Branch (250:44): [True: 0, False: 0]
  ------------------
  251|       |            // Move remaining bytes
  252|      0|            Py_ssize_t moved = new_size;
  253|      0|            Py_ssize_t remaining = size - moved;
  254|      0|            memmove(self->ob_bytes + moved, old_start + moved, remaining);
  255|      0|        }
  256|      0|        bytearray_write_trailing_null_byte(self);
  257|      0|        return -1;
  258|      0|    }
  259|      6|    assert(_PyBytes_IsMutable(self->ob_bytes_object));
  ------------------
  |  Branch (259:5): [True: 6, False: 0]
  ------------------
  260|      6|    return 0;
  261|      6|}
bytearrayobject.c:bytearray_dealloc:
 1273|    200|{
 1274|    200|    PyByteArrayObject *self = _PyByteArray_CAST(op);
  ------------------
  |  |   22|    200|    (assert(PyByteArray_Check(op)), _Py_CAST(PyByteArrayObject*, op))
  |  |  ------------------
  |  |  |  |   37|    200|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1274:31): [True: 200, False: 0]
  ------------------
 1275|       |#ifdef Py_DEBUG
 1276|       |    if (self->ob_bytes_object != NULL) {
 1277|       |        _PyBytes_CheckOverflow(self->ob_bytes_object, op, "bytearray");
 1278|       |    }
 1279|       |#endif
 1280|       |
 1281|    200|    if (self->ob_exports > 0) {
  ------------------
  |  Branch (1281:9): [True: 0, False: 200]
  ------------------
 1282|      0|        PyErr_SetString(PyExc_SystemError,
 1283|      0|                        "deallocated bytearray object has exported buffers");
 1284|      0|        PyErr_Print();
 1285|      0|    }
 1286|    200|    Py_XDECREF(self->ob_bytes_object);
  ------------------
  |  |  524|    200|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    200|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    200|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1287|    200|    Py_TYPE(self)->tp_free((PyObject *)self);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1288|    200|}
bytearrayobject.c:bytearray_length:
  397|      6|{
  398|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  399|      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:
  593|     27|{
  594|     27|    PyObject *ret;
  595|     27|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|     27|    {
  ------------------
  596|     27|    ret = bytearray_subscript_lock_held(op, index);
  597|     27|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     27|    }
  ------------------
  598|     27|    return ret;
  599|       |
  600|     27|}
bytearrayobject.c:bytearray_subscript_lock_held:
  533|     27|{
  534|     27|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(op);
  535|     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 (535:31): [True: 27, False: 0]
  ------------------
  536|     27|    if (_PyIndex_Check(index)) {
  ------------------
  |  Branch (536:9): [True: 0, False: 27]
  ------------------
  537|      0|        Py_ssize_t i = PyNumber_AsSsize_t(index, PyExc_IndexError);
  538|       |
  539|      0|        if (i == -1 && PyErr_Occurred())
  ------------------
  |  Branch (539:13): [True: 0, False: 0]
  |  Branch (539:24): [True: 0, False: 0]
  ------------------
  540|      0|            return NULL;
  541|       |
  542|      0|        if (i < 0)
  ------------------
  |  Branch (542:13): [True: 0, False: 0]
  ------------------
  543|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  544|       |
  545|      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 (545:13): [True: 0, False: 0]
  |  Branch (545:22): [True: 0, False: 0]
  ------------------
  546|      0|            PyErr_SetString(PyExc_IndexError, "bytearray index out of range");
  547|      0|            return NULL;
  548|      0|        }
  549|      0|        return _PyLong_FromUnsignedChar((unsigned char)(self->ob_start[i]));
  550|      0|    }
  551|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  552|     27|        Py_ssize_t start, stop, step, slicelength, i;
  553|     27|        size_t cur;
  554|     27|        if (PySlice_Unpack(index, &start, &stop, &step) < 0) {
  ------------------
  |  Branch (554:13): [True: 0, False: 27]
  ------------------
  555|      0|            return NULL;
  556|      0|        }
  557|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  558|     27|                                            &start, &stop, step);
  559|       |
  560|     27|        if (slicelength <= 0)
  ------------------
  |  Branch (560:13): [True: 0, False: 27]
  ------------------
  561|      0|            return PyByteArray_FromStringAndSize("", 0);
  562|     27|        else if (step == 1) {
  ------------------
  |  Branch (562:18): [True: 24, False: 3]
  ------------------
  563|     24|            return PyByteArray_FromStringAndSize(
  564|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  565|     24|        }
  566|      3|        else {
  567|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  568|      3|            char *result_buf;
  569|      3|            PyObject *result;
  570|       |
  571|      3|            result = PyByteArray_FromStringAndSize(NULL, slicelength);
  572|      3|            if (result == NULL)
  ------------------
  |  Branch (572:17): [True: 0, False: 3]
  ------------------
  573|      0|                return NULL;
  574|       |
  575|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  576|    771|            for (cur = start, i = 0; i < slicelength;
  ------------------
  |  Branch (576:38): [True: 768, False: 3]
  ------------------
  577|    768|                 cur += step, i++) {
  578|    768|                     result_buf[i] = source_buf[cur];
  579|    768|            }
  580|      3|            return result;
  581|      3|        }
  582|     27|    }
  583|      0|    else {
  584|      0|        PyErr_Format(PyExc_TypeError,
  585|      0|                     "bytearray indices must be integers or slices, not %.200s",
  586|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  587|       |        return NULL;
  588|      0|    }
  589|     27|}
bytearrayobject.c:bytearray_ass_subscript:
  945|     15|{
  946|     15|    int ret;
  947|     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 (947:9): [True: 15, False: 0]
  ------------------
  948|      0|        Py_BEGIN_CRITICAL_SECTION2(op, values);
  ------------------
  |  |   57|      0|    {
  ------------------
  949|      0|        ret = bytearray_ass_subscript_lock_held(op, index, values);
  950|      0|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|      0|    }
  ------------------
  951|      0|    }
  952|     15|    else {
  953|     15|        Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|     15|    {
  ------------------
  954|     15|        ret = bytearray_ass_subscript_lock_held(op, index, values);
  955|     15|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     15|    }
  ------------------
  956|     15|    }
  957|     15|    return ret;
  958|     15|}
bytearrayobject.c:bytearray_ass_subscript_lock_held:
  784|     15|{
  785|     15|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(op);
  786|     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 (786:31): [True: 15, False: 0]
  ------------------
  787|      0|    Py_ssize_t start, stop, step, slicelen;
  788|       |    // Do not store a reference to the internal buffer since
  789|       |    // index.__index__() or _getbytevalue() may alter 'self'.
  790|       |    // See https://github.com/python/cpython/issues/91153.
  791|       |
  792|     15|    if (_PyIndex_Check(index)) {
  ------------------
  |  Branch (792:9): [True: 15, False: 0]
  ------------------
  793|     15|        Py_ssize_t i = PyNumber_AsSsize_t(index, PyExc_IndexError);
  794|       |
  795|     15|        if (i == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (795:13): [True: 0, False: 15]
  |  Branch (795:24): [True: 0, False: 0]
  ------------------
  796|      0|            return -1;
  797|      0|        }
  798|       |
  799|     15|        int ival = -1;
  800|       |
  801|       |        // GH-91153: We need to do this *before* the size check, in case values
  802|       |        // has a nasty __index__ method that changes the size of the bytearray:
  803|     15|        if (values && !_getbytevalue(values, &ival)) {
  ------------------
  |  Branch (803:13): [True: 15, False: 0]
  |  Branch (803:23): [True: 0, False: 15]
  ------------------
  804|      0|            return -1;
  805|      0|        }
  806|       |
  807|     15|        if (i < 0) {
  ------------------
  |  Branch (807:13): [True: 0, False: 15]
  ------------------
  808|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  809|      0|        }
  810|       |
  811|     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 (811:13): [True: 0, False: 15]
  |  Branch (811:22): [True: 0, False: 15]
  ------------------
  812|      0|            PyErr_SetString(PyExc_IndexError, "bytearray index out of range");
  813|      0|            return -1;
  814|      0|        }
  815|       |
  816|     15|        if (values == NULL) {
  ------------------
  |  Branch (816:13): [True: 0, False: 15]
  ------------------
  817|       |            /* Fall through to slice assignment */
  818|      0|            start = i;
  819|      0|            stop = i + 1;
  820|      0|            step = 1;
  821|      0|            slicelen = 1;
  822|      0|        }
  823|     15|        else {
  824|     15|            assert(0 <= ival && ival < 256);
  ------------------
  |  Branch (824:13): [True: 15, False: 0]
  |  Branch (824:13): [True: 15, False: 0]
  ------------------
  825|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  826|     15|            return 0;
  827|     15|        }
  828|     15|    }
  829|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  830|      0|        if (PySlice_Unpack(index, &start, &stop, &step) < 0) {
  ------------------
  |  Branch (830:13): [True: 0, False: 0]
  ------------------
  831|      0|            return -1;
  832|      0|        }
  833|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  834|      0|                                         &stop, step);
  835|      0|    }
  836|      0|    else {
  837|      0|        PyErr_Format(PyExc_TypeError,
  838|      0|                     "bytearray indices must be integers or slices, not %.200s",
  839|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  840|      0|        return -1;
  841|      0|    }
  842|       |
  843|      0|    char *bytes;
  844|      0|    Py_ssize_t needed;
  845|      0|    if (values == NULL) {
  ------------------
  |  Branch (845:9): [True: 0, False: 0]
  ------------------
  846|      0|        bytes = NULL;
  847|      0|        needed = 0;
  848|      0|    }
  849|      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 (849:14): [True: 0, False: 0]
  |  Branch (849:44): [True: 0, False: 0]
  ------------------
  850|      0|        int err;
  851|      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 (851:13): [True: 0, False: 0]
  ------------------
  852|      0|            PyErr_SetString(PyExc_TypeError,
  853|      0|                            "can assign only bytes, buffers, or iterables "
  854|      0|                            "of ints in range(0, 256)");
  855|      0|            return -1;
  856|      0|        }
  857|       |        /* Make a copy and call this function recursively */
  858|      0|        values = PyByteArray_FromObject(values);
  859|      0|        if (values == NULL)
  ------------------
  |  Branch (859:13): [True: 0, False: 0]
  ------------------
  860|      0|            return -1;
  861|      0|        err = bytearray_ass_subscript_lock_held((PyObject*)self, index, values);
  862|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  863|      0|        return err;
  864|      0|    }
  865|      0|    else {
  866|      0|        assert(PyByteArray_Check(values));
  ------------------
  |  Branch (866:9): [True: 0, False: 0]
  ------------------
  867|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  868|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  869|      0|    }
  870|       |
  871|       |    /* Make sure b[5:2] = ... inserts before 5, not before 2. */
  872|      0|    if ((step < 0 && start < stop) ||
  ------------------
  |  Branch (872:10): [True: 0, False: 0]
  |  Branch (872:22): [True: 0, False: 0]
  ------------------
  873|      0|        (step > 0 && start > stop))
  ------------------
  |  Branch (873:10): [True: 0, False: 0]
  |  Branch (873:22): [True: 0, False: 0]
  ------------------
  874|      0|    {
  875|      0|        stop = start;
  876|      0|    }
  877|       |
  878|      0|    if (step == 1) {
  ------------------
  |  Branch (878:9): [True: 0, False: 0]
  ------------------
  879|      0|        return bytearray_setslice_linear(self, start, stop, bytes, needed);
  880|      0|    }
  881|      0|    else {
  882|      0|        if (needed == 0) {
  ------------------
  |  Branch (882:13): [True: 0, False: 0]
  ------------------
  883|       |            /* Delete slice */
  884|      0|            size_t cur;
  885|      0|            Py_ssize_t i;
  886|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  887|       |
  888|      0|            if (!_canresize(self))
  ------------------
  |  Branch (888:17): [True: 0, False: 0]
  ------------------
  889|      0|                return -1;
  890|       |
  891|      0|            if (slicelen == 0)
  ------------------
  |  Branch (891:17): [True: 0, False: 0]
  ------------------
  892|       |                /* Nothing to do here. */
  893|      0|                return 0;
  894|       |
  895|      0|            if (step < 0) {
  ------------------
  |  Branch (895:17): [True: 0, False: 0]
  ------------------
  896|      0|                stop = start + 1;
  897|      0|                start = stop + step * (slicelen - 1) - 1;
  898|      0|                step = -step;
  899|      0|            }
  900|      0|            for (cur = start, i = 0;
  901|      0|                 i < slicelen; cur += step, i++) {
  ------------------
  |  Branch (901:18): [True: 0, False: 0]
  ------------------
  902|      0|                Py_ssize_t lim = step - 1;
  903|       |
  904|      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 (904:21): [True: 0, False: 0]
  ------------------
  905|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  906|       |
  907|      0|                memmove(buf + cur - i,
  908|      0|                        buf + cur + 1, lim);
  909|      0|            }
  910|       |            /* Move the tail of the bytes, in one chunk */
  911|      0|            cur = start + (size_t)slicelen*step;
  912|      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 (912:17): [True: 0, False: 0]
  ------------------
  913|      0|                memmove(buf + cur - slicelen,
  914|      0|                        buf + cur,
  915|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  916|      0|            }
  917|      0|            if (bytearray_resize_lock_held((PyObject *)self,
  ------------------
  |  Branch (917:17): [True: 0, False: 0]
  ------------------
  918|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  919|      0|                return -1;
  920|       |
  921|      0|            return 0;
  922|      0|        }
  923|      0|        else {
  924|       |            /* Assign slice */
  925|      0|            Py_ssize_t i;
  926|      0|            size_t cur;
  927|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  928|       |
  929|      0|            if (needed != slicelen) {
  ------------------
  |  Branch (929:17): [True: 0, False: 0]
  ------------------
  930|      0|                PyErr_Format(PyExc_ValueError,
  931|      0|                             "attempt to assign bytes of size %zd "
  932|      0|                             "to extended slice of size %zd",
  933|      0|                             needed, slicelen);
  934|      0|                return -1;
  935|      0|            }
  936|      0|            for (cur = start, i = 0; i < slicelen; cur += step, i++)
  ------------------
  |  Branch (936:38): [True: 0, False: 0]
  ------------------
  937|      0|                buf[cur] = bytes[i];
  938|      0|            return 0;
  939|      0|        }
  940|      0|    }
  941|      0|}
bytearrayobject.c:_bytearray_with_buffer:
  115|     28|{
  116|     28|    PyObject *res;
  117|       |
  118|     28|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(self);
  119|       |
  120|       |    /* Increase exports to prevent bytearray storage from changing during op. */
  121|     28|    self->ob_exports++;
  122|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  123|     28|    self->ob_exports--;
  124|     28|    return res;
  125|     28|}
bytearrayobject.c:bytearray_find_impl:
 1340|     28|{
 1341|     28|    return _bytearray_with_buffer(self, _Py_bytes_find, sub, start, end);
 1342|     28|}
bytearrayobject.c:bytearray_translate_impl:
 1713|      3|{
 1714|      3|    char *input, *output;
 1715|      3|    const char *table_chars;
 1716|      3|    Py_ssize_t i, c;
 1717|      3|    PyObject *input_obj = (PyObject*)self;
 1718|      3|    const char *output_start;
 1719|      3|    Py_ssize_t inlen;
 1720|      3|    PyObject *result = NULL;
 1721|      3|    int trans_table[256];
 1722|      3|    Py_buffer vtable, vdel;
 1723|       |
 1724|      3|    if (table == Py_None) {
  ------------------
  |  |  616|      3|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1724:9): [True: 0, False: 3]
  ------------------
 1725|      0|        table_chars = NULL;
 1726|      0|        table = NULL;
 1727|      3|    } else if (PyObject_GetBuffer(table, &vtable, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|      3|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (1727:16): [True: 0, False: 3]
  ------------------
 1728|      0|        return NULL;
 1729|      3|    } else {
 1730|      3|        if (vtable.len != 256) {
  ------------------
  |  Branch (1730:13): [True: 0, False: 3]
  ------------------
 1731|      0|            PyErr_SetString(PyExc_ValueError,
 1732|      0|                            "translation table must be 256 characters long");
 1733|      0|            PyBuffer_Release(&vtable);
 1734|      0|            return NULL;
 1735|      0|        }
 1736|      3|        table_chars = (const char*)vtable.buf;
 1737|      3|    }
 1738|       |
 1739|      3|    if (deletechars != NULL) {
  ------------------
  |  Branch (1739:9): [True: 0, False: 3]
  ------------------
 1740|      0|        if (PyObject_GetBuffer(deletechars, &vdel, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|      0|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (1740:13): [True: 0, False: 0]
  ------------------
 1741|      0|            if (table != NULL)
  ------------------
  |  Branch (1741:17): [True: 0, False: 0]
  ------------------
 1742|      0|                PyBuffer_Release(&vtable);
 1743|      0|            return NULL;
 1744|      0|        }
 1745|      0|    }
 1746|      3|    else {
 1747|      3|        vdel.buf = NULL;
 1748|      3|        vdel.len = 0;
 1749|      3|    }
 1750|       |
 1751|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1752|      3|    result = PyByteArray_FromStringAndSize((char *)NULL, inlen);
 1753|      3|    if (result == NULL)
  ------------------
  |  Branch (1753:9): [True: 0, False: 3]
  ------------------
 1754|      0|        goto done;
 1755|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1756|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1757|       |
 1758|      3|    if (vdel.len == 0 && table_chars != NULL) {
  ------------------
  |  Branch (1758:9): [True: 3, False: 0]
  |  Branch (1758:26): [True: 3, False: 0]
  ------------------
 1759|       |        /* If no deletions are required, use faster code */
 1760|    771|        for (i = inlen; --i >= 0; ) {
  ------------------
  |  Branch (1760:25): [True: 768, False: 3]
  ------------------
 1761|    768|            c = Py_CHARMASK(*input++);
  ------------------
  |  |  163|    768|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 1762|    768|            *output++ = table_chars[c];
 1763|    768|        }
 1764|      3|        goto done;
 1765|      3|    }
 1766|       |
 1767|      0|    if (table_chars == NULL) {
  ------------------
  |  Branch (1767:9): [True: 0, False: 0]
  ------------------
 1768|      0|        for (i = 0; i < 256; i++)
  ------------------
  |  Branch (1768:21): [True: 0, False: 0]
  ------------------
 1769|      0|            trans_table[i] = Py_CHARMASK(i);
  ------------------
  |  |  163|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 1770|      0|    } else {
 1771|      0|        for (i = 0; i < 256; i++)
  ------------------
  |  Branch (1771:21): [True: 0, False: 0]
  ------------------
 1772|      0|            trans_table[i] = Py_CHARMASK(table_chars[i]);
  ------------------
  |  |  163|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 1773|      0|    }
 1774|       |
 1775|      0|    for (i = 0; i < vdel.len; i++)
  ------------------
  |  Branch (1775:17): [True: 0, False: 0]
  ------------------
 1776|      0|        trans_table[(int) Py_CHARMASK( ((unsigned char*)vdel.buf)[i] )] = -1;
  ------------------
  |  |  163|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 1777|       |
 1778|      0|    for (i = inlen; --i >= 0; ) {
  ------------------
  |  Branch (1778:21): [True: 0, False: 0]
  ------------------
 1779|      0|        c = Py_CHARMASK(*input++);
  ------------------
  |  |  163|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 1780|      0|        if (trans_table[c] != -1)
  ------------------
  |  Branch (1780:13): [True: 0, False: 0]
  ------------------
 1781|      0|            *output++ = (char)trans_table[c];
 1782|      0|    }
 1783|       |    /* Fix the size of the resulting bytearray */
 1784|      0|    if (inlen > 0)
  ------------------
  |  Branch (1784:9): [True: 0, False: 0]
  ------------------
 1785|      0|        if (PyByteArray_Resize(result, output - output_start) < 0) {
  ------------------
  |  Branch (1785:13): [True: 0, False: 0]
  ------------------
 1786|      0|            Py_CLEAR(result);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1787|      0|            goto done;
 1788|      0|        }
 1789|       |
 1790|      3|done:
 1791|      3|    if (table != NULL)
  ------------------
  |  Branch (1791:9): [True: 3, False: 0]
  ------------------
 1792|      3|        PyBuffer_Release(&vtable);
 1793|      3|    if (deletechars != NULL)
  ------------------
  |  Branch (1793:9): [True: 0, False: 3]
  ------------------
 1794|      0|        PyBuffer_Release(&vdel);
 1795|      3|    return result;
 1796|      0|}
bytearrayobject.c:bytearray___init___impl:
  987|      8|{
  988|      8|    Py_ssize_t count;
  989|      8|    PyObject *it;
  990|      8|    PyObject *(*iternext)(PyObject *);
  991|       |
  992|       |    /* Disallow any __init__ call if the object is not resizable (has exports)
  993|       |       to make the handling of non-null `source` init values simpler. */
  994|      8|    if (!_canresize(self)) {
  ------------------
  |  Branch (994:9): [True: 0, False: 8]
  ------------------
  995|      0|        return -1;
  996|      0|    }
  997|       |
  998|       |    /* Empty any previous contents (do this first of all!). */
  999|      8|    if (PyByteArray_Resize((PyObject *)self, 0) < 0) {
  ------------------
  |  Branch (999:9): [True: 0, False: 8]
  ------------------
 1000|      0|        return -1;
 1001|      0|    }
 1002|      8|    assert(self->ob_bytes_object == Py_GetConstantBorrowed(Py_CONSTANT_EMPTY_BYTES));
  ------------------
  |  Branch (1002:5): [True: 8, False: 0]
  ------------------
 1003|      8|    assert(self->ob_exports == 0);
  ------------------
  |  Branch (1003:5): [True: 8, False: 0]
  ------------------
 1004|       |
 1005|       |    /* Make a quick exit if no first argument */
 1006|      8|    if (arg == NULL) {
  ------------------
  |  Branch (1006:9): [True: 2, False: 6]
  ------------------
 1007|      2|        if (encoding != NULL || errors != NULL) {
  ------------------
  |  Branch (1007:13): [True: 0, False: 2]
  |  Branch (1007:33): [True: 0, False: 2]
  ------------------
 1008|      0|            PyErr_SetString(PyExc_TypeError,
 1009|      0|                            encoding != NULL ?
  ------------------
  |  Branch (1009:29): [True: 0, False: 0]
  ------------------
 1010|      0|                            "encoding without a string argument" :
 1011|      0|                            "errors without a string argument");
 1012|      0|            return -1;
 1013|      0|        }
 1014|      2|        return 0;
 1015|      2|    }
 1016|       |
 1017|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1018|       |        /* Encode via the codec registry */
 1019|      0|        PyObject *encoded, *new;
 1020|      0|        if (encoding == NULL) {
  ------------------
  |  Branch (1020:13): [True: 0, False: 0]
  ------------------
 1021|      0|            PyErr_SetString(PyExc_TypeError,
 1022|      0|                            "string argument without an encoding");
 1023|      0|            return -1;
 1024|      0|        }
 1025|      0|        encoded = PyUnicode_AsEncodedString(arg, encoding, errors);
 1026|      0|        if (encoded == NULL) {
  ------------------
  |  Branch (1026:13): [True: 0, False: 0]
  ------------------
 1027|      0|            return -1;
 1028|      0|        }
 1029|      0|        assert(PyBytes_Check(encoded));
  ------------------
  |  Branch (1029:9): [True: 0, False: 0]
  ------------------
 1030|       |
 1031|       |        /* Most encodes return a new unique bytes, just use it as buffer. */
 1032|      0|        if (_PyObject_IsUniquelyReferenced(encoded)
  ------------------
  |  Branch (1032:13): [True: 0, False: 0]
  ------------------
 1033|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1034|      0|        {
 1035|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1036|      0|            self->ob_bytes_object = encoded;
 1037|      0|            bytearray_reinit_from_bytes(self, size);
 1038|      0|            return 0;
 1039|      0|        }
 1040|      0|        new = bytearray_iconcat((PyObject*)self, encoded);
 1041|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1042|      0|        if (new == NULL)
  ------------------
  |  Branch (1042:13): [True: 0, False: 0]
  ------------------
 1043|      0|            return -1;
 1044|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1045|      0|        return 0;
 1046|      0|    }
 1047|       |
 1048|       |    /* If it's not unicode, there can't be encoding or errors */
 1049|      6|    if (encoding != NULL || errors != NULL) {
  ------------------
  |  Branch (1049:9): [True: 0, False: 6]
  |  Branch (1049:29): [True: 0, False: 6]
  ------------------
 1050|      0|        PyErr_SetString(PyExc_TypeError,
 1051|      0|                        encoding != NULL ?
  ------------------
  |  Branch (1051:25): [True: 0, False: 0]
  ------------------
 1052|      0|                        "encoding without a string argument" :
 1053|      0|                        "errors without a string argument");
 1054|      0|        return -1;
 1055|      0|    }
 1056|       |
 1057|       |    /* Is it an int? */
 1058|      6|    if (_PyIndex_Check(arg)) {
  ------------------
  |  Branch (1058:9): [True: 6, False: 0]
  ------------------
 1059|      6|        count = PyNumber_AsSsize_t(arg, PyExc_OverflowError);
 1060|      6|        if (count == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1060:13): [True: 0, False: 6]
  |  Branch (1060:28): [True: 0, False: 0]
  ------------------
 1061|      0|            if (!PyErr_ExceptionMatches(PyExc_TypeError))
  ------------------
  |  Branch (1061:17): [True: 0, False: 0]
  ------------------
 1062|      0|                return -1;
 1063|      0|            PyErr_Clear();  /* fall through */
 1064|      0|        }
 1065|      6|        else {
 1066|      6|            if (count < 0) {
  ------------------
  |  Branch (1066:17): [True: 0, False: 6]
  ------------------
 1067|      0|                PyErr_SetString(PyExc_ValueError, "negative count");
 1068|      0|                return -1;
 1069|      0|            }
 1070|      6|            if (count > 0) {
  ------------------
  |  Branch (1070:17): [True: 6, False: 0]
  ------------------
 1071|      6|                if (PyByteArray_Resize((PyObject *)self, count))
  ------------------
  |  Branch (1071:21): [True: 0, False: 6]
  ------------------
 1072|      0|                    return -1;
 1073|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1074|      6|            }
 1075|      6|            return 0;
 1076|      6|        }
 1077|      6|    }
 1078|       |
 1079|       |    /* Use the buffer API */
 1080|      0|    if (PyObject_CheckBuffer(arg)) {
  ------------------
  |  Branch (1080:9): [True: 0, False: 0]
  ------------------
 1081|      0|        Py_ssize_t size;
 1082|      0|        Py_buffer view;
 1083|      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 (1083:13): [True: 0, False: 0]
  ------------------
 1084|      0|            return -1;
 1085|      0|        size = view.len;
 1086|      0|        if (PyByteArray_Resize((PyObject *)self, size) < 0) goto fail;
  ------------------
  |  Branch (1086:13): [True: 0, False: 0]
  ------------------
 1087|      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 (1087:13): [True: 0, False: 0]
  ------------------
 1088|      0|            &view, size, 'C') < 0)
 1089|      0|            goto fail;
 1090|      0|        PyBuffer_Release(&view);
 1091|      0|        return 0;
 1092|      0|    fail:
 1093|      0|        PyBuffer_Release(&view);
 1094|      0|        return -1;
 1095|      0|    }
 1096|       |
 1097|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1098|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1099|      0|        if (PyByteArray_Resize((PyObject *)self, size) < 0) {
  ------------------
  |  Branch (1099:13): [True: 0, False: 0]
  ------------------
 1100|      0|            return -1;
 1101|      0|        }
 1102|      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)
  ------------------
 1103|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1104|      0|        for (Py_ssize_t i = 0; i < size; i++) {
  ------------------
  |  Branch (1104:32): [True: 0, False: 0]
  ------------------
 1105|      0|            int value;
 1106|      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 (1106:17): [True: 0, False: 0]
  ------------------
 1107|       |                /* Resize to 0 and go through slowpath */
 1108|      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 (1108:21): [True: 0, False: 0]
  ------------------
 1109|      0|                   if (PyByteArray_Resize((PyObject *)self, 0) < 0) {
  ------------------
  |  Branch (1109:24): [True: 0, False: 0]
  ------------------
 1110|      0|                       return -1;
 1111|      0|                   }
 1112|      0|                }
 1113|      0|                goto slowpath;
 1114|      0|            }
 1115|      0|            int rc = _getbytevalue(items[i], &value);
 1116|      0|            if (!rc) {
  ------------------
  |  Branch (1116:17): [True: 0, False: 0]
  ------------------
 1117|      0|                return -1;
 1118|      0|            }
 1119|      0|            s[i] = value;
 1120|      0|        }
 1121|      0|        return 0;
 1122|      0|    }
 1123|      0|slowpath:
 1124|       |    /* Get the iterator */
 1125|      0|    it = PyObject_GetIter(arg);
 1126|      0|    if (it == NULL) {
  ------------------
  |  Branch (1126:9): [True: 0, False: 0]
  ------------------
 1127|      0|        if (PyErr_ExceptionMatches(PyExc_TypeError)) {
  ------------------
  |  Branch (1127:13): [True: 0, False: 0]
  ------------------
 1128|      0|            PyErr_Format(PyExc_TypeError,
 1129|      0|                         "cannot convert '%.200s' object to bytearray",
 1130|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1131|      0|        }
 1132|      0|        return -1;
 1133|      0|    }
 1134|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1135|       |
 1136|       |    /* Run the iterator to exhaustion */
 1137|      0|    for (;;) {
 1138|      0|        PyObject *item;
 1139|      0|        int rc, value;
 1140|       |
 1141|       |        /* Get the next item */
 1142|      0|        item = iternext(it);
 1143|      0|        if (item == NULL) {
  ------------------
  |  Branch (1143:13): [True: 0, False: 0]
  ------------------
 1144|      0|            if (PyErr_Occurred()) {
  ------------------
  |  Branch (1144:17): [True: 0, False: 0]
  ------------------
 1145|      0|                if (!PyErr_ExceptionMatches(PyExc_StopIteration))
  ------------------
  |  Branch (1145:21): [True: 0, False: 0]
  ------------------
 1146|      0|                    goto error;
 1147|      0|                PyErr_Clear();
 1148|      0|            }
 1149|      0|            break;
 1150|      0|        }
 1151|       |
 1152|       |        /* Interpret it as an int (__index__) */
 1153|      0|        rc = _getbytevalue(item, &value);
 1154|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1155|      0|        if (!rc)
  ------------------
  |  Branch (1155:13): [True: 0, False: 0]
  ------------------
 1156|      0|            goto error;
 1157|       |
 1158|       |        /* Append the byte */
 1159|      0|        if (Py_SIZE(self) + 1 < self->ob_alloc) {
  ------------------
  |  |  214|      0|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1159:13): [True: 0, False: 0]
  ------------------
 1160|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1161|      0|            bytearray_write_trailing_null_byte(self);
 1162|      0|        }
 1163|      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 (1163:18): [True: 0, False: 0]
  ------------------
 1164|      0|            goto error;
 1165|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1166|      0|    }
 1167|       |
 1168|       |    /* Clean up and return success */
 1169|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1170|      0|    return 0;
 1171|       |
 1172|      0| error:
 1173|       |    /* Error handling when it != NULL */
 1174|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1175|      0|    return -1;
 1176|      0|}
bytearrayobject.c:bytearray_new:
  962|      8|{
  963|      8|    PyObject *op = PyType_GenericNew(type, args, kwds);
  964|      8|    if (op == NULL) {
  ------------------
  |  Branch (964:9): [True: 0, False: 8]
  ------------------
  965|      0|        return NULL;
  966|      0|    }
  967|      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 (967:31): [True: 8, False: 0]
  ------------------
  968|      8|    self->ob_bytes_object = Py_GetConstant(Py_CONSTANT_EMPTY_BYTES);
  ------------------
  |  |  598|      8|#define Py_CONSTANT_EMPTY_BYTES 8
  ------------------
  969|      8|    bytearray_reinit_from_bytes(self, 0);
  970|      8|    self->ob_exports = 0;
  971|      8|    return op;
  972|      8|}
bytearrayobject.c:bytearrayiter_dealloc:
 3027|      2|{
 3028|      2|    bytesiterobject *it = _bytesiterobject_CAST(self);
  ------------------
  |  | 3023|      2|#define _bytesiterobject_CAST(op)   ((bytesiterobject *)(op))
  ------------------
 3029|      2|    _PyObject_GC_UNTRACK(it);
  ------------------
  |  |  507|      2|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3030|      2|    Py_XDECREF(it->it_seq);
  ------------------
  |  |  524|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3031|      2|    PyObject_GC_Del(it);
 3032|      2|}
bytearrayobject.c:bytearray_iter:
 3181|      2|{
 3182|      2|    bytesiterobject *it;
 3183|       |
 3184|      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 (3184:9): [True: 0, False: 2]
  ------------------
 3185|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3186|      0|        return NULL;
 3187|      0|    }
 3188|      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))
  |  |  ------------------
  ------------------
 3189|      2|    if (it == NULL)
  ------------------
  |  Branch (3189:9): [True: 0, False: 2]
  ------------------
 3190|      0|        return NULL;
 3191|      2|    it->it_index = 0;  // -1 indicates exhausted
 3192|      2|    it->it_seq = (PyByteArrayObject *)Py_NewRef(seq);
  ------------------
  |  |  550|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3193|      2|    _PyObject_GC_TRACK(it);
  ------------------
  |  |  505|      2|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3194|      2|    return (PyObject *)it;
 3195|      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)])
  |  |  ------------------
  |  |  |  |  163|     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)])
  |  |  ------------------
  |  |  |  |  163|     51|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
  273|     51|    }
  274|     51|}
_Py_bytes_find:
  515|     28|{
  516|     28|    Py_ssize_t result = find_internal(str, len, "find", sub, start, end, +1);
  517|     28|    if (result == -2)
  ------------------
  |  Branch (517:9): [True: 0, False: 28]
  ------------------
  518|      0|        return NULL;
  519|     28|    return PyLong_FromSsize_t(result);
  520|     28|}
bytes_methods.c:find_internal:
  457|     28|{
  458|     28|    char byte;
  459|     28|    Py_buffer subbuf;
  460|     28|    const char *sub;
  461|     28|    Py_ssize_t sub_len;
  462|     28|    Py_ssize_t res;
  463|       |
  464|     28|    if (!parse_args_finds_byte(function_name, &subobj, &byte)) {
  ------------------
  |  Branch (464:9): [True: 0, False: 28]
  ------------------
  465|      0|        return -2;
  466|      0|    }
  467|       |
  468|     28|    if (subobj) {
  ------------------
  |  Branch (468:9): [True: 0, False: 28]
  ------------------
  469|      0|        if (PyObject_GetBuffer(subobj, &subbuf, PyBUF_SIMPLE) != 0)
  ------------------
  |  |  108|      0|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (469:13): [True: 0, False: 0]
  ------------------
  470|      0|            return -2;
  471|       |
  472|      0|        sub = subbuf.buf;
  473|      0|        sub_len = subbuf.len;
  474|      0|    }
  475|     28|    else {
  476|     28|        sub = &byte;
  477|     28|        sub_len = 1;
  478|     28|    }
  479|       |
  480|     28|    ADJUST_INDICES(start, end, len);
  ------------------
  |  |  434|     28|    do {                                \
  |  |  435|     28|        if (end > len) {                \
  |  |  ------------------
  |  |  |  Branch (435:13): [True: 28, False: 0]
  |  |  ------------------
  |  |  436|     28|            end = len;                  \
  |  |  437|     28|        }                               \
  |  |  438|     28|        else if (end < 0) {             \
  |  |  ------------------
  |  |  |  Branch (438:18): [True: 0, False: 0]
  |  |  ------------------
  |  |  439|      0|            end += len;                 \
  |  |  440|      0|            if (end < 0) {              \
  |  |  ------------------
  |  |  |  Branch (440:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  441|      0|                end = 0;                \
  |  |  442|      0|            }                           \
  |  |  443|      0|        }                               \
  |  |  444|     28|        if (start < 0) {                \
  |  |  ------------------
  |  |  |  Branch (444:13): [True: 0, False: 28]
  |  |  ------------------
  |  |  445|      0|            start += len;               \
  |  |  446|      0|            if (start < 0) {            \
  |  |  ------------------
  |  |  |  Branch (446:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  447|      0|                start = 0;              \
  |  |  448|      0|            }                           \
  |  |  449|      0|        }                               \
  |  |  450|     28|    } while (0)
  |  |  ------------------
  |  |  |  Branch (450:14): [Folded, False: 28]
  |  |  ------------------
  ------------------
  481|     28|    if (end - start < sub_len)
  ------------------
  |  Branch (481:9): [True: 0, False: 28]
  ------------------
  482|      0|        res = -1;
  483|     28|    else if (sub_len == 1) {
  ------------------
  |  Branch (483:14): [True: 28, False: 0]
  ------------------
  484|     28|        if (dir > 0)
  ------------------
  |  Branch (484:13): [True: 28, False: 0]
  ------------------
  485|     28|            res = stringlib_find_char(
  486|     28|                str + start, end - start,
  487|     28|                *sub);
  488|      0|        else
  489|      0|            res = stringlib_rfind_char(
  490|      0|                str + start, end - start,
  491|      0|                *sub);
  492|     28|        if (res >= 0)
  ------------------
  |  Branch (492:13): [True: 25, False: 3]
  ------------------
  493|     25|            res += start;
  494|     28|    }
  495|      0|    else {
  496|      0|        if (dir > 0)
  ------------------
  |  Branch (496:13): [True: 0, False: 0]
  ------------------
  497|      0|            res = stringlib_find_slice(
  498|      0|                str, len,
  499|      0|                sub, sub_len, start, end);
  500|      0|        else
  501|      0|            res = stringlib_rfind_slice(
  502|      0|                str, len,
  503|      0|                sub, sub_len, start, end);
  504|      0|    }
  505|       |
  506|     28|    if (subobj)
  ------------------
  |  Branch (506:9): [True: 0, False: 28]
  ------------------
  507|      0|        PyBuffer_Release(&subbuf);
  508|       |
  509|     28|    return res;
  510|     28|}
bytes_methods.c:parse_args_finds_byte:
  405|     28|{
  406|     28|    if (PyObject_CheckBuffer(*subobj)) {
  ------------------
  |  Branch (406:9): [True: 0, False: 28]
  ------------------
  407|      0|        return 1;
  408|      0|    }
  409|       |
  410|     28|    if (!_PyIndex_Check(*subobj)) {
  ------------------
  |  Branch (410:9): [True: 0, False: 28]
  ------------------
  411|      0|        PyErr_Format(PyExc_TypeError,
  412|      0|                     "argument should be integer or bytes-like object, "
  413|      0|                     "not '%.200s'",
  414|      0|                     Py_TYPE(*subobj)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  415|      0|        return 0;
  416|      0|    }
  417|       |
  418|     28|    Py_ssize_t ival = PyNumber_AsSsize_t(*subobj, NULL);
  419|     28|    if (ival == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (419:9): [True: 0, False: 28]
  |  Branch (419:23): [True: 0, False: 0]
  ------------------
  420|      0|        return 0;
  421|      0|    }
  422|     28|    if (ival < 0 || ival > 255) {
  ------------------
  |  Branch (422:9): [True: 0, False: 28]
  |  Branch (422:21): [True: 0, False: 28]
  ------------------
  423|      0|        PyErr_SetString(PyExc_ValueError, "byte must be in range(0, 256)");
  424|      0|        return 0;
  425|      0|    }
  426|       |
  427|     28|    *subobj = NULL;
  428|     28|    *byte = (char)ival;
  429|     28|    return 1;
  430|     28|}

PyBytes_FromStringAndSize:
  136|  10.0k|{
  137|  10.0k|    PyBytesObject *op;
  138|  10.0k|    if (size < 0) {
  ------------------
  |  Branch (138:9): [True: 0, False: 10.0k]
  ------------------
  139|      0|        PyErr_SetString(PyExc_SystemError,
  140|      0|            "Negative size passed to PyBytes_FromStringAndSize");
  141|      0|        return NULL;
  142|      0|    }
  143|  10.0k|    if (size == 1 && str != NULL) {
  ------------------
  |  Branch (143:9): [True: 1.56k, False: 8.48k]
  |  Branch (143:22): [True: 1.56k, False: 0]
  ------------------
  144|  1.56k|        op = CHARACTER(*str & 255);
  ------------------
  |  |   40|  1.56k|     ((PyBytesObject *)&(CHARACTERS[ch]))
  |  |  ------------------
  |  |  |  |   38|  1.56k|#define CHARACTERS _Py_SINGLETON(bytes_characters)
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|  1.56k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|  1.56k|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  145|  1.56k|        assert(_Py_IsImmortal(op));
  ------------------
  |  Branch (145:9): [True: 1.56k, False: 0]
  ------------------
  146|  1.56k|        return (PyObject *)op;
  147|  1.56k|    }
  148|  8.48k|    if (size == 0) {
  ------------------
  |  Branch (148:9): [True: 65, False: 8.42k]
  ------------------
  149|     65|        return bytes_get_empty();
  150|     65|    }
  151|       |
  152|  8.42k|    op = (PyBytesObject *)_PyBytes_FromSize(size, 0);
  153|  8.42k|    if (op == NULL)
  ------------------
  |  Branch (153:9): [True: 0, False: 8.42k]
  ------------------
  154|      0|        return NULL;
  155|  8.42k|    if (str == NULL)
  ------------------
  |  Branch (155:9): [True: 285, False: 8.13k]
  ------------------
  156|    285|        return (PyObject *) op;
  157|       |
  158|  8.13k|    memcpy(op->ob_sval, str, size);
  159|  8.13k|    return (PyObject *) op;
  160|  8.42k|}
PyBytes_FromString:
  164|     82|{
  165|     82|    size_t size;
  166|     82|    PyBytesObject *op;
  167|       |
  168|     82|    assert(str != NULL);
  ------------------
  |  Branch (168:5): [True: 82, False: 0]
  ------------------
  169|     82|    size = strlen(str);
  170|     82|    if (size > PY_SSIZE_T_MAX - PyBytesObject_SIZE) {
  ------------------
  |  |  137|     82|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
                  if (size > PY_SSIZE_T_MAX - PyBytesObject_SIZE) {
  ------------------
  |  |   30|     82|#define PyBytesObject_SIZE _PyBytesObject_SIZE
  |  |  ------------------
  |  |  |  |   76|     82|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
  |  Branch (170:9): [True: 0, False: 82]
  ------------------
  171|      0|        PyErr_SetString(PyExc_OverflowError,
  172|      0|            "byte string is too long");
  173|      0|        return NULL;
  174|      0|    }
  175|       |
  176|     82|    if (size == 0) {
  ------------------
  |  Branch (176:9): [True: 0, False: 82]
  ------------------
  177|      0|        return bytes_get_empty();
  178|      0|    }
  179|     82|    else if (size == 1) {
  ------------------
  |  Branch (179:14): [True: 0, False: 82]
  ------------------
  180|      0|        op = CHARACTER(*str & 255);
  ------------------
  |  |   40|      0|     ((PyBytesObject *)&(CHARACTERS[ch]))
  |  |  ------------------
  |  |  |  |   38|      0|#define CHARACTERS _Py_SINGLETON(bytes_characters)
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  181|      0|        assert(_Py_IsImmortal(op));
  ------------------
  |  Branch (181:9): [True: 0, False: 0]
  ------------------
  182|      0|        return (PyObject *)op;
  183|      0|    }
  184|       |
  185|       |    /* Inline PyObject_NewVar */
  186|     82|    op = (PyBytesObject *)PyObject_Malloc(PyBytesObject_SIZE + size);
  ------------------
  |  |   30|     82|#define PyBytesObject_SIZE _PyBytesObject_SIZE
  |  |  ------------------
  |  |  |  |   76|     82|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
  187|     82|    if (op == NULL) {
  ------------------
  |  Branch (187:9): [True: 0, False: 82]
  ------------------
  188|      0|        return PyErr_NoMemory();
  189|      0|    }
  190|     82|    _PyObject_InitVar((PyVarObject*)op, &PyBytes_Type, size);
  191|     82|    set_ob_shash(op, -1);
  192|     82|    memcpy(op->ob_sval, str, size+1);
  193|     82|    return (PyObject *) op;
  194|     82|}
_PyBytes_DecodeEscape2:
 1182|     14|{
 1183|     14|    PyBytesWriter *writer = PyBytesWriter_Create(len);
 1184|     14|    if (writer == NULL) {
  ------------------
  |  Branch (1184:9): [True: 0, False: 14]
  ------------------
 1185|      0|        return NULL;
 1186|      0|    }
 1187|     14|    char *p = PyBytesWriter_GetData(writer);
 1188|       |
 1189|     14|    *first_invalid_escape_char = -1;
 1190|     14|    *first_invalid_escape_ptr = NULL;
 1191|       |
 1192|     14|    const char *end = s + len;
 1193|  1.04M|    while (s < end) {
  ------------------
  |  Branch (1193:12): [True: 1.04M, False: 14]
  ------------------
 1194|  1.04M|        if (*s != '\\') {
  ------------------
  |  Branch (1194:13): [True: 1.04M, False: 38]
  ------------------
 1195|  1.04M|            *p++ = *s++;
 1196|  1.04M|            continue;
 1197|  1.04M|        }
 1198|       |
 1199|     38|        s++;
 1200|     38|        if (s == end) {
  ------------------
  |  Branch (1200:13): [True: 0, False: 38]
  ------------------
 1201|      0|            PyErr_SetString(PyExc_ValueError,
 1202|      0|                            "Trailing \\ in string");
 1203|      0|            goto failed;
 1204|      0|        }
 1205|       |
 1206|     38|        switch (*s++) {
 1207|       |        /* XXX This assumes ASCII! */
 1208|      0|        case '\n': break;
  ------------------
  |  Branch (1208:9): [True: 0, False: 38]
  ------------------
 1209|      8|        case '\\': *p++ = '\\'; break;
  ------------------
  |  Branch (1209:9): [True: 8, False: 30]
  ------------------
 1210|      2|        case '\'': *p++ = '\''; break;
  ------------------
  |  Branch (1210:9): [True: 2, False: 36]
  ------------------
 1211|      0|        case '\"': *p++ = '\"'; break;
  ------------------
  |  Branch (1211:9): [True: 0, False: 38]
  ------------------
 1212|      0|        case 'b': *p++ = '\b'; break;
  ------------------
  |  Branch (1212:9): [True: 0, False: 38]
  ------------------
 1213|      0|        case 'f': *p++ = '\014'; break; /* FF */
  ------------------
  |  Branch (1213:9): [True: 0, False: 38]
  ------------------
 1214|      0|        case 't': *p++ = '\t'; break;
  ------------------
  |  Branch (1214:9): [True: 0, False: 38]
  ------------------
 1215|      0|        case 'n': *p++ = '\n'; break;
  ------------------
  |  Branch (1215:9): [True: 0, False: 38]
  ------------------
 1216|      0|        case 'r': *p++ = '\r'; break;
  ------------------
  |  Branch (1216:9): [True: 0, False: 38]
  ------------------
 1217|      7|        case 'v': *p++ = '\013'; break; /* VT */
  ------------------
  |  Branch (1217:9): [True: 7, False: 31]
  ------------------
 1218|      0|        case 'a': *p++ = '\007'; break; /* BEL, not classic C */
  ------------------
  |  Branch (1218:9): [True: 0, False: 38]
  ------------------
 1219|      0|        case '0': case '1': case '2': case '3':
  ------------------
  |  Branch (1219:9): [True: 0, False: 38]
  |  Branch (1219:19): [True: 0, False: 38]
  |  Branch (1219:29): [True: 0, False: 38]
  |  Branch (1219:39): [True: 0, False: 38]
  ------------------
 1220|      0|        case '4': case '5': case '6': case '7':
  ------------------
  |  Branch (1220:9): [True: 0, False: 38]
  |  Branch (1220:19): [True: 0, False: 38]
  |  Branch (1220:29): [True: 0, False: 38]
  |  Branch (1220:39): [True: 0, False: 38]
  ------------------
 1221|      0|        {
 1222|      0|            int c = s[-1] - '0';
 1223|      0|            if (s < end && '0' <= *s && *s <= '7') {
  ------------------
  |  Branch (1223:17): [True: 0, False: 0]
  |  Branch (1223:28): [True: 0, False: 0]
  |  Branch (1223:41): [True: 0, False: 0]
  ------------------
 1224|      0|                c = (c<<3) + *s++ - '0';
 1225|      0|                if (s < end && '0' <= *s && *s <= '7')
  ------------------
  |  Branch (1225:21): [True: 0, False: 0]
  |  Branch (1225:32): [True: 0, False: 0]
  |  Branch (1225:45): [True: 0, False: 0]
  ------------------
 1226|      0|                    c = (c<<3) + *s++ - '0';
 1227|      0|            }
 1228|      0|            if (c > 0377) {
  ------------------
  |  Branch (1228:17): [True: 0, False: 0]
  ------------------
 1229|      0|                if (*first_invalid_escape_char == -1) {
  ------------------
  |  Branch (1229:21): [True: 0, False: 0]
  ------------------
 1230|      0|                    *first_invalid_escape_char = c;
 1231|       |                    /* Back up 3 chars, since we've already incremented s. */
 1232|      0|                    *first_invalid_escape_ptr = s - 3;
 1233|      0|                }
 1234|      0|            }
 1235|      0|            *p++ = c;
 1236|      0|            break;
 1237|      0|        }
 1238|      2|        case 'x':
  ------------------
  |  Branch (1238:9): [True: 2, False: 36]
  ------------------
 1239|      2|            if (s+1 < end) {
  ------------------
  |  Branch (1239:17): [True: 2, False: 0]
  ------------------
 1240|      2|                int digit1, digit2;
 1241|      2|                digit1 = _PyLong_DigitValue[Py_CHARMASK(s[0])];
  ------------------
  |  |  163|      2|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 1242|      2|                digit2 = _PyLong_DigitValue[Py_CHARMASK(s[1])];
  ------------------
  |  |  163|      2|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 1243|      2|                if (digit1 < 16 && digit2 < 16) {
  ------------------
  |  Branch (1243:21): [True: 2, False: 0]
  |  Branch (1243:36): [True: 2, False: 0]
  ------------------
 1244|      2|                    *p++ = (unsigned char)((digit1 << 4) + digit2);
 1245|      2|                    s += 2;
 1246|      2|                    break;
 1247|      2|                }
 1248|      2|            }
 1249|       |            /* invalid hexadecimal digits */
 1250|       |
 1251|      0|            if (!errors || strcmp(errors, "strict") == 0) {
  ------------------
  |  Branch (1251:17): [True: 0, False: 0]
  |  Branch (1251:28): [True: 0, False: 0]
  ------------------
 1252|      0|                PyErr_Format(PyExc_ValueError,
 1253|      0|                             "invalid \\x escape at position %zd",
 1254|      0|                             s - 2 - (end - len));
 1255|      0|                goto failed;
 1256|      0|            }
 1257|      0|            if (strcmp(errors, "replace") == 0) {
  ------------------
  |  Branch (1257:17): [True: 0, False: 0]
  ------------------
 1258|      0|                *p++ = '?';
 1259|      0|            } else if (strcmp(errors, "ignore") == 0)
  ------------------
  |  Branch (1259:24): [True: 0, False: 0]
  ------------------
 1260|      0|                /* do nothing */;
 1261|      0|            else {
 1262|      0|                PyErr_Format(PyExc_ValueError,
 1263|      0|                             "decoding error; unknown "
 1264|      0|                             "error handling code: %.400s",
 1265|      0|                             errors);
 1266|      0|                goto failed;
 1267|      0|            }
 1268|       |            /* skip \x */
 1269|      0|            if (s < end && Py_ISXDIGIT(s[0]))
  ------------------
  |  |   25|      0|#define Py_ISXDIGIT(c) (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_XDIGIT)
  |  |  ------------------
  |  |  |  |  163|      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 (1269:17): [True: 0, False: 0]
  ------------------
 1270|      0|                s++; /* and a hexdigit */
 1271|      0|            break;
 1272|       |
 1273|     19|        default:
  ------------------
  |  Branch (1273:9): [True: 19, False: 19]
  ------------------
 1274|     19|            if (*first_invalid_escape_char == -1) {
  ------------------
  |  Branch (1274:17): [True: 14, False: 5]
  ------------------
 1275|     14|                *first_invalid_escape_char = (unsigned char)s[-1];
 1276|       |                /* Back up one char, since we've already incremented s. */
 1277|     14|                *first_invalid_escape_ptr = s - 1;
 1278|     14|            }
 1279|     19|            *p++ = '\\';
 1280|     19|            s--;
 1281|     38|        }
 1282|     38|    }
 1283|       |
 1284|     14|    return PyBytesWriter_FinishWithPointer(writer, p);
 1285|       |
 1286|      0|  failed:
 1287|      0|    PyBytesWriter_Discard(writer);
 1288|       |    return NULL;
 1289|     14|}
PyBytes_Size:
 1333|     38|{
 1334|     38|    if (!PyBytes_Check(op)) {
  ------------------
  |  |   28|     38|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     38|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1334:9): [True: 0, False: 38]
  ------------------
 1335|      0|        PyErr_Format(PyExc_TypeError,
 1336|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1337|      0|        return -1;
 1338|      0|    }
 1339|     38|    return Py_SIZE(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1340|     38|}
PyBytes_AsString:
 1344|  4.40k|{
 1345|  4.40k|    if (!PyBytes_Check(op)) {
  ------------------
  |  |   28|  4.40k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.40k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1345:9): [True: 0, False: 4.40k]
  ------------------
 1346|      0|        PyErr_Format(PyExc_TypeError,
 1347|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1348|      0|        return NULL;
 1349|      0|    }
 1350|  4.40k|    return ((PyBytesObject *)op)->ob_sval;
 1351|  4.40k|}
PyBytes_AsStringAndSize:
 1357|    253|{
 1358|    253|    if (s == NULL) {
  ------------------
  |  Branch (1358:9): [True: 0, False: 253]
  ------------------
 1359|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1360|      0|        return -1;
 1361|      0|    }
 1362|       |
 1363|    253|    if (!PyBytes_Check(obj)) {
  ------------------
  |  |   28|    253|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    253|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1363:9): [True: 0, False: 253]
  ------------------
 1364|      0|        PyErr_Format(PyExc_TypeError,
 1365|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1366|      0|        return -1;
 1367|      0|    }
 1368|       |
 1369|    253|    *s = PyBytes_AS_STRING(obj);
  ------------------
  |  |   27|    253|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    253|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    253|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1370|    253|    if (len != NULL)
  ------------------
  |  Branch (1370:9): [True: 243, False: 10]
  ------------------
 1371|    243|        *len = PyBytes_GET_SIZE(obj);
  ------------------
  |  |   33|    243|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|    243|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    243|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1372|     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 (1372:14): [True: 0, False: 10]
  ------------------
 1373|      0|        PyErr_SetString(PyExc_ValueError,
 1374|      0|                        "embedded null byte");
 1375|      0|        return -1;
 1376|      0|    }
 1377|    253|    return 0;
 1378|    253|}
PyBytes_Repr:
 1437|      1|{
 1438|      1|    return _Py_bytes_repr(PyBytes_AS_STRING(obj), PyBytes_GET_SIZE(obj),
  ------------------
  |  |   27|      1|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return _Py_bytes_repr(PyBytes_AS_STRING(obj), PyBytes_GET_SIZE(obj),
  ------------------
  |  |   33|      1|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1439|      1|                          smartquotes, "bytes");
 1440|      1|}
_Py_bytes_repr:
 1445|      1|{
 1446|      1|    Py_ssize_t i;
 1447|      1|    Py_ssize_t newsize, squotes, dquotes;
 1448|      1|    PyObject *v;
 1449|      1|    unsigned char quote;
 1450|      1|    Py_UCS1 *p;
 1451|       |
 1452|       |    /* Compute size of output string */
 1453|      1|    squotes = dquotes = 0;
 1454|      1|    newsize = 3; /* b'' */
 1455|  1.04M|    for (i = 0; i < length; i++) {
  ------------------
  |  Branch (1455:17): [True: 1.04M, False: 1]
  ------------------
 1456|  1.04M|        unsigned char c = data[i];
 1457|  1.04M|        Py_ssize_t incr = 1;
 1458|  1.04M|        switch(c) {
 1459|      2|        case '\'': squotes++; break;
  ------------------
  |  Branch (1459:9): [True: 2, False: 1.04M]
  ------------------
 1460|      2|        case '"':  dquotes++; break;
  ------------------
  |  Branch (1460:9): [True: 2, False: 1.04M]
  ------------------
 1461|     27|        case '\\': case '\t': case '\n': case '\r':
  ------------------
  |  Branch (1461:9): [True: 27, False: 1.04M]
  |  Branch (1461:20): [True: 0, False: 1.04M]
  |  Branch (1461:31): [True: 0, False: 1.04M]
  |  Branch (1461:42): [True: 0, False: 1.04M]
  ------------------
 1462|     27|            incr = 2; break; /* \C */
 1463|  1.04M|        default:
  ------------------
  |  Branch (1463:9): [True: 1.04M, False: 31]
  ------------------
 1464|  1.04M|            if (c < ' ' || c >= 0x7f)
  ------------------
  |  Branch (1464:17): [True: 26, False: 1.04M]
  |  Branch (1464:28): [True: 2, False: 1.04M]
  ------------------
 1465|     28|                incr = 4; /* \xHH */
 1466|  1.04M|        }
 1467|  1.04M|        if (newsize > PY_SSIZE_T_MAX - incr)
  ------------------
  |  |  137|  1.04M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1467:13): [True: 0, False: 1.04M]
  ------------------
 1468|      0|            goto overflow;
 1469|  1.04M|        newsize += incr;
 1470|  1.04M|    }
 1471|      1|    quote = '\'';
 1472|      1|    if (smartquotes && squotes && !dquotes)
  ------------------
  |  Branch (1472:9): [True: 1, False: 0]
  |  Branch (1472:24): [True: 1, False: 0]
  |  Branch (1472:35): [True: 0, False: 1]
  ------------------
 1473|      0|        quote = '"';
 1474|      1|    if (squotes && quote == '\'') {
  ------------------
  |  Branch (1474:9): [True: 1, False: 0]
  |  Branch (1474:20): [True: 1, False: 0]
  ------------------
 1475|      1|        if (newsize > PY_SSIZE_T_MAX - squotes)
  ------------------
  |  |  137|      1|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1475:13): [True: 0, False: 1]
  ------------------
 1476|      0|            goto overflow;
 1477|      1|        newsize += squotes;
 1478|      1|    }
 1479|       |
 1480|      1|    v = PyUnicode_New(newsize, 127);
 1481|      1|    if (v == NULL) {
  ------------------
  |  Branch (1481:9): [True: 0, False: 1]
  ------------------
 1482|      0|        return NULL;
 1483|      0|    }
 1484|      1|    p = PyUnicode_1BYTE_DATA(v);
  ------------------
  |  |  291|      1|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      1|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1485|       |
 1486|      1|    *p++ = 'b', *p++ = quote;
 1487|  1.04M|    for (i = 0; i < length; i++) {
  ------------------
  |  Branch (1487:17): [True: 1.04M, False: 1]
  ------------------
 1488|  1.04M|        unsigned char c = data[i];
 1489|  1.04M|        if (c == quote || c == '\\')
  ------------------
  |  Branch (1489:13): [True: 2, False: 1.04M]
  |  Branch (1489:27): [True: 27, False: 1.04M]
  ------------------
 1490|     29|            *p++ = '\\', *p++ = c;
 1491|  1.04M|        else if (c == '\t')
  ------------------
  |  Branch (1491:18): [True: 0, False: 1.04M]
  ------------------
 1492|      0|            *p++ = '\\', *p++ = 't';
 1493|  1.04M|        else if (c == '\n')
  ------------------
  |  Branch (1493:18): [True: 0, False: 1.04M]
  ------------------
 1494|      0|            *p++ = '\\', *p++ = 'n';
 1495|  1.04M|        else if (c == '\r')
  ------------------
  |  Branch (1495:18): [True: 0, False: 1.04M]
  ------------------
 1496|      0|            *p++ = '\\', *p++ = 'r';
 1497|  1.04M|        else if (c < ' ' || c >= 0x7f) {
  ------------------
  |  Branch (1497:18): [True: 26, False: 1.04M]
  |  Branch (1497:29): [True: 2, False: 1.04M]
  ------------------
 1498|     28|            *p++ = '\\';
 1499|     28|            *p++ = 'x';
 1500|     28|            *p++ = Py_hexdigits[(c & 0xf0) >> 4];
 1501|     28|            *p++ = Py_hexdigits[c & 0xf];
 1502|     28|        }
 1503|  1.04M|        else
 1504|  1.04M|            *p++ = c;
 1505|  1.04M|    }
 1506|      1|    *p++ = quote;
 1507|      1|    assert(_PyUnicode_CheckConsistency(v, 1));
  ------------------
  |  Branch (1507:5): [True: 1, False: 0]
  ------------------
 1508|      1|    return v;
 1509|       |
 1510|      0|  overflow:
 1511|      0|    PyErr_Format(PyExc_OverflowError,
 1512|      0|                 "%s object is too large to make repr", classname);
 1513|       |    return NULL;
 1514|      1|}
_PyBytes_IsMutable:
 3333|    512|{
 3334|    512|    assert(PyBytes_Check(self));
  ------------------
  |  Branch (3334:5): [True: 512, False: 0]
  ------------------
 3335|       |    // Do not use _PyObject_IsUniquelyReferenced(): this function is called
 3336|       |    // by bytearray and PyBytesWriter which can be used by multiple threads.
 3337|    512|    assert(Py_REFCNT(self) == 1);
  ------------------
  |  Branch (3337:5): [True: 512, False: 0]
  ------------------
 3338|    512|    assert(!_Py_IsImmortal(self));
  ------------------
  |  Branch (3338:5): [True: 512, False: 0]
  ------------------
 3339|       |
 3340|       |    // Check that the object is not a singleton
 3341|    512|    Py_ssize_t size = PyBytes_GET_SIZE(self);
  ------------------
  |  |   33|    512|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|    512|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    512|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3342|    512|    if (size == 0) {
  ------------------
  |  Branch (3342:9): [True: 0, False: 512]
  ------------------
 3343|      0|        assert(self != bytes_get_empty());
  ------------------
  |  Branch (3343:9): [True: 0, False: 0]
  ------------------
 3344|      0|    }
 3345|    512|    else if (size == 1) {
  ------------------
  |  Branch (3345:14): [True: 0, False: 512]
  ------------------
 3346|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3347|      0|        assert(self != (PyObject*)CHARACTER(ch));
  ------------------
  |  Branch (3347:9): [True: 0, False: 0]
  ------------------
 3348|      0|    }
 3349|    512|    return 1;
 3350|    512|}
_PyBytes_ResizeKeepOnError:
 3369|     37|{
 3370|     37|    PyObject *v = *pv;
 3371|     37|    PyObject *result;
 3372|       |
 3373|     37|    if (!PyBytes_Check(v) || newsize < 0) {
  ------------------
  |  |   28|     37|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     74|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3373:9): [True: 0, False: 37]
  |  Branch (3373:30): [True: 0, False: 37]
  ------------------
 3374|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3375|      0|        return -1;
 3376|      0|    }
 3377|       |
 3378|     37|    Py_ssize_t oldsize = PyBytes_GET_SIZE(v);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3379|     37|    if (oldsize == newsize) {
  ------------------
  |  Branch (3379:9): [True: 0, False: 37]
  ------------------
 3380|       |        /* return early if newsize equals to v->ob_size */
 3381|      0|        return 0;
 3382|      0|    }
 3383|       |
 3384|     37|    if (oldsize == 0) {
  ------------------
  |  Branch (3384:9): [True: 6, False: 31]
  ------------------
 3385|      6|        result = _PyBytes_FromSize(newsize, 0);
 3386|      6|        if (result == NULL) {
  ------------------
  |  Branch (3386:13): [True: 0, False: 6]
  ------------------
 3387|      0|            return -1;
 3388|      0|        }
 3389|      6|        *pv = result;
 3390|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3391|      6|        assert(_PyBytes_IsMutable(*pv));
  ------------------
  |  Branch (3391:9): [True: 6, False: 0]
  ------------------
 3392|      6|        return 0;
 3393|      6|    }
 3394|       |
 3395|     31|    if (newsize == 0) {
  ------------------
  |  Branch (3395:9): [True: 0, False: 31]
  ------------------
 3396|      0|        *pv = bytes_get_empty();  // cannot fail
 3397|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3398|      0|        return 0;
 3399|      0|    }
 3400|       |
 3401|     31|    if (!_PyObject_IsUniquelyReferenced(v)) {
  ------------------
  |  Branch (3401:9): [True: 0, False: 31]
  ------------------
 3402|       |        // Allocate and then copy so we don't get a shared immortal
 3403|       |        // one-character singleton!
 3404|      0|        result = _PyBytes_FromSize(newsize, 0);
 3405|      0|        if (!result) {
  ------------------
  |  Branch (3405:13): [True: 0, False: 0]
  ------------------
 3406|      0|            return -1;
 3407|      0|        }
 3408|       |
 3409|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3410|      0|               Py_MIN(oldsize, newsize));
  ------------------
  |  |  120|      0|       __extension__ \
  |  |  121|      0|       ({ _Py_TYPEOF (x) _x = (x); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  122|      0|          _Py_TYPEOF (y) _y = (y); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  123|      0|          _x < _y ? _x : _y; })
  |  |  ------------------
  |  |  |  Branch (123:11): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3411|      0|        *pv = result;
 3412|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3413|      0|        assert(_PyBytes_IsMutable(*pv));
  ------------------
  |  Branch (3413:9): [True: 0, False: 0]
  ------------------
 3414|      0|        return 0;
 3415|      0|    }
 3416|       |
 3417|       |    // Only mutable bytes can be resized in-place
 3418|     31|    assert(_PyBytes_IsMutable(v));
  ------------------
  |  Branch (3418:5): [True: 31, False: 0]
  ------------------
 3419|       |
 3420|     31|    if ((size_t)newsize > (size_t)PY_SSIZE_T_MAX - PyBytesObject_SIZE) {
  ------------------
  |  |  137|     31|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
                  if ((size_t)newsize > (size_t)PY_SSIZE_T_MAX - PyBytesObject_SIZE) {
  ------------------
  |  |   30|     31|#define PyBytesObject_SIZE _PyBytesObject_SIZE
  |  |  ------------------
  |  |  |  |   76|     31|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
  |  Branch (3420:9): [True: 0, False: 31]
  ------------------
 3421|      0|        PyErr_SetString(PyExc_OverflowError,
 3422|      0|                        "byte string is too large");
 3423|      0|        return -1;
 3424|      0|    }
 3425|       |
 3426|       |#ifdef Py_TRACE_REFS
 3427|       |    _Py_ForgetReference(v);
 3428|       |#endif
 3429|     31|    _PyReftracerTrack(v, PyRefTracer_DESTROY);
  ------------------
  |  |  112|     31|    do { \
  |  |  113|     31|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  114|     31|        if (tracer->tracer_func != NULL) { \
  |  |  ------------------
  |  |  |  Branch (114:13): [True: 0, False: 31]
  |  |  ------------------
  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  117|      0|        } \
  |  |  118|     31|    } while(0)
  |  |  ------------------
  |  |  |  Branch (118:13): [Folded, False: 31]
  |  |  ------------------
  ------------------
 3430|       |
 3431|     31|    result = (PyObject *)PyObject_Realloc(v, PyBytesObject_SIZE + newsize);
  ------------------
  |  |   30|     31|#define PyBytesObject_SIZE _PyBytesObject_SIZE
  |  |  ------------------
  |  |  |  |   76|     31|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
 3432|     31|    if (result == NULL) {
  ------------------
  |  Branch (3432:9): [True: 0, False: 31]
  ------------------
 3433|       |#ifdef Py_TRACE_REFS
 3434|       |        _Py_AddToAllObjects(v);
 3435|       |#endif
 3436|      0|        _PyReftracerTrack(v, PyRefTracer_CREATE);
  ------------------
  |  |  112|      0|    do { \
  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  ------------------
  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  117|      0|        } \
  |  |  118|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3437|       |
 3438|      0|        PyErr_NoMemory();
 3439|      0|        return -1;
 3440|      0|    }
 3441|       |
 3442|     31|    *pv = result;
 3443|     31|    v = result;
 3444|     31|    _Py_NewReferenceNoTotal(v);
 3445|     31|    PyBytesObject *sv = (PyBytesObject *)v;
 3446|     31|    Py_SET_SIZE(sv, newsize);
  ------------------
  |  |  216|     31|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|     31|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     31|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3447|     31|    sv->ob_sval[newsize] = '\0';
 3448|     31|    set_ob_shash(sv, -1);          /* invalidate cached hash value */
 3449|     31|    assert(_PyBytes_IsMutable(*pv));
  ------------------
  |  Branch (3449:5): [True: 31, False: 0]
  ------------------
 3450|     31|    return 0;
 3451|     31|}
_PyBytes_Resize:
 3456|     31|{
 3457|     31|    int res = _PyBytes_ResizeKeepOnError(pv, newsize);
 3458|     31|    if (res < 0) {
  ------------------
  |  Branch (3458:9): [True: 0, False: 31]
  ------------------
 3459|      0|        PyObject *v = *pv;
 3460|      0|        *pv = NULL;
 3461|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3462|      0|    }
 3463|     31|    return res;
 3464|     31|}
PyBytesWriter_Create:
 3875|    105|{
 3876|    105|    return byteswriter_create(size, 0);
 3877|    105|}
PyBytesWriter_Discard:
 3888|    117|{
 3889|    117|    if (writer == NULL) {
  ------------------
  |  Branch (3889:9): [True: 12, False: 105]
  ------------------
 3890|     12|        return;
 3891|     12|    }
 3892|       |
 3893|    117|    assert(byteswriter_check_consistency(writer));
  ------------------
  |  Branch (3893:5): [True: 105, False: 0]
  ------------------
 3894|       |#ifdef Py_DEBUG
 3895|       |    if (writer->obj != NULL) {
 3896|       |        byteswriter_reset_trailing_byte(writer);
 3897|       |    }
 3898|       |#endif
 3899|       |
 3900|    105|    Py_XDECREF(writer->obj);
  ------------------
  |  |  524|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3901|    105|    _Py_FREELIST_FREE(bytes_writers, writer, PyMem_Free);
  ------------------
  |  |   35|    105|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|    105|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    105|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|    105|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   30|    105|#  define Py_bytes_writers_MAXFREELIST 1
  |  |  ------------------
  ------------------
 3902|    105|}
PyBytesWriter_FinishWithSize:
 3907|     58|{
 3908|     58|    assert(byteswriter_check_consistency(writer));
  ------------------
  |  Branch (3908:5): [True: 58, False: 0]
  ------------------
 3909|       |
 3910|       |    // Check for negative size here to raise ValueError in all cases, rather
 3911|       |    // than having a different exception depending on the code path. For
 3912|       |    // example, _PyBytes_Resize() raises SystemError on negative size.
 3913|     58|    if (size < 0) {
  ------------------
  |  Branch (3913:9): [True: 0, False: 58]
  ------------------
 3914|      0|        PyErr_Format(PyExc_ValueError, "size must be positive");
 3915|      0|        goto error;
 3916|      0|    }
 3917|       |
 3918|     58|    if (size > writer->size) {
  ------------------
  |  Branch (3918:9): [True: 0, False: 58]
  ------------------
 3919|      0|        PyErr_SetString(PyExc_ValueError, "size larger than allocated size");
 3920|      0|        goto error;
 3921|      0|    }
 3922|       |
 3923|     58|    PyObject *result;
 3924|     58|    if (size == 0) {
  ------------------
  |  Branch (3924:9): [True: 4, False: 54]
  ------------------
 3925|      4|        result = bytes_get_empty();
 3926|      4|    }
 3927|     54|    else if (writer->obj != NULL) {
  ------------------
  |  Branch (3927:14): [True: 44, False: 10]
  ------------------
 3928|       |        // Truncate the bytes/bytearray object if needed
 3929|       |#ifdef Py_DEBUG
 3930|       |        byteswriter_reset_trailing_byte(writer);
 3931|       |#endif
 3932|       |
 3933|     44|        if (writer->use_bytearray) {
  ------------------
  |  Branch (3933:13): [True: 0, False: 44]
  ------------------
 3934|      0|            if (size != PyByteArray_GET_SIZE(writer->obj)) {
  ------------------
  |  |   38|      0|#define PyByteArray_GET_SIZE(self) PyByteArray_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3934:17): [True: 0, False: 0]
  ------------------
 3935|      0|                if (PyByteArray_Resize(writer->obj, size)) {
  ------------------
  |  Branch (3935:21): [True: 0, False: 0]
  ------------------
 3936|      0|                    goto error;
 3937|      0|                }
 3938|      0|            }
 3939|      0|        }
 3940|     44|        else {
 3941|     44|            if (size == 1) {
  ------------------
  |  Branch (3941:17): [True: 0, False: 44]
  ------------------
 3942|       |                // Get the single byte singleton
 3943|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3944|      0|                PyObject *op = (PyObject*)CHARACTER(ch);
  ------------------
  |  |   40|      0|     ((PyBytesObject *)&(CHARACTERS[ch]))
  |  |  ------------------
  |  |  |  |   38|      0|#define CHARACTERS _Py_SINGLETON(bytes_characters)
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3945|      0|                assert(_Py_IsImmortal(op));
  ------------------
  |  Branch (3945:17): [True: 0, False: 0]
  ------------------
 3946|      0|                Py_SETREF(writer->obj, op);
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3947|      0|            }
 3948|     44|            else if (size != PyBytes_GET_SIZE(writer->obj)) {
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3948:22): [True: 31, False: 13]
  ------------------
 3949|     31|                if (_PyBytes_Resize(&writer->obj, size)) {
  ------------------
  |  Branch (3949:21): [True: 0, False: 31]
  ------------------
 3950|      0|                    goto error;
 3951|      0|                }
 3952|     31|            }
 3953|     44|        }
 3954|       |
 3955|     44|        result = writer->obj;
 3956|     44|        writer->obj = NULL;
 3957|     44|    }
 3958|     10|    else {
 3959|       |        // Create an object from the small buffer
 3960|     10|        if (writer->use_bytearray) {
  ------------------
  |  Branch (3960:13): [True: 0, False: 10]
  ------------------
 3961|      0|            result = PyByteArray_FromStringAndSize(writer->small_buffer, size);
 3962|      0|        }
 3963|     10|        else {
 3964|       |            // The function returns single byte singleton if size equals 1
 3965|     10|            result = PyBytes_FromStringAndSize(writer->small_buffer, size);
 3966|     10|        }
 3967|     10|    }
 3968|       |
 3969|       |#ifdef Py_DEBUG
 3970|       |    // Reset the writer, so byteswriter_check_consistency() doesn't fail
 3971|       |    // in PyBytesWriter_Discard().
 3972|       |    writer->size = 0;
 3973|       |    byteswriter_write_canary_byte(writer);
 3974|       |#endif
 3975|       |
 3976|     58|    PyBytesWriter_Discard(writer);
 3977|     58|    return result;
 3978|       |
 3979|      0|error:
 3980|      0|    PyBytesWriter_Discard(writer);
 3981|       |    return NULL;
 3982|     58|}
PyBytesWriter_Finish:
 3986|      3|{
 3987|      3|    return PyBytesWriter_FinishWithSize(writer, writer->size);
 3988|      3|}
PyBytesWriter_FinishWithPointer:
 3993|     16|{
 3994|     16|    Py_ssize_t size = (char*)buf - byteswriter_data(writer);
 3995|     16|    return PyBytesWriter_FinishWithSize(writer, size);
 3996|     16|}
PyBytesWriter_GetData:
 4001|    241|{
 4002|    241|    assert(byteswriter_check_consistency(writer));
  ------------------
  |  Branch (4002:5): [True: 241, False: 0]
  ------------------
 4003|       |
 4004|    241|    return byteswriter_data(writer);
 4005|    241|}
PyBytesWriter_GetSize:
 4010|     42|{
 4011|     42|    assert(byteswriter_check_consistency(writer));
  ------------------
  |  Branch (4011:5): [True: 42, False: 0]
  ------------------
 4012|       |
 4013|     42|    return _PyBytesWriter_GetSize(writer);
 4014|     42|}
PyBytesWriter_Resize:
 4019|      2|{
 4020|      2|    assert(byteswriter_check_consistency(writer));
  ------------------
  |  Branch (4020:5): [True: 2, False: 0]
  ------------------
 4021|       |
 4022|      2|    if (new_size < 0) {
  ------------------
  |  Branch (4022:9): [True: 0, False: 2]
  ------------------
 4023|      0|        PyErr_SetString(PyExc_ValueError, "size must be >= 0");
 4024|      0|        return -1;
 4025|      0|    }
 4026|      2|    if (writer->size < new_size) {
  ------------------
  |  Branch (4026:9): [True: 2, False: 0]
  ------------------
 4027|      2|        if (byteswriter_resize(writer, new_size, 1) < 0) {
  ------------------
  |  Branch (4027:13): [True: 0, False: 2]
  ------------------
 4028|      0|            return -1;
 4029|      0|        }
 4030|      2|    }
 4031|      0|    else {
 4032|       |        // The buffer is already large enough. Never shrink the buffer.
 4033|      0|    }
 4034|      2|    writer->size = new_size;
 4035|       |#ifdef Py_DEBUG
 4036|       |    byteswriter_write_canary_byte(writer);
 4037|       |#endif
 4038|      2|    assert(byteswriter_check_consistency(writer));
  ------------------
  |  Branch (4038:5): [True: 2, False: 0]
  ------------------
 4039|      2|    return 0;
 4040|      2|}
bytesobject.c:bytes_get_empty:
   46|     69|{
   47|     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
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   48|     69|    assert(_Py_IsImmortal(empty));
  ------------------
  |  Branch (48:5): [True: 69, False: 0]
  ------------------
   49|     69|    return empty;
   50|     69|}
bytesobject.c:_PyBytes_FromSize:
  104|  8.42k|{
  105|  8.42k|    PyBytesObject *op;
  106|  8.42k|    assert(size >= 0);
  ------------------
  |  Branch (106:5): [True: 8.42k, False: 0]
  ------------------
  107|       |
  108|  8.42k|    if (size == 0) {
  ------------------
  |  Branch (108:9): [True: 0, False: 8.42k]
  ------------------
  109|      0|        return bytes_get_empty();
  110|      0|    }
  111|       |
  112|  8.42k|    if ((size_t)size > (size_t)PY_SSIZE_T_MAX - PyBytesObject_SIZE) {
  ------------------
  |  |  137|  8.42k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
                  if ((size_t)size > (size_t)PY_SSIZE_T_MAX - PyBytesObject_SIZE) {
  ------------------
  |  |   30|  8.42k|#define PyBytesObject_SIZE _PyBytesObject_SIZE
  |  |  ------------------
  |  |  |  |   76|  8.42k|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
  |  Branch (112:9): [True: 0, False: 8.42k]
  ------------------
  113|      0|        PyErr_SetString(PyExc_OverflowError,
  114|      0|                        "byte string is too large");
  115|      0|        return NULL;
  116|      0|    }
  117|       |
  118|       |    /* Inline PyObject_NewVar */
  119|  8.42k|    if (use_calloc)
  ------------------
  |  Branch (119:9): [True: 0, False: 8.42k]
  ------------------
  120|      0|        op = (PyBytesObject *)PyObject_Calloc(1, PyBytesObject_SIZE + size);
  ------------------
  |  |   30|      0|#define PyBytesObject_SIZE _PyBytesObject_SIZE
  |  |  ------------------
  |  |  |  |   76|      0|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
  121|  8.42k|    else
  122|  8.42k|        op = (PyBytesObject *)PyObject_Malloc(PyBytesObject_SIZE + size);
  ------------------
  |  |   30|  8.42k|#define PyBytesObject_SIZE _PyBytesObject_SIZE
  |  |  ------------------
  |  |  |  |   76|  8.42k|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
  123|  8.42k|    if (op == NULL) {
  ------------------
  |  Branch (123:9): [True: 0, False: 8.42k]
  ------------------
  124|      0|        return PyErr_NoMemory();
  125|      0|    }
  126|  8.42k|    _PyObject_InitVar((PyVarObject*)op, &PyBytes_Type, size);
  127|  8.42k|    set_ob_shash(op, -1);
  128|  8.42k|    if (!use_calloc) {
  ------------------
  |  Branch (128:9): [True: 8.42k, False: 0]
  ------------------
  129|  8.42k|        op->ob_sval[size] = '\0';
  130|  8.42k|    }
  131|  8.42k|    return (PyObject *) op;
  132|  8.42k|}
bytesobject.c:set_ob_shash:
   55|  9.24k|{
   56|  9.24k|_Py_COMP_DIAG_PUSH
   57|  9.24k|_Py_COMP_DIAG_IGNORE_DEPR_DECLS
   58|       |#ifdef Py_GIL_DISABLED
   59|       |    _Py_atomic_store_ssize_relaxed(&a->ob_shash, hash);
   60|       |#else
   61|  9.24k|    a->ob_shash = hash;
   62|  9.24k|#endif
   63|  9.24k|_Py_COMP_DIAG_POP
   64|  9.24k|}
bytesobject.c:byteswriter_allocated:
 3667|    107|{
 3668|    107|    if (writer->obj == NULL) {
  ------------------
  |  Branch (3668:9): [True: 107, False: 0]
  ------------------
 3669|       |        // Reserve the last byte for the canary byte
 3670|    107|        return sizeof(writer->small_buffer) - 1;
 3671|    107|    }
 3672|      0|    else if (writer->use_bytearray) {
  ------------------
  |  Branch (3672:14): [True: 0, False: 0]
  ------------------
 3673|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3674|      0|    }
 3675|      0|    else {
 3676|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3677|      0|    }
 3678|    107|}
bytesobject.c:bytes_repr:
 1518|      1|{
 1519|      1|    return PyBytes_Repr(op, 1);
 1520|      1|}
bytesobject.c:bytes_length:
 1536|    108|{
 1537|    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 (1537:24): [True: 108, False: 0]
  ------------------
 1538|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1539|    108|}
bytesobject.c:bytes_subscript:
 1735|    108|{
 1736|    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 (1736:27): [True: 108, False: 0]
  ------------------
 1737|    108|    if (_PyIndex_Check(item)) {
  ------------------
  |  Branch (1737:9): [True: 0, False: 108]
  ------------------
 1738|      0|        Py_ssize_t i = PyNumber_AsSsize_t(item, PyExc_IndexError);
 1739|      0|        if (i == -1 && PyErr_Occurred())
  ------------------
  |  Branch (1739:13): [True: 0, False: 0]
  |  Branch (1739:24): [True: 0, False: 0]
  ------------------
 1740|      0|            return NULL;
 1741|      0|        if (i < 0)
  ------------------
  |  Branch (1741:13): [True: 0, False: 0]
  ------------------
 1742|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1743|      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 (1743:13): [True: 0, False: 0]
  |  Branch (1743:22): [True: 0, False: 0]
  ------------------
 1744|      0|            PyErr_SetString(PyExc_IndexError,
 1745|      0|                            "index out of range");
 1746|      0|            return NULL;
 1747|      0|        }
 1748|      0|        return _PyLong_FromUnsignedChar((unsigned char)self->ob_sval[i]);
 1749|      0|    }
 1750|    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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1751|    108|        Py_ssize_t start, stop, step, slicelength, i;
 1752|    108|        size_t cur;
 1753|    108|        const char* source_buf;
 1754|    108|        char* result_buf;
 1755|    108|        PyObject* result;
 1756|       |
 1757|    108|        if (PySlice_Unpack(item, &start, &stop, &step) < 0) {
  ------------------
  |  Branch (1757:13): [True: 0, False: 108]
  ------------------
 1758|      0|            return NULL;
 1759|      0|        }
 1760|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1761|    108|                                            &stop, step);
 1762|       |
 1763|    108|        if (slicelength <= 0) {
  ------------------
  |  Branch (1763:13): [True: 0, False: 108]
  ------------------
 1764|      0|            return Py_GetConstant(Py_CONSTANT_EMPTY_BYTES);
  ------------------
  |  |  598|      0|#define Py_CONSTANT_EMPTY_BYTES 8
  ------------------
 1765|      0|        }
 1766|    108|        else if (start == 0 && step == 1 &&
  ------------------
  |  Branch (1766:18): [True: 27, False: 81]
  |  Branch (1766:32): [True: 27, False: 0]
  ------------------
 1767|     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 (1767:18): [True: 0, False: 27]
  ------------------
 1768|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1769|      0|            return Py_NewRef(self);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1770|      0|        }
 1771|    108|        else if (step == 1) {
  ------------------
  |  Branch (1771:18): [True: 108, False: 0]
  ------------------
 1772|    108|            return PyBytes_FromStringAndSize(
 1773|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1774|    108|                slicelength);
 1775|    108|        }
 1776|      0|        else {
 1777|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1778|      0|            result = PyBytes_FromStringAndSize(NULL, slicelength);
 1779|      0|            if (result == NULL)
  ------------------
  |  Branch (1779:17): [True: 0, False: 0]
  ------------------
 1780|      0|                return NULL;
 1781|       |
 1782|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1783|      0|            for (cur = start, i = 0; i < slicelength;
  ------------------
  |  Branch (1783:38): [True: 0, False: 0]
  ------------------
 1784|      0|                 cur += step, i++) {
 1785|      0|                result_buf[i] = source_buf[cur];
 1786|      0|            }
 1787|       |
 1788|      0|            return result;
 1789|      0|        }
 1790|    108|    }
 1791|      0|    else {
 1792|      0|        PyErr_Format(PyExc_TypeError,
 1793|      0|                     "byte indices must be integers or slices, not %.200s",
 1794|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1795|       |        return NULL;
 1796|      0|    }
 1797|    108|}
bytesobject.c:bytes_hash:
 1722|  2.06k|{
 1723|  2.06k|    PyBytesObject *a = _PyBytes_CAST(self);
  ------------------
  |  |   21|  2.06k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  2.06k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1723:24): [True: 2.06k, False: 0]
  ------------------
 1724|      0|    Py_hash_t hash = get_ob_shash(a);
 1725|  2.06k|    if (hash == -1) {
  ------------------
  |  Branch (1725:9): [True: 703, False: 1.36k]
  ------------------
 1726|       |        /* Can't fail */
 1727|    703|        hash = Py_HashBuffer(a->ob_sval, Py_SIZE(a));
  ------------------
  |  |  214|    703|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    703|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    703|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1728|    703|        set_ob_shash(a, hash);
 1729|    703|    }
 1730|  2.06k|    return hash;
 1731|  2.06k|}
bytesobject.c:get_ob_shash:
   68|  2.06k|{
   69|  2.06k|_Py_COMP_DIAG_PUSH
   70|  2.06k|_Py_COMP_DIAG_IGNORE_DEPR_DECLS
   71|       |#ifdef Py_GIL_DISABLED
   72|       |    return _Py_atomic_load_ssize_relaxed(&a->ob_shash);
   73|       |#else
   74|  2.06k|    return a->ob_shash;
   75|  2.06k|#endif
   76|  2.06k|_Py_COMP_DIAG_POP
   77|  2.06k|}
bytesobject.c:bytes_buffer_getbuffer:
 1801|     56|{
 1802|     56|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|     56|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|     56|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1802:27): [True: 56, False: 0]
  ------------------
 1803|     56|    return PyBuffer_FillInfo(view, (PyObject*)self, (void *)self->ob_sval, Py_SIZE(self),
  ------------------
  |  |  214|     56|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     56|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     56|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1804|     56|                             1, flags);
 1805|     56|}
bytesobject.c:bytes_richcompare:
 1659|     31|{
 1660|       |    /* Make sure both arguments are strings. */
 1661|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1662|      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 (1662:13): [True: 0, False: 0]
  |  Branch (1662:48): [True: 0, False: 0]
  |  Branch (1662:63): [True: 0, False: 0]
  ------------------
 1663|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1664|      0|                if (PyErr_WarnEx(PyExc_BytesWarning,
  ------------------
  |  Branch (1664:21): [True: 0, False: 0]
  ------------------
 1665|      0|                                 "Comparison between bytes and string", 1))
 1666|      0|                    return NULL;
 1667|      0|            }
 1668|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1669|      0|                if (PyErr_WarnEx(PyExc_BytesWarning,
  ------------------
  |  Branch (1669:21): [True: 0, False: 0]
  ------------------
 1670|      0|                                 "Comparison between bytes and int", 1))
 1671|      0|                    return NULL;
 1672|      0|            }
 1673|      0|        }
 1674|      0|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 1675|      0|    }
 1676|       |
 1677|     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 (1677:24): [True: 31, False: 0]
  ------------------
 1678|     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 (1678:24): [True: 31, False: 0]
  ------------------
 1679|     31|    if (a == b) {
  ------------------
  |  Branch (1679:9): [True: 0, False: 31]
  ------------------
 1680|      0|        switch (op) {
 1681|      0|        case Py_EQ:
  ------------------
  |  |  654|      0|#define Py_EQ 2
  ------------------
  |  Branch (1681:9): [True: 0, False: 0]
  ------------------
 1682|      0|        case Py_LE:
  ------------------
  |  |  653|      0|#define Py_LE 1
  ------------------
  |  Branch (1682:9): [True: 0, False: 0]
  ------------------
 1683|      0|        case Py_GE:
  ------------------
  |  |  657|      0|#define Py_GE 5
  ------------------
  |  Branch (1683:9): [True: 0, False: 0]
  ------------------
 1684|       |            /* a byte string is equal to itself */
 1685|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1686|      0|        case Py_NE:
  ------------------
  |  |  655|      0|#define Py_NE 3
  ------------------
  |  Branch (1686:9): [True: 0, False: 0]
  ------------------
 1687|      0|        case Py_LT:
  ------------------
  |  |  652|      0|#define Py_LT 0
  ------------------
  |  Branch (1687:9): [True: 0, False: 0]
  ------------------
 1688|      0|        case Py_GT:
  ------------------
  |  |  656|      0|#define Py_GT 4
  ------------------
  |  Branch (1688:9): [True: 0, False: 0]
  ------------------
 1689|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1690|      0|        default:
  ------------------
  |  Branch (1690:9): [True: 0, False: 0]
  ------------------
 1691|      0|            PyErr_BadArgument();
 1692|      0|            return NULL;
 1693|      0|        }
 1694|      0|    }
 1695|     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 (1695:14): [True: 4, False: 27]
  |  Branch (1695:29): [True: 27, False: 0]
  ------------------
 1696|     31|        int eq = bytes_compare_eq(a, b);
 1697|     31|        eq ^= (op == Py_NE);
  ------------------
  |  |  655|     31|#define Py_NE 3
  ------------------
 1698|     31|        return PyBool_FromLong(eq);
 1699|     31|    }
 1700|      0|    else {
 1701|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1702|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1703|      0|        Py_ssize_t min_len = Py_MIN(len_a, len_b);
  ------------------
  |  |  120|      0|       __extension__ \
  |  |  121|      0|       ({ _Py_TYPEOF (x) _x = (x); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  122|      0|          _Py_TYPEOF (y) _y = (y); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  123|      0|          _x < _y ? _x : _y; })
  |  |  ------------------
  |  |  |  Branch (123:11): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1704|      0|        int c;
 1705|      0|        if (min_len > 0) {
  ------------------
  |  Branch (1705:13): [True: 0, False: 0]
  ------------------
 1706|      0|            c = Py_CHARMASK(*a->ob_sval) - Py_CHARMASK(*b->ob_sval);
  ------------------
  |  |  163|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
                          c = Py_CHARMASK(*a->ob_sval) - Py_CHARMASK(*b->ob_sval);
  ------------------
  |  |  163|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 1707|      0|            if (c == 0)
  ------------------
  |  Branch (1707:17): [True: 0, False: 0]
  ------------------
 1708|      0|                c = memcmp(a->ob_sval, b->ob_sval, min_len);
 1709|      0|        }
 1710|      0|        else {
 1711|      0|            c = 0;
 1712|      0|        }
 1713|      0|        if (c != 0) {
  ------------------
  |  Branch (1713:13): [True: 0, False: 0]
  ------------------
 1714|      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();                                               \
  |  |  ------------------
  |  |  |  |  289|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  |  |  ------------------
  |  |  684|      0|        }                                                                   \
  |  |  685|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (685:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1715|      0|        }
 1716|      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();                                               \
  |  |  ------------------
  |  |  |  |  289|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  |  |  ------------------
  |  |  684|      0|        }                                                                   \
  |  |  685|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (685:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1717|      0|    }
 1718|     31|}
bytesobject.c:bytes_compare_eq:
 1642|     31|{
 1643|     31|    int cmp;
 1644|     31|    Py_ssize_t len;
 1645|       |
 1646|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1647|     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 (1647:9): [True: 0, False: 31]
  ------------------
 1648|      0|        return 0;
 1649|       |
 1650|     31|    if (a->ob_sval[0] != b->ob_sval[0])
  ------------------
  |  Branch (1650:9): [True: 0, False: 31]
  ------------------
 1651|      0|        return 0;
 1652|       |
 1653|     31|    cmp = memcmp(a->ob_sval, b->ob_sval, len);
 1654|     31|    return (cmp == 0);
 1655|     31|}
bytesobject.c:bytes_decode_impl:
 2584|      4|{
 2585|      4|    return PyUnicode_FromEncodedObject((PyObject*)self, encoding, errors);
 2586|      4|}
bytesobject.c:bytes_replace_impl:
 2429|      1|{
 2430|      1|    return stringlib_replace((PyObject *)self,
 2431|      1|                             (const char *)old->buf, old->len,
 2432|      1|                             (const char *)new->buf, new->len, count);
 2433|      1|}
bytesobject.c:bytes_iteritem:
 3185|     25|{
 3186|     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 (3186:24): [True: 25, False: 0]
  ------------------
 3187|     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 (3187:9): [True: 1, False: 24]
  ------------------
 3188|      1|        return (_PyObjectIndexPair) { .object = NULL, .index = index };
 3189|      1|    }
 3190|     24|    PyObject *l = _PyLong_FromUnsignedChar((unsigned char)a->ob_sval[index]);
 3191|     24|    return (_PyObjectIndexPair) { .object = l, .index = index + 1 };
 3192|     25|}
bytesobject.c:striter_dealloc:
 3479|      2|{
 3480|      2|    striterobject *it = _striterobject_CAST(op);
  ------------------
  |  | 3475|      2|#define _striterobject_CAST(op)  ((striterobject *)(op))
  ------------------
 3481|      2|    _PyObject_GC_UNTRACK(it);
  ------------------
  |  |  507|      2|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3482|      2|    Py_XDECREF(it->it_seq);
  ------------------
  |  |  524|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3483|      2|    PyObject_GC_Del(it);
 3484|      2|}
bytesobject.c:bytes_iter:
 3608|      2|{
 3609|      2|    striterobject *it;
 3610|       |
 3611|      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 (3611:9): [True: 0, False: 2]
  ------------------
 3612|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3613|      0|        return NULL;
 3614|      0|    }
 3615|      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))
  |  |  ------------------
  ------------------
 3616|      2|    if (it == NULL)
  ------------------
  |  Branch (3616:9): [True: 0, False: 2]
  ------------------
 3617|      0|        return NULL;
 3618|      2|    it->it_index = 0;
 3619|      2|    it->it_seq = (PyBytesObject *)Py_NewRef(seq);
  ------------------
  |  |  550|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3620|      2|    _PyObject_GC_TRACK(it);
  ------------------
  |  |  505|      2|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3621|      2|    return (PyObject *)it;
 3622|      2|}
bytesobject.c:byteswriter_create:
 3833|    105|{
 3834|    105|    if (size < 0) {
  ------------------
  |  Branch (3834:9): [True: 0, False: 105]
  ------------------
 3835|      0|        PyErr_SetString(PyExc_ValueError, "size must be >= 0");
 3836|      0|        return NULL;
 3837|      0|    }
 3838|       |
 3839|    105|    PyBytesWriter *writer = _Py_FREELIST_POP_MEM(bytes_writers);
  ------------------
  |  |   48|    105|    _PyFreeList_PopMem(&_Py_freelists_GET()->NAME)
  ------------------
 3840|    105|    if (writer == NULL) {
  ------------------
  |  Branch (3840:9): [True: 10, False: 95]
  ------------------
 3841|     10|        writer = (PyBytesWriter *)PyMem_Malloc(sizeof(PyBytesWriter));
 3842|     10|        if (writer == NULL) {
  ------------------
  |  Branch (3842:13): [True: 0, False: 10]
  ------------------
 3843|      0|            PyErr_NoMemory();
 3844|      0|            return NULL;
 3845|      0|        }
 3846|     10|    }
 3847|    105|    writer->obj = NULL;
 3848|    105|    writer->size = 0;
 3849|    105|    writer->use_bytearray = use_bytearray;
 3850|    105|    writer->overallocate = !use_bytearray;
 3851|       |
 3852|    105|    if (size >= 1) {
  ------------------
  |  Branch (3852:9): [True: 105, False: 0]
  ------------------
 3853|    105|        if (byteswriter_resize(writer, size, 0) < 0) {
  ------------------
  |  Branch (3853:13): [True: 0, False: 105]
  ------------------
 3854|       |#ifdef Py_DEBUG
 3855|       |            // Write the canary byte so byteswriter_check_consistency()
 3856|       |            // doesn't fail in PyBytesWriter_Discard()
 3857|       |            byteswriter_write_canary_byte(writer);
 3858|       |#endif
 3859|      0|            PyBytesWriter_Discard(writer);
 3860|      0|            return NULL;
 3861|      0|        }
 3862|    105|        writer->size = size;
 3863|    105|    }
 3864|       |#ifdef Py_DEBUG
 3865|       |    memset(byteswriter_data(writer), PyBytesWrite_NEW_BYTE,
 3866|       |           byteswriter_allocated(writer));
 3867|       |    byteswriter_write_canary_byte(writer);
 3868|       |#endif
 3869|    105|    assert(byteswriter_check_consistency(writer));
  ------------------
  |  Branch (3869:5): [True: 105, False: 0]
  ------------------
 3870|    105|    return writer;
 3871|    105|}
bytesobject.c:byteswriter_check_consistency:
 3706|    555|{
 3707|    555|    PyObject *obj = writer->obj;
 3708|    555|    if (obj != NULL) {
  ------------------
  |  Branch (3708:9): [True: 347, False: 208]
  ------------------
 3709|    347|        if (writer->use_bytearray) {
  ------------------
  |  Branch (3709:13): [True: 0, False: 347]
  ------------------
 3710|      0|            assert(PyByteArray_CheckExact(obj));
  ------------------
  |  Branch (3710:13): [True: 0, False: 0]
  ------------------
 3711|       |            // Do not use _PyObject_IsUniquelyReferenced(): the caller can have
 3712|       |            // its own lock to prevent a writer from being used by two threads
 3713|       |            // at the same time.
 3714|      0|            assert(Py_REFCNT(obj) == 1);
  ------------------
  |  Branch (3714:13): [True: 0, False: 0]
  ------------------
 3715|      0|            PyByteArrayObject *bytearray = (PyByteArrayObject*)obj;
 3716|      0|            obj = bytearray->ob_bytes_object;
 3717|      0|            assert(obj != NULL);
  ------------------
  |  Branch (3717:13): [True: 0, False: 0]
  ------------------
 3718|      0|        }
 3719|       |
 3720|       |        // Code adapted from _PyBytes_IsMutable()
 3721|    347|        assert(PyBytes_CheckExact(obj));
  ------------------
  |  Branch (3721:9): [True: 347, False: 0]
  ------------------
 3722|    347|        assert(_PyBytes_IsMutable(obj));
  ------------------
  |  Branch (3722:9): [True: 347, False: 0]
  ------------------
 3723|       |        // -1 since the last small buffer byte is used as the canary byte
 3724|    347|        assert((size_t)PyBytes_GET_SIZE(obj) > (sizeof(writer->small_buffer) - 1));
  ------------------
  |  Branch (3724:9): [True: 347, False: 0]
  ------------------
 3725|    347|    }
 3726|       |
 3727|       |#ifdef Py_DEBUG
 3728|       |    const unsigned char *data = (const unsigned char*)byteswriter_data(writer);
 3729|       |    unsigned char canary = data[writer->size];
 3730|       |    if (canary != PyBytesWriter_CANARY_BYTE) {
 3731|       |        _Py_FatalErrorFormat(__func__,
 3732|       |                             "Buffer overflow detected in PyBytesWriter %p "
 3733|       |                             "at position %zd",
 3734|       |                             writer, writer->size);
 3735|       |    }
 3736|       |#endif
 3737|    555|    return 1;
 3738|    555|}
bytesobject.c:byteswriter_data:
 3660|    257|{
 3661|    257|    return _PyBytesWriter_GetData(writer);
 3662|    257|}
bytesobject.c:byteswriter_resize:
 3752|    107|{
 3753|    107|    assert(new_size >= 0);
  ------------------
  |  Branch (3753:5): [True: 107, False: 0]
  ------------------
 3754|       |
 3755|    107|    Py_ssize_t old_allocated = byteswriter_allocated(writer);
 3756|    107|    if (new_size <= old_allocated) {
  ------------------
  |  Branch (3756:9): [True: 16, False: 91]
  ------------------
 3757|       |        // Do not shrink the buffer before PyBytesWriter_FinishWithSize()
 3758|     16|        return 0;
 3759|     16|    }
 3760|       |
 3761|     91|    Py_ssize_t alloc = new_size;
 3762|     91|    if (resize && writer->overallocate) {
  ------------------
  |  Branch (3762:9): [True: 0, False: 91]
  |  Branch (3762:19): [True: 0, False: 0]
  ------------------
 3763|      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)) {
  ------------------
  |  | 3747|      0|#  define OVERALLOCATE_FACTOR 4
  ------------------
  |  Branch (3763:13): [True: 0, False: 0]
  ------------------
 3764|      0|            alloc += alloc / OVERALLOCATE_FACTOR;
  ------------------
  |  | 3747|      0|#  define OVERALLOCATE_FACTOR 4
  ------------------
 3765|      0|        }
 3766|      0|    }
 3767|       |
 3768|     91|    if (writer->obj != NULL) {
  ------------------
  |  Branch (3768:9): [True: 0, False: 91]
  ------------------
 3769|      0|        if (writer->use_bytearray) {
  ------------------
  |  Branch (3769:13): [True: 0, False: 0]
  ------------------
 3770|      0|            if (PyByteArray_Resize(writer->obj, alloc)) {
  ------------------
  |  Branch (3770:17): [True: 0, False: 0]
  ------------------
 3771|       |#ifdef Py_DEBUG
 3772|       |                // bytearray can override the canary byte on error
 3773|       |                byteswriter_write_canary_byte(writer);
 3774|       |#endif
 3775|      0|                assert(byteswriter_check_consistency(writer));
  ------------------
  |  Branch (3775:17): [True: 0, False: 0]
  ------------------
 3776|      0|                return -1;
 3777|      0|            }
 3778|      0|        }
 3779|      0|        else {
 3780|       |            // Can raise MemoryError or OverflowError
 3781|      0|            if (_PyBytes_ResizeKeepOnError(&writer->obj, alloc)) {
  ------------------
  |  Branch (3781:17): [True: 0, False: 0]
  ------------------
 3782|      0|                assert(writer->obj != NULL);
  ------------------
  |  Branch (3782:17): [True: 0, False: 0]
  ------------------
 3783|      0|                assert(byteswriter_check_consistency(writer));
  ------------------
  |  Branch (3783:17): [True: 0, False: 0]
  ------------------
 3784|      0|                return -1;
 3785|      0|            }
 3786|      0|            assert(_PyBytes_IsMutable(writer->obj));
  ------------------
  |  Branch (3786:13): [True: 0, False: 0]
  ------------------
 3787|      0|        }
 3788|      0|        assert(writer->obj != NULL);
  ------------------
  |  Branch (3788:9): [True: 0, False: 0]
  ------------------
 3789|      0|    }
 3790|     91|    else {
 3791|     91|        char *data;
 3792|     91|        if (writer->use_bytearray) {
  ------------------
  |  Branch (3792:13): [True: 0, False: 91]
  ------------------
 3793|      0|            writer->obj = PyByteArray_FromStringAndSize(NULL, alloc);
 3794|      0|            if (writer->obj == NULL) {
  ------------------
  |  Branch (3794:17): [True: 0, False: 0]
  ------------------
 3795|      0|                return -1;
 3796|      0|            }
 3797|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3798|      0|        }
 3799|     91|        else {
 3800|     91|            writer->obj = PyBytes_FromStringAndSize(NULL, alloc);
 3801|     91|            if (writer->obj == NULL) {
  ------------------
  |  Branch (3801:17): [True: 0, False: 91]
  ------------------
 3802|      0|                return -1;
 3803|      0|            }
 3804|     91|            assert(_PyBytes_IsMutable(writer->obj));
  ------------------
  |  Branch (3804:13): [True: 91, False: 0]
  ------------------
 3805|     91|            data = PyBytes_AS_STRING(writer->obj);
  ------------------
  |  |   27|     91|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     91|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     91|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3806|     91|        }
 3807|       |
 3808|     91|        if (resize) {
  ------------------
  |  Branch (3808:13): [True: 0, False: 91]
  ------------------
 3809|       |            // Copy data from the small buffer
 3810|      0|            Py_ssize_t old_size = writer->size;
 3811|      0|            assert((size_t)old_size <= sizeof(writer->small_buffer));
  ------------------
  |  Branch (3811:13): [True: 0, False: 0]
  ------------------
 3812|      0|            assert(old_size <= alloc);
  ------------------
  |  Branch (3812:13): [True: 0, False: 0]
  ------------------
 3813|      0|            memcpy(data, writer->small_buffer, old_size);
 3814|      0|        }
 3815|     91|    }
 3816|       |
 3817|       |#ifdef Py_DEBUG
 3818|       |    Py_ssize_t allocated = byteswriter_allocated(writer);
 3819|       |    if (resize) {
 3820|       |        Py_ssize_t old_size = writer->size;
 3821|       |        assert(allocated > old_size);
 3822|       |        memset(byteswriter_data(writer) + old_size, PyBytesWrite_NEW_BYTE,
 3823|       |               allocated - old_size);
 3824|       |    }
 3825|       |#endif
 3826|       |
 3827|     91|    return 0;
 3828|     91|}

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

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);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  251|      0|                break;
  252|      0|            }
  253|      1|            Py_SETREF(object, attr);
  ------------------
  |  |  354|      1|    do { \
  |  |  355|      1|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|      1|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      1|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|      1|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      1|        *_tmp_dst_ptr = (src); \
  |  |  358|      1|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
  254|      1|        }
  255|      2|        if (!dot) {
  ------------------
  |  Branch (255:13): [True: 1, False: 1]
  ------------------
  256|       |            // We are done
  257|      1|            break;
  258|      1|        }
  259|       |
  260|      1|        if (!object) {
  ------------------
  |  Branch (260:13): [True: 1, False: 0]
  ------------------
  261|      1|            object = PyImport_ImportModule(name_dup);
  262|      1|            if (!object) {
  ------------------
  |  Branch (262:17): [True: 0, False: 1]
  ------------------
  263|      0|                break;
  264|      0|            }
  265|      1|        }
  266|      1|        *dot = '.';
  267|      1|        trace = dot + 1;
  268|      1|    }
  269|       |
  270|       |    /* compare attribute name to module.name by hand */
  271|      1|    if (PyCapsule_IsValid(object, name)) {
  ------------------
  |  Branch (271:9): [True: 1, False: 0]
  ------------------
  272|      1|        PyCapsule *capsule = (PyCapsule *)object;
  273|      1|        return_value = capsule->pointer;
  274|      1|    }
  275|      0|    else if (!PyErr_Occurred()) {
  ------------------
  |  Branch (275:14): [True: 0, False: 0]
  ------------------
  276|      0|        PyErr_Format(PyExc_AttributeError,
  277|      0|            "PyCapsule_Import \"%s\" is not valid",
  278|      0|            name);
  279|      0|    }
  280|       |
  281|      1|    Py_XDECREF(object);
  ------------------
  |  |  524|      1|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  282|      1|    PyMem_Free(name_dup);
  283|      1|    return return_value;
  284|      1|}
capsule.c:name_matches:
   49|      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|    363|{
   13|    363|    PyCellObject *op;
   14|       |
   15|    363|    op = (PyCellObject *)PyObject_GC_New(PyCellObject, &PyCell_Type);
  ------------------
  |  |  181|    363|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|    363|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   16|    363|    if (op == NULL)
  ------------------
  |  Branch (16:9): [True: 0, False: 363]
  ------------------
   17|      0|        return NULL;
   18|    363|    op->ob_ref = Py_XNewRef(obj);
  ------------------
  |  |  551|    363|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    363|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    363|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   19|       |
   20|    363|    _PyObject_GC_TRACK(op);
  ------------------
  |  |  505|    363|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    363|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    363|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   21|    363|    return (PyObject *)op;
   22|    363|}
PyCell_Set:
   67|    224|{
   68|    224|    if (!PyCell_Check(op)) {
  ------------------
  |  |   18|    224|#define PyCell_Check(op) Py_IS_TYPE((op), &PyCell_Type)
  |  |  ------------------
  |  |  |  |  215|    224|#  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 (68:9): [True: 0, False: 224]
  ------------------
   69|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
   70|      0|        return -1;
   71|      0|    }
   72|    224|    PyCell_SetTakeRef((PyCellObject *)op, Py_XNewRef(value));
  ------------------
  |  |  551|    224|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    224|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    224|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   73|    224|    return 0;
   74|    224|}
cellobject.c:cell_dealloc:
   78|    285|{
   79|    285|    PyCellObject *op = _PyCell_CAST(self);
  ------------------
  |  |    8|    285|#define _PyCell_CAST(op) _Py_CAST(PyCellObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    285|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   80|    285|    _PyObject_GC_UNTRACK(op);
  ------------------
  |  |  507|    285|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    285|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    285|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   81|    285|    Py_XDECREF(op->ob_ref);
  ------------------
  |  |  524|    285|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    285|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    285|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   82|    285|    PyObject_GC_Del(op);
   83|    285|}
cellobject.c:cell_traverse:
  132|    130|{
  133|    130|    PyCellObject *op = _PyCell_CAST(self);
  ------------------
  |  |    8|    130|#define _PyCell_CAST(op) _Py_CAST(PyCellObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    130|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  134|    130|    Py_VISIT(op->ob_ref);
  ------------------
  |  |  194|    130|    do {                                                                \
  |  |  195|    130|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 130, False: 0]
  |  |  ------------------
  |  |  196|    130|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    130|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    130|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    130|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 130]
  |  |  ------------------
  |  |  198|    130|                return vret;                                            \
  |  |  199|    130|        }                                                               \
  |  |  200|    130|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 130]
  |  |  ------------------
  ------------------
  135|    130|    return 0;
  136|    130|}
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);
  ------------------
  |  |  484|      6|    do { \
  |  |  485|      6|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      6|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      6|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 6, False: 0]
  |  |  ------------------
  |  |  488|      6|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      6|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      6|        } \
  |  |  491|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
  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);
  ------------------
  |  |  550|    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);
  ------------------
  |  |  550|    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);
  ------------------
  |  |  505|    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);
  ------------------
  |  |  507|    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);
  ------------------
  |  |  524|    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|}

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

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

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

dictobject.c:dict___contains__:
   74|      4|{
   75|      4|    PyObject *return_value = NULL;
   76|       |
   77|      4|    return_value = dict___contains___impl((PyDictObject *)self, key);
   78|       |
   79|      4|    return return_value;
   80|      4|}
dictobject.c:dict_get:
   96|    507|{
   97|    507|    PyObject *return_value = NULL;
   98|    507|    PyObject *key;
   99|    507|    PyObject *default_value = Py_None;
  ------------------
  |  |  616|    507|#  define Py_None (&_Py_NoneStruct)
  ------------------
  100|       |
  101|    507|    if (!_PyArg_CheckPositional("get", nargs, 1, 2)) {
  ------------------
  |  |   31|    507|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 507, False: 0]
  |  |  |  Branch (31:27): [True: 507, False: 0]
  |  |  ------------------
  |  |   32|    507|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  102|      0|        goto exit;
  103|      0|    }
  104|    507|    key = args[0];
  105|    507|    if (nargs < 2) {
  ------------------
  |  Branch (105:9): [True: 188, False: 319]
  ------------------
  106|    188|        goto skip_optional;
  107|    188|    }
  108|    319|    default_value = args[1];
  109|    507|skip_optional:
  110|    507|    return_value = dict_get_impl((PyDictObject *)self, key, default_value);
  111|       |
  112|    507|exit:
  113|    507|    return return_value;
  114|    507|}
dictobject.c:dict_setdefault:
  133|     14|{
  134|     14|    PyObject *return_value = NULL;
  135|     14|    PyObject *key;
  136|     14|    PyObject *default_value = Py_None;
  ------------------
  |  |  616|     14|#  define Py_None (&_Py_NoneStruct)
  ------------------
  137|       |
  138|     14|    if (!_PyArg_CheckPositional("setdefault", nargs, 1, 2)) {
  ------------------
  |  |   31|     14|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 14, False: 0]
  |  |  |  Branch (31:27): [True: 14, False: 0]
  |  |  ------------------
  |  |   32|     14|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  139|      0|        goto exit;
  140|      0|    }
  141|     14|    key = args[0];
  142|     14|    if (nargs < 2) {
  ------------------
  |  Branch (142:9): [True: 0, False: 14]
  ------------------
  143|      0|        goto skip_optional;
  144|      0|    }
  145|     14|    default_value = args[1];
  146|     14|skip_optional:
  147|     14|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|     14|    {
  ------------------
  148|     14|    return_value = dict_setdefault_impl((PyDictObject *)self, key, default_value);
  149|     14|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     14|    }
  ------------------
  150|       |
  151|     14|exit:
  152|     14|    return return_value;
  153|     14|}
dictobject.c:dict_pop:
  190|    134|{
  191|    134|    PyObject *return_value = NULL;
  192|    134|    PyObject *key;
  193|    134|    PyObject *default_value = NULL;
  194|       |
  195|    134|    if (!_PyArg_CheckPositional("pop", nargs, 1, 2)) {
  ------------------
  |  |   31|    134|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 134, False: 0]
  |  |  |  Branch (31:27): [True: 134, False: 0]
  |  |  ------------------
  |  |   32|    134|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  196|      0|        goto exit;
  197|      0|    }
  198|    134|    key = args[0];
  199|    134|    if (nargs < 2) {
  ------------------
  |  Branch (199:9): [True: 92, False: 42]
  ------------------
  200|     92|        goto skip_optional;
  201|     92|    }
  202|     42|    default_value = args[1];
  203|    134|skip_optional:
  204|    134|    return_value = dict_pop_impl((PyDictObject *)self, key, default_value);
  205|       |
  206|    134|exit:
  207|    134|    return return_value;
  208|    134|}
dictobject.c:dict_keys:
  287|     12|{
  288|     12|    return dict_keys_impl((PyDictObject *)self);
  289|     12|}
dictobject.c:dict_items:
  305|     97|{
  306|     97|    return dict_items_impl((PyDictObject *)self);
  307|     97|}
dictobject.c:dict_values:
  323|      5|{
  324|      5|    return dict_values_impl((PyDictObject *)self);
  325|      5|}
dictobject.c:dict_fromkeys:
   22|      6|{
   23|      6|    PyObject *return_value = NULL;
   24|      6|    PyObject *iterable;
   25|      6|    PyObject *value = Py_None;
  ------------------
  |  |  616|      6|#  define Py_None (&_Py_NoneStruct)
  ------------------
   26|       |
   27|      6|    if (!_PyArg_CheckPositional("fromkeys", nargs, 1, 2)) {
  ------------------
  |  |   31|      6|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 6, False: 0]
  |  |  |  Branch (31:27): [True: 6, False: 0]
  |  |  ------------------
  |  |   32|      6|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   28|      0|        goto exit;
   29|      0|    }
   30|      6|    iterable = args[0];
   31|      6|    if (nargs < 2) {
  ------------------
  |  Branch (31:9): [True: 6, False: 0]
  ------------------
   32|      6|        goto skip_optional;
   33|      6|    }
   34|      0|    value = args[1];
   35|      6|skip_optional:
   36|      6|    return_value = dict_fromkeys_impl((PyTypeObject *)type, iterable, value);
   37|       |
   38|      6|exit:
   39|      6|    return return_value;
   40|      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(Py_Is(_PyType_CAST(type), &PyEnum_Type));
  ------------------
  |  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|     13|{
  156|     13|    PyObject *return_value = NULL;
  157|     13|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|     13|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  158|     13|    PyObject *seq;
  159|       |
  160|     13|    assert(Py_Is(_PyType_CAST(type), &PyReversed_Type));
  ------------------
  |  Branch (160:5): [True: 13, False: 0]
  |  Branch (160:5): [True: 13, False: 0]
  ------------------
  161|       |    /* Make sure the type object is immutable: the generated
  162|       |     * vectorcall doesn't deal e.g. with users reassigning __init__. */
  163|     13|    assert(PyType_HasFeature(_PyType_CAST(type), Py_TPFLAGS_IMMUTABLETYPE));
  ------------------
  |  Branch (163:5): [True: 13, False: 0]
  |  Branch (163:5): [True: 13, False: 0]
  ------------------
  164|     13|    if (!_PyArg_NoKwnames("reversed", kwnames)) {
  ------------------
  |  |   15|     13|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (15:6): [True: 13, False: 0]
  |  |  |  Branch (15:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  165|      0|        goto exit;
  166|      0|    }
  167|     13|    if (!_PyArg_CheckPositional("reversed", nargs, 1, 1)) {
  ------------------
  |  |   31|     13|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 13, False: 0]
  |  |  |  Branch (31:27): [True: 13, False: 0]
  |  |  ------------------
  |  |   32|     13|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  168|      0|        goto exit;
  169|      0|    }
  170|     13|    seq = args[0];
  171|     13|    return_value = reversed_new_impl(_PyType_CAST(type), seq);
  ------------------
  |  |  770|     13|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     13|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (171:38): [True: 13, False: 0]
  ------------------
  172|       |
  173|     13|exit:
  174|     13|    return return_value;
  175|     13|}

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:
  142|    310|{
  143|    310|    PyObject *return_value = NULL;
  144|       |
  145|    310|    return_value = list_extend_impl((PyListObject *)self, iterable);
  146|       |
  147|    310|    return return_value;
  148|    310|}
listobject.c:list___reversed__:
  468|     13|{
  469|     13|    return list___reversed___impl((PyListObject *)self);
  470|     13|}
listobject.c:py_list_clear:
   70|     11|{
   71|     11|    PyObject *return_value = NULL;
   72|       |
   73|     11|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|     11|    {
  ------------------
   74|     11|    return_value = py_list_clear_impl((PyListObject *)self);
   75|     11|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     11|    }
  ------------------
   76|       |
   77|     11|    return return_value;
   78|     11|}
listobject.c:list_append:
  118|    296|{
  119|    296|    PyObject *return_value = NULL;
  120|       |
  121|    296|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|    296|    {
  ------------------
  122|    296|    return_value = list_append_impl((PyListObject *)self, object);
  123|    296|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    296|    }
  ------------------
  124|       |
  125|    296|    return return_value;
  126|    296|}
listobject.c:list_pop:
  166|    123|{
  167|    123|    PyObject *return_value = NULL;
  168|    123|    Py_ssize_t index = -1;
  169|       |
  170|    123|    if (!_PyArg_CheckPositional("pop", nargs, 0, 1)) {
  ------------------
  |  |   31|    123|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 123, False: 0]
  |  |  |  Branch (31:27): [True: 123, False: 0]
  |  |  ------------------
  |  |   32|    123|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  171|      0|        goto exit;
  172|      0|    }
  173|    123|    if (nargs < 1) {
  ------------------
  |  Branch (173:9): [True: 123, False: 0]
  ------------------
  174|    123|        goto skip_optional;
  175|    123|    }
  176|      0|    {
  177|      0|        Py_ssize_t ival = -1;
  178|      0|        PyObject *iobj = _PyNumber_Index(args[0]);
  179|      0|        if (iobj != NULL) {
  ------------------
  |  Branch (179:13): [True: 0, False: 0]
  ------------------
  180|      0|            ival = PyLong_AsSsize_t(iobj);
  181|      0|            Py_DECREF(iobj);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  182|      0|        }
  183|      0|        if (ival == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (183:13): [True: 0, False: 0]
  |  Branch (183:27): [True: 0, False: 0]
  ------------------
  184|      0|            goto exit;
  185|      0|        }
  186|      0|        index = ival;
  187|      0|    }
  188|    123|skip_optional:
  189|    123|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|    123|    {
  ------------------
  190|    123|    return_value = list_pop_impl((PyListObject *)self, index);
  191|    123|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    123|    }
  ------------------
  192|       |
  193|    123|exit:
  194|    123|    return return_value;
  195|    123|}
listobject.c:list_remove:
  388|    112|{
  389|    112|    PyObject *return_value = NULL;
  390|       |
  391|    112|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|    112|    {
  ------------------
  392|    112|    return_value = list_remove_impl((PyListObject *)self, value);
  393|    112|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    112|    }
  ------------------
  394|       |
  395|    112|    return return_value;
  396|    112|}
listobject.c:list_sort:
  219|      7|{
  220|      7|    PyObject *return_value = NULL;
  221|      7|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  222|       |
  223|      7|    #define NUM_KEYWORDS 2
  224|      7|    static struct {
  225|      7|        PyGC_Head _this_is_not_used;
  226|      7|        PyObject_VAR_HEAD
  227|      7|        Py_hash_t ob_hash;
  228|      7|        PyObject *ob_item[NUM_KEYWORDS];
  229|      7|    } _kwtuple = {
  230|      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|    },
  ------------------
  231|      7|        .ob_hash = -1,
  232|      7|        .ob_item = { &_Py_ID(key), &_Py_ID(reverse), },
  ------------------
  |  |  936|      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), },
  ------------------
  |  |  936|      7|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      7|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      7|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  233|      7|    };
  234|      7|    #undef NUM_KEYWORDS
  235|      7|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  236|       |
  237|       |    #else  // !Py_BUILD_CORE
  238|       |    #  define KWTUPLE NULL
  239|       |    #endif  // !Py_BUILD_CORE
  240|       |
  241|      7|    static const char * const _keywords[] = {"key", "reverse", NULL};
  242|      7|    static _PyArg_Parser _parser = {
  243|      7|        .keywords = _keywords,
  244|      7|        .fname = "sort",
  245|      7|        .kwtuple = KWTUPLE,
  ------------------
  |  |  235|      7|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  246|      7|    };
  247|      7|    #undef KWTUPLE
  248|      7|    PyObject *argsbuf[2];
  249|      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 (249:36): [True: 1, False: 6]
  ------------------
  250|      7|    PyObject *keyfunc = Py_None;
  ------------------
  |  |  616|      7|#  define Py_None (&_Py_NoneStruct)
  ------------------
  251|      7|    int reverse = 0;
  252|       |
  253|      7|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|      7|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 6, False: 1]
  |  |  ------------------
  |  |   89|      7|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 6, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 6]
  |  |  |  Branch (89:43): [True: 6, False: 0]
  |  |  |  Branch (89:67): [True: 6, False: 0]
  |  |  ------------------
  |  |   90|      7|      (args) : \
  |  |   91|      7|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      1|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  254|      7|            /*minpos*/ 0, /*maxpos*/ 0, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  255|      7|    if (!args) {
  ------------------
  |  Branch (255:9): [True: 0, False: 7]
  ------------------
  256|      0|        goto exit;
  257|      0|    }
  258|      7|    if (!noptargs) {
  ------------------
  |  Branch (258:9): [True: 6, False: 1]
  ------------------
  259|      6|        goto skip_optional_kwonly;
  260|      6|    }
  261|      1|    if (args[0]) {
  ------------------
  |  Branch (261:9): [True: 0, False: 1]
  ------------------
  262|      0|        keyfunc = args[0];
  263|      0|        if (!--noptargs) {
  ------------------
  |  Branch (263:13): [True: 0, False: 0]
  ------------------
  264|      0|            goto skip_optional_kwonly;
  265|      0|        }
  266|      0|    }
  267|      1|    reverse = PyObject_IsTrue(args[1]);
  268|      1|    if (reverse < 0) {
  ------------------
  |  Branch (268:9): [True: 0, False: 1]
  ------------------
  269|      0|        goto exit;
  270|      0|    }
  271|      7|skip_optional_kwonly:
  272|      7|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      7|    {
  ------------------
  273|      7|    return_value = list_sort_impl((PyListObject *)self, keyfunc, reverse);
  274|      7|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      7|    }
  ------------------
  275|       |
  276|      7|exit:
  277|      7|    return return_value;
  278|      7|}
listobject.c:list___init__:
  412|    112|{
  413|    112|    int return_value = -1;
  414|    112|    PyTypeObject *base_tp = &PyList_Type;
  415|    112|    PyObject *iterable = NULL;
  416|       |
  417|    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]
  |  |  ------------------
  ------------------
  418|    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 (418:10): [True: 112, False: 0]
  ------------------
  419|    112|        !_PyArg_NoKeywords("list", kwargs)) {
  ------------------
  |  |   25|    112|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (25:6): [True: 112, False: 0]
  |  |  |  Branch (25:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  420|      0|        goto exit;
  421|      0|    }
  422|    112|    if (!_PyArg_CheckPositional("list", PyTuple_GET_SIZE(args), 0, 1)) {
  ------------------
  |  |   31|    112|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 112, False: 0]
  |  |  |  Branch (31:27): [True: 112, False: 0]
  |  |  ------------------
  |  |   32|    112|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  423|      0|        goto exit;
  424|      0|    }
  425|    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 (425:9): [True: 112, False: 0]
  ------------------
  426|    112|        goto skip_optional;
  427|    112|    }
  428|      0|    iterable = PyTuple_GET_ITEM(args, 0);
  ------------------
  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (428:16): [True: 0, False: 0]
  ------------------
  429|    112|skip_optional:
  430|    112|    return_value = list___init___impl((PyListObject *)self, iterable);
  431|       |
  432|    112|exit:
  433|    112|    return return_value;
  434|    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), },
  ------------------
  |  |  936|      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), },
  ------------------
  |  |  936|      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), },
  ------------------
  |  |  936|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  303|      2|    };
  304|      2|    #undef NUM_KEYWORDS
  305|      2|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  306|       |
  307|       |    #else  // !Py_BUILD_CORE
  308|       |    #  define KWTUPLE NULL
  309|       |    #endif  // !Py_BUILD_CORE
  310|       |
  311|      2|    static const char * const _keywords[] = {"length", "byteorder", "signed", NULL};
  312|      2|    static _PyArg_Parser _parser = {
  313|      2|        .keywords = _keywords,
  314|      2|        .fname = "to_bytes",
  315|      2|        .kwtuple = KWTUPLE,
  ------------------
  |  |  305|      2|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  316|      2|    };
  317|      2|    #undef KWTUPLE
  318|      2|    PyObject *argsbuf[3];
  319|      2|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0;
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (319:36): [True: 0, False: 2]
  ------------------
  320|      2|    Py_ssize_t length = 1;
  321|      2|    PyObject *byteorder = NULL;
  322|      2|    int is_signed = 0;
  323|       |
  324|      2|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|      2|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 2, False: 0]
  |  |  ------------------
  |  |   89|      2|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 2, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 2]
  |  |  |  Branch (89:43): [True: 2, False: 0]
  |  |  |  Branch (89:67): [True: 2, False: 0]
  |  |  ------------------
  |  |   90|      2|      (args) : \
  |  |   91|      2|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  325|      2|            /*minpos*/ 0, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  326|      2|    if (!args) {
  ------------------
  |  Branch (326:9): [True: 0, False: 2]
  ------------------
  327|      0|        goto exit;
  328|      0|    }
  329|      2|    if (!noptargs) {
  ------------------
  |  Branch (329:9): [True: 0, False: 2]
  ------------------
  330|      0|        goto skip_optional_pos;
  331|      0|    }
  332|      2|    if (args[0]) {
  ------------------
  |  Branch (332:9): [True: 2, False: 0]
  ------------------
  333|      2|        {
  334|      2|            Py_ssize_t ival = -1;
  335|      2|            PyObject *iobj = _PyNumber_Index(args[0]);
  336|      2|            if (iobj != NULL) {
  ------------------
  |  Branch (336:17): [True: 2, False: 0]
  ------------------
  337|      2|                ival = PyLong_AsSsize_t(iobj);
  338|      2|                Py_DECREF(iobj);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  339|      2|            }
  340|      2|            if (ival == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (340:17): [True: 0, False: 2]
  |  Branch (340:31): [True: 0, False: 0]
  ------------------
  341|      0|                goto exit;
  342|      0|            }
  343|      2|            length = ival;
  344|      2|            if (length < 0) {
  ------------------
  |  Branch (344:17): [True: 0, False: 2]
  ------------------
  345|      0|                PyErr_SetString(PyExc_ValueError,
  346|      0|                                "length cannot be negative");
  347|      0|                goto exit;
  348|      0|            }
  349|      2|        }
  350|      2|        if (!--noptargs) {
  ------------------
  |  Branch (350:13): [True: 0, False: 2]
  ------------------
  351|      0|            goto skip_optional_pos;
  352|      0|        }
  353|      2|    }
  354|      2|    if (args[1]) {
  ------------------
  |  Branch (354:9): [True: 2, False: 0]
  ------------------
  355|      2|        if (!PyUnicode_Check(args[1])) {
  ------------------
  |  |  103|      2|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      2|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (355:13): [True: 0, False: 2]
  ------------------
  356|      0|            _PyArg_BadArgument("to_bytes", "argument 'byteorder'", "str", args[1]);
  357|      0|            goto exit;
  358|      0|        }
  359|      2|        byteorder = args[1];
  360|      2|        if (!--noptargs) {
  ------------------
  |  Branch (360:13): [True: 2, False: 0]
  ------------------
  361|      2|            goto skip_optional_pos;
  362|      2|        }
  363|      2|    }
  364|      2|skip_optional_pos:
  365|      2|    if (!noptargs) {
  ------------------
  |  Branch (365:9): [True: 2, False: 0]
  ------------------
  366|      2|        goto skip_optional_kwonly;
  367|      2|    }
  368|      0|    is_signed = PyObject_IsTrue(args[2]);
  369|      0|    if (is_signed < 0) {
  ------------------
  |  Branch (369:9): [True: 0, False: 0]
  ------------------
  370|      0|        goto exit;
  371|      0|    }
  372|      2|skip_optional_kwonly:
  373|      2|    return_value = int_to_bytes_impl(self, length, byteorder, is_signed);
  374|       |
  375|      2|exit:
  376|      2|    return return_value;
  377|      2|}
longobject.c:int_from_bytes:
  410|     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), },
  ------------------
  |  |  936|     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), },
  ------------------
  |  |  936|     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), },
  ------------------
  |  |  936|     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,
  ------------------
  |  |   88|     81|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 81, False: 0]
  |  |  ------------------
  |  |   89|     81|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 81, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 81]
  |  |  |  Branch (89:43): [True: 81, False: 0]
  |  |  |  Branch (89:67): [True: 81, False: 0]
  |  |  ------------------
  |  |   90|     81|      (args) : \
  |  |   91|     81|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      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), },
  ------------------
  |  |  936|    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,
  ------------------
  |  |   88|    143|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 143, Folded]
  |  |  |  Branch (88:23): [True: 143, False: 0]
  |  |  |  Branch (88:43): [True: 0, Folded]
  |  |  ------------------
  |  |   89|    286|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 143, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 143]
  |  |  |  Branch (89:43): [True: 143, False: 0]
  |  |  |  Branch (89:67): [True: 143, False: 0]
  |  |  |  Branch (89:68): [True: 143, False: 0]
  |  |  ------------------
  |  |   90|    286|      (args) : \
  |  |  ------------------
  |  |  |  Branch (90:8): [True: 143, False: 0]
  |  |  ------------------
  |  |   91|    143|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |  ------------------
  |  |  |  Branch (91:29): [True: 0, False: 0]
  |  |  ------------------
  |  |   92|      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:
   23|     27|{
   24|     27|    PyObject *return_value = NULL;
   25|     27|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
   26|       |
   27|     27|    #define NUM_KEYWORDS 1
   28|     27|    static struct {
   29|     27|        PyGC_Head _this_is_not_used;
   30|     27|        PyObject_VAR_HEAD
   31|     27|        Py_hash_t ob_hash;
   32|     27|        PyObject *ob_item[NUM_KEYWORDS];
   33|     27|    } _kwtuple = {
   34|     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|    },
  ------------------
   35|     27|        .ob_hash = -1,
   36|     27|        .ob_item = { &_Py_ID(object), },
  ------------------
  |  |  936|     27|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     27|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     27|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   37|     27|    };
   38|     27|    #undef NUM_KEYWORDS
   39|     27|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
   40|       |
   41|       |    #else  // !Py_BUILD_CORE
   42|       |    #  define KWTUPLE NULL
   43|       |    #endif  // !Py_BUILD_CORE
   44|       |
   45|     27|    static const char * const _keywords[] = {"object", NULL};
   46|     27|    static _PyArg_Parser _parser = {
   47|     27|        .keywords = _keywords,
   48|     27|        .fname = "memoryview",
   49|     27|        .kwtuple = KWTUPLE,
  ------------------
  |  |   39|     27|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
   50|     27|    };
   51|     27|    #undef KWTUPLE
   52|     27|    PyObject *argsbuf[1];
   53|     27|    PyObject * const *fastargs;
   54|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   55|     27|    PyObject *object;
   56|       |
   57|     27|    fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser,
  ------------------
  |  |   88|     27|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 27, Folded]
  |  |  |  Branch (88:23): [True: 27, False: 0]
  |  |  |  Branch (88:43): [True: 0, Folded]
  |  |  ------------------
  |  |   89|     54|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 27, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 27]
  |  |  |  Branch (89:43): [True: 27, False: 0]
  |  |  |  Branch (89:67): [True: 27, False: 0]
  |  |  |  Branch (89:68): [True: 27, False: 0]
  |  |  ------------------
  |  |   90|     54|      (args) : \
  |  |  ------------------
  |  |  |  Branch (90:8): [True: 27, False: 0]
  |  |  ------------------
  |  |   91|     27|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |  ------------------
  |  |  |  Branch (91:29): [True: 0, False: 0]
  |  |  ------------------
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
   58|     27|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
   59|     27|    if (!fastargs) {
  ------------------
  |  Branch (59:9): [True: 0, False: 27]
  ------------------
   60|      0|        goto exit;
   61|      0|    }
   62|     27|    object = fastargs[0];
   63|     27|    return_value = memoryview_impl(type, object);
   64|       |
   65|     27|exit:
   66|     27|    return return_value;
   67|     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), },
  ------------------
  |  |  936|     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), },
  ------------------
  |  |  936|     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,
  ------------------
  |  |   88|     51|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 51, Folded]
  |  |  |  Branch (88:23): [True: 51, False: 0]
  |  |  |  Branch (88:43): [True: 0, Folded]
  |  |  ------------------
  |  |   89|    102|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 51, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 51]
  |  |  |  Branch (89:43): [True: 51, False: 0]
  |  |  |  Branch (89:67): [True: 51, False: 0]
  |  |  |  Branch (89:68): [True: 51, False: 0]
  |  |  ------------------
  |  |   90|    102|      (args) : \
  |  |  ------------------
  |  |  |  Branch (90:8): [True: 51, False: 0]
  |  |  ------------------
  |  |   91|     51|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |  ------------------
  |  |  |  Branch (91:29): [True: 0, False: 0]
  |  |  ------------------
  |  |   92|      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|      3|{
   17|      3|    PyObject *return_value = NULL;
   18|      3|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
   19|       |
   20|      3|    #define NUM_KEYWORDS 1
   21|      3|    static struct {
   22|      3|        PyGC_Head _this_is_not_used;
   23|      3|        PyObject_VAR_HEAD
   24|      3|        Py_hash_t ob_hash;
   25|      3|        PyObject *ob_item[NUM_KEYWORDS];
   26|      3|    } _kwtuple = {
   27|      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|    },
  ------------------
   28|      3|        .ob_hash = -1,
   29|      3|        .ob_item = { &_Py_ID(repr), },
  ------------------
  |  |  936|      3|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      3|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      3|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   30|      3|    };
   31|      3|    #undef NUM_KEYWORDS
   32|      3|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
   33|       |
   34|       |    #else  // !Py_BUILD_CORE
   35|       |    #  define KWTUPLE NULL
   36|       |    #endif  // !Py_BUILD_CORE
   37|       |
   38|      3|    static const char * const _keywords[] = {"", "repr", NULL};
   39|      3|    static _PyArg_Parser _parser = {
   40|      3|        .keywords = _keywords,
   41|      3|        .fname = "sentinel",
   42|      3|        .kwtuple = KWTUPLE,
  ------------------
  |  |   32|      3|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
   43|      3|    };
   44|      3|    #undef KWTUPLE
   45|      3|    PyObject *argsbuf[2];
   46|      3|    PyObject * const *fastargs;
   47|      3|    Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|      3|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   48|      3|    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: 3]
  ------------------
   49|      3|    PyObject *name;
   50|      3|    PyObject *repr = Py_None;
  ------------------
  |  |  616|      3|#  define Py_None (&_Py_NoneStruct)
  ------------------
   51|       |
   52|      3|    fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser,
  ------------------
  |  |   88|      3|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 3, Folded]
  |  |  |  Branch (88:23): [True: 3, False: 0]
  |  |  |  Branch (88:43): [True: 0, Folded]
  |  |  ------------------
  |  |   89|      6|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 3, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 3]
  |  |  |  Branch (89:43): [True: 3, False: 0]
  |  |  |  Branch (89:67): [True: 3, False: 0]
  |  |  |  Branch (89:68): [True: 3, False: 0]
  |  |  ------------------
  |  |   90|      6|      (args) : \
  |  |  ------------------
  |  |  |  Branch (90:8): [True: 3, False: 0]
  |  |  ------------------
  |  |   91|      3|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |  ------------------
  |  |  |  Branch (91:29): [True: 0, False: 0]
  |  |  ------------------
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
   53|      3|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
   54|      3|    if (!fastargs) {
  ------------------
  |  Branch (54:9): [True: 0, False: 3]
  ------------------
   55|      0|        goto exit;
   56|      0|    }
   57|      3|    if (!PyUnicode_Check(fastargs[0])) {
  ------------------
  |  |  103|      3|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      3|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (57:9): [True: 0, False: 3]
  ------------------
   58|      0|        _PyArg_BadArgument("sentinel", "argument 1", "str", fastargs[0]);
   59|      0|        goto exit;
   60|      0|    }
   61|      3|    name = fastargs[0];
   62|      3|    if (!noptargs) {
  ------------------
  |  Branch (62:9): [True: 3, False: 0]
  ------------------
   63|      3|        goto skip_optional_kwonly;
   64|      3|    }
   65|      0|    repr = fastargs[1];
   66|      3|skip_optional_kwonly:
   67|      3|    return_value = sentinel_new_impl(type, name, repr);
   68|       |
   69|      3|exit:
   70|      3|    return return_value;
   71|      3|}

setobject.c:set_issubset:
  351|      4|{
  352|      4|    PyObject *return_value = NULL;
  353|       |
  354|      4|    Py_BEGIN_CRITICAL_SECTION2(so, other);
  ------------------
  |  |   57|      4|    {
  ------------------
  355|      4|    return_value = set_issubset_impl((PySetObject *)so, other);
  356|      4|    Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|      4|    }
  ------------------
  357|       |
  358|      4|    return return_value;
  359|      4|}
setobject.c:set_add:
  401|    395|{
  402|    395|    PyObject *return_value = NULL;
  403|       |
  404|    395|    Py_BEGIN_CRITICAL_SECTION(so);
  ------------------
  |  |   51|    395|    {
  ------------------
  405|    395|    return_value = set_add_impl((PySetObject *)so, key);
  406|    395|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    395|    }
  ------------------
  407|       |
  408|    395|    return return_value;
  409|    395|}
setobject.c:frozenset___contains__:
  447|     11|{
  448|     11|    PyObject *return_value = NULL;
  449|       |
  450|     11|    return_value = frozenset___contains___impl((PySetObject *)so, key);
  451|       |
  452|     11|    return return_value;
  453|     11|}
setobject.c:set_clear:
  122|     22|{
  123|     22|    PyObject *return_value = NULL;
  124|       |
  125|     22|    Py_BEGIN_CRITICAL_SECTION(so);
  ------------------
  |  |   51|     22|    {
  ------------------
  126|     22|    return_value = set_clear_impl((PySetObject *)so);
  127|     22|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     22|    }
  ------------------
  128|       |
  129|     22|    return return_value;
  130|     22|}
setobject.c:set_pop:
   23|      8|{
   24|      8|    PyObject *return_value = NULL;
   25|       |
   26|      8|    Py_BEGIN_CRITICAL_SECTION(so);
  ------------------
  |  |   51|      8|    {
  ------------------
   27|      8|    return_value = set_pop_impl((PySetObject *)so);
   28|      8|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      8|    }
  ------------------
   29|       |
   30|      8|    return return_value;
   31|      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)) {
  ------------------
  |  |   25|      2|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (25:6): [True: 2, False: 0]
  |  |  |  Branch (25:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   98|      0|        goto exit;
   99|      0|    }
  100|      2|    if (!_PyArg_CheckPositional("tuple", PyTuple_GET_SIZE(args), 0, 1)) {
  ------------------
  |  |   31|      2|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 2, False: 0]
  |  |  |  Branch (31:27): [True: 2, False: 0]
  |  |  ------------------
  |  |   32|      2|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  101|      0|        goto exit;
  102|      0|    }
  103|      2|    if (PyTuple_GET_SIZE(args) < 1) {
  ------------------
  |  |   27|      2|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (103:9): [True: 0, False: 2]
  ------------------
  104|      0|        goto skip_optional;
  105|      0|    }
  106|      2|    iterable = PyTuple_GET_ITEM(args, 0);
  ------------------
  |  |   29|      2|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      2|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (106:16): [True: 2, False: 0]
  ------------------
  107|      2|skip_optional:
  108|      2|    return_value = tuple_new_impl(type, iterable);
  109|       |
  110|      2|exit:
  111|      2|    return return_value;
  112|      2|}
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(Py_Is(_PyType_CAST(type), &PyTuple_Type));
  ------------------
  |  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)) {
  ------------------
  |  |   15|      5|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (15:6): [True: 5, False: 0]
  |  |  |  Branch (15:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  127|      0|        goto exit;
  128|      0|    }
  129|      5|    if (!_PyArg_CheckPositional("tuple", nargs, 0, 1)) {
  ------------------
  |  |   31|      5|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 5, False: 0]
  |  |  |  Branch (31:27): [True: 5, False: 0]
  |  |  ------------------
  |  |   32|      5|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  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|     22|{
  216|     22|    PyObject *return_value = NULL;
  217|     22|    PyObject *format_spec;
  218|       |
  219|     22|    if (!PyUnicode_Check(arg)) {
  ------------------
  |  |  103|     22|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     22|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (219:9): [True: 0, False: 22]
  ------------------
  220|      0|        _PyArg_BadArgument("__format__", "argument", "str", arg);
  221|      0|        goto exit;
  222|      0|    }
  223|     22|    format_spec = arg;
  224|     22|    return_value = object___format___impl(self, format_spec);
  225|       |
  226|     22|exit:
  227|     22|    return return_value;
  228|     22|}

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

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

PyComplex_FromCComplex:
  426|      8|{
  427|      8|    PyComplexObject *op = _Py_FREELIST_POP(PyComplexObject, complexes);
  ------------------
  |  |   43|      8|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  428|       |
  429|      8|    if (op == NULL) {
  ------------------
  |  Branch (429:9): [True: 4, False: 4]
  ------------------
  430|       |        /* Inline PyObject_New */
  431|      4|        op = PyObject_Malloc(sizeof(PyComplexObject));
  432|      4|        if (op == NULL) {
  ------------------
  |  Branch (432:13): [True: 0, False: 4]
  ------------------
  433|      0|            return PyErr_NoMemory();
  434|      0|        }
  435|      4|        _PyObject_Init((PyObject*)op, &PyComplex_Type);
  436|      4|    }
  437|      8|    op->cval = cval;
  438|      8|    return (PyObject *) op;
  439|      8|}
complexobject.c:complex_dealloc:
  443|      8|{
  444|      8|    assert(PyComplex_Check(op));
  ------------------
  |  Branch (444:5): [True: 8, False: 0]
  ------------------
  445|      8|    if (PyComplex_CheckExact(op)) {
  ------------------
  |  |   14|      8|#define PyComplex_CheckExact(op) Py_IS_TYPE((op), &PyComplex_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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  446|      8|        _Py_FREELIST_FREE(complexes, op, PyObject_Free);
  ------------------
  |  |   35|      8|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|      8|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   19|      8|#  define Py_complexes_MAXFREELIST 100
  |  |  ------------------
  ------------------
  447|      8|    }
  448|      0|    else {
  449|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  450|      0|    }
  451|      8|}

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

_PyDict_CheckConsistency:
  699|  47.6k|{
  700|  47.6k|    ASSERT_WORLD_STOPPED_OR_DICT_LOCKED(op);
  701|       |
  702|  47.6k|#define CHECK(expr) \
  703|  47.6k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  704|       |
  705|  47.6k|    assert(op != NULL);
  ------------------
  |  Branch (705:5): [True: 47.6k, False: 0]
  ------------------
  706|  47.6k|    CHECK(PyAnyDict_Check(op));
  ------------------
  |  |  703|  47.6k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:16): [True: 47.6k, False: 3]
  |  |  |  Branch (703:16): [True: 3, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 47.6k]
  |  |  ------------------
  ------------------
  707|  47.6k|    PyDictObject *mp = (PyDictObject *)op;
  708|       |
  709|  47.6k|    PyDictKeysObject *keys = mp->ma_keys;
  710|  47.6k|    int splitted = _PyDict_HasSplitTable(mp);
  ------------------
  |  |   56|  47.6k|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  ------------------
  711|  47.6k|    Py_ssize_t usable = USABLE_FRACTION(DK_SIZE(keys));
  ------------------
  |  |  590|  47.6k|#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.6k|    Py_ssize_t dk_usable = FT_ATOMIC_LOAD_SSIZE_ACQUIRE(keys->dk_usable);
  ------------------
  |  |  148|  47.6k|#define FT_ATOMIC_LOAD_SSIZE_ACQUIRE(value) value
  ------------------
  716|  47.6k|    Py_ssize_t dk_nentries = FT_ATOMIC_LOAD_SSIZE_ACQUIRE(keys->dk_nentries);
  ------------------
  |  |  148|  47.6k|#define FT_ATOMIC_LOAD_SSIZE_ACQUIRE(value) value
  ------------------
  717|       |
  718|  47.6k|    CHECK(0 <= mp->ma_used && mp->ma_used <= usable);
  ------------------
  |  |  703|  95.2k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:16): [True: 47.6k, False: 0]
  |  |  |  Branch (703:16): [True: 47.6k, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 47.6k]
  |  |  ------------------
  ------------------
  719|  47.6k|    CHECK(0 <= dk_usable && dk_usable <= usable);
  ------------------
  |  |  703|  95.2k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:16): [True: 47.6k, False: 0]
  |  |  |  Branch (703:16): [True: 47.6k, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 47.6k]
  |  |  ------------------
  ------------------
  720|  47.6k|    CHECK(0 <= dk_nentries && dk_nentries <= usable);
  ------------------
  |  |  703|  95.2k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:16): [True: 47.6k, False: 0]
  |  |  |  Branch (703:16): [True: 47.6k, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 47.6k]
  |  |  ------------------
  ------------------
  721|  47.6k|    CHECK(dk_usable + dk_nentries <= usable);
  ------------------
  |  |  703|  47.6k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:14): [True: 0, False: 47.6k]
  |  |  |  Branch (703:89): [Folded, False: 47.6k]
  |  |  ------------------
  ------------------
  722|       |
  723|  47.6k|    if (!splitted) {
  ------------------
  |  Branch (723:9): [True: 47.1k, False: 514]
  ------------------
  724|       |        /* combined table */
  725|  47.1k|        CHECK(keys->dk_kind != DICT_KEYS_SPLIT);
  ------------------
  |  |  703|  47.1k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:14): [True: 0, False: 47.1k]
  |  |  |  Branch (703:89): [Folded, False: 47.1k]
  |  |  ------------------
  ------------------
  726|  47.1k|        CHECK(keys->dk_refcnt == 1 || keys == Py_EMPTY_KEYS);
  ------------------
  |  |  703|  50.4k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:16): [True: 43.7k, False: 3.36k]
  |  |  |  Branch (703:16): [True: 3.36k, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 47.1k]
  |  |  ------------------
  ------------------
  727|  47.1k|    }
  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)
  |  |  ------------------
  |  |  |  |  428|      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)
  |  |  ------------------
  |  |  |  |  428|      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)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:14): [True: 0, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 0]
  |  |  ------------------
  ------------------
  733|      0|            CHECK(mp->ma_values->valid == 1);
  ------------------
  |  |  703|      0|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:14): [True: 0, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 0]
  |  |  ------------------
  ------------------
  734|      0|        }
  735|    514|    }
  736|       |
  737|  47.6k|    if (check_content) {
  ------------------
  |  Branch (737:9): [True: 0, False: 47.6k]
  ------------------
  738|      0|        LOCK_KEYS_IF_SPLIT(keys, keys->dk_kind);
  739|      0|        for (Py_ssize_t i=0; i < DK_SIZE(keys); i++) {
  ------------------
  |  |  274|      0|#define DK_SIZE(dk)      (((int64_t)1)<<DK_LOG_SIZE(dk))
  |  |  ------------------
  |  |  |  |  272|      0|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (739:30): [True: 0, False: 0]
  ------------------
  740|      0|            Py_ssize_t ix = dictkeys_get_index(keys, i);
  741|      0|            CHECK(DKIX_DUMMY <= ix && ix <= usable);
  ------------------
  |  |  703|      0|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:16): [True: 0, False: 0]
  |  |  |  Branch (703:16): [True: 0, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 0]
  |  |  ------------------
  ------------------
  742|      0|        }
  743|       |
  744|      0|        if (keys->dk_kind == DICT_KEYS_GENERAL) {
  ------------------
  |  Branch (744:13): [True: 0, False: 0]
  ------------------
  745|      0|            PyDictKeyEntry *entries = DK_ENTRIES(keys);
  746|      0|            for (Py_ssize_t i=0; i < usable; i++) {
  ------------------
  |  Branch (746:34): [True: 0, False: 0]
  ------------------
  747|      0|                PyDictKeyEntry *entry = &entries[i];
  748|      0|                PyObject *key = entry->me_key;
  749|       |
  750|      0|                if (key != NULL) {
  ------------------
  |  Branch (750:21): [True: 0, False: 0]
  ------------------
  751|       |                    /* test_dict fails if PyObject_Hash() is called again */
  752|      0|                    CHECK(entry->me_hash != -1);
  ------------------
  |  |  703|      0|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:14): [True: 0, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 0]
  |  |  ------------------
  ------------------
  753|      0|                    CHECK(entry->me_value != NULL);
  ------------------
  |  |  703|      0|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:14): [True: 0, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 0]
  |  |  ------------------
  ------------------
  754|       |
  755|      0|                    if (PyUnicode_CheckExact(key)) {
  ------------------
  |  |  104|      0|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  756|      0|                        Py_hash_t hash = unicode_get_hash(key);
  757|      0|                        CHECK(entry->me_hash == hash);
  ------------------
  |  |  703|      0|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:14): [True: 0, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 0]
  |  |  ------------------
  ------------------
  758|      0|                    }
  759|      0|                }
  760|      0|            }
  761|      0|        }
  762|      0|        else {
  763|      0|            PyDictUnicodeEntry *entries = DK_UNICODE_ENTRIES(keys);
  764|      0|            for (Py_ssize_t i=0; i < usable; i++) {
  ------------------
  |  Branch (764:34): [True: 0, False: 0]
  ------------------
  765|      0|                PyDictUnicodeEntry *entry = &entries[i];
  766|      0|                PyObject *key = entry->me_key;
  767|       |
  768|      0|                if (key != NULL) {
  ------------------
  |  Branch (768:21): [True: 0, False: 0]
  ------------------
  769|      0|                    CHECK(PyUnicode_CheckExact(key));
  ------------------
  |  |  703|      0|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:14): [True: 0, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 0]
  |  |  ------------------
  ------------------
  770|      0|                    Py_hash_t hash = unicode_get_hash(key);
  771|      0|                    CHECK(hash != -1);
  ------------------
  |  |  703|      0|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:14): [True: 0, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 0]
  |  |  ------------------
  ------------------
  772|      0|                    if (!splitted) {
  ------------------
  |  Branch (772:25): [True: 0, False: 0]
  ------------------
  773|      0|                        CHECK(entry->me_value != NULL);
  ------------------
  |  |  703|      0|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:14): [True: 0, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 0]
  |  |  ------------------
  ------------------
  774|      0|                    }
  775|      0|                }
  776|       |
  777|      0|                if (splitted) {
  ------------------
  |  Branch (777:21): [True: 0, False: 0]
  ------------------
  778|      0|                    CHECK(entry->me_value == NULL);
  ------------------
  |  |  703|      0|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:14): [True: 0, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 0]
  |  |  ------------------
  ------------------
  779|      0|                }
  780|      0|            }
  781|      0|        }
  782|       |
  783|      0|        if (splitted) {
  ------------------
  |  Branch (783:13): [True: 0, False: 0]
  ------------------
  784|      0|            CHECK(mp->ma_used <= SHARED_KEYS_MAX_SIZE);
  ------------------
  |  |  703|      0|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:14): [True: 0, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 0]
  |  |  ------------------
  ------------------
  785|       |            /* splitted table */
  786|      0|            int duplicate_check = 0;
  787|      0|            for (Py_ssize_t i=0; i < mp->ma_used; i++) {
  ------------------
  |  Branch (787:34): [True: 0, False: 0]
  ------------------
  788|      0|                int index = get_index_from_order(mp, i);
  789|      0|                CHECK((duplicate_check & (1<<index)) == 0);
  ------------------
  |  |  703|      0|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:14): [True: 0, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 0]
  |  |  ------------------
  ------------------
  790|      0|                duplicate_check |= (1<<index);
  791|      0|                CHECK(mp->ma_values->values[index] != NULL);
  ------------------
  |  |  703|      0|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:14): [True: 0, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 0]
  |  |  ------------------
  ------------------
  792|      0|            }
  793|      0|        }
  794|      0|        UNLOCK_KEYS_IF_SPLIT(keys, keys->dk_kind);
  795|      0|    }
  796|  47.6k|    return 1;
  797|       |
  798|  47.6k|#undef CHECK
  799|  47.6k|}
PyDict_New:
 1085|  3.01k|{
 1086|       |    /* We don't incref Py_EMPTY_KEYS here because it is immortal. */
 1087|  3.01k|    return new_dict(Py_EMPTY_KEYS, NULL, 0, 0);
  ------------------
  |  |  660|  3.01k|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
 1088|  3.01k|}
_PyDictKeys_StringLookup:
 1301|     46|{
 1302|     46|    if (!check_keys_unicode(dk, key)) {
  ------------------
  |  Branch (1302:9): [True: 0, False: 46]
  ------------------
 1303|      0|        return DKIX_ERROR;
  ------------------
  |  |  187|      0|#define DKIX_ERROR (-3)
  ------------------
 1304|      0|    }
 1305|     46|    Py_hash_t hash = hash_unicode_key(key);
 1306|     46|    return unicodekeys_lookup_unicode(dk, key, hash);
 1307|     46|}
_PyDictKeys_StringLookupAndVersion:
 1311|    279|{
 1312|    279|    if (!check_keys_unicode(dk, key)) {
  ------------------
  |  Branch (1312:9): [True: 0, False: 279]
  ------------------
 1313|      0|        return DKIX_ERROR;
  ------------------
  |  |  187|      0|#define DKIX_ERROR (-3)
  ------------------
 1314|      0|    }
 1315|    279|    Py_ssize_t ix;
 1316|    279|    Py_hash_t hash = hash_unicode_key(key);
 1317|    279|    LOCK_KEYS(dk);
 1318|    279|    ix = unicodekeys_lookup_unicode(dk, key, hash);
 1319|    279|    *version = _PyDictKeys_GetVersionForCurrentState(_PyInterpreterState_GET(), dk);
 1320|    279|    UNLOCK_KEYS(dk);
 1321|    279|    return ix;
 1322|    279|}
_PyDictKeys_StringLookupSplit:
 1329|  1.80k|{
 1330|  1.80k|    assert(dk->dk_kind == DICT_KEYS_SPLIT);
  ------------------
  |  Branch (1330:5): [True: 1.80k, False: 0]
  ------------------
 1331|  1.80k|    assert(PyUnicode_CheckExact(key));
  ------------------
  |  Branch (1331:5): [True: 1.80k, False: 0]
  ------------------
 1332|  1.80k|    Py_hash_t hash = unicode_get_hash(key);
 1333|  1.80k|    if (hash == -1) {
  ------------------
  |  Branch (1333:9): [True: 0, False: 1.80k]
  ------------------
 1334|      0|        hash = PyUnicode_Type.tp_hash(key);
 1335|      0|        if (hash == -1) {
  ------------------
  |  Branch (1335:13): [True: 0, False: 0]
  ------------------
 1336|      0|            PyErr_Clear();
 1337|      0|            return DKIX_ERROR;
  ------------------
  |  |  187|      0|#define DKIX_ERROR (-3)
  ------------------
 1338|      0|        }
 1339|      0|    }
 1340|  1.80k|    return unicodekeys_lookup_split(dk, key, hash);
 1341|  1.80k|}
_Py_dict_lookup:
 1360|   210k|{
 1361|   210k|    PyDictKeysObject *dk;
 1362|   210k|    DictKeysKind kind;
 1363|   210k|    Py_ssize_t ix;
 1364|       |
 1365|   210k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(mp);
 1366|   210k|start:
 1367|   210k|    dk = mp->ma_keys;
 1368|   210k|    kind = dk->dk_kind;
 1369|       |
 1370|   210k|    if (kind != DICT_KEYS_GENERAL) {
  ------------------
  |  Branch (1370:9): [True: 208k, False: 2.09k]
  ------------------
 1371|   208k|        if (PyUnicode_CheckExact(key)) {
  ------------------
  |  |  104|   208k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|   208k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   208k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   208k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 208k, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1372|       |#ifdef Py_GIL_DISABLED
 1373|       |            if (kind == DICT_KEYS_SPLIT) {
 1374|       |                ix = unicodekeys_lookup_split(dk, key, hash);
 1375|       |            }
 1376|       |            else {
 1377|       |                ix = unicodekeys_lookup_unicode(dk, key, hash);
 1378|       |            }
 1379|       |#else
 1380|   208k|            ix = unicodekeys_lookup_unicode(dk, key, hash);
 1381|   208k|#endif
 1382|   208k|        }
 1383|      8|        else {
 1384|      8|            INCREF_KEYS_FT(dk);
 1385|      8|            LOCK_KEYS_IF_SPLIT(dk, kind);
 1386|       |
 1387|      8|            ix = unicodekeys_lookup_generic(mp, dk, key, hash);
 1388|       |
 1389|      8|            UNLOCK_KEYS_IF_SPLIT(dk, kind);
 1390|      8|            DECREF_KEYS_FT(dk, IS_DICT_SHARED(mp));
 1391|      8|            if (ix == DKIX_KEY_CHANGED) {
  ------------------
  |  |  188|      8|#define DKIX_KEY_CHANGED (-4) /* Used internally */
  ------------------
  |  Branch (1391:17): [True: 0, False: 8]
  ------------------
 1392|      0|                goto start;
 1393|      0|            }
 1394|      8|        }
 1395|       |
 1396|   208k|        if (ix >= 0) {
  ------------------
  |  Branch (1396:13): [True: 41.3k, False: 167k]
  ------------------
 1397|  41.3k|            if (kind == DICT_KEYS_SPLIT) {
  ------------------
  |  Branch (1397:17): [True: 173, False: 41.1k]
  ------------------
 1398|    173|                *value_addr = mp->ma_values->values[ix];
 1399|    173|            }
 1400|  41.1k|            else {
 1401|  41.1k|                *value_addr = DK_UNICODE_ENTRIES(dk)[ix].me_value;
 1402|  41.1k|            }
 1403|  41.3k|        }
 1404|   167k|        else {
 1405|   167k|            *value_addr = NULL;
 1406|   167k|        }
 1407|   208k|    }
 1408|  2.09k|    else {
 1409|  2.09k|        ix = dictkeys_generic_lookup(mp, dk, key, hash);
 1410|  2.09k|        if (ix == DKIX_KEY_CHANGED) {
  ------------------
  |  |  188|  2.09k|#define DKIX_KEY_CHANGED (-4) /* Used internally */
  ------------------
  |  Branch (1410:13): [True: 0, False: 2.09k]
  ------------------
 1411|      0|            goto start;
 1412|      0|        }
 1413|  2.09k|        if (ix >= 0) {
  ------------------
  |  Branch (1413:13): [True: 259, False: 1.83k]
  ------------------
 1414|    259|            *value_addr = DK_ENTRIES(dk)[ix].me_value;
 1415|    259|        }
 1416|  1.83k|        else {
 1417|  1.83k|            *value_addr = NULL;
 1418|  1.83k|        }
 1419|  2.09k|    }
 1420|       |
 1421|   210k|    return ix;
 1422|   210k|}
_Py_dict_lookup_threadsafe:
 1758|  1.71k|{
 1759|  1.71k|    Py_ssize_t ix = _Py_dict_lookup(mp, key, hash, value_addr);
 1760|  1.71k|    Py_XNewRef(*value_addr);
  ------------------
  |  |  551|  1.71k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.71k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.71k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1761|  1.71k|    return ix;
 1762|  1.71k|}
_Py_dict_lookup_threadsafe_stackref:
 1766|   139k|{
 1767|   139k|    PyObject *val;
 1768|   139k|    Py_ssize_t ix = _Py_dict_lookup(mp, key, hash, &val);
 1769|   139k|    if (val == NULL) {
  ------------------
  |  Branch (1769:9): [True: 124k, False: 15.6k]
  ------------------
 1770|   124k|        *value_addr = PyStackRef_NULL;
 1771|   124k|    }
 1772|  15.6k|    else {
 1773|  15.6k|        *value_addr = PyStackRef_FromPyObjectNew(val);
  ------------------
  |  |  611|  15.6k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  15.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1774|  15.6k|    }
 1775|   139k|    return ix;
 1776|   139k|}
_PyDict_GetMethodStackRef:
 1784|    264|{
 1785|    264|    assert(PyUnicode_CheckExact(key));
  ------------------
  |  Branch (1785:5): [True: 264, False: 0]
  ------------------
 1786|    264|    Py_hash_t hash = hash_unicode_key(key);
 1787|       |
 1788|       |#ifdef Py_GIL_DISABLED
 1789|       |    // NOTE: We can only do the fast-path lookup if we are on the owning
 1790|       |    // thread or if the dict is already marked as shared so that the load
 1791|       |    // of ma_keys is safe without a lock. We cannot call ensure_shared_on_read()
 1792|       |    // in this code path without incref'ing the dict because the dict is a
 1793|       |    // borrowed reference protected by QSBR, and acquiring the lock could lead
 1794|       |    // to a quiescent state (allowing the dict to be freed).
 1795|       |    if (_Py_IsOwnedByCurrentThread((PyObject *)mp) || IS_DICT_SHARED(mp)) {
 1796|       |        PyDictKeysObject *dk = _Py_atomic_load_ptr_acquire(&mp->ma_keys);
 1797|       |        if (dk->dk_kind == DICT_KEYS_UNICODE) {
 1798|       |            _PyStackRef ref;
 1799|       |            Py_ssize_t ix = lookup_threadsafe_unicode(dk, key, hash, &ref);
 1800|       |            if (ix >= 0) {
 1801|       |                assert(!PyStackRef_IsNull(ref));
 1802|       |                PyStackRef_XSETREF(*method, ref);
 1803|       |                return 1;
 1804|       |            }
 1805|       |            else if (ix == DKIX_EMPTY) {
 1806|       |                return 0;
 1807|       |            }
 1808|       |            assert(ix == DKIX_KEY_CHANGED);
 1809|       |        }
 1810|       |    }
 1811|       |#endif
 1812|       |
 1813|    264|    PyObject *obj;
 1814|    264|    Py_INCREF(mp);
  ------------------
  |  |  310|    264|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    264|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    264|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1815|    264|    Py_ssize_t ix = _Py_dict_lookup_threadsafe(mp, key, hash, &obj);
 1816|    264|    Py_DECREF(mp);
  ------------------
  |  |  430|    264|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    264|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    264|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1817|    264|    if (ix == DKIX_ERROR) {
  ------------------
  |  |  187|    264|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (1817:9): [True: 0, False: 264]
  ------------------
 1818|      0|        PyStackRef_CLEAR(*method);
  ------------------
  |  |  732|      0|    do { \
  |  |  733|      0|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|      0|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|      0|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|      0|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1819|      0|        return -1;
 1820|      0|    }
 1821|    264|    else if (ix >= 0 && obj != NULL) {
  ------------------
  |  Branch (1821:14): [True: 0, False: 264]
  |  Branch (1821:25): [True: 0, False: 0]
  ------------------
 1822|      0|        PyStackRef_XSETREF(*method, PyStackRef_FromPyObjectSteal(obj));
  ------------------
  |  |  855|      0|    do { \
  |  |  856|      0|        _PyStackRef _tmp_dst_ref = (dst); \
  |  |  857|      0|        (dst) = (src); \
  |  |  858|      0|        PyStackRef_XCLOSE(_tmp_dst_ref); \
  |  |  859|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (859:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1823|      0|        return 1;
 1824|      0|    }
 1825|    264|    return 0;  // not found
 1826|    264|}
_PyDict_HasOnlyStringKeys:
 1830|    404|{
 1831|    404|    Py_ssize_t pos = 0;
 1832|    404|    PyObject *key, *value;
 1833|    404|    assert(PyDict_Check(dict));
  ------------------
  |  Branch (1833:5): [True: 404, False: 0]
  ------------------
 1834|       |    /* Shortcut */
 1835|    404|    if (((PyDictObject *)dict)->ma_keys->dk_kind != DICT_KEYS_GENERAL)
  ------------------
  |  Branch (1835:9): [True: 404, False: 0]
  ------------------
 1836|    404|        return 1;
 1837|      0|    while (PyDict_Next(dict, &pos, &key, &value))
  ------------------
  |  Branch (1837:12): [True: 0, False: 0]
  ------------------
 1838|      0|        if (!PyUnicode_Check(key))
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1838:13): [True: 0, False: 0]
  ------------------
 1839|      0|            return 0;
 1840|      0|    return 1;
 1841|      0|}
_PyDict_EnablePerThreadRefcounting:
 1845|     99|{
 1846|     99|    assert(PyDict_Check(op));
  ------------------
  |  Branch (1846:5): [True: 99, False: 0]
  ------------------
 1847|       |#ifdef Py_GIL_DISABLED
 1848|       |    Py_ssize_t id = _PyObject_AssignUniqueId(op);
 1849|       |    if (id == _Py_INVALID_UNIQUE_ID) {
 1850|       |        return;
 1851|       |    }
 1852|       |    if ((uint64_t)id >= (uint64_t)DICT_UNIQUE_ID_MAX) {
 1853|       |        _PyObject_ReleaseUniqueId(id);
 1854|       |        return;
 1855|       |    }
 1856|       |
 1857|       |    PyDictObject *mp = (PyDictObject *)op;
 1858|       |    assert((mp->_ma_watcher_tag >> DICT_UNIQUE_ID_SHIFT) == 0);
 1859|       |    mp->_ma_watcher_tag += (uint64_t)id << DICT_UNIQUE_ID_SHIFT;
 1860|       |#endif
 1861|     99|}
_PyDict_InsertSplitValue:
 1991|    185|{
 1992|    185|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (1992:5): [True: 185, False: 0]
  ------------------
 1993|    185|    assert(PyUnicode_CheckExact(key));
  ------------------
  |  Branch (1993:5): [True: 185, False: 0]
  ------------------
 1994|       |
 1995|    185|    PyObject *old_value = mp->ma_values->values[ix];
 1996|    185|    if (old_value == NULL) {
  ------------------
  |  Branch (1996:9): [True: 185, False: 0]
  ------------------
 1997|    185|        _PyDict_NotifyEvent(PyDict_EVENT_ADDED, mp, key, value);
 1998|    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)
  |  |  ------------------
  |  |  |  |  164|    185|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1999|    185|        _PyDictValues_AddToInsertionOrder(mp->ma_values, ix);
 2000|    185|        STORE_USED(mp, mp->ma_used + 1);
  ------------------
  |  |  336|    185|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  194|    185|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2001|    185|    }
 2002|      0|    else {
 2003|      0|        _PyDict_NotifyEvent(PyDict_EVENT_MODIFIED, mp, key, value);
 2004|      0|        STORE_SPLIT_VALUE(mp, ix, Py_NewRef(value));
  ------------------
  |  |  332|      0|#define STORE_SPLIT_VALUE(mp, idx, value) FT_ATOMIC_STORE_PTR_RELEASE(mp->ma_values->values[idx], value)
  |  |  ------------------
  |  |  |  |  164|      0|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2005|       |        // old_value should be DECREFed after GC track checking is done, if not, it could raise a segmentation fault,
 2006|       |        // when dict only holds the strong reference to value in ep->me_value.
 2007|      0|        Py_DECREF(old_value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2008|      0|    }
 2009|       |    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|    185|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (2009:5): [True: 185, False: 0]
  ------------------
 2010|    185|}
_PyDict_FromItems:
 2381|    793|{
 2382|    793|    bool unicode = true;
 2383|    793|    PyObject *const *ks = keys;
 2384|       |
 2385|  1.38k|    for (Py_ssize_t i = 0; i < length; i++) {
  ------------------
  |  Branch (2385:28): [True: 599, False: 784]
  ------------------
 2386|    599|        if (!PyUnicode_CheckExact(*ks)) {
  ------------------
  |  |  104|    599|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|    599|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    599|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    599|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2386:13): [True: 9, False: 590]
  ------------------
 2387|      9|            unicode = false;
 2388|      9|            break;
 2389|      9|        }
 2390|    590|        ks += keys_offset;
 2391|    590|    }
 2392|       |
 2393|    793|    PyObject *dict = dict_new_presized(length, unicode);
 2394|    793|    if (dict == NULL) {
  ------------------
  |  Branch (2394:9): [True: 0, False: 793]
  ------------------
 2395|      0|        return NULL;
 2396|      0|    }
 2397|       |
 2398|    793|    ks = keys;
 2399|    793|    PyObject *const *vs = values;
 2400|       |
 2401|  1.41k|    for (Py_ssize_t i = 0; i < length; i++) {
  ------------------
  |  Branch (2401:28): [True: 621, False: 793]
  ------------------
 2402|    621|        PyObject *key = *ks;
 2403|    621|        PyObject *value = *vs;
 2404|    621|        if (setitem_lock_held((PyDictObject *)dict, key, value) < 0) {
  ------------------
  |  Branch (2404:13): [True: 0, False: 621]
  ------------------
 2405|      0|            Py_DECREF(dict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2406|      0|            return NULL;
 2407|      0|        }
 2408|    621|        ks += keys_offset;
 2409|    621|        vs += values_offset;
 2410|    621|    }
 2411|       |
 2412|    793|    return dict;
 2413|    793|}
PyDict_GetItem:
 2471|    149|{
 2472|    149|    return dict_getitem(op, key,
 2473|    149|            "Exception ignored in PyDict_GetItem(); consider using "
 2474|    149|            "PyDict_GetItemRef() or PyDict_GetItemWithError()");
 2475|    149|}
_PyDict_LookupIndexAndValue:
 2500|  1.63k|{
 2501|       |    // TODO: Thread safety
 2502|  1.63k|    assert(PyDict_CheckExact((PyObject*)mp));
  ------------------
  |  Branch (2502:5): [True: 1.63k, False: 0]
  ------------------
 2503|  1.63k|    assert(PyUnicode_CheckExact(key));
  ------------------
  |  Branch (2503:5): [True: 1.63k, False: 0]
  ------------------
 2504|       |
 2505|  1.63k|    Py_hash_t hash = _PyObject_HashDictKey(key);
 2506|  1.63k|    if (hash == -1) {
  ------------------
  |  Branch (2506:9): [True: 0, False: 1.63k]
  ------------------
 2507|      0|        dict_unhashable_type((PyObject*)mp, key);
 2508|      0|        return -1;
 2509|      0|    }
 2510|       |
 2511|  1.63k|    return _Py_dict_lookup(mp, key, hash, value);
 2512|  1.63k|}
_PyDict_GetItemRef_KnownHash:
 2576|  19.2k|{
 2577|  19.2k|    PyObject *value;
 2578|       |#ifdef Py_GIL_DISABLED
 2579|       |    Py_ssize_t ix = _Py_dict_lookup_threadsafe(op, key, hash, &value);
 2580|       |#else
 2581|  19.2k|    Py_ssize_t ix = _Py_dict_lookup(op, key, hash, &value);
 2582|  19.2k|#endif
 2583|  19.2k|    assert(ix >= 0 || value == NULL);
  ------------------
  |  Branch (2583:5): [True: 15.4k, False: 3.83k]
  |  Branch (2583:5): [True: 3.83k, False: 0]
  ------------------
 2584|  19.2k|    if (ix == DKIX_ERROR) {
  ------------------
  |  |  187|  19.2k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (2584:9): [True: 0, False: 19.2k]
  ------------------
 2585|      0|        *result = NULL;
 2586|      0|        return -1;
 2587|      0|    }
 2588|  19.2k|    if (value == NULL) {
  ------------------
  |  Branch (2588:9): [True: 3.83k, False: 15.3k]
  ------------------
 2589|  3.83k|        *result = NULL;
 2590|  3.83k|        return 0;  // missing key
 2591|  3.83k|    }
 2592|       |#ifdef Py_GIL_DISABLED
 2593|       |    *result = value;
 2594|       |#else
 2595|  15.3k|    *result = Py_NewRef(value);
  ------------------
  |  |  550|  15.3k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  15.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2596|  15.3k|#endif
 2597|  15.3k|    return 1;  // key is present
 2598|  19.2k|}
PyDict_GetItemRef:
 2602|  19.2k|{
 2603|  19.2k|    if (!PyAnyDict_Check(op)) {
  ------------------
  |  |   43|  19.2k|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|  19.2k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  38.4k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 19.2k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2604|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2605|      0|        *result = NULL;
 2606|      0|        return -1;
 2607|      0|    }
 2608|       |
 2609|  19.2k|    Py_hash_t hash = _PyObject_HashDictKey(key);
 2610|  19.2k|    if (hash == -1) {
  ------------------
  |  Branch (2610:9): [True: 0, False: 19.2k]
  ------------------
 2611|      0|        dict_unhashable_type(op, key);
 2612|      0|        *result = NULL;
 2613|      0|        return -1;
 2614|      0|    }
 2615|       |
 2616|  19.2k|    return _PyDict_GetItemRef_KnownHash((PyDictObject *)op, key, hash, result);
 2617|  19.2k|}
_PyDict_GetItemRef_Unicode_LockHeld:
 2621|    374|{
 2622|    374|    ASSERT_DICT_LOCKED(op);
 2623|    374|    assert(PyUnicode_CheckExact(key));
  ------------------
  |  Branch (2623:5): [True: 374, False: 0]
  ------------------
 2624|       |
 2625|    374|    Py_hash_t hash = _PyObject_HashDictKey(key);
 2626|    374|    if (hash == -1) {
  ------------------
  |  Branch (2626:9): [True: 0, False: 374]
  ------------------
 2627|      0|        dict_unhashable_type((PyObject*)op, key);
 2628|      0|        *result = NULL;
 2629|      0|        return -1;
 2630|      0|    }
 2631|       |
 2632|    374|    PyObject *value;
 2633|    374|    Py_ssize_t ix = _Py_dict_lookup(op, key, hash, &value);
 2634|    374|    assert(ix >= 0 || value == NULL);
  ------------------
  |  Branch (2634:5): [True: 44, False: 330]
  |  Branch (2634:5): [True: 330, False: 0]
  ------------------
 2635|    374|    if (ix == DKIX_ERROR) {
  ------------------
  |  |  187|    374|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (2635:9): [True: 0, False: 374]
  ------------------
 2636|      0|        *result = NULL;
 2637|      0|        return -1;
 2638|      0|    }
 2639|    374|    if (value == NULL) {
  ------------------
  |  Branch (2639:9): [True: 330, False: 44]
  ------------------
 2640|    330|        *result = NULL;
 2641|    330|        return 0;  // missing key
 2642|    330|    }
 2643|     44|    *result = Py_NewRef(value);
  ------------------
  |  |  550|     44|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     44|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2644|     44|    return 1;  // key is present
 2645|    374|}
PyDict_GetItemWithError:
 2653|  3.06k|{
 2654|  3.06k|    Py_ssize_t ix; (void)ix;
 2655|  3.06k|    Py_hash_t hash;
 2656|  3.06k|    PyDictObject*mp = (PyDictObject *)op;
 2657|  3.06k|    PyObject *value;
 2658|       |
 2659|  3.06k|    if (!PyAnyDict_Check(op)) {
  ------------------
  |  |   43|  3.06k|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|  3.06k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  6.12k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 3.06k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2660|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2661|      0|        return NULL;
 2662|      0|    }
 2663|  3.06k|    hash = _PyObject_HashDictKey(key);
 2664|  3.06k|    if (hash == -1) {
  ------------------
  |  Branch (2664:9): [True: 0, False: 3.06k]
  ------------------
 2665|      0|        dict_unhashable_type(op, key);
 2666|      0|        return NULL;
 2667|      0|    }
 2668|       |
 2669|       |#ifdef Py_GIL_DISABLED
 2670|       |    ix = _Py_dict_lookup_threadsafe(mp, key, hash, &value);
 2671|       |    Py_XDECREF(value);
 2672|       |#else
 2673|  3.06k|    ix = _Py_dict_lookup(mp, key, hash, &value);
 2674|  3.06k|#endif
 2675|  3.06k|    assert(ix >= 0 || value == NULL);
  ------------------
  |  Branch (2675:5): [True: 1.00k, False: 2.05k]
  |  Branch (2675:5): [True: 2.05k, False: 0]
  ------------------
 2676|  3.06k|    return value;  // borrowed reference
 2677|  3.06k|}
_PyDict_LoadGlobalStackRef:
 2742|  4.82k|{
 2743|  4.82k|    Py_ssize_t ix;
 2744|  4.82k|    Py_hash_t hash;
 2745|       |
 2746|  4.82k|    hash = _PyObject_HashDictKey(key);
 2747|  4.82k|    if (hash == -1) {
  ------------------
  |  Branch (2747:9): [True: 0, False: 4.82k]
  ------------------
 2748|      0|        *res = PyStackRef_NULL;
 2749|      0|        return;
 2750|      0|    }
 2751|       |
 2752|       |    /* namespace 1: globals */
 2753|  4.82k|    ix = _Py_dict_lookup_threadsafe_stackref(globals, key, hash, res);
 2754|  4.82k|    if (ix == DKIX_ERROR) {
  ------------------
  |  |  187|  4.82k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (2754:9): [True: 0, False: 4.82k]
  ------------------
 2755|      0|        return;
 2756|      0|    }
 2757|  4.82k|    if (ix != DKIX_EMPTY && !PyStackRef_IsNull(*res)) {
  ------------------
  |  |  185|  9.64k|#define DKIX_EMPTY (-1)
  ------------------
                  if (ix != DKIX_EMPTY && !PyStackRef_IsNull(*res)) {
  ------------------
  |  |  482|  1.69k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  1.69k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.69k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2757:9): [True: 1.69k, False: 3.12k]
  |  Branch (2757:29): [True: 1.69k, False: 0]
  ------------------
 2758|  1.69k|        return;
 2759|  1.69k|    }
 2760|       |
 2761|       |    /* namespace 2: builtins */
 2762|  3.12k|    ix = _Py_dict_lookup_threadsafe_stackref(builtins, key, hash, res);
 2763|       |    assert(ix >= 0 || PyStackRef_IsNull(*res));
  ------------------
  |  Branch (2763:5): [True: 3.12k, False: 0]
  |  Branch (2763:5): [True: 0, False: 0]
  ------------------
 2764|  3.12k|}
_PyDict_LoadBuiltinsFromGlobals:
 2768|  2.40k|{
 2769|  2.40k|    if (!PyAnyDict_Check(globals)) {
  ------------------
  |  |   43|  2.40k|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|  2.40k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  4.81k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 2.40k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2770|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2771|      0|        return NULL;
 2772|      0|    }
 2773|       |
 2774|  2.40k|    PyDictObject *mp = (PyDictObject *)globals;
 2775|  2.40k|    PyObject *key = &_Py_ID(__builtins__);
  ------------------
  |  |  936|  2.40k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  2.40k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.40k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2776|  2.40k|    Py_hash_t hash = unicode_get_hash(key);
 2777|       |
 2778|       |    // Use the stackref variant to avoid reference count contention on the
 2779|       |    // builtins module in the free threading build. It's important not to
 2780|       |    // make any escaping calls between the lookup and the `PyStackRef_CLOSE()`
 2781|       |    // because the `ref` is not visible to the GC.
 2782|  2.40k|    _PyStackRef ref;
 2783|  2.40k|    Py_ssize_t ix = _Py_dict_lookup_threadsafe_stackref(mp, key, hash, &ref);
 2784|  2.40k|    if (ix == DKIX_ERROR) {
  ------------------
  |  |  187|  2.40k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (2784:9): [True: 0, False: 2.40k]
  ------------------
 2785|      0|        return NULL;
 2786|      0|    }
 2787|  2.40k|    if (PyStackRef_IsNull(ref)) {
  ------------------
  |  |  482|  2.40k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  2.40k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  2.40k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 0, False: 2.40k]
  |  |  ------------------
  ------------------
 2788|      0|        return Py_NewRef(PyEval_GetBuiltins());
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2789|      0|    }
 2790|  2.40k|    PyObject *builtins = PyStackRef_AsPyObjectBorrow(ref);
 2791|  2.40k|    if (PyModule_Check(builtins)) {
  ------------------
  |  |   12|  2.40k|#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  378|  2.40k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.40k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 2.40k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2792|      0|        builtins = _PyModule_GetDict(builtins);
 2793|      0|        assert(builtins != NULL);
  ------------------
  |  Branch (2793:9): [True: 0, False: 0]
  ------------------
 2794|      0|    }
 2795|  2.40k|    _Py_INCREF_BUILTINS(builtins);
  ------------------
  |  |  398|  2.40k|#  define _Py_INCREF_BUILTINS Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  2.40k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.40k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2796|  2.40k|    PyStackRef_CLOSE(ref);
 2797|  2.40k|    return builtins;
 2798|  2.40k|}
_PyDict_SetItem_Take2:
 2836|  17.4k|{
 2837|  17.4k|    int res;
 2838|  17.4k|    Py_BEGIN_CRITICAL_SECTION(mp);
  ------------------
  |  |   51|  17.4k|    {
  ------------------
 2839|  17.4k|    res = setitem_take2_lock_held(mp, key, value);
 2840|  17.4k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  17.4k|    }
  ------------------
 2841|  17.4k|    return res;
 2842|  17.4k|}
PyDict_SetItem:
 2862|  15.6k|{
 2863|  15.6k|    assert(key);
  ------------------
  |  Branch (2863:5): [True: 15.6k, False: 0]
  ------------------
 2864|  15.6k|    assert(value);
  ------------------
  |  Branch (2864:5): [True: 15.6k, False: 0]
  ------------------
 2865|       |
 2866|  15.6k|    if (!PyDict_Check(op)) {
  ------------------
  |  |   18|  15.6k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  15.6k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2866:9): [True: 0, False: 15.6k]
  ------------------
 2867|      0|        if (PyFrozenDict_Check(op)) {
  ------------------
  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2868|      0|            frozendict_does_not_support("assignment");
  ------------------
  |  | 2801|      0|    PyErr_SetString(PyExc_TypeError, "frozendict object does " \
  |  | 2802|      0|                    "not support item " WHAT)
  ------------------
 2869|      0|        }
 2870|      0|        else {
 2871|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2872|      0|        }
 2873|      0|        return -1;
 2874|      0|    }
 2875|       |
 2876|  15.6k|    return _PyDict_SetItem_Take2((PyDictObject *)op,
 2877|  15.6k|                                 Py_NewRef(key), Py_NewRef(value));
  ------------------
  |  |  550|  15.6k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  15.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                                               Py_NewRef(key), Py_NewRef(value));
  ------------------
  |  |  550|  15.6k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  15.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2878|  15.6k|}
PyDict_DelItem:
 2999|    636|{
 3000|    636|    assert(key);
  ------------------
  |  Branch (3000:5): [True: 636, False: 0]
  ------------------
 3001|    636|    Py_hash_t hash = _PyObject_HashDictKey(key);
 3002|    636|    if (hash == -1) {
  ------------------
  |  Branch (3002:9): [True: 0, False: 636]
  ------------------
 3003|      0|        dict_unhashable_type(op, key);
 3004|      0|        return -1;
 3005|      0|    }
 3006|       |
 3007|    636|    return _PyDict_DelItem_KnownHash(op, key, hash);
 3008|    636|}
_PyDict_DelItem_KnownHash_LockHeld:
 3012|    672|{
 3013|    672|    if (!PyDict_Check(op)) {
  ------------------
  |  |   18|    672|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    672|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3013:9): [True: 0, False: 672]
  ------------------
 3014|      0|        if (PyFrozenDict_Check(op)) {
  ------------------
  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3015|      0|            frozendict_does_not_support("deletion");
  ------------------
  |  | 2801|      0|    PyErr_SetString(PyExc_TypeError, "frozendict object does " \
  |  | 2802|      0|                    "not support item " WHAT)
  ------------------
 3016|      0|        }
 3017|      0|        else {
 3018|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3019|      0|        }
 3020|      0|        return -1;
 3021|      0|    }
 3022|       |
 3023|    672|    Py_ssize_t ix;
 3024|    672|    PyObject *old_value;
 3025|    672|    PyDictObject *mp = (PyDictObject *)op;
 3026|    672|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (3026:5): [True: 672, False: 0]
  ------------------
 3027|       |
 3028|    672|    assert(key);
  ------------------
  |  Branch (3028:5): [True: 672, False: 0]
  ------------------
 3029|    672|    assert(hash != -1);
  ------------------
  |  Branch (3029:5): [True: 672, False: 0]
  ------------------
 3030|    672|    ix = _Py_dict_lookup(mp, key, hash, &old_value);
 3031|    672|    if (ix == DKIX_ERROR)
  ------------------
  |  |  187|    672|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (3031:9): [True: 0, False: 672]
  ------------------
 3032|      0|        return -1;
 3033|    672|    if (ix == DKIX_EMPTY || old_value == NULL) {
  ------------------
  |  |  185|  1.34k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (3033:9): [True: 0, False: 672]
  |  Branch (3033:29): [True: 0, False: 672]
  ------------------
 3034|      0|        _PyErr_SetKeyError(key);
 3035|      0|        return -1;
 3036|      0|    }
 3037|       |
 3038|    672|    _PyDict_NotifyEvent(PyDict_EVENT_DELETED, mp, key, NULL);
 3039|    672|    delitem_common(mp, hash, ix, old_value);
 3040|    672|    return 0;
 3041|    672|}
_PyDict_DelItem_KnownHash:
 3045|    636|{
 3046|    636|    int res;
 3047|    636|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|    636|    {
  ------------------
 3048|    636|    res = _PyDict_DelItem_KnownHash_LockHeld(op, key, hash);
 3049|    636|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    636|    }
  ------------------
 3050|    636|    return res;
 3051|    636|}
_PyDict_DelItemIf:
 3099|    112|{
 3100|    112|    assert(PyDict_Check(op));
  ------------------
  |  Branch (3100:5): [True: 112, False: 0]
  ------------------
 3101|    112|    int res;
 3102|    112|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|    112|    {
  ------------------
 3103|    112|    res = delitemif_lock_held(op, key, predicate, arg);
 3104|    112|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    112|    }
  ------------------
 3105|    112|    return res;
 3106|    112|}
PyDict_Clear:
 3176|     16|{
 3177|     16|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|     16|    {
  ------------------
 3178|     16|    clear_lock_held(op);
 3179|     16|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     16|    }
  ------------------
 3180|     16|}
_PyDict_Next:
 3190|  7.89k|{
 3191|  7.89k|    Py_ssize_t i;
 3192|  7.89k|    PyDictObject *mp;
 3193|  7.89k|    PyObject *key, *value;
 3194|  7.89k|    Py_hash_t hash;
 3195|       |
 3196|  7.89k|    if (!PyAnyDict_Check(op))
  ------------------
  |  |   43|  7.89k|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|  7.89k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  15.7k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 7.89k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3197|      0|        return 0;
 3198|       |
 3199|  7.89k|    mp = (PyDictObject *)op;
 3200|  7.89k|    i = *ppos;
 3201|  7.89k|    if (_PyDict_HasSplitTable(mp)) {
  ------------------
  |  |   56|  7.89k|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (56:34): [True: 0, False: 7.89k]
  |  |  ------------------
  ------------------
 3202|      0|        assert(mp->ma_used <= SHARED_KEYS_MAX_SIZE);
  ------------------
  |  Branch (3202:9): [True: 0, False: 0]
  ------------------
 3203|      0|        if (i < 0 || i >= mp->ma_used)
  ------------------
  |  Branch (3203:13): [True: 0, False: 0]
  |  Branch (3203:22): [True: 0, False: 0]
  ------------------
 3204|      0|            return 0;
 3205|      0|        int index = get_index_from_order(mp, i);
 3206|      0|        value = mp->ma_values->values[index];
 3207|      0|        key = LOAD_SHARED_KEY(DK_UNICODE_ENTRIES(mp->ma_keys)[index].me_key);
  ------------------
  |  |  260|      0|#define LOAD_SHARED_KEY(key) key
  ------------------
 3208|      0|        hash = unicode_get_hash(key);
 3209|      0|        assert(value != NULL);
  ------------------
  |  Branch (3209:9): [True: 0, False: 0]
  ------------------
 3210|      0|    }
 3211|  7.89k|    else {
 3212|  7.89k|        Py_ssize_t n = mp->ma_keys->dk_nentries;
 3213|  7.89k|        if (i < 0 || i >= n)
  ------------------
  |  Branch (3213:13): [True: 0, False: 7.89k]
  |  Branch (3213:22): [True: 573, False: 7.32k]
  ------------------
 3214|    573|            return 0;
 3215|  7.32k|        if (DK_IS_UNICODE(mp->ma_keys)) {
  ------------------
  |  |  294|  7.32k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (294:27): [True: 7.19k, False: 124]
  |  |  ------------------
  ------------------
 3216|  7.19k|            PyDictUnicodeEntry *entry_ptr = &DK_UNICODE_ENTRIES(mp->ma_keys)[i];
 3217|  7.59k|            while (i < n && entry_ptr->me_value == NULL) {
  ------------------
  |  Branch (3217:20): [True: 7.55k, False: 36]
  |  Branch (3217:29): [True: 396, False: 7.16k]
  ------------------
 3218|    396|                entry_ptr++;
 3219|    396|                i++;
 3220|    396|            }
 3221|  7.19k|            if (i >= n)
  ------------------
  |  Branch (3221:17): [True: 36, False: 7.16k]
  ------------------
 3222|     36|                return 0;
 3223|  7.16k|            key = entry_ptr->me_key;
 3224|  7.16k|            hash = unicode_get_hash(entry_ptr->me_key);
 3225|  7.16k|            value = entry_ptr->me_value;
 3226|  7.16k|        }
 3227|    124|        else {
 3228|    124|            PyDictKeyEntry *entry_ptr = &DK_ENTRIES(mp->ma_keys)[i];
 3229|    124|            while (i < n && entry_ptr->me_value == NULL) {
  ------------------
  |  Branch (3229:20): [True: 124, False: 0]
  |  Branch (3229:29): [True: 0, False: 124]
  ------------------
 3230|      0|                entry_ptr++;
 3231|      0|                i++;
 3232|      0|            }
 3233|    124|            if (i >= n)
  ------------------
  |  Branch (3233:17): [True: 0, False: 124]
  ------------------
 3234|      0|                return 0;
 3235|    124|            key = entry_ptr->me_key;
 3236|    124|            hash = entry_ptr->me_hash;
 3237|    124|            value = entry_ptr->me_value;
 3238|    124|        }
 3239|  7.32k|    }
 3240|  7.28k|    *ppos = i+1;
 3241|  7.28k|    if (pkey)
  ------------------
  |  Branch (3241:9): [True: 7.28k, False: 0]
  ------------------
 3242|  7.28k|        *pkey = key;
 3243|  7.28k|    if (pvalue)
  ------------------
  |  Branch (3243:9): [True: 4.80k, False: 2.48k]
  ------------------
 3244|  4.80k|        *pvalue = value;
 3245|  7.28k|    if (phash)
  ------------------
  |  Branch (3245:9): [True: 955, False: 6.33k]
  ------------------
 3246|    955|        *phash = hash;
 3247|  7.28k|    return 1;
 3248|  7.89k|}
PyDict_Next:
 3270|  4.23k|{
 3271|       |    return _PyDict_Next(op, ppos, pkey, pvalue, NULL);
 3272|  4.23k|}
_PyDict_Pop_KnownHash:
 3279|    454|{
 3280|    454|    assert(PyDict_Check(mp));
  ------------------
  |  Branch (3280:5): [True: 454, False: 0]
  ------------------
 3281|    454|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (3281:5): [True: 454, False: 0]
  ------------------
 3282|       |
 3283|    454|    if (mp->ma_used == 0) {
  ------------------
  |  Branch (3283:9): [True: 0, False: 454]
  ------------------
 3284|      0|        if (result) {
  ------------------
  |  Branch (3284:13): [True: 0, False: 0]
  ------------------
 3285|      0|            *result = NULL;
 3286|      0|        }
 3287|      0|        return 0;
 3288|      0|    }
 3289|       |
 3290|    454|    PyObject *old_value;
 3291|    454|    Py_ssize_t ix = _Py_dict_lookup(mp, key, hash, &old_value);
 3292|    454|    if (ix == DKIX_ERROR) {
  ------------------
  |  |  187|    454|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (3292:9): [True: 0, False: 454]
  ------------------
 3293|      0|        if (result) {
  ------------------
  |  Branch (3293:13): [True: 0, False: 0]
  ------------------
 3294|      0|            *result = NULL;
 3295|      0|        }
 3296|      0|        return -1;
 3297|      0|    }
 3298|       |
 3299|    454|    if (ix == DKIX_EMPTY || old_value == NULL) {
  ------------------
  |  |  185|    908|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (3299:9): [True: 307, False: 147]
  |  Branch (3299:29): [True: 0, False: 147]
  ------------------
 3300|    307|        if (result) {
  ------------------
  |  Branch (3300:13): [True: 77, False: 230]
  ------------------
 3301|     77|            *result = NULL;
 3302|     77|        }
 3303|    307|        return 0;
 3304|    307|    }
 3305|       |
 3306|    454|    assert(old_value != NULL);
  ------------------
  |  Branch (3306:5): [True: 147, False: 0]
  ------------------
 3307|    147|    _PyDict_NotifyEvent(PyDict_EVENT_DELETED, mp, key, NULL);
 3308|    147|    delitem_common(mp, hash, ix, Py_NewRef(old_value));
  ------------------
  |  |  550|    147|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    147|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    147|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3309|       |
 3310|    147|    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|    147|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (3310:5): [True: 147, False: 0]
  ------------------
 3311|    147|    if (result) {
  ------------------
  |  Branch (3311:9): [True: 147, False: 0]
  ------------------
 3312|    147|        *result = old_value;
 3313|    147|    }
 3314|      0|    else {
 3315|      0|        Py_DECREF(old_value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3316|      0|    }
 3317|    147|    return 1;
 3318|    147|}
PyDict_Pop:
 3358|    477|{
 3359|    477|    int err;
 3360|    477|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|    477|    {
  ------------------
 3361|    477|    err = pop_lock_held(op, key, result);
 3362|    477|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    477|    }
  ------------------
 3363|       |
 3364|    477|    return err;
 3365|    477|}
_PyDict_FromKeys:
 3459|      6|{
 3460|      6|    PyObject *it = NULL;       /* iter(iterable) */
 3461|      6|    PyObject *d;
 3462|      6|    int need_copy = 0;
 3463|       |
 3464|      6|    if (cls == (PyObject*)&PyFrozenDict_Type) {
  ------------------
  |  Branch (3464:9): [True: 0, False: 6]
  ------------------
 3465|       |        // gh-151722: Create a frozendict which is not tracked by the GC.
 3466|      0|        d = frozendict_new_untracked(&PyFrozenDict_Type);
 3467|      0|    }
 3468|      6|    else {
 3469|       |        // Dict subclass, or frozendict subclass which overrides
 3470|       |        // the constructor.
 3471|      6|        d = _PyObject_CallNoArgs(cls);
 3472|      6|    }
 3473|      6|    if (d == NULL) {
  ------------------
  |  Branch (3473:9): [True: 0, False: 6]
  ------------------
 3474|      0|        return NULL;
 3475|      0|    }
 3476|       |
 3477|       |    // gh-151722: If cls constructor returns a frozendict which is tracked by
 3478|       |    // the GC, create a frozendict copy which is not tracked by the GC.
 3479|       |    //
 3480|       |    // At the function exit, return cls(fd) where fd is a frozendict.
 3481|       |    //
 3482|       |    // Untracking the frozendict requires tracking again the frozendict on
 3483|       |    // error which is more complicated. It's easier to work on a copy.
 3484|      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]
  |  |  ------------------
  ------------------
 3485|      0|        need_copy = 1;
 3486|       |
 3487|      0|        PyObject *copy = frozendict_new_untracked(&PyFrozenDict_Type);
 3488|      0|        if (copy == NULL) {
  ------------------
  |  Branch (3488:13): [True: 0, False: 0]
  ------------------
 3489|      0|            goto Fail;
 3490|      0|        }
 3491|      0|        if (dict_merge(copy, d, 1, NULL) < 0) {
  ------------------
  |  Branch (3491:13): [True: 0, False: 0]
  ------------------
 3492|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3493|      0|            goto Fail;
 3494|      0|        }
 3495|      0|        Py_SETREF(d, copy);
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3496|      0|    }
 3497|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3498|      0|        assert(can_modify_dict((PyDictObject*)d));
  ------------------
  |  Branch (3498:9): [True: 0, False: 0]
  ------------------
 3499|      0|    }
 3500|       |
 3501|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3502|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3503|      0|            PyDictObject *mp = (PyDictObject *)d;
 3504|       |
 3505|      0|            Py_BEGIN_CRITICAL_SECTION2(d, iterable);
  ------------------
  |  |   57|      0|    {
  ------------------
 3506|      0|            d = (PyObject *)dict_dict_fromkeys(mp, iterable, value);
 3507|      0|            Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|      0|    }
  ------------------
 3508|      0|            goto Done;
 3509|      0|        }
 3510|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3511|      0|            PyDictObject *mp = (PyDictObject *)d;
 3512|       |
 3513|      0|            Py_BEGIN_CRITICAL_SECTION(d);
  ------------------
  |  |   51|      0|    {
  ------------------
 3514|      0|            d = (PyObject *)dict_dict_fromkeys(mp, iterable, value);
 3515|      0|            Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 3516|      0|            goto Done;
 3517|      0|        }
 3518|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3519|      0|            PyDictObject *mp = (PyDictObject *)d;
 3520|       |
 3521|      0|            Py_BEGIN_CRITICAL_SECTION2(d, iterable);
  ------------------
  |  |   57|      0|    {
  ------------------
 3522|      0|            d = (PyObject *)dict_set_fromkeys(mp, iterable, value);
 3523|      0|            Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|      0|    }
  ------------------
 3524|      0|            goto Done;
 3525|      0|        }
 3526|      6|    }
 3527|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3528|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3529|      0|            PyDictObject *mp = (PyDictObject *)d;
 3530|       |
 3531|      0|            Py_BEGIN_CRITICAL_SECTION(iterable);
  ------------------
  |  |   51|      0|    {
  ------------------
 3532|      0|            d = (PyObject *)dict_dict_fromkeys(mp, iterable, value);
 3533|      0|            Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 3534|      0|            goto Done;
 3535|      0|        }
 3536|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3537|      0|            PyDictObject *mp = (PyDictObject *)d;
 3538|      0|            d = (PyObject *)dict_dict_fromkeys(mp, iterable, value);
 3539|      0|            goto Done;
 3540|      0|        }
 3541|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3542|      0|            PyDictObject *mp = (PyDictObject *)d;
 3543|       |
 3544|      0|            Py_BEGIN_CRITICAL_SECTION(iterable);
  ------------------
  |  |   51|      0|    {
  ------------------
 3545|      0|            d = (PyObject *)dict_set_fromkeys(mp, iterable, value);
 3546|      0|            Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 3547|      0|            goto Done;
 3548|      0|        }
 3549|      0|    }
 3550|       |
 3551|      6|    it = PyObject_GetIter(iterable);
 3552|      6|    if (it == NULL){
  ------------------
  |  Branch (3552:9): [True: 0, False: 6]
  ------------------
 3553|      0|        goto Fail;
 3554|      0|    }
 3555|       |
 3556|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3557|      6|        int status = 0;
 3558|       |
 3559|      6|        Py_BEGIN_CRITICAL_SECTION(d);
  ------------------
  |  |   51|      6|    {
  ------------------
 3560|     22|        while (1) {
  ------------------
  |  Branch (3560:16): [True: 22, Folded]
  ------------------
 3561|     22|            PyObject *key;
 3562|     22|            status = PyIter_NextItem(it, &key);
 3563|     22|            if (status <= 0) {
  ------------------
  |  Branch (3563:17): [True: 6, False: 16]
  ------------------
 3564|      6|                break;
 3565|      6|            }
 3566|       |
 3567|     16|            status = setitem_lock_held((PyDictObject *)d, key, value);
 3568|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3569|     16|            if (status < 0) {
  ------------------
  |  Branch (3569:17): [True: 0, False: 16]
  ------------------
 3570|      0|                break;
 3571|      0|            }
 3572|     16|        }
 3573|      6|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      6|    }
  ------------------
 3574|       |
 3575|      6|        if (status < 0) {
  ------------------
  |  Branch (3575:13): [True: 0, False: 6]
  ------------------
 3576|      0|            goto Fail;
 3577|      0|        }
 3578|      6|    }
 3579|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3580|      0|        while (1) {
  ------------------
  |  Branch (3580:16): [True: 0, Folded]
  ------------------
 3581|      0|            PyObject *key;
 3582|      0|            int status = PyIter_NextItem(it, &key);
 3583|      0|            if (status < 0) {
  ------------------
  |  Branch (3583:17): [True: 0, False: 0]
  ------------------
 3584|      0|                goto Fail;
 3585|      0|            }
 3586|      0|            if (status == 0) {
  ------------------
  |  Branch (3586:17): [True: 0, False: 0]
  ------------------
 3587|      0|                break;
 3588|      0|            }
 3589|       |
 3590|       |            // setitem_take2_lock_held consumes a reference to key
 3591|      0|            status = setitem_take2_lock_held((PyDictObject *)d,
 3592|      0|                                             key, Py_NewRef(value));
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3593|      0|            if (status < 0) {
  ------------------
  |  Branch (3593:17): [True: 0, False: 0]
  ------------------
 3594|      0|                goto Fail;
 3595|      0|            }
 3596|      0|        }
 3597|      0|    }
 3598|      0|    else {
 3599|      0|        while (1) {
  ------------------
  |  Branch (3599:16): [True: 0, Folded]
  ------------------
 3600|      0|            PyObject *key;
 3601|      0|            int status = PyIter_NextItem(it, &key);
 3602|      0|            if (status < 0) {
  ------------------
  |  Branch (3602:17): [True: 0, False: 0]
  ------------------
 3603|      0|                goto Fail;
 3604|      0|            }
 3605|      0|            if (status == 0) {
  ------------------
  |  Branch (3605:17): [True: 0, False: 0]
  ------------------
 3606|      0|                break;
 3607|      0|            }
 3608|       |
 3609|      0|            status = PyObject_SetItem(d, key, value);
 3610|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3611|      0|            if (status < 0) {
  ------------------
  |  Branch (3611:17): [True: 0, False: 0]
  ------------------
 3612|      0|                goto Fail;
 3613|      0|            }
 3614|      0|        }
 3615|       |
 3616|      0|    }
 3617|       |
 3618|      6|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (3618:5): [True: 6, False: 0]
  ------------------
 3619|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3620|      6|    goto Done;
 3621|       |
 3622|      0|Fail:
 3623|      0|    assert(PyErr_Occurred());
  ------------------
  |  Branch (3623:5): [True: 0, False: 0]
  ------------------
 3624|      0|    Py_XDECREF(it);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3625|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3626|      0|    return NULL;
 3627|       |
 3628|      6|Done:
 3629|      6|    if (d == NULL) {
  ------------------
  |  Branch (3629:9): [True: 0, False: 6]
  ------------------
 3630|      0|        return NULL;
 3631|      0|    }
 3632|       |
 3633|      6|    if (need_copy) {
  ------------------
  |  Branch (3633:9): [True: 0, False: 6]
  ------------------
 3634|      0|        PyObject *copy = _PyObject_CallOneArg(cls, d);
  ------------------
  |  |   47|      0|#define _PyObject_CallOneArg PyObject_CallOneArg
  ------------------
 3635|      0|        Py_SETREF(d, copy);
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3636|      0|    }
 3637|      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 (3637:14): [True: 0, False: 6]
  ------------------
 3638|      0|        _PyObject_GC_TRACK(d);
  ------------------
  |  |  505|      0|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3639|      0|    }
 3640|      6|    return d;
 3641|      6|}
_PyDict_SubscriptKnownHash:
 3798|    939|{
 3799|    939|    PyDictObject *mp = (PyDictObject *)self;
 3800|    939|    Py_ssize_t ix;
 3801|    939|    PyObject *value;
 3802|       |
 3803|    939|    ix = _Py_dict_lookup_threadsafe(mp, key, hash, &value);
 3804|    939|    if (ix == DKIX_ERROR)
  ------------------
  |  |  187|    939|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (3804:9): [True: 0, False: 939]
  ------------------
 3805|      0|        return NULL;
 3806|    939|    if (ix == DKIX_EMPTY || value == NULL) {
  ------------------
  |  |  185|  1.87k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (3806:9): [True: 233, False: 706]
  |  Branch (3806:29): [True: 0, False: 706]
  ------------------
 3807|    233|        if (!PyAnyDict_CheckExact(mp)) {
  ------------------
  |  |   41|    233|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   19|    233|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|    466|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    233|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    233|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 212, 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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3808|       |            /* Look up __missing__ method if we're a subclass. */
 3809|     21|            PyObject *missing, *res;
 3810|     21|            missing = _PyObject_LookupSpecial(
 3811|     21|                    (PyObject *)mp, &_Py_ID(__missing__));
  ------------------
  |  |  936|     21|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     21|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     21|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3812|     21|            if (missing != NULL) {
  ------------------
  |  Branch (3812:17): [True: 0, False: 21]
  ------------------
 3813|      0|                res = PyObject_CallOneArg(missing, key);
 3814|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3815|      0|                return res;
 3816|      0|            }
 3817|     21|            else if (PyErr_Occurred())
  ------------------
  |  Branch (3817:22): [True: 0, False: 21]
  ------------------
 3818|      0|                return NULL;
 3819|     21|        }
 3820|    233|        _PyErr_SetKeyError(key);
 3821|    233|        return NULL;
 3822|    233|    }
 3823|    706|    return value;
 3824|    939|}
_PyDict_Subscript:
 3828|    939|{
 3829|    939|    Py_hash_t hash = _PyObject_HashDictKey(key);
 3830|    939|    if (hash == -1) {
  ------------------
  |  Branch (3830:9): [True: 0, False: 939]
  ------------------
 3831|      0|        dict_unhashable_type(self, key);
 3832|      0|        return NULL;
 3833|      0|    }
 3834|    939|    return _PyDict_SubscriptKnownHash(self, key, hash);
 3835|    939|}
_PyDict_StoreSubscript:
 3839|    318|{
 3840|    318|    if (w == NULL)
  ------------------
  |  Branch (3840:9): [True: 117, False: 201]
  ------------------
 3841|    117|        return PyDict_DelItem(mp, v);
 3842|    201|    else
 3843|    201|        return PyDict_SetItem(mp, v, w);
 3844|    318|}
PyDict_Keys:
 3892|     18|{
 3893|     18|    PyObject *res;
 3894|     18|    Py_BEGIN_CRITICAL_SECTION(dict);
  ------------------
  |  |   51|     18|    {
  ------------------
 3895|     18|    res = keys_lock_held(dict);
 3896|     18|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     18|    }
  ------------------
 3897|       |
 3898|     18|    return res;
 3899|     18|}
PyDict_Update:
 4420|     84|{
 4421|       |    return dict_merge_api(a, b, 1, NULL);
 4422|     84|}
_PyDict_MergeUniq:
 4433|    293|{
 4434|    293|    return dict_merge_api(a, b, 2, dupkey);
 4435|    293|}
PyDict_Copy:
 4589|    380|{
 4590|    380|    if (o == NULL || !PyDict_Check(o)) {
  ------------------
  |  |   18|    380|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    380|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4590:9): [True: 0, False: 380]
  |  Branch (4590:22): [True: 0, False: 380]
  ------------------
 4591|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 4592|      0|        return NULL;
 4593|      0|    }
 4594|       |
 4595|    380|    PyObject *res;
 4596|    380|    Py_BEGIN_CRITICAL_SECTION(o);
  ------------------
  |  |   51|    380|    {
  ------------------
 4597|    380|    res = copy_lock_held_untracked(o, 0);
 4598|    380|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    380|    }
  ------------------
 4599|    380|    if (res != NULL) {
  ------------------
  |  Branch (4599:9): [True: 380, False: 0]
  ------------------
 4600|    380|        _PyObject_GC_TRACK(res);
  ------------------
  |  |  505|    380|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    380|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    380|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4601|    380|    }
 4602|    380|    return res;
 4603|    380|}
_PyDict_CopyAsDict:
 4628|    376|{
 4629|    376|    assert(PyAnyDict_Check(o));
  ------------------
  |  Branch (4629:5): [True: 376, False: 0]
  |  Branch (4629:5): [True: 0, False: 0]
  ------------------
 4630|       |
 4631|    376|    PyObject *res;
 4632|    376|    if (PyFrozenDict_Check(o)) {
  ------------------
  |  |   37|    376|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|    376|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    376|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    376|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 376]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4633|      0|        res = copy_lock_held_untracked(o, 0);
 4634|      0|    }
 4635|    376|    else {
 4636|    376|        Py_BEGIN_CRITICAL_SECTION(o);
  ------------------
  |  |   51|    376|    {
  ------------------
 4637|    376|        res = copy_lock_held_untracked(o, 0);
 4638|    376|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    376|    }
  ------------------
 4639|    376|    }
 4640|    376|    if (res != NULL) {
  ------------------
  |  Branch (4640:9): [True: 376, False: 0]
  ------------------
 4641|    376|        _PyObject_GC_TRACK(res);
  ------------------
  |  |  505|    376|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    376|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    376|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4642|    376|    }
 4643|    376|    return res;
 4644|    376|}
PyDict_Size:
 4648|      6|{
 4649|      6|    if (mp == NULL || !PyAnyDict_Check(mp)) {
  ------------------
  |  |   43|      6|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|      6|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|     12|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 6, 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 (4649:9): [True: 0, False: 6]
  ------------------
 4650|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 4651|      0|        return -1;
 4652|      0|    }
 4653|      6|    return GET_USED((PyDictObject *)mp);
  ------------------
  |  |  328|      6|#define GET_USED(ep) FT_ATOMIC_LOAD_SSIZE_RELAXED((ep)->ma_used)
  |  |  ------------------
  |  |  |  |  149|      6|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  |  |  ------------------
  ------------------
 4654|      6|}
PyDict_SetDefaultRef:
 4915|  16.4k|{
 4916|  16.4k|    int res;
 4917|  16.4k|    Py_BEGIN_CRITICAL_SECTION(d);
  ------------------
  |  |   51|  16.4k|    {
  ------------------
 4918|  16.4k|    res = dict_setdefault_ref_lock_held(d, key, default_value, result, 1);
 4919|  16.4k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  16.4k|    }
  ------------------
 4920|  16.4k|    return res;
 4921|  16.4k|}
_PyDict_KeysSize:
 5167|    789|{
 5168|    789|    size_t es = (keys->dk_kind == DICT_KEYS_GENERAL
  ------------------
  |  Branch (5168:18): [True: 0, False: 789]
  ------------------
 5169|    789|                 ? sizeof(PyDictKeyEntry) : sizeof(PyDictUnicodeEntry));
 5170|    789|    size_t size = sizeof(PyDictKeysObject);
 5171|    789|    size += (size_t)1 << keys->dk_log2_index_bytes;
 5172|    789|    size += USABLE_FRACTION((size_t)DK_SIZE(keys)) * es;
  ------------------
  |  |  590|    789|#define USABLE_FRACTION(n) (((n) << 1)/3)
  ------------------
 5173|    789|    return size;
 5174|    789|}
PyDict_Contains:
 5288|  6.53k|{
 5289|  6.53k|    if (!PyAnyDict_Check(op)) {
  ------------------
  |  |   43|  6.53k|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|  6.53k|                 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.53k, 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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5290|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 5291|      0|        return -1;
 5292|      0|    }
 5293|       |
 5294|  6.53k|    return dict_contains(op, key);
 5295|  6.53k|}
PyDict_ContainsString:
 5299|    117|{
 5300|    117|    PyObject *key_obj = PyUnicode_FromString(key);
 5301|    117|    if (key_obj == NULL) {
  ------------------
  |  Branch (5301:9): [True: 0, False: 117]
  ------------------
 5302|      0|        return -1;
 5303|      0|    }
 5304|    117|    int res = PyDict_Contains(op, key_obj);
 5305|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5306|    117|    return res;
 5307|    117|}
_PyDict_Contains_KnownHash:
 5312|  6.55k|{
 5313|  6.55k|    PyDictObject *mp = _PyAnyDict_CAST(op);
  ------------------
  |  |  326|  6.55k|    (assert(PyAnyDict_Check(op)), _Py_CAST(PyDictObject*, op))
  |  |  ------------------
  |  |  |  |   37|  6.55k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (5313:24): [True: 6.55k, False: 0]
  |  Branch (5313:24): [True: 0, False: 0]
  ------------------
 5314|      0|    PyObject *value;
 5315|  6.55k|    Py_ssize_t ix;
 5316|       |
 5317|       |#ifdef Py_GIL_DISABLED
 5318|       |    ix = _Py_dict_lookup_threadsafe(mp, key, hash, &value);
 5319|       |#else
 5320|  6.55k|    ix = _Py_dict_lookup(mp, key, hash, &value);
 5321|  6.55k|#endif
 5322|  6.55k|    if (ix == DKIX_ERROR)
  ------------------
  |  |  187|  6.55k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (5322:9): [True: 0, False: 6.55k]
  ------------------
 5323|      0|        return -1;
 5324|  6.55k|    if (ix != DKIX_EMPTY && value != NULL) {
  ------------------
  |  |  185|  13.1k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (5324:9): [True: 1.01k, False: 5.54k]
  |  Branch (5324:29): [True: 1.01k, False: 0]
  ------------------
 5325|       |#ifdef Py_GIL_DISABLED
 5326|       |        Py_DECREF(value);
 5327|       |#endif
 5328|  1.01k|        return 1;
 5329|  1.01k|    }
 5330|  5.54k|    return 0;
 5331|  6.55k|}
PyDict_GetItemStringRef:
 5564|    210|{
 5565|    210|    PyObject *key_obj = PyUnicode_FromString(key);
 5566|    210|    if (key_obj == NULL) {
  ------------------
  |  Branch (5566:9): [True: 0, False: 210]
  ------------------
 5567|      0|        *result = NULL;
 5568|      0|        return -1;
 5569|      0|    }
 5570|    210|    int res = PyDict_GetItemRef(v, key_obj, result);
 5571|    210|    Py_DECREF(key_obj);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5572|    210|    return res;
 5573|    210|}
PyDict_SetItemString:
 5577|  1.89k|{
 5578|  1.89k|    PyObject *kv;
 5579|  1.89k|    int err;
 5580|  1.89k|    kv = PyUnicode_FromString(key);
 5581|  1.89k|    if (kv == NULL)
  ------------------
  |  Branch (5581:9): [True: 0, False: 1.89k]
  ------------------
 5582|      0|        return -1;
 5583|  1.89k|    PyInterpreterState *interp = _PyInterpreterState_GET();
 5584|  1.89k|    _PyUnicode_InternImmortal(interp, &kv); /* XXX Should we really? */
 5585|  1.89k|    err = PyDict_SetItem(v, kv, item);
 5586|  1.89k|    Py_DECREF(kv);
  ------------------
  |  |  430|  1.89k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.89k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.89k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5587|  1.89k|    return err;
 5588|  1.89k|}
_PyDictView_New:
 6469|    114|{
 6470|    114|    _PyDictViewObject *dv;
 6471|    114|    if (dict == NULL) {
  ------------------
  |  Branch (6471:9): [True: 0, False: 114]
  ------------------
 6472|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 6473|      0|        return NULL;
 6474|      0|    }
 6475|    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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6476|       |        /* XXX Get rid of this restriction later */
 6477|      0|        PyErr_Format(PyExc_TypeError,
 6478|      0|                     "%s() requires a dict argument, not '%s'",
 6479|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6480|      0|        return NULL;
 6481|      0|    }
 6482|    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))
  |  |  ------------------
  ------------------
 6483|    114|    if (dv == NULL)
  ------------------
  |  Branch (6483:9): [True: 0, False: 114]
  ------------------
 6484|      0|        return NULL;
 6485|    114|    dv->dv_dict = (PyDictObject *)Py_NewRef(dict);
  ------------------
  |  |  550|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6486|    114|    _PyObject_GC_TRACK(dv);
  ------------------
  |  |  505|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6487|    114|    return (PyObject *)dv;
 6488|    114|}
_PyDict_NewKeysForClass:
 7267|    149|{
 7268|    149|    int log2_bytes = get_log2_bytes(NEXT_LOG2_SHARED_KEYS_MAX_SIZE);
  ------------------
  |  |  256|    149|#define NEXT_LOG2_SHARED_KEYS_MAX_SIZE 6
  ------------------
 7269|    149|    Py_ssize_t usable = USABLE_FRACTION((size_t)1<<NEXT_LOG2_SHARED_KEYS_MAX_SIZE);
  ------------------
  |  |  590|    149|#define USABLE_FRACTION(n) (((n) << 1)/3)
  ------------------
 7270|       |
 7271|    149|    struct _instancekeysobject *shared_keys =
 7272|    149|                          PyMem_Malloc(sizeof(struct _instancekeysobject)
 7273|    149|                          + ((size_t)1 << log2_bytes)
 7274|    149|                          + sizeof(PyDictUnicodeEntry) * usable);
 7275|    149|    if (shared_keys == NULL) {
  ------------------
  |  Branch (7275:9): [True: 0, False: 149]
  ------------------
 7276|      0|        PyErr_Clear();
 7277|      0|        return NULL;
 7278|      0|    }
 7279|       |
 7280|    149|    shared_keys->dsk_owning_type = (PyTypeObject *)cls;
 7281|    149|    PyDictKeysObject* keys = &shared_keys->dsk_keys;
 7282|    149|    init_keys_object(keys, NEXT_LOG2_SHARED_KEYS_MAX_SIZE, log2_bytes, DICT_KEYS_SPLIT,
  ------------------
  |  |  256|    149|#define NEXT_LOG2_SHARED_KEYS_MAX_SIZE 6
  ------------------
 7283|    149|                     SHARED_KEYS_MAX_SIZE, sizeof(PyDictUnicodeEntry));
  ------------------
  |  |  255|    149|#define SHARED_KEYS_MAX_SIZE 30
  ------------------
 7284|    149|    assert(keys->dk_nentries == 0);
  ------------------
  |  Branch (7284:5): [True: 149, False: 0]
  ------------------
 7285|       |    /* Set to max size+1 as it will shrink by one before each new object */
 7286|    149|    if (cls->ht_type.tp_dict) {
  ------------------
  |  Branch (7286:9): [True: 149, False: 0]
  ------------------
 7287|    149|        PyObject *attrs = PyDict_GetItem(cls->ht_type.tp_dict, &_Py_ID(__static_attributes__));
  ------------------
  |  |  936|    149|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    149|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    149|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7288|    149|        if (attrs != NULL && PyTuple_Check(attrs)) {
  ------------------
  |  |   27|    143|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    143|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 143, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (7288:13): [True: 143, False: 6]
  ------------------
 7289|    431|            for (Py_ssize_t i = 0; i < PyTuple_GET_SIZE(attrs); i++) {
  ------------------
  |  |   27|    431|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    431|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    431|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (7289:36): [True: 288, False: 143]
  ------------------
 7290|    288|                PyObject *key = PyTuple_GET_ITEM(attrs, i);
  ------------------
  |  |   29|    288|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    288|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    288|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (7290:33): [True: 288, False: 0]
  ------------------
 7291|      0|                Py_hash_t hash;
 7292|    288|                if (PyUnicode_CheckExact(key) && (hash = unicode_get_hash(key)) != -1) {
  ------------------
  |  |  104|    288|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 288, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (7292:50): [True: 288, False: 0]
  ------------------
 7293|    288|                    if (insert_split_key(keys, key, hash) == DKIX_EMPTY) {
  ------------------
  |  |  185|    288|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (7293:25): [True: 0, False: 288]
  ------------------
 7294|      0|                        break;
 7295|      0|                    }
 7296|    288|                }
 7297|    288|            }
 7298|    143|        }
 7299|    149|    }
 7300|    149|    return keys;
 7301|    149|}
_PyDict_RemoveKeysForClass:
 7305|      2|{
 7306|      2|    struct _instancekeysobject *shared_keys = _PyDictKeys_AsSharedKeys(cls->ht_cached_keys);
 7307|      2|    FT_ATOMIC_STORE_PTR_RELEASE(shared_keys->dsk_owning_type, NULL);
  ------------------
  |  |  164|      2|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 7308|       |
 7309|      2|    _PyDictKeys_DecRef(cls->ht_cached_keys);
 7310|      2|}
_PyObject_InitInlineValues:
 7314|    690|{
 7315|    690|    assert(tp->tp_flags & Py_TPFLAGS_HEAPTYPE);
  ------------------
  |  Branch (7315:5): [True: 690, False: 0]
  ------------------
 7316|    690|    assert(tp->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  ------------------
  |  Branch (7316:5): [True: 690, False: 0]
  ------------------
 7317|    690|    assert(tp->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  ------------------
  |  Branch (7317:5): [True: 690, False: 0]
  ------------------
 7318|    690|    PyDictKeysObject *keys = CACHED_KEYS(tp);
  ------------------
  |  |  911|    690|#define CACHED_KEYS(tp) (((PyHeapTypeObject*)tp)->ht_cached_keys)
  ------------------
 7319|    690|    assert(keys != NULL);
  ------------------
  |  Branch (7319:5): [True: 690, False: 0]
  ------------------
 7320|    690|    OBJECT_STAT_INC(inline_values);
  ------------------
  |  |   77|    690|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
 7321|       |#ifdef Py_GIL_DISABLED
 7322|       |    Py_ssize_t usable = _Py_atomic_load_ssize_relaxed(&keys->dk_usable);
 7323|       |    if (usable > 1) {
 7324|       |        LOCK_KEYS(keys);
 7325|       |        if (keys->dk_usable > 1) {
 7326|       |            _Py_atomic_store_ssize(&keys->dk_usable, keys->dk_usable - 1);
 7327|       |        }
 7328|       |        UNLOCK_KEYS(keys);
 7329|       |    }
 7330|       |#else
 7331|    690|    if (keys->dk_usable > 1) {
  ------------------
  |  Branch (7331:9): [True: 404, False: 286]
  ------------------
 7332|    404|        keys->dk_usable--;
 7333|    404|    }
 7334|    690|#endif
 7335|    690|    size_t size = shared_keys_usable_size(keys);
 7336|    690|    PyDictValues *values = _PyObject_InlineValues(obj);
 7337|    690|    assert(size < 256);
  ------------------
  |  Branch (7337:5): [True: 690, False: 0]
  ------------------
 7338|    690|    values->capacity = (uint8_t)size;
 7339|    690|    values->size = 0;
 7340|    690|    values->embedded = 1;
 7341|    690|    values->valid = 1;
 7342|  10.0k|    for (size_t i = 0; i < size; i++) {
  ------------------
  |  Branch (7342:24): [True: 9.36k, False: 690]
  ------------------
 7343|  9.36k|        values->values[i] = NULL;
 7344|  9.36k|    }
 7345|       |    _PyObject_ManagedDictPointer(obj)->dict = NULL;
 7346|    690|}
_PyDict_SetItem_LockHeld:
 7413|  2.97k|{
 7414|  2.97k|    if (!PyDict_Check(dict)) {
  ------------------
  |  |   18|  2.97k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  2.97k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (7414:9): [True: 0, False: 2.97k]
  ------------------
 7415|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7416|      0|            if (value == NULL) {
  ------------------
  |  Branch (7416:17): [True: 0, False: 0]
  ------------------
 7417|      0|                frozendict_does_not_support("deletion");
  ------------------
  |  | 2801|      0|    PyErr_SetString(PyExc_TypeError, "frozendict object does " \
  |  | 2802|      0|                    "not support item " WHAT)
  ------------------
 7418|      0|            }
 7419|      0|            else {
 7420|      0|                frozendict_does_not_support("assignment");
  ------------------
  |  | 2801|      0|    PyErr_SetString(PyExc_TypeError, "frozendict object does " \
  |  | 2802|      0|                    "not support item " WHAT)
  ------------------
 7421|      0|            }
 7422|      0|        }
 7423|      0|        else {
 7424|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 7425|      0|        }
 7426|      0|        return -1;
 7427|      0|    }
 7428|       |
 7429|  2.97k|    if (value == NULL) {
  ------------------
  |  Branch (7429:9): [True: 36, False: 2.93k]
  ------------------
 7430|     36|        Py_hash_t hash = _PyObject_HashDictKey(name);
 7431|     36|        if (hash == -1) {
  ------------------
  |  Branch (7431:13): [True: 0, False: 36]
  ------------------
 7432|      0|            dict_unhashable_type((PyObject*)dict, name);
 7433|      0|            return -1;
 7434|      0|        }
 7435|     36|        return _PyDict_DelItem_KnownHash_LockHeld((PyObject *)dict, name, hash);
 7436|  2.93k|    } else {
 7437|  2.93k|        return setitem_lock_held(dict, name, value);
 7438|  2.93k|    }
 7439|  2.97k|}
_PyObject_StoreInstanceAttribute:
 7560|    852|{
 7561|    852|    PyDictValues *values = _PyObject_InlineValues(obj);
 7562|    852|    if (!FT_ATOMIC_LOAD_UINT8(values->valid)) {
  ------------------
  |  |  154|    852|#define FT_ATOMIC_LOAD_UINT8(value) value
  ------------------
  |  Branch (7562:9): [True: 0, False: 852]
  ------------------
 7563|      0|        PyDictObject *dict = _PyObject_GetManagedDict(obj);
 7564|      0|        if (dict == NULL) {
  ------------------
  |  Branch (7564:13): [True: 0, False: 0]
  ------------------
 7565|      0|            dict = (PyDictObject *)PyObject_GenericGetDict(obj, NULL);
 7566|      0|            if (dict == NULL) {
  ------------------
  |  Branch (7566:17): [True: 0, False: 0]
  ------------------
 7567|      0|                return -1;
 7568|      0|            }
 7569|      0|            int res = store_instance_attr_dict(obj, dict, name, value);
 7570|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7571|      0|            return res;
 7572|      0|        }
 7573|      0|        return store_instance_attr_dict(obj, dict, name, value);
 7574|      0|    }
 7575|       |
 7576|       |#ifdef Py_GIL_DISABLED
 7577|       |    // We have a valid inline values, at least for now...  There are two potential
 7578|       |    // races with having the values become invalid.  One is the dictionary
 7579|       |    // being detached from the object.  The other is if someone is inserting
 7580|       |    // into the dictionary directly and therefore causing it to resize.
 7581|       |    //
 7582|       |    // If we haven't materialized the dictionary yet we lock on the object, which
 7583|       |    // will also be used to prevent the dictionary from being materialized while
 7584|       |    // we're doing the insertion.  If we race and the dictionary gets created
 7585|       |    // then we'll need to release the object lock and lock the dictionary to
 7586|       |    // prevent resizing.
 7587|       |    PyDictObject *dict = _PyObject_GetManagedDict(obj);
 7588|       |    if (dict == NULL) {
 7589|       |        int res;
 7590|       |        Py_BEGIN_CRITICAL_SECTION(obj);
 7591|       |        dict = _PyObject_GetManagedDict(obj);
 7592|       |
 7593|       |        if (dict == NULL) {
 7594|       |            res = store_instance_attr_lock_held(obj, values, name, value);
 7595|       |        }
 7596|       |        Py_END_CRITICAL_SECTION();
 7597|       |
 7598|       |        if (dict == NULL) {
 7599|       |            return res;
 7600|       |        }
 7601|       |    }
 7602|       |    return store_instance_attr_dict(obj, dict, name, value);
 7603|       |#else
 7604|    852|    return store_instance_attr_lock_held(obj, values, name, value);
 7605|    852|#endif
 7606|    852|}
_PyObject_TryGetInstanceAttribute:
 7643|  1.41k|{
 7644|  1.41k|    assert(PyUnicode_CheckExact(name));
  ------------------
  |  Branch (7644:5): [True: 1.41k, False: 0]
  ------------------
 7645|  1.41k|    PyDictValues *values = _PyObject_InlineValues(obj);
 7646|  1.41k|    if (!FT_ATOMIC_LOAD_UINT8(values->valid)) {
  ------------------
  |  |  154|  1.41k|#define FT_ATOMIC_LOAD_UINT8(value) value
  ------------------
  |  Branch (7646:9): [True: 0, False: 1.41k]
  ------------------
 7647|      0|        return false;
 7648|      0|    }
 7649|       |
 7650|  1.41k|    PyDictKeysObject *keys = CACHED_KEYS(Py_TYPE(obj));
  ------------------
  |  |  911|  1.41k|#define CACHED_KEYS(tp) (((PyHeapTypeObject*)tp)->ht_cached_keys)
  ------------------
 7651|  1.41k|    assert(keys != NULL);
  ------------------
  |  Branch (7651:5): [True: 1.41k, False: 0]
  ------------------
 7652|  1.41k|    Py_ssize_t ix = _PyDictKeys_StringLookupSplit(keys, name);
 7653|  1.41k|    if (ix == DKIX_EMPTY) {
  ------------------
  |  |  185|  1.41k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (7653:9): [True: 201, False: 1.21k]
  ------------------
 7654|    201|        *attr = NULL;
 7655|    201|        return true;
 7656|    201|    }
 7657|       |
 7658|       |#ifdef Py_GIL_DISABLED
 7659|       |    PyObject *value = _Py_atomic_load_ptr_acquire(&values->values[ix]);
 7660|       |    if (value == NULL) {
 7661|       |        if (FT_ATOMIC_LOAD_UINT8(values->valid)) {
 7662|       |            *attr = NULL;
 7663|       |            return true;
 7664|       |        }
 7665|       |    }
 7666|       |    else if (_Py_TryIncrefCompare(&values->values[ix], value)) {
 7667|       |        *attr = value;
 7668|       |        return true;
 7669|       |    }
 7670|       |
 7671|       |    PyDictObject *dict = _PyObject_GetManagedDict(obj);
 7672|       |    if (dict == NULL) {
 7673|       |        // No dict, lock the object to prevent one from being
 7674|       |        // materialized...
 7675|       |        bool success = false;
 7676|       |        Py_BEGIN_CRITICAL_SECTION(obj);
 7677|       |
 7678|       |        dict = _PyObject_GetManagedDict(obj);
 7679|       |        if (dict == NULL) {
 7680|       |            // Still no dict, we can read from the values
 7681|       |            assert(values->valid);
 7682|       |            value = values->values[ix];
 7683|       |            *attr = _Py_XNewRefWithLock(value);
 7684|       |            success = true;
 7685|       |        }
 7686|       |
 7687|       |        Py_END_CRITICAL_SECTION();
 7688|       |
 7689|       |        if (success) {
 7690|       |            return true;
 7691|       |        }
 7692|       |    }
 7693|       |
 7694|       |    // We have a dictionary, we'll need to lock it to prevent
 7695|       |    // the values from being resized.
 7696|       |    assert(dict != NULL);
 7697|       |
 7698|       |    bool success;
 7699|       |    Py_BEGIN_CRITICAL_SECTION(dict);
 7700|       |
 7701|       |    if (dict->ma_values == values && FT_ATOMIC_LOAD_UINT8(values->valid)) {
 7702|       |        value = _Py_atomic_load_ptr_consume(&values->values[ix]);
 7703|       |        *attr = _Py_XNewRefWithLock(value);
 7704|       |        success = true;
 7705|       |    } else {
 7706|       |        // Caller needs to lookup from the dictionary
 7707|       |        success = false;
 7708|       |    }
 7709|       |
 7710|       |    Py_END_CRITICAL_SECTION();
 7711|       |
 7712|       |    return success;
 7713|       |#else
 7714|  1.21k|    PyObject *value = values->values[ix];
 7715|  1.21k|    *attr = Py_XNewRef(value);
  ------------------
  |  |  551|  1.21k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.21k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.21k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7716|       |    return true;
 7717|  1.41k|#endif
 7718|  1.41k|}
PyObject_VisitManagedDict:
 7756|    294|{
 7757|    294|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|    294|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    294|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    294|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7758|    294|    if((tp->tp_flags & Py_TPFLAGS_MANAGED_DICT) == 0) {
  ------------------
  |  |  482|    294|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (7758:8): [True: 0, False: 294]
  ------------------
 7759|      0|        return 0;
 7760|      0|    }
 7761|    294|    PyDictObject *dict = _PyObject_ManagedDictPointer(obj)->dict;
 7762|    294|    if (dict != NULL) {
  ------------------
  |  Branch (7762:9): [True: 4, False: 290]
  ------------------
 7763|       |        // GH-130327: If there's a managed dictionary available, we should
 7764|       |        // *always* traverse it. The dict is responsible for traversing the
 7765|       |        // inline values if it points to them.
 7766|      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]
  |  |  ------------------
  ------------------
 7767|      4|    }
 7768|    290|    else if (tp->tp_flags & Py_TPFLAGS_INLINE_VALUES) {
  ------------------
  |  |  472|    290|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (7768:14): [True: 290, False: 0]
  ------------------
 7769|    290|        PyDictValues *values = _PyObject_InlineValues(obj);
 7770|    290|        if (values->valid) {
  ------------------
  |  Branch (7770:13): [True: 290, False: 0]
  ------------------
 7771|  5.67k|            for (Py_ssize_t i = 0; i < values->capacity; i++) {
  ------------------
  |  Branch (7771:36): [True: 5.38k, False: 290]
  ------------------
 7772|  5.38k|                Py_VISIT(values->values[i]);
  ------------------
  |  |  194|  5.38k|    do {                                                                \
  |  |  195|  5.38k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 1.81k, False: 3.57k]
  |  |  ------------------
  |  |  196|  1.81k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  1.81k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.81k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  1.81k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 1.81k]
  |  |  ------------------
  |  |  198|  1.81k|                return vret;                                            \
  |  |  199|  1.81k|        }                                                               \
  |  |  200|  5.38k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 5.38k]
  |  |  ------------------
  ------------------
 7773|  5.38k|            }
 7774|    290|        }
 7775|    290|    }
 7776|    294|    return 0;
 7777|    294|}
PyObject_ClearManagedDict:
 7995|    523|{
 7996|       |    // This is called when the object is being freed or cleared
 7997|       |    // by the GC and therefore known to have no references.
 7998|    523|    if (Py_TYPE(obj)->tp_flags & Py_TPFLAGS_INLINE_VALUES) {
  ------------------
  |  |  213|    523|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    523|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    523|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (Py_TYPE(obj)->tp_flags & Py_TPFLAGS_INLINE_VALUES) {
  ------------------
  |  |  472|    523|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (7998:9): [True: 516, False: 7]
  ------------------
 7999|    516|        PyDictObject *dict = _PyObject_GetManagedDict(obj);
 8000|    516|        if (dict == NULL) {
  ------------------
  |  Branch (8000:13): [True: 516, False: 0]
  ------------------
 8001|       |            // We have no materialized dictionary and inline values
 8002|       |            // that just need to be cleared.
 8003|       |            // No dict to clear, we're done
 8004|    516|            clear_inline_values(_PyObject_InlineValues(obj));
 8005|    516|            return;
 8006|    516|        }
 8007|      0|        else if (FT_ATOMIC_LOAD_PTR_RELAXED(dict->ma_values) ==
  ------------------
  |  |  153|      0|#define FT_ATOMIC_LOAD_PTR_RELAXED(value) value
  ------------------
  |  Branch (8007:18): [True: 0, False: 0]
  ------------------
 8008|      0|                    _PyObject_InlineValues(obj)) {
 8009|       |            // We have a materialized object which points at the inline
 8010|       |            // values. We need to materialize the keys. Nothing can modify
 8011|       |            // this object, but we need to lock the dictionary.
 8012|      0|            int err;
 8013|      0|            Py_BEGIN_CRITICAL_SECTION(dict);
  ------------------
  |  |   51|      0|    {
  ------------------
 8014|      0|            err = detach_dict_from_object(dict, obj);
 8015|      0|            Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 8016|       |
 8017|      0|            if (err) {
  ------------------
  |  Branch (8017:17): [True: 0, False: 0]
  ------------------
 8018|       |                /* Must be out of memory */
 8019|      0|                assert(PyErr_Occurred() == PyExc_MemoryError);
  ------------------
  |  Branch (8019:17): [True: 0, False: 0]
  ------------------
 8020|      0|                PyErr_FormatUnraisable("Exception ignored while "
 8021|      0|                                       "clearing an object managed dict");
 8022|       |                /* Clear the dict */
 8023|      0|                Py_BEGIN_CRITICAL_SECTION(dict);
  ------------------
  |  |   51|      0|    {
  ------------------
 8024|      0|                PyDictKeysObject *oldkeys = dict->ma_keys;
 8025|      0|                set_keys(dict, Py_EMPTY_KEYS);
  ------------------
  |  |  660|      0|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
 8026|      0|                dict->ma_values = NULL;
 8027|      0|                dictkeys_decref(oldkeys, IS_DICT_SHARED(dict));
  ------------------
  |  |  269|      0|#define IS_DICT_SHARED(mp) (false)
  ------------------
 8028|      0|                STORE_USED(dict, 0);
  ------------------
  |  |  336|      0|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  194|      0|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 8029|      0|                clear_inline_values(_PyObject_InlineValues(obj));
 8030|      0|                Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 8031|      0|            }
 8032|      0|        }
 8033|    516|    }
 8034|      7|    Py_CLEAR(_PyObject_ManagedDictPointer(obj)->dict);
  ------------------
  |  |  484|      7|    do { \
  |  |  485|      7|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      7|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      7|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      7|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      7|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      7|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 7, False: 0]
  |  |  ------------------
  |  |  488|      7|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      7|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      7|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      7|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      7|        } \
  |  |  491|      7|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 7]
  |  |  ------------------
  ------------------
 8035|      7|}
PyObject_GenericGetDict:
 8110|     40|{
 8111|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8112|     40|    if (_PyType_HasFeature(tp, Py_TPFLAGS_MANAGED_DICT)) {
  ------------------
  |  |  482|     40|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (8112:9): [True: 0, False: 40]
  ------------------
 8113|      0|        return Py_XNewRef(ensure_managed_dict(obj));
  ------------------
  |  |  551|      0|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8114|      0|    }
 8115|     40|    else {
 8116|     40|        PyObject **dictptr = _PyObject_ComputedDictPointer(obj);
 8117|     40|        if (dictptr == NULL) {
  ------------------
  |  Branch (8117:13): [True: 0, False: 40]
  ------------------
 8118|      0|            PyErr_SetString(PyExc_AttributeError,
 8119|      0|                            "This object has no __dict__");
 8120|      0|            return NULL;
 8121|      0|        }
 8122|       |
 8123|     40|        return Py_XNewRef(ensure_nonmanaged_dict(obj, dictptr));
  ------------------
  |  |  551|     40|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8124|     40|    }
 8125|     40|}
_PyObjectDict_SetItem:
 8130|  2.60k|{
 8131|  2.60k|    PyObject *dict;
 8132|  2.60k|    int res;
 8133|       |
 8134|  2.60k|    assert(dictptr != NULL);
  ------------------
  |  Branch (8134:5): [True: 2.60k, False: 0]
  ------------------
 8135|  2.60k|    dict = ensure_nonmanaged_dict(obj, dictptr);
 8136|  2.60k|    if (dict == NULL) {
  ------------------
  |  Branch (8136:9): [True: 0, False: 2.60k]
  ------------------
 8137|      0|        return -1;
 8138|      0|    }
 8139|       |
 8140|  2.60k|    Py_BEGIN_CRITICAL_SECTION(dict);
  ------------------
  |  |   51|  2.60k|    {
  ------------------
 8141|  2.60k|    res = _PyDict_SetItem_LockHeld((PyDictObject *)dict, key, value);
 8142|  2.60k|    ASSERT_CONSISTENT(dict);
  ------------------
  |  |  668|  2.60k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (8142:5): [True: 2.60k, False: 0]
  ------------------
 8143|  2.60k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  2.60k|    }
  ------------------
 8144|  2.60k|    return res;
 8145|  2.60k|}
_PyDictKeys_DecRef:
 8149|      2|{
 8150|       |    dictkeys_decref(keys, false);
 8151|      2|}
_PyDictKeys_GetVersionForCurrentState:
 8180|  1.90k|{
 8181|  1.90k|    uint32_t dk_version = FT_ATOMIC_LOAD_UINT32_RELAXED(dictkeys->dk_version);
  ------------------
  |  |  159|  1.90k|#define FT_ATOMIC_LOAD_UINT32_RELAXED(value) value
  ------------------
 8182|  1.90k|    if (dk_version != 0) {
  ------------------
  |  Branch (8182:9): [True: 1.77k, False: 128]
  ------------------
 8183|  1.77k|        return dk_version;
 8184|  1.77k|    }
 8185|    128|    dk_version = get_next_dict_keys_version(interp);
 8186|    128|    FT_ATOMIC_STORE_UINT32_RELAXED(dictkeys->dk_version, dk_version);
  ------------------
  |  |  172|    128|#define FT_ATOMIC_STORE_UINT32_RELAXED(value, new_value) value = new_value
  ------------------
 8187|    128|    return dk_version;
 8188|  1.90k|}
_PyDict_GetKeysVersionForCurrentState:
 8193|  1.62k|{
 8194|  1.62k|    ASSERT_DICT_LOCKED((PyObject *) dict);
 8195|  1.62k|    uint32_t dk_version =
 8196|  1.62k|        _PyDictKeys_GetVersionForCurrentState(interp, dict->ma_keys);
 8197|  1.62k|    ensure_shared_on_keys_version_assignment(dict);
 8198|  1.62k|    return dk_version;
 8199|  1.62k|}
PyDict_Watch:
 8223|  1.51k|{
 8224|  1.51k|    if (!PyDict_Check(dict)) {
  ------------------
  |  |   18|  1.51k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.51k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (8224:9): [True: 0, False: 1.51k]
  ------------------
 8225|      0|        PyErr_SetString(PyExc_ValueError, "Cannot watch non-dictionary");
 8226|      0|        return -1;
 8227|      0|    }
 8228|  1.51k|    PyInterpreterState *interp = _PyInterpreterState_GET();
 8229|  1.51k|    if (validate_watcher_id(interp, watcher_id)) {
  ------------------
  |  Branch (8229:9): [True: 0, False: 1.51k]
  ------------------
 8230|      0|        return -1;
 8231|      0|    }
 8232|  1.51k|    FT_ATOMIC_OR_UINT64(((PyDictObject*)dict)->_ma_watcher_tag,
  ------------------
  |  |  174|  1.51k|#define FT_ATOMIC_OR_UINT64(value, new_value) (void)(value |= new_value)
  ------------------
 8233|  1.51k|                        1ULL << watcher_id);
 8234|  1.51k|    return 0;
 8235|  1.51k|}
_PyDict_SendEvent:
 8310|  7.36k|{
 8311|  7.36k|    PyInterpreterState *interp = _PyInterpreterState_GET();
 8312|  66.3k|    for (int i = 0; i < DICT_MAX_WATCHERS; i++) {
  ------------------
  |  |   11|  66.3k|#define DICT_MAX_WATCHERS 8
  ------------------
  |  Branch (8312:21): [True: 58.9k, False: 7.36k]
  ------------------
 8313|  58.9k|        if (watcher_bits & 1) {
  ------------------
  |  Branch (8313:13): [True: 7.36k, False: 51.5k]
  ------------------
 8314|  7.36k|            PyDict_WatchCallback cb = FT_ATOMIC_LOAD_PTR_ACQUIRE(
  ------------------
  |  |  150|  7.36k|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
 8315|  7.36k|                interp->dict_state.watchers[i]);
 8316|  7.36k|            if (cb && (cb(event, (PyObject*)mp, key, value) < 0)) {
  ------------------
  |  Branch (8316:17): [True: 7.36k, False: 0]
  |  Branch (8316:23): [True: 0, False: 7.36k]
  ------------------
 8317|       |                // We don't want to resurrect the dict by potentially having an
 8318|       |                // unraisablehook keep a reference to it, so we don't pass the
 8319|       |                // dict as context, just an informative string message.  Dict
 8320|       |                // repr can call arbitrary code, so we invent a simpler version.
 8321|      0|                PyErr_FormatUnraisable(
 8322|      0|                    "Exception ignored in %s watcher callback for <dict at %p>",
 8323|      0|                    dict_event_name(event), mp);
 8324|      0|            }
 8325|  7.36k|        }
 8326|  58.9k|        watcher_bits >>= 1;
 8327|  58.9k|    }
 8328|  7.36k|}
dictobject.c:dictkeys_get_index:
  528|   465k|{
  529|   465k|    int log2size = DK_LOG_SIZE(keys);
  ------------------
  |  |  272|   465k|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  ------------------
  |  |  |  |  302|   465k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  530|   465k|    Py_ssize_t ix;
  531|       |
  532|   465k|    if (log2size < 8) {
  ------------------
  |  Branch (532:9): [True: 364k, False: 101k]
  ------------------
  533|   364k|        ix = LOAD_INDEX(keys, 8, i);
  ------------------
  |  |  271|   364k|#define LOAD_INDEX(keys, size, idx) ((const int##size##_t*)(keys->dk_indices))[idx]
  ------------------
  534|   364k|    }
  535|   101k|    else if (log2size < 16) {
  ------------------
  |  Branch (535:14): [True: 101k, False: 0]
  ------------------
  536|   101k|        ix = LOAD_INDEX(keys, 16, i);
  ------------------
  |  |  271|   101k|#define LOAD_INDEX(keys, size, idx) ((const int##size##_t*)(keys->dk_indices))[idx]
  ------------------
  537|   101k|    }
  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|   465k|    assert(ix >= DKIX_DUMMY);
  ------------------
  |  Branch (546:5): [True: 465k, False: 0]
  ------------------
  547|   465k|    return ix;
  548|   465k|}
dictobject.c:unicode_get_hash:
  451|   189k|{
  452|   189k|    return PyUnstable_Unicode_GET_CACHED_HASH(o);
  453|   189k|}
dictobject.c:new_dict:
  973|  3.17k|{
  974|  3.17k|    PyDictObject *mp = _Py_FREELIST_POP(PyDictObject, dicts);
  ------------------
  |  |   43|  3.17k|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  3.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  975|  3.17k|    if (mp == NULL) {
  ------------------
  |  Branch (975:9): [True: 1.41k, False: 1.76k]
  ------------------
  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.17k|    assert(mp == NULL || Py_IS_TYPE(mp, &PyDict_Type));
  ------------------
  |  Branch (978:5): [True: 0, False: 3.17k]
  |  Branch (978:5): [True: 3.17k, False: 0]
  ------------------
  979|       |
  980|  3.17k|    return new_dict_impl(mp, keys, values, used, free_values_on_failure, 0, 1);
  981|  3.17k|}
dictobject.c:new_dict_impl:
  945|  3.93k|{
  946|  3.93k|    assert(keys != NULL);
  ------------------
  |  Branch (946:5): [True: 3.93k, False: 0]
  ------------------
  947|  3.93k|    if (mp == NULL) {
  ------------------
  |  Branch (947:9): [True: 0, False: 3.93k]
  ------------------
  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.93k|    mp->ma_keys = keys;
  956|  3.93k|    mp->ma_values = values;
  957|  3.93k|    mp->ma_used = used;
  958|  3.93k|    mp->_ma_watcher_tag = 0;
  959|  3.93k|    if (frozendict) {
  ------------------
  |  Branch (959:9): [True: 0, False: 3.93k]
  ------------------
  960|      0|        ((PyFrozenDictObject *)mp)->ma_hash = -1;
  961|      0|    }
  962|  3.93k|    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|  3.93k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (962:5): [True: 3.93k, False: 0]
  ------------------
  963|  3.93k|    if (gc_track) {
  ------------------
  |  Branch (963:9): [True: 3.17k, False: 754]
  ------------------
  964|  3.17k|        _PyObject_GC_TRACK(mp);
  ------------------
  |  |  505|  3.17k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  965|  3.17k|    }
  966|  3.93k|    return (PyObject *)mp;
  967|  3.93k|}
dictobject.c:free_values:
  930|      7|{
  931|      7|    assert(values->embedded == 0);
  ------------------
  |  Branch (931:5): [True: 7, False: 0]
  ------------------
  932|       |#ifdef Py_GIL_DISABLED
  933|       |    if (use_qsbr) {
  934|       |        _PyMem_FreeDelayed(values, values_size_from_count(values->capacity));
  935|       |        return;
  936|       |    }
  937|       |#endif
  938|      7|    PyMem_Free(values);
  939|      7|}
dictobject.c:check_keys_unicode:
 1248|    325|{
 1249|    325|    return PyUnicode_CheckExact(key) && (dk->dk_kind != DICT_KEYS_GENERAL);
  ------------------
  |  |  104|    325|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|    650|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    325|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    325|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 325, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1249:41): [True: 325, False: 0]
  ------------------
 1250|    325|}
dictobject.c:hash_unicode_key:
 1254|    589|{
 1255|    589|    assert(PyUnicode_CheckExact(key));
  ------------------
  |  Branch (1255:5): [True: 589, False: 0]
  ------------------
 1256|    589|    Py_hash_t hash = unicode_get_hash(key);
 1257|    589|    if (hash == -1) {
  ------------------
  |  Branch (1257:9): [True: 0, False: 589]
  ------------------
 1258|      0|        hash = PyUnicode_Type.tp_hash(key);
 1259|      0|        assert(hash != -1);
  ------------------
  |  Branch (1259:9): [True: 0, False: 0]
  ------------------
 1260|      0|    }
 1261|    589|    return hash;
 1262|    589|}
dictobject.c:unicodekeys_lookup_unicode:
 1208|   211k|{
 1209|       |    return do_lookup(NULL, dk, key, hash, compare_unicode_unicode);
 1210|   211k|}
dictobject.c:do_lookup:
 1115|   214k|{
 1116|   214k|    void *ep0 = _DK_ENTRIES(dk);
 1117|   214k|    size_t mask = DK_MASK(dk);
  ------------------
  |  |  467|   214k|#define DK_MASK(dk) (DK_SIZE(dk)-1)
  |  |  ------------------
  |  |  |  |  274|   214k|#define DK_SIZE(dk)      (((int64_t)1)<<DK_LOG_SIZE(dk))
  |  |  |  |  ------------------
  |  |  |  |  |  |  272|   214k|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  302|   214k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1118|   214k|    size_t perturb = hash;
 1119|   214k|    size_t i = (size_t)hash & mask;
 1120|   214k|    Py_ssize_t ix;
 1121|   256k|    for (;;) {
 1122|   256k|        ix = dictkeys_get_index(dk, i);
 1123|   256k|        if (ix >= 0) {
  ------------------
  |  Branch (1123:13): [True: 131k, False: 125k]
  ------------------
 1124|   131k|            int cmp = check_lookup(mp, dk, ep0, ix, key, hash);
 1125|   131k|            if (cmp < 0) {
  ------------------
  |  Branch (1125:17): [True: 0, False: 131k]
  ------------------
 1126|      0|                return cmp;
 1127|   131k|            } else if (cmp) {
  ------------------
  |  Branch (1127:24): [True: 37.7k, False: 93.5k]
  ------------------
 1128|  37.7k|                return ix;
 1129|  37.7k|            }
 1130|   131k|        }
 1131|   125k|        else if (ix == DKIX_EMPTY) {
  ------------------
  |  |  185|   125k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (1131:18): [True: 120k, False: 4.76k]
  ------------------
 1132|   120k|            return DKIX_EMPTY;
  ------------------
  |  |  185|   120k|#define DKIX_EMPTY (-1)
  ------------------
 1133|   120k|        }
 1134|  98.2k|        perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  338|  98.2k|#define PERTURB_SHIFT 5
  ------------------
 1135|  98.2k|        i = mask & (i*5 + perturb + 1);
 1136|       |
 1137|       |        // Manual loop unrolling
 1138|  98.2k|        ix = dictkeys_get_index(dk, i);
 1139|  98.2k|        if (ix >= 0) {
  ------------------
  |  Branch (1139:13): [True: 47.0k, False: 51.2k]
  ------------------
 1140|  47.0k|            int cmp = check_lookup(mp, dk, ep0, ix, key, hash);
 1141|  47.0k|            if (cmp < 0) {
  ------------------
  |  Branch (1141:17): [True: 0, False: 47.0k]
  ------------------
 1142|      0|                return cmp;
 1143|  47.0k|            } else if (cmp) {
  ------------------
  |  Branch (1143:24): [True: 6.66k, False: 40.4k]
  ------------------
 1144|  6.66k|                return ix;
 1145|  6.66k|            }
 1146|  47.0k|        }
 1147|  51.2k|        else if (ix == DKIX_EMPTY) {
  ------------------
  |  |  185|  51.2k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (1147:18): [True: 48.8k, False: 2.35k]
  ------------------
 1148|  48.8k|            return DKIX_EMPTY;
  ------------------
  |  |  185|  48.8k|#define DKIX_EMPTY (-1)
  ------------------
 1149|  48.8k|        }
 1150|  42.7k|        perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  338|  42.7k|#define PERTURB_SHIFT 5
  ------------------
 1151|  42.7k|        i = mask & (i*5 + perturb + 1);
 1152|  42.7k|    }
 1153|      0|    Py_UNREACHABLE();
  ------------------
  |  |  289|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1154|   214k|}
dictobject.c:compare_unicode_unicode:
 1194|   176k|{
 1195|   176k|    PyDictUnicodeEntry *ep = &((PyDictUnicodeEntry *)ep0)[ix];
 1196|   176k|    PyObject *ep_key = FT_ATOMIC_LOAD_PTR_CONSUME(ep->me_key);
  ------------------
  |  |  151|   176k|#define FT_ATOMIC_LOAD_PTR_CONSUME(value) value
  ------------------
 1197|   176k|    assert(ep_key != NULL);
  ------------------
  |  Branch (1197:5): [True: 176k, False: 0]
  ------------------
 1198|   176k|    assert(PyUnicode_CheckExact(ep_key));
  ------------------
  |  Branch (1198:5): [True: 176k, False: 0]
  ------------------
 1199|   176k|    if (ep_key == key ||
  ------------------
  |  Branch (1199:9): [True: 39.4k, False: 136k]
  ------------------
 1200|   136k|            (unicode_get_hash(ep_key) == hash && unicode_eq(ep_key, key))) {
  ------------------
  |  Branch (1200:14): [True: 4.69k, False: 131k]
  |  Branch (1200:50): [True: 4.69k, False: 0]
  ------------------
 1201|  44.1k|        return 1;
 1202|  44.1k|    }
 1203|   131k|    return 0;
 1204|   176k|}
dictobject.c:unicodekeys_lookup_split:
 1272|  1.80k|{
 1273|  1.80k|    Py_ssize_t ix;
 1274|  1.80k|    assert(dk->dk_kind == DICT_KEYS_SPLIT);
  ------------------
  |  Branch (1274:5): [True: 1.80k, False: 0]
  ------------------
 1275|  1.80k|    assert(PyUnicode_CheckExact(key));
  ------------------
  |  Branch (1275:5): [True: 1.80k, False: 0]
  ------------------
 1276|       |
 1277|       |#ifdef Py_GIL_DISABLED
 1278|       |    // A split dictionaries keys can be mutated by other dictionaries
 1279|       |    // but if we have a unicode key we can avoid locking the shared
 1280|       |    // keys.
 1281|       |    ix = unicodekeys_lookup_unicode_threadsafe(dk, key, hash);
 1282|       |    if (ix == DKIX_KEY_CHANGED) {
 1283|       |        LOCK_KEYS(dk);
 1284|       |        ix = unicodekeys_lookup_unicode(dk, key, hash);
 1285|       |        UNLOCK_KEYS(dk);
 1286|       |    }
 1287|       |#else
 1288|  1.80k|    ix = unicodekeys_lookup_unicode(dk, key, hash);
 1289|  1.80k|#endif
 1290|  1.80k|    return ix;
 1291|  1.80k|}
dictobject.c:unicodekeys_lookup_generic:
 1187|      8|{
 1188|      8|    return do_lookup(mp, dk, key, hash, compare_unicode_generic);
 1189|      8|}
dictobject.c:dictkeys_generic_lookup:
 1242|  2.09k|{
 1243|  2.09k|    return do_lookup(mp, dk, key, hash, compare_generic);
 1244|  2.09k|}
dictobject.c:compare_generic:
 1215|  2.20k|{
 1216|  2.20k|    PyDictKeyEntry *ep = &((PyDictKeyEntry *)ep0)[ix];
 1217|  2.20k|    assert(ep->me_key != NULL);
  ------------------
  |  Branch (1217:5): [True: 2.20k, False: 0]
  ------------------
 1218|  2.20k|    if (ep->me_key == key) {
  ------------------
  |  Branch (1218:9): [True: 241, False: 1.96k]
  ------------------
 1219|    241|        return 1;
 1220|    241|    }
 1221|  1.96k|    if (ep->me_hash == hash) {
  ------------------
  |  Branch (1221:9): [True: 18, False: 1.94k]
  ------------------
 1222|     18|        PyObject *startkey = ep->me_key;
 1223|     18|        Py_INCREF(startkey);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1224|     18|        int cmp = PyObject_RichCompareBool(startkey, key, Py_EQ);
  ------------------
  |  |  654|     18|#define Py_EQ 2
  ------------------
 1225|     18|        Py_DECREF(startkey);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1226|     18|        if (cmp < 0) {
  ------------------
  |  Branch (1226:13): [True: 0, False: 18]
  ------------------
 1227|      0|            return DKIX_ERROR;
  ------------------
  |  |  187|      0|#define DKIX_ERROR (-3)
  ------------------
 1228|      0|        }
 1229|     18|        if (dk == mp->ma_keys && ep->me_key == startkey) {
  ------------------
  |  Branch (1229:13): [True: 18, False: 0]
  |  Branch (1229:34): [True: 18, False: 0]
  ------------------
 1230|     18|            return cmp;
 1231|     18|        }
 1232|      0|        else {
 1233|       |            /* The dict was mutated, restart */
 1234|      0|            return DKIX_KEY_CHANGED;
  ------------------
  |  |  188|      0|#define DKIX_KEY_CHANGED (-4) /* Used internally */
  ------------------
 1235|      0|        }
 1236|     18|    }
 1237|  1.94k|    return 0;
 1238|  1.96k|}
dictobject.c:can_modify_dict:
  306|  65.8k|{
  307|  65.8k|    if (PyFrozenDict_Check(mp)) {
  ------------------
  |  |   37|  65.8k|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|  65.8k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  65.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  65.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 3, False: 65.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  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|  65.8k|    else {
  317|       |        // Locking is only required if the dictionary is not
  318|       |        // uniquely referenced.
  319|  65.8k|        ASSERT_DICT_LOCKED(mp);
  320|  65.8k|    }
  321|  65.8k|    return 1;
  322|  65.8k|}
dictobject.c:dict_new_presized:
 2345|    793|{
 2346|    793|    const uint8_t log2_max_presize = 17;
 2347|    793|    const Py_ssize_t max_presize = ((Py_ssize_t)1) << log2_max_presize;
 2348|    793|    uint8_t log2_newsize;
 2349|    793|    PyDictKeysObject *new_keys;
 2350|       |
 2351|    793|    if (minused <= USABLE_FRACTION(PyDict_MINSIZE)) {
  ------------------
  |  |  590|    793|#define USABLE_FRACTION(n) (((n) << 1)/3)
  ------------------
  |  Branch (2351:9): [True: 777, False: 16]
  ------------------
 2352|    777|        return PyDict_New();
 2353|    777|    }
 2354|       |    /* There are no strict guarantee that returned dict can contain minused
 2355|       |     * items without resize.  So we create medium size dict instead of very
 2356|       |     * large dict or MemoryError.
 2357|       |     */
 2358|     16|    if (minused > USABLE_FRACTION(max_presize)) {
  ------------------
  |  |  590|     16|#define USABLE_FRACTION(n) (((n) << 1)/3)
  ------------------
  |  Branch (2358:9): [True: 0, False: 16]
  ------------------
 2359|      0|        log2_newsize = log2_max_presize;
 2360|      0|    }
 2361|     16|    else {
 2362|     16|        log2_newsize = estimate_log2_keysize(minused);
 2363|     16|    }
 2364|       |
 2365|     16|    new_keys = new_keys_object(log2_newsize, unicode);
 2366|     16|    if (new_keys == NULL)
  ------------------
  |  Branch (2366:9): [True: 0, False: 16]
  ------------------
 2367|      0|        return NULL;
 2368|     16|    return new_dict(new_keys, NULL, 0, 0);
 2369|     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.91k|{
  596|  1.91k|#if SIZEOF_LONG == SIZEOF_SIZE_T
  597|  1.91k|    minsize = Py_MAX(minsize, PyDict_MINSIZE);
  ------------------
  |  |  126|  1.91k|       __extension__ \
  |  |  127|  1.91k|       ({ _Py_TYPEOF (x) _x = (x); \
  |  |  ------------------
  |  |  |  |  552|  1.91k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  128|  1.91k|          _Py_TYPEOF (y) _y = (y); \
  |  |  ------------------
  |  |  |  |  552|  1.91k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|  1.91k|          _x > _y ? _x : _y; })
  |  |  ------------------
  |  |  |  Branch (129:11): [True: 1.88k, False: 33]
  |  |  ------------------
  ------------------
  598|  1.91k|    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.91k|}
dictobject.c:new_keys_object:
  849|  3.91k|{
  850|  3.91k|    Py_ssize_t usable = USABLE_FRACTION((size_t)1<<log2_size);
  ------------------
  |  |  590|  3.91k|#define USABLE_FRACTION(n) (((n) << 1)/3)
  ------------------
  851|  3.91k|    size_t entry_size = unicode ? sizeof(PyDictUnicodeEntry) : sizeof(PyDictKeyEntry);
  ------------------
  |  Branch (851:25): [True: 3.60k, False: 314]
  ------------------
  852|       |
  853|  3.91k|    int log2_bytes = get_log2_bytes(log2_size);
  854|       |
  855|  3.91k|    PyDictKeysObject *dk = NULL;
  856|  3.91k|    if (log2_size == PyDict_LOG_MINSIZE && unicode) {
  ------------------
  |  |  115|  7.83k|#define PyDict_LOG_MINSIZE 3
  ------------------
  |  Branch (856:9): [True: 2.03k, False: 1.88k]
  |  Branch (856:44): [True: 1.81k, False: 219]
  ------------------
  857|  1.81k|        dk = _Py_FREELIST_POP_MEM(dictkeys);
  ------------------
  |  |   48|  1.81k|    _PyFreeList_PopMem(&_Py_freelists_GET()->NAME)
  ------------------
  858|  1.81k|    }
  859|  3.91k|    if (dk == NULL) {
  ------------------
  |  Branch (859:9): [True: 2.52k, False: 1.38k]
  ------------------
  860|  2.52k|        dk = PyMem_Malloc(sizeof(PyDictKeysObject)
  861|  2.52k|                          + ((size_t)1 << log2_bytes)
  862|  2.52k|                          + entry_size * usable);
  863|  2.52k|        if (dk == NULL) {
  ------------------
  |  Branch (863:13): [True: 0, False: 2.52k]
  ------------------
  864|      0|            PyErr_NoMemory();
  865|      0|            return NULL;
  866|      0|        }
  867|  2.52k|    }
  868|  3.91k|    init_keys_object(dk, log2_size, log2_bytes,
  869|  3.91k|                     unicode ? DICT_KEYS_UNICODE : DICT_KEYS_GENERAL,
  ------------------
  |  Branch (869:22): [True: 3.60k, False: 314]
  ------------------
  870|  3.91k|                     usable, entry_size);
  871|  3.91k|    return dk;
  872|  3.91k|}
dictobject.c:dict_getitem:
 2427|    149|{
 2428|    149|    if (!PyAnyDict_Check(op)) {
  ------------------
  |  |   43|    149|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|    149|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    298|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 149, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2429|      0|        return NULL;
 2430|      0|    }
 2431|    149|    PyDictObject *mp = (PyDictObject *)op;
 2432|       |
 2433|    149|    Py_hash_t hash = _PyObject_HashDictKey(key);
 2434|    149|    if (hash == -1) {
  ------------------
  |  Branch (2434:9): [True: 0, False: 149]
  ------------------
 2435|      0|        PyErr_FormatUnraisable(warnmsg);
 2436|      0|        return NULL;
 2437|      0|    }
 2438|       |
 2439|    149|    PyThreadState *tstate = _PyThreadState_GET();
 2440|       |#ifdef Py_DEBUG
 2441|       |    // bpo-40839: Before Python 3.10, it was possible to call PyDict_GetItem()
 2442|       |    // with the GIL released.
 2443|       |    _Py_EnsureTstateNotNULL(tstate);
 2444|       |#endif
 2445|       |
 2446|       |    /* Preserve the existing exception */
 2447|    149|    PyObject *value;
 2448|    149|    Py_ssize_t ix; (void)ix;
 2449|       |
 2450|    149|    PyObject *exc = _PyErr_GetRaisedException(tstate);
 2451|       |#ifdef Py_GIL_DISABLED
 2452|       |    ix = _Py_dict_lookup_threadsafe(mp, key, hash, &value);
 2453|       |    Py_XDECREF(value);
 2454|       |#else
 2455|    149|    ix = _Py_dict_lookup(mp, key, hash, &value);
 2456|    149|#endif
 2457|       |
 2458|       |    /* Ignore any exception raised by the lookup */
 2459|    149|    PyObject *exc2 = _PyErr_Occurred(tstate);
 2460|    149|    if (exc2 && !PyErr_GivenExceptionMatches(exc2, PyExc_KeyError)) {
  ------------------
  |  Branch (2460:9): [True: 0, False: 149]
  |  Branch (2460:17): [True: 0, False: 0]
  ------------------
 2461|      0|        PyErr_FormatUnraisable(warnmsg);
 2462|      0|    }
 2463|    149|    _PyErr_SetRaisedException(tstate, exc);
 2464|       |
 2465|    149|    assert(ix >= 0 || value == NULL);
  ------------------
  |  Branch (2465:5): [True: 143, False: 6]
  |  Branch (2465:5): [True: 6, False: 0]
  ------------------
 2466|    149|    return value;  // borrowed reference
 2467|    149|}
dictobject.c:setitem_take2_lock_held:
 2822|  21.4k|{
 2823|  21.4k|    Py_hash_t hash = _PyObject_HashDictKey(key);
 2824|  21.4k|    if (hash == -1) {
  ------------------
  |  Branch (2824:9): [True: 0, False: 21.4k]
  ------------------
 2825|      0|        dict_unhashable_type((PyObject*)mp, key);
 2826|      0|        Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2827|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2828|      0|        return -1;
 2829|      0|    }
 2830|       |
 2831|  21.4k|    return setitem_take2_lock_held_known_hash(mp, key, value, hash);
 2832|  21.4k|}
dictobject.c:setitem_take2_lock_held_known_hash:
 2807|  21.4k|{
 2808|  21.4k|    assert(PyAnyDict_Check(mp));
  ------------------
  |  Branch (2808:5): [True: 21.4k, False: 0]
  |  Branch (2808:5): [True: 0, False: 0]
  ------------------
 2809|  21.4k|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (2809:5): [True: 21.4k, False: 0]
  ------------------
 2810|  21.4k|    assert(key);
  ------------------
  |  Branch (2810:5): [True: 21.4k, False: 0]
  ------------------
 2811|  21.4k|    assert(value);
  ------------------
  |  Branch (2811:5): [True: 21.4k, False: 0]
  ------------------
 2812|       |
 2813|  21.4k|    if (mp->ma_keys == Py_EMPTY_KEYS) {
  ------------------
  |  |  660|  21.4k|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
  |  Branch (2813:9): [True: 1.98k, False: 19.4k]
  ------------------
 2814|  1.98k|        return insert_to_emptydict(mp, key, hash, value);
 2815|  1.98k|    }
 2816|       |    /* insertdict() handles any resizing that might be necessary */
 2817|  19.4k|    return insertdict(mp, key, hash, value);
 2818|  21.4k|}
dictobject.c:setitem_lock_held:
 2892|  3.92k|{
 2893|  3.92k|    assert(key);
  ------------------
  |  Branch (2893:5): [True: 3.92k, False: 0]
  ------------------
 2894|  3.92k|    assert(value);
  ------------------
  |  Branch (2894:5): [True: 3.92k, False: 0]
  ------------------
 2895|  3.92k|    return setitem_take2_lock_held(mp,
 2896|  3.92k|                                   Py_NewRef(key), Py_NewRef(value));
  ------------------
  |  |  550|  3.92k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  3.92k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.92k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                                                 Py_NewRef(key), Py_NewRef(value));
  ------------------
  |  |  550|  3.92k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  3.92k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.92k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2897|  3.92k|}
dictobject.c:insert_to_emptydict:
 2092|  2.00k|{
 2093|  2.00k|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (2093:5): [True: 2.00k, False: 0]
  ------------------
 2094|  2.00k|    assert(mp->ma_keys == Py_EMPTY_KEYS);
  ------------------
  |  Branch (2094:5): [True: 2.00k, False: 0]
  ------------------
 2095|       |
 2096|  2.00k|    int unicode = PyUnicode_CheckExact(key);
  ------------------
  |  |  104|  2.00k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  2.00k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.00k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.00k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2097|  2.00k|    PyDictKeysObject *newkeys = new_keys_object(PyDict_LOG_MINSIZE, unicode);
  ------------------
  |  |  115|  2.00k|#define PyDict_LOG_MINSIZE 3
  ------------------
 2098|  2.00k|    if (newkeys == NULL) {
  ------------------
  |  Branch (2098:9): [True: 0, False: 2.00k]
  ------------------
 2099|      0|        Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2100|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2101|      0|        return -1;
 2102|      0|    }
 2103|  2.00k|    _PyDict_NotifyEvent(PyDict_EVENT_ADDED, mp, key, value);
 2104|       |
 2105|       |    /* We don't decref Py_EMPTY_KEYS here because it is immortal. */
 2106|  2.00k|    assert(mp->ma_values == NULL);
  ------------------
  |  Branch (2106:5): [True: 2.00k, False: 0]
  ------------------
 2107|       |
 2108|  2.00k|    size_t hashpos = (size_t)hash & (PyDict_MINSIZE-1);
  ------------------
  |  |  116|  2.00k|#define PyDict_MINSIZE 8
  ------------------
 2109|  2.00k|    dictkeys_set_index(newkeys, hashpos, 0);
 2110|  2.00k|    if (unicode) {
  ------------------
  |  Branch (2110:9): [True: 1.80k, False: 198]
  ------------------
 2111|  1.80k|        PyDictUnicodeEntry *ep = DK_UNICODE_ENTRIES(newkeys);
 2112|  1.80k|        ep->me_key = key;
 2113|  1.80k|        STORE_VALUE(ep, value);
  ------------------
  |  |  331|  1.80k|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  164|  1.80k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2114|  1.80k|    }
 2115|    198|    else {
 2116|    198|        PyDictKeyEntry *ep = DK_ENTRIES(newkeys);
 2117|    198|        ep->me_key = key;
 2118|    198|        ep->me_hash = hash;
 2119|    198|        STORE_VALUE(ep, value);
  ------------------
  |  |  331|    198|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  164|    198|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2120|    198|    }
 2121|  2.00k|    STORE_USED(mp, mp->ma_used + 1);
  ------------------
  |  |  336|  2.00k|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  194|  2.00k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2122|  2.00k|    newkeys->dk_usable--;
 2123|  2.00k|    newkeys->dk_nentries++;
 2124|       |    // We store the keys last so no one can see them in a partially inconsistent
 2125|       |    // state so that we don't need to switch the keys to being shared yet for
 2126|       |    // the case where we're inserting from the non-owner thread.  We don't use
 2127|       |    // set_keys here because the transition from empty to non-empty is safe
 2128|       |    // as the empty keys will never be freed.
 2129|  2.00k|    FT_ATOMIC_STORE_PTR_RELEASE(mp->ma_keys, newkeys);
  ------------------
  |  |  164|  2.00k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 2130|  2.00k|    return 0;
 2131|  2.00k|}
dictobject.c:dictkeys_set_index:
  553|  75.9k|{
  554|  75.9k|    int log2size = DK_LOG_SIZE(keys);
  ------------------
  |  |  272|  75.9k|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  ------------------
  |  |  |  |  302|  75.9k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  555|       |
  556|  75.9k|    assert(ix >= DKIX_DUMMY);
  ------------------
  |  Branch (556:5): [True: 75.9k, False: 0]
  ------------------
  557|  75.9k|    assert(keys->dk_version == 0);
  ------------------
  |  Branch (557:5): [True: 75.9k, False: 0]
  ------------------
  558|       |
  559|  75.9k|    if (log2size < 8) {
  ------------------
  |  Branch (559:9): [True: 40.4k, False: 35.5k]
  ------------------
  560|  40.4k|        assert(ix <= 0x7f);
  ------------------
  |  Branch (560:9): [True: 40.4k, False: 0]
  ------------------
  561|  40.4k|        STORE_INDEX(keys, 8, i, ix);
  ------------------
  |  |  272|  40.4k|#define STORE_INDEX(keys, size, idx, value) ((int##size##_t*)(keys->dk_indices))[idx] = (int##size##_t)value
  ------------------
  562|  40.4k|    }
  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.9k|}
dictobject.c:insertdict:
 2021|  20.3k|{
 2022|  20.3k|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (2022:5): [True: 20.3k, False: 0]
  ------------------
 2023|       |
 2024|  20.3k|    PyObject *old_value = NULL;
 2025|  20.3k|    Py_ssize_t ix;
 2026|       |
 2027|  20.3k|    if (_PyDict_HasSplitTable(mp) && PyUnicode_CheckExact(key)) {
  ------------------
  |  |   56|  40.7k|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (56:34): [True: 185, False: 20.1k]
  |  |  ------------------
  ------------------
                  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2028|    185|        ix = insert_split_key(mp->ma_keys, key, hash);
 2029|    185|        if (ix != DKIX_EMPTY) {
  ------------------
  |  |  185|    185|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (2029:13): [True: 185, False: 0]
  ------------------
 2030|    185|            _PyDict_InsertSplitValue(mp, key, value, ix);
 2031|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2032|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2033|    185|            return 0;
 2034|    185|        }
 2035|       |        // No space in shared keys. Go to insert_combined_dict() below.
 2036|    185|    }
 2037|  20.1k|    else {
 2038|  20.1k|        ix = _Py_dict_lookup(mp, key, hash, &old_value);
 2039|  20.1k|        if (ix == DKIX_ERROR)
  ------------------
  |  |  187|  20.1k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (2039:13): [True: 0, False: 20.1k]
  ------------------
 2040|      0|            goto Fail;
 2041|  20.1k|    }
 2042|       |
 2043|  20.1k|    if (old_value == NULL) {
  ------------------
  |  Branch (2043:9): [True: 18.8k, False: 1.36k]
  ------------------
 2044|       |        // insert_combined_dict() will convert from non DICT_KEYS_GENERAL table
 2045|       |        // into DICT_KEYS_GENERAL table if key is not Unicode.
 2046|       |        // We don't convert it before _Py_dict_lookup because non-Unicode key
 2047|       |        // may change generic table into Unicode table.
 2048|       |        //
 2049|       |        // NOTE: ix may not be DKIX_EMPTY because split table may have key
 2050|       |        // without value.
 2051|  18.8k|        if (insert_combined_dict(mp, hash, key, value) < 0) {
  ------------------
  |  Branch (2051:13): [True: 0, False: 18.8k]
  ------------------
 2052|      0|            goto Fail;
 2053|      0|        }
 2054|  18.8k|        STORE_USED(mp, mp->ma_used + 1);
  ------------------
  |  |  336|  18.8k|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  194|  18.8k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2055|  18.8k|        ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|  18.8k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (2055:9): [True: 18.8k, False: 0]
  ------------------
 2056|  18.8k|        return 0;
 2057|  18.8k|    }
 2058|       |
 2059|  1.36k|    if (old_value != value) {
  ------------------
  |  Branch (2059:9): [True: 1.09k, False: 272]
  ------------------
 2060|  1.09k|        _PyDict_NotifyEvent(PyDict_EVENT_MODIFIED, mp, key, value);
 2061|  1.09k|        assert(old_value != NULL);
  ------------------
  |  Branch (2061:9): [True: 1.09k, False: 0]
  ------------------
 2062|  1.09k|        if (DK_IS_UNICODE(mp->ma_keys)) {
  ------------------
  |  |  294|  1.09k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (294:27): [True: 1.08k, False: 12]
  |  |  ------------------
  ------------------
 2063|  1.08k|            if (_PyDict_HasSplitTable(mp)) {
  ------------------
  |  |   56|  1.08k|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (56:34): [True: 0, False: 1.08k]
  |  |  ------------------
  ------------------
 2064|      0|                STORE_SPLIT_VALUE(mp, ix, value);
  ------------------
  |  |  332|      0|#define STORE_SPLIT_VALUE(mp, idx, value) FT_ATOMIC_STORE_PTR_RELEASE(mp->ma_values->values[idx], value)
  |  |  ------------------
  |  |  |  |  164|      0|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2065|      0|            }
 2066|  1.08k|            else {
 2067|  1.08k|                PyDictUnicodeEntry *ep = &DK_UNICODE_ENTRIES(mp->ma_keys)[ix];
 2068|  1.08k|                STORE_VALUE(ep, value);
  ------------------
  |  |  331|  1.08k|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  164|  1.08k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2069|  1.08k|            }
 2070|  1.08k|        }
 2071|     12|        else {
 2072|     12|            PyDictKeyEntry *ep = &DK_ENTRIES(mp->ma_keys)[ix];
 2073|     12|            STORE_VALUE(ep, value);
  ------------------
  |  |  331|     12|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  164|     12|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2074|     12|        }
 2075|  1.09k|    }
 2076|  1.36k|    Py_XDECREF(old_value); /* which **CAN** re-enter (see issue #22653) */
  ------------------
  |  |  524|  1.36k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.36k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.36k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2077|  1.36k|    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|  1.36k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (2077:5): [True: 1.36k, False: 0]
  ------------------
 2078|  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2079|  1.36k|    return 0;
 2080|       |
 2081|      0|Fail:
 2082|      0|    Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2083|      0|    Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2084|      0|    return -1;
 2085|  1.36k|}
dictobject.c:insert_combined_dict:
 1901|  31.3k|{
 1902|       |    // gh-140551: If dict was cleared in _Py_dict_lookup,
 1903|       |    // we have to resize one more time to force general key kind.
 1904|  31.3k|    if (DK_IS_UNICODE(mp->ma_keys) && !PyUnicode_CheckExact(key)) {
  ------------------
  |  |  294|  62.7k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (294:27): [True: 29.7k, False: 1.66k]
  |  |  ------------------
  ------------------
                  if (DK_IS_UNICODE(mp->ma_keys) && !PyUnicode_CheckExact(key)) {
  ------------------
  |  |  104|  29.7k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  29.7k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  29.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  29.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1904:39): [True: 0, False: 29.7k]
  ------------------
 1905|      0|        if (insertion_resize(mp, 0) < 0)
  ------------------
  |  Branch (1905:13): [True: 0, False: 0]
  ------------------
 1906|      0|            return -1;
 1907|      0|        assert(mp->ma_keys->dk_kind == DICT_KEYS_GENERAL);
  ------------------
  |  Branch (1907:9): [True: 0, False: 0]
  ------------------
 1908|      0|    }
 1909|       |
 1910|  31.3k|    if (mp->ma_keys->dk_usable <= 0) {
  ------------------
  |  Branch (1910:9): [True: 1.89k, False: 29.4k]
  ------------------
 1911|       |        /* Need to resize. */
 1912|  1.89k|        if (insertion_resize(mp, 1) < 0) {
  ------------------
  |  Branch (1912:13): [True: 0, False: 1.89k]
  ------------------
 1913|      0|            return -1;
 1914|      0|        }
 1915|  1.89k|    }
 1916|       |
 1917|  31.3k|    _PyDict_NotifyEvent(PyDict_EVENT_ADDED, mp, key, value);
 1918|  31.3k|    FT_ATOMIC_STORE_UINT32_RELAXED(mp->ma_keys->dk_version, 0);
  ------------------
  |  |  172|  31.3k|#define FT_ATOMIC_STORE_UINT32_RELAXED(value, new_value) value = new_value
  ------------------
 1919|       |
 1920|  31.3k|    Py_ssize_t hashpos = find_empty_slot(mp->ma_keys, hash);
 1921|  31.3k|    dictkeys_set_index(mp->ma_keys, hashpos, mp->ma_keys->dk_nentries);
 1922|       |
 1923|  31.3k|    if (DK_IS_UNICODE(mp->ma_keys)) {
  ------------------
  |  |  294|  31.3k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (294:27): [True: 29.7k, False: 1.66k]
  |  |  ------------------
  ------------------
 1924|  29.7k|        PyDictUnicodeEntry *ep;
 1925|  29.7k|        ep = &DK_UNICODE_ENTRIES(mp->ma_keys)[mp->ma_keys->dk_nentries];
 1926|  29.7k|        STORE_KEY(ep, key);
  ------------------
  |  |  330|  29.7k|#define STORE_KEY(ep, key) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_key, key)
  |  |  ------------------
  |  |  |  |  164|  29.7k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1927|  29.7k|        STORE_VALUE(ep, value);
  ------------------
  |  |  331|  29.7k|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  164|  29.7k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1928|  29.7k|    }
 1929|  1.66k|    else {
 1930|  1.66k|        PyDictKeyEntry *ep;
 1931|  1.66k|        ep = &DK_ENTRIES(mp->ma_keys)[mp->ma_keys->dk_nentries];
 1932|  1.66k|        STORE_KEY(ep, key);
  ------------------
  |  |  330|  1.66k|#define STORE_KEY(ep, key) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_key, key)
  |  |  ------------------
  |  |  |  |  164|  1.66k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1933|  1.66k|        STORE_VALUE(ep, value);
  ------------------
  |  |  331|  1.66k|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  164|  1.66k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1934|  1.66k|        STORE_HASH(ep, hash);
  ------------------
  |  |  333|  1.66k|#define STORE_HASH(ep, hash) FT_ATOMIC_STORE_SSIZE_RELAXED((ep)->me_hash, hash)
  |  |  ------------------
  |  |  |  |  194|  1.66k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1935|  1.66k|    }
 1936|  31.3k|    STORE_KEYS_USABLE(mp->ma_keys, mp->ma_keys->dk_usable - 1);
  ------------------
  |  |  334|  31.3k|#define STORE_KEYS_USABLE(keys, usable) FT_ATOMIC_STORE_SSIZE_RELAXED(keys->dk_usable, usable)
  |  |  ------------------
  |  |  |  |  194|  31.3k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1937|  31.3k|    STORE_KEYS_NENTRIES(mp->ma_keys, mp->ma_keys->dk_nentries + 1);
  ------------------
  |  |  335|  31.3k|#define STORE_KEYS_NENTRIES(keys, nentries) FT_ATOMIC_STORE_SSIZE_RELAXED(keys->dk_nentries, nentries)
  |  |  ------------------
  |  |  |  |  194|  31.3k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1938|  31.3k|    assert(mp->ma_keys->dk_usable >= 0);
  ------------------
  |  Branch (1938:5): [True: 31.3k, False: 0]
  ------------------
 1939|  31.3k|    return 0;
 1940|  31.3k|}
dictobject.c:insertion_resize:
 1894|  1.89k|{
 1895|  1.89k|    return dictresize(mp, calculate_log2_keysize(GROWTH_RATE(mp)), unicode);
  ------------------
  |  |  637|  1.89k|#define GROWTH_RATE(d) ((d)->ma_used*3)
  ------------------
 1896|  1.89k|}
dictobject.c:dictresize:
 2194|  1.89k|{
 2195|  1.89k|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (2195:5): [True: 1.89k, False: 0]
  ------------------
 2196|       |
 2197|  1.89k|    PyDictKeysObject *oldkeys, *newkeys;
 2198|  1.89k|    PyDictValues *oldvalues;
 2199|       |
 2200|  1.89k|    if (log2_newsize >= SIZEOF_SIZE_T*8) {
  ------------------
  |  | 1955|  1.89k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (2200:9): [True: 0, False: 1.89k]
  ------------------
 2201|      0|        PyErr_NoMemory();
 2202|      0|        return -1;
 2203|      0|    }
 2204|  1.89k|    assert(log2_newsize >= PyDict_LOG_MINSIZE);
  ------------------
  |  Branch (2204:5): [True: 1.89k, False: 0]
  ------------------
 2205|       |
 2206|  1.89k|    oldkeys = mp->ma_keys;
 2207|  1.89k|    oldvalues = mp->ma_values;
 2208|       |
 2209|  1.89k|    if (!DK_IS_UNICODE(oldkeys)) {
  ------------------
  |  |  294|  1.89k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  ------------------
  |  Branch (2209:9): [True: 114, False: 1.78k]
  ------------------
 2210|    114|        unicode = 0;
 2211|    114|    }
 2212|       |
 2213|  1.89k|    ensure_shared_on_resize(mp);
 2214|       |    /* NOTE: Current odict checks mp->ma_keys to detect resize happen.
 2215|       |     * So we can't reuse oldkeys even if oldkeys->dk_size == newsize.
 2216|       |     * TODO: Try reusing oldkeys when reimplement odict.
 2217|       |     */
 2218|       |
 2219|       |    /* Allocate a new table. */
 2220|  1.89k|    newkeys = new_keys_object(log2_newsize, unicode);
 2221|  1.89k|    if (newkeys == NULL) {
  ------------------
  |  Branch (2221:9): [True: 0, False: 1.89k]
  ------------------
 2222|      0|        return -1;
 2223|      0|    }
 2224|       |    // New table must be large enough.
 2225|  1.89k|    assert(newkeys->dk_usable >= mp->ma_used);
  ------------------
  |  Branch (2225:5): [True: 1.89k, False: 0]
  ------------------
 2226|       |
 2227|  1.89k|    Py_ssize_t numentries = mp->ma_used;
 2228|       |
 2229|  1.89k|    if (oldvalues != NULL) {
  ------------------
  |  Branch (2229:9): [True: 0, False: 1.89k]
  ------------------
 2230|      0|        LOCK_KEYS(oldkeys);
 2231|      0|        PyDictUnicodeEntry *oldentries = DK_UNICODE_ENTRIES(oldkeys);
 2232|       |        /* Convert split table into new combined table.
 2233|       |         * We must incref keys; we can transfer values.
 2234|       |         */
 2235|      0|        if (newkeys->dk_kind == DICT_KEYS_GENERAL) {
  ------------------
  |  Branch (2235:13): [True: 0, False: 0]
  ------------------
 2236|       |            // split -> generic
 2237|      0|            PyDictKeyEntry *newentries = DK_ENTRIES(newkeys);
 2238|       |
 2239|      0|            for (Py_ssize_t i = 0; i < numentries; i++) {
  ------------------
  |  Branch (2239:36): [True: 0, False: 0]
  ------------------
 2240|      0|                int index = get_index_from_order(mp, i);
 2241|      0|                PyDictUnicodeEntry *ep = &oldentries[index];
 2242|      0|                assert(oldvalues->values[index] != NULL);
  ------------------
  |  Branch (2242:17): [True: 0, False: 0]
  ------------------
 2243|      0|                newentries[i].me_key = Py_NewRef(ep->me_key);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2244|      0|                newentries[i].me_hash = unicode_get_hash(ep->me_key);
 2245|      0|                newentries[i].me_value = oldvalues->values[index];
 2246|      0|            }
 2247|      0|            build_indices_generic(newkeys, newentries, numentries);
 2248|      0|        }
 2249|      0|        else { // split -> combined unicode
 2250|      0|            PyDictUnicodeEntry *newentries = DK_UNICODE_ENTRIES(newkeys);
 2251|       |
 2252|      0|            for (Py_ssize_t i = 0; i < numentries; i++) {
  ------------------
  |  Branch (2252:36): [True: 0, False: 0]
  ------------------
 2253|      0|                int index = get_index_from_order(mp, i);
 2254|      0|                PyDictUnicodeEntry *ep = &oldentries[index];
 2255|      0|                assert(oldvalues->values[index] != NULL);
  ------------------
  |  Branch (2255:17): [True: 0, False: 0]
  ------------------
 2256|      0|                newentries[i].me_key = Py_NewRef(ep->me_key);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2257|      0|                newentries[i].me_value = oldvalues->values[index];
 2258|      0|            }
 2259|      0|            build_indices_unicode(newkeys, newentries, numentries);
 2260|      0|        }
 2261|      0|        UNLOCK_KEYS(oldkeys);
 2262|      0|        set_keys(mp, newkeys);
 2263|      0|        dictkeys_decref(oldkeys, IS_DICT_SHARED(mp));
  ------------------
  |  |  269|      0|#define IS_DICT_SHARED(mp) (false)
  ------------------
 2264|      0|        set_values(mp, NULL);
 2265|      0|        if (oldvalues->embedded) {
  ------------------
  |  Branch (2265:13): [True: 0, False: 0]
  ------------------
 2266|      0|            assert(oldvalues->embedded == 1);
  ------------------
  |  Branch (2266:13): [True: 0, False: 0]
  ------------------
 2267|      0|            assert(oldvalues->valid == 1);
  ------------------
  |  Branch (2267:13): [True: 0, False: 0]
  ------------------
 2268|      0|            invalidate_and_clear_inline_values(oldvalues);
 2269|      0|        }
 2270|      0|        else {
 2271|      0|            free_values(oldvalues, IS_DICT_SHARED(mp));
  ------------------
  |  |  269|      0|#define IS_DICT_SHARED(mp) (false)
  ------------------
 2272|      0|        }
 2273|      0|    }
 2274|  1.89k|    else {  // oldkeys is combined.
 2275|  1.89k|        if (oldkeys->dk_kind == DICT_KEYS_GENERAL) {
  ------------------
  |  Branch (2275:13): [True: 114, False: 1.78k]
  ------------------
 2276|       |            // generic -> generic
 2277|    114|            assert(newkeys->dk_kind == DICT_KEYS_GENERAL);
  ------------------
  |  Branch (2277:13): [True: 114, False: 0]
  ------------------
 2278|    114|            PyDictKeyEntry *oldentries = DK_ENTRIES(oldkeys);
 2279|    114|            PyDictKeyEntry *newentries = DK_ENTRIES(newkeys);
 2280|    114|            if (oldkeys->dk_nentries == numentries) {
  ------------------
  |  Branch (2280:17): [True: 93, False: 21]
  ------------------
 2281|     93|                memcpy(newentries, oldentries, numentries * sizeof(PyDictKeyEntry));
 2282|     93|            }
 2283|     21|            else {
 2284|     21|                PyDictKeyEntry *ep = oldentries;
 2285|     21|                for (Py_ssize_t i = 0; i < numentries; i++) {
  ------------------
  |  Branch (2285:40): [True: 0, False: 21]
  ------------------
 2286|      0|                    while (ep->me_value == NULL)
  ------------------
  |  Branch (2286:28): [True: 0, False: 0]
  ------------------
 2287|      0|                        ep++;
 2288|      0|                    newentries[i] = *ep++;
 2289|      0|                }
 2290|     21|            }
 2291|    114|            build_indices_generic(newkeys, newentries, numentries);
 2292|    114|        }
 2293|  1.78k|        else {  // oldkeys is combined unicode
 2294|  1.78k|            PyDictUnicodeEntry *oldentries = DK_UNICODE_ENTRIES(oldkeys);
 2295|  1.78k|            if (unicode) { // combined unicode -> combined unicode
  ------------------
  |  Branch (2295:17): [True: 1.78k, False: 0]
  ------------------
 2296|  1.78k|                PyDictUnicodeEntry *newentries = DK_UNICODE_ENTRIES(newkeys);
 2297|  1.78k|                if (oldkeys->dk_nentries == numentries && mp->ma_keys->dk_kind == DICT_KEYS_UNICODE) {
  ------------------
  |  Branch (2297:21): [True: 1.66k, False: 124]
  |  Branch (2297:59): [True: 1.66k, False: 0]
  ------------------
 2298|  1.66k|                    memcpy(newentries, oldentries, numentries * sizeof(PyDictUnicodeEntry));
 2299|  1.66k|                }
 2300|    124|                else {
 2301|    124|                    PyDictUnicodeEntry *ep = oldentries;
 2302|  1.25k|                    for (Py_ssize_t i = 0; i < numentries; i++) {
  ------------------
  |  Branch (2302:44): [True: 1.12k, False: 124]
  ------------------
 2303|  1.37k|                        while (ep->me_value == NULL)
  ------------------
  |  Branch (2303:32): [True: 251, False: 1.12k]
  ------------------
 2304|    251|                            ep++;
 2305|  1.12k|                        newentries[i] = *ep++;
 2306|  1.12k|                    }
 2307|    124|                }
 2308|  1.78k|                build_indices_unicode(newkeys, newentries, numentries);
 2309|  1.78k|            }
 2310|      0|            else { // combined unicode -> generic
 2311|      0|                PyDictKeyEntry *newentries = DK_ENTRIES(newkeys);
 2312|      0|                PyDictUnicodeEntry *ep = oldentries;
 2313|      0|                for (Py_ssize_t i = 0; i < numentries; i++) {
  ------------------
  |  Branch (2313:40): [True: 0, False: 0]
  ------------------
 2314|      0|                    while (ep->me_value == NULL)
  ------------------
  |  Branch (2314:28): [True: 0, False: 0]
  ------------------
 2315|      0|                        ep++;
 2316|      0|                    newentries[i].me_key = ep->me_key;
 2317|      0|                    newentries[i].me_hash = unicode_get_hash(ep->me_key);
 2318|      0|                    newentries[i].me_value = ep->me_value;
 2319|      0|                    ep++;
 2320|      0|                }
 2321|      0|                build_indices_generic(newkeys, newentries, numentries);
 2322|      0|            }
 2323|  1.78k|        }
 2324|       |
 2325|  1.89k|        set_keys(mp, newkeys);
 2326|       |
 2327|  1.89k|        if (oldkeys != Py_EMPTY_KEYS) {
  ------------------
  |  |  660|  1.89k|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
  |  Branch (2327:13): [True: 1.89k, False: 0]
  ------------------
 2328|       |#ifdef Py_REF_DEBUG
 2329|       |            _Py_DecRefTotal(_PyThreadState_GET());
 2330|       |#endif
 2331|  1.89k|            assert(oldkeys->dk_kind != DICT_KEYS_SPLIT);
  ------------------
  |  Branch (2331:13): [True: 1.89k, False: 0]
  ------------------
 2332|  1.89k|            assert(oldkeys->dk_refcnt == 1);
  ------------------
  |  Branch (2332:13): [True: 1.89k, False: 0]
  ------------------
 2333|  1.89k|            free_keys_object(oldkeys, IS_DICT_SHARED(mp));
  ------------------
  |  |  269|  1.89k|#define IS_DICT_SHARED(mp) (false)
  ------------------
 2334|  1.89k|        }
 2335|  1.89k|    }
 2336|       |
 2337|  1.89k|    STORE_KEYS_USABLE(mp->ma_keys, mp->ma_keys->dk_usable - numentries);
  ------------------
  |  |  334|  1.89k|#define STORE_KEYS_USABLE(keys, usable) FT_ATOMIC_STORE_SSIZE_RELAXED(keys->dk_usable, usable)
  |  |  ------------------
  |  |  |  |  194|  1.89k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2338|  1.89k|    STORE_KEYS_NENTRIES(mp->ma_keys, numentries);
  ------------------
  |  |  335|  1.89k|#define STORE_KEYS_NENTRIES(keys, nentries) FT_ATOMIC_STORE_SSIZE_RELAXED(keys->dk_nentries, nentries)
  |  |  ------------------
  |  |  |  |  194|  1.89k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2339|  1.89k|    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|  1.89k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (2339:5): [True: 1.89k, False: 0]
  ------------------
 2340|  1.89k|    return 0;
 2341|  1.89k|}
dictobject.c:ensure_shared_on_resize:
 1450|  1.94k|{
 1451|       |#ifdef Py_GIL_DISABLED
 1452|       |    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(mp);
 1453|       |
 1454|       |    if (!_Py_IsOwnedByCurrentThread((PyObject *)mp) && !IS_DICT_SHARED(mp)) {
 1455|       |        // We are writing to the dict from another thread that owns
 1456|       |        // it and we haven't marked it as shared which will ensure
 1457|       |        // that when we re-size ma_keys or ma_values that we will
 1458|       |        // free using QSBR.  We need to lock the dictionary to
 1459|       |        // contend with writes from the owning thread, mark it as
 1460|       |        // shared, and then we can continue with lock-free reads.
 1461|       |        // Technically this is a little heavy handed, we could just
 1462|       |        // free the individual old keys / old-values using qsbr
 1463|       |        SET_DICT_SHARED(mp);
 1464|       |    }
 1465|       |#endif
 1466|  1.94k|}
dictobject.c:build_indices_generic:
 2138|    114|{
 2139|    114|    size_t mask = DK_MASK(keys);
  ------------------
  |  |  467|    114|#define DK_MASK(dk) (DK_SIZE(dk)-1)
  |  |  ------------------
  |  |  |  |  274|    114|#define DK_SIZE(dk)      (((int64_t)1)<<DK_LOG_SIZE(dk))
  |  |  |  |  ------------------
  |  |  |  |  |  |  272|    114|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  302|    114|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2140|  1.95k|    for (Py_ssize_t ix = 0; ix != n; ix++, ep++) {
  ------------------
  |  Branch (2140:29): [True: 1.83k, False: 114]
  ------------------
 2141|  1.83k|        Py_hash_t hash = ep->me_hash;
 2142|  1.83k|        size_t i = hash & mask;
 2143|  2.78k|        for (size_t perturb = hash; dictkeys_get_index(keys, i) != DKIX_EMPTY;) {
  ------------------
  |  |  185|  2.78k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (2143:37): [True: 947, False: 1.83k]
  ------------------
 2144|    947|            perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  338|    947|#define PERTURB_SHIFT 5
  ------------------
 2145|    947|            i = mask & (i*5 + perturb + 1);
 2146|    947|        }
 2147|  1.83k|        dictkeys_set_index(keys, i, ix);
 2148|  1.83k|    }
 2149|    114|}
dictobject.c:build_indices_unicode:
 2153|  1.78k|{
 2154|  1.78k|    size_t mask = DK_MASK(keys);
  ------------------
  |  |  467|  1.78k|#define DK_MASK(dk) (DK_SIZE(dk)-1)
  |  |  ------------------
  |  |  |  |  274|  1.78k|#define DK_SIZE(dk)      (((int64_t)1)<<DK_LOG_SIZE(dk))
  |  |  |  |  ------------------
  |  |  |  |  |  |  272|  1.78k|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  302|  1.78k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2155|  41.3k|    for (Py_ssize_t ix = 0; ix != n; ix++, ep++) {
  ------------------
  |  Branch (2155:29): [True: 39.5k, False: 1.78k]
  ------------------
 2156|  39.5k|        Py_hash_t hash = unicode_get_hash(ep->me_key);
 2157|  39.5k|        assert(hash != -1);
  ------------------
  |  Branch (2157:9): [True: 39.5k, False: 0]
  ------------------
 2158|  39.5k|        size_t i = hash & mask;
 2159|  47.6k|        for (size_t perturb = hash; dictkeys_get_index(keys, i) != DKIX_EMPTY;) {
  ------------------
  |  |  185|  47.6k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (2159:37): [True: 8.10k, False: 39.5k]
  ------------------
 2160|  8.10k|            perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  338|  8.10k|#define PERTURB_SHIFT 5
  ------------------
 2161|  8.10k|            i = mask & (i*5 + perturb + 1);
 2162|  8.10k|        }
 2163|  39.5k|        dictkeys_set_index(keys, i, ix);
 2164|  39.5k|    }
 2165|  1.78k|}
dictobject.c:free_keys_object:
  876|  3.07k|{
  877|  3.07k|    void *ptr = keys;
  878|       |#ifdef Py_GIL_DISABLED
  879|       |    size_t size = _PyDict_KeysSize(keys);
  880|       |#endif
  881|  3.07k|    if (keys->dk_kind == DICT_KEYS_SPLIT) {
  ------------------
  |  Branch (881:9): [True: 2, False: 3.07k]
  ------------------
  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|  3.07k|    if (DK_LOG_SIZE(keys) == PyDict_LOG_MINSIZE && keys->dk_kind == DICT_KEYS_UNICODE) {
  ------------------
  |  |  272|  3.07k|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  ------------------
  |  |  |  |  302|  3.07k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
                  if (DK_LOG_SIZE(keys) == PyDict_LOG_MINSIZE && keys->dk_kind == DICT_KEYS_UNICODE) {
  ------------------
  |  |  115|  6.15k|#define PyDict_LOG_MINSIZE 3
  ------------------
  |  Branch (893:9): [True: 1.58k, False: 1.49k]
  |  Branch (893:52): [True: 1.51k, False: 66]
  ------------------
  894|  1.51k|        _Py_FREELIST_FREE(dictkeys, keys, PyMem_Free);
  ------------------
  |  |   35|  1.51k|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  1.51k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.51k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  1.51k|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   17|  1.51k|#  define Py_dictkeys_MAXFREELIST 80
  |  |  ------------------
  ------------------
  895|  1.51k|    }
  896|  1.56k|    else {
  897|  1.56k|        PyMem_Free(ptr);
  898|  1.56k|    }
  899|  3.07k|}
dictobject.c:find_empty_slot:
 1878|  31.7k|{
 1879|  31.7k|    assert(keys != NULL);
  ------------------
  |  Branch (1879:5): [True: 31.7k, False: 0]
  ------------------
 1880|       |
 1881|  31.7k|    const size_t mask = DK_MASK(keys);
  ------------------
  |  |  467|  31.7k|#define DK_MASK(dk) (DK_SIZE(dk)-1)
  |  |  ------------------
  |  |  |  |  274|  31.7k|#define DK_SIZE(dk)      (((int64_t)1)<<DK_LOG_SIZE(dk))
  |  |  |  |  ------------------
  |  |  |  |  |  |  272|  31.7k|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  302|  31.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1882|  31.7k|    size_t i = hash & mask;
 1883|  31.7k|    Py_ssize_t ix = dictkeys_get_index(keys, i);
 1884|  59.0k|    for (size_t perturb = hash; is_unusable_slot(ix);) {
  ------------------
  |  Branch (1884:33): [True: 27.2k, False: 31.7k]
  ------------------
 1885|  27.2k|        perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  338|  27.2k|#define PERTURB_SHIFT 5
  ------------------
 1886|  27.2k|        i = (i*5 + perturb + 1) & mask;
 1887|  27.2k|        ix = dictkeys_get_index(keys, i);
 1888|  27.2k|    }
 1889|  31.7k|    return i;
 1890|  31.7k|}
dictobject.c:is_unusable_slot:
 1865|  59.0k|{
 1866|       |#ifdef Py_GIL_DISABLED
 1867|       |    return ix >= 0 || ix == DKIX_DUMMY;
 1868|       |#else
 1869|  59.0k|    return ix >= 0;
 1870|  59.0k|#endif
 1871|  59.0k|}
dictobject.c:delitem_common:
 2957|    931|{
 2958|    931|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (2958:5): [True: 931, False: 0]
  ------------------
 2959|       |
 2960|    931|    PyObject *old_key;
 2961|       |
 2962|    931|    Py_ssize_t hashpos = lookdict_index(mp->ma_keys, hash, ix);
 2963|    931|    assert(hashpos >= 0);
  ------------------
  |  Branch (2963:5): [True: 931, False: 0]
  ------------------
 2964|       |
 2965|    931|    STORE_USED(mp, mp->ma_used - 1);
  ------------------
  |  |  336|    931|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  194|    931|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2966|    931|    if (_PyDict_HasSplitTable(mp)) {
  ------------------
  |  |   56|    931|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (56:34): [True: 0, False: 931]
  |  |  ------------------
  ------------------
 2967|      0|        assert(old_value == mp->ma_values->values[ix]);
  ------------------
  |  Branch (2967:9): [True: 0, False: 0]
  ------------------
 2968|      0|        STORE_SPLIT_VALUE(mp, ix, NULL);
  ------------------
  |  |  332|      0|#define STORE_SPLIT_VALUE(mp, idx, value) FT_ATOMIC_STORE_PTR_RELEASE(mp->ma_values->values[idx], value)
  |  |  ------------------
  |  |  |  |  164|      0|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2969|      0|        assert(ix < SHARED_KEYS_MAX_SIZE);
  ------------------
  |  Branch (2969:9): [True: 0, False: 0]
  ------------------
 2970|       |        /* Update order */
 2971|      0|        delete_index_from_values(mp->ma_values, ix);
 2972|      0|        ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|      0|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (2972:9): [True: 0, False: 0]
  ------------------
 2973|      0|    }
 2974|    931|    else {
 2975|    931|        FT_ATOMIC_STORE_UINT32_RELAXED(mp->ma_keys->dk_version, 0);
  ------------------
  |  |  172|    931|#define FT_ATOMIC_STORE_UINT32_RELAXED(value, new_value) value = new_value
  ------------------
 2976|    931|        dictkeys_set_index(mp->ma_keys, hashpos, DKIX_DUMMY);
  ------------------
  |  |  186|    931|#define DKIX_DUMMY (-2)  /* Used internally */
  ------------------
 2977|    931|        if (DK_IS_UNICODE(mp->ma_keys)) {
  ------------------
  |  |  294|    931|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (294:27): [True: 813, False: 118]
  |  |  ------------------
  ------------------
 2978|    813|            PyDictUnicodeEntry *ep = &DK_UNICODE_ENTRIES(mp->ma_keys)[ix];
 2979|    813|            old_key = ep->me_key;
 2980|    813|            STORE_KEY(ep, NULL);
  ------------------
  |  |  330|    813|#define STORE_KEY(ep, key) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_key, key)
  |  |  ------------------
  |  |  |  |  164|    813|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2981|    813|            STORE_VALUE(ep, NULL);
  ------------------
  |  |  331|    813|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  164|    813|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2982|    813|        }
 2983|    118|        else {
 2984|    118|            PyDictKeyEntry *ep = &DK_ENTRIES(mp->ma_keys)[ix];
 2985|    118|            old_key = ep->me_key;
 2986|    118|            STORE_KEY(ep, NULL);
  ------------------
  |  |  330|    118|#define STORE_KEY(ep, key) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_key, key)
  |  |  ------------------
  |  |  |  |  164|    118|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2987|    118|            STORE_VALUE(ep, NULL);
  ------------------
  |  |  331|    118|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  164|    118|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2988|    118|            STORE_HASH(ep, 0);
  ------------------
  |  |  333|    118|#define STORE_HASH(ep, hash) FT_ATOMIC_STORE_SSIZE_RELAXED((ep)->me_hash, hash)
  |  |  ------------------
  |  |  |  |  194|    118|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2989|    118|        }
 2990|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2991|    931|    }
 2992|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2993|       |
 2994|       |    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|    931|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (2994:5): [True: 931, False: 0]
  ------------------
 2995|    931|}
dictobject.c:lookdict_index:
 1093|    931|{
 1094|    931|    size_t mask = DK_MASK(k);
  ------------------
  |  |  467|    931|#define DK_MASK(dk) (DK_SIZE(dk)-1)
  |  |  ------------------
  |  |  |  |  274|    931|#define DK_SIZE(dk)      (((int64_t)1)<<DK_LOG_SIZE(dk))
  |  |  |  |  ------------------
  |  |  |  |  |  |  272|    931|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  302|    931|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1095|    931|    size_t perturb = (size_t)hash;
 1096|    931|    size_t i = (size_t)hash & mask;
 1097|       |
 1098|  1.28k|    for (;;) {
 1099|  1.28k|        Py_ssize_t ix = dictkeys_get_index(k, i);
 1100|  1.28k|        if (ix == index) {
  ------------------
  |  Branch (1100:13): [True: 931, False: 354]
  ------------------
 1101|    931|            return i;
 1102|    931|        }
 1103|    354|        if (ix == DKIX_EMPTY) {
  ------------------
  |  |  185|    354|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (1103:13): [True: 0, False: 354]
  ------------------
 1104|      0|            return DKIX_EMPTY;
  ------------------
  |  |  185|      0|#define DKIX_EMPTY (-1)
  ------------------
 1105|      0|        }
 1106|    354|        perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  338|    354|#define PERTURB_SHIFT 5
  ------------------
 1107|    354|        i = mask & (i*5 + perturb + 1);
 1108|    354|    }
 1109|      0|    Py_UNREACHABLE();
  ------------------
  |  |  289|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1110|    931|}
dictobject.c:delitemif_lock_held:
 3057|    112|{
 3058|    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 (3058:24): [True: 112, False: 0]
  |  Branch (3058:24): [True: 0, False: 0]
  ------------------
 3059|    112|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (3059:5): [True: 112, False: 0]
  ------------------
 3060|       |
 3061|    112|    Py_ssize_t ix;
 3062|    112|    Py_hash_t hash;
 3063|    112|    PyObject *old_value;
 3064|    112|    int res;
 3065|       |
 3066|    112|    assert(key);
  ------------------
  |  Branch (3066:5): [True: 112, False: 0]
  ------------------
 3067|    112|    hash = PyObject_Hash(key);
 3068|    112|    if (hash == -1)
  ------------------
  |  Branch (3068:9): [True: 0, False: 112]
  ------------------
 3069|      0|        return -1;
 3070|    112|    ix = _Py_dict_lookup(mp, key, hash, &old_value);
 3071|    112|    if (ix == DKIX_ERROR) {
  ------------------
  |  |  187|    112|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (3071:9): [True: 0, False: 112]
  ------------------
 3072|      0|        return -1;
 3073|      0|    }
 3074|    112|    if (ix == DKIX_EMPTY || old_value == NULL) {
  ------------------
  |  |  185|    224|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (3074:9): [True: 0, False: 112]
  |  Branch (3074:29): [True: 0, False: 112]
  ------------------
 3075|      0|        return 0;
 3076|      0|    }
 3077|       |
 3078|    112|    res = predicate(old_value, arg);
 3079|    112|    if (res == -1)
  ------------------
  |  Branch (3079:9): [True: 0, False: 112]
  ------------------
 3080|      0|        return -1;
 3081|       |
 3082|    112|    if (res > 0) {
  ------------------
  |  Branch (3082:9): [True: 112, False: 0]
  ------------------
 3083|    112|        _PyDict_NotifyEvent(PyDict_EVENT_DELETED, mp, key, NULL);
 3084|    112|        delitem_common(mp, hash, ix, old_value);
 3085|    112|        return 1;
 3086|    112|    } else {
 3087|      0|        return 0;
 3088|      0|    }
 3089|    112|}
dictobject.c:clear_lock_held:
 3125|     16|{
 3126|     16|    if (!PyDict_Check(op)) {
  ------------------
  |  |   18|     16|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     16|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3126:9): [True: 0, False: 16]
  ------------------
 3127|      0|        return;
 3128|      0|    }
 3129|     16|    PyDictObject *mp = (PyDictObject *)op;
 3130|     16|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (3130:5): [True: 16, False: 0]
  ------------------
 3131|       |
 3132|     16|    PyDictKeysObject *oldkeys;
 3133|     16|    PyDictValues *oldvalues;
 3134|     16|    Py_ssize_t i, n;
 3135|       |
 3136|     16|    oldkeys = mp->ma_keys;
 3137|     16|    oldvalues = mp->ma_values;
 3138|     16|    if (oldkeys == Py_EMPTY_KEYS) {
  ------------------
  |  |  660|     16|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
  |  Branch (3138:9): [True: 6, False: 10]
  ------------------
 3139|      6|        return;
 3140|      6|    }
 3141|       |    /* Empty the dict... */
 3142|     10|    _PyDict_NotifyEvent(PyDict_EVENT_CLEARED, mp, NULL, NULL);
 3143|       |    // We don't inc ref empty keys because they're immortal
 3144|     10|    ensure_shared_on_resize(mp);
 3145|     10|    STORE_USED(mp, 0);
  ------------------
  |  |  336|     10|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  194|     10|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 3146|     10|    if (oldvalues == NULL) {
  ------------------
  |  Branch (3146:9): [True: 10, False: 0]
  ------------------
 3147|     10|        set_keys(mp, Py_EMPTY_KEYS);
  ------------------
  |  |  660|     10|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
 3148|     10|        assert(oldkeys->dk_refcnt == 1);
  ------------------
  |  Branch (3148:9): [True: 10, False: 0]
  ------------------
 3149|     10|        dictkeys_decref(oldkeys, IS_DICT_SHARED(mp));
  ------------------
  |  |  269|     10|#define IS_DICT_SHARED(mp) (false)
  ------------------
 3150|     10|    }
 3151|      0|    else if (oldvalues->embedded) {
  ------------------
  |  Branch (3151:14): [True: 0, False: 0]
  ------------------
 3152|      0|        clear_embedded_values(oldvalues, oldkeys->dk_nentries);
 3153|      0|    }
 3154|      0|    else {
 3155|      0|        set_values(mp, NULL);
 3156|      0|        set_keys(mp, Py_EMPTY_KEYS);
  ------------------
  |  |  660|      0|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
 3157|      0|        n = oldkeys->dk_nentries;
 3158|      0|        for (i = 0; i < n; i++) {
  ------------------
  |  Branch (3158:21): [True: 0, False: 0]
  ------------------
 3159|      0|            PyObject *tmp = oldvalues->values[i];
 3160|      0|            FT_ATOMIC_STORE_PTR_RELEASE(oldvalues->values[i], NULL);
  ------------------
  |  |  164|      0|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 3161|      0|            Py_XDECREF(tmp);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3162|      0|        }
 3163|      0|        free_values(oldvalues, IS_DICT_SHARED(mp));
  ------------------
  |  |  269|      0|#define IS_DICT_SHARED(mp) (false)
  ------------------
 3164|      0|        dictkeys_decref(oldkeys, IS_DICT_SHARED(mp));
  ------------------
  |  |  269|      0|#define IS_DICT_SHARED(mp) (false)
  ------------------
 3165|      0|    }
 3166|     10|    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|     10|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (3166:5): [True: 10, False: 0]
  ------------------
 3167|     10|}
dictobject.c:pop_lock_held:
 3322|    477|{
 3323|    477|    if (!PyDict_Check(op)) {
  ------------------
  |  |   18|    477|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    477|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3323:9): [True: 0, False: 477]
  ------------------
 3324|      0|        if (result) {
  ------------------
  |  Branch (3324:13): [True: 0, False: 0]
  ------------------
 3325|      0|            *result = NULL;
 3326|      0|        }
 3327|      0|        if (PyFrozenDict_Check(op)) {
  ------------------
  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3328|      0|            frozendict_does_not_support("deletion");
  ------------------
  |  | 2801|      0|    PyErr_SetString(PyExc_TypeError, "frozendict object does " \
  |  | 2802|      0|                    "not support item " WHAT)
  ------------------
 3329|      0|        }
 3330|      0|        else {
 3331|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3332|      0|        }
 3333|      0|        return -1;
 3334|      0|    }
 3335|    477|    PyDictObject *dict = (PyDictObject *)op;
 3336|    477|    assert(can_modify_dict(dict));
  ------------------
  |  Branch (3336:5): [True: 477, False: 0]
  ------------------
 3337|       |
 3338|    477|    if (dict->ma_used == 0) {
  ------------------
  |  Branch (3338:9): [True: 23, False: 454]
  ------------------
 3339|     23|        if (result) {
  ------------------
  |  Branch (3339:13): [True: 23, False: 0]
  ------------------
 3340|     23|            *result = NULL;
 3341|     23|        }
 3342|     23|        return 0;
 3343|     23|    }
 3344|       |
 3345|    454|    Py_hash_t hash = _PyObject_HashDictKey(key);
 3346|    454|    if (hash == -1) {
  ------------------
  |  Branch (3346:9): [True: 0, False: 454]
  ------------------
 3347|      0|        dict_unhashable_type(op, key);
 3348|      0|        if (result) {
  ------------------
  |  Branch (3348:13): [True: 0, False: 0]
  ------------------
 3349|      0|            *result = NULL;
 3350|      0|        }
 3351|      0|        return -1;
 3352|      0|    }
 3353|    454|    return _PyDict_Pop_KnownHash(dict, key, hash, result);
 3354|    454|}
dictobject.c:dict_pop_default:
 3387|    134|{
 3388|    134|    PyObject *result;
 3389|    134|    if (PyDict_Pop(dict, key, &result) == 0) {
  ------------------
  |  Branch (3389:9): [True: 31, False: 103]
  ------------------
 3390|     31|        if (default_value != NULL) {
  ------------------
  |  Branch (3390:13): [True: 31, False: 0]
  ------------------
 3391|     31|            return Py_NewRef(default_value);
  ------------------
  |  |  550|     31|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     31|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     31|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3392|     31|        }
 3393|      0|        _PyErr_SetKeyError(key);
 3394|      0|        return NULL;
 3395|     31|    }
 3396|    103|    return result;
 3397|    134|}
dictobject.c:keys_lock_held:
 3854|     18|{
 3855|     18|    ASSERT_DICT_LOCKED(dict);
 3856|       |
 3857|     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 (3857:9): [True: 0, False: 18]
  ------------------
 3858|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3859|      0|        return NULL;
 3860|      0|    }
 3861|     18|    PyDictObject *mp = (PyDictObject *)dict;
 3862|     18|    PyObject *v;
 3863|     18|    Py_ssize_t n;
 3864|       |
 3865|     18|  again:
 3866|     18|    n = mp->ma_used;
 3867|     18|    v = PyList_New(n);
 3868|     18|    if (v == NULL)
  ------------------
  |  Branch (3868:9): [True: 0, False: 18]
  ------------------
 3869|      0|        return NULL;
 3870|     18|    if (n != mp->ma_used) {
  ------------------
  |  Branch (3870:9): [True: 0, False: 18]
  ------------------
 3871|       |        /* Durnit.  The allocations caused the dict to resize.
 3872|       |         * Just start over, this shouldn't normally happen.
 3873|       |         */
 3874|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3875|      0|        goto again;
 3876|      0|    }
 3877|       |
 3878|       |    /* Nothing we do below makes any function calls. */
 3879|     18|    Py_ssize_t j = 0, pos = 0;
 3880|     18|    PyObject *key;
 3881|  2.50k|    while (_PyDict_Next((PyObject*)mp, &pos, &key, NULL, NULL)) {
  ------------------
  |  Branch (3881:12): [True: 2.48k, False: 18]
  ------------------
 3882|  2.48k|        assert(j < n);
  ------------------
  |  Branch (3882:9): [True: 2.48k, False: 0]
  ------------------
 3883|  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3884|  2.48k|        j++;
 3885|  2.48k|    }
 3886|     18|    assert(j == n);
  ------------------
  |  Branch (3886:5): [True: 18, False: 0]
  ------------------
 3887|     18|    return v;
 3888|     18|}
dictobject.c:dict_merge_from_seq2:
 4181|      8|{
 4182|      8|    int res;
 4183|      8|    Py_BEGIN_CRITICAL_SECTION(d);
  ------------------
  |  |   51|      8|    {
  ------------------
 4184|      8|    res = merge_from_seq2_lock_held(d, seq2, override);
 4185|      8|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      8|    }
  ------------------
 4186|       |
 4187|      8|    return res;
 4188|      8|}
dictobject.c:merge_from_seq2_lock_held:
 4094|      8|{
 4095|      8|    PyObject *it;       /* iter(seq2) */
 4096|      8|    Py_ssize_t i;       /* index into seq2 of current element */
 4097|      8|    PyObject *item;     /* seq2[i] */
 4098|      8|    PyObject *fast;     /* item as a 2-tuple or 2-list */
 4099|       |
 4100|      8|    assert(d != NULL);
  ------------------
  |  Branch (4100:5): [True: 8, False: 0]
  ------------------
 4101|      8|    assert(PyAnyDict_Check(d));
  ------------------
  |  Branch (4101:5): [True: 8, False: 0]
  |  Branch (4101:5): [True: 0, False: 0]
  ------------------
 4102|      8|    assert(seq2 != NULL);
  ------------------
  |  Branch (4102:5): [True: 8, False: 0]
  ------------------
 4103|      8|    assert(can_modify_dict((PyDictObject*)d));
  ------------------
  |  Branch (4103:5): [True: 8, False: 0]
  ------------------
 4104|       |
 4105|      8|    it = PyObject_GetIter(seq2);
 4106|      8|    if (it == NULL)
  ------------------
  |  Branch (4106:9): [True: 0, False: 8]
  ------------------
 4107|      0|        return -1;
 4108|       |
 4109|    159|    for (i = 0; ; ++i) {
 4110|    159|        PyObject *key, *value;
 4111|    159|        Py_ssize_t n;
 4112|       |
 4113|    159|        fast = NULL;
 4114|    159|        item = PyIter_Next(it);
 4115|    159|        if (item == NULL) {
  ------------------
  |  Branch (4115:13): [True: 8, False: 151]
  ------------------
 4116|      8|            if (PyErr_Occurred())
  ------------------
  |  Branch (4116:17): [True: 0, False: 8]
  ------------------
 4117|      0|                goto Fail;
 4118|      8|            break;
 4119|      8|        }
 4120|       |
 4121|       |        /* Convert item to sequence, and verify length 2. */
 4122|    151|        fast = PySequence_Fast(item, "object is not iterable");
 4123|    151|        if (fast == NULL) {
  ------------------
  |  Branch (4123:13): [True: 0, False: 151]
  ------------------
 4124|      0|            if (PyErr_ExceptionMatches(PyExc_TypeError)) {
  ------------------
  |  Branch (4124:17): [True: 0, False: 0]
  ------------------
 4125|      0|                _PyErr_FormatNote(
 4126|      0|                    "Cannot convert dictionary update "
 4127|      0|                    "sequence element #%zd to a sequence",
 4128|      0|                    i);
 4129|      0|            }
 4130|      0|            goto Fail;
 4131|      0|        }
 4132|    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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4133|    151|        if (n != 2) {
  ------------------
  |  Branch (4133:13): [True: 0, False: 151]
  ------------------
 4134|      0|            PyErr_Format(PyExc_ValueError,
 4135|      0|                         "dictionary update sequence element #%zd "
 4136|      0|                         "has length %zd; 2 is required",
 4137|      0|                         i, n);
 4138|      0|            goto Fail;
 4139|      0|        }
 4140|       |
 4141|       |        /* Update/merge with this (key, value) pair. */
 4142|    151|        key = PySequence_Fast_GET_ITEM(fast, 0);
  ------------------
  |  |   97|    151|     (PyList_Check(o) ? PyList_GET_ITEM((o), (i)) : PyTuple_GET_ITEM((o), (i)))
  |  |  ------------------
  |  |  |  |   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_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|    151|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   19|    151|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    151|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4142:15): [True: 0, False: 0]
  |  Branch (4142:15): [True: 151, False: 0]
  ------------------
 4143|    151|        value = PySequence_Fast_GET_ITEM(fast, 1);
  ------------------
  |  |   97|    151|     (PyList_Check(o) ? PyList_GET_ITEM((o), (i)) : PyTuple_GET_ITEM((o), (i)))
  |  |  ------------------
  |  |  |  |   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_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|    151|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   19|    151|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    151|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4143:17): [True: 0, False: 0]
  |  Branch (4143:17): [True: 151, False: 0]
  ------------------
 4144|    151|        Py_INCREF(key);
  ------------------
  |  |  310|    151|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    151|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    151|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4145|    151|        Py_INCREF(value);
  ------------------
  |  |  310|    151|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    151|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    151|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4146|    151|        if (override) {
  ------------------
  |  Branch (4146:13): [True: 151, False: 0]
  ------------------
 4147|    151|            if (setitem_lock_held((PyDictObject *)d, key, value) < 0) {
  ------------------
  |  Branch (4147:17): [True: 0, False: 151]
  ------------------
 4148|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4149|      0|                Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4150|      0|                goto Fail;
 4151|      0|            }
 4152|    151|        }
 4153|      0|        else {
 4154|      0|            if (dict_setdefault_ref_lock_held(d, key, value, NULL, 0) < 0) {
  ------------------
  |  Branch (4154:17): [True: 0, False: 0]
  ------------------
 4155|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4156|      0|                Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4157|      0|                goto Fail;
 4158|      0|            }
 4159|      0|        }
 4160|       |
 4161|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4162|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4163|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4164|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4165|    151|    }
 4166|       |
 4167|      8|    i = 0;
 4168|      8|    ASSERT_CONSISTENT(d);
  ------------------
  |  |  668|      8|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (4168:5): [True: 8, False: 0]
  ------------------
 4169|      8|    goto Return;
 4170|      8|Fail:
 4171|      0|    Py_XDECREF(item);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4172|      0|    Py_XDECREF(fast);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4173|      0|    i = -1;
 4174|      8|Return:
 4175|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4176|      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))
  |  |  ------------------
  ------------------
 4177|      0|}
dictobject.c:dict_merge:
 4299|    409|{
 4300|    409|    assert(a != NULL);
  ------------------
  |  Branch (4300:5): [True: 409, False: 0]
  ------------------
 4301|    409|    assert(b != NULL);
  ------------------
  |  Branch (4301:5): [True: 409, False: 0]
  ------------------
 4302|    409|    assert(0 <= override && override <= 2);
  ------------------
  |  Branch (4302:5): [True: 409, False: 0]
  |  Branch (4302:5): [True: 409, False: 0]
  ------------------
 4303|       |
 4304|    409|    PyDictObject *mp = _PyAnyDict_CAST(a);
  ------------------
  |  |  326|    409|    (assert(PyAnyDict_Check(op)), _Py_CAST(PyDictObject*, op))
  |  |  ------------------
  |  |  |  |   37|    409|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (4304:24): [True: 408, False: 1]
  |  Branch (4304:24): [True: 1, False: 0]
  ------------------
 4305|       |
 4306|      0|    int res = 0;
 4307|    409|    if (PyAnyDict_Check(b) && (Py_TYPE(b)->tp_iter == dict_iter)) {
  ------------------
  |  |   43|    818|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|    409|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    818|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 401, 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|    401|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    401|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    401|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4307:31): [True: 401, False: 0]
  ------------------
 4308|    401|        PyDictObject *other = (PyDictObject*)b;
 4309|    401|        int res;
 4310|    401|        Py_BEGIN_CRITICAL_SECTION2(a, b);
  ------------------
  |  |   57|    401|    {
  ------------------
 4311|    401|        assert(can_modify_dict(mp));
  ------------------
  |  Branch (4311:9): [True: 401, False: 0]
  ------------------
 4312|    401|        res = dict_dict_merge((PyDictObject *)a, other, override, dupkey);
 4313|    401|        ASSERT_CONSISTENT(a);
  ------------------
  |  |  668|    401|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (4313:9): [True: 401, False: 0]
  ------------------
 4314|    401|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|    401|    }
  ------------------
 4315|    401|        return res;
 4316|    401|    }
 4317|      8|    else {
 4318|       |        /* Do it the generic, slower way */
 4319|      8|        Py_BEGIN_CRITICAL_SECTION(a);
  ------------------
  |  |   51|      8|    {
  ------------------
 4320|      8|        assert(can_modify_dict(mp));
  ------------------
  |  Branch (4320:9): [True: 8, False: 0]
  ------------------
 4321|       |
 4322|      8|        PyObject *keys = PyMapping_Keys(b);
 4323|      8|        PyObject *iter;
 4324|      8|        PyObject *key, *value;
 4325|      8|        int status;
 4326|       |
 4327|      8|        if (keys == NULL) {
  ------------------
  |  Branch (4327:13): [True: 0, False: 8]
  ------------------
 4328|       |            /* Docstring says this is equivalent to E.keys() so
 4329|       |             * if E doesn't have a .keys() method we want
 4330|       |             * AttributeError to percolate up.  Might as well
 4331|       |             * do the same for any other error.
 4332|       |             */
 4333|      0|            res = -1;
 4334|      0|            goto slow_exit;
 4335|      0|        }
 4336|       |
 4337|      8|        iter = PyObject_GetIter(keys);
 4338|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4339|      8|        if (iter == NULL) {
  ------------------
  |  Branch (4339:13): [True: 0, False: 8]
  ------------------
 4340|      0|            res = -1;
 4341|      0|            goto slow_exit;
 4342|      0|        }
 4343|       |
 4344|    208|        for (key = PyIter_Next(iter); key; key = PyIter_Next(iter)) {
  ------------------
  |  Branch (4344:39): [True: 200, False: 8]
  ------------------
 4345|    200|            if (override != 1) {
  ------------------
  |  Branch (4345:17): [True: 0, False: 200]
  ------------------
 4346|      0|                status = dict_contains(a, key);
 4347|      0|                if (status != 0) {
  ------------------
  |  Branch (4347:21): [True: 0, False: 0]
  ------------------
 4348|      0|                    if (status > 0) {
  ------------------
  |  Branch (4348:25): [True: 0, False: 0]
  ------------------
 4349|      0|                        if (dupkey == NULL) {
  ------------------
  |  Branch (4349:29): [True: 0, False: 0]
  ------------------
 4350|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4351|      0|                            continue;
 4352|      0|                        }
 4353|      0|                        *dupkey = key;
 4354|      0|                        res = -2;
 4355|      0|                    }
 4356|      0|                    else {
 4357|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4358|      0|                        res = -1;
 4359|      0|                    }
 4360|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4361|      0|                    goto slow_exit;
 4362|      0|                }
 4363|      0|            }
 4364|    200|            value = PyObject_GetItem(b, key);
 4365|    200|            if (value == NULL) {
  ------------------
  |  Branch (4365:17): [True: 0, False: 200]
  ------------------
 4366|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4367|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4368|      0|                res = -1;
 4369|      0|                goto slow_exit;
 4370|      0|            }
 4371|    200|            status = setitem_lock_held(mp, key, value);
 4372|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4373|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4374|    200|            if (status < 0) {
  ------------------
  |  Branch (4374:17): [True: 0, False: 200]
  ------------------
 4375|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4376|      0|                res = -1;
 4377|      0|                goto slow_exit;
 4378|      0|                return -1;
 4379|      0|            }
 4380|    200|        }
 4381|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4382|      8|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (4382:13): [True: 0, False: 8]
  ------------------
 4383|       |            /* Iterator completed, via error */
 4384|      0|            res = -1;
 4385|      0|            goto slow_exit;
 4386|      0|        }
 4387|       |
 4388|      8|slow_exit:
 4389|      8|        ASSERT_CONSISTENT(a);
  ------------------
  |  |  668|      8|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (4389:9): [True: 8, False: 0]
  ------------------
 4390|      8|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      8|    }
  ------------------
 4391|      8|        return res;
 4392|      8|    }
 4393|    409|}
dictobject.c:dict_dict_merge:
 4210|    401|{
 4211|    401|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (4211:5): [True: 401, False: 0]
  ------------------
 4212|    401|    ASSERT_DICT_LOCKED(other);
 4213|       |
 4214|    401|    if (other == mp || other->ma_used == 0)
  ------------------
  |  Branch (4214:9): [True: 0, False: 401]
  |  Branch (4214:24): [True: 313, False: 88]
  ------------------
 4215|       |        /* a.update(a) or a.update({}); nothing to do */
 4216|    313|        return 0;
 4217|     88|    if (mp->ma_used == 0) {
  ------------------
  |  Branch (4217:9): [True: 35, False: 53]
  ------------------
 4218|       |        /* Since the target dict is empty, _PyDict_Contains_KnownHash()
 4219|       |         * always returns 0.  Setting override to 1
 4220|       |         * skips the unnecessary test.
 4221|       |         */
 4222|     35|        override = 1;
 4223|     35|        PyDictKeysObject *okeys = other->ma_keys;
 4224|       |
 4225|       |        // If other is clean, combined, and just allocated, just clone it.
 4226|     35|        if (mp->ma_values == NULL &&
  ------------------
  |  Branch (4226:13): [True: 35, False: 0]
  ------------------
 4227|     35|            other->ma_values == NULL &&
  ------------------
  |  Branch (4227:13): [True: 35, False: 0]
  ------------------
 4228|     35|            other->ma_used == okeys->dk_nentries &&
  ------------------
  |  Branch (4228:13): [True: 35, False: 0]
  ------------------
 4229|     35|            (DK_LOG_SIZE(okeys) == PyDict_LOG_MINSIZE ||
  ------------------
  |  |  272|     35|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  ------------------
  |  |  |  |  302|     35|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
                          (DK_LOG_SIZE(okeys) == PyDict_LOG_MINSIZE ||
  ------------------
  |  |  115|     70|#define PyDict_LOG_MINSIZE 3
  ------------------
  |  Branch (4229:14): [True: 33, False: 2]
  ------------------
 4230|      2|             USABLE_FRACTION(DK_SIZE(okeys)/2) < other->ma_used)
  ------------------
  |  |  590|      2|#define USABLE_FRACTION(n) (((n) << 1)/3)
  ------------------
  |  Branch (4230:14): [True: 2, False: 0]
  ------------------
 4231|     35|        ) {
 4232|     35|            _PyDict_NotifyEvent(PyDict_EVENT_CLONED, mp, (PyObject *)other, NULL);
 4233|     35|            PyDictKeysObject *keys = clone_combined_dict_keys(other);
 4234|     35|            if (keys == NULL)
  ------------------
  |  Branch (4234:17): [True: 0, False: 35]
  ------------------
 4235|      0|                return -1;
 4236|       |
 4237|     35|            ensure_shared_on_resize(mp);
 4238|     35|            dictkeys_decref(mp->ma_keys, IS_DICT_SHARED(mp));
  ------------------
  |  |  269|     35|#define IS_DICT_SHARED(mp) (false)
  ------------------
 4239|     35|            set_keys(mp, keys);
 4240|     35|            STORE_USED(mp, other->ma_used);
  ------------------
  |  |  336|     35|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  194|     35|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 4241|     35|            ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|     35|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (4241:13): [True: 35, False: 0]
  ------------------
 4242|     35|            return 0;
 4243|     35|        }
 4244|     35|    }
 4245|       |    /* Do one big resize at the start, rather than
 4246|       |        * incrementally resizing as we insert new items.  Expect
 4247|       |        * that there will be no (or few) overlapping keys.
 4248|       |        */
 4249|     53|    if (USABLE_FRACTION(DK_SIZE(mp->ma_keys)) < other->ma_used) {
  ------------------
  |  |  590|     53|#define USABLE_FRACTION(n) (((n) << 1)/3)
  ------------------
  |  Branch (4249:9): [True: 1, False: 52]
  ------------------
 4250|      1|        int unicode = DK_IS_UNICODE(other->ma_keys);
  ------------------
  |  |  294|      1|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  ------------------
 4251|      1|        if (dictresize(mp, estimate_log2_keysize(mp->ma_used + other->ma_used),
  ------------------
  |  Branch (4251:13): [True: 0, False: 1]
  ------------------
 4252|      1|                        unicode)) {
 4253|      0|            return -1;
 4254|      0|        }
 4255|      1|    }
 4256|       |
 4257|     53|    Py_ssize_t orig_size = other->ma_used;
 4258|     53|    Py_ssize_t pos = 0;
 4259|     53|    Py_hash_t hash;
 4260|     53|    PyObject *key, *value;
 4261|       |
 4262|  1.00k|    while (_PyDict_Next((PyObject*)other, &pos, &key, &value, &hash)) {
  ------------------
  |  Branch (4262:12): [True: 951, False: 53]
  ------------------
 4263|    951|        int err = 0;
 4264|    951|        Py_INCREF(key);
  ------------------
  |  |  310|    951|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    951|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    951|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4265|    951|        Py_INCREF(value);
  ------------------
  |  |  310|    951|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    951|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    951|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4266|    951|        if (override == 1) {
  ------------------
  |  Branch (4266:13): [True: 951, False: 0]
  ------------------
 4267|    951|            err = insertdict(mp, Py_NewRef(key), hash, Py_NewRef(value));
  ------------------
  |  |  550|    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));
  ------------------
  |  |  550|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4268|    951|        }
 4269|      0|        else {
 4270|      0|            err = _PyDict_Contains_KnownHash((PyObject *)mp, key, hash);
 4271|      0|            if (err == 0) {
  ------------------
  |  Branch (4271:17): [True: 0, False: 0]
  ------------------
 4272|      0|                err = insertdict(mp, Py_NewRef(key), hash, Py_NewRef(value));
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                              err = insertdict(mp, Py_NewRef(key), hash, Py_NewRef(value));
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4273|      0|            }
 4274|      0|            else if (err > 0) {
  ------------------
  |  Branch (4274:22): [True: 0, False: 0]
  ------------------
 4275|      0|                if (dupkey != NULL) {
  ------------------
  |  Branch (4275:21): [True: 0, False: 0]
  ------------------
 4276|      0|                    *dupkey = key;
 4277|      0|                    Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4278|      0|                    return -2;
 4279|      0|                }
 4280|      0|                err = 0;
 4281|      0|            }
 4282|      0|        }
 4283|    951|        Py_DECREF(value);
  ------------------
  |  |  430|    951|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    951|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    951|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4284|    951|        Py_DECREF(key);
  ------------------
  |  |  430|    951|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    951|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    951|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4285|    951|        if (err != 0)
  ------------------
  |  Branch (4285:13): [True: 0, False: 951]
  ------------------
 4286|      0|            return -1;
 4287|       |
 4288|    951|        if (orig_size != other->ma_used) {
  ------------------
  |  Branch (4288:13): [True: 0, False: 951]
  ------------------
 4289|      0|            PyErr_SetString(PyExc_RuntimeError,
 4290|      0|                    "dict mutated during update");
 4291|      0|            return -1;
 4292|      0|        }
 4293|    951|    }
 4294|     53|    return 0;
 4295|     53|}
dictobject.c:clone_combined_dict_keys:
 1024|    789|{
 1025|    789|    assert(PyAnyDict_Check(orig));
  ------------------
  |  Branch (1025:5): [True: 789, False: 0]
  |  Branch (1025:5): [True: 0, False: 0]
  ------------------
 1026|    789|    assert(Py_TYPE(orig)->tp_iter == dict_iter);
  ------------------
  |  Branch (1026:5): [True: 789, False: 0]
  ------------------
 1027|    789|    assert(orig->ma_values == NULL);
  ------------------
  |  Branch (1027:5): [True: 789, False: 0]
  ------------------
 1028|    789|    assert(orig->ma_keys != Py_EMPTY_KEYS);
  ------------------
  |  Branch (1028:5): [True: 789, False: 0]
  ------------------
 1029|    789|    assert(orig->ma_keys->dk_refcnt == 1);
  ------------------
  |  Branch (1029:5): [True: 789, False: 0]
  ------------------
 1030|       |
 1031|    789|    if (!PyFrozenDict_Check(orig)) {
  ------------------
  |  |   37|    789|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|    789|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    789|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    789|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1031:9): [True: 789, False: 0]
  ------------------
 1032|    789|        ASSERT_DICT_LOCKED(orig);
 1033|    789|    }
 1034|       |
 1035|    789|    size_t keys_size = _PyDict_KeysSize(orig->ma_keys);
 1036|    789|    PyDictKeysObject *keys = PyMem_Malloc(keys_size);
 1037|    789|    if (keys == NULL) {
  ------------------
  |  Branch (1037:9): [True: 0, False: 789]
  ------------------
 1038|      0|        PyErr_NoMemory();
 1039|      0|        return NULL;
 1040|      0|    }
 1041|       |
 1042|    789|    memcpy(keys, orig->ma_keys, keys_size);
 1043|       |
 1044|       |    /* After copying key/value pairs, we need to incref all
 1045|       |       keys and values and they are about to be co-owned by a
 1046|       |       new dict object. */
 1047|    789|    PyObject **pkey, **pvalue;
 1048|    789|    size_t offs;
 1049|    789|    if (DK_IS_UNICODE(orig->ma_keys)) {
  ------------------
  |  |  294|    789|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (294:27): [True: 789, False: 0]
  |  |  ------------------
  ------------------
 1050|    789|        PyDictUnicodeEntry *ep0 = DK_UNICODE_ENTRIES(keys);
 1051|    789|        pkey = &ep0->me_key;
 1052|    789|        pvalue = &ep0->me_value;
 1053|    789|        offs = sizeof(PyDictUnicodeEntry) / sizeof(PyObject*);
 1054|    789|    }
 1055|      0|    else {
 1056|      0|        PyDictKeyEntry *ep0 = DK_ENTRIES(keys);
 1057|      0|        pkey = &ep0->me_key;
 1058|      0|        pvalue = &ep0->me_value;
 1059|      0|        offs = sizeof(PyDictKeyEntry) / sizeof(PyObject*);
 1060|      0|    }
 1061|       |
 1062|    789|    Py_ssize_t n = keys->dk_nentries;
 1063|  8.36k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (1063:28): [True: 7.57k, False: 789]
  ------------------
 1064|  7.57k|        PyObject *value = *pvalue;
 1065|  7.57k|        if (value != NULL) {
  ------------------
  |  Branch (1065:13): [True: 7.17k, False: 393]
  ------------------
 1066|  7.17k|            Py_INCREF(value);
  ------------------
  |  |  310|  7.17k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1067|  7.17k|            Py_INCREF(*pkey);
  ------------------
  |  |  310|  7.17k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1068|  7.17k|        }
 1069|  7.57k|        pvalue += offs;
 1070|  7.57k|        pkey += offs;
 1071|  7.57k|    }
 1072|       |
 1073|       |    /* Since we copied the keys table we now have an extra reference
 1074|       |       in the system.  Manually call increment _Py_RefTotal to signal that
 1075|       |       we have it now; calling dictkeys_incref would be an error as
 1076|       |       keys->dk_refcnt is already set to 1 (after memcpy). */
 1077|       |#ifdef Py_REF_DEBUG
 1078|       |    _Py_IncRefTotal(_PyThreadState_GET());
 1079|       |#endif
 1080|    789|    return keys;
 1081|    789|}
dictobject.c:dict_merge_api:
 4397|    377|{
 4398|       |    /* We accept for the argument either a concrete dictionary object,
 4399|       |     * or an abstract "mapping" object.  For the former, we can do
 4400|       |     * things quite efficiently.  For the latter, we only require that
 4401|       |     * PyMapping_Keys() and PyObject_GetItem() be supported.
 4402|       |     */
 4403|    377|    if (a == NULL || !PyDict_Check(a) || b == NULL) {
  ------------------
  |  |   18|    377|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    754|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4403:9): [True: 0, False: 377]
  |  Branch (4403:22): [True: 0, False: 377]
  |  Branch (4403:42): [True: 0, False: 377]
  ------------------
 4404|      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 (4404:13): [True: 0, False: 0]
  ------------------
 4405|      0|            frozendict_does_not_support("assignment");
  ------------------
  |  | 2801|      0|    PyErr_SetString(PyExc_TypeError, "frozendict object does " \
  |  | 2802|      0|                    "not support item " WHAT)
  ------------------
 4406|      0|        }
 4407|      0|        else {
 4408|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 4409|      0|        }
 4410|      0|        return -1;
 4411|      0|    }
 4412|       |
 4413|    377|    int res = dict_merge(a, b, override, dupkey);
 4414|    377|    assert(_PyObject_GC_IS_TRACKED(a));
  ------------------
  |  Branch (4414:5): [True: 377, False: 0]
  ------------------
 4415|    377|    return res;
 4416|    377|}
dictobject.c:copy_lock_held_untracked:
 4473|    756|{
 4474|    756|    PyObject *copy;
 4475|    756|    PyDictObject *mp;
 4476|       |
 4477|       |    // frozendict is immutable and so doesn't need critical section
 4478|    756|    if (!PyFrozenDict_Check(o)) {
  ------------------
  |  |   37|    756|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|    756|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    756|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    756|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4478:9): [True: 756, False: 0]
  ------------------
 4479|    756|        ASSERT_DICT_LOCKED(o);
 4480|    756|    }
 4481|       |
 4482|    756|    mp = (PyDictObject *)o;
 4483|    756|    if (mp->ma_used == 0) {
  ------------------
  |  Branch (4483:9): [True: 2, False: 754]
  ------------------
 4484|       |        /* The dict is empty; just return a new dict. */
 4485|      2|        PyObject *d;
 4486|      2|        if (as_frozendict) {
  ------------------
  |  Branch (4486:13): [True: 0, False: 2]
  ------------------
 4487|      0|            d = frozendict_new_untracked(&PyFrozenDict_Type);
 4488|      0|        }
 4489|      2|        else {
 4490|      2|            d = dict_new_untracked(&PyDict_Type);
 4491|      2|        }
 4492|      2|        assert(!_PyObject_GC_IS_TRACKED(d));
  ------------------
  |  Branch (4492:9): [True: 2, False: 0]
  ------------------
 4493|      2|        return d;
 4494|      2|    }
 4495|       |
 4496|    754|    if (_PyDict_HasSplitTable(mp)) {
  ------------------
  |  |   56|    754|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (56:34): [True: 0, False: 754]
  |  |  ------------------
  ------------------
 4497|      0|        PyDictObject *split_copy;
 4498|      0|        PyDictValues *newvalues = copy_values(mp->ma_values);
 4499|      0|        if (newvalues == NULL) {
  ------------------
  |  Branch (4499:13): [True: 0, False: 0]
  ------------------
 4500|      0|            return PyErr_NoMemory();
 4501|      0|        }
 4502|      0|        if (as_frozendict) {
  ------------------
  |  Branch (4502:13): [True: 0, False: 0]
  ------------------
 4503|      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))
  |  |  ------------------
  ------------------
 4504|      0|                                                         &PyFrozenDict_Type);
 4505|      0|        }
 4506|      0|        else {
 4507|      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))
  |  |  ------------------
  ------------------
 4508|      0|        }
 4509|      0|        if (split_copy == NULL) {
  ------------------
  |  Branch (4509:13): [True: 0, False: 0]
  ------------------
 4510|      0|            free_values(newvalues, false);
 4511|      0|            return NULL;
 4512|      0|        }
 4513|      0|        for (size_t i = 0; i < newvalues->capacity; i++) {
  ------------------
  |  Branch (4513:28): [True: 0, False: 0]
  ------------------
 4514|      0|            Py_XINCREF(newvalues->values[i]);
  ------------------
  |  |  514|      0|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4515|      0|        }
 4516|      0|        split_copy->ma_values = newvalues;
 4517|      0|        split_copy->ma_keys = mp->ma_keys;
 4518|      0|        split_copy->ma_used = mp->ma_used;
 4519|      0|        split_copy->_ma_watcher_tag = 0;
 4520|      0|        dictkeys_incref(mp->ma_keys);
 4521|      0|        if (as_frozendict) {
  ------------------
  |  Branch (4521:13): [True: 0, False: 0]
  ------------------
 4522|      0|            PyFrozenDictObject *frozen = (PyFrozenDictObject *)split_copy;
 4523|      0|            frozen->ma_hash = -1;
 4524|      0|        }
 4525|      0|        assert(!_PyObject_GC_IS_TRACKED(split_copy));
  ------------------
  |  Branch (4525:9): [True: 0, False: 0]
  ------------------
 4526|      0|        return (PyObject *)split_copy;
 4527|      0|    }
 4528|       |
 4529|    754|    if (Py_TYPE(mp)->tp_iter == dict_iter &&
  ------------------
  |  |  213|    754|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    754|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    754|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4529:9): [True: 754, False: 0]
  ------------------
 4530|    754|            mp->ma_values == NULL &&
  ------------------
  |  Branch (4530:13): [True: 754, False: 0]
  ------------------
 4531|    754|            (mp->ma_used >= (mp->ma_keys->dk_nentries * 2) / 3))
  ------------------
  |  Branch (4531:13): [True: 754, False: 0]
  ------------------
 4532|    754|    {
 4533|       |        /* Use fast-copy if:
 4534|       |
 4535|       |           (1) type(mp) doesn't override tp_iter; and
 4536|       |
 4537|       |           (2) 'mp' is not a split-dict; and
 4538|       |
 4539|       |           (3) if 'mp' is non-compact ('del' operation does not resize dicts),
 4540|       |               do fast-copy only if it has at most 1/3 non-used keys.
 4541|       |
 4542|       |           The last condition (3) is important to guard against a pathological
 4543|       |           case when a large dict is almost emptied with multiple del/pop
 4544|       |           operations and copied after that.  In cases like this, we defer to
 4545|       |           PyDict_Merge, which produces a compacted copy.
 4546|       |        */
 4547|    754|        PyDictKeysObject *keys = clone_combined_dict_keys(mp);
 4548|    754|        if (keys == NULL) {
  ------------------
  |  Branch (4548:13): [True: 0, False: 754]
  ------------------
 4549|      0|            return NULL;
 4550|      0|        }
 4551|    754|        PyDictObject *new;
 4552|    754|        if (as_frozendict) {
  ------------------
  |  Branch (4552:13): [True: 0, False: 754]
  ------------------
 4553|      0|            new = (PyDictObject *)new_frozendict_untracked(keys, NULL, 0, 0);
 4554|      0|        }
 4555|    754|        else {
 4556|    754|            new = (PyDictObject *)new_dict_untracked(keys, NULL, 0, 0);
 4557|    754|        }
 4558|    754|        if (new == NULL) {
  ------------------
  |  Branch (4558:13): [True: 0, False: 754]
  ------------------
 4559|       |            /* In case of an error, new_dict()/new_frozendict() takes care of
 4560|       |               cleaning up `keys`. */
 4561|      0|            return NULL;
 4562|      0|        }
 4563|       |
 4564|    754|        new->ma_used = mp->ma_used;
 4565|    754|        ASSERT_CONSISTENT(new);
  ------------------
  |  |  668|    754|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (4565:9): [True: 754, False: 0]
  ------------------
 4566|    754|        assert(!_PyObject_GC_IS_TRACKED(new));
  ------------------
  |  Branch (4566:9): [True: 754, False: 0]
  ------------------
 4567|    754|        return (PyObject *)new;
 4568|    754|    }
 4569|       |
 4570|      0|    if (as_frozendict) {
  ------------------
  |  Branch (4570:9): [True: 0, False: 0]
  ------------------
 4571|      0|        copy = frozendict_new_untracked(&PyFrozenDict_Type);
 4572|      0|    }
 4573|      0|    else {
 4574|      0|        copy = dict_new_untracked(&PyDict_Type);
 4575|      0|    }
 4576|      0|    if (copy == NULL)
  ------------------
  |  Branch (4576:9): [True: 0, False: 0]
  ------------------
 4577|      0|        return NULL;
 4578|      0|    if (dict_merge(copy, o, 1, NULL) < 0) {
  ------------------
  |  Branch (4578:9): [True: 0, False: 0]
  ------------------
 4579|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4580|      0|        return NULL;
 4581|      0|    }
 4582|       |
 4583|      0|    assert(!_PyObject_GC_IS_TRACKED(copy));
  ------------------
  |  Branch (4583:5): [True: 0, False: 0]
  ------------------
 4584|      0|    return copy;
 4585|      0|}
dictobject.c:dict_new_untracked:
 5377|     23|{
 5378|     23|    assert(PyObject_IsSubclass((PyObject*)type, (PyObject*)&PyDict_Type));
  ------------------
  |  Branch (5378:5): [True: 23, False: 0]
  ------------------
 5379|       |
 5380|     23|    return anydict_new_untracked(type);
 5381|     23|}
dictobject.c:anydict_new_untracked:
 5354|     24|{
 5355|     24|    assert(type != NULL);
  ------------------
  |  Branch (5355:5): [True: 24, False: 0]
  ------------------
 5356|       |    // dict and frozendict subclasses must implement the GC protocol
 5357|     24|    assert(_PyType_IS_GC(type));
  ------------------
  |  Branch (5357:5): [True: 24, False: 0]
  ------------------
 5358|       |
 5359|     24|    PyObject *self = _PyType_AllocNoTrack(type, 0);
 5360|     24|    if (self == NULL) {
  ------------------
  |  Branch (5360:9): [True: 0, False: 24]
  ------------------
 5361|      0|        return NULL;
 5362|      0|    }
 5363|     24|    PyDictObject *d = (PyDictObject *)self;
 5364|       |
 5365|     24|    d->ma_used = 0;
 5366|     24|    d->_ma_watcher_tag = 0;
 5367|       |    // We don't inc ref empty keys because they're immortal
 5368|     24|    assert((Py_EMPTY_KEYS)->dk_refcnt == _Py_DICT_IMMORTAL_INITIAL_REFCNT);
  ------------------
  |  Branch (5368:5): [True: 24, False: 0]
  ------------------
 5369|     24|    d->ma_keys = Py_EMPTY_KEYS;
  ------------------
  |  |  660|     24|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
 5370|     24|    d->ma_values = NULL;
 5371|     24|    ASSERT_CONSISTENT(d);
  ------------------
  |  |  668|     24|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (5371:5): [True: 24, False: 0]
  ------------------
 5372|     24|    return self;
 5373|     24|}
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 *));
  ------------------
  |  |  238|    144|#define _Py_SIZE_ROUND_UP(n, a) (((size_t)(n) + \
  |  |  239|    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) {
  ------------------
  |  |  149|    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|    754|{
  988|    754|    PyDictObject *mp = _Py_FREELIST_POP(PyDictObject, dicts);
  ------------------
  |  |   43|    754|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|    754|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  989|    754|    if (mp == NULL) {
  ------------------
  |  Branch (989:9): [True: 463, False: 291]
  ------------------
  990|    463|        mp = PyObject_GC_New(PyDictObject, &PyDict_Type);
  ------------------
  |  |  181|    463|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|    463|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  991|    463|    }
  992|    754|    assert(mp == NULL || Py_IS_TYPE(mp, &PyDict_Type));
  ------------------
  |  Branch (992:5): [True: 0, False: 754]
  |  Branch (992:5): [True: 754, False: 0]
  ------------------
  993|       |
  994|    754|    return new_dict_impl(mp, keys, values, used, free_values_on_failure, 0, 0);
  995|    754|}
dictobject.c:dict_setdefault_ref_lock_held:
 4813|  16.5k|{
 4814|  16.5k|    if (!PyDict_Check(d)) {
  ------------------
  |  |   18|  16.5k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  16.5k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4814:9): [True: 0, False: 16.5k]
  ------------------
 4815|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4816|      0|            frozendict_does_not_support("assignment");
  ------------------
  |  | 2801|      0|    PyErr_SetString(PyExc_TypeError, "frozendict object does " \
  |  | 2802|      0|                    "not support item " WHAT)
  ------------------
 4817|      0|        }
 4818|      0|        else {
 4819|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 4820|      0|        }
 4821|      0|        if (result) {
  ------------------
  |  Branch (4821:13): [True: 0, False: 0]
  ------------------
 4822|      0|            *result = NULL;
 4823|      0|        }
 4824|      0|        return -1;
 4825|      0|    }
 4826|  16.5k|    assert(can_modify_dict((PyDictObject*)d));
  ------------------
  |  Branch (4826:5): [True: 16.5k, False: 0]
  ------------------
 4827|       |
 4828|  16.5k|    PyDictObject *mp = (PyDictObject *)d;
 4829|  16.5k|    PyObject *value;
 4830|  16.5k|    Py_hash_t hash;
 4831|  16.5k|    Py_ssize_t ix;
 4832|       |
 4833|  16.5k|    hash = _PyObject_HashDictKey(key);
 4834|  16.5k|    if (hash == -1) {
  ------------------
  |  Branch (4834:9): [True: 0, False: 16.5k]
  ------------------
 4835|      0|        dict_unhashable_type(d, key);
 4836|      0|        if (result) {
  ------------------
  |  Branch (4836:13): [True: 0, False: 0]
  ------------------
 4837|      0|            *result = NULL;
 4838|      0|        }
 4839|      0|        return -1;
 4840|      0|    }
 4841|       |
 4842|  16.5k|    if (mp->ma_keys == Py_EMPTY_KEYS) {
  ------------------
  |  |  660|  16.5k|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
  |  Branch (4842:9): [True: 21, False: 16.4k]
  ------------------
 4843|     21|        if (insert_to_emptydict(mp, Py_NewRef(key), hash,
  ------------------
  |  |  550|     21|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     21|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4843:13): [True: 0, False: 21]
  ------------------
 4844|     21|                                Py_NewRef(default_value)) < 0) {
  ------------------
  |  |  550|     21|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     21|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4845|      0|            if (result) {
  ------------------
  |  Branch (4845:17): [True: 0, False: 0]
  ------------------
 4846|      0|                *result = NULL;
 4847|      0|            }
 4848|      0|            return -1;
 4849|      0|        }
 4850|     21|        if (result) {
  ------------------
  |  Branch (4850:13): [True: 6, False: 15]
  ------------------
 4851|      6|            *result = incref_result ? Py_NewRef(default_value) : default_value;
  ------------------
  |  |  550|      6|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4851:23): [True: 6, False: 0]
  ------------------
 4852|      6|        }
 4853|     21|        return 0;
 4854|     21|    }
 4855|       |
 4856|  16.4k|    if (_PyDict_HasSplitTable(mp) && PyUnicode_CheckExact(key)) {
  ------------------
  |  |   56|  32.9k|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (56:34): [True: 0, False: 16.4k]
  |  |  ------------------
  ------------------
                  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4857|      0|        ix = insert_split_key(mp->ma_keys, key, hash);
 4858|      0|        if (ix != DKIX_EMPTY) {
  ------------------
  |  |  185|      0|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (4858:13): [True: 0, False: 0]
  ------------------
 4859|      0|            PyObject *value = mp->ma_values->values[ix];
 4860|      0|            int already_present = value != NULL;
 4861|      0|            if (!already_present) {
  ------------------
  |  Branch (4861:17): [True: 0, False: 0]
  ------------------
 4862|      0|                _PyDict_InsertSplitValue(mp, key, default_value, ix);
 4863|      0|                value = default_value;
 4864|      0|            }
 4865|      0|            if (result) {
  ------------------
  |  Branch (4865:17): [True: 0, False: 0]
  ------------------
 4866|      0|                *result = incref_result ? Py_NewRef(value) : value;
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4866:27): [True: 0, False: 0]
  ------------------
 4867|      0|            }
 4868|      0|            return already_present;
 4869|      0|        }
 4870|       |        // No space in shared keys. Go to insert_combined_dict() below.
 4871|      0|    }
 4872|  16.4k|    else {
 4873|  16.4k|        ix = _Py_dict_lookup(mp, key, hash, &value);
 4874|  16.4k|        if (ix == DKIX_ERROR) {
  ------------------
  |  |  187|  16.4k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (4874:13): [True: 0, False: 16.4k]
  ------------------
 4875|      0|            if (result) {
  ------------------
  |  Branch (4875:17): [True: 0, False: 0]
  ------------------
 4876|      0|                *result = NULL;
 4877|      0|            }
 4878|      0|            return -1;
 4879|      0|        }
 4880|  16.4k|    }
 4881|       |
 4882|  16.4k|    if (ix == DKIX_EMPTY) {
  ------------------
  |  |  185|  16.4k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (4882:9): [True: 12.5k, False: 3.94k]
  ------------------
 4883|  12.5k|        value = default_value;
 4884|       |
 4885|       |        // See comment to this function in insertdict.
 4886|  12.5k|        if (insert_combined_dict(mp, hash, Py_NewRef(key), Py_NewRef(value)) < 0) {
  ------------------
  |  |  550|  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) {
  ------------------
  |  |  550|  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 (4886:13): [True: 0, False: 12.5k]
  ------------------
 4887|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4888|      0|            Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4889|      0|            if (result) {
  ------------------
  |  Branch (4889:17): [True: 0, False: 0]
  ------------------
 4890|      0|                *result = NULL;
 4891|      0|            }
 4892|      0|            return -1;
 4893|      0|        }
 4894|       |
 4895|  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)
  |  |  ------------------
  |  |  |  |  194|  12.5k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 4896|  12.5k|        assert(mp->ma_keys->dk_usable >= 0);
  ------------------
  |  Branch (4896:9): [True: 12.5k, False: 0]
  ------------------
 4897|  12.5k|        ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|  12.5k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (4897:9): [True: 12.5k, False: 0]
  ------------------
 4898|  12.5k|        if (result) {
  ------------------
  |  Branch (4898:13): [True: 9.37k, False: 3.17k]
  ------------------
 4899|  9.37k|            *result = incref_result ? Py_NewRef(value) : value;
  ------------------
  |  |  550|  9.37k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  9.37k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4899:23): [True: 9.37k, False: 0]
  ------------------
 4900|  9.37k|        }
 4901|  12.5k|        return 0;
 4902|  12.5k|    }
 4903|       |
 4904|  16.4k|    assert(value != NULL);
  ------------------
  |  Branch (4904:5): [True: 3.94k, False: 0]
  ------------------
 4905|  3.94k|    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|  3.94k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (4905:5): [True: 3.94k, False: 0]
  ------------------
 4906|  3.94k|    if (result) {
  ------------------
  |  Branch (4906:9): [True: 3.94k, False: 0]
  ------------------
 4907|  3.94k|        *result = incref_result ? Py_NewRef(value) : value;
  ------------------
  |  |  550|  3.94k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  3.94k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.94k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4907:19): [True: 3.94k, False: 0]
  ------------------
 4908|  3.94k|    }
 4909|  3.94k|    return 1;
 4910|  3.94k|}
dictobject.c:dict_update_arg:
 4034|     40|{
 4035|     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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4036|     24|        return dict_merge(self, arg, 1, NULL);
 4037|     24|    }
 4038|     16|    int has_keys = PyObject_HasAttrWithError(arg, &_Py_ID(keys));
  ------------------
  |  |  936|     16|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     16|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     16|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4039|     16|    if (has_keys < 0) {
  ------------------
  |  Branch (4039:9): [True: 0, False: 16]
  ------------------
 4040|      0|        return -1;
 4041|      0|    }
 4042|     16|    if (has_keys) {
  ------------------
  |  Branch (4042:9): [True: 8, False: 8]
  ------------------
 4043|      8|        return dict_merge(self, arg, 1, NULL);
 4044|      8|    }
 4045|      8|    return dict_merge_from_seq2(self, arg, 1);
 4046|     16|}
dictobject.c:dict_contains:
 5275|  6.55k|{
 5276|  6.55k|    Py_hash_t hash = _PyObject_HashDictKey(key);
 5277|  6.55k|    if (hash == -1) {
  ------------------
  |  Branch (5277:9): [True: 0, False: 6.55k]
  ------------------
 5278|      0|        dict_unhashable_type(op, key);
 5279|      0|        return -1;
 5280|      0|    }
 5281|       |
 5282|  6.55k|    return _PyDict_Contains_KnownHash(op, key, hash);
 5283|  6.55k|}
dictobject.c:dict_dealloc:
 3647|  2.07k|{
 3648|  2.07k|    PyDictObject *mp = (PyDictObject *)self;
 3649|  2.07k|    _PyObject_ResurrectStart(self);
 3650|  2.07k|    _PyDict_NotifyEvent(PyDict_EVENT_DEALLOCATED, mp, NULL, NULL);
 3651|  2.07k|    if (_PyObject_ResurrectEnd(self)) {
  ------------------
  |  Branch (3651:9): [True: 0, False: 2.07k]
  ------------------
 3652|      0|        return;
 3653|      0|    }
 3654|  2.07k|    PyDictValues *values = mp->ma_values;
 3655|  2.07k|    PyDictKeysObject *keys = mp->ma_keys;
 3656|  2.07k|    Py_ssize_t i, n;
 3657|       |
 3658|       |    /* bpo-31095: UnTrack is needed before calling any callbacks */
 3659|  2.07k|    PyObject_GC_UnTrack(mp);
 3660|  2.07k|    if (values != NULL) {
  ------------------
  |  Branch (3660:9): [True: 7, False: 2.07k]
  ------------------
 3661|      7|        if (values->embedded == 0) {
  ------------------
  |  Branch (3661:13): [True: 7, False: 0]
  ------------------
 3662|    217|            for (i = 0, n = values->capacity; i < n; i++) {
  ------------------
  |  Branch (3662:47): [True: 210, False: 7]
  ------------------
 3663|    210|                Py_XDECREF(values->values[i]);
  ------------------
  |  |  524|    210|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    210|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    210|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3664|    210|            }
 3665|      7|            free_values(values, false);
 3666|      7|        }
 3667|      7|        dictkeys_decref(keys, false);
 3668|      7|    }
 3669|  2.07k|    else if (keys != NULL) {
  ------------------
  |  Branch (3669:14): [True: 2.07k, False: 0]
  ------------------
 3670|  2.07k|        assert(keys->dk_refcnt == 1 || keys == Py_EMPTY_KEYS);
  ------------------
  |  Branch (3670:9): [True: 1.16k, False: 904]
  |  Branch (3670:9): [True: 904, False: 0]
  ------------------
 3671|  2.07k|        dictkeys_decref(keys, false);
 3672|  2.07k|    }
 3673|  2.07k|    if (Py_IS_TYPE(mp, &PyDict_Type)) {
  ------------------
  |  |  215|  2.07k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  2.07k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.07k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 2.07k, False: 7]
  |  |  ------------------
  ------------------
 3674|  2.07k|        _Py_FREELIST_FREE(dicts, mp, Py_TYPE(mp)->tp_free);
  ------------------
  |  |   35|  2.07k|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  2.07k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.07k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  2.07k|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   16|  2.07k|#  define Py_dicts_MAXFREELIST 80
  |  |  ------------------
  ------------------
 3675|  2.07k|    }
 3676|      7|    else {
 3677|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3678|      7|    }
 3679|  2.07k|}
dictobject.c:dict_length:
 3786|     12|{
 3787|     12|    return GET_USED(_PyAnyDict_CAST(self));
  ------------------
  |  |  328|     12|#define GET_USED(ep) FT_ATOMIC_LOAD_SSIZE_RELAXED((ep)->ma_used)
  |  |  ------------------
  |  |  |  |  149|     48|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (149:45): [True: 12, False: 0]
  |  |  |  |  |  Branch (149:45): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3788|     12|}
dictobject.c:dict_traverse:
 5088|  3.16k|{
 5089|  3.16k|    PyDictObject *mp = (PyDictObject *)op;
 5090|  3.16k|    PyDictKeysObject *keys = mp->ma_keys;
 5091|  3.16k|    Py_ssize_t i, n = keys->dk_nentries;
 5092|       |
 5093|  3.16k|    if (DK_IS_UNICODE(keys)) {
  ------------------
  |  |  294|  3.16k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (294:27): [True: 2.85k, False: 310]
  |  |  ------------------
  ------------------
 5094|  2.85k|        if (_PyDict_HasSplitTable(mp)) {
  ------------------
  |  |   56|  2.85k|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (56:34): [True: 4, False: 2.85k]
  |  |  ------------------
  ------------------
 5095|     40|            for (i = 0; i < n; i++) {
  ------------------
  |  Branch (5095:25): [True: 36, False: 4]
  ------------------
 5096|     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]
  |  |  ------------------
  ------------------
 5097|     36|            }
 5098|      4|        }
 5099|  2.85k|        else {
 5100|  2.85k|            PyDictUnicodeEntry *entries = DK_UNICODE_ENTRIES(keys);
 5101|  39.3k|            for (i = 0; i < n; i++) {
  ------------------
  |  Branch (5101:25): [True: 36.4k, False: 2.85k]
  ------------------
 5102|  36.4k|                Py_VISIT(entries[i].me_value);
  ------------------
  |  |  194|  36.4k|    do {                                                                \
  |  |  195|  36.4k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 35.8k, False: 654]
  |  |  ------------------
  |  |  196|  35.8k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  35.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  35.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  35.8k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 35.8k]
  |  |  ------------------
  |  |  198|  35.8k|                return vret;                                            \
  |  |  199|  35.8k|        }                                                               \
  |  |  200|  36.4k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 36.4k]
  |  |  ------------------
  ------------------
 5103|  36.4k|            }
 5104|  2.85k|        }
 5105|  2.85k|    }
 5106|    310|    else {
 5107|    310|        PyDictKeyEntry *entries = DK_ENTRIES(keys);
 5108|  2.18k|        for (i = 0; i < n; i++) {
  ------------------
  |  Branch (5108:21): [True: 1.87k, False: 310]
  ------------------
 5109|  1.87k|            if (entries[i].me_value != NULL) {
  ------------------
  |  Branch (5109:17): [True: 1.85k, False: 20]
  ------------------
 5110|  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]
  |  |  ------------------
  ------------------
 5111|  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]
  |  |  ------------------
  ------------------
 5112|  1.85k|            }
 5113|  1.87k|        }
 5114|    310|    }
 5115|  3.16k|    return 0;
 5116|  3.16k|}
dictobject.c:dict_tp_clear:
 5120|     10|{
 5121|     10|    PyDict_Clear(op);
 5122|     10|    return 0;
 5123|     10|}
dictobject.c:dict_iter:
 5479|     13|{
 5480|     13|    PyDictObject *dict = (PyDictObject *)self;
 5481|     13|    return dictiter_new(dict, &PyDictIterKey_Type);
 5482|     13|}
dictobject.c:dictiter_new:
 5616|    120|{
 5617|    120|    Py_ssize_t used;
 5618|    120|    dictiterobject *di;
 5619|    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))
  |  |  ------------------
  ------------------
 5620|    120|    if (di == NULL) {
  ------------------
  |  Branch (5620:9): [True: 0, False: 120]
  ------------------
 5621|      0|        return NULL;
 5622|      0|    }
 5623|    120|    di->di_dict = (PyDictObject*)Py_NewRef(dict);
  ------------------
  |  |  550|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5624|    120|    used = GET_USED(dict);
  ------------------
  |  |  328|    120|#define GET_USED(ep) FT_ATOMIC_LOAD_SSIZE_RELAXED((ep)->ma_used)
  |  |  ------------------
  |  |  |  |  149|    120|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  |  |  ------------------
  ------------------
 5625|    120|    di->di_used = used;
 5626|    120|    di->len = used;
 5627|    120|    if (itertype == &PyDictRevIterKey_Type ||
  ------------------
  |  Branch (5627:9): [True: 0, False: 120]
  ------------------
 5628|    120|         itertype == &PyDictRevIterItem_Type ||
  ------------------
  |  Branch (5628:10): [True: 0, False: 120]
  ------------------
 5629|    120|         itertype == &PyDictRevIterValue_Type) {
  ------------------
  |  Branch (5629:10): [True: 0, False: 120]
  ------------------
 5630|      0|        if (_PyDict_HasSplitTable(dict)) {
  ------------------
  |  |   56|      0|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (56:34): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5631|      0|            di->di_pos = used - 1;
 5632|      0|        }
 5633|      0|        else {
 5634|      0|            di->di_pos = load_keys_nentries(dict) - 1;
 5635|      0|        }
 5636|      0|    }
 5637|    120|    else {
 5638|    120|        di->di_pos = 0;
 5639|    120|    }
 5640|    120|    if (itertype == &PyDictIterItem_Type ||
  ------------------
  |  Branch (5640:9): [True: 95, False: 25]
  ------------------
 5641|     95|        itertype == &PyDictRevIterItem_Type) {
  ------------------
  |  Branch (5641:9): [True: 0, False: 25]
  ------------------
 5642|     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)
  ------------------
 5643|     95|        if (di->di_result == NULL) {
  ------------------
  |  Branch (5643:13): [True: 0, False: 95]
  ------------------
 5644|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5645|      0|            return NULL;
 5646|      0|        }
 5647|     95|    }
 5648|     25|    else {
 5649|     25|        di->di_result = NULL;
 5650|     25|    }
 5651|    120|    _PyObject_GC_TRACK(di);
  ------------------
  |  |  505|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5652|    120|    return (PyObject *)di;
 5653|    120|}
dictobject.c:dict___contains___impl:
 4767|      4|{
 4768|      4|    int contains = dict_contains((PyObject *)self, key);
 4769|      4|    if (contains < 0) {
  ------------------
  |  Branch (4769:9): [True: 0, False: 4]
  ------------------
 4770|      0|        return NULL;
 4771|      0|    }
 4772|      4|    if (contains) {
  ------------------
  |  Branch (4772:9): [True: 0, False: 4]
  ------------------
 4773|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4774|      0|    }
 4775|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4776|      4|}
dictobject.c:dict_get_impl:
 4791|    507|{
 4792|    507|    PyObject *val = NULL;
 4793|    507|    Py_hash_t hash;
 4794|    507|    Py_ssize_t ix;
 4795|       |
 4796|    507|    hash = _PyObject_HashDictKey(key);
 4797|    507|    if (hash == -1) {
  ------------------
  |  Branch (4797:9): [True: 0, False: 507]
  ------------------
 4798|      0|        dict_unhashable_type((PyObject*)self, key);
 4799|      0|        return NULL;
 4800|      0|    }
 4801|    507|    ix = _Py_dict_lookup_threadsafe(self, key, hash, &val);
 4802|    507|    if (ix == DKIX_ERROR)
  ------------------
  |  |  187|    507|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (4802:9): [True: 0, False: 507]
  ------------------
 4803|      0|        return NULL;
 4804|    507|    if (ix == DKIX_EMPTY || val == NULL) {
  ------------------
  |  |  185|  1.01k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (4804:9): [True: 305, False: 202]
  |  Branch (4804:29): [True: 0, False: 202]
  ------------------
 4805|    305|        val = Py_NewRef(default_value);
  ------------------
  |  |  550|    305|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    305|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    305|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4806|    305|    }
 4807|    507|    return val;
 4808|    507|}
dictobject.c:dict_setdefault_impl:
 4950|     14|{
 4951|     14|    PyObject *val;
 4952|     14|    dict_setdefault_ref_lock_held((PyObject *)self, key, default_value, &val, 1);
 4953|     14|    return val;
 4954|     14|}
dictobject.c:dict_pop_impl:
 4988|    134|{
 4989|    134|    return dict_pop_default((PyObject*)self, key, default_value);
 4990|    134|}
dictobject.c:dict_keys_impl:
 7046|     12|{
 7047|     12|    return _PyDictView_New((PyObject *)self, &PyDictKeys_Type);
 7048|     12|}
dictobject.c:dict_items_impl:
 7158|     97|{
 7159|     97|    return _PyDictView_New((PyObject *)self, &PyDictItems_Type);
 7160|     97|}
dictobject.c:dict_values_impl:
 7248|      5|{
 7249|      5|    return _PyDictView_New((PyObject *)self, &PyDictValues_Type);
 7250|      5|}
dictobject.c:dict_update:
 4076|     31|{
 4077|     31|    if (dict_update_common(self, args, kwds, "update") != -1)
  ------------------
  |  Branch (4077:9): [True: 31, False: 0]
  ------------------
 4078|     31|        Py_RETURN_NONE;
  ------------------
  |  |  628|     31|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     31|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 4079|      0|    return NULL;
 4080|     31|}
dictobject.c:dict_update_common:
 4051|     38|{
 4052|     38|    PyObject *arg = NULL;
 4053|     38|    int result = 0;
 4054|       |
 4055|     38|    if (!PyArg_UnpackTuple(args, methname, 0, 1, &arg)) {
  ------------------
  |  Branch (4055:9): [True: 0, False: 38]
  ------------------
 4056|      0|        result = -1;
 4057|      0|    }
 4058|     38|    else if (arg != NULL) {
  ------------------
  |  Branch (4058:14): [True: 31, False: 7]
  ------------------
 4059|     31|        result = dict_update_arg(self, arg);
 4060|     31|    }
 4061|       |
 4062|     38|    if (result == 0 && kwds != NULL) {
  ------------------
  |  Branch (4062:9): [True: 38, False: 0]
  |  Branch (4062:24): [True: 0, False: 38]
  ------------------
 4063|      0|        if (PyArg_ValidateKeywordArguments(kwds))
  ------------------
  |  Branch (4063:13): [True: 0, False: 0]
  ------------------
 4064|      0|            result = dict_merge(self, kwds, 1, NULL);
 4065|      0|        else
 4066|      0|            result = -1;
 4067|      0|    }
 4068|     38|    return result;
 4069|     38|}
dictobject.c:dict_fromkeys_impl:
 4027|      6|{
 4028|      6|    return _PyDict_FromKeys((PyObject *)type, iterable, value);
 4029|      6|}
dictobject.c:dict_init:
 5397|      7|{
 5398|      7|    return dict_update_common(self, args, kwds, "dict");
 5399|      7|}
dictobject.c:dict_new:
 5385|     21|{
 5386|       |    /* tp_new ignores args/kwds; args/kwds are consumed by dict_init (tp_init). */
 5387|     21|    PyObject *self = dict_new_untracked(type);
 5388|     21|    if (self == NULL) {
  ------------------
  |  Branch (5388:9): [True: 0, False: 21]
  ------------------
 5389|      0|        return NULL;
 5390|      0|    }
 5391|     21|    _PyObject_GC_TRACK(self);
  ------------------
  |  |  505|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5392|     21|    return self;
 5393|     21|}
dictobject.c:dict_vectorcall:
 5404|     14|{
 5405|     14|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|     14|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
 5406|     14|    if (!_PyArg_CheckPositional("dict", nargs, 0, 1)) {
  ------------------
  |  |   31|     14|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 14, False: 0]
  |  |  |  Branch (31:27): [True: 14, False: 0]
  |  |  ------------------
  |  |   32|     14|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5407|      0|        return NULL;
 5408|      0|    }
 5409|       |
 5410|     14|    PyObject *self = dict_new(_PyType_CAST(type), NULL, NULL);
  ------------------
  |  |  770|     14|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (5410:31): [True: 14, False: 0]
  ------------------
 5411|     14|    if (self == NULL) {
  ------------------
  |  Branch (5411:9): [True: 0, False: 14]
  ------------------
 5412|      0|        return NULL;
 5413|      0|    }
 5414|     14|    if (nargs == 1) {
  ------------------
  |  Branch (5414:9): [True: 8, False: 6]
  ------------------
 5415|      8|        if (dict_update_arg(self, args[0]) < 0) {
  ------------------
  |  Branch (5415:13): [True: 0, False: 8]
  ------------------
 5416|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5417|      0|            return NULL;
 5418|      0|        }
 5419|      8|        args++;
 5420|      8|    }
 5421|     14|    if (kwnames != NULL) {
  ------------------
  |  Branch (5421:9): [True: 0, False: 14]
  ------------------
 5422|      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 (5422:32): [True: 0, False: 0]
  ------------------
 5423|      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 (5423:29): [True: 0, False: 0]
  ------------------
 5424|      0|            if (PyDict_SetItem(self, key, args[i]) < 0) {
  ------------------
  |  Branch (5424:17): [True: 0, False: 0]
  ------------------
 5425|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5426|      0|                return NULL;
 5427|      0|            }
 5428|      0|        }
 5429|      0|    }
 5430|     14|    return self;
 5431|     14|}
dictobject.c:dictiter_dealloc:
 5657|    120|{
 5658|    120|    dictiterobject *di = (dictiterobject *)self;
 5659|       |    /* bpo-31095: UnTrack is needed before calling any callbacks */
 5660|    120|    _PyObject_GC_UNTRACK(di);
  ------------------
  |  |  507|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5661|    120|    Py_XDECREF(di->di_dict);
  ------------------
  |  |  524|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5662|    120|    Py_XDECREF(di->di_result);
  ------------------
  |  |  524|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5663|    120|    PyObject_GC_Del(di);
 5664|    120|}
dictobject.c:dictiter_iternextkey:
 5780|    269|{
 5781|    269|    dictiterobject *di = (dictiterobject *)self;
 5782|    269|    PyDictObject *d = di->di_dict;
 5783|       |
 5784|    269|    if (d == NULL)
  ------------------
  |  Branch (5784:9): [True: 0, False: 269]
  ------------------
 5785|      0|        return NULL;
 5786|       |
 5787|    269|    PyObject *value;
 5788|       |#ifdef Py_GIL_DISABLED
 5789|       |    if (dictiter_iternext_threadsafe(d, self, &value, NULL) < 0) {
 5790|       |        value = NULL;
 5791|       |    }
 5792|       |#else
 5793|    269|    value = dictiter_iternextkey_lock_held(d, self);
 5794|    269|#endif
 5795|       |
 5796|    269|    return value;
 5797|    269|}
dictobject.c:dictiter_iternextkey_lock_held:
 5711|    269|{
 5712|    269|    dictiterobject *di = (dictiterobject *)self;
 5713|    269|    PyObject *key;
 5714|    269|    Py_ssize_t i;
 5715|    269|    PyDictKeysObject *k;
 5716|       |
 5717|    269|    assert (PyAnyDict_Check(d));
  ------------------
  |  Branch (5717:5): [True: 269, False: 0]
  |  Branch (5717:5): [True: 0, False: 0]
  ------------------
 5718|    269|    ASSERT_DICT_LOCKED(d);
 5719|       |
 5720|    269|    if (di->di_used != d->ma_used) {
  ------------------
  |  Branch (5720:9): [True: 0, False: 269]
  ------------------
 5721|      0|        PyErr_SetString(PyExc_RuntimeError,
 5722|      0|                        "dictionary changed size during iteration");
 5723|      0|        di->di_used = -1; /* Make this state sticky */
 5724|      0|        return NULL;
 5725|      0|    }
 5726|       |
 5727|    269|    i = di->di_pos;
 5728|    269|    k = d->ma_keys;
 5729|    269|    assert(i >= 0);
  ------------------
  |  Branch (5729:5): [True: 269, False: 0]
  ------------------
 5730|    269|    if (_PyDict_HasSplitTable(d)) {
  ------------------
  |  |   56|    269|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (56:34): [True: 0, False: 269]
  |  |  ------------------
  ------------------
 5731|      0|        if (i >= d->ma_used)
  ------------------
  |  Branch (5731:13): [True: 0, False: 0]
  ------------------
 5732|      0|            goto fail;
 5733|      0|        int index = get_index_from_order(d, i);
 5734|      0|        key = LOAD_SHARED_KEY(DK_UNICODE_ENTRIES(k)[index].me_key);
  ------------------
  |  |  260|      0|#define LOAD_SHARED_KEY(key) key
  ------------------
 5735|      0|        assert(d->ma_values->values[index] != NULL);
  ------------------
  |  Branch (5735:9): [True: 0, False: 0]
  ------------------
 5736|      0|    }
 5737|    269|    else {
 5738|    269|        Py_ssize_t n = k->dk_nentries;
 5739|    269|        if (DK_IS_UNICODE(k)) {
  ------------------
  |  |  294|    269|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (294:27): [True: 269, False: 0]
  |  |  ------------------
  ------------------
 5740|    269|            PyDictUnicodeEntry *entry_ptr = &DK_UNICODE_ENTRIES(k)[i];
 5741|    290|            while (i < n && entry_ptr->me_value == NULL) {
  ------------------
  |  Branch (5741:20): [True: 269, False: 21]
  |  Branch (5741:29): [True: 21, False: 248]
  ------------------
 5742|     21|                entry_ptr++;
 5743|     21|                i++;
 5744|     21|            }
 5745|    269|            if (i >= n)
  ------------------
  |  Branch (5745:17): [True: 21, False: 248]
  ------------------
 5746|     21|                goto fail;
 5747|    248|            key = entry_ptr->me_key;
 5748|    248|        }
 5749|      0|        else {
 5750|      0|            PyDictKeyEntry *entry_ptr = &DK_ENTRIES(k)[i];
 5751|      0|            while (i < n && entry_ptr->me_value == NULL) {
  ------------------
  |  Branch (5751:20): [True: 0, False: 0]
  |  Branch (5751:29): [True: 0, False: 0]
  ------------------
 5752|      0|                entry_ptr++;
 5753|      0|                i++;
 5754|      0|            }
 5755|      0|            if (i >= n)
  ------------------
  |  Branch (5755:17): [True: 0, False: 0]
  ------------------
 5756|      0|                goto fail;
 5757|      0|            key = entry_ptr->me_key;
 5758|      0|        }
 5759|    269|    }
 5760|       |    // We found an element (key), but did not expect it
 5761|    248|    if (di->len == 0) {
  ------------------
  |  Branch (5761:9): [True: 0, False: 248]
  ------------------
 5762|      0|        PyErr_SetString(PyExc_RuntimeError,
 5763|      0|                        "dictionary keys changed during iteration");
 5764|      0|        goto fail;
 5765|      0|    }
 5766|    248|    di->di_pos = i+1;
 5767|    248|    di->len--;
 5768|    248|    return Py_NewRef(key);
  ------------------
  |  |  550|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5769|       |
 5770|     21|fail:
 5771|     21|    di->di_dict = NULL;
 5772|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5773|       |    return NULL;
 5774|    248|}
dictobject.c:dictiter_len:
 5677|     79|{
 5678|     79|    dictiterobject *di = (dictiterobject *)self;
 5679|     79|    Py_ssize_t len = 0;
 5680|     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)
  |  |  ------------------
  |  |  |  |  149|     79|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  |  |  ------------------
  ------------------
  |  Branch (5680:9): [True: 79, False: 0]
  |  Branch (5680:32): [True: 79, False: 0]
  ------------------
 5681|     79|        len = FT_ATOMIC_LOAD_SSIZE_RELAXED(di->len);
  ------------------
  |  |  149|     79|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 5682|     79|    return PyLong_FromSize_t(len);
 5683|     79|}
dictobject.c:dictiter_iternextitem:
 6181|  1.09k|{
 6182|  1.09k|    dictiterobject *di = (dictiterobject *)self;
 6183|  1.09k|    PyDictObject *d = di->di_dict;
 6184|       |
 6185|  1.09k|    if (d == NULL)
  ------------------
  |  Branch (6185:9): [True: 0, False: 1.09k]
  ------------------
 6186|      0|        return NULL;
 6187|       |
 6188|  1.09k|    PyObject *key, *value;
 6189|       |#ifdef Py_GIL_DISABLED
 6190|       |    if (dictiter_iternext_threadsafe(d, self, &key, &value) == 0) {
 6191|       |#else
 6192|  1.09k|    if (dictiter_iternextitem_lock_held(d, self, &key, &value) == 0) {
  ------------------
  |  Branch (6192:9): [True: 1.00k, False: 93]
  ------------------
 6193|       |
 6194|  1.00k|#endif
 6195|  1.00k|        PyObject *result = di->di_result;
 6196|  1.00k|        if (acquire_iter_result(result)) {
  ------------------
  |  Branch (6196:13): [True: 295, False: 705]
  ------------------
 6197|    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 (6197:32): [True: 295, False: 0]
  ------------------
 6198|    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 (6198:34): [True: 295, False: 0]
  ------------------
 6199|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6200|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6201|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6202|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6203|       |            // bpo-42536: The GC may have untracked this result tuple. Since we're
 6204|       |            // recycling it, make sure it's tracked again:
 6205|    295|            _PyTuple_Recycle(result);
 6206|    295|        }
 6207|    705|        else {
 6208|    705|            result = _PyTuple_FromPairSteal(key, value);
 6209|    705|        }
 6210|  1.00k|        return result;
 6211|  1.00k|    }
 6212|     93|    return NULL;
 6213|  1.09k|}
dictobject.c:dictiter_iternextitem_lock_held:
 5958|  1.09k|{
 5959|  1.09k|    dictiterobject *di = (dictiterobject *)self;
 5960|  1.09k|    PyObject *key, *value;
 5961|  1.09k|    Py_ssize_t i;
 5962|       |
 5963|  1.09k|    assert (PyAnyDict_Check(d));
  ------------------
  |  Branch (5963:5): [True: 1.09k, False: 0]
  |  Branch (5963:5): [True: 0, False: 0]
  ------------------
 5964|  1.09k|    ASSERT_DICT_LOCKED(d);
 5965|       |
 5966|  1.09k|    if (di->di_used != d->ma_used) {
  ------------------
  |  Branch (5966:9): [True: 0, False: 1.09k]
  ------------------
 5967|      0|        PyErr_SetString(PyExc_RuntimeError,
 5968|      0|                        "dictionary changed size during iteration");
 5969|      0|        di->di_used = -1; /* Make this state sticky */
 5970|      0|        return -1;
 5971|      0|    }
 5972|       |
 5973|  1.09k|    i = FT_ATOMIC_LOAD_SSIZE_RELAXED(di->di_pos);
  ------------------
  |  |  149|  1.09k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 5974|       |
 5975|  1.09k|    assert(i >= 0);
  ------------------
  |  Branch (5975:5): [True: 1.09k, False: 0]
  ------------------
 5976|  1.09k|    if (_PyDict_HasSplitTable(d)) {
  ------------------
  |  |   56|  1.09k|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (56:34): [True: 0, False: 1.09k]
  |  |  ------------------
  ------------------
 5977|      0|        if (i >= d->ma_used)
  ------------------
  |  Branch (5977:13): [True: 0, False: 0]
  ------------------
 5978|      0|            goto fail;
 5979|      0|        int index = get_index_from_order(d, i);
 5980|      0|        key = LOAD_SHARED_KEY(DK_UNICODE_ENTRIES(d->ma_keys)[index].me_key);
  ------------------
  |  |  260|      0|#define LOAD_SHARED_KEY(key) key
  ------------------
 5981|      0|        value = d->ma_values->values[index];
 5982|      0|        assert(value != NULL);
  ------------------
  |  Branch (5982:9): [True: 0, False: 0]
  ------------------
 5983|      0|    }
 5984|  1.09k|    else {
 5985|  1.09k|        Py_ssize_t n = d->ma_keys->dk_nentries;
 5986|  1.09k|        if (DK_IS_UNICODE(d->ma_keys)) {
  ------------------
  |  |  294|  1.09k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (294:27): [True: 1.09k, False: 0]
  |  |  ------------------
  ------------------
 5987|  1.09k|            PyDictUnicodeEntry *entry_ptr = &DK_UNICODE_ENTRIES(d->ma_keys)[i];
 5988|  1.22k|            while (i < n && entry_ptr->me_value == NULL) {
  ------------------
  |  Branch (5988:20): [True: 1.13k, False: 93]
  |  Branch (5988:29): [True: 134, False: 1.00k]
  ------------------
 5989|    134|                entry_ptr++;
 5990|    134|                i++;
 5991|    134|            }
 5992|  1.09k|            if (i >= n)
  ------------------
  |  Branch (5992:17): [True: 93, False: 1.00k]
  ------------------
 5993|     93|                goto fail;
 5994|  1.00k|            key = entry_ptr->me_key;
 5995|  1.00k|            value = entry_ptr->me_value;
 5996|  1.00k|        }
 5997|      0|        else {
 5998|      0|            PyDictKeyEntry *entry_ptr = &DK_ENTRIES(d->ma_keys)[i];
 5999|      0|            while (i < n && entry_ptr->me_value == NULL) {
  ------------------
  |  Branch (5999:20): [True: 0, False: 0]
  |  Branch (5999:29): [True: 0, False: 0]
  ------------------
 6000|      0|                entry_ptr++;
 6001|      0|                i++;
 6002|      0|            }
 6003|      0|            if (i >= n)
  ------------------
  |  Branch (6003:17): [True: 0, False: 0]
  ------------------
 6004|      0|                goto fail;
 6005|      0|            key = entry_ptr->me_key;
 6006|      0|            value = entry_ptr->me_value;
 6007|      0|        }
 6008|  1.09k|    }
 6009|       |    // We found an element, but did not expect it
 6010|  1.00k|    if (di->len == 0) {
  ------------------
  |  Branch (6010:9): [True: 0, False: 1.00k]
  ------------------
 6011|      0|        PyErr_SetString(PyExc_RuntimeError,
 6012|      0|                        "dictionary keys changed during iteration");
 6013|      0|        goto fail;
 6014|      0|    }
 6015|  1.00k|    di->di_pos = i+1;
 6016|  1.00k|    di->len--;
 6017|  1.00k|    if (out_key != NULL) {
  ------------------
  |  Branch (6017:9): [True: 1.00k, False: 0]
  ------------------
 6018|  1.00k|        *out_key = Py_NewRef(key);
  ------------------
  |  |  550|  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6019|  1.00k|    }
 6020|  1.00k|    if (out_value != NULL) {
  ------------------
  |  Branch (6020:9): [True: 1.00k, False: 0]
  ------------------
 6021|  1.00k|        *out_value = Py_NewRef(value);
  ------------------
  |  |  550|  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6022|  1.00k|    }
 6023|  1.00k|    return 0;
 6024|       |
 6025|     93|fail:
 6026|     93|    di->di_dict = NULL;
 6027|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6028|     93|    return -1;
 6029|  1.00k|}
dictobject.c:acquire_iter_result:
 6171|  1.00k|{
 6172|  1.00k|    if (_PyObject_IsUniquelyReferenced(result)) {
  ------------------
  |  Branch (6172:9): [True: 295, False: 705]
  ------------------
 6173|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6174|    295|        return true;
 6175|    295|    }
 6176|    705|    return false;
 6177|  1.00k|}
dictobject.c:dictview_dealloc:
 6441|    114|{
 6442|    114|    _PyDictViewObject *dv = (_PyDictViewObject *)self;
 6443|       |    /* bpo-31095: UnTrack is needed before calling any callbacks */
 6444|    114|    _PyObject_GC_UNTRACK(dv);
  ------------------
  |  |  507|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6445|    114|    Py_XDECREF(dv->dv_dict);
  ------------------
  |  |  524|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6446|    114|    PyObject_GC_Del(dv);
 6447|    114|}
dictobject.c:dictkeys_iter:
 6627|     10|{
 6628|     10|    _PyDictViewObject *dv = (_PyDictViewObject *)self;
 6629|     10|    if (dv->dv_dict == NULL) {
  ------------------
  |  Branch (6629:9): [True: 0, False: 10]
  ------------------
 6630|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 6631|      0|    }
 6632|     10|    return dictiter_new(dv->dv_dict, &PyDictIterKey_Type);
 6633|     10|}
dictobject.c:dictitems_iter:
 7064|     95|{
 7065|     95|    _PyDictViewObject *dv = (_PyDictViewObject *)self;
 7066|     95|    if (dv->dv_dict == NULL) {
  ------------------
  |  Branch (7066:9): [True: 0, False: 95]
  ------------------
 7067|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 7068|      0|    }
 7069|     95|    return dictiter_new(dv->dv_dict, &PyDictIterItem_Type);
 7070|     95|}
dictobject.c:dictvalues_iter:
 7176|      2|{
 7177|      2|    _PyDictViewObject *dv = (_PyDictViewObject *)self;
 7178|      2|    if (dv->dv_dict == NULL) {
  ------------------
  |  Branch (7178:9): [True: 0, False: 2]
  ------------------
 7179|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 7180|      0|    }
 7181|      2|    return dictiter_new(dv->dv_dict, &PyDictIterValue_Type);
 7182|      2|}
dictobject.c:get_log2_bytes:
  804|  4.06k|{
  805|  4.06k|    int log2_bytes;
  806|  4.06k|    assert(log2_size >= PyDict_LOG_MINSIZE);
  ------------------
  |  Branch (806:5): [True: 4.06k, False: 0]
  ------------------
  807|       |
  808|  4.06k|    if (log2_size < 8) {
  ------------------
  |  Branch (808:9): [True: 4.00k, False: 62]
  ------------------
  809|  4.00k|        log2_bytes = log2_size;
  810|  4.00k|    }
  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.06k|    return log2_bytes;
  824|  4.06k|}
dictobject.c:init_keys_object:
  829|  4.06k|{
  830|       |#ifdef Py_REF_DEBUG
  831|       |    _Py_IncRefTotal(_PyThreadState_GET());
  832|       |#endif
  833|  4.06k|    dk->dk_refcnt = 1;
  834|  4.06k|    dk->dk_log2_size = log2_size;
  835|  4.06k|    dk->dk_log2_index_bytes = log2_bytes;
  836|  4.06k|    dk->dk_kind = kind;
  837|       |#ifdef Py_GIL_DISABLED
  838|       |    dk->dk_mutex = (PyMutex){0};
  839|       |#endif
  840|  4.06k|    dk->dk_nentries = 0;
  841|  4.06k|    dk->dk_usable = usable;
  842|  4.06k|    dk->dk_version = 0;
  843|  4.06k|    memset(&dk->dk_indices[0], 0xff, ((size_t)1 << log2_bytes));
  844|  4.06k|    memset(&dk->dk_indices[(size_t)1 << log2_bytes], 0, entry_size * usable);
  845|  4.06k|}
dictobject.c:insert_split_key:
 1944|  1.32k|{
 1945|  1.32k|    assert(PyUnicode_CheckExact(key));
  ------------------
  |  Branch (1945:5): [True: 1.32k, False: 0]
  ------------------
 1946|  1.32k|    Py_ssize_t ix;
 1947|       |
 1948|       |
 1949|       |#ifdef Py_GIL_DISABLED
 1950|       |    ix = unicodekeys_lookup_unicode_threadsafe(keys, key, hash);
 1951|       |    if (ix >= 0) {
 1952|       |        return ix;
 1953|       |    }
 1954|       |
 1955|       |    // We need to acquire the type lock before the keys mutex. Another lock
 1956|       |    // is never acquired below the keys mutex but a keys mutex can be acquired
 1957|       |    // elsewhere while we hold the types lock. To avoid deadlocks we must always
 1958|       |    // acquire the type lock first.
 1959|       |    Py_BEGIN_CRITICAL_SECTION_MUTEX(&_PyInterpreterState_GET()->types.mutex);
 1960|       |#endif
 1961|       |
 1962|  1.32k|    LOCK_KEYS(keys);
 1963|  1.32k|    ix = unicodekeys_lookup_unicode(keys, key, hash);
 1964|  1.32k|    if (ix == DKIX_EMPTY && keys->dk_usable > 0) {
  ------------------
  |  |  185|  2.65k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (1964:9): [True: 330, False: 995]
  |  Branch (1964:29): [True: 330, False: 0]
  ------------------
 1965|       |        // Insert into new slot
 1966|    330|        FT_ATOMIC_STORE_UINT32_RELAXED(keys->dk_version, 0);
  ------------------
  |  |  172|    330|#define FT_ATOMIC_STORE_UINT32_RELAXED(value, new_value) value = new_value
  ------------------
 1967|    330|        struct _instancekeysobject *shared_keys = _PyDictKeys_AsSharedKeys(keys);
 1968|    330|        PyTypeObject *type = FT_ATOMIC_LOAD_PTR_ACQUIRE(shared_keys->dsk_owning_type);
  ------------------
  |  |  150|    330|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
 1969|    330|        if (type) {
  ------------------
  |  Branch (1969:13): [True: 330, False: 0]
  ------------------
 1970|       |            // we acquired the type lock above
 1971|    330|            _PyType_Modified_Unlocked(type);
 1972|    330|        }
 1973|    330|        Py_ssize_t hashpos = find_empty_slot(keys, hash);
 1974|    330|        ix = keys->dk_nentries;
 1975|    330|        dictkeys_set_index(keys, hashpos, ix);
 1976|    330|        PyDictUnicodeEntry *ep = &DK_UNICODE_ENTRIES(keys)[ix];
 1977|    330|        STORE_SHARED_KEY(ep->me_key, Py_NewRef(key));
  ------------------
  |  |  261|    330|#define STORE_SHARED_KEY(key, value) key = value
  ------------------
 1978|    330|        split_keys_entry_added(keys);
 1979|    330|    }
 1980|  1.32k|    assert (ix < SHARED_KEYS_MAX_SIZE);
  ------------------
  |  Branch (1980:5): [True: 1.32k, False: 0]
  ------------------
 1981|  1.32k|    UNLOCK_KEYS(keys);
 1982|       |
 1983|       |#ifdef Py_GIL_DISABLED
 1984|       |    Py_END_CRITICAL_SECTION();
 1985|       |#endif
 1986|  1.32k|    return ix;
 1987|  1.32k|}
dictobject.c:split_keys_entry_added:
  275|    330|{
  276|    330|    keys->dk_usable--;
  277|    330|    keys->dk_nentries++;
  278|    330|}
dictobject.c:store_instance_attr_lock_held:
 7447|    852|{
 7448|    852|    PyDictKeysObject *keys = CACHED_KEYS(Py_TYPE(obj));
  ------------------
  |  |  911|    852|#define CACHED_KEYS(tp) (((PyHeapTypeObject*)tp)->ht_cached_keys)
  ------------------
 7449|    852|    assert(keys != NULL);
  ------------------
  |  Branch (7449:5): [True: 852, False: 0]
  ------------------
 7450|    852|    assert(values != NULL);
  ------------------
  |  Branch (7450:5): [True: 852, False: 0]
  ------------------
 7451|    852|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  ------------------
  |  Branch (7451:5): [True: 852, False: 0]
  ------------------
 7452|    852|    Py_ssize_t ix = DKIX_EMPTY;
  ------------------
  |  |  185|    852|#define DKIX_EMPTY (-1)
  ------------------
 7453|    852|    PyDictObject *dict = _PyObject_GetManagedDict(obj);
 7454|    852|    assert(dict == NULL || ((PyDictObject *)dict)->ma_values == values);
  ------------------
  |  Branch (7454:5): [True: 852, False: 0]
  |  Branch (7454:5): [True: 0, False: 0]
  ------------------
 7455|    852|    if (PyUnicode_CheckExact(name)) {
  ------------------
  |  |  104|    852|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|    852|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    852|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    852|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 852, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7456|    852|        Py_hash_t hash = unicode_get_hash(name);
 7457|    852|        if (hash == -1) {
  ------------------
  |  Branch (7457:13): [True: 0, False: 852]
  ------------------
 7458|      0|            hash = PyUnicode_Type.tp_hash(name);
 7459|      0|            assert(hash != -1);
  ------------------
  |  Branch (7459:13): [True: 0, False: 0]
  ------------------
 7460|      0|        }
 7461|       |
 7462|    852|        ix = insert_split_key(keys, name, hash);
 7463|       |
 7464|       |#ifdef Py_STATS
 7465|       |        if (ix == DKIX_EMPTY) {
 7466|       |            if (PyUnicode_CheckExact(name)) {
 7467|       |                if (shared_keys_usable_size(keys) == SHARED_KEYS_MAX_SIZE) {
 7468|       |                    OBJECT_STAT_INC(dict_materialized_too_big);
 7469|       |                }
 7470|       |                else {
 7471|       |                    OBJECT_STAT_INC(dict_materialized_new_key);
 7472|       |                }
 7473|       |            }
 7474|       |            else {
 7475|       |                OBJECT_STAT_INC(dict_materialized_str_subclass);
 7476|       |            }
 7477|       |        }
 7478|       |#endif
 7479|    852|    }
 7480|       |
 7481|    852|    if (ix == DKIX_EMPTY) {
  ------------------
  |  |  185|    852|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (7481:9): [True: 0, False: 852]
  ------------------
 7482|      0|        int res;
 7483|      0|        if (dict == NULL) {
  ------------------
  |  Branch (7483:13): [True: 0, False: 0]
  ------------------
 7484|       |            // Make the dict but don't publish it in the object
 7485|       |            // so that no one else will see it.
 7486|      0|            dict = make_dict_from_instance_attributes(keys, values);
 7487|      0|            if (dict == NULL ||
  ------------------
  |  Branch (7487:17): [True: 0, False: 0]
  ------------------
 7488|      0|                _PyDict_SetItem_LockHeld(dict, name, value) < 0) {
  ------------------
  |  Branch (7488:17): [True: 0, False: 0]
  ------------------
 7489|      0|                Py_XDECREF(dict);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7490|      0|                return -1;
 7491|      0|            }
 7492|       |
 7493|      0|            FT_ATOMIC_STORE_PTR_RELEASE(_PyObject_ManagedDictPointer(obj)->dict,
  ------------------
  |  |  164|      0|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 7494|      0|                                        (PyDictObject *)dict);
 7495|      0|            return 0;
 7496|      0|        }
 7497|       |
 7498|      0|        _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(dict);
 7499|       |
 7500|      0|        res = _PyDict_SetItem_LockHeld(dict, name, value);
 7501|      0|        return res;
 7502|      0|    }
 7503|       |
 7504|    852|    PyObject *old_value = values->values[ix];
 7505|    852|    if (old_value == NULL && value == NULL) {
  ------------------
  |  Branch (7505:9): [True: 814, False: 38]
  |  Branch (7505:30): [True: 0, False: 814]
  ------------------
 7506|      0|        PyErr_Format(PyExc_AttributeError,
 7507|      0|                        "'%.100s' object has no attribute '%U'",
 7508|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7509|      0|        (void)_PyObject_SetAttributeErrorContext(obj, name);
 7510|      0|        return -1;
 7511|      0|    }
 7512|       |
 7513|    852|    if (dict) {
  ------------------
  |  Branch (7513:9): [True: 0, False: 852]
  ------------------
 7514|      0|        PyDict_WatchEvent event = (old_value == NULL ? PyDict_EVENT_ADDED :
  ------------------
  |  Branch (7514:36): [True: 0, False: 0]
  ------------------
 7515|      0|                                   value == NULL ? PyDict_EVENT_DELETED :
  ------------------
  |  Branch (7515:36): [True: 0, False: 0]
  ------------------
 7516|      0|                                   PyDict_EVENT_MODIFIED);
 7517|      0|        _PyDict_NotifyEvent(event, dict, name, value);
 7518|      0|    }
 7519|       |
 7520|    852|    FT_ATOMIC_STORE_PTR_RELEASE(values->values[ix], Py_XNewRef(value));
  ------------------
  |  |  164|    852|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 7521|       |
 7522|    852|    if (old_value == NULL) {
  ------------------
  |  Branch (7522:9): [True: 814, False: 38]
  ------------------
 7523|    814|        _PyDictValues_AddToInsertionOrder(values, ix);
 7524|    814|        if (dict) {
  ------------------
  |  Branch (7524:13): [True: 0, False: 814]
  ------------------
 7525|      0|            assert(dict->ma_values == values);
  ------------------
  |  Branch (7525:13): [True: 0, False: 0]
  ------------------
 7526|      0|            STORE_USED(dict, dict->ma_used + 1);
  ------------------
  |  |  336|      0|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  194|      0|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 7527|      0|        }
 7528|    814|    }
 7529|     38|    else {
 7530|     38|        if (value == NULL) {
  ------------------
  |  Branch (7530:13): [True: 0, False: 38]
  ------------------
 7531|      0|            delete_index_from_values(values, ix);
 7532|      0|            if (dict) {
  ------------------
  |  Branch (7532:17): [True: 0, False: 0]
  ------------------
 7533|      0|                assert(dict->ma_values == values);
  ------------------
  |  Branch (7533:17): [True: 0, False: 0]
  ------------------
 7534|      0|                STORE_USED(dict, dict->ma_used - 1);
  ------------------
  |  |  336|      0|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  194|      0|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 7535|      0|            }
 7536|      0|        }
 7537|     38|        Py_DECREF(old_value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7538|     38|    }
 7539|    852|    return 0;
 7540|    852|}
dictobject.c:clear_inline_values:
 7781|    516|{
 7782|    516|    if (values->valid) {
  ------------------
  |  Branch (7782:9): [True: 516, False: 0]
  ------------------
 7783|    516|        FT_ATOMIC_STORE_UINT8(values->valid, 0);
  ------------------
  |  |  155|    516|#define FT_ATOMIC_STORE_UINT8(value, new_value) value = new_value
  ------------------
 7784|  6.52k|        for (Py_ssize_t i = 0; i < values->capacity; i++) {
  ------------------
  |  Branch (7784:32): [True: 6.00k, False: 516]
  ------------------
 7785|       |            Py_CLEAR(values->values[i]);
  ------------------
  |  |  484|  6.00k|    do { \
  |  |  485|  6.00k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|  6.00k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  6.00k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|  6.00k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  6.00k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  6.00k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 1.35k, False: 4.64k]
  |  |  ------------------
  |  |  488|  1.35k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  1.35k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  1.35k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  1.35k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.35k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.35k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  1.35k|        } \
  |  |  491|  6.00k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 6.00k]
  |  |  ------------------
  ------------------
 7786|  6.00k|        }
 7787|    516|    }
 7788|    516|}
dictobject.c:set_keys:
  282|  1.94k|{
  283|  1.94k|    mp->ma_keys = keys;
  284|  1.94k|}
dictobject.c:dictkeys_decref:
  495|  2.12k|{
  496|  2.12k|    if (FT_ATOMIC_LOAD_SSIZE_RELAXED(dk->dk_refcnt) < 0) {
  ------------------
  |  |  149|  2.12k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
  |  Branch (496:9): [True: 939, False: 1.18k]
  ------------------
  497|    939|        assert(FT_ATOMIC_LOAD_SSIZE_RELAXED(dk->dk_refcnt) == _Py_DICT_IMMORTAL_INITIAL_REFCNT);
  ------------------
  |  Branch (497:9): [True: 939, False: 0]
  ------------------
  498|    939|        return;
  499|    939|    }
  500|  2.12k|    assert(FT_ATOMIC_LOAD_SSIZE(dk->dk_refcnt) > 0);
  ------------------
  |  Branch (500:5): [True: 1.18k, False: 0]
  ------------------
  501|       |#ifdef Py_REF_DEBUG
  502|       |    _Py_DecRefTotal(_PyThreadState_GET());
  503|       |#endif
  504|  1.18k|    if (DECREF_KEYS(dk) == 1) {
  ------------------
  |  |  263|  1.18k|#define DECREF_KEYS(dk)  dk->dk_refcnt--
  ------------------
  |  Branch (504:9): [True: 1.17k, False: 7]
  ------------------
  505|  1.17k|        if (DK_IS_UNICODE(dk)) {
  ------------------
  |  |  294|  1.17k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (294:27): [True: 1.16k, False: 16]
  |  |  ------------------
  ------------------
  506|  1.16k|            PyDictUnicodeEntry *entries = DK_UNICODE_ENTRIES(dk);
  507|  1.16k|            Py_ssize_t i, n;
  508|  10.5k|            for (i = 0, n = dk->dk_nentries; i < n; i++) {
  ------------------
  |  Branch (508:46): [True: 9.39k, False: 1.16k]
  ------------------
  509|  9.39k|                Py_XDECREF(entries[i].me_key);
  ------------------
  |  |  524|  9.39k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.39k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  510|  9.39k|                Py_XDECREF(entries[i].me_value);
  ------------------
  |  |  524|  9.39k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.39k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  9.39k|            }
  512|  1.16k|        }
  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);
  ------------------
  |  |  524|     79|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     79|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     79|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  518|     79|                Py_XDECREF(entries[i].me_value);
  ------------------
  |  |  524|     79|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     79|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     79|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  519|     79|            }
  520|     16|        }
  521|  1.17k|        free_keys_object(dk, use_qsbr);
  522|  1.17k|    }
  523|  1.18k|}
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:
 8079|  2.64k|{
 8080|  2.64k|    PyDictKeysObject *cached;
 8081|       |
 8082|  2.64k|    PyObject *dict = FT_ATOMIC_LOAD_PTR_ACQUIRE(*dictptr);
  ------------------
  |  |  150|  2.64k|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
 8083|  2.64k|    if (dict == NULL) {
  ------------------
  |  Branch (8083:9): [True: 490, False: 2.15k]
  ------------------
 8084|       |#ifdef Py_GIL_DISABLED
 8085|       |        Py_BEGIN_CRITICAL_SECTION(obj);
 8086|       |        dict = *dictptr;
 8087|       |        if (dict != NULL) {
 8088|       |            goto done;
 8089|       |        }
 8090|       |#endif
 8091|    490|        PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|    490|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    490|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    490|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8092|    490|        if (_PyType_HasFeature(tp, Py_TPFLAGS_HEAPTYPE) && (cached = CACHED_KEYS(tp))) {
  ------------------
  |  |  503|    490|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
                      if (_PyType_HasFeature(tp, Py_TPFLAGS_HEAPTYPE) && (cached = CACHED_KEYS(tp))) {
  ------------------
  |  |  911|    227|#define CACHED_KEYS(tp) (((PyHeapTypeObject*)tp)->ht_cached_keys)
  ------------------
  |  Branch (8092:13): [True: 227, False: 263]
  |  Branch (8092:60): [True: 144, False: 83]
  ------------------
 8093|    144|            assert(!_PyType_HasFeature(tp, Py_TPFLAGS_INLINE_VALUES));
  ------------------
  |  Branch (8093:13): [True: 144, False: 0]
  ------------------
 8094|    144|            dict = new_dict_with_shared_keys(cached);
 8095|    144|        }
 8096|    346|        else {
 8097|    346|            dict = PyDict_New();
 8098|    346|        }
 8099|    490|        FT_ATOMIC_STORE_PTR_RELEASE(*dictptr, dict);
  ------------------
  |  |  164|    490|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 8100|       |#ifdef Py_GIL_DISABLED
 8101|       |done:
 8102|       |        Py_END_CRITICAL_SECTION();
 8103|       |#endif
 8104|    490|    }
 8105|  2.64k|    return dict;
 8106|  2.64k|}
dictobject.c:get_next_dict_keys_version:
 8155|    128|{
 8156|       |#ifdef Py_GIL_DISABLED
 8157|       |    uint32_t v;
 8158|       |    do {
 8159|       |        v = _Py_atomic_load_uint32_relaxed(
 8160|       |            &interp->dict_state.next_keys_version);
 8161|       |        if (v == 0) {
 8162|       |            return 0;
 8163|       |        }
 8164|       |    } while (!_Py_atomic_compare_exchange_uint32(
 8165|       |        &interp->dict_state.next_keys_version, &v, v + 1));
 8166|       |#else
 8167|    128|    if (interp->dict_state.next_keys_version == 0) {
  ------------------
  |  Branch (8167:9): [True: 0, False: 128]
  ------------------
 8168|      0|        return 0;
 8169|      0|    }
 8170|    128|    uint32_t v = interp->dict_state.next_keys_version++;
 8171|    128|#endif
 8172|    128|    return v;
 8173|    128|}
dictobject.c:ensure_shared_on_keys_version_assignment:
 1470|  1.62k|{
 1471|  1.62k|    ASSERT_DICT_LOCKED((PyObject *) mp);
 1472|       |    #ifdef Py_GIL_DISABLED
 1473|       |    if (!IS_DICT_SHARED(mp)) {
 1474|       |        // This ensures that a concurrent resize operation will delay
 1475|       |        // freeing the old keys or values using QSBR, which is necessary to
 1476|       |        // safely allow concurrent reads without locking.
 1477|       |        SET_DICT_SHARED(mp);
 1478|       |    }
 1479|       |    #endif
 1480|  1.62k|}
dictobject.c:validate_watcher_id:
 8203|  1.51k|{
 8204|  1.51k|    if (watcher_id < 0 || watcher_id >= DICT_MAX_WATCHERS) {
  ------------------
  |  |   11|  1.51k|#define DICT_MAX_WATCHERS 8
  ------------------
  |  Branch (8204:9): [True: 0, False: 1.51k]
  |  Branch (8204:27): [True: 0, False: 1.51k]
  ------------------
 8205|      0|        PyErr_Format(PyExc_ValueError, "Invalid dict watcher ID %d", watcher_id);
 8206|      0|        return -1;
 8207|      0|    }
 8208|  1.51k|    PyDict_WatchCallback cb = FT_ATOMIC_LOAD_PTR_RELAXED(
  ------------------
  |  |  153|  1.51k|#define FT_ATOMIC_LOAD_PTR_RELAXED(value) value
  ------------------
 8209|  1.51k|        interp->dict_state.watchers[watcher_id]);
 8210|  1.51k|    if (cb == NULL) {
  ------------------
  |  Branch (8210:9): [True: 0, False: 1.51k]
  ------------------
 8211|      0|        PyErr_Format(PyExc_ValueError, "No dict watcher set for ID %d", watcher_id);
 8212|      0|        return -1;
 8213|      0|    }
 8214|  1.51k|    return 0;
 8215|  1.51k|}
dictobject.c:frozendict_new_untracked:
 8497|      1|{
 8498|      1|    assert(PyObject_IsSubclass((PyObject*)type, (PyObject*)&PyFrozenDict_Type));
  ------------------
  |  Branch (8498:5): [True: 1, False: 0]
  ------------------
 8499|       |
 8500|      1|    PyObject *d = anydict_new_untracked(type);
 8501|      1|    if (d == NULL) {
  ------------------
  |  Branch (8501:9): [True: 0, False: 1]
  ------------------
 8502|      0|        return NULL;
 8503|      0|    }
 8504|      1|    assert(can_modify_dict(_PyAnyDict_CAST(d)));
  ------------------
  |  Branch (8504:5): [True: 0, False: 1]
  |  Branch (8504:5): [True: 1, False: 0]
  |  Branch (8504:5): [True: 1, False: 0]
  ------------------
 8505|      1|    _PyFrozenDictObject_CAST(d)->ma_hash = -1;
  ------------------
  |  |  455|      1|    (assert(PyFrozenDict_Check(op)), _Py_CAST(PyFrozenDictObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (8505:5): [True: 1, False: 0]
  ------------------
 8506|      0|    return d;
 8507|      1|}
dictobject.c:frozendict_vectorcall:
 5436|      1|{
 5437|      1|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|      1|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
 5438|      1|    if (!_PyArg_CheckPositional("frozendict", nargs, 0, 1)) {
  ------------------
  |  |   31|      1|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 1, False: 0]
  |  |  |  Branch (31:27): [True: 1, False: 0]
  |  |  ------------------
  |  |   32|      1|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5439|      0|        return NULL;
 5440|      0|    }
 5441|       |
 5442|      1|    if (nargs == 1 && kwnames == NULL
  ------------------
  |  Branch (5442:9): [True: 1, False: 0]
  |  Branch (5442:23): [True: 1, False: 0]
  ------------------
 5443|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5444|      0|        && Py_Is((PyTypeObject*)type, &PyFrozenDict_Type))
  ------------------
  |  |  187|      0|#define Py_Is(x, y) ((x) == (y))
  |  |  ------------------
  |  |  |  Branch (187:21): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5445|      0|    {
 5446|       |        // frozendict(frozendict) returns the same object unmodified
 5447|      0|        return Py_NewRef(args[0]);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5448|      0|    }
 5449|       |
 5450|       |    /* gh-151722: Keep the frozendict untracked until it is fully built,
 5451|       |       so a half-built object is never reachable from another thread (using the gc module). */
 5452|      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 (5452:47): [True: 1, False: 0]
  ------------------
 5453|      1|    if (self == NULL) {
  ------------------
  |  Branch (5453:9): [True: 0, False: 1]
  ------------------
 5454|      0|        return NULL;
 5455|      0|    }
 5456|      1|    if (nargs == 1) {
  ------------------
  |  Branch (5456:9): [True: 1, False: 0]
  ------------------
 5457|      1|        if (dict_update_arg(self, args[0]) < 0) {
  ------------------
  |  Branch (5457:13): [True: 0, False: 1]
  ------------------
 5458|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5459|      0|            return NULL;
 5460|      0|        }
 5461|      1|        args++;
 5462|      1|    }
 5463|      1|    if (kwnames != NULL) {
  ------------------
  |  Branch (5463:9): [True: 0, False: 1]
  ------------------
 5464|      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 (5464:32): [True: 0, False: 0]
  ------------------
 5465|      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 (5465:29): [True: 0, False: 0]
  ------------------
 5466|      0|            if (_PyAnyDict_SetItem(self, key, args[i]) < 0) {
  ------------------
  |  Branch (5466:17): [True: 0, False: 0]
  ------------------
 5467|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5468|      0|                return NULL;
 5469|      0|            }
 5470|      0|        }
 5471|      0|    }
 5472|       |
 5473|      1|    _PyObject_GC_TRACK(self);
  ------------------
  |  |  505|      1|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5474|      1|    return self;
 5475|      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);
  ------------------
  |  |  524|     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);
  ------------------
  |  |  524|     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);
  ------------------
  |  |  524|     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);
  ------------------
  |  |  149|    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);
  ------------------
  |  |  194|    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|     13|{
  306|     13|    Py_ssize_t n;
  307|     13|    PyObject *reversed_meth;
  308|     13|    reversedobject *ro;
  309|       |
  310|     13|    reversed_meth = _PyObject_LookupSpecial(seq, &_Py_ID(__reversed__));
  ------------------
  |  |  936|     13|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     13|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     13|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  311|     13|    if (reversed_meth == Py_None) {
  ------------------
  |  |  616|     13|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (311:9): [True: 0, False: 13]
  ------------------
  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|     13|    if (reversed_meth != NULL) {
  ------------------
  |  Branch (318:9): [True: 13, False: 0]
  ------------------
  319|     13|        PyObject *res = _PyObject_CallNoArgs(reversed_meth);
  320|     13|        Py_DECREF(reversed_meth);
  ------------------
  |  |  430|     13|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     13|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     13|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  321|     13|        return res;
  322|     13|    }
  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);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _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:
  500|    963|{
  501|    963|    PyObject *traceback;
  502|    963|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|    963|    {
  ------------------
  503|    963|    traceback = Py_XNewRef(PyBaseExceptionObject_CAST(self)->traceback);
  ------------------
  |  |  551|    963|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    963|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    963|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  504|    963|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    963|    }
  ------------------
  505|    963|    return traceback;
  506|    963|}
PyException_SetTraceback:
  511|    450|{
  512|    450|    int res;
  513|    450|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|    450|    {
  ------------------
  514|    450|    res = BaseException___traceback___set_impl(PyBaseExceptionObject_CAST(self), tb);
  515|    450|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    450|    }
  ------------------
  516|    450|    return res;
  517|    450|}
PyException_SetCause:
  532|      2|{
  533|      2|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      2|    {
  ------------------
  534|      2|    PyBaseExceptionObject *base_self = PyBaseExceptionObject_CAST(self);
  535|      2|    base_self->suppress_context = 1;
  536|      2|    Py_XSETREF(base_self->cause, cause);
  ------------------
  |  |  376|      2|    do { \
  |  |  377|      2|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|      2|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|      2|        *_tmp_dst_ptr = (src); \
  |  |  380|      2|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  537|      2|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      2|    }
  ------------------
  538|      2|}
PyException_GetContext:
  542|     21|{
  543|     21|    PyObject *context;
  544|     21|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|     21|    {
  ------------------
  545|     21|    context = Py_XNewRef(PyBaseExceptionObject_CAST(self)->context);
  ------------------
  |  |  551|     21|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     21|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  546|     21|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     21|    }
  ------------------
  547|     21|    return context;
  548|     21|}
PyException_SetContext:
  553|     21|{
  554|     21|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|     21|    {
  ------------------
  555|     21|    Py_XSETREF(PyBaseExceptionObject_CAST(self)->context, context);
  ------------------
  |  |  376|     21|    do { \
  |  |  377|     21|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|     21|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|     21|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|     21|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|     21|        *_tmp_dst_ptr = (src); \
  |  |  380|     21|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|     21|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     21|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|     21|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 21]
  |  |  ------------------
  ------------------
  556|     21|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     21|    }
  ------------------
  557|     21|}
PyUnicodeDecodeError_Create:
 3977|      7|{
 3978|      7|    return PyObject_CallFunction(PyExc_UnicodeDecodeError, "sy#nns",
 3979|      7|                                 encoding, object, length, start, end, reason);
 3980|      7|}
_PyExc_InitTypes:
 4539|      2|{
 4540|    140|    for (size_t i=0; i < Py_ARRAY_LENGTH(static_exceptions); i++) {
  ------------------
  |  |  221|    140|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (4540:22): [True: 138, False: 2]
  ------------------
 4541|    138|        PyTypeObject *exc = static_exceptions[i].exc;
 4542|    138|        if (_PyStaticType_InitBuiltin(interp, exc) < 0) {
  ------------------
  |  Branch (4542:13): [True: 0, False: 138]
  ------------------
 4543|      0|            return -1;
 4544|      0|        }
 4545|    138|        if (exc->tp_new == BaseException_new
  ------------------
  |  Branch (4545:13): [True: 102, False: 36]
  ------------------
 4546|    102|            && exc->tp_init == BaseException_init)
  ------------------
  |  Branch (4546:16): [True: 72, False: 30]
  ------------------
 4547|     72|        {
 4548|     72|            exc->tp_vectorcall = BaseException_vectorcall;
 4549|     72|        }
 4550|    138|    }
 4551|      2|    return 0;
 4552|      2|}
_PyExc_InitGlobalObjects:
 4567|      2|{
 4568|      2|    if (preallocate_memerrors() < 0) {
  ------------------
  |  Branch (4568:9): [True: 0, False: 2]
  ------------------
 4569|      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)}
  |  |  ------------------
  ------------------
 4570|      0|    }
 4571|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 4572|      2|}
_PyExc_InitState:
 4576|      2|{
 4577|      2|    struct _Py_exc_state *state = &interp->exc_state;
 4578|       |
 4579|      2|#define ADD_ERRNO(TYPE, CODE) \
 4580|      2|    do { \
 4581|      2|        PyObject *_code = PyLong_FromLong(CODE); \
 4582|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
 4583|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
 4584|      2|            Py_XDECREF(_code); \
 4585|      2|            return _PyStatus_ERR("errmap insertion problem."); \
 4586|      2|        } \
 4587|      2|        Py_DECREF(_code); \
 4588|      2|    } while (0)
 4589|       |
 4590|       |    /* Add exceptions to errnomap */
 4591|      2|    assert(state->errnomap == NULL);
  ------------------
  |  Branch (4591:5): [True: 2, False: 0]
  ------------------
 4592|      2|    state->errnomap = PyDict_New();
 4593|      2|    if (!state->errnomap) {
  ------------------
  |  Branch (4593:9): [True: 0, False: 2]
  ------------------
 4594|      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)}
  |  |  ------------------
  ------------------
 4595|      0|    }
 4596|       |
 4597|      2|    ADD_ERRNO(BlockingIOError, EAGAIN);
  ------------------
  |  | 4580|      2|    do { \
  |  | 4581|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4582|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4583|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4583:13): [True: 0, False: 2]
  |  |  |  Branch (4583:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4584|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4585|      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)}
  |  |  ------------------
  |  | 4586|      0|        } \
  |  | 4587|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4588|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4588:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4597:5): [True: 2, False: 0]
  ------------------
 4598|      2|    ADD_ERRNO(BlockingIOError, EALREADY);
  ------------------
  |  | 4580|      2|    do { \
  |  | 4581|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4582|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4583|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4583:13): [True: 0, False: 2]
  |  |  |  Branch (4583:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4584|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4585|      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)}
  |  |  ------------------
  |  | 4586|      0|        } \
  |  | 4587|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4588|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4588:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4598:5): [True: 2, False: 0]
  ------------------
 4599|      2|    ADD_ERRNO(BlockingIOError, EINPROGRESS);
  ------------------
  |  | 4580|      2|    do { \
  |  | 4581|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4582|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4583|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4583:13): [True: 0, False: 2]
  |  |  |  Branch (4583:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4584|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4585|      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)}
  |  |  ------------------
  |  | 4586|      0|        } \
  |  | 4587|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4588|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4588:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4599:5): [True: 2, False: 0]
  ------------------
 4600|      2|    ADD_ERRNO(BlockingIOError, EWOULDBLOCK);
  ------------------
  |  | 4580|      2|    do { \
  |  | 4581|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4582|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4583|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4583:13): [True: 0, False: 2]
  |  |  |  Branch (4583:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4584|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4585|      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)}
  |  |  ------------------
  |  | 4586|      0|        } \
  |  | 4587|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4588|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4588:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4600:5): [True: 2, False: 0]
  ------------------
 4601|      2|    ADD_ERRNO(BrokenPipeError, EPIPE);
  ------------------
  |  | 4580|      2|    do { \
  |  | 4581|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4582|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4583|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4583:13): [True: 0, False: 2]
  |  |  |  Branch (4583:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4584|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4585|      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)}
  |  |  ------------------
  |  | 4586|      0|        } \
  |  | 4587|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4588|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4588:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4601:5): [True: 2, False: 0]
  ------------------
 4602|      2|#ifdef ESHUTDOWN
 4603|      2|    ADD_ERRNO(BrokenPipeError, ESHUTDOWN);
  ------------------
  |  | 4580|      2|    do { \
  |  | 4581|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4582|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4583|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4583:13): [True: 0, False: 2]
  |  |  |  Branch (4583:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4584|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4585|      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)}
  |  |  ------------------
  |  | 4586|      0|        } \
  |  | 4587|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4588|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4588:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4603:5): [True: 2, False: 0]
  ------------------
 4604|      2|#endif
 4605|      2|    ADD_ERRNO(ChildProcessError, ECHILD);
  ------------------
  |  | 4580|      2|    do { \
  |  | 4581|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4582|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4583|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4583:13): [True: 0, False: 2]
  |  |  |  Branch (4583:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4584|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4585|      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)}
  |  |  ------------------
  |  | 4586|      0|        } \
  |  | 4587|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4588|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4588:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4605:5): [True: 2, False: 0]
  ------------------
 4606|      2|    ADD_ERRNO(ConnectionAbortedError, ECONNABORTED);
  ------------------
  |  | 4580|      2|    do { \
  |  | 4581|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4582|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4583|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4583:13): [True: 0, False: 2]
  |  |  |  Branch (4583:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4584|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4585|      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)}
  |  |  ------------------
  |  | 4586|      0|        } \
  |  | 4587|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4588|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4588:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4606:5): [True: 2, False: 0]
  ------------------
 4607|      2|    ADD_ERRNO(ConnectionRefusedError, ECONNREFUSED);
  ------------------
  |  | 4580|      2|    do { \
  |  | 4581|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4582|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4583|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4583:13): [True: 0, False: 2]
  |  |  |  Branch (4583:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4584|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4585|      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)}
  |  |  ------------------
  |  | 4586|      0|        } \
  |  | 4587|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4588|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4588:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4607:5): [True: 2, False: 0]
  ------------------
 4608|      2|    ADD_ERRNO(ConnectionResetError, ECONNRESET);
  ------------------
  |  | 4580|      2|    do { \
  |  | 4581|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4582|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4583|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4583:13): [True: 0, False: 2]
  |  |  |  Branch (4583:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4584|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4585|      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)}
  |  |  ------------------
  |  | 4586|      0|        } \
  |  | 4587|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4588|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4588:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4608:5): [True: 2, False: 0]
  ------------------
 4609|      2|    ADD_ERRNO(FileExistsError, EEXIST);
  ------------------
  |  | 4580|      2|    do { \
  |  | 4581|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4582|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4583|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4583:13): [True: 0, False: 2]
  |  |  |  Branch (4583:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4584|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4585|      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)}
  |  |  ------------------
  |  | 4586|      0|        } \
  |  | 4587|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4588|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4588:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4609:5): [True: 2, False: 0]
  ------------------
 4610|      2|    ADD_ERRNO(FileNotFoundError, ENOENT);
  ------------------
  |  | 4580|      2|    do { \
  |  | 4581|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4582|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4583|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4583:13): [True: 0, False: 2]
  |  |  |  Branch (4583:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4584|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4585|      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)}
  |  |  ------------------
  |  | 4586|      0|        } \
  |  | 4587|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4588|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4588:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4610:5): [True: 2, False: 0]
  ------------------
 4611|      2|    ADD_ERRNO(IsADirectoryError, EISDIR);
  ------------------
  |  | 4580|      2|    do { \
  |  | 4581|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4582|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4583|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4583:13): [True: 0, False: 2]
  |  |  |  Branch (4583:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4584|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4585|      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)}
  |  |  ------------------
  |  | 4586|      0|        } \
  |  | 4587|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4588|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4588:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4611:5): [True: 2, False: 0]
  ------------------
 4612|      2|    ADD_ERRNO(NotADirectoryError, ENOTDIR);
  ------------------
  |  | 4580|      2|    do { \
  |  | 4581|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4582|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4583|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4583:13): [True: 0, False: 2]
  |  |  |  Branch (4583:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4584|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4585|      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)}
  |  |  ------------------
  |  | 4586|      0|        } \
  |  | 4587|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4588|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4588:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4612:5): [True: 2, False: 0]
  ------------------
 4613|      2|    ADD_ERRNO(InterruptedError, EINTR);
  ------------------
  |  | 4580|      2|    do { \
  |  | 4581|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4582|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4583|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4583:13): [True: 0, False: 2]
  |  |  |  Branch (4583:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4584|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4585|      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)}
  |  |  ------------------
  |  | 4586|      0|        } \
  |  | 4587|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4588|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4588:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4613:5): [True: 2, False: 0]
  ------------------
 4614|      2|    ADD_ERRNO(PermissionError, EACCES);
  ------------------
  |  | 4580|      2|    do { \
  |  | 4581|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4582|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4583|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4583:13): [True: 0, False: 2]
  |  |  |  Branch (4583:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4584|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4585|      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)}
  |  |  ------------------
  |  | 4586|      0|        } \
  |  | 4587|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4588|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4588:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4614:5): [True: 2, False: 0]
  ------------------
 4615|      2|    ADD_ERRNO(PermissionError, EPERM);
  ------------------
  |  | 4580|      2|    do { \
  |  | 4581|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4582|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4583|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4583:13): [True: 0, False: 2]
  |  |  |  Branch (4583:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4584|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4585|      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)}
  |  |  ------------------
  |  | 4586|      0|        } \
  |  | 4587|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4588|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4588:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4615:5): [True: 2, False: 0]
  ------------------
 4616|       |#ifdef ENOTCAPABLE
 4617|       |    // Extension for WASI capability-based security. Process lacks
 4618|       |    // capability to access a resource.
 4619|       |    ADD_ERRNO(PermissionError, ENOTCAPABLE);
 4620|       |#endif
 4621|      2|    ADD_ERRNO(ProcessLookupError, ESRCH);
  ------------------
  |  | 4580|      2|    do { \
  |  | 4581|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4582|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4583|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4583:13): [True: 0, False: 2]
  |  |  |  Branch (4583:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4584|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4585|      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)}
  |  |  ------------------
  |  | 4586|      0|        } \
  |  | 4587|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4588|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4588:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4621:5): [True: 2, False: 0]
  ------------------
 4622|      2|    ADD_ERRNO(TimeoutError, ETIMEDOUT);
  ------------------
  |  | 4580|      2|    do { \
  |  | 4581|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4582|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4583|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4583:13): [True: 0, False: 2]
  |  |  |  Branch (4583:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4584|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4585|      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)}
  |  |  ------------------
  |  | 4586|      0|        } \
  |  | 4587|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4588|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4588:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4622:5): [True: 2, False: 0]
  ------------------
 4623|       |#ifdef WSAETIMEDOUT
 4624|       |    ADD_ERRNO(TimeoutError, WSAETIMEDOUT);
 4625|       |#endif
 4626|       |
 4627|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 4628|       |
 4629|      2|#undef ADD_ERRNO
 4630|      2|}
_PyBuiltins_AddExceptions:
 4636|      2|{
 4637|      2|    PyObject *mod_dict = PyModule_GetDict(bltinmod);
 4638|      2|    if (mod_dict == NULL) {
  ------------------
  |  Branch (4638:9): [True: 0, False: 2]
  ------------------
 4639|      0|        return -1;
 4640|      0|    }
 4641|       |
 4642|    140|    for (size_t i=0; i < Py_ARRAY_LENGTH(static_exceptions); i++) {
  ------------------
  |  |  221|    140|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (4642:22): [True: 138, False: 2]
  ------------------
 4643|    138|        struct static_exception item = static_exceptions[i];
 4644|       |
 4645|    138|        if (PyDict_SetItemString(mod_dict, item.name, (PyObject*)item.exc)) {
  ------------------
  |  Branch (4645:13): [True: 0, False: 138]
  ------------------
 4646|      0|            return -1;
 4647|      0|        }
 4648|    138|    }
 4649|       |
 4650|      2|    PyObject *PyExc_ExceptionGroup = create_exception_group_class();
 4651|      2|    if (!PyExc_ExceptionGroup) {
  ------------------
  |  Branch (4651:9): [True: 0, False: 2]
  ------------------
 4652|      0|        return -1;
 4653|      0|    }
 4654|      2|    if (PyDict_SetItemString(mod_dict, "ExceptionGroup", PyExc_ExceptionGroup)) {
  ------------------
  |  Branch (4654:9): [True: 0, False: 2]
  ------------------
 4655|      0|        return -1;
 4656|      0|    }
 4657|      2|    if (PyDict_SetItemString(mod_dict, "EnvironmentError", PyExc_OSError)) {
  ------------------
  |  Branch (4657:9): [True: 0, False: 2]
  ------------------
 4658|      0|        return -1;
 4659|      0|    }
 4660|      2|    if (PyDict_SetItemString(mod_dict, "IOError", PyExc_OSError)) {
  ------------------
  |  Branch (4660:9): [True: 0, False: 2]
  ------------------
 4661|      0|        return -1;
 4662|      0|    }
 4663|       |#ifdef MS_WINDOWS
 4664|       |    if (PyDict_SetItemString(mod_dict, "WindowsError", PyExc_OSError)) {
 4665|       |        return -1;
 4666|       |    }
 4667|       |#endif
 4668|      2|    return 0;
 4669|      2|}
exceptions.c:PyBaseExceptionObject_CAST:
   45|  2.52k|{
   46|  2.52k|    assert(PyExceptionInstance_Check(exc));
  ------------------
  |  Branch (46:5): [True: 2.52k, False: 0]
  ------------------
   47|  2.52k|    return (PyBaseExceptionObject *)exc;
   48|  2.52k|}
exceptions.c:BaseException___traceback___set_impl:
  391|    450|{
  392|    450|    if (PyTraceBack_Check(value)) {
  ------------------
  |  |   14|    450|#define PyTraceBack_Check(v) Py_IS_TYPE((v), &PyTraceBack_Type)
  |  |  ------------------
  |  |  |  |  215|    450|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    450|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    450|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 446, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  393|    446|        Py_XSETREF(self->traceback, Py_NewRef(value));
  ------------------
  |  |  376|    446|    do { \
  |  |  377|    446|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|    446|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|    446|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|    446|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|    446|        *_tmp_dst_ptr = (src); \
  |  |  380|    446|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|    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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|    446|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 446]
  |  |  ------------------
  ------------------
  394|    446|    }
  395|      4|    else if (value == Py_None) {
  ------------------
  |  |  616|      4|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (395:14): [True: 4, False: 0]
  ------------------
  396|      4|        Py_CLEAR(self->traceback);
  ------------------
  |  |  484|      4|    do { \
  |  |  485|      4|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      4|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      4|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 4, False: 0]
  |  |  ------------------
  |  |  488|      4|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      4|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      4|        } \
  |  |  491|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  397|      4|    }
  398|      0|    else {
  399|      0|        PyErr_SetString(PyExc_TypeError,
  400|      0|                        "__traceback__ must be a traceback or None");
  401|      0|        return -1;
  402|      0|    }
  403|    450|    return 0;
  404|    450|}
exceptions.c:BaseException_dealloc:
  141|    331|{
  142|    331|    PyBaseExceptionObject *self = PyBaseExceptionObject_CAST(op);
  143|    331|    PyObject_GC_UnTrack(self);
  144|       |    // bpo-44348: The trashcan mechanism prevents stack overflow when deleting
  145|       |    // long chains of exceptions. For example, exceptions can be chained
  146|       |    // through the __context__ attributes or the __traceback__ attribute.
  147|    331|    (void)BaseException_clear(op);
  148|    331|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|    331|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    331|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    331|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  149|    331|}
exceptions.c:BaseException_str:
  166|     22|{
  167|     22|    PyBaseExceptionObject *self = PyBaseExceptionObject_CAST(op);
  168|       |
  169|     22|    PyObject *res;
  170|     22|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|     22|    {
  ------------------
  171|     22|    switch (PyTuple_GET_SIZE(self->args)) {
  ------------------
  |  |   27|     22|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  172|      0|    case 0:
  ------------------
  |  Branch (172:5): [True: 0, False: 22]
  ------------------
  173|      0|        res = Py_GetConstant(Py_CONSTANT_EMPTY_STR);
  ------------------
  |  |  597|      0|#define Py_CONSTANT_EMPTY_STR 7
  ------------------
  174|      0|        break;
  175|     22|    case 1:
  ------------------
  |  Branch (175:5): [True: 22, False: 0]
  ------------------
  176|     22|        res = PyObject_Str(PyTuple_GET_ITEM(self->args, 0));
  ------------------
  |  |   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 (176:28): [True: 22, False: 0]
  ------------------
  177|      0|        break;
  178|      0|    default:
  ------------------
  |  Branch (178:5): [True: 0, False: 22]
  ------------------
  179|      0|        res = PyObject_Str(self->args);
  180|      0|        break;
  181|     22|    }
  182|     22|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     22|    }
  ------------------
  183|     22|    return res;
  184|     22|}
exceptions.c:get_exc_state:
   33|    110|{
   34|    110|    PyInterpreterState *interp = _PyInterpreterState_GET();
   35|    110|    return &interp->exc_state;
   36|    110|}
exceptions.c:ImportError_dealloc:
 1836|     18|{
 1837|     18|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  507|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1838|     18|    (void)ImportError_clear(self);
 1839|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1840|     18|}
exceptions.c:PyImportErrorObject_CAST:
 1782|     36|{
 1783|     36|    assert(PyObject_TypeCheck(self, (PyTypeObject *)PyExc_ImportError));
  ------------------
  |  Branch (1783:5): [True: 36, False: 0]
  ------------------
 1784|     36|    return (PyImportErrorObject *)self;
 1785|     36|}
exceptions.c:ImportError_clear:
 1825|     18|{
 1826|     18|    PyImportErrorObject *self = PyImportErrorObject_CAST(op);
 1827|     18|    Py_CLEAR(self->msg);
  ------------------
  |  |  484|     18|    do { \
  |  |  485|     18|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|     18|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     18|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|     18|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     18|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     18|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 18, False: 0]
  |  |  ------------------
  |  |  488|     18|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     18|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     18|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|     18|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     18|        } \
  |  |  491|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 1828|     18|    Py_CLEAR(self->name);
  ------------------
  |  |  484|     18|    do { \
  |  |  485|     18|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|     18|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     18|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|     18|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     18|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     18|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 5, False: 13]
  |  |  ------------------
  |  |  488|      5|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      5|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      5|            Py_DECREF(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      5|        } \
  |  |  491|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 1829|     18|    Py_CLEAR(self->path);
  ------------------
  |  |  484|     18|    do { \
  |  |  485|     18|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|     18|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     18|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|     18|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     18|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     18|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 14, False: 4]
  |  |  ------------------
  |  |  488|     14|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     14|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     14|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|     14|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     14|        } \
  |  |  491|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 1830|       |    Py_CLEAR(self->name_from);
  ------------------
  |  |  484|     18|    do { \
  |  |  485|     18|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|     18|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     18|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|     18|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     18|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     18|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 1, False: 17]
  |  |  ------------------
  |  |  488|      1|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      1|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      1|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      1|        } \
  |  |  491|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 1831|     18|    return BaseException_clear(op);
 1832|     18|}
exceptions.c:ImportError_init:
 1789|     18|{
 1790|     18|    static char *kwlist[] = {"name", "path", "name_from", 0};
 1791|     18|    PyObject *empty_tuple;
 1792|     18|    PyObject *msg = NULL;
 1793|     18|    PyObject *name = NULL;
 1794|     18|    PyObject *path = NULL;
 1795|     18|    PyObject *name_from = NULL;
 1796|       |
 1797|     18|    if (BaseException_init(op, args, NULL) == -1)
  ------------------
  |  Branch (1797:9): [True: 0, False: 18]
  ------------------
 1798|      0|        return -1;
 1799|       |
 1800|     18|    PyImportErrorObject *self = PyImportErrorObject_CAST(op);
 1801|     18|    empty_tuple = PyTuple_New(0);
 1802|     18|    if (!empty_tuple)
  ------------------
  |  Branch (1802:9): [True: 0, False: 18]
  ------------------
 1803|      0|        return -1;
 1804|     18|    if (!PyArg_ParseTupleAndKeywords(empty_tuple, kwds, "|$OOO:ImportError", kwlist,
  ------------------
  |  Branch (1804:9): [True: 0, False: 18]
  ------------------
 1805|     18|                                     &name, &path, &name_from)) {
 1806|      0|        Py_DECREF(empty_tuple);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1807|      0|        return -1;
 1808|      0|    }
 1809|     18|    Py_DECREF(empty_tuple);
  ------------------
  |  |  430|     18|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1810|       |
 1811|     18|    Py_XSETREF(self->name, Py_XNewRef(name));
  ------------------
  |  |  376|     18|    do { \
  |  |  377|     18|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|     18|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|     18|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|     18|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|     18|        *_tmp_dst_ptr = (src); \
  |  |  380|     18|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|     18|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 1812|     18|    Py_XSETREF(self->path, Py_XNewRef(path));
  ------------------
  |  |  376|     18|    do { \
  |  |  377|     18|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|     18|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|     18|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|     18|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|     18|        *_tmp_dst_ptr = (src); \
  |  |  380|     18|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|     18|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 1813|     18|    Py_XSETREF(self->name_from, Py_XNewRef(name_from));
  ------------------
  |  |  376|     18|    do { \
  |  |  377|     18|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|     18|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|     18|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|     18|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|     18|        *_tmp_dst_ptr = (src); \
  |  |  380|     18|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|     18|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 1814|       |
 1815|     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 (1815:9): [True: 18, False: 0]
  ------------------
 1816|     18|        msg = Py_NewRef(PyTuple_GET_ITEM(args, 0));
  ------------------
  |  |  550|     18|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (37:38): [True: 18, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1817|     18|    }
 1818|     18|    Py_XSETREF(self->msg, msg);
  ------------------
  |  |  376|     18|    do { \
  |  |  377|     18|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|     18|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|     18|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|     18|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|     18|        *_tmp_dst_ptr = (src); \
  |  |  380|     18|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|     18|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 1819|       |
 1820|     18|    return 0;
 1821|     18|}
exceptions.c:OSError_dealloc:
 2310|     44|{
 2311|     44|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  507|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2312|     44|    (void)OSError_clear(self);
 2313|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2314|     44|}
exceptions.c:PyOSErrorObject_CAST:
 2024|     88|{
 2025|     88|    assert(PyObject_TypeCheck(self, (PyTypeObject *)PyExc_OSError));
  ------------------
  |  Branch (2025:5): [True: 88, False: 0]
  ------------------
 2026|     88|    return (PyOSErrorObject *)self;
 2027|     88|}
exceptions.c:OSError_clear:
 2296|     44|{
 2297|     44|    PyOSErrorObject *self = PyOSErrorObject_CAST(op);
 2298|     44|    Py_CLEAR(self->myerrno);
  ------------------
  |  |  484|     44|    do { \
  |  |  485|     44|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|     44|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     44|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|     44|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     44|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     44|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 44, False: 0]
  |  |  ------------------
  |  |  488|     44|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     44|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     44|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|     44|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     44|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     44|        } \
  |  |  491|     44|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 44]
  |  |  ------------------
  ------------------
 2299|     44|    Py_CLEAR(self->strerror);
  ------------------
  |  |  484|     44|    do { \
  |  |  485|     44|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|     44|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     44|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|     44|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     44|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     44|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 44, False: 0]
  |  |  ------------------
  |  |  488|     44|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     44|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     44|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|     44|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     44|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     44|        } \
  |  |  491|     44|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 44]
  |  |  ------------------
  ------------------
 2300|     44|    Py_CLEAR(self->filename);
  ------------------
  |  |  484|     44|    do { \
  |  |  485|     44|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|     44|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     44|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|     44|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     44|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     44|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 44, False: 0]
  |  |  ------------------
  |  |  488|     44|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     44|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     44|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|     44|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     44|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     44|        } \
  |  |  491|     44|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 44]
  |  |  ------------------
  ------------------
 2301|     44|    Py_CLEAR(self->filename2);
  ------------------
  |  |  484|     44|    do { \
  |  |  485|     44|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|     44|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     44|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|     44|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     44|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     44|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 44]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|     44|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 44]
  |  |  ------------------
  ------------------
 2302|       |#ifdef MS_WINDOWS
 2303|       |    Py_CLEAR(self->winerror);
 2304|       |#endif
 2305|     44|    return BaseException_clear(op);
 2306|     44|}
exceptions.c:OSError_init:
 2257|     44|{
 2258|     44|    PyOSErrorObject *self = PyOSErrorObject_CAST(op);
 2259|     44|    PyObject *myerrno = NULL, *strerror = NULL;
 2260|     44|    PyObject *filename = NULL, *filename2 = NULL;
 2261|       |#ifdef MS_WINDOWS
 2262|       |    PyObject *winerror = NULL;
 2263|       |#endif
 2264|       |
 2265|     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 (2265:9): [True: 44, False: 0]
  ------------------
 2266|       |        /* Everything already done in OSError_new */
 2267|     44|        return 0;
 2268|       |
 2269|      0|    if (!_PyArg_NoKeywords(Py_TYPE(self)->tp_name, kwds))
  ------------------
  |  |   25|      0|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (25:6): [True: 0, False: 0]
  |  |  |  Branch (25:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2270|      0|        return -1;
 2271|       |
 2272|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2273|      0|    if (oserror_parse_args(&args, &myerrno, &strerror, &filename, &filename2
  ------------------
  |  Branch (2273:9): [True: 0, False: 0]
  ------------------
 2274|       |#ifdef MS_WINDOWS
 2275|       |                           , &winerror
 2276|       |#endif
 2277|      0|        ))
 2278|      0|        goto error;
 2279|       |
 2280|      0|    if (oserror_init(self, &args, myerrno, strerror, filename, filename2
  ------------------
  |  Branch (2280:9): [True: 0, False: 0]
  ------------------
 2281|       |#ifdef MS_WINDOWS
 2282|       |                     , winerror
 2283|       |#endif
 2284|      0|        ))
 2285|      0|        goto error;
 2286|       |
 2287|      0|    return 0;
 2288|       |
 2289|      0|error:
 2290|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2291|      0|    return -1;
 2292|      0|}
exceptions.c:oserror_use_init:
 2169|    132|{
 2170|       |    /* When __init__ is defined in an OSError subclass, we want any
 2171|       |       extraneous argument to __new__ to be ignored.  The only reasonable
 2172|       |       solution, given __new__ takes a variable number of arguments,
 2173|       |       is to defer arg parsing and initialization to __init__.
 2174|       |
 2175|       |       But when __new__ is overridden as well, it should call our __new__
 2176|       |       with the right arguments.
 2177|       |
 2178|       |       (see http://bugs.python.org/issue12555#msg148829 )
 2179|       |    */
 2180|    132|    if (type->tp_init != OSError_init && type->tp_new == OSError_new) {
  ------------------
  |  Branch (2180:9): [True: 0, False: 132]
  |  Branch (2180:42): [True: 0, False: 0]
  ------------------
 2181|      0|        assert((PyObject *) type != PyExc_OSError);
  ------------------
  |  Branch (2181:9): [True: 0, False: 0]
  ------------------
 2182|      0|        return 1;
 2183|      0|    }
 2184|    132|    return 0;
 2185|    132|}
exceptions.c:oserror_parse_args:
 2058|     44|{
 2059|     44|    Py_ssize_t nargs;
 2060|     44|    PyObject *args = *p_args;
 2061|     44|#ifndef MS_WINDOWS
 2062|       |    /*
 2063|       |     * ignored on non-Windows platforms,
 2064|       |     * but parsed so OSError has a consistent signature
 2065|       |     */
 2066|     44|    PyObject *_winerror = NULL;
 2067|     44|    PyObject **winerror = &_winerror;
 2068|     44|#endif /* MS_WINDOWS */
 2069|       |
 2070|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2071|       |
 2072|     44|    if (nargs >= 2 && nargs <= 5) {
  ------------------
  |  Branch (2072:9): [True: 44, False: 0]
  |  Branch (2072:23): [True: 44, False: 0]
  ------------------
 2073|     44|        if (!PyArg_UnpackTuple(args, "OSError", 2, 5,
  ------------------
  |  Branch (2073:13): [True: 0, False: 44]
  ------------------
 2074|     44|                               myerrno, strerror,
 2075|     44|                               filename, winerror, filename2))
 2076|      0|            return -1;
 2077|       |#ifdef MS_WINDOWS
 2078|       |        if (*winerror && PyLong_Check(*winerror)) {
 2079|       |            long errcode, winerrcode;
 2080|       |            PyObject *newargs;
 2081|       |            Py_ssize_t i;
 2082|       |
 2083|       |            winerrcode = PyLong_AsLong(*winerror);
 2084|       |            if (winerrcode == -1 && PyErr_Occurred())
 2085|       |                return -1;
 2086|       |            errcode = winerror_to_errno(winerrcode);
 2087|       |            *myerrno = PyLong_FromLong(errcode);
 2088|       |            if (!*myerrno)
 2089|       |                return -1;
 2090|       |            newargs = PyTuple_New(nargs);
 2091|       |            if (!newargs)
 2092|       |                return -1;
 2093|       |            PyTuple_SET_ITEM(newargs, 0, *myerrno);
 2094|       |            for (i = 1; i < nargs; i++) {
 2095|       |                PyObject *val = PyTuple_GET_ITEM(args, i);
 2096|       |                PyTuple_SET_ITEM(newargs, i, Py_NewRef(val));
 2097|       |            }
 2098|       |            Py_DECREF(args);
 2099|       |            args = *p_args = newargs;
 2100|       |        }
 2101|       |#endif /* MS_WINDOWS */
 2102|     44|    }
 2103|       |
 2104|     44|    return 0;
 2105|     44|}
exceptions.c:oserror_init:
 2115|     44|{
 2116|     44|    PyObject *args = *p_args;
 2117|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2118|       |
 2119|       |    /* self->filename will remain Py_None otherwise */
 2120|     44|    if (filename && filename != Py_None) {
  ------------------
  |  |  616|     44|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2120:9): [True: 44, False: 0]
  |  Branch (2120:21): [True: 44, False: 0]
  ------------------
 2121|     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]
  |  |  ------------------
  ------------------
 2122|      0|            PyNumber_Check(filename)) {
  ------------------
  |  Branch (2122:13): [True: 0, False: 0]
  ------------------
 2123|       |            /* BlockingIOError's 3rd argument can be the number of
 2124|       |             * characters written.
 2125|       |             */
 2126|      0|            self->written = PyNumber_AsSsize_t(filename, PyExc_ValueError);
 2127|      0|            if (self->written == -1 && PyErr_Occurred())
  ------------------
  |  Branch (2127:17): [True: 0, False: 0]
  |  Branch (2127:40): [True: 0, False: 0]
  ------------------
 2128|      0|                return -1;
 2129|      0|        }
 2130|     44|        else {
 2131|     44|            Py_XSETREF(self->filename, Py_NewRef(filename));
  ------------------
  |  |  376|     44|    do { \
  |  |  377|     44|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|     44|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|     44|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|     44|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|     44|        *_tmp_dst_ptr = (src); \
  |  |  380|     44|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|     44|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     44|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|     44|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 44]
  |  |  ------------------
  ------------------
 2132|       |
 2133|     44|            if (filename2 && filename2 != Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2133:17): [True: 0, False: 44]
  |  Branch (2133:30): [True: 0, False: 0]
  ------------------
 2134|      0|                Py_XSETREF(self->filename2, Py_NewRef(filename2));
  ------------------
  |  |  376|      0|    do { \
  |  |  377|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|      0|        *_tmp_dst_ptr = (src); \
  |  |  380|      0|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2135|      0|            }
 2136|       |
 2137|     44|            if (nargs >= 2 && nargs <= 5) {
  ------------------
  |  Branch (2137:17): [True: 44, False: 0]
  |  Branch (2137:31): [True: 44, False: 0]
  ------------------
 2138|       |                /* filename, filename2, and winerror are removed from the args tuple
 2139|       |                   (for compatibility purposes, see test_exceptions.py) */
 2140|     44|                PyObject *subslice = PyTuple_GetSlice(args, 0, 2);
 2141|     44|                if (!subslice)
  ------------------
  |  Branch (2141:21): [True: 0, False: 44]
  ------------------
 2142|      0|                    return -1;
 2143|       |
 2144|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2145|     44|                *p_args = args = subslice;
 2146|     44|            }
 2147|     44|        }
 2148|     44|    }
 2149|     44|    Py_XSETREF(self->myerrno, Py_XNewRef(myerrno));
  ------------------
  |  |  376|     44|    do { \
  |  |  377|     44|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|     44|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|     44|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|     44|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|     44|        *_tmp_dst_ptr = (src); \
  |  |  380|     44|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|     44|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     44|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|     44|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 44]
  |  |  ------------------
  ------------------
 2150|     44|    Py_XSETREF(self->strerror, Py_XNewRef(strerror));
  ------------------
  |  |  376|     44|    do { \
  |  |  377|     44|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|     44|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|     44|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|     44|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|     44|        *_tmp_dst_ptr = (src); \
  |  |  380|     44|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|     44|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     44|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|     44|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 44]
  |  |  ------------------
  ------------------
 2151|       |#ifdef MS_WINDOWS
 2152|       |    Py_XSETREF(self->winerror, Py_XNewRef(winerror));
 2153|       |#endif
 2154|       |
 2155|       |    /* Steals the reference to args */
 2156|     44|    Py_XSETREF(self->args, args);
  ------------------
  |  |  376|     44|    do { \
  |  |  377|     44|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|     44|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|     44|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|     44|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|     44|        *_tmp_dst_ptr = (src); \
  |  |  380|     44|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|     44|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     44|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|     44|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 44]
  |  |  ------------------
  ------------------
 2157|     44|    *p_args = args = NULL;
 2158|       |
 2159|     44|    return 0;
 2160|     44|}
exceptions.c:OSError_new:
 2189|     44|{
 2190|     44|    PyOSErrorObject *self = NULL;
 2191|     44|    PyObject *myerrno = NULL, *strerror = NULL;
 2192|     44|    PyObject *filename = NULL, *filename2 = NULL;
 2193|       |#ifdef MS_WINDOWS
 2194|       |    PyObject *winerror = NULL;
 2195|       |#endif
 2196|       |
 2197|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2198|       |
 2199|     44|    if (!oserror_use_init(type)) {
  ------------------
  |  Branch (2199:9): [True: 44, False: 0]
  ------------------
 2200|     44|        if (!_PyArg_NoKeywords(type->tp_name, kwds))
  ------------------
  |  |   25|     44|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (25:6): [True: 44, False: 0]
  |  |  |  Branch (25:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2201|      0|            goto error;
 2202|       |
 2203|     44|        if (oserror_parse_args(&args, &myerrno, &strerror,
  ------------------
  |  Branch (2203:13): [True: 0, False: 44]
  ------------------
 2204|     44|                               &filename, &filename2
 2205|       |#ifdef MS_WINDOWS
 2206|       |                               , &winerror
 2207|       |#endif
 2208|     44|            ))
 2209|      0|            goto error;
 2210|       |
 2211|     44|        struct _Py_exc_state *state = get_exc_state();
 2212|     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 (2212:13): [True: 44, False: 0]
  ------------------
 2213|     44|            state->errnomap && (PyObject *) type == PyExc_OSError) {
  ------------------
  |  Branch (2213:13): [True: 44, False: 0]
  |  Branch (2213:32): [True: 44, False: 0]
  ------------------
 2214|     44|            PyObject *newtype;
 2215|     44|            newtype = PyDict_GetItemWithError(state->errnomap, myerrno);
 2216|     44|            if (newtype) {
  ------------------
  |  Branch (2216:17): [True: 44, False: 0]
  ------------------
 2217|     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 (2217:24): [True: 44, False: 0]
  ------------------
 2218|     44|            }
 2219|      0|            else if (PyErr_Occurred())
  ------------------
  |  Branch (2219:22): [True: 0, False: 0]
  ------------------
 2220|      0|                goto error;
 2221|     44|        }
 2222|     44|    }
 2223|       |
 2224|     44|    self = (PyOSErrorObject *) type->tp_alloc(type, 0);
 2225|     44|    if (!self)
  ------------------
  |  Branch (2225:9): [True: 0, False: 44]
  ------------------
 2226|      0|        goto error;
 2227|       |
 2228|     44|    self->dict = NULL;
 2229|     44|    self->traceback = self->cause = self->context = NULL;
 2230|     44|    self->written = -1;
 2231|       |
 2232|     44|    if (!oserror_use_init(type)) {
  ------------------
  |  Branch (2232:9): [True: 44, False: 0]
  ------------------
 2233|     44|        if (oserror_init(self, &args, myerrno, strerror, filename, filename2
  ------------------
  |  Branch (2233:13): [True: 0, False: 44]
  ------------------
 2234|       |#ifdef MS_WINDOWS
 2235|       |                         , winerror
 2236|       |#endif
 2237|     44|            ))
 2238|      0|            goto error;
 2239|     44|    }
 2240|      0|    else {
 2241|      0|        self->args = PyTuple_New(0);
 2242|      0|        if (self->args == NULL)
  ------------------
  |  Branch (2242:13): [True: 0, False: 0]
  ------------------
 2243|      0|            goto error;
 2244|      0|    }
 2245|       |
 2246|     44|    Py_XDECREF(args);
  ------------------
  |  |  524|     44|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     44|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2247|     44|    return (PyObject *) self;
 2248|       |
 2249|      0|error:
 2250|      0|    Py_XDECREF(args);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2251|      0|    Py_XDECREF(self);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2252|       |    return NULL;
 2253|     44|}
exceptions.c:AttributeError_dealloc:
 2687|     79|{
 2688|     79|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  507|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2689|     79|    (void)AttributeError_clear(self);
 2690|     79|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2691|     79|}
exceptions.c:PyAttributeErrorObject_CAST:
 2642|    158|{
 2643|    158|    assert(PyObject_TypeCheck(self, (PyTypeObject *)PyExc_AttributeError));
  ------------------
  |  Branch (2643:5): [True: 158, False: 0]
  ------------------
 2644|    158|    return (PyAttributeErrorObject *)self;
 2645|    158|}
exceptions.c:AttributeError_clear:
 2678|     79|{
 2679|     79|    PyAttributeErrorObject *self = PyAttributeErrorObject_CAST(op);
 2680|     79|    Py_CLEAR(self->obj);
  ------------------
  |  |  484|     79|    do { \
  |  |  485|     79|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|     79|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     79|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|     79|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     79|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     79|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 50, False: 29]
  |  |  ------------------
  |  |  488|     50|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     50|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     50|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|     50|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     50|        } \
  |  |  491|     79|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 79]
  |  |  ------------------
  ------------------
 2681|       |    Py_CLEAR(self->name);
  ------------------
  |  |  484|     79|    do { \
  |  |  485|     79|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|     79|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     79|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|     79|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     79|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     79|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 50, False: 29]
  |  |  ------------------
  |  |  488|     50|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     50|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     50|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|     50|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     50|        } \
  |  |  491|     79|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 79]
  |  |  ------------------
  ------------------
 2682|     79|    return BaseException_clear(op);
 2683|     79|}
exceptions.c:AttributeError_init:
 2649|     79|{
 2650|     79|    static char *kwlist[] = {"name", "obj", NULL};
 2651|     79|    PyObject *name = NULL;
 2652|     79|    PyObject *obj = NULL;
 2653|       |
 2654|     79|    if (BaseException_init(op, args, NULL) == -1) {
  ------------------
  |  Branch (2654:9): [True: 0, False: 79]
  ------------------
 2655|      0|        return -1;
 2656|      0|    }
 2657|       |
 2658|     79|    PyObject *empty_tuple = PyTuple_New(0);
 2659|     79|    if (!empty_tuple) {
  ------------------
  |  Branch (2659:9): [True: 0, False: 79]
  ------------------
 2660|      0|        return -1;
 2661|      0|    }
 2662|     79|    if (!PyArg_ParseTupleAndKeywords(empty_tuple, kwds, "|$OO:AttributeError", kwlist,
  ------------------
  |  Branch (2662:9): [True: 0, False: 79]
  ------------------
 2663|     79|                                     &name, &obj)) {
 2664|      0|        Py_DECREF(empty_tuple);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2665|      0|        return -1;
 2666|      0|    }
 2667|     79|    Py_DECREF(empty_tuple);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2668|       |
 2669|     79|    PyAttributeErrorObject *self = PyAttributeErrorObject_CAST(op);
 2670|     79|    Py_XSETREF(self->name, Py_XNewRef(name));
  ------------------
  |  |  376|     79|    do { \
  |  |  377|     79|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|     79|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|     79|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|     79|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|     79|        *_tmp_dst_ptr = (src); \
  |  |  380|     79|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|     79|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     79|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     79|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|     79|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 79]
  |  |  ------------------
  ------------------
 2671|     79|    Py_XSETREF(self->obj, Py_XNewRef(obj));
  ------------------
  |  |  376|     79|    do { \
  |  |  377|     79|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|     79|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|     79|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|     79|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|     79|        *_tmp_dst_ptr = (src); \
  |  |  380|     79|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|     79|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     79|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     79|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|     79|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 79]
  |  |  ------------------
  ------------------
 2672|       |
 2673|     79|    return 0;
 2674|     79|}
exceptions.c:PySyntaxErrorObject_CAST:
 2828|     66|{
 2829|     66|    assert(PyObject_TypeCheck(self, (PyTypeObject *)PyExc_SyntaxError));
  ------------------
  |  Branch (2829:5): [True: 66, False: 0]
  ------------------
 2830|     66|    return (PySyntaxErrorObject *)self;
 2831|     66|}
exceptions.c:SyntaxError_dealloc:
 2900|     33|{
 2901|     33|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  507|     33|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2902|     33|    (void)SyntaxError_clear(self);
 2903|     33|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2904|     33|}
exceptions.c:SyntaxError_clear:
 2884|     33|{
 2885|     33|    PySyntaxErrorObject *self = PySyntaxErrorObject_CAST(op);
 2886|     33|    Py_CLEAR(self->msg);
  ------------------
  |  |  484|     33|    do { \
  |  |  485|     33|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|     33|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     33|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|     33|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     33|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     33|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 33, False: 0]
  |  |  ------------------
  |  |  488|     33|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     33|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     33|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|     33|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     33|        } \
  |  |  491|     33|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 33]
  |  |  ------------------
  ------------------
 2887|     33|    Py_CLEAR(self->filename);
  ------------------
  |  |  484|     33|    do { \
  |  |  485|     33|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|     33|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     33|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|     33|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     33|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     33|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 33, False: 0]
  |  |  ------------------
  |  |  488|     33|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     33|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     33|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|     33|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     33|        } \
  |  |  491|     33|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 33]
  |  |  ------------------
  ------------------
 2888|     33|    Py_CLEAR(self->lineno);
  ------------------
  |  |  484|     33|    do { \
  |  |  485|     33|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|     33|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     33|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|     33|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     33|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     33|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 33, False: 0]
  |  |  ------------------
  |  |  488|     33|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     33|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     33|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|     33|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     33|        } \
  |  |  491|     33|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 33]
  |  |  ------------------
  ------------------
 2889|     33|    Py_CLEAR(self->offset);
  ------------------
  |  |  484|     33|    do { \
  |  |  485|     33|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|     33|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     33|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|     33|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     33|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     33|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 33, False: 0]
  |  |  ------------------
  |  |  488|     33|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     33|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     33|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|     33|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     33|        } \
  |  |  491|     33|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 33]
  |  |  ------------------
  ------------------
 2890|     33|    Py_CLEAR(self->end_lineno);
  ------------------
  |  |  484|     33|    do { \
  |  |  485|     33|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|     33|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     33|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|     33|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     33|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     33|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 33, False: 0]
  |  |  ------------------
  |  |  488|     33|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     33|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     33|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|     33|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     33|        } \
  |  |  491|     33|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 33]
  |  |  ------------------
  ------------------
 2891|     33|    Py_CLEAR(self->end_offset);
  ------------------
  |  |  484|     33|    do { \
  |  |  485|     33|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|     33|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     33|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|     33|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     33|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     33|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 33, False: 0]
  |  |  ------------------
  |  |  488|     33|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     33|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     33|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|     33|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     33|        } \
  |  |  491|     33|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 33]
  |  |  ------------------
  ------------------
 2892|     33|    Py_CLEAR(self->text);
  ------------------
  |  |  484|     33|    do { \
  |  |  485|     33|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|     33|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     33|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|     33|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     33|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     33|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 33, False: 0]
  |  |  ------------------
  |  |  488|     33|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     33|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     33|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|     33|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     33|        } \
  |  |  491|     33|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 33]
  |  |  ------------------
  ------------------
 2893|     33|    Py_CLEAR(self->print_file_and_line);
  ------------------
  |  |  484|     33|    do { \
  |  |  485|     33|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|     33|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     33|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|     33|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     33|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     33|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 33]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|     33|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 33]
  |  |  ------------------
  ------------------
 2894|       |    Py_CLEAR(self->metadata);
  ------------------
  |  |  484|     33|    do { \
  |  |  485|     33|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|     33|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     33|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|     33|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     33|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     33|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 21, False: 12]
  |  |  ------------------
  |  |  488|     21|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     21|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     21|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|     21|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     21|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     21|        } \
  |  |  491|     33|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 33]
  |  |  ------------------
  ------------------
 2895|     33|    return BaseException_clear(op);
 2896|     33|}
exceptions.c:SyntaxError_init:
 2835|     33|{
 2836|     33|    PyObject *info = NULL;
 2837|     33|    Py_ssize_t lenargs = 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2838|       |
 2839|     33|    if (BaseException_init(op, args, kwds) == -1)
  ------------------
  |  Branch (2839:9): [True: 0, False: 33]
  ------------------
 2840|      0|        return -1;
 2841|       |
 2842|     33|    PySyntaxErrorObject *self = PySyntaxErrorObject_CAST(op);
 2843|     33|    if (lenargs >= 1) {
  ------------------
  |  Branch (2843:9): [True: 33, False: 0]
  ------------------
 2844|     33|        Py_XSETREF(self->msg, Py_NewRef(PyTuple_GET_ITEM(args, 0)));
  ------------------
  |  |  376|     33|    do { \
  |  |  377|     33|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|     33|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|     33|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|     33|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|     66|        *_tmp_dst_ptr = (src); \
  |  |  ------------------
  |  |  |  Branch (379:26): [True: 33, False: 0]
  |  |  ------------------
  |  |  380|     33|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|     33|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|     33|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 33]
  |  |  ------------------
  ------------------
 2845|     33|    }
 2846|     33|    if (lenargs == 2) {
  ------------------
  |  Branch (2846:9): [True: 33, False: 0]
  ------------------
 2847|     33|        info = PyTuple_GET_ITEM(args, 1);
  ------------------
  |  |   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 (2847:16): [True: 33, False: 0]
  ------------------
 2848|      0|        info = PySequence_Tuple(info);
 2849|     33|        if (!info) {
  ------------------
  |  Branch (2849:13): [True: 0, False: 33]
  ------------------
 2850|      0|            return -1;
 2851|      0|        }
 2852|       |
 2853|     33|        PyObject *filename, *lineno, *offset, *text;
 2854|     33|        PyObject *end_lineno = NULL;
 2855|     33|        PyObject *end_offset = NULL;
 2856|     33|        PyObject *metadata = NULL;
 2857|     33|        if (!PyArg_ParseTuple(info, "OOOO|OOO",
  ------------------
  |  Branch (2857:13): [True: 0, False: 33]
  ------------------
 2858|     33|                              &filename, &lineno,
 2859|     33|                              &offset, &text,
 2860|     33|                              &end_lineno, &end_offset, &metadata)) {
 2861|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2862|      0|            return -1;
 2863|      0|        }
 2864|       |
 2865|     33|        Py_XSETREF(self->filename, Py_NewRef(filename));
  ------------------
  |  |  376|     33|    do { \
  |  |  377|     33|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|     33|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|     33|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|     33|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|     33|        *_tmp_dst_ptr = (src); \
  |  |  380|     33|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|     33|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|     33|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 33]
  |  |  ------------------
  ------------------
 2866|     33|        Py_XSETREF(self->lineno, Py_NewRef(lineno));
  ------------------
  |  |  376|     33|    do { \
  |  |  377|     33|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|     33|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|     33|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|     33|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|     33|        *_tmp_dst_ptr = (src); \
  |  |  380|     33|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|     33|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|     33|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 33]
  |  |  ------------------
  ------------------
 2867|     33|        Py_XSETREF(self->offset, Py_NewRef(offset));
  ------------------
  |  |  376|     33|    do { \
  |  |  377|     33|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|     33|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|     33|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|     33|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|     33|        *_tmp_dst_ptr = (src); \
  |  |  380|     33|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|     33|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|     33|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 33]
  |  |  ------------------
  ------------------
 2868|     33|        Py_XSETREF(self->text, Py_NewRef(text));
  ------------------
  |  |  376|     33|    do { \
  |  |  377|     33|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|     33|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|     33|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|     33|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|     33|        *_tmp_dst_ptr = (src); \
  |  |  380|     33|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|     33|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|     33|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 33]
  |  |  ------------------
  ------------------
 2869|     33|        Py_XSETREF(self->end_lineno, Py_XNewRef(end_lineno));
  ------------------
  |  |  376|     33|    do { \
  |  |  377|     33|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|     33|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|     33|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|     33|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|     33|        *_tmp_dst_ptr = (src); \
  |  |  380|     33|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|     33|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|     33|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 33]
  |  |  ------------------
  ------------------
 2870|     33|        Py_XSETREF(self->end_offset, Py_XNewRef(end_offset));
  ------------------
  |  |  376|     33|    do { \
  |  |  377|     33|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|     33|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|     33|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|     33|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|     33|        *_tmp_dst_ptr = (src); \
  |  |  380|     33|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|     33|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|     33|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 33]
  |  |  ------------------
  ------------------
 2871|     33|        Py_XSETREF(self->metadata, Py_XNewRef(metadata));
  ------------------
  |  |  376|     33|    do { \
  |  |  377|     33|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|     33|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|     33|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|     33|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|     33|        *_tmp_dst_ptr = (src); \
  |  |  380|     33|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|     33|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|     33|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 33]
  |  |  ------------------
  ------------------
 2872|     33|        Py_DECREF(info);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2873|       |
 2874|     33|        if (self->end_lineno != NULL && self->end_offset == NULL) {
  ------------------
  |  Branch (2874:13): [True: 33, False: 0]
  |  Branch (2874:41): [True: 0, False: 33]
  ------------------
 2875|      0|            PyErr_SetString(PyExc_TypeError, "end_offset must be provided when end_lineno is provided");
 2876|      0|            return -1;
 2877|      0|        }
 2878|     33|    }
 2879|     33|    return 0;
 2880|     33|}
exceptions.c:check_unicode_error_attribute:
 3109|      5|{
 3110|      5|    assert(as_bytes == 0 || as_bytes == 1);
  ------------------
  |  Branch (3110:5): [True: 0, False: 5]
  |  Branch (3110:5): [True: 5, False: 0]
  ------------------
 3111|      5|    if (attr == NULL) {
  ------------------
  |  Branch (3111:9): [True: 0, False: 5]
  ------------------
 3112|      0|        PyErr_Format(PyExc_TypeError,
 3113|      0|                     "UnicodeError '%s' attribute is not set",
 3114|      0|                     name);
 3115|      0|        return -1;
 3116|      0|    }
 3117|      5|    if (!(as_bytes ? PyBytes_Check(attr) : PyUnicode_Check(attr))) {
  ------------------
  |  |   28|      5|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      5|#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 (3117:9): [True: 0, False: 5]
  |  Branch (3117:11): [True: 5, False: 0]
  ------------------
 3118|      0|        PyErr_Format(PyExc_TypeError,
 3119|      0|                     "UnicodeError '%s' attribute must be a %s",
 3120|      0|                     name, as_bytes ? "bytes" : "string");
  ------------------
  |  Branch (3120:28): [True: 0, False: 0]
  ------------------
 3121|      0|        return -1;
 3122|      0|    }
 3123|      5|    return 0;
 3124|      5|}
exceptions.c:UnicodeError_dealloc:
 3722|      7|{
 3723|      7|    PyTypeObject *type = Py_TYPE(self);
  ------------------
  |  |  213|      7|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3724|      7|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  507|      7|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3725|      7|    (void)UnicodeError_clear(self);
 3726|      7|    type->tp_free(self);
 3727|      7|}
exceptions.c:UnicodeError_clear:
 3712|      7|{
 3713|      7|    PyUnicodeErrorObject *exc = PyUnicodeErrorObject_CAST(self);
  ------------------
  |  | 3342|      7|    (assert(PyUnicodeError_Check(op)), ((PyUnicodeErrorObject *)(op)))
  ------------------
  |  Branch (3713:33): [True: 7, False: 0]
  ------------------
 3714|      7|    Py_CLEAR(exc->encoding);
  ------------------
  |  |  484|      7|    do { \
  |  |  485|      7|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      7|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      7|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      7|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      7|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      7|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 7, False: 0]
  |  |  ------------------
  |  |  488|      7|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      7|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      7|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      7|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      7|        } \
  |  |  491|      7|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 7]
  |  |  ------------------
  ------------------
 3715|      7|    Py_CLEAR(exc->object);
  ------------------
  |  |  484|      7|    do { \
  |  |  485|      7|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      7|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      7|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      7|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      7|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      7|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 7, False: 0]
  |  |  ------------------
  |  |  488|      7|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      7|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      7|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      7|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      7|        } \
  |  |  491|      7|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 7]
  |  |  ------------------
  ------------------
 3716|       |    Py_CLEAR(exc->reason);
  ------------------
  |  |  484|      7|    do { \
  |  |  485|      7|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      7|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      7|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      7|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      7|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      7|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 7, False: 0]
  |  |  ------------------
  |  |  488|      7|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      7|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      7|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      7|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      7|        } \
  |  |  491|      7|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 7]
  |  |  ------------------
  ------------------
 3717|      7|    return BaseException_clear(self);
 3718|      7|}
exceptions.c:UnicodeDecodeError_str:
 3908|      5|{
 3909|      5|    PyUnicodeErrorObject *exc = PyUnicodeErrorObject_CAST(self);
  ------------------
  |  | 3342|      5|    (assert(PyUnicodeError_Check(op)), ((PyUnicodeErrorObject *)(op)))
  ------------------
  |  Branch (3909:33): [True: 5, False: 0]
  ------------------
 3910|      5|    PyObject *result = NULL;
 3911|      5|    PyObject *reason_str = NULL;
 3912|      5|    PyObject *encoding_str = NULL;
 3913|       |
 3914|      5|    if (exc->object == NULL) {
  ------------------
  |  Branch (3914:9): [True: 0, False: 5]
  ------------------
 3915|       |        /* Not properly initialized. */
 3916|      0|        return Py_GetConstant(Py_CONSTANT_EMPTY_STR);
  ------------------
  |  |  597|      0|#define Py_CONSTANT_EMPTY_STR 7
  ------------------
 3917|      0|    }
 3918|       |
 3919|       |    /* Get reason and encoding as strings, which they might not be if
 3920|       |       they've been modified after we were constructed. */
 3921|      5|    reason_str = PyObject_Str(exc->reason);
 3922|      5|    if (reason_str == NULL) {
  ------------------
  |  Branch (3922:9): [True: 0, False: 5]
  ------------------
 3923|      0|        goto done;
 3924|      0|    }
 3925|      5|    encoding_str = PyObject_Str(exc->encoding);
 3926|      5|    if (encoding_str == NULL) {
  ------------------
  |  Branch (3926:9): [True: 0, False: 5]
  ------------------
 3927|      0|        goto done;
 3928|      0|    }
 3929|       |    // calls to PyObject_Str(...) above might mutate 'exc->object'
 3930|      5|    if (check_unicode_error_attribute(exc->object, "object", true) < 0) {
  ------------------
  |  Branch (3930:9): [True: 0, False: 5]
  ------------------
 3931|      0|        goto done;
 3932|      0|    }
 3933|      5|    Py_ssize_t len = PyBytes_GET_SIZE(exc->object);
  ------------------
  |  |   33|      5|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3934|      5|    Py_ssize_t start = exc->start, end = exc->end;
 3935|       |
 3936|      5|    if ((start >= 0 && start < len) && (end >= 0 && end <= len) && end == start + 1) {
  ------------------
  |  Branch (3936:10): [True: 5, False: 0]
  |  Branch (3936:24): [True: 5, False: 0]
  |  Branch (3936:41): [True: 5, False: 0]
  |  Branch (3936:53): [True: 5, False: 0]
  |  Branch (3936:68): [True: 0, False: 5]
  ------------------
 3937|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3938|      0|        result = PyUnicode_FromFormat(
 3939|      0|            "'%U' codec can't decode byte 0x%02x in position %zd: %U",
 3940|      0|            encoding_str,
 3941|      0|            badbyte,
 3942|      0|            start,
 3943|      0|            reason_str);
 3944|      0|    }
 3945|      5|    else {
 3946|      5|        result = PyUnicode_FromFormat(
 3947|      5|            "'%U' codec can't decode bytes in position %zd-%zd: %U",
 3948|      5|            encoding_str,
 3949|      5|            start,
 3950|      5|            end - 1,
 3951|      5|            reason_str);
 3952|      5|    }
 3953|      5|done:
 3954|      5|    Py_XDECREF(reason_str);
  ------------------
  |  |  524|      5|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3955|      5|    Py_XDECREF(encoding_str);
  ------------------
  |  |  524|      5|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3956|      5|    return result;
 3957|      5|}
exceptions.c:UnicodeDecodeError_init:
 3867|      7|{
 3868|      7|    if (BaseException_init(self, args, kwds) == -1) {
  ------------------
  |  Branch (3868:9): [True: 0, False: 7]
  ------------------
 3869|      0|        return -1;
 3870|      0|    }
 3871|       |
 3872|      7|    PyObject *encoding = NULL, *object = NULL, *reason = NULL;  // borrowed
 3873|      7|    Py_ssize_t start = -1, end = -1;
 3874|       |
 3875|      7|    if (!PyArg_ParseTuple(args, "UOnnU",
  ------------------
  |  Branch (3875:9): [True: 0, False: 7]
  ------------------
 3876|      7|                          &encoding, &object, &start, &end, &reason))
 3877|      0|    {
 3878|      0|        return -1;
 3879|      0|    }
 3880|       |
 3881|      7|    if (PyBytes_Check(object)) {
  ------------------
  |  |   28|      7|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      7|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 7, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3882|      7|        Py_INCREF(object);  // make 'object' a strong reference
  ------------------
  |  |  310|      7|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3883|      7|    }
 3884|      0|    else {
 3885|      0|        Py_buffer view;
 3886|      0|        if (PyObject_GetBuffer(object, &view, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|      0|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (3886:13): [True: 0, False: 0]
  ------------------
 3887|      0|            return -1;
 3888|      0|        }
 3889|       |        // 'object' is borrowed, so we can re-use the variable
 3890|      0|        object = PyBytes_FromStringAndSize(view.buf, view.len);
 3891|      0|        PyBuffer_Release(&view);
 3892|      0|        if (object == NULL) {
  ------------------
  |  Branch (3892:13): [True: 0, False: 0]
  ------------------
 3893|      0|            return -1;
 3894|      0|        }
 3895|      0|    }
 3896|       |
 3897|      7|    PyUnicodeErrorObject *exc = PyUnicodeErrorObject_CAST(self);
  ------------------
  |  | 3342|      7|    (assert(PyUnicodeError_Check(op)), ((PyUnicodeErrorObject *)(op)))
  ------------------
  |  Branch (3897:33): [True: 7, False: 0]
  ------------------
 3898|      7|    Py_XSETREF(exc->encoding, Py_NewRef(encoding));
  ------------------
  |  |  376|      7|    do { \
  |  |  377|      7|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|      7|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|      7|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|      7|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|      7|        *_tmp_dst_ptr = (src); \
  |  |  380|      7|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|      7|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|      7|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 7]
  |  |  ------------------
  ------------------
 3899|      7|    Py_XSETREF(exc->object, object /* already a strong reference */);
  ------------------
  |  |  376|      7|    do { \
  |  |  377|      7|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|      7|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|      7|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|      7|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|      7|        *_tmp_dst_ptr = (src); \
  |  |  380|      7|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|      7|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|      7|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 7]
  |  |  ------------------
  ------------------
 3900|      7|    exc->start = start;
 3901|      7|    exc->end = end;
 3902|      7|    Py_XSETREF(exc->reason, Py_NewRef(reason));
  ------------------
  |  |  376|      7|    do { \
  |  |  377|      7|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|      7|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|      7|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|      7|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|      7|        *_tmp_dst_ptr = (src); \
  |  |  380|      7|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|      7|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|      7|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 7]
  |  |  ------------------
  ------------------
 3903|      7|    return 0;
 3904|      7|}
exceptions.c:get_memory_error:
 4156|     32|{
 4157|     32|    PyBaseExceptionObject *self = NULL;
 4158|     32|    struct _Py_exc_state *state = get_exc_state();
 4159|       |
 4160|     32|    MEMERRORS_LOCK(state);
  ------------------
  |  | 4150|     32|# define MEMERRORS_LOCK(state) ((void)0)
  ------------------
 4161|     32|    if (state->memerrors_freelist != NULL) {
  ------------------
  |  Branch (4161:9): [True: 0, False: 32]
  ------------------
 4162|       |        /* Fetch MemoryError from freelist and initialize it */
 4163|      0|        self = state->memerrors_freelist;
 4164|      0|        state->memerrors_freelist = (PyBaseExceptionObject *) self->dict;
 4165|      0|        state->memerrors_numfree--;
 4166|      0|        self->dict = NULL;
 4167|      0|        self->args = (PyObject *)&_Py_SINGLETON(tuple_empty);
  ------------------
  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
 4168|      0|        _Py_NewReference((PyObject *)self);
 4169|      0|        _PyObject_GC_TRACK(self);
  ------------------
  |  |  505|      0|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4170|      0|    }
 4171|     32|    MEMERRORS_UNLOCK(state);
  ------------------
  |  | 4151|     32|# define MEMERRORS_UNLOCK(state) ((void)0)
  ------------------
 4172|       |
 4173|     32|    if (self != NULL) {
  ------------------
  |  Branch (4173:9): [True: 0, False: 32]
  ------------------
 4174|      0|        return (PyObject *)self;
 4175|      0|    }
 4176|       |
 4177|     32|    if (!allow_allocation) {
  ------------------
  |  Branch (4177:9): [True: 0, False: 32]
  ------------------
 4178|      0|        PyInterpreterState *interp = _PyInterpreterState_GET();
 4179|      0|        return Py_NewRef(
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4180|      0|            &_Py_INTERP_SINGLETON(interp, last_resort_memory_error));
 4181|      0|    }
 4182|     32|    return BaseException_new((PyTypeObject *)PyExc_MemoryError, args, kwds);
 4183|     32|}
exceptions.c:MemoryError_dealloc:
 4214|     32|{
 4215|     32|    PyBaseExceptionObject *self = PyBaseExceptionObject_CAST(op);
 4216|     32|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  507|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4217|       |
 4218|     32|    (void)BaseException_clear(op);
 4219|       |
 4220|       |    /* If this is a subclass of MemoryError, we don't need to
 4221|       |     * do anything in the free-list*/
 4222|     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 (4222:9): [True: 0, False: 32]
  ------------------
 4223|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4224|      0|        return;
 4225|      0|    }
 4226|       |
 4227|     32|    struct _Py_exc_state *state = get_exc_state();
 4228|     32|    MEMERRORS_LOCK(state);
  ------------------
  |  | 4150|     32|# define MEMERRORS_LOCK(state) ((void)0)
  ------------------
 4229|     32|    if (state->memerrors_numfree < MEMERRORS_SAVE) {
  ------------------
  |  | 4144|     32|#define MEMERRORS_SAVE 16
  ------------------
  |  Branch (4229:9): [True: 32, False: 0]
  ------------------
 4230|     32|        self->dict = (PyObject *) state->memerrors_freelist;
 4231|     32|        state->memerrors_freelist = self;
 4232|     32|        state->memerrors_numfree++;
 4233|     32|        MEMERRORS_UNLOCK(state);
  ------------------
  |  | 4151|     32|# define MEMERRORS_UNLOCK(state) ((void)0)
  ------------------
 4234|     32|        return;
 4235|     32|    }
 4236|      0|    MEMERRORS_UNLOCK(state);
  ------------------
  |  | 4151|      0|# define MEMERRORS_UNLOCK(state) ((void)0)
  ------------------
 4237|       |
 4238|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4239|      0|}
exceptions.c:BaseException_traverse:
  153|      2|{
  154|      2|    PyBaseExceptionObject *self = PyBaseExceptionObject_CAST(op);
  155|      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]
  |  |  ------------------
  ------------------
  156|      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]
  |  |  ------------------
  ------------------
  157|      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]
  |  |  ------------------
  ------------------
  158|      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]
  |  |  ------------------
  ------------------
  159|      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]
  |  |  ------------------
  ------------------
  160|      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]
  |  |  ------------------
  ------------------
  161|      2|    return 0;
  162|      2|}
exceptions.c:BaseException_clear:
  128|    544|{
  129|    544|    PyBaseExceptionObject *self = PyBaseExceptionObject_CAST(op);
  130|    544|    Py_CLEAR(self->dict);
  ------------------
  |  |  484|    544|    do { \
  |  |  485|    544|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|    544|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    544|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|    544|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    544|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    544|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 544]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|    544|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 544]
  |  |  ------------------
  ------------------
  131|    544|    Py_CLEAR(self->args);
  ------------------
  |  |  484|    544|    do { \
  |  |  485|    544|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|    544|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    544|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|    544|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    544|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    544|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 544, False: 0]
  |  |  ------------------
  |  |  488|    544|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    544|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|    544|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|    544|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    544|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    544|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|    544|        } \
  |  |  491|    544|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 544]
  |  |  ------------------
  ------------------
  132|    544|    Py_CLEAR(self->notes);
  ------------------
  |  |  484|    544|    do { \
  |  |  485|    544|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|    544|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    544|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|    544|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    544|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    544|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 544]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|    544|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 544]
  |  |  ------------------
  ------------------
  133|    544|    Py_CLEAR(self->traceback);
  ------------------
  |  |  484|    544|    do { \
  |  |  485|    544|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|    544|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    544|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|    544|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    544|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    544|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 357, False: 187]
  |  |  ------------------
  |  |  488|    357|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    357|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|    357|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|    357|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    357|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    357|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|    357|        } \
  |  |  491|    544|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 544]
  |  |  ------------------
  ------------------
  134|    544|    Py_CLEAR(self->cause);
  ------------------
  |  |  484|    544|    do { \
  |  |  485|    544|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|    544|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    544|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|    544|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    544|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    544|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 544]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|    544|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 544]
  |  |  ------------------
  ------------------
  135|       |    Py_CLEAR(self->context);
  ------------------
  |  |  484|    544|    do { \
  |  |  485|    544|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|    544|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    544|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|    544|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    544|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    544|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 21, False: 523]
  |  |  ------------------
  |  |  488|     21|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     21|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     21|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|     21|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     21|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     21|        } \
  |  |  491|    544|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 544]
  |  |  ------------------
  ------------------
  136|    544|    return 0;
  137|    544|}
exceptions.c:BaseException_init:
   83|    137|{
   84|    137|    PyBaseExceptionObject *self = PyBaseExceptionObject_CAST(op);
   85|    137|    if (!_PyArg_NoKeywords(Py_TYPE(self)->tp_name, kwds))
  ------------------
  |  |   25|    137|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (25:6): [True: 137, False: 0]
  |  |  |  Branch (25:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   86|      0|        return -1;
   87|       |
   88|    137|    Py_XSETREF(self->args, Py_NewRef(args));
  ------------------
  |  |  376|    137|    do { \
  |  |  377|    137|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|    137|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|    137|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|    137|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|    137|        *_tmp_dst_ptr = (src); \
  |  |  380|    137|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|    137|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    137|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    137|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|    137|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 137]
  |  |  ------------------
  ------------------
   89|    137|    return 0;
   90|    137|}
exceptions.c:MemoryError_new:
 4187|     32|{
 4188|       |    /* If this is a subclass of MemoryError, don't use the freelist
 4189|       |     * and just return a fresh object */
 4190|     32|    if (type != (PyTypeObject *) PyExc_MemoryError) {
  ------------------
  |  Branch (4190:9): [True: 0, False: 32]
  ------------------
 4191|      0|        return BaseException_new(type, args, kwds);
 4192|      0|    }
 4193|     32|    return get_memory_error(1, args, kwds);
 4194|     32|}
exceptions.c:BaseException_new:
   55|    169|{
   56|    169|    PyBaseExceptionObject *self;
   57|       |
   58|    169|    self = (PyBaseExceptionObject *)type->tp_alloc(type, 0);
   59|    169|    if (!self)
  ------------------
  |  Branch (59:9): [True: 0, False: 169]
  ------------------
   60|      0|        return NULL;
   61|       |    /* the dict is created on the fly in PyObject_GenericSetAttr */
   62|    169|    self->dict = NULL;
   63|    169|    self->notes = NULL;
   64|    169|    self->traceback = self->cause = self->context = NULL;
   65|    169|    self->suppress_context = 0;
   66|       |
   67|    169|    if (args) {
  ------------------
  |  Branch (67:9): [True: 137, False: 32]
  ------------------
   68|    137|        self->args = Py_NewRef(args);
  ------------------
  |  |  550|    137|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    137|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    137|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   69|    137|        return (PyObject *)self;
   70|    137|    }
   71|       |
   72|     32|    self->args = PyTuple_New(0);
   73|     32|    if (!self->args) {
  ------------------
  |  Branch (73:9): [True: 0, False: 32]
  ------------------
   74|      0|        Py_DECREF(self);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   75|      0|        return NULL;
   76|      0|    }
   77|       |
   78|     32|    return (PyObject *)self;
   79|     32|}
exceptions.c:BaseException_vectorcall:
   96|    331|{
   97|    331|    PyTypeObject *type = _PyType_CAST(type_obj);
  ------------------
  |  |  770|    331|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    331|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (97:26): [True: 331, False: 0]
  ------------------
   98|    331|    if (!_PyArg_NoKwnames(type->tp_name, kwnames)) {
  ------------------
  |  |   15|    331|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (15:6): [True: 331, False: 0]
  |  |  |  Branch (15:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   99|      0|        return NULL;
  100|      0|    }
  101|       |
  102|    331|    PyBaseExceptionObject *self;
  103|    331|    self = (PyBaseExceptionObject *)type->tp_alloc(type, 0);
  104|    331|    if (!self) {
  ------------------
  |  Branch (104:9): [True: 0, False: 331]
  ------------------
  105|      0|        return NULL;
  106|      0|    }
  107|       |
  108|       |    // The dict is created on the fly in PyObject_GenericSetAttr()
  109|    331|    self->dict = NULL;
  110|    331|    self->notes = NULL;
  111|    331|    self->traceback = NULL;
  112|    331|    self->cause = NULL;
  113|    331|    self->context = NULL;
  114|    331|    self->suppress_context = 0;
  115|       |
  116|    331|    self->args = PyTuple_FromArray(args, PyVectorcall_NARGS(nargsf));
  ------------------
  |  |   37|    331|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  117|    331|    if (!self->args) {
  ------------------
  |  Branch (117:9): [True: 0, False: 331]
  ------------------
  118|      0|        Py_DECREF(self);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  119|      0|        return NULL;
  120|      0|    }
  121|       |
  122|    331|    return (PyObject *)self;
  123|    331|}
exceptions.c:preallocate_memerrors:
 4243|      2|{
 4244|       |    /* We create enough MemoryErrors and then decref them, which will fill
 4245|       |       up the freelist. */
 4246|      2|    int i;
 4247|       |
 4248|      2|    PyObject *errors[MEMERRORS_SAVE];
 4249|     34|    for (i = 0; i < MEMERRORS_SAVE; i++) {
  ------------------
  |  | 4144|     34|#define MEMERRORS_SAVE 16
  ------------------
  |  Branch (4249:17): [True: 32, False: 2]
  ------------------
 4250|     32|        errors[i] = MemoryError_new((PyTypeObject *) PyExc_MemoryError,
 4251|     32|                                    NULL, NULL);
 4252|     32|        if (!errors[i]) {
  ------------------
  |  Branch (4252:13): [True: 0, False: 32]
  ------------------
 4253|      0|            return -1;
 4254|      0|        }
 4255|     32|    }
 4256|     34|    for (i = 0; i < MEMERRORS_SAVE; i++) {
  ------------------
  |  | 4144|     34|#define MEMERRORS_SAVE 16
  ------------------
  |  Branch (4256:17): [True: 32, False: 2]
  ------------------
 4257|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4258|     32|    }
 4259|      2|    return 0;
 4260|      2|}
exceptions.c:create_exception_group_class:
 1752|      2|create_exception_group_class(void) {
 1753|      2|    struct _Py_exc_state *state = get_exc_state();
 1754|       |
 1755|      2|    PyObject *bases = _PyTuple_FromPair(
 1756|      2|        PyExc_BaseExceptionGroup, PyExc_Exception);
 1757|      2|    if (bases == NULL) {
  ------------------
  |  Branch (1757:9): [True: 0, False: 2]
  ------------------
 1758|      0|        return NULL;
 1759|      0|    }
 1760|       |
 1761|      2|    assert(!state->PyExc_ExceptionGroup);
  ------------------
  |  Branch (1761:5): [True: 2, False: 0]
  ------------------
 1762|      2|    state->PyExc_ExceptionGroup = PyErr_NewException(
 1763|      2|        "builtins.ExceptionGroup", bases, NULL);
 1764|       |
 1765|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1766|      2|    return state->PyExc_ExceptionGroup;
 1767|      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:
  513|     27|{
  514|     27|    PyObject *f = NULL;
  515|       |
  516|     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 (516:9): [True: 0, False: 27]
  ------------------
  517|      0|        PyErr_Format(PyExc_TypeError, "'path' must be 'str', not '%.200s'",
  518|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  519|      0|        return NULL;
  520|      0|    }
  521|       |
  522|     27|    Py_OpenCodeHookFunction hook = _PyRuntime.open_code_hook;
  523|     27|    if (hook) {
  ------------------
  |  Branch (523:9): [True: 0, False: 27]
  ------------------
  524|      0|        f = hook(path, _PyRuntime.open_code_userdata);
  525|     27|    } else {
  526|     27|        PyObject *open = PyImport_ImportModuleAttrString("_io", "open");
  527|     27|        if (open) {
  ------------------
  |  Branch (527:13): [True: 27, False: 0]
  ------------------
  528|     27|            f = PyObject_CallFunction(open, "Os", path, "rb");
  529|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  530|     27|        }
  531|     27|    }
  532|       |
  533|     27|    return f;
  534|     27|}
_PyFile_Flush:
  552|     76|{
  553|     76|    PyObject *tmp = PyObject_CallMethodNoArgs(file, &_Py_ID(flush));
  ------------------
  |  |  936|     76|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     76|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     76|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  554|     76|    if (tmp == NULL) {
  ------------------
  |  Branch (554:9): [True: 0, False: 76]
  ------------------
  555|      0|        return -1;
  556|      0|    }
  557|     76|    Py_DECREF(tmp);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  558|     76|    return 0;
  559|     76|}

PyFloat_GetInfo:
   84|      2|{
   85|      2|    PyObject* floatinfo;
   86|      2|    int pos = 0;
   87|       |
   88|      2|    floatinfo = PyStructSequence_New(&FloatInfoType);
   89|      2|    if (floatinfo == NULL) {
  ------------------
  |  Branch (89:9): [True: 0, False: 2]
  ------------------
   90|      0|        return NULL;
   91|      0|    }
   92|       |
   93|      2|#define SetFlag(CALL) \
   94|      2|    do {                                                    \
   95|      2|        PyObject *flag = (CALL);                            \
   96|      2|        if (flag == NULL) {                                 \
   97|      2|            Py_CLEAR(floatinfo);                            \
   98|      2|            return NULL;                                    \
   99|      2|        }                                                   \
  100|      2|        PyStructSequence_SET_ITEM(floatinfo, pos++, flag);  \
  101|      2|    } while (0)
  102|       |
  103|      2|#define SetIntFlag(FLAG) SetFlag(PyLong_FromLong((FLAG)))
  104|      2|#define SetDblFlag(FLAG) SetFlag(PyFloat_FromDouble((FLAG)))
  105|       |
  106|      2|    SetDblFlag(DBL_MAX);
  ------------------
  |  |  104|      2|#define SetDblFlag(FLAG) SetFlag(PyFloat_FromDouble((FLAG)))
  |  |  ------------------
  |  |  |  |   94|      2|    do {                                                    \
  |  |  |  |   95|      2|        PyObject *flag = (CALL);                            \
  |  |  |  |   96|      2|        if (flag == NULL) {                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (96:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   97|      0|            Py_CLEAR(floatinfo);                            \
  |  |  |  |  ------------------
  |  |  |  |  |  |  484|      0|    do { \
  |  |  |  |  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  490|      0|        } \
  |  |  |  |  |  |  491|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   98|      0|            return NULL;                                    \
  |  |  |  |   99|      0|        }                                                   \
  |  |  |  |  100|      2|        PyStructSequence_SET_ITEM(floatinfo, pos++, flag);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  |  |  ------------------
  |  |  |  |  101|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (101:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  107|      2|    SetIntFlag(DBL_MAX_EXP);
  ------------------
  |  |  103|      2|#define SetIntFlag(FLAG) SetFlag(PyLong_FromLong((FLAG)))
  |  |  ------------------
  |  |  |  |   94|      2|    do {                                                    \
  |  |  |  |   95|      2|        PyObject *flag = (CALL);                            \
  |  |  |  |   96|      2|        if (flag == NULL) {                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (96:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   97|      0|            Py_CLEAR(floatinfo);                            \
  |  |  |  |  ------------------
  |  |  |  |  |  |  484|      0|    do { \
  |  |  |  |  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  490|      0|        } \
  |  |  |  |  |  |  491|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   98|      0|            return NULL;                                    \
  |  |  |  |   99|      0|        }                                                   \
  |  |  |  |  100|      2|        PyStructSequence_SET_ITEM(floatinfo, pos++, flag);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  |  |  ------------------
  |  |  |  |  101|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (101:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  108|      2|    SetIntFlag(DBL_MAX_10_EXP);
  ------------------
  |  |  103|      2|#define SetIntFlag(FLAG) SetFlag(PyLong_FromLong((FLAG)))
  |  |  ------------------
  |  |  |  |   94|      2|    do {                                                    \
  |  |  |  |   95|      2|        PyObject *flag = (CALL);                            \
  |  |  |  |   96|      2|        if (flag == NULL) {                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (96:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   97|      0|            Py_CLEAR(floatinfo);                            \
  |  |  |  |  ------------------
  |  |  |  |  |  |  484|      0|    do { \
  |  |  |  |  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  490|      0|        } \
  |  |  |  |  |  |  491|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   98|      0|            return NULL;                                    \
  |  |  |  |   99|      0|        }                                                   \
  |  |  |  |  100|      2|        PyStructSequence_SET_ITEM(floatinfo, pos++, flag);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  |  |  ------------------
  |  |  |  |  101|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (101:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  109|      2|    SetDblFlag(DBL_MIN);
  ------------------
  |  |  104|      2|#define SetDblFlag(FLAG) SetFlag(PyFloat_FromDouble((FLAG)))
  |  |  ------------------
  |  |  |  |   94|      2|    do {                                                    \
  |  |  |  |   95|      2|        PyObject *flag = (CALL);                            \
  |  |  |  |   96|      2|        if (flag == NULL) {                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (96:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   97|      0|            Py_CLEAR(floatinfo);                            \
  |  |  |  |  ------------------
  |  |  |  |  |  |  484|      0|    do { \
  |  |  |  |  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  490|      0|        } \
  |  |  |  |  |  |  491|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   98|      0|            return NULL;                                    \
  |  |  |  |   99|      0|        }                                                   \
  |  |  |  |  100|      2|        PyStructSequence_SET_ITEM(floatinfo, pos++, flag);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  |  |  ------------------
  |  |  |  |  101|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (101:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  110|      2|    SetIntFlag(DBL_MIN_EXP);
  ------------------
  |  |  103|      2|#define SetIntFlag(FLAG) SetFlag(PyLong_FromLong((FLAG)))
  |  |  ------------------
  |  |  |  |   94|      2|    do {                                                    \
  |  |  |  |   95|      2|        PyObject *flag = (CALL);                            \
  |  |  |  |   96|      2|        if (flag == NULL) {                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (96:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   97|      0|            Py_CLEAR(floatinfo);                            \
  |  |  |  |  ------------------
  |  |  |  |  |  |  484|      0|    do { \
  |  |  |  |  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  490|      0|        } \
  |  |  |  |  |  |  491|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   98|      0|            return NULL;                                    \
  |  |  |  |   99|      0|        }                                                   \
  |  |  |  |  100|      2|        PyStructSequence_SET_ITEM(floatinfo, pos++, flag);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  |  |  ------------------
  |  |  |  |  101|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (101:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  111|      2|    SetIntFlag(DBL_MIN_10_EXP);
  ------------------
  |  |  103|      2|#define SetIntFlag(FLAG) SetFlag(PyLong_FromLong((FLAG)))
  |  |  ------------------
  |  |  |  |   94|      2|    do {                                                    \
  |  |  |  |   95|      2|        PyObject *flag = (CALL);                            \
  |  |  |  |   96|      2|        if (flag == NULL) {                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (96:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   97|      0|            Py_CLEAR(floatinfo);                            \
  |  |  |  |  ------------------
  |  |  |  |  |  |  484|      0|    do { \
  |  |  |  |  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  490|      0|        } \
  |  |  |  |  |  |  491|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   98|      0|            return NULL;                                    \
  |  |  |  |   99|      0|        }                                                   \
  |  |  |  |  100|      2|        PyStructSequence_SET_ITEM(floatinfo, pos++, flag);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  |  |  ------------------
  |  |  |  |  101|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (101:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  112|      2|    SetIntFlag(DBL_DIG);
  ------------------
  |  |  103|      2|#define SetIntFlag(FLAG) SetFlag(PyLong_FromLong((FLAG)))
  |  |  ------------------
  |  |  |  |   94|      2|    do {                                                    \
  |  |  |  |   95|      2|        PyObject *flag = (CALL);                            \
  |  |  |  |   96|      2|        if (flag == NULL) {                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (96:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   97|      0|            Py_CLEAR(floatinfo);                            \
  |  |  |  |  ------------------
  |  |  |  |  |  |  484|      0|    do { \
  |  |  |  |  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  490|      0|        } \
  |  |  |  |  |  |  491|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   98|      0|            return NULL;                                    \
  |  |  |  |   99|      0|        }                                                   \
  |  |  |  |  100|      2|        PyStructSequence_SET_ITEM(floatinfo, pos++, flag);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  |  |  ------------------
  |  |  |  |  101|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (101:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  113|      2|    SetIntFlag(DBL_MANT_DIG);
  ------------------
  |  |  103|      2|#define SetIntFlag(FLAG) SetFlag(PyLong_FromLong((FLAG)))
  |  |  ------------------
  |  |  |  |   94|      2|    do {                                                    \
  |  |  |  |   95|      2|        PyObject *flag = (CALL);                            \
  |  |  |  |   96|      2|        if (flag == NULL) {                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (96:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   97|      0|            Py_CLEAR(floatinfo);                            \
  |  |  |  |  ------------------
  |  |  |  |  |  |  484|      0|    do { \
  |  |  |  |  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  490|      0|        } \
  |  |  |  |  |  |  491|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   98|      0|            return NULL;                                    \
  |  |  |  |   99|      0|        }                                                   \
  |  |  |  |  100|      2|        PyStructSequence_SET_ITEM(floatinfo, pos++, flag);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  |  |  ------------------
  |  |  |  |  101|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (101:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  114|      2|    SetDblFlag(DBL_EPSILON);
  ------------------
  |  |  104|      2|#define SetDblFlag(FLAG) SetFlag(PyFloat_FromDouble((FLAG)))
  |  |  ------------------
  |  |  |  |   94|      2|    do {                                                    \
  |  |  |  |   95|      2|        PyObject *flag = (CALL);                            \
  |  |  |  |   96|      2|        if (flag == NULL) {                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (96:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   97|      0|            Py_CLEAR(floatinfo);                            \
  |  |  |  |  ------------------
  |  |  |  |  |  |  484|      0|    do { \
  |  |  |  |  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  490|      0|        } \
  |  |  |  |  |  |  491|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   98|      0|            return NULL;                                    \
  |  |  |  |   99|      0|        }                                                   \
  |  |  |  |  100|      2|        PyStructSequence_SET_ITEM(floatinfo, pos++, flag);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  |  |  ------------------
  |  |  |  |  101|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (101:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  115|      2|    SetIntFlag(FLT_RADIX);
  ------------------
  |  |  103|      2|#define SetIntFlag(FLAG) SetFlag(PyLong_FromLong((FLAG)))
  |  |  ------------------
  |  |  |  |   94|      2|    do {                                                    \
  |  |  |  |   95|      2|        PyObject *flag = (CALL);                            \
  |  |  |  |   96|      2|        if (flag == NULL) {                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (96:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   97|      0|            Py_CLEAR(floatinfo);                            \
  |  |  |  |  ------------------
  |  |  |  |  |  |  484|      0|    do { \
  |  |  |  |  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  490|      0|        } \
  |  |  |  |  |  |  491|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   98|      0|            return NULL;                                    \
  |  |  |  |   99|      0|        }                                                   \
  |  |  |  |  100|      2|        PyStructSequence_SET_ITEM(floatinfo, pos++, flag);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  |  |  ------------------
  |  |  |  |  101|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (101:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  116|      2|    SetIntFlag(FLT_ROUNDS);
  ------------------
  |  |  103|      2|#define SetIntFlag(FLAG) SetFlag(PyLong_FromLong((FLAG)))
  |  |  ------------------
  |  |  |  |   94|      2|    do {                                                    \
  |  |  |  |   95|      2|        PyObject *flag = (CALL);                            \
  |  |  |  |   96|      2|        if (flag == NULL) {                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (96:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   97|      0|            Py_CLEAR(floatinfo);                            \
  |  |  |  |  ------------------
  |  |  |  |  |  |  484|      0|    do { \
  |  |  |  |  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  490|      0|        } \
  |  |  |  |  |  |  491|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   98|      0|            return NULL;                                    \
  |  |  |  |   99|      0|        }                                                   \
  |  |  |  |  100|      2|        PyStructSequence_SET_ITEM(floatinfo, pos++, flag);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  |  |  ------------------
  |  |  |  |  101|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (101:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  117|      2|#undef SetIntFlag
  118|      2|#undef SetDblFlag
  119|      2|#undef SetFlag
  120|       |
  121|      2|    return floatinfo;
  122|      2|}
PyFloat_FromDouble:
  126|    362|{
  127|    362|    PyFloatObject *op = _Py_FREELIST_POP(PyFloatObject, floats);
  ------------------
  |  |   43|    362|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|    362|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  128|    362|    if (op == NULL) {
  ------------------
  |  Branch (128:9): [True: 24, False: 338]
  ------------------
  129|     24|        op = PyObject_Malloc(sizeof(PyFloatObject));
  130|     24|        if (!op) {
  ------------------
  |  Branch (130:13): [True: 0, False: 24]
  ------------------
  131|      0|            return PyErr_NoMemory();
  132|      0|        }
  133|     24|        _PyObject_Init((PyObject*)op, &PyFloat_Type);
  134|     24|    }
  135|    362|    op->ob_fval = fval;
  136|    362|    return (PyObject *) op;
  137|    362|}
_PyFloat_ExactDealloc:
  231|    345|{
  232|    345|    assert(PyFloat_CheckExact(obj));
  ------------------
  |  Branch (232:5): [True: 345, False: 0]
  ------------------
  233|    345|    _Py_FREELIST_FREE(floats, obj, PyObject_Free);
  ------------------
  |  |   35|    345|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|    345|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    345|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|    345|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   18|    345|#  define Py_floats_MAXFREELIST 100
  |  |  ------------------
  ------------------
  234|    345|}
_PyFloat_InitTypes:
 1855|      2|{
 1856|       |    /* Init float info */
 1857|      2|    if (_PyStructSequence_InitBuiltin(interp, &FloatInfoType,
  ------------------
  |  Branch (1857:9): [True: 0, False: 2]
  ------------------
 1858|      2|                                      &floatinfo_desc) < 0)
 1859|      0|    {
 1860|      0|        return _PyStatus_ERR("can't init float info type");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 1861|      0|    }
 1862|       |
 1863|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 1864|      2|}
floatobject.c:float_dealloc:
  238|    345|{
  239|    345|    assert(PyFloat_Check(op));
  ------------------
  |  Branch (239:5): [True: 345, False: 0]
  ------------------
  240|    345|    if (PyFloat_CheckExact(op))
  ------------------
  |  |   17|    345|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  215|    345|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    345|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    345|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 345, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  241|    345|        _PyFloat_ExactDealloc(op);
  242|      0|    else
  243|      0|        Py_TYPE(op)->tp_free(op);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  244|    345|}
floatobject.c:float___trunc___impl:
  864|     27|{
  865|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  866|     27|}
floatobject.c:float_richcompare:
  373|     15|{
  374|     15|    double i, j;
  375|     15|    int r = 0;
  376|       |
  377|     15|    assert(PyFloat_Check(v));
  ------------------
  |  Branch (377:5): [True: 15, False: 0]
  ------------------
  378|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  379|       |
  380|       |    /* Switch on the type of w.  Set i and j to doubles to be compared,
  381|       |     * and op to the richcomp to use.
  382|       |     */
  383|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  384|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  385|       |
  386|      9|    else if (!isfinite(i)) {
  ------------------
  |  Branch (386:14): [True: 0, False: 9]
  ------------------
  387|      0|        if (PyLong_Check(w))
  ------------------
  |  |   13|      0|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  388|       |            /* If i is an infinity, its magnitude exceeds any
  389|       |             * finite integer, so it doesn't matter which int we
  390|       |             * compare i with.  If i is a NaN, similarly.
  391|       |             */
  392|      0|            j = 0.0;
  393|      0|        else
  394|      0|            goto Unimplemented;
  395|      0|    }
  396|       |
  397|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  398|      9|        int vsign = i == 0.0 ? 0 : i < 0.0 ? -1 : 1;
  ------------------
  |  Branch (398:21): [True: 0, False: 9]
  |  Branch (398:36): [True: 0, False: 9]
  ------------------
  399|      9|        int wsign;
  400|      9|        int exponent;
  401|       |
  402|      9|        (void)PyLong_GetSign(w, &wsign);
  403|      9|        if (vsign != wsign) {
  ------------------
  |  Branch (403:13): [True: 9, False: 0]
  ------------------
  404|       |            /* Magnitudes are irrelevant -- the signs alone
  405|       |             * determine the outcome.
  406|       |             */
  407|      9|            i = (double)vsign;
  408|      9|            j = (double)wsign;
  409|      9|            goto Compare;
  410|      9|        }
  411|       |        /* The signs are the same. */
  412|       |        /* Convert w to a double if it fits.  In particular, 0 fits. */
  413|      0|        int64_t nbits64 = _PyLong_NumBits(w);
  414|      0|        assert(nbits64 >= 0);
  ------------------
  |  Branch (414:9): [True: 0, False: 0]
  ------------------
  415|      0|        assert(!PyErr_Occurred());
  ------------------
  |  Branch (415:9): [True: 0, False: 0]
  ------------------
  416|      0|        if (nbits64 > DBL_MAX_EXP) {
  ------------------
  |  Branch (416:13): [True: 0, False: 0]
  ------------------
  417|       |            /* This Python integer is larger than any finite C double.
  418|       |             * Replace with little doubles
  419|       |             * that give the same outcome -- w is so large that
  420|       |             * its magnitude must exceed the magnitude of any
  421|       |             * finite float.
  422|       |             */
  423|      0|            i = (double)vsign;
  424|      0|            assert(wsign != 0);
  ------------------
  |  Branch (424:13): [True: 0, False: 0]
  ------------------
  425|      0|            j = wsign * 2.0;
  426|      0|            goto Compare;
  427|      0|        }
  428|      0|        int nbits = (int)nbits64;
  429|      0|        if (nbits <= 48) {
  ------------------
  |  Branch (429:13): [True: 0, False: 0]
  ------------------
  430|      0|            j = PyLong_AsDouble(w);
  431|       |            /* It's impossible that <= 48 bits overflowed. */
  432|      0|            assert(j != -1.0 || ! PyErr_Occurred());
  ------------------
  |  Branch (432:13): [True: 0, False: 0]
  |  Branch (432:13): [True: 0, False: 0]
  ------------------
  433|      0|            goto Compare;
  434|      0|        }
  435|      0|        assert(wsign != 0); /* else nbits was 0 */
  ------------------
  |  Branch (435:9): [True: 0, False: 0]
  ------------------
  436|      0|        assert(vsign != 0); /* if vsign were 0, then since wsign is
  ------------------
  |  Branch (436:9): [True: 0, False: 0]
  ------------------
  437|       |                             * not 0, we would have taken the
  438|       |                             * vsign != wsign branch at the start */
  439|      0|        (void) frexp(i, &exponent);
  440|       |        /* exponent is the # of bits in v before the radix point;
  441|       |         * we know that nbits (the # of bits in w) > 48 at this point
  442|       |         */
  443|      0|        if (exponent < nbits) {
  ------------------
  |  Branch (443:13): [True: 0, False: 0]
  ------------------
  444|      0|            j = i;
  445|      0|            i = 0.0;
  446|      0|            goto Compare;
  447|      0|        }
  448|      0|        if (exponent > nbits) {
  ------------------
  |  Branch (448:13): [True: 0, False: 0]
  ------------------
  449|      0|            j = 0.0;
  450|      0|            goto Compare;
  451|      0|        }
  452|       |        /* v and w have the same number of bits before the radix
  453|       |         * point.  Construct an int from the integer part of v and
  454|       |         * update op if necessary, so comparing two ints has the same outcome.
  455|       |         */
  456|      0|        {
  457|      0|            double fracpart;
  458|      0|            double intpart;
  459|      0|            PyObject *result = NULL;
  460|      0|            PyObject *vv = NULL;
  461|       |
  462|      0|            fracpart = modf(i, &intpart);
  463|      0|            if (fracpart != 0.0) {
  ------------------
  |  Branch (463:17): [True: 0, False: 0]
  ------------------
  464|      0|                switch (op) {
  ------------------
  |  Branch (464:25): [True: 0, False: 0]
  ------------------
  465|       |                    /* Non-integer float never equals to an int. */
  466|      0|                    case Py_EQ:
  ------------------
  |  |  654|      0|#define Py_EQ 2
  ------------------
  |  Branch (466:21): [True: 0, False: 0]
  ------------------
  467|      0|                        Py_RETURN_FALSE;
  ------------------
  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  468|      0|                    case Py_NE:
  ------------------
  |  |  655|      0|#define Py_NE 3
  ------------------
  |  Branch (468:21): [True: 0, False: 0]
  ------------------
  469|      0|                        Py_RETURN_TRUE;
  ------------------
  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  470|       |                    /* For non-integer float, v <= w <=> v < w.
  471|       |                     * If v > 0: trunc(v) < v < trunc(v) + 1
  472|       |                     *   v < w => trunc(v) < w
  473|       |                     *   trunc(v) < w => trunc(v) + 1 <= w => v < w
  474|       |                     * If v < 0: trunc(v) - 1 < v < trunc(v)
  475|       |                     *   v < w => trunc(v) - 1 < w => trunc(v) <= w
  476|       |                     *   trunc(v) <= w => v < w
  477|       |                     */
  478|      0|                    case Py_LT:
  ------------------
  |  |  652|      0|#define Py_LT 0
  ------------------
  |  Branch (478:21): [True: 0, False: 0]
  ------------------
  479|      0|                    case Py_LE:
  ------------------
  |  |  653|      0|#define Py_LE 1
  ------------------
  |  Branch (479:21): [True: 0, False: 0]
  ------------------
  480|      0|                        op = vsign > 0 ? Py_LT : Py_LE;
  ------------------
  |  |  652|      0|#define Py_LT 0
  ------------------
                                      op = vsign > 0 ? Py_LT : Py_LE;
  ------------------
  |  |  653|      0|#define Py_LE 1
  ------------------
  |  Branch (480:30): [True: 0, False: 0]
  ------------------
  481|      0|                        break;
  482|       |                    /* The same as above, but with opposite directions. */
  483|      0|                    case Py_GT:
  ------------------
  |  |  656|      0|#define Py_GT 4
  ------------------
  |  Branch (483:21): [True: 0, False: 0]
  ------------------
  484|      0|                    case Py_GE:
  ------------------
  |  |  657|      0|#define Py_GE 5
  ------------------
  |  Branch (484:21): [True: 0, False: 0]
  ------------------
  485|      0|                        op = vsign > 0 ? Py_GE : Py_GT;
  ------------------
  |  |  657|      0|#define Py_GE 5
  ------------------
                                      op = vsign > 0 ? Py_GE : Py_GT;
  ------------------
  |  |  656|      0|#define Py_GT 4
  ------------------
  |  Branch (485:30): [True: 0, False: 0]
  ------------------
  486|      0|                        break;
  487|      0|                }
  488|      0|            }
  489|       |
  490|      0|            vv = PyLong_FromDouble(intpart);
  491|      0|            if (vv == NULL)
  ------------------
  |  Branch (491:17): [True: 0, False: 0]
  ------------------
  492|      0|                goto Error;
  493|       |
  494|      0|            r = PyObject_RichCompareBool(vv, w, op);
  495|      0|            if (r < 0)
  ------------------
  |  Branch (495:17): [True: 0, False: 0]
  ------------------
  496|      0|                goto Error;
  497|      0|            result = PyBool_FromLong(r);
  498|      0|         Error:
  499|      0|            Py_XDECREF(vv);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  500|      0|            return result;
  501|      0|        }
  502|      0|    } /* else if (PyLong_Check(w)) */
  503|       |
  504|      0|    else        /* w isn't float or int */
  505|      0|        goto Unimplemented;
  506|       |
  507|     15| Compare:
  508|     15|    switch (op) {
  ------------------
  |  Branch (508:13): [True: 15, False: 0]
  ------------------
  509|      0|    case Py_EQ:
  ------------------
  |  |  654|      0|#define Py_EQ 2
  ------------------
  |  Branch (509:5): [True: 0, False: 15]
  ------------------
  510|      0|        r = i == j;
  511|      0|        break;
  512|     15|    case Py_NE:
  ------------------
  |  |  655|     15|#define Py_NE 3
  ------------------
  |  Branch (512:5): [True: 15, False: 0]
  ------------------
  513|     15|        r = i != j;
  514|     15|        break;
  515|      0|    case Py_LE:
  ------------------
  |  |  653|      0|#define Py_LE 1
  ------------------
  |  Branch (515:5): [True: 0, False: 15]
  ------------------
  516|      0|        r = i <= j;
  517|      0|        break;
  518|      0|    case Py_GE:
  ------------------
  |  |  657|      0|#define Py_GE 5
  ------------------
  |  Branch (518:5): [True: 0, False: 15]
  ------------------
  519|      0|        r = i >= j;
  520|      0|        break;
  521|      0|    case Py_LT:
  ------------------
  |  |  652|      0|#define Py_LT 0
  ------------------
  |  Branch (521:5): [True: 0, False: 15]
  ------------------
  522|      0|        r = i < j;
  523|      0|        break;
  524|      0|    case Py_GT:
  ------------------
  |  |  656|      0|#define Py_GT 4
  ------------------
  |  Branch (524:5): [True: 0, False: 15]
  ------------------
  525|      0|        r = i > j;
  526|      0|        break;
  527|     15|    }
  528|     15|    return PyBool_FromLong(r);
  529|       |
  530|      0| Unimplemented:
  531|      0|    Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
  532|     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:
 2192|    435|{
 2193|    435|    CALL_STAT_INC(frame_objects_created);
  ------------------
  |  |   76|    435|#define CALL_STAT_INC(name) ((void)0)
  ------------------
 2194|    435|    int slots = code->co_nlocalsplus + code->co_stacksize;
 2195|    435|    PyFrameObject *f = PyObject_GC_NewVar(PyFrameObject, &PyFrame_Type, slots);
  ------------------
  |  |  183|    435|    _Py_CAST(type*, _PyObject_GC_NewVar((typeobj), (n)))
  |  |  ------------------
  |  |  |  |   37|    435|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2196|    435|    if (f == NULL) {
  ------------------
  |  Branch (2196:9): [True: 0, False: 435]
  ------------------
 2197|      0|        return NULL;
 2198|      0|    }
 2199|    435|    f->f_back = NULL;
 2200|    435|    f->f_trace = NULL;
 2201|    435|    f->f_trace_lines = 1;
 2202|    435|    f->f_trace_opcodes = 0;
 2203|    435|    f->f_lineno = 0;
 2204|    435|    f->f_extra_locals = NULL;
 2205|    435|    f->f_locals_cache = NULL;
 2206|    435|    f->f_overwritten_fast_locals = NULL;
 2207|       |    f->f_weakreflist = NULL;
 2208|    435|    return f;
 2209|    435|}
_PyFrame_HasHiddenLocals:
 2331|     15|{
 2332|       |    /*
 2333|       |     * This function returns if there are hidden locals introduced by PEP 709,
 2334|       |     * which are the isolated fast locals for inline comprehensions
 2335|       |     */
 2336|     15|    PyCodeObject* co = _PyFrame_GetCode(frame);
 2337|       |
 2338|     16|    for (int i = 0; i < co->co_nlocalsplus; i++) {
  ------------------
  |  Branch (2338:21): [True: 1, False: 15]
  ------------------
 2339|      1|        _PyLocals_Kind kind = _PyLocals_GetKind(co->co_localspluskinds, i);
 2340|       |
 2341|      1|        if (kind & CO_FAST_HIDDEN) {
  ------------------
  |  |  196|      1|#define CO_FAST_HIDDEN  (0x10)
  ------------------
  |  Branch (2341:13): [True: 1, False: 0]
  ------------------
 2342|      1|            if (framelocalsproxy_hasval(frame, co, i)) {
  ------------------
  |  Branch (2342:17): [True: 0, False: 1]
  ------------------
 2343|      0|                return true;
 2344|      0|            }
 2345|      1|        }
 2346|      1|    }
 2347|       |
 2348|     15|    return false;
 2349|     15|}
_PyFrame_GetLocals:
 2354|     15|{
 2355|       |    // We should try to avoid creating the FrameObject if possible.
 2356|       |    // So we check if the frame is a module or class level scope
 2357|     15|    PyCodeObject *co = _PyFrame_GetCode(frame);
 2358|       |
 2359|     15|    if (!(co->co_flags & CO_OPTIMIZED) && !_PyFrame_HasHiddenLocals(frame)) {
  ------------------
  |  |  122|     15|#define CO_OPTIMIZED    0x0001
  ------------------
  |  Branch (2359:9): [True: 15, False: 0]
  |  Branch (2359:43): [True: 15, False: 0]
  ------------------
 2360|     15|        if (frame->f_locals == NULL) {
  ------------------
  |  Branch (2360:13): [True: 0, False: 15]
  ------------------
 2361|       |            // We found cases when f_locals is NULL for non-optimized code.
 2362|       |            // We fill the f_locals with an empty dict to avoid crash until
 2363|       |            // we find the root cause.
 2364|      0|            frame->f_locals = PyDict_New();
 2365|      0|            if (frame->f_locals == NULL) {
  ------------------
  |  Branch (2365:17): [True: 0, False: 0]
  ------------------
 2366|      0|                return NULL;
 2367|      0|            }
 2368|      0|        }
 2369|     15|        return Py_NewRef(frame->f_locals);
  ------------------
  |  |  550|     15|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     15|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     15|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2370|     15|    }
 2371|       |
 2372|      0|    PyFrameObject* f = _PyFrame_GetFrameObject(frame);
 2373|      0|    if (f == NULL) {
  ------------------
  |  Branch (2373:9): [True: 0, False: 0]
  ------------------
 2374|      0|        return NULL;
 2375|      0|    }
 2376|       |
 2377|      0|    return _PyFrameLocalsProxy_New(f);
 2378|      0|}
PyFrame_GetCode:
 2463|      8|{
 2464|      8|    assert(frame != NULL);
  ------------------
  |  Branch (2464:5): [True: 8, False: 0]
  ------------------
 2465|      8|    PyObject *code;
 2466|      8|    Py_BEGIN_CRITICAL_SECTION(frame);
  ------------------
  |  |   51|      8|    {
  ------------------
 2467|      8|    assert(!_PyFrame_IsIncomplete(frame->f_frame));
  ------------------
  |  Branch (2467:5): [True: 8, False: 0]
  ------------------
 2468|      8|    code = Py_NewRef(_PyFrame_GetCode(frame->f_frame));
  ------------------
  |  |  550|      8|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2469|      8|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      8|    }
  ------------------
 2470|      8|    return (PyCodeObject *)code;
 2471|      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);
  ------------------
  |  |  484|      2|    do { \
  |  |  485|      2|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      2|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      2|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2, False: 0]
  |  |  ------------------
  |  |  488|      2|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      2|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      2|        } \
  |  |  491|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  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);
  ------------------
  |  |  514|      0|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   77|      0|    }
   78|       |
   79|      0|    if (value == NULL) {
  ------------------
  |  Branch (79:9): [True: 0, False: 0]
  ------------------
   80|      0|        return NULL;
   81|      0|    }
   82|       |
   83|      0|    return value;
   84|      0|}
frameobject.c:framelocalsproxy_new:
  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);
  ------------------
  |  |  550|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  484|       |
  485|      2|    return (PyObject *)self;
  486|      2|}
frameobject.c:frame_dealloc:
 2003|    435|{
 2004|       |    /* It is the responsibility of the owning generator/coroutine
 2005|       |     * to have cleared the generator pointer */
 2006|    435|    PyFrameObject *f = PyFrameObject_CAST(op);
  ------------------
  |  |   28|    435|    (assert(PyObject_TypeCheck((op), &PyFrame_Type)), (PyFrameObject *)(op))
  ------------------
  |  Branch (2006:24): [True: 435, False: 0]
  ------------------
 2007|    435|    if (_PyObject_GC_IS_TRACKED(f)) {
  ------------------
  |  |   81|    435|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|    435|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (81:37): [True: 140, False: 295]
  |  |  ------------------
  ------------------
 2008|    140|        _PyObject_GC_UNTRACK(f);
  ------------------
  |  |  507|    140|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    140|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    140|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2009|    140|    }
 2010|       |
 2011|    435|    FT_CLEAR_WEAKREFS(op, f->f_weakreflist);
  ------------------
  |  |   47|    435|    do {                                            \
  |  |   48|    435|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|    435|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 435]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|    435|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 435]
  |  |  ------------------
  ------------------
  |  Branch (2011:5): [True: 435, 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|    435|    _PyInterpreterFrame *frame = (_PyInterpreterFrame *)f->_f_frame_data;
 2018|       |
 2019|       |    /* Kill all local variables including specials, if we own them */
 2020|    435|    if (f->f_frame == frame && frame->owner == FRAME_OWNED_BY_FRAME_OBJECT) {
  ------------------
  |  Branch (2020:9): [True: 140, False: 295]
  |  Branch (2020:32): [True: 140, False: 0]
  ------------------
 2021|    140|        PyStackRef_CLEAR(frame->f_executable);
  ------------------
  |  |  732|    140|    do { \
  |  |  733|    140|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|    140|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|    140|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|    140|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|    140|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 140]
  |  |  ------------------
  ------------------
 2022|    140|        PyStackRef_CLEAR(frame->f_funcobj);
  ------------------
  |  |  732|    140|    do { \
  |  |  733|    140|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|    140|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|    140|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|    140|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|    140|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 140]
  |  |  ------------------
  ------------------
 2023|    140|        Py_CLEAR(frame->f_locals);
  ------------------
  |  |  484|    140|    do { \
  |  |  485|    140|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|    140|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    140|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|    140|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    140|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    140|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 140]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|    140|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 140]
  |  |  ------------------
  ------------------
 2024|    140|        _PyStackRef *locals = _PyFrame_GetLocalsArray(frame);
 2025|    140|        _PyStackRef *sp = frame->stackpointer;
 2026|    695|        while (sp > locals) {
  ------------------
  |  Branch (2026:16): [True: 555, False: 140]
  ------------------
 2027|    555|            sp--;
 2028|    555|            PyStackRef_CLEAR(*sp);
  ------------------
  |  |  732|    555|    do { \
  |  |  733|    555|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|    555|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|    555|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|    555|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|    555|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 555]
  |  |  ------------------
  ------------------
 2029|    555|        }
 2030|    140|    }
 2031|    435|    Py_CLEAR(f->f_back);
  ------------------
  |  |  484|    435|    do { \
  |  |  485|    435|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|    435|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    435|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|    435|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    435|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    435|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 103, False: 332]
  |  |  ------------------
  |  |  488|    103|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    103|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|    103|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|    103|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    103|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    103|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|    103|        } \
  |  |  491|    435|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 435]
  |  |  ------------------
  ------------------
 2032|    435|    Py_CLEAR(f->f_trace);
  ------------------
  |  |  484|    435|    do { \
  |  |  485|    435|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|    435|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    435|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|    435|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    435|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    435|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 435]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|    435|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 435]
  |  |  ------------------
  ------------------
 2033|    435|    Py_CLEAR(f->f_extra_locals);
  ------------------
  |  |  484|    435|    do { \
  |  |  485|    435|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|    435|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    435|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|    435|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    435|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    435|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 435]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|    435|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 435]
  |  |  ------------------
  ------------------
 2034|    435|    Py_CLEAR(f->f_locals_cache);
  ------------------
  |  |  484|    435|    do { \
  |  |  485|    435|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|    435|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    435|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|    435|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    435|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    435|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 435]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|    435|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 435]
  |  |  ------------------
  ------------------
 2035|       |    Py_CLEAR(f->f_overwritten_fast_locals);
  ------------------
  |  |  484|    435|    do { \
  |  |  485|    435|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|    435|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    435|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|    435|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    435|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    435|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 435]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|    435|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 435]
  |  |  ------------------
  ------------------
 2036|    435|    PyObject_GC_Del(f);
 2037|    435|}
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);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _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:
  117|     59|{
  118|     59|    PyObject *module;
  119|     59|    if (PyDict_GetItemRef(constr->fc_globals, &_Py_ID(__name__), &module) < 0) {
  ------------------
  |  |  936|     59|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     59|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     59|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (119:9): [True: 0, False: 59]
  ------------------
  120|      0|        return NULL;
  121|      0|    }
  122|       |
  123|     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))
  |  |  ------------------
  ------------------
  124|     59|    if (op == NULL) {
  ------------------
  |  Branch (124:9): [True: 0, False: 59]
  ------------------
  125|      0|        Py_XDECREF(module);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  126|      0|        return NULL;
  127|      0|    }
  128|     59|    _Py_INCREF_DICT(constr->fc_globals);
  ------------------
  |  |  396|     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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  129|     59|    op->func_globals = constr->fc_globals;
  130|     59|    _Py_INCREF_BUILTINS(constr->fc_builtins);
  ------------------
  |  |  398|     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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  131|     59|    op->func_builtins = constr->fc_builtins;
  132|     59|    op->func_name = Py_NewRef(constr->fc_name);
  ------------------
  |  |  550|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  133|     59|    op->func_qualname = Py_NewRef(constr->fc_qualname);
  ------------------
  |  |  550|     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|    _Py_INCREF_CODE((PyCodeObject *)constr->fc_code);
  ------------------
  |  |  309|     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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  135|     59|    op->func_code = constr->fc_code;
  136|     59|    op->func_defaults = Py_XNewRef(constr->fc_defaults);
  ------------------
  |  |  551|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  137|     59|    op->func_kwdefaults = Py_XNewRef(constr->fc_kwdefaults);
  ------------------
  |  |  551|     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_closure = Py_XNewRef(constr->fc_closure);
  ------------------
  |  |  551|     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_doc = Py_NewRef(Py_None);
  ------------------
  |  |  550|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  140|     59|    op->func_dict = NULL;
  141|     59|    op->func_weakreflist = NULL;
  142|     59|    op->func_module = module;
  143|     59|    op->func_annotations = NULL;
  144|     59|    op->func_annotate = NULL;
  145|     59|    op->func_typeparams = NULL;
  146|     59|    op->vectorcall = _PyFunction_Vectorcall;
  147|     59|    op->func_version = FUNC_VERSION_UNSET;
  ------------------
  |  |   18|     59|#define FUNC_VERSION_UNSET 0
  ------------------
  148|       |    // NOTE: functions created via FrameConstructor do not use deferred
  149|       |    // reference counting because they are typically not part of cycles
  150|       |    // nor accessed by multiple threads.
  151|     59|    _PyObject_GC_TRACK(op);
  ------------------
  |  |  505|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  152|       |    handle_func_event(PyFunction_EVENT_CREATE, op, NULL);
  153|     59|    return op;
  154|     59|}
PyFunction_NewWithQualName:
  158|  2.35k|{
  159|  2.35k|    assert(globals != NULL);
  ------------------
  |  Branch (159:5): [True: 2.35k, False: 0]
  ------------------
  160|  2.35k|    assert(PyAnyDict_Check(globals));
  ------------------
  |  Branch (160:5): [True: 2.35k, False: 0]
  |  Branch (160:5): [True: 0, False: 0]
  ------------------
  161|  2.35k|    _Py_INCREF_DICT(globals);
  ------------------
  |  |  396|  2.35k|#  define _Py_INCREF_DICT Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  2.35k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.35k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.35k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  162|       |
  163|  2.35k|    PyCodeObject *code_obj = (PyCodeObject *)code;
  164|  2.35k|    _Py_INCREF_CODE(code_obj);
  ------------------
  |  |  309|  2.35k|#  define _Py_INCREF_CODE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  2.35k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.35k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.35k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  165|       |
  166|  2.35k|    assert(code_obj->co_name != NULL);
  ------------------
  |  Branch (166:5): [True: 2.35k, False: 0]
  ------------------
  167|  2.35k|    PyObject *name = Py_NewRef(code_obj->co_name);
  ------------------
  |  |  550|  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  168|       |
  169|  2.35k|    if (!qualname) {
  ------------------
  |  Branch (169:9): [True: 2.35k, False: 0]
  ------------------
  170|  2.35k|        qualname = code_obj->co_qualname;
  171|  2.35k|    }
  172|  2.35k|    assert(qualname != NULL);
  ------------------
  |  Branch (172:5): [True: 2.35k, False: 0]
  ------------------
  173|  2.35k|    Py_INCREF(qualname);
  ------------------
  |  |  310|  2.35k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.35k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.35k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  174|       |
  175|  2.35k|    PyObject *consts = code_obj->co_consts;
  176|  2.35k|    assert(PyTuple_Check(consts));
  ------------------
  |  Branch (176:5): [True: 2.35k, False: 0]
  ------------------
  177|  2.35k|    PyObject *doc;
  178|  2.35k|    if (code_obj->co_flags & CO_HAS_DOCSTRING) {
  ------------------
  |  |  154|  2.35k|#define CO_HAS_DOCSTRING 0x4000000
  ------------------
  |  Branch (178:9): [True: 882, False: 1.46k]
  ------------------
  179|    882|        assert(PyTuple_Size(consts) >= 1);
  ------------------
  |  Branch (179:9): [True: 882, False: 0]
  ------------------
  180|    882|        doc = PyTuple_GetItem(consts, 0);
  181|    882|        if (!PyUnicode_Check(doc)) {
  ------------------
  |  |  103|    882|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    882|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (181:13): [True: 0, False: 882]
  ------------------
  182|      0|            doc = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  183|      0|        }
  184|    882|    }
  185|  1.46k|    else {
  186|  1.46k|        doc = Py_None;
  ------------------
  |  |  616|  1.46k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  187|  1.46k|    }
  188|  2.35k|    Py_INCREF(doc);
  ------------------
  |  |  310|  2.35k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.35k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.35k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  189|       |
  190|       |    // __module__: Use globals['__name__'] if it exists, or NULL.
  191|  2.35k|    PyObject *module;
  192|  2.35k|    PyObject *builtins = NULL;
  193|  2.35k|    if (PyDict_GetItemRef(globals, &_Py_ID(__name__), &module) < 0) {
  ------------------
  |  |  936|  2.35k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  2.35k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.35k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (193:9): [True: 0, False: 2.35k]
  ------------------
  194|      0|        goto error;
  195|      0|    }
  196|       |
  197|  2.35k|    builtins = _PyDict_LoadBuiltinsFromGlobals(globals);
  198|  2.35k|    if (builtins == NULL) {
  ------------------
  |  Branch (198:9): [True: 0, False: 2.35k]
  ------------------
  199|      0|        goto error;
  200|      0|    }
  201|       |
  202|  2.35k|    PyFunctionObject *op = PyObject_GC_New(PyFunctionObject, &PyFunction_Type);
  ------------------
  |  |  181|  2.35k|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|  2.35k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  203|  2.35k|    if (op == NULL) {
  ------------------
  |  Branch (203:9): [True: 0, False: 2.35k]
  ------------------
  204|      0|        goto error;
  205|      0|    }
  206|       |    /* Note: No failures from this point on, since func_dealloc() does not
  207|       |       expect a partially-created object. */
  208|       |
  209|  2.35k|    op->func_globals = globals;
  210|  2.35k|    op->func_builtins = builtins;
  211|  2.35k|    op->func_name = name;
  212|  2.35k|    op->func_qualname = qualname;
  213|  2.35k|    op->func_code = (PyObject*)code_obj;
  214|  2.35k|    op->func_defaults = NULL;    // No default positional arguments
  215|  2.35k|    op->func_kwdefaults = NULL;  // No default keyword arguments
  216|  2.35k|    op->func_closure = NULL;
  217|  2.35k|    op->func_doc = doc;
  218|  2.35k|    op->func_dict = NULL;
  219|  2.35k|    op->func_weakreflist = NULL;
  220|  2.35k|    op->func_module = module;
  221|  2.35k|    op->func_annotations = NULL;
  222|  2.35k|    op->func_annotate = NULL;
  223|  2.35k|    op->func_typeparams = NULL;
  224|  2.35k|    op->vectorcall = _PyFunction_Vectorcall;
  225|  2.35k|    op->func_version = FUNC_VERSION_UNSET;
  ------------------
  |  |   18|  2.35k|#define FUNC_VERSION_UNSET 0
  ------------------
  226|  2.35k|    if (((code_obj->co_flags & CO_NESTED) == 0) ||
  ------------------
  |  |  126|  2.35k|#define CO_NESTED       0x0010
  ------------------
  |  Branch (226:9): [True: 2.11k, False: 233]
  ------------------
  227|  2.12k|        (code_obj->co_flags & CO_METHOD)) {
  ------------------
  |  |  157|    233|#define CO_METHOD  0x8000000
  ------------------
  |  Branch (227:9): [True: 6, False: 227]
  ------------------
  228|       |        // Use deferred reference counting for top-level functions, but not
  229|       |        // nested functions because they are more likely to capture variables,
  230|       |        // which makes prompt deallocation more important.
  231|       |        //
  232|       |        // Nested methods (functions defined in class scope) are also deferred,
  233|       |        // since they will likely be cleaned up by GC anyway.
  234|  2.12k|        _PyObject_SetDeferredRefcount((PyObject *)op);
  235|  2.12k|    }
  236|  2.35k|    _PyObject_GC_TRACK(op);
  ------------------
  |  |  505|  2.35k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.35k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.35k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  237|  2.35k|    handle_func_event(PyFunction_EVENT_CREATE, op, NULL);
  238|  2.35k|    return (PyObject *)op;
  239|       |
  240|      0|error:
  241|      0|    Py_DECREF(globals);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  242|      0|    Py_DECREF(code_obj);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  243|      0|    Py_DECREF(name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  244|      0|    Py_DECREF(qualname);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  245|      0|    Py_DECREF(doc);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  246|      0|    Py_XDECREF(module);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  247|      0|    Py_XDECREF(builtins);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  248|       |    return NULL;
  249|  2.35k|}
_PyFunction_SetVersion:
  320|  2.35k|{
  321|  2.35k|    assert(func->func_version == FUNC_VERSION_UNSET);
  ------------------
  |  Branch (321:5): [True: 2.35k, False: 0]
  ------------------
  322|  2.35k|    assert(version >= FUNC_VERSION_FIRST_VALID);
  ------------------
  |  Branch (322:5): [True: 2.35k, False: 0]
  ------------------
  323|       |    // This should only be called from MAKE_FUNCTION. No code is specialized
  324|       |    // based on the version, so we do not need to stop the world to set it.
  325|  2.35k|    func->func_version = version;
  326|  2.35k|#ifndef Py_GIL_DISABLED
  327|  2.35k|    PyInterpreterState *interp = _PyInterpreterState_GET();
  328|  2.35k|    struct _func_version_cache_item *slot = get_cache_item(interp, version);
  329|  2.35k|    slot->func = func;
  330|  2.35k|    slot->code = func->func_code;
  331|  2.35k|#endif
  332|  2.35k|}
_PyFunction_ClearCodeByVersion:
  354|    456|{
  355|    456|#ifndef Py_GIL_DISABLED
  356|    456|    PyInterpreterState *interp = _PyInterpreterState_GET();
  357|    456|    struct _func_version_cache_item *slot = get_cache_item(interp, version);
  358|    456|    if (slot->code) {
  ------------------
  |  Branch (358:9): [True: 339, False: 117]
  ------------------
  359|    339|        assert(PyCode_Check(slot->code));
  ------------------
  |  Branch (359:9): [True: 339, False: 0]
  ------------------
  360|    339|        PyCodeObject *code = (PyCodeObject *)slot->code;
  361|    339|        if (code->co_version == version) {
  ------------------
  |  Branch (361:13): [True: 339, False: 0]
  ------------------
  362|    339|            slot->code = NULL;
  363|       |            slot->func = NULL;
  364|    339|        }
  365|    339|    }
  366|    456|#endif
  367|    456|}
_PyFunction_GetVersionForCurrentState:
  371|    315|{
  372|    315|    return func->func_version;
  373|    315|}
PyFunction_New:
  377|  2.35k|{
  378|       |    return PyFunction_NewWithQualName(code, globals, NULL);
  379|  2.35k|}
PyFunction_GetModule:
  403|      5|{
  404|      5|    if (!PyFunction_Check(op)) {
  ------------------
  |  |   68|      5|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  ------------------
  |  |  |  |  215|      5|#  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 (404:9): [True: 0, False: 5]
  ------------------
  405|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  406|      0|        return NULL;
  407|      0|    }
  408|      5|    return ((PyFunctionObject *) op) -> func_module;
  409|      5|}
PyClassMethod_New:
 1714|      1|{
 1715|      1|    classmethod *cm = (classmethod *)
 1716|      1|        PyType_GenericAlloc(&PyClassMethod_Type, 0);
 1717|      1|    if (cm == NULL) {
  ------------------
  |  Branch (1717:9): [True: 0, False: 1]
  ------------------
 1718|      0|        return NULL;
 1719|      0|    }
 1720|      1|    if (cm_set_callable(cm, callable) < 0) {
  ------------------
  |  Branch (1720:9): [True: 0, False: 1]
  ------------------
 1721|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1722|      0|        return NULL;
 1723|      0|    }
 1724|      1|    return (PyObject *)cm;
 1725|      1|}
PyStaticMethod_New:
 1980|     28|{
 1981|     28|    staticmethod *sm = (staticmethod *)
 1982|     28|        PyType_GenericAlloc(&PyStaticMethod_Type, 0);
 1983|     28|    if (sm == NULL) {
  ------------------
  |  Branch (1983:9): [True: 0, False: 28]
  ------------------
 1984|      0|        return NULL;
 1985|      0|    }
 1986|     28|    _PyObject_SetDeferredRefcount((PyObject *)sm);
 1987|     28|    if (sm_set_callable(sm, callable) < 0) {
  ------------------
  |  Branch (1987:9): [True: 0, False: 28]
  ------------------
 1988|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1989|      0|        return NULL;
 1990|      0|    }
 1991|     28|    return (PyObject *)sm;
 1992|     28|}
_PyStaticMethod_GetFunc:
 2003|    650|{
 2004|    650|    staticmethod *sm = _PyStaticMethod_CAST(self);
  ------------------
  |  | 1753|    650|    (assert(PyObject_TypeCheck((cm), &PyStaticMethod_Type)), \
  |  | 1754|    650|     _Py_CAST(staticmethod*, cm))
  |  |  ------------------
  |  |  |  |   37|    650|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (2004:24): [True: 650, False: 0]
  ------------------
 2005|      0|    return sm->sm_callable;
 2006|    650|}
funcobject.c:handle_func_event:
   55|  3.07k|{
   56|  3.07k|    assert(Py_REFCNT(func) > 0);
  ------------------
  |  Branch (56:5): [True: 3.07k, False: 0]
  ------------------
   57|  3.07k|    PyInterpreterState *interp = _PyInterpreterState_GET();
   58|  3.07k|    assert(interp->_initialized);
  ------------------
  |  Branch (58:5): [True: 3.07k, False: 0]
  ------------------
   59|  3.07k|    if (interp->active_func_watchers) {
  ------------------
  |  Branch (59:9): [True: 0, False: 3.07k]
  ------------------
   60|      0|        notify_func_watchers(interp, event, func, new_value);
   61|      0|    }
   62|  3.07k|    switch (event) {
   63|      0|        case PyFunction_EVENT_MODIFY_CODE:
  ------------------
  |  Branch (63:9): [True: 0, False: 3.07k]
  ------------------
   64|      0|        case PyFunction_EVENT_MODIFY_DEFAULTS:
  ------------------
  |  Branch (64:9): [True: 0, False: 3.07k]
  ------------------
   65|      0|        case PyFunction_EVENT_MODIFY_KWDEFAULTS:
  ------------------
  |  Branch (65:9): [True: 0, False: 3.07k]
  ------------------
   66|     33|        case PyFunction_EVENT_MODIFY_QUALNAME:
  ------------------
  |  Branch (66:9): [True: 33, False: 3.03k]
  ------------------
   67|       |#if _Py_TIER2
   68|       |            // Note: we only invalidate JIT code if a function version changes.
   69|       |            // Not when the function is deallocated.
   70|       |            // Function deallocation occurs frequently (think: lambdas),
   71|       |            // so we want to minimize dependency invalidation there.
   72|       |            _Py_Executors_InvalidateDependency(interp, func, 1);
   73|       |#endif
   74|     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); \
  |  |  ------------------
  |  |  |  |  157|     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); \
  |  |  ------------------
  |  |  |  |  155|     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]
  |  |  ------------------
  ------------------
   75|     33|            break;
   76|  3.03k|        default:
  ------------------
  |  Branch (76:9): [True: 3.03k, False: 33]
  ------------------
   77|  3.03k|            break;
   78|  3.07k|    }
   79|  3.07k|}
funcobject.c:get_cache_item:
  312|  3.37k|{
  313|  3.37k|    return interp->func_state.func_version_cache +
  314|  3.37k|           (version % FUNC_VERSION_CACHE_SIZE);
  ------------------
  |  |  509|  3.37k|#define FUNC_VERSION_CACHE_SIZE (1<<12)  /* Must be a power of 2 */
  ------------------
  315|  3.37k|}
funcobject.c:func_clear_version:
  336|    675|{
  337|    675|    if (func->func_version < FUNC_VERSION_FIRST_VALID) {
  ------------------
  |  |   20|    675|#define FUNC_VERSION_FIRST_VALID 2
  ------------------
  |  Branch (337:9): [True: 104, False: 571]
  ------------------
  338|       |        // Version was never set or has already been cleared.
  339|    104|        return;
  340|    104|    }
  341|    571|#ifndef Py_GIL_DISABLED
  342|    571|    struct _func_version_cache_item *slot =
  343|    571|        get_cache_item(interp, func->func_version);
  344|    571|    if (slot->func == func) {
  ------------------
  |  Branch (344:9): [True: 541, False: 30]
  ------------------
  345|    541|        slot->func = NULL;
  346|       |        // Leave slot->code alone, there may be use for it.
  347|    541|    }
  348|    571|#endif
  349|    571|    func->func_version = FUNC_VERSION_CLEARED;
  ------------------
  |  |   19|    571|#define FUNC_VERSION_CLEARED 1
  ------------------
  350|    571|}
funcobject.c:func_dealloc:
 1206|    630|{
 1207|    630|    PyFunctionObject *op = _PyFunction_CAST(self);
  ------------------
  |  |   86|    630|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|    630|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1207:28): [True: 630, False: 0]
  ------------------
 1208|      0|    _PyObject_ResurrectStart(self);
 1209|    630|    handle_func_event(PyFunction_EVENT_DESTROY, op, NULL);
 1210|    630|    if (_PyObject_ResurrectEnd(self)) {
  ------------------
  |  Branch (1210:9): [True: 0, False: 630]
  ------------------
 1211|      0|        return;
 1212|      0|    }
 1213|    630|    _PyObject_GC_UNTRACK(op);
  ------------------
  |  |  507|    630|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    630|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    630|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1214|    630|    FT_CLEAR_WEAKREFS(self, op->func_weakreflist);
  ------------------
  |  |   47|    630|    do {                                            \
  |  |   48|    630|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|    630|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 630]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|    630|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 630]
  |  |  ------------------
  ------------------
  |  Branch (1214:5): [True: 630, False: 0]
  ------------------
 1215|    630|    (void)func_clear((PyObject*)op);
 1216|       |    // These aren't cleared by func_clear().
 1217|    630|    _Py_DECREF_CODE((PyCodeObject *)op->func_code);
  ------------------
  |  |  310|    630|#  define _Py_DECREF_CODE Py_DECREF
  |  |  ------------------
  |  |  |  |  430|    630|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    630|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    630|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1218|    630|    Py_DECREF(op->func_name);
  ------------------
  |  |  430|    630|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    630|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    630|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1219|    630|    Py_DECREF(op->func_qualname);
  ------------------
  |  |  430|    630|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    630|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    630|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1220|    630|    PyObject_GC_Del(op);
 1221|    630|}
funcobject.c:func_traverse:
 1233|  2.91k|{
 1234|  2.91k|    PyFunctionObject *f = _PyFunction_CAST(self);
  ------------------
  |  |   86|  2.91k|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|  2.91k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1234:27): [True: 2.91k, False: 0]
  ------------------
 1235|  2.91k|    Py_VISIT(f->func_code);
  ------------------
  |  |  194|  2.91k|    do {                                                                \
  |  |  195|  2.91k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 2.91k, False: 0]
  |  |  ------------------
  |  |  196|  2.91k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  2.91k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.91k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  2.91k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 2.91k]
  |  |  ------------------
  |  |  198|  2.91k|                return vret;                                            \
  |  |  199|  2.91k|        }                                                               \
  |  |  200|  2.91k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.91k]
  |  |  ------------------
  ------------------
 1236|  2.91k|    Py_VISIT(f->func_globals);
  ------------------
  |  |  194|  2.91k|    do {                                                                \
  |  |  195|  2.91k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 2.91k, False: 0]
  |  |  ------------------
  |  |  196|  2.91k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  2.91k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.91k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  2.91k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 2.91k]
  |  |  ------------------
  |  |  198|  2.91k|                return vret;                                            \
  |  |  199|  2.91k|        }                                                               \
  |  |  200|  2.91k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.91k]
  |  |  ------------------
  ------------------
 1237|  2.91k|    Py_VISIT(f->func_builtins);
  ------------------
  |  |  194|  2.91k|    do {                                                                \
  |  |  195|  2.91k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 2.91k, False: 0]
  |  |  ------------------
  |  |  196|  2.91k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  2.91k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.91k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  2.91k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 2.91k]
  |  |  ------------------
  |  |  198|  2.91k|                return vret;                                            \
  |  |  199|  2.91k|        }                                                               \
  |  |  200|  2.91k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.91k]
  |  |  ------------------
  ------------------
 1238|  2.91k|    Py_VISIT(f->func_module);
  ------------------
  |  |  194|  2.91k|    do {                                                                \
  |  |  195|  2.91k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 2.91k, False: 4]
  |  |  ------------------
  |  |  196|  2.91k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  2.91k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.91k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  2.91k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 2.91k]
  |  |  ------------------
  |  |  198|  2.91k|                return vret;                                            \
  |  |  199|  2.91k|        }                                                               \
  |  |  200|  2.91k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.91k]
  |  |  ------------------
  ------------------
 1239|  2.91k|    Py_VISIT(f->func_defaults);
  ------------------
  |  |  194|  2.91k|    do {                                                                \
  |  |  195|  2.91k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 512, False: 2.40k]
  |  |  ------------------
  |  |  196|    512|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    512|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    512|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    512|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 512]
  |  |  ------------------
  |  |  198|    512|                return vret;                                            \
  |  |  199|    512|        }                                                               \
  |  |  200|  2.91k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.91k]
  |  |  ------------------
  ------------------
 1240|  2.91k|    Py_VISIT(f->func_kwdefaults);
  ------------------
  |  |  194|  2.91k|    do {                                                                \
  |  |  195|  2.91k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 82, False: 2.83k]
  |  |  ------------------
  |  |  196|     82|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     82|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     82|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     82|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 82]
  |  |  ------------------
  |  |  198|     82|                return vret;                                            \
  |  |  199|     82|        }                                                               \
  |  |  200|  2.91k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.91k]
  |  |  ------------------
  ------------------
 1241|  2.91k|    Py_VISIT(f->func_doc);
  ------------------
  |  |  194|  2.91k|    do {                                                                \
  |  |  195|  2.91k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 2.91k, False: 0]
  |  |  ------------------
  |  |  196|  2.91k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  2.91k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.91k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  2.91k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 2.91k]
  |  |  ------------------
  |  |  198|  2.91k|                return vret;                                            \
  |  |  199|  2.91k|        }                                                               \
  |  |  200|  2.91k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.91k]
  |  |  ------------------
  ------------------
 1242|  2.91k|    Py_VISIT(f->func_name);
  ------------------
  |  |  194|  2.91k|    do {                                                                \
  |  |  195|  2.91k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 2.91k, False: 0]
  |  |  ------------------
  |  |  196|  2.91k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  2.91k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.91k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  2.91k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 2.91k]
  |  |  ------------------
  |  |  198|  2.91k|                return vret;                                            \
  |  |  199|  2.91k|        }                                                               \
  |  |  200|  2.91k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.91k]
  |  |  ------------------
  ------------------
 1243|  2.91k|    Py_VISIT(f->func_dict);
  ------------------
  |  |  194|  2.91k|    do {                                                                \
  |  |  195|  2.91k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 184, False: 2.73k]
  |  |  ------------------
  |  |  196|    184|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    184|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    184|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    184|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 184]
  |  |  ------------------
  |  |  198|    184|                return vret;                                            \
  |  |  199|    184|        }                                                               \
  |  |  200|  2.91k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.91k]
  |  |  ------------------
  ------------------
 1244|  2.91k|    Py_VISIT(f->func_closure);
  ------------------
  |  |  194|  2.91k|    do {                                                                \
  |  |  195|  2.91k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 126, False: 2.79k]
  |  |  ------------------
  |  |  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|  2.91k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.91k]
  |  |  ------------------
  ------------------
 1245|  2.91k|    Py_VISIT(f->func_annotations);
  ------------------
  |  |  194|  2.91k|    do {                                                                \
  |  |  195|  2.91k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 2.91k]
  |  |  ------------------
  |  |  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.91k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.91k]
  |  |  ------------------
  ------------------
 1246|  2.91k|    Py_VISIT(f->func_annotate);
  ------------------
  |  |  194|  2.91k|    do {                                                                \
  |  |  195|  2.91k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 12, False: 2.90k]
  |  |  ------------------
  |  |  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|  2.91k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.91k]
  |  |  ------------------
  ------------------
 1247|  2.91k|    Py_VISIT(f->func_typeparams);
  ------------------
  |  |  194|  2.91k|    do {                                                                \
  |  |  195|  2.91k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 6, False: 2.91k]
  |  |  ------------------
  |  |  196|      6|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      6|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 6]
  |  |  ------------------
  |  |  198|      6|                return vret;                                            \
  |  |  199|      6|        }                                                               \
  |  |  200|  2.91k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.91k]
  |  |  ------------------
  ------------------
 1248|  2.91k|    Py_VISIT(f->func_qualname);
  ------------------
  |  |  194|  2.91k|    do {                                                                \
  |  |  195|  2.91k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 2.91k, False: 0]
  |  |  ------------------
  |  |  196|  2.91k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  2.91k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.91k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  2.91k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 2.91k]
  |  |  ------------------
  |  |  198|  2.91k|                return vret;                                            \
  |  |  199|  2.91k|        }                                                               \
  |  |  200|  2.91k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.91k]
  |  |  ------------------
  ------------------
 1249|  2.91k|    return 0;
 1250|  2.91k|}
funcobject.c:func_clear:
 1172|    675|{
 1173|    675|    PyFunctionObject *op = _PyFunction_CAST(self);
  ------------------
  |  |   86|    675|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|    675|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1173:28): [True: 675, False: 0]
  ------------------
 1174|      0|    func_clear_version(_PyInterpreterState_GET(), op);
 1175|    675|    PyObject *globals = op->func_globals;
 1176|    675|    op->func_globals = NULL;
 1177|    675|    if (globals != NULL) {
  ------------------
  |  Branch (1177:9): [True: 630, False: 45]
  ------------------
 1178|    630|        _Py_DECREF_DICT(globals);
  ------------------
  |  |  397|    630|#  define _Py_DECREF_DICT Py_DECREF
  |  |  ------------------
  |  |  |  |  430|    630|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    630|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    630|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1179|    630|    }
 1180|    675|    PyObject *builtins = op->func_builtins;
 1181|    675|    op->func_builtins = NULL;
 1182|    675|    if (builtins != NULL) {
  ------------------
  |  Branch (1182:9): [True: 630, False: 45]
  ------------------
 1183|    630|        _Py_DECREF_BUILTINS(builtins);
  ------------------
  |  |  399|    630|#  define _Py_DECREF_BUILTINS Py_DECREF
  |  |  ------------------
  |  |  |  |  430|    630|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    630|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    630|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1184|    630|    }
 1185|    675|    Py_CLEAR(op->func_module);
  ------------------
  |  |  484|    675|    do { \
  |  |  485|    675|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|    675|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    675|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|    675|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    675|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    675|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 618, False: 57]
  |  |  ------------------
  |  |  488|    618|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    618|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|    618|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|    618|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    618|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    618|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|    618|        } \
  |  |  491|    675|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 675]
  |  |  ------------------
  ------------------
 1186|    675|    Py_CLEAR(op->func_defaults);
  ------------------
  |  |  484|    675|    do { \
  |  |  485|    675|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|    675|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    675|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|    675|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    675|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    675|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 92, False: 583]
  |  |  ------------------
  |  |  488|     92|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     92|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     92|            Py_DECREF(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     92|        } \
  |  |  491|    675|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 675]
  |  |  ------------------
  ------------------
 1187|    675|    Py_CLEAR(op->func_kwdefaults);
  ------------------
  |  |  484|    675|    do { \
  |  |  485|    675|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|    675|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    675|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|    675|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    675|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    675|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2, False: 673]
  |  |  ------------------
  |  |  488|      2|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      2|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      2|        } \
  |  |  491|    675|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 675]
  |  |  ------------------
  ------------------
 1188|    675|    Py_CLEAR(op->func_doc);
  ------------------
  |  |  484|    675|    do { \
  |  |  485|    675|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|    675|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    675|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|    675|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    675|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    675|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 630, False: 45]
  |  |  ------------------
  |  |  488|    630|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    630|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|    630|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|    630|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    630|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    630|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|    630|        } \
  |  |  491|    675|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 675]
  |  |  ------------------
  ------------------
 1189|    675|    Py_CLEAR(op->func_dict);
  ------------------
  |  |  484|    675|    do { \
  |  |  485|    675|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|    675|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    675|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|    675|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    675|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    675|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2, False: 673]
  |  |  ------------------
  |  |  488|      2|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      2|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      2|        } \
  |  |  491|    675|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 675]
  |  |  ------------------
  ------------------
 1190|    675|    Py_CLEAR(op->func_closure);
  ------------------
  |  |  484|    675|    do { \
  |  |  485|    675|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|    675|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    675|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|    675|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    675|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    675|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 84, False: 591]
  |  |  ------------------
  |  |  488|     84|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     84|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     84|            Py_DECREF(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     84|        } \
  |  |  491|    675|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 675]
  |  |  ------------------
  ------------------
 1191|    675|    Py_CLEAR(op->func_annotations);
  ------------------
  |  |  484|    675|    do { \
  |  |  485|    675|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|    675|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    675|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|    675|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    675|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    675|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 675]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|    675|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 675]
  |  |  ------------------
  ------------------
 1192|    675|    Py_CLEAR(op->func_annotate);
  ------------------
  |  |  484|    675|    do { \
  |  |  485|    675|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|    675|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    675|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|    675|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    675|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    675|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2, False: 673]
  |  |  ------------------
  |  |  488|      2|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      2|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      2|        } \
  |  |  491|    675|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 675]
  |  |  ------------------
  ------------------
 1193|    675|    Py_CLEAR(op->func_typeparams);
  ------------------
  |  |  484|    675|    do { \
  |  |  485|    675|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|    675|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    675|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|    675|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    675|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    675|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2, False: 673]
  |  |  ------------------
  |  |  488|      2|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      2|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      2|        } \
  |  |  491|    675|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 675]
  |  |  ------------------
  ------------------
 1194|       |    // Don't Py_CLEAR(op->func_code), since code is always required
 1195|       |    // to be non-NULL. Similarly, name and qualname shouldn't be NULL.
 1196|       |    // However, name and qualname could be str subclasses, so they
 1197|       |    // could have reference cycles. The solution is to replace them
 1198|       |    // with a genuinely immutable string.
 1199|    675|    Py_SETREF(op->func_name, &_Py_STR(empty));
  ------------------
  |  |  354|    675|    do { \
  |  |  355|    675|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|    675|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|    675|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|    675|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|    675|        *_tmp_dst_ptr = (src); \
  |  |  358|    675|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|    675|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    675|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    675|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|    675|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 675]
  |  |  ------------------
  ------------------
 1200|    675|    Py_SETREF(op->func_qualname, &_Py_STR(empty));
  ------------------
  |  |  354|    675|    do { \
  |  |  355|    675|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|    675|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|    675|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|    675|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|    675|        *_tmp_dst_ptr = (src); \
  |  |  358|    675|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|    675|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    675|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    675|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|    675|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 675]
  |  |  ------------------
  ------------------
 1201|    675|    return 0;
 1202|    675|}
funcobject.c:func_get_code:
  645|      4|{
  646|      4|    PyFunctionObject *op = _PyFunction_CAST(self);
  ------------------
  |  |   86|      4|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (646:28): [True: 4, False: 0]
  ------------------
  647|      4|    if (PySys_Audit("object.__getattr__", "Os", op, "__code__") < 0) {
  ------------------
  |  Branch (647:9): [True: 0, False: 4]
  ------------------
  648|      0|        return NULL;
  649|      0|    }
  650|       |
  651|      4|    return Py_NewRef(op->func_code);
  ------------------
  |  |  550|      4|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  652|      4|}
funcobject.c:function___annotate___get_impl:
  919|      5|{
  920|      5|    if (self->func_annotate == NULL) {
  ------------------
  |  Branch (920:9): [True: 5, False: 0]
  ------------------
  921|      5|        Py_RETURN_NONE;
  ------------------
  |  |  628|      5|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      5|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  922|      5|    }
  923|      0|    return Py_NewRef(self->func_annotate);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  924|      5|}
funcobject.c:function___annotate___set_impl:
  935|      3|{
  936|      3|    if (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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  937|      3|        Py_XSETREF(self->func_annotate, Py_NewRef(value));
  ------------------
  |  |  376|      3|    do { \
  |  |  377|      3|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|      3|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|      3|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|      3|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|      3|        *_tmp_dst_ptr = (src); \
  |  |  380|      3|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|      3|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|      3|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 3]
  |  |  ------------------
  ------------------
  938|      3|        return 0;
  939|      3|    }
  940|      0|    else if (PyCallable_Check(value)) {
  ------------------
  |  Branch (940:14): [True: 0, False: 0]
  ------------------
  941|      0|        Py_XSETREF(self->func_annotate, Py_NewRef(value));
  ------------------
  |  |  376|      0|    do { \
  |  |  377|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|      0|        *_tmp_dst_ptr = (src); \
  |  |  380|      0|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  942|      0|        Py_CLEAR(self->func_annotations);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  943|      0|        return 0;
  944|      0|    }
  945|      0|    else {
  946|      0|        PyErr_SetString(PyExc_TypeError,
  947|      0|            "__annotate__ must be callable or None");
  948|      0|        return -1;
  949|      0|    }
  950|      3|}
funcobject.c:func_get_doc:
  765|    213|{
  766|    213|    PyFunctionObject *op = _PyFunction_CAST(self);
  ------------------
  |  |   86|    213|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|    213|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (766:28): [True: 213, False: 0]
  ------------------
  767|      0|    PyObject *doc = op->func_doc;
  768|    213|    if (doc == NULL) {
  ------------------
  |  Branch (768:9): [True: 0, False: 213]
  ------------------
  769|      0|        doc = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  770|      0|    }
  771|    213|    return Py_NewRef(doc);
  ------------------
  |  |  550|    213|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    213|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    213|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  772|    213|}
funcobject.c:func_set_doc:
  776|     29|{
  777|       |    /* Legal to del f.__doc__ or to set it to any object. */
  778|     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 (778:28): [True: 29, False: 0]
  ------------------
  779|      0|    PyInterpreterState *interp = _PyInterpreterState_GET();
  780|     29|    _PyEval_StopTheWorld(interp);
  781|     29|    PyObject *old_doc = op->func_doc;
  782|     29|    op->func_doc = Py_XNewRef(value);
  ------------------
  |  |  551|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  783|     29|    _PyEval_StartTheWorld(interp);
  784|     29|    Py_XDECREF(old_doc);
  ------------------
  |  |  524|     29|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     29|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  785|     29|    return 0;
  786|     29|}
funcobject.c:func_get_module:
  790|    179|{
  791|    179|    PyFunctionObject *op = _PyFunction_CAST(self);
  ------------------
  |  |   86|    179|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|    179|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (791:28): [True: 179, False: 0]
  ------------------
  792|      0|    PyObject *module = op->func_module;
  793|    179|    if (module == NULL) {
  ------------------
  |  Branch (793:9): [True: 0, False: 179]
  ------------------
  794|      0|        module = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  795|      0|    }
  796|    179|    return Py_NewRef(module);
  ------------------
  |  |  550|    179|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    179|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    179|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  797|    179|}
funcobject.c:func_set_module:
  801|     23|{
  802|       |    /* Legal to del f.__module__ or to set it to any object. */
  803|     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 (803:28): [True: 23, False: 0]
  ------------------
  804|      0|    PyInterpreterState *interp = _PyInterpreterState_GET();
  805|     23|    _PyEval_StopTheWorld(interp);
  806|     23|    PyObject *old_module = op->func_module;
  807|     23|    op->func_module = Py_XNewRef(value);
  ------------------
  |  |  551|     23|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     23|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     23|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  808|     23|    _PyEval_StartTheWorld(interp);
  809|     23|    Py_XDECREF(old_module);
  ------------------
  |  |  524|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  810|     23|    return 0;
  811|     23|}
funcobject.c:func_get_name:
  710|    191|{
  711|    191|    PyFunctionObject *op = _PyFunction_CAST(self);
  ------------------
  |  |   86|    191|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|    191|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (711:28): [True: 191, False: 0]
  ------------------
  712|    191|    return Py_NewRef(op->func_name);
  ------------------
  |  |  550|    191|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    191|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    191|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  713|    191|}
funcobject.c:func_set_name:
  717|     23|{
  718|     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 (718:28): [True: 23, False: 0]
  ------------------
  719|       |    /* Not legal to del f.func_name or to set it to anything
  720|       |     * other than a string object. */
  721|     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 (721:9): [True: 0, False: 23]
  |  Branch (721:26): [True: 0, False: 23]
  ------------------
  722|      0|        PyErr_SetString(PyExc_TypeError,
  723|      0|                        "__name__ must be set to a string object");
  724|      0|        return -1;
  725|      0|    }
  726|     23|    PyInterpreterState *interp = _PyInterpreterState_GET();
  727|     23|    _PyEval_StopTheWorld(interp);
  728|     23|    PyObject *old_name = op->func_name;
  729|     23|    op->func_name = Py_NewRef(value);
  ------------------
  |  |  550|     23|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     23|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     23|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  730|     23|    _PyEval_StartTheWorld(interp);
  731|     23|    Py_XDECREF(old_name);
  ------------------
  |  |  524|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  732|     23|    return 0;
  733|     23|}
funcobject.c:func_get_qualname:
  737|    179|{
  738|    179|    PyFunctionObject *op = _PyFunction_CAST(self);
  ------------------
  |  |   86|    179|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|    179|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (738:28): [True: 179, False: 0]
  ------------------
  739|    179|    return Py_NewRef(op->func_qualname);
  ------------------
  |  |  550|    179|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    179|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    179|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  740|    179|}
funcobject.c:func_set_qualname:
  744|     33|{
  745|     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 (745:28): [True: 33, False: 0]
  ------------------
  746|       |    /* Not legal to del f.__qualname__ or to set it to anything
  747|       |     * other than a string object. */
  748|     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 (748:9): [True: 0, False: 33]
  |  Branch (748:26): [True: 0, False: 33]
  ------------------
  749|      0|        PyErr_SetString(PyExc_TypeError,
  750|      0|                        "__qualname__ must be set to a string object");
  751|      0|        return -1;
  752|      0|    }
  753|     33|    handle_func_event(PyFunction_EVENT_MODIFY_QUALNAME, (PyFunctionObject *) op, value);
  754|     33|    PyInterpreterState *interp = _PyInterpreterState_GET();
  755|     33|    _PyEval_StopTheWorld(interp);
  756|     33|    PyObject *old_qualname = op->func_qualname;
  757|     33|    op->func_qualname = Py_NewRef(value);
  ------------------
  |  |  550|     33|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  758|     33|    _PyEval_StartTheWorld(interp);
  759|     33|    Py_XDECREF(old_qualname);
  ------------------
  |  |  524|     33|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  760|     33|    return 0;
  761|     33|}
funcobject.c:function___type_params___get_impl:
 1012|      5|{
 1013|      5|    if (self->func_typeparams == NULL) {
  ------------------
  |  Branch (1013:9): [True: 5, False: 0]
  ------------------
 1014|      5|        return PyTuple_New(0);
 1015|      5|    }
 1016|       |
 1017|      5|    assert(PyTuple_Check(self->func_typeparams));
  ------------------
  |  Branch (1017:5): [True: 0, False: 0]
  ------------------
 1018|      0|    return Py_NewRef(self->func_typeparams);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1019|      0|}
funcobject.c:function___type_params___set_impl:
 1031|      3|{
 1032|      3|    Py_XSETREF(self->func_typeparams, Py_NewRef(value));
  ------------------
  |  |  376|      3|    do { \
  |  |  377|      3|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|      3|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|      3|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|      3|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|      3|        *_tmp_dst_ptr = (src); \
  |  |  380|      3|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|      3|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|      3|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 3]
  |  |  ------------------
  ------------------
 1033|      3|    return 0;
 1034|      3|}
funcobject.c:func_descr_get:
 1255|    328|{
 1256|    328|    if (obj == Py_None || obj == NULL) {
  ------------------
  |  |  616|    656|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1256:9): [True: 0, False: 328]
  |  Branch (1256:27): [True: 162, False: 166]
  ------------------
 1257|    162|        return Py_NewRef(func);
  ------------------
  |  |  550|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1258|    162|    }
 1259|    166|    return PyMethod_New(func, obj);
 1260|    328|}
funcobject.c:cm_dealloc:
 1493|      3|{
 1494|      3|    classmethod *cm = _PyClassMethod_CAST(self);
  ------------------
  |  | 1488|      3|    (assert(PyObject_TypeCheck((cm), &PyClassMethod_Type)), \
  |  | 1489|      3|     _Py_CAST(classmethod*, cm))
  |  |  ------------------
  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1494:23): [True: 3, False: 0]
  ------------------
 1495|      3|    _PyObject_GC_UNTRACK((PyObject *)cm);
  ------------------
  |  |  507|      3|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1496|      3|    Py_XDECREF(cm->cm_callable);
  ------------------
  |  |  524|      3|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1497|      3|    Py_XDECREF(cm->cm_dict);
  ------------------
  |  |  524|      3|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1498|      3|    Py_TYPE(cm)->tp_free((PyObject *)cm);
  ------------------
  |  |  213|      3|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1499|      3|}
funcobject.c:cm_traverse:
 1503|    186|{
 1504|    186|    classmethod *cm = _PyClassMethod_CAST(self);
  ------------------
  |  | 1488|    186|    (assert(PyObject_TypeCheck((cm), &PyClassMethod_Type)), \
  |  | 1489|    186|     _Py_CAST(classmethod*, cm))
  |  |  ------------------
  |  |  |  |   37|    186|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1504:23): [True: 186, False: 0]
  ------------------
 1505|    186|    Py_VISIT(cm->cm_callable);
  ------------------
  |  |  194|    186|    do {                                                                \
  |  |  195|    186|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 186, False: 0]
  |  |  ------------------
  |  |  196|    186|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    186|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    186|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    186|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 186]
  |  |  ------------------
  |  |  198|    186|                return vret;                                            \
  |  |  199|    186|        }                                                               \
  |  |  200|    186|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 186]
  |  |  ------------------
  ------------------
 1506|    186|    Py_VISIT(cm->cm_dict);
  ------------------
  |  |  194|    186|    do {                                                                \
  |  |  195|    186|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 186, False: 0]
  |  |  ------------------
  |  |  196|    186|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    186|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    186|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    186|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 186]
  |  |  ------------------
  |  |  198|    186|                return vret;                                            \
  |  |  199|    186|        }                                                               \
  |  |  200|    186|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 186]
  |  |  ------------------
  ------------------
 1507|    186|    return 0;
 1508|    186|}
funcobject.c:cm_clear:
 1512|      2|{
 1513|      2|    classmethod *cm = _PyClassMethod_CAST(self);
  ------------------
  |  | 1488|      2|    (assert(PyObject_TypeCheck((cm), &PyClassMethod_Type)), \
  |  | 1489|      2|     _Py_CAST(classmethod*, cm))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1513:23): [True: 2, False: 0]
  ------------------
 1514|      2|    Py_CLEAR(cm->cm_callable);
  ------------------
  |  |  484|      2|    do { \
  |  |  485|      2|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      2|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      2|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2, False: 0]
  |  |  ------------------
  |  |  488|      2|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      2|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      2|        } \
  |  |  491|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1515|       |    Py_CLEAR(cm->cm_dict);
  ------------------
  |  |  484|      2|    do { \
  |  |  485|      2|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      2|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      2|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2, False: 0]
  |  |  ------------------
  |  |  488|      2|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      2|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      2|        } \
  |  |  491|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1516|      2|    return 0;
 1517|      2|}
funcobject.c:cm_get___isabstractmethod__:
 1588|     58|{
 1589|     58|    classmethod *cm = _PyClassMethod_CAST(self);
  ------------------
  |  | 1488|     58|    (assert(PyObject_TypeCheck((cm), &PyClassMethod_Type)), \
  |  | 1489|     58|     _Py_CAST(classmethod*, cm))
  |  |  ------------------
  |  |  |  |   37|     58|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1589:23): [True: 58, False: 0]
  ------------------
 1590|      0|    int res = _PyObject_IsAbstract(cm->cm_callable);
 1591|     58|    if (res == -1) {
  ------------------
  |  Branch (1591:9): [True: 0, False: 58]
  ------------------
 1592|      0|        return NULL;
 1593|      0|    }
 1594|     58|    else if (res) {
  ------------------
  |  Branch (1594:14): [True: 0, False: 58]
  ------------------
 1595|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1596|      0|    }
 1597|     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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1598|     58|}
funcobject.c:cm_descr_get:
 1522|    489|{
 1523|    489|    classmethod *cm = (classmethod *)self;
 1524|    489|    if (type == NULL)
  ------------------
  |  Branch (1524:9): [True: 0, False: 489]
  ------------------
 1525|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1526|    489|    return PyMethod_New(cm->cm_callable, type);
 1527|    489|}
funcobject.c:cm_init:
 1567|    109|{
 1568|    109|    if (!_PyArg_NoKeywords("classmethod", kwds)) {
  ------------------
  |  |   25|    109|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (25:6): [True: 109, False: 0]
  |  |  |  Branch (25:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1569|      0|        return -1;
 1570|      0|    }
 1571|    109|    PyObject *callable;  // borrowed ref
 1572|    109|    if (!PyArg_UnpackTuple(args, "classmethod", 1, 1, &callable)) {
  ------------------
  |  Branch (1572:9): [True: 0, False: 109]
  ------------------
 1573|      0|        return -1;
 1574|      0|    }
 1575|       |
 1576|    109|    classmethod *cm = (classmethod *)self;
 1577|    109|    return cm_set_callable(cm, callable);
 1578|    109|}
funcobject.c:cm_new:
 1544|    109|{
 1545|    109|    if (!_PyArg_NoKeywords("classmethod", kwds)) {
  ------------------
  |  |   25|    109|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (25:6): [True: 109, False: 0]
  |  |  |  Branch (25:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1546|      0|        return NULL;
 1547|      0|    }
 1548|    109|    PyObject *callable;  // borrowed ref
 1549|    109|    if (!PyArg_UnpackTuple(args, "classmethod", 1, 1, &callable)) {
  ------------------
  |  Branch (1549:9): [True: 0, False: 109]
  ------------------
 1550|      0|        return NULL;
 1551|      0|    }
 1552|       |
 1553|    109|    classmethod *cm = (classmethod *)PyType_GenericAlloc(type, 0);
 1554|    109|    if (cm == NULL) {
  ------------------
  |  Branch (1554:9): [True: 0, False: 109]
  ------------------
 1555|      0|        return NULL;
 1556|      0|    }
 1557|    109|    _PyObject_SetDeferredRefcount((PyObject *)cm);
 1558|    109|    if (cm_set_callable(cm, callable) < 0) {
  ------------------
  |  Branch (1558:9): [True: 0, False: 109]
  ------------------
 1559|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1560|      0|        return NULL;
 1561|      0|    }
 1562|    109|    return (PyObject *)cm;
 1563|    109|}
funcobject.c:cm_set_callable:
 1531|    219|{
 1532|    219|    assert(callable != NULL);
  ------------------
  |  Branch (1532:5): [True: 219, False: 0]
  ------------------
 1533|    219|    if (cm->cm_callable == callable) {
  ------------------
  |  Branch (1533:9): [True: 109, False: 110]
  ------------------
 1534|       |        // cm_init() sets the same callable than cm_new()
 1535|    109|        return 0;
 1536|    109|    }
 1537|       |
 1538|    110|    Py_XSETREF(cm->cm_callable, Py_NewRef(callable));
  ------------------
  |  |  376|    110|    do { \
  |  |  377|    110|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|    110|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|    110|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|    110|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|    110|        *_tmp_dst_ptr = (src); \
  |  |  380|    110|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|    110|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    110|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    110|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|    110|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 110]
  |  |  ------------------
  ------------------
 1539|    110|    return functools_wraps((PyObject *)cm, cm->cm_callable);
 1540|    219|}
funcobject.c:functools_wraps:
 1379|    163|{
 1380|    163|#define COPY_ATTR(ATTR) \
 1381|    163|    do { \
 1382|    163|        if (functools_copy_attr(wrapper, wrapped, &_Py_ID(ATTR)) < 0) { \
 1383|    163|            return -1; \
 1384|    163|        } \
 1385|    163|    } while (0) \
 1386|    163|
 1387|    163|    COPY_ATTR(__module__);
  ------------------
  |  | 1381|    163|    do { \
  |  | 1382|    163|        if (functools_copy_attr(wrapper, wrapped, &_Py_ID(ATTR)) < 0) { \
  |  |  ------------------
  |  |  |  |  936|    163|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|    163|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|    163|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1382:13): [True: 0, False: 163]
  |  |  ------------------
  |  | 1383|      0|            return -1; \
  |  | 1384|      0|        } \
  |  | 1385|    163|    } while (0) \
  |  |  ------------------
  |  |  |  Branch (1385:14): [Folded, False: 163]
  |  |  ------------------
  ------------------
 1388|    163|    COPY_ATTR(__name__);
  ------------------
  |  | 1381|    163|    do { \
  |  | 1382|    163|        if (functools_copy_attr(wrapper, wrapped, &_Py_ID(ATTR)) < 0) { \
  |  |  ------------------
  |  |  |  |  936|    163|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|    163|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|    163|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1382:13): [True: 0, False: 163]
  |  |  ------------------
  |  | 1383|      0|            return -1; \
  |  | 1384|      0|        } \
  |  | 1385|    163|    } while (0) \
  |  |  ------------------
  |  |  |  Branch (1385:14): [Folded, False: 163]
  |  |  ------------------
  ------------------
 1389|    163|    COPY_ATTR(__qualname__);
  ------------------
  |  | 1381|    163|    do { \
  |  | 1382|    163|        if (functools_copy_attr(wrapper, wrapped, &_Py_ID(ATTR)) < 0) { \
  |  |  ------------------
  |  |  |  |  936|    163|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|    163|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|    163|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1382:13): [True: 0, False: 163]
  |  |  ------------------
  |  | 1383|      0|            return -1; \
  |  | 1384|      0|        } \
  |  | 1385|    163|    } while (0) \
  |  |  ------------------
  |  |  |  Branch (1385:14): [Folded, False: 163]
  |  |  ------------------
  ------------------
 1390|    163|    COPY_ATTR(__doc__);
  ------------------
  |  | 1381|    163|    do { \
  |  | 1382|    163|        if (functools_copy_attr(wrapper, wrapped, &_Py_ID(ATTR)) < 0) { \
  |  |  ------------------
  |  |  |  |  936|    163|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|    163|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|    163|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1382:13): [True: 0, False: 163]
  |  |  ------------------
  |  | 1383|      0|            return -1; \
  |  | 1384|      0|        } \
  |  | 1385|    163|    } while (0) \
  |  |  ------------------
  |  |  |  Branch (1385:14): [Folded, False: 163]
  |  |  ------------------
  ------------------
 1391|    163|    return 0;
 1392|       |
 1393|    163|#undef COPY_ATTR
 1394|    163|}
funcobject.c:functools_copy_attr:
 1366|    652|{
 1367|    652|    PyObject *value;
 1368|    652|    int res = PyObject_GetOptionalAttr(wrapped, name, &value);
 1369|    652|    if (value != NULL) {
  ------------------
  |  Branch (1369:9): [True: 652, False: 0]
  ------------------
 1370|    652|        res = PyObject_SetAttr(wrapper, name, value);
 1371|    652|        Py_DECREF(value);
  ------------------
  |  |  430|    652|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    652|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    652|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1372|    652|    }
 1373|    652|    return res;
 1374|    652|}
funcobject.c:sm_dealloc:
 1758|      4|{
 1759|      4|    staticmethod *sm = _PyStaticMethod_CAST(self);
  ------------------
  |  | 1753|      4|    (assert(PyObject_TypeCheck((cm), &PyStaticMethod_Type)), \
  |  | 1754|      4|     _Py_CAST(staticmethod*, cm))
  |  |  ------------------
  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1759:24): [True: 4, False: 0]
  ------------------
 1760|      4|    _PyObject_GC_UNTRACK((PyObject *)sm);
  ------------------
  |  |  507|      4|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1761|      4|    Py_XDECREF(sm->sm_callable);
  ------------------
  |  |  524|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1762|      4|    Py_XDECREF(sm->sm_dict);
  ------------------
  |  |  524|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1763|      4|    Py_TYPE(sm)->tp_free((PyObject *)sm);
  ------------------
  |  |  213|      4|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1764|      4|}
funcobject.c:sm_traverse:
 1768|     82|{
 1769|     82|    staticmethod *sm = _PyStaticMethod_CAST(self);
  ------------------
  |  | 1753|     82|    (assert(PyObject_TypeCheck((cm), &PyStaticMethod_Type)), \
  |  | 1754|     82|     _Py_CAST(staticmethod*, cm))
  |  |  ------------------
  |  |  |  |   37|     82|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1769:24): [True: 82, False: 0]
  ------------------
 1770|     82|    Py_VISIT(sm->sm_callable);
  ------------------
  |  |  194|     82|    do {                                                                \
  |  |  195|     82|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 82, False: 0]
  |  |  ------------------
  |  |  196|     82|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     82|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     82|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     82|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 82]
  |  |  ------------------
  |  |  198|     82|                return vret;                                            \
  |  |  199|     82|        }                                                               \
  |  |  200|     82|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 82]
  |  |  ------------------
  ------------------
 1771|     82|    Py_VISIT(sm->sm_dict);
  ------------------
  |  |  194|     82|    do {                                                                \
  |  |  195|     82|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 82, False: 0]
  |  |  ------------------
  |  |  196|     82|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     82|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     82|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     82|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 82]
  |  |  ------------------
  |  |  198|     82|                return vret;                                            \
  |  |  199|     82|        }                                                               \
  |  |  200|     82|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 82]
  |  |  ------------------
  ------------------
 1772|     82|    return 0;
 1773|     82|}
funcobject.c:sm_descr_get:
 1786|    114|{
 1787|    114|    staticmethod *sm = (staticmethod *)self;
 1788|    114|    return Py_NewRef(sm->sm_callable);
  ------------------
  |  |  550|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1789|    114|}
funcobject.c:sm_init:
 1829|     25|{
 1830|     25|    if (!_PyArg_NoKeywords("staticmethod", kwds)) {
  ------------------
  |  |   25|     25|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (25:6): [True: 25, False: 0]
  |  |  |  Branch (25:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1831|      0|        return -1;
 1832|      0|    }
 1833|     25|    PyObject *callable;  // borrowed ref
 1834|     25|    if (!PyArg_UnpackTuple(args, "staticmethod", 1, 1, &callable)) {
  ------------------
  |  Branch (1834:9): [True: 0, False: 25]
  ------------------
 1835|      0|        return -1;
 1836|      0|    }
 1837|       |
 1838|     25|    staticmethod *sm = (staticmethod *)self;
 1839|     25|    return sm_set_callable(sm, callable);
 1840|     25|}
funcobject.c:sm_new:
 1806|     25|{
 1807|     25|    if (!_PyArg_NoKeywords("staticmethod", kwds)) {
  ------------------
  |  |   25|     25|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (25:6): [True: 25, False: 0]
  |  |  |  Branch (25:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1808|      0|        return NULL;
 1809|      0|    }
 1810|     25|    PyObject *callable;  // borrowed ref
 1811|     25|    if (!PyArg_UnpackTuple(args, "staticmethod", 1, 1, &callable)) {
  ------------------
  |  Branch (1811:9): [True: 0, False: 25]
  ------------------
 1812|      0|        return NULL;
 1813|      0|    }
 1814|       |
 1815|     25|    staticmethod *sm = (staticmethod *)PyType_GenericAlloc(type, 0);
 1816|     25|    if (sm == NULL) {
  ------------------
  |  Branch (1816:9): [True: 0, False: 25]
  ------------------
 1817|      0|        return NULL;
 1818|      0|    }
 1819|     25|    _PyObject_SetDeferredRefcount((PyObject *)sm);
 1820|     25|    if (sm_set_callable(sm, callable) < 0) {
  ------------------
  |  Branch (1820:9): [True: 0, False: 25]
  ------------------
 1821|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1822|      0|        return NULL;
 1823|      0|    }
 1824|     25|    return (PyObject *)sm;
 1825|     25|}
funcobject.c:sm_set_callable:
 1793|     78|{
 1794|     78|    assert(callable != NULL);
  ------------------
  |  Branch (1794:5): [True: 78, False: 0]
  ------------------
 1795|     78|    if (sm->sm_callable == callable) {
  ------------------
  |  Branch (1795:9): [True: 25, False: 53]
  ------------------
 1796|       |        // sm_init() sets the same callable than sm_new()
 1797|     25|        return 0;
 1798|     25|    }
 1799|       |
 1800|     53|    Py_XSETREF(sm->sm_callable, Py_NewRef(callable));
  ------------------
  |  |  376|     53|    do { \
  |  |  377|     53|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|     53|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|     53|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|     53|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|     53|        *_tmp_dst_ptr = (src); \
  |  |  380|     53|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|     53|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     53|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     53|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|     53|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 53]
  |  |  ------------------
  ------------------
 1801|     53|    return functools_wraps((PyObject *)sm, sm->sm_callable);
 1802|     78|}

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);
  ------------------
  |  |  507|      5|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   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);
  ------------------
  |  |  524|      5|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   40|      5|    Py_XDECREF(alias->args);
  ------------------
  |  |  524|      5|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   41|      5|    Py_XDECREF(alias->parameters);
  ------------------
  |  |  524|      5|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   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);
  ------------------
  |  |  550|     79|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     79|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     79|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  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:
 1130|    113|{
 1131|    113|    int coro_flags = ((PyCodeObject *)func->func_code)->co_flags &
 1132|    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
  ------------------
 1133|    113|    assert(coro_flags);
  ------------------
  |  Branch (1133:5): [True: 113, False: 0]
  ------------------
 1134|    113|    if (coro_flags == CO_GENERATOR) {
  ------------------
  |  |  127|    113|#define CO_GENERATOR    0x0020
  ------------------
  |  Branch (1134:9): [True: 109, False: 4]
  ------------------
 1135|    109|        return make_gen(&PyGen_Type, func);
 1136|    109|    }
 1137|      4|    if (coro_flags == CO_ASYNC_GENERATOR) {
  ------------------
  |  |  133|      4|#define CO_ASYNC_GENERATOR      0x0200
  ------------------
  |  Branch (1137:9): [True: 2, False: 2]
  ------------------
 1138|      2|        PyAsyncGenObject *ag;
 1139|      2|        ag = (PyAsyncGenObject *)make_gen(&PyAsyncGen_Type, func);
 1140|      2|        if (ag == NULL) {
  ------------------
  |  Branch (1140:13): [True: 0, False: 2]
  ------------------
 1141|      0|            return NULL;
 1142|      0|        }
 1143|      2|        ag->ag_origin_or_finalizer = NULL;
 1144|      2|        ag->ag_closed = 0;
 1145|      2|        ag->ag_hooks_inited = 0;
 1146|      2|        ag->ag_running_async = 0;
 1147|      2|        return (PyObject*)ag;
 1148|      2|    }
 1149|       |
 1150|      4|    assert (coro_flags == CO_COROUTINE);
  ------------------
  |  Branch (1150:5): [True: 2, False: 0]
  ------------------
 1151|      2|    PyObject *coro = make_gen(&PyCoro_Type, func);
 1152|      2|    if (!coro) {
  ------------------
  |  Branch (1152:9): [True: 0, False: 2]
  ------------------
 1153|      0|        return NULL;
 1154|      0|    }
 1155|      2|    PyThreadState *tstate = _PyThreadState_GET();
 1156|      2|    int origin_depth = tstate->coroutine_origin_tracking_depth;
 1157|       |
 1158|      2|    if (origin_depth == 0) {
  ------------------
  |  Branch (1158:9): [True: 2, False: 0]
  ------------------
 1159|      2|        ((PyCoroObject *)coro)->cr_origin_or_finalizer = NULL;
 1160|      2|    } else {
 1161|      0|        _PyInterpreterFrame *frame = tstate->current_frame;
 1162|      0|        assert(frame);
  ------------------
  |  Branch (1162:9): [True: 0, False: 0]
  ------------------
 1163|      0|        assert(_PyFrame_IsIncomplete(frame));
  ------------------
  |  Branch (1163:9): [True: 0, False: 0]
  ------------------
 1164|      0|        frame = _PyFrame_GetFirstComplete(frame->previous);
 1165|      0|        PyObject *cr_origin = _PyCoro_ComputeOrigin(origin_depth, frame);
 1166|      0|        ((PyCoroObject *)coro)->cr_origin_or_finalizer = cr_origin;
 1167|      0|        if (!cr_origin) {
  ------------------
  |  Branch (1167:13): [True: 0, False: 0]
  ------------------
 1168|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1169|      0|            return NULL;
 1170|      0|        }
 1171|      0|    }
 1172|      2|    return coro;
 1173|      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);
  ------------------
  |  |  507|    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);
  ------------------
  |  |  505|    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);
  ------------------
  |  |  507|    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);
  ------------------
  |  |  484|      2|    do { \
  |  |  485|      2|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      2|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      2|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  227|      2|    }
  228|    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);
  ------------------
  |  |  484|      2|    do { \
  |  |  485|      2|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      2|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      2|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  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);
  ------------------
  |  |  484|    113|    do { \
  |  |  485|    113|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|    113|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    113|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|    113|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    113|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    113|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 113, False: 0]
  |  |  ------------------
  |  |  488|    113|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    113|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|    113|            Py_DECREF(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|    113|        } \
  |  |  491|    113|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 113]
  |  |  ------------------
  ------------------
  238|    113|    Py_CLEAR(gen->gi_qualname);
  ------------------
  |  |  484|    113|    do { \
  |  |  485|    113|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|    113|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    113|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|    113|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    113|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    113|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 113, False: 0]
  |  |  ------------------
  |  |  488|    113|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    113|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|    113|            Py_DECREF(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|    113|        } \
  |  |  491|    113|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491: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);
  ------------------
  |  |  156|    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);
  ------------------
  |  |  484|     68|    do { \
  |  |  485|     68|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|     68|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     68|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|     68|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     68|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     68|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 68, False: 0]
  |  |  ------------------
  |  |  488|     68|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     68|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     68|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|     68|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     68|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     68|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     68|        } \
  |  |  491|     68|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 68]
  |  |  ------------------
  ------------------
  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);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491: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);
  ------------------
  |  |  156|     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))
  |  |  ------------------
  |  |  |  |  550|      0|#  define Py_NewRef(obj) _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);
  ------------------
  |  |  167|      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);
  ------------------
  |  |  157|      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|    assert(func->func_name != NULL);
  ------------------
  |  Branch (1120:5): [True: 113, False: 0]
  ------------------
 1121|    113|    gen->gi_name = Py_NewRef(func->func_name);
  ------------------
  |  |  550|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1122|    113|    assert(func->func_qualname != NULL);
  ------------------
  |  Branch (1122:5): [True: 113, False: 0]
  ------------------
 1123|    113|    gen->gi_qualname = Py_NewRef(func->func_qualname);
  ------------------
  |  |  550|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1124|    113|    _PyObject_GC_TRACK(gen);
  ------------------
  |  |  505|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1125|    113|    return (PyObject *)gen;
 1126|    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);
  ------------------
  |  |  550|      9|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      9|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|      9|    _PyObject_GC_TRACK(it);
  ------------------
  |  |  505|      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);
  ------------------
  |  |  507|      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);
  ------------------
  |  |  524|      9|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      9|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   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);
  ------------------
  |  |  149|     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) {
  ------------------
  |  |  149|      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);
  ------------------
  |  |  194|      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);
  ------------------
  |  |  194|      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);
  ------------------
  |  |  484|      9|    do { \
  |  |  485|      9|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      9|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      9|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      9|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      9|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      9|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 9, False: 0]
  |  |  ------------------
  |  |  488|      9|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      9|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      9|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      9|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      9|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      9|        } \
  |  |  491|      9|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 9]
  |  |  ------------------
  ------------------
   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);
  ------------------
  |  |  149|      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:
   15|     14|{
   16|     14|    PyLazyImportObject *m;
   17|     14|    if (!name || !(PyUnicode_Check(name) || PyLazyImport_CheckExact(name))) {
  ------------------
  |  |  103|     14|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     28|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 12, 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 (17:9): [True: 0, False: 14]
  ------------------
   18|      0|        PyErr_SetString(PyExc_TypeError, "expected str or lazy_import for name");
   19|      0|        return NULL;
   20|      0|    }
   21|     14|    if (fromlist == Py_None || fromlist == NULL) {
  ------------------
  |  |  616|     28|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (21:9): [True: 10, False: 4]
  |  Branch (21:32): [True: 0, False: 4]
  ------------------
   22|     10|        fromlist = NULL;
   23|     10|    }
   24|      4|    else if (!PyUnicode_Check(fromlist) && !PyTuple_Check(fromlist)) {
  ------------------
  |  |  103|      4|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      8|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                  else if (!PyUnicode_Check(fromlist) && !PyTuple_Check(fromlist)) {
  ------------------
  |  |   27|      2|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      2|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (24:14): [True: 2, False: 2]
  |  Branch (24:44): [True: 0, False: 2]
  ------------------
   25|      0|        PyErr_SetString(PyExc_TypeError,
   26|      0|            "lazy_import: fromlist must be None, a string, or a tuple");
   27|      0|        return NULL;
   28|      0|    }
   29|     14|    m = PyObject_GC_New(PyLazyImportObject, &PyLazyImport_Type);
  ------------------
  |  |  181|     14|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   30|     14|    if (m == NULL) {
  ------------------
  |  Branch (30:9): [True: 0, False: 14]
  ------------------
   31|      0|        return NULL;
   32|      0|    }
   33|     14|    m->lz_builtins = Py_XNewRef(builtins);
  ------------------
  |  |  551|     14|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   34|     14|    m->lz_from = Py_NewRef(name);
  ------------------
  |  |  550|     14|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   35|     14|    m->lz_attr = Py_XNewRef(fromlist);
  ------------------
  |  |  551|     14|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|       |
   37|       |    // Capture frame information for the original import location.
   38|     14|    m->lz_code = NULL;
   39|     14|    m->lz_instr_offset = -1;
   40|       |
   41|     14|    if (frame != NULL) {
  ------------------
  |  Branch (41:9): [True: 14, False: 0]
  ------------------
   42|     14|        PyCodeObject *code = _PyFrame_GetCode(frame);
   43|     14|        if (code != NULL) {
  ------------------
  |  Branch (43:13): [True: 14, False: 0]
  ------------------
   44|     14|            m->lz_code = (PyCodeObject *)Py_NewRef(code);
  ------------------
  |  |  550|     14|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   45|       |            // Calculate the instruction offset from the current frame.
   46|     14|            m->lz_instr_offset = _PyInterpreterFrame_LASTI(frame);
  ------------------
  |  |   19|     14|    ((int)((IF)->instr_ptr - _PyFrame_GetBytecode((IF))))
  ------------------
   47|     14|        }
   48|     14|    }
   49|       |
   50|     14|    _PyObject_GC_TRACK(m);
  ------------------
  |  |  505|     14|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   51|     14|    return (PyObject *)m;
   52|     14|}
lazyimportobject.c:lazy_import_traverse:
   56|     18|{
   57|     18|    PyLazyImportObject *m = PyLazyImportObject_CAST(op);
  ------------------
  |  |   11|     18|#define PyLazyImportObject_CAST(op) ((PyLazyImportObject *)(op))
  ------------------
   58|     18|    Py_VISIT(m->lz_builtins);
  ------------------
  |  |  194|     18|    do {                                                                \
  |  |  195|     18|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 18, False: 0]
  |  |  ------------------
  |  |  196|     18|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     18|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 18]
  |  |  ------------------
  |  |  198|     18|                return vret;                                            \
  |  |  199|     18|        }                                                               \
  |  |  200|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
   59|     18|    Py_VISIT(m->lz_from);
  ------------------
  |  |  194|     18|    do {                                                                \
  |  |  195|     18|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 18, False: 0]
  |  |  ------------------
  |  |  196|     18|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     18|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 18]
  |  |  ------------------
  |  |  198|     18|                return vret;                                            \
  |  |  199|     18|        }                                                               \
  |  |  200|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
   60|     18|    Py_VISIT(m->lz_attr);
  ------------------
  |  |  194|     18|    do {                                                                \
  |  |  195|     18|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 8, False: 10]
  |  |  ------------------
  |  |  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|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
   61|     18|    Py_VISIT(m->lz_code);
  ------------------
  |  |  194|     18|    do {                                                                \
  |  |  195|     18|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 18, False: 0]
  |  |  ------------------
  |  |  196|     18|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     18|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 18]
  |  |  ------------------
  |  |  198|     18|                return vret;                                            \
  |  |  199|     18|        }                                                               \
  |  |  200|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
   62|     18|    return 0;
   63|     18|}

PyList_New:
  242|  1.88k|{
  243|  1.88k|    if (size < 0) {
  ------------------
  |  Branch (243:9): [True: 0, False: 1.88k]
  ------------------
  244|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  245|      0|        return NULL;
  246|      0|    }
  247|       |
  248|  1.88k|    PyListObject *op = _Py_FREELIST_POP(PyListObject, lists);
  ------------------
  |  |   43|  1.88k|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  1.88k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  249|  1.88k|    if (op == NULL) {
  ------------------
  |  Branch (249:9): [True: 168, False: 1.71k]
  ------------------
  250|    168|        op = PyObject_GC_New(PyListObject, &PyList_Type);
  ------------------
  |  |  181|    168|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|    168|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  251|    168|        if (op == NULL) {
  ------------------
  |  Branch (251:13): [True: 0, False: 168]
  ------------------
  252|      0|            return NULL;
  253|      0|        }
  254|    168|    }
  255|  1.88k|    if (size <= 0) {
  ------------------
  |  Branch (255:9): [True: 1.65k, False: 232]
  ------------------
  256|  1.65k|        op->ob_item = NULL;
  257|  1.65k|    }
  258|    232|    else {
  259|       |#ifdef Py_GIL_DISABLED
  260|       |        _PyListArray *array = list_allocate_array(size);
  261|       |        if (array == NULL) {
  262|       |            Py_DECREF(op);
  263|       |            return PyErr_NoMemory();
  264|       |        }
  265|       |        memset(&array->ob_item, 0, size * sizeof(PyObject *));
  266|       |        op->ob_item = array->ob_item;
  267|       |#else
  268|    232|        op->ob_item = (PyObject **) PyMem_Calloc(size, sizeof(PyObject *));
  269|    232|#endif
  270|    232|        if (op->ob_item == NULL) {
  ------------------
  |  Branch (270:13): [True: 0, False: 232]
  ------------------
  271|      0|            Py_DECREF(op);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  272|      0|            return PyErr_NoMemory();
  273|      0|        }
  274|    232|    }
  275|  1.88k|    Py_SET_SIZE(op, size);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  276|  1.88k|    op->allocated = size;
  277|  1.88k|    _PyObject_GC_TRACK(op);
  ------------------
  |  |  505|  1.88k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.88k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.88k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  278|  1.88k|    return (PyObject *) op;
  279|  1.88k|}
PyList_Size:
  310|     14|{
  311|     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 (311:9): [True: 0, False: 14]
  ------------------
  312|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  313|      0|        return -1;
  314|      0|    }
  315|     14|    else {
  316|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  317|     14|    }
  318|     14|}
PyList_GetItemRef:
  407|      2|{
  408|      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 (408:9): [True: 0, False: 2]
  ------------------
  409|      0|        PyErr_SetString(PyExc_TypeError, "expected a list");
  410|      0|        return NULL;
  411|      0|    }
  412|      2|    PyObject *item = list_get_item_ref((PyListObject *)op, i);
  413|      2|    if (item == NULL) {
  ------------------
  |  Branch (413:9): [True: 0, False: 2]
  ------------------
  414|      0|        _Py_DECLARE_STR(list_err, "list index out of range");
  415|      0|        PyErr_SetObject(PyExc_IndexError, &_Py_STR(list_err));
  ------------------
  |  |  938|      0|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  416|      0|        return NULL;
  417|      0|    }
  418|      2|    return item;
  419|      2|}
PyList_SetItem:
  456|      4|{
  457|      4|    if (!PyList_Check(op)) {
  ------------------
  |  |   25|      4|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      4|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (457:9): [True: 0, False: 4]
  ------------------
  458|      0|        Py_XDECREF(newitem);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  459|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  460|      0|        return -1;
  461|      0|    }
  462|      4|    int ret;
  463|      4|    PyListObject *self = ((PyListObject *)op);
  464|      4|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      4|    {
  ------------------
  465|      4|    if (!valid_index(i, Py_SIZE(self))) {
  ------------------
  |  |  214|      4|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (465:9): [True: 0, False: 4]
  ------------------
  466|      0|        Py_XDECREF(newitem);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  467|      0|        PyErr_SetString(PyExc_IndexError,
  468|      0|                        "list assignment index out of range");
  469|      0|        ret = -1;
  470|      0|        goto end;
  471|      0|    }
  472|      4|    PyObject *tmp = self->ob_item[i];
  473|      4|    FT_ATOMIC_STORE_PTR_RELEASE(self->ob_item[i], newitem);
  ------------------
  |  |  164|      4|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  474|      4|    Py_XDECREF(tmp);
  ------------------
  |  |  524|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  475|      4|    ret = 0;
  476|      4|end:;
  477|      4|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      4|    }
  ------------------
  478|      4|    return ret;
  479|      4|}
PyList_Insert:
  511|      2|{
  512|      2|    if (!PyList_Check(op)) {
  ------------------
  |  |   25|      2|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      2|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (512:9): [True: 0, False: 2]
  ------------------
  513|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  514|      0|        return -1;
  515|      0|    }
  516|      2|    PyListObject *self = (PyListObject *)op;
  517|      2|    int err;
  518|      2|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      2|    {
  ------------------
  519|      2|    err = ins1(self, where, newitem);
  520|      2|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      2|    }
  ------------------
  521|      2|    return err;
  522|      2|}
_PyList_AppendTakeRefListResize:
  527|  2.18k|{
  528|  2.18k|    Py_ssize_t len = Py_SIZE(self);
  ------------------
  |  |  214|  2.18k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.18k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.18k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  529|  2.18k|    assert(self->allocated == -1 || self->allocated == len);
  ------------------
  |  Branch (529:5): [True: 0, False: 2.18k]
  |  Branch (529:5): [True: 2.18k, False: 0]
  ------------------
  530|  2.18k|    if (list_resize(self, len + 1) < 0) {
  ------------------
  |  Branch (530:9): [True: 0, False: 2.18k]
  ------------------
  531|      0|        Py_DECREF(newitem);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  532|      0|        return -1;
  533|      0|    }
  534|  2.18k|    FT_ATOMIC_STORE_PTR_RELEASE(self->ob_item[len], newitem);
  ------------------
  |  |  164|  2.18k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  535|  2.18k|    return 0;
  536|  2.18k|}
PyList_Append:
  540|  20.7k|{
  541|  20.7k|    if (PyList_Check(op) && (newitem != NULL)) {
  ------------------
  |  |   25|  20.7k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  41.5k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 20.7k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (541:29): [True: 20.7k, False: 0]
  ------------------
  542|  20.7k|        int ret;
  543|  20.7k|        Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|  20.7k|    {
  ------------------
  544|  20.7k|        ret = _PyList_AppendTakeRef((PyListObject *)op, Py_NewRef(newitem));
  ------------------
  |  |  550|  20.7k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  20.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  545|  20.7k|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  20.7k|    }
  ------------------
  546|  20.7k|        return ret;
  547|  20.7k|    }
  548|      0|    PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  549|      0|    return -1;
  550|  20.7k|}
_PyList_BinarySlice:
  721|     22|{
  722|     22|    assert(PyList_CheckExact(container));
  ------------------
  |  Branch (722:5): [True: 22, False: 0]
  ------------------
  723|     22|    Py_ssize_t istart = 0;
  724|     22|    Py_ssize_t istop = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|     22|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  725|       |    /* Unpack the index values before acquiring the lock, since
  726|       |     * _PyEval_SliceIndex may call __index__ which could execute
  727|       |     * arbitrary Python code. */
  728|     22|    if (!_PyEval_SliceIndex(start, &istart)) {
  ------------------
  |  Branch (728:9): [True: 0, False: 22]
  ------------------
  729|      0|        return NULL;
  730|      0|    }
  731|     22|    if (!_PyEval_SliceIndex(stop, &istop)) {
  ------------------
  |  Branch (731:9): [True: 0, False: 22]
  ------------------
  732|      0|        return NULL;
  733|      0|    }
  734|     22|    PyObject *ret;
  735|     22|    Py_BEGIN_CRITICAL_SECTION(container);
  ------------------
  |  |   51|     22|    {
  ------------------
  736|     22|    Py_ssize_t len = Py_SIZE(container);
  ------------------
  |  |  214|     22|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  737|     22|    PySlice_AdjustIndices(len, &istart, &istop, 1);
  738|     22|    ret = list_slice_lock_held((PyListObject *)container, istart, istop);
  739|     22|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     22|    }
  ------------------
  740|     22|    return ret;
  741|     22|}
_PyList_Concat:
  803|      7|{
  804|      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 (804:9): [True: 0, False: 7]
  ------------------
  805|      0|        PyErr_Format(PyExc_TypeError,
  806|      0|                  "can only concatenate list (not \"%.200s\") to list",
  807|      0|                  Py_TYPE(bb)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  808|      0|        return NULL;
  809|      0|    }
  810|      7|    PyListObject *a = (PyListObject *)aa;
  811|      7|    PyListObject *b = (PyListObject *)bb;
  812|      7|    PyObject *ret;
  813|      7|    Py_BEGIN_CRITICAL_SECTION2(a, b);
  ------------------
  |  |   57|      7|    {
  ------------------
  814|      7|    ret = list_concat_lock_held(a, b);
  815|      7|    Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|      7|    }
  ------------------
  816|      7|    return ret;
  817|      7|}
PyList_SetSlice:
 1072|     28|{
 1073|     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 (1073:9): [True: 0, False: 28]
  ------------------
 1074|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1075|      0|        return -1;
 1076|      0|    }
 1077|     28|    return list_ass_slice((PyListObject *)a, ilow, ihigh, v);
 1078|     28|}
_PyList_Extend:
 1534|    251|{
 1535|    251|    return list_extend((PyObject*)self, iterable);
 1536|    251|}
PyList_Sort:
 3212|     86|{
 3213|     86|    if (v == NULL || !PyList_Check(v)) {
  ------------------
  |  |   25|     86|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     86|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3213:9): [True: 0, False: 86]
  |  Branch (3213:22): [True: 0, False: 86]
  ------------------
 3214|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3215|      0|        return -1;
 3216|      0|    }
 3217|     86|    Py_BEGIN_CRITICAL_SECTION(v);
  ------------------
  |  |   51|     86|    {
  ------------------
 3218|     86|    v = list_sort_impl((PyListObject *)v, NULL, 0);
 3219|     86|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     86|    }
  ------------------
 3220|     86|    if (v == NULL)
  ------------------
  |  Branch (3220:9): [True: 0, False: 86]
  ------------------
 3221|      0|        return -1;
 3222|     86|    Py_DECREF(v);
  ------------------
  |  |  430|     86|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     86|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     86|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3223|     86|    return 0;
 3224|     86|}
PyList_AsTuple:
 3261|    260|{
 3262|    260|    if (v == NULL || !PyList_Check(v)) {
  ------------------
  |  |   25|    260|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    260|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3262:9): [True: 0, False: 260]
  |  Branch (3262:22): [True: 0, False: 260]
  ------------------
 3263|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3264|      0|        return NULL;
 3265|      0|    }
 3266|    260|    PyObject *ret;
 3267|    260|    PyListObject *self = (PyListObject *)v;
 3268|    260|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|    260|    {
  ------------------
 3269|    260|    ret = PyTuple_FromArray(self->ob_item, Py_SIZE(v));
  ------------------
  |  |  214|    260|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    260|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    260|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3270|    260|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    260|    }
  ------------------
 3271|    260|    return ret;
 3272|    260|}
_PyList_AsTupleAndClear:
 3276|     66|{
 3277|     66|    assert(self != NULL);
  ------------------
  |  Branch (3277:5): [True: 66, False: 0]
  ------------------
 3278|     66|    PyObject *ret;
 3279|     66|    if (self->ob_item == NULL) {
  ------------------
  |  Branch (3279:9): [True: 0, False: 66]
  ------------------
 3280|      0|        return PyTuple_New(0);
 3281|      0|    }
 3282|     66|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|     66|    {
  ------------------
 3283|     66|    PyObject **items = self->ob_item;
 3284|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3285|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3286|     66|    ret = _PyTuple_FromArraySteal(items, size);
 3287|     66|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     66|    }
  ------------------
 3288|     66|    return ret;
 3289|     66|}
_PyList_FromStackRefStealOnSuccess:
 3293|  1.21k|{
 3294|  1.21k|    if (n == 0) {
  ------------------
  |  Branch (3294:9): [True: 1.06k, False: 150]
  ------------------
 3295|  1.06k|        return PyList_New(0);
 3296|  1.06k|    }
 3297|       |
 3298|    150|    PyListObject *list = (PyListObject *)PyList_New(n);
 3299|    150|    if (list == NULL) {
  ------------------
  |  Branch (3299:9): [True: 0, False: 150]
  ------------------
 3300|      0|        return NULL;
 3301|      0|    }
 3302|       |
 3303|    150|    PyObject **dst = list->ob_item;
 3304|    419|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (3304:28): [True: 269, False: 150]
  ------------------
 3305|    269|        dst[i] = PyStackRef_AsPyObjectSteal(src[i]);
 3306|    269|    }
 3307|       |
 3308|    150|    return (PyObject *)list;
 3309|    150|}
_PyList_SliceSubscript:
 3687|      7|{
 3688|      7|    return list_slice_subscript(_self, item);
 3689|      7|}
listobject.c:valid_index:
  322|  4.99k|{
  323|       |    /* The cast to size_t lets us use just a single comparison
  324|       |       to check whether i is in the range: 0 <= i < limit.
  325|       |
  326|       |       See:  Section 14.2 "Bounds Checking" in the Agner Fog
  327|       |       optimization manual found at:
  328|       |       https://www.agner.org/optimize/optimizing_cpp.pdf
  329|       |    */
  330|  4.99k|    return (size_t) i < (size_t) limit;
  331|  4.99k|}
listobject.c:list_get_item_ref:
  382|  2.98k|{
  383|  2.98k|    if (!valid_index(i, Py_SIZE(op))) {
  ------------------
  |  |  214|  2.98k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.98k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.98k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (383:9): [True: 91, False: 2.89k]
  ------------------
  384|     91|        return NULL;
  385|     91|    }
  386|  2.89k|    return Py_NewRef(PyList_GET_ITEM(op, i));
  ------------------
  |  |  550|  2.89k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.89k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.79k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (37:38): [True: 2.89k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  387|  2.89k|}
listobject.c:ins1:
  483|      2|{
  484|      2|    Py_ssize_t i, 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  485|      2|    PyObject **items;
  486|      2|    if (v == NULL) {
  ------------------
  |  Branch (486:9): [True: 0, False: 2]
  ------------------
  487|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  488|      0|        return -1;
  489|      0|    }
  490|       |
  491|      2|    assert((size_t)n + 1 < PY_SSIZE_T_MAX);
  ------------------
  |  Branch (491:5): [True: 2, False: 0]
  ------------------
  492|      2|    if (list_resize(self, n+1) < 0)
  ------------------
  |  Branch (492:9): [True: 0, False: 2]
  ------------------
  493|      0|        return -1;
  494|       |
  495|      2|    if (where < 0) {
  ------------------
  |  Branch (495:9): [True: 0, False: 2]
  ------------------
  496|      0|        where += n;
  497|      0|        if (where < 0)
  ------------------
  |  Branch (497:13): [True: 0, False: 0]
  ------------------
  498|      0|            where = 0;
  499|      0|    }
  500|      2|    if (where > n)
  ------------------
  |  Branch (500:9): [True: 0, False: 2]
  ------------------
  501|      0|        where = n;
  502|      2|    items = self->ob_item;
  503|      4|    for (i = n; --i >= where; )
  ------------------
  |  Branch (503:17): [True: 2, False: 2]
  ------------------
  504|      2|        FT_ATOMIC_STORE_PTR_RELEASE(items[i+1], items[i]);
  ------------------
  |  |  164|      4|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  505|      2|    FT_ATOMIC_STORE_PTR_RELEASE(items[where], Py_NewRef(v));
  ------------------
  |  |  164|      2|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  506|      2|    return 0;
  507|      2|}
listobject.c:list_resize:
  105|  2.38k|{
  106|  2.38k|    size_t new_allocated, target_bytes;
  107|  2.38k|    Py_ssize_t allocated = self->allocated;
  108|       |
  109|       |    /* Bypass realloc() when a previous overallocation is large enough
  110|       |       to accommodate the newsize.  If the newsize falls lower than half
  111|       |       the allocated size, then proceed with the realloc() to shrink the list.
  112|       |    */
  113|  2.38k|    if (allocated >= newsize && newsize >= (allocated >> 1)) {
  ------------------
  |  Branch (113:9): [True: 131, False: 2.25k]
  |  Branch (113:33): [True: 82, False: 49]
  ------------------
  114|     82|        assert(self->ob_item != NULL || newsize == 0);
  ------------------
  |  Branch (114:9): [True: 82, False: 0]
  |  Branch (114:9): [True: 0, False: 0]
  ------------------
  115|     82|        Py_SET_SIZE(self, newsize);
  ------------------
  |  |  216|     82|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|     82|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     82|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  116|     82|        return 0;
  117|     82|    }
  118|       |
  119|       |    /* This over-allocates proportional to the list size, making room
  120|       |     * for additional growth.  The over-allocation is mild, but is
  121|       |     * enough to give linear-time amortized behavior over a long
  122|       |     * sequence of appends() in the presence of a poorly-performing
  123|       |     * system realloc().
  124|       |     * Add padding to make the allocated size multiple of 4.
  125|       |     * The growth pattern is:  0, 4, 8, 16, 24, 32, 40, 52, 64, 76, ...
  126|       |     * Note: new_allocated won't overflow because the largest possible value
  127|       |     *       is PY_SSIZE_T_MAX * (9 / 8) + 6 which always fits in a size_t.
  128|       |     */
  129|  2.30k|    new_allocated = ((size_t)newsize + (newsize >> 3) + 6) & ~(size_t)3;
  130|       |    /* Do not overallocate if the new size is closer to overallocated size
  131|       |     * than to the old size.
  132|       |     */
  133|  2.30k|    if (newsize - Py_SIZE(self) > (Py_ssize_t)(new_allocated - newsize))
  ------------------
  |  |  214|  2.30k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (133:9): [True: 25, False: 2.28k]
  ------------------
  134|     25|        new_allocated = ((size_t)newsize + 3) & ~(size_t)3;
  135|       |
  136|  2.30k|    if (newsize == 0)
  ------------------
  |  Branch (136:9): [True: 4, False: 2.30k]
  ------------------
  137|      4|        new_allocated = 0;
  138|       |
  139|  2.30k|    ensure_shared_on_resize(self);
  140|       |
  141|       |#ifdef Py_GIL_DISABLED
  142|       |    _PyListArray *array = list_allocate_array(new_allocated);
  143|       |    if (array == NULL) {
  144|       |        if (newsize < allocated) {
  145|       |            // Never fail when shrinking allocations
  146|       |            Py_SET_SIZE(self, newsize);
  147|       |            return 0;
  148|       |        }
  149|       |        PyErr_NoMemory();
  150|       |        return -1;
  151|       |    }
  152|       |    PyObject **old_items = self->ob_item;
  153|       |    if (self->ob_item) {
  154|       |        if (new_allocated < (size_t)allocated) {
  155|       |            target_bytes = new_allocated * sizeof(PyObject*);
  156|       |        }
  157|       |        else {
  158|       |            target_bytes = allocated * sizeof(PyObject*);
  159|       |        }
  160|       |        memcpy(array->ob_item, self->ob_item, target_bytes);
  161|       |    }
  162|       |    if (new_allocated > (size_t)allocated) {
  163|       |        memset(array->ob_item + allocated, 0, sizeof(PyObject *) * (new_allocated - allocated));
  164|       |    }
  165|       |     _Py_atomic_store_ptr_release(&self->ob_item, &array->ob_item);
  166|       |    self->allocated = new_allocated;
  167|       |    Py_SET_SIZE(self, newsize);
  168|       |    if (old_items != NULL) {
  169|       |        free_list_items(old_items, _PyObject_GC_IS_SHARED(self));
  170|       |    }
  171|       |#else
  172|  2.30k|    PyObject **items;
  173|  2.30k|    if (new_allocated <= (size_t)PY_SSIZE_T_MAX / sizeof(PyObject *)) {
  ------------------
  |  |  137|  2.30k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (173:9): [True: 2.30k, False: 0]
  ------------------
  174|  2.30k|        target_bytes = new_allocated * sizeof(PyObject *);
  175|  2.30k|        items = (PyObject **)PyMem_Realloc(self->ob_item, target_bytes);
  176|  2.30k|    }
  177|      0|    else {
  178|       |        // integer overflow
  179|      0|        items = NULL;
  180|      0|    }
  181|  2.30k|    if (items == NULL) {
  ------------------
  |  Branch (181:9): [True: 0, False: 2.30k]
  ------------------
  182|      0|        if (newsize < allocated) {
  ------------------
  |  Branch (182:13): [True: 0, False: 0]
  ------------------
  183|       |            // Never fail when shrinking allocations
  184|      0|            Py_SET_SIZE(self, newsize);
  ------------------
  |  |  216|      0|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|      0|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  185|      0|            return 0;
  186|      0|        }
  187|      0|        PyErr_NoMemory();
  188|      0|        return -1;
  189|      0|    }
  190|  2.30k|    self->ob_item = items;
  191|  2.30k|    Py_SET_SIZE(self, newsize);
  ------------------
  |  |  216|  2.30k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  2.30k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  192|  2.30k|    self->allocated = new_allocated;
  193|  2.30k|#endif
  194|  2.30k|    return 0;
  195|  2.30k|}
listobject.c:ensure_shared_on_resize:
   77|  2.30k|{
   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.30k|}
listobject.c:list_slice_lock_held:
  697|     32|{
  698|     32|    PyListObject *np;
  699|     32|    PyObject **src, **dest;
  700|     32|    Py_ssize_t i, len;
  701|     32|    len = ihigh - ilow;
  702|     32|    if (len <= 0) {
  ------------------
  |  Branch (702:9): [True: 0, False: 32]
  ------------------
  703|      0|        return PyList_New(0);
  704|      0|    }
  705|     32|    np = (PyListObject *) list_new_prealloc(len);
  706|     32|    if (np == NULL)
  ------------------
  |  Branch (706:9): [True: 0, False: 32]
  ------------------
  707|      0|        return NULL;
  708|       |
  709|     32|    src = a->ob_item + ilow;
  710|     32|    dest = np->ob_item;
  711|     82|    for (i = 0; i < len; i++) {
  ------------------
  |  Branch (711:17): [True: 50, False: 32]
  ------------------
  712|     50|        PyObject *v = src[i];
  713|     50|        dest[i] = Py_NewRef(v);
  ------------------
  |  |  550|     50|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  714|     50|    }
  715|     32|    Py_SET_SIZE(np, len);
  ------------------
  |  |  216|     32|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|     32|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  716|     32|    return (PyObject *)np;
  717|     32|}
listobject.c:list_new_prealloc:
  283|     47|{
  284|     47|    assert(size > 0);
  ------------------
  |  Branch (284:5): [True: 47, False: 0]
  ------------------
  285|     47|    PyListObject *op = (PyListObject *) PyList_New(0);
  286|     47|    if (op == NULL) {
  ------------------
  |  Branch (286:9): [True: 0, False: 47]
  ------------------
  287|      0|        return NULL;
  288|      0|    }
  289|     47|    assert(op->ob_item == NULL);
  ------------------
  |  Branch (289:5): [True: 47, False: 0]
  ------------------
  290|       |#ifdef Py_GIL_DISABLED
  291|       |    _PyListArray *array = list_allocate_array(size);
  292|       |    if (array == NULL) {
  293|       |        Py_DECREF(op);
  294|       |        return PyErr_NoMemory();
  295|       |    }
  296|       |    op->ob_item = array->ob_item;
  297|       |#else
  298|     47|    op->ob_item = PyMem_New(PyObject *, size);
  ------------------
  |  |   64|     47|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|     47|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [True: 0, False: 47]
  |  |  ------------------
  |  |   65|     47|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
  299|     47|    if (op->ob_item == NULL) {
  ------------------
  |  Branch (299:9): [True: 0, False: 47]
  ------------------
  300|      0|        Py_DECREF(op);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  301|      0|        return PyErr_NoMemory();
  302|      0|    }
  303|     47|#endif
  304|     47|    op->allocated = size;
  305|     47|    return (PyObject *) op;
  306|     47|}
listobject.c:list_concat_lock_held:
  771|      7|{
  772|      7|    Py_ssize_t size;
  773|      7|    Py_ssize_t i;
  774|      7|    PyObject **src, **dest;
  775|      7|    PyListObject *np;
  776|      7|    assert((size_t)Py_SIZE(a) + (size_t)Py_SIZE(b) < PY_SSIZE_T_MAX);
  ------------------
  |  Branch (776:5): [True: 7, False: 0]
  ------------------
  777|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  778|      7|    if (size == 0) {
  ------------------
  |  Branch (778:9): [True: 0, False: 7]
  ------------------
  779|      0|        return PyList_New(0);
  780|      0|    }
  781|      7|    np = (PyListObject *) list_new_prealloc(size);
  782|      7|    if (np == NULL) {
  ------------------
  |  Branch (782:9): [True: 0, False: 7]
  ------------------
  783|      0|        return NULL;
  784|      0|    }
  785|      7|    src = a->ob_item;
  786|      7|    dest = np->ob_item;
  787|    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 (787:17): [True: 148, False: 7]
  ------------------
  788|    148|        PyObject *v = src[i];
  789|    148|        dest[i] = Py_NewRef(v);
  ------------------
  |  |  550|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  790|    148|    }
  791|      7|    src = b->ob_item;
  792|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  793|     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 (793:17): [True: 88, False: 7]
  ------------------
  794|     88|        PyObject *v = src[i];
  795|     88|        dest[i] = Py_NewRef(v);
  ------------------
  |  |  550|     88|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     88|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     88|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  796|     88|    }
  797|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  798|      7|    return (PyObject *)np;
  799|      7|}
listobject.c:list_ass_slice:
 1042|     28|{
 1043|     28|    int ret;
 1044|     28|    if (a == (PyListObject *)v) {
  ------------------
  |  Branch (1044:9): [True: 0, False: 28]
  ------------------
 1045|      0|        Py_BEGIN_CRITICAL_SECTION(a);
  ------------------
  |  |   51|      0|    {
  ------------------
 1046|      0|        Py_ssize_t n = PyList_GET_SIZE(a);
  ------------------
  |  |   38|      0|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1047|      0|        PyObject *copy = list_slice_lock_held(a, 0, n);
 1048|      0|        if (copy == NULL) {
  ------------------
  |  Branch (1048:13): [True: 0, False: 0]
  ------------------
 1049|      0|            ret = -1;
 1050|      0|        }
 1051|      0|        else {
 1052|      0|            ret = list_ass_slice_lock_held(a, ilow, ihigh, copy);
 1053|      0|            Py_DECREF(copy);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1054|      0|        }
 1055|      0|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 1056|      0|    }
 1057|     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 (1057:14): [True: 0, False: 28]
  ------------------
 1058|      0|        Py_BEGIN_CRITICAL_SECTION2(a, v);
  ------------------
  |  |   57|      0|    {
  ------------------
 1059|      0|        ret = list_ass_slice_lock_held(a, ilow, ihigh, v);
 1060|      0|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|      0|    }
  ------------------
 1061|      0|    }
 1062|     28|    else {
 1063|     28|        Py_BEGIN_CRITICAL_SECTION(a);
  ------------------
  |  |   51|     28|    {
  ------------------
 1064|     28|        ret = list_ass_slice_lock_held(a, ilow, ihigh, v);
 1065|     28|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     28|    }
  ------------------
 1066|     28|    }
 1067|     28|    return ret;
 1068|     28|}
listobject.c:list_ass_slice_lock_held:
  951|    156|{
  952|       |    /* Because [X]DECREF can recursively invoke list operations on
  953|       |       this list, we must postpone all [X]DECREF activity until
  954|       |       after the list is back in its canonical shape.  Therefore
  955|       |       we must allocate an additional array, 'recycle', into which
  956|       |       we temporarily copy the items that are deleted from the
  957|       |       list. :-( */
  958|    156|    PyObject *recycle_on_stack[8];
  959|    156|    PyObject **recycle = recycle_on_stack; /* will allocate more if needed */
  960|    156|    PyObject **item;
  961|    156|    PyObject **vitem = NULL;
  962|    156|    PyObject *v_as_SF = NULL; /* PySequence_Fast(v) */
  963|    156|    Py_ssize_t n; /* # of elements in replacement list */
  964|    156|    Py_ssize_t norig; /* # of elements in list getting replaced */
  965|    156|    Py_ssize_t d; /* Change in size */
  966|    156|    Py_ssize_t k;
  967|    156|    size_t s;
  968|    156|    int result = -1;            /* guilty until proved innocent */
  969|    156|#define b ((PyListObject *)v)
  970|    156|    if (v == NULL)
  ------------------
  |  Branch (970:9): [True: 141, False: 15]
  ------------------
  971|    141|        n = 0;
  972|     15|    else {
  973|     15|        v_as_SF = PySequence_Fast(v, "can only assign an iterable");
  974|     15|        if(v_as_SF == NULL)
  ------------------
  |  Branch (974:12): [True: 0, False: 15]
  ------------------
  975|      0|            goto Error;
  976|     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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  977|     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)
  ------------------
  978|     15|    }
  979|    156|    if (ilow < 0)
  ------------------
  |  Branch (979:9): [True: 0, False: 156]
  ------------------
  980|      0|        ilow = 0;
  981|    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 (981:14): [True: 0, False: 156]
  ------------------
  982|      0|        ilow = Py_SIZE(a);
  ------------------
  |  |  214|      0|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  983|       |
  984|    156|    if (ihigh < ilow)
  ------------------
  |  Branch (984:9): [True: 0, False: 156]
  ------------------
  985|      0|        ihigh = ilow;
  986|    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 (986:14): [True: 0, False: 156]
  ------------------
  987|      0|        ihigh = Py_SIZE(a);
  ------------------
  |  |  214|      0|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  988|       |
  989|    156|    norig = ihigh - ilow;
  990|    156|    assert(norig >= 0);
  ------------------
  |  Branch (990:5): [True: 156, False: 0]
  ------------------
  991|    156|    d = n - norig;
  992|    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 (992:9): [True: 132, False: 24]
  ------------------
  993|    132|        Py_XDECREF(v_as_SF);
  ------------------
  |  |  524|    132|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    132|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    132|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  994|    132|        list_clear(a);
  995|    132|        return 0;
  996|    132|    }
  997|     24|    item = a->ob_item;
  998|       |    /* recycle the items that we are about to remove */
  999|     24|    s = norig * sizeof(PyObject *);
 1000|       |    /* If norig == 0, item might be NULL, in which case we may not memcpy from it. */
 1001|     24|    if (s) {
  ------------------
  |  Branch (1001:9): [True: 24, False: 0]
  ------------------
 1002|     24|        if (s > sizeof(recycle_on_stack)) {
  ------------------
  |  Branch (1002:13): [True: 1, False: 23]
  ------------------
 1003|      1|            recycle = (PyObject **)PyMem_Malloc(s);
 1004|      1|            if (recycle == NULL) {
  ------------------
  |  Branch (1004:17): [True: 0, False: 1]
  ------------------
 1005|      0|                PyErr_NoMemory();
 1006|      0|                goto Error;
 1007|      0|            }
 1008|      1|        }
 1009|     24|        memcpy(recycle, &item[ilow], s);
 1010|     24|    }
 1011|       |
 1012|     24|    if (d < 0) { /* Delete -d items */
  ------------------
  |  Branch (1012:9): [True: 11, False: 13]
  ------------------
 1013|     11|        Py_ssize_t tail = Py_SIZE(a) - ihigh;
  ------------------
  |  |  214|     11|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1014|     11|        ptr_wise_atomic_memmove(a, &item[ihigh+d], &item[ihigh], tail);
 1015|     11|        (void)list_resize(a, Py_SIZE(a) + d); // NB: shrinking a list can't fail
  ------------------
  |  |  214|     11|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1016|     11|        item = a->ob_item;
 1017|     11|    }
 1018|     13|    else if (d > 0) { /* Insert d items */
  ------------------
  |  Branch (1018:14): [True: 0, False: 13]
  ------------------
 1019|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1020|      0|        if (list_resize(a, k+d) < 0)
  ------------------
  |  Branch (1020:13): [True: 0, False: 0]
  ------------------
 1021|      0|            goto Error;
 1022|      0|        item = a->ob_item;
 1023|      0|        ptr_wise_atomic_memmove(a, &item[ihigh+d], &item[ihigh], k - ihigh);
 1024|      0|    }
 1025|     55|    for (k = 0; k < n; k++, ilow++) {
  ------------------
  |  Branch (1025:17): [True: 31, False: 24]
  ------------------
 1026|     31|        PyObject *w = vitem[k];
 1027|     31|        FT_ATOMIC_STORE_PTR_RELEASE(item[ilow], Py_XNewRef(w));
  ------------------
  |  |  164|     31|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1028|     31|    }
 1029|     67|    for (k = norig - 1; k >= 0; --k)
  ------------------
  |  Branch (1029:25): [True: 43, False: 24]
  ------------------
 1030|     43|        Py_XDECREF(recycle[k]);
  ------------------
  |  |  524|     67|#  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1031|     24|    result = 0;
 1032|     24| Error:
 1033|     24|    if (recycle != recycle_on_stack)
  ------------------
  |  Branch (1033:9): [True: 1, False: 23]
  ------------------
 1034|      1|        PyMem_Free(recycle);
 1035|     24|    Py_XDECREF(v_as_SF);
  ------------------
  |  |  524|     24|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1036|     24|    return result;
 1037|     24|#undef b
 1038|     24|}
listobject.c:ptr_wise_atomic_memmove:
  919|     11|{
  920|     11|#ifndef Py_GIL_DISABLED
  921|     11|    memmove(dest, src, n * sizeof(PyObject *));
  922|       |#else
  923|       |    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(a);
  924|       |    if (_Py_IsOwnedByCurrentThread((PyObject *)a) && !_PyObject_GC_IS_SHARED(a)) {
  925|       |        // No other threads can read this list concurrently
  926|       |        memmove(dest, src, n * sizeof(PyObject *));
  927|       |        return;
  928|       |    }
  929|       |    if (dest < src) {
  930|       |        for (Py_ssize_t i = 0; i != n; i++) {
  931|       |            _Py_atomic_store_ptr_release(&dest[i], src[i]);
  932|       |        }
  933|       |    }
  934|       |    else {
  935|       |        // copy backwards to avoid overwriting src before it's read
  936|       |        for (Py_ssize_t i = n; i != 0; i--) {
  937|       |            _Py_atomic_store_ptr_release(&dest[i - 1], src[i - 1]);
  938|       |        }
  939|       |    }
  940|       |#endif
  941|     11|}
listobject.c:list_extend_impl:
 1525|    310|{
 1526|    310|    if (_list_extend(self, iterable) < 0) {
  ------------------
  |  Branch (1526:9): [True: 0, False: 310]
  ------------------
 1527|      0|        return NULL;
 1528|      0|    }
 1529|    310|    Py_RETURN_NONE;
  ------------------
  |  |  628|    310|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    310|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1530|    310|}
listobject.c:_list_extend:
 1458|    406|{
 1459|       |    // Special case:
 1460|       |    // lists and tuples which can use PySequence_Fast ops
 1461|    406|    int res = -1;
 1462|    406|    if ((PyObject *)self == iterable) {
  ------------------
  |  Branch (1462:9): [True: 0, False: 406]
  ------------------
 1463|      0|        Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      0|    {
  ------------------
 1464|      0|        res = list_inplace_repeat_lock_held(self, 2);
 1465|      0|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 1466|      0|    }
 1467|    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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1468|    121|        Py_BEGIN_CRITICAL_SECTION2(self, iterable);
  ------------------
  |  |   57|    121|    {
  ------------------
 1469|    121|        res = list_extend_lock_held(self, iterable);
 1470|    121|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|    121|    }
  ------------------
 1471|    121|    }
 1472|    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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1473|    156|        Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|    156|    {
  ------------------
 1474|    156|        res = list_extend_lock_held(self, iterable);
 1475|    156|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    156|    }
  ------------------
 1476|    156|    }
 1477|    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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1478|      4|        Py_BEGIN_CRITICAL_SECTION2(self, iterable);
  ------------------
  |  |   57|      4|    {
  ------------------
 1479|      4|        res = list_extend_set(self, (PySetObject *)iterable);
 1480|      4|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|      4|    }
  ------------------
 1481|      4|    }
 1482|    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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1483|      7|        Py_BEGIN_CRITICAL_SECTION2(self, iterable);
  ------------------
  |  |   57|      7|    {
  ------------------
 1484|      7|        res = list_extend_dict(self, (PyDictObject *)iterable, 0 /*keys*/);
 1485|      7|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|      7|    }
  ------------------
 1486|      7|    }
 1487|    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]
  |  |  ------------------
  ------------------
 1488|      0|        PyDictObject *dict = ((_PyDictViewObject *)iterable)->dv_dict;
 1489|      0|        Py_BEGIN_CRITICAL_SECTION2(self, dict);
  ------------------
  |  |   57|      0|    {
  ------------------
 1490|      0|        res = list_extend_dict(self, dict, 0 /*keys*/);
 1491|      0|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|      0|    }
  ------------------
 1492|      0|    }
 1493|    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]
  |  |  ------------------
  ------------------
 1494|      1|        PyDictObject *dict = ((_PyDictViewObject *)iterable)->dv_dict;
 1495|      1|        Py_BEGIN_CRITICAL_SECTION2(self, dict);
  ------------------
  |  |   57|      1|    {
  ------------------
 1496|      1|        res = list_extend_dict(self, dict, 1 /*values*/);
 1497|      1|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|      1|    }
  ------------------
 1498|      1|    }
 1499|    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]
  |  |  ------------------
  ------------------
 1500|      0|        PyDictObject *dict = ((_PyDictViewObject *)iterable)->dv_dict;
 1501|      0|        Py_BEGIN_CRITICAL_SECTION2(self, dict);
  ------------------
  |  |   57|      0|    {
  ------------------
 1502|      0|        res = list_extend_dictitems(self, dict);
 1503|      0|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|      0|    }
  ------------------
 1504|      0|    }
 1505|    117|    else {
 1506|    117|        Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|    117|    {
  ------------------
 1507|    117|        res = list_extend_iter_lock_held(self, iterable);
 1508|    117|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    117|    }
  ------------------
 1509|    117|    }
 1510|    406|    return res;
 1511|    406|}
listobject.c:list_extend_lock_held:
 1356|    277|{
 1357|    277|    PyObject *seq = PySequence_Fast(iterable, "argument must be iterable");
 1358|    277|    if (!seq) {
  ------------------
  |  Branch (1358:9): [True: 0, False: 277]
  ------------------
 1359|      0|        return -1;
 1360|      0|    }
 1361|       |
 1362|    277|    int res = list_extend_fast(self, seq);
 1363|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1364|    277|    return res;
 1365|    277|}
listobject.c:list_extend_fast:
 1243|    277|{
 1244|    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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1245|    277|    if (n == 0) {
  ------------------
  |  Branch (1245:9): [True: 33, False: 244]
  ------------------
 1246|       |        /* short circuit when iterable is empty */
 1247|     33|        return 0;
 1248|     33|    }
 1249|       |
 1250|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1251|       |    // It should not be possible to allocate a list large enough to cause
 1252|       |    // an overflow on any relevant platform.
 1253|    244|    assert(m < PY_SSIZE_T_MAX - n);
  ------------------
  |  Branch (1253:5): [True: 244, False: 0]
  ------------------
 1254|    244|    if (self->ob_item == NULL) {
  ------------------
  |  Branch (1254:9): [True: 188, False: 56]
  ------------------
 1255|    188|        if (list_preallocate_exact(self, n) < 0) {
  ------------------
  |  Branch (1255:13): [True: 0, False: 188]
  ------------------
 1256|      0|            return -1;
 1257|      0|        }
 1258|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1259|    188|    }
 1260|     56|    else if (list_resize(self, m + n) < 0) {
  ------------------
  |  Branch (1260:14): [True: 0, False: 56]
  ------------------
 1261|      0|        return -1;
 1262|      0|    }
 1263|       |
 1264|       |    // note that we may still have self == iterable here for the
 1265|       |    // situation a.extend(a), but the following code works
 1266|       |    // in that case too.  Just make sure to resize self
 1267|       |    // before calling PySequence_Fast_ITEMS.
 1268|       |    //
 1269|       |    // populate the end of self with iterable's items.
 1270|    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)
  ------------------
 1271|    244|    PyObject **dest = self->ob_item + m;
 1272|  2.68k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (1272:28): [True: 2.43k, False: 244]
  ------------------
 1273|  2.43k|        PyObject *o = src[i];
 1274|  2.43k|        FT_ATOMIC_STORE_PTR_RELEASE(dest[i], Py_NewRef(o));
  ------------------
  |  |  164|  2.43k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1275|  2.43k|    }
 1276|    244|    return 0;
 1277|    244|}
listobject.c:list_preallocate_exact:
  199|    287|{
  200|    287|    PyObject **items;
  201|    287|    assert(self->ob_item == NULL);
  ------------------
  |  Branch (201:5): [True: 287, False: 0]
  ------------------
  202|    287|    assert(size > 0);
  ------------------
  |  Branch (202:5): [True: 287, False: 0]
  ------------------
  203|       |
  204|       |    /* Since the Python memory allocator has granularity of 16 bytes on 64-bit
  205|       |     * platforms (8 on 32-bit), there is no benefit of allocating space for
  206|       |     * the odd number of items, and there is no drawback of rounding the
  207|       |     * allocated size up to the nearest even number.
  208|       |     */
  209|    287|    size = (size + 1) & ~(size_t)1;
  210|       |#ifdef Py_GIL_DISABLED
  211|       |    _PyListArray *array = list_allocate_array(size);
  212|       |    if (array == NULL) {
  213|       |        PyErr_NoMemory();
  214|       |        return -1;
  215|       |    }
  216|       |    items = array->ob_item;
  217|       |    memset(items, 0, size * sizeof(PyObject *));
  218|       |#else
  219|    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)) ) )
  ------------------
  220|    287|    if (items == NULL) {
  ------------------
  |  Branch (220:9): [True: 0, False: 287]
  ------------------
  221|      0|        PyErr_NoMemory();
  222|      0|        return -1;
  223|      0|    }
  224|    287|#endif
  225|    287|    FT_ATOMIC_STORE_PTR_RELEASE(self->ob_item, items);
  ------------------
  |  |  164|    287|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  226|    287|    self->allocated = size;
  227|    287|    return 0;
  228|    287|}
listobject.c:list_extend_set:
 1369|      4|{
 1370|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1371|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1372|      4|    Py_ssize_t r = m + n;
 1373|      4|    if (r == 0) {
  ------------------
  |  Branch (1373:9): [True: 4, False: 0]
  ------------------
 1374|      4|        return 0;
 1375|      4|    }
 1376|      0|    if (list_resize(self, r) < 0) {
  ------------------
  |  Branch (1376:9): [True: 0, False: 0]
  ------------------
 1377|      0|        return -1;
 1378|      0|    }
 1379|       |
 1380|      0|    assert(self->ob_item != NULL);
  ------------------
  |  Branch (1380:5): [True: 0, False: 0]
  ------------------
 1381|       |    /* populate the end of self with iterable's items */
 1382|      0|    Py_ssize_t setpos = 0;
 1383|      0|    Py_hash_t hash;
 1384|      0|    PyObject *key;
 1385|      0|    PyObject **dest = self->ob_item + m;
 1386|      0|    while (_PySet_NextEntryRef((PyObject *)other, &setpos, &key, &hash)) {
  ------------------
  |  Branch (1386:12): [True: 0, False: 0]
  ------------------
 1387|      0|        FT_ATOMIC_STORE_PTR_RELEASE(*dest, key);
  ------------------
  |  |  164|      0|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1388|      0|        dest++;
 1389|      0|    }
 1390|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1391|      0|    return 0;
 1392|      0|}
listobject.c:list_extend_dict:
 1396|      8|{
 1397|       |    // which_item: 0 for keys and 1 for values
 1398|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1399|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1400|      8|    Py_ssize_t r = m + n;
 1401|      8|    if (r == 0) {
  ------------------
  |  Branch (1401:9): [True: 0, False: 8]
  ------------------
 1402|      0|        return 0;
 1403|      0|    }
 1404|      8|    if (list_resize(self, r) < 0) {
  ------------------
  |  Branch (1404:9): [True: 0, False: 8]
  ------------------
 1405|      0|        return -1;
 1406|      0|    }
 1407|       |
 1408|      8|    assert(self->ob_item != NULL);
  ------------------
  |  Branch (1408:5): [True: 8, False: 0]
  ------------------
 1409|      8|    PyObject **dest = self->ob_item + m;
 1410|      8|    Py_ssize_t pos = 0;
 1411|      8|    PyObject *keyvalue[2];
 1412|    143|    while (_PyDict_Next((PyObject *)dict, &pos, &keyvalue[0], &keyvalue[1], NULL)) {
  ------------------
  |  Branch (1412:12): [True: 135, False: 8]
  ------------------
 1413|    135|        PyObject *obj = keyvalue[which_item];
 1414|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1415|    135|        FT_ATOMIC_STORE_PTR_RELEASE(*dest, obj);
  ------------------
  |  |  164|    135|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1416|    135|        dest++;
 1417|    135|    }
 1418|       |
 1419|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1420|      8|    return 0;
 1421|      8|}
listobject.c:list_extend_iter_lock_held:
 1281|    117|{
 1282|    117|    PyObject *it = PyObject_GetIter(iterable);
 1283|    117|    if (it == NULL) {
  ------------------
  |  Branch (1283:9): [True: 0, False: 117]
  ------------------
 1284|      0|        return -1;
 1285|      0|    }
 1286|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1287|       |
 1288|       |    /* Guess a result list size. */
 1289|    117|    Py_ssize_t n = PyObject_LengthHint(iterable, 8);
 1290|    117|    if (n < 0) {
  ------------------
  |  Branch (1290:9): [True: 0, False: 117]
  ------------------
 1291|      0|        Py_DECREF(it);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1292|      0|        return -1;
 1293|      0|    }
 1294|       |
 1295|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1296|    117|    if (m > PY_SSIZE_T_MAX - n) {
  ------------------
  |  |  137|    117|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1296:9): [True: 0, False: 117]
  ------------------
 1297|       |        /* m + n overflowed; on the chance that n lied, and there really
 1298|       |         * is enough room, ignore it.  If n was telling the truth, we'll
 1299|       |         * eventually run out of memory during the loop.
 1300|       |         */
 1301|      0|    }
 1302|    117|    else if (self->ob_item == NULL) {
  ------------------
  |  Branch (1302:14): [True: 99, False: 18]
  ------------------
 1303|     99|        if (n && list_preallocate_exact(self, n) < 0)
  ------------------
  |  Branch (1303:13): [True: 99, False: 0]
  |  Branch (1303:18): [True: 0, False: 99]
  ------------------
 1304|      0|            goto error;
 1305|     99|    }
 1306|     18|    else {
 1307|       |        /* Make room. */
 1308|     18|        if (list_resize(self, m + n) < 0) {
  ------------------
  |  Branch (1308:13): [True: 0, False: 18]
  ------------------
 1309|      0|            goto error;
 1310|      0|        }
 1311|       |
 1312|       |        /* Make the list sane again. */
 1313|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1314|     18|    }
 1315|       |
 1316|       |    /* Run iterator to exhaustion. */
 1317|  1.44k|    for (;;) {
 1318|  1.44k|        PyObject *item = iternext(it);
 1319|  1.44k|        if (item == NULL) {
  ------------------
  |  Branch (1319:13): [True: 117, False: 1.32k]
  ------------------
 1320|    117|            if (PyErr_Occurred()) {
  ------------------
  |  Branch (1320:17): [True: 0, False: 117]
  ------------------
 1321|      0|                if (PyErr_ExceptionMatches(PyExc_StopIteration))
  ------------------
  |  Branch (1321:21): [True: 0, False: 0]
  ------------------
 1322|      0|                    PyErr_Clear();
 1323|      0|                else
 1324|      0|                    goto error;
 1325|      0|            }
 1326|    117|            break;
 1327|    117|        }
 1328|       |
 1329|  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 (1329:13): [True: 1.32k, False: 0]
  ------------------
 1330|  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1331|  1.32k|            FT_ATOMIC_STORE_PTR_RELEASE(self->ob_item[len], item);  // steals item ref
  ------------------
  |  |  164|  1.32k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1332|  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1333|  1.32k|        }
 1334|      0|        else {
 1335|      0|            if (_PyList_AppendTakeRef(self, item) < 0)
  ------------------
  |  Branch (1335:17): [True: 0, False: 0]
  ------------------
 1336|      0|                goto error;
 1337|      0|        }
 1338|  1.32k|    }
 1339|       |
 1340|       |    /* Cut back result list if initial guess was too large. */
 1341|    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 (1341:9): [True: 68, False: 49]
  ------------------
 1342|     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 (1342:13): [True: 0, False: 68]
  ------------------
 1343|      0|            goto error;
 1344|     68|    }
 1345|       |
 1346|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1347|    117|    return 0;
 1348|       |
 1349|      0|  error:
 1350|      0|    Py_DECREF(it);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1351|      0|    return -1;
 1352|    117|}
listobject.c:list_clear:
  904|    231|{
  905|       |    list_clear_impl(a, true);
  906|    231|}
listobject.c:list_clear_impl:
  874|    231|{
  875|    231|    PyObject **items = a->ob_item;
  876|    231|    if (items == NULL) {
  ------------------
  |  Branch (876:9): [True: 2, False: 229]
  ------------------
  877|      2|        return;
  878|      2|    }
  879|       |
  880|       |    /* Because XDECREF can recursively invoke operations on
  881|       |       this list, we make it empty first. */
  882|    229|    Py_ssize_t i = Py_SIZE(a);
  ------------------
  |  |  214|    229|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    229|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    229|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  883|    229|    Py_SET_SIZE(a, 0);
  ------------------
  |  |  216|    229|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|    229|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    229|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  884|    229|    FT_ATOMIC_STORE_PTR_RELEASE(a->ob_item, NULL);
  ------------------
  |  |  164|    229|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  885|    229|    a->allocated = 0;
  886|    467|    while (--i >= 0) {
  ------------------
  |  Branch (886:12): [True: 238, False: 229]
  ------------------
  887|    238|        Py_XDECREF(items[i]);
  ------------------
  |  |  524|    238|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    238|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    238|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  888|    238|    }
  889|       |#ifdef Py_GIL_DISABLED
  890|       |    if (is_resize) {
  891|       |        ensure_shared_on_resize(a);
  892|       |    }
  893|       |    bool use_qsbr = is_resize && _PyObject_GC_IS_SHARED(a);
  894|       |#else
  895|    229|    bool use_qsbr = false;
  896|    229|#endif
  897|    229|    free_list_items(items, use_qsbr);
  898|       |    // Note that there is no guarantee that the list is actually empty
  899|       |    // at this point, because XDECREF may have populated it indirectly again!
  900|    229|}
listobject.c:free_list_items:
   60|  1.34k|{
   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.34k|    PyMem_Free(items);
   72|  1.34k|#endif
   73|  1.34k|}
listobject.c:list_sort_impl:
 2946|     93|{
 2947|     93|    MergeState ms;
 2948|     93|    Py_ssize_t nremaining;
 2949|     93|    Py_ssize_t minrun;
 2950|     93|    sortslice lo;
 2951|     93|    Py_ssize_t saved_ob_size, saved_allocated;
 2952|     93|    PyObject **saved_ob_item;
 2953|     93|    PyObject **final_ob_item;
 2954|     93|    PyObject *result = NULL;            /* guilty until proved innocent */
 2955|     93|    Py_ssize_t i;
 2956|     93|    PyObject **keys;
 2957|       |
 2958|     93|    assert(self != NULL);
  ------------------
  |  Branch (2958:5): [True: 93, False: 0]
  ------------------
 2959|     93|    assert(PyList_Check(self));
  ------------------
  |  Branch (2959:5): [True: 93, False: 0]
  ------------------
 2960|     93|    if (keyfunc == Py_None)
  ------------------
  |  |  616|     93|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2960:9): [True: 7, False: 86]
  ------------------
 2961|      7|        keyfunc = NULL;
 2962|       |
 2963|       |    /* The list is temporarily made empty, so that mutations performed
 2964|       |     * by comparison functions can't affect the slice of memory we're
 2965|       |     * sorting (allowing mutations during sorting is a core-dump
 2966|       |     * factory, since ob_item may change).
 2967|       |     */
 2968|     93|    saved_ob_size = Py_SIZE(self);
  ------------------
  |  |  214|     93|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     93|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     93|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2969|     93|    saved_ob_item = self->ob_item;
 2970|     93|    saved_allocated = self->allocated;
 2971|     93|    Py_SET_SIZE(self, 0);
  ------------------
  |  |  216|     93|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|     93|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     93|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2972|     93|    FT_ATOMIC_STORE_PTR_RELEASE(self->ob_item, NULL);
  ------------------
  |  |  164|     93|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 2973|     93|    self->allocated = -1; /* any operation will reset it to >= 0 */
 2974|       |
 2975|     93|    if (keyfunc == NULL) {
  ------------------
  |  Branch (2975:9): [True: 93, False: 0]
  ------------------
 2976|     93|        keys = NULL;
 2977|     93|        lo.keys = saved_ob_item;
 2978|     93|        lo.values = NULL;
 2979|     93|    }
 2980|      0|    else {
 2981|      0|        if (saved_ob_size < MERGESTATE_TEMP_SIZE/2)
  ------------------
  |  | 1731|      0|#define MERGESTATE_TEMP_SIZE 256
  ------------------
  |  Branch (2981:13): [True: 0, False: 0]
  ------------------
 2982|       |            /* Leverage stack space we allocated but won't otherwise use */
 2983|      0|            keys = &ms.temparray[saved_ob_size+1];
 2984|      0|        else {
 2985|      0|            keys = PyMem_Malloc(sizeof(PyObject *) * saved_ob_size);
 2986|      0|            if (keys == NULL) {
  ------------------
  |  Branch (2986:17): [True: 0, False: 0]
  ------------------
 2987|      0|                PyErr_NoMemory();
 2988|      0|                goto keyfunc_fail;
 2989|      0|            }
 2990|      0|        }
 2991|       |
 2992|      0|        for (i = 0; i < saved_ob_size ; i++) {
  ------------------
  |  Branch (2992:21): [True: 0, False: 0]
  ------------------
 2993|      0|            keys[i] = PyObject_CallOneArg(keyfunc, saved_ob_item[i]);
 2994|      0|            if (keys[i] == NULL) {
  ------------------
  |  Branch (2994:17): [True: 0, False: 0]
  ------------------
 2995|      0|                for (i=i-1 ; i>=0 ; i--)
  ------------------
  |  Branch (2995:30): [True: 0, False: 0]
  ------------------
 2996|      0|                    Py_DECREF(keys[i]);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2997|      0|                if (saved_ob_size >= MERGESTATE_TEMP_SIZE/2)
  ------------------
  |  | 1731|      0|#define MERGESTATE_TEMP_SIZE 256
  ------------------
  |  Branch (2997:21): [True: 0, False: 0]
  ------------------
 2998|      0|                    PyMem_Free(keys);
 2999|      0|                goto keyfunc_fail;
 3000|      0|            }
 3001|      0|        }
 3002|       |
 3003|      0|        lo.keys = keys;
 3004|      0|        lo.values = saved_ob_item;
 3005|      0|    }
 3006|       |
 3007|       |
 3008|       |    /* The pre-sort check: here's where we decide which compare function to use.
 3009|       |     * How much optimization is safe? We test for homogeneity with respect to
 3010|       |     * several properties that are expensive to check at compare-time, and
 3011|       |     * set ms appropriately. */
 3012|     93|    if (saved_ob_size > 1) {
  ------------------
  |  Branch (3012:9): [True: 15, False: 78]
  ------------------
 3013|       |        /* Assume the first element is representative of the whole list. */
 3014|     15|        int keys_are_in_tuples = (Py_IS_TYPE(lo.keys[0], &PyTuple_Type) &&
  ------------------
  |  |  215|     30|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     15|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     15|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 0, False: 15]
  |  |  ------------------
  ------------------
 3015|      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 (3015:35): [True: 0, False: 0]
  ------------------
 3016|       |
 3017|     15|        PyTypeObject* key_type = (keys_are_in_tuples ?
  ------------------
  |  Branch (3017:35): [True: 0, False: 15]
  ------------------
 3018|      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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3019|     15|                                  Py_TYPE(lo.keys[0]));
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3020|       |
 3021|     15|        int keys_are_all_same_type = 1;
 3022|     15|        int strings_are_latin = 1;
 3023|     15|        int ints_are_bounded = 1;
 3024|       |
 3025|       |        /* Prove that assumption by checking every key. */
 3026|    937|        for (i=0; i < saved_ob_size; i++) {
  ------------------
  |  Branch (3026:19): [True: 922, False: 15]
  ------------------
 3027|       |
 3028|    922|            if (keys_are_in_tuples &&
  ------------------
  |  Branch (3028:17): [True: 0, False: 922]
  ------------------
 3029|      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 (3029:60): [True: 0, False: 0]
  ------------------
 3030|      0|                keys_are_in_tuples = 0;
 3031|      0|                keys_are_all_same_type = 0;
 3032|      0|                break;
 3033|      0|            }
 3034|       |
 3035|       |            /* Note: for lists of tuples, key is the first element of the tuple
 3036|       |             * lo.keys[i], not lo.keys[i] itself! We verify type-homogeneity
 3037|       |             * for lists of tuples in the if-statement directly above. */
 3038|    922|            PyObject *key = (keys_are_in_tuples ?
  ------------------
  |  Branch (3038:30): [True: 0, False: 922]
  ------------------
 3039|      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 (3039:30): [True: 0, False: 0]
  ------------------
 3040|    922|                             lo.keys[i]);
 3041|       |
 3042|    922|            if (!Py_IS_TYPE(key, key_type)) {
  ------------------
  |  |  215|    922|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    922|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    922|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3042:17): [True: 0, False: 922]
  ------------------
 3043|      0|                keys_are_all_same_type = 0;
 3044|       |                /* If keys are in tuple we must loop over the whole list to make
 3045|       |                   sure all items are tuples */
 3046|      0|                if (!keys_are_in_tuples) {
  ------------------
  |  Branch (3046:21): [True: 0, False: 0]
  ------------------
 3047|      0|                    break;
 3048|      0|                }
 3049|      0|            }
 3050|       |
 3051|    922|            if (keys_are_all_same_type) {
  ------------------
  |  Branch (3051:17): [True: 922, False: 0]
  ------------------
 3052|    922|                if (key_type == &PyLong_Type &&
  ------------------
  |  Branch (3052:21): [True: 8, False: 914]
  ------------------
 3053|      8|                    ints_are_bounded &&
  ------------------
  |  Branch (3053:21): [True: 8, False: 0]
  ------------------
 3054|      8|                    !_PyLong_IsCompact((PyLongObject *)key)) {
  ------------------
  |  Branch (3054:21): [True: 0, False: 8]
  ------------------
 3055|       |
 3056|      0|                    ints_are_bounded = 0;
 3057|      0|                }
 3058|    922|                else if (key_type == &PyUnicode_Type &&
  ------------------
  |  Branch (3058:26): [True: 914, False: 8]
  ------------------
 3059|    914|                         strings_are_latin &&
  ------------------
  |  Branch (3059:26): [True: 914, False: 0]
  ------------------
 3060|  1.82k|                         PyUnicode_KIND(key) != PyUnicode_1BYTE_KIND) {
  ------------------
  |  |  258|    914|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|  1.82k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 914, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3060:26): [True: 0, False: 914]
  ------------------
 3061|       |
 3062|      0|                        strings_are_latin = 0;
 3063|      0|                    }
 3064|    922|                }
 3065|    922|            }
 3066|       |
 3067|       |        /* Choose the best compare, given what we now know about the keys. */
 3068|     15|        if (keys_are_all_same_type) {
  ------------------
  |  Branch (3068:13): [True: 15, False: 0]
  ------------------
 3069|       |
 3070|     15|            if (key_type == &PyUnicode_Type && strings_are_latin) {
  ------------------
  |  Branch (3070:17): [True: 14, False: 1]
  |  Branch (3070:48): [True: 14, False: 0]
  ------------------
 3071|     14|                ms.key_compare = unsafe_latin_compare;
 3072|     14|            }
 3073|      1|            else if (key_type == &PyLong_Type && ints_are_bounded) {
  ------------------
  |  Branch (3073:22): [True: 1, False: 0]
  |  Branch (3073:50): [True: 1, False: 0]
  ------------------
 3074|      1|                ms.key_compare = unsafe_long_compare;
 3075|      1|            }
 3076|      0|            else if (key_type == &PyFloat_Type) {
  ------------------
  |  Branch (3076:22): [True: 0, False: 0]
  ------------------
 3077|      0|                ms.key_compare = unsafe_float_compare;
 3078|      0|            }
 3079|      0|            else if ((ms.key_richcompare = key_type->tp_richcompare) != NULL) {
  ------------------
  |  Branch (3079:22): [True: 0, False: 0]
  ------------------
 3080|      0|                ms.key_compare = unsafe_object_compare;
 3081|      0|            }
 3082|      0|            else {
 3083|      0|                ms.key_compare = safe_object_compare;
 3084|      0|            }
 3085|     15|        }
 3086|      0|        else {
 3087|      0|            ms.key_compare = safe_object_compare;
 3088|      0|        }
 3089|       |
 3090|     15|        if (keys_are_in_tuples) {
  ------------------
  |  Branch (3090:13): [True: 0, False: 15]
  ------------------
 3091|       |            /* Make sure we're not dealing with tuples of tuples
 3092|       |             * (remember: here, key_type refers list [key[0] for key in keys]) */
 3093|      0|            if (key_type == &PyTuple_Type) {
  ------------------
  |  Branch (3093:17): [True: 0, False: 0]
  ------------------
 3094|      0|                ms.tuple_elem_compare = safe_object_compare;
 3095|      0|            }
 3096|      0|            else {
 3097|      0|                ms.tuple_elem_compare = ms.key_compare;
 3098|      0|            }
 3099|       |
 3100|      0|            ms.key_compare = unsafe_tuple_compare;
 3101|      0|        }
 3102|     15|    }
 3103|       |    /* End of pre-sort check: ms is now set properly! */
 3104|       |
 3105|     93|    merge_init(&ms, saved_ob_size, keys != NULL, &lo);
 3106|       |
 3107|     93|    nremaining = saved_ob_size;
 3108|     93|    if (nremaining < 2)
  ------------------
  |  Branch (3108:9): [True: 78, False: 15]
  ------------------
 3109|     78|        goto succeed;
 3110|       |
 3111|       |    /* Reverse sort stability achieved by initially reversing the list,
 3112|       |    applying a stable forward sort, then reversing the final result. */
 3113|     15|    if (reverse) {
  ------------------
  |  Branch (3113:9): [True: 1, False: 14]
  ------------------
 3114|      1|        if (keys != NULL)
  ------------------
  |  Branch (3114:13): [True: 0, False: 1]
  ------------------
 3115|      0|            reverse_slice(&keys[0], &keys[saved_ob_size]);
 3116|      1|        reverse_slice(&saved_ob_item[0], &saved_ob_item[saved_ob_size]);
 3117|      1|    }
 3118|       |
 3119|       |    /* March over the array once, left to right, finding natural runs,
 3120|       |     * and extending short natural runs to minrun elements.
 3121|       |     */
 3122|     29|    do {
 3123|     29|        Py_ssize_t n;
 3124|       |
 3125|       |        /* Identify next run. */
 3126|     29|        n = count_run(&ms, &lo, nremaining);
 3127|     29|        if (n < 0)
  ------------------
  |  Branch (3127:13): [True: 0, False: 29]
  ------------------
 3128|      0|            goto fail;
 3129|       |        /* If short, extend to min(minrun, nremaining). */
 3130|     29|        minrun = minrun_next(&ms);
 3131|     29|        if (n < minrun) {
  ------------------
  |  Branch (3131:13): [True: 25, False: 4]
  ------------------
 3132|     25|            const Py_ssize_t force = nremaining <= minrun ?
  ------------------
  |  Branch (3132:38): [True: 11, False: 14]
  ------------------
 3133|     14|                              nremaining : minrun;
 3134|     25|            if (binarysort(&ms, &lo, force, n) < 0)
  ------------------
  |  Branch (3134:17): [True: 0, False: 25]
  ------------------
 3135|      0|                goto fail;
 3136|     25|            n = force;
 3137|     25|        }
 3138|       |        /* Maybe merge pending runs. */
 3139|     29|        assert(ms.n == 0 || ms.pending[ms.n -1].base.keys +
  ------------------
  |  Branch (3139:9): [True: 15, False: 14]
  |  Branch (3139:9): [True: 14, False: 0]
  ------------------
 3140|     29|                            ms.pending[ms.n-1].len == lo.keys);
 3141|     29|        if (found_new_run(&ms, n) < 0)
  ------------------
  |  Branch (3141:13): [True: 0, False: 29]
  ------------------
 3142|      0|            goto fail;
 3143|       |        /* Push new run on stack. */
 3144|     29|        assert(ms.n < MAX_MERGE_PENDING);
  ------------------
  |  Branch (3144:9): [True: 29, False: 0]
  ------------------
 3145|     29|        ms.pending[ms.n].base = lo;
 3146|     29|        ms.pending[ms.n].len = n;
 3147|     29|        ++ms.n;
 3148|       |        /* Advance to find next run. */
 3149|     29|        sortslice_advance(&lo, n);
 3150|     29|        nremaining -= n;
 3151|     29|    } while (nremaining);
  ------------------
  |  Branch (3151:14): [True: 14, False: 15]
  ------------------
 3152|       |
 3153|     15|    if (merge_force_collapse(&ms) < 0)
  ------------------
  |  Branch (3153:9): [True: 0, False: 15]
  ------------------
 3154|      0|        goto fail;
 3155|     15|    assert(ms.n == 1);
  ------------------
  |  Branch (3155:5): [True: 15, False: 0]
  ------------------
 3156|     15|    assert(keys == NULL
  ------------------
  |  Branch (3156:5): [True: 15, False: 0]
  |  Branch (3156:5): [True: 15, False: 0]
  ------------------
 3157|     15|           ? ms.pending[0].base.keys == saved_ob_item
 3158|     15|           : ms.pending[0].base.keys == &keys[0]);
 3159|     15|    assert(ms.pending[0].len == saved_ob_size);
  ------------------
  |  Branch (3159:5): [True: 15, False: 0]
  ------------------
 3160|     15|    lo = ms.pending[0].base;
 3161|       |
 3162|     93|succeed:
 3163|     93|    result = Py_None;
  ------------------
  |  |  616|     93|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3164|     93|fail:
 3165|     93|    if (keys != NULL) {
  ------------------
  |  Branch (3165:9): [True: 0, False: 93]
  ------------------
 3166|      0|        for (i = 0; i < saved_ob_size; i++)
  ------------------
  |  Branch (3166:21): [True: 0, False: 0]
  ------------------
 3167|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3168|      0|        if (saved_ob_size >= MERGESTATE_TEMP_SIZE/2)
  ------------------
  |  | 1731|      0|#define MERGESTATE_TEMP_SIZE 256
  ------------------
  |  Branch (3168:13): [True: 0, False: 0]
  ------------------
 3169|      0|            PyMem_Free(keys);
 3170|      0|    }
 3171|       |
 3172|     93|    if (self->allocated != -1 && result != NULL) {
  ------------------
  |  Branch (3172:9): [True: 0, False: 93]
  |  Branch (3172:34): [True: 0, False: 0]
  ------------------
 3173|       |        /* The user mucked with the list during the sort,
 3174|       |         * and we don't already have another error to report.
 3175|       |         */
 3176|      0|        PyErr_SetString(PyExc_ValueError, "list modified during sort");
 3177|      0|        result = NULL;
 3178|      0|    }
 3179|       |
 3180|     93|    if (reverse && saved_ob_size > 1)
  ------------------
  |  Branch (3180:9): [True: 1, False: 92]
  |  Branch (3180:20): [True: 1, False: 0]
  ------------------
 3181|      1|        reverse_slice(saved_ob_item, saved_ob_item + saved_ob_size);
 3182|       |
 3183|     93|    merge_freemem(&ms);
 3184|       |
 3185|     93|keyfunc_fail:
 3186|     93|    final_ob_item = self->ob_item;
 3187|     93|    i = Py_SIZE(self);
  ------------------
  |  |  214|     93|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     93|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     93|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3188|     93|    Py_SET_SIZE(self, saved_ob_size);
  ------------------
  |  |  216|     93|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|     93|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     93|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3189|     93|    FT_ATOMIC_STORE_PTR_RELEASE(self->ob_item, saved_ob_item);
  ------------------
  |  |  164|     93|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 3190|     93|    FT_ATOMIC_STORE_SSIZE_RELAXED(self->allocated, saved_allocated);
  ------------------
  |  |  194|     93|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
 3191|     93|    if (final_ob_item != NULL) {
  ------------------
  |  Branch (3191:9): [True: 0, False: 93]
  ------------------
 3192|       |        /* we cannot use list_clear() for this because it does not
 3193|       |           guarantee that the list is really empty when it returns */
 3194|      0|        while (--i >= 0) {
  ------------------
  |  Branch (3194:16): [True: 0, False: 0]
  ------------------
 3195|      0|            Py_XDECREF(final_ob_item[i]);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3196|      0|        }
 3197|       |#ifdef Py_GIL_DISABLED
 3198|       |        ensure_shared_on_resize(self);
 3199|       |        bool use_qsbr = _PyObject_GC_IS_SHARED(self);
 3200|       |#else
 3201|      0|        bool use_qsbr = false;
 3202|      0|#endif
 3203|      0|        free_list_items(final_ob_item, use_qsbr);
 3204|      0|    }
 3205|     93|    return Py_XNewRef(result);
  ------------------
  |  |  551|     93|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     93|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     93|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3206|     93|}
listobject.c:unsafe_latin_compare:
 2816|  5.22k|{
 2817|  5.22k|    Py_ssize_t len;
 2818|  5.22k|    int res;
 2819|       |
 2820|       |    /* Modified from Objects/unicodeobject.c:unicode_compare, assuming: */
 2821|  5.22k|    assert(Py_IS_TYPE(v, &PyUnicode_Type));
  ------------------
  |  Branch (2821:5): [True: 5.22k, False: 0]
  ------------------
 2822|  5.22k|    assert(Py_IS_TYPE(w, &PyUnicode_Type));
  ------------------
  |  Branch (2822:5): [True: 5.22k, False: 0]
  ------------------
 2823|  5.22k|    assert(PyUnicode_KIND(v) == PyUnicode_KIND(w));
  ------------------
  |  Branch (2823:5): [True: 5.22k, False: 0]
  |  Branch (2823:5): [True: 5.22k, False: 0]
  |  Branch (2823:5): [True: 5.22k, False: 0]
  ------------------
 2824|  5.22k|    assert(PyUnicode_KIND(v) == PyUnicode_1BYTE_KIND);
  ------------------
  |  Branch (2824:5): [True: 5.22k, False: 0]
  |  Branch (2824:5): [True: 5.22k, False: 0]
  ------------------
 2825|       |
 2826|  5.22k|    len = Py_MIN(PyUnicode_GET_LENGTH(v), PyUnicode_GET_LENGTH(w));
  ------------------
  |  |  120|  5.22k|       __extension__ \
  |  |  121|  5.22k|       ({ _Py_TYPEOF (x) _x = (x); \
  |  |  ------------------
  |  |  |  |  552|  5.22k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  122|  5.22k|          _Py_TYPEOF (y) _y = (y); \
  |  |  ------------------
  |  |  |  |  552|  5.22k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  123|  5.22k|          _x < _y ? _x : _y; })
  |  |  ------------------
  |  |  |  Branch (123:11): [True: 1.91k, False: 3.30k]
  |  |  ------------------
  ------------------
 2827|  5.22k|    res = memcmp(PyUnicode_DATA(v), PyUnicode_DATA(w), len);
  ------------------
  |  |  284|  5.22k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.22k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.22k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  res = memcmp(PyUnicode_DATA(v), PyUnicode_DATA(w), len);
  ------------------
  |  |  284|  5.22k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.22k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.22k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2828|       |
 2829|  5.22k|    res = (res != 0 ?
  ------------------
  |  Branch (2829:12): [True: 5.12k, False: 91]
  ------------------
 2830|  5.12k|           res < 0 :
 2831|  5.22k|           PyUnicode_GET_LENGTH(v) < PyUnicode_GET_LENGTH(w));
  ------------------
  |  |  299|     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));
  ------------------
  |  |  299|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2832|       |
 2833|  5.22k|    assert(res == PyObject_RichCompareBool(v, w, Py_LT));;
  ------------------
  |  Branch (2833:5): [True: 5.22k, False: 0]
  ------------------
 2834|  5.22k|    return res;
 2835|  5.22k|}
listobject.c:unsafe_long_compare:
 2840|     19|{
 2841|     19|    PyLongObject *vl, *wl;
 2842|     19|    intptr_t v0, w0;
 2843|     19|    int res;
 2844|       |
 2845|       |    /* Modified from Objects/longobject.c:long_compare, assuming: */
 2846|     19|    assert(Py_IS_TYPE(v, &PyLong_Type));
  ------------------
  |  Branch (2846:5): [True: 19, False: 0]
  ------------------
 2847|     19|    assert(Py_IS_TYPE(w, &PyLong_Type));
  ------------------
  |  Branch (2847:5): [True: 19, False: 0]
  ------------------
 2848|     19|    assert(_PyLong_IsCompact((PyLongObject *)v));
  ------------------
  |  Branch (2848:5): [True: 19, False: 0]
  ------------------
 2849|     19|    assert(_PyLong_IsCompact((PyLongObject *)w));
  ------------------
  |  Branch (2849:5): [True: 19, False: 0]
  ------------------
 2850|       |
 2851|     19|    vl = (PyLongObject*)v;
 2852|     19|    wl = (PyLongObject*)w;
 2853|       |
 2854|     19|    v0 = _PyLong_CompactValue(vl);
 2855|     19|    w0 = _PyLong_CompactValue(wl);
 2856|       |
 2857|     19|    res = v0 < w0;
 2858|     19|    assert(res == PyObject_RichCompareBool(v, w, Py_LT));
  ------------------
  |  Branch (2858:5): [True: 19, False: 0]
  ------------------
 2859|     19|    return res;
 2860|     19|}
listobject.c:merge_init:
 2234|     93|{
 2235|     93|    assert(ms != NULL);
  ------------------
  |  Branch (2235:5): [True: 93, False: 0]
  ------------------
 2236|     93|    if (has_keyfunc) {
  ------------------
  |  Branch (2236:9): [True: 0, False: 93]
  ------------------
 2237|       |        /* The temporary space for merging will need at most half the list
 2238|       |         * size rounded up.  Use the minimum possible space so we can use the
 2239|       |         * rest of temparray for other things.  In particular, if there is
 2240|       |         * enough extra space, listsort() will use it to store the keys.
 2241|       |         */
 2242|      0|        ms->alloced = (list_size + 1) / 2;
 2243|       |
 2244|       |        /* ms->alloced describes how many keys will be stored at
 2245|       |           ms->temparray, but we also need to store the values.  Hence,
 2246|       |           ms->alloced is capped at half of MERGESTATE_TEMP_SIZE. */
 2247|      0|        if (MERGESTATE_TEMP_SIZE / 2 < ms->alloced)
  ------------------
  |  | 1731|      0|#define MERGESTATE_TEMP_SIZE 256
  ------------------
  |  Branch (2247:13): [True: 0, False: 0]
  ------------------
 2248|      0|            ms->alloced = MERGESTATE_TEMP_SIZE / 2;
  ------------------
  |  | 1731|      0|#define MERGESTATE_TEMP_SIZE 256
  ------------------
 2249|      0|        ms->a.values = &ms->temparray[ms->alloced];
 2250|      0|    }
 2251|     93|    else {
 2252|     93|        ms->alloced = MERGESTATE_TEMP_SIZE;
  ------------------
  |  | 1731|     93|#define MERGESTATE_TEMP_SIZE 256
  ------------------
 2253|     93|        ms->a.values = NULL;
 2254|     93|    }
 2255|     93|    ms->a.keys = ms->temparray;
 2256|     93|    ms->n = 0;
 2257|     93|    ms->min_gallop = MIN_GALLOP;
  ------------------
  |  | 1728|     93|#define MIN_GALLOP 7
  ------------------
 2258|     93|    ms->listlen = list_size;
 2259|     93|    ms->basekeys = lo->keys;
 2260|       |
 2261|       |    /* State for generating minrun values. See listsort.txt. */
 2262|     93|    ms->mr_e = 0;
 2263|     99|    while (list_size >> ms->mr_e >= MAX_MINRUN) {
  ------------------
  |  | 1734|     99|#define MAX_MINRUN 64
  ------------------
  |  Branch (2263:12): [True: 6, False: 93]
  ------------------
 2264|      6|        ++ms->mr_e;
 2265|      6|    }
 2266|     93|    ms->mr_mask = (1 << ms->mr_e) - 1;
 2267|     93|    ms->mr_current = 0;
 2268|     93|}
listobject.c:count_run:
 1952|     29|{
 1953|     29|    Py_ssize_t k; /* used by IFLT macro expansion */
 1954|     29|    Py_ssize_t n;
 1955|     29|    PyObject ** const lo = slo->keys;
 1956|       |
 1957|       |    /* In general, as things go on we've established that the slice starts
 1958|       |       with a monotone run of n elements, starting at lo. */
 1959|       |
 1960|       |    /* We're n elements into the slice, and the most recent neq+1 elements are
 1961|       |     * all equal. This reverses them in-place, and resets neq for reuse.
 1962|       |     */
 1963|     29|#define REVERSE_LAST_NEQ                        \
 1964|     29|    if (neq) {                                  \
 1965|     29|        sortslice slice = *slo;                 \
 1966|     29|        ++neq;                                  \
 1967|     29|        sortslice_advance(&slice, n - neq);     \
 1968|     29|        sortslice_reverse(&slice, neq);         \
 1969|     29|        neq = 0;                                \
 1970|     29|    }
 1971|       |
 1972|       |    /* Sticking to only __lt__ compares is confusing and error-prone. But in
 1973|       |     * this routine, almost all uses of IFLT can be captured by tiny macros
 1974|       |     * giving mnemonic names to the intent. Note that inline functions don't
 1975|       |     * work for this (IFLT expands to code including `goto fail`).
 1976|       |     */
 1977|     29|#define IF_NEXT_LARGER  IFLT(lo[n-1], lo[n])
 1978|     29|#define IF_NEXT_SMALLER IFLT(lo[n], lo[n-1])
 1979|       |
 1980|     29|    assert(nremaining);
  ------------------
  |  Branch (1980:5): [True: 29, False: 0]
  ------------------
 1981|       |    /* try ascending run first */
 1982|     65|    for (n = 1; n < nremaining; ++n) {
  ------------------
  |  Branch (1982:17): [True: 64, False: 1]
  ------------------
 1983|     64|        IF_NEXT_SMALLER
  ------------------
  |  | 1978|     64|#define IF_NEXT_SMALLER IFLT(lo[n], lo[n-1])
  |  |  ------------------
  |  |  |  | 1715|     64|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1709|     64|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1715:24): [True: 0, False: 64]
  |  |  |  |  ------------------
  |  |  |  | 1716|     64|           if (k)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1716:16): [True: 28, False: 36]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1984|     28|            break;
 1985|     64|    }
 1986|     29|    if (n == nremaining)
  ------------------
  |  Branch (1986:9): [True: 1, False: 28]
  ------------------
 1987|      1|        return n;
 1988|       |    /* lo[n] is strictly less */
 1989|       |    /* If n is 1 now, then the first compare established it's a descending
 1990|       |     * run, so fall through to the descending case. But if n > 1, there are
 1991|       |     * n elements in an ascending run terminated by the strictly less lo[n].
 1992|       |     * If the first key < lo[n-1], *somewhere* along the way the sequence
 1993|       |     * increased, so we're done (there is no descending run).
 1994|       |     * Else first key >= lo[n-1], which implies that the entire ascending run
 1995|       |     * consists of equal elements. In that case, this is a descending run,
 1996|       |     * and we reverse the all-equal prefix in-place.
 1997|       |     */
 1998|     28|    if (n > 1) {
  ------------------
  |  Branch (1998:9): [True: 16, False: 12]
  ------------------
 1999|     16|        IFLT(lo[0], lo[n-1])
  ------------------
  |  | 1715|     16|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1709|     16|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1715:24): [True: 0, False: 16]
  |  |  ------------------
  |  | 1716|     16|           if (k)
  |  |  ------------------
  |  |  |  Branch (1716:16): [True: 16, False: 0]
  |  |  ------------------
  ------------------
 2000|     16|            return n;
 2001|      0|        sortslice_reverse(slo, n);
 2002|      0|    }
 2003|     12|    ++n; /* in all cases it's been established that lo[n] has been resolved */
 2004|       |
 2005|       |    /* Finish descending run. All-squal subruns are reversed in-place on the
 2006|       |     * fly. Their original order will be restored at the end by the whole-slice
 2007|       |     * reversal.
 2008|       |     */
 2009|     12|    Py_ssize_t neq = 0;
 2010|     63|    for ( ; n < nremaining; ++n) {
  ------------------
  |  Branch (2010:13): [True: 60, False: 3]
  ------------------
 2011|     60|        IF_NEXT_SMALLER {
  ------------------
  |  | 1978|     60|#define IF_NEXT_SMALLER IFLT(lo[n], lo[n-1])
  |  |  ------------------
  |  |  |  | 1715|     60|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1709|     60|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1715:24): [True: 0, False: 60]
  |  |  |  |  ------------------
  |  |  |  | 1716|     60|           if (k)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1716:16): [True: 51, False: 9]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2012|       |            /* This ends the most recent run of equal elements, but still in
 2013|       |             * the "descending" direction.
 2014|       |             */
 2015|     51|            REVERSE_LAST_NEQ
  ------------------
  |  | 1964|     51|    if (neq) {                                  \
  |  |  ------------------
  |  |  |  Branch (1964:9): [True: 0, False: 51]
  |  |  ------------------
  |  | 1965|      0|        sortslice slice = *slo;                 \
  |  | 1966|      0|        ++neq;                                  \
  |  | 1967|      0|        sortslice_advance(&slice, n - neq);     \
  |  | 1968|      0|        sortslice_reverse(&slice, neq);         \
  |  | 1969|      0|        neq = 0;                                \
  |  | 1970|      0|    }
  ------------------
 2016|     51|        }
 2017|      9|        else {
 2018|      9|            IF_NEXT_LARGER /* descending run is over */
  ------------------
  |  | 1977|      9|#define IF_NEXT_LARGER  IFLT(lo[n-1], lo[n])
  |  |  ------------------
  |  |  |  | 1715|      9|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1709|      9|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1715:24): [True: 0, False: 9]
  |  |  |  |  ------------------
  |  |  |  | 1716|      9|           if (k)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1716:16): [True: 9, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2019|      9|                break;
 2020|      0|            else /* not x < y and not y < x implies x == y */
 2021|      0|                ++neq;
 2022|      9|        }
 2023|     60|    }
 2024|     12|    REVERSE_LAST_NEQ
  ------------------
  |  | 1964|     12|    if (neq) {                                  \
  |  |  ------------------
  |  |  |  Branch (1964:9): [True: 0, False: 12]
  |  |  ------------------
  |  | 1965|      0|        sortslice slice = *slo;                 \
  |  | 1966|      0|        ++neq;                                  \
  |  | 1967|      0|        sortslice_advance(&slice, n - neq);     \
  |  | 1968|      0|        sortslice_reverse(&slice, neq);         \
  |  | 1969|      0|        neq = 0;                                \
  |  | 1970|      0|    }
  ------------------
 2025|     12|    sortslice_reverse(slo, n); /* transform to ascending run */
 2026|       |
 2027|       |    /* And after reversing, it's possible this can be extended by a
 2028|       |     * naturally increasing suffix; e.g., [3, 2, 3, 4, 1] makes an
 2029|       |     * ascending run from the first 4 elements.
 2030|       |     */
 2031|     15|    for ( ; n < nremaining; ++n) {
  ------------------
  |  Branch (2031:13): [True: 12, False: 3]
  ------------------
 2032|     12|        IF_NEXT_SMALLER
  ------------------
  |  | 1978|     12|#define IF_NEXT_SMALLER IFLT(lo[n], lo[n-1])
  |  |  ------------------
  |  |  |  | 1715|     12|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1709|     12|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1715:24): [True: 0, False: 12]
  |  |  |  |  ------------------
  |  |  |  | 1716|     12|           if (k)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1716:16): [True: 9, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2033|      9|            break;
 2034|     12|    }
 2035|       |
 2036|     12|    return n;
 2037|      0|fail:
 2038|      0|    return -1;
 2039|       |
 2040|     12|#undef REVERSE_LAST_NEQ
 2041|     12|#undef IF_NEXT_SMALLER
 2042|     12|#undef IF_NEXT_LARGER
 2043|     12|}
listobject.c:sortslice_reverse:
 1936|     12|{
 1937|     12|    reverse_slice(s->keys, &s->keys[n]);
 1938|     12|    if (s->values != NULL)
  ------------------
  |  Branch (1938:9): [True: 0, False: 12]
  ------------------
 1939|      0|        reverse_slice(s->values, &s->values[n]);
 1940|     12|}
listobject.c:minrun_next:
 2748|     29|{
 2749|     29|    ms->mr_current += ms->listlen;
 2750|     29|    assert(ms->mr_current >= 0); /* no overflow */
  ------------------
  |  Branch (2750:5): [True: 29, False: 0]
  ------------------
 2751|     29|    Py_ssize_t result = ms->mr_current >> ms->mr_e;
 2752|     29|    ms->mr_current &= ms->mr_mask;
 2753|     29|    return result;
 2754|     29|}
listobject.c:binarysort:
 1814|     25|{
 1815|     25|    Py_ssize_t k; /* for IFLT macro expansion */
 1816|     25|    PyObject ** const a = ss->keys;
 1817|     25|    PyObject ** const v = ss->values;
 1818|     25|    const bool has_values = v != NULL;
 1819|     25|    PyObject *pivot;
 1820|     25|    Py_ssize_t M;
 1821|       |
 1822|     25|    assert(0 <= ok && ok <= n && 1 <= n && n <= MAX_MINRUN);
  ------------------
  |  Branch (1822:5): [True: 25, False: 0]
  |  Branch (1822:5): [True: 25, False: 0]
  |  Branch (1822:5): [True: 25, False: 0]
  |  Branch (1822:5): [True: 25, False: 0]
  ------------------
 1823|       |    /* assert a[:ok] is sorted */
 1824|     25|    if (! ok)
  ------------------
  |  Branch (1824:9): [True: 0, False: 25]
  ------------------
 1825|      0|        ++ok;
 1826|       |    /* Regular insertion sort has average- and worst-case O(n**2) cost
 1827|       |       for both # of comparisons and number of bytes moved. But its branches
 1828|       |       are highly predictable, and it loves sorted input (n-1 compares and no
 1829|       |       data movement). This is significant in cases like sortperf.py's %sort,
 1830|       |       where an out-of-order element near the start of a run is moved into
 1831|       |       place slowly but then the remaining elements up to length minrun are
 1832|       |       generally at worst one slot away from their correct position (so only
 1833|       |       need 1 or 2 commpares to resolve). If comparisons are very fast (such
 1834|       |       as for a list of Python floats), the simple inner loop leaves it
 1835|       |       very competitive with binary insertion, despite that it does
 1836|       |       significantly more compares overall on random data.
 1837|       |
 1838|       |       Binary insertion sort has worst, average, and best case O(n log n)
 1839|       |       cost for # of comparisons, but worst and average case O(n**2) cost
 1840|       |       for data movement. The more expensive comparisons, the more important
 1841|       |       the comparison advantage. But its branches are less predictable the
 1842|       |       more "randomish" the data, and that's so significant its worst case
 1843|       |       in real life is random input rather than reverse-ordered (which does
 1844|       |       about twice the data movement than random input does).
 1845|       |
 1846|       |       Note that the number of bytes moved doesn't seem to matter. MAX_MINRUN
 1847|       |       of 64 is so small that the key and value pointers all fit in a corner
 1848|       |       of L1 cache, and moving things around in that is very fast. */
 1849|       |#if 0 // ordinary insertion sort.
 1850|       |    PyObject * vpivot = NULL;
 1851|       |    for (; ok < n; ++ok) {
 1852|       |        pivot = a[ok];
 1853|       |        if (has_values)
 1854|       |            vpivot = v[ok];
 1855|       |        for (M = ok - 1; M >= 0; --M) {
 1856|       |            k = ISLT(pivot, a[M]);
 1857|       |            if (k < 0) {
 1858|       |                a[M + 1] = pivot;
 1859|       |                if (has_values)
 1860|       |                    v[M + 1] = vpivot;
 1861|       |                goto fail;
 1862|       |            }
 1863|       |            else if (k) {
 1864|       |                a[M + 1] = a[M];
 1865|       |                if (has_values)
 1866|       |                    v[M + 1] = v[M];
 1867|       |            }
 1868|       |            else
 1869|       |                break;
 1870|       |        }
 1871|       |        a[M + 1] = pivot;
 1872|       |        if (has_values)
 1873|       |            v[M + 1] = vpivot;
 1874|       |    }
 1875|       |#else // binary insertion sort
 1876|     25|    Py_ssize_t L, R;
 1877|    816|    for (; ok < n; ++ok) {
  ------------------
  |  Branch (1877:12): [True: 791, False: 25]
  ------------------
 1878|       |        /* set L to where a[ok] belongs */
 1879|    791|        L = 0;
 1880|    791|        R = ok;
 1881|    791|        pivot = a[ok];
 1882|       |        /* Slice invariants. vacuously true at the start:
 1883|       |         * all a[0:L]  <= pivot
 1884|       |         * all a[L:R]     unknown
 1885|       |         * all a[R:ok]  > pivot
 1886|       |         */
 1887|    791|        assert(L < R);
  ------------------
  |  Branch (1887:9): [True: 791, False: 0]
  ------------------
 1888|  3.47k|        do {
 1889|       |            /* don't do silly ;-) things to prevent overflow when finding
 1890|       |               the midpoint; L and R are very far from filling a Py_ssize_t */
 1891|  3.47k|            M = (L + R) >> 1;
 1892|  3.47k|#if 1 // straightforward, but highly unpredictable branch on random data
 1893|  3.47k|            IFLT(pivot, a[M])
  ------------------
  |  | 1715|  3.47k|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1709|  3.47k|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1715:24): [True: 0, False: 3.47k]
  |  |  ------------------
  |  | 1716|  3.47k|           if (k)
  |  |  ------------------
  |  |  |  Branch (1716:16): [True: 1.73k, False: 1.73k]
  |  |  ------------------
  ------------------
 1894|  1.73k|                R = M;
 1895|  1.73k|            else
 1896|  1.73k|                L = M + 1;
 1897|       |#else
 1898|       |            /* Try to get compiler to generate conditional move instructions
 1899|       |               instead. Works fine, but leaving it disabled for now because
 1900|       |               it's not yielding consistently faster sorts. Needs more
 1901|       |               investigation. More computation in the inner loop adds its own
 1902|       |               costs, which can be significant when compares are fast. */
 1903|       |            k = ISLT(pivot, a[M]);
 1904|       |            if (k < 0)
 1905|       |                goto fail;
 1906|       |            Py_ssize_t Mp1 = M + 1;
 1907|       |            R = k ? M : R;
 1908|       |            L = k ? L : Mp1;
 1909|       |#endif
 1910|  3.47k|        } while (L < R);
  ------------------
  |  Branch (1910:18): [True: 2.67k, False: 791]
  ------------------
 1911|    791|        assert(L == R);
  ------------------
  |  Branch (1911:9): [True: 791, False: 0]
  ------------------
 1912|       |        /* a[:L] holds all elements from a[:ok] <= pivot now, so pivot belongs
 1913|       |           at index L. Slide a[L:ok] to the right a slot to make room for it.
 1914|       |           Caution: using memmove is much slower under MSVC 5; we're not
 1915|       |           usually moving many slots. Years later: under Visual Studio 2022,
 1916|       |           memmove seems just slightly slower than doing it "by hand". */
 1917|  9.63k|        for (M = ok; M > L; --M)
  ------------------
  |  Branch (1917:22): [True: 8.84k, False: 791]
  ------------------
 1918|  8.84k|            a[M] = a[M - 1];
 1919|    791|        a[L] = pivot;
 1920|    791|        if (has_values) {
  ------------------
  |  Branch (1920:13): [True: 0, False: 791]
  ------------------
 1921|      0|            pivot = v[ok];
 1922|      0|            for (M = ok; M > L; --M)
  ------------------
  |  Branch (1922:26): [True: 0, False: 0]
  ------------------
 1923|      0|                v[M] = v[M - 1];
 1924|      0|            v[L] = pivot;
 1925|      0|        }
 1926|    791|    }
 1927|     25|#endif // pick binary or regular insertion sort
 1928|     25|    return 0;
 1929|       |
 1930|      0| fail:
 1931|      0|    return -1;
 1932|     25|}
listobject.c:found_new_run:
 2706|     29|{
 2707|     29|    assert(ms);
  ------------------
  |  Branch (2707:5): [True: 29, False: 0]
  ------------------
 2708|     29|    if (ms->n) {
  ------------------
  |  Branch (2708:9): [True: 14, False: 15]
  ------------------
 2709|     14|        assert(ms->n > 0);
  ------------------
  |  Branch (2709:9): [True: 14, False: 0]
  ------------------
 2710|     14|        struct s_slice *p = ms->pending;
 2711|     14|        Py_ssize_t s1 = p[ms->n - 1].base.keys - ms->basekeys; /* start index */
 2712|     14|        Py_ssize_t n1 = p[ms->n - 1].len;
 2713|     14|        int power = powerloop(s1, n1, n2, ms->listlen);
 2714|     22|        while (ms->n > 1 && p[ms->n - 2].power > power) {
  ------------------
  |  Branch (2714:16): [True: 16, False: 6]
  |  Branch (2714:29): [True: 8, False: 8]
  ------------------
 2715|      8|            if (merge_at(ms, ms->n - 2) < 0)
  ------------------
  |  Branch (2715:17): [True: 0, False: 8]
  ------------------
 2716|      0|                return -1;
 2717|      8|        }
 2718|     14|        assert(ms->n < 2 || p[ms->n - 2].power < power);
  ------------------
  |  Branch (2718:9): [True: 6, False: 8]
  |  Branch (2718:9): [True: 8, False: 0]
  ------------------
 2719|     14|        p[ms->n - 1].power = power;
 2720|     14|    }
 2721|     29|    return 0;
 2722|     29|}
listobject.c:powerloop:
 2659|     14|{
 2660|     14|    int result = 0;
 2661|     14|    assert(s1 >= 0);
  ------------------
  |  Branch (2661:5): [True: 14, False: 0]
  ------------------
 2662|     14|    assert(n1 > 0 && n2 > 0);
  ------------------
  |  Branch (2662:5): [True: 14, False: 0]
  |  Branch (2662:5): [True: 14, False: 0]
  ------------------
 2663|     14|    assert(s1 + n1 + n2 <= n);
  ------------------
  |  Branch (2663:5): [True: 14, False: 0]
  ------------------
 2664|       |    /* midpoints a and b:
 2665|       |     * a = s1 + n1/2
 2666|       |     * b = s1 + n1 + n2/2 = a + (n1 + n2)/2
 2667|       |     *
 2668|       |     * Those may not be integers, though, because of the "/2". So we work with
 2669|       |     * 2*a and 2*b instead, which are necessarily integers. It makes no
 2670|       |     * difference to the outcome, since the bits in the expansion of (2*i)/n
 2671|       |     * are merely shifted one position from those of i/n.
 2672|       |     */
 2673|     14|    Py_ssize_t a = 2 * s1 + n1;  /* 2*a */
 2674|     14|    Py_ssize_t b = a + n1 + n2;  /* 2*b */
 2675|       |    /* Emulate a/n and b/n one bit a time, until bits differ. */
 2676|     34|    for (;;) {
 2677|     34|        ++result;
 2678|     34|        if (a >= n) {  /* both quotient bits are 1 */
  ------------------
  |  Branch (2678:13): [True: 10, False: 24]
  ------------------
 2679|     10|            assert(b >= a);
  ------------------
  |  Branch (2679:13): [True: 10, False: 0]
  ------------------
 2680|     10|            a -= n;
 2681|     10|            b -= n;
 2682|     10|        }
 2683|     24|        else if (b >= n) {  /* a/n bit is 0, b/n bit is 1 */
  ------------------
  |  Branch (2683:18): [True: 14, False: 10]
  ------------------
 2684|     14|            break;
 2685|     14|        } /* else both quotient bits are 0 */
 2686|     34|        assert(a < b && b < n);
  ------------------
  |  Branch (2686:9): [True: 20, False: 0]
  |  Branch (2686:9): [True: 20, False: 0]
  ------------------
 2687|     20|        a <<= 1;
 2688|     20|        b <<= 1;
 2689|     20|    }
 2690|     14|    return result;
 2691|     14|}
listobject.c:merge_at:
 2599|     14|{
 2600|     14|    sortslice ssa, ssb;
 2601|     14|    Py_ssize_t na, nb;
 2602|     14|    Py_ssize_t k;
 2603|       |
 2604|     14|    assert(ms != NULL);
  ------------------
  |  Branch (2604:5): [True: 14, False: 0]
  ------------------
 2605|     14|    assert(ms->n >= 2);
  ------------------
  |  Branch (2605:5): [True: 14, False: 0]
  ------------------
 2606|     14|    assert(i >= 0);
  ------------------
  |  Branch (2606:5): [True: 14, False: 0]
  ------------------
 2607|     14|    assert(i == ms->n - 2 || i == ms->n - 3);
  ------------------
  |  Branch (2607:5): [True: 14, False: 0]
  |  Branch (2607:5): [True: 0, False: 0]
  ------------------
 2608|       |
 2609|     14|    ssa = ms->pending[i].base;
 2610|     14|    na = ms->pending[i].len;
 2611|     14|    ssb = ms->pending[i+1].base;
 2612|     14|    nb = ms->pending[i+1].len;
 2613|     14|    assert(na > 0 && nb > 0);
  ------------------
  |  Branch (2613:5): [True: 14, False: 0]
  |  Branch (2613:5): [True: 14, False: 0]
  ------------------
 2614|     14|    assert(ssa.keys + na == ssb.keys);
  ------------------
  |  Branch (2614:5): [True: 14, False: 0]
  ------------------
 2615|       |
 2616|       |    /* Record the length of the combined runs; if i is the 3rd-last
 2617|       |     * run now, also slide over the last run (which isn't involved
 2618|       |     * in this merge).  The current run i+1 goes away in any case.
 2619|       |     */
 2620|     14|    ms->pending[i].len = na + nb;
 2621|     14|    if (i == ms->n - 3)
  ------------------
  |  Branch (2621:9): [True: 0, False: 14]
  ------------------
 2622|      0|        ms->pending[i+1] = ms->pending[i+2];
 2623|     14|    --ms->n;
 2624|       |
 2625|       |    /* Where does b start in a?  Elements in a before that can be
 2626|       |     * ignored (already in place).
 2627|       |     */
 2628|     14|    k = gallop_right(ms, *ssb.keys, ssa.keys, na, 0);
 2629|     14|    if (k < 0)
  ------------------
  |  Branch (2629:9): [True: 0, False: 14]
  ------------------
 2630|      0|        return -1;
 2631|     14|    sortslice_advance(&ssa, k);
 2632|     14|    na -= k;
 2633|     14|    if (na == 0)
  ------------------
  |  Branch (2633:9): [True: 0, False: 14]
  ------------------
 2634|      0|        return 0;
 2635|       |
 2636|       |    /* Where does a end in b?  Elements in b after that can be
 2637|       |     * ignored (already in place).
 2638|       |     */
 2639|     14|    nb = gallop_left(ms, ssa.keys[na-1], ssb.keys, nb, nb-1);
 2640|     14|    if (nb <= 0)
  ------------------
  |  Branch (2640:9): [True: 0, False: 14]
  ------------------
 2641|      0|        return nb;
 2642|       |
 2643|       |    /* Merge what remains of the runs, using a temp array with
 2644|       |     * min(na, nb) elements.
 2645|       |     */
 2646|     14|    if (na <= nb)
  ------------------
  |  Branch (2646:9): [True: 8, False: 6]
  ------------------
 2647|      8|        return merge_lo(ms, ssa, na, ssb, nb);
 2648|      6|    else
 2649|      6|        return merge_hi(ms, ssa, na, ssb, nb);
 2650|     14|}
listobject.c:gallop_right:
 2157|     70|{
 2158|     70|    Py_ssize_t ofs;
 2159|     70|    Py_ssize_t lastofs;
 2160|     70|    Py_ssize_t k;
 2161|       |
 2162|     70|    assert(key && a && n > 0 && hint >= 0 && hint < n);
  ------------------
  |  Branch (2162:5): [True: 70, False: 0]
  |  Branch (2162:5): [True: 70, False: 0]
  |  Branch (2162:5): [True: 70, False: 0]
  |  Branch (2162:5): [True: 70, False: 0]
  |  Branch (2162:5): [True: 70, False: 0]
  ------------------
 2163|       |
 2164|     70|    a += hint;
 2165|     70|    lastofs = 0;
 2166|     70|    ofs = 1;
 2167|     70|    IFLT(key, *a) {
  ------------------
  |  | 1715|     70|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1709|     70|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1715:24): [True: 0, False: 70]
  |  |  ------------------
  |  | 1716|     70|           if (k)
  |  |  ------------------
  |  |  |  Branch (1716:16): [True: 38, False: 32]
  |  |  ------------------
  ------------------
 2168|       |        /* key < a[hint] -- gallop left, until
 2169|       |         * a[hint - ofs] <= key < a[hint - lastofs]
 2170|       |         */
 2171|     38|        const Py_ssize_t maxofs = hint + 1;             /* &a[0] is lowest */
 2172|     74|        while (ofs < maxofs) {
  ------------------
  |  Branch (2172:16): [True: 46, False: 28]
  ------------------
 2173|     46|            IFLT(key, *(a-ofs)) {
  ------------------
  |  | 1715|     46|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1709|     46|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1715:24): [True: 0, False: 46]
  |  |  ------------------
  |  | 1716|     46|           if (k)
  |  |  ------------------
  |  |  |  Branch (1716:16): [True: 36, False: 10]
  |  |  ------------------
  ------------------
 2174|     36|                lastofs = ofs;
 2175|     36|                assert(ofs <= (PY_SSIZE_T_MAX - 1) / 2);
  ------------------
  |  Branch (2175:17): [True: 36, False: 0]
  ------------------
 2176|     36|                ofs = (ofs << 1) + 1;
 2177|     36|            }
 2178|     10|            else                /* a[hint - ofs] <= key */
 2179|     10|                break;
 2180|     46|        }
 2181|     38|        if (ofs > maxofs)
  ------------------
  |  Branch (2181:13): [True: 4, False: 34]
  ------------------
 2182|      4|            ofs = maxofs;
 2183|       |        /* Translate back to positive offsets relative to &a[0]. */
 2184|     38|        k = lastofs;
 2185|     38|        lastofs = hint - ofs;
 2186|     38|        ofs = hint - k;
 2187|     38|    }
 2188|     32|    else {
 2189|       |        /* a[hint] <= key -- gallop right, until
 2190|       |         * a[hint + lastofs] <= key < a[hint + ofs]
 2191|       |        */
 2192|     32|        const Py_ssize_t maxofs = n - hint;             /* &a[n-1] is highest */
 2193|     80|        while (ofs < maxofs) {
  ------------------
  |  Branch (2193:16): [True: 70, False: 10]
  ------------------
 2194|     70|            IFLT(key, a[ofs])
  ------------------
  |  | 1715|     70|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1709|     70|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1715:24): [True: 0, False: 70]
  |  |  ------------------
  |  | 1716|     70|           if (k)
  |  |  ------------------
  |  |  |  Branch (1716:16): [True: 22, False: 48]
  |  |  ------------------
  ------------------
 2195|     22|                break;
 2196|       |            /* a[hint + ofs] <= key */
 2197|     48|            lastofs = ofs;
 2198|     48|            assert(ofs <= (PY_SSIZE_T_MAX - 1) / 2);
  ------------------
  |  Branch (2198:13): [True: 48, False: 0]
  ------------------
 2199|     48|            ofs = (ofs << 1) + 1;
 2200|     48|        }
 2201|     32|        if (ofs > maxofs)
  ------------------
  |  Branch (2201:13): [True: 0, False: 32]
  ------------------
 2202|      0|            ofs = maxofs;
 2203|       |        /* Translate back to offsets relative to &a[0]. */
 2204|     32|        lastofs += hint;
 2205|     32|        ofs += hint;
 2206|     32|    }
 2207|     70|    a -= hint;
 2208|       |
 2209|     70|    assert(-1 <= lastofs && lastofs < ofs && ofs <= n);
  ------------------
  |  Branch (2209:5): [True: 70, False: 0]
  |  Branch (2209:5): [True: 70, False: 0]
  |  Branch (2209:5): [True: 70, False: 0]
  ------------------
 2210|       |    /* Now a[lastofs] <= key < a[ofs], so key belongs somewhere to the
 2211|       |     * right of lastofs but no farther right than ofs.  Do a binary
 2212|       |     * search, with invariant a[lastofs-1] <= key < a[ofs].
 2213|       |     */
 2214|     70|    ++lastofs;
 2215|    152|    while (lastofs < ofs) {
  ------------------
  |  Branch (2215:12): [True: 82, False: 70]
  ------------------
 2216|     82|        Py_ssize_t m = lastofs + ((ofs - lastofs) >> 1);
 2217|       |
 2218|     82|        IFLT(key, a[m])
  ------------------
  |  | 1715|     82|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1709|     82|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1715:24): [True: 0, False: 82]
  |  |  ------------------
  |  | 1716|     82|           if (k)
  |  |  ------------------
  |  |  |  Branch (1716:16): [True: 44, False: 38]
  |  |  ------------------
  ------------------
 2219|     44|            ofs = m;                    /* key < a[m] */
 2220|     38|        else
 2221|     38|            lastofs = m+1;              /* a[m] <= key */
 2222|     82|    }
 2223|     70|    assert(lastofs == ofs);             /* so a[ofs-1] <= key < a[ofs] */
  ------------------
  |  Branch (2223:5): [True: 70, False: 0]
  ------------------
 2224|     70|    return ofs;
 2225|       |
 2226|      0|fail:
 2227|      0|    return -1;
 2228|     70|}
listobject.c:gallop_left:
 2068|     64|{
 2069|     64|    Py_ssize_t ofs;
 2070|     64|    Py_ssize_t lastofs;
 2071|     64|    Py_ssize_t k;
 2072|       |
 2073|     64|    assert(key && a && n > 0 && hint >= 0 && hint < n);
  ------------------
  |  Branch (2073:5): [True: 64, False: 0]
  |  Branch (2073:5): [True: 64, False: 0]
  |  Branch (2073:5): [True: 64, False: 0]
  |  Branch (2073:5): [True: 64, False: 0]
  |  Branch (2073:5): [True: 64, False: 0]
  ------------------
 2074|       |
 2075|     64|    a += hint;
 2076|     64|    lastofs = 0;
 2077|     64|    ofs = 1;
 2078|     64|    IFLT(*a, key) {
  ------------------
  |  | 1715|     64|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1709|     64|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1715:24): [True: 0, False: 64]
  |  |  ------------------
  |  | 1716|     64|           if (k)
  |  |  ------------------
  |  |  |  Branch (1716:16): [True: 28, False: 36]
  |  |  ------------------
  ------------------
 2079|       |        /* a[hint] < key -- gallop right, until
 2080|       |         * a[hint + lastofs] < key <= a[hint + ofs]
 2081|       |         */
 2082|     28|        const Py_ssize_t maxofs = n - hint;             /* &a[n-1] is highest */
 2083|     58|        while (ofs < maxofs) {
  ------------------
  |  Branch (2083:16): [True: 42, False: 16]
  ------------------
 2084|     42|            IFLT(a[ofs], key) {
  ------------------
  |  | 1715|     42|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1709|     42|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1715:24): [True: 0, False: 42]
  |  |  ------------------
  |  | 1716|     42|           if (k)
  |  |  ------------------
  |  |  |  Branch (1716:16): [True: 30, False: 12]
  |  |  ------------------
  ------------------
 2085|     30|                lastofs = ofs;
 2086|     30|                assert(ofs <= (PY_SSIZE_T_MAX - 1) / 2);
  ------------------
  |  Branch (2086:17): [True: 30, False: 0]
  ------------------
 2087|     30|                ofs = (ofs << 1) + 1;
 2088|     30|            }
 2089|     12|            else                /* key <= a[hint + ofs] */
 2090|     12|                break;
 2091|     42|        }
 2092|     28|        if (ofs > maxofs)
  ------------------
  |  Branch (2092:13): [True: 2, False: 26]
  ------------------
 2093|      2|            ofs = maxofs;
 2094|       |        /* Translate back to offsets relative to &a[0]. */
 2095|     28|        lastofs += hint;
 2096|     28|        ofs += hint;
 2097|     28|    }
 2098|     36|    else {
 2099|       |        /* key <= a[hint] -- gallop left, until
 2100|       |         * a[hint - ofs] < key <= a[hint - lastofs]
 2101|       |         */
 2102|     36|        const Py_ssize_t maxofs = hint + 1;             /* &a[0] is lowest */
 2103|     90|        while (ofs < maxofs) {
  ------------------
  |  Branch (2103:16): [True: 74, False: 16]
  ------------------
 2104|     74|            IFLT(*(a-ofs), key)
  ------------------
  |  | 1715|     74|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1709|     74|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1715:24): [True: 0, False: 74]
  |  |  ------------------
  |  | 1716|     74|           if (k)
  |  |  ------------------
  |  |  |  Branch (1716:16): [True: 20, False: 54]
  |  |  ------------------
  ------------------
 2105|     20|                break;
 2106|       |            /* key <= a[hint - ofs] */
 2107|     54|            lastofs = ofs;
 2108|     54|            assert(ofs <= (PY_SSIZE_T_MAX - 1) / 2);
  ------------------
  |  Branch (2108:13): [True: 54, False: 0]
  ------------------
 2109|     54|            ofs = (ofs << 1) + 1;
 2110|     54|        }
 2111|     36|        if (ofs > maxofs)
  ------------------
  |  Branch (2111:13): [True: 2, False: 34]
  ------------------
 2112|      2|            ofs = maxofs;
 2113|       |        /* Translate back to positive offsets relative to &a[0]. */
 2114|     36|        k = lastofs;
 2115|     36|        lastofs = hint - ofs;
 2116|     36|        ofs = hint - k;
 2117|     36|    }
 2118|     64|    a -= hint;
 2119|       |
 2120|     64|    assert(-1 <= lastofs && lastofs < ofs && ofs <= n);
  ------------------
  |  Branch (2120:5): [True: 64, False: 0]
  |  Branch (2120:5): [True: 64, False: 0]
  |  Branch (2120:5): [True: 64, False: 0]
  ------------------
 2121|       |    /* Now a[lastofs] < key <= a[ofs], so key belongs somewhere to the
 2122|       |     * right of lastofs but no farther right than ofs.  Do a binary
 2123|       |     * search, with invariant a[lastofs-1] < key <= a[ofs].
 2124|       |     */
 2125|     64|    ++lastofs;
 2126|    142|    while (lastofs < ofs) {
  ------------------
  |  Branch (2126:12): [True: 78, False: 64]
  ------------------
 2127|     78|        Py_ssize_t m = lastofs + ((ofs - lastofs) >> 1);
 2128|       |
 2129|     78|        IFLT(a[m], key)
  ------------------
  |  | 1715|     78|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1709|     78|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1715:24): [True: 0, False: 78]
  |  |  ------------------
  |  | 1716|     78|           if (k)
  |  |  ------------------
  |  |  |  Branch (1716:16): [True: 36, False: 42]
  |  |  ------------------
  ------------------
 2130|     36|            lastofs = m+1;              /* a[m] < key */
 2131|     42|        else
 2132|     42|            ofs = m;                    /* key <= a[m] */
 2133|     78|    }
 2134|     64|    assert(lastofs == ofs);             /* so a[ofs-1] < key <= a[ofs] */
  ------------------
  |  Branch (2134:5): [True: 64, False: 0]
  ------------------
 2135|     64|    return ofs;
 2136|       |
 2137|      0|fail:
 2138|      0|    return -1;
 2139|     64|}
listobject.c:merge_lo:
 2329|      8|{
 2330|      8|    Py_ssize_t k;
 2331|      8|    sortslice dest;
 2332|      8|    int result = -1;            /* guilty until proved innocent */
 2333|      8|    Py_ssize_t min_gallop;
 2334|       |
 2335|      8|    assert(ms && ssa.keys && ssb.keys && na > 0 && nb > 0);
  ------------------
  |  Branch (2335:5): [True: 8, False: 0]
  |  Branch (2335:5): [True: 8, False: 0]
  |  Branch (2335:5): [True: 8, False: 0]
  |  Branch (2335:5): [True: 8, False: 0]
  |  Branch (2335:5): [True: 8, False: 0]
  ------------------
 2336|      8|    assert(ssa.keys + na == ssb.keys);
  ------------------
  |  Branch (2336:5): [True: 8, False: 0]
  ------------------
 2337|      8|    if (MERGE_GETMEM(ms, na) < 0)
  ------------------
  |  | 2317|      8|#define MERGE_GETMEM(MS, NEED) ((NEED) <= (MS)->alloced ? 0 :   \
  |  |  ------------------
  |  |  |  Branch (2317:33): [True: 8, False: 0]
  |  |  ------------------
  |  | 2318|      8|                                merge_getmem(MS, NEED))
  ------------------
  |  Branch (2337:9): [True: 0, False: 8]
  ------------------
 2338|      0|        return -1;
 2339|      8|    sortslice_memcpy(&ms->a, 0, &ssa, 0, na);
 2340|      8|    dest = ssa;
 2341|      8|    ssa = ms->a;
 2342|       |
 2343|      8|    sortslice_copy_incr(&dest, &ssb);
 2344|      8|    --nb;
 2345|      8|    if (nb == 0)
  ------------------
  |  Branch (2345:9): [True: 0, False: 8]
  ------------------
 2346|      0|        goto Succeed;
 2347|      8|    if (na == 1)
  ------------------
  |  Branch (2347:9): [True: 0, False: 8]
  ------------------
 2348|      0|        goto CopyB;
 2349|       |
 2350|      8|    min_gallop = ms->min_gallop;
 2351|     26|    for (;;) {
 2352|     26|        Py_ssize_t acount = 0;          /* # of times A won in a row */
 2353|     26|        Py_ssize_t bcount = 0;          /* # of times B won in a row */
 2354|       |
 2355|       |        /* Do the straightforward thing until (if ever) one run
 2356|       |         * appears to win consistently.
 2357|       |         */
 2358|    562|        for (;;) {
 2359|    562|            assert(na > 1 && nb > 0);
  ------------------
  |  Branch (2359:13): [True: 562, False: 0]
  |  Branch (2359:13): [True: 562, False: 0]
  ------------------
 2360|    562|            k = ISLT(ssb.keys[0], ssa.keys[0]);
  ------------------
  |  | 1709|    562|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  ------------------
 2361|    562|            if (k) {
  ------------------
  |  Branch (2361:17): [True: 256, False: 306]
  ------------------
 2362|    256|                if (k < 0)
  ------------------
  |  Branch (2362:21): [True: 0, False: 256]
  ------------------
 2363|      0|                    goto Fail;
 2364|    256|                sortslice_copy_incr(&dest, &ssb);
 2365|    256|                ++bcount;
 2366|    256|                acount = 0;
 2367|    256|                --nb;
 2368|    256|                if (nb == 0)
  ------------------
  |  Branch (2368:21): [True: 4, False: 252]
  ------------------
 2369|      4|                    goto Succeed;
 2370|    252|                if (bcount >= min_gallop)
  ------------------
  |  Branch (2370:21): [True: 8, False: 244]
  ------------------
 2371|      8|                    break;
 2372|    252|            }
 2373|    306|            else {
 2374|    306|                sortslice_copy_incr(&dest, &ssa);
 2375|    306|                ++acount;
 2376|    306|                bcount = 0;
 2377|    306|                --na;
 2378|    306|                if (na == 1)
  ------------------
  |  Branch (2378:21): [True: 0, False: 306]
  ------------------
 2379|      0|                    goto CopyB;
 2380|    306|                if (acount >= min_gallop)
  ------------------
  |  Branch (2380:21): [True: 14, False: 292]
  ------------------
 2381|     14|                    break;
 2382|    306|            }
 2383|    562|        }
 2384|       |
 2385|       |        /* One run is winning so consistently that galloping may
 2386|       |         * be a huge win.  So try that, and continue galloping until
 2387|       |         * (if ever) neither run appears to be winning consistently
 2388|       |         * anymore.
 2389|       |         */
 2390|     22|        ++min_gallop;
 2391|     32|        do {
 2392|     32|            assert(na > 1 && nb > 0);
  ------------------
  |  Branch (2392:13): [True: 32, False: 0]
  |  Branch (2392:13): [True: 32, False: 0]
  ------------------
 2393|     32|            min_gallop -= min_gallop > 1;
 2394|     32|            ms->min_gallop = min_gallop;
 2395|     32|            k = gallop_right(ms, ssb.keys[0], ssa.keys, na, 0);
 2396|     32|            acount = k;
 2397|     32|            if (k) {
  ------------------
  |  Branch (2397:17): [True: 18, False: 14]
  ------------------
 2398|     18|                if (k < 0)
  ------------------
  |  Branch (2398:21): [True: 0, False: 18]
  ------------------
 2399|      0|                    goto Fail;
 2400|     18|                sortslice_memcpy(&dest, 0, &ssa, 0, k);
 2401|     18|                sortslice_advance(&dest, k);
 2402|     18|                sortslice_advance(&ssa, k);
 2403|     18|                na -= k;
 2404|     18|                if (na == 1)
  ------------------
  |  Branch (2404:21): [True: 2, False: 16]
  ------------------
 2405|      2|                    goto CopyB;
 2406|       |                /* na==0 is impossible now if the comparison
 2407|       |                 * function is consistent, but we can't assume
 2408|       |                 * that it is.
 2409|       |                 */
 2410|     16|                if (na == 0)
  ------------------
  |  Branch (2410:21): [True: 0, False: 16]
  ------------------
 2411|      0|                    goto Succeed;
 2412|     16|            }
 2413|     30|            sortslice_copy_incr(&dest, &ssb);
 2414|     30|            --nb;
 2415|     30|            if (nb == 0)
  ------------------
  |  Branch (2415:17): [True: 2, False: 28]
  ------------------
 2416|      2|                goto Succeed;
 2417|       |
 2418|     28|            k = gallop_left(ms, ssa.keys[0], ssb.keys, nb, 0);
 2419|     28|            bcount = k;
 2420|     28|            if (k) {
  ------------------
  |  Branch (2420:17): [True: 14, False: 14]
  ------------------
 2421|     14|                if (k < 0)
  ------------------
  |  Branch (2421:21): [True: 0, False: 14]
  ------------------
 2422|      0|                    goto Fail;
 2423|     14|                sortslice_memmove(&dest, 0, &ssb, 0, k);
 2424|     14|                sortslice_advance(&dest, k);
 2425|     14|                sortslice_advance(&ssb, k);
 2426|     14|                nb -= k;
 2427|     14|                if (nb == 0)
  ------------------
  |  Branch (2427:21): [True: 0, False: 14]
  ------------------
 2428|      0|                    goto Succeed;
 2429|     14|            }
 2430|     28|            sortslice_copy_incr(&dest, &ssa);
 2431|     28|            --na;
 2432|     28|            if (na == 1)
  ------------------
  |  Branch (2432:17): [True: 0, False: 28]
  ------------------
 2433|      0|                goto CopyB;
 2434|     28|        } while (acount >= MIN_GALLOP || bcount >= MIN_GALLOP);
  ------------------
  |  | 1728|     56|#define MIN_GALLOP 7
  ------------------
                      } while (acount >= MIN_GALLOP || bcount >= MIN_GALLOP);
  ------------------
  |  | 1728|     20|#define MIN_GALLOP 7
  ------------------
  |  Branch (2434:18): [True: 8, False: 20]
  |  Branch (2434:42): [True: 2, False: 18]
  ------------------
 2435|     18|        ++min_gallop;           /* penalize it for leaving galloping mode */
 2436|     18|        ms->min_gallop = min_gallop;
 2437|     18|    }
 2438|      6|Succeed:
 2439|      6|    result = 0;
 2440|      6|Fail:
 2441|      6|    if (na)
  ------------------
  |  Branch (2441:9): [True: 6, False: 0]
  ------------------
 2442|      6|        sortslice_memcpy(&dest, 0, &ssa, 0, na);
 2443|      6|    return result;
 2444|      2|CopyB:
 2445|      2|    assert(na == 1 && nb > 0);
  ------------------
  |  Branch (2445:5): [True: 2, False: 0]
  |  Branch (2445:5): [True: 2, False: 0]
  ------------------
 2446|       |    /* The last element of ssa belongs at the end of the merge. */
 2447|      2|    sortslice_memmove(&dest, 0, &ssb, 0, nb);
 2448|      2|    sortslice_copy(&dest, nb, &ssa, 0);
 2449|      2|    return 0;
 2450|      2|}
listobject.c:sortslice_memcpy:
 1681|     58|{
 1682|     58|    memcpy(&s1->keys[i], &s2->keys[j], sizeof(PyObject *) * n);
 1683|     58|    if (s1->values != NULL)
  ------------------
  |  Branch (1683:9): [True: 0, False: 58]
  ------------------
 1684|      0|        memcpy(&s1->values[i], &s2->values[j], sizeof(PyObject *) * n);
 1685|     58|}
listobject.c:sortslice_copy_incr:
 1663|    628|{
 1664|    628|    *dst->keys++ = *src->keys++;
 1665|    628|    if (dst->values != NULL)
  ------------------
  |  Branch (1665:9): [True: 0, False: 628]
  ------------------
 1666|      0|        *dst->values++ = *src->values++;
 1667|    628|}
listobject.c:sortslice_memmove:
 1690|     30|{
 1691|     30|    memmove(&s1->keys[i], &s2->keys[j], sizeof(PyObject *) * n);
 1692|     30|    if (s1->values != NULL)
  ------------------
  |  Branch (1692:9): [True: 0, False: 30]
  ------------------
 1693|      0|        memmove(&s1->values[i], &s2->values[j], sizeof(PyObject *) * n);
 1694|     30|}
listobject.c:sortslice_copy:
 1655|      2|{
 1656|      2|    s1->keys[i] = s2->keys[j];
 1657|      2|    if (s1->values != NULL)
  ------------------
  |  Branch (1657:9): [True: 0, False: 2]
  ------------------
 1658|      0|        s1->values[i] = s2->values[j];
 1659|      2|}
listobject.c:merge_hi:
 2461|      6|{
 2462|      6|    Py_ssize_t k;
 2463|      6|    sortslice dest, basea, baseb;
 2464|      6|    int result = -1;            /* guilty until proved innocent */
 2465|      6|    Py_ssize_t min_gallop;
 2466|       |
 2467|      6|    assert(ms && ssa.keys && ssb.keys && na > 0 && nb > 0);
  ------------------
  |  Branch (2467:5): [True: 6, False: 0]
  |  Branch (2467:5): [True: 6, False: 0]
  |  Branch (2467:5): [True: 6, False: 0]
  |  Branch (2467:5): [True: 6, False: 0]
  |  Branch (2467:5): [True: 6, False: 0]
  ------------------
 2468|      6|    assert(ssa.keys + na == ssb.keys);
  ------------------
  |  Branch (2468:5): [True: 6, False: 0]
  ------------------
 2469|      6|    if (MERGE_GETMEM(ms, nb) < 0)
  ------------------
  |  | 2317|      6|#define MERGE_GETMEM(MS, NEED) ((NEED) <= (MS)->alloced ? 0 :   \
  |  |  ------------------
  |  |  |  Branch (2317:33): [True: 6, False: 0]
  |  |  ------------------
  |  | 2318|      6|                                merge_getmem(MS, NEED))
  ------------------
  |  Branch (2469:9): [True: 0, False: 6]
  ------------------
 2470|      0|        return -1;
 2471|      6|    dest = ssb;
 2472|      6|    sortslice_advance(&dest, nb-1);
 2473|      6|    sortslice_memcpy(&ms->a, 0, &ssb, 0, nb);
 2474|      6|    basea = ssa;
 2475|      6|    baseb = ms->a;
 2476|      6|    ssb.keys = ms->a.keys + nb - 1;
 2477|      6|    if (ssb.values != NULL)
  ------------------
  |  Branch (2477:9): [True: 0, False: 6]
  ------------------
 2478|      0|        ssb.values = ms->a.values + nb - 1;
 2479|      6|    sortslice_advance(&ssa, na - 1);
 2480|       |
 2481|      6|    sortslice_copy_decr(&dest, &ssa);
 2482|      6|    --na;
 2483|      6|    if (na == 0)
  ------------------
  |  Branch (2483:9): [True: 0, False: 6]
  ------------------
 2484|      0|        goto Succeed;
 2485|      6|    if (nb == 1)
  ------------------
  |  Branch (2485:9): [True: 0, False: 6]
  ------------------
 2486|      0|        goto CopyA;
 2487|       |
 2488|      6|    min_gallop = ms->min_gallop;
 2489|     14|    for (;;) {
 2490|     14|        Py_ssize_t acount = 0;          /* # of times A won in a row */
 2491|     14|        Py_ssize_t bcount = 0;          /* # of times B won in a row */
 2492|       |
 2493|       |        /* Do the straightforward thing until (if ever) one run
 2494|       |         * appears to win consistently.
 2495|       |         */
 2496|    520|        for (;;) {
 2497|    520|            assert(na > 0 && nb > 1);
  ------------------
  |  Branch (2497:13): [True: 520, False: 0]
  |  Branch (2497:13): [True: 520, False: 0]
  ------------------
 2498|    520|            k = ISLT(ssb.keys[0], ssa.keys[0]);
  ------------------
  |  | 1709|    520|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  ------------------
 2499|    520|            if (k) {
  ------------------
  |  Branch (2499:17): [True: 300, False: 220]
  ------------------
 2500|    300|                if (k < 0)
  ------------------
  |  Branch (2500:21): [True: 0, False: 300]
  ------------------
 2501|      0|                    goto Fail;
 2502|    300|                sortslice_copy_decr(&dest, &ssa);
 2503|    300|                ++acount;
 2504|    300|                bcount = 0;
 2505|    300|                --na;
 2506|    300|                if (na == 0)
  ------------------
  |  Branch (2506:21): [True: 4, False: 296]
  ------------------
 2507|      4|                    goto Succeed;
 2508|    296|                if (acount >= min_gallop)
  ------------------
  |  Branch (2508:21): [True: 8, False: 288]
  ------------------
 2509|      8|                    break;
 2510|    296|            }
 2511|    220|            else {
 2512|    220|                sortslice_copy_decr(&dest, &ssb);
 2513|    220|                ++bcount;
 2514|    220|                acount = 0;
 2515|    220|                --nb;
 2516|    220|                if (nb == 1)
  ------------------
  |  Branch (2516:21): [True: 0, False: 220]
  ------------------
 2517|      0|                    goto CopyA;
 2518|    220|                if (bcount >= min_gallop)
  ------------------
  |  Branch (2518:21): [True: 2, False: 218]
  ------------------
 2519|      2|                    break;
 2520|    220|            }
 2521|    520|        }
 2522|       |
 2523|       |        /* One run is winning so consistently that galloping may
 2524|       |         * be a huge win.  So try that, and continue galloping until
 2525|       |         * (if ever) neither run appears to be winning consistently
 2526|       |         * anymore.
 2527|       |         */
 2528|     10|        ++min_gallop;
 2529|     24|        do {
 2530|     24|            assert(na > 0 && nb > 1);
  ------------------
  |  Branch (2530:13): [True: 24, False: 0]
  |  Branch (2530:13): [True: 24, False: 0]
  ------------------
 2531|     24|            min_gallop -= min_gallop > 1;
 2532|     24|            ms->min_gallop = min_gallop;
 2533|     24|            k = gallop_right(ms, ssb.keys[0], basea.keys, na, na-1);
 2534|     24|            if (k < 0)
  ------------------
  |  Branch (2534:17): [True: 0, False: 24]
  ------------------
 2535|      0|                goto Fail;
 2536|     24|            k = na - k;
 2537|     24|            acount = k;
 2538|     24|            if (k) {
  ------------------
  |  Branch (2538:17): [True: 14, False: 10]
  ------------------
 2539|     14|                sortslice_advance(&dest, -k);
 2540|     14|                sortslice_advance(&ssa, -k);
 2541|     14|                sortslice_memmove(&dest, 1, &ssa, 1, k);
 2542|     14|                na -= k;
 2543|     14|                if (na == 0)
  ------------------
  |  Branch (2543:21): [True: 2, False: 12]
  ------------------
 2544|      2|                    goto Succeed;
 2545|     14|            }
 2546|     22|            sortslice_copy_decr(&dest, &ssb);
 2547|     22|            --nb;
 2548|     22|            if (nb == 1)
  ------------------
  |  Branch (2548:17): [True: 0, False: 22]
  ------------------
 2549|      0|                goto CopyA;
 2550|       |
 2551|     22|            k = gallop_left(ms, ssa.keys[0], baseb.keys, nb, nb-1);
 2552|     22|            if (k < 0)
  ------------------
  |  Branch (2552:17): [True: 0, False: 22]
  ------------------
 2553|      0|                goto Fail;
 2554|     22|            k = nb - k;
 2555|     22|            bcount = k;
 2556|     22|            if (k) {
  ------------------
  |  Branch (2556:17): [True: 14, False: 8]
  ------------------
 2557|     14|                sortslice_advance(&dest, -k);
 2558|     14|                sortslice_advance(&ssb, -k);
 2559|     14|                sortslice_memcpy(&dest, 1, &ssb, 1, k);
 2560|     14|                nb -= k;
 2561|     14|                if (nb == 1)
  ------------------
  |  Branch (2561:21): [True: 0, False: 14]
  ------------------
 2562|      0|                    goto CopyA;
 2563|       |                /* nb==0 is impossible now if the comparison
 2564|       |                 * function is consistent, but we can't assume
 2565|       |                 * that it is.
 2566|       |                 */
 2567|     14|                if (nb == 0)
  ------------------
  |  Branch (2567:21): [True: 0, False: 14]
  ------------------
 2568|      0|                    goto Succeed;
 2569|     14|            }
 2570|     22|            sortslice_copy_decr(&dest, &ssa);
 2571|     22|            --na;
 2572|     22|            if (na == 0)
  ------------------
  |  Branch (2572:17): [True: 0, False: 22]
  ------------------
 2573|      0|                goto Succeed;
 2574|     22|        } while (acount >= MIN_GALLOP || bcount >= MIN_GALLOP);
  ------------------
  |  | 1728|     44|#define MIN_GALLOP 7
  ------------------
                      } while (acount >= MIN_GALLOP || bcount >= MIN_GALLOP);
  ------------------
  |  | 1728|     14|#define MIN_GALLOP 7
  ------------------
  |  Branch (2574:18): [True: 8, False: 14]
  |  Branch (2574:42): [True: 6, False: 8]
  ------------------
 2575|      8|        ++min_gallop;           /* penalize it for leaving galloping mode */
 2576|      8|        ms->min_gallop = min_gallop;
 2577|      8|    }
 2578|      6|Succeed:
 2579|      6|    result = 0;
 2580|      6|Fail:
 2581|      6|    if (nb)
  ------------------
  |  Branch (2581:9): [True: 6, False: 0]
  ------------------
 2582|      6|        sortslice_memcpy(&dest, -(nb-1), &baseb, 0, nb);
 2583|      6|    return result;
 2584|      0|CopyA:
 2585|      0|    assert(nb == 1 && na > 0);
  ------------------
  |  Branch (2585:5): [True: 0, False: 0]
  |  Branch (2585:5): [True: 0, False: 0]
  ------------------
 2586|       |    /* The first element of ssb belongs at the front of the merge. */
 2587|      0|    sortslice_memmove(&dest, 1-na, &ssa, 1-na, na);
 2588|      0|    sortslice_advance(&dest, -na);
 2589|      0|    sortslice_advance(&ssa, -na);
 2590|      0|    sortslice_copy(&dest, 0, &ssb, 0);
 2591|      0|    return 0;
 2592|      0|}
listobject.c:sortslice_copy_decr:
 1671|    570|{
 1672|    570|    *dst->keys-- = *src->keys--;
 1673|    570|    if (dst->values != NULL)
  ------------------
  |  Branch (1673:9): [True: 0, False: 570]
  ------------------
 1674|      0|        *dst->values-- = *src->values--;
 1675|    570|}
listobject.c:sortslice_advance:
 1698|    175|{
 1699|    175|    slice->keys += n;
 1700|    175|    if (slice->values != NULL)
  ------------------
  |  Branch (1700:9): [True: 0, False: 175]
  ------------------
 1701|      0|        slice->values += n;
 1702|    175|}
listobject.c:merge_force_collapse:
 2731|     15|{
 2732|     15|    struct s_slice *p = ms->pending;
 2733|       |
 2734|     15|    assert(ms);
  ------------------
  |  Branch (2734:5): [True: 15, False: 0]
  ------------------
 2735|     21|    while (ms->n > 1) {
  ------------------
  |  Branch (2735:12): [True: 6, False: 15]
  ------------------
 2736|      6|        Py_ssize_t n = ms->n - 2;
 2737|      6|        if (n > 0 && p[n-1].len < p[n+1].len)
  ------------------
  |  Branch (2737:13): [True: 4, False: 2]
  |  Branch (2737:22): [True: 0, False: 4]
  ------------------
 2738|      0|            --n;
 2739|      6|        if (merge_at(ms, n) < 0)
  ------------------
  |  Branch (2739:13): [True: 0, False: 6]
  ------------------
 2740|      0|            return -1;
 2741|      6|    }
 2742|     15|    return 0;
 2743|     15|}
listobject.c:merge_freemem:
 2276|     93|{
 2277|     93|    assert(ms != NULL);
  ------------------
  |  Branch (2277:5): [True: 93, False: 0]
  ------------------
 2278|     93|    if (ms->a.keys != ms->temparray) {
  ------------------
  |  Branch (2278:9): [True: 0, False: 93]
  ------------------
 2279|      0|        PyMem_Free(ms->a.keys);
 2280|       |        ms->a.keys = NULL;
 2281|      0|    }
 2282|     93|}
listobject.c:reverse_slice:
 1622|     14|{
 1623|     14|    assert(lo && hi);
  ------------------
  |  Branch (1623:5): [True: 14, False: 0]
  |  Branch (1623:5): [True: 14, False: 0]
  ------------------
 1624|       |
 1625|     14|    --hi;
 1626|     99|    while (lo < hi) {
  ------------------
  |  Branch (1626:12): [True: 85, False: 14]
  ------------------
 1627|     85|        PyObject *t = *lo;
 1628|     85|        FT_ATOMIC_STORE_PTR_RELEASE(*lo, *hi);
  ------------------
  |  |  164|     85|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1629|     85|        FT_ATOMIC_STORE_PTR_RELEASE(*hi, t);
  ------------------
  |  |  164|     85|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1630|     85|        ++lo;
 1631|     85|        --hi;
 1632|     85|    }
 1633|     14|}
listobject.c:list_slice_subscript:
 3675|     15|{
 3676|     15|    assert(PyList_Check(self));
  ------------------
  |  Branch (3676:5): [True: 15, False: 0]
  ------------------
 3677|     15|    assert(PySlice_Check(item));
  ------------------
  |  Branch (3677:5): [True: 15, False: 0]
  ------------------
 3678|     15|    Py_ssize_t start, stop, step;
 3679|     15|    if (PySlice_Unpack(item, &start, &stop, &step) < 0) {
  ------------------
  |  Branch (3679:9): [True: 0, False: 15]
  ------------------
 3680|      0|        return NULL;
 3681|      0|    }
 3682|     15|    return list_slice_wrap((PyListObject *)self, start, stop, step);
 3683|     15|}
listobject.c:list_slice_wrap:
 3656|     15|{
 3657|     15|    PyObject *res = NULL;
 3658|     15|    Py_BEGIN_CRITICAL_SECTION(aa);
  ------------------
  |  |   51|     15|    {
  ------------------
 3659|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3660|     15|    if (len <= 0) {
  ------------------
  |  Branch (3660:9): [True: 1, False: 14]
  ------------------
 3661|      1|        res = PyList_New(0);
 3662|      1|    }
 3663|     14|    else if (step == 1) {
  ------------------
  |  Branch (3663:14): [True: 10, False: 4]
  ------------------
 3664|     10|        res = list_slice_lock_held(aa, start, stop);
 3665|     10|    }
 3666|      4|    else {
 3667|      4|        res = list_slice_step_lock_held(aa, start, step, len);
 3668|      4|    }
 3669|     15|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     15|    }
  ------------------
 3670|     15|    return res;
 3671|     15|}
listobject.c:list_slice_step_lock_held:
 3636|      4|{
 3637|      4|    PyListObject *np = (PyListObject *)list_new_prealloc(len);
 3638|      4|    if (np == NULL) {
  ------------------
  |  Branch (3638:9): [True: 0, False: 4]
  ------------------
 3639|      0|        return NULL;
 3640|      0|    }
 3641|      4|    size_t cur;
 3642|      4|    Py_ssize_t i;
 3643|      4|    PyObject **src = a->ob_item;
 3644|      4|    PyObject **dest = np->ob_item;
 3645|    140|    for (cur = start, i = 0; i < len;
  ------------------
  |  Branch (3645:30): [True: 136, False: 4]
  ------------------
 3646|    136|            cur += (size_t)step, i++) {
 3647|    136|        PyObject *v = src[cur];
 3648|    136|        dest[i] = Py_NewRef(v);
  ------------------
  |  |  550|    136|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    136|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    136|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3649|    136|    }
 3650|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3651|      4|    return (PyObject *)np;
 3652|      4|}
listobject.c:list_dealloc:
  556|  1.86k|{
  557|  1.86k|    PyListObject *op = (PyListObject *)self;
  558|  1.86k|    Py_ssize_t i;
  559|  1.86k|    PyObject_GC_UnTrack(op);
  560|  1.86k|    if (op->ob_item != NULL) {
  ------------------
  |  Branch (560:9): [True: 1.12k, False: 740]
  ------------------
  561|       |        /* Do it backwards, for Christian Tismer.
  562|       |           There's a simple test case where somehow this reduces
  563|       |           thrashing when a *very* large list is created and
  564|       |           immediately deleted. */
  565|  1.12k|        i = Py_SIZE(op);
  ------------------
  |  |  214|  1.12k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.12k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.12k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  566|  29.0k|        while (--i >= 0) {
  ------------------
  |  Branch (566:16): [True: 27.9k, False: 1.12k]
  ------------------
  567|  27.9k|            Py_XDECREF(op->ob_item[i]);
  ------------------
  |  |  524|  27.9k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  27.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  568|  27.9k|        }
  569|  1.12k|        free_list_items(op->ob_item, false);
  570|  1.12k|        op->ob_item = NULL;
  571|  1.12k|    }
  572|  1.86k|    if (PyList_CheckExact(op)) {
  ------------------
  |  |   26|  1.86k|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|  1.86k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.86k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.86k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.74k, False: 112]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  573|  1.74k|        _Py_FREELIST_FREE(lists, op, PyObject_GC_Del);
  ------------------
  |  |   35|  1.74k|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  1.74k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.74k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  1.74k|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   13|  1.74k|#  define Py_lists_MAXFREELIST 80
  |  |  ------------------
  ------------------
  574|  1.74k|    }
  575|    112|    else {
  576|    112|        PyObject_GC_Del(op);
  577|    112|    }
  578|  1.86k|}
listobject.c:list_length:
  651|    567|{
  652|    567|    return PyList_GET_SIZE(a);
  ------------------
  |  |   38|    567|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    567|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    567|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  653|    567|}
listobject.c:list_repeat:
  863|      4|{
  864|      4|    PyObject *ret;
  865|      4|    PyListObject *a = (PyListObject *)aa;
  866|      4|    Py_BEGIN_CRITICAL_SECTION(a);
  ------------------
  |  |   51|      4|    {
  ------------------
  867|      4|    ret = list_repeat_lock_held(a, n);
  868|      4|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      4|    }
  ------------------
  869|      4|    return ret;
  870|      4|}
listobject.c:list_repeat_lock_held:
  821|      4|{
  822|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  823|      4|    if (input_size == 0 || n <= 0)
  ------------------
  |  Branch (823:9): [True: 0, False: 4]
  |  Branch (823:28): [True: 0, False: 4]
  ------------------
  824|      0|        return PyList_New(0);
  825|      4|    assert(n > 0);
  ------------------
  |  Branch (825:5): [True: 4, False: 0]
  ------------------
  826|       |
  827|      4|    if (input_size > PY_SSIZE_T_MAX / n)
  ------------------
  |  |  137|      4|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (827:9): [True: 0, False: 4]
  ------------------
  828|      0|        return PyErr_NoMemory();
  829|      4|    Py_ssize_t output_size = input_size * n;
  830|       |
  831|      4|    PyListObject *np = (PyListObject *) list_new_prealloc(output_size);
  832|      4|    if (np == NULL)
  ------------------
  |  Branch (832:9): [True: 0, False: 4]
  ------------------
  833|      0|        return NULL;
  834|       |
  835|      4|    PyObject **dest = np->ob_item;
  836|      4|    if (input_size == 1) {
  ------------------
  |  Branch (836:9): [True: 4, False: 0]
  ------------------
  837|      4|        PyObject *elem = a->ob_item[0];
  838|      4|        _Py_RefcntAdd(elem, n);
  ------------------
  |  |  179|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  839|      4|        PyObject **dest_end = dest + output_size;
  840|      9|        while (dest < dest_end) {
  ------------------
  |  Branch (840:16): [True: 5, False: 4]
  ------------------
  841|      5|            *dest++ = elem;
  842|      5|        }
  843|      4|    }
  844|      0|    else {
  845|      0|        PyObject **src = a->ob_item;
  846|      0|        PyObject **src_end = src + input_size;
  847|      0|        while (src < src_end) {
  ------------------
  |  Branch (847:16): [True: 0, False: 0]
  ------------------
  848|      0|            _Py_RefcntAdd(*src, n);
  ------------------
  |  |  179|      0|#define _Py_RefcntAdd(op, n) _Py_RefcntAdd(_PyObject_CAST(op), n)
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  849|      0|            *dest++ = *src++;
  850|      0|        }
  851|       |        // This list is not yet visible to other threads, so atomic repeat
  852|       |        // is not necessary even in Py_GIL_DISABLED builds.
  853|      0|        _Py_memory_repeat((char *)np->ob_item, sizeof(PyObject *)*output_size,
  854|      0|                                        sizeof(PyObject *)*input_size);
  855|      0|    }
  856|       |
  857|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  858|      4|    return (PyObject *) np;
  859|      4|}
listobject.c:list_item:
  676|  1.86k|{
  677|  1.86k|    PyListObject *a = (PyListObject *)aa;
  678|  1.86k|    if (!valid_index(i, PyList_GET_SIZE(a))) {
  ------------------
  |  |   38|  1.86k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.86k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.86k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (678:9): [True: 24, False: 1.84k]
  ------------------
  679|     24|        PyErr_SetObject(PyExc_IndexError, &_Py_STR(list_err));
  ------------------
  |  |  938|     24|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     24|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     24|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  680|     24|        return NULL;
  681|     24|    }
  682|  1.84k|    PyObject *item;
  683|       |#ifdef Py_GIL_DISABLED
  684|       |    item = list_get_item_ref(a, i);
  685|       |    if (item == NULL) {
  686|       |        PyErr_SetObject(PyExc_IndexError, &_Py_STR(list_err));
  687|       |        return NULL;
  688|       |    }
  689|       |#else
  690|  1.84k|    item = Py_NewRef(a->ob_item[i]);
  ------------------
  |  |  550|  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  691|  1.84k|#endif
  692|  1.84k|    return item;
  693|  1.86k|}
listobject.c:list_ass_item:
 1162|      2|{
 1163|      2|    int ret;
 1164|      2|    PyListObject *a = (PyListObject *)aa;
 1165|      2|    Py_BEGIN_CRITICAL_SECTION(a);
  ------------------
  |  |   51|      2|    {
  ------------------
 1166|      2|    ret = list_ass_item_lock_held(a, i, v);
 1167|      2|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      2|    }
  ------------------
 1168|      2|    return ret;
 1169|      2|}
listobject.c:list_ass_item_lock_held:
 1139|     13|{
 1140|     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 (1140:9): [True: 0, False: 13]
  ------------------
 1141|      0|        PyErr_SetString(PyExc_IndexError,
 1142|      0|                        "list assignment index out of range");
 1143|      0|        return -1;
 1144|      0|    }
 1145|     13|    PyObject *tmp = a->ob_item[i];
 1146|     13|    if (v == NULL) {
  ------------------
  |  Branch (1146:9): [True: 2, False: 11]
  ------------------
 1147|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1148|      2|        for (Py_ssize_t idx = i; idx < size - 1; idx++) {
  ------------------
  |  Branch (1148:34): [True: 0, False: 2]
  ------------------
 1149|      0|            FT_ATOMIC_STORE_PTR_RELEASE(a->ob_item[idx], a->ob_item[idx + 1]);
  ------------------
  |  |  164|      0|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1150|      0|        }
 1151|      2|        Py_SET_SIZE(a, size - 1);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1152|      2|    }
 1153|     11|    else {
 1154|     11|        FT_ATOMIC_STORE_PTR_RELEASE(a->ob_item[i], Py_NewRef(v));
  ------------------
  |  |  164|     11|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1155|     11|    }
 1156|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1157|     13|    return 0;
 1158|     13|}
listobject.c:list_contains:
  657|    104|{
  658|       |
  659|  1.53k|    for (Py_ssize_t i = 0; ; i++) {
  660|  1.53k|        PyObject *item = list_get_item_ref((PyListObject *)aa, i);
  661|  1.53k|        if (item == NULL) {
  ------------------
  |  Branch (661:13): [True: 28, False: 1.50k]
  ------------------
  662|       |            // out-of-bounds
  663|     28|            return 0;
  664|     28|        }
  665|  1.50k|        int cmp = PyObject_RichCompareBool(item, el, Py_EQ);
  ------------------
  |  |  654|  1.50k|#define Py_EQ 2
  ------------------
  666|  1.50k|        Py_DECREF(item);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  667|  1.50k|        if (cmp != 0) {
  ------------------
  |  Branch (667:13): [True: 76, False: 1.43k]
  ------------------
  668|     76|            return cmp;
  669|     76|        }
  670|  1.50k|    }
  671|      0|    return 0;
  672|    104|}
listobject.c:list_inplace_concat:
 1565|      7|{
 1566|      7|    PyListObject *self = (PyListObject *)_self;
 1567|      7|    if (_list_extend(self, other) < 0) {
  ------------------
  |  Branch (1567:9): [True: 0, False: 7]
  ------------------
 1568|      0|        return NULL;
 1569|      0|    }
 1570|      7|    return Py_NewRef(self);
  ------------------
  |  |  550|      7|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1571|      7|}
listobject.c:list_subscript:
 3693|     28|{
 3694|     28|    PyListObject* self = (PyListObject*)_self;
 3695|     28|    if (_PyIndex_Check(item)) {
  ------------------
  |  Branch (3695:9): [True: 20, False: 8]
  ------------------
 3696|     20|        Py_ssize_t i;
 3697|     20|        i = PyNumber_AsSsize_t(item, PyExc_IndexError);
 3698|     20|        if (i == -1 && PyErr_Occurred())
  ------------------
  |  Branch (3698:13): [True: 0, False: 20]
  |  Branch (3698:24): [True: 0, False: 0]
  ------------------
 3699|      0|            return NULL;
 3700|     20|        if (i < 0)
  ------------------
  |  Branch (3700:13): [True: 0, False: 20]
  ------------------
 3701|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3702|     20|        return list_item((PyObject *)self, i);
 3703|     20|    }
 3704|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3705|      8|        return list_slice_subscript(_self, item);
 3706|      8|    }
 3707|      0|    else {
 3708|      0|        PyErr_Format(PyExc_TypeError,
 3709|      0|                     "list indices must be integers or slices, not %.200s",
 3710|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3711|       |        return NULL;
 3712|      0|    }
 3713|     28|}
listobject.c:list_ass_subscript:
 3900|     27|{
 3901|     27|    int res;
 3902|       |#ifdef Py_GIL_DISABLED
 3903|       |    if (PySlice_Check(item) && value != NULL && PyList_CheckExact(value)) {
 3904|       |        Py_BEGIN_CRITICAL_SECTION2(self, value);
 3905|       |        res = list_ass_subscript_lock_held(self, item, value);
 3906|       |        Py_END_CRITICAL_SECTION2();
 3907|       |        return res;
 3908|       |    }
 3909|       |#endif
 3910|     27|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|     27|    {
  ------------------
 3911|     27|    res = list_ass_subscript_lock_held(self, item, value);
 3912|     27|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     27|    }
  ------------------
 3913|     27|    return res;
 3914|     27|}
listobject.c:list_ass_subscript_lock_held:
 3734|     27|{
 3735|     27|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(_self);
 3736|       |
 3737|     27|    PyListObject *self = (PyListObject *)_self;
 3738|     27|    if (_PyIndex_Check(item)) {
  ------------------
  |  Branch (3738:9): [True: 11, False: 16]
  ------------------
 3739|     11|        Py_ssize_t i = PyNumber_AsSsize_t(item, PyExc_IndexError);
 3740|     11|        if (i == -1 && PyErr_Occurred())
  ------------------
  |  Branch (3740:13): [True: 5, False: 6]
  |  Branch (3740:24): [True: 0, False: 5]
  ------------------
 3741|      0|            return -1;
 3742|     11|        if (i < 0)
  ------------------
  |  Branch (3742:13): [True: 5, False: 6]
  ------------------
 3743|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3744|     11|        return list_ass_item_lock_held(self, i, value);
 3745|     11|    }
 3746|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3747|     16|        Py_ssize_t start, stop, step;
 3748|       |
 3749|     16|        if (PySlice_Unpack(item, &start, &stop, &step) < 0) {
  ------------------
  |  Branch (3749:13): [True: 0, False: 16]
  ------------------
 3750|      0|            return -1;
 3751|      0|        }
 3752|       |
 3753|     16|        if (value == NULL) {
  ------------------
  |  Branch (3753:13): [True: 1, False: 15]
  ------------------
 3754|       |            /* delete slice */
 3755|      1|            PyObject **garbage;
 3756|      1|            size_t cur;
 3757|      1|            Py_ssize_t i;
 3758|      1|            int res;
 3759|       |
 3760|      1|            Py_ssize_t slicelength = adjust_slice_indexes(self, &start, &stop,
 3761|      1|                                                          step);
 3762|       |
 3763|      1|            if (step == 1)
  ------------------
  |  Branch (3763:17): [True: 1, False: 0]
  ------------------
 3764|      1|                return list_ass_slice_lock_held(self, start, stop, value);
 3765|       |
 3766|      0|            if (slicelength <= 0)
  ------------------
  |  Branch (3766:17): [True: 0, False: 0]
  ------------------
 3767|      0|                return 0;
 3768|       |
 3769|      0|            if (step < 0) {
  ------------------
  |  Branch (3769:17): [True: 0, False: 0]
  ------------------
 3770|      0|                stop = start + 1;
 3771|      0|                start = stop + step*(slicelength - 1) - 1;
 3772|      0|                step = -step;
 3773|      0|            }
 3774|       |
 3775|      0|            garbage = (PyObject**)
 3776|      0|                PyMem_Malloc(slicelength*sizeof(PyObject*));
 3777|      0|            if (!garbage) {
  ------------------
  |  Branch (3777:17): [True: 0, False: 0]
  ------------------
 3778|      0|                PyErr_NoMemory();
 3779|      0|                return -1;
 3780|      0|            }
 3781|       |
 3782|       |            /* drawing pictures might help understand these for
 3783|       |               loops. Basically, we memmove the parts of the
 3784|       |               list that are *not* part of the slice: step-1
 3785|       |               items for each item that is part of the slice,
 3786|       |               and then tail end of the list that was not
 3787|       |               covered by the slice */
 3788|      0|            for (cur = start, i = 0;
 3789|      0|                 cur < (size_t)stop;
  ------------------
  |  Branch (3789:18): [True: 0, False: 0]
  ------------------
 3790|      0|                 cur += step, i++) {
 3791|      0|                Py_ssize_t lim = step - 1;
 3792|       |
 3793|      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 (3793:30): [True: 0, False: 0]
  ------------------
 3794|       |
 3795|      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 (3795:21): [True: 0, False: 0]
  ------------------
 3796|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3797|      0|                }
 3798|       |
 3799|      0|                ptr_wise_atomic_memmove(self, self->ob_item + cur - i,
 3800|      0|                    self->ob_item + cur + 1, lim);
 3801|      0|            }
 3802|      0|            cur = start + (size_t)slicelength * step;
 3803|      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 (3803:17): [True: 0, False: 0]
  ------------------
 3804|      0|                ptr_wise_atomic_memmove(self, self->ob_item + cur - slicelength,
 3805|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3806|      0|            }
 3807|       |
 3808|      0|            Py_SET_SIZE(self, Py_SIZE(self) - slicelength);
  ------------------
  |  |  216|      0|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|      0|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3809|      0|            res = list_resize(self, Py_SIZE(self));
  ------------------
  |  |  214|      0|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3810|       |
 3811|      0|            for (i = 0; i < slicelength; i++) {
  ------------------
  |  Branch (3811:25): [True: 0, False: 0]
  ------------------
 3812|      0|                Py_DECREF(garbage[i]);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3813|      0|            }
 3814|      0|            PyMem_Free(garbage);
 3815|       |
 3816|      0|            return res;
 3817|      0|        }
 3818|     15|        else {
 3819|       |            /* assign slice */
 3820|     15|            PyObject *ins, *seq;
 3821|     15|            PyObject **garbage, **seqitems, **selfitems;
 3822|     15|            Py_ssize_t i;
 3823|     15|            size_t cur;
 3824|       |
 3825|       |            /* protect against a[::-1] = a */
 3826|     15|            if (self == (PyListObject*)value) {
  ------------------
  |  Branch (3826:17): [True: 0, False: 15]
  ------------------
 3827|      0|                seq = list_slice_lock_held((PyListObject *)value, 0,
 3828|      0|                                            Py_SIZE(value));
  ------------------
  |  |  214|      0|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3829|      0|            }
 3830|     15|            else {
 3831|     15|                seq = PySequence_Fast(value,
 3832|     15|                                      "must assign iterable "
 3833|     15|                                      "to extended slice");
 3834|     15|            }
 3835|     15|            if (!seq)
  ------------------
  |  Branch (3835:17): [True: 0, False: 15]
  ------------------
 3836|      0|                return -1;
 3837|       |
 3838|     15|            Py_ssize_t slicelength = adjust_slice_indexes(self, &start, &stop,
 3839|     15|                                                          step);
 3840|       |
 3841|     15|            if (step == 1) {
  ------------------
  |  Branch (3841:17): [True: 15, False: 0]
  ------------------
 3842|     15|                int res = list_ass_slice_lock_held(self, start, stop, seq);
 3843|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3844|     15|                return res;
 3845|     15|            }
 3846|       |
 3847|      0|            if (PySequence_Fast_GET_SIZE(seq) != slicelength) {
  ------------------
  |  |   92|      0|    (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   25|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   38|      0|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3847:17): [True: 0, False: 0]
  ------------------
 3848|      0|                PyErr_Format(PyExc_ValueError,
 3849|      0|                    "attempt to assign sequence of "
 3850|      0|                    "size %zd to extended slice of "
 3851|      0|                    "size %zd",
 3852|      0|                         PySequence_Fast_GET_SIZE(seq),
  ------------------
  |  |   92|      0|    (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   25|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   38|      0|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3853|      0|                         slicelength);
 3854|      0|                Py_DECREF(seq);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3855|      0|                return -1;
 3856|      0|            }
 3857|       |
 3858|      0|            if (!slicelength) {
  ------------------
  |  Branch (3858:17): [True: 0, False: 0]
  ------------------
 3859|      0|                Py_DECREF(seq);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3860|      0|                return 0;
 3861|      0|            }
 3862|       |
 3863|      0|            garbage = (PyObject**)
 3864|      0|                PyMem_Malloc(slicelength*sizeof(PyObject*));
 3865|      0|            if (!garbage) {
  ------------------
  |  Branch (3865:17): [True: 0, False: 0]
  ------------------
 3866|      0|                Py_DECREF(seq);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3867|      0|                PyErr_NoMemory();
 3868|      0|                return -1;
 3869|      0|            }
 3870|       |
 3871|      0|            selfitems = self->ob_item;
 3872|      0|            seqitems = PySequence_Fast_ITEMS(seq);
  ------------------
  |  |  102|      0|    (PyList_Check(sf) ? ((PyListObject *)(sf))->ob_item \
  |  |  ------------------
  |  |  |  |   25|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  103|      0|                      : ((PyTupleObject *)(sf))->ob_item)
  ------------------
 3873|      0|            for (cur = start, i = 0; i < slicelength;
  ------------------
  |  Branch (3873:38): [True: 0, False: 0]
  ------------------
 3874|      0|                 cur += (size_t)step, i++) {
 3875|      0|                garbage[i] = selfitems[cur];
 3876|      0|                ins = Py_NewRef(seqitems[i]);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3877|      0|                FT_ATOMIC_STORE_PTR_RELEASE(selfitems[cur], ins);
  ------------------
  |  |  164|      0|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 3878|      0|            }
 3879|       |
 3880|      0|            for (i = 0; i < slicelength; i++) {
  ------------------
  |  Branch (3880:25): [True: 0, False: 0]
  ------------------
 3881|      0|                Py_DECREF(garbage[i]);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3882|      0|            }
 3883|       |
 3884|      0|            PyMem_Free(garbage);
 3885|      0|            Py_DECREF(seq);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3886|       |
 3887|      0|            return 0;
 3888|      0|        }
 3889|     16|    }
 3890|      0|    else {
 3891|      0|        PyErr_Format(PyExc_TypeError,
 3892|      0|                     "list indices must be integers or slices, not %.200s",
 3893|      0|                     Py_TYPE(item)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3894|      0|        return -1;
 3895|      0|    }
 3896|     27|}
listobject.c:adjust_slice_indexes:
 3719|     16|{
 3720|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3721|     16|                                                   step);
 3722|       |
 3723|       |    /* Make sure s[5:2] = [..] inserts at the right place:
 3724|       |        before 5, not before 2. */
 3725|     16|    if ((step < 0 && *start < *stop) ||
  ------------------
  |  Branch (3725:10): [True: 0, False: 16]
  |  Branch (3725:22): [True: 0, False: 0]
  ------------------
 3726|     16|        (step > 0 && *start > *stop))
  ------------------
  |  Branch (3726:10): [True: 16, False: 0]
  |  Branch (3726:22): [True: 0, False: 16]
  ------------------
 3727|      0|        *stop = *start;
 3728|       |
 3729|     16|    return slicelength;
 3730|     16|}
listobject.c:list_traverse:
 3428|    388|{
 3429|    388|    PyListObject *o = (PyListObject *)self;
 3430|    388|    Py_ssize_t i;
 3431|       |
 3432|  1.96k|    for (i = Py_SIZE(o); --i >= 0; )
  ------------------
  |  |  214|    388|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    388|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    388|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3432:26): [True: 1.57k, False: 388]
  ------------------
 3433|  1.57k|        Py_VISIT(o->ob_item[i]);
  ------------------
  |  |  194|  1.57k|    do {                                                                \
  |  |  195|  1.57k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 1.57k, False: 0]
  |  |  ------------------
  |  |  196|  1.57k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  1.57k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.57k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  1.57k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 1.57k]
  |  |  ------------------
  |  |  198|  1.57k|                return vret;                                            \
  |  |  199|  1.57k|        }                                                               \
  |  |  200|  1.57k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 1.57k]
  |  |  ------------------
  ------------------
 3434|    388|    return 0;
 3435|    388|}
listobject.c:list_richcompare:
 3505|    150|{
 3506|    150|    PyObject *ret;
 3507|    150|    Py_BEGIN_CRITICAL_SECTION2(v, w);
  ------------------
  |  |   57|    150|    {
  ------------------
 3508|    150|    ret = list_richcompare_impl(v, w, op);
 3509|    150|    Py_END_CRITICAL_SECTION2()
  ------------------
  |  |   61|    150|    }
  ------------------
 3510|    150|    return ret;
 3511|    150|}
listobject.c:list_richcompare_impl:
 3439|    150|{
 3440|    150|    PyListObject *vl, *wl;
 3441|    150|    Py_ssize_t i;
 3442|       |
 3443|    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 (3443:9): [True: 0, False: 150]
  |  Branch (3443:29): [True: 24, False: 126]
  ------------------
 3444|     24|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|     24|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|     24|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 3445|       |
 3446|    126|    vl = (PyListObject *)v;
 3447|    126|    wl = (PyListObject *)w;
 3448|       |
 3449|    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 (3449:9): [True: 38, False: 88]
  |  Branch (3449:40): [True: 38, False: 0]
  |  Branch (3449:55): [True: 0, False: 0]
  ------------------
 3450|       |        /* Shortcut: if the lengths differ, the lists differ */
 3451|     38|        if (op == Py_EQ)
  ------------------
  |  |  654|     38|#define Py_EQ 2
  ------------------
  |  Branch (3451:13): [True: 38, False: 0]
  ------------------
 3452|     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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3453|      0|        else
 3454|      0|            Py_RETURN_TRUE;
  ------------------
  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3455|     38|    }
 3456|       |
 3457|       |    /* Search for the first index where items are different.
 3458|       |     * We incref vitem/witem before calling PyObject_RichCompareBool, which may
 3459|       |     * release the GIL and allow the list to be mutated in the meantime.
 3460|       |     */
 3461|     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 (3461:17): [True: 10, False: 84]
  |  Branch (3461:36): [True: 10, False: 0]
  ------------------
 3462|     10|        PyObject *vitem = vl->ob_item[i];
 3463|     10|        PyObject *witem = wl->ob_item[i];
 3464|     10|        if (vitem == witem) {
  ------------------
  |  Branch (3464:13): [True: 0, False: 10]
  ------------------
 3465|      0|            continue;
 3466|      0|        }
 3467|       |
 3468|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3469|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3470|     10|        int k = PyObject_RichCompareBool(vitem, witem, Py_EQ);
  ------------------
  |  |  654|     10|#define Py_EQ 2
  ------------------
 3471|     10|        if (k < 0) {
  ------------------
  |  Branch (3471:13): [True: 0, False: 10]
  ------------------
 3472|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3473|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3474|      0|            return NULL;
 3475|      0|        }
 3476|     10|        if (!k) {
  ------------------
  |  Branch (3476:13): [True: 4, False: 6]
  ------------------
 3477|       |            /* We have a differing item -- shortcuts for EQ/NE */
 3478|      4|            if (op == Py_EQ) {
  ------------------
  |  |  654|      4|#define Py_EQ 2
  ------------------
  |  Branch (3478:17): [True: 3, False: 1]
  ------------------
 3479|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3480|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3481|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3482|      3|            }
 3483|      1|            if (op == Py_NE) {
  ------------------
  |  |  655|      1|#define Py_NE 3
  ------------------
  |  Branch (3483:17): [True: 1, False: 0]
  ------------------
 3484|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3485|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3486|      1|                Py_RETURN_TRUE;
  ------------------
  |  |   44|      1|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|      1|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3487|      1|            }
 3488|       |            /* Compare the differing items using the proper operator */
 3489|      0|            PyObject *result = PyObject_RichCompare(vitem, witem, op);
 3490|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3491|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3492|      0|            return result;
 3493|      1|        }
 3494|       |
 3495|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3496|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3497|      6|    }
 3498|       |
 3499|       |    /* All compared elements were equal -- compare sizes */
 3500|     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();                                               \
  |  |  ------------------
  |  |  |  |  289|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  |  |  ------------------
  |  |  684|     84|        }                                                                   \
  |  |  685|     84|    } while (0)
  |  |  ------------------
  |  |  |  Branch (685:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3501|     84|}
listobject.c:list___reversed___impl:
 4193|     13|{
 4194|     13|    listreviterobject *it;
 4195|       |
 4196|     13|    it = PyObject_GC_New(listreviterobject, &PyListRevIter_Type);
  ------------------
  |  |  181|     13|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|     13|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 4197|     13|    if (it == NULL)
  ------------------
  |  Branch (4197:9): [True: 0, False: 13]
  ------------------
 4198|      0|        return NULL;
 4199|     13|    assert(PyList_Check(self));
  ------------------
  |  Branch (4199:5): [True: 13, False: 0]
  ------------------
 4200|     13|    it->it_index = PyList_GET_SIZE(self) - 1;
  ------------------
  |  |   38|     13|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     13|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     13|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4201|     13|    it->it_seq = (PyListObject*)Py_NewRef(self);
  ------------------
  |  |  550|     13|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     13|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     13|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4202|     13|    PyObject_GC_Track(it);
 4203|     13|    return (PyObject *)it;
 4204|     13|}
listobject.c:py_list_clear_impl:
 1202|     11|{
 1203|     11|    list_clear(self);
 1204|     11|    Py_RETURN_NONE;
  ------------------
  |  |  628|     11|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     11|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1205|     11|}
listobject.c:list_append_impl:
 1234|    296|{
 1235|    296|    if (_PyList_AppendTakeRef(self, Py_NewRef(object)) < 0) {
  ------------------
  |  |  550|    296|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    296|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    296|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1235:9): [True: 0, False: 296]
  ------------------
 1236|      0|        return NULL;
 1237|      0|    }
 1238|    296|    Py_RETURN_NONE;
  ------------------
  |  |  628|    296|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    296|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1239|    296|}
listobject.c:list_pop_impl:
 1588|    123|{
 1589|    123|    PyObject *v;
 1590|       |
 1591|    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 (1591:9): [True: 0, False: 123]
  ------------------
 1592|       |        /* Special-case most common failure cause */
 1593|      0|        PyErr_SetString(PyExc_IndexError, "pop from empty list");
 1594|      0|        return NULL;
 1595|      0|    }
 1596|    123|    if (index < 0)
  ------------------
  |  Branch (1596:9): [True: 123, False: 0]
  ------------------
 1597|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1598|    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 (1598:9): [True: 0, False: 123]
  ------------------
 1599|      0|        PyErr_SetString(PyExc_IndexError, "pop index out of range");
 1600|      0|        return NULL;
 1601|      0|    }
 1602|       |
 1603|    123|    PyObject **items = self->ob_item;
 1604|    123|    v = items[index];
 1605|    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 (1605:9): [True: 88, False: 35]
  ------------------
 1606|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1607|     88|        list_clear(self);
 1608|     88|        return v;
 1609|     88|    }
 1610|     35|    Py_ssize_t size_after_pop = Py_SIZE(self) - 1;
  ------------------
  |  |  214|     35|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     35|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     35|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1611|     35|    if (index < size_after_pop) {
  ------------------
  |  Branch (1611:9): [True: 0, False: 35]
  ------------------
 1612|      0|        ptr_wise_atomic_memmove(self, &items[index], &items[index+1],
 1613|      0|                                size_after_pop - index);
 1614|      0|    }
 1615|     35|    list_resize(self, size_after_pop);  // NB: shrinking a list can't fail
 1616|     35|    return v;
 1617|    123|}
listobject.c:list_remove_impl:
 3406|    112|{
 3407|    112|    Py_ssize_t i;
 3408|       |
 3409|    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 (3409:17): [True: 112, False: 0]
  ------------------
 3410|    112|        PyObject *obj = self->ob_item[i];
 3411|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3412|    112|        int cmp = PyObject_RichCompareBool(obj, value, Py_EQ);
  ------------------
  |  |  654|    112|#define Py_EQ 2
  ------------------
 3413|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3414|    112|        if (cmp > 0) {
  ------------------
  |  Branch (3414:13): [True: 112, False: 0]
  ------------------
 3415|    112|            if (list_ass_slice_lock_held(self, i, i+1, NULL) == 0)
  ------------------
  |  Branch (3415:17): [True: 112, False: 0]
  ------------------
 3416|    112|                Py_RETURN_NONE;
  ------------------
  |  |  628|    112|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    112|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 3417|      0|            return NULL;
 3418|    112|        }
 3419|      0|        else if (cmp < 0)
  ------------------
  |  Branch (3419:18): [True: 0, False: 0]
  ------------------
 3420|      0|            return NULL;
 3421|    112|    }
 3422|      0|    PyErr_SetString(PyExc_ValueError, "list.remove(x): x not in list");
 3423|       |    return NULL;
 3424|    112|}
listobject.c:list___init___impl:
 3528|    201|{
 3529|       |    /* Verify list invariants established by PyType_GenericAlloc() */
 3530|    201|    assert(0 <= Py_SIZE(self));
  ------------------
  |  Branch (3530:5): [True: 201, False: 0]
  ------------------
 3531|    201|    assert(Py_SIZE(self) <= self->allocated || self->allocated == -1);
  ------------------
  |  Branch (3531:5): [True: 201, False: 0]
  |  Branch (3531:5): [True: 0, False: 0]
  ------------------
 3532|    201|    assert(self->ob_item != NULL ||
  ------------------
  |  Branch (3532:5): [True: 0, False: 201]
  |  Branch (3532:5): [True: 201, False: 0]
  |  Branch (3532:5): [True: 0, False: 0]
  ------------------
 3533|    201|           self->allocated == 0 || self->allocated == -1);
 3534|       |
 3535|       |    /* Empty previous contents */
 3536|    201|    if (self->ob_item != NULL) {
  ------------------
  |  Branch (3536:9): [True: 0, False: 201]
  ------------------
 3537|      0|        Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      0|    {
  ------------------
 3538|      0|        list_clear(self);
 3539|      0|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 3540|      0|    }
 3541|    201|    if (iterable != NULL) {
  ------------------
  |  Branch (3541:9): [True: 89, False: 112]
  ------------------
 3542|     89|        if (_list_extend(self, iterable) < 0) {
  ------------------
  |  Branch (3542:13): [True: 0, False: 89]
  ------------------
 3543|      0|            return -1;
 3544|      0|        }
 3545|     89|    }
 3546|    201|    return 0;
 3547|    201|}
listobject.c:list_vectorcall:
 3552|     89|{
 3553|     89|    if (!_PyArg_NoKwnames("list", kwnames)) {
  ------------------
  |  |   15|     89|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (15:6): [True: 89, False: 0]
  |  |  |  Branch (15:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3554|      0|        return NULL;
 3555|      0|    }
 3556|     89|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|     89|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
 3557|     89|    if (!_PyArg_CheckPositional("list", nargs, 0, 1)) {
  ------------------
  |  |   31|     89|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 89, False: 0]
  |  |  |  Branch (31:27): [True: 89, False: 0]
  |  |  ------------------
  |  |   32|     89|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3558|      0|        return NULL;
 3559|      0|    }
 3560|       |
 3561|     89|    PyObject *list = PyType_GenericAlloc(_PyType_CAST(type), 0);
  ------------------
  |  |  770|     89|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     89|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (3561:42): [True: 89, False: 0]
  ------------------
 3562|     89|    if (list == NULL) {
  ------------------
  |  Branch (3562:9): [True: 0, False: 89]
  ------------------
 3563|      0|        return NULL;
 3564|      0|    }
 3565|     89|    if (nargs) {
  ------------------
  |  Branch (3565:9): [True: 89, False: 0]
  ------------------
 3566|     89|        if (list___init___impl((PyListObject *)list, args[0])) {
  ------------------
  |  Branch (3566:13): [True: 0, False: 89]
  ------------------
 3567|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3568|      0|            return NULL;
 3569|      0|        }
 3570|     89|    }
 3571|     89|    return list;
 3572|     89|}
listobject.c:list_iteritem:
 3918|     78|{
 3919|     78|    PyObject *result = list_get_item_ref((PyListObject *)obj, index);
 3920|     78|    return (_PyObjectIndexPair) { .object = result, .index = index + 1 };
 3921|     78|}
listobject.c:list_iter:
 4033|     52|{
 4034|     52|    if (!PyList_Check(seq)) {
  ------------------
  |  |   25|     52|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     52|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4034:9): [True: 0, False: 52]
  ------------------
 4035|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 4036|      0|        return NULL;
 4037|      0|    }
 4038|     52|    _PyListIterObject *it = _Py_FREELIST_POP(_PyListIterObject, list_iters);
  ------------------
  |  |   43|     52|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|     52|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 4039|     52|    if (it == NULL) {
  ------------------
  |  Branch (4039:9): [True: 4, False: 48]
  ------------------
 4040|      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))
  |  |  ------------------
  ------------------
 4041|      4|        if (it == NULL) {
  ------------------
  |  Branch (4041:13): [True: 0, False: 4]
  ------------------
 4042|      0|            return NULL;
 4043|      0|        }
 4044|      4|    }
 4045|     52|    it->it_index = 0;
 4046|     52|    it->it_seq = (PyListObject *)Py_NewRef(seq);
  ------------------
  |  |  550|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4047|     52|    _PyObject_GC_TRACK(it);
  ------------------
  |  |  505|     52|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     52|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     52|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4048|     52|    return (PyObject *)it;
 4049|     52|}
listobject.c:listiter_dealloc:
 4053|     52|{
 4054|     52|    _PyListIterObject *it = (_PyListIterObject *)self;
 4055|     52|    _PyObject_GC_UNTRACK(it);
  ------------------
  |  |  507|     52|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     52|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     52|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4056|     52|    Py_XDECREF(it->it_seq);
  ------------------
  |  |  524|     52|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     52|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     52|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4057|     52|    assert(Py_IS_TYPE(self, &PyListIter_Type));
  ------------------
  |  Branch (4057:5): [True: 52, False: 0]
  ------------------
 4058|     52|    _Py_FREELIST_FREE(list_iters, it, PyObject_GC_Del);
  ------------------
  |  |   35|     52|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|     52|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     52|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|     52|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   14|     52|#  define Py_list_iters_MAXFREELIST 10
  |  |  ------------------
  ------------------
 4059|     52|}
listobject.c:listiter_next:
 4070|  1.35k|{
 4071|  1.35k|    _PyListIterObject *it = (_PyListIterObject *)self;
 4072|  1.35k|    Py_ssize_t index = FT_ATOMIC_LOAD_SSIZE_RELAXED(it->it_index);
  ------------------
  |  |  149|  1.35k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 4073|  1.35k|    if (index < 0) {
  ------------------
  |  Branch (4073:9): [True: 0, False: 1.35k]
  ------------------
 4074|      0|        return NULL;
 4075|      0|    }
 4076|       |
 4077|  1.35k|    PyObject *item = list_get_item_ref(it->it_seq, index);
 4078|  1.35k|    if (item == NULL) {
  ------------------
  |  Branch (4078:9): [True: 48, False: 1.30k]
  ------------------
 4079|       |        // out-of-bounds
 4080|     48|        FT_ATOMIC_STORE_SSIZE_RELAXED(it->it_index, -1);
  ------------------
  |  |  194|     48|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
 4081|     48|#ifndef Py_GIL_DISABLED
 4082|     48|        PyListObject *seq = it->it_seq;
 4083|     48|        it->it_seq = NULL;
 4084|     48|        Py_DECREF(seq);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4085|     48|#endif
 4086|     48|        return NULL;
 4087|     48|    }
 4088|  1.30k|    FT_ATOMIC_STORE_SSIZE_RELAXED(it->it_index, index + 1);
  ------------------
  |  |  194|  1.30k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
 4089|  1.30k|    return item;
 4090|  1.35k|}
listobject.c:listreviter_dealloc:
 4208|     13|{
 4209|     13|    listreviterobject *it = (listreviterobject *)self;
 4210|     13|    PyObject_GC_UnTrack(it);
 4211|     13|    Py_XDECREF(it->it_seq);
  ------------------
  |  |  524|     13|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     13|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     13|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4212|     13|    PyObject_GC_Del(it);
 4213|     13|}
listobject.c:listreviter_next:
 4224|     31|{
 4225|     31|    listreviterobject *it = (listreviterobject *)self;
 4226|     31|    assert(it != NULL);
  ------------------
  |  Branch (4226:5): [True: 31, False: 0]
  ------------------
 4227|     31|    Py_ssize_t index = FT_ATOMIC_LOAD_SSIZE_RELAXED(it->it_index);
  ------------------
  |  |  149|     31|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 4228|     31|    if (index < 0) {
  ------------------
  |  Branch (4228:9): [True: 11, False: 20]
  ------------------
 4229|     11|        return NULL;
 4230|     11|    }
 4231|       |
 4232|     20|    PyListObject *seq = it->it_seq;
 4233|     20|    assert(PyList_Check(seq));
  ------------------
  |  Branch (4233:5): [True: 20, False: 0]
  ------------------
 4234|     20|    PyObject *item = list_get_item_ref(seq, index);
 4235|     20|    if (item != NULL) {
  ------------------
  |  Branch (4235:9): [True: 20, False: 0]
  ------------------
 4236|     20|        FT_ATOMIC_STORE_SSIZE_RELAXED(it->it_index, index - 1);
  ------------------
  |  |  194|     20|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
 4237|     20|        return item;
 4238|     20|    }
 4239|      0|    FT_ATOMIC_STORE_SSIZE_RELAXED(it->it_index, -1);
  ------------------
  |  |  194|      0|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
 4240|      0|#ifndef Py_GIL_DISABLED
 4241|      0|    it->it_seq = NULL;
 4242|      0|    Py_DECREF(seq);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4243|      0|#endif
 4244|       |    return NULL;
 4245|     20|}

PyLong_FromLong:
  408|  3.77k|{
  409|       |    PYLONG_FROM_INT(unsigned long, long, ival);
  ------------------
  |  |  371|  3.77k|    do {                                                                            \
  |  |  372|  3.77k|        /* Handle small and medium cases. */                                        \
  |  |  373|  3.77k|        if (IS_SMALL_INT(ival)) {                                                   \
  |  |  ------------------
  |  |  |  |   29|  3.77k|#define IS_SMALL_INT(ival) _PY_IS_SMALL_INT(ival)
  |  |  |  |  ------------------
  |  |  |  |  |  |   68|  3.77k|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   98|  3.77k|#define _PY_NSMALLNEGINTS           5
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   97|  3.77k|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (68:6): [True: 3.77k, False: 7]
  |  |  |  |  |  |  |  Branch (68:37): [True: 2.96k, False: 802]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  374|  2.96k|            return get_small_int((sdigit)(ival));                                   \
  |  |  375|  2.96k|        }                                                                           \
  |  |  376|  3.77k|        if (-(INT_TYPE)PyLong_MASK <= (ival) && (ival) <= (INT_TYPE)PyLong_MASK) {  \
  |  |  ------------------
  |  |  |  |   62|    809|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|    809|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    809|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (-(INT_TYPE)PyLong_MASK <= (ival) && (ival) <= (INT_TYPE)PyLong_MASK) {  \
  |  |  ------------------
  |  |  |  |   62|    809|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|    809|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    809|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (376:13): [True: 809, False: 0]
  |  |  |  Branch (376:49): [True: 745, False: 64]
  |  |  ------------------
  |  |  377|    745|            return _PyLong_FromMedium((sdigit)(ival));                              \
  |  |  378|    745|        }                                                                           \
  |  |  379|    809|        UINT_TYPE abs_ival = (ival) < 0 ? 0U-(UINT_TYPE)(ival) : (UINT_TYPE)(ival); \
  |  |  ------------------
  |  |  |  Branch (379:30): [True: 0, False: 64]
  |  |  ------------------
  |  |  380|     64|        /* Do shift in two steps to avoid possible undefined behavior. */           \
  |  |  381|     64|        UINT_TYPE t = abs_ival >> PyLong_SHIFT >> PyLong_SHIFT;                     \
  |  |  ------------------
  |  |  |  |   47|     64|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |                       UINT_TYPE t = abs_ival >> PyLong_SHIFT >> PyLong_SHIFT;                     \
  |  |  ------------------
  |  |  |  |   47|     64|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  382|     64|        /* Count digits (at least two - smaller cases were handled above). */       \
  |  |  383|     64|        Py_ssize_t ndigits = 2;                                                     \
  |  |  384|     64|        while (t) {                                                                 \
  |  |  ------------------
  |  |  |  Branch (384:16): [True: 0, False: 64]
  |  |  ------------------
  |  |  385|      0|            ++ndigits;                                                              \
  |  |  386|      0|            t >>= PyLong_SHIFT;                                                     \
  |  |  ------------------
  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  387|      0|        }                                                                           \
  |  |  388|     64|        /* Construct output value. */                                               \
  |  |  389|     64|        PyLongObject *v = long_alloc(ndigits);                                      \
  |  |  390|     64|        if (v == NULL) {                                                            \
  |  |  ------------------
  |  |  |  Branch (390:13): [True: 0, False: 64]
  |  |  ------------------
  |  |  391|      0|            return NULL;                                                            \
  |  |  392|      0|        }                                                                           \
  |  |  393|     64|        digit *p = v->long_value.ob_digit;                                          \
  |  |  394|     64|        _PyLong_SetSignAndDigitCount(v, (ival) < 0 ? -1 : 1, ndigits);              \
  |  |  ------------------
  |  |  |  Branch (394:41): [True: 0, False: 64]
  |  |  ------------------
  |  |  395|     64|        t = abs_ival;                                                               \
  |  |  396|    192|        while (t) {                                                                 \
  |  |  ------------------
  |  |  |  Branch (396:16): [True: 128, False: 64]
  |  |  ------------------
  |  |  397|    128|            *p++ = (digit)(t & PyLong_MASK);                                        \
  |  |  ------------------
  |  |  |  |   62|    128|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|    128|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    128|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  398|    128|            t >>= PyLong_SHIFT;                                                     \
  |  |  ------------------
  |  |  |  |   47|    128|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  399|    128|        }                                                                           \
  |  |  400|     64|        return (PyObject *)v;                                                       \
  |  |  401|     64|    } while(0)
  |  |  ------------------
  |  |  |  Branch (401:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  410|  3.77k|}
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: 959]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  416|    250|            return get_small_int((sdigit)(ival)); \
  |  |  417|    250|        } \
  |  |  418|  1.20k|        if ((ival) <= PyLong_MASK) { \
  |  |  ------------------
  |  |  |  |   62|    959|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|    959|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    959|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (418:13): [True: 1, False: 958]
  |  |  ------------------
  |  |  419|      1|            return _PyLong_FromMedium((sdigit)(ival)); \
  |  |  420|      1|        } \
  |  |  421|    959|        /* Do shift in two steps to avoid possible undefined behavior. */ \
  |  |  422|    959|        INT_TYPE t = (ival) >> PyLong_SHIFT >> PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|    958|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |                       INT_TYPE t = (ival) >> PyLong_SHIFT >> PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|    958|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  423|    958|        /* Count digits (at least two - smaller cases were handled above). */ \
  |  |  424|    958|        Py_ssize_t ndigits = 2; \
  |  |  425|    958|        while (t) { \
  |  |  ------------------
  |  |  |  Branch (425:16): [True: 0, False: 958]
  |  |  ------------------
  |  |  426|      0|            ++ndigits; \
  |  |  427|      0|            t >>= PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  428|      0|        } \
  |  |  429|    958|        /* Construct output value. */ \
  |  |  430|    958|        PyLongObject *v = long_alloc(ndigits); \
  |  |  431|    958|        if (v == NULL) { \
  |  |  ------------------
  |  |  |  Branch (431:13): [True: 0, False: 958]
  |  |  ------------------
  |  |  432|      0|            return NULL; \
  |  |  433|      0|        } \
  |  |  434|    958|        digit *p = v->long_value.ob_digit; \
  |  |  435|  2.87k|        while ((ival)) { \
  |  |  ------------------
  |  |  |  Branch (435:16): [True: 1.91k, False: 958]
  |  |  ------------------
  |  |  436|  1.91k|            *p++ = (digit)((ival) & PyLong_MASK); \
  |  |  ------------------
  |  |  |  |   62|  1.91k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|  1.91k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  1.91k|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  437|  1.91k|            (ival) >>= PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|  1.91k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  438|  1.91k|        } \
  |  |  439|    958|        return (PyObject *)v; \
  |  |  440|    958|    } 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.03k|{
  595|       |    /* This version originally by Tim Peters */
  596|  1.03k|    PyLongObject *v;
  597|  1.03k|    long res;
  598|  1.03k|    Py_ssize_t i;
  599|  1.03k|    int sign;
  600|  1.03k|    int do_decref = 0; /* if PyNumber_Index was called */
  601|       |
  602|  1.03k|    *overflow = 0;
  603|  1.03k|    if (vv == NULL) {
  ------------------
  |  Branch (603:9): [True: 0, False: 1.03k]
  ------------------
  604|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  605|      0|        return -1;
  606|      0|    }
  607|       |
  608|  1.03k|    if (PyLong_Check(vv)) {
  ------------------
  |  |   13|  1.03k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.03k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 1.01k, False: 27]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  609|  1.01k|        v = (PyLongObject *)vv;
  610|  1.01k|    }
  611|     27|    else {
  612|     27|        v = (PyLongObject *)_PyNumber_Index(vv);
  613|     27|        if (v == NULL)
  ------------------
  |  Branch (613:13): [True: 27, False: 0]
  ------------------
  614|     27|            return -1;
  615|      0|        do_decref = 1;
  616|      0|    }
  617|  1.01k|    if (_PyLong_IsCompact(v)) {
  ------------------
  |  Branch (617:9): [True: 1.00k, False: 4]
  ------------------
  618|       |#if SIZEOF_LONG < SIZEOF_SIZE_T
  619|       |        Py_ssize_t tmp = _PyLong_CompactValue(v);
  620|       |        if (tmp < LONG_MIN) {
  621|       |            *overflow = -1;
  622|       |            res = -1;
  623|       |        }
  624|       |        else if (tmp > LONG_MAX) {
  625|       |            *overflow = 1;
  626|       |            res = -1;
  627|       |        }
  628|       |        else {
  629|       |            res = (long)tmp;
  630|       |        }
  631|       |#else
  632|  1.00k|        res = _PyLong_CompactValue(v);
  633|  1.00k|#endif
  634|  1.00k|    }
  635|      4|    else {
  636|      4|        res = -1;
  637|      4|        i = _PyLong_DigitCount(v);
  638|      4|        sign = _PyLong_NonCompactSign(v);
  639|       |
  640|      4|        unsigned long x = unroll_digits_ulong(v, &i);
  641|      4|        while (--i >= 0) {
  ------------------
  |  Branch (641:16): [True: 4, False: 0]
  ------------------
  642|      4|            if (x > (ULONG_MAX >> PyLong_SHIFT)) {
  ------------------
  |  |   47|      4|#define PyLong_SHIFT    30
  ------------------
  |  Branch (642:17): [True: 4, False: 0]
  ------------------
  643|      4|                *overflow = sign;
  644|      4|                goto exit;
  645|      4|            }
  646|      0|            x = (x << PyLong_SHIFT) | v->long_value.ob_digit[i];
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
  647|      0|        }
  648|       |        /* Haven't lost any bits, but casting to long requires extra
  649|       |        * care (see comment above).
  650|       |        */
  651|      0|        if (x <= (unsigned long)LONG_MAX) {
  ------------------
  |  Branch (651:13): [True: 0, False: 0]
  ------------------
  652|      0|            res = (long)x * sign;
  653|      0|        }
  654|      0|        else if (sign < 0 && x == PY_ABS_LONG_MIN) {
  ------------------
  |  |  532|      0|#define PY_ABS_LONG_MIN         (0-(unsigned long)LONG_MIN)
  ------------------
  |  Branch (654:18): [True: 0, False: 0]
  |  Branch (654:30): [True: 0, False: 0]
  ------------------
  655|      0|            res = LONG_MIN;
  656|      0|        }
  657|      0|        else {
  658|      0|            *overflow = sign;
  659|       |            /* res is already set to -1 */
  660|      0|        }
  661|      0|    }
  662|  1.01k|  exit:
  663|  1.01k|    if (do_decref) {
  ------------------
  |  Branch (663:9): [True: 0, False: 1.01k]
  ------------------
  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.01k|    return res;
  667|  1.01k|}
PyLong_AsLong:
  674|    257|{
  675|    257|    int overflow;
  676|    257|    long result = PyLong_AsLongAndOverflow(obj, &overflow);
  677|    257|    if (overflow) {
  ------------------
  |  Branch (677:9): [True: 2, False: 255]
  ------------------
  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|    257|    return result;
  684|    257|}
PyLong_AsInt:
  691|    642|{
  692|    642|    int overflow;
  693|    642|    long result = PyLong_AsLongAndOverflow(obj, &overflow);
  694|    642|    if (overflow || result > INT_MAX || result < INT_MIN) {
  ------------------
  |  Branch (694:9): [True: 0, False: 642]
  |  Branch (694:21): [True: 0, False: 642]
  |  Branch (694:41): [True: 0, False: 642]
  ------------------
  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|    642|    return (int)result;
  702|    642|}
PyLong_AsSsize_t:
  708|    973|PyLong_AsSsize_t(PyObject *vv) {
  709|    973|    PyLongObject *v;
  710|    973|    Py_ssize_t i;
  711|    973|    int sign;
  712|       |
  713|    973|    if (vv == NULL) {
  ------------------
  |  Branch (713:9): [True: 0, False: 973]
  ------------------
  714|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  715|      0|        return -1;
  716|      0|    }
  717|    973|    if (!PyLong_Check(vv)) {
  ------------------
  |  |   13|    973|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    973|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (717:9): [True: 0, False: 973]
  ------------------
  718|      0|        PyErr_SetString(PyExc_TypeError, "an integer is required");
  719|      0|        return -1;
  720|      0|    }
  721|       |
  722|    973|    v = (PyLongObject *)vv;
  723|    973|    if (_PyLong_IsCompact(v)) {
  ------------------
  |  Branch (723:9): [True: 973, False: 0]
  ------------------
  724|    973|        return _PyLong_CompactValue(v);
  725|    973|    }
  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|    961|{
 1510|    961|#if SIZEOF_VOID_P <= SIZEOF_LONG
 1511|    961|    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|    961|}
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.67k|{
 1576|       |    PYLONG_FROM_INT(size_t, Py_ssize_t, ival);
  ------------------
  |  |  371|  1.67k|    do {                                                                            \
  |  |  372|  1.67k|        /* Handle small and medium cases. */                                        \
  |  |  373|  1.67k|        if (IS_SMALL_INT(ival)) {                                                   \
  |  |  ------------------
  |  |  |  |   29|  1.67k|#define IS_SMALL_INT(ival) _PY_IS_SMALL_INT(ival)
  |  |  |  |  ------------------
  |  |  |  |  |  |   68|  1.67k|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   98|  1.67k|#define _PY_NSMALLNEGINTS           5
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   97|  1.67k|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (68:6): [True: 1.67k, False: 0]
  |  |  |  |  |  |  |  Branch (68:37): [True: 1.59k, False: 77]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  374|  1.59k|            return get_small_int((sdigit)(ival));                                   \
  |  |  375|  1.59k|        }                                                                           \
  |  |  376|  1.67k|        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.67k|}
PyLong_FromString:
 3056|     24|{
 3057|     24|    int sign = 1, error_if_nonzero = 0;
 3058|     24|    const char *orig_str = str;
 3059|     24|    PyLongObject *z = NULL;
 3060|     24|    PyObject *strobj;
 3061|     24|    Py_ssize_t slen;
 3062|       |
 3063|     24|    if ((base != 0 && base < 2) || base > 36) {
  ------------------
  |  Branch (3063:10): [True: 24, False: 0]
  |  Branch (3063:23): [True: 0, False: 24]
  |  Branch (3063:36): [True: 0, False: 24]
  ------------------
 3064|      0|        PyErr_SetString(PyExc_ValueError,
 3065|      0|                        "int() arg 2 must be >= 2 and <= 36");
 3066|      0|        return NULL;
 3067|      0|    }
 3068|     24|    while (*str != '\0' && Py_ISSPACE(*str)) {
  ------------------
  |  |   27|     24|#define Py_ISSPACE(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_SPACE)
  |  |  ------------------
  |  |  |  |  163|     24|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISSPACE(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_SPACE)
  |  |  ------------------
  |  |  |  |   13|     24|#define PY_CTF_SPACE  0x08
  |  |  ------------------
  |  |  |  Branch (27:24): [True: 0, False: 24]
  |  |  ------------------
  ------------------
  |  Branch (3068:12): [True: 24, False: 0]
  ------------------
 3069|      0|        ++str;
 3070|      0|    }
 3071|     24|    if (*str == '+') {
  ------------------
  |  Branch (3071:9): [True: 0, False: 24]
  ------------------
 3072|      0|        ++str;
 3073|      0|    }
 3074|     24|    else if (*str == '-') {
  ------------------
  |  Branch (3074:14): [True: 0, False: 24]
  ------------------
 3075|      0|        ++str;
 3076|      0|        sign = -1;
 3077|      0|    }
 3078|     24|    if (base == 0) {
  ------------------
  |  Branch (3078:9): [True: 0, False: 24]
  ------------------
 3079|      0|        if (str[0] != '0') {
  ------------------
  |  Branch (3079:13): [True: 0, False: 0]
  ------------------
 3080|      0|            base = 10;
 3081|      0|        }
 3082|      0|        else if (str[1] == 'x' || str[1] == 'X') {
  ------------------
  |  Branch (3082:18): [True: 0, False: 0]
  |  Branch (3082:35): [True: 0, False: 0]
  ------------------
 3083|      0|            base = 16;
 3084|      0|        }
 3085|      0|        else if (str[1] == 'o' || str[1] == 'O') {
  ------------------
  |  Branch (3085:18): [True: 0, False: 0]
  |  Branch (3085:35): [True: 0, False: 0]
  ------------------
 3086|      0|            base = 8;
 3087|      0|        }
 3088|      0|        else if (str[1] == 'b' || str[1] == 'B') {
  ------------------
  |  Branch (3088:18): [True: 0, False: 0]
  |  Branch (3088:35): [True: 0, False: 0]
  ------------------
 3089|      0|            base = 2;
 3090|      0|        }
 3091|      0|        else {
 3092|       |            /* "old" (C-style) octal literal, now invalid.
 3093|       |               it might still be zero though */
 3094|      0|            error_if_nonzero = 1;
 3095|      0|            base = 10;
 3096|      0|        }
 3097|      0|    }
 3098|     24|    if (str[0] == '0' &&
  ------------------
  |  Branch (3098:9): [True: 24, False: 0]
  ------------------
 3099|     24|        ((base == 16 && (str[1] == 'x' || str[1] == 'X')) ||
  ------------------
  |  Branch (3099:11): [True: 0, False: 24]
  |  Branch (3099:26): [True: 0, False: 0]
  |  Branch (3099:43): [True: 0, False: 0]
  ------------------
 3100|     24|         (base == 8  && (str[1] == 'o' || str[1] == 'O')) ||
  ------------------
  |  Branch (3100:11): [True: 0, False: 24]
  |  Branch (3100:26): [True: 0, False: 0]
  |  Branch (3100:43): [True: 0, False: 0]
  ------------------
 3101|     24|         (base == 2  && (str[1] == 'b' || str[1] == 'B')))) {
  ------------------
  |  Branch (3101:11): [True: 24, False: 0]
  |  Branch (3101:26): [True: 0, False: 24]
  |  Branch (3101:43): [True: 0, False: 24]
  ------------------
 3102|      0|        str += 2;
 3103|       |        /* One underscore allowed here. */
 3104|      0|        if (*str == '_') {
  ------------------
  |  Branch (3104:13): [True: 0, False: 0]
  ------------------
 3105|      0|            ++str;
 3106|      0|        }
 3107|      0|    }
 3108|       |
 3109|       |    /* long_from_string_base is the main workhorse here. */
 3110|     24|    int ret = long_from_string_base(&str, base, &z);
 3111|     24|    if (ret == -1) {
  ------------------
  |  Branch (3111:9): [True: 0, False: 24]
  ------------------
 3112|       |        /* Syntax error. */
 3113|      0|        goto onError;
 3114|      0|    }
 3115|     24|    if (z == NULL) {
  ------------------
  |  Branch (3115:9): [True: 0, False: 24]
  ------------------
 3116|       |        /* Error. exception already set. */
 3117|      0|        return NULL;
 3118|      0|    }
 3119|       |
 3120|     24|    if (error_if_nonzero) {
  ------------------
  |  Branch (3120:9): [True: 0, False: 24]
  ------------------
 3121|       |        /* reset the base to 0, else the exception message
 3122|       |           doesn't make too much sense */
 3123|      0|        base = 0;
 3124|      0|        if (!_PyLong_IsZero(z)) {
  ------------------
  |  Branch (3124:13): [True: 0, False: 0]
  ------------------
 3125|      0|            goto onError;
 3126|      0|        }
 3127|       |        /* there might still be other problems, therefore base
 3128|       |           remains zero here for the same reason */
 3129|      0|    }
 3130|       |
 3131|       |    /* Set sign and normalize */
 3132|     24|    long_normalize(z);
 3133|     24|    z = maybe_small_long(z);
 3134|     24|    if (sign < 0) {
  ------------------
  |  Branch (3134:9): [True: 0, False: 24]
  ------------------
 3135|      0|        _PyLong_Negate(&z);
 3136|      0|    }
 3137|       |
 3138|     24|    if (pend != NULL) {
  ------------------
  |  Branch (3138:9): [True: 24, False: 0]
  ------------------
 3139|     24|        *pend = (char *)str;
 3140|     24|    }
 3141|     24|    return (PyObject *) z;
 3142|       |
 3143|      0|  onError:
 3144|      0|    if (pend != NULL) {
  ------------------
  |  Branch (3144:9): [True: 0, False: 0]
  ------------------
 3145|      0|        *pend = (char *)str;
 3146|      0|    }
 3147|      0|    Py_XDECREF(z);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3148|      0|    slen = strlen(orig_str) < 200 ? strlen(orig_str) : 200;
  ------------------
  |  Branch (3148:12): [True: 0, False: 0]
  ------------------
 3149|      0|    strobj = PyUnicode_FromStringAndSize(orig_str, slen);
 3150|      0|    if (strobj == NULL) {
  ------------------
  |  Branch (3150:9): [True: 0, False: 0]
  ------------------
 3151|      0|        return NULL;
 3152|      0|    }
 3153|      0|    PyErr_Format(PyExc_ValueError,
 3154|      0|                 "invalid literal for int() with base %d: %.200R",
 3155|      0|                 base, strobj);
 3156|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3157|       |    return NULL;
 3158|      0|}
_PyLong_FromBytes:
 3167|     24|{
 3168|     24|    PyObject *result, *strobj;
 3169|     24|    char *end = NULL;
 3170|       |
 3171|     24|    result = PyLong_FromString(s, &end, base);
 3172|     24|    if (end == NULL || (result != NULL && end == s + len))
  ------------------
  |  Branch (3172:9): [True: 0, False: 24]
  |  Branch (3172:25): [True: 24, False: 0]
  |  Branch (3172:43): [True: 24, False: 0]
  ------------------
 3173|     24|        return result;
 3174|      0|    Py_XDECREF(result);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3175|      0|    strobj = PyBytes_FromStringAndSize(s, Py_MIN(len, 200));
  ------------------
  |  |  120|      0|       __extension__ \
  |  |  121|      0|       ({ _Py_TYPEOF (x) _x = (x); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  122|      0|          _Py_TYPEOF (y) _y = (y); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  123|      0|          _x < _y ? _x : _y; })
  |  |  ------------------
  |  |  |  Branch (123:11): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3176|      0|    if (strobj != NULL) {
  ------------------
  |  Branch (3176:9): [True: 0, False: 0]
  ------------------
 3177|      0|        PyErr_Format(PyExc_ValueError,
 3178|      0|                     "invalid literal for int() with base %d: %.200R",
 3179|      0|                     base, strobj);
 3180|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3181|      0|    }
 3182|       |    return NULL;
 3183|     24|}
_PyLong_ExactDealloc:
 3639|    237|{
 3640|    237|    assert(PyLong_CheckExact(self));
  ------------------
  |  Branch (3640:5): [True: 237, False: 0]
  ------------------
 3641|    237|    if (_PyLong_IsSmallInt((PyLongObject *)self)) {
  ------------------
  |  Branch (3641:9): [True: 0, False: 237]
  ------------------
 3642|       |        // See PEP 683, section Accidental De-Immortalizing for details
 3643|      0|        _Py_SetImmortal(self);
 3644|      0|        return;
 3645|      0|    }
 3646|    237|    if (_PyLong_IsCompact((PyLongObject *)self)) {
  ------------------
  |  Branch (3646:9): [True: 169, False: 68]
  ------------------
 3647|    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
  |  |  ------------------
  ------------------
 3648|    169|        return;
 3649|    169|    }
 3650|     68|    PyObject_Free(self);
 3651|     68|}
_PyCompactLong_Add:
 3871|    136|{
 3872|    136|    assert(_PyLong_BothAreCompact(a, b));
  ------------------
  |  Branch (3872:5): [True: 136, False: 0]
  ------------------
 3873|    136|    stwodigits v = medium_value(a) + medium_value(b);
  ------------------
  |  |   27|    136|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                  stwodigits v = medium_value(a) + medium_value(b);
  ------------------
  |  |   27|    136|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 3874|    136|    return medium_from_stwodigits(v);
 3875|    136|}
_PyCompactLong_Subtract:
 3916|     66|{
 3917|     66|    assert(_PyLong_BothAreCompact(a, b));
  ------------------
  |  Branch (3917:5): [True: 66, False: 0]
  ------------------
 3918|     66|    stwodigits v = medium_value(a) - medium_value(b);
  ------------------
  |  |   27|     66|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                  stwodigits v = medium_value(a) - medium_value(b);
  ------------------
  |  |   27|     66|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 3919|     66|    return medium_from_stwodigits(v);
 3920|     66|}
_PyCompactLong_Multiply:
 4363|      4|{
 4364|      4|    assert(_PyLong_BothAreCompact(a, b));
  ------------------
  |  Branch (4364:5): [True: 4, False: 0]
  ------------------
 4365|      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))
  ------------------
 4366|      4|    return medium_from_stwodigits(v);
 4367|      4|}
PyLong_GetInfo:
 6721|      2|{
 6722|      2|    PyObject* int_info;
 6723|      2|    int field = 0;
 6724|      2|    int_info = PyStructSequence_New(&Int_InfoType);
 6725|      2|    if (int_info == NULL)
  ------------------
  |  Branch (6725:9): [True: 0, False: 2]
  ------------------
 6726|      0|        return NULL;
 6727|      2|    PyStructSequence_SET_ITEM(int_info, field++,
  ------------------
  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  ------------------
 6728|      2|                              PyLong_FromLong(PyLong_SHIFT));
  ------------------
  |  |   47|      2|#define PyLong_SHIFT    30
  ------------------
 6729|      2|    PyStructSequence_SET_ITEM(int_info, field++,
  ------------------
  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  ------------------
 6730|      2|                              PyLong_FromLong(sizeof(digit)));
 6731|       |    /*
 6732|       |     * The following two fields were added after investigating uses of
 6733|       |     * sys.int_info in the wild: Exceedingly rarely used. The ONLY use found was
 6734|       |     * numba using sys.int_info.bits_per_digit as attribute access rather than
 6735|       |     * sequence unpacking. Cython and sympy also refer to sys.int_info but only
 6736|       |     * as info for debugging. No concern about adding these in a backport.
 6737|       |     */
 6738|      2|    PyStructSequence_SET_ITEM(int_info, field++,
  ------------------
  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  ------------------
 6739|      2|                              PyLong_FromLong(_PY_LONG_DEFAULT_MAX_STR_DIGITS));
  ------------------
  |  |   29|      2|#define _PY_LONG_DEFAULT_MAX_STR_DIGITS 4300
  ------------------
 6740|      2|    PyStructSequence_SET_ITEM(int_info, field++,
  ------------------
  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  ------------------
 6741|      2|                              PyLong_FromLong(_PY_LONG_MAX_STR_DIGITS_THRESHOLD));
  ------------------
  |  |   42|      2|#define _PY_LONG_MAX_STR_DIGITS_THRESHOLD 640
  ------------------
 6742|      2|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (6742:9): [True: 0, False: 2]
  ------------------
 6743|      0|        Py_CLEAR(int_info);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 6744|      0|        return NULL;
 6745|      0|    }
 6746|      2|    return int_info;
 6747|      2|}
_PyLong_InitTypes:
 6754|      2|{
 6755|       |    /* initialize int_info */
 6756|      2|    if (_PyStructSequence_InitBuiltin(interp, &Int_InfoType,
  ------------------
  |  Branch (6756:9): [True: 0, False: 2]
  ------------------
 6757|      2|                                      &int_info_desc) < 0)
 6758|      0|    {
 6759|      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)}
  ------------------
 6760|      0|    }
 6761|       |
 6762|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 6763|      2|}
PyLong_FromInt64:
 6798|      1|{
 6799|       |    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]
  |  |  ------------------
  ------------------
 6800|      1|}
PyLong_AsInt64:
 6831|      3|{
 6832|      3|    LONG_TO_INT(int64_t, obj, result);
  ------------------
  |  | 6808|      3|    do { \
  |  | 6809|      3|        type value; \
  |  | 6810|      3|        int flags = (Py_ASNATIVEBYTES_NATIVE_ENDIAN \
  |  |  ------------------
  |  |  |  |   47|      3|#define Py_ASNATIVEBYTES_NATIVE_ENDIAN 3
  |  |  ------------------
  |  | 6811|      3|                     | Py_ASNATIVEBYTES_ALLOW_INDEX); \
  |  |  ------------------
  |  |  |  |   50|      3|#define Py_ASNATIVEBYTES_ALLOW_INDEX 16
  |  |  ------------------
  |  | 6812|      3|        Py_ssize_t bytes = PyLong_AsNativeBytes(obj, &value, sizeof(value), flags); \
  |  | 6813|      3|        if (bytes < 0) { \
  |  |  ------------------
  |  |  |  Branch (6813:13): [True: 0, False: 3]
  |  |  ------------------
  |  | 6814|      0|            return -1; \
  |  | 6815|      0|        } \
  |  | 6816|      3|        if ((size_t)bytes > sizeof(value)) { \
  |  |  ------------------
  |  |  |  Branch (6816:13): [True: 0, False: 3]
  |  |  ------------------
  |  | 6817|      0|            PyErr_SetString(PyExc_OverflowError, \
  |  | 6818|      0|                            "Python int too large to convert to C " #type); \
  |  | 6819|      0|            return -1; \
  |  | 6820|      0|        } \
  |  | 6821|      3|        *result = value; \
  |  | 6822|      3|        return 0; \
  |  | 6823|      3|    } while (0)
  |  |  ------------------
  |  |  |  Branch (6823:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 6833|      3|}
PyLong_GetNativeLayout:
 6876|      9|{
 6877|      9|    return &PyLong_LAYOUT;
 6878|      9|}
PyLongWriter_Create:
 6939|      9|{
 6940|      9|    if (ndigits <= 0) {
  ------------------
  |  Branch (6940:9): [True: 0, False: 9]
  ------------------
 6941|      0|        PyErr_SetString(PyExc_ValueError, "ndigits must be positive");
 6942|      0|        goto error;
 6943|      0|    }
 6944|      9|    assert(digits != NULL);
  ------------------
  |  Branch (6944:5): [True: 9, False: 0]
  ------------------
 6945|       |
 6946|      9|    PyLongObject *obj = long_alloc(ndigits);
 6947|      9|    if (obj == NULL) {
  ------------------
  |  Branch (6947:9): [True: 0, False: 9]
  ------------------
 6948|      0|        goto error;
 6949|      0|    }
 6950|      9|    if (negative) {
  ------------------
  |  Branch (6950:9): [True: 0, False: 9]
  ------------------
 6951|      0|        _PyLong_FlipSign(obj);
 6952|      0|    }
 6953|       |
 6954|      9|    *digits = obj->long_value.ob_digit;
 6955|      9|    return (PyLongWriter*)obj;
 6956|       |
 6957|      0|error:
 6958|      0|    *digits = NULL;
 6959|       |    return NULL;
 6960|      9|}
PyLongWriter_Finish:
 6978|      9|{
 6979|      9|    PyLongObject *obj = (PyLongObject *)writer;
 6980|      9|    assert(Py_REFCNT(obj) == 1);
  ------------------
  |  Branch (6980:5): [True: 9, False: 0]
  ------------------
 6981|       |
 6982|       |#ifdef Py_DEBUG
 6983|       |    // gh-147988: Detect uninitialized digits: long_alloc() fills digits with
 6984|       |    // 0xFF byte pattern. It's posssible because PyLong_BASE is smaller than
 6985|       |    // the maximum value of the C digit type (uint32_t or unsigned short):
 6986|       |    // most significan bits are unused by the API.
 6987|       |    Py_ssize_t ndigits = _PyLong_DigitCount(obj);
 6988|       |    if (ndigits == 0) {
 6989|       |        // Check ob_digit[0] digit for the number zero
 6990|       |        ndigits = 1;
 6991|       |    }
 6992|       |    for (Py_ssize_t i = 0; i < ndigits; i++) {
 6993|       |        digit d = obj->long_value.ob_digit[i];
 6994|       |        if (d & ~(digit)PyLong_MASK) {
 6995|       |            Py_DECREF(obj);
 6996|       |            PyErr_Format(PyExc_SystemError,
 6997|       |                         "PyLongWriter_Finish: digit %zd is uninitialized",
 6998|       |                         i);
 6999|       |            return NULL;
 7000|       |        }
 7001|       |    }
 7002|       |#endif
 7003|       |
 7004|       |    // Normalize and get singleton if possible
 7005|      9|    obj = maybe_small_long(long_normalize(obj));
 7006|       |
 7007|      9|    return (PyObject*)obj;
 7008|      9|}
longobject.c:long_alloc:
  160|  2.21k|{
  161|  2.21k|    assert(size >= 0);
  ------------------
  |  Branch (161:5): [True: 2.21k, False: 0]
  ------------------
  162|  2.21k|    PyLongObject *result = NULL;
  163|  2.21k|    if (size > (Py_ssize_t)MAX_LONG_DIGITS) {
  ------------------
  |  |  155|  2.21k|# define MAX_LONG_DIGITS ((INT64_MAX-1) / PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|  2.21k|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
  |  Branch (163:9): [True: 0, False: 2.21k]
  ------------------
  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.21k|    Py_ssize_t ndigits = size ? size : 1;
  ------------------
  |  Branch (170:26): [True: 2.19k, False: 27]
  ------------------
  171|       |
  172|  2.21k|    if (ndigits == 1) {
  ------------------
  |  Branch (172:9): [True: 83, False: 2.13k]
  ------------------
  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.21k|    if (result == NULL) {
  ------------------
  |  Branch (175:9): [True: 2.13k, 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.13k|        result = PyObject_Malloc(offsetof(PyLongObject, long_value.ob_digit) +
  182|  2.13k|                                ndigits*sizeof(digit));
  183|  2.13k|        if (!result) {
  ------------------
  |  Branch (183:13): [True: 0, False: 2.13k]
  ------------------
  184|      0|            PyErr_NoMemory();
  185|      0|            return NULL;
  186|      0|        }
  187|  2.13k|        _PyObject_Init((PyObject*)result, &PyLong_Type);
  188|  2.13k|        _PyLong_InitTag(result);
  189|  2.13k|    }
  190|  2.21k|    _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.21k|    return result;
  197|  2.21k|}
longobject.c:get_small_int:
   62|  5.37k|{
   63|  5.37k|    assert(IS_SMALL_INT(ival));
  ------------------
  |  Branch (63:5): [True: 5.37k, False: 0]
  |  Branch (63:5): [True: 5.37k, False: 0]
  ------------------
   64|  5.37k|    return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS + ival];
  ------------------
  |  |   59|  5.37k|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|  5.37k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  5.37k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS + ival];
  ------------------
  |  |   98|  5.37k|#define _PY_NSMALLNEGINTS           5
  ------------------
   65|  5.37k|}
longobject.c:_PyLong_FromMedium:
  252|  1.18k|{
  253|  1.18k|    assert(!IS_SMALL_INT(x));
  ------------------
  |  Branch (253:5): [True: 1.17k, False: 10]
  |  Branch (253:5): [True: 0, False: 1.17k]
  ------------------
  254|  1.18k|    assert(is_medium_int(x));
  ------------------
  |  Branch (254:5): [True: 1.18k, False: 0]
  ------------------
  255|       |
  256|  1.18k|    PyLongObject *v = (PyLongObject *)_Py_FREELIST_POP(PyLongObject, ints);
  ------------------
  |  |   43|  1.18k|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  1.18k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  257|  1.18k|    if (v == NULL) {
  ------------------
  |  Branch (257:9): [True: 325, False: 859]
  ------------------
  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.18k|    digit abs_x = x < 0 ? -x : x;
  ------------------
  |  Branch (266:19): [True: 10, False: 1.17k]
  ------------------
  267|  1.18k|    _PyLong_SetSignAndDigitCount(v, x<0?-1:1, 1);
  ------------------
  |  Branch (267:37): [True: 10, False: 1.17k]
  ------------------
  268|  1.18k|    v->long_value.ob_digit[0] = abs_x;
  269|  1.18k|    return (PyObject*)v;
  270|  1.18k|}
longobject.c:is_medium_int:
   54|  1.19k|{
   55|       |    /* Take care that we are comparing unsigned values. */
   56|  1.19k|    twodigits x_plus_mask = ((twodigits)x) + PyLong_MASK;
  ------------------
  |  |   62|  1.19k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  1.19k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  1.19k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   57|  1.19k|    return x_plus_mask < ((twodigits)PyLong_MASK) + PyLong_BASE;
  ------------------
  |  |   62|  1.19k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  1.19k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  1.19k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return x_plus_mask < ((twodigits)PyLong_MASK) + PyLong_BASE;
  ------------------
  |  |   61|  1.19k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|  1.19k|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
   58|  1.19k|}
longobject.c:unroll_digits_ulong:
  537|     11|{
  538|     11|    assert(ULONG_MAX >= ((1UL << PyLong_SHIFT) - 1));
  ------------------
  |  Branch (538:5): [True: 11, Folded]
  ------------------
  539|       |
  540|     11|    Py_ssize_t i = *iptr;
  541|     11|    assert(i >= 2);
  ------------------
  |  Branch (541:5): [True: 11, False: 0]
  ------------------
  542|       |
  543|       |    /* unroll 1 digit */
  544|     11|    --i;
  545|     11|    digit *digits = v->long_value.ob_digit;
  546|     11|    unsigned long x = digits[i];
  547|       |
  548|     11|#if (ULONG_MAX >> PyLong_SHIFT) >= ((1UL << PyLong_SHIFT) - 1)
  549|       |    /* unroll another digit */
  550|     11|    x <<= PyLong_SHIFT;
  ------------------
  |  |   47|     11|#define PyLong_SHIFT    30
  ------------------
  551|     11|    --i;
  552|     11|    x |= digits[i];
  553|     11|#endif
  554|       |
  555|     11|    *iptr = i;
  556|     11|    return x;
  557|     11|}
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|    178|{
   70|    178|    if (v && _PyLong_IsCompact(v)) {
  ------------------
  |  Branch (70:9): [True: 178, False: 0]
  |  Branch (70:14): [True: 105, False: 73]
  ------------------
   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|    130|    return v;
   78|    178|}
longobject.c:_Py_DECREF_INT:
   47|    118|{
   48|    118|    assert(PyLong_CheckExact(op));
  ------------------
  |  Branch (48:5): [True: 118, False: 0]
  ------------------
   49|    118|    _Py_DECREF_SPECIALIZED((PyObject *)op, _PyLong_ExactDealloc);
   50|    118|}
longobject.c:long_normalize:
  127|    190|{
  128|    190|    Py_ssize_t j = _PyLong_DigitCount(v);
  129|    190|    Py_ssize_t i = j;
  130|       |
  131|    247|    while (i > 0 && v->long_value.ob_digit[i-1] == 0)
  ------------------
  |  Branch (131:12): [True: 202, False: 45]
  |  Branch (131:21): [True: 57, False: 145]
  ------------------
  132|     57|        --i;
  133|    190|    if (i != j) {
  ------------------
  |  Branch (133:9): [True: 39, False: 151]
  ------------------
  134|     39|        if (i == 0) {
  ------------------
  |  Branch (134:13): [True: 18, False: 21]
  ------------------
  135|     18|            _PyLong_SetSignAndDigitCount(v, 0, 0);
  136|     18|        }
  137|     21|        else {
  138|     21|            _PyLong_SetDigitCount(v, i);
  139|     21|        }
  140|     39|    }
  141|    190|    return v;
  142|    190|}
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;
  ------------------
  |  |  454|      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:
 2101|     70|{
 2102|     70|    PyLongObject *scratch, *a;
 2103|     70|    PyObject *str = NULL;
 2104|     70|    Py_ssize_t size, strlen, size_a, i, j;
 2105|     70|    digit *pout, *pin, rem, tenpow;
 2106|     70|    int negative;
 2107|     70|    int d;
 2108|       |
 2109|       |    // writer or bytes_writer can be used, but not both at the same time.
 2110|     70|    assert(writer == NULL || bytes_writer == NULL);
  ------------------
  |  Branch (2110:5): [True: 70, False: 0]
  |  Branch (2110:5): [True: 0, False: 0]
  ------------------
 2111|       |
 2112|     70|    a = (PyLongObject *)aa;
 2113|     70|    if (a == NULL || !PyLong_Check(a)) {
  ------------------
  |  |   13|     70|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     70|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2113:9): [True: 0, False: 70]
  |  Branch (2113:22): [True: 0, False: 70]
  ------------------
 2114|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2115|      0|        return -1;
 2116|      0|    }
 2117|     70|    size_a = _PyLong_DigitCount(a);
 2118|     70|    negative = _PyLong_IsNegative(a);
 2119|       |
 2120|       |    /* quick and dirty pre-check for overflowing the decimal digit limit,
 2121|       |       based on the inequality 10/3 >= log2(10)
 2122|       |
 2123|       |       explanation in https://github.com/python/cpython/pull/96537
 2124|       |    */
 2125|     70|    if (size_a >= 10 * _PY_LONG_MAX_STR_DIGITS_THRESHOLD
  ------------------
  |  |   42|     70|#define _PY_LONG_MAX_STR_DIGITS_THRESHOLD 640
  ------------------
  |  Branch (2125:9): [True: 0, False: 70]
  ------------------
 2126|     70|                  / (3 * PyLong_SHIFT) + 2) {
  ------------------
  |  |   47|     70|#define PyLong_SHIFT    30
  ------------------
 2127|      0|        PyInterpreterState *interp = _PyInterpreterState_GET();
 2128|      0|        int max_str_digits = _Py_atomic_load_int(&interp->long_state.max_str_digits);
 2129|      0|        if ((max_str_digits > 0) &&
  ------------------
  |  Branch (2129:13): [True: 0, False: 0]
  ------------------
 2130|      0|            (max_str_digits / (3 * PyLong_SHIFT) <= (size_a - 11) / 10)) {
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
  |  Branch (2130:13): [True: 0, False: 0]
  ------------------
 2131|      0|            PyErr_Format(PyExc_ValueError, _MAX_STR_DIGITS_ERROR_FMT_TO_STR,
  ------------------
  |  |   33|      0|#define _MAX_STR_DIGITS_ERROR_FMT_TO_STR "Exceeds the limit (%d digits) for integer string conversion; use sys.set_int_max_str_digits() to increase the limit"
  ------------------
 2132|      0|                         max_str_digits);
 2133|      0|            return -1;
 2134|      0|        }
 2135|      0|    }
 2136|       |
 2137|     70|#if WITH_PYLONG_MODULE
 2138|     70|    if (size_a > 1000) {
  ------------------
  |  Branch (2138:9): [True: 0, False: 70]
  ------------------
 2139|       |        /* Switch to _pylong.int_to_decimal_string(). */
 2140|      0|        return pylong_int_to_decimal_string(aa,
 2141|      0|                                         p_output,
 2142|      0|                                         writer,
 2143|      0|                                         bytes_writer,
 2144|      0|                                         bytes_str);
 2145|      0|    }
 2146|     70|#endif
 2147|       |
 2148|       |    /* quick and dirty upper bound for the number of digits
 2149|       |       required to express a in base _PyLong_DECIMAL_BASE:
 2150|       |
 2151|       |         #digits = 1 + floor(log2(a) / log2(_PyLong_DECIMAL_BASE))
 2152|       |
 2153|       |       But log2(a) < size_a * PyLong_SHIFT, and
 2154|       |       log2(_PyLong_DECIMAL_BASE) = log2(10) * _PyLong_DECIMAL_SHIFT
 2155|       |                                  > 3.3 * _PyLong_DECIMAL_SHIFT
 2156|       |
 2157|       |         size_a * PyLong_SHIFT / (3.3 * _PyLong_DECIMAL_SHIFT) =
 2158|       |             size_a + size_a / d < size_a + size_a / floor(d),
 2159|       |       where d = (3.3 * _PyLong_DECIMAL_SHIFT) /
 2160|       |                 (PyLong_SHIFT - 3.3 * _PyLong_DECIMAL_SHIFT)
 2161|       |    */
 2162|     70|    d = (33 * _PyLong_DECIMAL_SHIFT) /
  ------------------
  |  |   48|     70|#define _PyLong_DECIMAL_SHIFT   9 /* max(e such that 10**e fits in a digit) */
  ------------------
 2163|     70|        (10 * PyLong_SHIFT - 33 * _PyLong_DECIMAL_SHIFT);
  ------------------
  |  |   47|     70|#define PyLong_SHIFT    30
  ------------------
                      (10 * PyLong_SHIFT - 33 * _PyLong_DECIMAL_SHIFT);
  ------------------
  |  |   48|     70|#define _PyLong_DECIMAL_SHIFT   9 /* max(e such that 10**e fits in a digit) */
  ------------------
 2164|     70|    assert(size_a < PY_SSIZE_T_MAX/2);
  ------------------
  |  Branch (2164:5): [True: 70, False: 0]
  ------------------
 2165|     70|    size = 1 + size_a + size_a / d;
 2166|     70|    scratch = long_alloc(size);
 2167|     70|    if (scratch == NULL)
  ------------------
  |  Branch (2167:9): [True: 0, False: 70]
  ------------------
 2168|      0|        return -1;
 2169|       |
 2170|       |    /* convert array of base _PyLong_BASE digits in pin to an array of
 2171|       |       base _PyLong_DECIMAL_BASE digits in pout, following Knuth (TAOCP,
 2172|       |       Volume 2 (3rd edn), section 4.4, Method 1b). */
 2173|     70|    pin = a->long_value.ob_digit;
 2174|     70|    pout = scratch->long_value.ob_digit;
 2175|     70|    size = 0;
 2176|    138|    for (i = size_a; --i >= 0; ) {
  ------------------
  |  Branch (2176:22): [True: 68, False: 70]
  ------------------
 2177|     68|        digit hi = pin[i];
 2178|     68|        for (j = 0; j < size; j++) {
  ------------------
  |  Branch (2178:21): [True: 0, False: 68]
  ------------------
 2179|      0|            twodigits z = (twodigits)pout[j] << PyLong_SHIFT | hi;
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
 2180|      0|            hi = (digit)(z / _PyLong_DECIMAL_BASE);
  ------------------
  |  |   49|      0|#define _PyLong_DECIMAL_BASE    ((digit)1000000000) /* 10 ** DECIMAL_SHIFT */
  ------------------
 2181|      0|            pout[j] = (digit)(z - (twodigits)hi *
 2182|      0|                              _PyLong_DECIMAL_BASE);
  ------------------
  |  |   49|      0|#define _PyLong_DECIMAL_BASE    ((digit)1000000000) /* 10 ** DECIMAL_SHIFT */
  ------------------
 2183|      0|        }
 2184|    136|        while (hi) {
  ------------------
  |  Branch (2184:16): [True: 68, False: 68]
  ------------------
 2185|     68|            pout[size++] = hi % _PyLong_DECIMAL_BASE;
  ------------------
  |  |   49|     68|#define _PyLong_DECIMAL_BASE    ((digit)1000000000) /* 10 ** DECIMAL_SHIFT */
  ------------------
 2186|     68|            hi /= _PyLong_DECIMAL_BASE;
  ------------------
  |  |   49|     68|#define _PyLong_DECIMAL_BASE    ((digit)1000000000) /* 10 ** DECIMAL_SHIFT */
  ------------------
 2187|     68|        }
 2188|       |        /* check for keyboard interrupt */
 2189|     68|        SIGCHECK({
  ------------------
  |  |  117|     68|    do {                                        \
  |  |  118|     68|        if (PyErr_CheckSignals()) PyTryBlock    \
  |  |  ------------------
  |  |  |  Branch (118:13): [True: 0, False: 68]
  |  |  ------------------
  |  |  119|     68|    } while(0)
  |  |  ------------------
  |  |  |  Branch (119:13): [Folded, False: 68]
  |  |  ------------------
  ------------------
 2190|     68|                Py_DECREF(scratch);
 2191|     68|                return -1;
 2192|     68|            });
 2193|     68|    }
 2194|       |    /* pout should have at least one digit, so that the case when a = 0
 2195|       |       works correctly */
 2196|     70|    if (size == 0)
  ------------------
  |  Branch (2196:9): [True: 2, False: 68]
  ------------------
 2197|      2|        pout[size++] = 0;
 2198|       |
 2199|       |    /* calculate exact length of output string, and allocate */
 2200|     70|    strlen = negative + 1 + (size - 1) * _PyLong_DECIMAL_SHIFT;
  ------------------
  |  |   48|     70|#define _PyLong_DECIMAL_SHIFT   9 /* max(e such that 10**e fits in a digit) */
  ------------------
 2201|     70|    tenpow = 10;
 2202|     70|    rem = pout[size-1];
 2203|     84|    while (rem >= tenpow) {
  ------------------
  |  Branch (2203:12): [True: 14, False: 70]
  ------------------
 2204|     14|        tenpow *= 10;
 2205|     14|        strlen++;
 2206|     14|    }
 2207|     70|    if (strlen > _PY_LONG_MAX_STR_DIGITS_THRESHOLD) {
  ------------------
  |  |   42|     70|#define _PY_LONG_MAX_STR_DIGITS_THRESHOLD 640
  ------------------
  |  Branch (2207:9): [True: 0, False: 70]
  ------------------
 2208|      0|        PyInterpreterState *interp = _PyInterpreterState_GET();
 2209|      0|        int max_str_digits = _Py_atomic_load_int(&interp->long_state.max_str_digits);
 2210|      0|        Py_ssize_t strlen_nosign = strlen - negative;
 2211|      0|        if ((max_str_digits > 0) && (strlen_nosign > max_str_digits)) {
  ------------------
  |  Branch (2211:13): [True: 0, False: 0]
  |  Branch (2211:37): [True: 0, False: 0]
  ------------------
 2212|      0|            Py_DECREF(scratch);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2213|      0|            PyErr_Format(PyExc_ValueError, _MAX_STR_DIGITS_ERROR_FMT_TO_STR,
  ------------------
  |  |   33|      0|#define _MAX_STR_DIGITS_ERROR_FMT_TO_STR "Exceeds the limit (%d digits) for integer string conversion; use sys.set_int_max_str_digits() to increase the limit"
  ------------------
 2214|      0|                         max_str_digits);
 2215|      0|            return -1;
 2216|      0|        }
 2217|      0|    }
 2218|     70|    if (writer) {
  ------------------
  |  Branch (2218:9): [True: 0, False: 70]
  ------------------
 2219|      0|        if (_PyUnicodeWriter_Prepare(writer, strlen, '9') == -1) {
  ------------------
  |  |  562|      0|    (((MAXCHAR) <= (WRITER)->maxchar                                  \
  |  |  ------------------
  |  |  |  Branch (562:7): [True: 0, False: 0]
  |  |  ------------------
  |  |  563|      0|      && (LENGTH) <= (WRITER)->size - (WRITER)->pos)                  \
  |  |  ------------------
  |  |  |  Branch (563:10): [True: 0, False: 0]
  |  |  ------------------
  |  |  564|      0|     ? 0                                                              \
  |  |  565|      0|     : (((LENGTH) == 0)                                               \
  |  |  ------------------
  |  |  |  Branch (565:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  566|      0|        ? 0                                                           \
  |  |  567|      0|        : _PyUnicodeWriter_PrepareInternal((WRITER), (LENGTH), (MAXCHAR))))
  ------------------
  |  Branch (2219:13): [True: 0, False: 0]
  ------------------
 2220|      0|            Py_DECREF(scratch);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2221|      0|            return -1;
 2222|      0|        }
 2223|      0|        assert(_PyUnicodeWriter_CanWrite(writer));
  ------------------
  |  Branch (2223:9): [True: 0, False: 0]
  ------------------
 2224|      0|    }
 2225|     70|    else if (bytes_writer) {
  ------------------
  |  Branch (2225:14): [True: 0, False: 70]
  ------------------
 2226|      0|        *bytes_str = PyBytesWriter_GrowAndUpdatePointer(bytes_writer, strlen,
 2227|      0|                                                        *bytes_str);
 2228|      0|        if (*bytes_str == NULL) {
  ------------------
  |  Branch (2228:13): [True: 0, False: 0]
  ------------------
 2229|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2230|      0|            return -1;
 2231|      0|        }
 2232|      0|    }
 2233|     70|    else {
 2234|     70|        str = PyUnicode_New(strlen, '9');
 2235|     70|        if (str == NULL) {
  ------------------
  |  Branch (2235:13): [True: 0, False: 70]
  ------------------
 2236|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2237|      0|            return -1;
 2238|      0|        }
 2239|     70|    }
 2240|       |
 2241|     70|#define WRITE_DIGITS(p)                                               \
 2242|     70|    do {                                                              \
 2243|       |        /* pout[0] through pout[size-2] contribute exactly            \
 2244|       |           _PyLong_DECIMAL_SHIFT digits each */                       \
 2245|     70|        for (i=0; i < size - 1; i++) {                                \
 2246|     70|            rem = pout[i];                                            \
 2247|     70|            for (j = 0; j < _PyLong_DECIMAL_SHIFT; j++) {             \
 2248|     70|                *--p = '0' + rem % 10;                                \
 2249|     70|                rem /= 10;                                            \
 2250|     70|            }                                                         \
 2251|     70|        }                                                             \
 2252|       |        /* pout[size-1]: always produce at least one decimal digit */ \
 2253|     70|        rem = pout[i];                                                \
 2254|     70|        do {                                                          \
 2255|     70|            *--p = '0' + rem % 10;                                    \
 2256|     70|            rem /= 10;                                                \
 2257|     70|        } while (rem != 0);                                           \
 2258|     70|                                                                      \
 2259|       |        /* and sign */                                                \
 2260|     70|        if (negative)                                                 \
 2261|     70|            *--p = '-';                                               \
 2262|     70|    } while (0)
 2263|       |
 2264|     70|#define WRITE_UNICODE_DIGITS(TYPE)                                    \
 2265|     70|    do {                                                              \
 2266|     70|        if (writer)                                                   \
 2267|     70|            p = (TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos + strlen; \
 2268|     70|        else                                                          \
 2269|     70|            p = (TYPE*)PyUnicode_DATA(str) + strlen;                  \
 2270|     70|                                                                      \
 2271|     70|        WRITE_DIGITS(p);                                              \
 2272|     70|                                                                      \
 2273|       |        /* check we've counted correctly */                           \
 2274|     70|        if (writer)                                                   \
 2275|     70|            assert(p == ((TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos)); \
 2276|     70|        else                                                          \
 2277|     70|            assert(p == (TYPE*)PyUnicode_DATA(str));                  \
 2278|     70|    } while (0)
 2279|       |
 2280|       |    /* fill the string right-to-left */
 2281|     70|    if (bytes_writer) {
  ------------------
  |  Branch (2281:9): [True: 0, False: 70]
  ------------------
 2282|      0|        char *p = *bytes_str + strlen;
 2283|      0|        WRITE_DIGITS(p);
  ------------------
  |  | 2242|      0|    do {                                                              \
  |  | 2243|      0|        /* pout[0] through pout[size-2] contribute exactly            \
  |  | 2244|      0|           _PyLong_DECIMAL_SHIFT digits each */                       \
  |  | 2245|      0|        for (i=0; i < size - 1; i++) {                                \
  |  |  ------------------
  |  |  |  Branch (2245:19): [True: 0, False: 0]
  |  |  ------------------
  |  | 2246|      0|            rem = pout[i];                                            \
  |  | 2247|      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 (2247:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 2248|      0|                *--p = '0' + rem % 10;                                \
  |  | 2249|      0|                rem /= 10;                                            \
  |  | 2250|      0|            }                                                         \
  |  | 2251|      0|        }                                                             \
  |  | 2252|      0|        /* pout[size-1]: always produce at least one decimal digit */ \
  |  | 2253|      0|        rem = pout[i];                                                \
  |  | 2254|      0|        do {                                                          \
  |  | 2255|      0|            *--p = '0' + rem % 10;                                    \
  |  | 2256|      0|            rem /= 10;                                                \
  |  | 2257|      0|        } while (rem != 0);                                           \
  |  |  ------------------
  |  |  |  Branch (2257:18): [True: 0, False: 0]
  |  |  ------------------
  |  | 2258|      0|                                                                      \
  |  | 2259|      0|        /* and sign */                                                \
  |  | 2260|      0|        if (negative)                                                 \
  |  |  ------------------
  |  |  |  Branch (2260:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 2261|      0|            *--p = '-';                                               \
  |  | 2262|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2262:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2284|      0|        assert(p == *bytes_str);
  ------------------
  |  Branch (2284:9): [True: 0, False: 0]
  ------------------
 2285|      0|    }
 2286|     70|    else {
 2287|     70|        int kind = writer ? writer->kind : PyUnicode_KIND(str);
  ------------------
  |  |  258|     70|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|    140|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 70, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2287:20): [True: 0, False: 70]
  ------------------
 2288|     70|        if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (2288:13): [True: 70, False: 0]
  ------------------
 2289|     70|            Py_UCS1 *p;
 2290|     70|            WRITE_UNICODE_DIGITS(Py_UCS1);
  ------------------
  |  | 2265|     70|    do {                                                              \
  |  | 2266|     70|        if (writer)                                                   \
  |  |  ------------------
  |  |  |  Branch (2266:13): [True: 0, False: 70]
  |  |  ------------------
  |  | 2267|     70|            p = (TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos + strlen; \
  |  |  ------------------
  |  |  |  |  284|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2268|     70|        else                                                          \
  |  | 2269|     70|            p = (TYPE*)PyUnicode_DATA(str) + strlen;                  \
  |  |  ------------------
  |  |  |  |  284|     70|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     70|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     70|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2270|     70|                                                                      \
  |  | 2271|     70|        WRITE_DIGITS(p);                                              \
  |  |  ------------------
  |  |  |  | 2242|     70|    do {                                                              \
  |  |  |  | 2243|     70|        /* pout[0] through pout[size-2] contribute exactly            \
  |  |  |  | 2244|     70|           _PyLong_DECIMAL_SHIFT digits each */                       \
  |  |  |  | 2245|     70|        for (i=0; i < size - 1; i++) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2245:19): [True: 0, False: 70]
  |  |  |  |  ------------------
  |  |  |  | 2246|      0|            rem = pout[i];                                            \
  |  |  |  | 2247|      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 (2247:25): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2248|      0|                *--p = '0' + rem % 10;                                \
  |  |  |  | 2249|      0|                rem /= 10;                                            \
  |  |  |  | 2250|      0|            }                                                         \
  |  |  |  | 2251|      0|        }                                                             \
  |  |  |  | 2252|     70|        /* pout[size-1]: always produce at least one decimal digit */ \
  |  |  |  | 2253|     70|        rem = pout[i];                                                \
  |  |  |  | 2254|     84|        do {                                                          \
  |  |  |  | 2255|     84|            *--p = '0' + rem % 10;                                    \
  |  |  |  | 2256|     84|            rem /= 10;                                                \
  |  |  |  | 2257|     84|        } while (rem != 0);                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2257:18): [True: 14, False: 70]
  |  |  |  |  ------------------
  |  |  |  | 2258|     70|                                                                      \
  |  |  |  | 2259|     70|        /* and sign */                                                \
  |  |  |  | 2260|     70|        if (negative)                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2260:13): [True: 0, False: 70]
  |  |  |  |  ------------------
  |  |  |  | 2261|     70|            *--p = '-';                                               \
  |  |  |  | 2262|     70|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2262:14): [Folded, False: 70]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2272|     70|                                                                      \
  |  | 2273|     70|        /* check we've counted correctly */                           \
  |  | 2274|     70|        if (writer)                                                   \
  |  |  ------------------
  |  |  |  Branch (2274:13): [True: 0, False: 70]
  |  |  ------------------
  |  | 2275|     70|            assert(p == ((TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos)); \
  |  | 2276|     70|        else                                                          \
  |  | 2277|     70|            assert(p == (TYPE*)PyUnicode_DATA(str));                  \
  |  | 2278|     70|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2278:14): [Folded, False: 70]
  |  |  ------------------
  ------------------
  |  Branch (2290:13): [True: 0, False: 0]
  |  Branch (2290:13): [True: 70, False: 0]
  ------------------
 2291|     70|        }
 2292|      0|        else if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (2292:18): [True: 0, False: 0]
  ------------------
 2293|      0|            Py_UCS2 *p;
 2294|      0|            WRITE_UNICODE_DIGITS(Py_UCS2);
  ------------------
  |  | 2265|      0|    do {                                                              \
  |  | 2266|      0|        if (writer)                                                   \
  |  |  ------------------
  |  |  |  Branch (2266:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 2267|      0|            p = (TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos + strlen; \
  |  |  ------------------
  |  |  |  |  284|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2268|      0|        else                                                          \
  |  | 2269|      0|            p = (TYPE*)PyUnicode_DATA(str) + strlen;                  \
  |  |  ------------------
  |  |  |  |  284|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2270|      0|                                                                      \
  |  | 2271|      0|        WRITE_DIGITS(p);                                              \
  |  |  ------------------
  |  |  |  | 2242|      0|    do {                                                              \
  |  |  |  | 2243|      0|        /* pout[0] through pout[size-2] contribute exactly            \
  |  |  |  | 2244|      0|           _PyLong_DECIMAL_SHIFT digits each */                       \
  |  |  |  | 2245|      0|        for (i=0; i < size - 1; i++) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2245:19): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2246|      0|            rem = pout[i];                                            \
  |  |  |  | 2247|      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 (2247:25): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2248|      0|                *--p = '0' + rem % 10;                                \
  |  |  |  | 2249|      0|                rem /= 10;                                            \
  |  |  |  | 2250|      0|            }                                                         \
  |  |  |  | 2251|      0|        }                                                             \
  |  |  |  | 2252|      0|        /* pout[size-1]: always produce at least one decimal digit */ \
  |  |  |  | 2253|      0|        rem = pout[i];                                                \
  |  |  |  | 2254|      0|        do {                                                          \
  |  |  |  | 2255|      0|            *--p = '0' + rem % 10;                                    \
  |  |  |  | 2256|      0|            rem /= 10;                                                \
  |  |  |  | 2257|      0|        } while (rem != 0);                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2257:18): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2258|      0|                                                                      \
  |  |  |  | 2259|      0|        /* and sign */                                                \
  |  |  |  | 2260|      0|        if (negative)                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2260:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2261|      0|            *--p = '-';                                               \
  |  |  |  | 2262|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2262:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2272|      0|                                                                      \
  |  | 2273|      0|        /* check we've counted correctly */                           \
  |  | 2274|      0|        if (writer)                                                   \
  |  |  ------------------
  |  |  |  Branch (2274:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 2275|      0|            assert(p == ((TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos)); \
  |  | 2276|      0|        else                                                          \
  |  | 2277|      0|            assert(p == (TYPE*)PyUnicode_DATA(str));                  \
  |  | 2278|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2278:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2294:13): [True: 0, False: 0]
  |  Branch (2294:13): [True: 0, False: 0]
  ------------------
 2295|      0|        }
 2296|      0|        else {
 2297|      0|            assert (kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (2297:13): [True: 0, False: 0]
  ------------------
 2298|      0|            Py_UCS4 *p;
 2299|      0|            WRITE_UNICODE_DIGITS(Py_UCS4);
  ------------------
  |  | 2265|      0|    do {                                                              \
  |  | 2266|      0|        if (writer)                                                   \
  |  |  ------------------
  |  |  |  Branch (2266:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 2267|      0|            p = (TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos + strlen; \
  |  |  ------------------
  |  |  |  |  284|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2268|      0|        else                                                          \
  |  | 2269|      0|            p = (TYPE*)PyUnicode_DATA(str) + strlen;                  \
  |  |  ------------------
  |  |  |  |  284|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2270|      0|                                                                      \
  |  | 2271|      0|        WRITE_DIGITS(p);                                              \
  |  |  ------------------
  |  |  |  | 2242|      0|    do {                                                              \
  |  |  |  | 2243|      0|        /* pout[0] through pout[size-2] contribute exactly            \
  |  |  |  | 2244|      0|           _PyLong_DECIMAL_SHIFT digits each */                       \
  |  |  |  | 2245|      0|        for (i=0; i < size - 1; i++) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2245:19): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2246|      0|            rem = pout[i];                                            \
  |  |  |  | 2247|      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 (2247:25): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2248|      0|                *--p = '0' + rem % 10;                                \
  |  |  |  | 2249|      0|                rem /= 10;                                            \
  |  |  |  | 2250|      0|            }                                                         \
  |  |  |  | 2251|      0|        }                                                             \
  |  |  |  | 2252|      0|        /* pout[size-1]: always produce at least one decimal digit */ \
  |  |  |  | 2253|      0|        rem = pout[i];                                                \
  |  |  |  | 2254|      0|        do {                                                          \
  |  |  |  | 2255|      0|            *--p = '0' + rem % 10;                                    \
  |  |  |  | 2256|      0|            rem /= 10;                                                \
  |  |  |  | 2257|      0|        } while (rem != 0);                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2257:18): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2258|      0|                                                                      \
  |  |  |  | 2259|      0|        /* and sign */                                                \
  |  |  |  | 2260|      0|        if (negative)                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2260:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2261|      0|            *--p = '-';                                               \
  |  |  |  | 2262|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2262:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2272|      0|                                                                      \
  |  | 2273|      0|        /* check we've counted correctly */                           \
  |  | 2274|      0|        if (writer)                                                   \
  |  |  ------------------
  |  |  |  Branch (2274:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 2275|      0|            assert(p == ((TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos)); \
  |  | 2276|      0|        else                                                          \
  |  | 2277|      0|            assert(p == (TYPE*)PyUnicode_DATA(str));                  \
  |  | 2278|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2278:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2299:13): [True: 0, False: 0]
  |  Branch (2299:13): [True: 0, False: 0]
  ------------------
 2300|      0|        }
 2301|     70|    }
 2302|       |
 2303|     70|#undef WRITE_DIGITS
 2304|     70|#undef WRITE_UNICODE_DIGITS
 2305|       |
 2306|     70|    _Py_DECREF_INT(scratch);
 2307|     70|    if (writer) {
  ------------------
  |  Branch (2307:9): [True: 0, False: 70]
  ------------------
 2308|      0|        writer->pos += strlen;
 2309|      0|    }
 2310|     70|    else if (bytes_writer) {
  ------------------
  |  Branch (2310:14): [True: 0, False: 70]
  ------------------
 2311|      0|        (*bytes_str) += strlen;
 2312|      0|    }
 2313|     70|    else {
 2314|     70|        assert(_PyUnicode_CheckConsistency(str, 1));
  ------------------
  |  Branch (2314:9): [True: 70, False: 0]
  ------------------
 2315|     70|        *p_output = (PyObject *)str;
 2316|     70|    }
 2317|     70|    return 0;
 2318|     70|}
longobject.c:long_from_string_base:
 2963|     24|{
 2964|     24|    const char *start, *end, *p;
 2965|     24|    char prev = 0;
 2966|     24|    Py_ssize_t digits = 0;
 2967|     24|    int is_binary_base = (base & (base - 1)) == 0;
 2968|       |
 2969|       |    /* Here we do four things:
 2970|       |     *
 2971|       |     * - Find the `end` of the string.
 2972|       |     * - Validate the string.
 2973|       |     * - Count the number of `digits` (rather than underscores)
 2974|       |     * - Point *str to the end-of-string or first invalid character.
 2975|       |     */
 2976|     24|    start = p = *str;
 2977|       |    /* Leading underscore not allowed. */
 2978|     24|    if (*start == '_') {
  ------------------
  |  Branch (2978:9): [True: 0, False: 24]
  ------------------
 2979|      0|        return -1;
 2980|      0|    }
 2981|       |    /* Verify all characters are digits and underscores. */
 2982|    792|    while (_PyLong_DigitValue[Py_CHARMASK(*p)] < base || *p == '_') {
  ------------------
  |  |  163|    792|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
  |  Branch (2982:12): [True: 768, False: 24]
  |  Branch (2982:58): [True: 0, False: 24]
  ------------------
 2983|    768|        if (*p == '_') {
  ------------------
  |  Branch (2983:13): [True: 0, False: 768]
  ------------------
 2984|       |            /* Double underscore not allowed. */
 2985|      0|            if (prev == '_') {
  ------------------
  |  Branch (2985:17): [True: 0, False: 0]
  ------------------
 2986|      0|                *str = p - 1;
 2987|      0|                return -1;
 2988|      0|            }
 2989|    768|        } else {
 2990|    768|            ++digits;
 2991|    768|        }
 2992|    768|        prev = *p;
 2993|    768|        ++p;
 2994|    768|    }
 2995|       |    /* Trailing underscore not allowed. */
 2996|     24|    if (prev == '_') {
  ------------------
  |  Branch (2996:9): [True: 0, False: 24]
  ------------------
 2997|      0|        *str = p - 1;
 2998|      0|        return -1;
 2999|      0|    }
 3000|     24|    *str = end = p;
 3001|       |    /* Reject empty strings */
 3002|     24|    if (start == end) {
  ------------------
  |  Branch (3002:9): [True: 0, False: 24]
  ------------------
 3003|      0|        return -1;
 3004|      0|    }
 3005|       |    /* Allow only trailing whitespace after `end` */
 3006|     24|    while (*p && Py_ISSPACE(*p)) {
  ------------------
  |  |   27|      0|#define Py_ISSPACE(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_SPACE)
  |  |  ------------------
  |  |  |  |  163|      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 (3006:12): [True: 0, False: 24]
  ------------------
 3007|      0|        p++;
 3008|      0|    }
 3009|     24|    *str = p;
 3010|     24|    if (*p != '\0') {
  ------------------
  |  Branch (3010:9): [True: 0, False: 24]
  ------------------
 3011|      0|        return -1;
 3012|      0|    }
 3013|       |
 3014|       |    /*
 3015|       |     * Pass a validated string consisting of only valid digits and underscores
 3016|       |     * to long_from_xxx_base.
 3017|       |     */
 3018|     24|    if (is_binary_base) {
  ------------------
  |  Branch (3018:9): [True: 24, False: 0]
  ------------------
 3019|       |        /* Use the linear algorithm for binary bases. */
 3020|     24|        return long_from_binary_base(start, end, digits, base, res);
 3021|     24|    }
 3022|      0|    else {
 3023|       |        /* Limit the size to avoid excessive computation attacks exploiting the
 3024|       |         * quadratic algorithm. */
 3025|      0|        if (digits > _PY_LONG_MAX_STR_DIGITS_THRESHOLD) {
  ------------------
  |  |   42|      0|#define _PY_LONG_MAX_STR_DIGITS_THRESHOLD 640
  ------------------
  |  Branch (3025:13): [True: 0, False: 0]
  ------------------
 3026|      0|            PyInterpreterState *interp = _PyInterpreterState_GET();
 3027|      0|            int max_str_digits = _Py_atomic_load_int(&interp->long_state.max_str_digits);
 3028|      0|            if ((max_str_digits > 0) && (digits > max_str_digits)) {
  ------------------
  |  Branch (3028:17): [True: 0, False: 0]
  |  Branch (3028:41): [True: 0, False: 0]
  ------------------
 3029|      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"
  ------------------
 3030|      0|                             max_str_digits, digits);
 3031|      0|                *res = NULL;
 3032|      0|                return 0;
 3033|      0|            }
 3034|      0|        }
 3035|      0|#if WITH_PYLONG_MODULE
 3036|      0|        if (digits > 6000 && base == 10) {
  ------------------
  |  Branch (3036:13): [True: 0, False: 0]
  |  Branch (3036:30): [True: 0, False: 0]
  ------------------
 3037|       |            /* Switch to _pylong.int_from_string() */
 3038|      0|            return pylong_int_from_string(start, end, res);
 3039|      0|        }
 3040|      0|#endif
 3041|       |        /* Use the quadratic algorithm for non binary bases. */
 3042|      0|        return long_from_non_binary_base(start, end, digits, base, res);
 3043|      0|    }
 3044|     24|}
longobject.c:long_from_binary_base:
 2590|     24|{
 2591|     24|    const char *p;
 2592|     24|    int bits_per_char;
 2593|     24|    Py_ssize_t n;
 2594|     24|    PyLongObject *z;
 2595|     24|    twodigits accum;
 2596|     24|    int bits_in_accum;
 2597|     24|    digit *pdigit;
 2598|       |
 2599|     24|    assert(base >= 2 && base <= 32 && (base & (base - 1)) == 0);
  ------------------
  |  Branch (2599:5): [True: 24, False: 0]
  |  Branch (2599:5): [True: 24, False: 0]
  |  Branch (2599:5): [True: 24, False: 0]
  ------------------
 2600|     24|    n = base;
 2601|     72|    for (bits_per_char = -1; n; ++bits_per_char) {
  ------------------
  |  Branch (2601:30): [True: 48, False: 24]
  ------------------
 2602|     48|        n >>= 1;
 2603|     48|    }
 2604|       |
 2605|       |    /* n <- the number of Python digits needed,
 2606|       |            = ceiling((digits * bits_per_char) / PyLong_SHIFT). */
 2607|     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 (2607:9): [True: 0, False: 24]
  ------------------
 2608|      0|        PyErr_SetString(PyExc_ValueError,
 2609|      0|                        "int string too large to convert");
 2610|      0|        *res = NULL;
 2611|      0|        return 0;
 2612|      0|    }
 2613|     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
  ------------------
 2614|     24|    z = long_alloc(n);
 2615|     24|    if (z == NULL) {
  ------------------
  |  Branch (2615:9): [True: 0, False: 24]
  ------------------
 2616|      0|        *res = NULL;
 2617|      0|        return 0;
 2618|      0|    }
 2619|       |    /* Read string from right, and fill in int from left; i.e.,
 2620|       |     * from least to most significant in both.
 2621|       |     */
 2622|     24|    accum = 0;
 2623|     24|    bits_in_accum = 0;
 2624|     24|    pdigit = z->long_value.ob_digit;
 2625|     24|    p = end;
 2626|    792|    while (--p >= start) {
  ------------------
  |  Branch (2626:12): [True: 768, False: 24]
  ------------------
 2627|    768|        int k;
 2628|    768|        if (*p == '_') {
  ------------------
  |  Branch (2628:13): [True: 0, False: 768]
  ------------------
 2629|      0|            continue;
 2630|      0|        }
 2631|    768|        k = (int)_PyLong_DigitValue[Py_CHARMASK(*p)];
  ------------------
  |  |  163|    768|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 2632|    768|        assert(k >= 0 && k < base);
  ------------------
  |  Branch (2632:9): [True: 768, False: 0]
  |  Branch (2632:9): [True: 768, False: 0]
  ------------------
 2633|    768|        accum |= (twodigits)k << bits_in_accum;
 2634|    768|        bits_in_accum += bits_per_char;
 2635|    768|        if (bits_in_accum >= PyLong_SHIFT) {
  ------------------
  |  |   47|    768|#define PyLong_SHIFT    30
  ------------------
  |  Branch (2635:13): [True: 24, False: 744]
  ------------------
 2636|     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
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2637|     24|            assert(pdigit - z->long_value.ob_digit <= n);
  ------------------
  |  Branch (2637:13): [True: 24, False: 0]
  ------------------
 2638|     24|            accum >>= PyLong_SHIFT;
  ------------------
  |  |   47|     24|#define PyLong_SHIFT    30
  ------------------
 2639|     24|            bits_in_accum -= PyLong_SHIFT;
  ------------------
  |  |   47|     24|#define PyLong_SHIFT    30
  ------------------
 2640|     24|            assert(bits_in_accum < PyLong_SHIFT);
  ------------------
  |  Branch (2640:13): [True: 24, False: 0]
  ------------------
 2641|     24|        }
 2642|    768|    }
 2643|     24|    if (bits_in_accum) {
  ------------------
  |  Branch (2643:9): [True: 24, False: 0]
  ------------------
 2644|     24|        assert(bits_in_accum <= PyLong_SHIFT);
  ------------------
  |  Branch (2644:9): [True: 24, False: 0]
  ------------------
 2645|     24|        *pdigit++ = (digit)accum;
 2646|     24|        assert(pdigit - z->long_value.ob_digit <= n);
  ------------------
  |  Branch (2646:9): [True: 24, False: 0]
  ------------------
 2647|     24|    }
 2648|     24|    while (pdigit - z->long_value.ob_digit < n)
  ------------------
  |  Branch (2648:12): [True: 0, False: 24]
  ------------------
 2649|      0|        *pdigit++ = 0;
 2650|     24|    *res = z;
 2651|     24|    return 0;
 2652|     24|}
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|    206|{
  330|    206|    if (IS_SMALL_INT(x)) {
  ------------------
  |  |   29|    206|#define IS_SMALL_INT(ival) _PY_IS_SMALL_INT(ival)
  |  |  ------------------
  |  |  |  |   68|    206|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   98|    206|#define _PY_NSMALLNEGINTS           5
  |  |  |  |  ------------------
  |  |  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   97|    206|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (68:6): [True: 206, False: 0]
  |  |  |  |  |  Branch (68:37): [True: 206, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  331|    206|        return PyStackRef_FromPyObjectBorrow(get_small_int((sdigit)x));
  332|    206|    }
  333|    206|    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:
 5526|      3|{
 5527|      3|    assert(shiftby >= 0);
  ------------------
  |  Branch (5527:5): [True: 3, False: 0]
  ------------------
 5528|       |
 5529|      3|    if (_PyLong_IsZero(a)) {
  ------------------
  |  Branch (5529:9): [True: 0, False: 3]
  ------------------
 5530|      0|        return PyLong_FromLong(0);
 5531|      0|    }
 5532|       |#if PY_SSIZE_T_MAX <= INT64_MAX / PyLong_SHIFT
 5533|       |    if (shiftby > (int64_t)PY_SSIZE_T_MAX * PyLong_SHIFT) {
 5534|       |        PyErr_SetString(PyExc_OverflowError,
 5535|       |                        "too many digits in integer");
 5536|       |        return NULL;
 5537|       |    }
 5538|       |#endif
 5539|      3|    Py_ssize_t wordshift = (Py_ssize_t)(shiftby / PyLong_SHIFT);
  ------------------
  |  |   47|      3|#define PyLong_SHIFT    30
  ------------------
 5540|      3|    digit remshift = (digit)(shiftby % PyLong_SHIFT);
  ------------------
  |  |   47|      3|#define PyLong_SHIFT    30
  ------------------
 5541|      3|    return long_lshift1(a, wordshift, remshift);
 5542|      3|}
longobject.c:long_lshift1:
 5457|      3|{
 5458|      3|    PyLongObject *z = NULL;
 5459|      3|    Py_ssize_t oldsize, newsize, i, j;
 5460|      3|    twodigits accum;
 5461|       |
 5462|      3|    if (wordshift == 0 && _PyLong_IsCompact(a)) {
  ------------------
  |  Branch (5462:9): [True: 0, False: 3]
  |  Branch (5462:27): [True: 0, False: 0]
  ------------------
 5463|      0|        stwodigits m = medium_value(a);
  ------------------
  |  |   27|      0|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 5464|       |        // bypass undefined shift operator behavior
 5465|      0|        stwodigits x = m < 0 ? -(-m << remshift) : m << remshift;
  ------------------
  |  Branch (5465:24): [True: 0, False: 0]
  ------------------
 5466|      0|        return (PyObject*)_PyLong_FromSTwoDigits(x);
 5467|      0|    }
 5468|       |
 5469|      3|    oldsize = _PyLong_DigitCount(a);
 5470|      3|    newsize = oldsize + wordshift;
 5471|      3|    if (remshift)
  ------------------
  |  Branch (5471:9): [True: 3, False: 0]
  ------------------
 5472|      3|        ++newsize;
 5473|      3|    z = long_alloc(newsize);
 5474|      3|    if (z == NULL)
  ------------------
  |  Branch (5474:9): [True: 0, False: 3]
  ------------------
 5475|      0|        return NULL;
 5476|      3|    if (_PyLong_IsNegative(a)) {
  ------------------
  |  Branch (5476:9): [True: 0, False: 3]
  ------------------
 5477|      0|        assert(Py_REFCNT(z) == 1);
  ------------------
  |  Branch (5477:9): [True: 0, False: 0]
  ------------------
 5478|      0|        _PyLong_FlipSign(z);
 5479|      0|    }
 5480|     70|    for (i = 0; i < wordshift; i++)
  ------------------
  |  Branch (5480:17): [True: 67, False: 3]
  ------------------
 5481|     67|        z->long_value.ob_digit[i] = 0;
 5482|      3|    accum = 0;
 5483|      6|    for (j = 0; j < oldsize; i++, j++) {
  ------------------
  |  Branch (5483:17): [True: 3, False: 3]
  ------------------
 5484|      3|        accum |= (twodigits)a->long_value.ob_digit[j] << remshift;
 5485|      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
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5486|      3|        accum >>= PyLong_SHIFT;
  ------------------
  |  |   47|      3|#define PyLong_SHIFT    30
  ------------------
 5487|      3|    }
 5488|      3|    if (remshift)
  ------------------
  |  Branch (5488:9): [True: 3, False: 0]
  ------------------
 5489|      3|        z->long_value.ob_digit[newsize-1] = (digit)accum;
 5490|      0|    else
 5491|      3|        assert(!accum);
  ------------------
  |  Branch (5491:9): [True: 0, False: 0]
  ------------------
 5492|      3|    z = long_normalize(z);
 5493|      3|    return (PyObject *) maybe_small_long(z);
 5494|      3|}
longobject.c:long_compare:
 3606|    383|{
 3607|    383|    if (_PyLong_BothAreCompact(a, b)) {
  ------------------
  |  Branch (3607:9): [True: 172, False: 211]
  ------------------
 3608|    172|        return _PyLong_CompactValue(a) - _PyLong_CompactValue(b);
 3609|    172|    }
 3610|    211|    Py_ssize_t sign = _PyLong_SignedDigitCount(a) - _PyLong_SignedDigitCount(b);
 3611|    211|    if (sign == 0) {
  ------------------
  |  Branch (3611:9): [True: 182, False: 29]
  ------------------
 3612|    182|        Py_ssize_t i = _PyLong_DigitCount(a);
 3613|    182|        sdigit diff = 0;
 3614|    544|        while (--i >= 0) {
  ------------------
  |  Branch (3614:16): [True: 364, False: 180]
  ------------------
 3615|    364|            diff = (sdigit) a->long_value.ob_digit[i] - (sdigit) b->long_value.ob_digit[i];
 3616|    364|            if (diff) {
  ------------------
  |  Branch (3616:17): [True: 2, False: 362]
  ------------------
 3617|      2|                break;
 3618|      2|            }
 3619|    364|        }
 3620|    182|        sign = _PyLong_IsNegative(a) ? -diff : diff;
  ------------------
  |  Branch (3620:16): [True: 0, False: 182]
  ------------------
 3621|    182|    }
 3622|    211|    return sign;
 3623|    383|}
longobject.c:long_divrem:
 3219|      2|{
 3220|      2|    Py_ssize_t size_a = _PyLong_DigitCount(a), size_b = _PyLong_DigitCount(b);
 3221|      2|    PyLongObject *z;
 3222|       |
 3223|      2|    if (size_b == 0) {
  ------------------
  |  Branch (3223:9): [True: 0, False: 2]
  ------------------
 3224|      0|        PyErr_SetString(PyExc_ZeroDivisionError, "division by zero");
 3225|      0|        return -1;
 3226|      0|    }
 3227|      2|    if (size_a < size_b ||
  ------------------
  |  Branch (3227:9): [True: 0, False: 2]
  ------------------
 3228|      2|        (size_a == size_b &&
  ------------------
  |  Branch (3228:10): [True: 0, False: 2]
  ------------------
 3229|      0|         a->long_value.ob_digit[size_a-1] < b->long_value.ob_digit[size_b-1])) {
  ------------------
  |  Branch (3229:10): [True: 0, False: 0]
  ------------------
 3230|       |        /* |a| < |b|. */
 3231|      0|        *prem = (PyLongObject *)long_long((PyObject *)a);
 3232|      0|        if (*prem == NULL) {
  ------------------
  |  Branch (3232:13): [True: 0, False: 0]
  ------------------
 3233|      0|            return -1;
 3234|      0|        }
 3235|      0|        *pdiv = (PyLongObject*)_PyLong_GetZero();
 3236|      0|        return 0;
 3237|      0|    }
 3238|      2|    if (size_b == 1) {
  ------------------
  |  Branch (3238:9): [True: 2, False: 0]
  ------------------
 3239|      2|        digit rem = 0;
 3240|      2|        z = divrem1(a, b->long_value.ob_digit[0], &rem);
 3241|      2|        if (z == NULL)
  ------------------
  |  Branch (3241:13): [True: 0, False: 2]
  ------------------
 3242|      0|            return -1;
 3243|      2|        *prem = (PyLongObject *) PyLong_FromLong((long)rem);
 3244|      2|        if (*prem == NULL) {
  ------------------
  |  Branch (3244:13): [True: 0, False: 2]
  ------------------
 3245|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3246|      0|            return -1;
 3247|      0|        }
 3248|      2|    }
 3249|      0|    else {
 3250|      0|        z = x_divrem(a, b, prem);
 3251|      0|        *prem = maybe_small_long(*prem);
 3252|      0|        if (z == NULL)
  ------------------
  |  Branch (3252:13): [True: 0, False: 0]
  ------------------
 3253|      0|            return -1;
 3254|      0|    }
 3255|       |    /* Set the signs.
 3256|       |       The quotient z has the sign of a*b;
 3257|       |       the remainder r has the sign of a,
 3258|       |       so a = b*z + r. */
 3259|      2|    if ((_PyLong_IsNegative(a)) != (_PyLong_IsNegative(b))) {
  ------------------
  |  Branch (3259:9): [True: 0, False: 2]
  ------------------
 3260|      0|        _PyLong_Negate(&z);
 3261|      0|        if (z == NULL) {
  ------------------
  |  Branch (3261:13): [True: 0, False: 0]
  ------------------
 3262|      0|            Py_CLEAR(*prem);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3263|      0|            return -1;
 3264|      0|        }
 3265|      0|    }
 3266|      2|    if (_PyLong_IsNegative(a) && !_PyLong_IsZero(*prem)) {
  ------------------
  |  Branch (3266:9): [True: 0, False: 2]
  |  Branch (3266:34): [True: 0, False: 0]
  ------------------
 3267|      0|        _PyLong_Negate(prem);
 3268|      0|        if (*prem == NULL) {
  ------------------
  |  Branch (3268:13): [True: 0, False: 0]
  ------------------
 3269|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3270|      0|            Py_CLEAR(*prem);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3271|      0|            return -1;
 3272|      0|        }
 3273|      0|    }
 3274|      2|    *pdiv = maybe_small_long(z);
 3275|      2|    return 0;
 3276|      2|}
longobject.c:divrem1:
 1983|      2|{
 1984|      2|    const Py_ssize_t size = _PyLong_DigitCount(a);
 1985|      2|    PyLongObject *z;
 1986|       |
 1987|      2|    assert(n > 0 && n <= PyLong_MASK);
  ------------------
  |  Branch (1987:5): [True: 2, False: 0]
  |  Branch (1987:5): [True: 2, False: 0]
  ------------------
 1988|      2|    z = long_alloc(size);
 1989|      2|    if (z == NULL)
  ------------------
  |  Branch (1989:9): [True: 0, False: 2]
  ------------------
 1990|      0|        return NULL;
 1991|      2|    *prem = inplace_divrem1(z->long_value.ob_digit, a->long_value.ob_digit, size, n);
 1992|      2|    return long_normalize(z);
 1993|      2|}
longobject.c:inplace_divrem1:
 1961|      2|{
 1962|      2|    digit remainder = 0;
 1963|       |
 1964|      2|    assert(n > 0 && n <= PyLong_MASK);
  ------------------
  |  Branch (1964:5): [True: 2, False: 0]
  |  Branch (1964:5): [True: 2, False: 0]
  ------------------
 1965|     70|    while (--size >= 0) {
  ------------------
  |  Branch (1965:12): [True: 68, False: 2]
  ------------------
 1966|     68|        twodigits dividend;
 1967|     68|        dividend = ((twodigits)remainder << PyLong_SHIFT) | pin[size];
  ------------------
  |  |   47|     68|#define PyLong_SHIFT    30
  ------------------
 1968|     68|        digit quotient;
 1969|     68|        quotient = (digit)(dividend / n);
 1970|     68|        remainder = dividend % n;
 1971|     68|        pout[size] = quotient;
 1972|     68|    }
 1973|      2|    return remainder;
 1974|      2|}
longobject.c:long_neg:
 5270|      3|{
 5271|      3|    if (_PyLong_IsCompact(v)) {
  ------------------
  |  Branch (5271:9): [True: 3, False: 0]
  ------------------
 5272|      3|        return _PyLong_FromSTwoDigits(-medium_value(v));
  ------------------
  |  |   27|      3|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 5273|      3|    }
 5274|       |
 5275|      0|    PyLongObject *z = (PyLongObject *)_PyLong_Copy(v);
 5276|      0|    if (z != NULL) {
  ------------------
  |  Branch (5276:9): [True: 0, False: 0]
  ------------------
 5277|      0|        _PyLong_FlipSign(z);
 5278|      0|    }
 5279|      0|    return z;
 5280|      3|}
longobject.c:long_sub:
 3887|     21|{
 3888|     21|    if (_PyLong_BothAreCompact(a, b)) {
  ------------------
  |  Branch (3888:9): [True: 16, False: 5]
  ------------------
 3889|     16|        return _PyLong_FromSTwoDigits(medium_value(a) - medium_value(b));
  ------------------
  |  |   27|     16|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                      return _PyLong_FromSTwoDigits(medium_value(a) - medium_value(b));
  ------------------
  |  |   27|     16|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 3890|     16|    }
 3891|       |
 3892|      5|    PyLongObject *z;
 3893|      5|    if (_PyLong_IsNegative(a)) {
  ------------------
  |  Branch (3893:9): [True: 0, False: 5]
  ------------------
 3894|      0|        if (_PyLong_IsNegative(b)) {
  ------------------
  |  Branch (3894:13): [True: 0, False: 0]
  ------------------
 3895|      0|            z = x_sub(b, a);
 3896|      0|        }
 3897|      0|        else {
 3898|      0|            z = x_add(a, b);
 3899|      0|            if (z != NULL) {
  ------------------
  |  Branch (3899:17): [True: 0, False: 0]
  ------------------
 3900|      0|                assert(_PyLong_IsZero(z) || Py_REFCNT(z) == 1);
  ------------------
  |  Branch (3900:17): [True: 0, False: 0]
  |  Branch (3900:17): [True: 0, False: 0]
  ------------------
 3901|      0|                _PyLong_FlipSign(z);
 3902|      0|            }
 3903|      0|        }
 3904|      0|    }
 3905|      5|    else {
 3906|      5|        if (_PyLong_IsNegative(b))
  ------------------
  |  Branch (3906:13): [True: 0, False: 5]
  ------------------
 3907|      0|            z = x_add(a, b);
 3908|      5|        else
 3909|      5|            z = x_sub(a, b);
 3910|      5|    }
 3911|      5|    return z;
 3912|      5|}
longobject.c:x_sub:
 3784|      5|{
 3785|      5|    Py_ssize_t size_a = _PyLong_DigitCount(a), size_b = _PyLong_DigitCount(b);
 3786|      5|    PyLongObject *z;
 3787|      5|    Py_ssize_t i;
 3788|      5|    int sign = 1;
 3789|      5|    digit borrow = 0;
 3790|       |
 3791|       |    /* Ensure a is the larger of the two: */
 3792|      5|    if (size_a < size_b) {
  ------------------
  |  Branch (3792:9): [True: 0, False: 5]
  ------------------
 3793|      0|        sign = -1;
 3794|      0|        { PyLongObject *temp = a; a = b; b = temp; }
 3795|      0|        { Py_ssize_t size_temp = size_a;
 3796|      0|            size_a = size_b;
 3797|      0|            size_b = size_temp; }
 3798|      0|    }
 3799|      5|    else if (size_a == size_b) {
  ------------------
  |  Branch (3799:14): [True: 0, False: 5]
  ------------------
 3800|       |        /* Find highest digit where a and b differ: */
 3801|      0|        i = size_a;
 3802|      0|        while (--i >= 0 && a->long_value.ob_digit[i] == b->long_value.ob_digit[i])
  ------------------
  |  Branch (3802:16): [True: 0, False: 0]
  |  Branch (3802:28): [True: 0, False: 0]
  ------------------
 3803|      0|            ;
 3804|      0|        if (i < 0)
  ------------------
  |  Branch (3804:13): [True: 0, False: 0]
  ------------------
 3805|      0|            return (PyLongObject *)PyLong_FromLong(0);
 3806|      0|        if (a->long_value.ob_digit[i] < b->long_value.ob_digit[i]) {
  ------------------
  |  Branch (3806:13): [True: 0, False: 0]
  ------------------
 3807|      0|            sign = -1;
 3808|      0|            { PyLongObject *temp = a; a = b; b = temp; }
 3809|      0|        }
 3810|      0|        size_a = size_b = i+1;
 3811|      0|    }
 3812|      5|    z = long_alloc(size_a);
 3813|      5|    if (z == NULL)
  ------------------
  |  Branch (3813:9): [True: 0, False: 5]
  ------------------
 3814|      0|        return NULL;
 3815|      8|    for (i = 0; i < size_b; ++i) {
  ------------------
  |  Branch (3815:17): [True: 3, False: 5]
  ------------------
 3816|       |        /* The following assumes unsigned arithmetic
 3817|       |           works module 2**N for some N>PyLong_SHIFT. */
 3818|      3|        borrow = a->long_value.ob_digit[i] - b->long_value.ob_digit[i] - borrow;
 3819|      3|        z->long_value.ob_digit[i] = borrow & 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
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3820|      3|        borrow >>= PyLong_SHIFT;
  ------------------
  |  |   47|      3|#define PyLong_SHIFT    30
  ------------------
 3821|      3|        borrow &= 1; /* Keep only one sign bit */
 3822|      3|    }
 3823|    140|    for (; i < size_a; ++i) {
  ------------------
  |  Branch (3823:12): [True: 135, False: 5]
  ------------------
 3824|    135|        borrow = a->long_value.ob_digit[i] - borrow;
 3825|    135|        z->long_value.ob_digit[i] = borrow & PyLong_MASK;
  ------------------
  |  |   62|    135|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|    135|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|    135|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3826|    135|        borrow >>= PyLong_SHIFT;
  ------------------
  |  |   47|    135|#define PyLong_SHIFT    30
  ------------------
 3827|    135|        borrow &= 1; /* Keep only one sign bit */
 3828|    135|    }
 3829|      5|    assert(borrow == 0);
  ------------------
  |  Branch (3829:5): [True: 5, False: 0]
  ------------------
 3830|      5|    if (sign < 0) {
  ------------------
  |  Branch (3830:9): [True: 0, False: 5]
  ------------------
 3831|      0|        _PyLong_FlipSign(z);
 3832|      0|    }
 3833|      5|    return maybe_small_long(long_normalize(z));
 3834|      5|}
longobject.c:x_add:
 3750|     12|{
 3751|     12|    Py_ssize_t size_a = _PyLong_DigitCount(a), size_b = _PyLong_DigitCount(b);
 3752|     12|    PyLongObject *z;
 3753|     12|    Py_ssize_t i;
 3754|     12|    digit carry = 0;
 3755|       |
 3756|       |    /* Ensure a is the larger of the two: */
 3757|     12|    if (size_a < size_b) {
  ------------------
  |  Branch (3757:9): [True: 0, False: 12]
  ------------------
 3758|      0|        { PyLongObject *temp = a; a = b; b = temp; }
 3759|      0|        { Py_ssize_t size_temp = size_a;
 3760|      0|            size_a = size_b;
 3761|      0|            size_b = size_temp; }
 3762|      0|    }
 3763|     12|    z = long_alloc(size_a+1);
 3764|     12|    if (z == NULL)
  ------------------
  |  Branch (3764:9): [True: 0, False: 12]
  ------------------
 3765|      0|        return NULL;
 3766|     26|    for (i = 0; i < size_b; ++i) {
  ------------------
  |  Branch (3766:17): [True: 14, False: 12]
  ------------------
 3767|     14|        carry += a->long_value.ob_digit[i] + b->long_value.ob_digit[i];
 3768|     14|        z->long_value.ob_digit[i] = carry & PyLong_MASK;
  ------------------
  |  |   62|     14|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|     14|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|     14|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3769|     14|        carry >>= PyLong_SHIFT;
  ------------------
  |  |   47|     14|#define PyLong_SHIFT    30
  ------------------
 3770|     14|    }
 3771|     96|    for (; i < size_a; ++i) {
  ------------------
  |  Branch (3771:12): [True: 84, False: 12]
  ------------------
 3772|     84|        carry += a->long_value.ob_digit[i];
 3773|     84|        z->long_value.ob_digit[i] = carry & 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
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3774|     84|        carry >>= PyLong_SHIFT;
  ------------------
  |  |   47|     84|#define PyLong_SHIFT    30
  ------------------
 3775|     84|    }
 3776|     12|    z->long_value.ob_digit[i] = carry;
 3777|     12|    return long_normalize(z);
 3778|     12|}
longobject.c:long_add:
 3838|     50|{
 3839|     50|    if (_PyLong_BothAreCompact(a, b)) {
  ------------------
  |  Branch (3839:9): [True: 38, False: 12]
  ------------------
 3840|     38|        stwodigits z = medium_value(a) + medium_value(b);
  ------------------
  |  |   27|     38|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                      stwodigits z = medium_value(a) + medium_value(b);
  ------------------
  |  |   27|     38|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 3841|     38|        return _PyLong_FromSTwoDigits(z);
 3842|     38|    }
 3843|       |
 3844|     12|    PyLongObject *z;
 3845|     12|    if (_PyLong_IsNegative(a)) {
  ------------------
  |  Branch (3845:9): [True: 0, False: 12]
  ------------------
 3846|      0|        if (_PyLong_IsNegative(b)) {
  ------------------
  |  Branch (3846:13): [True: 0, False: 0]
  ------------------
 3847|      0|            z = x_add(a, b);
 3848|      0|            if (z != NULL) {
  ------------------
  |  Branch (3848:17): [True: 0, False: 0]
  ------------------
 3849|       |                /* x_add received at least one multiple-digit int,
 3850|       |                   and thus z must be a multiple-digit int.
 3851|       |                   That also means z is not an element of
 3852|       |                   small_ints, so negating it in-place is safe. */
 3853|      0|                assert(Py_REFCNT(z) == 1);
  ------------------
  |  Branch (3853:17): [True: 0, False: 0]
  ------------------
 3854|      0|                _PyLong_FlipSign(z);
 3855|      0|            }
 3856|      0|        }
 3857|      0|        else
 3858|      0|            z = x_sub(b, a);
 3859|      0|    }
 3860|     12|    else {
 3861|     12|        if (_PyLong_IsNegative(b))
  ------------------
  |  Branch (3861:13): [True: 0, False: 12]
  ------------------
 3862|      0|            z = x_sub(a, b);
 3863|     12|        else
 3864|     12|            z = x_add(a, b);
 3865|     12|    }
 3866|     12|    return z;
 3867|     12|}
longobject.c:long_dealloc:
 3655|  1.87k|{
 3656|  1.87k|    if (_PyLong_IsSmallInt((PyLongObject *)self)) {
  ------------------
  |  Branch (3656:9): [True: 0, False: 1.87k]
  ------------------
 3657|       |        /* This should never get called, but we also don't want to SEGV if
 3658|       |         * we accidentally decref small Ints out of existence. Instead,
 3659|       |         * since small Ints are immortal, re-set the reference count.
 3660|       |         *
 3661|       |         * See PEP 683, section Accidental De-Immortalizing for details
 3662|       |         */
 3663|      0|        _Py_SetImmortal(self);
 3664|      0|        return;
 3665|      0|    }
 3666|  1.87k|    if (PyLong_CheckExact(self) && _PyLong_IsCompact((PyLongObject *)self)) {
  ------------------
  |  |   14|  1.87k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  3.74k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.87k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.87k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.86k, False: 7]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3666:36): [True: 809, False: 1.05k]
  ------------------
 3667|    809|        _Py_FREELIST_FREE(ints, self, PyObject_Free);
  ------------------
  |  |   35|    809|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|    809|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    809|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|    809|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   20|    809|#  define Py_ints_MAXFREELIST 100
  |  |  ------------------
  ------------------
 3668|    809|        return;
 3669|    809|    }
 3670|  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3671|  1.06k|}
longobject.c:long_to_decimal_string:
 2322|     70|{
 2323|     70|    PyObject *v;
 2324|     70|    if (long_to_decimal_string_internal(aa, &v, NULL, NULL, NULL) == -1)
  ------------------
  |  Branch (2324:9): [True: 0, False: 70]
  ------------------
 2325|      0|        return NULL;
 2326|     70|    return v;
 2327|     70|}
longobject.c:long_add_method:
 3879|     50|{
 3880|     50|    CHECK_BINOP(a, b);
  ------------------
  |  | 1844|     50|    do {                                                \
  |  | 1845|     50|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|     50|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    100|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|     50|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|     50|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 0, False: 50]
  |  |  |  Branch (1845:33): [True: 0, False: 50]
  |  |  ------------------
  |  | 1846|     50|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|     50|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 50]
  |  |  ------------------
  ------------------
 3881|     50|    return (PyObject*)long_add((PyLongObject*)a, (PyLongObject*)b);
 3882|     50|}
longobject.c:long_sub_method:
 3924|     21|{
 3925|     21|    CHECK_BINOP(a, b);
  ------------------
  |  | 1844|     21|    do {                                                \
  |  | 1845|     21|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|     21|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|     42|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|     21|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|     21|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 0, False: 21]
  |  |  |  Branch (1845:33): [True: 0, False: 21]
  |  |  ------------------
  |  | 1846|     21|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|     21|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 21]
  |  |  ------------------
  ------------------
 3926|     21|    return (PyObject*)long_sub((PyLongObject*)a, (PyLongObject*)b);
 3927|     21|}
longobject.c:long_mul_method:
 4371|     17|{
 4372|     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]
  |  |  ------------------
  ------------------
 4373|     11|    return (PyObject*)long_mul((PyLongObject*)a, (PyLongObject*)b);
 4374|     17|}
longobject.c:long_mul:
 4344|     15|{
 4345|       |    /* fast path for single-digit multiplication */
 4346|     15|    if (_PyLong_BothAreCompact(a, b)) {
  ------------------
  |  Branch (4346:9): [True: 15, False: 0]
  ------------------
 4347|     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))
  ------------------
 4348|     15|        return _PyLong_FromSTwoDigits(v);
 4349|     15|    }
 4350|       |
 4351|      0|    PyLongObject *z = k_mul(a, b);
 4352|       |    /* Negate if exactly one of the inputs is negative. */
 4353|      0|    if (!_PyLong_SameSign(a, b) && z) {
  ------------------
  |  Branch (4353:9): [True: 0, False: 0]
  |  Branch (4353:36): [True: 0, False: 0]
  ------------------
 4354|      0|        _PyLong_Negate(&z);
 4355|      0|    }
 4356|      0|    return z;
 4357|     15|}
longobject.c:l_divmod:
 4484|      2|{
 4485|      2|    PyLongObject *div, *mod;
 4486|       |
 4487|      2|    if (_PyLong_DigitCount(v) == 1 && _PyLong_DigitCount(w) == 1) {
  ------------------
  |  Branch (4487:9): [True: 0, False: 2]
  |  Branch (4487:39): [True: 0, False: 0]
  ------------------
 4488|       |        /* Fast path for single-digit longs */
 4489|      0|        div = NULL;
 4490|      0|        if (pdiv != NULL) {
  ------------------
  |  Branch (4490:13): [True: 0, False: 0]
  ------------------
 4491|      0|            div = (PyLongObject *)fast_floor_div(v, w);
 4492|      0|            if (div == NULL) {
  ------------------
  |  Branch (4492:17): [True: 0, False: 0]
  ------------------
 4493|      0|                return -1;
 4494|      0|            }
 4495|      0|        }
 4496|      0|        if (pmod != NULL) {
  ------------------
  |  Branch (4496:13): [True: 0, False: 0]
  ------------------
 4497|      0|            mod = (PyLongObject *)fast_mod(v, w);
 4498|      0|            if (mod == NULL) {
  ------------------
  |  Branch (4498:17): [True: 0, False: 0]
  ------------------
 4499|      0|                Py_XDECREF(div);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4500|      0|                return -1;
 4501|      0|            }
 4502|      0|            *pmod = mod;
 4503|      0|        }
 4504|      0|        if (pdiv != NULL) {
  ------------------
  |  Branch (4504:13): [True: 0, False: 0]
  ------------------
 4505|       |            /* We only want to set `*pdiv` when `*pmod` is
 4506|       |               set successfully. */
 4507|      0|            *pdiv = div;
 4508|      0|        }
 4509|      0|        return 0;
 4510|      0|    }
 4511|      2|#if WITH_PYLONG_MODULE
 4512|      2|    Py_ssize_t size_v = _PyLong_DigitCount(v); /* digits in numerator */
 4513|      2|    Py_ssize_t size_w = _PyLong_DigitCount(w); /* digits in denominator */
 4514|      2|    if (size_w > 300 && (size_v - size_w) > 150) {
  ------------------
  |  Branch (4514:9): [True: 0, False: 2]
  |  Branch (4514:25): [True: 0, False: 0]
  ------------------
 4515|       |        /* Switch to _pylong.int_divmod().  If the quotient is small then
 4516|       |          "schoolbook" division is linear-time so don't use in that case.
 4517|       |          These limits are empirically determined and should be slightly
 4518|       |          conservative so that _pylong is used in cases it is likely
 4519|       |          to be faster. See Tools/scripts/divmod_threshold.py. */
 4520|      0|        return pylong_int_divmod(v, w, pdiv, pmod);
 4521|      0|    }
 4522|      2|#endif
 4523|      2|    if (long_divrem(v, w, &div, &mod) < 0)
  ------------------
  |  Branch (4523:9): [True: 0, False: 2]
  ------------------
 4524|      0|        return -1;
 4525|      2|    if ((_PyLong_IsNegative(mod) && _PyLong_IsPositive(w)) ||
  ------------------
  |  Branch (4525:10): [True: 0, False: 2]
  |  Branch (4525:37): [True: 0, False: 0]
  ------------------
 4526|      2|        (_PyLong_IsPositive(mod) && _PyLong_IsNegative(w))) {
  ------------------
  |  Branch (4526:10): [True: 0, False: 2]
  |  Branch (4526:37): [True: 0, False: 0]
  ------------------
 4527|      0|        PyLongObject *temp;
 4528|      0|        temp = long_add(mod, w);
 4529|      0|        Py_SETREF(mod, temp);
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4530|      0|        if (mod == NULL) {
  ------------------
  |  Branch (4530:13): [True: 0, False: 0]
  ------------------
 4531|      0|            Py_DECREF(div);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4532|      0|            return -1;
 4533|      0|        }
 4534|      0|        temp = long_sub(div, (PyLongObject *)_PyLong_GetOne());
 4535|      0|        if (temp == NULL) {
  ------------------
  |  Branch (4535:13): [True: 0, False: 0]
  ------------------
 4536|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4537|      0|            Py_DECREF(div);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4538|      0|            return -1;
 4539|      0|        }
 4540|      0|        Py_SETREF(div, temp);
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4541|      0|    }
 4542|      2|    if (pdiv != NULL)
  ------------------
  |  Branch (4542:9): [True: 2, False: 0]
  ------------------
 4543|      2|        *pdiv = div;
 4544|      0|    else
 4545|      0|        Py_DECREF(div);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4546|       |
 4547|      2|    if (pmod != NULL)
  ------------------
  |  Branch (4547:9): [True: 0, False: 2]
  ------------------
 4548|      0|        *pmod = mod;
 4549|      2|    else
 4550|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4551|       |
 4552|      2|    return 0;
 4553|      2|}
longobject.c:long_pow:
 4971|      1|{
 4972|      1|    PyLongObject *a, *b, *c; /* a,b,c = v,w,x */
 4973|      1|    int negativeOutput = 0;  /* if x<0 return negative output */
 4974|       |
 4975|      1|    PyLongObject *z = NULL;  /* accumulated result */
 4976|      1|    Py_ssize_t i, j;             /* counters */
 4977|      1|    PyLongObject *temp = NULL;
 4978|      1|    PyLongObject *a2 = NULL; /* may temporarily hold a**2 % c */
 4979|       |
 4980|       |    /* k-ary values.  If the exponent is large enough, table is
 4981|       |     * precomputed so that table[i] == a**(2*i+1) % c for i in
 4982|       |     * range(EXP_TABLE_LEN).
 4983|       |     * Note: this is uninitialized stack trash: don't pay to set it to known
 4984|       |     * values unless it's needed. Instead ensure that num_table_entries is
 4985|       |     * set to the number of entries actually filled whenever a branch to the
 4986|       |     * Error or Done labels is possible.
 4987|       |     */
 4988|      1|    PyLongObject *table[EXP_TABLE_LEN];
 4989|      1|    Py_ssize_t num_table_entries = 0;
 4990|       |
 4991|       |    /* a, b, c = v, w, x */
 4992|      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]
  |  |  ------------------
  ------------------
 4993|      1|    a = (PyLongObject*)Py_NewRef(v);
  ------------------
  |  |  550|      1|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4994|      1|    b = (PyLongObject*)Py_NewRef(w);
  ------------------
  |  |  550|      1|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4995|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4996|      0|        c = (PyLongObject *)Py_NewRef(x);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4997|      0|    }
 4998|      1|    else if (x == Py_None)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (4998:14): [True: 1, False: 0]
  ------------------
 4999|      1|        c = NULL;
 5000|      0|    else {
 5001|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5002|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5003|      0|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 5004|      0|    }
 5005|       |
 5006|      1|    if (_PyLong_IsNegative(b) && c == NULL) {
  ------------------
  |  Branch (5006:9): [True: 0, False: 1]
  |  Branch (5006:34): [True: 0, False: 0]
  ------------------
 5007|       |        /* if exponent is negative and there's no modulus:
 5008|       |               return a float.  This works because we know
 5009|       |               that this calls float_pow() which converts its
 5010|       |               arguments to double. */
 5011|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5012|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5013|      0|        return PyFloat_Type.tp_as_number->nb_power(v, w, x);
 5014|      0|    }
 5015|       |
 5016|      1|    if (c) {
  ------------------
  |  Branch (5016:9): [True: 0, False: 1]
  ------------------
 5017|       |        /* if modulus == 0:
 5018|       |               raise ValueError() */
 5019|      0|        if (_PyLong_IsZero(c)) {
  ------------------
  |  Branch (5019:13): [True: 0, False: 0]
  ------------------
 5020|      0|            PyErr_SetString(PyExc_ValueError,
 5021|      0|                            "pow() 3rd argument cannot be 0");
 5022|      0|            goto Error;
 5023|      0|        }
 5024|       |
 5025|       |        /* if modulus < 0:
 5026|       |               negativeOutput = True
 5027|       |               modulus = -modulus */
 5028|      0|        if (_PyLong_IsNegative(c)) {
  ------------------
  |  Branch (5028:13): [True: 0, False: 0]
  ------------------
 5029|      0|            negativeOutput = 1;
 5030|      0|            temp = (PyLongObject *)_PyLong_Copy(c);
 5031|      0|            if (temp == NULL)
  ------------------
  |  Branch (5031:17): [True: 0, False: 0]
  ------------------
 5032|      0|                goto Error;
 5033|      0|            Py_SETREF(c, temp);
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5034|      0|            temp = NULL;
 5035|      0|            _PyLong_Negate(&c);
 5036|      0|            if (c == NULL)
  ------------------
  |  Branch (5036:17): [True: 0, False: 0]
  ------------------
 5037|      0|                goto Error;
 5038|      0|        }
 5039|       |
 5040|       |        /* if modulus == 1:
 5041|       |               return 0 */
 5042|      0|        if (_PyLong_IsNonNegativeCompact(c) && (c->long_value.ob_digit[0] == 1)) {
  ------------------
  |  Branch (5042:13): [True: 0, False: 0]
  |  Branch (5042:48): [True: 0, False: 0]
  ------------------
 5043|      0|            z = (PyLongObject *)PyLong_FromLong(0L);
 5044|      0|            goto Done;
 5045|      0|        }
 5046|       |
 5047|       |        /* if exponent is negative, negate the exponent and
 5048|       |           replace the base with a modular inverse */
 5049|      0|        if (_PyLong_IsNegative(b)) {
  ------------------
  |  Branch (5049:13): [True: 0, False: 0]
  ------------------
 5050|      0|            temp = (PyLongObject *)_PyLong_Copy(b);
 5051|      0|            if (temp == NULL)
  ------------------
  |  Branch (5051:17): [True: 0, False: 0]
  ------------------
 5052|      0|                goto Error;
 5053|      0|            Py_SETREF(b, temp);
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5054|      0|            temp = NULL;
 5055|      0|            _PyLong_Negate(&b);
 5056|      0|            if (b == NULL)
  ------------------
  |  Branch (5056:17): [True: 0, False: 0]
  ------------------
 5057|      0|                goto Error;
 5058|       |
 5059|      0|            temp = long_invmod(a, c);
 5060|      0|            if (temp == NULL)
  ------------------
  |  Branch (5060:17): [True: 0, False: 0]
  ------------------
 5061|      0|                goto Error;
 5062|      0|            Py_SETREF(a, temp);
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5063|      0|            temp = NULL;
 5064|      0|        }
 5065|       |
 5066|       |        /* Reduce base by modulus in some cases:
 5067|       |           1. If base < 0.  Forcing the base non-negative makes things easier.
 5068|       |           2. If base is obviously larger than the modulus.  The "small
 5069|       |              exponent" case later can multiply directly by base repeatedly,
 5070|       |              while the "large exponent" case multiplies directly by base 31
 5071|       |              times.  It can be unboundedly faster to multiply by
 5072|       |              base % modulus instead.
 5073|       |           We could _always_ do this reduction, but l_mod() isn't cheap,
 5074|       |           so we only do it when it buys something. */
 5075|      0|        if (_PyLong_IsNegative(a) || _PyLong_DigitCount(a) > _PyLong_DigitCount(c)) {
  ------------------
  |  Branch (5075:13): [True: 0, False: 0]
  |  Branch (5075:38): [True: 0, False: 0]
  ------------------
 5076|      0|            if (l_mod(a, c, &temp) < 0)
  ------------------
  |  Branch (5076:17): [True: 0, False: 0]
  ------------------
 5077|      0|                goto Error;
 5078|      0|            Py_SETREF(a, temp);
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5079|      0|            temp = NULL;
 5080|      0|        }
 5081|      0|    }
 5082|       |
 5083|       |    /* At this point a, b, and c are guaranteed non-negative UNLESS
 5084|       |       c is NULL, in which case a may be negative. */
 5085|       |
 5086|      1|    z = (PyLongObject *)PyLong_FromLong(1L);
 5087|      1|    if (z == NULL)
  ------------------
  |  Branch (5087:9): [True: 0, False: 1]
  ------------------
 5088|      0|        goto Error;
 5089|       |
 5090|       |    /* Perform a modular reduction, X = X % c, but leave X alone if c
 5091|       |     * is NULL.
 5092|       |     */
 5093|      1|#define REDUCE(X)                                       \
 5094|      1|    do {                                                \
 5095|      1|        if (c != NULL) {                                \
 5096|      1|            if (l_mod(X, c, &temp) < 0)                 \
 5097|      1|                goto Error;                             \
 5098|      1|            Py_XDECREF(X);                              \
 5099|      1|            X = temp;                                   \
 5100|      1|            temp = NULL;                                \
 5101|      1|        }                                               \
 5102|      1|    } while(0)
 5103|       |
 5104|       |    /* Multiply two values, then reduce the result:
 5105|       |       result = X*Y % c.  If c is NULL, skip the mod. */
 5106|      1|#define MULT(X, Y, result)                      \
 5107|      1|    do {                                        \
 5108|      1|        temp = (PyLongObject *)long_mul(X, Y);  \
 5109|      1|        if (temp == NULL)                       \
 5110|      1|            goto Error;                         \
 5111|      1|        Py_XDECREF(result);                     \
 5112|      1|        result = temp;                          \
 5113|      1|        temp = NULL;                            \
 5114|      1|        REDUCE(result);                         \
 5115|      1|    } while(0)
 5116|       |
 5117|      1|    i = _PyLong_SignedDigitCount(b);
 5118|      1|    digit bi = i ? b->long_value.ob_digit[i-1] : 0;
  ------------------
  |  Branch (5118:16): [True: 1, False: 0]
  ------------------
 5119|      1|    digit bit;
 5120|      1|    if (i <= 1 && bi <= 3) {
  ------------------
  |  Branch (5120:9): [True: 1, False: 0]
  |  Branch (5120:19): [True: 0, False: 1]
  ------------------
 5121|       |        /* aim for minimal overhead */
 5122|      0|        if (bi >= 2) {
  ------------------
  |  Branch (5122:13): [True: 0, False: 0]
  ------------------
 5123|      0|            MULT(a, a, z);
  ------------------
  |  | 5107|      0|    do {                                        \
  |  | 5108|      0|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  | 5109|      0|        if (temp == NULL)                       \
  |  |  ------------------
  |  |  |  Branch (5109:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5110|      0|            goto Error;                         \
  |  | 5111|      0|        Py_XDECREF(result);                     \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5112|      0|        result = temp;                          \
  |  | 5113|      0|        temp = NULL;                            \
  |  | 5114|      0|        REDUCE(result);                         \
  |  |  ------------------
  |  |  |  | 5094|      0|    do {                                                \
  |  |  |  | 5095|      0|        if (c != NULL) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5095:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5096|      0|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5096:17): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5097|      0|                goto Error;                             \
  |  |  |  | 5098|      0|            Py_XDECREF(X);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5099|      0|            X = temp;                                   \
  |  |  |  | 5100|      0|            temp = NULL;                                \
  |  |  |  | 5101|      0|        }                                               \
  |  |  |  | 5102|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5102:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5115|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (5115:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5124|      0|            if (bi == 3) {
  ------------------
  |  Branch (5124:17): [True: 0, False: 0]
  ------------------
 5125|      0|                MULT(z, a, z);
  ------------------
  |  | 5107|      0|    do {                                        \
  |  | 5108|      0|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  | 5109|      0|        if (temp == NULL)                       \
  |  |  ------------------
  |  |  |  Branch (5109:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5110|      0|            goto Error;                         \
  |  | 5111|      0|        Py_XDECREF(result);                     \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5112|      0|        result = temp;                          \
  |  | 5113|      0|        temp = NULL;                            \
  |  | 5114|      0|        REDUCE(result);                         \
  |  |  ------------------
  |  |  |  | 5094|      0|    do {                                                \
  |  |  |  | 5095|      0|        if (c != NULL) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5095:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5096|      0|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5096:17): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5097|      0|                goto Error;                             \
  |  |  |  | 5098|      0|            Py_XDECREF(X);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5099|      0|            X = temp;                                   \
  |  |  |  | 5100|      0|            temp = NULL;                                \
  |  |  |  | 5101|      0|        }                                               \
  |  |  |  | 5102|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5102:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5115|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (5115:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5126|      0|            }
 5127|      0|        }
 5128|      0|        else if (bi == 1) {
  ------------------
  |  Branch (5128:18): [True: 0, False: 0]
  ------------------
 5129|       |            /* Multiplying by 1 serves two purposes: if `a` is of an int
 5130|       |             * subclass, makes the result an int (e.g., pow(False, 1) returns
 5131|       |             * 0 instead of False), and potentially reduces `a` by the modulus.
 5132|       |             */
 5133|      0|            MULT(a, z, z);
  ------------------
  |  | 5107|      0|    do {                                        \
  |  | 5108|      0|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  | 5109|      0|        if (temp == NULL)                       \
  |  |  ------------------
  |  |  |  Branch (5109:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5110|      0|            goto Error;                         \
  |  | 5111|      0|        Py_XDECREF(result);                     \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5112|      0|        result = temp;                          \
  |  | 5113|      0|        temp = NULL;                            \
  |  | 5114|      0|        REDUCE(result);                         \
  |  |  ------------------
  |  |  |  | 5094|      0|    do {                                                \
  |  |  |  | 5095|      0|        if (c != NULL) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5095:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5096|      0|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5096:17): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5097|      0|                goto Error;                             \
  |  |  |  | 5098|      0|            Py_XDECREF(X);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5099|      0|            X = temp;                                   \
  |  |  |  | 5100|      0|            temp = NULL;                                \
  |  |  |  | 5101|      0|        }                                               \
  |  |  |  | 5102|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5102:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5115|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (5115:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5134|      0|        }
 5135|       |        /* else bi is 0, and z==1 is correct */
 5136|      0|    }
 5137|      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 (5137:14): [True: 1, False: 0]
  ------------------
 5138|       |        /* Left-to-right binary exponentiation (HAC Algorithm 14.79) */
 5139|       |        /* https://cacr.uwaterloo.ca/hac/about/chap14.pdf            */
 5140|       |
 5141|       |        /* Find the first significant exponent bit. Search right to left
 5142|       |         * because we're primarily trying to cut overhead for small powers.
 5143|       |         */
 5144|      1|        assert(bi);  /* else there is no significant bit */
  ------------------
  |  Branch (5144:9): [True: 1, False: 0]
  ------------------
 5145|      1|        Py_SETREF(z, (PyLongObject*)Py_NewRef(a));
  ------------------
  |  |  354|      1|    do { \
  |  |  355|      1|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|      1|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      1|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|      1|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      1|        *_tmp_dst_ptr = (src); \
  |  |  358|      1|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 5146|      4|        for (bit = 2; ; bit <<= 1) {
 5147|      4|            if (bit > bi) { /* found the first bit */
  ------------------
  |  Branch (5147:17): [True: 1, False: 3]
  ------------------
 5148|      1|                assert((bi & bit) == 0);
  ------------------
  |  Branch (5148:17): [True: 1, False: 0]
  ------------------
 5149|      1|                bit >>= 1;
 5150|      1|                assert(bi & bit);
  ------------------
  |  Branch (5150:17): [True: 1, False: 0]
  ------------------
 5151|      1|                break;
 5152|      1|            }
 5153|      4|        }
 5154|      1|        for (--i, bit >>= 1;;) {
 5155|      4|            for (; bit != 0; bit >>= 1) {
  ------------------
  |  Branch (5155:20): [True: 3, False: 1]
  ------------------
 5156|      3|                MULT(z, z, z);
  ------------------
  |  | 5107|      3|    do {                                        \
  |  | 5108|      3|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  | 5109|      3|        if (temp == NULL)                       \
  |  |  ------------------
  |  |  |  Branch (5109:13): [True: 0, False: 3]
  |  |  ------------------
  |  | 5110|      3|            goto Error;                         \
  |  | 5111|      3|        Py_XDECREF(result);                     \
  |  |  ------------------
  |  |  |  |  524|      3|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5112|      3|        result = temp;                          \
  |  | 5113|      3|        temp = NULL;                            \
  |  | 5114|      3|        REDUCE(result);                         \
  |  |  ------------------
  |  |  |  | 5094|      3|    do {                                                \
  |  |  |  | 5095|      3|        if (c != NULL) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5095:13): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  | 5096|      0|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5096:17): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5097|      0|                goto Error;                             \
  |  |  |  | 5098|      0|            Py_XDECREF(X);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5099|      0|            X = temp;                                   \
  |  |  |  | 5100|      0|            temp = NULL;                                \
  |  |  |  | 5101|      0|        }                                               \
  |  |  |  | 5102|      3|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5102:13): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5115|      3|    } while(0)
  |  |  ------------------
  |  |  |  Branch (5115:13): [Folded, False: 3]
  |  |  ------------------
  ------------------
 5157|      3|                if (bi & bit) {
  ------------------
  |  Branch (5157:21): [True: 1, False: 2]
  ------------------
 5158|      1|                    MULT(z, a, z);
  ------------------
  |  | 5107|      1|    do {                                        \
  |  | 5108|      1|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  | 5109|      1|        if (temp == NULL)                       \
  |  |  ------------------
  |  |  |  Branch (5109:13): [True: 0, False: 1]
  |  |  ------------------
  |  | 5110|      1|            goto Error;                         \
  |  | 5111|      1|        Py_XDECREF(result);                     \
  |  |  ------------------
  |  |  |  |  524|      1|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5112|      1|        result = temp;                          \
  |  | 5113|      1|        temp = NULL;                            \
  |  | 5114|      1|        REDUCE(result);                         \
  |  |  ------------------
  |  |  |  | 5094|      1|    do {                                                \
  |  |  |  | 5095|      1|        if (c != NULL) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5095:13): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  |  | 5096|      0|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5096:17): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5097|      0|                goto Error;                             \
  |  |  |  | 5098|      0|            Py_XDECREF(X);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5099|      0|            X = temp;                                   \
  |  |  |  | 5100|      0|            temp = NULL;                                \
  |  |  |  | 5101|      0|        }                                               \
  |  |  |  | 5102|      1|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5102:13): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5115|      1|    } while(0)
  |  |  ------------------
  |  |  |  Branch (5115:13): [Folded, False: 1]
  |  |  ------------------
  ------------------
 5159|      1|                }
 5160|      3|            }
 5161|      1|            if (--i < 0) {
  ------------------
  |  Branch (5161:17): [True: 1, False: 0]
  ------------------
 5162|      1|                break;
 5163|      1|            }
 5164|      0|            bi = b->long_value.ob_digit[i];
 5165|      0|            bit = (digit)1 << (PyLong_SHIFT-1);
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
 5166|      0|        }
 5167|      1|    }
 5168|      0|    else {
 5169|       |        /* Left-to-right k-ary sliding window exponentiation
 5170|       |         * (Handbook of Applied Cryptography (HAC) Algorithm 14.85)
 5171|       |         */
 5172|      0|        table[0] = (PyLongObject*)Py_NewRef(a);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5173|      0|        num_table_entries = 1;
 5174|      0|        MULT(a, a, a2);
  ------------------
  |  | 5107|      0|    do {                                        \
  |  | 5108|      0|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  | 5109|      0|        if (temp == NULL)                       \
  |  |  ------------------
  |  |  |  Branch (5109:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5110|      0|            goto Error;                         \
  |  | 5111|      0|        Py_XDECREF(result);                     \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5112|      0|        result = temp;                          \
  |  | 5113|      0|        temp = NULL;                            \
  |  | 5114|      0|        REDUCE(result);                         \
  |  |  ------------------
  |  |  |  | 5094|      0|    do {                                                \
  |  |  |  | 5095|      0|        if (c != NULL) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5095:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5096|      0|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5096:17): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5097|      0|                goto Error;                             \
  |  |  |  | 5098|      0|            Py_XDECREF(X);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5099|      0|            X = temp;                                   \
  |  |  |  | 5100|      0|            temp = NULL;                                \
  |  |  |  | 5101|      0|        }                                               \
  |  |  |  | 5102|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5102:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5115|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (5115:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5175|       |        /* table[i] == a**(2*i + 1) % c */
 5176|      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 (5176:21): [True: 0, False: 0]
  ------------------
 5177|      0|            table[i] = NULL; /* must set to known value for MULT */
 5178|      0|            MULT(table[i-1], a2, table[i]);
  ------------------
  |  | 5107|      0|    do {                                        \
  |  | 5108|      0|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  | 5109|      0|        if (temp == NULL)                       \
  |  |  ------------------
  |  |  |  Branch (5109:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5110|      0|            goto Error;                         \
  |  | 5111|      0|        Py_XDECREF(result);                     \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5112|      0|        result = temp;                          \
  |  | 5113|      0|        temp = NULL;                            \
  |  | 5114|      0|        REDUCE(result);                         \
  |  |  ------------------
  |  |  |  | 5094|      0|    do {                                                \
  |  |  |  | 5095|      0|        if (c != NULL) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5095:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5096|      0|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5096:17): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5097|      0|                goto Error;                             \
  |  |  |  | 5098|      0|            Py_XDECREF(X);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5099|      0|            X = temp;                                   \
  |  |  |  | 5100|      0|            temp = NULL;                                \
  |  |  |  | 5101|      0|        }                                               \
  |  |  |  | 5102|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5102:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5115|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (5115:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5179|      0|            ++num_table_entries; /* incremented iff MULT succeeded */
 5180|      0|        }
 5181|      0|        Py_CLEAR(a2);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5182|       |
 5183|       |        /* Repeatedly extract the next (no more than) EXP_WINDOW_SIZE bits
 5184|       |         * into `pending`, starting with the next 1 bit.  The current bit
 5185|       |         * length of `pending` is `blen`.
 5186|       |         */
 5187|      0|        int pending = 0, blen = 0;
 5188|      0|#define ABSORB_PENDING  do { \
 5189|      0|            int ntz = 0; /* number of trailing zeroes in `pending` */ \
 5190|      0|            assert(pending && blen); \
 5191|      0|            assert(pending >> (blen - 1)); \
 5192|      0|            assert(pending >> blen == 0); \
 5193|      0|            while ((pending & 1) == 0) { \
 5194|      0|                ++ntz; \
 5195|      0|                pending >>= 1; \
 5196|      0|            } \
 5197|      0|            assert(ntz < blen); \
 5198|      0|            blen -= ntz; \
 5199|      0|            do { \
 5200|      0|                MULT(z, z, z); \
 5201|      0|            } while (--blen); \
 5202|      0|            MULT(z, table[pending >> 1], z); \
 5203|      0|            while (ntz-- > 0) \
 5204|      0|                MULT(z, z, z); \
 5205|      0|            assert(blen == 0); \
 5206|      0|            pending = 0; \
 5207|      0|        } while(0)
 5208|       |
 5209|      0|        for (i = _PyLong_SignedDigitCount(b) - 1; i >= 0; --i) {
  ------------------
  |  Branch (5209:51): [True: 0, False: 0]
  ------------------
 5210|      0|            const digit bi = b->long_value.ob_digit[i];
 5211|      0|            for (j = PyLong_SHIFT - 1; j >= 0; --j) {
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
  |  Branch (5211:40): [True: 0, False: 0]
  ------------------
 5212|      0|                const int bit = (bi >> j) & 1;
 5213|      0|                pending = (pending << 1) | bit;
 5214|      0|                if (pending) {
  ------------------
  |  Branch (5214:21): [True: 0, False: 0]
  ------------------
 5215|      0|                    ++blen;
 5216|      0|                    if (blen == EXP_WINDOW_SIZE)
  ------------------
  |  |   93|      0|#define EXP_WINDOW_SIZE 5
  ------------------
  |  Branch (5216:25): [True: 0, False: 0]
  ------------------
 5217|      0|                        ABSORB_PENDING;
  ------------------
  |  | 5188|      0|#define ABSORB_PENDING  do { \
  |  | 5189|      0|            int ntz = 0; /* number of trailing zeroes in `pending` */ \
  |  | 5190|      0|            assert(pending && blen); \
  |  | 5191|      0|            assert(pending >> (blen - 1)); \
  |  | 5192|      0|            assert(pending >> blen == 0); \
  |  | 5193|      0|            while ((pending & 1) == 0) { \
  |  |  ------------------
  |  |  |  Branch (5193:20): [True: 0, False: 0]
  |  |  ------------------
  |  | 5194|      0|                ++ntz; \
  |  | 5195|      0|                pending >>= 1; \
  |  | 5196|      0|            } \
  |  | 5197|      0|            assert(ntz < blen); \
  |  | 5198|      0|            blen -= ntz; \
  |  | 5199|      0|            do { \
  |  | 5200|      0|                MULT(z, z, z); \
  |  |  ------------------
  |  |  |  | 5107|      0|    do {                                        \
  |  |  |  | 5108|      0|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  |  |  | 5109|      0|        if (temp == NULL)                       \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5109:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5110|      0|            goto Error;                         \
  |  |  |  | 5111|      0|        Py_XDECREF(result);                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5112|      0|        result = temp;                          \
  |  |  |  | 5113|      0|        temp = NULL;                            \
  |  |  |  | 5114|      0|        REDUCE(result);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5094|      0|    do {                                                \
  |  |  |  |  |  | 5095|      0|        if (c != NULL) {                                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5095:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5096|      0|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5096:17): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5097|      0|                goto Error;                             \
  |  |  |  |  |  | 5098|      0|            Py_XDECREF(X);                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5099|      0|            X = temp;                                   \
  |  |  |  |  |  | 5100|      0|            temp = NULL;                                \
  |  |  |  |  |  | 5101|      0|        }                                               \
  |  |  |  |  |  | 5102|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5102:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5115|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5115:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5201|      0|            } while (--blen); \
  |  |  ------------------
  |  |  |  Branch (5201:22): [True: 0, False: 0]
  |  |  ------------------
  |  | 5202|      0|            MULT(z, table[pending >> 1], z); \
  |  |  ------------------
  |  |  |  | 5107|      0|    do {                                        \
  |  |  |  | 5108|      0|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  |  |  | 5109|      0|        if (temp == NULL)                       \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5109:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5110|      0|            goto Error;                         \
  |  |  |  | 5111|      0|        Py_XDECREF(result);                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5112|      0|        result = temp;                          \
  |  |  |  | 5113|      0|        temp = NULL;                            \
  |  |  |  | 5114|      0|        REDUCE(result);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5094|      0|    do {                                                \
  |  |  |  |  |  | 5095|      0|        if (c != NULL) {                                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5095:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5096|      0|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5096:17): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5097|      0|                goto Error;                             \
  |  |  |  |  |  | 5098|      0|            Py_XDECREF(X);                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5099|      0|            X = temp;                                   \
  |  |  |  |  |  | 5100|      0|            temp = NULL;                                \
  |  |  |  |  |  | 5101|      0|        }                                               \
  |  |  |  |  |  | 5102|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5102:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5115|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5115:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5203|      0|            while (ntz-- > 0) \
  |  |  ------------------
  |  |  |  Branch (5203:20): [True: 0, False: 0]
  |  |  ------------------
  |  | 5204|      0|                MULT(z, z, z); \
  |  |  ------------------
  |  |  |  | 5107|      0|    do {                                        \
  |  |  |  | 5108|      0|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  |  |  | 5109|      0|        if (temp == NULL)                       \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5109:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5110|      0|            goto Error;                         \
  |  |  |  | 5111|      0|        Py_XDECREF(result);                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5112|      0|        result = temp;                          \
  |  |  |  | 5113|      0|        temp = NULL;                            \
  |  |  |  | 5114|      0|        REDUCE(result);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5094|      0|    do {                                                \
  |  |  |  |  |  | 5095|      0|        if (c != NULL) {                                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5095:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5096|      0|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5096:17): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5097|      0|                goto Error;                             \
  |  |  |  |  |  | 5098|      0|            Py_XDECREF(X);                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5099|      0|            X = temp;                                   \
  |  |  |  |  |  | 5100|      0|            temp = NULL;                                \
  |  |  |  |  |  | 5101|      0|        }                                               \
  |  |  |  |  |  | 5102|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5102:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5115|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5115:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5205|      0|            assert(blen == 0); \
  |  | 5206|      0|            pending = 0; \
  |  | 5207|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (5207:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (5217:25): [True: 0, False: 0]
  |  Branch (5217:25): [True: 0, False: 0]
  |  Branch (5217:25): [True: 0, False: 0]
  |  Branch (5217:25): [True: 0, False: 0]
  |  Branch (5217:25): [True: 0, False: 0]
  |  Branch (5217:25): [True: 0, False: 0]
  ------------------
 5218|      0|                }
 5219|      0|                else /* absorb strings of 0 bits */
 5220|      0|                    MULT(z, z, z);
  ------------------
  |  | 5107|      0|    do {                                        \
  |  | 5108|      0|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  | 5109|      0|        if (temp == NULL)                       \
  |  |  ------------------
  |  |  |  Branch (5109:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5110|      0|            goto Error;                         \
  |  | 5111|      0|        Py_XDECREF(result);                     \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5112|      0|        result = temp;                          \
  |  | 5113|      0|        temp = NULL;                            \
  |  | 5114|      0|        REDUCE(result);                         \
  |  |  ------------------
  |  |  |  | 5094|      0|    do {                                                \
  |  |  |  | 5095|      0|        if (c != NULL) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5095:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5096|      0|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5096:17): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5097|      0|                goto Error;                             \
  |  |  |  | 5098|      0|            Py_XDECREF(X);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5099|      0|            X = temp;                                   \
  |  |  |  | 5100|      0|            temp = NULL;                                \
  |  |  |  | 5101|      0|        }                                               \
  |  |  |  | 5102|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5102:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5115|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (5115:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5221|      0|            }
 5222|      0|        }
 5223|      0|        if (pending)
  ------------------
  |  Branch (5223:13): [True: 0, False: 0]
  ------------------
 5224|      0|            ABSORB_PENDING;
  ------------------
  |  | 5188|      0|#define ABSORB_PENDING  do { \
  |  | 5189|      0|            int ntz = 0; /* number of trailing zeroes in `pending` */ \
  |  | 5190|      0|            assert(pending && blen); \
  |  | 5191|      0|            assert(pending >> (blen - 1)); \
  |  | 5192|      0|            assert(pending >> blen == 0); \
  |  | 5193|      0|            while ((pending & 1) == 0) { \
  |  |  ------------------
  |  |  |  Branch (5193:20): [True: 0, False: 0]
  |  |  ------------------
  |  | 5194|      0|                ++ntz; \
  |  | 5195|      0|                pending >>= 1; \
  |  | 5196|      0|            } \
  |  | 5197|      0|            assert(ntz < blen); \
  |  | 5198|      0|            blen -= ntz; \
  |  | 5199|      0|            do { \
  |  | 5200|      0|                MULT(z, z, z); \
  |  |  ------------------
  |  |  |  | 5107|      0|    do {                                        \
  |  |  |  | 5108|      0|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  |  |  | 5109|      0|        if (temp == NULL)                       \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5109:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5110|      0|            goto Error;                         \
  |  |  |  | 5111|      0|        Py_XDECREF(result);                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5112|      0|        result = temp;                          \
  |  |  |  | 5113|      0|        temp = NULL;                            \
  |  |  |  | 5114|      0|        REDUCE(result);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5094|      0|    do {                                                \
  |  |  |  |  |  | 5095|      0|        if (c != NULL) {                                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5095:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5096|      0|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5096:17): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5097|      0|                goto Error;                             \
  |  |  |  |  |  | 5098|      0|            Py_XDECREF(X);                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5099|      0|            X = temp;                                   \
  |  |  |  |  |  | 5100|      0|            temp = NULL;                                \
  |  |  |  |  |  | 5101|      0|        }                                               \
  |  |  |  |  |  | 5102|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5102:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5115|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5115:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5201|      0|            } while (--blen); \
  |  |  ------------------
  |  |  |  Branch (5201:22): [True: 0, False: 0]
  |  |  ------------------
  |  | 5202|      0|            MULT(z, table[pending >> 1], z); \
  |  |  ------------------
  |  |  |  | 5107|      0|    do {                                        \
  |  |  |  | 5108|      0|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  |  |  | 5109|      0|        if (temp == NULL)                       \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5109:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5110|      0|            goto Error;                         \
  |  |  |  | 5111|      0|        Py_XDECREF(result);                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5112|      0|        result = temp;                          \
  |  |  |  | 5113|      0|        temp = NULL;                            \
  |  |  |  | 5114|      0|        REDUCE(result);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5094|      0|    do {                                                \
  |  |  |  |  |  | 5095|      0|        if (c != NULL) {                                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5095:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5096|      0|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5096:17): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5097|      0|                goto Error;                             \
  |  |  |  |  |  | 5098|      0|            Py_XDECREF(X);                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5099|      0|            X = temp;                                   \
  |  |  |  |  |  | 5100|      0|            temp = NULL;                                \
  |  |  |  |  |  | 5101|      0|        }                                               \
  |  |  |  |  |  | 5102|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5102:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5115|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5115:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5203|      0|            while (ntz-- > 0) \
  |  |  ------------------
  |  |  |  Branch (5203:20): [True: 0, False: 0]
  |  |  ------------------
  |  | 5204|      0|                MULT(z, z, z); \
  |  |  ------------------
  |  |  |  | 5107|      0|    do {                                        \
  |  |  |  | 5108|      0|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  |  |  | 5109|      0|        if (temp == NULL)                       \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5109:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5110|      0|            goto Error;                         \
  |  |  |  | 5111|      0|        Py_XDECREF(result);                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5112|      0|        result = temp;                          \
  |  |  |  | 5113|      0|        temp = NULL;                            \
  |  |  |  | 5114|      0|        REDUCE(result);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5094|      0|    do {                                                \
  |  |  |  |  |  | 5095|      0|        if (c != NULL) {                                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5095:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5096|      0|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5096:17): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5097|      0|                goto Error;                             \
  |  |  |  |  |  | 5098|      0|            Py_XDECREF(X);                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5099|      0|            X = temp;                                   \
  |  |  |  |  |  | 5100|      0|            temp = NULL;                                \
  |  |  |  |  |  | 5101|      0|        }                                               \
  |  |  |  |  |  | 5102|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5102:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5115|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5115:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5205|      0|            assert(blen == 0); \
  |  | 5206|      0|            pending = 0; \
  |  | 5207|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (5207:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (5224:13): [True: 0, False: 0]
  |  Branch (5224:13): [True: 0, False: 0]
  |  Branch (5224:13): [True: 0, False: 0]
  |  Branch (5224:13): [True: 0, False: 0]
  |  Branch (5224:13): [True: 0, False: 0]
  |  Branch (5224:13): [True: 0, False: 0]
  ------------------
 5225|      0|    }
 5226|       |
 5227|      1|    if (negativeOutput && !_PyLong_IsZero(z)) {
  ------------------
  |  Branch (5227:9): [True: 0, False: 1]
  |  Branch (5227:27): [True: 0, False: 0]
  ------------------
 5228|      0|        temp = long_sub(z, c);
 5229|      0|        if (temp == NULL)
  ------------------
  |  Branch (5229:13): [True: 0, False: 0]
  ------------------
 5230|      0|            goto Error;
 5231|      0|        Py_SETREF(z, temp);
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5232|      0|        temp = NULL;
 5233|      0|    }
 5234|      1|    goto Done;
 5235|       |
 5236|      1|  Error:
 5237|      0|    Py_CLEAR(z);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5238|       |    /* fall through */
 5239|      1|  Done:
 5240|      1|    for (i = 0; i < num_table_entries; ++i)
  ------------------
  |  Branch (5240:17): [True: 0, False: 1]
  ------------------
 5241|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5242|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5243|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5244|      1|    Py_XDECREF(c);
  ------------------
  |  |  524|      1|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5245|      1|    Py_XDECREF(a2);
  ------------------
  |  |  524|      1|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5246|      1|    Py_XDECREF(temp);
  ------------------
  |  |  524|      1|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5247|      1|    return (PyObject *)z;
 5248|      0|}
longobject.c:long_neg_method:
 5284|      3|{
 5285|      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 (5285:32): [True: 3, False: 0]
  ------------------
 5286|      3|}
longobject.c:long_bool:
 5305|     48|{
 5306|     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 (5306:28): [True: 48, False: 0]
  ------------------
 5307|     48|}
longobject.c:long_invert:
 5252|      1|{
 5253|      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 (5253:23): [True: 1, False: 0]
  ------------------
 5254|       |
 5255|       |    /* Implement ~x as -(x+1) */
 5256|      1|    if (_PyLong_IsCompact(v))
  ------------------
  |  Branch (5256:9): [True: 1, False: 0]
  ------------------
 5257|      1|        return (PyObject*)_PyLong_FromSTwoDigits(~medium_value(v));
  ------------------
  |  |   27|      1|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 5258|       |
 5259|      0|    PyLongObject *x = long_add(v, (PyLongObject *)_PyLong_GetOne());
 5260|      0|    if (x == NULL)
  ------------------
  |  Branch (5260:9): [True: 0, False: 0]
  ------------------
 5261|      0|        return NULL;
 5262|      0|    _PyLong_Negate(&x);
 5263|       |    /* No need for maybe_small_long here, since any small longs
 5264|       |       will have been caught in the _PyLong_IsCompact() fast path. */
 5265|      0|    return (PyObject *)x;
 5266|      0|}
longobject.c:long_lshift_method:
 5499|      3|{
 5500|      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]
  |  |  ------------------
  ------------------
 5501|      3|    PyLongObject *a = (PyLongObject*)aa;
 5502|      3|    PyLongObject *b = (PyLongObject*)bb;
 5503|       |
 5504|      3|    if (_PyLong_IsNegative(b)) {
  ------------------
  |  Branch (5504:9): [True: 0, False: 3]
  ------------------
 5505|      0|        PyErr_SetString(PyExc_ValueError, "negative shift count");
 5506|      0|        return NULL;
 5507|      0|    }
 5508|      3|    if (_PyLong_IsZero(a)) {
  ------------------
  |  Branch (5508:9): [True: 0, False: 3]
  ------------------
 5509|      0|        return PyLong_FromLong(0);
 5510|      0|    }
 5511|       |
 5512|      3|    int64_t shiftby;
 5513|      3|    if (PyLong_AsInt64(bb, &shiftby) < 0) {
  ------------------
  |  Branch (5513:9): [True: 0, False: 3]
  ------------------
 5514|      0|        if (PyErr_ExceptionMatches(PyExc_OverflowError)) {
  ------------------
  |  Branch (5514:13): [True: 0, False: 0]
  ------------------
 5515|      0|            PyErr_SetString(PyExc_OverflowError,
 5516|      0|                            "too many digits in integer");
 5517|      0|        }
 5518|      0|        return NULL;
 5519|      0|    }
 5520|      3|    return long_lshift_int64(a, shiftby);
 5521|      3|}
longobject.c:long_and:
 5698|     85|{
 5699|     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]
  |  |  ------------------
  ------------------
 5700|     85|    PyLongObject *x = (PyLongObject*)a;
 5701|     85|    PyLongObject *y = (PyLongObject*)b;
 5702|     85|    if (_PyLong_IsCompact(x) && _PyLong_IsCompact(y)) {
  ------------------
  |  Branch (5702:9): [True: 58, False: 27]
  |  Branch (5702:33): [True: 31, False: 27]
  ------------------
 5703|     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))
  ------------------
 5704|     31|    }
 5705|     54|    return long_bitwise(x, '&', y);
 5706|     85|}
longobject.c:long_bitwise:
 5574|     54|{
 5575|     54|    int nega, negb, negz;
 5576|     54|    Py_ssize_t size_a, size_b, size_z, i;
 5577|     54|    PyLongObject *z;
 5578|       |
 5579|     54|    PyLongObject *new_a = NULL;
 5580|     54|    PyLongObject *new_b = NULL;
 5581|       |
 5582|       |    /* Bitwise operations for negative numbers operate as though
 5583|       |       on a two's complement representation.  So convert arguments
 5584|       |       from sign-magnitude to two's complement, and convert the
 5585|       |       result back to sign-magnitude at the end. */
 5586|       |
 5587|     54|    size_a = _PyLong_DigitCount(a);
 5588|     54|    size_b = _PyLong_DigitCount(b);
 5589|       |    /* Swap a and b if necessary to ensure size_a >= size_b. */
 5590|     54|    if (size_a < size_b) {
  ------------------
  |  Branch (5590:9): [True: 27, False: 27]
  ------------------
 5591|     27|        z = a; a = b; b = z;
 5592|     27|        size_z = size_a; size_a = size_b; size_b = size_z;
 5593|     27|    }
 5594|       |
 5595|       |    /* If a is negative, replace it by its two's complement. */
 5596|     54|    nega = _PyLong_IsNegative(a);
 5597|     54|    if (nega) {
  ------------------
  |  Branch (5597:9): [True: 0, False: 54]
  ------------------
 5598|      0|        z = long_alloc(size_a);
 5599|      0|        if (z == NULL)
  ------------------
  |  Branch (5599:13): [True: 0, False: 0]
  ------------------
 5600|      0|            return NULL;
 5601|      0|        v_complement(z->long_value.ob_digit, a->long_value.ob_digit, size_a);
 5602|      0|        new_a = z; // reference to decrement instead of a itself
 5603|      0|        a = z;
 5604|      0|    }
 5605|       |
 5606|       |    /* Same for b. */
 5607|     54|    negb = _PyLong_IsNegative(b);
 5608|     54|    if (negb) {
  ------------------
  |  Branch (5608:9): [True: 0, False: 54]
  ------------------
 5609|      0|        z = long_alloc(size_b);
 5610|      0|        if (z == NULL) {
  ------------------
  |  Branch (5610:13): [True: 0, False: 0]
  ------------------
 5611|      0|            Py_XDECREF(new_a);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5612|      0|            return NULL;
 5613|      0|        }
 5614|      0|        v_complement(z->long_value.ob_digit, b->long_value.ob_digit, size_b);
 5615|      0|        new_b = z; // reference to decrement instead of b itself
 5616|      0|        b = z;
 5617|      0|    }
 5618|       |
 5619|       |    /* JRH: The original logic here was to allocate the result value (z)
 5620|       |       as the longer of the two operands.  However, there are some cases
 5621|       |       where the result is guaranteed to be shorter than that: AND of two
 5622|       |       positives, OR of two negatives: use the shorter number.  AND with
 5623|       |       mixed signs: use the positive number.  OR with mixed signs: use the
 5624|       |       negative number.
 5625|       |    */
 5626|     54|    switch (op) {
 5627|      0|    case '^':
  ------------------
  |  Branch (5627:5): [True: 0, False: 54]
  ------------------
 5628|      0|        negz = nega ^ negb;
 5629|      0|        size_z = size_a;
 5630|      0|        break;
 5631|     54|    case '&':
  ------------------
  |  Branch (5631:5): [True: 54, False: 0]
  ------------------
 5632|     54|        negz = nega & negb;
 5633|     54|        size_z = negb ? size_a : size_b;
  ------------------
  |  Branch (5633:18): [True: 0, False: 54]
  ------------------
 5634|     54|        break;
 5635|      0|    case '|':
  ------------------
  |  Branch (5635:5): [True: 0, False: 54]
  ------------------
 5636|      0|        negz = nega | negb;
 5637|      0|        size_z = negb ? size_b : size_a;
  ------------------
  |  Branch (5637:18): [True: 0, False: 0]
  ------------------
 5638|      0|        break;
 5639|      0|    default:
  ------------------
  |  Branch (5639:5): [True: 0, False: 54]
  ------------------
 5640|      0|        Py_UNREACHABLE();
  ------------------
  |  |  289|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 5641|     54|    }
 5642|       |
 5643|     54|    if ((size_z + negz) == 0) {
  ------------------
  |  Branch (5643:9): [True: 0, False: 54]
  ------------------
 5644|      0|        Py_XDECREF(new_a);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5645|      0|        Py_XDECREF(new_b);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5646|      0|        return get_small_int(0);
 5647|      0|    }
 5648|       |
 5649|       |    /* We allow an extra digit if z is negative, to make sure that
 5650|       |       the final two's complement of z doesn't overflow. */
 5651|     54|    z = long_alloc(size_z + negz);
 5652|     54|    if (z == NULL) {
  ------------------
  |  Branch (5652:9): [True: 0, False: 54]
  ------------------
 5653|      0|        Py_XDECREF(new_a);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5654|      0|        Py_XDECREF(new_b);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5655|      0|        return NULL;
 5656|      0|    }
 5657|       |
 5658|       |    /* Compute digits for overlap of a and b. */
 5659|     54|    switch(op) {
 5660|     54|    case '&':
  ------------------
  |  Branch (5660:5): [True: 54, False: 0]
  ------------------
 5661|    135|        for (i = 0; i < size_b; ++i)
  ------------------
  |  Branch (5661:21): [True: 81, False: 54]
  ------------------
 5662|     81|            z->long_value.ob_digit[i] = a->long_value.ob_digit[i] & b->long_value.ob_digit[i];
 5663|     54|        break;
 5664|      0|    case '|':
  ------------------
  |  Branch (5664:5): [True: 0, False: 54]
  ------------------
 5665|      0|        for (i = 0; i < size_b; ++i)
  ------------------
  |  Branch (5665:21): [True: 0, False: 0]
  ------------------
 5666|      0|            z->long_value.ob_digit[i] = a->long_value.ob_digit[i] | b->long_value.ob_digit[i];
 5667|      0|        break;
 5668|      0|    case '^':
  ------------------
  |  Branch (5668:5): [True: 0, False: 54]
  ------------------
 5669|      0|        for (i = 0; i < size_b; ++i)
  ------------------
  |  Branch (5669:21): [True: 0, False: 0]
  ------------------
 5670|      0|            z->long_value.ob_digit[i] = a->long_value.ob_digit[i] ^ b->long_value.ob_digit[i];
 5671|      0|        break;
 5672|      0|    default:
  ------------------
  |  Branch (5672:5): [True: 0, False: 54]
  ------------------
 5673|      0|        Py_UNREACHABLE();
  ------------------
  |  |  289|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 5674|     54|    }
 5675|       |
 5676|       |    /* Copy any remaining digits of a, inverting if necessary. */
 5677|     54|    if (op == '^' && negb)
  ------------------
  |  Branch (5677:9): [True: 0, False: 54]
  |  Branch (5677:22): [True: 0, False: 0]
  ------------------
 5678|      0|        for (; i < size_z; ++i)
  ------------------
  |  Branch (5678:16): [True: 0, False: 0]
  ------------------
 5679|      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
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5680|     54|    else if (i < size_z)
  ------------------
  |  Branch (5680:14): [True: 0, False: 54]
  ------------------
 5681|      0|        memcpy(&z->long_value.ob_digit[i], &a->long_value.ob_digit[i],
 5682|      0|               (size_z-i)*sizeof(digit));
 5683|       |
 5684|       |    /* Complement result if negative. */
 5685|     54|    if (negz) {
  ------------------
  |  Branch (5685:9): [True: 0, False: 54]
  ------------------
 5686|      0|        _PyLong_FlipSign(z);
 5687|      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
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5688|      0|        v_complement(z->long_value.ob_digit, z->long_value.ob_digit, size_z+1);
 5689|      0|    }
 5690|       |
 5691|     54|    Py_XDECREF(new_a);
  ------------------
  |  |  524|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5692|     54|    Py_XDECREF(new_b);
  ------------------
  |  |  524|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5693|     54|    return (PyObject *)maybe_small_long(long_normalize(z));
 5694|     54|}
longobject.c:long_or:
 5722|     16|{
 5723|     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]
  |  |  ------------------
  ------------------
 5724|     16|    PyLongObject *x = (PyLongObject*)a;
 5725|     16|    PyLongObject *y = (PyLongObject*)b;
 5726|     16|    if (_PyLong_IsCompact(x) && _PyLong_IsCompact(y)) {
  ------------------
  |  Branch (5726:9): [True: 16, False: 0]
  |  Branch (5726:33): [True: 16, False: 0]
  ------------------
 5727|     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))
  ------------------
 5728|     16|    }
 5729|      0|    return long_bitwise(x, '|', y);
 5730|     16|}
longobject.c:long_div:
 4587|      2|{
 4588|      2|    PyLongObject *div;
 4589|       |
 4590|      2|    CHECK_BINOP(a, b);
  ------------------
  |  | 1844|      2|    do {                                                \
  |  | 1845|      2|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|      2|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|      4|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|      2|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|      2|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 0, False: 2]
  |  |  |  Branch (1845:33): [True: 0, False: 2]
  |  |  ------------------
  |  | 1846|      2|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4591|       |
 4592|      2|    if (_PyLong_DigitCount((PyLongObject*)a) == 1 && _PyLong_DigitCount((PyLongObject*)b) == 1) {
  ------------------
  |  Branch (4592:9): [True: 0, False: 2]
  |  Branch (4592:54): [True: 0, False: 0]
  ------------------
 4593|      0|        return fast_floor_div((PyLongObject*)a, (PyLongObject*)b);
 4594|      0|    }
 4595|       |
 4596|      2|    if (l_divmod((PyLongObject*)a, (PyLongObject*)b, &div, NULL) < 0)
  ------------------
  |  Branch (4596:9): [True: 0, False: 2]
  ------------------
 4597|      0|        div = NULL;
 4598|      2|    return (PyObject *)div;
 4599|      2|}
longobject.c:long_hash:
 3675|  2.27k|{
 3676|  2.27k|    PyLongObject *v = (PyLongObject *)obj;
 3677|  2.27k|    Py_uhash_t x;
 3678|  2.27k|    Py_ssize_t i;
 3679|  2.27k|    int sign;
 3680|       |
 3681|  2.27k|    if (_PyLong_IsCompact(v)) {
  ------------------
  |  Branch (3681:9): [True: 977, False: 1.29k]
  ------------------
 3682|    977|        x = (Py_uhash_t)_PyLong_CompactValue(v);
 3683|    977|        if (x == (Py_uhash_t)-1) {
  ------------------
  |  Branch (3683:13): [True: 0, False: 977]
  ------------------
 3684|      0|            x = (Py_uhash_t)-2;
 3685|      0|        }
 3686|    977|        return x;
 3687|    977|    }
 3688|  1.29k|    i = _PyLong_DigitCount(v);
 3689|  1.29k|    sign = _PyLong_NonCompactSign(v);
 3690|       |
 3691|       |    // unroll first digit
 3692|  1.29k|    Py_BUILD_ASSERT(PyHASH_BITS > PyLong_SHIFT);
  ------------------
  |  |  192|  1.29k|        do { \
  |  |  193|  1.29k|            static_assert((cond), #cond); \
  |  |  194|  1.29k|        } while (0)
  |  |  ------------------
  |  |  |  Branch (194:18): [Folded, False: 1.29k]
  |  |  ------------------
  ------------------
 3693|  1.29k|    assert(i >= 1);
  ------------------
  |  Branch (3693:5): [True: 1.29k, False: 0]
  ------------------
 3694|  1.29k|    --i;
 3695|  1.29k|    x = v->long_value.ob_digit[i];
 3696|  1.29k|    assert(x < PyHASH_MODULUS);
  ------------------
  |  Branch (3696:5): [True: 1.29k, False: 0]
  ------------------
 3697|       |
 3698|  1.29k|#if PyHASH_BITS >= 2 * PyLong_SHIFT
 3699|       |    // unroll second digit
 3700|  1.29k|    assert(i >= 1);
  ------------------
  |  Branch (3700:5): [True: 1.29k, False: 0]
  ------------------
 3701|  1.29k|    --i;
 3702|  1.29k|    x <<= PyLong_SHIFT;
  ------------------
  |  |   47|  1.29k|#define PyLong_SHIFT    30
  ------------------
 3703|  1.29k|    x += v->long_value.ob_digit[i];
 3704|  1.29k|    assert(x < PyHASH_MODULUS);
  ------------------
  |  Branch (3704:5): [True: 1.29k, False: 0]
  ------------------
 3705|  1.29k|#endif
 3706|       |
 3707|  1.29k|    while (--i >= 0) {
  ------------------
  |  Branch (3707:12): [True: 0, False: 1.29k]
  ------------------
 3708|       |        /* Here x is a quantity in the range [0, PyHASH_MODULUS); we
 3709|       |           want to compute x * 2**PyLong_SHIFT + v->long_value.ob_digit[i] modulo
 3710|       |           PyHASH_MODULUS.
 3711|       |
 3712|       |           The computation of x * 2**PyLong_SHIFT % PyHASH_MODULUS
 3713|       |           amounts to a rotation of the bits of x.  To see this, write
 3714|       |
 3715|       |             x * 2**PyLong_SHIFT = y * 2**PyHASH_BITS + z
 3716|       |
 3717|       |           where y = x >> (PyHASH_BITS - PyLong_SHIFT) gives the top
 3718|       |           PyLong_SHIFT bits of x (those that are shifted out of the
 3719|       |           original PyHASH_BITS bits, and z = (x << PyLong_SHIFT) &
 3720|       |           PyHASH_MODULUS gives the bottom PyHASH_BITS - PyLong_SHIFT
 3721|       |           bits of x, shifted up.  Then since 2**PyHASH_BITS is
 3722|       |           congruent to 1 modulo PyHASH_MODULUS, y*2**PyHASH_BITS is
 3723|       |           congruent to y modulo PyHASH_MODULUS.  So
 3724|       |
 3725|       |             x * 2**PyLong_SHIFT = y + z (mod PyHASH_MODULUS).
 3726|       |
 3727|       |           The right-hand side is just the result of rotating the
 3728|       |           PyHASH_BITS bits of x left by PyLong_SHIFT places; since
 3729|       |           not all PyHASH_BITS bits of x are 1s, the same is true
 3730|       |           after rotation, so 0 <= y+z < PyHASH_MODULUS and y + z is
 3731|       |           the reduction of x*2**PyLong_SHIFT modulo
 3732|       |           PyHASH_MODULUS. */
 3733|      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
  |  |  ------------------
  ------------------
 3734|      0|            (x >> (PyHASH_BITS - PyLong_SHIFT));
  ------------------
  |  |   13|      0|#  define PyHASH_BITS 61
  ------------------
                          (x >> (PyHASH_BITS - PyLong_SHIFT));
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
 3735|      0|        x += v->long_value.ob_digit[i];
 3736|      0|        if (x >= PyHASH_MODULUS)
  ------------------
  |  |   18|      0|#define PyHASH_MODULUS (((size_t)1 << PyHASH_BITS) - 1)
  |  |  ------------------
  |  |  |  |   13|      0|#  define PyHASH_BITS 61
  |  |  ------------------
  ------------------
  |  Branch (3736:13): [True: 0, False: 0]
  ------------------
 3737|      0|            x -= PyHASH_MODULUS;
  ------------------
  |  |   18|      0|#define PyHASH_MODULUS (((size_t)1 << PyHASH_BITS) - 1)
  |  |  ------------------
  |  |  |  |   13|      0|#  define PyHASH_BITS 61
  |  |  ------------------
  ------------------
 3738|      0|    }
 3739|  1.29k|    x = x * sign;
 3740|  1.29k|    if (x == (Py_uhash_t)-1)
  ------------------
  |  Branch (3740:9): [True: 0, False: 1.29k]
  ------------------
 3741|      0|        x = (Py_uhash_t)-2;
 3742|  1.29k|    return (Py_hash_t)x;
 3743|  1.29k|}
longobject.c:long_richcompare:
 3627|    422|{
 3628|    422|    Py_ssize_t result;
 3629|    422|    CHECK_BINOP(self, other);
  ------------------
  |  | 1844|    422|    do {                                                \
  |  | 1845|    422|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|    422|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    844|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|    422|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    422|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 0, False: 422]
  |  |  |  Branch (1845:33): [True: 0, False: 422]
  |  |  ------------------
  |  | 1846|    422|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|    422|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 422]
  |  |  ------------------
  ------------------
 3630|    422|    if (self == other)
  ------------------
  |  Branch (3630:9): [True: 39, False: 383]
  ------------------
 3631|     39|        result = 0;
 3632|    383|    else
 3633|    383|        result = long_compare((PyLongObject*)self, (PyLongObject*)other);
 3634|    422|    Py_RETURN_RICHCOMPARE(result, 0, op);
  ------------------
  |  |  674|    422|    do {                                                                    \
  |  |  675|    422|        switch (op) {                                                       \
  |  |  676|    181|        case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  654|    181|#define Py_EQ 2
  |  |  ------------------
  |  |                       case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|     70|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|     70|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     70|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     70|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_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: 181, False: 241]
  |  |  |  Branch (676:25): [True: 70, False: 111]
  |  |  ------------------
  |  |  677|    181|        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: 271]
  |  |  |  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: 363]
  |  |  |  Branch (678:25): [True: 18, False: 41]
  |  |  ------------------
  |  |  679|     59|        case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |  656|     19|#define Py_GT 4
  |  |  ------------------
  |  |                       case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   44|     10|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|     10|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       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: 19, False: 403]
  |  |  |  Branch (679:25): [True: 10, False: 9]
  |  |  ------------------
  |  |  680|     19|        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: 420]
  |  |  |  Branch (680:25): [True: 1, False: 1]
  |  |  ------------------
  |  |  681|     10|        case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  657|     10|#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|     10|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|     10|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (681:9): [True: 10, False: 412]
  |  |  |  Branch (681:25): [True: 0, False: 10]
  |  |  ------------------
  |  |  682|     10|        default:                                                            \
  |  |  ------------------
  |  |  |  Branch (682:9): [True: 0, False: 422]
  |  |  ------------------
  |  |  683|      0|            Py_UNREACHABLE();                                               \
  |  |  ------------------
  |  |  |  |  289|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  |  |  ------------------
  |  |  684|    422|        }                                                                   \
  |  |  685|    422|    } while (0)
  |  |  ------------------
  |  |  |  Branch (685:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3635|    422|}
longobject.c:int_bit_length_impl:
 6296|      1|{
 6297|      1|    int64_t nbits = _PyLong_NumBits(self);
 6298|      1|    assert(nbits >= 0);
  ------------------
  |  Branch (6298:5): [True: 1, False: 0]
  ------------------
 6299|      1|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (6299:5): [True: 1, False: 0]
  ------------------
 6300|      1|    return PyLong_FromInt64(nbits);
 6301|      1|}
longobject.c:int_to_bytes_impl:
 6397|      2|{
 6398|      2|    int little_endian;
 6399|      2|    if (byteorder == NULL)
  ------------------
  |  Branch (6399:9): [True: 0, False: 2]
  ------------------
 6400|      0|        little_endian = 0;
 6401|      2|    else if (_PyUnicode_Equal(byteorder, &_Py_ID(little)))
  ------------------
  |  |  936|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6401:14): [True: 2, False: 0]
  ------------------
 6402|      2|        little_endian = 1;
 6403|      0|    else if (_PyUnicode_Equal(byteorder, &_Py_ID(big)))
  ------------------
  |  |  936|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6403:14): [True: 0, False: 0]
  ------------------
 6404|      0|        little_endian = 0;
 6405|      0|    else {
 6406|      0|        PyErr_SetString(PyExc_ValueError,
 6407|      0|            "byteorder must be either 'little' or 'big'");
 6408|      0|        return NULL;
 6409|      0|    }
 6410|       |
 6411|      2|    PyBytesWriter *writer = PyBytesWriter_Create(length);
 6412|      2|    if (writer == NULL) {
  ------------------
  |  Branch (6412:9): [True: 0, False: 2]
  ------------------
 6413|      0|        return NULL;
 6414|      0|    }
 6415|       |
 6416|      2|    if (_PyLong_AsByteArray((PyLongObject *)self,
  ------------------
  |  Branch (6416:9): [True: 0, False: 2]
  ------------------
 6417|      2|                            PyBytesWriter_GetData(writer),
 6418|      2|                            length, little_endian, is_signed, 1) < 0) {
 6419|      0|        PyBytesWriter_Discard(writer);
 6420|      0|        return NULL;
 6421|      0|    }
 6422|       |
 6423|      2|    return PyBytesWriter_Finish(writer);
 6424|      2|}
longobject.c:int_from_bytes_impl:
 6454|     81|{
 6455|     81|    int little_endian;
 6456|     81|    PyObject *long_obj, *bytes;
 6457|       |
 6458|     81|    if (byteorder == NULL)
  ------------------
  |  Branch (6458:9): [True: 0, False: 81]
  ------------------
 6459|      0|        little_endian = 0;
 6460|     81|    else if (_PyUnicode_Equal(byteorder, &_Py_ID(little)))
  ------------------
  |  |  936|     81|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     81|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     81|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6460:14): [True: 81, False: 0]
  ------------------
 6461|     81|        little_endian = 1;
 6462|      0|    else if (_PyUnicode_Equal(byteorder, &_Py_ID(big)))
  ------------------
  |  |  936|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6462:14): [True: 0, False: 0]
  ------------------
 6463|      0|        little_endian = 0;
 6464|      0|    else {
 6465|      0|        PyErr_SetString(PyExc_ValueError,
 6466|      0|            "byteorder must be either 'little' or 'big'");
 6467|      0|        return NULL;
 6468|      0|    }
 6469|       |
 6470|       |    /* Fast-path exact bytes. */
 6471|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6472|     81|        long_obj = _PyLong_FromByteArray(
 6473|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6474|     81|            little_endian, is_signed);
 6475|     81|    }
 6476|       |    /* Use buffer protocol to avoid copies. */
 6477|      0|    else if (PyObject_CheckBuffer(bytes_obj)) {
  ------------------
  |  Branch (6477:14): [True: 0, False: 0]
  ------------------
 6478|      0|        Py_buffer view;
 6479|      0|        if (PyObject_GetBuffer(bytes_obj, &view, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|      0|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (6479:13): [True: 0, False: 0]
  ------------------
 6480|      0|            return NULL;
 6481|      0|        }
 6482|      0|        long_obj = _PyLong_FromByteArray(view.buf, view.len, little_endian,
 6483|      0|            is_signed);
 6484|      0|        PyBuffer_Release(&view);
 6485|      0|    }
 6486|      0|    else {
 6487|       |        /* fallback: Construct a bytes then convert. */
 6488|      0|        bytes = PyObject_Bytes(bytes_obj);
 6489|      0|        if (bytes == NULL) {
  ------------------
  |  Branch (6489:13): [True: 0, False: 0]
  ------------------
 6490|      0|            return NULL;
 6491|      0|        }
 6492|      0|        long_obj = _PyLong_FromByteArray(
 6493|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6494|      0|            little_endian, is_signed);
 6495|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6496|      0|    }
 6497|       |
 6498|     81|    if (long_obj != NULL && type != &PyLong_Type) {
  ------------------
  |  Branch (6498:9): [True: 81, False: 0]
  |  Branch (6498:29): [True: 0, False: 81]
  ------------------
 6499|      0|        Py_SETREF(long_obj, PyObject_CallOneArg((PyObject *)type, long_obj));
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 6500|      0|    }
 6501|       |
 6502|     81|    return long_obj;
 6503|     81|}
longobject.c:long_new_impl:
 5975|    310|{
 5976|    310|    Py_ssize_t base;
 5977|       |
 5978|    310|    if (type != &PyLong_Type)
  ------------------
  |  Branch (5978:9): [True: 143, False: 167]
  ------------------
 5979|    143|        return long_subtype_new(type, x, obase); /* Wimp out */
 5980|    167|    if (x == NULL) {
  ------------------
  |  Branch (5980:9): [True: 1, False: 166]
  ------------------
 5981|      1|        if (obase != NULL) {
  ------------------
  |  Branch (5981:13): [True: 0, False: 1]
  ------------------
 5982|      0|            PyErr_SetString(PyExc_TypeError,
 5983|      0|                            "int() missing string argument");
 5984|      0|            return NULL;
 5985|      0|        }
 5986|      1|        return PyLong_FromLong(0L);
 5987|      1|    }
 5988|       |    /* default base and limit, forward to standard implementation */
 5989|    166|    if (obase == NULL)
  ------------------
  |  Branch (5989:9): [True: 142, False: 24]
  ------------------
 5990|    142|        return PyNumber_Long(x);
 5991|       |
 5992|     24|    base = PyNumber_AsSsize_t(obase, NULL);
 5993|     24|    if (base == -1 && PyErr_Occurred())
  ------------------
  |  Branch (5993:9): [True: 0, False: 24]
  |  Branch (5993:23): [True: 0, False: 0]
  ------------------
 5994|      0|        return NULL;
 5995|     24|    if ((base != 0 && base < 2) || base > 36) {
  ------------------
  |  Branch (5995:10): [True: 24, False: 0]
  |  Branch (5995:23): [True: 0, False: 24]
  |  Branch (5995:36): [True: 0, False: 24]
  ------------------
 5996|      0|        PyErr_SetString(PyExc_ValueError,
 5997|      0|                        "int() base must be >= 2 and <= 36, or 0");
 5998|      0|        return NULL;
 5999|      0|    }
 6000|       |
 6001|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6002|      0|        return PyLong_FromUnicodeObject(x, (int)base);
 6003|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6004|     24|        const char *string;
 6005|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6006|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6007|      0|        else
 6008|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6009|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6010|     24|    }
 6011|      0|    else {
 6012|      0|        PyErr_SetString(PyExc_TypeError,
 6013|      0|                        "int() can't convert non-string with explicit base");
 6014|       |        return NULL;
 6015|      0|    }
 6016|     24|}
longobject.c:long_subtype_new:
 6025|    143|{
 6026|    143|    PyLongObject *tmp, *newobj;
 6027|    143|    Py_ssize_t size, ndigits;
 6028|    143|    int sign;
 6029|       |
 6030|    143|    assert(PyType_IsSubtype(type, &PyLong_Type));
  ------------------
  |  Branch (6030:5): [True: 143, False: 0]
  ------------------
 6031|    143|    tmp = (PyLongObject *)long_new_impl(&PyLong_Type, x, obase);
 6032|    143|    if (tmp == NULL)
  ------------------
  |  Branch (6032:9): [True: 0, False: 143]
  ------------------
 6033|      0|        return NULL;
 6034|    143|    assert(PyLong_Check(tmp));
  ------------------
  |  Branch (6034:5): [True: 143, False: 0]
  ------------------
 6035|    143|    size = _PyLong_DigitCount(tmp);
 6036|       |    /* Fast operations for single digit integers (including zero)
 6037|       |     * assume that there is always at least one digit present. */
 6038|    143|    ndigits = size ? size : 1;
  ------------------
  |  Branch (6038:15): [True: 138, False: 5]
  ------------------
 6039|    143|    newobj = (PyLongObject *)type->tp_alloc(type, ndigits);
 6040|    143|    if (newobj == NULL) {
  ------------------
  |  Branch (6040:9): [True: 0, False: 143]
  ------------------
 6041|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6042|      0|        return NULL;
 6043|      0|    }
 6044|    143|    assert(PyLong_Check(newobj));
  ------------------
  |  Branch (6044:5): [True: 143, False: 0]
  ------------------
 6045|    143|    if (_PyLong_IsCompact(tmp)) {
  ------------------
  |  Branch (6045:9): [True: 142, False: 1]
  ------------------
 6046|    142|        sign = _PyLong_CompactSign(tmp);
 6047|    142|    }
 6048|      1|    else {
 6049|      1|        sign = _PyLong_NonCompactSign(tmp);
 6050|      1|    }
 6051|    143|    _PyLong_InitTag(newobj);
 6052|    143|    _PyLong_SetSignAndDigitCount(newobj, sign, size);
 6053|    143|    memcpy(newobj->long_value.ob_digit, tmp->long_value.ob_digit,
 6054|    143|           ndigits * sizeof(digit));
 6055|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6056|    143|    return (PyObject *)newobj;
 6057|    143|}
longobject.c:long_vectorcall:
 6534|     51|{
 6535|     51|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|     51|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
 6536|     51|    if (kwnames != NULL) {
  ------------------
  |  Branch (6536:9): [True: 0, False: 51]
  ------------------
 6537|      0|        PyThreadState *tstate = PyThreadState_GET();
  ------------------
  |  |   63|      0|#define PyThreadState_GET() PyThreadState_Get()
  ------------------
 6538|      0|        return _PyObject_MakeTpCall(tstate, type, args, nargs, kwnames);
 6539|      0|    }
 6540|     51|    switch (nargs) {
 6541|      0|        case 0:
  ------------------
  |  Branch (6541:9): [True: 0, False: 51]
  ------------------
 6542|      0|            return _PyLong_GetZero();
 6543|     27|        case 1:
  ------------------
  |  Branch (6543:9): [True: 27, False: 24]
  ------------------
 6544|     27|            return PyNumber_Long(args[0]);
 6545|     24|        case 2:
  ------------------
  |  Branch (6545:9): [True: 24, False: 27]
  ------------------
 6546|     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 (6546:34): [True: 24, False: 0]
  ------------------
 6547|      0|        default:
  ------------------
  |  Branch (6547:9): [True: 0, False: 51]
  ------------------
 6548|      0|            return PyErr_Format(PyExc_TypeError,
 6549|      0|                                "int expected at most 2 arguments, got %zd",
 6550|      0|                                nargs);
 6551|     51|    }
 6552|     51|}

PyMemoryView_FromBuffer:
  771|     22|{
  772|     22|    _PyManagedBufferObject *mbuf;
  773|     22|    PyObject *mv;
  774|       |
  775|     22|    if (info->buf == NULL) {
  ------------------
  |  Branch (775:9): [True: 0, False: 22]
  ------------------
  776|      0|        PyErr_SetString(PyExc_ValueError,
  777|      0|            "PyMemoryView_FromBuffer(): info->buf must not be NULL");
  778|      0|        return NULL;
  779|      0|    }
  780|       |
  781|     22|    mbuf = mbuf_alloc();
  782|     22|    if (mbuf == NULL)
  ------------------
  |  Branch (782:9): [True: 0, False: 22]
  ------------------
  783|      0|        return NULL;
  784|       |
  785|       |    /* info->obj is either NULL or a borrowed reference. This reference
  786|       |       should not be decremented in PyBuffer_Release(). */
  787|     22|    mbuf->master = *info;
  788|     22|    mbuf->master.obj = NULL;
  789|       |
  790|     22|    mv = mbuf_add_view(mbuf, NULL);
  791|     22|    Py_DECREF(mbuf);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  792|       |
  793|     22|    return mv;
  794|     22|}
PyMemoryView_FromObject:
  855|     27|{
  856|     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
  |  |  ------------------
  ------------------
  857|     27|}
memoryobject.c:mbuf_dealloc:
  121|     49|{
  122|     49|    _PyManagedBufferObject *self = (_PyManagedBufferObject *)_self;
  123|     49|    assert(self->exports == 0);
  ------------------
  |  Branch (123:5): [True: 49, False: 0]
  ------------------
  124|     49|    mbuf_release(self);
  125|     49|    if (self->flags&_Py_MANAGED_BUFFER_FREE_FORMAT)
  ------------------
  |  |    9|     49|#define _Py_MANAGED_BUFFER_FREE_FORMAT 0x002  /* free format */
  ------------------
  |  Branch (125:9): [True: 0, False: 49]
  ------------------
  126|      0|        PyMem_Free(self->master.format);
  127|     49|    PyObject_GC_Del(self);
  128|     49|}
memoryobject.c:mbuf_release:
  108|     98|{
  109|     98|    if (self->flags&_Py_MANAGED_BUFFER_RELEASED)
  ------------------
  |  |    8|     98|#define _Py_MANAGED_BUFFER_RELEASED    0x001  /* access to exporter blocked */
  ------------------
  |  Branch (109:9): [True: 49, False: 49]
  ------------------
  110|     49|        return;
  111|       |
  112|     49|    self->flags |= _Py_MANAGED_BUFFER_RELEASED;
  ------------------
  |  |    8|     49|#define _Py_MANAGED_BUFFER_RELEASED    0x001  /* access to exporter blocked */
  ------------------
  113|       |
  114|       |    /* PyBuffer_Release() decrements master->obj and sets it to NULL. */
  115|     49|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  507|     49|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     49|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     49|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  116|     49|    PyBuffer_Release(&self->master);
  117|     49|}
memoryobject.c:mbuf_alloc:
   73|     49|{
   74|     49|    _PyManagedBufferObject *mbuf;
   75|       |
   76|     49|    mbuf = (_PyManagedBufferObject *)
   77|     49|        PyObject_GC_New(_PyManagedBufferObject, &_PyManagedBuffer_Type);
  ------------------
  |  |  181|     49|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|     49|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   78|     49|    if (mbuf == NULL)
  ------------------
  |  Branch (78:9): [True: 0, False: 49]
  ------------------
   79|      0|        return NULL;
   80|     49|    mbuf->flags = 0;
   81|     49|    mbuf->exports = 0;
   82|     49|    mbuf->master.obj = NULL;
   83|     49|    _PyObject_GC_TRACK(mbuf);
  ------------------
  |  |  505|     49|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     49|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     49|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   84|       |
   85|     49|    return mbuf;
   86|     49|}
memoryobject.c:mbuf_add_view:
  677|     76|{
  678|     76|    PyMemoryViewObject *mv;
  679|     76|    Py_buffer *dest;
  680|       |
  681|     76|    if (src == NULL)
  ------------------
  |  Branch (681:9): [True: 49, False: 27]
  ------------------
  682|     49|        src = &mbuf->master;
  683|       |
  684|     76|    if (src->ndim > PyBUF_MAX_NDIM) {
  ------------------
  |  |  105|     76|#define PyBUF_MAX_NDIM 64
  ------------------
  |  Branch (684:9): [True: 0, False: 76]
  ------------------
  685|      0|        PyErr_SetString(PyExc_ValueError,
  686|      0|            "memoryview: number of dimensions must not exceed "
  687|      0|            Py_STRINGIFY(PyBUF_MAX_NDIM));
  ------------------
  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  ------------------
  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  ------------------
  ------------------
  688|      0|        return NULL;
  689|      0|    }
  690|       |
  691|     76|    mv = memory_alloc(src->ndim);
  692|     76|    if (mv == NULL)
  ------------------
  |  Branch (692:9): [True: 0, False: 76]
  ------------------
  693|      0|        return NULL;
  694|       |
  695|     76|    dest = &mv->view;
  696|     76|    init_shared_values(dest, src);
  697|     76|    init_shape_strides(dest, src);
  698|     76|    init_suboffsets(dest, src);
  699|     76|    init_flags(mv);
  700|       |
  701|     76|    mv->mbuf = (_PyManagedBufferObject*)Py_NewRef(mbuf);
  ------------------
  |  |  550|     76|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     76|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     76|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  702|     76|    mbuf->exports++;
  703|       |
  704|     76|    return (PyObject *)mv;
  705|     76|}
memoryobject.c:memory_alloc:
  645|     76|{
  646|     76|    PyMemoryViewObject *mv;
  647|       |
  648|     76|    mv = (PyMemoryViewObject *)
  649|     76|        PyObject_GC_NewVar(PyMemoryViewObject, &PyMemoryView_Type, 3*ndim);
  ------------------
  |  |  183|     76|    _Py_CAST(type*, _PyObject_GC_NewVar((typeobj), (n)))
  |  |  ------------------
  |  |  |  |   37|     76|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  650|     76|    if (mv == NULL)
  ------------------
  |  Branch (650:9): [True: 0, False: 76]
  ------------------
  651|      0|        return NULL;
  652|       |
  653|     76|    mv->mbuf = NULL;
  654|     76|    mv->hash = -1;
  655|     76|    mv->flags = 0;
  656|     76|    mv->exports = 0;
  657|     76|    mv->view.ndim = ndim;
  658|     76|    mv->view.shape = mv->ob_array;
  659|     76|    mv->view.strides = mv->ob_array + ndim;
  660|     76|    mv->view.suboffsets = mv->ob_array + 2 * ndim;
  661|     76|    mv->weakreflist = NULL;
  662|       |
  663|     76|    _PyObject_GC_TRACK(mv);
  ------------------
  |  |  505|     76|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     76|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     76|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  664|     76|    return mv;
  665|     76|}
memoryobject.c:init_flags:
  612|    103|{
  613|    103|    const Py_buffer *view = &mv->view;
  614|    103|    int flags = 0;
  615|       |
  616|    103|    switch (view->ndim) {
  617|      0|    case 0:
  ------------------
  |  Branch (617:5): [True: 0, False: 103]
  ------------------
  618|      0|        flags |= (_Py_MEMORYVIEW_SCALAR|_Py_MEMORYVIEW_C|
  ------------------
  |  |   23|      0|#define _Py_MEMORYVIEW_SCALAR      0x008  /* scalar: ndim = 0 */
  ------------------
                      flags |= (_Py_MEMORYVIEW_SCALAR|_Py_MEMORYVIEW_C|
  ------------------
  |  |   21|      0|#define _Py_MEMORYVIEW_C           0x002  /* C-contiguous layout */
  ------------------
  619|      0|                  _Py_MEMORYVIEW_FORTRAN);
  ------------------
  |  |   22|      0|#define _Py_MEMORYVIEW_FORTRAN     0x004  /* Fortran contiguous layout */
  ------------------
  620|      0|        break;
  621|    103|    case 1:
  ------------------
  |  Branch (621:5): [True: 103, False: 0]
  ------------------
  622|    103|        if (MV_CONTIGUOUS_NDIM1(view))
  ------------------
  |  |  241|    103|    ((view)->shape[0] == 1 || (view)->strides[0] == (view)->itemsize)
  |  |  ------------------
  |  |  |  Branch (241:6): [True: 0, False: 103]
  |  |  |  Branch (241:31): [True: 103, False: 0]
  |  |  ------------------
  ------------------
  623|    103|            flags |= (_Py_MEMORYVIEW_C|_Py_MEMORYVIEW_FORTRAN);
  ------------------
  |  |   21|    103|#define _Py_MEMORYVIEW_C           0x002  /* C-contiguous layout */
  ------------------
                          flags |= (_Py_MEMORYVIEW_C|_Py_MEMORYVIEW_FORTRAN);
  ------------------
  |  |   22|    103|#define _Py_MEMORYVIEW_FORTRAN     0x004  /* Fortran contiguous layout */
  ------------------
  624|    103|        break;
  625|      0|    default:
  ------------------
  |  Branch (625:5): [True: 0, False: 103]
  ------------------
  626|      0|        if (PyBuffer_IsContiguous(view, 'C'))
  ------------------
  |  Branch (626:13): [True: 0, False: 0]
  ------------------
  627|      0|            flags |= _Py_MEMORYVIEW_C;
  ------------------
  |  |   21|      0|#define _Py_MEMORYVIEW_C           0x002  /* C-contiguous layout */
  ------------------
  628|      0|        if (PyBuffer_IsContiguous(view, 'F'))
  ------------------
  |  Branch (628:13): [True: 0, False: 0]
  ------------------
  629|      0|            flags |= _Py_MEMORYVIEW_FORTRAN;
  ------------------
  |  |   22|      0|#define _Py_MEMORYVIEW_FORTRAN     0x004  /* Fortran contiguous layout */
  ------------------
  630|      0|        break;
  631|    103|    }
  632|       |
  633|    103|    if (view->suboffsets) {
  ------------------
  |  Branch (633:9): [True: 0, False: 103]
  ------------------
  634|      0|        flags |= _Py_MEMORYVIEW_PIL;
  ------------------
  |  |   24|      0|#define _Py_MEMORYVIEW_PIL         0x010  /* PIL-style layout */
  ------------------
  635|      0|        flags &= ~(_Py_MEMORYVIEW_C|_Py_MEMORYVIEW_FORTRAN);
  ------------------
  |  |   21|      0|#define _Py_MEMORYVIEW_C           0x002  /* C-contiguous layout */
  ------------------
                      flags &= ~(_Py_MEMORYVIEW_C|_Py_MEMORYVIEW_FORTRAN);
  ------------------
  |  |   22|      0|#define _Py_MEMORYVIEW_FORTRAN     0x004  /* Fortran contiguous layout */
  ------------------
  636|      0|    }
  637|       |
  638|    103|    mv->flags = flags;
  639|    103|}
memoryobject.c:PyMemoryView_FromObjectAndFlags:
  802|     27|{
  803|     27|    _PyManagedBufferObject *mbuf;
  804|       |
  805|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  806|      0|        PyMemoryViewObject *mv = (PyMemoryViewObject *)v;
  807|      0|        CHECK_RELEASED(mv);
  ------------------
  |  |  185|      0|    if (BASE_INACCESSIBLE(mv)) {                                  \
  |  |  ------------------
  |  |  |  |  181|      0|    (((PyMemoryViewObject *)mv)->flags&_Py_MEMORYVIEW_RELEASED || \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#define _Py_MEMORYVIEW_RELEASED    0x001  /* access to master buffer blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (181:6): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  182|      0|     ((PyMemoryViewObject *)mv)->mbuf->flags&_Py_MANAGED_BUFFER_RELEASED)
  |  |  |  |  ------------------
  |  |  |  |  |  |    8|      0|#define _Py_MANAGED_BUFFER_RELEASED    0x001  /* access to exporter blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (182:6): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  186|      0|        PyErr_SetString(PyExc_ValueError,                         \
  |  |  187|      0|            "operation forbidden on released memoryview object"); \
  |  |  188|      0|        return NULL;                                              \
  |  |  189|      0|    }
  ------------------
  808|      0|        CHECK_RESTRICTED(mv);
  ------------------
  |  |  199|      0|    if (((PyMemoryViewObject *)(mv))->flags & _Py_MEMORYVIEW_RESTRICTED) { \
  |  |  ------------------
  |  |  |  |   25|      0|#define _Py_MEMORYVIEW_RESTRICTED  0x020  /* Disallow new references to the memoryview's buffer */
  |  |  ------------------
  |  |  |  Branch (199:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  200|      0|        PyErr_SetString(PyExc_ValueError,                                  \
  |  |  201|      0|            "cannot create new view on restricted memoryview");            \
  |  |  202|      0|        return NULL;                                                       \
  |  |  203|      0|    }
  ------------------
  809|      0|        return mbuf_add_view(mv->mbuf, &mv->view);
  810|      0|    }
  811|     27|    else if (PyObject_CheckBuffer(v)) {
  ------------------
  |  Branch (811:14): [True: 27, False: 0]
  ------------------
  812|     27|        PyObject *ret;
  813|     27|        mbuf = (_PyManagedBufferObject *)_PyManagedBuffer_FromObject(v, flags);
  814|     27|        if (mbuf == NULL)
  ------------------
  |  Branch (814:13): [True: 0, False: 27]
  ------------------
  815|      0|            return NULL;
  816|     27|        ret = mbuf_add_view(mbuf, NULL);
  817|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  818|     27|        return ret;
  819|     27|    }
  820|       |
  821|      0|    PyErr_Format(PyExc_TypeError,
  822|      0|        "memoryview: a bytes-like object is required, not '%.200s'",
  823|      0|        Py_TYPE(v)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  824|       |    return NULL;
  825|     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:
  544|     76|{
  545|     76|    dest->obj = src->obj;
  546|     76|    dest->buf = src->buf;
  547|     76|    dest->len = src->len;
  548|     76|    dest->itemsize = src->itemsize;
  549|     76|    dest->readonly = src->readonly;
  550|     76|    dest->format = src->format ? src->format : "B";
  ------------------
  |  Branch (550:20): [True: 54, False: 22]
  ------------------
  551|     76|    dest->internal = src->internal;
  552|     76|}
memoryobject.c:init_shape_strides:
  557|     76|{
  558|     76|    Py_ssize_t i;
  559|       |
  560|     76|    if (src->ndim == 0) {
  ------------------
  |  Branch (560:9): [True: 0, False: 76]
  ------------------
  561|      0|        dest->shape = NULL;
  562|      0|        dest->strides = NULL;
  563|      0|        return;
  564|      0|    }
  565|     76|    if (src->ndim == 1) {
  ------------------
  |  Branch (565:9): [True: 76, False: 0]
  ------------------
  566|     76|        dest->shape[0] = src->shape ? src->shape[0] : src->len / src->itemsize;
  ------------------
  |  Branch (566:26): [True: 76, False: 0]
  ------------------
  567|     76|        dest->strides[0] = src->strides ? src->strides[0] : src->itemsize;
  ------------------
  |  Branch (567:28): [True: 54, False: 22]
  ------------------
  568|     76|        return;
  569|     76|    }
  570|       |
  571|      0|    for (i = 0; i < src->ndim; i++)
  ------------------
  |  Branch (571:17): [True: 0, False: 0]
  ------------------
  572|      0|        dest->shape[i] = src->shape[i];
  573|      0|    if (src->strides) {
  ------------------
  |  Branch (573:9): [True: 0, False: 0]
  ------------------
  574|      0|        for (i = 0; i < src->ndim; i++)
  ------------------
  |  Branch (574:21): [True: 0, False: 0]
  ------------------
  575|      0|            dest->strides[i] = src->strides[i];
  576|      0|    }
  577|      0|    else {
  578|      0|        init_strides_from_shape(dest);
  579|      0|    }
  580|      0|}
memoryobject.c:init_suboffsets:
  584|     76|{
  585|     76|    Py_ssize_t i;
  586|       |
  587|     76|    if (src->suboffsets == NULL) {
  ------------------
  |  Branch (587:9): [True: 76, False: 0]
  ------------------
  588|     76|        dest->suboffsets = NULL;
  589|     76|        return;
  590|     76|    }
  591|      0|    for (i = 0; i < src->ndim; i++)
  ------------------
  |  Branch (591:17): [True: 0, False: 0]
  ------------------
  592|      0|        dest->suboffsets[i] = src->suboffsets[i];
  593|      0|}
memoryobject.c:memory_dealloc:
 1152|     76|{
 1153|     76|    PyMemoryViewObject *self = (PyMemoryViewObject *)_self;
 1154|     76|    assert(get_exports(self) == 0);
  ------------------
  |  Branch (1154:5): [True: 76, False: 0]
  ------------------
 1155|     76|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  507|     76|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     76|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     76|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1156|     76|    _memory_release(self);
 1157|     76|    Py_CLEAR(self->mbuf);
  ------------------
  |  |  484|     76|    do { \
  |  |  485|     76|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|     76|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     76|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|     76|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     76|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     76|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 76, False: 0]
  |  |  ------------------
  |  |  488|     76|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     76|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     76|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     76|        } \
  |  |  491|     76|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 76]
  |  |  ------------------
  ------------------
 1158|     76|    if (self->weakreflist != NULL)
  ------------------
  |  Branch (1158:9): [True: 0, False: 76]
  ------------------
 1159|      0|        PyObject_ClearWeakRefs((PyObject *) self);
 1160|     76|    PyObject_GC_Del(self);
 1161|     76|}
memoryobject.c:get_exports:
 1091|    152|{
 1092|       |#ifdef Py_GIL_DISABLED
 1093|       |    return _Py_atomic_load_ssize_relaxed(&buf->exports);
 1094|       |#else
 1095|    152|    return buf->exports;
 1096|    152|#endif
 1097|    152|}
memoryobject.c:_memory_release:
 1110|     76|{
 1111|     76|    assert(get_exports(self) == 0);
  ------------------
  |  Branch (1111:5): [True: 76, False: 0]
  ------------------
 1112|     76|    if (self->flags & _Py_MEMORYVIEW_RELEASED)
  ------------------
  |  |   20|     76|#define _Py_MEMORYVIEW_RELEASED    0x001  /* access to master buffer blocked */
  ------------------
  |  Branch (1112:9): [True: 0, False: 76]
  ------------------
 1113|      0|        return;
 1114|       |
 1115|     76|    self->flags |= _Py_MEMORYVIEW_RELEASED;
  ------------------
  |  |   20|     76|#define _Py_MEMORYVIEW_RELEASED    0x001  /* access to master buffer blocked */
  ------------------
 1116|     76|    assert(self->mbuf->exports > 0);
  ------------------
  |  Branch (1116:5): [True: 76, False: 0]
  ------------------
 1117|     76|    if (--self->mbuf->exports == 0) {
  ------------------
  |  Branch (1117:9): [True: 49, False: 27]
  ------------------
 1118|     49|        mbuf_release(self->mbuf);
 1119|     49|    }
 1120|     76|}
memoryobject.c:memory_subscript:
 2686|     27|{
 2687|     27|    PyMemoryViewObject *self = (PyMemoryViewObject *)_self;
 2688|     27|    Py_buffer *view;
 2689|     27|    view = &(self->view);
 2690|       |
 2691|     27|    CHECK_RELEASED(self);
  ------------------
  |  |  185|     27|    if (BASE_INACCESSIBLE(mv)) {                                  \
  |  |  ------------------
  |  |  |  |  181|     27|    (((PyMemoryViewObject *)mv)->flags&_Py_MEMORYVIEW_RELEASED || \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|     54|#define _Py_MEMORYVIEW_RELEASED    0x001  /* access to master buffer blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (181:6): [True: 0, False: 27]
  |  |  |  |  ------------------
  |  |  |  |  182|     27|     ((PyMemoryViewObject *)mv)->mbuf->flags&_Py_MANAGED_BUFFER_RELEASED)
  |  |  |  |  ------------------
  |  |  |  |  |  |    8|     27|#define _Py_MANAGED_BUFFER_RELEASED    0x001  /* access to exporter blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (182:6): [True: 0, False: 27]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  186|      0|        PyErr_SetString(PyExc_ValueError,                         \
  |  |  187|      0|            "operation forbidden on released memoryview object"); \
  |  |  188|      0|        return NULL;                                              \
  |  |  189|      0|    }
  ------------------
 2692|       |
 2693|     27|    if (view->ndim == 0) {
  ------------------
  |  Branch (2693:9): [True: 0, False: 27]
  ------------------
 2694|      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 (2694:35): [True: 0, False: 0]
  ------------------
 2695|      0|            const char *fmt = adjust_fmt(view);
 2696|      0|            if (fmt == NULL)
  ------------------
  |  Branch (2696:17): [True: 0, False: 0]
  ------------------
 2697|      0|                return NULL;
 2698|      0|            return unpack_single(self, view->buf, fmt);
 2699|      0|        }
 2700|      0|        else if (key == Py_Ellipsis) {
  ------------------
  |  |   14|      0|#  define Py_Ellipsis (&_Py_EllipsisObject)
  ------------------
  |  Branch (2700:18): [True: 0, False: 0]
  ------------------
 2701|      0|            return Py_NewRef(self);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2702|      0|        }
 2703|      0|        else {
 2704|      0|            PyErr_SetString(PyExc_TypeError,
 2705|      0|                "invalid indexing of 0-dim memory");
 2706|      0|            return NULL;
 2707|      0|        }
 2708|      0|    }
 2709|       |
 2710|     27|    if (_PyIndex_Check(key)) {
  ------------------
  |  Branch (2710:9): [True: 0, False: 27]
  ------------------
 2711|      0|        Py_ssize_t index;
 2712|      0|        index = PyNumber_AsSsize_t(key, PyExc_IndexError);
 2713|      0|        if (index == -1 && PyErr_Occurred())
  ------------------
  |  Branch (2713:13): [True: 0, False: 0]
  |  Branch (2713:28): [True: 0, False: 0]
  ------------------
 2714|      0|            return NULL;
 2715|      0|        return memory_item((PyObject *)self, index);
 2716|      0|    }
 2717|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2718|     27|        CHECK_RESTRICTED(self);
  ------------------
  |  |  199|     27|    if (((PyMemoryViewObject *)(mv))->flags & _Py_MEMORYVIEW_RESTRICTED) { \
  |  |  ------------------
  |  |  |  |   25|     27|#define _Py_MEMORYVIEW_RESTRICTED  0x020  /* Disallow new references to the memoryview's buffer */
  |  |  ------------------
  |  |  |  Branch (199:9): [True: 0, False: 27]
  |  |  ------------------
  |  |  200|      0|        PyErr_SetString(PyExc_ValueError,                                  \
  |  |  201|      0|            "cannot create new view on restricted memoryview");            \
  |  |  202|      0|        return NULL;                                                       \
  |  |  203|      0|    }
  ------------------
 2719|     27|        PyMemoryViewObject *sliced;
 2720|       |
 2721|     27|        sliced = (PyMemoryViewObject *)mbuf_add_view(self->mbuf, view);
 2722|     27|        if (sliced == NULL)
  ------------------
  |  Branch (2722:13): [True: 0, False: 27]
  ------------------
 2723|      0|            return NULL;
 2724|       |
 2725|     27|        if (init_slice(&sliced->view, key, 0) < 0) {
  ------------------
  |  Branch (2725:13): [True: 0, False: 27]
  ------------------
 2726|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2727|      0|            return NULL;
 2728|      0|        }
 2729|     27|        init_len(&sliced->view);
 2730|     27|        init_flags(sliced);
 2731|       |
 2732|     27|        return (PyObject *)sliced;
 2733|     27|    }
 2734|      0|    else if (is_multiindex(key)) {
  ------------------
  |  Branch (2734:14): [True: 0, False: 0]
  ------------------
 2735|      0|        return memory_item_multi(self, key);
 2736|      0|    }
 2737|      0|    else if (is_multislice(key)) {
  ------------------
  |  Branch (2737:14): [True: 0, False: 0]
  ------------------
 2738|      0|        PyErr_SetString(PyExc_NotImplementedError,
 2739|      0|            "multi-dimensional slicing is not implemented");
 2740|      0|        return NULL;
 2741|      0|    }
 2742|       |
 2743|      0|    PyErr_SetString(PyExc_TypeError, "memoryview: invalid slice key");
 2744|       |    return NULL;
 2745|     27|}
memoryobject.c:init_slice:
 2615|     27|{
 2616|     27|    Py_ssize_t start, stop, step, slicelength;
 2617|       |
 2618|     27|    if (PySlice_Unpack(key, &start, &stop, &step) < 0) {
  ------------------
  |  Branch (2618:9): [True: 0, False: 27]
  ------------------
 2619|      0|        return -1;
 2620|      0|    }
 2621|     27|    slicelength = PySlice_AdjustIndices(base->shape[dim], &start, &stop, step);
 2622|       |
 2623|       |
 2624|     27|    if (base->suboffsets == NULL || dim == 0) {
  ------------------
  |  Branch (2624:9): [True: 27, False: 0]
  |  Branch (2624:37): [True: 0, False: 0]
  ------------------
 2625|     27|    adjust_buf:
 2626|     27|        base->buf = (char *)base->buf + base->strides[dim] * start;
 2627|     27|    }
 2628|      0|    else {
 2629|      0|        Py_ssize_t n = dim-1;
 2630|      0|        while (n >= 0 && base->suboffsets[n] < 0)
  ------------------
  |  Branch (2630:16): [True: 0, False: 0]
  |  Branch (2630:26): [True: 0, False: 0]
  ------------------
 2631|      0|            n--;
 2632|      0|        if (n < 0)
  ------------------
  |  Branch (2632:13): [True: 0, False: 0]
  ------------------
 2633|      0|            goto adjust_buf; /* all suboffsets are negative */
 2634|      0|        base->suboffsets[n] = base->suboffsets[n] + base->strides[dim] * start;
 2635|      0|    }
 2636|     27|    base->shape[dim] = slicelength;
 2637|     27|    base->strides[dim] = base->strides[dim] * step;
 2638|       |
 2639|     27|    return 0;
 2640|     27|}
memoryobject.c:init_len:
  598|     27|{
  599|     27|    Py_ssize_t i, len;
  600|       |
  601|     27|    len = 1;
  602|     54|    for (i = 0; i < view->ndim; i++)
  ------------------
  |  Branch (602:17): [True: 27, False: 27]
  ------------------
  603|     27|        len *= view->shape[i];
  604|     27|    len *= view->itemsize;
  605|       |
  606|     27|    view->len = len;
  607|     27|}
memoryobject.c:memory_getbuf:
 1576|     49|{
 1577|     49|    PyMemoryViewObject *self = (PyMemoryViewObject *)_self;
 1578|     49|    Py_buffer *base = &self->view;
 1579|     49|    int baseflags = self->flags;
 1580|       |
 1581|     49|    CHECK_RELEASED_INT(self);
  ------------------
  |  |  192|     49|    if (BASE_INACCESSIBLE(mv)) {                                  \
  |  |  ------------------
  |  |  |  |  181|     49|    (((PyMemoryViewObject *)mv)->flags&_Py_MEMORYVIEW_RELEASED || \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|     98|#define _Py_MEMORYVIEW_RELEASED    0x001  /* access to master buffer blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (181:6): [True: 0, False: 49]
  |  |  |  |  ------------------
  |  |  |  |  182|     49|     ((PyMemoryViewObject *)mv)->mbuf->flags&_Py_MANAGED_BUFFER_RELEASED)
  |  |  |  |  ------------------
  |  |  |  |  |  |    8|     49|#define _Py_MANAGED_BUFFER_RELEASED    0x001  /* access to exporter blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (182:6): [True: 0, False: 49]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  193|      0|        PyErr_SetString(PyExc_ValueError,                         \
  |  |  194|      0|            "operation forbidden on released memoryview object"); \
  |  |  195|      0|        return -1;                                                \
  |  |  196|      0|    }
  ------------------
 1582|     49|    CHECK_RESTRICTED_INT(self);
  ------------------
  |  |  206|     49|    if (((PyMemoryViewObject *)(mv))->flags & _Py_MEMORYVIEW_RESTRICTED) { \
  |  |  ------------------
  |  |  |  |   25|     49|#define _Py_MEMORYVIEW_RESTRICTED  0x020  /* Disallow new references to the memoryview's buffer */
  |  |  ------------------
  |  |  |  Branch (206:9): [True: 0, False: 49]
  |  |  ------------------
  |  |  207|      0|        PyErr_SetString(PyExc_ValueError,                                  \
  |  |  208|      0|            "cannot create new view on restricted memoryview");            \
  |  |  209|      0|        return -1;                                                       \
  |  |  210|      0|    }
  ------------------
 1583|       |
 1584|       |    /* start with complete information */
 1585|     49|    *view = *base;
 1586|     49|    view->obj = NULL;
 1587|       |
 1588|     49|    if (REQ_WRITABLE(flags) && base->readonly) {
  ------------------
  |  |  250|     98|#define REQ_WRITABLE(flags) (flags&PyBUF_WRITABLE)
  |  |  ------------------
  |  |  |  |  109|     49|#define PyBUF_WRITABLE 0x0001
  |  |  ------------------
  |  |  |  Branch (250:29): [True: 0, False: 49]
  |  |  ------------------
  ------------------
  |  Branch (1588:32): [True: 0, False: 0]
  ------------------
 1589|      0|        PyErr_SetString(PyExc_BufferError,
 1590|      0|            "memoryview: underlying buffer is not writable");
 1591|      0|        return -1;
 1592|      0|    }
 1593|     49|    if (!REQ_FORMAT(flags)) {
  ------------------
  |  |  251|     49|#define REQ_FORMAT(flags) (flags&PyBUF_FORMAT)
  |  |  ------------------
  |  |  |  |  116|     49|#define PyBUF_FORMAT 0x0004
  |  |  ------------------
  ------------------
  |  Branch (1593:9): [True: 49, False: 0]
  ------------------
 1594|       |        /* NULL indicates that the buffer's data type has been cast to 'B'.
 1595|       |           view->itemsize is the _previous_ itemsize. If shape is present,
 1596|       |           the equality product(shape) * itemsize = len still holds at this
 1597|       |           point. The equality calcsize(format) = itemsize does _not_ hold
 1598|       |           from here on! */
 1599|     49|        view->format = NULL;
 1600|     49|    }
 1601|       |
 1602|     49|    if (REQ_C_CONTIGUOUS(flags) && !MV_C_CONTIGUOUS(baseflags)) {
  ------------------
  |  |  245|     98|#define REQ_C_CONTIGUOUS(flags) ((flags&PyBUF_C_CONTIGUOUS) == PyBUF_C_CONTIGUOUS)
  |  |  ------------------
  |  |  |  |  119|     49|#define PyBUF_C_CONTIGUOUS (0x0020 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|     49|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|     49|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define REQ_C_CONTIGUOUS(flags) ((flags&PyBUF_C_CONTIGUOUS) == PyBUF_C_CONTIGUOUS)
  |  |  ------------------
  |  |  |  |  119|     49|#define PyBUF_C_CONTIGUOUS (0x0020 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|     49|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|     49|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (245:33): [True: 0, False: 49]
  |  |  ------------------
  ------------------
                  if (REQ_C_CONTIGUOUS(flags) && !MV_C_CONTIGUOUS(baseflags)) {
  ------------------
  |  |  233|      0|#define MV_C_CONTIGUOUS(flags) (flags&(_Py_MEMORYVIEW_SCALAR|_Py_MEMORYVIEW_C))
  |  |  ------------------
  |  |  |  |   23|      0|#define _Py_MEMORYVIEW_SCALAR      0x008  /* scalar: ndim = 0 */
  |  |  ------------------
  |  |               #define MV_C_CONTIGUOUS(flags) (flags&(_Py_MEMORYVIEW_SCALAR|_Py_MEMORYVIEW_C))
  |  |  ------------------
  |  |  |  |   21|      0|#define _Py_MEMORYVIEW_C           0x002  /* C-contiguous layout */
  |  |  ------------------
  ------------------
  |  Branch (1602:36): [True: 0, False: 0]
  ------------------
 1603|      0|        PyErr_SetString(PyExc_BufferError,
 1604|      0|            "memoryview: underlying buffer is not C-contiguous");
 1605|      0|        return -1;
 1606|      0|    }
 1607|     49|    if (REQ_F_CONTIGUOUS(flags) && !MV_F_CONTIGUOUS(baseflags)) {
  ------------------
  |  |  246|     98|#define REQ_F_CONTIGUOUS(flags) ((flags&PyBUF_F_CONTIGUOUS) == PyBUF_F_CONTIGUOUS)
  |  |  ------------------
  |  |  |  |  120|     49|#define PyBUF_F_CONTIGUOUS (0x0040 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|     49|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|     49|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define REQ_F_CONTIGUOUS(flags) ((flags&PyBUF_F_CONTIGUOUS) == PyBUF_F_CONTIGUOUS)
  |  |  ------------------
  |  |  |  |  120|     49|#define PyBUF_F_CONTIGUOUS (0x0040 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|     49|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|     49|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (246:33): [True: 0, False: 49]
  |  |  ------------------
  ------------------
                  if (REQ_F_CONTIGUOUS(flags) && !MV_F_CONTIGUOUS(baseflags)) {
  ------------------
  |  |  235|      0|    (flags&(_Py_MEMORYVIEW_SCALAR|_Py_MEMORYVIEW_FORTRAN))
  |  |  ------------------
  |  |  |  |   23|      0|#define _Py_MEMORYVIEW_SCALAR      0x008  /* scalar: ndim = 0 */
  |  |  ------------------
  |  |                   (flags&(_Py_MEMORYVIEW_SCALAR|_Py_MEMORYVIEW_FORTRAN))
  |  |  ------------------
  |  |  |  |   22|      0|#define _Py_MEMORYVIEW_FORTRAN     0x004  /* Fortran contiguous layout */
  |  |  ------------------
  ------------------
  |  Branch (1607:36): [True: 0, False: 0]
  ------------------
 1608|      0|        PyErr_SetString(PyExc_BufferError,
 1609|      0|            "memoryview: underlying buffer is not Fortran contiguous");
 1610|      0|        return -1;
 1611|      0|    }
 1612|     49|    if (REQ_ANY_CONTIGUOUS(flags) && !MV_ANY_CONTIGUOUS(baseflags)) {
  ------------------
  |  |  247|     98|#define REQ_ANY_CONTIGUOUS(flags) ((flags&PyBUF_ANY_CONTIGUOUS) == PyBUF_ANY_CONTIGUOUS)
  |  |  ------------------
  |  |  |  |  121|     49|#define PyBUF_ANY_CONTIGUOUS (0x0080 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|     49|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|     49|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define REQ_ANY_CONTIGUOUS(flags) ((flags&PyBUF_ANY_CONTIGUOUS) == PyBUF_ANY_CONTIGUOUS)
  |  |  ------------------
  |  |  |  |  121|     49|#define PyBUF_ANY_CONTIGUOUS (0x0080 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|     49|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|     49|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (247:35): [True: 0, False: 49]
  |  |  ------------------
  ------------------
                  if (REQ_ANY_CONTIGUOUS(flags) && !MV_ANY_CONTIGUOUS(baseflags)) {
  ------------------
  |  |  237|      0|    (flags&(_Py_MEMORYVIEW_SCALAR|_Py_MEMORYVIEW_C|_Py_MEMORYVIEW_FORTRAN))
  |  |  ------------------
  |  |  |  |   23|      0|#define _Py_MEMORYVIEW_SCALAR      0x008  /* scalar: ndim = 0 */
  |  |  ------------------
  |  |                   (flags&(_Py_MEMORYVIEW_SCALAR|_Py_MEMORYVIEW_C|_Py_MEMORYVIEW_FORTRAN))
  |  |  ------------------
  |  |  |  |   21|      0|#define _Py_MEMORYVIEW_C           0x002  /* C-contiguous layout */
  |  |  ------------------
  |  |                   (flags&(_Py_MEMORYVIEW_SCALAR|_Py_MEMORYVIEW_C|_Py_MEMORYVIEW_FORTRAN))
  |  |  ------------------
  |  |  |  |   22|      0|#define _Py_MEMORYVIEW_FORTRAN     0x004  /* Fortran contiguous layout */
  |  |  ------------------
  ------------------
  |  Branch (1612:38): [True: 0, False: 0]
  ------------------
 1613|      0|        PyErr_SetString(PyExc_BufferError,
 1614|      0|            "memoryview: underlying buffer is not contiguous");
 1615|      0|        return -1;
 1616|      0|    }
 1617|     49|    if (!REQ_INDIRECT(flags) && (baseflags & _Py_MEMORYVIEW_PIL)) {
  ------------------
  |  |  244|     98|#define REQ_INDIRECT(flags) ((flags&PyBUF_INDIRECT) == PyBUF_INDIRECT)
  |  |  ------------------
  |  |  |  |  122|     49|#define PyBUF_INDIRECT (0x0100 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|     49|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|     49|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define REQ_INDIRECT(flags) ((flags&PyBUF_INDIRECT) == PyBUF_INDIRECT)
  |  |  ------------------
  |  |  |  |  122|     49|#define PyBUF_INDIRECT (0x0100 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|     49|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|     49|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (!REQ_INDIRECT(flags) && (baseflags & _Py_MEMORYVIEW_PIL)) {
  ------------------
  |  |   24|     49|#define _Py_MEMORYVIEW_PIL         0x010  /* PIL-style layout */
  ------------------
  |  Branch (1617:9): [True: 49, False: 0]
  |  Branch (1617:33): [True: 0, False: 49]
  ------------------
 1618|      0|        PyErr_SetString(PyExc_BufferError,
 1619|      0|            "memoryview: underlying buffer requires suboffsets");
 1620|      0|        return -1;
 1621|      0|    }
 1622|     49|    if (!REQ_STRIDES(flags)) {
  ------------------
  |  |  248|     49|#define REQ_STRIDES(flags) ((flags&PyBUF_STRIDES) == PyBUF_STRIDES)
  |  |  ------------------
  |  |  |  |  118|     49|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|     49|#define PyBUF_ND 0x0008
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define REQ_STRIDES(flags) ((flags&PyBUF_STRIDES) == PyBUF_STRIDES)
  |  |  ------------------
  |  |  |  |  118|     49|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|     49|#define PyBUF_ND 0x0008
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1622:9): [True: 49, False: 0]
  ------------------
 1623|     49|        if (!MV_C_CONTIGUOUS(baseflags)) {
  ------------------
  |  |  233|     49|#define MV_C_CONTIGUOUS(flags) (flags&(_Py_MEMORYVIEW_SCALAR|_Py_MEMORYVIEW_C))
  |  |  ------------------
  |  |  |  |   23|     49|#define _Py_MEMORYVIEW_SCALAR      0x008  /* scalar: ndim = 0 */
  |  |  ------------------
  |  |               #define MV_C_CONTIGUOUS(flags) (flags&(_Py_MEMORYVIEW_SCALAR|_Py_MEMORYVIEW_C))
  |  |  ------------------
  |  |  |  |   21|     49|#define _Py_MEMORYVIEW_C           0x002  /* C-contiguous layout */
  |  |  ------------------
  ------------------
  |  Branch (1623:13): [True: 0, False: 49]
  ------------------
 1624|      0|            PyErr_SetString(PyExc_BufferError,
 1625|      0|                "memoryview: underlying buffer is not C-contiguous");
 1626|      0|            return -1;
 1627|      0|        }
 1628|     49|        view->strides = NULL;
 1629|     49|    }
 1630|     49|    if (!REQ_SHAPE(flags)) {
  ------------------
  |  |  249|     49|#define REQ_SHAPE(flags) ((flags&PyBUF_ND) == PyBUF_ND)
  |  |  ------------------
  |  |  |  |  117|     49|#define PyBUF_ND 0x0008
  |  |  ------------------
  |  |               #define REQ_SHAPE(flags) ((flags&PyBUF_ND) == PyBUF_ND)
  |  |  ------------------
  |  |  |  |  117|     49|#define PyBUF_ND 0x0008
  |  |  ------------------
  ------------------
  |  Branch (1630:9): [True: 49, False: 0]
  ------------------
 1631|       |        /* PyBUF_SIMPLE or PyBUF_WRITABLE: at this point buf is C-contiguous,
 1632|       |           so base->buf = ndbuf->data. */
 1633|     49|        if (view->format != NULL) {
  ------------------
  |  Branch (1633:13): [True: 0, False: 49]
  ------------------
 1634|       |            /* PyBUF_SIMPLE|PyBUF_FORMAT and PyBUF_WRITABLE|PyBUF_FORMAT do
 1635|       |               not make sense. */
 1636|      0|            PyErr_Format(PyExc_BufferError,
 1637|      0|                "memoryview: cannot cast to unsigned bytes if the format flag "
 1638|      0|                "is present");
 1639|      0|            return -1;
 1640|      0|        }
 1641|       |        /* product(shape) * itemsize = len and calcsize(format) = itemsize
 1642|       |           do _not_ hold from here on! */
 1643|     49|        view->ndim = 1;
 1644|     49|        view->shape = NULL;
 1645|     49|    }
 1646|       |
 1647|       |
 1648|     49|    view->obj = Py_NewRef(self);
  ------------------
  |  |  550|     49|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     49|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     49|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1649|     49|    FT_ATOMIC_ADD_SSIZE(self->exports, 1);
  ------------------
  |  |  203|     49|#define FT_ATOMIC_ADD_SSIZE(value, new_value) (void)(value += new_value)
  ------------------
 1650|       |
 1651|     49|    return 0;
 1652|     49|}
memoryobject.c:memory_releasebuf:
 1656|     49|{
 1657|     49|    PyMemoryViewObject *self = (PyMemoryViewObject *)_self;
 1658|     49|    FT_ATOMIC_ADD_SSIZE(self->exports, -1);
  ------------------
  |  |  203|     49|#define FT_ATOMIC_ADD_SSIZE(value, new_value) (void)(value += new_value)
  ------------------
 1659|     49|    return;
 1660|       |    /* PyBuffer_Release() decrements view->obj after this function returns. */
 1661|     49|}
memoryobject.c:memoryview_impl:
 1016|     27|{
 1017|     27|    return PyMemoryView_FromObject(object);
 1018|     27|}

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

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

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

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

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

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

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

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

PyModuleDef_Init:
   83|     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;
  ------------------
  |  |  306|      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) {
  ------------------
  |  |  936|     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);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) 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|    811|{
  832|    811|    if (!PyModule_Check(m)) {
  ------------------
  |  |   12|    811|#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  378|    811|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    811|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    811|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (832:9): [True: 0, False: 811]
  ------------------
  833|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  834|      0|        return NULL;
  835|      0|    }
  836|    811|    return _PyModule_GetDict(m);  // borrowed reference
  837|    811|}
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) {
  ------------------
  |  |  936|      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);
  ------------------
  |  |  936|      1|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      1|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      1|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  931|      1|    if (res < 0) {
  ------------------
  |  Branch (931:9): [True: 0, False: 1]
  ------------------
  932|      0|        return NULL;
  933|      0|    }
  934|      1|    if (res == 0) {
  ------------------
  |  Branch (934:9): [True: 1, False: 0]
  ------------------
  935|       |        // __file__ isn't set.  There are several reasons why this might
  936|       |        // be so, most of them valid reasons.  If it's the __main__
  937|       |        // module then we're running the REPL or with -c.  Otherwise
  938|       |        // it's a namespace package or other module with a loader that
  939|       |        // isn't disk-based.  It could also be that a user created
  940|       |        // a module manually but without manually setting __file__.
  941|      1|        Py_RETURN_NONE;
  ------------------
  |  |  628|      1|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  942|      1|    }
  943|      0|    if (!PyUnicode_Check(fileobj)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (943:9): [True: 0, False: 0]
  ------------------
  944|      0|        Py_DECREF(fileobj);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  945|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  946|      0|    }
  947|      0|    return fileobj;
  948|      0|}
PyModule_GetFilenameObject:
  952|      1|{
  953|      1|    PyObject *fileobj = _PyModule_GetFilenameObject(mod);
  954|      1|    if (fileobj == NULL) {
  ------------------
  |  Branch (954:9): [True: 0, False: 1]
  ------------------
  955|      0|        return NULL;
  956|      0|    }
  957|      1|    if (fileobj == Py_None) {
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (957:9): [True: 1, False: 0]
  ------------------
  958|      1|        PyErr_SetString(PyExc_SystemError, "module filename missing");
  959|      1|        return NULL;
  960|      1|    }
  961|      0|    return fileobj;
  962|      1|}
PyModule_GetState:
 1029|     35|{
 1030|     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 (1030:9): [True: 0, False: 35]
  ------------------
 1031|      0|        PyErr_BadArgument();
 1032|      0|        return NULL;
 1033|      0|    }
 1034|     35|    return _PyModule_GetState(m);
 1035|     35|}
_PyModuleSpec_IsInitializing:
 1175|    415|{
 1176|    415|    if (spec == NULL) {
  ------------------
  |  Branch (1176:9): [True: 0, False: 415]
  ------------------
 1177|      0|        return 0;
 1178|      0|    }
 1179|    415|    PyObject *value;
 1180|    415|    int rc = PyObject_GetOptionalAttr(spec, &_Py_ID(_initializing), &value);
  ------------------
  |  |  936|    415|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    415|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    415|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1181|    415|    if (rc > 0) {
  ------------------
  |  Branch (1181:9): [True: 319, False: 96]
  ------------------
 1182|    319|        rc = PyObject_IsTrue(value);
 1183|    319|        Py_DECREF(value);
  ------------------
  |  |  430|    319|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    319|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    319|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1184|    319|    }
 1185|    415|    return rc;
 1186|    415|}
_PyModuleSpec_IsUninitializedSubmodule:
 1193|     24|{
 1194|     24|    if (spec == NULL) {
  ------------------
  |  Branch (1194:9): [True: 0, False: 24]
  ------------------
 1195|      0|         return 0;
 1196|      0|    }
 1197|       |
 1198|     24|    PyObject *value;
 1199|     24|    int rc = PyObject_GetOptionalAttr(spec, &_Py_ID(_uninitialized_submodules), &value);
  ------------------
  |  |  936|     24|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     24|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     24|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1200|     24|    if (rc > 0) {
  ------------------
  |  Branch (1200:9): [True: 4, False: 20]
  ------------------
 1201|      4|        rc = PySequence_Contains(value, name);
 1202|      4|        Py_DECREF(value);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1203|      4|    }
 1204|     24|    return rc;
 1205|     24|}
_PyModuleSpec_GetFileOrigin:
 1209|     25|{
 1210|     25|    PyObject *has_location = NULL;
 1211|     25|    int rc = PyObject_GetOptionalAttr(spec, &_Py_ID(has_location), &has_location);
  ------------------
  |  |  936|     25|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     25|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     25|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1212|     25|    if (rc <= 0) {
  ------------------
  |  Branch (1212:9): [True: 20, False: 5]
  ------------------
 1213|     20|        return rc;
 1214|     20|    }
 1215|       |    // If origin is not a location, or doesn't exist, or is not a str, we could consider falling
 1216|       |    // back to module.__file__. But the cases in which module.__file__ is not __spec__.origin
 1217|       |    // are cases in which we probably shouldn't be guessing.
 1218|      5|    rc = PyObject_IsTrue(has_location);
 1219|      5|    Py_DECREF(has_location);
  ------------------
  |  |  430|      5|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1220|      5|    if (rc <= 0) {
  ------------------
  |  Branch (1220:9): [True: 3, False: 2]
  ------------------
 1221|      3|        return rc;
 1222|      3|    }
 1223|       |    // has_location is true, so origin is a location
 1224|      2|    PyObject *origin = NULL;
 1225|      2|    rc = PyObject_GetOptionalAttr(spec, &_Py_ID(origin), &origin);
  ------------------
  |  |  936|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1226|      2|    if (rc <= 0) {
  ------------------
  |  Branch (1226:9): [True: 0, False: 2]
  ------------------
 1227|      0|        return rc;
 1228|      0|    }
 1229|      2|    assert(origin != NULL);
  ------------------
  |  Branch (1229:5): [True: 2, False: 0]
  ------------------
 1230|      2|    if (!PyUnicode_Check(origin)) {
  ------------------
  |  |  103|      2|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      2|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1230:9): [True: 0, False: 2]
  ------------------
 1231|      0|        Py_DECREF(origin);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1232|      0|        return 0;
 1233|      0|    }
 1234|      2|    *p_origin = origin;
 1235|      2|    return 1;
 1236|      2|}
_PyModule_IsPossiblyShadowing:
 1240|     25|{
 1241|       |    // origin must be a unicode subtype
 1242|       |    // Returns 1 if the module at origin could be shadowing a module of the
 1243|       |    // same name later in the module search path. The condition we check is basically:
 1244|       |    // root = os.path.dirname(origin.removesuffix(os.sep + "__init__.py"))
 1245|       |    // return not sys.flags.safe_path and root == (sys.path[0] or os.getcwd())
 1246|       |    // Returns 0 otherwise (or if we aren't sure)
 1247|       |    // Returns -1 if an error occurred that should be propagated
 1248|     25|    if (origin == NULL) {
  ------------------
  |  Branch (1248:9): [True: 23, False: 2]
  ------------------
 1249|     23|        return 0;
 1250|     23|    }
 1251|       |
 1252|       |    // not sys.flags.safe_path
 1253|      2|    const PyConfig *config = _Py_GetConfig();
 1254|      2|    if (config->safe_path) {
  ------------------
  |  Branch (1254:9): [True: 0, False: 2]
  ------------------
 1255|      0|        return 0;
 1256|      0|    }
 1257|       |
 1258|       |    // root = os.path.dirname(origin.removesuffix(os.sep + "__init__.py"))
 1259|      2|    wchar_t root[MAXPATHLEN + 1];
 1260|      2|    Py_ssize_t size = PyUnicode_AsWideChar(origin, root, MAXPATHLEN);
  ------------------
  |  |   43|      2|#    define MAXPATHLEN PATH_MAX
  ------------------
 1261|      2|    if (size < 0) {
  ------------------
  |  Branch (1261:9): [True: 0, False: 2]
  ------------------
 1262|      0|        return -1;
 1263|      0|    }
 1264|      2|    assert(size <= MAXPATHLEN);
  ------------------
  |  Branch (1264:5): [True: 2, False: 0]
  ------------------
 1265|      2|    root[size] = L'\0';
 1266|       |
 1267|      2|    wchar_t *sep = wcsrchr(root, SEP);
  ------------------
  |  |   29|      2|#  define SEP L'/'
  ------------------
 1268|      2|    if (sep == NULL) {
  ------------------
  |  Branch (1268:9): [True: 0, False: 2]
  ------------------
 1269|      0|        return 0;
 1270|      0|    }
 1271|       |    // If it's a package then we need to look one directory further up
 1272|      2|    if (wcscmp(sep + 1, L"__init__.py") == 0) {
  ------------------
  |  Branch (1272:9): [True: 0, False: 2]
  ------------------
 1273|      0|        *sep = L'\0';
 1274|      0|        sep = wcsrchr(root, SEP);
  ------------------
  |  |   29|      0|#  define SEP L'/'
  ------------------
 1275|      0|        if (sep == NULL) {
  ------------------
  |  Branch (1275:13): [True: 0, False: 0]
  ------------------
 1276|      0|            return 0;
 1277|      0|        }
 1278|      0|    }
 1279|      2|    *sep = L'\0';
 1280|       |
 1281|       |    // sys.path[0] or os.getcwd()
 1282|      2|    wchar_t *sys_path_0 = config->sys_path_0;
 1283|      2|    if (!sys_path_0) {
  ------------------
  |  Branch (1283:9): [True: 2, False: 0]
  ------------------
 1284|      2|        return 0;
 1285|      2|    }
 1286|       |
 1287|      0|    wchar_t sys_path_0_buf[MAXPATHLEN];
 1288|      0|    if (sys_path_0[0] == L'\0') {
  ------------------
  |  Branch (1288:9): [True: 0, False: 0]
  ------------------
 1289|       |        // if sys.path[0] == "", treat it as if it were the current directory
 1290|      0|        if (!_Py_wgetcwd(sys_path_0_buf, MAXPATHLEN)) {
  ------------------
  |  |   43|      0|#    define MAXPATHLEN PATH_MAX
  ------------------
  |  Branch (1290:13): [True: 0, False: 0]
  ------------------
 1291|       |            // If we failed to getcwd, don't raise an exception and instead
 1292|       |            // let the caller proceed assuming no shadowing
 1293|      0|            return 0;
 1294|      0|        }
 1295|      0|        sys_path_0 = sys_path_0_buf;
 1296|      0|    }
 1297|       |
 1298|      0|    int result = wcscmp(sys_path_0, root) == 0;
 1299|      0|    return result;
 1300|      0|}
_Py_module_getattro_impl:
 1332|  5.02k|{
 1333|       |    // When suppress=1, this function suppresses AttributeError.
 1334|  5.02k|    PyObject *attr, *mod_name, *getattr;
 1335|  5.02k|    attr = _PyObject_GenericGetAttrWithDict((PyObject *)m, name, NULL, suppress);
 1336|  5.02k|    if (attr) {
  ------------------
  |  Branch (1336:9): [True: 4.76k, False: 261]
  ------------------
 1337|  4.76k|        if (PyLazyImport_CheckExact(attr)) {
  ------------------
  |  |   15|  4.76k|#define PyLazyImport_CheckExact(op) Py_IS_TYPE((op), &PyLazyImport_Type)
  |  |  ------------------
  |  |  |  |  215|  4.76k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.76k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.76k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 4.76k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1338|       |            // gh-144957: Module __getattr__ should get a chance to provide
 1339|       |            // the attribute before resolving a lazy import placeholder.
 1340|      0|            if (PyDict_GetItemRef(m->md_dict, &_Py_ID(__getattr__), &getattr) < 0) {
  ------------------
  |  |  936|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1340:17): [True: 0, False: 0]
  ------------------
 1341|      0|                Py_DECREF(attr);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1342|      0|                return NULL;
 1343|      0|            }
 1344|      0|            if (getattr) {
  ------------------
  |  Branch (1344:17): [True: 0, False: 0]
  ------------------
 1345|      0|                PyObject *result = PyObject_CallOneArg(getattr, name);
 1346|      0|                Py_DECREF(getattr);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1347|      0|                if (result != NULL) {
  ------------------
  |  Branch (1347:21): [True: 0, False: 0]
  ------------------
 1348|      0|                    Py_DECREF(attr);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1349|      0|                    return result;
 1350|      0|                }
 1351|      0|                if (!PyErr_ExceptionMatches(PyExc_AttributeError)) {
  ------------------
  |  Branch (1351:21): [True: 0, False: 0]
  ------------------
 1352|      0|                    Py_DECREF(attr);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1353|      0|                    return NULL;
 1354|      0|                }
 1355|      0|                PyErr_Clear();
 1356|      0|            }
 1357|      0|            PyObject *new_value = _PyImport_LoadLazyImportTstate(
 1358|      0|                PyThreadState_GET(), attr);
  ------------------
  |  |   63|      0|#define PyThreadState_GET() PyThreadState_Get()
  ------------------
 1359|      0|            if (new_value == NULL) {
  ------------------
  |  Branch (1359:17): [True: 0, False: 0]
  ------------------
 1360|      0|                if (suppress &&
  ------------------
  |  Branch (1360:21): [True: 0, False: 0]
  ------------------
 1361|      0|                    PyErr_ExceptionMatches(PyExc_ImportCycleError)) {
  ------------------
  |  Branch (1361:21): [True: 0, False: 0]
  ------------------
 1362|       |                    // ImportCycleError is raised when a lazy object tries
 1363|       |                    // to import itself. In this case, the error should not
 1364|       |                    // propagate to the caller and instead treated as if the
 1365|       |                    // attribute doesn't exist.
 1366|      0|                    PyErr_Clear();
 1367|      0|                }
 1368|      0|                Py_DECREF(attr);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1369|      0|                return NULL;
 1370|      0|            }
 1371|       |
 1372|      0|            if (PyDict_SetItem(m->md_dict, name, new_value) < 0) {
  ------------------
  |  Branch (1372:17): [True: 0, False: 0]
  ------------------
 1373|      0|                Py_CLEAR(new_value);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1374|      0|            }
 1375|      0|            Py_DECREF(attr);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1376|      0|            return new_value;
 1377|      0|        }
 1378|  4.76k|        return attr;
 1379|  4.76k|    }
 1380|    261|    if (suppress == 1) {
  ------------------
  |  Branch (1380:9): [True: 237, False: 24]
  ------------------
 1381|    237|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (1381:13): [True: 0, False: 237]
  ------------------
 1382|       |            // pass up non-AttributeError exception
 1383|      0|            return NULL;
 1384|      0|        }
 1385|    237|    }
 1386|     24|    else {
 1387|     24|        if (!PyErr_ExceptionMatches(PyExc_AttributeError)) {
  ------------------
  |  Branch (1387:13): [True: 0, False: 24]
  ------------------
 1388|       |            // pass up non-AttributeError exception
 1389|      0|            return NULL;
 1390|      0|        }
 1391|     24|        PyErr_Clear();
 1392|     24|    }
 1393|    261|    assert(m->md_dict != NULL);
  ------------------
  |  Branch (1393:5): [True: 261, False: 0]
  ------------------
 1394|    261|    attr = try_load_lazy_submodule(m, name);
 1395|    261|    if (attr != NULL) {
  ------------------
  |  Branch (1395:9): [True: 0, False: 261]
  ------------------
 1396|      0|        return attr;
 1397|      0|    }
 1398|    261|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (1398:9): [True: 0, False: 261]
  ------------------
 1399|      0|        return NULL;
 1400|      0|    }
 1401|    261|    if (PyDict_GetItemRef(m->md_dict, &_Py_ID(__getattr__), &getattr) < 0) {
  ------------------
  |  |  936|    261|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    261|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    261|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1401:9): [True: 0, False: 261]
  ------------------
 1402|      0|        return NULL;
 1403|      0|    }
 1404|    261|    if (getattr) {
  ------------------
  |  Branch (1404:9): [True: 5, False: 256]
  ------------------
 1405|      5|        PyObject *result = PyObject_CallOneArg(getattr, name);
 1406|      5|        if (result == NULL && suppress == 1 && PyErr_ExceptionMatches(PyExc_AttributeError)) {
  ------------------
  |  Branch (1406:13): [True: 5, False: 0]
  |  Branch (1406:31): [True: 5, False: 0]
  |  Branch (1406:48): [True: 5, False: 0]
  ------------------
 1407|       |            // suppress AttributeError
 1408|      5|            PyErr_Clear();
 1409|      5|        }
 1410|      5|        Py_DECREF(getattr);
  ------------------
  |  |  430|      5|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1411|      5|        return result;
 1412|      5|    }
 1413|       |
 1414|       |    // The attribute was not found.  We make a best effort attempt at a useful error message,
 1415|       |    // but only if we're not suppressing AttributeError.
 1416|    256|    if (suppress == 1) {
  ------------------
  |  Branch (1416:9): [True: 232, False: 24]
  ------------------
 1417|    232|        return NULL;
 1418|    232|    }
 1419|     24|    if (PyDict_GetItemRef(m->md_dict, &_Py_ID(__name__), &mod_name) < 0) {
  ------------------
  |  |  936|     24|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     24|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     24|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1419:9): [True: 0, False: 24]
  ------------------
 1420|      0|        return NULL;
 1421|      0|    }
 1422|     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 (1422:9): [True: 0, False: 24]
  |  Branch (1422:22): [True: 0, False: 24]
  ------------------
 1423|      0|        Py_XDECREF(mod_name);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1424|      0|        PyErr_Format(PyExc_AttributeError,
 1425|      0|                    "module has no attribute '%U'", name);
 1426|      0|        return NULL;
 1427|      0|    }
 1428|     24|    PyObject *spec;
 1429|     24|    if (PyDict_GetItemRef(m->md_dict, &_Py_ID(__spec__), &spec) < 0) {
  ------------------
  |  |  936|     24|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     24|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     24|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1429:9): [True: 0, False: 24]
  ------------------
 1430|      0|        Py_DECREF(mod_name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1431|      0|        return NULL;
 1432|      0|    }
 1433|     24|    if (spec == NULL) {
  ------------------
  |  Branch (1433:9): [True: 0, False: 24]
  ------------------
 1434|      0|        PyErr_Format(PyExc_AttributeError,
 1435|      0|                     "module '%U' has no attribute '%U'",
 1436|      0|                     mod_name, name);
 1437|      0|        Py_DECREF(mod_name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1438|      0|        return NULL;
 1439|      0|    }
 1440|       |
 1441|     24|    PyObject *origin = NULL;
 1442|     24|    if (_PyModuleSpec_GetFileOrigin(spec, &origin) < 0) {
  ------------------
  |  Branch (1442:9): [True: 0, False: 24]
  ------------------
 1443|      0|        goto done;
 1444|      0|    }
 1445|       |
 1446|     24|    int is_possibly_shadowing = _PyModule_IsPossiblyShadowing(origin);
 1447|     24|    if (is_possibly_shadowing < 0) {
  ------------------
  |  Branch (1447:9): [True: 0, False: 24]
  ------------------
 1448|      0|        goto done;
 1449|      0|    }
 1450|     24|    int is_possibly_shadowing_stdlib = 0;
 1451|     24|    if (is_possibly_shadowing) {
  ------------------
  |  Branch (1451:9): [True: 0, False: 24]
  ------------------
 1452|      0|        PyObject *stdlib_modules;
 1453|      0|        if (PySys_GetOptionalAttrString("stdlib_module_names", &stdlib_modules) < 0) {
  ------------------
  |  Branch (1453:13): [True: 0, False: 0]
  ------------------
 1454|      0|            goto done;
 1455|      0|        }
 1456|      0|        if (stdlib_modules && PyAnySet_Check(stdlib_modules)) {
  ------------------
  |  |   31|      0|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   32|      0|      PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (32:7): [True: 0, False: 0]
  |  |  ------------------
  |  |   33|      0|      PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (33:7): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1456:13): [True: 0, False: 0]
  ------------------
 1457|      0|            is_possibly_shadowing_stdlib = PySet_Contains(stdlib_modules, mod_name);
 1458|      0|            if (is_possibly_shadowing_stdlib < 0) {
  ------------------
  |  Branch (1458:17): [True: 0, False: 0]
  ------------------
 1459|      0|                Py_DECREF(stdlib_modules);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1460|      0|                goto done;
 1461|      0|            }
 1462|      0|        }
 1463|      0|        Py_XDECREF(stdlib_modules);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1464|      0|    }
 1465|       |
 1466|     24|    if (is_possibly_shadowing_stdlib) {
  ------------------
  |  Branch (1466:9): [True: 0, False: 24]
  ------------------
 1467|      0|        assert(origin);
  ------------------
  |  Branch (1467:9): [True: 0, False: 0]
  ------------------
 1468|      0|        PyErr_Format(PyExc_AttributeError,
 1469|      0|                    "module '%U' has no attribute '%U' "
 1470|      0|                    "(consider renaming '%U' since it has the same "
 1471|      0|                    "name as the standard library module named '%U' "
 1472|      0|                    "and prevents importing that standard library module)",
 1473|      0|                    mod_name, name, origin, mod_name);
 1474|      0|    }
 1475|     24|    else {
 1476|     24|        int rc = _PyModuleSpec_IsInitializing(spec);
 1477|     24|        if (rc < 0) {
  ------------------
  |  Branch (1477:13): [True: 0, False: 24]
  ------------------
 1478|      0|            goto done;
 1479|      0|        }
 1480|     24|        else if (rc > 0) {
  ------------------
  |  Branch (1480:18): [True: 0, False: 24]
  ------------------
 1481|      0|            if (is_possibly_shadowing) {
  ------------------
  |  Branch (1481:17): [True: 0, False: 0]
  ------------------
 1482|      0|                assert(origin);
  ------------------
  |  Branch (1482:17): [True: 0, False: 0]
  ------------------
 1483|       |                // For non-stdlib modules, only mention the possibility of
 1484|       |                // shadowing if the module is being initialized.
 1485|      0|                PyErr_Format(PyExc_AttributeError,
 1486|      0|                            "module '%U' has no attribute '%U' "
 1487|      0|                            "(consider renaming '%U' if it has the same name "
 1488|      0|                            "as a library you intended to import)",
 1489|      0|                            mod_name, name, origin);
 1490|      0|            }
 1491|      0|            else if (origin) {
  ------------------
  |  Branch (1491:22): [True: 0, False: 0]
  ------------------
 1492|      0|                PyErr_Format(PyExc_AttributeError,
 1493|      0|                            "partially initialized "
 1494|      0|                            "module '%U' from '%U' has no attribute '%U' "
 1495|      0|                            "(most likely due to a circular import)",
 1496|      0|                            mod_name, origin, name);
 1497|      0|            }
 1498|      0|            else {
 1499|      0|                PyErr_Format(PyExc_AttributeError,
 1500|      0|                            "partially initialized "
 1501|      0|                            "module '%U' has no attribute '%U' "
 1502|      0|                            "(most likely due to a circular import)",
 1503|      0|                            mod_name, name);
 1504|      0|            }
 1505|      0|        }
 1506|     24|        else {
 1507|     24|            assert(rc == 0);
  ------------------
  |  Branch (1507:13): [True: 24, False: 0]
  ------------------
 1508|     24|            rc = _PyModuleSpec_IsUninitializedSubmodule(spec, name);
 1509|     24|            if (rc > 0) {
  ------------------
  |  Branch (1509:17): [True: 0, False: 24]
  ------------------
 1510|      0|                PyErr_Format(PyExc_AttributeError,
 1511|      0|                            "cannot access submodule '%U' of module '%U' "
 1512|      0|                            "(most likely due to a circular import)",
 1513|      0|                            name, mod_name);
 1514|      0|            }
 1515|     24|            else if (rc == 0) {
  ------------------
  |  Branch (1515:22): [True: 24, False: 0]
  ------------------
 1516|     24|                PyErr_Format(PyExc_AttributeError,
 1517|     24|                            "module '%U' has no attribute '%U'",
 1518|     24|                            mod_name, name);
 1519|     24|            }
 1520|     24|        }
 1521|     24|    }
 1522|       |
 1523|     24|done:
 1524|     24|    Py_XDECREF(origin);
  ------------------
  |  |  524|     24|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1525|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1526|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1527|       |    return NULL;
 1528|     24|}
_Py_module_getattro:
 1533|  3.51k|{
 1534|  3.51k|    PyModuleObject *m = _PyModule_CAST(self);
  ------------------
  |  |   24|  3.51k|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.51k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1534:25): [True: 3.51k, False: 0]
  ------------------
 1535|      0|    return _Py_module_getattro_impl(m, name, 0);
 1536|  3.51k|}
moduleobject.c:module_dict_watcher:
  206|  7.36k|{
  207|  7.36k|    assert(PyDict_Check(dict));
  ------------------
  |  Branch (207:5): [True: 7.36k, 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.36k|    if (event == PyDict_EVENT_MODIFIED &&
  ------------------
  |  Branch (210:9): [True: 828, False: 6.53k]
  ------------------
  211|    828|        new_value != NULL &&
  ------------------
  |  Branch (211:9): [True: 828, False: 0]
  ------------------
  212|    828|        PyLazyImport_CheckExact(new_value)) {
  ------------------
  |  |   15|    828|#define PyLazyImport_CheckExact(op) Py_IS_TYPE((op), &PyLazyImport_Type)
  |  |  ------------------
  |  |  |  |  215|    828|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    828|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    828|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 828]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  213|      0|        _PyDict_ClearKeysVersionLockHeld(dict);
  214|      0|    }
  215|  7.36k|    return 0;
  216|  7.36k|}
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)
  ------------------
  |  |  936|     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)
  ------------------
  |  |  936|     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)
  ------------------
  |  |  936|     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)
  ------------------
  |  |  936|     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)
  ------------------
  |  |  936|     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));
  ------------------
  |  |  376|     99|    do { \
  |  |  377|     99|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|     99|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|     99|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|     99|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|     99|        *_tmp_dst_ptr = (src); \
  |  |  380|     99|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|     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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|     99|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381: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);
  ------------------
  |  |  306|     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)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)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);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) 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: 978, False: 41]
  ------------------
  301|    978|        if ((fdef->ml_flags & METH_CLASS) ||
  ------------------
  |  |  104|    978|#define METH_CLASS    0x0010
  ------------------
  |  Branch (301:13): [True: 0, False: 978]
  ------------------
  302|    978|            (fdef->ml_flags & METH_STATIC)) {
  ------------------
  |  |  105|    978|#define METH_STATIC   0x0020
  ------------------
  |  Branch (302:13): [True: 0, False: 978]
  ------------------
  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|    978|        func = PyCFunction_NewEx(fdef, (PyObject*)module, name);
  ------------------
  |  |   87|    978|#define PyCFunction_NewEx(ML, SELF, MOD) PyCMethod_New((ML), (SELF), (MOD), NULL)
  ------------------
  309|    978|        if (func == NULL) {
  ------------------
  |  Branch (309:13): [True: 0, False: 978]
  ------------------
  310|      0|            return -1;
  311|      0|        }
  312|    978|        _PyObject_SetDeferredRefcount(func);
  313|    978|        if (PyObject_SetAttrString(module, fdef->ml_name, func) != 0) {
  ------------------
  |  Branch (313:13): [True: 0, False: 978]
  ------------------
  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|    978|        Py_DECREF(func);
  ------------------
  |  |  430|    978|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    978|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    978|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  318|    978|    }
  319|       |
  320|     41|    return 0;
  321|     41|}
moduleobject.c:try_load_lazy_submodule:
 1304|    261|{
 1305|    261|    PyObject *mod_name;
 1306|    261|    int rc = PyDict_GetItemRef(m->md_dict, &_Py_ID(__name__), &mod_name);
  ------------------
  |  |  936|    261|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    261|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    261|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1307|    261|    if (rc <= 0) {
  ------------------
  |  Branch (1307:9): [True: 0, False: 261]
  ------------------
 1308|      0|        return NULL;
 1309|      0|    }
 1310|    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 (1310:9): [True: 0, False: 261]
  ------------------
 1311|      0|        Py_DECREF(mod_name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1312|      0|        return NULL;
 1313|      0|    }
 1314|    261|    PyObject *result = NULL;
 1315|    261|    _PyLazySubmoduleImportResult status =
 1316|    261|        _PyImport_TryLoadLazySubmodule(mod_name, name, &result);
 1317|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1318|    261|    if (status != _Py_LAZY_SUBMODULE_LOADED) {
  ------------------
  |  Branch (1318:9): [True: 261, False: 0]
  ------------------
 1319|    261|        assert(status == _Py_LAZY_SUBMODULE_ERROR ||
  ------------------
  |  Branch (1319:9): [True: 0, False: 261]
  |  Branch (1319:9): [True: 261, False: 0]
  ------------------
 1320|    261|               status == _Py_LAZY_SUBMODULE_NOT_FOUND);
 1321|    261|        return NULL;
 1322|    261|    }
 1323|      0|    if (PyDict_SetItem(m->md_dict, name, result) < 0) {
  ------------------
  |  Branch (1323:9): [True: 0, False: 0]
  ------------------
 1324|      0|        Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1325|      0|        return NULL;
 1326|      0|    }
 1327|      0|    return result;
 1328|      0|}
moduleobject.c:assert_def_missing_or_redundant:
   34|    166|{
   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|    166|#ifndef NDEBUG
   40|    166|    if (m->md_token_is_def) {
  ------------------
  |  Branch (40:9): [True: 76, False: 90]
  ------------------
   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|    166|#endif // NDEBUG
   51|    166|}
moduleobject.c:module_traverse:
 1540|    166|{
 1541|    166|    PyModuleObject *m = _PyModule_CAST(self);
  ------------------
  |  |   24|    166|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    166|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1541:25): [True: 166, False: 0]
  ------------------
 1542|       |
 1543|      0|    assert_def_missing_or_redundant(m);
 1544|       |    /* bpo-39824: Don't call m_traverse() if m_size > 0 and md_state=NULL */
 1545|    166|    if (m->md_state_traverse && (m->md_state_size <= 0 || m->md_state != NULL))
  ------------------
  |  Branch (1545:9): [True: 28, False: 138]
  |  Branch (1545:34): [True: 0, False: 28]
  |  Branch (1545:59): [True: 28, False: 0]
  ------------------
 1546|     28|    {
 1547|     28|        int res = m->md_state_traverse((PyObject*)m, visit, arg);
 1548|     28|        if (res)
  ------------------
  |  Branch (1548:13): [True: 0, False: 28]
  ------------------
 1549|      0|            return res;
 1550|     28|    }
 1551|       |
 1552|    166|    Py_VISIT(m->md_dict);
  ------------------
  |  |  194|    166|    do {                                                                \
  |  |  195|    166|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 166, False: 0]
  |  |  ------------------
  |  |  196|    166|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    166|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    166|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    166|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 166]
  |  |  ------------------
  |  |  198|    166|                return vret;                                            \
  |  |  199|    166|        }                                                               \
  |  |  200|    166|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 166]
  |  |  ------------------
  ------------------
 1553|    166|    return 0;
 1554|    166|}
moduleobject.c:module_dir:
 1581|      2|{
 1582|      2|    PyObject *result = NULL;
 1583|      2|    PyObject *dict;
 1584|      2|    if (PyModule_CheckExact(self)) {
  ------------------
  |  |   13|      2|#define PyModule_CheckExact(op) Py_IS_TYPE((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  215|      2|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 2, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1585|      2|        dict = Py_NewRef(((PyModuleObject *)self)->md_dict);
  ------------------
  |  |  550|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1586|      2|    } else {
 1587|      0|        dict = PyObject_GetAttr(self, &_Py_ID(__dict__));
  ------------------
  |  |  936|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1588|      0|    }
 1589|       |
 1590|      2|    if (dict != NULL) {
  ------------------
  |  Branch (1590:9): [True: 2, False: 0]
  ------------------
 1591|      2|        if (PyDict_Check(dict)) {
  ------------------
  |  |   18|      2|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      2|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 2, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1592|      2|            PyObject *dirfunc = PyDict_GetItemWithError(dict, &_Py_ID(__dir__));
  ------------------
  |  |  936|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1593|      2|            if (dirfunc) {
  ------------------
  |  Branch (1593:17): [True: 0, False: 2]
  ------------------
 1594|      0|                result = _PyObject_CallNoArgs(dirfunc);
 1595|      0|            }
 1596|      2|            else if (!PyErr_Occurred()) {
  ------------------
  |  Branch (1596:22): [True: 2, False: 0]
  ------------------
 1597|      2|                result = PyDict_Keys(dict);
 1598|      2|            }
 1599|      2|        }
 1600|      0|        else {
 1601|      0|            PyErr_Format(PyExc_TypeError, "<module>.__dict__ is not a dictionary");
 1602|      0|        }
 1603|      2|    }
 1604|       |
 1605|      2|    Py_XDECREF(dict);
  ------------------
  |  |  524|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1606|      2|    return result;
 1607|      2|}
moduleobject.c:module___init___impl:
 1131|     51|{
 1132|     51|    return module_init_dict(self, self->md_dict, name, doc);
 1133|     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:
  323|      8|{
  324|      8|    PyObject *ns = namespace_new(&_PyNamespace_Type, NULL, NULL);
  325|      8|    if (ns == NULL)
  ------------------
  |  Branch (325:9): [True: 0, False: 8]
  ------------------
  326|      0|        return NULL;
  327|       |
  328|      8|    if (kwds == NULL)
  ------------------
  |  Branch (328:9): [True: 2, False: 6]
  ------------------
  329|      2|        return ns;
  330|      6|    if (PyDict_Update(((_PyNamespaceObject *)ns)->ns_dict, kwds) != 0) {
  ------------------
  |  Branch (330:9): [True: 0, False: 6]
  ------------------
  331|      0|        Py_DECREF(ns);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  332|      0|        return NULL;
  333|      0|    }
  334|       |
  335|      6|    return (PyObject *)ns;
  336|      6|}
namespaceobject.c:namespace_dealloc:
   84|      2|{
   85|      2|    _PyNamespaceObject *ns = _PyNamespace_CAST(op);
  ------------------
  |  |   15|      2|#define _PyNamespace_CAST(op) _Py_CAST(_PyNamespaceObject*, (op))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   86|      2|    PyObject_GC_UnTrack(ns);
   87|      2|    Py_CLEAR(ns->ns_dict);
  ------------------
  |  |  484|      2|    do { \
  |  |  485|      2|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      2|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      2|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2, False: 0]
  |  |  ------------------
  |  |  488|      2|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      2|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      2|        } \
  |  |  491|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
   88|      2|    Py_TYPE(ns)->tp_free((PyObject *)ns);
  ------------------
  |  |  213|      2|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   89|      2|}
namespaceobject.c:namespace_traverse:
  179|     62|{
  180|     62|    _PyNamespaceObject *ns = _PyNamespace_CAST(op);
  ------------------
  |  |   15|     62|#define _PyNamespace_CAST(op) _Py_CAST(_PyNamespaceObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     62|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  181|     62|    Py_VISIT(ns->ns_dict);
  ------------------
  |  |  194|     62|    do {                                                                \
  |  |  195|     62|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 62, False: 0]
  |  |  ------------------
  |  |  196|     62|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     62|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     62|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     62|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 62]
  |  |  ------------------
  |  |  198|     62|                return vret;                                            \
  |  |  199|     62|        }                                                               \
  |  |  200|     62|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 62]
  |  |  ------------------
  ------------------
  182|     62|    return 0;
  183|     62|}
namespaceobject.c:namespace_init:
   48|     28|{
   49|     28|    _PyNamespaceObject *ns = _PyNamespace_CAST(op);
  ------------------
  |  |   15|     28|#define _PyNamespace_CAST(op) _Py_CAST(_PyNamespaceObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   50|     28|    PyObject *arg = NULL;
   51|     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 (51:9): [True: 0, False: 28]
  ------------------
   52|      0|        return -1;
   53|      0|    }
   54|     28|    if (arg != NULL) {
  ------------------
  |  Branch (54:9): [True: 0, False: 28]
  ------------------
   55|      0|        PyObject *dict;
   56|      0|        if (PyDict_CheckExact(arg)) {
  ------------------
  |  |   19|      0|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   57|      0|            dict = Py_NewRef(arg);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   58|      0|        }
   59|      0|        else {
   60|      0|            dict = PyObject_CallOneArg((PyObject *)&PyDict_Type, arg);
   61|      0|            if (dict == NULL) {
  ------------------
  |  Branch (61:17): [True: 0, False: 0]
  ------------------
   62|      0|                return -1;
   63|      0|            }
   64|      0|        }
   65|      0|        int err = (!PyArg_ValidateKeywordArguments(dict) ||
  ------------------
  |  Branch (65:20): [True: 0, False: 0]
  ------------------
   66|      0|                   PyDict_Update(ns->ns_dict, dict) < 0);
  ------------------
  |  Branch (66:20): [True: 0, False: 0]
  ------------------
   67|      0|        Py_DECREF(dict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   68|      0|        if (err) {
  ------------------
  |  Branch (68:13): [True: 0, False: 0]
  ------------------
   69|      0|            return -1;
   70|      0|        }
   71|      0|    }
   72|     28|    if (kwds == NULL) {
  ------------------
  |  Branch (72:9): [True: 0, False: 28]
  ------------------
   73|      0|        return 0;
   74|      0|    }
   75|     28|    if (!PyArg_ValidateKeywordArguments(kwds)) {
  ------------------
  |  Branch (75:9): [True: 0, False: 28]
  ------------------
   76|      0|        return -1;
   77|      0|    }
   78|     28|    return PyDict_Update(ns->ns_dict, kwds);
   79|     28|}
namespaceobject.c:namespace_new:
   29|     36|{
   30|     36|    PyObject *self;
   31|       |
   32|     36|    assert(type != NULL && type->tp_alloc != NULL);
  ------------------
  |  Branch (32:5): [True: 36, False: 0]
  |  Branch (32:5): [True: 36, False: 0]
  ------------------
   33|     36|    self = type->tp_alloc(type, 0);
   34|     36|    if (self != NULL) {
  ------------------
  |  Branch (34:9): [True: 36, False: 0]
  ------------------
   35|     36|        _PyNamespaceObject *ns = (_PyNamespaceObject *)self;
   36|     36|        ns->ns_dict = PyDict_New();
   37|     36|        if (ns->ns_dict == NULL) {
  ------------------
  |  Branch (37:13): [True: 0, False: 36]
  ------------------
   38|      0|            Py_DECREF(ns);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   39|      0|            return NULL;
   40|      0|        }
   41|     36|    }
   42|     36|    return self;
   43|     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|    205|{
  557|    205|    PyObject *op = (PyObject *) PyObject_Malloc(_PyObject_SIZE(tp));
  558|    205|    if (op == NULL) {
  ------------------
  |  Branch (558:9): [True: 0, False: 205]
  ------------------
  559|      0|        return PyErr_NoMemory();
  560|      0|    }
  561|    205|    _PyObject_Init(op, tp);
  562|    205|    return op;
  563|    205|}
_PyObject_NewVar:
  567|  2.40k|{
  568|  2.40k|    PyVarObject *op;
  569|  2.40k|    const size_t size = _PyObject_VAR_SIZE(tp, nitems);
  570|  2.40k|    op = (PyVarObject *) PyObject_Malloc(size);
  571|  2.40k|    if (op == NULL) {
  ------------------
  |  Branch (571:9): [True: 0, False: 2.40k]
  ------------------
  572|      0|        return (PyVarObject *)PyErr_NoMemory();
  573|      0|    }
  574|  2.40k|    _PyObject_InitVar(op, tp, nitems);
  575|  2.40k|    return op;
  576|  2.40k|}
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) && _PyGC_FINALIZED(self))
  ------------------
  |  |  820|    334|#define _PyType_IS_GC(t) _PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
  |  |  ------------------
  |  |  |  |  524|    167|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  |  |  ------------------
  |  |  |  Branch (820:26): [True: 167, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (586:30): [True: 0, False: 167]
  ------------------
  587|      0|        return;
  588|       |
  589|    167|    tp->tp_finalize(self);
  590|    167|    if (_PyType_IS_GC(tp)) {
  ------------------
  |  |  820|    167|#define _PyType_IS_GC(t) _PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
  |  |  ------------------
  |  |  |  |  524|    167|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  |  |  ------------------
  |  |  |  Branch (820:26): [True: 167, False: 0]
  |  |  ------------------
  ------------------
  591|    167|        _PyGC_SET_FINALIZED(self);
  592|    167|    }
  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,
  ------------------
  |  |  428|      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,
  ------------------
  |  |  423|    167|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  |  416|    167|    ((expr) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (416:6): [True: 167, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  417|    167|      ? (void)(0) \
  |  |  |  |  418|    167|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  ------------------
  |  |  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  |  |  ------------------
  ------------------
  610|    167|                              Py_REFCNT(self) > 0,
  611|    167|                              "refcount is too small");
  612|       |
  613|    167|    _PyObject_ASSERT(self,
  ------------------
  |  |  425|    167|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  423|    167|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  416|    334|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (416:7): [True: 0, False: 167]
  |  |  |  |  |  |  |  Branch (416:7): [True: 167, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  417|    167|      ? (void)(0) \
  |  |  |  |  |  |  418|    167|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  419|      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.9k|{
  713|  69.9k|    if (_PyMem_IsPtrFreed(op) || _PyMem_IsPtrFreed(Py_TYPE(op))) {
  ------------------
  |  |  213|  69.9k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  69.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  69.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (713:9): [True: 0, False: 69.9k]
  |  Branch (713:34): [True: 0, False: 69.9k]
  ------------------
  714|      0|        return 1;
  715|      0|    }
  716|  69.9k|    return 0;
  717|  69.9k|}
PyObject_Repr:
  761|     51|{
  762|     51|    PyObject *res;
  763|     51|    if (PyErr_CheckSignals())
  ------------------
  |  Branch (763:9): [True: 0, False: 51]
  ------------------
  764|      0|        return NULL;
  765|     51|    if (v == NULL)
  ------------------
  |  Branch (765:9): [True: 0, False: 51]
  ------------------
  766|      0|        return PyUnicode_FromString("<NULL>");
  767|     51|    if (Py_TYPE(v)->tp_repr == NULL)
  ------------------
  |  |  213|     51|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     51|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     51|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (767:9): [True: 0, False: 51]
  ------------------
  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|     51|    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|     51|    if (_Py_EnterRecursiveCallTstate(tstate,
  ------------------
  |  Branch (781:9): [True: 0, False: 51]
  ------------------
  782|     51|                                     " while getting the repr of an object")) {
  783|      0|        return NULL;
  784|      0|    }
  785|     51|    res = (*Py_TYPE(v)->tp_repr)(v);
  ------------------
  |  |  213|     51|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     51|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     51|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  786|     51|    _Py_LeaveRecursiveCallTstate(tstate);
  787|       |
  788|     51|    if (res == NULL) {
  ------------------
  |  Branch (788:9): [True: 0, False: 51]
  ------------------
  789|      0|        return NULL;
  790|      0|    }
  791|     51|    if (!PyUnicode_Check(res)) {
  ------------------
  |  |  103|     51|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     51|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (791:9): [True: 0, False: 51]
  ------------------
  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|     51|    return res;
  798|     51|}
PyObject_Str:
  802|    315|{
  803|    315|    PyObject *res;
  804|    315|    if (PyErr_CheckSignals())
  ------------------
  |  Branch (804:9): [True: 0, False: 315]
  ------------------
  805|      0|        return NULL;
  806|    315|    if (v == NULL)
  ------------------
  |  Branch (806:9): [True: 0, False: 315]
  ------------------
  807|      0|        return PyUnicode_FromString("<NULL>");
  808|    315|    if (PyUnicode_CheckExact(v)) {
  ------------------
  |  |  104|    315|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|    315|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    315|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    315|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 219, False: 96]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  809|    219|        return Py_NewRef(v);
  ------------------
  |  |  550|    219|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    219|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    219|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  810|    219|    }
  811|     96|    if (Py_TYPE(v)->tp_str == NULL)
  ------------------
  |  |  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 (811:9): [True: 0, False: 96]
  ------------------
  812|      0|        return PyObject_Repr(v);
  813|       |
  814|     96|    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|     96|    if (_Py_EnterRecursiveCallTstate(tstate, " while getting the str of an object")) {
  ------------------
  |  Branch (824:9): [True: 0, False: 96]
  ------------------
  825|      0|        return NULL;
  826|      0|    }
  827|     96|    res = (*Py_TYPE(v)->tp_str)(v);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  828|     96|    _Py_LeaveRecursiveCallTstate(tstate);
  829|       |
  830|     96|    if (res == NULL) {
  ------------------
  |  Branch (830:9): [True: 0, False: 96]
  ------------------
  831|      0|        return NULL;
  832|      0|    }
  833|     96|    if (!PyUnicode_Check(res)) {
  ------------------
  |  |  103|     96|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     96|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (833:9): [True: 0, False: 96]
  ------------------
  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|     96|    assert(_PyUnicode_CheckConsistency(res, 1));
  ------------------
  |  Branch (839:5): [True: 96, False: 0]
  ------------------
  840|     96|    return res;
  841|     96|}
PyObject_RichCompare:
 1101|  9.28k|{
 1102|  9.28k|    PyThreadState *tstate = _PyThreadState_GET();
 1103|       |
 1104|  9.28k|    assert(Py_LT <= op && op <= Py_GE);
  ------------------
  |  Branch (1104:5): [True: 9.28k, False: 0]
  |  Branch (1104:5): [True: 9.28k, False: 0]
  ------------------
 1105|  9.28k|    if (v == NULL || w == NULL) {
  ------------------
  |  Branch (1105:9): [True: 0, False: 9.28k]
  |  Branch (1105:22): [True: 0, False: 9.28k]
  ------------------
 1106|      0|        if (!_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (1106:13): [True: 0, False: 0]
  ------------------
 1107|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1108|      0|        }
 1109|      0|        return NULL;
 1110|      0|    }
 1111|  9.28k|    if (_Py_EnterRecursiveCallTstate(tstate, " in comparison")) {
  ------------------
  |  Branch (1111:9): [True: 0, False: 9.28k]
  ------------------
 1112|      0|        return NULL;
 1113|      0|    }
 1114|  9.28k|    PyObject *res = do_richcompare(tstate, v, w, op);
 1115|  9.28k|    _Py_LeaveRecursiveCallTstate(tstate);
 1116|  9.28k|    return res;
 1117|  9.28k|}
PyObject_RichCompareBool:
 1123|  8.88k|{
 1124|  8.88k|    PyObject *res;
 1125|  8.88k|    int ok;
 1126|       |
 1127|       |    /* Quick result when objects are the same.
 1128|       |       Guarantees that identity implies equality. */
 1129|  8.88k|    if (v == w) {
  ------------------
  |  Branch (1129:9): [True: 174, False: 8.70k]
  ------------------
 1130|    174|        if (op == Py_EQ)
  ------------------
  |  |  654|    174|#define Py_EQ 2
  ------------------
  |  Branch (1130:13): [True: 173, False: 1]
  ------------------
 1131|    173|            return 1;
 1132|      1|        else if (op == Py_NE)
  ------------------
  |  |  655|      1|#define Py_NE 3
  ------------------
  |  Branch (1132:18): [True: 0, False: 1]
  ------------------
 1133|      0|            return 0;
 1134|    174|    }
 1135|       |
 1136|  8.71k|    res = PyObject_RichCompare(v, w, op);
 1137|  8.71k|    if (res == NULL)
  ------------------
  |  Branch (1137:9): [True: 0, False: 8.71k]
  ------------------
 1138|      0|        return -1;
 1139|  8.71k|    if (PyBool_Check(res)) {
  ------------------
  |  |   12|  8.71k|#define PyBool_Check(x) Py_IS_TYPE((x), &PyBool_Type)
  |  |  ------------------
  |  |  |  |  215|  8.71k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  8.71k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  8.71k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 8.71k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1140|  8.71k|        ok = (res == Py_True);
  ------------------
  |  |   26|  8.71k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|  8.71k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.71k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1141|  8.71k|        assert(_Py_IsImmortal(res));
  ------------------
  |  Branch (1141:9): [True: 8.71k, False: 0]
  ------------------
 1142|  8.71k|    }
 1143|      0|    else {
 1144|      0|        ok = PyObject_IsTrue(res);
 1145|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1146|      0|    }
 1147|  8.71k|    return ok;
 1148|  8.71k|}
PyObject_Hash:
 1160|  8.98k|{
 1161|  8.98k|    PyTypeObject *tp = Py_TYPE(v);
  ------------------
  |  |  213|  8.98k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.98k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.98k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1162|  8.98k|    if (tp->tp_hash != NULL)
  ------------------
  |  Branch (1162:9): [True: 8.98k, False: 0]
  ------------------
 1163|  8.98k|        return (*tp->tp_hash)(v);
 1164|       |    /* To keep to the general practice that inheriting
 1165|       |     * solely from object in C code should work without
 1166|       |     * an explicit call to PyType_Ready, we implicitly call
 1167|       |     * PyType_Ready here and then check the tp_hash slot again
 1168|       |     */
 1169|      0|    if (!_PyType_IsReady(tp)) {
  ------------------
  |  Branch (1169:9): [True: 0, False: 0]
  ------------------
 1170|      0|        if (PyType_Ready(tp) < 0)
  ------------------
  |  Branch (1170:13): [True: 0, False: 0]
  ------------------
 1171|      0|            return -1;
 1172|      0|        if (tp->tp_hash != NULL)
  ------------------
  |  Branch (1172:13): [True: 0, False: 0]
  ------------------
 1173|      0|            return (*tp->tp_hash)(v);
 1174|      0|    }
 1175|       |    /* Otherwise, the object can't be hashed */
 1176|      0|    return PyObject_HashNotImplemented(v);
 1177|      0|}
PyObject_GetAttrString:
 1181|    131|{
 1182|    131|    PyObject *w, *res;
 1183|       |
 1184|    131|    if (Py_TYPE(v)->tp_getattr != NULL)
  ------------------
  |  |  213|    131|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    131|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    131|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1184:9): [True: 0, False: 131]
  ------------------
 1185|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1186|    131|    w = PyUnicode_FromString(name);
 1187|    131|    if (w == NULL)
  ------------------
  |  Branch (1187:9): [True: 0, False: 131]
  ------------------
 1188|      0|        return NULL;
 1189|    131|    res = PyObject_GetAttr(v, w);
 1190|    131|    Py_DECREF(w);
  ------------------
  |  |  430|    131|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    131|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    131|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1191|    131|    return res;
 1192|    131|}
PyObject_SetAttrString:
 1220|  1.26k|{
 1221|  1.26k|    PyThreadState *tstate = _PyThreadState_GET();
 1222|  1.26k|    if (w == NULL && _PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (1222:9): [True: 0, False: 1.26k]
  |  Branch (1222:22): [True: 0, False: 0]
  ------------------
 1223|      0|        PyObject *exc = _PyErr_GetRaisedException(tstate);
 1224|      0|        _PyErr_SetString(tstate, PyExc_SystemError,
 1225|      0|            "PyObject_SetAttrString() must not be called with NULL value "
 1226|      0|            "and an exception set");
 1227|      0|        _PyErr_ChainExceptions1Tstate(tstate, exc);
 1228|      0|        return -1;
 1229|      0|    }
 1230|       |
 1231|  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 (1231:9): [True: 0, False: 1.26k]
  ------------------
 1232|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1233|      0|    }
 1234|       |
 1235|  1.26k|    PyObject *s = PyUnicode_InternFromString(name);
 1236|  1.26k|    if (s == NULL) {
  ------------------
  |  Branch (1236:9): [True: 0, False: 1.26k]
  ------------------
 1237|      0|        return -1;
 1238|      0|    }
 1239|       |
 1240|  1.26k|    int res = PyObject_SetAttr(v, s, w);
 1241|  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1242|  1.26k|    return res;
 1243|  1.26k|}
_PyObject_IsAbstract:
 1253|    944|{
 1254|    944|    int res;
 1255|    944|    PyObject* isabstract;
 1256|       |
 1257|    944|    if (obj == NULL)
  ------------------
  |  Branch (1257:9): [True: 2, False: 942]
  ------------------
 1258|      2|        return 0;
 1259|       |
 1260|    942|    res = PyObject_GetOptionalAttr(obj, &_Py_ID(__isabstractmethod__), &isabstract);
  ------------------
  |  |  936|    942|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    942|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    942|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1261|    942|    if (res > 0) {
  ------------------
  |  Branch (1261:9): [True: 157, False: 785]
  ------------------
 1262|    157|        res = PyObject_IsTrue(isabstract);
 1263|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1264|    157|    }
 1265|    942|    return res;
 1266|    944|}
_PyObject_SetAttributeErrorContext:
 1284|     50|{
 1285|     50|    assert(PyErr_Occurred());
  ------------------
  |  Branch (1285:5): [True: 50, False: 0]
  ------------------
 1286|     50|    if (!PyErr_ExceptionMatches(PyExc_AttributeError)){
  ------------------
  |  Branch (1286:9): [True: 0, False: 50]
  ------------------
 1287|      0|        return 0;
 1288|      0|    }
 1289|       |    // Intercept AttributeError exceptions and augment them to offer suggestions later.
 1290|     50|    PyObject *exc = PyErr_GetRaisedException();
 1291|     50|    if (!PyErr_GivenExceptionMatches(exc, PyExc_AttributeError)) {
  ------------------
  |  Branch (1291:9): [True: 0, False: 50]
  ------------------
 1292|      0|        goto restore;
 1293|      0|    }
 1294|     50|    PyAttributeErrorObject* the_exc = (PyAttributeErrorObject*) exc;
 1295|       |    // Check if this exception was already augmented
 1296|     50|    if (the_exc->name || the_exc->obj) {
  ------------------
  |  Branch (1296:9): [True: 0, False: 50]
  |  Branch (1296:26): [True: 0, False: 50]
  ------------------
 1297|      0|        goto restore;
 1298|      0|    }
 1299|       |    // Augment the exception with the name and object
 1300|     50|    if (PyObject_SetAttr(exc, &_Py_ID(name), name) ||
  ------------------
  |  |  936|     50|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     50|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     50|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1300:9): [True: 0, False: 50]
  ------------------
 1301|     50|        PyObject_SetAttr(exc, &_Py_ID(obj), v)) {
  ------------------
  |  |  936|     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|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1303|      0|        return 1;
 1304|      0|    }
 1305|     50|restore:
 1306|     50|    PyErr_SetRaisedException(exc);
 1307|     50|    return 0;
 1308|     50|}
PyObject_GetAttr:
 1312|  3.89k|{
 1313|  3.89k|    PyTypeObject *tp = Py_TYPE(v);
  ------------------
  |  |  213|  3.89k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.89k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.89k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1314|  3.89k|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|  3.89k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  3.89k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1314:9): [True: 0, False: 3.89k]
  ------------------
 1315|      0|        PyErr_Format(PyExc_TypeError,
 1316|      0|                     "attribute name must be string, not '%.200s'",
 1317|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1318|      0|        return NULL;
 1319|      0|    }
 1320|       |
 1321|  3.89k|    PyObject* result = NULL;
 1322|  3.89k|    if (tp->tp_getattro != NULL) {
  ------------------
  |  Branch (1322:9): [True: 3.89k, False: 0]
  ------------------
 1323|  3.89k|        result = (*tp->tp_getattro)(v, name);
 1324|  3.89k|    }
 1325|      0|    else if (tp->tp_getattr != NULL) {
  ------------------
  |  Branch (1325:14): [True: 0, False: 0]
  ------------------
 1326|      0|        const char *name_str = PyUnicode_AsUTF8(name);
 1327|      0|        if (name_str == NULL) {
  ------------------
  |  Branch (1327:13): [True: 0, False: 0]
  ------------------
 1328|      0|            return NULL;
 1329|      0|        }
 1330|      0|        result = (*tp->tp_getattr)(v, (char *)name_str);
 1331|      0|    }
 1332|      0|    else {
 1333|      0|        PyErr_Format(PyExc_AttributeError,
 1334|      0|                    "'%.100s' object has no attribute '%U'",
 1335|      0|                    tp->tp_name, name);
 1336|      0|    }
 1337|       |
 1338|  3.89k|    if (result == NULL) {
  ------------------
  |  Branch (1338:9): [True: 2, False: 3.89k]
  ------------------
 1339|      2|        _PyObject_SetAttributeErrorContext(v, name);
 1340|      2|    }
 1341|  3.89k|    return result;
 1342|  3.89k|}
_PyObject_GetAttrStackRef:
 1349|  4.11k|{
 1350|  4.11k|    PyTypeObject *tp = Py_TYPE(v);
  ------------------
  |  |  213|  4.11k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.11k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.11k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1351|  4.11k|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|  4.11k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.11k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1351:9): [True: 0, False: 4.11k]
  ------------------
 1352|      0|        PyErr_Format(PyExc_TypeError,
 1353|      0|                     "attribute name must be string, not '%.200s'",
 1354|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1355|      0|        return PyStackRef_NULL;
 1356|      0|    }
 1357|       |
 1358|       |    /* Fast path for types - can return deferred references */
 1359|  4.11k|    if (tp->tp_getattro == _Py_type_getattro) {
  ------------------
  |  Branch (1359:9): [True: 1.25k, False: 2.86k]
  ------------------
 1360|  1.25k|        _PyStackRef result = _Py_type_getattro_stackref((PyTypeObject *)v, name, NULL);
 1361|  1.25k|        if (PyStackRef_IsNull(result)) {
  ------------------
  |  |  482|  1.25k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  1.25k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.25k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 2, False: 1.25k]
  |  |  ------------------
  ------------------
 1362|      2|            _PyObject_SetAttributeErrorContext(v, name);
 1363|      2|        }
 1364|  1.25k|        return result;
 1365|  1.25k|    }
 1366|       |
 1367|       |    /* Fall back to regular PyObject_GetAttr and convert to stackref */
 1368|  2.86k|    PyObject *result = NULL;
 1369|  2.86k|    if (tp->tp_getattro != NULL) {
  ------------------
  |  Branch (1369:9): [True: 2.86k, False: 0]
  ------------------
 1370|  2.86k|        result = (*tp->tp_getattro)(v, name);
 1371|  2.86k|    }
 1372|      0|    else if (tp->tp_getattr != NULL) {
  ------------------
  |  Branch (1372:14): [True: 0, False: 0]
  ------------------
 1373|      0|        const char *name_str = PyUnicode_AsUTF8(name);
 1374|      0|        if (name_str == NULL) {
  ------------------
  |  Branch (1374:13): [True: 0, False: 0]
  ------------------
 1375|      0|            return PyStackRef_NULL;
 1376|      0|        }
 1377|      0|        result = (*tp->tp_getattr)(v, (char *)name_str);
 1378|      0|    }
 1379|      0|    else {
 1380|      0|        PyErr_Format(PyExc_AttributeError,
 1381|      0|                    "'%.100s' object has no attribute '%U'",
 1382|      0|                    tp->tp_name, name);
 1383|      0|    }
 1384|       |
 1385|  2.86k|    if (result == NULL) {
  ------------------
  |  Branch (1385:9): [True: 22, False: 2.84k]
  ------------------
 1386|     22|        _PyObject_SetAttributeErrorContext(v, name);
 1387|     22|        return PyStackRef_NULL;
 1388|     22|    }
 1389|  2.84k|    return PyStackRef_FromPyObjectSteal(result);
 1390|  2.86k|}
PyObject_GetOptionalAttr:
 1394|  5.01k|{
 1395|  5.01k|    PyTypeObject *tp = Py_TYPE(v);
  ------------------
  |  |  213|  5.01k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1396|       |
 1397|  5.01k|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|  5.01k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  5.01k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1397:9): [True: 0, False: 5.01k]
  ------------------
 1398|      0|        PyErr_Format(PyExc_TypeError,
 1399|      0|                     "attribute name must be string, not '%.200s'",
 1400|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1401|      0|        *result = NULL;
 1402|      0|        return -1;
 1403|      0|    }
 1404|       |
 1405|  5.01k|    if (tp->tp_getattro == PyObject_GenericGetAttr) {
  ------------------
  |  Branch (1405:9): [True: 2.81k, False: 2.19k]
  ------------------
 1406|  2.81k|        *result = _PyObject_GenericGetAttrWithDict(v, name, NULL, 1);
 1407|  2.81k|        if (*result != NULL) {
  ------------------
  |  Branch (1407:13): [True: 1.75k, False: 1.06k]
  ------------------
 1408|  1.75k|            return 1;
 1409|  1.75k|        }
 1410|  1.06k|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (1410:13): [True: 0, False: 1.06k]
  ------------------
 1411|      0|            return -1;
 1412|      0|        }
 1413|  1.06k|        return 0;
 1414|  1.06k|    }
 1415|  2.19k|    if (tp->tp_getattro == _Py_type_getattro) {
  ------------------
  |  Branch (1415:9): [True: 684, False: 1.51k]
  ------------------
 1416|    684|        int suppress_missing_attribute_exception = 0;
 1417|    684|        *result = _Py_type_getattro_impl((PyTypeObject*)v, name, &suppress_missing_attribute_exception);
 1418|    684|        if (suppress_missing_attribute_exception) {
  ------------------
  |  Branch (1418:13): [True: 30, False: 654]
  ------------------
 1419|       |            // return 0 without having to clear the exception
 1420|     30|            return 0;
 1421|     30|        }
 1422|    684|    }
 1423|  1.51k|    else if (tp->tp_getattro == (getattrofunc)_Py_module_getattro) {
  ------------------
  |  Branch (1423:14): [True: 1.51k, False: 0]
  ------------------
 1424|       |        // optimization: suppress attribute error from module getattro method
 1425|  1.51k|        *result = _Py_module_getattro_impl((PyModuleObject*)v, name, 1);
 1426|  1.51k|        if (*result != NULL) {
  ------------------
  |  Branch (1426:13): [True: 1.27k, False: 237]
  ------------------
 1427|  1.27k|            return 1;
 1428|  1.27k|        }
 1429|    237|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (1429:13): [True: 0, False: 237]
  ------------------
 1430|      0|            return -1;
 1431|      0|        }
 1432|    237|        return 0;
 1433|    237|    }
 1434|      0|    else if (tp->tp_getattro != NULL) {
  ------------------
  |  Branch (1434:14): [True: 0, False: 0]
  ------------------
 1435|      0|        *result = (*tp->tp_getattro)(v, name);
 1436|      0|    }
 1437|      0|    else if (tp->tp_getattr != NULL) {
  ------------------
  |  Branch (1437:14): [True: 0, False: 0]
  ------------------
 1438|      0|        const char *name_str = PyUnicode_AsUTF8(name);
 1439|      0|        if (name_str == NULL) {
  ------------------
  |  Branch (1439:13): [True: 0, False: 0]
  ------------------
 1440|      0|            *result = NULL;
 1441|      0|            return -1;
 1442|      0|        }
 1443|      0|        *result = (*tp->tp_getattr)(v, (char *)name_str);
 1444|      0|    }
 1445|      0|    else {
 1446|      0|        *result = NULL;
 1447|      0|        return 0;
 1448|      0|    }
 1449|       |
 1450|    654|    if (*result != NULL) {
  ------------------
  |  Branch (1450:9): [True: 630, False: 24]
  ------------------
 1451|    630|        return 1;
 1452|    630|    }
 1453|     24|    if (!PyErr_ExceptionMatches(PyExc_AttributeError)) {
  ------------------
  |  Branch (1453:9): [True: 0, False: 24]
  ------------------
 1454|      0|        return -1;
 1455|      0|    }
 1456|     24|    PyErr_Clear();
 1457|     24|    return 0;
 1458|     24|}
PyObject_GetOptionalAttrString:
 1462|      1|{
 1463|      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 (1463:9): [True: 1, False: 0]
  ------------------
 1464|      1|        PyObject *oname = PyUnicode_FromString(name);
 1465|      1|        if (oname == NULL) {
  ------------------
  |  Branch (1465:13): [True: 0, False: 1]
  ------------------
 1466|      0|            *result = NULL;
 1467|      0|            return -1;
 1468|      0|        }
 1469|      1|        int rc = PyObject_GetOptionalAttr(obj, oname, result);
 1470|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1471|      1|        return rc;
 1472|      1|    }
 1473|       |
 1474|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1475|      0|    if (*result != NULL) {
  ------------------
  |  Branch (1475:9): [True: 0, False: 0]
  ------------------
 1476|      0|        return 1;
 1477|      0|    }
 1478|      0|    if (!PyErr_ExceptionMatches(PyExc_AttributeError)) {
  ------------------
  |  Branch (1478:9): [True: 0, False: 0]
  ------------------
 1479|      0|        return -1;
 1480|      0|    }
 1481|      0|    PyErr_Clear();
 1482|      0|    return 0;
 1483|      0|}
PyObject_HasAttrWithError:
 1487|    196|{
 1488|    196|    PyObject *res;
 1489|    196|    int rc = PyObject_GetOptionalAttr(obj, name, &res);
 1490|    196|    Py_XDECREF(res);
  ------------------
  |  |  524|    196|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    196|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    196|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1491|    196|    return rc;
 1492|    196|}
PyObject_SetAttr:
 1510|  4.23k|{
 1511|  4.23k|    PyThreadState *tstate = _PyThreadState_GET();
 1512|  4.23k|    if (value == NULL && _PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (1512:9): [True: 36, False: 4.20k]
  |  Branch (1512:26): [True: 0, False: 36]
  ------------------
 1513|      0|        PyObject *exc = _PyErr_GetRaisedException(tstate);
 1514|      0|        _PyErr_SetString(tstate, PyExc_SystemError,
 1515|      0|            "PyObject_SetAttr() must not be called with NULL value "
 1516|      0|            "and an exception set");
 1517|      0|        _PyErr_ChainExceptions1Tstate(tstate, exc);
 1518|      0|        return -1;
 1519|      0|    }
 1520|       |
 1521|  4.23k|    PyTypeObject *tp = Py_TYPE(v);
  ------------------
  |  |  213|  4.23k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.23k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.23k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1522|  4.23k|    int err;
 1523|       |
 1524|  4.23k|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|  4.23k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.23k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1524:9): [True: 0, False: 4.23k]
  ------------------
 1525|      0|        PyErr_Format(PyExc_TypeError,
 1526|      0|                     "attribute name must be string, not '%.200s'",
 1527|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1528|      0|        return -1;
 1529|      0|    }
 1530|  4.23k|    Py_INCREF(name);
  ------------------
  |  |  310|  4.23k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.23k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.23k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1531|       |
 1532|  4.23k|    _PyUnicode_InternMortal(tstate->interp, &name);
 1533|  4.23k|    if (tp->tp_setattro != NULL) {
  ------------------
  |  Branch (1533:9): [True: 4.23k, False: 0]
  ------------------
 1534|  4.23k|        err = (*tp->tp_setattro)(v, name, value);
 1535|  4.23k|        Py_DECREF(name);
  ------------------
  |  |  430|  4.23k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.23k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.23k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1536|  4.23k|        return err;
 1537|  4.23k|    }
 1538|      0|    if (tp->tp_setattr != NULL) {
  ------------------
  |  Branch (1538:9): [True: 0, False: 0]
  ------------------
 1539|      0|        const char *name_str = PyUnicode_AsUTF8(name);
 1540|      0|        if (name_str == NULL) {
  ------------------
  |  Branch (1540:13): [True: 0, False: 0]
  ------------------
 1541|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1542|      0|            return -1;
 1543|      0|        }
 1544|      0|        err = (*tp->tp_setattr)(v, (char *)name_str, value);
 1545|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1546|      0|        return err;
 1547|      0|    }
 1548|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1549|      0|    _PyObject_ASSERT(name, Py_REFCNT(name) >= 1);
  ------------------
  |  |  425|      0|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  423|      0|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  416|      0|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (416:6): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  417|      0|      ? (void)(0) \
  |  |  |  |  |  |  418|      0|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1550|      0|    if (tp->tp_getattr == NULL && tp->tp_getattro == NULL)
  ------------------
  |  Branch (1550:9): [True: 0, False: 0]
  |  Branch (1550:35): [True: 0, False: 0]
  ------------------
 1551|      0|        PyErr_Format(PyExc_TypeError,
 1552|      0|                     "'%.100s' object has no attributes "
 1553|      0|                     "(%s .%U)",
 1554|      0|                     tp->tp_name,
 1555|      0|                     value==NULL ? "del" : "assign to",
  ------------------
  |  Branch (1555:22): [True: 0, False: 0]
  ------------------
 1556|      0|                     name);
 1557|      0|    else
 1558|      0|        PyErr_Format(PyExc_TypeError,
 1559|      0|                     "'%.100s' object has only read-only attributes "
 1560|      0|                     "(%s .%U)",
 1561|      0|                     tp->tp_name,
 1562|      0|                     value==NULL ? "del" : "assign to",
  ------------------
  |  Branch (1562:22): [True: 0, False: 0]
  ------------------
 1563|      0|                     name);
 1564|      0|    return -1;
 1565|      0|}
PyObject_DelAttr:
 1569|     36|{
 1570|       |    return PyObject_SetAttr(v, name, NULL);
 1571|     36|}
_PyObject_ComputedDictPointer:
 1575|  9.83k|{
 1576|  9.83k|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|  9.83k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  9.83k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.83k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1577|  9.83k|    assert((tp->tp_flags & Py_TPFLAGS_MANAGED_DICT) == 0);
  ------------------
  |  Branch (1577:5): [True: 9.83k, False: 0]
  ------------------
 1578|       |
 1579|  9.83k|    Py_ssize_t dictoffset = tp->tp_dictoffset;
 1580|  9.83k|    if (dictoffset == 0) {
  ------------------
  |  Branch (1580:9): [True: 1.29k, False: 8.53k]
  ------------------
 1581|  1.29k|        return NULL;
 1582|  1.29k|    }
 1583|       |
 1584|  8.53k|    if (dictoffset < 0) {
  ------------------
  |  Branch (1584:9): [True: 0, False: 8.53k]
  ------------------
 1585|      0|        assert(dictoffset != -1);
  ------------------
  |  Branch (1585:9): [True: 0, False: 0]
  ------------------
 1586|       |
 1587|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1588|      0|        if (tsize < 0) {
  ------------------
  |  Branch (1588:13): [True: 0, False: 0]
  ------------------
 1589|      0|            tsize = -tsize;
 1590|      0|        }
 1591|      0|        size_t size = _PyObject_VAR_SIZE(tp, tsize);
 1592|      0|        assert(size <= (size_t)PY_SSIZE_T_MAX);
  ------------------
  |  Branch (1592:9): [True: 0, False: 0]
  ------------------
 1593|      0|        dictoffset += (Py_ssize_t)size;
 1594|       |
 1595|      0|        _PyObject_ASSERT(obj, dictoffset > 0);
  ------------------
  |  |  425|      0|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  423|      0|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  416|      0|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (416:6): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  417|      0|      ? (void)(0) \
  |  |  |  |  |  |  418|      0|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1596|      0|        _PyObject_ASSERT(obj, dictoffset % SIZEOF_VOID_P == 0);
  ------------------
  |  |  425|      0|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  423|      0|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  416|      0|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (416:6): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  417|      0|      ? (void)(0) \
  |  |  |  |  |  |  418|      0|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1597|      0|    }
 1598|  8.53k|    return (PyObject **) ((char *)obj + dictoffset);
 1599|  8.53k|}
PyObject_SelfIter:
 1627|    155|{
 1628|    155|    return Py_NewRef(obj);
  ------------------
  |  |  550|    155|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    155|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    155|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1629|    155|}
_PyObject_GetMethodStackRef:
 1759|  2.01k|{
 1760|  2.01k|    int meth_found = 0;
 1761|  2.01k|    PyObject *obj = PyStackRef_AsPyObjectBorrow(*self);
 1762|       |
 1763|  2.01k|    assert(PyStackRef_IsNull(*method));
  ------------------
  |  Branch (1763:5): [True: 2.01k, False: 0]
  ------------------
 1764|       |
 1765|  2.01k|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|  2.01k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1766|  2.01k|    if (!_PyType_IsReady(tp)) {
  ------------------
  |  Branch (1766:9): [True: 0, False: 2.01k]
  ------------------
 1767|      0|        if (PyType_Ready(tp) < 0) {
  ------------------
  |  Branch (1767:13): [True: 0, False: 0]
  ------------------
 1768|      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]
  |  |  ------------------
  ------------------
 1769|      0|            return -1;
 1770|      0|        }
 1771|      0|    }
 1772|       |
 1773|  2.01k|    if (tp->tp_getattro != PyObject_GenericGetAttr || !PyUnicode_CheckExact(name)) {
  ------------------
  |  |  104|  1.13k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1773:9): [True: 872, False: 1.13k]
  |  Branch (1773:55): [True: 0, False: 1.13k]
  ------------------
 1774|    872|        PyObject *res = PyObject_GetAttr(obj, name);
 1775|    872|        PyStackRef_CLEAR(*self);
  ------------------
  |  |  732|    872|    do { \
  |  |  733|    872|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|    872|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|    872|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|    872|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|    872|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 872]
  |  |  ------------------
  ------------------
 1776|    872|        if (res != NULL) {
  ------------------
  |  Branch (1776:13): [True: 870, False: 2]
  ------------------
 1777|    870|            *method = PyStackRef_FromPyObjectSteal(res);
 1778|    870|            return 0;
 1779|    870|        }
 1780|      2|        return -1;
 1781|    872|    }
 1782|       |
 1783|  1.13k|    _PyType_LookupStackRefAndVersion(tp, name, method);
 1784|  1.13k|    PyObject *descr = PyStackRef_AsPyObjectBorrow(*method);
 1785|  1.13k|    descrgetfunc f = NULL;
 1786|  1.13k|    if (descr != NULL) {
  ------------------
  |  Branch (1786:9): [True: 1.13k, False: 8]
  ------------------
 1787|  1.13k|        if (_PyType_HasFeature(Py_TYPE(descr), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  213|  1.13k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.13k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (_PyType_HasFeature(Py_TYPE(descr), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  534|  1.13k|#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
  ------------------
  |  Branch (1787:13): [True: 1.12k, False: 1]
  ------------------
 1788|  1.12k|            meth_found = 1;
 1789|  1.12k|        }
 1790|      1|        else {
 1791|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1792|      1|            if (f != NULL && PyDescr_IsData(descr)) {
  ------------------
  |  Branch (1792:17): [True: 1, False: 0]
  |  Branch (1792:30): [True: 1, False: 0]
  ------------------
 1793|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1794|      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]
  |  |  ------------------
  ------------------
 1795|      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]
  |  |  ------------------
  ------------------
 1796|      1|                if (value != NULL) {
  ------------------
  |  Branch (1796:21): [True: 1, False: 0]
  ------------------
 1797|      1|                    *method = PyStackRef_FromPyObjectSteal(value);
 1798|      1|                    return 0;
 1799|      1|                }
 1800|      0|                return -1;
 1801|      1|            }
 1802|      1|        }
 1803|  1.13k|    }
 1804|  1.13k|    PyObject *dict, *attr;
 1805|  1.13k|    if ((tp->tp_flags & Py_TPFLAGS_INLINE_VALUES) &&
  ------------------
  |  |  472|  1.13k|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (1805:9): [True: 123, False: 1.01k]
  ------------------
 1806|    123|         _PyObject_TryGetInstanceAttribute(obj, name, &attr)) {
  ------------------
  |  Branch (1806:10): [True: 123, False: 0]
  ------------------
 1807|    123|        if (attr != NULL) {
  ------------------
  |  Branch (1807:13): [True: 8, False: 115]
  ------------------
 1808|      8|            PyStackRef_XSETREF(*method, PyStackRef_FromPyObjectSteal(attr));
  ------------------
  |  |  855|      8|    do { \
  |  |  856|      8|        _PyStackRef _tmp_dst_ref = (dst); \
  |  |  857|      8|        (dst) = (src); \
  |  |  858|      8|        PyStackRef_XCLOSE(_tmp_dst_ref); \
  |  |  859|      8|    } while(0)
  |  |  ------------------
  |  |  |  Branch (859:13): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1809|      8|            PyStackRef_CLEAR(*self);
  ------------------
  |  |  732|      8|    do { \
  |  |  733|      8|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|      8|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|      8|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|      8|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1810|      8|            return 0;
 1811|      8|        }
 1812|    115|        dict = NULL;
 1813|    115|    }
 1814|  1.01k|    else if ((tp->tp_flags & Py_TPFLAGS_MANAGED_DICT)) {
  ------------------
  |  |  482|  1.01k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (1814:14): [True: 18, False: 996]
  ------------------
 1815|     18|        dict = (PyObject *)_PyObject_GetManagedDict(obj);
 1816|     18|    }
 1817|    996|    else {
 1818|    996|        PyObject **dictptr = _PyObject_ComputedDictPointer(obj);
 1819|    996|        if (dictptr != NULL) {
  ------------------
  |  Branch (1819:13): [True: 368, False: 628]
  ------------------
 1820|    368|            dict = FT_ATOMIC_LOAD_PTR_ACQUIRE(*dictptr);
  ------------------
  |  |  150|    368|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
 1821|    368|        }
 1822|    628|        else {
 1823|    628|            dict = NULL;
 1824|    628|        }
 1825|    996|    }
 1826|  1.12k|    if (dict != NULL) {
  ------------------
  |  Branch (1826:9): [True: 264, False: 865]
  ------------------
 1827|    264|        assert(PyUnicode_CheckExact(name));
  ------------------
  |  Branch (1827:9): [True: 264, False: 0]
  ------------------
 1828|    264|        int found = _PyDict_GetMethodStackRef((PyDictObject *)dict, name, method);
 1829|    264|        if (found < 0) {
  ------------------
  |  Branch (1829:13): [True: 0, False: 264]
  ------------------
 1830|      0|            assert(PyStackRef_IsNull(*method));
  ------------------
  |  Branch (1830:13): [True: 0, False: 0]
  ------------------
 1831|      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]
  |  |  ------------------
  ------------------
 1832|      0|            return -1;
 1833|      0|        }
 1834|    264|        else if (found) {
  ------------------
  |  Branch (1834:18): [True: 0, False: 264]
  ------------------
 1835|      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]
  |  |  ------------------
  ------------------
 1836|      0|            return 0;
 1837|      0|        }
 1838|    264|    }
 1839|       |
 1840|  1.12k|    if (meth_found) {
  ------------------
  |  Branch (1840:9): [True: 1.12k, False: 0]
  ------------------
 1841|  1.12k|        assert(!PyStackRef_IsNull(*method));
  ------------------
  |  Branch (1841:9): [True: 1.12k, False: 0]
  ------------------
 1842|  1.12k|        return 1;
 1843|  1.12k|    }
 1844|       |
 1845|      0|    if (f != NULL) {
  ------------------
  |  Branch (1845:9): [True: 0, False: 0]
  ------------------
 1846|      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]
  |  |  ------------------
  ------------------
 1847|      0|            PyObject *callable = _PyClassMethod_GetFunc(descr);
 1848|      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]
  |  |  ------------------
  ------------------
 1849|      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]
  |  |  ------------------
  ------------------
 1850|      0|            return 1;
 1851|      0|        }
 1852|      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]
  |  |  ------------------
  ------------------
 1853|      0|            PyObject *callable = _PyStaticMethod_GetFunc(descr);
 1854|      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]
  |  |  ------------------
  ------------------
 1855|      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]
  |  |  ------------------
  ------------------
 1856|      0|            return 0;
 1857|      0|        }
 1858|      0|        PyObject *value = f(descr, obj, (PyObject *)tp);
 1859|      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]
  |  |  ------------------
  ------------------
 1860|      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]
  |  |  ------------------
  ------------------
 1861|      0|        if (value) {
  ------------------
  |  Branch (1861:13): [True: 0, False: 0]
  ------------------
 1862|      0|            *method = PyStackRef_FromPyObjectSteal(value);
 1863|      0|            return 0;
 1864|      0|        }
 1865|      0|        return -1;
 1866|      0|    }
 1867|       |
 1868|      0|    if (descr != NULL) {
  ------------------
  |  Branch (1868:9): [True: 0, False: 0]
  ------------------
 1869|      0|        assert(!PyStackRef_IsNull(*method));
  ------------------
  |  Branch (1869:9): [True: 0, False: 0]
  ------------------
 1870|      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]
  |  |  ------------------
  ------------------
 1871|      0|        return 0;
 1872|      0|    }
 1873|       |
 1874|      0|    PyErr_Format(PyExc_AttributeError,
 1875|      0|                 "'%.100s' object has no attribute '%U'",
 1876|      0|                 tp->tp_name, name);
 1877|       |
 1878|      0|    _PyObject_SetAttributeErrorContext(obj, name);
 1879|      0|    assert(PyStackRef_IsNull(*method));
  ------------------
  |  Branch (1879:5): [True: 0, False: 0]
  ------------------
 1880|      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]
  |  |  ------------------
  ------------------
 1881|      0|    return -1;
 1882|      0|}
_PyObject_GenericGetAttrWithDict:
 1890|  9.60k|{
 1891|       |    /* Make sure the logic of _PyObject_GetMethod is in sync with
 1892|       |       this method.
 1893|       |
 1894|       |       When suppress=1, this function suppresses AttributeError.
 1895|       |    */
 1896|       |
 1897|  9.60k|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|  9.60k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  9.60k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.60k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1898|  9.60k|    PyObject *descr = NULL;
 1899|  9.60k|    PyObject *res = NULL;
 1900|  9.60k|    descrgetfunc f;
 1901|       |
 1902|  9.60k|    if (!PyUnicode_Check(name)){
  ------------------
  |  |  103|  9.60k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  9.60k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1902:9): [True: 0, False: 9.60k]
  ------------------
 1903|      0|        PyErr_Format(PyExc_TypeError,
 1904|      0|                     "attribute name must be string, not '%.200s'",
 1905|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1906|      0|        return NULL;
 1907|      0|    }
 1908|       |
 1909|  9.60k|    if (!_PyType_IsReady(tp)) {
  ------------------
  |  Branch (1909:9): [True: 0, False: 9.60k]
  ------------------
 1910|      0|        if (PyType_Ready(tp) < 0)
  ------------------
  |  Branch (1910:13): [True: 0, False: 0]
  ------------------
 1911|      0|            return NULL;
 1912|      0|    }
 1913|       |
 1914|  9.60k|    Py_INCREF(name);
  ------------------
  |  |  310|  9.60k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.60k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.60k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1915|       |
 1916|  9.60k|    PyThreadState *tstate = _PyThreadState_GET();
 1917|  9.60k|    _PyCStackRef cref;
 1918|  9.60k|    _PyThreadState_PushCStackRef(tstate, &cref);
 1919|       |
 1920|  9.60k|    _PyType_LookupStackRefAndVersion(tp, name, &cref.ref);
 1921|  9.60k|    descr = PyStackRef_AsPyObjectBorrow(cref.ref);
 1922|       |
 1923|  9.60k|    f = NULL;
 1924|  9.60k|    if (descr != NULL) {
  ------------------
  |  Branch (1924:9): [True: 2.04k, False: 7.56k]
  ------------------
 1925|  2.04k|        f = Py_TYPE(descr)->tp_descr_get;
  ------------------
  |  |  213|  2.04k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.04k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1926|  2.04k|        if (f != NULL && PyDescr_IsData(descr)) {
  ------------------
  |  Branch (1926:13): [True: 2.03k, False: 14]
  |  Branch (1926:26): [True: 1.76k, False: 275]
  ------------------
 1927|       |            // gh-157840: We special-case member descriptors here to avoid
 1928|       |            // allocating an extra AttributeError
 1929|  1.76k|            if (suppress && Py_IS_TYPE(descr, &PyMemberDescr_Type)) {
  ------------------
  |  |  215|  1.22k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  1.22k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.22k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 28, False: 1.19k]
  |  |  ------------------
  ------------------
  |  Branch (1929:17): [True: 1.22k, False: 540]
  ------------------
 1930|     28|                PyMemberDef *member = ((PyMemberDescrObject *)descr)->d_member;
 1931|     28|                if (member->type == Py_T_OBJECT_EX
  ------------------
  |  |   75|     56|#define Py_T_OBJECT_EX 16
  ------------------
  |  Branch (1931:21): [True: 0, False: 28]
  ------------------
 1932|      0|                    && !(member->flags & Py_AUDIT_READ)
  ------------------
  |  |   84|      0|#define Py_AUDIT_READ          (1 << 1) // Added in 3.10, harmless no-op before that
  ------------------
  |  Branch (1932:24): [True: 0, False: 0]
  ------------------
 1933|      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]
  |  |  ------------------
  ------------------
 1934|      0|                    PyObject **addr = _PyMember_GetOffset(obj, member);
 1935|      0|                    if (FT_ATOMIC_LOAD_PTR(*addr) == NULL) {
  ------------------
  |  |  145|      0|#define FT_ATOMIC_LOAD_PTR(value) value
  ------------------
  |  Branch (1935:25): [True: 0, False: 0]
  ------------------
 1936|      0|                        goto done;
 1937|      0|                    }
 1938|      0|                }
 1939|     28|            }
 1940|  1.76k|            res = f(descr, obj, (PyObject *)Py_TYPE(obj));
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1941|  1.76k|            if (res == NULL && suppress &&
  ------------------
  |  Branch (1941:17): [True: 0, False: 1.76k]
  |  Branch (1941:32): [True: 0, False: 0]
  ------------------
 1942|      0|                    PyErr_ExceptionMatches(PyExc_AttributeError)) {
  ------------------
  |  Branch (1942:21): [True: 0, False: 0]
  ------------------
 1943|      0|                PyErr_Clear();
 1944|      0|            }
 1945|  1.76k|            goto done;
 1946|  1.76k|        }
 1947|  2.04k|    }
 1948|  7.84k|    if (dict == NULL) {
  ------------------
  |  Branch (1948:9): [True: 7.84k, False: 0]
  ------------------
 1949|  7.84k|        if ((tp->tp_flags & Py_TPFLAGS_INLINE_VALUES)) {
  ------------------
  |  |  472|  7.84k|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (1949:13): [True: 1.28k, False: 6.56k]
  ------------------
 1950|  1.28k|            if (PyUnicode_CheckExact(name) &&
  ------------------
  |  |  104|  1.28k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  2.57k|#  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 (215:32): [True: 1.28k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1951|  1.28k|                _PyObject_TryGetInstanceAttribute(obj, name, &res)) {
  ------------------
  |  Branch (1951:17): [True: 1.28k, False: 0]
  ------------------
 1952|  1.28k|                if (res != NULL) {
  ------------------
  |  Branch (1952:21): [True: 1.12k, False: 162]
  ------------------
 1953|  1.12k|                    goto done;
 1954|  1.12k|                }
 1955|  1.28k|            }
 1956|      0|            else {
 1957|      0|                dict = (PyObject *)_PyObject_MaterializeManagedDict(obj);
 1958|      0|                if (dict == NULL) {
  ------------------
  |  Branch (1958:21): [True: 0, False: 0]
  ------------------
 1959|      0|                    res = NULL;
 1960|      0|                    goto done;
 1961|      0|                }
 1962|      0|            }
 1963|  1.28k|        }
 1964|  6.56k|        else if ((tp->tp_flags & Py_TPFLAGS_MANAGED_DICT)) {
  ------------------
  |  |  482|  6.56k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (1964:18): [True: 177, False: 6.38k]
  ------------------
 1965|    177|            dict = (PyObject *)_PyObject_GetManagedDict(obj);
 1966|    177|        }
 1967|  6.38k|        else {
 1968|  6.38k|            PyObject **dictptr = _PyObject_ComputedDictPointer(obj);
 1969|  6.38k|            if (dictptr) {
  ------------------
  |  Branch (1969:17): [True: 5.71k, False: 670]
  ------------------
 1970|       |#ifdef Py_GIL_DISABLED
 1971|       |                dict = _Py_atomic_load_ptr_acquire(dictptr);
 1972|       |#else
 1973|  5.71k|                dict = *dictptr;
 1974|  5.71k|#endif
 1975|  5.71k|            }
 1976|  6.38k|        }
 1977|  7.84k|    }
 1978|  6.72k|    if (dict != NULL) {
  ------------------
  |  Branch (1978:9): [True: 5.48k, False: 1.23k]
  ------------------
 1979|  5.48k|        Py_INCREF(dict);
  ------------------
  |  |  310|  5.48k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.48k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.48k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1980|  5.48k|        int rc = PyDict_GetItemRef(dict, name, &res);
 1981|  5.48k|        Py_DECREF(dict);
  ------------------
  |  |  430|  5.48k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.48k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.48k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1982|  5.48k|        if (res != NULL) {
  ------------------
  |  Branch (1982:13): [True: 5.10k, False: 380]
  ------------------
 1983|  5.10k|            goto done;
 1984|  5.10k|        }
 1985|    380|        else if (rc < 0) {
  ------------------
  |  Branch (1985:18): [True: 0, False: 380]
  ------------------
 1986|      0|            if (suppress && PyErr_ExceptionMatches(PyExc_AttributeError)) {
  ------------------
  |  Branch (1986:17): [True: 0, False: 0]
  |  Branch (1986:29): [True: 0, False: 0]
  ------------------
 1987|      0|                PyErr_Clear();
 1988|      0|            }
 1989|      0|            else {
 1990|      0|                goto done;
 1991|      0|            }
 1992|      0|        }
 1993|  5.48k|    }
 1994|       |
 1995|  1.61k|    if (f != NULL) {
  ------------------
  |  Branch (1995:9): [True: 275, False: 1.34k]
  ------------------
 1996|    275|        res = f(descr, obj, (PyObject *)Py_TYPE(obj));
  ------------------
  |  |  213|    275|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    275|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    275|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1997|    275|        if (res == NULL && suppress &&
  ------------------
  |  Branch (1997:13): [True: 0, False: 275]
  |  Branch (1997:28): [True: 0, False: 0]
  ------------------
 1998|      0|                PyErr_ExceptionMatches(PyExc_AttributeError)) {
  ------------------
  |  Branch (1998:17): [True: 0, False: 0]
  ------------------
 1999|      0|            PyErr_Clear();
 2000|      0|        }
 2001|    275|        goto done;
 2002|    275|    }
 2003|       |
 2004|  1.34k|    if (descr != NULL) {
  ------------------
  |  Branch (2004:9): [True: 11, False: 1.32k]
  ------------------
 2005|     11|        res = PyStackRef_AsPyObjectSteal(cref.ref);
 2006|     11|        cref.ref = PyStackRef_NULL;
 2007|     11|        goto done;
 2008|     11|    }
 2009|       |
 2010|  1.32k|    if (!suppress) {
  ------------------
  |  Branch (2010:9): [True: 24, False: 1.30k]
  ------------------
 2011|     24|        PyErr_Format(PyExc_AttributeError,
 2012|     24|                     "'%.100s' object has no attribute '%U'",
 2013|     24|                     tp->tp_name, name);
 2014|       |
 2015|     24|        _PyObject_SetAttributeErrorContext(obj, name);
 2016|     24|    }
 2017|  9.60k|  done:
 2018|  9.60k|    _PyThreadState_PopCStackRef(tstate, &cref);
 2019|  9.60k|    Py_DECREF(name);
  ------------------
  |  |  430|  9.60k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.60k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.60k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2020|  9.60k|    return res;
 2021|  1.32k|}
PyObject_GenericGetAttr:
 2025|  1.76k|{
 2026|       |    return _PyObject_GenericGetAttrWithDict(obj, name, NULL, 0);
 2027|  1.76k|}
_PyObject_GenericSetAttrWithDict:
 2032|  3.68k|{
 2033|  3.68k|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|  3.68k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.68k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.68k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2034|  3.68k|    PyObject *descr;
 2035|  3.68k|    descrsetfunc f;
 2036|  3.68k|    int res = -1;
 2037|       |
 2038|  3.68k|    assert(!PyType_IsSubtype(tp, &PyType_Type));
  ------------------
  |  Branch (2038:5): [True: 3.68k, False: 0]
  ------------------
 2039|  3.68k|    if (!PyUnicode_Check(name)){
  ------------------
  |  |  103|  3.68k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  3.68k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2039:9): [True: 0, False: 3.68k]
  ------------------
 2040|      0|        PyErr_Format(PyExc_TypeError,
 2041|      0|                     "attribute name must be string, not '%.200s'",
 2042|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2043|      0|        return -1;
 2044|      0|    }
 2045|       |
 2046|  3.68k|    if (!_PyType_IsReady(tp) && PyType_Ready(tp) < 0) {
  ------------------
  |  Branch (2046:9): [True: 0, False: 3.68k]
  |  Branch (2046:33): [True: 0, False: 0]
  ------------------
 2047|      0|        return -1;
 2048|      0|    }
 2049|       |
 2050|  3.68k|    Py_INCREF(name);
  ------------------
  |  |  310|  3.68k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.68k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.68k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2051|  3.68k|    _Py_INCREF_TYPE(tp);
  ------------------
  |  |  307|  3.68k|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  3.68k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.68k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.68k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2052|       |
 2053|  3.68k|    PyThreadState *tstate = _PyThreadState_GET();
 2054|  3.68k|    _PyCStackRef cref;
 2055|  3.68k|    _PyThreadState_PushCStackRef(tstate, &cref);
 2056|       |
 2057|  3.68k|    _PyType_LookupStackRefAndVersion(tp, name, &cref.ref);
 2058|  3.68k|    descr = PyStackRef_AsPyObjectBorrow(cref.ref);
 2059|       |
 2060|  3.68k|    if (descr != NULL) {
  ------------------
  |  Branch (2060:9): [True: 496, False: 3.19k]
  ------------------
 2061|    496|        f = Py_TYPE(descr)->tp_descr_set;
  ------------------
  |  |  213|    496|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    496|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    496|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2062|    496|        if (f != NULL) {
  ------------------
  |  Branch (2062:13): [True: 236, False: 260]
  ------------------
 2063|    236|            res = f(descr, obj, value);
 2064|    236|            goto done;
 2065|    236|        }
 2066|    496|    }
 2067|       |
 2068|  3.45k|    if (dict == NULL) {
  ------------------
  |  Branch (2068:9): [True: 3.45k, False: 0]
  ------------------
 2069|  3.45k|        PyObject **dictptr;
 2070|       |
 2071|  3.45k|        if ((tp->tp_flags & Py_TPFLAGS_INLINE_VALUES)) {
  ------------------
  |  |  472|  3.45k|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (2071:13): [True: 852, False: 2.60k]
  ------------------
 2072|    852|            res = _PyObject_StoreInstanceAttribute(obj, name, value);
 2073|    852|            goto error_check;
 2074|    852|        }
 2075|       |
 2076|  2.60k|        if ((tp->tp_flags & Py_TPFLAGS_MANAGED_DICT)) {
  ------------------
  |  |  482|  2.60k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (2076:13): [True: 185, False: 2.41k]
  ------------------
 2077|    185|            PyManagedDictPointer *managed_dict = _PyObject_ManagedDictPointer(obj);
 2078|    185|            dictptr = (PyObject **)&managed_dict->dict;
 2079|    185|        }
 2080|  2.41k|        else {
 2081|  2.41k|            dictptr = _PyObject_ComputedDictPointer(obj);
 2082|  2.41k|        }
 2083|  2.60k|        if (dictptr == NULL) {
  ------------------
  |  Branch (2083:13): [True: 0, False: 2.60k]
  ------------------
 2084|      0|            if (descr == NULL) {
  ------------------
  |  Branch (2084:17): [True: 0, False: 0]
  ------------------
 2085|      0|                if (tp->tp_setattro == PyObject_GenericSetAttr) {
  ------------------
  |  Branch (2085:21): [True: 0, False: 0]
  ------------------
 2086|      0|                    PyErr_Format(PyExc_AttributeError,
 2087|      0|                                "'%.100s' object has no attribute '%U' and no "
 2088|      0|                                "__dict__ for setting new attributes",
 2089|      0|                                tp->tp_name, name);
 2090|      0|                }
 2091|      0|                else {
 2092|      0|                    PyErr_Format(PyExc_AttributeError,
 2093|      0|                                "'%.100s' object has no attribute '%U'",
 2094|      0|                                tp->tp_name, name);
 2095|      0|                }
 2096|      0|                _PyObject_SetAttributeErrorContext(obj, name);
 2097|      0|            }
 2098|      0|            else {
 2099|      0|                PyErr_Format(PyExc_AttributeError,
 2100|      0|                            "'%.100s' object attribute '%U' is read-only",
 2101|      0|                            tp->tp_name, name);
 2102|      0|            }
 2103|      0|            goto done;
 2104|      0|        }
 2105|  2.60k|        else {
 2106|  2.60k|            res = _PyObjectDict_SetItem(tp, obj, dictptr, name, value);
 2107|  2.60k|        }
 2108|  2.60k|    }
 2109|      0|    else {
 2110|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2111|      0|        if (value == NULL)
  ------------------
  |  Branch (2111:13): [True: 0, False: 0]
  ------------------
 2112|      0|            res = PyDict_DelItem(dict, name);
 2113|      0|        else
 2114|      0|            res = PyDict_SetItem(dict, name, value);
 2115|      0|        Py_DECREF(dict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2116|      0|    }
 2117|  3.45k|  error_check:
 2118|  3.45k|    if (res < 0 && PyErr_ExceptionMatches(PyExc_KeyError)) {
  ------------------
  |  Branch (2118:9): [True: 0, False: 3.45k]
  |  Branch (2118:20): [True: 0, False: 0]
  ------------------
 2119|      0|        PyErr_Format(PyExc_AttributeError,
 2120|      0|                        "'%.100s' object has no attribute '%U'",
 2121|      0|                        tp->tp_name, name);
 2122|      0|        _PyObject_SetAttributeErrorContext(obj, name);
 2123|      0|    }
 2124|  3.68k|  done:
 2125|  3.68k|    _PyThreadState_PopCStackRef(tstate, &cref);
 2126|  3.68k|    _Py_DECREF_TYPE(tp);
  ------------------
  |  |  308|  3.68k|#  define _Py_DECREF_TYPE Py_DECREF
  |  |  ------------------
  |  |  |  |  430|  3.68k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.68k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.68k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2127|  3.68k|    Py_DECREF(name);
  ------------------
  |  |  430|  3.68k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.68k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.68k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2128|  3.68k|    return res;
 2129|  3.45k|}
PyObject_GenericSetAttr:
 2133|  3.68k|{
 2134|       |    return _PyObject_GenericSetAttrWithDict(obj, name, value, NULL);
 2135|  3.68k|}
PyObject_IsTrue:
 2153|  2.50k|{
 2154|  2.50k|    Py_ssize_t res;
 2155|  2.50k|    if (v == Py_True)
  ------------------
  |  |   26|  2.50k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|  2.50k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.50k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2155:9): [True: 628, False: 1.87k]
  ------------------
 2156|    628|        return 1;
 2157|  1.87k|    if (v == Py_False)
  ------------------
  |  |   25|  1.87k|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|  1.87k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.87k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2157:9): [True: 1.08k, False: 797]
  ------------------
 2158|  1.08k|        return 0;
 2159|    797|    if (v == Py_None)
  ------------------
  |  |  616|    797|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2159:9): [True: 116, False: 681]
  ------------------
 2160|    116|        return 0;
 2161|    681|    else if (Py_TYPE(v)->tp_as_number != NULL &&
  ------------------
  |  |  213|    681|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    681|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    681|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2161:14): [True: 463, False: 218]
  ------------------
 2162|    463|             Py_TYPE(v)->tp_as_number->nb_bool != NULL)
  ------------------
  |  |  213|    463|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    463|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    463|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2162:14): [True: 48, False: 415]
  ------------------
 2163|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2164|    633|    else if (Py_TYPE(v)->tp_as_mapping != NULL &&
  ------------------
  |  |  213|    633|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    633|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    633|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2164:14): [True: 401, False: 232]
  ------------------
 2165|    401|             Py_TYPE(v)->tp_as_mapping->mp_length != NULL)
  ------------------
  |  |  213|    401|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    401|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    401|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2165:14): [True: 379, False: 22]
  ------------------
 2166|    379|        res = (*Py_TYPE(v)->tp_as_mapping->mp_length)(v);
  ------------------
  |  |  213|    379|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    379|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    379|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2167|    254|    else if (Py_TYPE(v)->tp_as_sequence != NULL &&
  ------------------
  |  |  213|    254|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    254|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    254|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2167:14): [True: 224, False: 30]
  ------------------
 2168|    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 (2168:14): [True: 202, False: 22]
  ------------------
 2169|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2170|     52|    else
 2171|     52|        return 1;
 2172|       |    /* if it is negative, it should be either -1 or -2 */
 2173|    629|    return (res > 0) ? 1 : Py_SAFE_DOWNCAST(res, Py_ssize_t, int);
  ------------------
  |  |  247|    289|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  ------------------
  |  |  |  |   34|    289|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (2173:12): [True: 340, False: 289]
  ------------------
 2174|    797|}
PyCallable_Check:
 2193|  9.84k|{
 2194|  9.84k|    if (x == NULL)
  ------------------
  |  Branch (2194:9): [True: 0, False: 9.84k]
  ------------------
 2195|      0|        return 0;
 2196|  9.84k|    return Py_TYPE(x)->tp_call != NULL;
  ------------------
  |  |  213|  9.84k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  9.84k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.84k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2197|  9.84k|}
PyObject_Dir:
 2282|      2|{
 2283|      2|    return (obj == NULL) ? _dir_locals() : _dir_object(obj);
  ------------------
  |  Branch (2283:12): [True: 0, False: 2]
  ------------------
 2284|      2|}
_PyObject_InitState:
 2518|      2|{
 2519|       |#ifdef Py_TRACE_REFS
 2520|       |    if (refchain_init(interp) < 0) {
 2521|       |        return _PyStatus_NO_MEMORY();
 2522|       |    }
 2523|       |#endif
 2524|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2525|      2|}
_PyTypes_InitTypes:
 2686|      2|{
 2687|       |    // All other static types (unless initialized elsewhere)
 2688|    246|    for (size_t i=0; i < Py_ARRAY_LENGTH(static_types); i++) {
  ------------------
  |  |  221|    246|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (2688:22): [True: 244, False: 2]
  ------------------
 2689|    244|        PyTypeObject *type = static_types[i];
 2690|    244|        if (type == NULL) {
  ------------------
  |  Branch (2690:13): [True: 4, False: 240]
  ------------------
 2691|      4|            continue;
 2692|      4|        }
 2693|    240|        if (_PyStaticType_InitBuiltin(interp, type) < 0) {
  ------------------
  |  Branch (2693:13): [True: 0, False: 240]
  ------------------
 2694|      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)}
  ------------------
 2695|      0|        }
 2696|    240|        if (type == &PyType_Type) {
  ------------------
  |  Branch (2696:13): [True: 2, False: 238]
  ------------------
 2697|       |            // Sanitify checks of the two most important types
 2698|      2|            assert(PyBaseObject_Type.tp_base == NULL);
  ------------------
  |  Branch (2698:13): [True: 2, False: 0]
  ------------------
 2699|      2|            assert(PyType_Type.tp_base == &PyBaseObject_Type);
  ------------------
  |  Branch (2699:13): [True: 2, False: 0]
  ------------------
 2700|      2|        }
 2701|    240|    }
 2702|       |
 2703|       |    // Cache __reduce__ from PyBaseObject_Type object
 2704|      2|    PyObject *baseobj_dict = _PyType_GetDict(&PyBaseObject_Type);
 2705|      2|    PyObject *baseobj_reduce = PyDict_GetItemWithError(baseobj_dict, &_Py_ID(__reduce__));
  ------------------
  |  |  936|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2706|      2|    if (baseobj_reduce == NULL && PyErr_Occurred()) {
  ------------------
  |  Branch (2706:9): [True: 0, False: 2]
  |  Branch (2706:35): [True: 0, False: 0]
  ------------------
 2707|      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)}
  ------------------
 2708|      0|    }
 2709|      2|    _Py_INTERP_CACHED_OBJECT(interp, objreduce) = baseobj_reduce;
  ------------------
  |  |   22|      2|    (interp)->cached_objects.NAME
  ------------------
 2710|       |
 2711|       |    // Must be after static types are initialized
 2712|      2|    if (_Py_initialize_generic(interp) < 0) {
  ------------------
  |  Branch (2712:9): [True: 0, False: 2]
  ------------------
 2713|      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)}
  ------------------
 2714|      0|    }
 2715|       |
 2716|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2717|      2|}
_Py_NewReference:
 2776|   362k|{
 2777|       |#ifdef Py_REF_DEBUG
 2778|       |    _Py_IncRefTotal(_PyThreadState_GET());
 2779|       |#endif
 2780|   362k|    new_reference(op);
 2781|   362k|}
_Py_NewReferenceNoTotal:
 2785|    421|{
 2786|    421|    new_reference(op);
 2787|    421|}
_Py_SetImmortalUntracked:
 2791|  9.03k|{
 2792|       |    // Check if already immortal to avoid degrading from static immortal to plain immortal
 2793|  9.03k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  9.03k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.03k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.03k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 30, False: 9.00k]
  |  |  ------------------
  ------------------
 2794|     30|        return;
 2795|     30|    }
 2796|       |#ifdef Py_GIL_DISABLED
 2797|       |    _Py_atomic_store_uintptr_relaxed(&op->ob_tid, _Py_UNOWNED_TID);
 2798|       |    _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, _Py_IMMORTAL_REFCNT_LOCAL);
 2799|       |    _Py_atomic_store_ssize_relaxed(&op->ob_ref_shared, 0);
 2800|       |    _Py_atomic_or_uint8(&op->ob_gc_bits, _PyGC_BITS_DEFERRED);
 2801|       |#elif SIZEOF_VOID_P > 4
 2802|  9.00k|    op->ob_flags = _Py_IMMORTAL_FLAGS;
  ------------------
  |  |  581|  9.00k|#define _Py_IMMORTAL_FLAGS (1 << 0)
  ------------------
 2803|  9.00k|    op->ob_refcnt = _Py_IMMORTAL_INITIAL_REFCNT;
  ------------------
  |  |   47|  9.00k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
 2804|       |#else
 2805|       |    op->ob_refcnt = _Py_IMMORTAL_INITIAL_REFCNT;
 2806|       |#endif
 2807|  9.00k|}
_Py_SetImmortal:
 2811|  9.03k|{
 2812|  9.03k|    if (PyObject_IS_GC(op) && _PyObject_GC_IS_TRACKED(op)) {
  ------------------
  |  |   81|    838|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|    838|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (81:37): [True: 834, False: 4]
  |  |  ------------------
  ------------------
  |  Branch (2812:9): [True: 838, False: 8.19k]
  ------------------
 2813|    834|        _PyObject_GC_UNTRACK(op);
  ------------------
  |  |  507|    834|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    834|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    834|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2814|    834|    }
 2815|  9.03k|    _Py_SetImmortalUntracked(op);
 2816|  9.03k|}
_PyObject_SetDeferredRefcount:
 2820|  8.73k|{
 2821|       |#ifdef Py_GIL_DISABLED
 2822|       |    assert(PyType_IS_GC(Py_TYPE(op)));
 2823|       |    assert(_Py_IsOwnedByCurrentThread(op));
 2824|       |    assert(op->ob_ref_shared == 0);
 2825|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_DEFERRED);
 2826|       |    op->ob_ref_shared = _Py_REF_SHARED(_Py_REF_DEFERRED, 0);
 2827|       |#endif
 2828|  8.73k|}
PyUnstable_Object_EnableDeferredRefcount:
 2832|    498|{
 2833|       |#ifdef Py_GIL_DISABLED
 2834|       |    if (!PyType_IS_GC(Py_TYPE(op))) {
 2835|       |        // Deferred reference counting doesn't work
 2836|       |        // on untracked types.
 2837|       |        return 0;
 2838|       |    }
 2839|       |
 2840|       |    if (!PyObject_GC_IsTracked(op)) {
 2841|       |        // When deferred refcount is enabled, the object will only be
 2842|       |        // deallocated by the tracing garbage collector. So it must be tracked
 2843|       |        // by the garbage collector.
 2844|       |        return 0;
 2845|       |    }
 2846|       |
 2847|       |    uint8_t bits = _Py_atomic_load_uint8(&op->ob_gc_bits);
 2848|       |    if ((bits & _PyGC_BITS_DEFERRED) != 0)
 2849|       |    {
 2850|       |        // Nothing to do.
 2851|       |        return 0;
 2852|       |    }
 2853|       |
 2854|       |    if (_Py_atomic_compare_exchange_uint8(&op->ob_gc_bits, &bits, bits | _PyGC_BITS_DEFERRED) == 0)
 2855|       |    {
 2856|       |        // Someone beat us to it!
 2857|       |        return 0;
 2858|       |    }
 2859|       |    _Py_atomic_add_ssize(&op->ob_ref_shared, _Py_REF_SHARED(_Py_REF_DEFERRED, 0));
 2860|       |    return 1;
 2861|       |#else
 2862|    498|    return 0;
 2863|    498|#endif
 2864|    498|}
Py_ReprEnter:
 3124|     24|{
 3125|     24|    PyObject *dict;
 3126|     24|    PyObject *list;
 3127|     24|    Py_ssize_t i;
 3128|       |
 3129|     24|    dict = PyThreadState_GetDict();
 3130|       |    /* Ignore a missing thread-state, so that this function can be called
 3131|       |       early on startup. */
 3132|     24|    if (dict == NULL)
  ------------------
  |  Branch (3132:9): [True: 0, False: 24]
  ------------------
 3133|      0|        return 0;
 3134|     24|    list = PyDict_GetItemWithError(dict, &_Py_ID(Py_Repr));
  ------------------
  |  |  936|     24|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     24|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     24|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3135|     24|    if (list == NULL) {
  ------------------
  |  Branch (3135:9): [True: 1, False: 23]
  ------------------
 3136|      1|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (3136:13): [True: 0, False: 1]
  ------------------
 3137|      0|            return -1;
 3138|      0|        }
 3139|      1|        list = PyList_New(0);
 3140|      1|        if (list == NULL)
  ------------------
  |  Branch (3140:13): [True: 0, False: 1]
  ------------------
 3141|      0|            return -1;
 3142|      1|        if (_PyDict_SetItem_Take2((PyDictObject *)dict, &_Py_ID(Py_Repr), list) < 0) {
  ------------------
  |  |  936|      1|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      1|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      1|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3142:13): [True: 0, False: 1]
  ------------------
 3143|      0|            return -1;
 3144|      0|        }
 3145|      1|    }
 3146|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3147|     32|    while (--i >= 0) {
  ------------------
  |  Branch (3147:12): [True: 8, False: 24]
  ------------------
 3148|     16|        if (PyList_GET_ITEM(list, i) == obj)
  ------------------
  |  |   40|      8|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|      8|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3148:13): [True: 8, False: 0]
  |  Branch (3148:13): [True: 0, False: 8]
  ------------------
 3149|      0|            return 1;
 3150|      8|    }
 3151|     24|    if (PyList_Append(list, obj) < 0)
  ------------------
  |  Branch (3151:9): [True: 0, False: 24]
  ------------------
 3152|      0|        return -1;
 3153|     24|    return 0;
 3154|     24|}
Py_ReprLeave:
 3158|     24|{
 3159|     24|    PyObject *dict;
 3160|     24|    PyObject *list;
 3161|     24|    Py_ssize_t i;
 3162|       |
 3163|     24|    PyObject *exc = PyErr_GetRaisedException();
 3164|       |
 3165|     24|    dict = PyThreadState_GetDict();
 3166|     24|    if (dict == NULL)
  ------------------
  |  Branch (3166:9): [True: 0, False: 24]
  ------------------
 3167|      0|        goto finally;
 3168|       |
 3169|     24|    list = PyDict_GetItemWithError(dict, &_Py_ID(Py_Repr));
  ------------------
  |  |  936|     24|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     24|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     24|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3170|     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 (3170:9): [True: 0, False: 24]
  |  Branch (3170:25): [True: 0, False: 24]
  ------------------
 3171|      0|        goto finally;
 3172|       |
 3173|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3174|       |    /* Count backwards because we always expect obj to be list[-1] */
 3175|     24|    while (--i >= 0) {
  ------------------
  |  Branch (3175:12): [True: 24, False: 0]
  ------------------
 3176|     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 (3176:13): [True: 24, False: 0]
  |  Branch (3176:13): [True: 24, False: 0]
  ------------------
 3177|     24|            PyList_SetSlice(list, i, i + 1, NULL);
 3178|     24|            break;
 3179|     24|        }
 3180|     24|    }
 3181|       |
 3182|     24|finally:
 3183|       |    /* ignore exceptions because there is no way to report them. */
 3184|     24|    PyErr_SetRaisedException(exc);
 3185|     24|}
_Py_Dealloc:
 3311|   318k|{
 3312|   318k|    PyTypeObject *type = Py_TYPE(op);
  ------------------
  |  |  213|   318k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   318k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   318k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3313|   318k|    unsigned long gc_flag = type->tp_flags & Py_TPFLAGS_HAVE_GC;
  ------------------
  |  |  524|   318k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
 3314|   318k|    destructor dealloc = type->tp_dealloc;
 3315|   318k|    PyThreadState *tstate = NULL;
 3316|   318k|    intptr_t margin = 0;
 3317|   318k|    if (gc_flag) {
  ------------------
  |  Branch (3317:9): [True: 18.4k, False: 300k]
  ------------------
 3318|  18.4k|        tstate = _PyThreadState_GET();
 3319|  18.4k|        margin = _Py_RecursionLimit_GetMargin(tstate);
 3320|  18.4k|        if (margin < 2) {
  ------------------
  |  Branch (3320:13): [True: 0, False: 18.4k]
  ------------------
 3321|      0|            _PyTrash_thread_deposit_object(tstate, (PyObject *)op);
 3322|      0|            return;
 3323|      0|        }
 3324|  18.4k|    }
 3325|       |#ifdef Py_DEBUG
 3326|       |    if (tstate == NULL) {
 3327|       |        tstate = _PyThreadState_GET();
 3328|       |    }
 3329|       |#if !defined(Py_GIL_DISABLED) && !defined(Py_STACKREF_DEBUG)
 3330|       |    /* This assertion doesn't hold for the free-threading build, as
 3331|       |     * PyStackRef_CLOSE_SPECIALIZED is not implemented */
 3332|       |    assert(tstate->current_frame == NULL || tstate->current_frame->stackpointer != NULL);
 3333|       |#endif
 3334|       |    PyObject *old_exc = tstate != NULL ? tstate->current_exception : NULL;
 3335|       |    // Keep the old exception type alive to prevent undefined behavior
 3336|       |    // on (tstate->curexc_type != old_exc_type) below
 3337|       |    Py_XINCREF(old_exc);
 3338|       |    // Make sure that type->tp_name remains valid
 3339|       |    Py_INCREF(type);
 3340|       |#endif
 3341|       |
 3342|       |#ifdef Py_TRACE_REFS
 3343|       |    _Py_ForgetReference(op);
 3344|       |#endif
 3345|   318k|    _PyReftracerTrack(op, PyRefTracer_DESTROY);
  ------------------
  |  |  112|   318k|    do { \
  |  |  113|   318k|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  114|   318k|        if (tracer->tracer_func != NULL) { \
  |  |  ------------------
  |  |  |  Branch (114:13): [True: 0, False: 318k]
  |  |  ------------------
  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  117|      0|        } \
  |  |  118|   318k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (118:13): [Folded, False: 318k]
  |  |  ------------------
  ------------------
 3346|   318k|    (*dealloc)(op);
 3347|       |
 3348|       |#ifdef Py_DEBUG
 3349|       |    // gh-89373: The tp_dealloc function must leave the current exception
 3350|       |    // unchanged.
 3351|       |    if (tstate != NULL && tstate->current_exception != old_exc) {
 3352|       |        const char *err;
 3353|       |        if (old_exc == NULL) {
 3354|       |            err = "Deallocator of type '%s' raised an exception";
 3355|       |        }
 3356|       |        else if (tstate->current_exception == NULL) {
 3357|       |            err = "Deallocator of type '%s' cleared the current exception";
 3358|       |        }
 3359|       |        else {
 3360|       |            // It can happen if dealloc() normalized the current exception.
 3361|       |            // A deallocator function must not change the current exception,
 3362|       |            // not even normalize it.
 3363|       |            err = "Deallocator of type '%s' overrode the current exception";
 3364|       |        }
 3365|       |        _Py_FatalErrorFormat(__func__, err, type->tp_name);
 3366|       |    }
 3367|       |    Py_XDECREF(old_exc);
 3368|       |    Py_DECREF(type);
 3369|       |#endif
 3370|   318k|    if (gc_flag && tstate->delete_later && margin >= 4) {
  ------------------
  |  Branch (3370:9): [True: 18.4k, False: 300k]
  |  Branch (3370:20): [True: 0, False: 18.4k]
  |  Branch (3370:44): [True: 0, False: 0]
  ------------------
 3371|      0|        _PyTrash_thread_destroy_chain(tstate);
 3372|      0|    }
 3373|   318k|}
_Py_GetConstant_Init:
 3476|      2|{
 3477|      2|    constants[Py_CONSTANT_ZERO] = _PyLong_GetZero();
  ------------------
  |  |  595|      2|#define Py_CONSTANT_ZERO 5
  ------------------
 3478|      2|    constants[Py_CONSTANT_ONE] = _PyLong_GetOne();
  ------------------
  |  |  596|      2|#define Py_CONSTANT_ONE 6
  ------------------
 3479|      2|    constants[Py_CONSTANT_EMPTY_STR] = PyUnicode_New(0, 0);
  ------------------
  |  |  597|      2|#define Py_CONSTANT_EMPTY_STR 7
  ------------------
 3480|      2|    constants[Py_CONSTANT_EMPTY_BYTES] = PyBytes_FromStringAndSize("", 0);
  ------------------
  |  |  598|      2|#define Py_CONSTANT_EMPTY_BYTES 8
  ------------------
 3481|      2|    constants[Py_CONSTANT_EMPTY_TUPLE] = PyTuple_New(0);
  ------------------
  |  |  599|      2|#define Py_CONSTANT_EMPTY_TUPLE 9
  ------------------
 3482|      2|#ifndef NDEBUG
 3483|     22|    for (size_t i=0; i < Py_ARRAY_LENGTH(constants); i++) {
  ------------------
  |  |  221|     22|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (3483:22): [True: 20, False: 2]
  ------------------
 3484|     20|        assert(constants[i] != NULL);
  ------------------
  |  Branch (3484:9): [True: 20, False: 0]
  ------------------
 3485|     20|        assert(_Py_IsImmortal(constants[i]));
  ------------------
  |  Branch (3485:9): [True: 20, False: 0]
  ------------------
 3486|     20|    }
 3487|      2|#endif
 3488|      2|}
Py_GetConstant:
 3492|     42|{
 3493|     42|    if (constant_id < Py_ARRAY_LENGTH(constants)) {
  ------------------
  |  |  221|     42|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (3493:9): [True: 42, False: 0]
  ------------------
 3494|     42|        return constants[constant_id];
 3495|     42|    }
 3496|      0|    else {
 3497|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3498|       |        return NULL;
 3499|      0|    }
 3500|     42|}
Py_GetConstantBorrowed:
 3505|     12|{
 3506|       |    // All constants are immortal
 3507|     12|    return Py_GetConstant(constant_id);
 3508|     12|}
PyUnstable_IsImmortal:
 3512|     31|{
 3513|       |    /* Checking a reference count requires a thread state */
 3514|     31|    _Py_AssertHoldsTstate();
  ------------------
  |  |  324|     31|#define _Py_AssertHoldsTstate() _Py_AssertHoldsTstateFunc(__func__)
  ------------------
 3515|     31|    assert(op != NULL);
  ------------------
  |  Branch (3515:5): [True: 31, False: 0]
  ------------------
 3516|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3517|     31|}
PyUnstable_Object_IsUniquelyReferenced:
 3521|   277k|{
 3522|   277k|    _Py_AssertHoldsTstate();
  ------------------
  |  |  324|   277k|#define _Py_AssertHoldsTstate() _Py_AssertHoldsTstateFunc(__func__)
  ------------------
 3523|   277k|    assert(op != NULL);
  ------------------
  |  Branch (3523:5): [True: 277k, False: 0]
  ------------------
 3524|   277k|    return _PyObject_IsUniquelyReferenced(op);
 3525|   277k|}
_PyObject_VisitType:
 3529|     48|{
 3530|     48|    assert(op != NULL);
  ------------------
  |  Branch (3530:5): [True: 48, False: 0]
  ------------------
 3531|     48|    PyTypeObject *tp = Py_TYPE(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3532|     48|    _PyObject_ASSERT((PyObject *)tp, PyType_HasFeature(tp, Py_TPFLAGS_HEAPTYPE));
  ------------------
  |  |  425|     48|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  423|     48|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  416|     48|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (416:6): [True: 48, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  417|     48|      ? (void)(0) \
  |  |  |  |  |  |  418|     48|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3533|     48|    Py_VISIT(tp);
  ------------------
  |  |  194|     48|    do {                                                                \
  |  |  195|     48|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 48, False: 0]
  |  |  ------------------
  |  |  196|     48|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     48|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 48]
  |  |  ------------------
  |  |  198|     48|                return vret;                                            \
  |  |  199|     48|        }                                                               \
  |  |  200|     48|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 48]
  |  |  ------------------
  ------------------
 3534|     48|    return 0;
 3535|     48|}
object.c:do_richcompare:
 1050|  9.28k|{
 1051|  9.28k|    richcmpfunc f;
 1052|  9.28k|    PyObject *res;
 1053|  9.28k|    int checked_reverse_op = 0;
 1054|       |
 1055|  9.28k|    if (!Py_IS_TYPE(v, Py_TYPE(w)) &&
  ------------------
  |  |  215|  18.5k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  9.28k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.28k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1055:9): [True: 83, False: 9.20k]
  ------------------
 1056|     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 (1056:9): [True: 3, False: 80]
  ------------------
 1057|      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 (1057:9): [True: 3, False: 0]
  ------------------
 1058|      3|        checked_reverse_op = 1;
 1059|      3|        res = (*f)(w, v, _Py_SwappedOp[op]);
 1060|      3|        if (res != Py_NotImplemented)
  ------------------
  |  |  640|      3|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1060:13): [True: 0, False: 3]
  ------------------
 1061|      0|            return res;
 1062|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1063|      3|    }
 1064|  9.28k|    if ((f = Py_TYPE(v)->tp_richcompare) != NULL) {
  ------------------
  |  |  213|  9.28k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  9.28k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.28k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1064:9): [True: 9.28k, False: 0]
  ------------------
 1065|  9.28k|        res = (*f)(v, w, op);
 1066|  9.28k|        if (res != Py_NotImplemented)
  ------------------
  |  |  640|  9.28k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1066:13): [True: 9.20k, False: 78]
  ------------------
 1067|  9.20k|            return res;
 1068|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1069|     78|    }
 1070|     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 (1070:9): [True: 75, False: 3]
  |  Branch (1070:32): [True: 75, False: 0]
  ------------------
 1071|     75|        res = (*f)(w, v, _Py_SwappedOp[op]);
 1072|     75|        if (res != Py_NotImplemented)
  ------------------
  |  |  640|     75|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1072:13): [True: 0, False: 75]
  ------------------
 1073|      0|            return res;
 1074|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1075|     75|    }
 1076|       |    /* If neither object implements it, provide a sensible default
 1077|       |       for == and !=, but raise an exception for ordering. */
 1078|     78|    switch (op) {
 1079|     78|    case Py_EQ:
  ------------------
  |  |  654|     78|#define Py_EQ 2
  ------------------
  |  Branch (1079:5): [True: 78, False: 0]
  ------------------
 1080|     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 (1080:15): [True: 0, False: 78]
  ------------------
 1081|     78|        break;
 1082|      0|    case Py_NE:
  ------------------
  |  |  655|      0|#define Py_NE 3
  ------------------
  |  Branch (1082:5): [True: 0, False: 78]
  ------------------
 1083|      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 (1083:15): [True: 0, False: 0]
  ------------------
 1084|      0|        break;
 1085|      0|    default:
  ------------------
  |  Branch (1085:5): [True: 0, False: 78]
  ------------------
 1086|      0|        _PyErr_Format(tstate, PyExc_TypeError,
 1087|      0|                      "'%s' not supported between instances of '%.100s' and '%.100s'",
 1088|      0|                      opstrings[op],
 1089|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1090|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1091|      0|        return NULL;
 1092|     78|    }
 1093|     78|    return Py_NewRef(res);
  ------------------
  |  |  550|     78|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     78|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     78|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1094|     78|}
object.c:_dir_object:
 2249|      2|{
 2250|      2|    PyObject *result, *sorted;
 2251|      2|    PyObject *dirfunc = _PyObject_LookupSpecial(obj, &_Py_ID(__dir__));
  ------------------
  |  |  936|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2252|       |
 2253|      2|    assert(obj != NULL);
  ------------------
  |  Branch (2253:5): [True: 2, False: 0]
  ------------------
 2254|      2|    if (dirfunc == NULL) {
  ------------------
  |  Branch (2254:9): [True: 0, False: 2]
  ------------------
 2255|      0|        if (!PyErr_Occurred())
  ------------------
  |  Branch (2255:13): [True: 0, False: 0]
  ------------------
 2256|      0|            PyErr_SetString(PyExc_TypeError, "object does not provide __dir__");
 2257|      0|        return NULL;
 2258|      0|    }
 2259|       |    /* use __dir__ */
 2260|      2|    result = _PyObject_CallNoArgs(dirfunc);
 2261|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2262|      2|    if (result == NULL)
  ------------------
  |  Branch (2262:9): [True: 0, False: 2]
  ------------------
 2263|      0|        return NULL;
 2264|       |    /* return sorted(result) */
 2265|      2|    sorted = PySequence_List(result);
 2266|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2267|      2|    if (sorted == NULL)
  ------------------
  |  Branch (2267:9): [True: 0, False: 2]
  ------------------
 2268|      0|        return NULL;
 2269|      2|    if (PyList_Sort(sorted)) {
  ------------------
  |  Branch (2269:9): [True: 0, False: 2]
  ------------------
 2270|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2271|      0|        return NULL;
 2272|      0|    }
 2273|      2|    return sorted;
 2274|      2|}
object.c:none_repr:
 2295|      4|{
 2296|      4|    return PyUnicode_FromString("None");
 2297|      4|}
object.c:none_hash:
 2326|     33|{
 2327|     33|    return 0xFCA86420;
 2328|     33|}
object.c:new_reference:
 2743|   362k|{
 2744|       |    // Skip the immortal object check in Py_SET_REFCNT; always set refcnt to 1
 2745|   362k|#if !defined(Py_GIL_DISABLED)
 2746|   362k|#if SIZEOF_VOID_P > 4
 2747|   362k|    op->ob_refcnt_full = 1;
 2748|   362k|    assert(op->ob_refcnt == 1);
  ------------------
  |  Branch (2748:5): [True: 362k, False: 0]
  ------------------
 2749|   362k|    assert(op->ob_flags == 0);
  ------------------
  |  Branch (2749:5): [True: 362k, False: 0]
  ------------------
 2750|       |#else
 2751|       |    op->ob_refcnt = 1;
 2752|       |#endif
 2753|       |#else
 2754|       |    op->ob_flags = 0;
 2755|       |    op->ob_mutex = (PyMutex){ 0 };
 2756|       |#ifdef _Py_THREAD_SANITIZER
 2757|       |    _Py_atomic_store_uintptr_relaxed(&op->ob_tid, _Py_ThreadId());
 2758|       |    _Py_atomic_store_uint8_relaxed(&op->ob_gc_bits, 0);
 2759|       |    _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, 1);
 2760|       |    _Py_atomic_store_ssize_relaxed(&op->ob_ref_shared, 0);
 2761|       |#else
 2762|       |    op->ob_tid = _Py_ThreadId();
 2763|       |    op->ob_gc_bits = 0;
 2764|       |    op->ob_ref_local = 1;
 2765|       |    op->ob_ref_shared = 0;
 2766|       |#endif
 2767|       |#endif
 2768|       |#ifdef Py_TRACE_REFS
 2769|       |    _Py_AddToAllObjects(op);
 2770|       |#endif
 2771|   362k|    _PyReftracerTrack(op, PyRefTracer_CREATE);
  ------------------
  |  |  112|   362k|    do { \
  |  |  113|   362k|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  114|   362k|        if (tracer->tracer_func != NULL) { \
  |  |  ------------------
  |  |  |  Branch (114:13): [True: 0, False: 362k]
  |  |  ------------------
  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  117|      0|        } \
  |  |  118|   362k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (118:13): [Folded, False: 362k]
  |  |  ------------------
  ------------------
 2772|   362k|}

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

rangeobject.c:range_dealloc:
  186|     34|{
  187|     34|    rangeobject *r = (rangeobject*)op;
  188|     34|    Py_DECREF(r->start);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  189|     34|    Py_DECREF(r->stop);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  190|     34|    Py_DECREF(r->step);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  191|     34|    Py_DECREF(r->length);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  192|     34|    _Py_FREELIST_FREE(ranges, r, PyObject_Free);
  ------------------
  |  |   35|     34|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|     34|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   22|     34|#  define Py_ranges_MAXFREELIST 6
  |  |  ------------------
  ------------------
  193|     34|}
rangeobject.c:range_length:
  327|      2|{
  328|      2|    rangeobject *r = (rangeobject*)op;
  329|      2|    return PyLong_AsSsize_t(r->length);
  330|      2|}
rangeobject.c:compute_item:
  334|     14|{
  335|     14|    PyObject *incr, *result;
  336|       |    /* PyLong equivalent to:
  337|       |     *    return r->start + (i * r->step)
  338|       |     */
  339|     14|    if (r->step == _PyLong_GetOne()) {
  ------------------
  |  Branch (339:9): [True: 14, False: 0]
  ------------------
  340|     14|        result = PyNumber_Add(r->start, i);
  341|     14|    }
  342|      0|    else {
  343|      0|        incr = PyNumber_Multiply(i, r->step);
  344|      0|        if (!incr) {
  ------------------
  |  Branch (344:13): [True: 0, False: 0]
  ------------------
  345|      0|            return NULL;
  346|      0|        }
  347|      0|        result = PyNumber_Add(r->start, incr);
  348|      0|        Py_DECREF(incr);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  349|      0|    }
  350|     14|    return result;
  351|     14|}
rangeobject.c:range_subscript:
  730|      7|{
  731|      7|    rangeobject *self = (rangeobject*)op;
  732|      7|    if (_PyIndex_Check(item)) {
  ------------------
  |  Branch (732:9): [True: 0, False: 7]
  ------------------
  733|      0|        PyObject *i, *result;
  734|      0|        i = PyNumber_Index(item);
  735|      0|        if (!i)
  ------------------
  |  Branch (735:13): [True: 0, False: 0]
  ------------------
  736|      0|            return NULL;
  737|      0|        result = compute_range_item(self, i);
  738|      0|        Py_DECREF(i);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  739|      0|        return result;
  740|      0|    }
  741|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  742|      7|        return compute_slice(self, item);
  743|      7|    }
  744|      0|    PyErr_Format(PyExc_TypeError,
  745|      0|                 "range indices must be integers or slices, not %.200s",
  746|      0|                 Py_TYPE(item)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  747|       |    return NULL;
  748|      7|}
rangeobject.c:compute_slice:
  420|      7|{
  421|      7|    PySliceObject *slice = (PySliceObject *) _slice;
  422|      7|    rangeobject *result;
  423|      7|    PyObject *start = NULL, *stop = NULL, *step = NULL;
  424|      7|    PyObject *substart = NULL, *substop = NULL, *substep = NULL;
  425|      7|    int error;
  426|       |
  427|      7|    error = _PySlice_GetLongIndices(slice, r->length, &start, &stop, &step);
  428|      7|    if (error == -1)
  ------------------
  |  Branch (428:9): [True: 0, False: 7]
  ------------------
  429|      0|        return NULL;
  430|       |
  431|      7|    substep = PyNumber_Multiply(r->step, step);
  432|      7|    if (substep == NULL) goto fail;
  ------------------
  |  Branch (432:9): [True: 0, False: 7]
  ------------------
  433|      7|    Py_CLEAR(step);
  ------------------
  |  |  484|      7|    do { \
  |  |  485|      7|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      7|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      7|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      7|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      7|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      7|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 7, False: 0]
  |  |  ------------------
  |  |  488|      7|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      7|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      7|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      7|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      7|        } \
  |  |  491|      7|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 7]
  |  |  ------------------
  ------------------
  434|       |
  435|      7|    substart = compute_item(r, start);
  436|      7|    if (substart == NULL) goto fail;
  ------------------
  |  Branch (436:9): [True: 0, False: 7]
  ------------------
  437|      7|    Py_CLEAR(start);
  ------------------
  |  |  484|      7|    do { \
  |  |  485|      7|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      7|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      7|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      7|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      7|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      7|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 7, False: 0]
  |  |  ------------------
  |  |  488|      7|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      7|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      7|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      7|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      7|        } \
  |  |  491|      7|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 7]
  |  |  ------------------
  ------------------
  438|       |
  439|      7|    substop = compute_item(r, stop);
  440|      7|    if (substop == NULL) goto fail;
  ------------------
  |  Branch (440:9): [True: 0, False: 7]
  ------------------
  441|      7|    Py_CLEAR(stop);
  ------------------
  |  |  484|      7|    do { \
  |  |  485|      7|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      7|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      7|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      7|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      7|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      7|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 7, False: 0]
  |  |  ------------------
  |  |  488|      7|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      7|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      7|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      7|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      7|        } \
  |  |  491|      7|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 7]
  |  |  ------------------
  ------------------
  442|       |
  443|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  444|      7|    if (result != NULL) {
  ------------------
  |  Branch (444:9): [True: 7, False: 0]
  ------------------
  445|      7|        return (PyObject *) result;
  446|      7|    }
  447|      0|fail:
  448|      0|    Py_XDECREF(start);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  449|      0|    Py_XDECREF(stop);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  450|      0|    Py_XDECREF(step);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  451|      0|    Py_XDECREF(substart);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  452|      0|    Py_XDECREF(substop);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  453|      0|    Py_XDECREF(substep);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  454|       |    return NULL;
  455|      7|}
rangeobject.c:make_range_object:
   69|     34|{
   70|     34|    PyObject *length;
   71|     34|    length = compute_range_length(start, stop, step);
   72|     34|    if (length == NULL) {
  ------------------
  |  Branch (72:9): [True: 0, False: 34]
  ------------------
   73|      0|        return NULL;
   74|      0|    }
   75|     34|    rangeobject *obj = _Py_FREELIST_POP(rangeobject, ranges);
  ------------------
  |  |   43|     34|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   76|     34|    if (obj == NULL) {
  ------------------
  |  Branch (76:9): [True: 3, False: 31]
  ------------------
   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|     34|    obj->start = start;
   84|     34|    obj->stop = stop;
   85|     34|    obj->step = step;
   86|     34|    obj->length = length;
   87|     34|    return obj;
   88|     34|}
rangeobject.c:compute_range_length:
  244|     34|{
  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|     34|    int cmp_result;
  250|     34|    PyObject *lo, *hi;
  251|     34|    PyObject *diff = NULL;
  252|     34|    PyObject *tmp1 = NULL, *tmp2 = NULL, *result;
  253|       |                /* holds sub-expression evaluations */
  254|       |
  255|     34|    PyObject *zero = _PyLong_GetZero();  // borrowed reference
  256|     34|    PyObject *one = _PyLong_GetOne();  // borrowed reference
  257|       |
  258|     34|    assert(PyLong_Check(start));
  ------------------
  |  Branch (258:5): [True: 34, False: 0]
  ------------------
  259|     34|    assert(PyLong_Check(stop));
  ------------------
  |  Branch (259:5): [True: 34, False: 0]
  ------------------
  260|     34|    assert(PyLong_Check(step));
  ------------------
  |  Branch (260:5): [True: 34, False: 0]
  ------------------
  261|       |
  262|       |    /* fast path when all arguments fit into a long integer */
  263|     34|    long len = compute_range_length_long(start, stop, step);
  264|     34|    if (len >= 0) {
  ------------------
  |  Branch (264:9): [True: 32, False: 2]
  ------------------
  265|     32|        return PyLong_FromLong(len);
  266|     32|    }
  267|      2|    else if (len == -1) {
  ------------------
  |  Branch (267:14): [True: 0, False: 2]
  ------------------
  268|       |        /* unexpected error from compute_range_length_long, we propagate to the caller */
  269|      0|        return NULL;
  270|      0|    }
  271|     34|    assert(len == -2);
  ------------------
  |  Branch (271:5): [True: 2, False: 0]
  ------------------
  272|       |
  273|      2|    cmp_result = PyObject_RichCompareBool(step, zero, Py_GT);
  ------------------
  |  |  656|      2|#define Py_GT 4
  ------------------
  274|      2|    if (cmp_result == -1)
  ------------------
  |  Branch (274:9): [True: 0, False: 2]
  ------------------
  275|      0|        return NULL;
  276|       |
  277|      2|    if (cmp_result == 1) {
  ------------------
  |  Branch (277:9): [True: 2, False: 0]
  ------------------
  278|      2|        lo = start;
  279|      2|        hi = stop;
  280|      2|        Py_INCREF(step);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  281|      2|    } else {
  282|      0|        lo = stop;
  283|      0|        hi = start;
  284|      0|        step = PyNumber_Negative(step);
  285|      0|        if (!step)
  ------------------
  |  Branch (285:13): [True: 0, False: 0]
  ------------------
  286|      0|            return NULL;
  287|      0|    }
  288|       |
  289|       |    /* if (lo >= hi), return length of 0. */
  290|      2|    cmp_result = PyObject_RichCompareBool(lo, hi, Py_GE);
  ------------------
  |  |  657|      2|#define Py_GE 5
  ------------------
  291|      2|    if (cmp_result != 0) {
  ------------------
  |  Branch (291:9): [True: 0, False: 2]
  ------------------
  292|      0|        Py_DECREF(step);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  293|      0|        if (cmp_result < 0)
  ------------------
  |  Branch (293:13): [True: 0, False: 0]
  ------------------
  294|      0|            return NULL;
  295|      0|        result = zero;
  296|      0|        return Py_NewRef(result);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  297|      0|    }
  298|       |
  299|      2|    if ((tmp1 = PyNumber_Subtract(hi, lo)) == NULL)
  ------------------
  |  Branch (299:9): [True: 0, False: 2]
  ------------------
  300|      0|        goto Fail;
  301|       |
  302|      2|    if ((diff = PyNumber_Subtract(tmp1, one)) == NULL)
  ------------------
  |  Branch (302:9): [True: 0, False: 2]
  ------------------
  303|      0|        goto Fail;
  304|       |
  305|      2|    if ((tmp2 = PyNumber_FloorDivide(diff, step)) == NULL)
  ------------------
  |  Branch (305:9): [True: 0, False: 2]
  ------------------
  306|      0|        goto Fail;
  307|       |
  308|      2|    if ((result = PyNumber_Add(tmp2, one)) == NULL)
  ------------------
  |  Branch (308:9): [True: 0, False: 2]
  ------------------
  309|      0|        goto Fail;
  310|       |
  311|      2|    Py_DECREF(tmp2);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  312|      2|    Py_DECREF(diff);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  313|      2|    Py_DECREF(step);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  314|      2|    Py_DECREF(tmp1);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  315|      2|    return result;
  316|       |
  317|      0|  Fail:
  318|      0|    Py_DECREF(step);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  319|      0|    Py_XDECREF(tmp2);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  320|      0|    Py_XDECREF(diff);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  321|      0|    Py_XDECREF(tmp1);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  322|       |    return NULL;
  323|      2|}
rangeobject.c:compute_range_length_long:
  203|     34|                PyObject *stop, PyObject *step) {
  204|     34|    int overflow = 0;
  205|       |
  206|     34|    long long_start = PyLong_AsLongAndOverflow(start, &overflow);
  207|     34|    if (overflow) {
  ------------------
  |  Branch (207:9): [True: 0, False: 34]
  ------------------
  208|      0|        return -2;
  209|      0|    }
  210|     34|    if (long_start == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (210:9): [True: 2, False: 32]
  |  Branch (210:29): [True: 0, False: 2]
  ------------------
  211|      0|        return -1;
  212|      0|    }
  213|     34|    long long_stop = PyLong_AsLongAndOverflow(stop, &overflow);
  214|     34|    if (overflow) {
  ------------------
  |  Branch (214:9): [True: 2, False: 32]
  ------------------
  215|      2|        return -2;
  216|      2|    }
  217|     32|    if (long_stop == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (217:9): [True: 7, False: 25]
  |  Branch (217:28): [True: 0, False: 7]
  ------------------
  218|      0|        return -1;
  219|      0|    }
  220|     32|    long long_step = PyLong_AsLongAndOverflow(step, &overflow);
  221|     32|    if (overflow) {
  ------------------
  |  Branch (221:9): [True: 0, False: 32]
  ------------------
  222|      0|        return -2;
  223|      0|    }
  224|     32|    if (long_step == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (224:9): [True: 7, False: 25]
  |  Branch (224:28): [True: 0, False: 7]
  ------------------
  225|      0|        return -1;
  226|      0|    }
  227|       |
  228|     32|    unsigned long ulen = get_len_of_range(long_start, long_stop, long_step);
  229|     32|    if (ulen > (unsigned long)LONG_MAX) {
  ------------------
  |  Branch (229:9): [True: 0, False: 32]
  ------------------
  230|       |        /* length too large for a long */
  231|      0|        return -2;
  232|      0|    }
  233|     32|    else {
  234|     32|        return (long)ulen;
  235|     32|    }
  236|     32|}
rangeobject.c:get_len_of_range:
  993|     57|{
  994|       |    /* -------------------------------------------------------------
  995|       |    If step > 0 and lo >= hi, or step < 0 and lo <= hi, the range is empty.
  996|       |    Else for step > 0, if n values are in the range, the last one is
  997|       |    lo + (n-1)*step, which must be <= hi-1.  Rearranging,
  998|       |    n <= (hi - lo - 1)/step + 1, so taking the floor of the RHS gives
  999|       |    the proper value.  Since lo < hi in this case, hi-lo-1 >= 0, so
 1000|       |    the RHS is non-negative and so truncation is the same as the
 1001|       |    floor.  Letting M be the largest positive long, the worst case
 1002|       |    for the RHS numerator is hi=M, lo=-M-1, and then
 1003|       |    hi-lo-1 = M-(-M-1)-1 = 2*M.  Therefore unsigned long has enough
 1004|       |    precision to compute the RHS exactly.  The analysis for step < 0
 1005|       |    is similar.
 1006|       |    ---------------------------------------------------------------*/
 1007|     57|    assert(step != 0);
  ------------------
  |  Branch (1007:5): [True: 57, False: 0]
  ------------------
 1008|     57|    if (step > 0 && lo < hi)
  ------------------
  |  Branch (1008:9): [True: 37, False: 20]
  |  Branch (1008:21): [True: 31, False: 6]
  ------------------
 1009|     31|        return 1UL + (hi - 1UL - lo) / step;
 1010|     26|    else if (step < 0 && lo > hi)
  ------------------
  |  Branch (1010:14): [True: 20, False: 6]
  |  Branch (1010:26): [True: 16, False: 4]
  ------------------
 1011|     16|        return 1UL + (lo - 1UL - hi) / (0UL - step);
 1012|     10|    else
 1013|     10|        return 0UL;
 1014|     57|}
rangeobject.c:fast_range_iter:
 1021|     25|{
 1022|     25|    _PyRangeIterObject *it = _Py_FREELIST_POP(_PyRangeIterObject, range_iters);
  ------------------
  |  |   43|     25|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|     25|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1023|     25|    if (it == NULL) {
  ------------------
  |  Branch (1023:9): [True: 2, False: 23]
  ------------------
 1024|      2|        it = PyObject_New(_PyRangeIterObject, &PyRangeIter_Type);
  ------------------
  |  |  130|      2|#define PyObject_New(type, typeobj) ((type *)_PyObject_New(typeobj))
  ------------------
 1025|      2|        if (it == NULL) {
  ------------------
  |  Branch (1025:13): [True: 0, False: 2]
  ------------------
 1026|      0|            return NULL;
 1027|      0|        }
 1028|      2|    }
 1029|     25|    assert(Py_IS_TYPE(it, &PyRangeIter_Type));
  ------------------
  |  Branch (1029:5): [True: 25, False: 0]
  ------------------
 1030|     25|    it->start = start;
 1031|     25|    it->step = step;
 1032|     25|    it->len = len;
 1033|     25|    return (PyObject *)it;
 1034|     25|}
rangeobject.c:range_from_array:
   97|     27|{
   98|     27|    rangeobject *obj;
   99|     27|    PyObject *start = NULL, *stop = NULL, *step = NULL;
  100|       |
  101|     27|    switch (num_args) {
  102|      3|        case 3:
  ------------------
  |  Branch (102:9): [True: 3, False: 24]
  ------------------
  103|      3|            step = args[2];
  104|      3|            _Py_FALLTHROUGH;
  ------------------
  |  |  650|      3|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  105|      3|        case 2:
  ------------------
  |  Branch (105:9): [True: 0, False: 27]
  ------------------
  106|       |            /* Convert borrowed refs to owned refs */
  107|      3|            start = PyNumber_Index(args[0]);
  108|      3|            if (!start) {
  ------------------
  |  Branch (108:17): [True: 0, False: 3]
  ------------------
  109|      0|                return NULL;
  110|      0|            }
  111|      3|            stop = PyNumber_Index(args[1]);
  112|      3|            if (!stop) {
  ------------------
  |  Branch (112:17): [True: 0, False: 3]
  ------------------
  113|      0|                Py_DECREF(start);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  114|      0|                return NULL;
  115|      0|            }
  116|      3|            step = validate_step(step);  /* Caution, this can clear exceptions */
  117|      3|            if (!step) {
  ------------------
  |  Branch (117:17): [True: 0, False: 3]
  ------------------
  118|      0|                Py_DECREF(start);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  119|      0|                Py_DECREF(stop);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  120|      0|                return NULL;
  121|      0|            }
  122|      3|            break;
  123|     24|        case 1:
  ------------------
  |  Branch (123:9): [True: 24, False: 3]
  ------------------
  124|     24|            stop = PyNumber_Index(args[0]);
  125|     24|            if (!stop) {
  ------------------
  |  Branch (125:17): [True: 0, False: 24]
  ------------------
  126|      0|                return NULL;
  127|      0|            }
  128|     24|            start = _PyLong_GetZero();
  129|     24|            step = _PyLong_GetOne();
  130|     24|            break;
  131|      0|        case 0:
  ------------------
  |  Branch (131:9): [True: 0, False: 27]
  ------------------
  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: 27]
  ------------------
  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|     27|    }
  141|     27|    obj = make_range_object(type, start, stop, step);
  142|     27|    if (obj != NULL) {
  ------------------
  |  Branch (142:9): [True: 27, False: 0]
  ------------------
  143|     27|        return (PyObject *) obj;
  144|     27|    }
  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|     27|}
rangeobject.c:validate_step:
   48|      3|{
   49|       |    /* No step specified, use a step of 1. */
   50|      3|    if (!step)
  ------------------
  |  Branch (50:9): [True: 0, False: 3]
  ------------------
   51|      0|        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);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
   58|      0|    }
   59|       |
   60|      3|    return step;
   61|      3|}
rangeobject.c:range_vectorcall:
  166|     27|{
  167|     27|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|     27|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  168|     27|    if (!_PyArg_NoKwnames("range", kwnames)) {
  ------------------
  |  |   15|     27|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (15:6): [True: 27, False: 0]
  |  |  |  Branch (15:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  169|      0|        return NULL;
  170|      0|    }
  171|     27|    return range_from_array((PyTypeObject *)rangetype, args, nargs);
  172|     27|}
rangeobject.c:rangeiter_dealloc:
  944|     25|{
  945|     25|    _Py_FREELIST_FREE(range_iters, (_PyRangeIterObject *)self, PyObject_Free);
  ------------------
  |  |   35|     25|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|     25|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     25|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|     25|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   23|     25|#  define Py_range_iters_MAXFREELIST 6
  |  |  ------------------
  ------------------
  946|     25|}
rangeobject.c:rangeiter_next:
  847|    262|{
  848|    262|    PyObject *ret = NULL;
  849|    262|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|    262|    {
  ------------------
  850|    262|    _PyRangeIterObject *r = (_PyRangeIterObject*)op;
  851|    262|    if (r->len > 0) {
  ------------------
  |  Branch (851:9): [True: 259, False: 3]
  ------------------
  852|    259|        long result = r->start;
  853|    259|        r->start = result + r->step;
  854|    259|        r->len--;
  855|    259|        ret = PyLong_FromLong(result);
  856|    259|    }
  857|    262|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    262|    }
  ------------------
  858|    262|    return ret;
  859|    262|}
rangeobject.c:longrangeiter_dealloc:
 1153|      2|{
 1154|      2|    longrangeiterobject *r = (longrangeiterobject*)op;
 1155|      2|    Py_XDECREF(r->start);
  ------------------
  |  |  524|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1156|      2|    Py_XDECREF(r->step);
  ------------------
  |  |  524|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1157|      2|    Py_XDECREF(r->len);
  ------------------
  |  |  524|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1158|      2|    PyObject_Free(r);
 1159|      2|}
rangeobject.c:range_iter:
 1228|     27|{
 1229|     27|    rangeobject *r = (rangeobject *)seq;
 1230|     27|    longrangeiterobject *it;
 1231|     27|    long lstart, lstop, lstep;
 1232|     27|    unsigned long ulen;
 1233|       |
 1234|     27|    assert(PyRange_Check(seq));
  ------------------
  |  Branch (1234:5): [True: 27, False: 0]
  ------------------
 1235|       |
 1236|       |    /* If all three fields and the length convert to long, use the int
 1237|       |     * version */
 1238|     27|    lstart = PyLong_AsLong(r->start);
 1239|     27|    if (lstart == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1239:9): [True: 2, False: 25]
  |  Branch (1239:25): [True: 0, False: 2]
  ------------------
 1240|      0|        PyErr_Clear();
 1241|      0|        goto long_range;
 1242|      0|    }
 1243|     27|    lstop = PyLong_AsLong(r->stop);
 1244|     27|    if (lstop == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1244:9): [True: 9, False: 18]
  |  Branch (1244:24): [True: 2, False: 7]
  ------------------
 1245|      2|        PyErr_Clear();
 1246|      2|        goto long_range;
 1247|      2|    }
 1248|     25|    lstep = PyLong_AsLong(r->step);
 1249|     25|    if (lstep == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1249:9): [True: 7, False: 18]
  |  Branch (1249:24): [True: 0, False: 7]
  ------------------
 1250|      0|        PyErr_Clear();
 1251|      0|        goto long_range;
 1252|      0|    }
 1253|     25|    ulen = get_len_of_range(lstart, lstop, lstep);
 1254|     25|    if (ulen > (unsigned long)LONG_MAX) {
  ------------------
  |  Branch (1254:9): [True: 0, False: 25]
  ------------------
 1255|      0|        goto long_range;
 1256|      0|    }
 1257|       |    /* check for potential overflow of lstart + ulen * lstep */
 1258|     25|    if (ulen) {
  ------------------
  |  Branch (1258:9): [True: 21, False: 4]
  ------------------
 1259|     21|        if (lstep > 0) {
  ------------------
  |  Branch (1259:13): [True: 13, False: 8]
  ------------------
 1260|     13|            if (lstop > LONG_MAX - (lstep - 1))
  ------------------
  |  Branch (1260:17): [True: 0, False: 13]
  ------------------
 1261|      0|                goto long_range;
 1262|     13|        }
 1263|      8|        else {
 1264|      8|            if (lstop < LONG_MIN + (-1 - lstep))
  ------------------
  |  Branch (1264:17): [True: 0, False: 8]
  ------------------
 1265|      0|                goto long_range;
 1266|      8|        }
 1267|     21|    }
 1268|     25|    return fast_range_iter(lstart, lstop, lstep, (long)ulen);
 1269|       |
 1270|      2|  long_range:
 1271|      2|    it = PyObject_New(longrangeiterobject, &PyLongRangeIter_Type);
  ------------------
  |  |  130|      2|#define PyObject_New(type, typeobj) ((type *)_PyObject_New(typeobj))
  ------------------
 1272|      2|    if (it == NULL)
  ------------------
  |  Branch (1272:9): [True: 0, False: 2]
  ------------------
 1273|      0|        return NULL;
 1274|       |
 1275|      2|    it->start = Py_NewRef(r->start);
  ------------------
  |  |  550|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1276|      2|    it->step = Py_NewRef(r->step);
  ------------------
  |  |  550|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1277|      2|    it->len = Py_NewRef(r->length);
  ------------------
  |  |  550|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1278|      2|    return (PyObject *)it;
 1279|      2|}

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

_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:
 1572|      3|{
 1573|      3|    assert(set != NULL);
  ------------------
  |  Branch (1573:5): [True: 3, False: 0]
  ------------------
 1574|      3|    assert(PySet_CheckExact(set));
  ------------------
  |  Branch (1574:5): [True: 3, False: 0]
  ------------------
 1575|      3|    assert(_PyObject_IsUniquelyReferenced(set));
  ------------------
  |  Branch (1575:5): [True: 3, False: 0]
  ------------------
 1576|      3|    set->ob_type = &PyFrozenSet_Type;
 1577|      3|    return Py_NewRef(set);
  ------------------
  |  |  550|      3|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1578|      3|}
_PySet_Contains:
 2556|    435|{
 2557|    435|    assert(so);
  ------------------
  |  Branch (2557:5): [True: 435, False: 0]
  ------------------
 2558|       |
 2559|    435|    Py_hash_t hash = PyObject_Hash(key);
 2560|    435|    if (hash == -1) {
  ------------------
  |  Branch (2560:9): [True: 0, False: 435]
  ------------------
 2561|      0|        if (!PySet_Check(key) || !PyErr_ExceptionMatches(PyExc_TypeError)) {
  ------------------
  |  |   37|      0|    (Py_IS_TYPE((ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   38|      0|    PyType_IsSubtype(Py_TYPE(ob), &PySet_Type))
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (38:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2561:34): [True: 0, False: 0]
  ------------------
 2562|      0|            set_unhashable_type(key);
 2563|      0|            return -1;
 2564|      0|        }
 2565|      0|        PyErr_Clear();
 2566|       |        // Note that 'key' could be a set() or frozenset() object.  Unlike most
 2567|       |        // container types, set allows membership testing with a set key, even
 2568|       |        // though it is not hashable.
 2569|      0|        Py_BEGIN_CRITICAL_SECTION(key);
  ------------------
  |  |   51|      0|    {
  ------------------
 2570|      0|        hash = frozenset_hash_impl(key);
 2571|      0|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 2572|      0|    }
 2573|    435|    return set_contains_entry(so, key, hash);
 2574|    435|}
PySet_New:
 3034|    193|{
 3035|    193|    return make_new_set(&PySet_Type, iterable);
 3036|    193|}
PyFrozenSet_New:
 3040|    151|{
 3041|    151|    PyObject *result = make_new_set(&PyFrozenSet_Type, iterable);
 3042|    151|    if (result != NULL) {
  ------------------
  |  Branch (3042:9): [True: 151, False: 0]
  ------------------
 3043|    151|        _PyFrozenSet_MaybeUntrack(result);
 3044|    151|    }
 3045|    151|    return result;
 3046|    151|}
PySet_Clear:
 3060|     22|{
 3061|     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]
  |  |  ------------------
  ------------------
 3062|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3063|      0|        return -1;
 3064|      0|    }
 3065|     22|    (void)set_clear(set, NULL);
 3066|     22|    return 0;
 3067|     22|}
PySet_Contains:
 3077|    164|{
 3078|    164|    if (!PyAnySet_Check(anyset)) {
  ------------------
  |  |   31|    164|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|    328|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    164|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    164|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 164, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|    164|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#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|    164|      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|    164|      PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (33:7): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3079|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3080|      0|        return -1;
 3081|      0|    }
 3082|       |
 3083|    164|    PySetObject *so = (PySetObject *)anyset;
 3084|    164|    Py_hash_t hash = PyObject_Hash(key);
 3085|    164|    if (hash == -1) {
  ------------------
  |  Branch (3085:9): [True: 0, False: 164]
  ------------------
 3086|      0|        set_unhashable_type(key);
 3087|      0|        return -1;
 3088|      0|    }
 3089|    164|    return set_contains_entry(so, key, hash);
 3090|    164|}
PySet_Discard:
 3094|     99|{
 3095|     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]
  |  |  ------------------
  ------------------
 3096|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3097|      0|        return -1;
 3098|      0|    }
 3099|       |
 3100|     99|    int rv;
 3101|     99|    Py_BEGIN_CRITICAL_SECTION(set);
  ------------------
  |  |   51|     99|    {
  ------------------
 3102|     99|    rv = set_discard_key((PySetObject *)set, key);
 3103|     99|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     99|    }
  ------------------
 3104|     99|    return rv;
 3105|     99|}
PySet_Add:
 3109|    399|{
 3110|    399|    if (PySet_Check(anyset)) {
  ------------------
  |  |   37|    399|    (Py_IS_TYPE((ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  215|    798|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    399|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    399|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 252, False: 147]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   38|    399|    PyType_IsSubtype(Py_TYPE(ob), &PySet_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 (38:5): [True: 0, False: 147]
  |  |  ------------------
  ------------------
 3111|    252|        int rv;
 3112|    252|        Py_BEGIN_CRITICAL_SECTION(anyset);
  ------------------
  |  |   51|    252|    {
  ------------------
 3113|    252|        rv = set_add_key((PySetObject *)anyset, key);
 3114|    252|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    252|    }
  ------------------
 3115|    252|        return rv;
 3116|    252|    }
 3117|       |
 3118|    147|    if (PyFrozenSet_Check(anyset) && _PyObject_IsUniquelyReferenced(anyset)) {
  ------------------
  |  |   25|    294|    (Py_IS_TYPE((ob), &PyFrozenSet_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: 147, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   26|    294|      PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (26:7): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (3118:38): [True: 147, False: 0]
  ------------------
 3119|       |        // We can only change frozensets if they are uniquely referenced. The
 3120|       |        // API limits the usage of `PySet_Add` to "fill in the values of brand
 3121|       |        // new frozensets before they are exposed to other code". In this case,
 3122|       |        // this can be done without a lock.
 3123|       |        // Since another key is added to the set, we must track the frozenset
 3124|       |        // if needed.
 3125|    147|        if (PyFrozenSet_CheckExact(anyset) && !PyObject_GC_IsTracked(anyset) && PyObject_GC_IsTracked(key)) {
  ------------------
  |  |   23|    147|#define PyFrozenSet_CheckExact(ob) Py_IS_TYPE((ob), &PyFrozenSet_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: 147, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3125:47): [True: 147, False: 0]
  |  Branch (3125:81): [True: 0, False: 147]
  ------------------
 3126|      0|            _PyObject_GC_TRACK(anyset);
  ------------------
  |  |  505|      0|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3127|      0|        }
 3128|    147|        return set_add_key((PySetObject *)anyset, key);
 3129|    147|    }
 3130|       |
 3131|      0|    PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3132|      0|    return -1;
 3133|    147|}
_PySet_NextEntry:
 3137|     65|{
 3138|     65|    setentry *entry;
 3139|       |
 3140|     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]
  |  |  ------------------
  ------------------
 3141|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3142|      0|        return -1;
 3143|      0|    }
 3144|     65|    if (set_next((PySetObject *)set, pos, &entry) == 0)
  ------------------
  |  Branch (3144:9): [True: 22, False: 43]
  ------------------
 3145|     22|        return 0;
 3146|     43|    *key = entry->key;
 3147|     43|    *hash = entry->hash;
 3148|     43|    return 1;
 3149|     65|}
setobject.c:set_add_entry_takeref:
  254|  2.45k|{
  255|  2.45k|    setentry *table;
  256|  2.45k|    setentry *freeslot;
  257|  2.45k|    setentry *entry;
  258|  2.45k|    size_t perturb;
  259|  2.45k|    size_t mask;
  260|  2.45k|    size_t i;                       /* Unsigned for defined overflow behavior */
  261|  2.45k|    int probes;
  262|  2.45k|    int cmp;
  263|       |
  264|  2.45k|  restart:
  265|       |
  266|  2.45k|    mask = so->mask;
  267|  2.45k|    i = (size_t)hash & mask;
  268|  2.45k|    freeslot = NULL;
  269|  2.45k|    perturb = hash;
  270|       |
  271|  2.62k|    while (1) {
  ------------------
  |  Branch (271:12): [True: 2.62k, Folded]
  ------------------
  272|  2.62k|        entry = &so->table[i];
  273|  2.62k|        probes = (i + LINEAR_PROBES <= mask) ? LINEAR_PROBES: 0;
  ------------------
  |  |  214|  2.62k|#define LINEAR_PROBES 9
  ------------------
                      probes = (i + LINEAR_PROBES <= mask) ? LINEAR_PROBES: 0;
  ------------------
  |  |  214|  1.65k|#define LINEAR_PROBES 9
  ------------------
  |  Branch (273:18): [True: 1.65k, False: 970]
  ------------------
  274|  3.81k|        do {
  275|  3.81k|            if (entry->hash == 0 && entry->key == NULL)
  ------------------
  |  Branch (275:17): [True: 2.43k, False: 1.37k]
  |  Branch (275:37): [True: 2.43k, False: 3]
  ------------------
  276|  2.43k|                goto found_unused_or_dummy;
  277|  1.37k|            if (entry->hash == hash) {
  ------------------
  |  Branch (277:17): [True: 17, False: 1.35k]
  ------------------
  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.35k|            else if (entry->hash == -1) {
  ------------------
  |  Branch (298:22): [True: 0, False: 1.35k]
  ------------------
  299|      0|                assert (entry->key == dummy);
  ------------------
  |  Branch (299:17): [True: 0, False: 0]
  ------------------
  300|      0|                freeslot = entry;
  301|      0|            }
  302|  1.35k|            entry++;
  303|  1.35k|        } while (probes--);
  ------------------
  |  Branch (303:18): [True: 1.18k, False: 170]
  ------------------
  304|    170|        perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  218|    170|#define PERTURB_SHIFT 5
  ------------------
  305|    170|        i = (i * 5 + 1 + perturb) & mask;
  306|    170|    }
  307|       |
  308|  2.43k|  found_unused_or_dummy:
  309|  2.43k|    if (freeslot == NULL)
  ------------------
  |  Branch (309:9): [True: 2.43k, False: 0]
  ------------------
  310|  2.43k|        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);
  ------------------
  |  |  194|      0|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  315|      0|    FT_ATOMIC_STORE_SSIZE_RELAXED(freeslot->hash, hash);
  ------------------
  |  |  194|      0|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  316|      0|    FT_ATOMIC_STORE_PTR_RELEASE(freeslot->key, key);
  ------------------
  |  |  164|      0|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  317|      0|    return 0;
  318|       |
  319|  2.43k|  found_unused:
  320|  2.43k|    so->fill++;
  321|  2.43k|    FT_ATOMIC_STORE_SSIZE_RELAXED(so->used, so->used + 1);
  ------------------
  |  |  194|  2.43k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  322|  2.43k|    FT_ATOMIC_STORE_SSIZE_RELAXED(entry->hash, hash);
  ------------------
  |  |  194|  2.43k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  323|  2.43k|    FT_ATOMIC_STORE_PTR_RELEASE(entry->key, key);
  ------------------
  |  |  164|  2.43k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  324|  2.43k|    if ((size_t)so->fill*5 < mask*3)
  ------------------
  |  Branch (324:9): [True: 2.36k, False: 74]
  ------------------
  325|  2.36k|        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.43k|}
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);
  ------------------
  |  |  164|     76|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  538|     76|    FT_ATOMIC_STORE_SSIZE_RELEASE(so->mask, newsize - 1);
  ------------------
  |  |  169|     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);
  ------------------
  |  |  164|     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: 966, False: 80]
  ------------------
  394|    966|            goto found_null;
  395|     80|        if (i + LINEAR_PROBES <= mask) {
  ------------------
  |  |  214|     80|#define LINEAR_PROBES 9
  ------------------
  |  Branch (395:13): [True: 70, False: 10]
  ------------------
  396|     77|            for (j = 0; j < LINEAR_PROBES; j++) {
  ------------------
  |  |  214|     77|#define LINEAR_PROBES 9
  ------------------
  |  Branch (396:25): [True: 77, False: 0]
  ------------------
  397|     77|                entry++;
  398|     77|                if (entry->key == NULL)
  ------------------
  |  Branch (398:21): [True: 70, False: 7]
  ------------------
  399|     70|                    goto found_null;
  400|     77|            }
  401|     70|        }
  402|     10|        perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  218|     10|#define PERTURB_SHIFT 5
  ------------------
  403|     10|        i = (i * 5 + 1 + perturb) & mask;
  404|     10|    }
  405|  1.03k|  found_null:
  406|  1.03k|    FT_ATOMIC_STORE_SSIZE_RELAXED(entry->hash, hash);
  ------------------
  |  |  194|  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);
  ------------------
  |  |  164|  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:
 1041|     84|{
 1042|     84|    setiterobject *si = (setiterobject*)self;
 1043|       |    /* bpo-31095: UnTrack is needed before calling any callbacks */
 1044|     84|    _PyObject_GC_UNTRACK(si);
  ------------------
  |  |  507|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1045|     84|    Py_XDECREF(si->si_set);
  ------------------
  |  |  524|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1046|     84|    PyObject_GC_Del(si);
 1047|     84|}
setobject.c:setiter_iternext:
 1096|    343|{
 1097|    343|    setiterobject *si = (setiterobject*)self;
 1098|    343|    PyObject *key = NULL;
 1099|    343|    Py_ssize_t i, mask;
 1100|    343|    setentry *entry;
 1101|    343|    PySetObject *so = si->si_set;
 1102|       |
 1103|    343|    if (so == NULL)
  ------------------
  |  Branch (1103:9): [True: 0, False: 343]
  ------------------
 1104|      0|        return NULL;
 1105|    343|    assert (PyAnySet_Check(so));
  ------------------
  |  Branch (1105:5): [True: 112, False: 231]
  |  Branch (1105:5): [True: 231, False: 0]
  |  Branch (1105:5): [True: 0, False: 0]
  |  Branch (1105:5): [True: 0, False: 0]
  ------------------
 1106|       |
 1107|    343|    Py_ssize_t so_used = FT_ATOMIC_LOAD_SSIZE_RELAXED(so->used);
  ------------------
  |  |  149|    343|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 1108|    343|    Py_ssize_t si_used = FT_ATOMIC_LOAD_SSIZE_RELAXED(si->si_used);
  ------------------
  |  |  149|    343|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 1109|    343|    if (si_used != so_used) {
  ------------------
  |  Branch (1109:9): [True: 0, False: 343]
  ------------------
 1110|      0|        PyErr_SetString(PyExc_RuntimeError,
 1111|      0|                        "Set changed size during iteration");
 1112|      0|        si->si_used = -1; /* Make this state sticky */
 1113|      0|        return NULL;
 1114|      0|    }
 1115|       |
 1116|    343|    Py_BEGIN_CRITICAL_SECTION(so);
  ------------------
  |  |   51|    343|    {
  ------------------
 1117|    343|    i = si->si_pos;
 1118|    343|    assert(i>=0);
  ------------------
  |  Branch (1118:5): [True: 343, False: 0]
  ------------------
 1119|    343|    entry = so->table;
 1120|    343|    mask = so->mask;
 1121|  1.33k|    while (i <= mask && (entry[i].key == NULL || entry[i].key == dummy)) {
  ------------------
  |  |   64|    261|#define dummy (&_dummy_struct)
  ------------------
  |  Branch (1121:12): [True: 1.25k, False: 82]
  |  Branch (1121:26): [True: 995, False: 261]
  |  Branch (1121:50): [True: 0, False: 261]
  ------------------
 1122|    995|        i++;
 1123|    995|    }
 1124|    343|    if (i <= mask) {
  ------------------
  |  Branch (1124:9): [True: 261, False: 82]
  ------------------
 1125|    261|        key = Py_NewRef(entry[i].key);
  ------------------
  |  |  550|    261|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    261|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    261|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1126|    261|    }
 1127|    343|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    343|    }
  ------------------
 1128|    343|    si->si_pos = i+1;
 1129|    343|    if (key == NULL) {
  ------------------
  |  Branch (1129:9): [True: 82, False: 261]
  ------------------
 1130|     82|        si->si_set = NULL;
 1131|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1132|     82|        return NULL;
 1133|     82|    }
 1134|    261|    si->len--;
 1135|    261|    return key;
 1136|    343|}
setobject.c:set_contains_entry:
  567|    609|{
  568|       |#ifdef Py_GIL_DISABLED
  569|       |    return set_lookkey_threadsafe(so, key, hash);
  570|       |#else
  571|    609|    setentry *entry; // unused
  572|    609|    return set_lookkey(so, key, hash, &entry);
  573|    609|#endif
  574|    609|}
setobject.c:set_lookkey:
  415|    708|{
  416|    708|    int status;
  417|    708|    if (PyFrozenSet_CheckExact(so)) {
  ------------------
  |  |   23|    708|#define PyFrozenSet_CheckExact(ob) Py_IS_TYPE((ob), &PyFrozenSet_Type)
  |  |  ------------------
  |  |  |  |  215|    708|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    708|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    708|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 52, False: 656]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  418|     52|        status = set_do_lookup(so, so->table, so->mask, key, hash, epp,
  419|     52|                               set_compare_frozenset);
  420|     52|    }
  421|    656|    else {
  422|    656|        Py_BEGIN_CRITICAL_SECTION(so);
  ------------------
  |  |   51|    656|    {
  ------------------
  423|    656|        do {
  424|    656|            status = set_do_lookup(so, so->table, so->mask, key, hash, epp,
  425|    656|                                   set_compare_entry_lock_held);
  426|    656|        } while (status == SET_LOOKKEY_CHANGED);
  ------------------
  |  |   69|    656|#define SET_LOOKKEY_CHANGED (-2)
  ------------------
  |  Branch (426:18): [True: 0, False: 656]
  ------------------
  427|    656|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    656|    }
  ------------------
  428|    656|    }
  429|    708|    assert(status == SET_LOOKKEY_FOUND ||
  ------------------
  |  Branch (429:5): [True: 83, False: 625]
  |  Branch (429:5): [True: 625, False: 0]
  |  Branch (429:5): [True: 0, False: 0]
  ------------------
  430|    708|           status == SET_LOOKKEY_NO_MATCH ||
  431|    708|           status == SET_LOOKKEY_ERROR);
  432|    708|    return status;
  433|    708|}
setobject.c:set_do_lookup:
  223|    719|{
  224|    719|    setentry *entry;
  225|    719|    size_t perturb = hash;
  226|    719|    size_t i = (size_t)hash & mask; /* Unsigned for defined overflow behavior */
  227|    719|    int probes;
  228|    719|    int status;
  229|       |
  230|    802|    while (1) {
  ------------------
  |  Branch (230:12): [True: 802, Folded]
  ------------------
  231|    802|        entry = &table[i];
  232|    802|        probes = (i + LINEAR_PROBES <= mask) ? LINEAR_PROBES: 0;
  ------------------
  |  |  214|    802|#define LINEAR_PROBES 9
  ------------------
                      probes = (i + LINEAR_PROBES <= mask) ? LINEAR_PROBES: 0;
  ------------------
  |  |  214|    322|#define LINEAR_PROBES 9
  ------------------
  |  Branch (232:18): [True: 322, False: 480]
  ------------------
  233|  1.02k|        do {
  234|  1.02k|            status = compare_entry(so, table, entry, key, hash);
  235|  1.02k|            if (status != SET_LOOKKEY_NO_MATCH) {
  ------------------
  |  |   67|  1.02k|#define SET_LOOKKEY_NO_MATCH 0
  ------------------
  |  Branch (235:17): [True: 719, False: 307]
  ------------------
  236|    719|                if (status == SET_LOOKKEY_EMPTY) {
  ------------------
  |  |   70|    719|#define SET_LOOKKEY_EMPTY (-3)
  ------------------
  |  Branch (236:21): [True: 636, False: 83]
  ------------------
  237|    636|                    return SET_LOOKKEY_NO_MATCH;
  ------------------
  |  |   67|    636|#define SET_LOOKKEY_NO_MATCH 0
  ------------------
  238|    636|                }
  239|     83|                *epp = entry;
  240|     83|                return status;
  241|    719|            }
  242|    307|            entry++;
  243|    307|        } while (probes--);
  ------------------
  |  Branch (243:18): [True: 224, False: 83]
  ------------------
  244|     83|        perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  218|     83|#define PERTURB_SHIFT 5
  ------------------
  245|     83|        i = (i * 5 + 1 + perturb) & mask;
  246|     83|    }
  247|      0|    Py_UNREACHABLE();
  ------------------
  |  |  289|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  248|    719|}
setobject.c:set_compare_frozenset:
  174|     81|{
  175|     81|    assert(PyFrozenSet_Check(so));
  ------------------
  |  Branch (175:5): [True: 81, False: 0]
  |  Branch (175:5): [True: 0, False: 0]
  ------------------
  176|     81|    PyObject *startkey = ep->key;
  177|     81|    if (startkey == NULL) {
  ------------------
  |  Branch (177:9): [True: 44, False: 37]
  ------------------
  178|     44|        return SET_LOOKKEY_EMPTY;
  ------------------
  |  |   70|     44|#define SET_LOOKKEY_EMPTY (-3)
  ------------------
  179|     44|    }
  180|     37|    if (startkey == key) {
  ------------------
  |  Branch (180:9): [True: 19, False: 18]
  ------------------
  181|     19|        return SET_LOOKKEY_FOUND;
  ------------------
  |  |   66|     19|#define SET_LOOKKEY_FOUND 1
  ------------------
  182|     19|    }
  183|     18|    Py_ssize_t ep_hash = ep->hash;
  184|     18|    if (ep_hash == hash) {
  ------------------
  |  Branch (184:9): [True: 0, False: 18]
  ------------------
  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|     18|    return SET_LOOKKEY_NO_MATCH;
  ------------------
  |  |   67|     18|#define SET_LOOKKEY_NO_MATCH 0
  ------------------
  193|     18|}
setobject.c:set_compare_entry_lock_held:
  140|    945|{
  141|    945|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(so);
  142|    945|    if (entry->hash == 0 && entry->key == NULL)
  ------------------
  |  Branch (142:9): [True: 592, False: 353]
  |  Branch (142:29): [True: 592, False: 0]
  ------------------
  143|    592|        return SET_LOOKKEY_EMPTY;
  ------------------
  |  |   70|    592|#define SET_LOOKKEY_EMPTY (-3)
  ------------------
  144|    353|    if (entry->hash == hash) {
  ------------------
  |  Branch (144:9): [True: 64, False: 289]
  ------------------
  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|    289|    return SET_LOOKKEY_NO_MATCH;
  ------------------
  |  |   67|    289|#define SET_LOOKKEY_NO_MATCH 0
  ------------------
  165|    353|}
setobject.c:set_dealloc:
  735|    199|{
  736|    199|    PySetObject *so = _PySet_CAST(self);
  ------------------
  |  |   62|    199|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|    199|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (736:23): [True: 176, 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|    199|    Py_ssize_t used = so->used;
  739|    199|    Py_ssize_t oldsize = (size_t)so->mask + 1;
  740|       |
  741|       |    /* bpo-31095: UnTrack is needed before calling any callbacks */
  742|    199|    PyObject_GC_UnTrack(so);
  743|    199|    FT_CLEAR_WEAKREFS(self, so->weakreflist);
  ------------------
  |  |   47|    199|    do {                                            \
  |  |   48|    199|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|    199|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 199]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|    199|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 199]
  |  |  ------------------
  ------------------
  |  Branch (743:5): [True: 199, False: 0]
  ------------------
  744|       |
  745|  1.45k|    for (entry = so->table; used > 0; entry++) {
  ------------------
  |  Branch (745:29): [True: 1.25k, False: 199]
  ------------------
  746|  1.25k|        if (entry->key && entry->key != dummy) {
  ------------------
  |  |   64|    409|#define dummy (&_dummy_struct)
  ------------------
  |  Branch (746:13): [True: 409, False: 846]
  |  Branch (746:27): [True: 409, False: 0]
  ------------------
  747|    409|                used--;
  748|    409|                Py_DECREF(entry->key);
  ------------------
  |  |  430|    409|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    409|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    409|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  749|    409|        }
  750|  1.25k|    }
  751|    199|    if (so->table != so->smalltable)
  ------------------
  |  Branch (751:9): [True: 10, False: 189]
  ------------------
  752|     10|        free_entries(so->table, oldsize, SET_IS_SHARED(so));
  ------------------
  |  |  132|     10|#define SET_IS_SHARED(so) 0
  ------------------
  753|    199|    Py_TYPE(so)->tp_free(so);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  754|    199|}
setobject.c:set_merge_lock_held:
  830|     89|{
  831|     89|    PySetObject *other;
  832|     89|    PyObject *key;
  833|     89|    Py_ssize_t i;
  834|     89|    setentry *so_entry;
  835|     89|    setentry *other_entry;
  836|       |
  837|     89|    assert (PyAnySet_Check(so));
  ------------------
  |  Branch (837:5): [True: 22, False: 67]
  |  Branch (837:5): [True: 67, False: 0]
  |  Branch (837:5): [True: 0, False: 0]
  |  Branch (837:5): [True: 0, False: 0]
  ------------------
  838|     89|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(so);
  839|     89|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(otherset);
  840|       |
  841|     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 (841:13): [True: 89, False: 0]
  |  Branch (841:13): [True: 0, False: 0]
  |  Branch (841:13): [True: 0, False: 0]
  |  Branch (841:13): [True: 0, False: 0]
  ------------------
  842|     89|    if (other == so || other->used == 0)
  ------------------
  |  Branch (842:9): [True: 0, False: 89]
  |  Branch (842:24): [True: 20, False: 69]
  ------------------
  843|       |        /* a.update(a) or a.update(set()); nothing to do */
  844|     20|        return 0;
  845|       |    /* Do one big resize at the start, rather than
  846|       |     * incrementally resizing as we insert new keys.  Expect
  847|       |     * that there will be no (or few) overlapping keys.
  848|       |     */
  849|     69|    if ((so->fill + other->used)*5 >= so->mask*3) {
  ------------------
  |  Branch (849:9): [True: 2, False: 67]
  ------------------
  850|      2|        if (set_table_resize(so, (so->used + other->used)*2) != 0)
  ------------------
  |  Branch (850:13): [True: 0, False: 2]
  ------------------
  851|      0|            return -1;
  852|      2|    }
  853|     69|    so_entry = so->table;
  854|     69|    other_entry = other->table;
  855|       |
  856|       |    /* If our table is empty, and both tables have the same size, and
  857|       |       there are no dummies to eliminate, then just copy the pointers. */
  858|     69|    if (so->fill == 0 && so->mask == other->mask && other->fill == other->used) {
  ------------------
  |  Branch (858:9): [True: 69, False: 0]
  |  Branch (858:26): [True: 67, False: 2]
  |  Branch (858:53): [True: 67, False: 0]
  ------------------
  859|    603|        for (i = 0; i <= other->mask; i++, so_entry++, other_entry++) {
  ------------------
  |  Branch (859:21): [True: 536, False: 67]
  ------------------
  860|    536|            key = other_entry->key;
  861|    536|            if (key != NULL) {
  ------------------
  |  Branch (861:17): [True: 133, False: 403]
  ------------------
  862|    133|                assert(so_entry->key == NULL);
  ------------------
  |  Branch (862:17): [True: 133, False: 0]
  ------------------
  863|    133|                FT_ATOMIC_STORE_SSIZE_RELAXED(so_entry->hash, other_entry->hash);
  ------------------
  |  |  194|    133|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  864|    133|                FT_ATOMIC_STORE_PTR_RELEASE(so_entry->key, Py_NewRef(key));
  ------------------
  |  |  164|    133|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  865|    133|            }
  866|    536|        }
  867|     67|        so->fill = other->fill;
  868|     67|        FT_ATOMIC_STORE_SSIZE_RELAXED(so->used, other->used);
  ------------------
  |  |  194|     67|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  869|     67|        return 0;
  870|     67|    }
  871|       |
  872|       |    /* If our table is empty, we can use set_insert_clean() */
  873|      2|    if (so->fill == 0) {
  ------------------
  |  Branch (873:9): [True: 2, False: 0]
  ------------------
  874|      2|        setentry *newtable = so->table;
  875|      2|        size_t newmask = (size_t)so->mask;
  876|      2|        so->fill = other->used;
  877|      2|        FT_ATOMIC_STORE_SSIZE_RELAXED(so->used, other->used);
  ------------------
  |  |  194|      2|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  878|     66|        for (i = other->mask + 1; i > 0 ; i--, other_entry++) {
  ------------------
  |  Branch (878:35): [True: 64, False: 2]
  ------------------
  879|     64|            key = other_entry->key;
  880|     64|            if (key != NULL && key != dummy) {
  ------------------
  |  |   64|     11|#define dummy (&_dummy_struct)
  ------------------
  |  Branch (880:17): [True: 11, False: 53]
  |  Branch (880:32): [True: 11, False: 0]
  ------------------
  881|     11|                set_insert_clean(newtable, newmask, Py_NewRef(key),
  ------------------
  |  |  550|     11|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  882|     11|                                 other_entry->hash);
  883|     11|            }
  884|     64|        }
  885|      2|        return 0;
  886|      2|    }
  887|       |
  888|       |    /* We can't assure there are no duplicates, so do normal insertions */
  889|      0|    for (i = 0; i <= other->mask; i++) {
  ------------------
  |  Branch (889:17): [True: 0, False: 0]
  ------------------
  890|      0|        other_entry = &other->table[i];
  891|      0|        key = other_entry->key;
  892|      0|        if (key != NULL && key != dummy) {
  ------------------
  |  |   64|      0|#define dummy (&_dummy_struct)
  ------------------
  |  Branch (892:13): [True: 0, False: 0]
  |  Branch (892:28): [True: 0, False: 0]
  ------------------
  893|      0|            if (set_add_entry(so, key, other_entry->hash))
  ------------------
  |  Branch (893:17): [True: 0, False: 0]
  ------------------
  894|      0|                return -1;
  895|      0|        }
  896|      0|    }
  897|      0|    return 0;
  898|      0|}
setobject.c:set_intersection:
 1720|      7|{
 1721|      7|    PySetObject *result;
 1722|      7|    PyObject *key, *it, *tmp;
 1723|      7|    Py_hash_t hash;
 1724|      7|    int rv;
 1725|       |
 1726|      7|    if ((PyObject *)so == other)
  ------------------
  |  Branch (1726:9): [True: 0, False: 7]
  ------------------
 1727|      0|        return set_copy_impl(so);
 1728|       |
 1729|      7|    result = (PySetObject *)make_new_set_basetype_untracked(Py_TYPE(so), NULL);
  ------------------
  |  |  213|      7|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1730|      7|    if (result == NULL)
  ------------------
  |  Branch (1730:9): [True: 0, False: 7]
  ------------------
 1731|      0|        return NULL;
 1732|       |
 1733|      7|    if (PyAnySet_Check(other)) {
  ------------------
  |  |   31|      7|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|     14|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 7, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|      7|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   32|      7|      PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (32:7): [True: 0, False: 0]
  |  |  ------------------
  |  |   33|      7|      PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (33:7): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1734|      7|        Py_ssize_t pos = 0;
 1735|      7|        setentry *entry;
 1736|       |
 1737|      7|        if (PySet_GET_SIZE(other) > PySet_GET_SIZE(so)) {
  ------------------
  |  |   71|      7|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (PySet_GET_SIZE(other) > PySet_GET_SIZE(so)) {
  ------------------
  |  |   71|      7|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1737:13): [True: 6, False: 1]
  ------------------
 1738|      6|            tmp = (PyObject *)so;
 1739|      6|            so = (PySetObject *)other;
 1740|      6|            other = tmp;
 1741|      6|        }
 1742|       |
 1743|      9|        while (set_next((PySetObject *)other, &pos, &entry)) {
  ------------------
  |  Branch (1743:16): [True: 2, False: 7]
  ------------------
 1744|      2|            key = entry->key;
 1745|      2|            hash = entry->hash;
 1746|      2|            Py_INCREF(key);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1747|      2|            rv = set_contains_entry(so, key, hash);
 1748|      2|            if (rv < 0) {
  ------------------
  |  Branch (1748:17): [True: 0, False: 2]
  ------------------
 1749|      0|                Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1750|      0|                Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1751|      0|                return NULL;
 1752|      0|            }
 1753|      2|            if (rv) {
  ------------------
  |  Branch (1753:17): [True: 0, False: 2]
  ------------------
 1754|      0|                if (set_add_entry(result, key, hash)) {
  ------------------
  |  Branch (1754:21): [True: 0, False: 0]
  ------------------
 1755|      0|                    Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1756|      0|                    Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1757|      0|                    return NULL;
 1758|      0|                }
 1759|      0|            }
 1760|      2|            Py_DECREF(key);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1761|      2|        }
 1762|      7|        _PyObject_GC_TRACK(result);
  ------------------
  |  |  505|      7|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1763|      7|        return (PyObject *)result;
 1764|      7|    }
 1765|       |
 1766|      0|    it = PyObject_GetIter(other);
 1767|      0|    if (it == NULL) {
  ------------------
  |  Branch (1767:9): [True: 0, False: 0]
  ------------------
 1768|      0|        Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1769|      0|        return NULL;
 1770|      0|    }
 1771|       |
 1772|      0|    while ((key = PyIter_Next(it)) != NULL) {
  ------------------
  |  Branch (1772:12): [True: 0, False: 0]
  ------------------
 1773|      0|        hash = PyObject_Hash(key);
 1774|      0|        if (hash == -1)
  ------------------
  |  Branch (1774:13): [True: 0, False: 0]
  ------------------
 1775|      0|            goto error;
 1776|      0|        rv = set_contains_entry(so, key, hash);
 1777|      0|        if (rv < 0)
  ------------------
  |  Branch (1777:13): [True: 0, False: 0]
  ------------------
 1778|      0|            goto error;
 1779|      0|        if (rv) {
  ------------------
  |  Branch (1779:13): [True: 0, False: 0]
  ------------------
 1780|      0|            if (set_add_entry(result, key, hash))
  ------------------
  |  Branch (1780:17): [True: 0, False: 0]
  ------------------
 1781|      0|                goto error;
 1782|      0|            if (PySet_GET_SIZE(result) >= PySet_GET_SIZE(so)) {
  ------------------
  |  |   71|      0|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          if (PySet_GET_SIZE(result) >= PySet_GET_SIZE(so)) {
  ------------------
  |  |   71|      0|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1782:17): [True: 0, False: 0]
  ------------------
 1783|      0|                Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1784|      0|                break;
 1785|      0|            }
 1786|      0|        }
 1787|      0|        Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1788|      0|    }
 1789|      0|    Py_DECREF(it);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1790|      0|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (1790:9): [True: 0, False: 0]
  ------------------
 1791|      0|        Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1792|      0|        return NULL;
 1793|      0|    }
 1794|      0|    _PyObject_GC_TRACK(result);
  ------------------
  |  |  505|      0|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1795|      0|    return (PyObject *)result;
 1796|      0|  error:
 1797|      0|    Py_DECREF(it);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1798|      0|    Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1799|      0|    Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1800|       |    return NULL;
 1801|      0|}
setobject.c:set_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);
  ------------------
  |  |  194|      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);
  ------------------
  |  |  194|      1|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  595|      1|    FT_ATOMIC_STORE_PTR_RELEASE(entry->key, dummy);
  ------------------
  |  |  164|      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:
 1390|      7|{
 1391|      7|    if (type != &PySet_Type && type != &PyFrozenSet_Type) {
  ------------------
  |  Branch (1391:9): [True: 0, False: 7]
  |  Branch (1391:32): [True: 0, False: 0]
  ------------------
 1392|      0|        if (PyType_IsSubtype(type, &PySet_Type))
  ------------------
  |  Branch (1392:13): [True: 0, False: 0]
  ------------------
 1393|      0|            type = &PySet_Type;
 1394|      0|        else
 1395|      0|            type = &PyFrozenSet_Type;
 1396|      0|    }
 1397|      7|    return make_new_set_untracked(type, iterable);
 1398|      7|}
setobject.c:make_new_set_untracked:
 1352|    445|{
 1353|    445|    assert(PyType_Check(type));
  ------------------
  |  Branch (1353:5): [True: 445, False: 0]
  ------------------
 1354|    445|    PySetObject *so;
 1355|       |
 1356|    445|    so = (PySetObject *)_PyType_AllocNoTrack(type, 0);
 1357|    445|    if (so == NULL)
  ------------------
  |  Branch (1357:9): [True: 0, False: 445]
  ------------------
 1358|      0|        return NULL;
 1359|       |
 1360|    445|    so->fill = 0;
 1361|    445|    so->used = 0;
 1362|    445|    so->mask = PySet_MINSIZE - 1;
  ------------------
  |  |   18|    445|#define PySet_MINSIZE 8
  ------------------
 1363|    445|    so->table = so->smalltable;
 1364|    445|    so->hash = -1;
 1365|    445|    so->finger = 0;
 1366|    445|    so->weakreflist = NULL;
 1367|       |
 1368|    445|    if (iterable != NULL) {
  ------------------
  |  Branch (1368:9): [True: 100, False: 345]
  ------------------
 1369|    100|        if (set_update_local(so, iterable)) {
  ------------------
  |  Branch (1369:13): [True: 0, False: 100]
  ------------------
 1370|      0|            Py_DECREF(so);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1371|      0|            return NULL;
 1372|      0|        }
 1373|    100|    }
 1374|       |
 1375|    445|    return (PyObject *)so;
 1376|    445|}
setobject.c:set_update_local:
 1261|    100|{
 1262|    100|    assert(Py_REFCNT(so) == 1);
  ------------------
  |  Branch (1262:5): [True: 100, False: 0]
  ------------------
 1263|    100|    if (PyAnySet_Check(other)) {
  ------------------
  |  |   31|    100|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|    200|#  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: 75, False: 25]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (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|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   32|    100|      PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (32:7): [True: 0, False: 25]
  |  |  ------------------
  |  |   33|    100|      PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (33:7): [True: 0, False: 25]
  |  |  ------------------
  ------------------
 1264|     75|        int rv;
 1265|     75|        Py_BEGIN_CRITICAL_SECTION(other);
  ------------------
  |  |   51|     75|    {
  ------------------
 1266|     75|        rv = set_merge_lock_held(so, other);
 1267|     75|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     75|    }
  ------------------
 1268|     75|        return rv;
 1269|     75|    }
 1270|     25|    else if (PyDict_CheckExact(other)) {
  ------------------
  |  |   19|     25|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_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: 7, False: 18]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1271|      7|        int rv;
 1272|      7|        Py_BEGIN_CRITICAL_SECTION(other);
  ------------------
  |  |   51|      7|    {
  ------------------
 1273|      7|        rv = set_update_dict_lock_held(so, other);
 1274|      7|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      7|    }
  ------------------
 1275|      7|        return rv;
 1276|      7|    }
 1277|     18|    else if (PyFrozenDict_CheckExact(other)) {
  ------------------
  |  |   38|     18|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  215|     18|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 18]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1278|      0|        return set_update_dict_lock_held(so, other);
 1279|      0|    }
 1280|     18|    return set_update_iterable_lock_held(so, other);
 1281|    100|}
setobject.c:set_update_dict_lock_held:
 1188|      7|{
 1189|      7|    assert(PyAnyDict_CheckExact(other));
  ------------------
  |  Branch (1189:5): [True: 7, False: 0]
  |  Branch (1189:5): [True: 0, False: 0]
  ------------------
 1190|       |
 1191|      7|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(so);
 1192|       |#ifdef Py_DEBUG
 1193|       |    if (!PyFrozenDict_CheckExact(other)) {
 1194|       |        _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(other);
 1195|       |    }
 1196|       |#endif
 1197|       |
 1198|       |    /* Do one big resize at the start, rather than
 1199|       |    * incrementally resizing as we insert new keys.  Expect
 1200|       |    * that there will be no (or few) overlapping keys.
 1201|       |    */
 1202|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1203|      7|    if ((so->fill + dictsize)*5 >= so->mask*3) {
  ------------------
  |  Branch (1203:9): [True: 0, False: 7]
  ------------------
 1204|      0|        if (set_table_resize(so, (so->used + dictsize)*2) != 0) {
  ------------------
  |  Branch (1204:13): [True: 0, False: 0]
  ------------------
 1205|      0|            return -1;
 1206|      0|        }
 1207|      0|    }
 1208|       |
 1209|      7|    Py_ssize_t pos = 0;
 1210|      7|    PyObject *key;
 1211|      7|    PyObject *value;
 1212|      7|    Py_hash_t hash;
 1213|     11|    while (_PyDict_Next(other, &pos, &key, &value, &hash)) {
  ------------------
  |  Branch (1213:12): [True: 4, False: 7]
  ------------------
 1214|      4|        if (set_add_entry(so, key, hash)) {
  ------------------
  |  Branch (1214:13): [True: 0, False: 4]
  ------------------
 1215|      0|            return -1;
 1216|      0|        }
 1217|      4|    }
 1218|      7|    return 0;
 1219|      7|}
setobject.c:set_update_iterable_lock_held:
 1223|     18|{
 1224|     18|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(so);
 1225|       |
 1226|     18|    PyObject *it = PyObject_GetIter(other);
 1227|     18|    if (it == NULL) {
  ------------------
  |  Branch (1227:9): [True: 0, False: 18]
  ------------------
 1228|      0|        return -1;
 1229|      0|    }
 1230|       |
 1231|     18|    PyObject *key;
 1232|  1.55k|    while ((key = PyIter_Next(it)) != NULL) {
  ------------------
  |  Branch (1232:12): [True: 1.54k, False: 18]
  ------------------
 1233|  1.54k|        if (set_add_key(so, key)) {
  ------------------
  |  Branch (1233:13): [True: 0, False: 1.54k]
  ------------------
 1234|      0|            Py_DECREF(it);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1235|      0|            Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1236|      0|            return -1;
 1237|      0|        }
 1238|  1.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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1239|  1.54k|    }
 1240|     18|    Py_DECREF(it);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1241|     18|    if (PyErr_Occurred())
  ------------------
  |  Branch (1241:9): [True: 0, False: 18]
  ------------------
 1242|      0|        return -1;
 1243|     18|    return 0;
 1244|     18|}
setobject.c:set_add_entry:
  339|  2.33k|{
  340|  2.33k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(so);
  341|       |
  342|  2.33k|    return set_add_entry_takeref(so, Py_NewRef(key), hash);
  ------------------
  |  |  550|  2.33k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.33k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.33k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  343|  2.33k|}
setobject.c:set_and:
 1878|      7|{
 1879|      7|    if (!PyAnySet_Check(self) || !PyAnySet_Check(other))
  ------------------
  |  |   31|     14|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|     14|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 7, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|      7|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   32|      7|      PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (32:7): [True: 0, False: 0]
  |  |  ------------------
  |  |   33|     14|      PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (33:7): [True: 0, False: 0]
  |  |  ------------------
  ------------------
                  if (!PyAnySet_Check(self) || !PyAnySet_Check(other))
  ------------------
  |  |   31|      7|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|     14|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 7, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|      7|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   32|      7|      PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (32:7): [True: 0, False: 0]
  |  |  ------------------
  |  |   33|      7|      PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (33:7): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1880|      0|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 1881|      7|    PySetObject *so = _PySet_CAST(self);
  ------------------
  |  |   62|      7|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1881:23): [True: 7, False: 0]
  |  Branch (1881:23): [True: 0, False: 0]
  |  Branch (1881:23): [True: 0, False: 0]
  |  Branch (1881:23): [True: 0, False: 0]
  ------------------
 1882|       |
 1883|      0|    PyObject *rv;
 1884|      7|    Py_BEGIN_CRITICAL_SECTION2(so, other);
  ------------------
  |  |   57|      7|    {
  ------------------
 1885|      7|    rv = set_intersection(so, other);
 1886|      7|    Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|      7|    }
  ------------------
 1887|       |
 1888|      7|    return rv;
 1889|      7|}
setobject.c:set_ior:
 1707|     14|{
 1708|     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]
  |  |  ------------------
  ------------------
 1709|      0|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 1710|     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 (1710:23): [True: 14, False: 0]
  |  Branch (1710:23): [True: 0, False: 0]
  |  Branch (1710:23): [True: 0, False: 0]
  |  Branch (1710:23): [True: 0, False: 0]
  ------------------
 1711|       |
 1712|     14|    if (set_update_internal(so, other)) {
  ------------------
  |  Branch (1712:9): [True: 0, False: 14]
  ------------------
 1713|      0|        return NULL;
 1714|      0|    }
 1715|     14|    return Py_NewRef(so);
  ------------------
  |  |  550|     14|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1716|     14|}
setobject.c:set_contains:
 2578|     27|{
 2579|     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 (2579:23): [True: 18, False: 9]
  |  Branch (2579:23): [True: 9, False: 0]
  |  Branch (2579:23): [True: 0, False: 0]
  |  Branch (2579:23): [True: 0, False: 0]
  ------------------
 2580|      0|    return _PySet_Contains(so, key);
 2581|     27|}
setobject.c:set_traverse:
  938|    212|{
  939|    212|    PySetObject *so = _PySet_CAST(self);
  ------------------
  |  |   62|    212|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|    212|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (939:23): [True: 162, False: 50]
  |  Branch (939:23): [True: 50, False: 0]
  |  Branch (939:23): [True: 0, False: 0]
  |  Branch (939:23): [True: 0, False: 0]
  ------------------
  940|      0|    Py_ssize_t pos = 0;
  941|    212|    setentry *entry;
  942|       |
  943|  2.04k|    while (set_next(so, &pos, &entry))
  ------------------
  |  Branch (943:12): [True: 1.83k, False: 212]
  ------------------
  944|  1.83k|        Py_VISIT(entry->key);
  ------------------
  |  |  194|  2.04k|    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]
  |  |  ------------------
  ------------------
  945|    212|    return 0;
  946|    212|}
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|    123|    for (entry = table; used > 0; entry++) {
  ------------------
  |  Branch (684:25): [True: 101, False: 22]
  ------------------
  685|    101|        if (entry->key && entry->key != dummy) {
  ------------------
  |  |   64|     22|#define dummy (&_dummy_struct)
  ------------------
  |  Branch (685:13): [True: 22, False: 79]
  |  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|    101|    }
  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);
  ------------------
  |  |  164|     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);
  ------------------
  |  |  194|     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);
  ------------------
  |  |  169|     22|#define FT_ATOMIC_STORE_SSIZE_RELEASE(value, new_value) value = new_value
  ------------------
  641|     22|    FT_ATOMIC_STORE_SSIZE_RELAXED(so->hash, -1);
  ------------------
  |  |  194|     22|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  642|     22|    FT_ATOMIC_STORE_PTR_RELEASE(so->table, so->smalltable);
  ------------------
  |  |  164|     22|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  643|     22|}
setobject.c:set_richcompare:
 2491|      4|{
 2492|      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 (2492:22): [True: 4, False: 0]
  |  Branch (2492:22): [True: 0, False: 0]
  |  Branch (2492:22): [True: 0, False: 0]
  |  Branch (2492:22): [True: 0, False: 0]
  ------------------
 2493|      0|    PyObject *r1;
 2494|      4|    int r2;
 2495|       |
 2496|      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]
  |  |  ------------------
  ------------------
 2497|      0|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 2498|       |
 2499|      4|    switch (op) {
  ------------------
  |  Branch (2499:13): [True: 4, False: 0]
  ------------------
 2500|      0|    case Py_EQ:
  ------------------
  |  |  654|      0|#define Py_EQ 2
  ------------------
  |  Branch (2500:5): [True: 0, False: 4]
  ------------------
 2501|      0|        if (PySet_GET_SIZE(v) != PySet_GET_SIZE(w))
  ------------------
  |  |   71|      0|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (PySet_GET_SIZE(v) != PySet_GET_SIZE(w))
  ------------------
  |  |   71|      0|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2501:13): [True: 0, False: 0]
  ------------------
 2502|      0|            Py_RETURN_FALSE;
  ------------------
  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2503|      0|        Py_hash_t v_hash = FT_ATOMIC_LOAD_SSIZE_RELAXED(v->hash);
  ------------------
  |  |  149|      0|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 2504|      0|        Py_hash_t w_hash = FT_ATOMIC_LOAD_SSIZE_RELAXED(((PySetObject *)w)->hash);
  ------------------
  |  |  149|      0|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 2505|      0|        if (v_hash != -1 && w_hash != -1 && v_hash != w_hash)
  ------------------
  |  Branch (2505:13): [True: 0, False: 0]
  |  Branch (2505:29): [True: 0, False: 0]
  |  Branch (2505:45): [True: 0, False: 0]
  ------------------
 2506|      0|            Py_RETURN_FALSE;
  ------------------
  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2507|      0|        return set_issubset((PyObject*)v, w);
 2508|      0|    case Py_NE:
  ------------------
  |  |  655|      0|#define Py_NE 3
  ------------------
  |  Branch (2508:5): [True: 0, False: 4]
  ------------------
 2509|      0|        r1 = set_richcompare((PyObject*)v, w, Py_EQ);
  ------------------
  |  |  654|      0|#define Py_EQ 2
  ------------------
 2510|      0|        if (r1 == NULL)
  ------------------
  |  Branch (2510:13): [True: 0, False: 0]
  ------------------
 2511|      0|            return NULL;
 2512|      0|        r2 = PyObject_IsTrue(r1);
 2513|      0|        Py_DECREF(r1);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2514|      0|        if (r2 < 0)
  ------------------
  |  Branch (2514:13): [True: 0, False: 0]
  ------------------
 2515|      0|            return NULL;
 2516|      0|        return PyBool_FromLong(!r2);
 2517|      4|    case Py_LE:
  ------------------
  |  |  653|      4|#define Py_LE 1
  ------------------
  |  Branch (2517:5): [True: 4, False: 0]
  ------------------
 2518|      4|        return set_issubset((PyObject*)v, w);
 2519|      0|    case Py_GE:
  ------------------
  |  |  657|      0|#define Py_GE 5
  ------------------
  |  Branch (2519:5): [True: 0, False: 4]
  ------------------
 2520|      0|        return set_issuperset((PyObject*)v, w);
 2521|      0|    case Py_LT:
  ------------------
  |  |  652|      0|#define Py_LT 0
  ------------------
  |  Branch (2521:5): [True: 0, False: 4]
  ------------------
 2522|      0|        if (PySet_GET_SIZE(v) >= PySet_GET_SIZE(w))
  ------------------
  |  |   71|      0|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (PySet_GET_SIZE(v) >= PySet_GET_SIZE(w))
  ------------------
  |  |   71|      0|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2522:13): [True: 0, False: 0]
  ------------------
 2523|      0|            Py_RETURN_FALSE;
  ------------------
  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2524|      0|        return set_issubset((PyObject*)v, w);
 2525|      0|    case Py_GT:
  ------------------
  |  |  656|      0|#define Py_GT 4
  ------------------
  |  Branch (2525:5): [True: 0, False: 4]
  ------------------
 2526|      0|        if (PySet_GET_SIZE(v) <= PySet_GET_SIZE(w))
  ------------------
  |  |   71|      0|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (PySet_GET_SIZE(v) <= PySet_GET_SIZE(w))
  ------------------
  |  |   71|      0|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2526:13): [True: 0, False: 0]
  ------------------
 2527|      0|            Py_RETURN_FALSE;
  ------------------
  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2528|      0|        return set_issuperset((PyObject*)v, w);
 2529|      4|    }
 2530|      0|    Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 2531|      4|}
setobject.c:set_issubset_impl:
 2416|      4|{
 2417|      4|    setentry *entry;
 2418|      4|    Py_ssize_t pos = 0;
 2419|      4|    int rv;
 2420|       |
 2421|      4|    if (!PyAnySet_Check(other)) {
  ------------------
  |  |   31|      4|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|      8|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 4, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|      4|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   32|      4|      PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (32:7): [True: 0, False: 0]
  |  |  ------------------
  |  |   33|      4|      PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (33:7): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2422|      0|        PyObject *tmp = set_intersection(so, other);
 2423|      0|        if (tmp == NULL) {
  ------------------
  |  Branch (2423:13): [True: 0, False: 0]
  ------------------
 2424|      0|            return NULL;
 2425|      0|        }
 2426|      0|        int result = (PySet_GET_SIZE(tmp) == PySet_GET_SIZE(so));
  ------------------
  |  |   71|      0|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      int result = (PySet_GET_SIZE(tmp) == PySet_GET_SIZE(so));
  ------------------
  |  |   71|      0|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2427|      0|        Py_DECREF(tmp);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2428|      0|        return PyBool_FromLong(result);
 2429|      0|    }
 2430|      4|    if (PySet_GET_SIZE(so) > PySet_GET_SIZE(other))
  ------------------
  |  |   71|      4|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PySet_GET_SIZE(so) > PySet_GET_SIZE(other))
  ------------------
  |  |   71|      4|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2430:9): [True: 0, False: 4]
  ------------------
 2431|      0|        Py_RETURN_FALSE;
  ------------------
  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2432|       |
 2433|     12|    while (set_next(so, &pos, &entry)) {
  ------------------
  |  Branch (2433:12): [True: 8, False: 4]
  ------------------
 2434|      8|        PyObject *key = entry->key;
 2435|      8|        Py_INCREF(key);
  ------------------
  |  |  310|      8|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2436|      8|        rv = set_contains_entry((PySetObject *)other, key, entry->hash);
 2437|      8|        Py_DECREF(key);
  ------------------
  |  |  430|      8|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2438|      8|        if (rv < 0) {
  ------------------
  |  Branch (2438:13): [True: 0, False: 8]
  ------------------
 2439|      0|            return NULL;
 2440|      0|        }
 2441|      8|        if (!rv) {
  ------------------
  |  Branch (2441:13): [True: 0, False: 8]
  ------------------
 2442|      0|            Py_RETURN_FALSE;
  ------------------
  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2443|      0|        }
 2444|      8|    }
 2445|      4|    Py_RETURN_TRUE;
  ------------------
  |  |   44|      4|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|      4|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2446|      4|}
setobject.c:set_iter:
 1173|     84|{
 1174|     84|    Py_ssize_t size = set_len(so);
 1175|     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))
  |  |  ------------------
  ------------------
 1176|     84|    if (si == NULL)
  ------------------
  |  Branch (1176:9): [True: 0, False: 84]
  ------------------
 1177|      0|        return NULL;
 1178|     84|    si->si_set = (PySetObject*)Py_NewRef(so);
  ------------------
  |  |  550|     84|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     84|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     84|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1179|     84|    si->si_used = size;
 1180|     84|    si->si_pos = 0;
 1181|     84|    si->len = size;
 1182|     84|    _PyObject_GC_TRACK(si);
  ------------------
  |  |  505|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1183|     84|    return (PyObject *)si;
 1184|     84|}
setobject.c:set_add_impl:
 2548|    395|{
 2549|    395|    if (set_add_key(so, key))
  ------------------
  |  Branch (2549:9): [True: 0, False: 395]
  ------------------
 2550|      0|        return NULL;
 2551|    395|    Py_RETURN_NONE;
  ------------------
  |  |  628|    395|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    395|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 2552|    395|}
setobject.c:set_vectorcall:
 2794|     85|{
 2795|     85|    assert(PyType_Check(type));
  ------------------
  |  Branch (2795:5): [True: 85, False: 0]
  ------------------
 2796|       |
 2797|     85|    if (!_PyArg_NoKwnames("set", kwnames)) {
  ------------------
  |  |   15|     85|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (15:6): [True: 85, False: 0]
  |  |  |  Branch (15:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2798|      0|        return NULL;
 2799|      0|    }
 2800|       |
 2801|     85|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|     85|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
 2802|     85|    if (!_PyArg_CheckPositional("set", nargs, 0, 1)) {
  ------------------
  |  |   31|     85|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 85, False: 0]
  |  |  |  Branch (31:27): [True: 85, False: 0]
  |  |  ------------------
  |  |   32|     85|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2803|      0|        return NULL;
 2804|      0|    }
 2805|       |
 2806|     85|    if (nargs) {
  ------------------
  |  Branch (2806:9): [True: 16, False: 69]
  ------------------
 2807|     16|        return make_new_set(_PyType_CAST(type), args[0]);
  ------------------
  |  |  770|     16|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (2807:29): [True: 16, False: 0]
  ------------------
 2808|     16|    }
 2809|       |
 2810|     69|    return make_new_set(_PyType_CAST(type), NULL);
  ------------------
  |  |  770|     69|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     69|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (2810:25): [True: 69, False: 0]
  ------------------
 2811|     69|}
setobject.c:frozenset___contains___impl:
 2618|     11|{
 2619|     11|    Py_hash_t hash = PyObject_Hash(key);
 2620|     11|    if (hash == -1) {
  ------------------
  |  Branch (2620:9): [True: 0, False: 11]
  ------------------
 2621|      0|        if (!PySet_Check(key) || !PyErr_ExceptionMatches(PyExc_TypeError)) {
  ------------------
  |  |   37|      0|    (Py_IS_TYPE((ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   38|      0|    PyType_IsSubtype(Py_TYPE(ob), &PySet_Type))
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (38:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2621:34): [True: 0, False: 0]
  ------------------
 2622|      0|            set_unhashable_type(key);
 2623|      0|            return NULL;
 2624|      0|        }
 2625|      0|        PyErr_Clear();
 2626|      0|        Py_BEGIN_CRITICAL_SECTION(key);
  ------------------
  |  |   51|      0|    {
  ------------------
 2627|      0|        hash = frozenset_hash_impl(key);
 2628|      0|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 2629|      0|    }
 2630|     11|    setentry *entry; // unused
 2631|     11|    int status = set_do_lookup(so, so->table, so->mask, key, hash, &entry,
 2632|     11|                           set_compare_frozenset);
 2633|     11|    if (status < 0)
  ------------------
  |  Branch (2633:9): [True: 0, False: 11]
  ------------------
 2634|      0|        return NULL;
 2635|     11|    return PyBool_FromLong(status);
 2636|     11|}
setobject.c:make_new_frozenset:
 1432|      9|{
 1433|      9|    if (type != &PyFrozenSet_Type) {
  ------------------
  |  Branch (1433:9): [True: 0, False: 9]
  ------------------
 1434|      0|        return make_new_set(type, iterable);
 1435|      0|    }
 1436|       |
 1437|      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 (1437:9): [True: 9, False: 0]
  ------------------
 1438|       |        /* frozenset(f) is idempotent */
 1439|      0|        return Py_NewRef(iterable);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1440|      0|    }
 1441|      9|    PyObject *obj = make_new_set(type, iterable);
 1442|      9|    if (obj != NULL) {
  ------------------
  |  Branch (1442:9): [True: 9, False: 0]
  ------------------
 1443|      9|        _PyFrozenSet_MaybeUntrack(obj);
 1444|      9|    }
 1445|      9|    return obj;
 1446|      9|}
setobject.c:frozenset_vectorcall:
 1469|      9|{
 1470|      9|    if (!_PyArg_NoKwnames("frozenset", kwnames)) {
  ------------------
  |  |   15|      9|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (15:6): [True: 9, False: 0]
  |  |  |  Branch (15:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1471|      0|        return NULL;
 1472|      0|    }
 1473|       |
 1474|      9|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|      9|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
 1475|      9|    if (!_PyArg_CheckPositional("frozenset", nargs, 0, 1)) {
  ------------------
  |  |   31|      9|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 9, False: 0]
  |  |  |  Branch (31:27): [True: 9, False: 0]
  |  |  ------------------
  |  |   32|      9|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1476|      0|        return NULL;
 1477|      0|    }
 1478|       |
 1479|      9|    PyObject *iterable = (nargs ? args[0] : NULL);
  ------------------
  |  Branch (1479:27): [True: 9, False: 0]
  ------------------
 1480|      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 (1480:31): [True: 9, False: 0]
  ------------------
 1481|      9|}
setobject.c:make_new_set:
 1380|    438|{
 1381|    438|    PyObject *so = make_new_set_untracked(type, iterable);
 1382|    438|    if (so != NULL) {
  ------------------
  |  Branch (1382:9): [True: 438, False: 0]
  ------------------
 1383|    438|        _PyObject_GC_TRACK(so);
  ------------------
  |  |  505|    438|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    438|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    438|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1384|    438|    }
 1385|    438|    return so;
 1386|    438|}
setobject.c:_PyFrozenSet_MaybeUntrack:
 1413|    160|{
 1414|    160|    assert(op != NULL);
  ------------------
  |  Branch (1414:5): [True: 160, False: 0]
  ------------------
 1415|       |    // subclasses of a frozenset can generate reference cycles, so do not untrack
 1416|    160|    if (!PyFrozenSet_CheckExact(op)) {
  ------------------
  |  |   23|    160|#define PyFrozenSet_CheckExact(ob) Py_IS_TYPE((ob), &PyFrozenSet_Type)
  |  |  ------------------
  |  |  |  |  215|    160|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    160|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    160|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1416:9): [True: 0, False: 160]
  ------------------
 1417|      0|        return;
 1418|      0|    }
 1419|       |    // if no elements of a frozenset are tracked by the GC, we untrack the object
 1420|    160|    Py_ssize_t pos = 0;
 1421|    160|    setentry *entry;
 1422|    932|    while (set_next((PySetObject *)op, &pos, &entry)) {
  ------------------
  |  Branch (1422:12): [True: 819, False: 113]
  ------------------
 1423|    819|        if (_PyObject_GC_MAY_BE_TRACKED(entry->key)) {
  ------------------
  |  Branch (1423:13): [True: 47, False: 772]
  ------------------
 1424|     47|            return;
 1425|     47|        }
 1426|    819|    }
 1427|    113|    _PyObject_GC_UNTRACK(op);
  ------------------
  |  |  507|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1428|    113|}
setobject.c:set_len:
  823|    298|{
  824|    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 (824:23): [True: 152, False: 146]
  |  Branch (824:23): [True: 146, False: 0]
  |  Branch (824:23): [True: 0, False: 0]
  |  Branch (824:23): [True: 0, False: 0]
  ------------------
  825|    298|    return FT_ATOMIC_LOAD_SSIZE_RELAXED(so->used);
  ------------------
  |  |  149|    298|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
  826|    298|}
setobject.c:set_clear_impl:
 1643|     22|{
 1644|     22|    set_clear_internal((PyObject*)so);
 1645|     22|    Py_RETURN_NONE;
  ------------------
  |  |  628|     22|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     22|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1646|     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.33k|{
  603|  2.33k|    Py_hash_t hash = PyObject_Hash(key);
  604|  2.33k|    if (hash == -1) {
  ------------------
  |  Branch (604:9): [True: 0, False: 2.33k]
  ------------------
  605|      0|        set_unhashable_type(key);
  606|      0|        return -1;
  607|      0|    }
  608|  2.33k|    return set_add_entry(so, key, hash);
  609|  2.33k|}
setobject.c:set_next:
  711|  3.06k|{
  712|  3.06k|    Py_ssize_t i;
  713|  3.06k|    Py_ssize_t mask;
  714|  3.06k|    setentry *entry;
  715|       |
  716|  3.06k|    assert (PyAnySet_Check(so));
  ------------------
  |  Branch (716:5): [True: 1.91k, 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.06k|    i = *pos_ptr;
  718|  3.06k|    assert(i >= 0);
  ------------------
  |  Branch (718:5): [True: 3.06k, False: 0]
  ------------------
  719|  3.06k|    mask = so->mask;
  720|  3.06k|    entry = &so->table[i];
  721|  9.51k|    while (i <= mask && (entry->key == NULL || entry->key == dummy)) {
  ------------------
  |  |   64|  2.70k|#define dummy (&_dummy_struct)
  ------------------
  |  Branch (721:12): [True: 9.16k, False: 358]
  |  Branch (721:26): [True: 6.45k, False: 2.70k]
  |  Branch (721:48): [True: 0, False: 2.70k]
  ------------------
  722|  6.45k|        i++;
  723|  6.45k|        entry++;
  724|  6.45k|    }
  725|  3.06k|    *pos_ptr = i+1;
  726|  3.06k|    if (i > mask)
  ------------------
  |  Branch (726:9): [True: 358, False: 2.70k]
  ------------------
  727|    358|        return 0;
  728|  3.06k|    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:
  913|      8|{
  914|       |    /* Make sure the search finger is in bounds */
  915|      8|    setentry *entry = so->table + (so->finger & so->mask);
  916|      8|    setentry *limit = so->table + so->mask;
  917|      8|    PyObject *key;
  918|       |
  919|      8|    if (so->used == 0) {
  ------------------
  |  Branch (919:9): [True: 0, False: 8]
  ------------------
  920|      0|        PyErr_SetString(PyExc_KeyError, "pop from an empty set");
  921|      0|        return NULL;
  922|      0|    }
  923|     20|    while (entry->key == NULL || entry->key==dummy) {
  ------------------
  |  |   64|      8|#define dummy (&_dummy_struct)
  ------------------
  |  Branch (923:12): [True: 12, False: 8]
  |  Branch (923:34): [True: 0, False: 8]
  ------------------
  924|     12|        entry++;
  925|     12|        if (entry > limit)
  ------------------
  |  Branch (925:13): [True: 0, False: 12]
  ------------------
  926|      0|            entry = so->table;
  927|     12|    }
  928|      8|    FT_ATOMIC_STORE_SSIZE_RELAXED(entry->hash, -1);
  ------------------
  |  |  194|      8|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  929|      8|    FT_ATOMIC_STORE_SSIZE_RELAXED(so->used, so->used - 1);
  ------------------
  |  |  194|      8|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  930|      8|    key = entry->key;
  931|      8|    FT_ATOMIC_STORE_PTR_RELEASE(entry->key, dummy);
  ------------------
  |  |  164|      8|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  932|      8|    so->finger = entry - so->table + 1;   /* next place to start */
  933|      8|    return key;
  934|      8|}
setobject.c:set_update_internal:
 1285|     14|{
 1286|     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]
  |  |  ------------------
  ------------------
 1287|     14|        if (Py_Is((PyObject *)so, other)) {
  ------------------
  |  |  187|     14|#define Py_Is(x, y) ((x) == (y))
  |  |  ------------------
  |  |  |  Branch (187:21): [True: 0, False: 14]
  |  |  ------------------
  ------------------
 1288|      0|            return 0;
 1289|      0|        }
 1290|     14|        int rv;
 1291|     14|        Py_BEGIN_CRITICAL_SECTION2(so, other);
  ------------------
  |  |   57|     14|    {
  ------------------
 1292|     14|        rv = set_merge_lock_held(so, other);
 1293|     14|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|     14|    }
  ------------------
 1294|     14|        return rv;
 1295|     14|    }
 1296|      0|    else if (PyDict_CheckExact(other)) {
  ------------------
  |  |   19|      0|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1297|      0|        int rv;
 1298|      0|        Py_BEGIN_CRITICAL_SECTION2(so, other);
  ------------------
  |  |   57|      0|    {
  ------------------
 1299|      0|        rv = set_update_dict_lock_held(so, other);
 1300|      0|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|      0|    }
  ------------------
 1301|      0|        return rv;
 1302|      0|    }
 1303|      0|    else if (PyFrozenDict_CheckExact(other)) {
  ------------------
  |  |   38|      0|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1304|      0|        int rv;
 1305|      0|        Py_BEGIN_CRITICAL_SECTION(so);
  ------------------
  |  |   51|      0|    {
  ------------------
 1306|      0|        rv = set_update_dict_lock_held(so, other);
 1307|      0|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 1308|      0|        return rv;
 1309|      0|    }
 1310|      0|    else {
 1311|      0|        int rv;
 1312|      0|        Py_BEGIN_CRITICAL_SECTION(so);
  ------------------
  |  |   51|      0|    {
  ------------------
 1313|      0|        rv = set_update_iterable_lock_held(so, other);
 1314|      0|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 1315|      0|        return rv;
 1316|      0|    }
 1317|     14|}

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

unicodeobject.c:ucs2lib_utf8_encoder:
  267|     22|{
  268|     22|#if STRINGLIB_SIZEOF_CHAR > 1
  269|     22|    PyObject *error_handler_obj = NULL;
  270|     22|    PyObject *exc = NULL;
  271|     22|    PyObject *rep = NULL;
  272|     22|#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|     22|    assert(size >= 0);
  ------------------
  |  Branch (281:5): [True: 22, False: 0]
  ------------------
  282|     22|    if (size > PY_SSIZE_T_MAX / max_char_size) {
  ------------------
  |  |  137|     22|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (282:9): [True: 0, False: 22]
  ------------------
  283|       |        /* integer overflow */
  284|      0|        PyErr_NoMemory();
  285|      0|        *end = NULL;
  286|      0|        return NULL;
  287|      0|    }
  288|       |
  289|     22|    PyBytesWriter *writer = PyBytesWriter_Create(size * max_char_size);
  290|     22|    if (writer == NULL) {
  ------------------
  |  Branch (290:9): [True: 0, False: 22]
  ------------------
  291|      0|        *end = NULL;
  292|      0|        return NULL;
  293|      0|    }
  294|       |    /* next free byte in output buffer */
  295|     22|    char *p = PyBytesWriter_GetData(writer);
  296|       |
  297|     22|    Py_ssize_t i;                /* index into data of next input character */
  298|  22.0M|    for (i = 0; i < size;) {
  ------------------
  |  Branch (298:17): [True: 22.0M, False: 22]
  ------------------
  299|  22.0M|        Py_UCS4 ch = data[i++];
  300|       |
  301|  22.0M|        if (ch < 0x80) {
  ------------------
  |  Branch (301:13): [True: 22.0M, False: 76]
  ------------------
  302|       |            /* Encode ASCII */
  303|  22.0M|            *p++ = (char) ch;
  304|       |
  305|  22.0M|        }
  306|     76|        else
  307|     76|#if STRINGLIB_SIZEOF_CHAR > 1
  308|     76|        if (ch < 0x0800)
  ------------------
  |  Branch (308:13): [True: 34, False: 42]
  ------------------
  309|     34|#endif
  310|     34|        {
  311|       |            /* Encode Latin-1 */
  312|     34|            *p++ = (char)(0xc0 | (ch >> 6));
  313|     34|            *p++ = (char)(0x80 | (ch & 0x3f));
  314|     34|        }
  315|     42|#if STRINGLIB_SIZEOF_CHAR > 1
  316|     42|        else if (Py_UNICODE_IS_SURROGATE(ch)) {
  ------------------
  |  Branch (316:18): [True: 0, False: 42]
  ------------------
  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;
  ------------------
  |  |  650|      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;
  ------------------
  |  |  650|      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)) {
  ------------------
  |  |  227|      0|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (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);
  ------------------
  |  |  284|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  426|      0|                    rep_len = PyUnicode_GET_LENGTH(rep);
  ------------------
  |  |  299|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  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);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491: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|     42|        else
  445|       |#if STRINGLIB_SIZEOF_CHAR > 2
  446|       |        if (ch < 0x10000)
  447|       |#endif
  448|     42|        {
  449|     42|            *p++ = (char)(0xe0 | (ch >> 12));
  450|     42|            *p++ = (char)(0x80 | ((ch >> 6) & 0x3f));
  451|     42|            *p++ = (char)(0x80 | (ch & 0x3f));
  452|     42|        }
  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|  22.0M|#endif /* STRINGLIB_SIZEOF_CHAR > 1 */
  465|  22.0M|    }
  466|       |
  467|     22|#if STRINGLIB_SIZEOF_CHAR > 1
  468|     22|    Py_XDECREF(error_handler_obj);
  ------------------
  |  |  524|     22|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  469|     22|    Py_XDECREF(exc);
  ------------------
  |  |  524|     22|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  470|     22|#endif
  471|     22|    *end = p;
  472|     22|    return writer;
  473|       |
  474|      0|#if STRINGLIB_SIZEOF_CHAR > 1
  475|      0| error:
  476|      0|    PyBytesWriter_Discard(writer);
  477|      0|    Py_XDECREF(rep);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  478|      0|    Py_XDECREF(error_handler_obj);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  479|      0|    Py_XDECREF(exc);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  480|      0|    *end = NULL;
  481|       |    return NULL;
  482|     22|#endif
  483|     22|}
unicodeobject.c:ucs4lib_utf8_encoder:
  267|     27|{
  268|     27|#if STRINGLIB_SIZEOF_CHAR > 1
  269|     27|    PyObject *error_handler_obj = NULL;
  270|     27|    PyObject *exc = NULL;
  271|     27|    PyObject *rep = NULL;
  272|     27|#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|     27|    const Py_ssize_t max_char_size = 4;
  279|     27|#endif
  280|       |
  281|     27|    assert(size >= 0);
  ------------------
  |  Branch (281:5): [True: 27, False: 0]
  ------------------
  282|     27|    if (size > PY_SSIZE_T_MAX / max_char_size) {
  ------------------
  |  |  137|     27|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (282:9): [True: 0, False: 27]
  ------------------
  283|       |        /* integer overflow */
  284|      0|        PyErr_NoMemory();
  285|      0|        *end = NULL;
  286|      0|        return NULL;
  287|      0|    }
  288|       |
  289|     27|    PyBytesWriter *writer = PyBytesWriter_Create(size * max_char_size);
  290|     27|    if (writer == NULL) {
  ------------------
  |  Branch (290:9): [True: 0, False: 27]
  ------------------
  291|      0|        *end = NULL;
  292|      0|        return NULL;
  293|      0|    }
  294|       |    /* next free byte in output buffer */
  295|     27|    char *p = PyBytesWriter_GetData(writer);
  296|       |
  297|     27|    Py_ssize_t i;                /* index into data of next input character */
  298|  25.7M|    for (i = 0; i < size;) {
  ------------------
  |  Branch (298:17): [True: 25.7M, False: 27]
  ------------------
  299|  25.7M|        Py_UCS4 ch = data[i++];
  300|       |
  301|  25.7M|        if (ch < 0x80) {
  ------------------
  |  Branch (301:13): [True: 25.5M, False: 195k]
  ------------------
  302|       |            /* Encode ASCII */
  303|  25.5M|            *p++ = (char) ch;
  304|       |
  305|  25.5M|        }
  306|   195k|        else
  307|   195k|#if STRINGLIB_SIZEOF_CHAR > 1
  308|   195k|        if (ch < 0x0800)
  ------------------
  |  Branch (308:13): [True: 154k, False: 41.0k]
  ------------------
  309|   154k|#endif
  310|   154k|        {
  311|       |            /* Encode Latin-1 */
  312|   154k|            *p++ = (char)(0xc0 | (ch >> 6));
  313|   154k|            *p++ = (char)(0x80 | (ch & 0x3f));
  314|   154k|        }
  315|  41.0k|#if STRINGLIB_SIZEOF_CHAR > 1
  316|  41.0k|        else if (Py_UNICODE_IS_SURROGATE(ch)) {
  ------------------
  |  Branch (316:18): [True: 0, False: 41.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;
  ------------------
  |  |  650|      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;
  ------------------
  |  |  650|      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)) {
  ------------------
  |  |  227|      0|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (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);
  ------------------
  |  |  284|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  426|      0|                    rep_len = PyUnicode_GET_LENGTH(rep);
  ------------------
  |  |  299|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  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);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491: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|  41.0k|        else
  445|  41.0k|#if STRINGLIB_SIZEOF_CHAR > 2
  446|  41.0k|        if (ch < 0x10000)
  ------------------
  |  Branch (446:13): [True: 77, False: 40.9k]
  ------------------
  447|     77|#endif
  448|     77|        {
  449|     77|            *p++ = (char)(0xe0 | (ch >> 12));
  450|     77|            *p++ = (char)(0x80 | ((ch >> 6) & 0x3f));
  451|     77|            *p++ = (char)(0x80 | (ch & 0x3f));
  452|     77|        }
  453|  40.9k|#if STRINGLIB_SIZEOF_CHAR > 2
  454|  40.9k|        else /* ch >= 0x10000 */
  455|  40.9k|        {
  456|  40.9k|            assert(ch <= MAX_UNICODE);
  ------------------
  |  Branch (456:13): [True: 40.9k, False: 0]
  ------------------
  457|       |            /* Encode UCS4 Unicode ordinals */
  458|  40.9k|            *p++ = (char)(0xf0 | (ch >> 18));
  459|  40.9k|            *p++ = (char)(0x80 | ((ch >> 12) & 0x3f));
  460|  40.9k|            *p++ = (char)(0x80 | ((ch >> 6) & 0x3f));
  461|  40.9k|            *p++ = (char)(0x80 | (ch & 0x3f));
  462|  40.9k|        }
  463|  25.7M|#endif /* STRINGLIB_SIZEOF_CHAR > 2 */
  464|  25.7M|#endif /* STRINGLIB_SIZEOF_CHAR > 1 */
  465|  25.7M|    }
  466|       |
  467|     27|#if STRINGLIB_SIZEOF_CHAR > 1
  468|     27|    Py_XDECREF(error_handler_obj);
  ------------------
  |  |  524|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  469|     27|    Py_XDECREF(exc);
  ------------------
  |  |  524|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  470|     27|#endif
  471|     27|    *end = p;
  472|     27|    return writer;
  473|       |
  474|      0|#if STRINGLIB_SIZEOF_CHAR > 1
  475|      0| error:
  476|      0|    PyBytesWriter_Discard(writer);
  477|      0|    Py_XDECREF(rep);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  478|      0|    Py_XDECREF(error_handler_obj);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  479|      0|    Py_XDECREF(exc);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  480|      0|    *end = NULL;
  481|       |    return NULL;
  482|     27|#endif
  483|     27|}
unicodeobject.c:asciilib_utf8_decode:
   26|     68|{
   27|     68|    Py_UCS4 ch;
   28|     68|    const char *s = *inptr;
   29|     68|    STRINGLIB_CHAR *p = dest + *outpos;
  ------------------
  |  |   11|     68|#define STRINGLIB_CHAR           Py_UCS1
  ------------------
   30|       |
   31|     68|    while (s < end) {
  ------------------
  |  Branch (31:12): [True: 68, False: 0]
  ------------------
   32|     68|        ch = (unsigned char)*s;
   33|       |
   34|     68|        if (ch < 0x80) {
  ------------------
  |  Branch (34:13): [True: 0, False: 68]
  ------------------
   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)) {
  ------------------
  |  |  246|      0|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  |  |  ------------------
  |  |  |  Branch (246: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) {
  ------------------
  |  | 1955|      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;
  ------------------
  |  | 1955|      0|#define SIZEOF_SIZE_T 8
  ------------------
   82|      0|                    _p += SIZEOF_SIZE_T;
  ------------------
  |  | 1955|      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|     68|        if (ch < 0xE0) {
  ------------------
  |  Branch (97:13): [True: 42, False: 26]
  ------------------
   98|       |            /* \xC2\x80-\xDF\xBF -- 0080-07FF */
   99|     42|            Py_UCS4 ch2;
  100|     42|            if (ch < 0xC2) {
  ------------------
  |  Branch (100:17): [True: 0, False: 42]
  ------------------
  101|       |                /* invalid sequence
  102|       |                \x80-\xBF -- continuation byte
  103|       |                \xC0-\xC1 -- fake 0000-007F */
  104|      0|                goto InvalidStart;
  105|      0|            }
  106|     42|            if (end - s < 2) {
  ------------------
  |  Branch (106:17): [True: 0, False: 42]
  ------------------
  107|       |                /* unexpected end of data: the caller will decide whether
  108|       |                   it's an error or not */
  109|      0|                break;
  110|      0|            }
  111|     42|            ch2 = (unsigned char)s[1];
  112|     42|            if (!IS_CONTINUATION_BYTE(ch2))
  ------------------
  |  |   20|     42|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 42, False: 0]
  |  |  |  Branch (20:51): [True: 42, False: 0]
  |  |  ------------------
  ------------------
  113|       |                /* invalid continuation byte */
  114|      0|                goto InvalidContinuation1;
  115|     42|            ch = (ch << 6) + ch2 -
  116|     42|                 ((0xC0 << 6) + 0x80);
  117|     42|            assert ((ch > 0x007F) && (ch <= 0x07FF));
  ------------------
  |  Branch (117:13): [True: 42, False: 0]
  |  Branch (117:13): [True: 42, False: 0]
  ------------------
  118|     42|            s += 2;
  119|     42|            if (STRINGLIB_MAX_CHAR <= 0x007F ||
  ------------------
  |  |   10|     42|#define STRINGLIB_MAX_CHAR       0x7Fu
  ------------------
  |  Branch (119:17): [True: 42, 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|     42|                goto Return;
  123|      0|            *p++ = ch;
  124|      0|            continue;
  125|     42|        }
  126|       |
  127|     26|        if (ch < 0xF0) {
  ------------------
  |  Branch (127:13): [True: 20, False: 6]
  ------------------
  128|       |            /* \xE0\xA0\x80-\xEF\xBF\xBF -- 0800-FFFF */
  129|     20|            Py_UCS4 ch2, ch3;
  130|     20|            if (end - s < 3) {
  ------------------
  |  Branch (130:17): [True: 0, False: 20]
  ------------------
  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|     20|            ch2 = (unsigned char)s[1];
  143|     20|            ch3 = (unsigned char)s[2];
  144|     20|            if (!IS_CONTINUATION_BYTE(ch2)) {
  ------------------
  |  |   20|     20|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 20, False: 0]
  |  |  |  Branch (20:51): [True: 20, False: 0]
  |  |  ------------------
  ------------------
  145|       |                /* invalid continuation byte */
  146|      0|                goto InvalidContinuation1;
  147|      0|            }
  148|     20|            if (ch == 0xE0) {
  ------------------
  |  Branch (148:17): [True: 2, False: 18]
  ------------------
  149|      2|                if (ch2 < 0xA0)
  ------------------
  |  Branch (149:21): [True: 0, False: 2]
  ------------------
  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|     20|            if (!IS_CONTINUATION_BYTE(ch3)) {
  ------------------
  |  |   20|     20|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 20, False: 0]
  |  |  |  Branch (20:51): [True: 20, False: 0]
  |  |  ------------------
  ------------------
  162|       |                /* invalid continuation byte */
  163|      0|                goto InvalidContinuation2;
  164|      0|            }
  165|     20|            ch = (ch << 12) + (ch2 << 6) + ch3 -
  166|     20|                 ((0xE0 << 12) + (0x80 << 6) + 0x80);
  167|     20|            assert ((ch > 0x07FF) && (ch <= 0xFFFF));
  ------------------
  |  Branch (167:13): [True: 20, False: 0]
  |  Branch (167:13): [True: 20, False: 0]
  ------------------
  168|     20|            s += 3;
  169|     20|            if (STRINGLIB_MAX_CHAR <= 0x07FF ||
  ------------------
  |  |   10|     20|#define STRINGLIB_MAX_CHAR       0x7Fu
  ------------------
  |  Branch (169:17): [True: 20, 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|     20|                goto Return;
  173|      0|            *p++ = ch;
  174|      0|            continue;
  175|     20|        }
  176|       |
  177|      6|        if (ch < 0xF5) {
  ------------------
  |  Branch (177:13): [True: 6, False: 0]
  ------------------
  178|       |            /* \xF0\x90\x80\x80-\xF4\x8F\xBF\xBF -- 10000-10FFFF */
  179|      6|            Py_UCS4 ch2, ch3, ch4;
  180|      6|            if (end - s < 4) {
  ------------------
  |  Branch (180:17): [True: 0, False: 6]
  ------------------
  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|      6|            ch2 = (unsigned char)s[1];
  198|      6|            ch3 = (unsigned char)s[2];
  199|      6|            ch4 = (unsigned char)s[3];
  200|      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]
  |  |  ------------------
  ------------------
  201|       |                /* invalid continuation byte */
  202|      0|                goto InvalidContinuation1;
  203|      0|            }
  204|      6|            if (ch == 0xF0) {
  ------------------
  |  Branch (204:17): [True: 0, False: 6]
  ------------------
  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|      6|            } else if (ch == 0xF4 && ch2 >= 0x90) {
  ------------------
  |  Branch (209:24): [True: 0, False: 6]
  |  Branch (209:38): [True: 0, False: 0]
  ------------------
  210|       |                /* invalid sequence
  211|       |                   \xF4\x90\x80\x80- -- 110000- overflow */
  212|      0|                goto InvalidContinuation1;
  213|      0|            }
  214|      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]
  |  |  ------------------
  ------------------
  215|       |                /* invalid continuation byte */
  216|      0|                goto InvalidContinuation2;
  217|      0|            }
  218|      6|            if (!IS_CONTINUATION_BYTE(ch4)) {
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
  219|       |                /* invalid continuation byte */
  220|      0|                goto InvalidContinuation3;
  221|      0|            }
  222|      6|            ch = (ch << 18) + (ch2 << 12) + (ch3 << 6) + ch4 -
  223|      6|                 ((0xF0 << 18) + (0x80 << 12) + (0x80 << 6) + 0x80);
  224|      6|            assert ((ch > 0xFFFF) && (ch <= 0x10FFFF));
  ------------------
  |  Branch (224:13): [True: 6, False: 0]
  |  Branch (224:13): [True: 6, False: 0]
  ------------------
  225|      6|            s += 4;
  226|      6|            if (STRINGLIB_MAX_CHAR <= 0xFFFF ||
  ------------------
  |  |   10|      6|#define STRINGLIB_MAX_CHAR       0x7Fu
  ------------------
  |  Branch (226:17): [True: 6, 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|      6|                goto Return;
  230|      0|            *p++ = ch;
  231|      0|            continue;
  232|      6|        }
  233|      0|        goto InvalidStart;
  234|      6|    }
  235|      0|    ch = 0;
  236|     68|Return:
  237|     68|    *inptr = s;
  238|     68|    *outpos = p - dest;
  239|     68|    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|   219k|{
   27|   219k|    Py_UCS4 ch;
   28|   219k|    const char *s = *inptr;
   29|   219k|    STRINGLIB_CHAR *p = dest + *outpos;
  ------------------
  |  |   11|   219k|#define STRINGLIB_CHAR           Py_UCS1
  ------------------
   30|       |
   31|   440k|    while (s < end) {
  ------------------
  |  Branch (31:12): [True: 221k, False: 219k]
  ------------------
   32|   221k|        ch = (unsigned char)*s;
   33|       |
   34|   221k|        if (ch < 0x80) {
  ------------------
  |  Branch (34:13): [True: 1.49k, False: 219k]
  ------------------
   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.49k|            if (_Py_IS_ALIGNED(s, ALIGNOF_SIZE_T)) {
  ------------------
  |  |  246|  1.49k|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  |  |  ------------------
  |  |  |  Branch (246:30): [True: 213, False: 1.28k]
  |  |  ------------------
  ------------------
   43|       |                /* Help register allocation */
   44|    213|                const char *_s = s;
   45|    213|                STRINGLIB_CHAR *_p = p;
  ------------------
  |  |   11|    213|#define STRINGLIB_CHAR           Py_UCS1
  ------------------
   46|  2.65k|                while (_s + SIZEOF_SIZE_T <= end) {
  ------------------
  |  | 1955|  2.65k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (46:24): [True: 2.65k, 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.65k|                    size_t value = *(const size_t *) _s;
   51|  2.65k|                    if (value & ASCII_CHAR_MASK)
  ------------------
  |  |   12|  2.65k|# define ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
  |  Branch (51:25): [True: 213, False: 2.44k]
  ------------------
   52|    213|                        break;
   53|  2.44k|#if PY_LITTLE_ENDIAN
   54|  2.44k|                    _p[0] = (STRINGLIB_CHAR)(value & 0xFFu);
   55|  2.44k|                    _p[1] = (STRINGLIB_CHAR)((value >> 8) & 0xFFu);
   56|  2.44k|                    _p[2] = (STRINGLIB_CHAR)((value >> 16) & 0xFFu);
   57|  2.44k|                    _p[3] = (STRINGLIB_CHAR)((value >> 24) & 0xFFu);
   58|  2.44k|# if SIZEOF_SIZE_T == 8
   59|  2.44k|                    _p[4] = (STRINGLIB_CHAR)((value >> 32) & 0xFFu);
   60|  2.44k|                    _p[5] = (STRINGLIB_CHAR)((value >> 40) & 0xFFu);
   61|  2.44k|                    _p[6] = (STRINGLIB_CHAR)((value >> 48) & 0xFFu);
   62|  2.44k|                    _p[7] = (STRINGLIB_CHAR)((value >> 56) & 0xFFu);
   63|  2.44k|# endif
   64|       |#else
   65|       |# if SIZEOF_SIZE_T == 8
   66|       |                    _p[0] = (STRINGLIB_CHAR)((value >> 56) & 0xFFu);
   67|       |                    _p[1] = (STRINGLIB_CHAR)((value >> 48) & 0xFFu);
   68|       |                    _p[2] = (STRINGLIB_CHAR)((value >> 40) & 0xFFu);
   69|       |                    _p[3] = (STRINGLIB_CHAR)((value >> 32) & 0xFFu);
   70|       |                    _p[4] = (STRINGLIB_CHAR)((value >> 24) & 0xFFu);
   71|       |                    _p[5] = (STRINGLIB_CHAR)((value >> 16) & 0xFFu);
   72|       |                    _p[6] = (STRINGLIB_CHAR)((value >> 8) & 0xFFu);
   73|       |                    _p[7] = (STRINGLIB_CHAR)(value & 0xFFu);
   74|       |# else
   75|       |                    _p[0] = (STRINGLIB_CHAR)((value >> 24) & 0xFFu);
   76|       |                    _p[1] = (STRINGLIB_CHAR)((value >> 16) & 0xFFu);
   77|       |                    _p[2] = (STRINGLIB_CHAR)((value >> 8) & 0xFFu);
   78|       |                    _p[3] = (STRINGLIB_CHAR)(value & 0xFFu);
   79|       |# endif
   80|       |#endif
   81|  2.44k|                    _s += SIZEOF_SIZE_T;
  ------------------
  |  | 1955|  2.44k|#define SIZEOF_SIZE_T 8
  ------------------
   82|  2.44k|                    _p += SIZEOF_SIZE_T;
  ------------------
  |  | 1955|  2.44k|#define SIZEOF_SIZE_T 8
  ------------------
   83|  2.44k|                }
   84|    213|                s = _s;
   85|    213|                p = _p;
   86|    213|                if (s == end)
  ------------------
  |  Branch (86:21): [True: 0, False: 213]
  ------------------
   87|      0|                    break;
   88|    213|                ch = (unsigned char)*s;
   89|    213|            }
   90|  1.49k|            if (ch < 0x80) {
  ------------------
  |  Branch (90:17): [True: 1.49k, False: 0]
  ------------------
   91|  1.49k|                s++;
   92|  1.49k|                *p++ = ch;
   93|  1.49k|                continue;
   94|  1.49k|            }
   95|  1.49k|        }
   96|       |
   97|   219k|        if (ch < 0xE0) {
  ------------------
  |  Branch (97:13): [True: 219k, False: 96]
  ------------------
   98|       |            /* \xC2\x80-\xDF\xBF -- 0080-07FF */
   99|   219k|            Py_UCS4 ch2;
  100|   219k|            if (ch < 0xC2) {
  ------------------
  |  Branch (100:17): [True: 0, False: 219k]
  ------------------
  101|       |                /* invalid sequence
  102|       |                \x80-\xBF -- continuation byte
  103|       |                \xC0-\xC1 -- fake 0000-007F */
  104|      0|                goto InvalidStart;
  105|      0|            }
  106|   219k|            if (end - s < 2) {
  ------------------
  |  Branch (106:17): [True: 0, False: 219k]
  ------------------
  107|       |                /* unexpected end of data: the caller will decide whether
  108|       |                   it's an error or not */
  109|      0|                break;
  110|      0|            }
  111|   219k|            ch2 = (unsigned char)s[1];
  112|   219k|            if (!IS_CONTINUATION_BYTE(ch2))
  ------------------
  |  |   20|   219k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 219k, False: 0]
  |  |  |  Branch (20:51): [True: 219k, False: 0]
  |  |  ------------------
  ------------------
  113|       |                /* invalid continuation byte */
  114|      0|                goto InvalidContinuation1;
  115|   219k|            ch = (ch << 6) + ch2 -
  116|   219k|                 ((0xC0 << 6) + 0x80);
  117|   219k|            assert ((ch > 0x007F) && (ch <= 0x07FF));
  ------------------
  |  Branch (117:13): [True: 219k, False: 0]
  |  Branch (117:13): [True: 219k, False: 0]
  ------------------
  118|   219k|            s += 2;
  119|   219k|            if (STRINGLIB_MAX_CHAR <= 0x007F ||
  ------------------
  |  |   10|   219k|#define STRINGLIB_MAX_CHAR       0xFFu
  ------------------
  |  Branch (119:17): [Folded, False: 219k]
  ------------------
  120|   219k|                (STRINGLIB_MAX_CHAR < 0x07FF && ch > STRINGLIB_MAX_CHAR))
  ------------------
  |  |   10|   219k|#define STRINGLIB_MAX_CHAR       0xFFu
  ------------------
                              (STRINGLIB_MAX_CHAR < 0x07FF && ch > STRINGLIB_MAX_CHAR))
  ------------------
  |  |   10|   219k|#define STRINGLIB_MAX_CHAR       0xFFu
  ------------------
  |  Branch (120:18): [True: 219k, Folded]
  |  Branch (120:49): [True: 15, False: 219k]
  ------------------
  121|       |                /* Out-of-range */
  122|     15|                goto Return;
  123|   219k|            *p++ = ch;
  124|   219k|            continue;
  125|   219k|        }
  126|       |
  127|     96|        if (ch < 0xF0) {
  ------------------
  |  Branch (127:13): [True: 22, False: 74]
  ------------------
  128|       |            /* \xE0\xA0\x80-\xEF\xBF\xBF -- 0800-FFFF */
  129|     22|            Py_UCS4 ch2, ch3;
  130|     22|            if (end - s < 3) {
  ------------------
  |  Branch (130:17): [True: 0, False: 22]
  ------------------
  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|     22|            ch2 = (unsigned char)s[1];
  143|     22|            ch3 = (unsigned char)s[2];
  144|     22|            if (!IS_CONTINUATION_BYTE(ch2)) {
  ------------------
  |  |   20|     22|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 22, False: 0]
  |  |  |  Branch (20:51): [True: 22, False: 0]
  |  |  ------------------
  ------------------
  145|       |                /* invalid continuation byte */
  146|      0|                goto InvalidContinuation1;
  147|      0|            }
  148|     22|            if (ch == 0xE0) {
  ------------------
  |  Branch (148:17): [True: 0, False: 22]
  ------------------
  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|     22|            } else if (ch == 0xED && ch2 >= 0xA0) {
  ------------------
  |  Branch (153:24): [True: 0, False: 22]
  |  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|     22|            if (!IS_CONTINUATION_BYTE(ch3)) {
  ------------------
  |  |   20|     22|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 22, False: 0]
  |  |  |  Branch (20:51): [True: 22, False: 0]
  |  |  ------------------
  ------------------
  162|       |                /* invalid continuation byte */
  163|      0|                goto InvalidContinuation2;
  164|      0|            }
  165|     22|            ch = (ch << 12) + (ch2 << 6) + ch3 -
  166|     22|                 ((0xE0 << 12) + (0x80 << 6) + 0x80);
  167|     22|            assert ((ch > 0x07FF) && (ch <= 0xFFFF));
  ------------------
  |  Branch (167:13): [True: 22, False: 0]
  |  Branch (167:13): [True: 22, False: 0]
  ------------------
  168|     22|            s += 3;
  169|     22|            if (STRINGLIB_MAX_CHAR <= 0x07FF ||
  ------------------
  |  |   10|     22|#define STRINGLIB_MAX_CHAR       0xFFu
  ------------------
  |  Branch (169:17): [True: 22, 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|     22|                goto Return;
  173|      0|            *p++ = ch;
  174|      0|            continue;
  175|     22|        }
  176|       |
  177|     74|        if (ch < 0xF5) {
  ------------------
  |  Branch (177:13): [True: 74, False: 0]
  ------------------
  178|       |            /* \xF0\x90\x80\x80-\xF4\x8F\xBF\xBF -- 10000-10FFFF */
  179|     74|            Py_UCS4 ch2, ch3, ch4;
  180|     74|            if (end - s < 4) {
  ------------------
  |  Branch (180:17): [True: 0, False: 74]
  ------------------
  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|     74|            ch2 = (unsigned char)s[1];
  198|     74|            ch3 = (unsigned char)s[2];
  199|     74|            ch4 = (unsigned char)s[3];
  200|     74|            if (!IS_CONTINUATION_BYTE(ch2)) {
  ------------------
  |  |   20|     74|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 74, False: 0]
  |  |  |  Branch (20:51): [True: 74, False: 0]
  |  |  ------------------
  ------------------
  201|       |                /* invalid continuation byte */
  202|      0|                goto InvalidContinuation1;
  203|      0|            }
  204|     74|            if (ch == 0xF0) {
  ------------------
  |  Branch (204:17): [True: 0, False: 74]
  ------------------
  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|     74|            } else if (ch == 0xF4 && ch2 >= 0x90) {
  ------------------
  |  Branch (209:24): [True: 56, False: 18]
  |  Branch (209:38): [True: 0, False: 56]
  ------------------
  210|       |                /* invalid sequence
  211|       |                   \xF4\x90\x80\x80- -- 110000- overflow */
  212|      0|                goto InvalidContinuation1;
  213|      0|            }
  214|     74|            if (!IS_CONTINUATION_BYTE(ch3)) {
  ------------------
  |  |   20|     74|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 74, False: 0]
  |  |  |  Branch (20:51): [True: 74, False: 0]
  |  |  ------------------
  ------------------
  215|       |                /* invalid continuation byte */
  216|      0|                goto InvalidContinuation2;
  217|      0|            }
  218|     74|            if (!IS_CONTINUATION_BYTE(ch4)) {
  ------------------
  |  |   20|     74|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 74, False: 0]
  |  |  |  Branch (20:51): [True: 74, False: 0]
  |  |  ------------------
  ------------------
  219|       |                /* invalid continuation byte */
  220|      0|                goto InvalidContinuation3;
  221|      0|            }
  222|     74|            ch = (ch << 18) + (ch2 << 12) + (ch3 << 6) + ch4 -
  223|     74|                 ((0xF0 << 18) + (0x80 << 12) + (0x80 << 6) + 0x80);
  224|     74|            assert ((ch > 0xFFFF) && (ch <= 0x10FFFF));
  ------------------
  |  Branch (224:13): [True: 74, False: 0]
  |  Branch (224:13): [True: 74, False: 0]
  ------------------
  225|     74|            s += 4;
  226|     74|            if (STRINGLIB_MAX_CHAR <= 0xFFFF ||
  ------------------
  |  |   10|     74|#define STRINGLIB_MAX_CHAR       0xFFu
  ------------------
  |  Branch (226:17): [True: 74, 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|     74|                goto Return;
  230|      0|            *p++ = ch;
  231|      0|            continue;
  232|     74|        }
  233|      0|        goto InvalidStart;
  234|     74|    }
  235|   219k|    ch = 0;
  236|   219k|Return:
  237|   219k|    *inptr = s;
  238|   219k|    *outpos = p - dest;
  239|   219k|    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|   219k|}
unicodeobject.c:ucs2lib_utf8_decode:
   26|    102|{
   27|    102|    Py_UCS4 ch;
   28|    102|    const char *s = *inptr;
   29|    102|    STRINGLIB_CHAR *p = dest + *outpos;
  ------------------
  |  |   11|    102|#define STRINGLIB_CHAR           Py_UCS2
  ------------------
   30|       |
   31|  1.32k|    while (s < end) {
  ------------------
  |  Branch (31:12): [True: 1.24k, False: 80]
  ------------------
   32|  1.24k|        ch = (unsigned char)*s;
   33|       |
   34|  1.24k|        if (ch < 0x80) {
  ------------------
  |  Branch (34:13): [True: 862, False: 387]
  ------------------
   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|    862|            if (_Py_IS_ALIGNED(s, ALIGNOF_SIZE_T)) {
  ------------------
  |  |  246|    862|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  |  |  ------------------
  |  |  |  Branch (246:30): [True: 161, False: 701]
  |  |  ------------------
  ------------------
   43|       |                /* Help register allocation */
   44|    161|                const char *_s = s;
   45|    161|                STRINGLIB_CHAR *_p = p;
  ------------------
  |  |   11|    161|#define STRINGLIB_CHAR           Py_UCS2
  ------------------
   46|  3.79M|                while (_s + SIZEOF_SIZE_T <= end) {
  ------------------
  |  | 1955|  3.79M|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (46:24): [True: 3.79M, False: 32]
  ------------------
   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.79M|                    size_t value = *(const size_t *) _s;
   51|  3.79M|                    if (value & ASCII_CHAR_MASK)
  ------------------
  |  |   12|  3.79M|# define ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
  |  Branch (51:25): [True: 129, False: 3.79M]
  ------------------
   52|    129|                        break;
   53|  3.79M|#if PY_LITTLE_ENDIAN
   54|  3.79M|                    _p[0] = (STRINGLIB_CHAR)(value & 0xFFu);
   55|  3.79M|                    _p[1] = (STRINGLIB_CHAR)((value >> 8) & 0xFFu);
   56|  3.79M|                    _p[2] = (STRINGLIB_CHAR)((value >> 16) & 0xFFu);
   57|  3.79M|                    _p[3] = (STRINGLIB_CHAR)((value >> 24) & 0xFFu);
   58|  3.79M|# if SIZEOF_SIZE_T == 8
   59|  3.79M|                    _p[4] = (STRINGLIB_CHAR)((value >> 32) & 0xFFu);
   60|  3.79M|                    _p[5] = (STRINGLIB_CHAR)((value >> 40) & 0xFFu);
   61|  3.79M|                    _p[6] = (STRINGLIB_CHAR)((value >> 48) & 0xFFu);
   62|  3.79M|                    _p[7] = (STRINGLIB_CHAR)((value >> 56) & 0xFFu);
   63|  3.79M|# 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.79M|                    _s += SIZEOF_SIZE_T;
  ------------------
  |  | 1955|  3.79M|#define SIZEOF_SIZE_T 8
  ------------------
   82|  3.79M|                    _p += SIZEOF_SIZE_T;
  ------------------
  |  | 1955|  3.79M|#define SIZEOF_SIZE_T 8
  ------------------
   83|  3.79M|                }
   84|    161|                s = _s;
   85|    161|                p = _p;
   86|    161|                if (s == end)
  ------------------
  |  Branch (86:21): [True: 0, False: 161]
  ------------------
   87|      0|                    break;
   88|    161|                ch = (unsigned char)*s;
   89|    161|            }
   90|    862|            if (ch < 0x80) {
  ------------------
  |  Branch (90:17): [True: 836, False: 26]
  ------------------
   91|    836|                s++;
   92|    836|                *p++ = ch;
   93|    836|                continue;
   94|    836|            }
   95|    862|        }
   96|       |
   97|    413|        if (ch < 0xE0) {
  ------------------
  |  Branch (97:13): [True: 127, False: 286]
  ------------------
   98|       |            /* \xC2\x80-\xDF\xBF -- 0080-07FF */
   99|    127|            Py_UCS4 ch2;
  100|    127|            if (ch < 0xC2) {
  ------------------
  |  Branch (100:17): [True: 0, False: 127]
  ------------------
  101|       |                /* invalid sequence
  102|       |                \x80-\xBF -- continuation byte
  103|       |                \xC0-\xC1 -- fake 0000-007F */
  104|      0|                goto InvalidStart;
  105|      0|            }
  106|    127|            if (end - s < 2) {
  ------------------
  |  Branch (106:17): [True: 0, False: 127]
  ------------------
  107|       |                /* unexpected end of data: the caller will decide whether
  108|       |                   it's an error or not */
  109|      0|                break;
  110|      0|            }
  111|    127|            ch2 = (unsigned char)s[1];
  112|    127|            if (!IS_CONTINUATION_BYTE(ch2))
  ------------------
  |  |   20|    127|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 127, False: 0]
  |  |  |  Branch (20:51): [True: 127, False: 0]
  |  |  ------------------
  ------------------
  113|       |                /* invalid continuation byte */
  114|      0|                goto InvalidContinuation1;
  115|    127|            ch = (ch << 6) + ch2 -
  116|    127|                 ((0xC0 << 6) + 0x80);
  117|    127|            assert ((ch > 0x007F) && (ch <= 0x07FF));
  ------------------
  |  Branch (117:13): [True: 127, False: 0]
  |  Branch (117:13): [True: 127, False: 0]
  ------------------
  118|    127|            s += 2;
  119|    127|            if (STRINGLIB_MAX_CHAR <= 0x007F ||
  ------------------
  |  |   10|    127|#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|    127|            *p++ = ch;
  124|    127|            continue;
  125|    127|        }
  126|       |
  127|    286|        if (ch < 0xF0) {
  ------------------
  |  Branch (127:13): [True: 265, False: 21]
  ------------------
  128|       |            /* \xE0\xA0\x80-\xEF\xBF\xBF -- 0800-FFFF */
  129|    265|            Py_UCS4 ch2, ch3;
  130|    265|            if (end - s < 3) {
  ------------------
  |  Branch (130:17): [True: 0, False: 265]
  ------------------
  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|    265|            ch2 = (unsigned char)s[1];
  143|    265|            ch3 = (unsigned char)s[2];
  144|    265|            if (!IS_CONTINUATION_BYTE(ch2)) {
  ------------------
  |  |   20|    265|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 264, False: 1]
  |  |  |  Branch (20:51): [True: 264, False: 0]
  |  |  ------------------
  ------------------
  145|       |                /* invalid continuation byte */
  146|      1|                goto InvalidContinuation1;
  147|      1|            }
  148|    264|            if (ch == 0xE0) {
  ------------------
  |  Branch (148:17): [True: 6, False: 258]
  ------------------
  149|      6|                if (ch2 < 0xA0)
  ------------------
  |  Branch (149:21): [True: 0, False: 6]
  ------------------
  150|       |                    /* invalid sequence
  151|       |                       \xE0\x80\x80-\xE0\x9F\xBF -- fake 0000-0800 */
  152|      0|                    goto InvalidContinuation1;
  153|    258|            } else if (ch == 0xED && ch2 >= 0xA0) {
  ------------------
  |  Branch (153:24): [True: 0, False: 258]
  |  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|    264|            if (!IS_CONTINUATION_BYTE(ch3)) {
  ------------------
  |  |   20|    264|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 264, False: 0]
  |  |  |  Branch (20:51): [True: 264, False: 0]
  |  |  ------------------
  ------------------
  162|       |                /* invalid continuation byte */
  163|      0|                goto InvalidContinuation2;
  164|      0|            }
  165|    264|            ch = (ch << 12) + (ch2 << 6) + ch3 -
  166|    264|                 ((0xE0 << 12) + (0x80 << 6) + 0x80);
  167|    264|            assert ((ch > 0x07FF) && (ch <= 0xFFFF));
  ------------------
  |  Branch (167:13): [True: 264, False: 0]
  |  Branch (167:13): [True: 264, False: 0]
  ------------------
  168|    264|            s += 3;
  169|    264|            if (STRINGLIB_MAX_CHAR <= 0x07FF ||
  ------------------
  |  |   10|    264|#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|    264|            *p++ = ch;
  174|    264|            continue;
  175|    264|        }
  176|       |
  177|     21|        if (ch < 0xF5) {
  ------------------
  |  Branch (177:13): [True: 21, False: 0]
  ------------------
  178|       |            /* \xF0\x90\x80\x80-\xF4\x8F\xBF\xBF -- 10000-10FFFF */
  179|     21|            Py_UCS4 ch2, ch3, ch4;
  180|     21|            if (end - s < 4) {
  ------------------
  |  Branch (180:17): [True: 0, False: 21]
  ------------------
  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|     21|            ch2 = (unsigned char)s[1];
  198|     21|            ch3 = (unsigned char)s[2];
  199|     21|            ch4 = (unsigned char)s[3];
  200|     21|            if (!IS_CONTINUATION_BYTE(ch2)) {
  ------------------
  |  |   20|     21|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 21, False: 0]
  |  |  |  Branch (20:51): [True: 21, False: 0]
  |  |  ------------------
  ------------------
  201|       |                /* invalid continuation byte */
  202|      0|                goto InvalidContinuation1;
  203|      0|            }
  204|     21|            if (ch == 0xF0) {
  ------------------
  |  Branch (204:17): [True: 6, False: 15]
  ------------------
  205|      6|                if (ch2 < 0x90)
  ------------------
  |  Branch (205:21): [True: 0, False: 6]
  ------------------
  206|       |                    /* invalid sequence
  207|       |                       \xF0\x80\x80\x80-\xF0\x8F\xBF\xBF -- fake 0000-FFFF */
  208|      0|                    goto InvalidContinuation1;
  209|     15|            } else if (ch == 0xF4 && ch2 >= 0x90) {
  ------------------
  |  Branch (209:24): [True: 0, False: 15]
  |  Branch (209:38): [True: 0, False: 0]
  ------------------
  210|       |                /* invalid sequence
  211|       |                   \xF4\x90\x80\x80- -- 110000- overflow */
  212|      0|                goto InvalidContinuation1;
  213|      0|            }
  214|     21|            if (!IS_CONTINUATION_BYTE(ch3)) {
  ------------------
  |  |   20|     21|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 21, False: 0]
  |  |  |  Branch (20:51): [True: 21, False: 0]
  |  |  ------------------
  ------------------
  215|       |                /* invalid continuation byte */
  216|      0|                goto InvalidContinuation2;
  217|      0|            }
  218|     21|            if (!IS_CONTINUATION_BYTE(ch4)) {
  ------------------
  |  |   20|     21|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 21, False: 0]
  |  |  |  Branch (20:51): [True: 21, False: 0]
  |  |  ------------------
  ------------------
  219|       |                /* invalid continuation byte */
  220|      0|                goto InvalidContinuation3;
  221|      0|            }
  222|     21|            ch = (ch << 18) + (ch2 << 12) + (ch3 << 6) + ch4 -
  223|     21|                 ((0xF0 << 18) + (0x80 << 12) + (0x80 << 6) + 0x80);
  224|     21|            assert ((ch > 0xFFFF) && (ch <= 0x10FFFF));
  ------------------
  |  Branch (224:13): [True: 21, False: 0]
  |  Branch (224:13): [True: 21, False: 0]
  ------------------
  225|     21|            s += 4;
  226|     21|            if (STRINGLIB_MAX_CHAR <= 0xFFFF ||
  ------------------
  |  |   10|     21|#define STRINGLIB_MAX_CHAR       0xFFFFu
  ------------------
  |  Branch (226:17): [True: 21, 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|     21|                goto Return;
  230|      0|            *p++ = ch;
  231|      0|            continue;
  232|     21|        }
  233|      0|        goto InvalidStart;
  234|     21|    }
  235|     80|    ch = 0;
  236|    102|Return:
  237|    102|    *inptr = s;
  238|    102|    *outpos = p - dest;
  239|    102|    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|     80|}
unicodeobject.c:ucs4lib_utf8_decode:
   26|  58.9k|{
   27|  58.9k|    Py_UCS4 ch;
   28|  58.9k|    const char *s = *inptr;
   29|  58.9k|    STRINGLIB_CHAR *p = dest + *outpos;
  ------------------
  |  |   11|  58.9k|#define STRINGLIB_CHAR           Py_UCS4
  ------------------
   30|       |
   31|  4.60M|    while (s < end) {
  ------------------
  |  Branch (31:12): [True: 4.54M, False: 58.8k]
  ------------------
   32|  4.54M|        ch = (unsigned char)*s;
   33|       |
   34|  4.54M|        if (ch < 0x80) {
  ------------------
  |  Branch (34:13): [True: 3.90M, False: 638k]
  ------------------
   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.90M|            if (_Py_IS_ALIGNED(s, ALIGNOF_SIZE_T)) {
  ------------------
  |  |  246|  3.90M|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  |  |  ------------------
  |  |  |  Branch (246:30): [True: 543k, False: 3.35M]
  |  |  ------------------
  ------------------
   43|       |                /* Help register allocation */
   44|   543k|                const char *_s = s;
   45|   543k|                STRINGLIB_CHAR *_p = p;
  ------------------
  |  |   11|   543k|#define STRINGLIB_CHAR           Py_UCS4
  ------------------
   46|  10.0M|                while (_s + SIZEOF_SIZE_T <= end) {
  ------------------
  |  | 1955|  10.0M|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (46:24): [True: 10.0M, False: 715]
  ------------------
   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|  10.0M|                    size_t value = *(const size_t *) _s;
   51|  10.0M|                    if (value & ASCII_CHAR_MASK)
  ------------------
  |  |   12|  10.0M|# define ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
  |  Branch (51:25): [True: 543k, False: 9.50M]
  ------------------
   52|   543k|                        break;
   53|  9.50M|#if PY_LITTLE_ENDIAN
   54|  9.50M|                    _p[0] = (STRINGLIB_CHAR)(value & 0xFFu);
   55|  9.50M|                    _p[1] = (STRINGLIB_CHAR)((value >> 8) & 0xFFu);
   56|  9.50M|                    _p[2] = (STRINGLIB_CHAR)((value >> 16) & 0xFFu);
   57|  9.50M|                    _p[3] = (STRINGLIB_CHAR)((value >> 24) & 0xFFu);
   58|  9.50M|# if SIZEOF_SIZE_T == 8
   59|  9.50M|                    _p[4] = (STRINGLIB_CHAR)((value >> 32) & 0xFFu);
   60|  9.50M|                    _p[5] = (STRINGLIB_CHAR)((value >> 40) & 0xFFu);
   61|  9.50M|                    _p[6] = (STRINGLIB_CHAR)((value >> 48) & 0xFFu);
   62|  9.50M|                    _p[7] = (STRINGLIB_CHAR)((value >> 56) & 0xFFu);
   63|  9.50M|# 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|  9.50M|                    _s += SIZEOF_SIZE_T;
  ------------------
  |  | 1955|  9.50M|#define SIZEOF_SIZE_T 8
  ------------------
   82|  9.50M|                    _p += SIZEOF_SIZE_T;
  ------------------
  |  | 1955|  9.50M|#define SIZEOF_SIZE_T 8
  ------------------
   83|  9.50M|                }
   84|   543k|                s = _s;
   85|   543k|                p = _p;
   86|   543k|                if (s == end)
  ------------------
  |  Branch (86:21): [True: 59, False: 543k]
  ------------------
   87|     59|                    break;
   88|   543k|                ch = (unsigned char)*s;
   89|   543k|            }
   90|  3.90M|            if (ch < 0x80) {
  ------------------
  |  Branch (90:17): [True: 3.83M, False: 63.5k]
  ------------------
   91|  3.83M|                s++;
   92|  3.83M|                *p++ = ch;
   93|  3.83M|                continue;
   94|  3.83M|            }
   95|  3.90M|        }
   96|       |
   97|   702k|        if (ch < 0xE0) {
  ------------------
  |  Branch (97:13): [True: 509k, False: 193k]
  ------------------
   98|       |            /* \xC2\x80-\xDF\xBF -- 0080-07FF */
   99|   509k|            Py_UCS4 ch2;
  100|   509k|            if (ch < 0xC2) {
  ------------------
  |  Branch (100:17): [True: 0, False: 509k]
  ------------------
  101|       |                /* invalid sequence
  102|       |                \x80-\xBF -- continuation byte
  103|       |                \xC0-\xC1 -- fake 0000-007F */
  104|      0|                goto InvalidStart;
  105|      0|            }
  106|   509k|            if (end - s < 2) {
  ------------------
  |  Branch (106:17): [True: 0, False: 509k]
  ------------------
  107|       |                /* unexpected end of data: the caller will decide whether
  108|       |                   it's an error or not */
  109|      0|                break;
  110|      0|            }
  111|   509k|            ch2 = (unsigned char)s[1];
  112|   509k|            if (!IS_CONTINUATION_BYTE(ch2))
  ------------------
  |  |   20|   509k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 509k, False: 0]
  |  |  |  Branch (20:51): [True: 509k, False: 0]
  |  |  ------------------
  ------------------
  113|       |                /* invalid continuation byte */
  114|      0|                goto InvalidContinuation1;
  115|   509k|            ch = (ch << 6) + ch2 -
  116|   509k|                 ((0xC0 << 6) + 0x80);
  117|   509k|            assert ((ch > 0x007F) && (ch <= 0x07FF));
  ------------------
  |  Branch (117:13): [True: 509k, False: 0]
  |  Branch (117:13): [True: 509k, False: 0]
  ------------------
  118|   509k|            s += 2;
  119|   509k|            if (STRINGLIB_MAX_CHAR <= 0x007F ||
  ------------------
  |  |   10|   509k|#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|   509k|            *p++ = ch;
  124|   509k|            continue;
  125|   509k|        }
  126|       |
  127|   193k|        if (ch < 0xF0) {
  ------------------
  |  Branch (127:13): [True: 184, False: 193k]
  ------------------
  128|       |            /* \xE0\xA0\x80-\xEF\xBF\xBF -- 0800-FFFF */
  129|    184|            Py_UCS4 ch2, ch3;
  130|    184|            if (end - s < 3) {
  ------------------
  |  Branch (130:17): [True: 0, False: 184]
  ------------------
  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|    184|            ch2 = (unsigned char)s[1];
  143|    184|            ch3 = (unsigned char)s[2];
  144|    184|            if (!IS_CONTINUATION_BYTE(ch2)) {
  ------------------
  |  |   20|    184|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 184, False: 0]
  |  |  |  Branch (20:51): [True: 184, False: 0]
  |  |  ------------------
  ------------------
  145|       |                /* invalid continuation byte */
  146|      0|                goto InvalidContinuation1;
  147|      0|            }
  148|    184|            if (ch == 0xE0) {
  ------------------
  |  Branch (148:17): [True: 4, False: 180]
  ------------------
  149|      4|                if (ch2 < 0xA0)
  ------------------
  |  Branch (149:21): [True: 0, False: 4]
  ------------------
  150|       |                    /* invalid sequence
  151|       |                       \xE0\x80\x80-\xE0\x9F\xBF -- fake 0000-0800 */
  152|      0|                    goto InvalidContinuation1;
  153|    180|            } else if (ch == 0xED && ch2 >= 0xA0) {
  ------------------
  |  Branch (153:24): [True: 20, False: 160]
  |  Branch (153:38): [True: 0, False: 20]
  ------------------
  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|    184|            if (!IS_CONTINUATION_BYTE(ch3)) {
  ------------------
  |  |   20|    184|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 184, False: 0]
  |  |  |  Branch (20:51): [True: 184, False: 0]
  |  |  ------------------
  ------------------
  162|       |                /* invalid continuation byte */
  163|      0|                goto InvalidContinuation2;
  164|      0|            }
  165|    184|            ch = (ch << 12) + (ch2 << 6) + ch3 -
  166|    184|                 ((0xE0 << 12) + (0x80 << 6) + 0x80);
  167|    184|            assert ((ch > 0x07FF) && (ch <= 0xFFFF));
  ------------------
  |  Branch (167:13): [True: 184, False: 0]
  |  Branch (167:13): [True: 184, False: 0]
  ------------------
  168|    184|            s += 3;
  169|    184|            if (STRINGLIB_MAX_CHAR <= 0x07FF ||
  ------------------
  |  |   10|    184|#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|    184|            *p++ = ch;
  174|    184|            continue;
  175|    184|        }
  176|       |
  177|   193k|        if (ch < 0xF5) {
  ------------------
  |  Branch (177:13): [True: 193k, False: 1]
  ------------------
  178|       |            /* \xF0\x90\x80\x80-\xF4\x8F\xBF\xBF -- 10000-10FFFF */
  179|   193k|            Py_UCS4 ch2, ch3, ch4;
  180|   193k|            if (end - s < 4) {
  ------------------
  |  Branch (180:17): [True: 0, False: 193k]
  ------------------
  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|   193k|            ch2 = (unsigned char)s[1];
  198|   193k|            ch3 = (unsigned char)s[2];
  199|   193k|            ch4 = (unsigned char)s[3];
  200|   193k|            if (!IS_CONTINUATION_BYTE(ch2)) {
  ------------------
  |  |   20|   193k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 193k, False: 0]
  |  |  |  Branch (20:51): [True: 193k, False: 0]
  |  |  ------------------
  ------------------
  201|       |                /* invalid continuation byte */
  202|      0|                goto InvalidContinuation1;
  203|      0|            }
  204|   193k|            if (ch == 0xF0) {
  ------------------
  |  Branch (204:17): [True: 43, False: 193k]
  ------------------
  205|     43|                if (ch2 < 0x90)
  ------------------
  |  Branch (205:21): [True: 0, False: 43]
  ------------------
  206|       |                    /* invalid sequence
  207|       |                       \xF0\x80\x80\x80-\xF0\x8F\xBF\xBF -- fake 0000-FFFF */
  208|      0|                    goto InvalidContinuation1;
  209|   193k|            } else if (ch == 0xF4 && ch2 >= 0x90) {
  ------------------
  |  Branch (209:24): [True: 192k, False: 197]
  |  Branch (209:38): [True: 0, False: 192k]
  ------------------
  210|       |                /* invalid sequence
  211|       |                   \xF4\x90\x80\x80- -- 110000- overflow */
  212|      0|                goto InvalidContinuation1;
  213|      0|            }
  214|   193k|            if (!IS_CONTINUATION_BYTE(ch3)) {
  ------------------
  |  |   20|   193k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 193k, False: 0]
  |  |  |  Branch (20:51): [True: 193k, False: 0]
  |  |  ------------------
  ------------------
  215|       |                /* invalid continuation byte */
  216|      0|                goto InvalidContinuation2;
  217|      0|            }
  218|   193k|            if (!IS_CONTINUATION_BYTE(ch4)) {
  ------------------
  |  |   20|   193k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 193k, False: 0]
  |  |  |  Branch (20:51): [True: 193k, False: 0]
  |  |  ------------------
  ------------------
  219|       |                /* invalid continuation byte */
  220|      0|                goto InvalidContinuation3;
  221|      0|            }
  222|   193k|            ch = (ch << 18) + (ch2 << 12) + (ch3 << 6) + ch4 -
  223|   193k|                 ((0xF0 << 18) + (0x80 << 12) + (0x80 << 6) + 0x80);
  224|   193k|            assert ((ch > 0xFFFF) && (ch <= 0x10FFFF));
  ------------------
  |  Branch (224:13): [True: 193k, False: 0]
  |  Branch (224:13): [True: 193k, False: 0]
  ------------------
  225|   193k|            s += 4;
  226|   193k|            if (STRINGLIB_MAX_CHAR <= 0xFFFF ||
  ------------------
  |  |   10|   193k|#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|   193k|            *p++ = ch;
  231|   193k|            continue;
  232|   193k|        }
  233|      1|        goto InvalidStart;
  234|   193k|    }
  235|  58.9k|    ch = 0;
  236|  58.9k|Return:
  237|  58.9k|    *inptr = s;
  238|  58.9k|    *outpos = p - dest;
  239|  58.9k|    return ch;
  240|      1|InvalidStart:
  241|      1|    ch = 1;
  242|      1|    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|  58.9k|}

dictobject.c:unicode_eq:
    8|  4.69k|{
    9|  4.69k|    Py_ssize_t len = PyUnicode_GET_LENGTH(str1);
  ------------------
  |  |  299|  4.69k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.69k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.69k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   10|  4.69k|    if (PyUnicode_GET_LENGTH(str2) != len) {
  ------------------
  |  |  299|  4.69k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.69k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.69k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10:9): [True: 0, False: 4.69k]
  ------------------
   11|      0|        return 0;
   12|      0|    }
   13|       |
   14|  4.69k|    int kind = PyUnicode_KIND(str1);
  ------------------
  |  |  258|  4.69k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|  9.39k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 4.69k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   15|  9.39k|    if (PyUnicode_KIND(str2) != kind) {
  ------------------
  |  |  258|  4.69k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|  9.39k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 4.69k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (15:9): [True: 0, False: 4.69k]
  ------------------
   16|      0|        return 0;
   17|      0|    }
   18|       |
   19|  4.69k|    const void *data1 = PyUnicode_DATA(str1);
  ------------------
  |  |  284|  4.69k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.69k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.69k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   20|  4.69k|    const void *data2 = PyUnicode_DATA(str2);
  ------------------
  |  |  284|  4.69k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.69k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.69k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   21|  4.69k|    return (memcmp(data1, data2, len * kind) == 0);
   22|  4.69k|}
setobject.c:unicode_eq:
    8|     30|{
    9|     30|    Py_ssize_t len = PyUnicode_GET_LENGTH(str1);
  ------------------
  |  |  299|     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) {
  ------------------
  |  |  299|     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);
  ------------------
  |  |  258|     30|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|     60|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 30, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   15|     60|    if (PyUnicode_KIND(str2) != kind) {
  ------------------
  |  |  258|     30|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|     60|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302: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);
  ------------------
  |  |  284|     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);
  ------------------
  |  |  284|     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.2k|{
    9|  12.2k|    Py_ssize_t len = PyUnicode_GET_LENGTH(str1);
  ------------------
  |  |  299|  12.2k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   10|  12.2k|    if (PyUnicode_GET_LENGTH(str2) != len) {
  ------------------
  |  |  299|  12.2k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10:9): [True: 3.15k, False: 9.07k]
  ------------------
   11|  3.15k|        return 0;
   12|  3.15k|    }
   13|       |
   14|  9.07k|    int kind = PyUnicode_KIND(str1);
  ------------------
  |  |  258|  9.07k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|  18.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 9.07k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   15|  18.1k|    if (PyUnicode_KIND(str2) != kind) {
  ------------------
  |  |  258|  9.07k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|  18.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 9.07k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (15:9): [True: 0, False: 9.07k]
  ------------------
   16|      0|        return 0;
   17|      0|    }
   18|       |
   19|  9.07k|    const void *data1 = PyUnicode_DATA(str1);
  ------------------
  |  |  284|  9.07k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.07k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.07k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   20|  9.07k|    const void *data2 = PyUnicode_DATA(str2);
  ------------------
  |  |  284|  9.07k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.07k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.07k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   21|  9.07k|    return (memcmp(data1, data2, len * kind) == 0);
   22|  9.07k|}

unicodeobject.c:ucs1lib_find_char:
   51|    792|{
   52|    792|    const STRINGLIB_CHAR *p, *e;
   53|       |
   54|    792|    p = s;
   55|    792|    e = s + n;
   56|    792|    if (n > MEMCHR_CUT_OFF) {
  ------------------
  |  |   44|    792|#  define MEMCHR_CUT_OFF 15
  ------------------
  |  Branch (56:9): [True: 46, False: 746]
  ------------------
   57|     46|#ifdef STRINGLIB_FAST_MEMCHR
   58|     46|        p = STRINGLIB_FAST_MEMCHR(s, ch, n);
  ------------------
  |  |   23|     46|#define STRINGLIB_FAST_MEMCHR    memchr
  ------------------
   59|     46|        if (p != NULL)
  ------------------
  |  Branch (59:13): [True: 32, False: 14]
  ------------------
   60|     32|            return (p - s);
   61|     14|        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|     46|    }
   98|  3.91k|    while (p < e) {
  ------------------
  |  Branch (98:12): [True: 3.21k, False: 706]
  ------------------
   99|  3.21k|        if (*p == ch)
  ------------------
  |  Branch (99:13): [True: 40, False: 3.17k]
  ------------------
  100|     40|            return (p - s);
  101|  3.17k|        p++;
  102|  3.17k|    }
  103|    706|    return -1;
  104|    746|}
unicodeobject.c:ucs1lib_rfind_char:
  117|     60|{
  118|     60|    const STRINGLIB_CHAR *p;
  119|     60|#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|     60|    if (n > MEMRCHR_CUT_OFF) {
  ------------------
  |  |  109|     60|#  define MEMRCHR_CUT_OFF 15
  ------------------
  |  Branch (125:9): [True: 41, False: 19]
  ------------------
  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|     19|#endif  /* HAVE_MEMRCHR */
  170|     19|    p = s + n;
  171|    152|    while (p > s) {
  ------------------
  |  Branch (171:12): [True: 139, False: 13]
  ------------------
  172|    139|        p--;
  173|    139|        if (*p == ch)
  ------------------
  |  Branch (173:13): [True: 6, False: 133]
  ------------------
  174|      6|            return (p - s);
  175|    139|    }
  176|     13|    return -1;
  177|     19|}
unicodeobject.c:asciilib_fastsearch:
  776|    256|{
  777|    256|    if (n < m || (mode == FAST_COUNT && maxcount == 0)) {
  ------------------
  |  |   24|    512|#define FAST_COUNT 0
  ------------------
  |  Branch (777:9): [True: 0, False: 256]
  |  Branch (777:19): [True: 0, False: 256]
  |  Branch (777:41): [True: 0, False: 0]
  ------------------
  778|      0|        return -1;
  779|      0|    }
  780|       |
  781|       |    /* look for special cases */
  782|    256|    if (m <= 1) {
  ------------------
  |  Branch (782:9): [True: 256, False: 0]
  ------------------
  783|    256|        if (m <= 0) {
  ------------------
  |  Branch (783:13): [True: 0, False: 256]
  ------------------
  784|      0|            return -1;
  785|      0|        }
  786|       |        /* use special case for 1-character strings */
  787|    256|        if (mode == FAST_SEARCH)
  ------------------
  |  |   25|    256|#define FAST_SEARCH 1
  ------------------
  |  Branch (787:13): [True: 0, False: 256]
  ------------------
  788|      0|            return STRINGLIB(find_char)(s, n, p[0]);
  ------------------
  |  |    7|      0|#define STRINGLIB(F)             asciilib_##F
  ------------------
  789|    256|        else if (mode == FAST_RSEARCH)
  ------------------
  |  |   26|    256|#define FAST_RSEARCH 2
  ------------------
  |  Branch (789:18): [True: 256, False: 0]
  ------------------
  790|    256|            return STRINGLIB(rfind_char)(s, n, p[0]);
  ------------------
  |  |    7|    256|#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|    256|    }
  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|    256|{
  118|    256|    const STRINGLIB_CHAR *p;
  119|    256|#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|    256|    if (n > MEMRCHR_CUT_OFF) {
  ------------------
  |  |  109|    256|#  define MEMRCHR_CUT_OFF 15
  ------------------
  |  Branch (125:9): [True: 28, False: 228]
  ------------------
  126|     28|#if STRINGLIB_SIZEOF_CHAR == 1
  127|     28|        p = memrchr(s, ch, n);
  128|     28|        if (p != NULL)
  ------------------
  |  Branch (128:13): [True: 18, False: 10]
  ------------------
  129|     18|            return (p - s);
  130|     10|        return -1;
  131|       |#else
  132|       |        /* use memrchr if we can choose a needle without too many likely
  133|       |           false positives */
  134|       |        const STRINGLIB_CHAR *s1;
  135|       |        Py_ssize_t n1;
  136|       |        unsigned char needle = ch & 0xff;
  137|       |        /* If looking for a multiple of 256, we'd have too
  138|       |           many false positives looking for the '\0' byte in UCS2
  139|       |           and UCS4 representations. */
  140|       |        if (needle != 0) {
  141|       |            do {
  142|       |                void *candidate = memrchr(s, needle,
  143|       |                                          n * sizeof(STRINGLIB_CHAR));
  144|       |                if (candidate == NULL)
  145|       |                    return -1;
  146|       |                n1 = n;
  147|       |                p = (const STRINGLIB_CHAR *)
  148|       |                        _Py_ALIGN_DOWN(candidate, sizeof(STRINGLIB_CHAR));
  149|       |                n = p - s;
  150|       |                if (*p == ch)
  151|       |                    return n;
  152|       |                /* False positive */
  153|       |                if (n1 - n > MEMRCHR_CUT_OFF)
  154|       |                    continue;
  155|       |                if (n <= MEMRCHR_CUT_OFF)
  156|       |                    break;
  157|       |                s1 = p - MEMRCHR_CUT_OFF;
  158|       |                while (p > s1) {
  159|       |                    p--;
  160|       |                    if (*p == ch)
  161|       |                        return (p - s);
  162|       |                }
  163|       |                n = p - s;
  164|       |            }
  165|       |            while (n > MEMRCHR_CUT_OFF);
  166|       |        }
  167|       |#endif
  168|     28|    }
  169|    228|#endif  /* HAVE_MEMRCHR */
  170|    228|    p = s + n;
  171|  1.79k|    while (p > s) {
  ------------------
  |  Branch (171:12): [True: 1.62k, False: 168]
  ------------------
  172|  1.62k|        p--;
  173|  1.62k|        if (*p == ch)
  ------------------
  |  Branch (173:13): [True: 60, False: 1.56k]
  ------------------
  174|     60|            return (p - s);
  175|  1.62k|    }
  176|    168|    return -1;
  177|    228|}
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);
  ------------------
  |  |  383|     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:
   22|    432|{
   23|    432|    const unsigned char *p = (const unsigned char *) begin;
   24|    432|    const unsigned char *_end = (const unsigned char *)end;
   25|       |
   26|  1.96k|    while (p < _end) {
  ------------------
  |  Branch (26:12): [True: 1.53k, False: 430]
  ------------------
   27|  1.53k|        if (_Py_IS_ALIGNED(p, ALIGNOF_SIZE_T)) {
  ------------------
  |  |  246|  1.53k|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  |  |  ------------------
  |  |  |  Branch (246:30): [True: 267, False: 1.26k]
  |  |  ------------------
  ------------------
   28|       |            /* Help register allocation */
   29|    267|            const unsigned char *_p = p;
   30|    938|            while (_p + SIZEOF_SIZE_T <= _end) {
  ------------------
  |  | 1955|    938|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (30:20): [True: 671, False: 267]
  ------------------
   31|    671|                size_t value = *(const size_t *) _p;
   32|    671|                if (value & UCS1_ASCII_CHAR_MASK)
  ------------------
  |  |   11|    671|# define UCS1_ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
  |  Branch (32:21): [True: 0, False: 671]
  ------------------
   33|      0|                    return 255;
   34|    671|                _p += SIZEOF_SIZE_T;
  ------------------
  |  | 1955|    671|#define SIZEOF_SIZE_T 8
  ------------------
   35|    671|            }
   36|    267|            p = _p;
   37|    267|            if (p == _end)
  ------------------
  |  Branch (37:17): [True: 2, False: 265]
  ------------------
   38|      2|                break;
   39|    267|        }
   40|  1.53k|        if (*p++ & 0x80)
  ------------------
  |  Branch (40:13): [True: 0, False: 1.53k]
  ------------------
   41|      0|            return 255;
   42|  1.53k|    }
   43|    432|    return 127;
   44|    432|}
unicodeobject.c:ucs4lib_find_max_char:
   61|     25|{
   62|       |#if STRINGLIB_SIZEOF_CHAR == 2
   63|       |    const Py_UCS4 mask_limit = MASK_UCS1;
   64|       |    const Py_UCS4 max_char_limit = MAX_CHAR_UCS2;
   65|       |#elif STRINGLIB_SIZEOF_CHAR == 4
   66|     25|    const Py_UCS4 mask_limit = MASK_UCS2;
  ------------------
  |  |   52|     25|#define MASK_UCS2 0xFFFF0000
  ------------------
   67|     25|    const Py_UCS4 max_char_limit = MAX_CHAR_UCS4;
  ------------------
  |  |   57|     25|#define MAX_CHAR_UCS4  0x10ffff
  ------------------
   68|       |#else
   69|       |#error Invalid STRINGLIB_SIZEOF_CHAR (must be 1, 2 or 4)
   70|       |#endif
   71|     25|    Py_UCS4 mask;
   72|     25|    Py_ssize_t n = end - begin;
   73|     25|    const STRINGLIB_CHAR *p = begin;
   74|     25|    const STRINGLIB_CHAR *unrolled_end = begin + _Py_SIZE_ROUND_DOWN(n, 4);
  ------------------
  |  |  236|     25|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  ------------------
   75|     25|    Py_UCS4 max_char;
   76|       |
   77|     25|    max_char = MAX_CHAR_ASCII;
  ------------------
  |  |   54|     25|#define MAX_CHAR_ASCII 0x7f
  ------------------
   78|     25|    mask = MASK_ASCII;
  ------------------
  |  |   50|     25|#define MASK_ASCII 0xFFFFFF80
  ------------------
   79|  3.66M|    while (p < unrolled_end) {
  ------------------
  |  Branch (79:12): [True: 3.66M, False: 16]
  ------------------
   80|  3.66M|        STRINGLIB_CHAR bits = p[0] | p[1] | p[2] | p[3];
  ------------------
  |  |   11|  3.66M|#define STRINGLIB_CHAR           Py_UCS4
  ------------------
   81|  3.66M|        if (bits & mask) {
  ------------------
  |  Branch (81:13): [True: 48, False: 3.66M]
  ------------------
   82|     48|            if (mask == mask_limit) {
  ------------------
  |  Branch (82:17): [True: 9, False: 39]
  ------------------
   83|       |                /* Limit reached */
   84|      9|                return max_char_limit;
   85|      9|            }
   86|     39|            if (mask == MASK_ASCII) {
  ------------------
  |  |   50|     39|#define MASK_ASCII 0xFFFFFF80
  ------------------
  |  Branch (86:17): [True: 21, False: 18]
  ------------------
   87|     21|                max_char = MAX_CHAR_UCS1;
  ------------------
  |  |   55|     21|#define MAX_CHAR_UCS1  0xff
  ------------------
   88|     21|                mask = MASK_UCS1;
  ------------------
  |  |   51|     21|#define MASK_UCS1 0xFFFFFF00
  ------------------
   89|     21|            }
   90|     18|            else {
   91|       |                /* mask can't be MASK_UCS2 because of mask_limit above */
   92|     18|                assert(mask == MASK_UCS1);
  ------------------
  |  Branch (92:17): [True: 18, False: 0]
  ------------------
   93|     18|                max_char = MAX_CHAR_UCS2;
  ------------------
  |  |   56|     18|#define MAX_CHAR_UCS2  0xffff
  ------------------
   94|     18|                mask = MASK_UCS2;
  ------------------
  |  |   52|     18|#define MASK_UCS2 0xFFFF0000
  ------------------
   95|     18|            }
   96|       |            /* We check the new mask on the same chars in the next iteration */
   97|     39|            continue;
   98|     39|        }
   99|  3.66M|        p += 4;
  100|  3.66M|    }
  101|     51|    while (p < end) {
  ------------------
  |  Branch (101:12): [True: 36, False: 15]
  ------------------
  102|     36|        if (p[0] & mask) {
  ------------------
  |  Branch (102:13): [True: 12, False: 24]
  ------------------
  103|     12|            if (mask == mask_limit) {
  ------------------
  |  Branch (103:17): [True: 1, False: 11]
  ------------------
  104|       |                /* Limit reached */
  105|      1|                return max_char_limit;
  106|      1|            }
  107|     11|            if (mask == MASK_ASCII) {
  ------------------
  |  |   50|     11|#define MASK_ASCII 0xFFFFFF80
  ------------------
  |  Branch (107:17): [True: 4, False: 7]
  ------------------
  108|      4|                max_char = MAX_CHAR_UCS1;
  ------------------
  |  |   55|      4|#define MAX_CHAR_UCS1  0xff
  ------------------
  109|      4|                mask = MASK_UCS1;
  ------------------
  |  |   51|      4|#define MASK_UCS1 0xFFFFFF00
  ------------------
  110|      4|            }
  111|      7|            else {
  112|       |                /* mask can't be MASK_UCS2 because of mask_limit above */
  113|      7|                assert(mask == MASK_UCS1);
  ------------------
  |  Branch (113:17): [True: 7, False: 0]
  ------------------
  114|      7|                max_char = MAX_CHAR_UCS2;
  ------------------
  |  |   56|      7|#define MAX_CHAR_UCS2  0xffff
  ------------------
  115|      7|                mask = MASK_UCS2;
  ------------------
  |  |   52|      7|#define MASK_UCS2 0xFFFF0000
  ------------------
  116|      7|            }
  117|       |            /* We check the new mask on the same chars in the next iteration */
  118|     11|            continue;
  119|     11|        }
  120|     24|        p++;
  121|     24|    }
  122|     15|    return max_char;
  123|     16|}
unicodeobject.c:ucs1lib_find_max_char:
   22|  14.2k|{
   23|  14.2k|    const unsigned char *p = (const unsigned char *) begin;
   24|  14.2k|    const unsigned char *_end = (const unsigned char *)end;
   25|       |
   26|   103k|    while (p < _end) {
  ------------------
  |  Branch (26:12): [True: 90.7k, False: 13.1k]
  ------------------
   27|  90.7k|        if (_Py_IS_ALIGNED(p, ALIGNOF_SIZE_T)) {
  ------------------
  |  |  246|  90.7k|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  |  |  ------------------
  |  |  |  Branch (246:30): [True: 12.3k, False: 78.3k]
  |  |  ------------------
  ------------------
   28|       |            /* Help register allocation */
   29|  12.3k|            const unsigned char *_p = p;
   30|  45.6k|            while (_p + SIZEOF_SIZE_T <= _end) {
  ------------------
  |  | 1955|  45.6k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (30:20): [True: 33.2k, False: 12.3k]
  ------------------
   31|  33.2k|                size_t value = *(const size_t *) _p;
   32|  33.2k|                if (value & UCS1_ASCII_CHAR_MASK)
  ------------------
  |  |   11|  33.2k|# define UCS1_ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
  |  Branch (32:21): [True: 0, False: 33.2k]
  ------------------
   33|      0|                    return 255;
   34|  33.2k|                _p += SIZEOF_SIZE_T;
  ------------------
  |  | 1955|  33.2k|#define SIZEOF_SIZE_T 8
  ------------------
   35|  33.2k|            }
   36|  12.3k|            p = _p;
   37|  12.3k|            if (p == _end)
  ------------------
  |  Branch (37:17): [True: 1.07k, False: 11.3k]
  ------------------
   38|  1.07k|                break;
   39|  12.3k|        }
   40|  89.6k|        if (*p++ & 0x80)
  ------------------
  |  Branch (40:13): [True: 0, False: 89.6k]
  ------------------
   41|      0|            return 255;
   42|  89.6k|    }
   43|  14.2k|    return 127;
   44|  14.2k|}

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

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: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|     11|{
  144|     11|    Py_ssize_t i, j, pos, count=0;
  145|     11|    PyObject *list, *sub;
  146|       |
  147|     11|    if (sep_len == 0) {
  ------------------
  |  Branch (147:9): [True: 0, False: 11]
  ------------------
  148|      0|        PyErr_SetString(PyExc_ValueError, "empty separator");
  149|      0|        return NULL;
  150|      0|    }
  151|     11|    else if (sep_len == 1)
  ------------------
  |  Branch (151:14): [True: 11, False: 0]
  ------------------
  152|     11|        return STRINGLIB(split_char)(str_obj, str, str_len, sep[0], maxcount);
  ------------------
  |  |    7|     11|#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|     11|{
  101|     11|    Py_ssize_t i, j, count=0;
  102|     11|    PyObject *list = PyList_New(PREALLOC_SIZE(maxcount));
  ------------------
  |  |   20|     11|    (maxsplit >= MAX_PREALLOC ? MAX_PREALLOC : maxsplit+1)
  |  |  ------------------
  |  |  |  |   16|     22|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |                   (maxsplit >= MAX_PREALLOC ? MAX_PREALLOC : maxsplit+1)
  |  |  ------------------
  |  |  |  |   16|     10|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |  |  Branch (20:6): [True: 10, False: 1]
  |  |  ------------------
  ------------------
  103|     11|    PyObject *sub;
  104|       |
  105|     11|    if (list == NULL)
  ------------------
  |  Branch (105:9): [True: 0, False: 11]
  ------------------
  106|      0|        return NULL;
  107|       |
  108|     11|    i = j = 0;
  109|     33|    while ((j < str_len) && (maxcount-- > 0)) {
  ------------------
  |  Branch (109:12): [True: 22, False: 11]
  |  Branch (109:29): [True: 22, False: 0]
  ------------------
  110|    180|        for(; j < str_len; j++) {
  ------------------
  |  Branch (110:15): [True: 169, False: 11]
  ------------------
  111|       |            /* I found that using memchr makes no difference */
  112|    169|            if (str[j] == ch) {
  ------------------
  |  Branch (112:17): [True: 11, False: 158]
  ------------------
  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|    169|        }
  118|     22|    }
  119|     11|#if !STRINGLIB_MUTABLE
  120|     11|    if (count == 0 && STRINGLIB_CHECK_EXACT(str_obj)) {
  ------------------
  |  |   22|      0|#define STRINGLIB_CHECK_EXACT    PyUnicode_CheckExact
  |  |  ------------------
  |  |  |  |  104|      0|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (120:9): [True: 0, False: 11]
  ------------------
  121|       |        /* ch not in str_obj, so just use str_obj as list[0] */
  122|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  123|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  124|      0|        count++;
  125|      0|    } 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|     11|    FIX_PREALLOC_SIZE(list);
  ------------------
  |  |   45|     11|#define FIX_PREALLOC_SIZE(list) Py_SET_SIZE(list, count)
  |  |  ------------------
  |  |  |  |  216|     11|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  182|     11|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  131|     11|    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|     11|}

bytesobject.c:return_self:
   17|      1|{
   18|      1|#if !STRINGLIB_MUTABLE
   19|      1|    if (STRINGLIB_CHECK_EXACT(self)) {
  ------------------
  |  |   24|      1|#define STRINGLIB_CHECK_EXACT    PyBytes_CheckExact
  |  |  ------------------
  |  |  |  |   29|      1|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|      1|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 1, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   20|      1|        return Py_NewRef(self);
  ------------------
  |  |  550|      1|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   21|      1|    }
   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|      1|}
bytesobject.c:stringlib_replace:
  682|      1|{
  683|      1|    if (STRINGLIB_LEN(self) < from_len) {
  ------------------
  |  |   21|      1|#define STRINGLIB_LEN            PyBytes_GET_SIZE
  |  |  ------------------
  |  |  |  |   33|      1|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (683:9): [True: 0, False: 1]
  ------------------
  684|       |        /* nothing to do; return the original bytes */
  685|      0|        return return_self(self);
  686|      0|    }
  687|      1|    if (maxcount < 0) {
  ------------------
  |  Branch (687:9): [True: 1, False: 0]
  ------------------
  688|      1|        maxcount = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|      1|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  689|      1|    } 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|      1|    if (from_len == 0) {
  ------------------
  |  Branch (695:9): [True: 0, False: 1]
  ------------------
  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|      1|    if (to_len == 0) {
  ------------------
  |  Branch (706:9): [True: 0, False: 1]
  ------------------
  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|      1|    if (from_len == to_len) {
  ------------------
  |  Branch (719:9): [True: 1, False: 0]
  ------------------
  720|      1|        if (from_len == 1) {
  ------------------
  |  Branch (720:13): [True: 1, False: 0]
  ------------------
  721|      1|            return stringlib_replace_single_character_in_place(
  722|      1|                self, from_s[0], to_s[0], maxcount);
  723|      1|        } else {
  724|      0|            return stringlib_replace_substring_in_place(
  725|      0|                self, from_s, from_len, to_s, to_len, maxcount);
  726|      0|        }
  727|      1|    }
  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|      1|{
  450|      1|    const char *self_s, *end;
  451|      1|    char *result_s, *start, *next;
  452|      1|    Py_ssize_t self_len;
  453|      1|    PyObject *result;
  454|       |
  455|       |    /* The result string will be the same size */
  456|      1|    self_s = STRINGLIB_STR(self);
  ------------------
  |  |   20|      1|#define STRINGLIB_STR            PyBytes_AS_STRING
  |  |  ------------------
  |  |  |  |   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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  457|      1|    self_len = STRINGLIB_LEN(self);
  ------------------
  |  |   21|      1|#define STRINGLIB_LEN            PyBytes_GET_SIZE
  |  |  ------------------
  |  |  |  |   33|      1|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  458|       |
  459|      1|    next = findchar(self_s, self_len, from_c);
  ------------------
  |  |  254|      1|  ((char *)memchr((const void *)(target), c, target_len))
  ------------------
  460|       |
  461|      1|    if (next == NULL) {
  ------------------
  |  Branch (461:9): [True: 1, False: 0]
  ------------------
  462|       |        /* No matches; return the original bytes */
  463|      1|        return return_self(self);
  464|      1|    }
  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))
  |  |  ------------------
  |  |  |  |  936|    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))
  |  |  ------------------
  |  |  |  |  936|    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:
  618|     16|{
  619|     16|    if (Py_TYPE(type) == NULL) {
  ------------------
  |  |  213|     16|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (619:9): [True: 16, False: 0]
  ------------------
  620|     16|        Py_SET_TYPE(type, &PyType_Type);
  ------------------
  |  |  217|     16|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  621|     16|    }
  622|     16|    Py_ssize_t n_unnamed_members;
  623|     16|    Py_ssize_t n_members = count_members(desc, &n_unnamed_members);
  624|     16|    PyMemberDef *members = NULL;
  625|       |
  626|     16|    if ((type->tp_flags & Py_TPFLAGS_READY) == 0) {
  ------------------
  |  |  518|     16|#define Py_TPFLAGS_READY (1UL << 12)
  ------------------
  |  Branch (626:9): [True: 16, False: 0]
  ------------------
  627|     16|        assert(type->tp_name == NULL);
  ------------------
  |  Branch (627:9): [True: 16, False: 0]
  ------------------
  628|     16|        assert(type->tp_members == NULL);
  ------------------
  |  Branch (628:9): [True: 16, False: 0]
  ------------------
  629|     16|        assert(type->tp_base == NULL);
  ------------------
  |  Branch (629:9): [True: 16, False: 0]
  ------------------
  630|       |
  631|     16|        members = initialize_members(desc, n_members, n_unnamed_members);
  632|     16|        if (members == NULL) {
  ------------------
  |  Branch (632:13): [True: 0, False: 16]
  ------------------
  633|      0|            goto error;
  634|      0|        }
  635|     16|        initialize_static_fields(type, desc, members, n_members, tp_flags);
  636|       |
  637|     16|        _Py_SetImmortal((PyObject *)type);
  638|     16|    }
  639|      0|#ifndef NDEBUG
  640|      0|    else {
  641|       |        // Ensure that the type was initialized.
  642|      0|        assert(type->tp_name != NULL);
  ------------------
  |  Branch (642:9): [True: 0, False: 0]
  ------------------
  643|      0|        assert(type->tp_members != NULL);
  ------------------
  |  Branch (643:9): [True: 0, False: 0]
  ------------------
  644|      0|        assert(type->tp_base == &PyTuple_Type);
  ------------------
  |  Branch (644:9): [True: 0, False: 0]
  ------------------
  645|      0|        assert((type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN));
  ------------------
  |  Branch (645:9): [True: 0, False: 0]
  ------------------
  646|      0|        assert(_Py_IsImmortal(type));
  ------------------
  |  Branch (646:9): [True: 0, False: 0]
  ------------------
  647|      0|    }
  648|     16|#endif
  649|       |
  650|     16|    if (_PyStaticType_InitBuiltin(interp, type) < 0) {
  ------------------
  |  Branch (650:9): [True: 0, False: 16]
  ------------------
  651|      0|        PyErr_Format(PyExc_RuntimeError,
  652|      0|                     "Can't initialize builtin type %s",
  653|      0|                     desc->name);
  654|      0|        goto error;
  655|      0|    }
  656|       |
  657|     16|    if (initialize_structseq_dict(
  ------------------
  |  Branch (657:9): [True: 0, False: 16]
  ------------------
  658|     16|            desc, _PyType_GetDict(type), n_members, n_unnamed_members) < 0)
  659|      0|    {
  660|      0|        goto error;
  661|      0|    }
  662|       |
  663|     16|    return 0;
  664|       |
  665|      0|error:
  666|      0|    if (members != NULL) {
  ------------------
  |  Branch (666:9): [True: 0, False: 0]
  ------------------
  667|      0|        PyMem_Free(members);
  668|      0|    }
  669|      0|    return -1;
  670|     16|}
_PyStructSequence_NewType:
  746|     18|{
  747|     18|    PyMemberDef *members;
  748|     18|    PyTypeObject *type;
  749|     18|    PyType_Slot slots[8];
  750|     18|    PyType_Spec spec;
  751|     18|    Py_ssize_t n_members, n_unnamed_members;
  752|       |
  753|       |    /* Initialize MemberDefs */
  754|     18|    n_members = count_members(desc, &n_unnamed_members);
  755|     18|    members = initialize_members(desc, n_members, n_unnamed_members);
  756|     18|    if (members == NULL) {
  ------------------
  |  Branch (756:9): [True: 0, False: 18]
  ------------------
  757|      0|        return NULL;
  758|      0|    }
  759|       |
  760|       |    /* Initialize Slots */
  761|     18|    slots[0] = (PyType_Slot){Py_tp_dealloc, structseq_dealloc};
  ------------------
  |  |   60|     18|#define Py_tp_dealloc 52
  ------------------
  762|     18|    slots[1] = (PyType_Slot){Py_tp_repr, structseq_repr};
  ------------------
  |  |   74|     18|#define Py_tp_repr 66
  ------------------
  763|     18|    slots[2] = (PyType_Slot){Py_tp_doc, (void *)desc->doc};
  ------------------
  |  |   64|     18|#define Py_tp_doc 56
  ------------------
  764|     18|    slots[3] = (PyType_Slot){Py_tp_methods, structseq_methods};
  ------------------
  |  |   72|     18|#define Py_tp_methods 64
  ------------------
  765|     18|    slots[4] = (PyType_Slot){Py_tp_new, structseq_new};
  ------------------
  |  |   73|     18|#define Py_tp_new 65
  ------------------
  766|     18|    slots[5] = (PyType_Slot){Py_tp_members, members};
  ------------------
  |  |   80|     18|#define Py_tp_members 72
  ------------------
  767|     18|    slots[6] = (PyType_Slot){Py_tp_traverse, structseq_traverse};
  ------------------
  |  |   79|     18|#define Py_tp_traverse 71
  ------------------
  768|     18|    slots[7] = (PyType_Slot){0, 0};
  769|       |
  770|       |    /* Initialize Spec */
  771|       |    /* The name in this PyType_Spec is statically allocated so it is */
  772|       |    /* expected that it'll outlive the PyType_Spec */
  773|     18|    spec.name = desc->name;
  774|     18|    Py_ssize_t hidden = n_members - desc->n_in_sequence;
  775|     18|    spec.basicsize = (int)(sizeof(PyStructSequence) + (hidden - 1) * sizeof(PyObject *));
  776|     18|    spec.itemsize = sizeof(PyObject *);
  777|     18|    spec.flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC | tp_flags;
  ------------------
  |  |  560|     18|#define Py_TPFLAGS_DEFAULT  ( \
  |  |  561|     18|                 Py_TPFLAGS_HAVE_STACKLESS_EXTENSION | \
  |  |  ------------------
  |  |  |  |  530|     18|#define Py_TPFLAGS_HAVE_STACKLESS_EXTENSION 0
  |  |  ------------------
  |  |  562|     18|                0)
  ------------------
                  spec.flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC | tp_flags;
  ------------------
  |  |  524|     18|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  778|     18|    spec.slots = slots;
  779|       |
  780|     18|    type = (PyTypeObject *)PyType_FromSpecWithBases(&spec, (PyObject *)&PyTuple_Type);
  781|     18|    PyMem_Free(members);
  782|     18|    if (type == NULL) {
  ------------------
  |  Branch (782:9): [True: 0, False: 18]
  ------------------
  783|      0|        return NULL;
  784|      0|    }
  785|       |
  786|     18|    if (initialize_structseq_dict(
  ------------------
  |  Branch (786:9): [True: 0, False: 18]
  ------------------
  787|     18|            desc, _PyType_GetDict(type), n_members, n_unnamed_members) < 0) {
  788|      0|        Py_DECREF(type);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  789|      0|        return NULL;
  790|      0|    }
  791|       |
  792|     18|    return type;
  793|     18|}
PyStructSequence_NewType:
  798|     18|{
  799|     18|    return _PyStructSequence_NewType(desc, 0);
  800|     18|}
structseq.c:get_type_attr_as_size:
   29|    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:
  469|     34|count_members(PyStructSequence_Desc *desc, Py_ssize_t *n_unnamed_members) {
  470|     34|    Py_ssize_t i;
  471|       |
  472|     34|    *n_unnamed_members = 0;
  473|    282|    for (i = 0; desc->fields[i].name != NULL; ++i) {
  ------------------
  |  Branch (473:17): [True: 248, False: 34]
  ------------------
  474|    248|        if (desc->fields[i].name == PyStructSequence_UnnamedField) {
  ------------------
  |  Branch (474:13): [True: 6, False: 242]
  ------------------
  475|      6|            (*n_unnamed_members)++;
  476|      6|        }
  477|    248|    }
  478|     34|    return i;
  479|     34|}
structseq.c:initialize_members:
  542|     34|{
  543|     34|    PyMemberDef *members;
  544|       |
  545|     34|    members = PyMem_NEW(PyMemberDef, n_members - n_unnamed_members + 1);
  ------------------
  |  |   82|     34|#define PyMem_NEW(type, n)        PyMem_New(type, (n))
  |  |  ------------------
  |  |  |  |   64|     34|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|     34|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (64:5): [True: 0, False: 34]
  |  |  |  |  ------------------
  |  |  |  |   65|     34|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  |  |  ------------------
  ------------------
  546|     34|    if (members == NULL) {
  ------------------
  |  Branch (546:9): [True: 0, False: 34]
  ------------------
  547|      0|        PyErr_NoMemory();
  548|      0|        return NULL;
  549|      0|    }
  550|       |
  551|     34|    Py_ssize_t i, k;
  552|    282|    for (i = k = 0; i < n_members; ++i) {
  ------------------
  |  Branch (552:21): [True: 248, False: 34]
  ------------------
  553|    248|        if (desc->fields[i].name == PyStructSequence_UnnamedField) {
  ------------------
  |  Branch (553:13): [True: 6, False: 242]
  ------------------
  554|      6|            continue;
  555|      6|        }
  556|       |
  557|       |        /* The names and docstrings in these MemberDefs are statically */
  558|       |        /* allocated so it is expected that they'll outlive the MemberDef */
  559|    242|        members[k].name = desc->fields[i].name;
  560|    242|        members[k].type = _Py_T_OBJECT;
  ------------------
  |  |   59|    242|#define _Py_T_OBJECT   6  // Deprecated, use Py_T_OBJECT_EX instead
  ------------------
  561|    242|        members[k].offset = offsetof(PyStructSequence, ob_item)
  562|    242|          + i * sizeof(PyObject*);
  563|    242|        members[k].flags = Py_READONLY;
  ------------------
  |  |   83|    242|#define Py_READONLY            (1 << 0)
  ------------------
  564|    242|        members[k].doc = desc->fields[i].doc;
  565|    242|        k++;
  566|    242|    }
  567|     34|    members[k].name = NULL;
  568|       |
  569|     34|    return members;
  570|     34|}
structseq.c:initialize_static_fields:
  577|     16|{
  578|     16|    type->tp_name = desc->name;
  579|       |    // Account for hidden members in tp_basicsize because they are not
  580|       |    // included in the variable size.
  581|     16|    Py_ssize_t n_hidden = n_members - desc->n_in_sequence;
  582|     16|    type->tp_basicsize = sizeof(PyStructSequence) + (n_hidden - 1) * sizeof(PyObject *);
  583|     16|    type->tp_itemsize = sizeof(PyObject *);
  584|     16|    type->tp_dealloc = structseq_dealloc;
  585|     16|    type->tp_repr = structseq_repr;
  586|     16|    type->tp_doc = desc->doc;
  587|     16|    type->tp_base = &PyTuple_Type;
  588|     16|    type->tp_methods = structseq_methods;
  589|     16|    type->tp_new = structseq_new;
  590|     16|    type->tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC | tp_flags;
  ------------------
  |  |  560|     16|#define Py_TPFLAGS_DEFAULT  ( \
  |  |  561|     16|                 Py_TPFLAGS_HAVE_STACKLESS_EXTENSION | \
  |  |  ------------------
  |  |  |  |  530|     16|#define Py_TPFLAGS_HAVE_STACKLESS_EXTENSION 0
  |  |  ------------------
  |  |  562|     16|                0)
  ------------------
                  type->tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC | tp_flags;
  ------------------
  |  |  524|     16|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  591|     16|    type->tp_traverse = structseq_traverse;
  592|     16|    type->tp_members = tp_members;
  593|     16|}
structseq.c:initialize_structseq_dict:
  483|     34|                          Py_ssize_t n_members, Py_ssize_t n_unnamed_members) {
  484|     34|    PyObject *v;
  485|       |
  486|     34|#define SET_DICT_FROM_SIZE(key, value)                                         \
  487|     34|    do {                                                                       \
  488|     34|        v = PyLong_FromSsize_t(value);                                         \
  489|     34|        if (v == NULL) {                                                       \
  490|     34|            return -1;                                                         \
  491|     34|        }                                                                      \
  492|     34|        if (PyDict_SetItemString(dict, key, v) < 0) {                          \
  493|     34|            Py_DECREF(v);                                                      \
  494|     34|            return -1;                                                         \
  495|     34|        }                                                                      \
  496|     34|        Py_DECREF(v);                                                          \
  497|     34|    } while (0)
  498|       |
  499|     34|    SET_DICT_FROM_SIZE(visible_length_key, desc->n_in_sequence);
  ------------------
  |  |  487|     34|    do {                                                                       \
  |  |  488|     34|        v = PyLong_FromSsize_t(value);                                         \
  |  |  489|     34|        if (v == NULL) {                                                       \
  |  |  ------------------
  |  |  |  Branch (489:13): [True: 0, False: 34]
  |  |  ------------------
  |  |  490|      0|            return -1;                                                         \
  |  |  491|      0|        }                                                                      \
  |  |  492|     34|        if (PyDict_SetItemString(dict, key, v) < 0) {                          \
  |  |  ------------------
  |  |  |  Branch (492:13): [True: 0, False: 34]
  |  |  ------------------
  |  |  493|      0|            Py_DECREF(v);                                                      \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  494|      0|            return -1;                                                         \
  |  |  495|      0|        }                                                                      \
  |  |  496|     34|        Py_DECREF(v);                                                          \
  |  |  ------------------
  |  |  |  |  430|     34|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  497|     34|    } while (0)
  |  |  ------------------
  |  |  |  Branch (497:14): [Folded, False: 34]
  |  |  ------------------
  ------------------
  500|     34|    SET_DICT_FROM_SIZE(real_length_key, n_members);
  ------------------
  |  |  487|     34|    do {                                                                       \
  |  |  488|     34|        v = PyLong_FromSsize_t(value);                                         \
  |  |  489|     34|        if (v == NULL) {                                                       \
  |  |  ------------------
  |  |  |  Branch (489:13): [True: 0, False: 34]
  |  |  ------------------
  |  |  490|      0|            return -1;                                                         \
  |  |  491|      0|        }                                                                      \
  |  |  492|     34|        if (PyDict_SetItemString(dict, key, v) < 0) {                          \
  |  |  ------------------
  |  |  |  Branch (492:13): [True: 0, False: 34]
  |  |  ------------------
  |  |  493|      0|            Py_DECREF(v);                                                      \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  494|      0|            return -1;                                                         \
  |  |  495|      0|        }                                                                      \
  |  |  496|     34|        Py_DECREF(v);                                                          \
  |  |  ------------------
  |  |  |  |  430|     34|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  497|     34|    } while (0)
  |  |  ------------------
  |  |  |  Branch (497:14): [Folded, False: 34]
  |  |  ------------------
  ------------------
  501|     34|    SET_DICT_FROM_SIZE(unnamed_fields_key, n_unnamed_members);
  ------------------
  |  |  487|     34|    do {                                                                       \
  |  |  488|     34|        v = PyLong_FromSsize_t(value);                                         \
  |  |  489|     34|        if (v == NULL) {                                                       \
  |  |  ------------------
  |  |  |  Branch (489:13): [True: 0, False: 34]
  |  |  ------------------
  |  |  490|      0|            return -1;                                                         \
  |  |  491|      0|        }                                                                      \
  |  |  492|     34|        if (PyDict_SetItemString(dict, key, v) < 0) {                          \
  |  |  ------------------
  |  |  |  Branch (492:13): [True: 0, False: 34]
  |  |  ------------------
  |  |  493|      0|            Py_DECREF(v);                                                      \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  494|      0|            return -1;                                                         \
  |  |  495|      0|        }                                                                      \
  |  |  496|     34|        Py_DECREF(v);                                                          \
  |  |  ------------------
  |  |  |  |  430|     34|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  497|     34|    } while (0)
  |  |  ------------------
  |  |  |  Branch (497:14): [Folded, False: 34]
  |  |  ------------------
  ------------------
  502|       |
  503|       |    // Prepare and set __match_args__
  504|     34|    Py_ssize_t i, k;
  505|     34|    PyObject* keys = PyTuple_New(desc->n_in_sequence);
  506|     34|    if (keys == NULL) {
  ------------------
  |  Branch (506:9): [True: 0, False: 34]
  ------------------
  507|      0|        return -1;
  508|      0|    }
  509|       |
  510|    250|    for (i = k = 0; i < desc->n_in_sequence; ++i) {
  ------------------
  |  Branch (510:21): [True: 216, False: 34]
  ------------------
  511|    216|        if (desc->fields[i].name == PyStructSequence_UnnamedField) {
  ------------------
  |  Branch (511:13): [True: 6, False: 210]
  ------------------
  512|      6|            continue;
  513|      6|        }
  514|    210|        PyObject* new_member = PyUnicode_FromString(desc->fields[i].name);
  515|    210|        if (new_member == NULL) {
  ------------------
  |  Branch (515:13): [True: 0, False: 210]
  ------------------
  516|      0|            goto error;
  517|      0|        }
  518|    210|        PyTuple_SET_ITEM(keys, k, new_member);
  ------------------
  |  |   40|    210|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    210|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    210|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    210|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    210|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  519|    210|        k++;
  520|    210|    }
  521|       |
  522|     34|    if (_PyTuple_Resize(&keys, k) == -1) {
  ------------------
  |  Branch (522:9): [True: 0, False: 34]
  ------------------
  523|      0|        assert(keys == NULL);
  ------------------
  |  Branch (523:9): [True: 0, False: 0]
  ------------------
  524|      0|        return -1;
  525|      0|    }
  526|       |
  527|     34|    if (PyDict_SetItemString(dict, match_args_key, keys) < 0) {
  ------------------
  |  Branch (527:9): [True: 0, False: 34]
  ------------------
  528|      0|        goto error;
  529|      0|    }
  530|       |
  531|     34|    Py_DECREF(keys);
  ------------------
  |  |  430|     34|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  532|     34|    return 0;
  533|       |
  534|      0|error:
  535|      0|    Py_DECREF(keys);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  536|      0|    return -1;
  537|     34|}
structseq.c:structseq_dealloc:
  133|    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]);
  ------------------
  |  |  524|  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:
   76|  7.84k|{
   77|  7.84k|    PyTupleObject *op;
   78|  7.84k|    if (size == 0) {
  ------------------
  |  Branch (78:9): [True: 271, False: 7.57k]
  ------------------
   79|    271|        return tuple_get_empty();
   80|    271|    }
   81|  7.57k|    op = tuple_alloc(size);
   82|  7.57k|    if (op == NULL) {
  ------------------
  |  Branch (82:9): [True: 0, False: 7.57k]
  ------------------
   83|      0|        return NULL;
   84|      0|    }
   85|  45.9k|    for (Py_ssize_t i = 0; i < size; i++) {
  ------------------
  |  Branch (85:28): [True: 38.3k, False: 7.57k]
  ------------------
   86|  38.3k|        op->ob_item[i] = NULL;
   87|  38.3k|    }
   88|  7.57k|    _PyObject_GC_TRACK(op);
  ------------------
  |  |  505|  7.57k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.57k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.57k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   89|  7.57k|    return (PyObject *) op;
   90|  7.57k|}
PyTuple_Size:
   94|    896|{
   95|    896|    if (!PyTuple_Check(op)) {
  ------------------
  |  |   27|    896|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    896|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (95:9): [True: 0, False: 896]
  ------------------
   96|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
   97|      0|        return -1;
   98|      0|    }
   99|    896|    else
  100|    896|        return Py_SIZE(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  101|    896|}
PyTuple_GetItem:
  105|    882|{
  106|    882|    if (!PyTuple_Check(op)) {
  ------------------
  |  |   27|    882|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    882|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (106:9): [True: 0, False: 882]
  ------------------
  107|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  108|      0|        return NULL;
  109|      0|    }
  110|    882|    if (i < 0 || i >= Py_SIZE(op)) {
  ------------------
  |  |  214|    882|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    882|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    882|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (110:9): [True: 0, False: 882]
  |  Branch (110:18): [True: 0, False: 882]
  ------------------
  111|      0|        PyErr_SetString(PyExc_IndexError, "tuple index out of range");
  112|      0|        return NULL;
  113|      0|    }
  114|    882|    return ((PyTupleObject *)op) -> ob_item[i];
  115|    882|}
_PyTuple_MaybeUntrack:
  139|  5.52k|{
  140|  5.52k|    PyTupleObject *t;
  141|  5.52k|    Py_ssize_t i, n;
  142|       |
  143|  5.52k|    if (!PyTuple_CheckExact(op) || !_PyObject_GC_IS_TRACKED(op))
  ------------------
  |  |   28|  5.52k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  11.0k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (!PyTuple_CheckExact(op) || !_PyObject_GC_IS_TRACKED(op))
  ------------------
  |  |   81|  5.52k|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|  5.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (143:9): [True: 0, False: 5.52k]
  |  Branch (143:36): [True: 0, False: 5.52k]
  ------------------
  144|      0|        return;
  145|  5.52k|    t = (PyTupleObject *) op;
  146|  5.52k|    n = Py_SIZE(t);
  ------------------
  |  |  214|  5.52k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  147|  24.8k|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (147:17): [True: 20.5k, False: 4.34k]
  ------------------
  148|  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 (148:25): [True: 20.5k, False: 0]
  ------------------
  149|       |        /* Tuple with NULL elements aren't
  150|       |           fully constructed, don't untrack
  151|       |           them yet. */
  152|  20.5k|        if (!elt ||
  ------------------
  |  Branch (152:13): [True: 0, False: 20.5k]
  ------------------
  153|  20.5k|            _PyObject_GC_MAY_BE_TRACKED(elt))
  ------------------
  |  Branch (153:13): [True: 1.17k, False: 19.3k]
  ------------------
  154|  1.17k|            return;
  155|  20.5k|    }
  156|  4.34k|    _PyObject_GC_UNTRACK(op);
  ------------------
  |  |  507|  4.34k|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.34k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.34k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  157|  4.34k|}
PyTuple_Pack:
  173|    771|{
  174|    771|    Py_ssize_t i;
  175|    771|    PyObject *o;
  176|    771|    PyObject **items;
  177|    771|    va_list vargs;
  178|    771|    bool track = false;
  179|       |
  180|    771|    if (n == 0) {
  ------------------
  |  Branch (180:9): [True: 0, False: 771]
  ------------------
  181|      0|        return tuple_get_empty();
  182|      0|    }
  183|       |
  184|    771|    va_start(vargs, n);
  185|    771|    PyTupleObject *result = tuple_alloc(n);
  186|    771|    if (result == NULL) {
  ------------------
  |  Branch (186:9): [True: 0, False: 771]
  ------------------
  187|      0|        va_end(vargs);
  188|      0|        return NULL;
  189|      0|    }
  190|    771|    items = result->ob_item;
  191|  1.67k|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (191:17): [True: 903, False: 771]
  ------------------
  192|    903|        o = va_arg(vargs, PyObject *);
  193|    903|        if (!track && maybe_tracked(o)) {
  ------------------
  |  Branch (193:13): [True: 861, False: 42]
  |  Branch (193:23): [True: 747, False: 114]
  ------------------
  194|    747|            track = true;
  195|    747|        }
  196|    903|        items[i] = Py_NewRef(o);
  ------------------
  |  |  550|    903|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    903|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    903|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  197|    903|    }
  198|    771|    va_end(vargs);
  199|    771|    if (track) {
  ------------------
  |  Branch (199:9): [True: 747, False: 24]
  ------------------
  200|    747|        _PyObject_GC_TRACK(result);
  ------------------
  |  |  505|    747|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    747|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    747|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  201|    747|    }
  202|    771|    return (PyObject *)result;
  203|    771|}
_PyTuple_FromPair:
  207|     41|{
  208|     41|    assert(first != NULL);
  ------------------
  |  Branch (208:5): [True: 41, False: 0]
  ------------------
  209|     41|    assert(second != NULL);
  ------------------
  |  Branch (209:5): [True: 41, False: 0]
  ------------------
  210|       |
  211|     41|    return _PyTuple_FromPairSteal(Py_NewRef(first), Py_NewRef(second));
  ------------------
  |  |  550|     41|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     41|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     41|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return _PyTuple_FromPairSteal(Py_NewRef(first), Py_NewRef(second));
  ------------------
  |  |  550|     41|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     41|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     41|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  212|     41|}
_PyTuple_FromPairSteal:
  216|    864|{
  217|    864|    assert(first != NULL);
  ------------------
  |  Branch (217:5): [True: 864, False: 0]
  ------------------
  218|    864|    assert(second != NULL);
  ------------------
  |  Branch (218:5): [True: 864, False: 0]
  ------------------
  219|       |
  220|    864|    PyTupleObject *op = tuple_alloc(2);
  221|    864|    if (op == NULL) {
  ------------------
  |  Branch (221:9): [True: 0, False: 864]
  ------------------
  222|      0|        Py_DECREF(first);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  223|      0|        Py_DECREF(second);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  224|      0|        return NULL;
  225|      0|    }
  226|    864|    PyObject **items = op->ob_item;
  227|    864|    items[0] = first;
  228|    864|    items[1] = second;
  229|    864|    if (maybe_tracked(first) || maybe_tracked(second)) {
  ------------------
  |  Branch (229:9): [True: 26, False: 838]
  |  Branch (229:33): [True: 565, False: 273]
  ------------------
  230|    591|        _PyObject_GC_TRACK(op);
  ------------------
  |  |  505|    591|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    591|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    591|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  231|    591|    }
  232|    864|    return (PyObject *)op;
  233|    864|}
PyTuple_FromArray:
  437|  3.88k|{
  438|  3.88k|    if (n == 0) {
  ------------------
  |  Branch (438:9): [True: 597, False: 3.29k]
  ------------------
  439|    597|        return tuple_get_empty();
  440|    597|    }
  441|       |
  442|  3.29k|    PyTupleObject *tuple = tuple_alloc(n);
  443|  3.29k|    if (tuple == NULL) {
  ------------------
  |  Branch (443:9): [True: 0, False: 3.29k]
  ------------------
  444|      0|        return NULL;
  445|      0|    }
  446|  3.29k|    PyObject **dst = tuple->ob_item;
  447|  3.29k|    bool track = false;
  448|  10.1k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (448:28): [True: 6.87k, False: 3.29k]
  ------------------
  449|  6.87k|        PyObject *item = src[i];
  450|  6.87k|        if (!track && maybe_tracked(item)) {
  ------------------
  |  Branch (450:13): [True: 4.73k, False: 2.14k]
  |  Branch (450:23): [True: 2.00k, False: 2.73k]
  ------------------
  451|  2.00k|            track = true;
  452|  2.00k|        }
  453|  6.87k|        dst[i] = Py_NewRef(item);
  ------------------
  |  |  550|  6.87k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  6.87k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.87k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  454|  6.87k|    }
  455|  3.29k|    if (track) {
  ------------------
  |  Branch (455:9): [True: 2.00k, False: 1.29k]
  ------------------
  456|  2.00k|        _PyObject_GC_TRACK(tuple);
  ------------------
  |  |  505|  2.00k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.00k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.00k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  457|  2.00k|    }
  458|  3.29k|    return (PyObject *)tuple;
  459|  3.29k|}
_PyTuple_FromStackRefStealOnSuccess:
  463|  2.28k|{
  464|  2.28k|    if (n == 0) {
  ------------------
  |  Branch (464:9): [True: 0, False: 2.28k]
  ------------------
  465|      0|        return tuple_get_empty();
  466|      0|    }
  467|  2.28k|    PyTupleObject *tuple = tuple_alloc(n);
  468|  2.28k|    if (tuple == NULL) {
  ------------------
  |  Branch (468:9): [True: 0, False: 2.28k]
  ------------------
  469|      0|        return NULL;
  470|      0|    }
  471|  2.28k|    PyObject **dst = tuple->ob_item;
  472|  2.28k|    bool track = false;
  473|  6.87k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (473:28): [True: 4.58k, False: 2.28k]
  ------------------
  474|  4.58k|        PyObject *item = PyStackRef_AsPyObjectSteal(src[i]);
  475|  4.58k|        if (!track && maybe_tracked(item)) {
  ------------------
  |  Branch (475:13): [True: 3.82k, False: 758]
  |  Branch (475:23): [True: 884, False: 2.94k]
  ------------------
  476|    884|            track = true;
  477|    884|        }
  478|  4.58k|        dst[i] = item;
  479|  4.58k|    }
  480|  2.28k|    if (track) {
  ------------------
  |  Branch (480:9): [True: 884, False: 1.40k]
  ------------------
  481|    884|        _PyObject_GC_TRACK(tuple);
  ------------------
  |  |  505|    884|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    884|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    884|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  482|    884|    }
  483|  2.28k|    return (PyObject *)tuple;
  484|  2.28k|}
_PyTuple_FromArraySteal:
  488|    105|{
  489|    105|    if (n == 0) {
  ------------------
  |  Branch (489:9): [True: 0, False: 105]
  ------------------
  490|      0|        return tuple_get_empty();
  491|      0|    }
  492|    105|    PyTupleObject *tuple = tuple_alloc(n);
  493|    105|    if (tuple == NULL) {
  ------------------
  |  Branch (493:9): [True: 0, False: 105]
  ------------------
  494|      0|        for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (494:32): [True: 0, False: 0]
  ------------------
  495|      0|            Py_DECREF(src[i]);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  496|      0|        }
  497|      0|        return NULL;
  498|      0|    }
  499|    105|    PyObject **dst = tuple->ob_item;
  500|    983|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (500:28): [True: 878, False: 105]
  ------------------
  501|    878|        PyObject *item = src[i];
  502|    878|        dst[i] = item;
  503|    878|    }
  504|    105|    _PyObject_GC_TRACK(tuple);
  ------------------
  |  |  505|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  505|    105|    return (PyObject *)tuple;
  506|    105|}
PyTuple_GetSlice:
  545|    256|{
  546|    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 (546:9): [True: 0, False: 256]
  |  Branch (546:23): [True: 0, False: 256]
  ------------------
  547|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  548|      0|        return NULL;
  549|      0|    }
  550|    256|    return tuple_slice((PyTupleObject *)op, i, j);
  551|    256|}
_PyTuple_Concat:
  555|      2|{
  556|      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 (556:24): [True: 2, False: 0]
  ------------------
  557|      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 (557:9): [True: 0, False: 2]
  ------------------
  558|      0|        return Py_NewRef(bb);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  559|      0|    }
  560|      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 (560:9): [True: 0, False: 2]
  ------------------
  561|      0|        PyErr_Format(PyExc_TypeError,
  562|      0|             "can only concatenate tuple (not \"%.200s\") to tuple",
  563|      0|                 Py_TYPE(bb)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  564|      0|        return NULL;
  565|      0|    }
  566|      2|    PyTupleObject *b = (PyTupleObject *)bb;
  567|       |
  568|      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 (568:9): [True: 0, False: 2]
  ------------------
  569|      0|        return Py_NewRef(a);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  570|      0|    }
  571|      2|    assert((size_t)Py_SIZE(a) + (size_t)Py_SIZE(b) < PY_SSIZE_T_MAX);
  ------------------
  |  Branch (571:5): [True: 2, False: 0]
  ------------------
  572|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  573|      2|    if (size == 0) {
  ------------------
  |  Branch (573:9): [True: 0, False: 2]
  ------------------
  574|      0|        return tuple_get_empty();
  575|      0|    }
  576|       |
  577|      2|    PyTupleObject *np = tuple_alloc(size);
  578|      2|    if (np == NULL) {
  ------------------
  |  Branch (578:9): [True: 0, False: 2]
  ------------------
  579|      0|        return NULL;
  580|      0|    }
  581|       |
  582|      2|    PyObject **src = a->ob_item;
  583|      2|    PyObject **dest = np->ob_item;
  584|     12|    for (Py_ssize_t i = 0; i < Py_SIZE(a); i++) {
  ------------------
  |  |  214|     12|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (584:28): [True: 10, False: 2]
  ------------------
  585|     10|        PyObject *v = src[i];
  586|     10|        dest[i] = Py_NewRef(v);
  ------------------
  |  |  550|     10|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  587|     10|    }
  588|       |
  589|      2|    src = b->ob_item;
  590|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  591|      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 (591:28): [True: 2, False: 2]
  ------------------
  592|      2|        PyObject *v = src[i];
  593|      2|        dest[i] = Py_NewRef(v);
  ------------------
  |  |  550|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  594|      2|    }
  595|       |
  596|      2|    _PyObject_GC_TRACK(np);
  ------------------
  |  |  505|      2|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  597|      2|    return (PyObject *)np;
  598|      2|}
_PyTuple_Resize:
 1017|     34|{
 1018|     34|    PyTupleObject *v;
 1019|     34|    PyTupleObject *sv;
 1020|     34|    Py_ssize_t i;
 1021|     34|    Py_ssize_t oldsize;
 1022|       |
 1023|     34|    v = (PyTupleObject *) *pv;
 1024|     34|    if (v == NULL || !Py_IS_TYPE(v, &PyTuple_Type) ||
  ------------------
  |  |  215|     68|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1024:9): [True: 0, False: 34]
  |  Branch (1024:22): [True: 0, False: 34]
  ------------------
 1025|     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 (1025:10): [True: 34, False: 0]
  |  Branch (1025:29): [True: 0, False: 34]
  ------------------
 1026|      0|        *pv = 0;
 1027|      0|        Py_XDECREF(v);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1028|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1029|      0|        return -1;
 1030|      0|    }
 1031|       |
 1032|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1033|     34|    if (oldsize == newsize) {
  ------------------
  |  Branch (1033:9): [True: 32, False: 2]
  ------------------
 1034|     32|        return 0;
 1035|     32|    }
 1036|      2|    if (newsize == 0) {
  ------------------
  |  Branch (1036:9): [True: 0, False: 2]
  ------------------
 1037|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1038|      0|        *pv = tuple_get_empty();
 1039|      0|        return 0;
 1040|      0|    }
 1041|      2|    if (oldsize == 0) {
  ------------------
  |  Branch (1041:9): [True: 0, False: 2]
  ------------------
 1042|       |#ifdef Py_DEBUG
 1043|       |        assert(v == &_Py_SINGLETON(tuple_empty));
 1044|       |#endif
 1045|       |        /* The empty tuple is statically allocated so we never
 1046|       |           resize it in-place. */
 1047|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1048|      0|        *pv = PyTuple_New(newsize);
 1049|      0|        return *pv == NULL ? -1 : 0;
  ------------------
  |  Branch (1049:16): [True: 0, False: 0]
  ------------------
 1050|      0|    }
 1051|       |
 1052|      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]
  |  |  ------------------
  ------------------
 1053|      2|        _PyObject_GC_UNTRACK(v);
  ------------------
  |  |  507|      2|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1054|      2|    }
 1055|       |#ifdef Py_TRACE_REFS
 1056|       |    _Py_ForgetReference((PyObject *) v);
 1057|       |#endif
 1058|       |    /* DECREF items deleted by shrinkage */
 1059|      8|    for (i = newsize; i < oldsize; i++) {
  ------------------
  |  Branch (1059:23): [True: 6, False: 2]
  ------------------
 1060|      6|        Py_CLEAR(v->ob_item[i]);
  ------------------
  |  |  484|      6|    do { \
  |  |  485|      6|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      6|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      6|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 6]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 1061|      6|    }
 1062|      2|    _PyReftracerTrack((PyObject *)v, PyRefTracer_DESTROY);
  ------------------
  |  |  112|      2|    do { \
  |  |  113|      2|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  114|      2|        if (tracer->tracer_func != NULL) { \
  |  |  ------------------
  |  |  |  Branch (114:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  117|      0|        } \
  |  |  118|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (118:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1063|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1064|      2|    if (sv == NULL) {
  ------------------
  |  Branch (1064:9): [True: 0, False: 2]
  ------------------
 1065|      0|        *pv = NULL;
 1066|       |#ifdef Py_REF_DEBUG
 1067|       |        _Py_DecRefTotal(_PyThreadState_GET());
 1068|       |#endif
 1069|      0|        PyObject_GC_Del(v);
 1070|      0|        return -1;
 1071|      0|    }
 1072|      2|    _Py_NewReferenceNoTotal((PyObject *) sv);
 1073|       |    /* Zero out items added by growing */
 1074|      2|    if (newsize > oldsize)
  ------------------
  |  Branch (1074:9): [True: 0, False: 2]
  ------------------
 1075|      0|        memset(&sv->ob_item[oldsize], 0,
 1076|      0|               sizeof(*sv->ob_item) * (newsize - oldsize));
 1077|      2|    *pv = (PyObject *) sv;
 1078|      2|    _PyObject_GC_TRACK(sv);
  ------------------
  |  |  505|      2|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1079|      2|    return 0;
 1080|      2|}
tupleobject.c:tuple_get_empty:
   70|    868|{
   71|    868|    return (PyObject *)&_Py_SINGLETON(tuple_empty);
  ------------------
  |  |   18|    868|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|    868|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
   72|    868|}
tupleobject.c:tuple_alloc:
   38|  14.9k|{
   39|  14.9k|    if (size < 0) {
  ------------------
  |  Branch (39:9): [True: 0, False: 14.9k]
  ------------------
   40|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
   41|      0|        return NULL;
   42|      0|    }
   43|  14.9k|    assert(size != 0);    // The empty tuple is statically allocated.
  ------------------
  |  Branch (43:5): [True: 14.9k, False: 0]
  ------------------
   44|  14.9k|    Py_ssize_t index = size - 1;
   45|  14.9k|    if (index < PyTuple_MAXSAVESIZE) {
  ------------------
  |  |   11|  14.9k|#  define PyTuple_MAXSAVESIZE 20     // Largest tuple to save on freelist
  ------------------
  |  Branch (45:9): [True: 14.6k, False: 217]
  ------------------
   46|  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))
  |  |  ------------------
  ------------------
   47|  14.6k|        if (op != NULL) {
  ------------------
  |  Branch (47:13): [True: 7.62k, False: 7.06k]
  ------------------
   48|  7.62k|            _PyTuple_RESET_HASH_CACHE(op);
  ------------------
  |  |   44|  7.62k|    do {                                    \
  |  |   45|  7.62k|        assert(op != NULL);                 \
  |  |   46|  15.2k|        _PyTuple_CAST(op)->ob_hash = -1;    \
  |  |  ------------------
  |  |  |  |   19|  7.62k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.62k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   47|  15.2k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (47:14): [Folded, False: 7.62k]
  |  |  ------------------
  ------------------
  |  Branch (48:13): [True: 7.62k, False: 0]
  |  Branch (48:13): [True: 7.62k, False: 0]
  ------------------
   49|  7.62k|            return op;
   50|  7.62k|        }
   51|  14.6k|    }
   52|       |    /* Check for overflow */
   53|  7.28k|    if ((size_t)size > ((size_t)PY_SSIZE_T_MAX - (sizeof(PyTupleObject) -
  ------------------
  |  |  137|  7.28k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (53:9): [True: 0, False: 7.28k]
  ------------------
   54|  7.28k|                sizeof(PyObject *))) / sizeof(PyObject *)) {
   55|      0|        return (PyTupleObject *)PyErr_NoMemory();
   56|      0|    }
   57|  7.28k|    PyTupleObject *result = PyObject_GC_NewVar(PyTupleObject, &PyTuple_Type, size);
  ------------------
  |  |  183|  7.28k|    _Py_CAST(type*, _PyObject_GC_NewVar((typeobj), (n)))
  |  |  ------------------
  |  |  |  |   37|  7.28k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   58|  7.28k|    if (result != NULL) {
  ------------------
  |  Branch (58:9): [True: 7.28k, False: 0]
  ------------------
   59|  7.28k|        _PyTuple_RESET_HASH_CACHE(result);
  ------------------
  |  |   44|  7.28k|    do {                                    \
  |  |   45|  7.28k|        assert(op != NULL);                 \
  |  |   46|  14.5k|        _PyTuple_CAST(op)->ob_hash = -1;    \
  |  |  ------------------
  |  |  |  |   19|  7.28k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.28k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   47|  14.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (47:14): [Folded, False: 7.28k]
  |  |  ------------------
  ------------------
  |  Branch (59:9): [True: 7.28k, False: 0]
  |  Branch (59:9): [True: 7.28k, False: 0]
  ------------------
   60|  7.28k|    }
   61|  7.28k|    return result;
   62|  7.28k|}
tupleobject.c:maybe_tracked:
  167|  11.1k|{
  168|  11.1k|    return _PyType_IS_GC(Py_TYPE(ob));
  ------------------
  |  |  820|  11.1k|#define _PyType_IS_GC(t) _PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
  |  |  ------------------
  |  |  |  |  524|  11.1k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  |  |  ------------------
  ------------------
  169|  11.1k|}
tupleobject.c:tuple_slice:
  511|    256|{
  512|    256|    if (ilow < 0)
  ------------------
  |  Branch (512:9): [True: 0, False: 256]
  ------------------
  513|      0|        ilow = 0;
  514|    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 (514:9): [True: 0, False: 256]
  ------------------
  515|      0|        ihigh = Py_SIZE(a);
  ------------------
  |  |  214|      0|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  516|    256|    if (ihigh < ilow)
  ------------------
  |  Branch (516:9): [True: 0, False: 256]
  ------------------
  517|      0|        ihigh = ilow;
  518|    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 (518:9): [True: 44, False: 212]
  |  Branch (518:22): [True: 0, False: 44]
  ------------------
  519|      0|        return Py_NewRef(a);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  520|      0|    }
  521|    256|    return PyTuple_FromArray(a->ob_item + ilow, ihigh - ilow);
  522|    256|}
tupleobject.c:tuple_dealloc:
  256|  7.84k|{
  257|  7.84k|    PyTupleObject *op = _PyTuple_CAST(self);
  ------------------
  |  |   19|  7.84k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  7.84k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (257:25): [True: 7.84k, False: 0]
  ------------------
  258|  7.84k|    if (Py_SIZE(op) == 0) {
  ------------------
  |  |  214|  7.84k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  7.84k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.84k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (258:9): [True: 0, False: 7.84k]
  ------------------
  259|       |        /* The empty tuple is statically allocated. */
  260|      0|        if (op == &_Py_SINGLETON(tuple_empty)) {
  ------------------
  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
  |  Branch (260:13): [True: 0, False: 0]
  ------------------
  261|       |#ifdef Py_DEBUG
  262|       |            _Py_FatalRefcountError("deallocating the empty tuple singleton");
  263|       |#else
  264|      0|            return;
  265|      0|#endif
  266|      0|        }
  267|       |#ifdef Py_DEBUG
  268|       |        /* tuple subclasses have their own empty instances. */
  269|       |        assert(!PyTuple_CheckExact(op));
  270|       |#endif
  271|      0|    }
  272|       |
  273|  7.84k|    PyObject_GC_UnTrack(op);
  274|       |
  275|  7.84k|    Py_ssize_t i = Py_SIZE(op);
  ------------------
  |  |  214|  7.84k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  7.84k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.84k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  276|  34.7k|    while (--i >= 0) {
  ------------------
  |  Branch (276:12): [True: 26.9k, False: 7.84k]
  ------------------
  277|  26.9k|        Py_XDECREF(op->ob_item[i]);
  ------------------
  |  |  524|  26.9k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  26.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  26.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  278|  26.9k|    }
  279|       |    // This will abort on the empty singleton (if there is one).
  280|  7.84k|    if (!maybe_freelist_push(op)) {
  ------------------
  |  Branch (280:9): [True: 108, False: 7.73k]
  ------------------
  281|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  282|    108|    }
  283|  7.84k|}
tupleobject.c:tuple_length:
  408|    178|{
  409|    178|    PyTupleObject *a = _PyTuple_CAST(self);
  ------------------
  |  |   19|    178|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    178|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (409:24): [True: 178, False: 0]
  ------------------
  410|    178|    return Py_SIZE(a);
  ------------------
  |  |  214|    178|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    178|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    178|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  411|    178|}
tupleobject.c:tuple_item:
  426|    107|{
  427|    107|    PyTupleObject *a = _PyTuple_CAST(op);
  ------------------
  |  |   19|    107|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    107|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (427:24): [True: 107, False: 0]
  ------------------
  428|    107|    if (i < 0 || i >= Py_SIZE(a)) {
  ------------------
  |  |  214|    107|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    107|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    107|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (428:9): [True: 0, False: 107]
  |  Branch (428:18): [True: 0, False: 107]
  ------------------
  429|      0|        PyErr_SetString(PyExc_IndexError, "tuple index out of range");
  430|      0|        return NULL;
  431|      0|    }
  432|    107|    return Py_NewRef(a->ob_item[i]);
  ------------------
  |  |  550|    107|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    107|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    107|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  433|    107|}
tupleobject.c:tuple_contains:
  415|    222|{
  416|    222|    PyTupleObject *a = _PyTuple_CAST(self);
  ------------------
  |  |   19|    222|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    222|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (416:24): [True: 222, False: 0]
  ------------------
  417|      0|    int cmp = 0;
  418|  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 (418:28): [True: 2.03k, False: 116]
  |  Branch (418:40): [True: 1.93k, False: 106]
  ------------------
  419|  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 (419:40): [True: 1.93k, False: 0]
  ------------------
  420|  1.93k|    }
  421|    222|    return cmp;
  422|    222|}
tupleobject.c:tuple_subscript:
  872|     66|{
  873|     66|    PyTupleObject *self = _PyTuple_CAST(op);
  ------------------
  |  |   19|     66|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     66|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (873:27): [True: 66, False: 0]
  ------------------
  874|     66|    if (_PyIndex_Check(item)) {
  ------------------
  |  Branch (874:9): [True: 55, False: 11]
  ------------------
  875|     55|        Py_ssize_t i = PyNumber_AsSsize_t(item, PyExc_IndexError);
  876|     55|        if (i == -1 && PyErr_Occurred())
  ------------------
  |  Branch (876:13): [True: 14, False: 41]
  |  Branch (876:24): [True: 0, False: 14]
  ------------------
  877|      0|            return NULL;
  878|     55|        if (i < 0)
  ------------------
  |  Branch (878:13): [True: 14, False: 41]
  ------------------
  879|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  880|     55|        return tuple_item(op, i);
  881|     55|    }
  882|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  883|     11|        Py_ssize_t start, stop, step, slicelength, i;
  884|     11|        size_t cur;
  885|     11|        PyObject* it;
  886|     11|        PyObject **src, **dest;
  887|       |
  888|     11|        if (PySlice_Unpack(item, &start, &stop, &step) < 0) {
  ------------------
  |  Branch (888:13): [True: 0, False: 11]
  ------------------
  889|      0|            return NULL;
  890|      0|        }
  891|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  892|     11|                                            &stop, step);
  893|       |
  894|     11|        if (slicelength <= 0) {
  ------------------
  |  Branch (894:13): [True: 0, False: 11]
  ------------------
  895|      0|            return tuple_get_empty();
  896|      0|        }
  897|     11|        else if (start == 0 && step == 1 &&
  ------------------
  |  Branch (897:18): [True: 0, False: 11]
  |  Branch (897:32): [True: 0, False: 0]
  ------------------
  898|      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 (898:18): [True: 0, False: 0]
  ------------------
  899|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  900|      0|            return Py_NewRef(self);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  901|      0|        }
  902|     11|        else {
  903|     11|            PyTupleObject* result = tuple_alloc(slicelength);
  904|     11|            if (!result) return NULL;
  ------------------
  |  Branch (904:17): [True: 0, False: 11]
  ------------------
  905|       |
  906|     11|            src = self->ob_item;
  907|     11|            dest = result->ob_item;
  908|     73|            for (cur = start, i = 0; i < slicelength;
  ------------------
  |  Branch (908:38): [True: 62, False: 11]
  ------------------
  909|     62|                 cur += step, i++) {
  910|     62|                it = Py_NewRef(src[cur]);
  ------------------
  |  |  550|     62|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     62|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     62|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  911|     62|                dest[i] = it;
  912|     62|            }
  913|       |
  914|     11|            _PyObject_GC_TRACK(result);
  ------------------
  |  |  505|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  915|     11|            return (PyObject *)result;
  916|     11|        }
  917|     11|    }
  918|      0|    else {
  919|      0|        PyErr_Format(PyExc_TypeError,
  920|      0|                     "tuple indices must be integers or slices, not %.200s",
  921|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  922|       |        return NULL;
  923|      0|    }
  924|     66|}
tupleobject.c:tuple_hash:
  373|    101|{
  374|    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 (374:24): [True: 101, False: 0]
  ------------------
  375|       |
  376|    101|    Py_uhash_t acc = FT_ATOMIC_LOAD_SSIZE_RELAXED(v->ob_hash);
  ------------------
  |  |  149|    101|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
  377|    101|    if (acc != (Py_uhash_t)-1) {
  ------------------
  |  Branch (377:9): [True: 44, False: 57]
  ------------------
  378|     44|        return acc;
  379|     44|    }
  380|       |
  381|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  382|     57|    PyObject **item = v->ob_item;
  383|     57|    acc = _PyTuple_HASH_XXPRIME_5;
  ------------------
  |  |   69|     57|#define _PyTuple_HASH_XXPRIME_5 ((Py_uhash_t)2870177450012600261ULL)
  ------------------
  384|    177|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (384:28): [True: 120, False: 57]
  ------------------
  385|    120|        Py_uhash_t lane = PyObject_Hash(item[i]);
  386|    120|        if (lane == (Py_uhash_t)-1) {
  ------------------
  |  Branch (386:13): [True: 0, False: 120]
  ------------------
  387|      0|            return -1;
  388|      0|        }
  389|    120|        acc += lane * _PyTuple_HASH_XXPRIME_2;
  ------------------
  |  |   68|    120|#define _PyTuple_HASH_XXPRIME_2 ((Py_uhash_t)14029467366897019727ULL)
  ------------------
  390|    120|        acc = _PyTuple_HASH_XXROTATE(acc);
  ------------------
  |  |   70|    120|#define _PyTuple_HASH_XXROTATE(x) ((x << 31) | (x >> 33))  /* Rotate left 31 bits */
  ------------------
  391|    120|        acc *= _PyTuple_HASH_XXPRIME_1;
  ------------------
  |  |   67|    120|#define _PyTuple_HASH_XXPRIME_1 ((Py_uhash_t)11400714785074694791ULL)
  ------------------
  392|    120|    }
  393|       |
  394|       |    /* Add input length, mangled to keep the historical value of hash(()). */
  395|     57|    acc += len ^ (_PyTuple_HASH_XXPRIME_5 ^ 3527539UL);
  ------------------
  |  |   69|     57|#define _PyTuple_HASH_XXPRIME_5 ((Py_uhash_t)2870177450012600261ULL)
  ------------------
  396|       |
  397|     57|    if (acc == (Py_uhash_t)-1) {
  ------------------
  |  Branch (397:9): [True: 0, False: 57]
  ------------------
  398|      0|        acc = 1546275796;
  399|      0|    }
  400|       |
  401|     57|    FT_ATOMIC_STORE_SSIZE_RELAXED(v->ob_hash, acc);
  ------------------
  |  |  194|     57|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  402|       |
  403|     57|    return acc;
  404|     57|}
tupleobject.c:tuple_traverse:
  719|  11.0k|{
  720|  11.0k|    PyTupleObject *o = _PyTuple_CAST(self);
  ------------------
  |  |   19|  11.0k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  11.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (720:24): [True: 11.0k, False: 0]
  ------------------
  721|  57.0k|    for (Py_ssize_t i = Py_SIZE(o); --i >= 0; ) {
  ------------------
  |  |  214|  11.0k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  11.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (721:37): [True: 45.9k, False: 11.0k]
  ------------------
  722|  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]
  |  |  ------------------
  ------------------
  723|  45.9k|    }
  724|  11.0k|    return 0;
  725|  11.0k|}
tupleobject.c:tuple_richcompare:
  729|      8|{
  730|      8|    PyTupleObject *vt, *wt;
  731|      8|    Py_ssize_t i;
  732|      8|    Py_ssize_t vlen, wlen;
  733|       |
  734|      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 (734:9): [True: 0, False: 8]
  |  Branch (734:30): [True: 0, False: 8]
  ------------------
  735|      0|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
  736|       |
  737|      8|    vt = (PyTupleObject *)v;
  738|      8|    wt = (PyTupleObject *)w;
  739|       |
  740|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  741|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  742|       |
  743|       |    /* Note:  the corresponding code for lists has an "early out" test
  744|       |     * here when op is EQ or NE and the lengths differ.  That pays there,
  745|       |     * but Tim was unable to find any real code where EQ/NE tuple
  746|       |     * compares don't have the same length, so testing for it here would
  747|       |     * have cost without benefit.
  748|       |     */
  749|       |
  750|       |    /* Search for the first index where items are different.
  751|       |     * Note that because tuples are immutable, it's safe to reuse
  752|       |     * vlen and wlen across the comparison calls.
  753|       |     */
  754|     16|    for (i = 0; i < vlen && i < wlen; i++) {
  ------------------
  |  Branch (754:17): [True: 12, False: 4]
  |  Branch (754:29): [True: 12, False: 0]
  ------------------
  755|     12|        int k = PyObject_RichCompareBool(vt->ob_item[i],
  756|     12|                                         wt->ob_item[i], Py_EQ);
  ------------------
  |  |  654|     12|#define Py_EQ 2
  ------------------
  757|     12|        if (k < 0)
  ------------------
  |  Branch (757:13): [True: 0, False: 12]
  ------------------
  758|      0|            return NULL;
  759|     12|        if (!k)
  ------------------
  |  Branch (759:13): [True: 4, False: 8]
  ------------------
  760|      4|            break;
  761|     12|    }
  762|       |
  763|      8|    if (i >= vlen || i >= wlen) {
  ------------------
  |  Branch (763:9): [True: 4, False: 4]
  |  Branch (763:22): [True: 0, False: 4]
  ------------------
  764|       |        /* No more items to compare -- compare sizes */
  765|      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();                                               \
  |  |  ------------------
  |  |  |  |  289|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  |  |  ------------------
  |  |  684|      4|        }                                                                   \
  |  |  685|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (685:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  766|      4|    }
  767|       |
  768|       |    /* We have an item that differs -- shortcuts for EQ/NE */
  769|      4|    if (op == Py_EQ) {
  ------------------
  |  |  654|      4|#define Py_EQ 2
  ------------------
  |  Branch (769:9): [True: 3, False: 1]
  ------------------
  770|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  771|      3|    }
  772|      1|    if (op == Py_NE) {
  ------------------
  |  |  655|      1|#define Py_NE 3
  ------------------
  |  Branch (772:9): [True: 1, False: 0]
  ------------------
  773|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  774|      1|    }
  775|       |
  776|       |    /* Compare the final item again using the proper operator */
  777|      0|    return PyObject_RichCompare(vt->ob_item[i], wt->ob_item[i], op);
  778|      1|}
tupleobject.c:tuple_new_impl:
  801|      9|{
  802|      9|    if (type != &PyTuple_Type)
  ------------------
  |  Branch (802:9): [True: 2, False: 7]
  ------------------
  803|      2|        return tuple_subtype_new(type, iterable);
  804|       |
  805|      7|    if (iterable == NULL) {
  ------------------
  |  Branch (805:9): [True: 0, False: 7]
  ------------------
  806|      0|        return tuple_get_empty();
  807|      0|    }
  808|      7|    else {
  809|      7|        return PySequence_Tuple(iterable);
  810|      7|    }
  811|      7|}
tupleobject.c:tuple_subtype_new:
  815|      2|{
  816|      2|    PyObject *tmp, *newobj, *item;
  817|      2|    Py_ssize_t i, n;
  818|       |
  819|      2|    assert(PyType_IsSubtype(type, &PyTuple_Type));
  ------------------
  |  Branch (819:5): [True: 2, False: 0]
  ------------------
  820|       |    // tuple subclasses must implement the GC protocol
  821|      2|    assert(_PyType_IS_GC(type));
  ------------------
  |  Branch (821:5): [True: 2, False: 0]
  ------------------
  822|       |
  823|      2|    tmp = tuple_new_impl(&PyTuple_Type, iterable);
  824|      2|    if (tmp == NULL)
  ------------------
  |  Branch (824:9): [True: 0, False: 2]
  ------------------
  825|      0|        return NULL;
  826|      2|    assert(PyTuple_Check(tmp));
  ------------------
  |  Branch (826:5): [True: 2, False: 0]
  ------------------
  827|       |    /* This may allocate an empty tuple that is not the global one. */
  828|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  829|      2|    if (newobj == NULL) {
  ------------------
  |  Branch (829:9): [True: 0, False: 2]
  ------------------
  830|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  831|      0|        return NULL;
  832|      0|    }
  833|     10|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (833:17): [True: 8, False: 2]
  ------------------
  834|      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 (834:16): [True: 8, False: 0]
  ------------------
  835|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  836|      8|    }
  837|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  838|       |
  839|      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 (839:5): [True: 2, False: 0]
  |  Branch (839:5): [True: 2, False: 0]
  ------------------
  840|       |
  841|       |    // Don't track if a subclass tp_alloc is PyType_GenericAlloc()
  842|      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 (842:9): [True: 0, False: 2]
  ------------------
  843|      0|        _PyObject_GC_TRACK(newobj);
  ------------------
  |  |  505|      0|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  844|      0|    }
  845|      2|    return newobj;
  846|      2|}
tupleobject.c:tuple_iteritem:
  861|     50|{
  862|     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 (862:9): [True: 6, False: 44]
  ------------------
  863|      6|        return (_PyObjectIndexPair) { .object = NULL, .index = index };
  864|      6|    }
  865|     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 (865:24): [True: 44, False: 0]
  ------------------
  866|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  867|     44|    return (_PyObjectIndexPair) { .object = result, .index = index + 1 };
  868|     44|}
tupleobject.c:tupleiter_dealloc:
 1088|     76|{
 1089|     76|    _PyTupleIterObject *it = _PyTupleIterObject_CAST(self);
  ------------------
  |  | 1084|     76|#define _PyTupleIterObject_CAST(op) ((_PyTupleIterObject *)(op))
  ------------------
 1090|     76|    _PyObject_GC_UNTRACK(it);
  ------------------
  |  |  507|     76|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     76|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     76|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1091|     76|    Py_XDECREF(it->it_seq);
  ------------------
  |  |  524|     76|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     76|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     76|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1092|     76|    assert(Py_IS_TYPE(self, &PyTupleIter_Type));
  ------------------
  |  Branch (1092:5): [True: 76, False: 0]
  ------------------
 1093|     76|    _Py_FREELIST_FREE(tuple_iters, it, PyObject_GC_Del);
  ------------------
  |  |   35|     76|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|     76|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     76|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|     76|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   15|     76|#  define Py_tuple_iters_MAXFREELIST 10
  |  |  ------------------
  ------------------
 1094|     76|}
tupleobject.c:tupleiter_next:
 1106|    951|{
 1107|    951|    _PyTupleIterObject *it = _PyTupleIterObject_CAST(self);
  ------------------
  |  | 1084|    951|#define _PyTupleIterObject_CAST(op) ((_PyTupleIterObject *)(op))
  ------------------
 1108|    951|    PyTupleObject *seq;
 1109|    951|    PyObject *item;
 1110|       |
 1111|    951|    assert(it != NULL);
  ------------------
  |  Branch (1111:5): [True: 951, False: 0]
  ------------------
 1112|    951|    seq = it->it_seq;
 1113|    951|#ifndef Py_GIL_DISABLED
 1114|    951|    if (seq == NULL)
  ------------------
  |  Branch (1114:9): [True: 0, False: 951]
  ------------------
 1115|      0|        return NULL;
 1116|    951|#endif
 1117|    951|    assert(PyTuple_Check(seq));
  ------------------
  |  Branch (1117:5): [True: 951, False: 0]
  ------------------
 1118|       |
 1119|    951|    Py_ssize_t index = FT_ATOMIC_LOAD_SSIZE_RELAXED(it->it_index);
  ------------------
  |  |  149|    951|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 1120|    951|    if (index < PyTuple_GET_SIZE(seq)) {
  ------------------
  |  |   27|    951|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    951|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    951|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1120:9): [True: 877, False: 74]
  ------------------
 1121|    877|        FT_ATOMIC_STORE_SSIZE_RELAXED(it->it_index, index + 1);
  ------------------
  |  |  194|    877|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
 1122|    877|        item = PyTuple_GET_ITEM(seq, index);
  ------------------
  |  |   29|    877|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    877|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    877|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1122:16): [True: 877, False: 0]
  ------------------
 1123|    877|        return Py_NewRef(item);
  ------------------
  |  |  550|    877|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    877|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    877|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1124|    877|    }
 1125|       |
 1126|     74|#ifndef Py_GIL_DISABLED
 1127|     74|    it->it_seq = NULL;
 1128|     74|    Py_DECREF(seq);
  ------------------
  |  |  430|     74|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     74|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     74|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1129|     74|#endif
 1130|       |    return NULL;
 1131|    951|}
tupleobject.c:tuple_iter:
 1235|     76|{
 1236|     76|    if (!PyTuple_Check(seq)) {
  ------------------
  |  |   27|     76|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     76|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1236:9): [True: 0, False: 76]
  ------------------
 1237|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1238|      0|        return NULL;
 1239|      0|    }
 1240|     76|    _PyTupleIterObject *it = _Py_FREELIST_POP(_PyTupleIterObject, tuple_iters);
  ------------------
  |  |   43|     76|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|     76|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1241|     76|    if (it == NULL) {
  ------------------
  |  Branch (1241:9): [True: 3, False: 73]
  ------------------
 1242|      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))
  |  |  ------------------
  ------------------
 1243|      3|        if (it == NULL)
  ------------------
  |  Branch (1243:13): [True: 0, False: 3]
  ------------------
 1244|      0|            return NULL;
 1245|      3|    }
 1246|     76|    it->it_index = 0;
 1247|     76|    it->it_seq = (PyTupleObject *)Py_NewRef(seq);
  ------------------
  |  |  550|     76|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     76|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     76|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1248|     76|    _PyObject_GC_TRACK(it);
  ------------------
  |  |  505|     76|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     76|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     76|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1249|     76|    return (PyObject *)it;
 1250|     76|}
tupleobject.c:maybe_freelist_push:
 1259|  7.84k|{
 1260|  7.84k|    if (!Py_IS_TYPE(op, &PyTuple_Type)) {
  ------------------
  |  |  215|  7.84k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  7.84k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.84k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1260:9): [True: 0, False: 7.84k]
  ------------------
 1261|      0|        return 0;
 1262|      0|    }
 1263|  7.84k|    Py_ssize_t index = Py_SIZE(op) - 1;
  ------------------
  |  |  214|  7.84k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  7.84k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.84k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1264|  7.84k|    if (index < PyTuple_MAXSAVESIZE) {
  ------------------
  |  |   11|  7.84k|#  define PyTuple_MAXSAVESIZE 20     // Largest tuple to save on freelist
  ------------------
  |  Branch (1264:9): [True: 7.73k, False: 108]
  ------------------
 1265|  7.73k|        return _Py_FREELIST_PUSH(tuples[index], op, Py_tuple_MAXFREELIST);
  ------------------
  |  |   39|  7.73k|    _PyFreeList_Push(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), limit)
  |  |  ------------------
  |  |  |  |  171|  7.73k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.73k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1266|  7.73k|    }
 1267|    108|    return 0;
 1268|  7.84k|}

_PyStaticType_GetState:
  306|  86.4k|{
  307|  86.4k|    assert(self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN);
  ------------------
  |  Branch (307:5): [True: 86.4k, False: 0]
  ------------------
  308|  86.4k|    return managed_static_type_state_get(interp, self);
  309|  86.4k|}
_PyType_GetDict:
  543|  22.1k|{
  544|       |    /* It returns a borrowed reference. */
  545|  22.1k|    return lookup_tp_dict(self);
  546|  22.1k|}
PyType_GetDict:
  550|    113|{
  551|    113|    PyObject *dict = lookup_tp_dict(self);
  552|    113|    return _Py_XNewRef(dict);
  553|    113|}
_PyType_GetBases:
  590|     71|{
  591|     71|    PyObject *res;
  592|       |
  593|     71|    BEGIN_TYPE_LOCK();
  594|     71|    res = lookup_tp_bases(self);
  595|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  596|     71|    END_TYPE_LOCK();
  597|       |
  598|     71|    return res;
  599|     71|}
_PyType_GetSubclasses:
  811|     45|{
  812|     45|    PyObject *list = PyList_New(0);
  813|     45|    if (list == NULL) {
  ------------------
  |  Branch (813:9): [True: 0, False: 45]
  ------------------
  814|      0|        return NULL;
  815|      0|    }
  816|       |
  817|       |    // The type lock protects tp_subclasses from being mutated while we
  818|       |    // iterate over it (e.g. by add_subclass() or by remove_subclass() when a
  819|       |    // subclass is deallocated).
  820|     45|    int res;
  821|     45|    BEGIN_TYPE_LOCK();
  822|     45|    res = get_subclasses_unlocked(self, list);
  823|     45|    END_TYPE_LOCK();
  824|       |
  825|     45|    if (res < 0) {
  ------------------
  |  Branch (825:9): [True: 0, False: 45]
  ------------------
  826|       |        Py_CLEAR(list);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  827|      0|    }
  828|     45|    return list;
  829|     45|}
_PyType_CheckConsistency:
  889|  2.27k|{
  890|  2.27k|#define CHECK(expr) \
  891|  2.27k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG((PyObject *)type, Py_STRINGIFY(expr)); } } while (0)
  892|       |
  893|  2.27k|    CHECK(!_PyObject_IsFreed((PyObject *)type));
  ------------------
  |  |  891|  2.27k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG((PyObject *)type, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (891:14): [True: 0, False: 2.27k]
  |  |  |  Branch (891:103): [Folded, False: 2.27k]
  |  |  ------------------
  ------------------
  894|       |
  895|  2.27k|    if (!(type->tp_flags & Py_TPFLAGS_READY)) {
  ------------------
  |  |  518|  2.27k|#define Py_TPFLAGS_READY (1UL << 12)
  ------------------
  |  Branch (895:9): [True: 498, False: 1.77k]
  ------------------
  896|       |        /* don't check static types before PyType_Ready() */
  897|    498|        return 1;
  898|    498|    }
  899|       |
  900|  1.77k|    CHECK(Py_REFCNT(type) >= 1);
  ------------------
  |  |  891|  1.77k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG((PyObject *)type, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (891:14): [True: 0, False: 1.77k]
  |  |  |  Branch (891:103): [Folded, False: 1.77k]
  |  |  ------------------
  ------------------
  901|  1.77k|    CHECK(PyType_Check(type));
  ------------------
  |  |  891|  1.77k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG((PyObject *)type, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (891:14): [True: 0, False: 1.77k]
  |  |  |  Branch (891:103): [Folded, False: 1.77k]
  |  |  ------------------
  ------------------
  902|       |
  903|  1.77k|    CHECK(!is_readying(type));
  ------------------
  |  |  891|  1.77k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG((PyObject *)type, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (891:14): [True: 0, False: 1.77k]
  |  |  |  Branch (891:103): [Folded, False: 1.77k]
  |  |  ------------------
  ------------------
  904|  1.77k|    CHECK(lookup_tp_dict(type) != NULL);
  ------------------
  |  |  891|  1.77k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG((PyObject *)type, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (891:14): [True: 0, False: 1.77k]
  |  |  |  Branch (891:103): [Folded, False: 1.77k]
  |  |  ------------------
  ------------------
  905|       |
  906|  1.77k|    if (type->tp_flags & Py_TPFLAGS_HAVE_GC) {
  ------------------
  |  |  524|  1.77k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (906:9): [True: 1.69k, False: 80]
  ------------------
  907|       |        // bpo-44263: tp_traverse is required if Py_TPFLAGS_HAVE_GC is set.
  908|       |        // Note: tp_clear is optional.
  909|  1.69k|        CHECK(type->tp_traverse != NULL);
  ------------------
  |  |  891|  1.69k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG((PyObject *)type, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (891:14): [True: 0, False: 1.69k]
  |  |  |  Branch (891:103): [Folded, False: 1.69k]
  |  |  ------------------
  ------------------
  910|  1.69k|    }
  911|       |
  912|  1.77k|    if (type->tp_flags & Py_TPFLAGS_DISALLOW_INSTANTIATION) {
  ------------------
  |  |  497|  1.77k|#define Py_TPFLAGS_DISALLOW_INSTANTIATION (1UL << 7)
  ------------------
  |  Branch (912:9): [True: 176, False: 1.59k]
  ------------------
  913|    176|        CHECK(type->tp_new == NULL);
  ------------------
  |  |  891|    176|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG((PyObject *)type, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (891:14): [True: 0, False: 176]
  |  |  |  Branch (891:103): [Folded, False: 176]
  |  |  ------------------
  ------------------
  914|    176|        CHECK(PyDict_Contains(lookup_tp_dict(type), &_Py_ID(__new__)) == 0);
  ------------------
  |  |  891|    176|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG((PyObject *)type, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (891:14): [True: 0, False: 176]
  |  |  |  Branch (891:103): [Folded, False: 176]
  |  |  ------------------
  ------------------
  915|    176|    }
  916|       |
  917|  1.77k|    return 1;
  918|  1.77k|#undef CHECK
  919|  1.77k|}
_PyType_GetDocFromInternalDoc:
  936|     23|{
  937|     23|    const char *doc = _PyType_DocWithoutSignature(name, internal_doc);
  938|       |
  939|     23|    if (!doc || *doc == '\0') {
  ------------------
  |  Branch (939:9): [True: 0, False: 23]
  |  Branch (939:17): [True: 0, False: 23]
  ------------------
  940|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  941|      0|    }
  942|       |
  943|     23|    return PyUnicode_FromString(doc);
  944|     23|}
_PyType_Modified_Unlocked:
 1131|  1.26k|{
 1132|       |    /* Invalidate any cached data for the specified type and all
 1133|       |       subclasses.  This function is called after the base
 1134|       |       classes, mro, or attributes of the type are altered.
 1135|       |
 1136|       |       Invariants:
 1137|       |
 1138|       |       - before tp_version_tag can be set on a type,
 1139|       |         it must first be set on all super types.
 1140|       |
 1141|       |       This function clears the tp_version_tag of a
 1142|       |       type (so it must first clear it on all subclasses).  The
 1143|       |       tp_version_tag value is meaningless when equal to zero.
 1144|       |       We don't assign new version tags eagerly, but only as
 1145|       |       needed.
 1146|       |     */
 1147|  1.26k|    ASSERT_NEW_TYPE_OR_LOCKED(type);
 1148|       |#ifdef Py_GIL_DISABLED
 1149|       |    // This function is re-entrant and it's not safe to call it
 1150|       |    // with the world stopped.
 1151|       |    assert(!types_world_is_stopped());
 1152|       |#endif
 1153|  1.26k|    if (type->tp_version_tag == 0) {
  ------------------
  |  Branch (1153:9): [True: 1.08k, False: 171]
  ------------------
 1154|  1.08k|        return;
 1155|  1.08k|    }
 1156|       |    // Cannot modify static builtin types.
 1157|  1.26k|    assert((type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) == 0);
  ------------------
  |  Branch (1157:5): [True: 171, False: 0]
  ------------------
 1158|       |
 1159|    171|    PyObject *subclasses = lookup_tp_subclasses(type);
 1160|    171|    if (subclasses != NULL) {
  ------------------
  |  Branch (1160:9): [True: 0, False: 171]
  ------------------
 1161|      0|        assert(PyDict_CheckExact(subclasses));
  ------------------
  |  Branch (1161:9): [True: 0, False: 0]
  ------------------
 1162|       |
 1163|      0|        Py_ssize_t i = 0;
 1164|      0|        PyObject *ref;
 1165|      0|        while (PyDict_Next(subclasses, &i, NULL, &ref)) {
  ------------------
  |  Branch (1165:16): [True: 0, False: 0]
  ------------------
 1166|      0|            PyTypeObject *subclass = type_from_ref(ref);
 1167|      0|            if (subclass == NULL) {
  ------------------
  |  Branch (1167:17): [True: 0, False: 0]
  ------------------
 1168|      0|                continue;
 1169|      0|            }
 1170|      0|            _PyType_Modified_Unlocked(subclass);
 1171|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1172|      0|        }
 1173|      0|    }
 1174|       |
 1175|       |    // Notify registered type watchers, if any
 1176|    171|    if (type->tp_watched) {
  ------------------
  |  Branch (1176:9): [True: 0, False: 171]
  ------------------
 1177|      0|        PyInterpreterState *interp = _PyInterpreterState_GET();
 1178|      0|        int bits = type->tp_watched;
 1179|      0|        int i = 0;
 1180|      0|        while (bits) {
  ------------------
  |  Branch (1180:16): [True: 0, False: 0]
  ------------------
 1181|      0|            assert(i < TYPE_MAX_WATCHERS);
  ------------------
  |  Branch (1181:13): [True: 0, False: 0]
  ------------------
 1182|      0|            if (bits & 1) {
  ------------------
  |  Branch (1182:17): [True: 0, False: 0]
  ------------------
 1183|       |                // Note that PyErr_FormatUnraisable is potentially re-entrant
 1184|       |                // and the watcher callback might be too.
 1185|      0|                PyType_WatchCallback cb = interp->type_watchers[i];
 1186|      0|                if (cb && (cb(type) < 0)) {
  ------------------
  |  Branch (1186:21): [True: 0, False: 0]
  |  Branch (1186:27): [True: 0, False: 0]
  ------------------
 1187|      0|                    PyErr_FormatUnraisable(
 1188|      0|                        "Exception ignored in type watcher callback #%d for %R",
 1189|      0|                        i, type);
 1190|      0|                }
 1191|      0|            }
 1192|      0|            i++;
 1193|      0|            bits >>= 1;
 1194|      0|        }
 1195|      0|    }
 1196|       |
 1197|    171|    set_version_unlocked(type, 0); /* 0 is not a valid version tag */
 1198|    171|    _PyTypeCache_Invalidate(type);
 1199|    171|    if (PyType_HasFeature(type, Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|    171|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (1199:9): [True: 171, False: 0]
  ------------------
 1200|       |        // This field *must* be invalidated if the type is modified (see the
 1201|       |        // comment on struct _specialization_cache):
 1202|    171|        FT_ATOMIC_STORE_PTR_RELAXED(
  ------------------
  |  |  163|    171|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
 1203|    171|            ((PyHeapTypeObject *)type)->_spec_cache.getitem, NULL);
 1204|    171|    }
 1205|    171|}
PyType_Modified:
 1209|    125|{
 1210|       |    // Quick check without the lock held
 1211|    125|    if (FT_ATOMIC_LOAD_UINT_RELAXED(type->tp_version_tag) == 0) {
  ------------------
  |  |  189|    125|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  ------------------
  |  Branch (1211:9): [True: 124, False: 1]
  ------------------
 1212|    124|        return;
 1213|    124|    }
 1214|       |
 1215|      1|    BEGIN_TYPE_LOCK();
 1216|      1|    _PyType_Modified_Unlocked(type);
 1217|      1|    END_TYPE_LOCK();
 1218|      1|}
_PyType_SetVersion:
 1303|    392|{
 1304|    392|    BEGIN_TYPE_LOCK();
 1305|    392|    set_version_unlocked(tp, version);
 1306|    392|    END_TYPE_LOCK();
 1307|    392|}
_PyType_Name:
 1474|    189|{
 1475|    189|    assert(type->tp_name != NULL);
  ------------------
  |  Branch (1475:5): [True: 189, False: 0]
  ------------------
 1476|    189|    const char *s = strrchr(type->tp_name, '.');
 1477|    189|    if (s == NULL) {
  ------------------
  |  Branch (1477:9): [True: 50, False: 139]
  ------------------
 1478|     50|        s = type->tp_name;
 1479|     50|    }
 1480|    139|    else {
 1481|    139|        s++;
 1482|    139|    }
 1483|    189|    return s;
 1484|    189|}
_PyType_AllocNoTrack:
 2483|  10.2k|{
 2484|  10.2k|    PyObject *obj;
 2485|       |    /* The +1 on nitems is needed for most types but not all. We could save a
 2486|       |     * bit of space by allocating one less item in certain cases, depending on
 2487|       |     * the type. However, given the extra complexity (e.g. an additional type
 2488|       |     * flag to indicate when that is safe) it does not seem worth the memory
 2489|       |     * savings. An example type that doesn't need the +1 is a subclass of
 2490|       |     * tuple. See GH-100659 and GH-81381. */
 2491|  10.2k|    size_t size = _PyObject_VAR_SIZE(type, nitems+1);
 2492|       |
 2493|  10.2k|    const size_t presize = _PyType_PreHeaderSize(type);
 2494|  10.2k|    if (type->tp_flags & Py_TPFLAGS_INLINE_VALUES) {
  ------------------
  |  |  472|  10.2k|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (2494:9): [True: 690, False: 9.56k]
  ------------------
 2495|    690|        assert(type->tp_itemsize == 0);
  ------------------
  |  Branch (2495:9): [True: 690, False: 0]
  ------------------
 2496|    690|        size += _PyInlineValuesSize(type);
 2497|    690|    }
 2498|  10.2k|    char *alloc = _PyObject_MallocWithType(type, size + presize);
 2499|  10.2k|    if (alloc  == NULL) {
  ------------------
  |  Branch (2499:9): [True: 0, False: 10.2k]
  ------------------
 2500|      0|        return PyErr_NoMemory();
 2501|      0|    }
 2502|  10.2k|    obj = (PyObject *)(alloc + presize);
 2503|  10.2k|    if (presize) {
  ------------------
  |  Branch (2503:9): [True: 10.2k, False: 44]
  ------------------
 2504|  10.2k|        ((PyObject **)alloc)[0] = NULL;
 2505|  10.2k|        ((PyObject **)alloc)[1] = NULL;
 2506|  10.2k|    }
 2507|  10.2k|    if (PyType_IS_GC(type)) {
  ------------------
  |  |  157|  10.2k|#define PyType_IS_GC(t) PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
  |  |  ------------------
  |  |  |  |  524|  10.2k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  |  |  ------------------
  |  |  |  Branch (157:25): [True: 10.2k, False: 44]
  |  |  ------------------
  ------------------
 2508|  10.2k|        _PyObject_GC_Link(obj);
 2509|  10.2k|    }
 2510|       |    // Zero out the object after the PyObject header. The header fields are
 2511|       |    // initialized by _PyObject_Init[Var]().
 2512|  10.2k|    memset((char *)obj + sizeof(PyObject), 0, size - sizeof(PyObject));
 2513|       |
 2514|  10.2k|    if (type->tp_itemsize == 0) {
  ------------------
  |  Branch (2514:9): [True: 9.61k, False: 643]
  ------------------
 2515|  9.61k|        _PyObject_Init(obj, type);
 2516|  9.61k|    }
 2517|    643|    else {
 2518|    643|        _PyObject_InitVar((PyVarObject *)obj, type, nitems);
 2519|    643|    }
 2520|  10.2k|    if (type->tp_flags & Py_TPFLAGS_INLINE_VALUES) {
  ------------------
  |  |  472|  10.2k|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (2520:9): [True: 690, False: 9.56k]
  ------------------
 2521|    690|        _PyObject_InitInlineValues(obj, type);
 2522|    690|    }
 2523|  10.2k|    return obj;
 2524|  10.2k|}
PyType_GenericAlloc:
 2528|  9.68k|{
 2529|  9.68k|    PyObject *obj = _PyType_AllocNoTrack(type, nitems);
 2530|  9.68k|    if (obj == NULL) {
  ------------------
  |  Branch (2530:9): [True: 0, False: 9.68k]
  ------------------
 2531|      0|        return NULL;
 2532|      0|    }
 2533|       |
 2534|  9.68k|    if (_PyType_IS_GC(type)) {
  ------------------
  |  |  820|  9.68k|#define _PyType_IS_GC(t) _PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
  |  |  ------------------
  |  |  |  |  524|  9.68k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  |  |  ------------------
  |  |  |  Branch (820:26): [True: 9.64k, False: 44]
  |  |  ------------------
  ------------------
 2535|  9.64k|        _PyObject_GC_TRACK(obj);
  ------------------
  |  |  505|  9.64k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.64k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.64k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2536|  9.64k|    }
 2537|  9.68k|    return obj;
 2538|  9.68k|}
PyType_GenericNew:
 2542|    223|{
 2543|    223|    return type->tp_alloc(type, 0);
 2544|    223|}
PyType_IsSubtype:
 2900|  81.6k|{
 2901|  81.6k|    return is_subtype_with_mro(a->tp_mro, a, b);
 2902|  81.6k|}
_PyObject_LookupSpecial:
 2921|  3.46k|{
 2922|  3.46k|    PyObject *res;
 2923|       |
 2924|  3.46k|    res = _PyType_LookupRef(Py_TYPE(self), attr);
  ------------------
  |  |  213|  3.46k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.46k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2925|  3.46k|    if (res != NULL) {
  ------------------
  |  Branch (2925:9): [True: 153, False: 3.31k]
  ------------------
 2926|    153|        descrgetfunc f;
 2927|    153|        if ((f = Py_TYPE(res)->tp_descr_get) != NULL) {
  ------------------
  |  |  213|    153|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    153|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    153|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2927:13): [True: 153, False: 0]
  ------------------
 2928|    153|            Py_SETREF(res, f(res, self, (PyObject *)(Py_TYPE(self))));
  ------------------
  |  |  354|    153|    do { \
  |  |  355|    153|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|    153|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|    153|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|    153|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|    153|        *_tmp_dst_ptr = (src); \
  |  |  358|    153|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|    153|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    153|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    153|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|    153|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 153]
  |  |  ------------------
  ------------------
 2929|    153|        }
 2930|    153|    }
 2931|  3.46k|    return res;
 2932|  3.46k|}
_PyObject_LookupSpecialMethod:
 2946|  1.31k|{
 2947|  1.31k|    PyObject *self_o = PyStackRef_AsPyObjectBorrow(*self);
 2948|  1.31k|    _PyType_LookupStackRefAndVersion(Py_TYPE(self_o), attr, method);
  ------------------
  |  |  213|  1.31k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.31k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2949|  1.31k|    PyObject *method_o = PyStackRef_AsPyObjectBorrow(*method);
 2950|  1.31k|    if (method_o == NULL) {
  ------------------
  |  Branch (2950:9): [True: 0, False: 1.31k]
  ------------------
 2951|      0|        return 0;
 2952|      0|    }
 2953|       |
 2954|  1.31k|    if (_PyType_HasFeature(Py_TYPE(method_o), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  213|  1.31k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.31k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (_PyType_HasFeature(Py_TYPE(method_o), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  534|  1.31k|#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
  ------------------
  |  Branch (2954:9): [True: 1.31k, False: 0]
  ------------------
 2955|       |        /* Avoid temporary PyMethodObject */
 2956|  1.31k|        return 1;
 2957|  1.31k|    }
 2958|       |
 2959|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2960|      0|    if (f != NULL) {
  ------------------
  |  Branch (2960:9): [True: 0, False: 0]
  ------------------
 2961|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2962|      0|        if (func == NULL) {
  ------------------
  |  Branch (2962:13): [True: 0, False: 0]
  ------------------
 2963|      0|            return -1;
 2964|      0|        }
 2965|      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]
  |  |  ------------------
  ------------------
 2966|      0|        *method = PyStackRef_FromPyObjectSteal(func);
 2967|      0|    }
 2968|      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]
  |  |  ------------------
  ------------------
 2969|      0|    return 1;
 2970|      0|}
PyType_GetFlags:
 4122|    279|{
 4123|    279|    return type->tp_flags;
 4124|    279|}
_PyType_CalculateMetaclass:
 4137|    645|{
 4138|    645|    Py_ssize_t i, nbases;
 4139|    645|    PyTypeObject *winner;
 4140|    645|    PyObject *tmp;
 4141|    645|    PyTypeObject *tmptype;
 4142|       |
 4143|       |    /* Determine the proper metatype to deal with this,
 4144|       |       and check for metatype conflicts while we're at it.
 4145|       |       Note that if some other metatype wins to contract,
 4146|       |       it's possible that its instances are not types. */
 4147|       |
 4148|    645|    nbases = PyTuple_GET_SIZE(bases);
  ------------------
  |  |   27|    645|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    645|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    645|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4149|    645|    winner = metatype;
 4150|  1.25k|    for (i = 0; i < nbases; i++) {
  ------------------
  |  Branch (4150:17): [True: 607, False: 645]
  ------------------
 4151|    607|        tmp = PyTuple_GET_ITEM(bases, i);
  ------------------
  |  |   29|    607|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    607|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    607|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4151:15): [True: 607, False: 0]
  ------------------
 4152|    607|        tmptype = Py_TYPE(tmp);
  ------------------
  |  |  213|    607|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    607|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    607|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4153|    607|        if (PyType_IsSubtype(winner, tmptype)) {
  ------------------
  |  Branch (4153:13): [True: 599, False: 8]
  ------------------
 4154|    599|            continue;
 4155|    599|        }
 4156|      8|        if (PyType_IsSubtype(tmptype, winner)) {
  ------------------
  |  Branch (4156:13): [True: 8, False: 0]
  ------------------
 4157|      8|            winner = tmptype;
 4158|      8|            continue;
 4159|      8|        }
 4160|       |        /* else: */
 4161|      0|        PyErr_SetString(PyExc_TypeError,
 4162|      0|                        "metaclass conflict: "
 4163|      0|                        "the metaclass of a derived class "
 4164|      0|                        "must be a (non-strict) subclass "
 4165|      0|                        "of the metaclasses of all its bases");
 4166|      0|        return NULL;
 4167|      8|    }
 4168|    645|    return winner;
 4169|    645|}
PyType_FromMetaclass:
 5782|      5|{
 5783|       |    return type_from_slots_or_spec(NULL, spec, metaclass, module, bases);
 5784|      5|}
PyType_FromModuleAndSpec:
 5788|     79|{
 5789|     79|    return type_from_slots_or_spec(NULL, spec, NULL, module, bases);
 5790|     79|}
PyType_FromSpecWithBases:
 5794|     18|{
 5795|     18|    return type_from_slots_or_spec(NULL, spec, NULL, NULL, bases);
 5796|     18|}
PyType_FromSpec:
 5800|     20|{
 5801|     20|    return type_from_slots_or_spec(NULL, spec, NULL, NULL, NULL);
 5802|     20|}
PyType_GetSlot:
 5824|     42|{
 5825|     42|    uint16_t slot = _PySlot_resolve_type_slot(slot_in);
 5826|     42|    return _PySlot_type_getslot(type, slot);
 5827|     42|}
PyType_GetModule:
 5842|      1|{
 5843|      1|    assert(PyType_Check(type));
  ------------------
  |  Branch (5843:5): [True: 1, False: 0]
  ------------------
 5844|      1|    if (!_PyType_HasFeature(type, Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|      1|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (5844:9): [True: 0, False: 1]
  ------------------
 5845|      0|        PyErr_Format(
 5846|      0|            PyExc_TypeError,
 5847|      0|            "PyType_GetModule: Type '%s' is not a heap type",
 5848|      0|            type->tp_name);
 5849|      0|        return NULL;
 5850|      0|    }
 5851|       |
 5852|      1|    PyHeapTypeObject* et = (PyHeapTypeObject*)type;
 5853|      1|    if (!et->ht_module) {
  ------------------
  |  Branch (5853:9): [True: 0, False: 1]
  ------------------
 5854|      0|        PyErr_Format(
 5855|      0|            PyExc_TypeError,
 5856|      0|            "PyType_GetModule: Type '%s' has no associated module",
 5857|      0|            type->tp_name);
 5858|      0|        return NULL;
 5859|      0|    }
 5860|      1|    return et->ht_module;
 5861|      1|}
PyType_GetModuleByToken_DuringGC:
 5888|    124|{
 5889|    124|    assert(PyType_Check(type));
  ------------------
  |  Branch (5889:5): [True: 124, False: 0]
  ------------------
 5890|       |
 5891|    124|    if (!_PyType_HasFeature(type, Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|    124|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (5891:9): [True: 0, False: 124]
  ------------------
 5892|       |        // type_ready_mro() ensures that no heap type is
 5893|       |        // contained in a static type MRO.
 5894|      0|        return NULL;
 5895|      0|    }
 5896|    124|    else {
 5897|    124|        PyHeapTypeObject *ht = (PyHeapTypeObject*)type;
 5898|    124|        PyObject *module = ht->ht_module;
 5899|    124|        if (module && _PyModule_GetToken(module) == token) {
  ------------------
  |  Branch (5899:13): [True: 124, False: 0]
  |  Branch (5899:23): [True: 124, False: 0]
  ------------------
 5900|    124|            return module;
 5901|    124|        }
 5902|    124|    }
 5903|       |
 5904|      0|    PyObject *res = NULL;
 5905|      0|    BEGIN_TYPE_LOCK();
 5906|       |
 5907|      0|    PyObject *mro = lookup_tp_mro(type);
 5908|       |    // The type must be ready
 5909|      0|    assert(mro != NULL);
  ------------------
  |  Branch (5909:5): [True: 0, False: 0]
  ------------------
 5910|      0|    assert(PyTuple_Check(mro));
  ------------------
  |  Branch (5910:5): [True: 0, False: 0]
  ------------------
 5911|       |    // mro_invoke() ensures that the type MRO cannot be empty.
 5912|      0|    assert(PyTuple_GET_SIZE(mro) >= 1);
  ------------------
  |  Branch (5912:5): [True: 0, False: 0]
  ------------------
 5913|       |    // Also, the first item in the MRO is the type itself, which
 5914|       |    // we already checked above. We skip it in the loop.
 5915|      0|    assert(PyTuple_GET_ITEM(mro, 0) == (PyObject *)type);
  ------------------
  |  Branch (5915:5): [True: 0, False: 0]
  |  Branch (5915:5): [True: 0, False: 0]
  ------------------
 5916|       |
 5917|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5918|      0|    for (Py_ssize_t i = 1; i < n; i++) {
  ------------------
  |  Branch (5918:28): [True: 0, False: 0]
  ------------------
 5919|      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 (5919:27): [True: 0, False: 0]
  ------------------
 5920|      0|        if (!_PyType_HasFeature((PyTypeObject *)super, Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|      0|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (5920:13): [True: 0, False: 0]
  ------------------
 5921|       |            // Static types in the MRO need to be skipped
 5922|      0|            continue;
 5923|      0|        }
 5924|       |
 5925|      0|        PyHeapTypeObject *ht = (PyHeapTypeObject*)super;
 5926|      0|        PyObject *module = ht->ht_module;
 5927|      0|        if (module && _PyModule_GetToken(module) == token) {
  ------------------
  |  Branch (5927:13): [True: 0, False: 0]
  |  Branch (5927:23): [True: 0, False: 0]
  ------------------
 5928|      0|            res = module;
 5929|      0|            break;
 5930|      0|        }
 5931|      0|    }
 5932|      0|    END_TYPE_LOCK();
 5933|       |
 5934|      0|    return res;
 5935|      0|}
PyType_GetModuleByDef:
 5945|    124|{
 5946|    124|    PyObject *mod = PyType_GetModuleByToken_DuringGC(type, def);
 5947|    124|    if (!mod) {
  ------------------
  |  Branch (5947:9): [True: 0, False: 124]
  ------------------
 5948|      0|        PyErr_Format(
 5949|      0|            PyExc_TypeError,
 5950|      0|            "PyType_GetModuleByDef: No superclass of '%s' has the given module",
 5951|      0|            type->tp_name);
 5952|      0|        return NULL;
 5953|      0|    }
 5954|    124|    return mod;
 5955|    124|}
PyObject_GetItemData:
 6107|    711|{
 6108|       |    return getitemdata(obj, true);
 6109|    711|}
_PyType_LookupRefAndVersion:
 6193|  5.06k|{
 6194|  5.06k|    _PyStackRef out;
 6195|  5.06k|    unsigned int ver = _PyType_LookupStackRefAndVersion(type, name, &out);
 6196|  5.06k|    if (version) {
  ------------------
  |  Branch (6196:9): [True: 1.03k, False: 4.02k]
  ------------------
 6197|  1.03k|        *version = ver;
 6198|  1.03k|    }
 6199|  5.06k|    if (PyStackRef_IsNull(out)) {
  ------------------
  |  |  482|  5.06k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  5.06k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  5.06k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 4.16k, False: 896]
  |  |  ------------------
  ------------------
 6200|  4.16k|        return NULL;
 6201|  4.16k|    }
 6202|    896|    return PyStackRef_AsPyObjectSteal(out);
 6203|  5.06k|}
_PyType_LookupStackRefAndVersion:
 6215|  27.0k|{
 6216|  27.0k|    int cacheable = MCACHE_CACHEABLE_NAME(name);
  ------------------
  |  |   44|  27.0k|#define MCACHE_CACHEABLE_NAME(name) (PyUnicode_CheckExact(name) && PyUnicode_CHECK_INTERNED(name))
  |  |  ------------------
  |  |  |  |  104|  27.0k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|  54.0k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  27.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  27.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 27.0k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define MCACHE_CACHEABLE_NAME(name) (PyUnicode_CheckExact(name) && PyUnicode_CHECK_INTERNED(name))
  |  |  ------------------
  |  |  |  |  214|  27.0k|#define PyUnicode_CHECK_INTERNED(op) PyUnicode_CHECK_INTERNED(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  27.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  27.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (214:38): [True: 26.8k, False: 223]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6217|  27.0k|    if (cacheable) {
  ------------------
  |  Branch (6217:9): [True: 26.8k, False: 223]
  ------------------
 6218|  26.8k|        struct _PyTypeCacheLookupResult r = _PyTypeCache_Lookup(type, name);
 6219|  26.8k|        if (r.cache_hit) {
  ------------------
  |  Branch (6219:13): [True: 22.9k, False: 3.87k]
  ------------------
 6220|  22.9k|            OBJECT_STAT_INC_COND(type_cache_hits, !is_dunder_name(name));
  ------------------
  |  |   78|  22.9k|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 6221|  22.9k|            OBJECT_STAT_INC_COND(type_cache_dunder_hits, is_dunder_name(name));
  ------------------
  |  |   78|  22.9k|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 6222|  22.9k|            *out = r.value;
 6223|  22.9k|            return r.version_tag;
 6224|  22.9k|        }
 6225|  26.8k|    }
 6226|  4.09k|    OBJECT_STAT_INC_COND(type_cache_misses, !is_dunder_name(name));
  ------------------
  |  |   78|  4.09k|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 6227|  4.09k|    OBJECT_STAT_INC_COND(type_cache_dunder_misses, is_dunder_name(name));
  ------------------
  |  |   78|  4.09k|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 6228|       |
 6229|       |    /* We may end up clearing live exceptions below, so make sure it's ours. */
 6230|  4.09k|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (6230:5): [True: 4.09k, False: 0]
  ------------------
 6231|       |
 6232|  4.09k|    int res;
 6233|  4.09k|    PyInterpreterState *interp = _PyInterpreterState_GET();
 6234|       |
 6235|  4.09k|    unsigned int version_tag = FT_ATOMIC_LOAD_UINT(type->tp_version_tag);
  ------------------
  |  |  188|  4.09k|#define FT_ATOMIC_LOAD_UINT(value) value
  ------------------
 6236|  4.09k|    if (cacheable &&
  ------------------
  |  Branch (6236:9): [True: 3.87k, False: 223]
  ------------------
 6237|  3.87k|        (version_tag != 0 || should_assign_version_tag(type, name, version_tag)))
  ------------------
  |  Branch (6237:10): [True: 3.57k, False: 295]
  |  Branch (6237:30): [True: 295, False: 0]
  ------------------
 6238|  3.87k|    {
 6239|  3.87k|        BEGIN_TYPE_LOCK();
 6240|  3.87k|        version_tag = type->tp_version_tag;
 6241|  3.87k|        if (version_tag == 0) {
  ------------------
  |  Branch (6241:13): [True: 295, False: 3.57k]
  ------------------
 6242|    295|            assign_version_tag(interp, type);
 6243|    295|            version_tag = type->tp_version_tag;
 6244|    295|        }
 6245|  3.87k|        res = find_name_in_mro(type, name, out);
 6246|       |        // find_name_in_mro can release the type lock and another thread can
 6247|       |        // modify the type, so we need to check version tag again before caching the result.
 6248|  3.87k|        if (res >= 0 && version_tag != 0 && version_tag == type->tp_version_tag) {
  ------------------
  |  Branch (6248:13): [True: 3.87k, False: 0]
  |  Branch (6248:25): [True: 3.87k, False: 0]
  |  Branch (6248:45): [True: 3.87k, False: 0]
  ------------------
 6249|  3.87k|            _PyTypeCache_Insert(type, name, PyStackRef_AsPyObjectBorrow(*out));
 6250|  3.87k|        }
 6251|  3.87k|        END_TYPE_LOCK();
 6252|  3.87k|    }
 6253|    223|    else {
 6254|    223|        version_tag = 0;
 6255|    223|        res = find_name_in_mro(type, name, out);
 6256|    223|    }
 6257|       |
 6258|       |    /* Only put NULL results into cache if there was no error. */
 6259|  4.09k|    if (res < 0) {
  ------------------
  |  Branch (6259:9): [True: 0, False: 4.09k]
  ------------------
 6260|      0|        *out = PyStackRef_NULL;
 6261|      0|        return 0;
 6262|      0|    }
 6263|       |
 6264|  4.09k|    return version_tag;
 6265|  4.09k|}
_PyType_LookupRef:
 6272|  4.01k|{
 6273|       |    return _PyType_LookupRefAndVersion(type, name, NULL);
 6274|  4.01k|}
_PyType_Lookup:
 6280|      7|{
 6281|      7|    PyObject *res = _PyType_LookupRefAndVersion(type, name, NULL);
 6282|      7|    Py_XDECREF(res);
  ------------------
  |  |  524|      7|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6283|      7|    return res;
 6284|      7|}
_PyType_CacheInitForSpecialization:
 6289|     15|{
 6290|     15|    if (!init || !tp_version) {
  ------------------
  |  Branch (6290:9): [True: 0, False: 15]
  |  Branch (6290:18): [True: 0, False: 15]
  ------------------
 6291|      0|        return 0;
 6292|      0|    }
 6293|     15|    int can_cache;
 6294|     15|    BEGIN_TYPE_LOCK();
 6295|     15|    can_cache = ((PyTypeObject*)type)->tp_version_tag == tp_version;
 6296|       |    #ifdef Py_GIL_DISABLED
 6297|       |    can_cache = can_cache && _PyObject_HasDeferredRefcount(init);
 6298|       |    #endif
 6299|     15|    if (can_cache) {
  ------------------
  |  Branch (6299:9): [True: 15, False: 0]
  ------------------
 6300|     15|        FT_ATOMIC_STORE_PTR_RELEASE(type->_spec_cache.init, init);
  ------------------
  |  |  164|     15|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 6301|     15|    }
 6302|     15|    END_TYPE_LOCK();
 6303|     15|    return can_cache;
 6304|     15|}
_PyType_CacheGetItemForSpecialization:
 6308|      6|{
 6309|      6|    if (!descriptor || !tp_version) {
  ------------------
  |  Branch (6309:9): [True: 0, False: 6]
  |  Branch (6309:24): [True: 0, False: 6]
  ------------------
 6310|      0|        return 0;
 6311|      0|    }
 6312|      6|    int can_cache;
 6313|      6|    BEGIN_TYPE_LOCK();
 6314|      6|    can_cache = ((PyTypeObject*)ht)->tp_version_tag == tp_version;
 6315|       |    // This pointer is invalidated by PyType_Modified (see the comment on
 6316|       |    // struct _specialization_cache):
 6317|      6|    PyFunctionObject *func = (PyFunctionObject *)descriptor;
 6318|      6|    uint32_t version = _PyFunction_GetVersionForCurrentState(func);
 6319|      6|    can_cache = can_cache && _PyFunction_IsVersionValid(version);
  ------------------
  |  Branch (6319:17): [True: 6, False: 0]
  |  Branch (6319:30): [True: 6, False: 0]
  ------------------
 6320|       |#ifdef Py_GIL_DISABLED
 6321|       |    can_cache = can_cache && _PyObject_HasDeferredRefcount(descriptor);
 6322|       |#endif
 6323|      6|    if (can_cache) {
  ------------------
  |  Branch (6323:9): [True: 6, False: 0]
  ------------------
 6324|      6|        FT_ATOMIC_STORE_PTR_RELEASE(ht->_spec_cache.getitem, descriptor);
  ------------------
  |  |  164|      6|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 6325|      6|        FT_ATOMIC_STORE_UINT32_RELAXED(ht->_spec_cache.getitem_version, version);
  ------------------
  |  |  172|      6|#define FT_ATOMIC_STORE_UINT32_RELAXED(value, new_value) value = new_value
  ------------------
 6326|      6|    }
 6327|      6|    END_TYPE_LOCK();
 6328|      6|    return can_cache;
 6329|      6|}
_PyType_SetFlags:
 6333|      4|{
 6334|      4|    unsigned long new_flags = (self->tp_flags & ~mask) | flags;
 6335|      4|    if (new_flags != self->tp_flags) {
  ------------------
  |  Branch (6335:9): [True: 4, False: 0]
  ------------------
 6336|      4|        types_stop_world();
 6337|       |        // can't use new_flags here since they could be out-of-date
 6338|      4|        self->tp_flags = (self->tp_flags & ~mask) | flags;
 6339|      4|        types_start_world();
 6340|      4|    }
 6341|      4|}
_PyType_Validate:
 6345|      4|{
 6346|      4|    int err;
 6347|      4|    BEGIN_TYPE_LOCK();
 6348|      4|    err = validate(ty);
 6349|      4|    if (!err) {
  ------------------
  |  Branch (6349:9): [True: 0, False: 4]
  ------------------
 6350|      0|        if(assign_version_tag(_PyInterpreterState_GET(), ty)) {
  ------------------
  |  Branch (6350:12): [True: 0, False: 0]
  ------------------
 6351|      0|            *tp_version = ty->tp_version_tag;
 6352|      0|        }
 6353|      0|        else {
 6354|      0|            err = -1;
 6355|      0|        }
 6356|      0|    }
 6357|      4|    END_TYPE_LOCK();
 6358|      4|    return err;
 6359|      4|}
_PyType_SetFlagsRecursive:
 6386|     27|{
 6387|     27|    BEGIN_TYPE_LOCK();
 6388|       |    /* Ideally, changing flags and invalidating the old version tag would
 6389|       |       happen in one step. But _PyType_Modified_Unlocked() is re-entrant and
 6390|       |       cannot run with the world stopped, so we must invalidate first.
 6391|       |       Immutable/static-builtin types are skipped because
 6392|       |       set_flags_recursive() does not modify them. */
 6393|     27|    if (!PyType_HasFeature(self, Py_TPFLAGS_IMMUTABLETYPE) &&
  ------------------
  |  |  500|     27|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (6393:9): [True: 0, False: 27]
  ------------------
 6394|      0|        (self->tp_flags & mask) != flags)
  ------------------
  |  Branch (6394:9): [True: 0, False: 0]
  ------------------
 6395|      0|    {
 6396|      0|        _PyType_Modified_Unlocked(self);
 6397|      0|    }
 6398|       |    /* Keep TYPE_LOCK held while waiting for stop-the-world so no thread
 6399|       |       can reassign a version tag before the flag update. */
 6400|     27|    pinned_mutexes_t pinned;
 6401|     27|    type_lock_prevent_release(&pinned);
  ------------------
  |  |  198|     27|#define type_lock_prevent_release(pinned) ((void)(pinned))
  ------------------
 6402|     27|    types_stop_world();
 6403|     27|    set_flags_recursive(self, mask, flags);
 6404|     27|    types_start_world();
 6405|     27|    type_lock_allow_release(&pinned);
  ------------------
  |  |  199|     27|#define type_lock_allow_release(pinned) ((void)(pinned))
  ------------------
 6406|     27|    END_TYPE_LOCK();
 6407|     27|}
_Py_type_getattro_impl:
 6423|  1.76k|{
 6424|  1.76k|    _PyStackRef ref = _Py_type_getattro_stackref(type, name, suppress_missing_attribute);
 6425|  1.76k|    if (PyStackRef_IsNull(ref)) {
  ------------------
  |  |  482|  1.76k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  1.76k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.76k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 54, False: 1.71k]
  |  |  ------------------
  ------------------
 6426|     54|        return NULL;
 6427|     54|    }
 6428|  1.71k|    return PyStackRef_AsPyObjectSteal(ref);
 6429|  1.76k|}
_Py_type_getattro:
 6435|  1.08k|{
 6436|  1.08k|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  203|  1.08k|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 6437|       |    return _Py_type_getattro_impl(type, name, NULL);
 6438|  1.08k|}
_Py_type_getattro_stackref:
 6453|  3.02k|{
 6454|  3.02k|    PyTypeObject *metatype = Py_TYPE(type);
  ------------------
  |  |  213|  3.02k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.02k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.02k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6455|  3.02k|    descrgetfunc meta_get = NULL;
 6456|       |
 6457|  3.02k|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|  3.02k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  3.02k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (6457:9): [True: 0, False: 3.02k]
  ------------------
 6458|      0|        PyErr_Format(PyExc_TypeError,
 6459|      0|                     "attribute name must be string, not '%.200s'",
 6460|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6461|      0|        return PyStackRef_NULL;
 6462|      0|    }
 6463|       |
 6464|       |    /* Initialize this type (we'll assume the metatype is initialized) */
 6465|  3.02k|    if (!_PyType_IsReady(type)) {
  ------------------
  |  Branch (6465:9): [True: 0, False: 3.02k]
  ------------------
 6466|      0|        if (PyType_Ready(type) < 0)
  ------------------
  |  Branch (6466:13): [True: 0, False: 0]
  ------------------
 6467|      0|            return PyStackRef_NULL;
 6468|      0|    }
 6469|       |
 6470|       |    /* Set up GC-visible stack refs */
 6471|  3.02k|    _PyCStackRef result_ref, meta_attribute_ref, attribute_ref;
 6472|  3.02k|    PyThreadState *tstate = _PyThreadState_GET();
 6473|  3.02k|    _PyThreadState_PushCStackRef(tstate, &result_ref);
 6474|  3.02k|    _PyThreadState_PushCStackRef(tstate, &meta_attribute_ref);
 6475|  3.02k|    _PyThreadState_PushCStackRef(tstate, &attribute_ref);
 6476|       |
 6477|       |    /* Look for the attribute in the metatype */
 6478|  3.02k|    _PyType_LookupStackRefAndVersion(metatype, name, &meta_attribute_ref.ref);
 6479|       |
 6480|  3.02k|    if (!PyStackRef_IsNull(meta_attribute_ref.ref)) {
  ------------------
  |  |  482|  3.02k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  3.02k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  3.02k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6480:9): [True: 1.71k, False: 1.30k]
  ------------------
 6481|  1.71k|        PyObject *meta_attr_obj = PyStackRef_AsPyObjectBorrow(meta_attribute_ref.ref);
 6482|  1.71k|        meta_get = Py_TYPE(meta_attr_obj)->tp_descr_get;
  ------------------
  |  |  213|  1.71k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.71k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.71k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6483|       |
 6484|  1.71k|        if (meta_get != NULL && PyDescr_IsData(meta_attr_obj)) {
  ------------------
  |  Branch (6484:13): [True: 1.37k, False: 340]
  |  Branch (6484:33): [True: 777, False: 598]
  ------------------
 6485|       |            /* Data descriptors implement tp_descr_set to intercept
 6486|       |             * writes. Assume the attribute is not overridden in
 6487|       |             * type's tp_dict (and bases): call the descriptor now.
 6488|       |             */
 6489|    777|            PyObject *res = meta_get(meta_attr_obj, (PyObject *)type,
 6490|    777|                                     (PyObject *)metatype);
 6491|    777|            if (res != NULL) {
  ------------------
  |  Branch (6491:17): [True: 753, False: 24]
  ------------------
 6492|    753|                result_ref.ref = PyStackRef_FromPyObjectSteal(res);
 6493|    753|            }
 6494|    777|            goto done;
 6495|    777|        }
 6496|  1.71k|    }
 6497|       |
 6498|       |    /* No data descriptor found on metatype. Look in tp_dict of this
 6499|       |     * type and its bases */
 6500|  2.24k|    _PyType_LookupStackRefAndVersion(type, name, &attribute_ref.ref);
 6501|  2.24k|    if (!PyStackRef_IsNull(attribute_ref.ref)) {
  ------------------
  |  |  482|  2.24k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  2.24k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  2.24k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6501:9): [True: 2.07k, False: 165]
  ------------------
 6502|       |        /* Implement descriptor functionality, if any */
 6503|  2.07k|        PyObject *attr_obj = PyStackRef_AsPyObjectBorrow(attribute_ref.ref);
 6504|  2.07k|        descrgetfunc local_get = Py_TYPE(attr_obj)->tp_descr_get;
  ------------------
  |  |  213|  2.07k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.07k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.07k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6505|       |
 6506|       |        /* Release meta_attribute early since we found in local dict */
 6507|  2.07k|        PyStackRef_CLEAR(meta_attribute_ref.ref);
  ------------------
  |  |  732|  2.07k|    do { \
  |  |  733|  2.07k|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|  2.07k|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|  2.07k|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|  2.07k|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|  2.07k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 2.07k]
  |  |  ------------------
  ------------------
 6508|       |
 6509|  2.07k|        if (local_get != NULL) {
  ------------------
  |  Branch (6509:13): [True: 1.75k, False: 328]
  ------------------
 6510|       |            /* Special case staticmethod to avoid descriptor call overhead.
 6511|       |             * staticmethod.__get__ just returns the wrapped callable. */
 6512|  1.75k|            if (Py_TYPE(attr_obj) == &PyStaticMethod_Type) {
  ------------------
  |  |  213|  1.75k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.75k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.75k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6512:17): [True: 650, False: 1.10k]
  ------------------
 6513|    650|                PyObject *callable = _PyStaticMethod_GetFunc(attr_obj);
 6514|    650|                if (callable) {
  ------------------
  |  Branch (6514:21): [True: 650, False: 0]
  ------------------
 6515|    650|                    result_ref.ref = PyStackRef_FromPyObjectNew(callable);
  ------------------
  |  |  611|    650|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    650|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    650|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6516|    650|                    goto done;
 6517|    650|                }
 6518|    650|            }
 6519|       |            /* NULL 2nd argument indicates the descriptor was
 6520|       |             * found on the target object itself (or a base)  */
 6521|  1.10k|            PyObject *res = local_get(attr_obj, (PyObject *)NULL,
 6522|  1.10k|                                      (PyObject *)type);
 6523|  1.10k|            if (res != NULL) {
  ------------------
  |  Branch (6523:17): [True: 1.10k, False: 0]
  ------------------
 6524|  1.10k|                result_ref.ref = PyStackRef_FromPyObjectSteal(res);
 6525|  1.10k|            }
 6526|  1.10k|            goto done;
 6527|  1.75k|        }
 6528|       |
 6529|       |        /* No descriptor, return the attribute directly */
 6530|    328|        result_ref.ref = attribute_ref.ref;
 6531|    328|        attribute_ref.ref = PyStackRef_NULL;
 6532|    328|        goto done;
 6533|  2.07k|    }
 6534|       |
 6535|       |    /* No attribute found in local __dict__ (or bases): use the
 6536|       |     * descriptor from the metatype, if any */
 6537|    165|    if (meta_get != NULL) {
  ------------------
  |  Branch (6537:9): [True: 133, False: 32]
  ------------------
 6538|    133|        PyObject *meta_attr_obj = PyStackRef_AsPyObjectBorrow(meta_attribute_ref.ref);
 6539|    133|        PyObject *res = meta_get(meta_attr_obj, (PyObject *)type,
 6540|    133|                                 (PyObject *)metatype);
 6541|    133|        if (res != NULL) {
  ------------------
  |  Branch (6541:13): [True: 133, False: 0]
  ------------------
 6542|    133|            result_ref.ref = PyStackRef_FromPyObjectSteal(res);
 6543|    133|        }
 6544|    133|        goto done;
 6545|    133|    }
 6546|       |
 6547|       |    /* If an ordinary attribute was found on the metatype, return it now */
 6548|     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 (6548:9): [True: 0, False: 32]
  ------------------
 6549|      0|        result_ref.ref = meta_attribute_ref.ref;
 6550|      0|        meta_attribute_ref.ref = PyStackRef_NULL;
 6551|      0|        goto done;
 6552|      0|    }
 6553|       |
 6554|       |    /* Give up */
 6555|     32|    if (suppress_missing_attribute == NULL) {
  ------------------
  |  Branch (6555:9): [True: 2, False: 30]
  ------------------
 6556|      2|        PyErr_Format(PyExc_AttributeError,
 6557|      2|                     "type object '%.100s' has no attribute '%U'",
 6558|      2|                     type->tp_name, name);
 6559|      2|    }
 6560|     30|    else {
 6561|       |        // signal the caller we have not set an PyExc_AttributeError and gave up
 6562|     30|        *suppress_missing_attribute = 1;
 6563|     30|    }
 6564|       |
 6565|  3.02k|done:
 6566|  3.02k|    _PyThreadState_PopCStackRef(tstate, &attribute_ref);
 6567|  3.02k|    _PyThreadState_PopCStackRef(tstate, &meta_attribute_ref);
 6568|  3.02k|    return _PyThreadState_PopCStackRefSteal(tstate, &result_ref);
 6569|     32|}
_Py_BaseObject_RichCompare:
 7458|     28|{
 7459|     28|    return object_richcompare(self, other, op);
 7460|     28|}
_PyType_AddMethod:
 8561|      2|{
 8562|      2|    return type_add_method(type, meth);
 8563|      2|}
_PyStaticType_InitForExtension:
 9619|     12|{
 9620|     12|    return init_static_type(interp, self, 0, ((self->tp_flags & Py_TPFLAGS_READY) == 0));
  ------------------
  |  |  518|     12|#define Py_TPFLAGS_READY (1UL << 12)
  ------------------
 9621|     12|}
_PyStaticType_InitBuiltin:
 9625|    404|{
 9626|    404|    return init_static_type(interp, self, 1, _Py_IsMainInterpreter(interp));
 9627|    404|}
_PyType_InitSlotDefs:
12130|      2|{
12131|      2|    if (!_Py_IsMainInterpreter(interp)) {
  ------------------
  |  Branch (12131:9): [True: 0, False: 2]
  ------------------
12132|      0|        return 0;
12133|      0|    }
12134|      2|    PyObject *bytearray = NULL;
12135|      2|    PyObject *cache = PyDict_New();
12136|      2|    if (!cache) {
  ------------------
  |  Branch (12136:9): [True: 0, False: 2]
  ------------------
12137|      0|        return -1;
12138|      0|    }
12139|       |
12140|      2|    pytype_slotdef *p;
12141|      2|    Py_ssize_t idx = 0;
12142|    190|    for (p = slotdefs; p->name_strobj; p++, idx++) {
  ------------------
  |  Branch (12142:24): [True: 188, False: 2]
  ------------------
12143|    188|        assert(idx < 255);
  ------------------
  |  Branch (12143:9): [True: 188, False: 0]
  ------------------
12144|       |
12145|    188|        if (PyDict_GetItemRef(cache, p->name_strobj, &bytearray) < 0) {
  ------------------
  |  Branch (12145:13): [True: 0, False: 188]
  ------------------
12146|      0|            goto error;
12147|      0|        }
12148|       |
12149|    188|        if (!bytearray) {
  ------------------
  |  Branch (12149:13): [True: 162, False: 26]
  ------------------
12150|    162|            Py_ssize_t size = sizeof(uint8_t) * (1 + MAX_EQUIV);
  ------------------
  |  |  726|    162|#define MAX_EQUIV 10
  ------------------
12151|    162|            bytearray = PyByteArray_FromStringAndSize(NULL, size);
12152|    162|            if (!bytearray) {
  ------------------
  |  Branch (12152:17): [True: 0, False: 162]
  ------------------
12153|      0|                goto error;
12154|      0|            }
12155|       |
12156|    162|            uint8_t *data = (uint8_t *)PyByteArray_AS_STRING(bytearray);
  ------------------
  |  |   28|    162|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|    162|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    162|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12157|    162|            data[0] = 0;
12158|       |
12159|    162|            if (PyDict_SetItem(cache, p->name_strobj, bytearray) < 0) {
  ------------------
  |  Branch (12159:17): [True: 0, False: 162]
  ------------------
12160|      0|                goto error;
12161|      0|            }
12162|    162|        }
12163|       |
12164|    188|        assert(PyByteArray_CheckExact(bytearray));
  ------------------
  |  Branch (12164:9): [True: 188, False: 0]
  ------------------
12165|    188|        uint8_t *data = (uint8_t *)PyByteArray_AS_STRING(bytearray);
  ------------------
  |  |   28|    188|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|    188|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    188|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12166|       |
12167|    188|        data[0] += 1;
12168|    188|        assert(data[0] < MAX_EQUIV);
  ------------------
  |  Branch (12168:9): [True: 188, False: 0]
  ------------------
12169|       |
12170|    188|        data[data[0]] = (uint8_t)idx;
12171|       |
12172|    188|        Py_CLEAR(bytearray);
  ------------------
  |  |  484|    188|    do { \
  |  |  485|    188|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|    188|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    188|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|    188|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    188|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    188|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 188, False: 0]
  |  |  ------------------
  |  |  488|    188|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    188|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|    188|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|    188|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    188|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    188|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|    188|        } \
  |  |  491|    188|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 188]
  |  |  ------------------
  ------------------
12173|    188|    }
12174|       |
12175|      2|    memset(slotdefs_dups, -1, sizeof(slotdefs_dups));
12176|       |
12177|      2|    Py_ssize_t pos = 0;
12178|      2|    PyObject *key = NULL;
12179|      2|    PyObject *value = NULL;
12180|    164|    while (PyDict_Next(cache, &pos, &key, &value)) {
  ------------------
  |  Branch (12180:12): [True: 162, False: 2]
  ------------------
12181|    162|        uint8_t *data = (uint8_t *)PyByteArray_AS_STRING(value);
  ------------------
  |  |   28|    162|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|    162|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    162|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12182|    162|        uint8_t n = data[0];
12183|    350|        for (uint8_t i = 0; i < n; i++) {
  ------------------
  |  Branch (12183:29): [True: 188, False: 162]
  ------------------
12184|    188|            uint8_t idx = data[i + 1];
12185|    188|            memcpy(&slotdefs_dups[idx], data, sizeof(uint8_t) * (n + 1));
12186|    188|        }
12187|    162|    }
12188|       |
12189|      2|    Py_DECREF(cache);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12190|      2|    return 0;
12191|       |
12192|      0|error:
12193|      0|    Py_XDECREF(bytearray);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12194|      0|    Py_DECREF(cache);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12195|      0|    return -1;
12196|      2|}
_PySuper_LookupDescr:
12533|    994|{
12534|    994|    PyObject *mro, *res;
12535|    994|    Py_ssize_t i, n;
12536|       |
12537|    994|    mro = lookup_tp_mro(su_obj_type);
12538|    994|    if (mro == NULL)
  ------------------
  |  Branch (12538:9): [True: 0, False: 994]
  ------------------
12539|      0|        return NULL;
12540|       |
12541|       |    /* Keep a strong reference to mro because su_obj_type->tp_mro can be
12542|       |       replaced during PyDict_GetItemRef(dict, name, &res). */
12543|    994|    PyThreadState *tstate = _PyThreadState_GET();
12544|    994|    _PyCStackRef mro_ref;
12545|    994|    _PyThreadState_PushCStackRefNew(tstate, &mro_ref, mro);
12546|       |
12547|    994|    assert(PyTuple_Check(mro));
  ------------------
  |  Branch (12547:5): [True: 994, False: 0]
  ------------------
12548|    994|    n = PyTuple_GET_SIZE(mro);
  ------------------
  |  |   27|    994|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    994|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    994|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12549|       |
12550|       |    /* No need to check the last one: it's gonna be skipped anyway.  */
12551|    996|    for (i = 0; i+1 < n; i++) {
  ------------------
  |  Branch (12551:17): [True: 996, False: 0]
  ------------------
12552|    996|        if ((PyObject *)(su_type) == PyTuple_GET_ITEM(mro, i))
  ------------------
  |  |   29|    996|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    996|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    996|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12552:13): [True: 994, False: 2]
  |  Branch (12552:38): [True: 996, False: 0]
  ------------------
12553|    994|            break;
12554|    996|    }
12555|    994|    i++;  /* skip su->type (if any)  */
12556|    994|    if (i >= n) {
  ------------------
  |  Branch (12556:9): [True: 0, False: 994]
  ------------------
12557|      0|        _PyThreadState_PopCStackRef(tstate, &mro_ref);
12558|      0|        return NULL;
12559|      0|    }
12560|       |
12561|  1.58k|    do {
12562|  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 (12562:25): [True: 1.58k, False: 0]
  ------------------
12563|  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 (12563:41): [True: 1.58k, False: 0]
  ------------------
12564|  1.58k|        assert(dict != NULL && PyDict_Check(dict));
  ------------------
  |  Branch (12564:9): [True: 1.58k, False: 0]
  |  Branch (12564:9): [True: 1.58k, False: 0]
  ------------------
12565|       |
12566|  1.58k|        if (PyDict_GetItemRef(dict, name, &res) != 0) {
  ------------------
  |  Branch (12566:13): [True: 994, False: 591]
  ------------------
12567|       |            // found or error
12568|    994|            _PyThreadState_PopCStackRef(tstate, &mro_ref);
12569|    994|            return res;
12570|    994|        }
12571|       |
12572|    591|        i++;
12573|    591|    } while (i < n);
  ------------------
  |  Branch (12573:14): [True: 591, False: 0]
  ------------------
12574|      0|    _PyThreadState_PopCStackRef(tstate, &mro_ref);
12575|       |    return NULL;
12576|    994|}
_PySuper_Lookup:
12714|    603|{
12715|    603|    PyTypeObject *su_obj_type = supercheck(su_type, su_obj);
12716|    603|    if (su_obj_type == NULL) {
  ------------------
  |  Branch (12716:9): [True: 0, False: 603]
  ------------------
12717|      0|        return NULL;
12718|      0|    }
12719|    603|    PyObject *res = do_super_lookup(NULL, su_type, su_obj, su_obj_type, name, method);
12720|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12721|    603|    return res;
12722|    603|}
typeobject.c:managed_static_type_state_get:
  289|  88.0k|{
  290|       |    // It's probably a builtin type.
  291|  88.0k|    size_t index = managed_static_type_index_get(self);
  292|  88.0k|    managed_static_type_state *state =
  293|  88.0k|            &(interp->types.builtins.initialized[index]);
  294|  88.0k|    if (state->type == self) {
  ------------------
  |  Branch (294:9): [True: 87.7k, False: 318]
  ------------------
  295|  87.7k|        return state;
  296|  87.7k|    }
  297|    318|    if (index > _Py_MAX_MANAGED_STATIC_EXT_TYPES) {
  ------------------
  |  |  544|    318|#define _Py_MAX_MANAGED_STATIC_EXT_TYPES 10
  ------------------
  |  Branch (297:9): [True: 0, False: 318]
  ------------------
  298|      0|        return state;
  299|      0|    }
  300|    318|    return &(interp->types.for_extensions.initialized[index]);
  301|    318|}
typeobject.c:managed_static_type_index_get:
  243|  88.0k|{
  244|  88.0k|    assert(managed_static_type_index_is_set(self));
  ------------------
  |  Branch (244:5): [True: 88.0k, False: 0]
  ------------------
  245|       |    /* We store a 1-based index so 0 can mean "not initialized". */
  246|  88.0k|    return (size_t)self->tp_subclasses - 1;
  247|  88.0k|}
typeobject.c:managed_static_type_index_is_set:
  236|  88.5k|{
  237|       |    return self->tp_subclasses != NULL;
  238|  88.5k|}
typeobject.c:lookup_tp_dict:
  531|   163k|{
  532|   163k|    if (self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|   163k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (532:9): [True: 64.6k, False: 98.5k]
  ------------------
  533|  64.6k|        PyInterpreterState *interp = _PyInterpreterState_GET();
  534|  64.6k|        managed_static_type_state *state = _PyStaticType_GetState(interp, self);
  535|  64.6k|        assert(state != NULL);
  ------------------
  |  Branch (535:9): [True: 64.6k, False: 0]
  ------------------
  536|  64.6k|        return state->tp_dict;
  537|  64.6k|    }
  538|  98.5k|    return self->tp_dict;
  539|   163k|}
typeobject.c:lookup_tp_bases:
  584|  4.49k|{
  585|  4.49k|    return self->tp_bases;
  586|  4.49k|}
typeobject.c:lookup_tp_subclasses:
  737|  1.18k|{
  738|  1.18k|    if (self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  1.18k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (738:9): [True: 680, False: 509]
  ------------------
  739|    680|        PyInterpreterState *interp = _PyInterpreterState_GET();
  740|    680|        managed_static_type_state *state = _PyStaticType_GetState(interp, self);
  741|    680|        assert(state != NULL);
  ------------------
  |  Branch (741:9): [True: 680, False: 0]
  ------------------
  742|    680|        return state->tp_subclasses;
  743|    680|    }
  744|    509|    return (PyObject *)self->tp_subclasses;
  745|  1.18k|}
typeobject.c:init_tp_subclasses:
  705|    159|{
  706|    159|    PyObject *subclasses = PyDict_New();
  707|    159|    if (subclasses == NULL) {
  ------------------
  |  Branch (707:9): [True: 0, False: 159]
  ------------------
  708|      0|        return NULL;
  709|      0|    }
  710|    159|    if (self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|    159|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (710:9): [True: 71, False: 88]
  ------------------
  711|     71|        PyInterpreterState *interp = _PyInterpreterState_GET();
  712|     71|        managed_static_type_state *state = _PyStaticType_GetState(interp, self);
  713|     71|        state->tp_subclasses = subclasses;
  714|     71|        return subclasses;
  715|     71|    }
  716|     88|    self->tp_subclasses = (void *)subclasses;
  717|     88|    return subclasses;
  718|    159|}
typeobject.c:get_subclasses_unlocked:
  781|     45|{
  782|     45|    ASSERT_TYPE_LOCK_HELD();
  783|       |
  784|     45|    PyObject *subclasses = lookup_tp_subclasses(self);  // borrowed ref
  785|     45|    if (subclasses == NULL) {
  ------------------
  |  Branch (785:9): [True: 45, False: 0]
  ------------------
  786|     45|        return 0;
  787|     45|    }
  788|     45|    assert(PyDict_CheckExact(subclasses));
  ------------------
  |  Branch (788:5): [True: 0, False: 0]
  ------------------
  789|       |    // The loop cannot modify tp_subclasses, there is no need
  790|       |    // to hold a strong reference (use a borrowed reference).
  791|       |
  792|      0|    Py_ssize_t i = 0;
  793|      0|    PyObject *ref;  // borrowed ref
  794|      0|    while (PyDict_Next(subclasses, &i, NULL, &ref)) {
  ------------------
  |  Branch (794:12): [True: 0, False: 0]
  ------------------
  795|      0|        PyTypeObject *subclass = type_from_ref(ref);
  796|      0|        if (subclass == NULL) {
  ------------------
  |  Branch (796:13): [True: 0, False: 0]
  ------------------
  797|      0|            continue;
  798|      0|        }
  799|       |
  800|      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))
  |  |  ------------------
  ------------------
  801|      0|        Py_DECREF(subclass);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  802|      0|        if (res < 0) {
  ------------------
  |  Branch (802:13): [True: 0, False: 0]
  ------------------
  803|      0|            return -1;
  804|      0|        }
  805|      0|    }
  806|      0|    return 0;
  807|      0|}
typeobject.c:is_readying:
  516|  3.18k|{
  517|  3.18k|    if (type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  3.18k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (517:9): [True: 832, False: 2.35k]
  ------------------
  518|    832|        PyInterpreterState *interp = _PyInterpreterState_GET();
  519|    832|        managed_static_type_state *state = managed_static_type_state_get(interp, type);
  520|    832|        assert(state != NULL);
  ------------------
  |  Branch (520:9): [True: 832, False: 0]
  ------------------
  521|    832|        return state->readying;
  522|    832|    }
  523|  2.35k|    return (type->tp_flags & Py_TPFLAGS_READYING) != 0;
  ------------------
  |  |  521|  2.35k|#define Py_TPFLAGS_READYING (1UL << 13)
  ------------------
  524|  3.18k|}
typeobject.c:_PyType_DocWithoutSignature:
  923|    485|{
  924|    485|    const char *doc = find_signature(name, internal_doc);
  925|       |
  926|    485|    if (doc) {
  ------------------
  |  Branch (926:9): [True: 215, False: 270]
  ------------------
  927|    215|        doc = skip_signature(doc);
  928|    215|        if (doc)
  ------------------
  |  Branch (928:13): [True: 191, False: 24]
  ------------------
  929|    191|            return doc;
  930|    215|        }
  931|    294|    return internal_doc;
  932|    485|}
typeobject.c:find_signature:
  844|    485|{
  845|    485|    const char *dot;
  846|    485|    size_t length;
  847|       |
  848|    485|    if (!doc)
  ------------------
  |  Branch (848:9): [True: 0, False: 485]
  ------------------
  849|      0|        return NULL;
  850|       |
  851|    485|    assert(name != NULL);
  ------------------
  |  Branch (851:5): [True: 485, False: 0]
  ------------------
  852|       |
  853|       |    /* for dotted names like classes, only use the last component */
  854|    485|    dot = strrchr(name, '.');
  855|    485|    if (dot)
  ------------------
  |  Branch (855:9): [True: 257, False: 228]
  ------------------
  856|    257|        name = dot + 1;
  857|       |
  858|    485|    length = strlen(name);
  859|    485|    if (strncmp(doc, name, length))
  ------------------
  |  Branch (859:9): [True: 238, False: 247]
  ------------------
  860|    238|        return NULL;
  861|    247|    doc += length;
  862|    247|    if (*doc != '(')
  ------------------
  |  Branch (862:9): [True: 32, False: 215]
  ------------------
  863|     32|        return NULL;
  864|    215|    return doc;
  865|    247|}
typeobject.c:skip_signature:
  875|    215|{
  876|  9.70k|    while (*doc) {
  ------------------
  |  Branch (876:12): [True: 9.69k, False: 8]
  ------------------
  877|  9.69k|        if ((*doc == *SIGNATURE_END_MARKER) &&
  ------------------
  |  |  867|  9.69k|#define SIGNATURE_END_MARKER         ")\n--\n\n"
  ------------------
  |  Branch (877:13): [True: 305, False: 9.38k]
  ------------------
  878|    305|            !strncmp(doc, SIGNATURE_END_MARKER, SIGNATURE_END_MARKER_LENGTH))
  ------------------
  |  |  867|    305|#define SIGNATURE_END_MARKER         ")\n--\n\n"
  ------------------
                          !strncmp(doc, SIGNATURE_END_MARKER, SIGNATURE_END_MARKER_LENGTH))
  ------------------
  |  |  868|    305|#define SIGNATURE_END_MARKER_LENGTH  6
  ------------------
  |  Branch (878:13): [True: 191, False: 114]
  ------------------
  879|    191|            return doc + SIGNATURE_END_MARKER_LENGTH;
  ------------------
  |  |  868|    191|#define SIGNATURE_END_MARKER_LENGTH  6
  ------------------
  880|  9.50k|        if ((*doc == '\n') && (doc[1] == '\n'))
  ------------------
  |  Branch (880:13): [True: 122, False: 9.38k]
  |  Branch (880:31): [True: 16, False: 106]
  ------------------
  881|     16|            return NULL;
  882|  9.48k|        doc++;
  883|  9.48k|    }
  884|      8|    return NULL;
  885|    215|}
typeobject.c:set_version_unlocked:
 1099|    904|{
 1100|    904|    assert(version == 0 || (tp->tp_versions_used != _Py_ATTR_CACHE_UNUSED));
  ------------------
  |  Branch (1100:5): [True: 171, False: 733]
  |  Branch (1100:5): [True: 733, False: 0]
  ------------------
 1101|    904|#ifndef Py_GIL_DISABLED
 1102|    904|    PyInterpreterState *interp = _PyInterpreterState_GET();
 1103|       |    // lookup the old version and set to null
 1104|    904|    if (tp->tp_version_tag != 0) {
  ------------------
  |  Branch (1104:9): [True: 171, False: 733]
  ------------------
 1105|    171|        PyTypeObject **slot =
 1106|    171|            interp->types.type_version_cache
 1107|    171|            + (tp->tp_version_tag % TYPE_VERSION_CACHE_SIZE);
  ------------------
  |  |  583|    171|#define TYPE_VERSION_CACHE_SIZE (1<<12)  /* Must be a power of 2 */
  ------------------
 1108|    171|        *slot = NULL;
 1109|    171|    }
 1110|    904|    if (version) {
  ------------------
  |  Branch (1110:9): [True: 733, False: 171]
  ------------------
 1111|    733|        tp->tp_versions_used++;
 1112|    733|    }
 1113|       |#else
 1114|       |    if (version) {
 1115|       |        _Py_atomic_add_uint16(&tp->tp_versions_used, 1);
 1116|       |    }
 1117|       |#endif
 1118|    904|    FT_ATOMIC_STORE_UINT_RELAXED(tp->tp_version_tag, version);
  ------------------
  |  |  190|    904|#define FT_ATOMIC_STORE_UINT_RELAXED(value, new_value) value = new_value
  ------------------
 1119|    904|#ifndef Py_GIL_DISABLED
 1120|    904|    if (version != 0) {
  ------------------
  |  Branch (1120:9): [True: 733, False: 171]
  ------------------
 1121|    733|        PyTypeObject **slot =
 1122|    733|            interp->types.type_version_cache
 1123|    733|            + (version % TYPE_VERSION_CACHE_SIZE);
  ------------------
  |  |  583|    733|#define TYPE_VERSION_CACHE_SIZE (1<<12)  /* Must be a power of 2 */
  ------------------
 1124|    733|        *slot = tp;
 1125|    733|    }
 1126|    904|#endif
 1127|    904|}
typeobject.c:assign_version_tag:
 1375|    711|{
 1376|    711|    ASSERT_TYPE_LOCK_HELD();
 1377|       |
 1378|       |    /* Ensure that the tp_version_tag is valid.
 1379|       |     * To respect the invariant, this must first be done on all super classes.
 1380|       |     * Return 0 if this cannot be done, 1 if tp_version_tag is set.
 1381|       |    */
 1382|    711|    if (type->tp_version_tag != 0) {
  ------------------
  |  Branch (1382:9): [True: 370, False: 341]
  ------------------
 1383|    370|        return 1;
 1384|    370|    }
 1385|    341|    if (!_PyType_HasFeature(type, Py_TPFLAGS_READY)) {
  ------------------
  |  |  518|    341|#define Py_TPFLAGS_READY (1UL << 12)
  ------------------
  |  Branch (1385:9): [True: 0, False: 341]
  ------------------
 1386|      0|        return 0;
 1387|      0|    }
 1388|    341|    if (type->tp_versions_used >= MAX_VERSIONS_PER_CLASS) {
  ------------------
  |  | 1355|    341|#define MAX_VERSIONS_PER_CLASS 1000
  ------------------
  |  Branch (1388:9): [True: 0, False: 341]
  ------------------
 1389|       |        /* (this includes `tp_versions_used == _Py_ATTR_CACHE_UNUSED`) */
 1390|      0|        return 0;
 1391|      0|    }
 1392|       |
 1393|    341|    PyObject *bases = lookup_tp_bases(type);
 1394|    341|    Py_ssize_t n = PyTuple_GET_SIZE(bases);
  ------------------
  |  |   27|    341|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    341|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    341|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1395|    757|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (1395:28): [True: 416, False: 341]
  ------------------
 1396|    416|        PyObject *b = PyTuple_GET_ITEM(bases, i);
  ------------------
  |  |   29|    416|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    416|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    416|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1396:23): [True: 416, False: 0]
  ------------------
 1397|    416|        if (!assign_version_tag(interp, _PyType_CAST(b))) {
  ------------------
  |  |  770|    416|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    416|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1397:13): [True: 0, False: 416]
  |  Branch (1397:41): [True: 416, False: 0]
  ------------------
 1398|      0|            return 0;
 1399|      0|        }
 1400|    416|    }
 1401|    341|    if (type->tp_flags & Py_TPFLAGS_IMMUTABLETYPE) {
  ------------------
  |  |  500|    341|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (1401:9): [True: 21, False: 320]
  ------------------
 1402|       |        /* static types */
 1403|     21|        unsigned int next_version_tag = next_global_version_tag();
 1404|     21|        if (next_version_tag == 0) {
  ------------------
  |  Branch (1404:13): [True: 0, False: 21]
  ------------------
 1405|       |            /* We have run out of version numbers */
 1406|      0|            return 0;
 1407|      0|        }
 1408|     21|        set_version_unlocked(type, next_version_tag);
 1409|     21|        assert (type->tp_version_tag <= _Py_MAX_GLOBAL_TYPE_VERSION_TAG);
  ------------------
  |  Branch (1409:9): [True: 21, False: 0]
  ------------------
 1410|     21|    }
 1411|    320|    else {
 1412|       |        /* heap types */
 1413|    320|        if (NEXT_VERSION_TAG(interp) == 0) {
  ------------------
  |  |   47|    320|    (interp)->types.next_version_tag
  ------------------
  |  Branch (1413:13): [True: 0, False: 320]
  ------------------
 1414|       |            /* We have run out of version numbers */
 1415|      0|            return 0;
 1416|      0|        }
 1417|    320|        set_version_unlocked(type, NEXT_VERSION_TAG(interp)++);
  ------------------
  |  |   47|    320|    (interp)->types.next_version_tag
  ------------------
 1418|    320|        assert (type->tp_version_tag != 0);
  ------------------
  |  Branch (1418:9): [True: 320, False: 0]
  ------------------
 1419|    320|    }
 1420|    341|    return 1;
 1421|    341|}
typeobject.c:next_global_version_tag:
 1362|    413|{
 1363|    413|    unsigned int old;
 1364|    413|    do {
 1365|    413|        old = _Py_atomic_load_uint_relaxed(&_PyRuntime.types.next_version_tag);
 1366|    413|        if (old >= _Py_MAX_GLOBAL_TYPE_VERSION_TAG) {
  ------------------
  |  |   35|    413|#define _Py_MAX_GLOBAL_TYPE_VERSION_TAG (_Py_TYPE_BASE_VERSION_TAG - 1)
  |  |  ------------------
  |  |  |  |   34|    413|#define _Py_TYPE_BASE_VERSION_TAG (2<<16)
  |  |  ------------------
  ------------------
  |  Branch (1366:13): [True: 0, False: 413]
  ------------------
 1367|      0|            return 0;
 1368|      0|        }
 1369|    413|    } while (!_Py_atomic_compare_exchange_uint(&_PyRuntime.types.next_version_tag, &old, old + 1));
  ------------------
  |  Branch (1369:14): [True: 0, False: 413]
  ------------------
 1370|    413|    return old + 1;
 1371|    413|}
typeobject.c:type_qualname:
 1501|     25|{
 1502|     25|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  203|     25|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1503|     25|    if (type->tp_flags & Py_TPFLAGS_HEAPTYPE) {
  ------------------
  |  |  503|     25|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (1503:9): [True: 2, False: 23]
  ------------------
 1504|      2|        PyHeapTypeObject* et = (PyHeapTypeObject*)type;
 1505|      2|        return Py_NewRef(et->ht_qualname);
  ------------------
  |  |  550|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1506|      2|    }
 1507|     23|    else {
 1508|     23|        return PyUnicode_FromString(_PyType_Name(type));
 1509|     23|    }
 1510|     25|}
typeobject.c:type_module:
 1574|     25|{
 1575|     25|    PyObject *mod;
 1576|     25|    if (type->tp_flags & Py_TPFLAGS_HEAPTYPE) {
  ------------------
  |  |  503|     25|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (1576:9): [True: 2, False: 23]
  ------------------
 1577|      2|        PyObject *dict = lookup_tp_dict(type);
 1578|      2|        if (PyDict_GetItemRef(dict, &_Py_ID(__module__), &mod) == 0) {
  ------------------
  |  |  936|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1578:13): [True: 0, False: 2]
  ------------------
 1579|      0|            PyErr_Format(PyExc_AttributeError, "__module__");
 1580|      0|        }
 1581|      2|    }
 1582|     23|    else {
 1583|     23|        const char *s = strrchr(type->tp_name, '.');
 1584|     23|        if (s != NULL) {
  ------------------
  |  Branch (1584:13): [True: 17, False: 6]
  ------------------
 1585|     17|            mod = PyUnicode_FromStringAndSize(
 1586|     17|                type->tp_name, (Py_ssize_t)(s - type->tp_name));
 1587|     17|            if (mod != NULL) {
  ------------------
  |  Branch (1587:17): [True: 17, False: 0]
  ------------------
 1588|     17|                PyInterpreterState *interp = _PyInterpreterState_GET();
 1589|     17|                _PyUnicode_InternMortal(interp, &mod);
 1590|     17|            }
 1591|     17|        }
 1592|      6|        else {
 1593|      6|            mod = &_Py_ID(builtins);
  ------------------
  |  |  936|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1594|      6|        }
 1595|     23|    }
 1596|     25|    return mod;
 1597|     25|}
typeobject.c:is_subtype_with_mro:
 2875|  96.7k|{
 2876|  96.7k|    int res;
 2877|  96.7k|    if (a_mro != NULL) {
  ------------------
  |  Branch (2877:9): [True: 94.6k, False: 2.09k]
  ------------------
 2878|       |        /* Deal with multiple inheritance without recursion
 2879|       |           by walking the MRO tuple */
 2880|  94.6k|        Py_ssize_t i, n;
 2881|  94.6k|        assert(PyTuple_Check(a_mro));
  ------------------
  |  Branch (2881:9): [True: 94.6k, False: 0]
  ------------------
 2882|  94.6k|        n = PyTuple_GET_SIZE(a_mro);
  ------------------
  |  |   27|  94.6k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  94.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  94.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2883|  94.6k|        res = 0;
 2884|   275k|        for (i = 0; i < n; i++) {
  ------------------
  |  Branch (2884:21): [True: 196k, False: 78.9k]
  ------------------
 2885|   392k|            if (PyTuple_GET_ITEM(a_mro, i) == (PyObject *)b) {
  ------------------
  |  |   29|   196k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|   196k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   196k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2885:17): [True: 196k, False: 0]
  |  Branch (2885:17): [True: 15.6k, False: 180k]
  ------------------
 2886|  15.6k|                res = 1;
 2887|  15.6k|                break;
 2888|  15.6k|            }
 2889|   196k|        }
 2890|  94.6k|    }
 2891|  2.09k|    else {
 2892|       |        /* a is not completely initialized yet; follow tp_base */
 2893|  2.09k|        res = type_is_subtype_base_chain(a, b);
 2894|  2.09k|    }
 2895|  96.7k|    return res;
 2896|  96.7k|}
typeobject.c:type_is_subtype_base_chain:
 2863|  2.09k|{
 2864|  2.09k|    do {
 2865|  2.09k|        if (a == b)
  ------------------
  |  Branch (2865:13): [True: 6, False: 2.09k]
  ------------------
 2866|      6|            return 1;
 2867|  2.09k|        a = a->tp_base;
 2868|  2.09k|    } while (a != NULL);
  ------------------
  |  Branch (2868:14): [True: 8, False: 2.08k]
  ------------------
 2869|       |
 2870|  2.08k|    return (b == &PyBaseObject_Type);
 2871|  2.09k|}
typeobject.c:maybe_call_special_no_args:
 3140|      4|{
 3141|      4|    PyThreadState *tstate = _PyThreadState_GET();
 3142|      4|    _PyCStackRef cref;
 3143|      4|    _PyThreadState_PushCStackRef(tstate, &cref);
 3144|       |
 3145|      4|    PyObject *res = NULL;
 3146|      4|    int unbound = lookup_maybe_method(self, attr, &cref.ref);
 3147|      4|    PyObject *func = PyStackRef_AsPyObjectBorrow(cref.ref);
 3148|      4|    if (attr_is_none != NULL) {
  ------------------
  |  Branch (3148:9): [True: 4, False: 0]
  ------------------
 3149|      4|        *attr_is_none = (func == Py_None);
  ------------------
  |  |  616|      4|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3150|      4|    }
 3151|      4|    if (func != NULL && (func != Py_None || attr_is_none == NULL)) {
  ------------------
  |  |  616|      8|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3151:9): [True: 4, False: 0]
  |  Branch (3151:26): [True: 4, False: 0]
  |  Branch (3151:45): [True: 0, False: 0]
  ------------------
 3152|      4|        res = call_unbound_noarg(unbound, func, self);
 3153|      4|    }
 3154|      4|    _PyThreadState_PopCStackRef(tstate, &cref);
 3155|      4|    return res;
 3156|      4|}
typeobject.c:lookup_maybe_method:
 3009|     12|{
 3010|     12|    return lookup_method_ex(self, attr, out, 0);
 3011|     12|}
typeobject.c:lookup_method_ex:
 2975|    652|{
 2976|    652|    _PyType_LookupStackRefAndVersion(Py_TYPE(self), attr, out);
  ------------------
  |  |  213|    652|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    652|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    652|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2977|    652|    if (PyStackRef_IsNull(*out)) {
  ------------------
  |  |  482|    652|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|    652|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    652|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 0, False: 652]
  |  |  ------------------
  ------------------
 2978|      0|        if (raise_attribute_error) {
  ------------------
  |  Branch (2978:13): [True: 0, False: 0]
  ------------------
 2979|      0|            PyErr_SetObject(PyExc_AttributeError, attr);
 2980|      0|        }
 2981|      0|        return -1;
 2982|      0|    }
 2983|       |
 2984|    652|    PyObject *value = PyStackRef_AsPyObjectBorrow(*out);
 2985|    652|    if (_PyType_HasFeature(Py_TYPE(value), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  213|    652|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    652|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    652|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (_PyType_HasFeature(Py_TYPE(value), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  534|    652|#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
  ------------------
  |  Branch (2985:9): [True: 652, False: 0]
  ------------------
 2986|       |        /* Avoid temporary PyMethodObject */
 2987|    652|        return 1;
 2988|    652|    }
 2989|       |
 2990|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2991|      0|    if (f != NULL) {
  ------------------
  |  Branch (2991:9): [True: 0, False: 0]
  ------------------
 2992|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2993|      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]
  |  |  ------------------
  ------------------
 2994|      0|        if (value == NULL) {
  ------------------
  |  Branch (2994:13): [True: 0, False: 0]
  ------------------
 2995|      0|            if (!raise_attribute_error &&
  ------------------
  |  Branch (2995:17): [True: 0, False: 0]
  ------------------
 2996|      0|                PyErr_ExceptionMatches(PyExc_AttributeError))
  ------------------
  |  Branch (2996:17): [True: 0, False: 0]
  ------------------
 2997|      0|            {
 2998|      0|                PyErr_Clear();
 2999|      0|            }
 3000|      0|            return -1;
 3001|      0|        }
 3002|      0|        *out = PyStackRef_FromPyObjectSteal(value);
 3003|      0|    }
 3004|      0|    return 0;
 3005|      0|}
typeobject.c:call_unbound_noarg:
 3037|     84|{
 3038|     84|    if (unbound) {
  ------------------
  |  Branch (3038:9): [True: 84, False: 0]
  ------------------
 3039|     84|        return PyObject_CallOneArg(func, self);
 3040|     84|    }
 3041|      0|    else {
 3042|      0|        return _PyObject_CallNoArgs(func);
 3043|      0|    }
 3044|     84|}
typeobject.c:maybe_call_special_one_arg:
 3161|      6|{
 3162|      6|    PyThreadState *tstate = _PyThreadState_GET();
 3163|      6|    _PyCStackRef cref;
 3164|      6|    _PyThreadState_PushCStackRef(tstate, &cref);
 3165|       |
 3166|      6|    PyObject *res = NULL;
 3167|      6|    int unbound = lookup_maybe_method(self, attr, &cref.ref);
 3168|      6|    PyObject *func = PyStackRef_AsPyObjectBorrow(cref.ref);
 3169|      6|    if (attr_is_none != NULL) {
  ------------------
  |  Branch (3169:9): [True: 6, False: 0]
  ------------------
 3170|      6|        *attr_is_none = (func == Py_None);
  ------------------
  |  |  616|      6|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3171|      6|    }
 3172|      6|    if (func != NULL && (func != Py_None || attr_is_none == NULL)) {
  ------------------
  |  |  616|     12|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3172:9): [True: 6, False: 0]
  |  Branch (3172:26): [True: 6, False: 0]
  |  Branch (3172:45): [True: 0, False: 0]
  ------------------
 3173|      6|        PyObject *args[] = { self, arg };
 3174|      6|        res = vectorcall_unbound(tstate, unbound, func, args, 2);
 3175|      6|    }
 3176|      6|    _PyThreadState_PopCStackRef(tstate, &cref);
 3177|      6|    return res;
 3178|      6|}
typeobject.c:vectorcall_unbound:
 3023|    257|{
 3024|    257|    size_t nargsf = nargs;
 3025|    257|    if (!unbound) {
  ------------------
  |  Branch (3025:9): [True: 0, False: 257]
  ------------------
 3026|       |        /* Skip self argument, freeing up args[0] to use for
 3027|       |         * PY_VECTORCALL_ARGUMENTS_OFFSET */
 3028|      0|        args++;
 3029|      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))
  |  |  ------------------
  ------------------
 3030|      0|    }
 3031|    257|    EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_SLOT, func);
  ------------------
  |  |   80|    257|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
 3032|       |    return _PyObject_VectorcallTstate(tstate, func, args, nargsf, NULL);
 3033|    257|}
typeobject.c:type_from_slots_or_spec:
 5227|    122|{
 5228|       |    /* Invariant: A non-NULL value in one of these means this function holds
 5229|       |     * a strong reference or owns allocated memory.
 5230|       |     * These get decrefed/freed/returned at the end, on both success and error.
 5231|       |     */
 5232|    122|    PyHeapTypeObject *res = NULL;
 5233|    122|    PyTypeObject *type;
 5234|    122|    PyObject *bases = NULL;
 5235|    122|    char *tp_doc = NULL;
 5236|    122|    PyObject *ht_name = NULL;
 5237|    122|    char *_ht_tpname = NULL;
 5238|       |
 5239|    122|    int r;
 5240|       |
 5241|       |    /* First pass of slots */
 5242|       |
 5243|    122|    Py_ssize_t nmembers = 0;
 5244|    122|    const PyMemberDef *weaklistoffset_member = NULL;
 5245|    122|    const PyMemberDef *dictoffset_member = NULL;
 5246|    122|    const PyMemberDef *vectorcalloffset_member = NULL;
 5247|    122|    Py_ssize_t basicsize = 0;
 5248|    122|    Py_ssize_t extra_basicsize = 0;
 5249|    122|    Py_ssize_t itemsize = 0;
 5250|    122|    int flags = 0;
 5251|    122|    void *token = NULL;
 5252|       |
 5253|    122|    bool have_relative_members = false;
 5254|    122|    Py_ssize_t max_relative_offset = 0;
 5255|       |
 5256|    122|    PyObject *bases_slot = NULL; /* borrowed from the slots */
 5257|       |
 5258|    122|    _PySlotIterator it;
 5259|       |
 5260|    122|    if (spec) {
  ------------------
  |  Branch (5260:9): [True: 122, False: 0]
  ------------------
 5261|    122|        assert(!slots);
  ------------------
  |  Branch (5261:9): [True: 122, False: 0]
  ------------------
 5262|    122|        if (spec->basicsize > 0) {
  ------------------
  |  Branch (5262:13): [True: 116, False: 6]
  ------------------
 5263|    116|            basicsize = spec->basicsize;
 5264|    116|        }
 5265|    122|        if (spec->basicsize < 0) {
  ------------------
  |  Branch (5265:13): [True: 0, False: 122]
  ------------------
 5266|      0|            extra_basicsize = -spec->basicsize;
 5267|      0|        }
 5268|    122|        itemsize = spec->itemsize;
 5269|    122|        flags = spec->flags;
 5270|    122|        _PySlotIterator_InitLegacy(&it, spec->slots, _PySlot_KIND_TYPE);
 5271|    122|        it.name = spec->name;
 5272|    122|    }
 5273|      0|    else {
 5274|      0|        assert(!spec);
  ------------------
  |  Branch (5274:9): [True: 0, False: 0]
  ------------------
 5275|      0|        assert(!metaclass);
  ------------------
  |  Branch (5275:9): [True: 0, False: 0]
  ------------------
 5276|      0|        assert(!module);
  ------------------
  |  Branch (5276:9): [True: 0, False: 0]
  ------------------
 5277|      0|        assert(!bases_in);
  ------------------
  |  Branch (5277:9): [True: 0, False: 0]
  ------------------
 5278|      0|        _PySlotIterator_Init(&it, slots, _PySlot_KIND_TYPE);
 5279|      0|    }
 5280|       |
 5281|    122|    #define NO_SPEC                                         \
 5282|    122|        if (spec) {                                         \
 5283|    122|            PyErr_Format(                                   \
 5284|    122|                PyExc_SystemError,                          \
 5285|    122|                "%s must not be used with PyType_Spec",     \
 5286|    122|                _PySlot_GetName(it.current.sl_id));         \
 5287|    122|            goto finally;                                   \
 5288|    122|        }                                                   \
 5289|       |        /////////////////////////////////////////////////////
 5290|       |
 5291|  1.07k|    while (_PySlotIterator_Next(&it)) {
  ------------------
  |  Branch (5291:12): [True: 957, False: 122]
  ------------------
 5292|    957|        switch (it.current.sl_id) {
  ------------------
  |  Branch (5292:17): [True: 168, False: 789]
  ------------------
 5293|      0|        case Py_slot_invalid:
  ------------------
  |  |   25|      0|#define Py_slot_invalid 0xffff
  ------------------
  |  Branch (5293:9): [True: 0, False: 957]
  ------------------
 5294|      0|            goto finally;
 5295|      0|        case Py_tp_name:
  ------------------
  |  |  103|      0|#define Py_tp_name 95
  ------------------
  |  Branch (5295:9): [True: 0, False: 957]
  ------------------
 5296|      0|            NO_SPEC;
  ------------------
  |  | 5282|      0|        if (spec) {                                         \
  |  |  ------------------
  |  |  |  Branch (5282:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5283|      0|            PyErr_Format(                                   \
  |  | 5284|      0|                PyExc_SystemError,                          \
  |  | 5285|      0|                "%s must not be used with PyType_Spec",     \
  |  | 5286|      0|                _PySlot_GetName(it.current.sl_id));         \
  |  | 5287|      0|            goto finally;                                   \
  |  | 5288|      0|        }                                                   \
  ------------------
 5297|      0|            it.name = it.current.sl_ptr;
 5298|      0|            break;
 5299|      0|        case Py_tp_metaclass:
  ------------------
  |  |  115|      0|#define Py_tp_metaclass 107
  ------------------
  |  Branch (5299:9): [True: 0, False: 957]
  ------------------
 5300|      0|            NO_SPEC;
  ------------------
  |  | 5282|      0|        if (spec) {                                         \
  |  |  ------------------
  |  |  |  Branch (5282:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5283|      0|            PyErr_Format(                                   \
  |  | 5284|      0|                PyExc_SystemError,                          \
  |  | 5285|      0|                "%s must not be used with PyType_Spec",     \
  |  | 5286|      0|                _PySlot_GetName(it.current.sl_id));         \
  |  | 5287|      0|            goto finally;                                   \
  |  | 5288|      0|        }                                                   \
  ------------------
 5301|      0|            metaclass = it.current.sl_ptr;
 5302|      0|            break;
 5303|      0|        case Py_tp_module:
  ------------------
  |  |  116|      0|#define Py_tp_module 108
  ------------------
  |  Branch (5303:9): [True: 0, False: 957]
  ------------------
 5304|      0|            NO_SPEC;
  ------------------
  |  | 5282|      0|        if (spec) {                                         \
  |  |  ------------------
  |  |  |  Branch (5282:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5283|      0|            PyErr_Format(                                   \
  |  | 5284|      0|                PyExc_SystemError,                          \
  |  | 5285|      0|                "%s must not be used with PyType_Spec",     \
  |  | 5286|      0|                _PySlot_GetName(it.current.sl_id));         \
  |  | 5287|      0|            goto finally;                                   \
  |  | 5288|      0|        }                                                   \
  ------------------
 5305|      0|            module = it.current.sl_ptr;
 5306|      0|            break;
 5307|      0|        case Py_tp_bases:
  ------------------
  |  |   57|      0|#define Py_tp_bases 49
  ------------------
  |  Branch (5307:9): [True: 0, False: 957]
  ------------------
 5308|      0|            bases_slot = it.current.sl_ptr;
 5309|      0|            break;
 5310|      0|        case Py_tp_base:
  ------------------
  |  |   56|      0|#define Py_tp_base 48
  ------------------
  |  Branch (5310:9): [True: 0, False: 957]
  ------------------
 5311|      0|            if (!_PySlotIterator_SawSlot(&it, Py_tp_bases)) {
  ------------------
  |  |   57|      0|#define Py_tp_bases 49
  ------------------
  |  Branch (5311:17): [True: 0, False: 0]
  ------------------
 5312|      0|                bases_slot = it.current.sl_ptr;
 5313|      0|            }
 5314|      0|            break;
 5315|      0|        case Py_tp_basicsize:
  ------------------
  |  |  104|      0|#define Py_tp_basicsize 96
  ------------------
  |  Branch (5315:9): [True: 0, False: 957]
  ------------------
 5316|      0|            NO_SPEC;
  ------------------
  |  | 5282|      0|        if (spec) {                                         \
  |  |  ------------------
  |  |  |  Branch (5282:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5283|      0|            PyErr_Format(                                   \
  |  | 5284|      0|                PyExc_SystemError,                          \
  |  | 5285|      0|                "%s must not be used with PyType_Spec",     \
  |  | 5286|      0|                _PySlot_GetName(it.current.sl_id));         \
  |  | 5287|      0|            goto finally;                                   \
  |  | 5288|      0|        }                                                   \
  ------------------
 5317|      0|            basicsize = it.current.sl_size;
 5318|      0|            if (basicsize <= 0) {
  ------------------
  |  Branch (5318:17): [True: 0, False: 0]
  ------------------
 5319|      0|                PyErr_SetString(
 5320|      0|                    PyExc_SystemError,
 5321|      0|                    "Py_tp_basicsize must be positive");
 5322|      0|                goto finally;
 5323|      0|            }
 5324|      0|            break;
 5325|      0|        case Py_tp_extra_basicsize:
  ------------------
  |  |  105|      0|#define Py_tp_extra_basicsize 97
  ------------------
  |  Branch (5325:9): [True: 0, False: 957]
  ------------------
 5326|      0|            NO_SPEC;
  ------------------
  |  | 5282|      0|        if (spec) {                                         \
  |  |  ------------------
  |  |  |  Branch (5282:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5283|      0|            PyErr_Format(                                   \
  |  | 5284|      0|                PyExc_SystemError,                          \
  |  | 5285|      0|                "%s must not be used with PyType_Spec",     \
  |  | 5286|      0|                _PySlot_GetName(it.current.sl_id));         \
  |  | 5287|      0|            goto finally;                                   \
  |  | 5288|      0|        }                                                   \
  ------------------
 5327|      0|            extra_basicsize = it.current.sl_size;
 5328|      0|            if (extra_basicsize <= 0) {
  ------------------
  |  Branch (5328:17): [True: 0, False: 0]
  ------------------
 5329|      0|                PyErr_SetString(
 5330|      0|                    PyExc_SystemError,
 5331|      0|                    "Py_tp_extra_basicsize must be positive");
 5332|      0|                goto finally;
 5333|      0|            }
 5334|      0|            break;
 5335|      0|        case Py_tp_itemsize:
  ------------------
  |  |  106|      0|#define Py_tp_itemsize 98
  ------------------
  |  Branch (5335:9): [True: 0, False: 957]
  ------------------
 5336|      0|            NO_SPEC;
  ------------------
  |  | 5282|      0|        if (spec) {                                         \
  |  |  ------------------
  |  |  |  Branch (5282:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5283|      0|            PyErr_Format(                                   \
  |  | 5284|      0|                PyExc_SystemError,                          \
  |  | 5285|      0|                "%s must not be used with PyType_Spec",     \
  |  | 5286|      0|                _PySlot_GetName(it.current.sl_id));         \
  |  | 5287|      0|            goto finally;                                   \
  |  | 5288|      0|        }                                                   \
  ------------------
 5337|      0|            itemsize = it.current.sl_size;
 5338|      0|            if (itemsize <= 0) {
  ------------------
  |  Branch (5338:17): [True: 0, False: 0]
  ------------------
 5339|      0|                PyErr_SetString(
 5340|      0|                    PyExc_SystemError,
 5341|      0|                    "Py_tp_itemsize must be positive");
 5342|      0|                goto finally;
 5343|      0|            }
 5344|      0|            break;
 5345|      0|        case Py_tp_flags:
  ------------------
  |  |  107|      0|#define Py_tp_flags 99
  ------------------
  |  Branch (5345:9): [True: 0, False: 957]
  ------------------
 5346|      0|            NO_SPEC;
  ------------------
  |  | 5282|      0|        if (spec) {                                         \
  |  |  ------------------
  |  |  |  Branch (5282:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5283|      0|            PyErr_Format(                                   \
  |  | 5284|      0|                PyExc_SystemError,                          \
  |  | 5285|      0|                "%s must not be used with PyType_Spec",     \
  |  | 5286|      0|                _PySlot_GetName(it.current.sl_id));         \
  |  | 5287|      0|            goto finally;                                   \
  |  | 5288|      0|        }                                                   \
  ------------------
 5347|      0|            flags = (int)it.current.sl_uint64;
 5348|      0|            break;
 5349|     70|        case Py_tp_members:
  ------------------
  |  |   80|     70|#define Py_tp_members 72
  ------------------
  |  Branch (5349:9): [True: 70, False: 887]
  ------------------
 5350|     70|            for (const PyMemberDef *memb = it.current.sl_ptr;
 5351|    337|                 memb->name != NULL;
  ------------------
  |  Branch (5351:18): [True: 267, False: 70]
  ------------------
 5352|    267|                 memb++)
 5353|    267|            {
 5354|    267|                nmembers++;
 5355|    267|                if (memb->flags & Py_RELATIVE_OFFSET) {
  ------------------
  |  |   86|    267|#define Py_RELATIVE_OFFSET     (1 << 3)
  ------------------
  |  Branch (5355:21): [True: 0, False: 267]
  ------------------
 5356|      0|                    if (memb->offset < 0) {
  ------------------
  |  Branch (5356:25): [True: 0, False: 0]
  ------------------
 5357|      0|                        PyErr_SetString(
 5358|      0|                            PyExc_SystemError,
 5359|      0|                            "Member offset must not be negative");
 5360|      0|                        goto finally;
 5361|      0|                    }
 5362|      0|                    have_relative_members = true;
 5363|      0|                    max_relative_offset = Py_MAX(max_relative_offset,
  ------------------
  |  |  126|      0|       __extension__ \
  |  |  127|      0|       ({ _Py_TYPEOF (x) _x = (x); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  128|      0|          _Py_TYPEOF (y) _y = (y); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|      0|          _x > _y ? _x : _y; })
  |  |  ------------------
  |  |  |  Branch (129:11): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5364|      0|                                                 memb->offset);
 5365|      0|                }
 5366|    267|                if (strcmp(memb->name, "__weaklistoffset__") == 0) {
  ------------------
  |  Branch (5366:21): [True: 27, False: 240]
  ------------------
 5367|     27|                    weaklistoffset_member = memb;
 5368|     27|                }
 5369|    240|                else if (strcmp(memb->name, "__dictoffset__") == 0) {
  ------------------
  |  Branch (5369:26): [True: 21, False: 219]
  ------------------
 5370|     21|                    dictoffset_member = memb;
 5371|     21|                }
 5372|    219|                else if (strcmp(memb->name, "__vectorcalloffset__") == 0) {
  ------------------
  |  Branch (5372:26): [True: 4, False: 215]
  ------------------
 5373|      4|                    vectorcalloffset_member = memb;
 5374|      4|                }
 5375|    267|            }
 5376|     70|            break;
 5377|     70|        case Py_tp_token:
  ------------------
  |  |   91|      1|#define Py_tp_token 83
  ------------------
  |  Branch (5377:9): [True: 1, False: 956]
  ------------------
 5378|      1|            token = it.current.sl_ptr;
 5379|      1|            if (token == Py_TP_USE_SPEC) {
  ------------------
  |  |  365|      1|#define Py_TP_USE_SPEC NULL
  ------------------
  |  Branch (5379:17): [True: 1, False: 0]
  ------------------
 5380|      1|                if (!spec) {
  ------------------
  |  Branch (5380:21): [True: 0, False: 1]
  ------------------
 5381|      0|                    PyErr_SetString(
 5382|      0|                        PyExc_SystemError,
 5383|      0|                        "Py_tp_token: Py_TP_USE_SPEC (NULL) can only be "
 5384|      0|                        "used with PyType_Spec");
 5385|      0|                    goto finally;
 5386|      0|                }
 5387|      1|                token = spec;
 5388|      1|            }
 5389|      1|            break;
 5390|     97|        case Py_tp_doc:
  ------------------
  |  |   64|     97|#define Py_tp_doc 56
  ------------------
  |  Branch (5390:9): [True: 97, False: 860]
  ------------------
 5391|       |            /* For the docstring slot, which usually points to a static string
 5392|       |               literal, we need to make a copy */
 5393|     97|            if (it.current.sl_ptr == NULL) {
  ------------------
  |  Branch (5393:17): [True: 0, False: 97]
  ------------------
 5394|      0|                PyMem_Free(tp_doc);
 5395|      0|                tp_doc = NULL;
 5396|      0|            }
 5397|     97|            else {
 5398|     97|                size_t len = strlen(it.current.sl_ptr)+1;
 5399|     97|                tp_doc = PyMem_Malloc(len);
 5400|     97|                if (tp_doc == NULL) {
  ------------------
  |  Branch (5400:21): [True: 0, False: 97]
  ------------------
 5401|      0|                    PyErr_NoMemory();
 5402|      0|                    goto finally;
 5403|      0|                }
 5404|     97|                memcpy(tp_doc, it.current.sl_ptr, len);
 5405|     97|            }
 5406|     97|            break;
 5407|    957|        }
 5408|    957|    }
 5409|    122|    #undef NO_SPEC
 5410|       |
 5411|       |    /* Required slots & bad combinations */
 5412|       |
 5413|    122|    if (it.name == NULL) {
  ------------------
  |  Branch (5413:9): [True: 0, False: 122]
  ------------------
 5414|      0|        if (spec) {
  ------------------
  |  Branch (5414:13): [True: 0, False: 0]
  ------------------
 5415|      0|            PyErr_SetString(PyExc_SystemError,
 5416|      0|                            "Type spec does not define the name field.");
 5417|      0|        }
 5418|      0|        else {
 5419|      0|            PyErr_SetString(PyExc_SystemError,
 5420|      0|                            "Py_tp_name slot is required.");
 5421|      0|        }
 5422|      0|        goto finally;
 5423|      0|    }
 5424|       |
 5425|    122|    if (_PySlotIterator_SawSlot(&it, Py_tp_basicsize)
  ------------------
  |  |  104|    122|#define Py_tp_basicsize 96
  ------------------
  |  Branch (5425:9): [True: 0, False: 122]
  ------------------
 5426|      0|        && _PySlotIterator_SawSlot(&it, Py_tp_extra_basicsize))
  ------------------
  |  |  105|      0|#define Py_tp_extra_basicsize 97
  ------------------
  |  Branch (5426:12): [True: 0, False: 0]
  ------------------
 5427|      0|    {
 5428|      0|        PyErr_Format(
 5429|      0|            PyExc_SystemError,
 5430|      0|            "type %s: Py_tp_basicsize and Py_tp_extra_basicsize are "
 5431|      0|            "mutually exclusive",
 5432|      0|            it.name);
 5433|      0|        goto finally;
 5434|      0|    }
 5435|       |
 5436|    122|    if (have_relative_members) {
  ------------------
  |  Branch (5436:9): [True: 0, False: 122]
  ------------------
 5437|      0|        if (!extra_basicsize) {
  ------------------
  |  Branch (5437:13): [True: 0, False: 0]
  ------------------
 5438|      0|            PyErr_SetString(
 5439|      0|                PyExc_SystemError,
 5440|      0|                "With Py_RELATIVE_OFFSET, basicsize must be extended");
 5441|      0|            goto finally;
 5442|      0|        }
 5443|      0|        if (max_relative_offset >= extra_basicsize) {
  ------------------
  |  Branch (5443:13): [True: 0, False: 0]
  ------------------
 5444|      0|            PyErr_SetString(
 5445|      0|                PyExc_SystemError,
 5446|      0|                "Member offset out of range (0..extra_basicsize)");
 5447|      0|            goto finally;
 5448|      0|        }
 5449|      0|    }
 5450|       |
 5451|       |    /* Prepare the type name and qualname */
 5452|       |
 5453|    122|    assert(it.name);
  ------------------
  |  Branch (5453:5): [True: 122, False: 0]
  ------------------
 5454|    122|    const char *s = strrchr(it.name, '.');
 5455|    122|    if (s == NULL) {
  ------------------
  |  Branch (5455:9): [True: 0, False: 122]
  ------------------
 5456|      0|        s = it.name;
 5457|      0|    }
 5458|    122|    else {
 5459|    122|        s++;
 5460|    122|    }
 5461|       |
 5462|    122|    ht_name = PyUnicode_FromString(s);
 5463|    122|    if (!ht_name) {
  ------------------
  |  Branch (5463:9): [True: 0, False: 122]
  ------------------
 5464|      0|        goto finally;
 5465|      0|    }
 5466|       |
 5467|       |    /* Copy the name to a buffer we own.
 5468|       |    *
 5469|       |    * Unfortunately, we can't use tp_name directly (with some
 5470|       |    * flag saying that it should be deallocated with the type),
 5471|       |    * because tp_name is public API and may be set independently
 5472|       |    * of any such flag.
 5473|       |    * So, we use a separate buffer, _ht_tpname, that's always
 5474|       |    * deallocated with the type (if it's non-NULL).
 5475|       |    */
 5476|    122|    Py_ssize_t name_buf_len = strlen(it.name) + 1;
 5477|    122|    _ht_tpname = PyMem_Malloc(name_buf_len);
 5478|    122|    if (_ht_tpname == NULL) {
  ------------------
  |  Branch (5478:9): [True: 0, False: 122]
  ------------------
 5479|      0|        PyErr_NoMemory();
 5480|      0|        goto finally;
 5481|      0|    }
 5482|    122|    memcpy(_ht_tpname, it.name, name_buf_len);
 5483|       |
 5484|       |    /* Get a tuple of bases.
 5485|       |     * bases is a strong reference (unlike bases_in).
 5486|       |     * (This is convoluted for backwards compatibility -- preserving priority
 5487|       |     * of the various ways to specify bases)
 5488|       |     */
 5489|    122|    if (!bases_in) {
  ------------------
  |  Branch (5489:9): [True: 81, False: 41]
  ------------------
 5490|     81|        bases_in = bases_slot;
 5491|     81|    }
 5492|    122|    if (bases_in) {
  ------------------
  |  Branch (5492:9): [True: 41, False: 81]
  ------------------
 5493|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5494|      0|            bases = Py_NewRef(bases_in);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5495|      0|        }
 5496|     41|        else {
 5497|     41|            bases = PyTuple_Pack(1, bases_in);
 5498|     41|        }
 5499|     41|    }
 5500|     81|    else {
 5501|     81|        bases = PyTuple_Pack(1, &PyBaseObject_Type);
 5502|     81|    }
 5503|    122|    if (!bases) {
  ------------------
  |  Branch (5503:9): [True: 0, False: 122]
  ------------------
 5504|      0|        goto finally;
 5505|      0|    }
 5506|       |
 5507|       |    /* If this is an immutable type, check if all bases are also immutable.
 5508|       |     * (This isn't necessary for static types: those can't have heap bases,
 5509|       |     * and only heap types can be mutable.)
 5510|       |     */
 5511|    122|    if (flags & Py_TPFLAGS_IMMUTABLETYPE) {
  ------------------
  |  |  500|    122|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (5511:9): [True: 99, False: 23]
  ------------------
 5512|     99|        if (check_immutable_bases(it.name, bases, 0) < 0) {
  ------------------
  |  Branch (5512:13): [True: 0, False: 99]
  ------------------
 5513|      0|            goto finally;
 5514|      0|        }
 5515|     99|    }
 5516|       |
 5517|       |    /* Calculate best base, and check that all bases are type objects */
 5518|    122|    PyTypeObject *base = find_best_base(bases);  // borrowed ref
 5519|    122|    if (base == NULL) {
  ------------------
  |  Branch (5519:9): [True: 0, False: 122]
  ------------------
 5520|      0|        goto finally;
 5521|      0|    }
 5522|       |
 5523|       |    /* Calculate the metaclass */
 5524|       |
 5525|    122|    if (!metaclass) {
  ------------------
  |  Branch (5525:9): [True: 122, False: 0]
  ------------------
 5526|    122|        metaclass = &PyType_Type;
 5527|    122|    }
 5528|    122|    metaclass = _PyType_CalculateMetaclass(metaclass, bases);
 5529|    122|    if (metaclass == NULL) {
  ------------------
  |  Branch (5529:9): [True: 0, False: 122]
  ------------------
 5530|      0|        goto finally;
 5531|      0|    }
 5532|    122|    if (!PyType_Check(metaclass)) {
  ------------------
  |  |  766|    122|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    122|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    122|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5532:9): [True: 0, False: 122]
  ------------------
 5533|      0|        PyErr_Format(PyExc_TypeError,
 5534|      0|                     "Metaclass '%R' is not a subclass of 'type'.",
 5535|      0|                     metaclass);
 5536|      0|        goto finally;
 5537|      0|    }
 5538|    122|    if (metaclass->tp_new && metaclass->tp_new != PyType_Type.tp_new) {
  ------------------
  |  Branch (5538:9): [True: 122, False: 0]
  |  Branch (5538:30): [True: 0, False: 122]
  ------------------
 5539|      0|        PyErr_SetString(
 5540|      0|            PyExc_TypeError,
 5541|      0|            "Metaclasses with custom tp_new are not supported.");
 5542|      0|        goto finally;
 5543|      0|    }
 5544|       |
 5545|       |    // find_best_base() should check Py_TPFLAGS_BASETYPE & raise a proper
 5546|       |    // exception, here we just check its work
 5547|    122|    assert(_PyType_HasFeature(base, Py_TPFLAGS_BASETYPE));
  ------------------
  |  Branch (5547:5): [True: 122, False: 0]
  ------------------
 5548|       |
 5549|       |    /* Calculate sizes */
 5550|       |
 5551|    122|    Py_ssize_t type_data_offset = basicsize;
 5552|    122|    if (extra_basicsize) {
  ------------------
  |  Branch (5552:9): [True: 0, False: 122]
  ------------------
 5553|       |        /* Extend */
 5554|      0|        assert(basicsize == 0);
  ------------------
  |  Branch (5554:9): [True: 0, False: 0]
  ------------------
 5555|      0|        type_data_offset = _align_up(base->tp_basicsize);
 5556|      0|        basicsize = type_data_offset + _align_up(extra_basicsize);
 5557|       |
 5558|       |        /* Inheriting variable-sized types is limited */
 5559|      0|        if (base->tp_itemsize
  ------------------
  |  Branch (5559:13): [True: 0, False: 0]
  ------------------
 5560|      0|            && !((base->tp_flags | flags) & Py_TPFLAGS_ITEMS_AT_END))
  ------------------
  |  |  548|      0|#define Py_TPFLAGS_ITEMS_AT_END (1UL << 23)
  ------------------
  |  Branch (5560:16): [True: 0, False: 0]
  ------------------
 5561|      0|        {
 5562|      0|            PyErr_SetString(
 5563|      0|                PyExc_SystemError,
 5564|      0|                "Cannot extend variable-size class without Py_TPFLAGS_ITEMS_AT_END.");
 5565|      0|            goto finally;
 5566|      0|        }
 5567|      0|    }
 5568|    122|    if (basicsize == 0) {
  ------------------
  |  Branch (5568:9): [True: 6, False: 116]
  ------------------
 5569|       |        /* Inherit */
 5570|      6|        basicsize = base->tp_basicsize;
 5571|      6|    }
 5572|       |
 5573|       |    /* Compute special offsets */
 5574|       |
 5575|    122|    Py_ssize_t weaklistoffset = 0;
 5576|    122|    if (special_offset_from_member(weaklistoffset_member, type_data_offset,
  ------------------
  |  Branch (5576:9): [True: 0, False: 122]
  ------------------
 5577|    122|                                  &weaklistoffset) < 0) {
 5578|      0|        goto finally;
 5579|      0|    }
 5580|    122|    Py_ssize_t dictoffset = 0;
 5581|    122|    if (special_offset_from_member(dictoffset_member, type_data_offset,
  ------------------
  |  Branch (5581:9): [True: 0, False: 122]
  ------------------
 5582|    122|                                  &dictoffset) < 0) {
 5583|      0|        goto finally;
 5584|      0|    }
 5585|    122|    Py_ssize_t vectorcalloffset = 0;
 5586|    122|    if (special_offset_from_member(vectorcalloffset_member, type_data_offset,
  ------------------
  |  Branch (5586:9): [True: 0, False: 122]
  ------------------
 5587|    122|                                  &vectorcalloffset) < 0) {
 5588|      0|        goto finally;
 5589|      0|    }
 5590|       |
 5591|       |    /* Allocate the new type
 5592|       |     *
 5593|       |     * Between here and PyType_Ready, we should limit:
 5594|       |     * - calls to Python code
 5595|       |     * - raising exceptions
 5596|       |     * - memory allocations
 5597|       |     */
 5598|       |
 5599|    122|    res = (PyHeapTypeObject*)metaclass->tp_alloc(metaclass, nmembers);
 5600|    122|    if (res == NULL) {
  ------------------
  |  Branch (5600:9): [True: 0, False: 122]
  ------------------
 5601|      0|        goto finally;
 5602|      0|    }
 5603|       |
 5604|    122|    type = &res->ht_type;
 5605|       |    /* The flags must be initialized early, before the GC traverses us */
 5606|    122|    type_set_flags(type, flags | Py_TPFLAGS_HEAPTYPE);
  ------------------
  |  |  503|    122|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
 5607|       |
 5608|    122|    res->ht_module = Py_XNewRef(module);
  ------------------
  |  |  551|    122|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    122|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    122|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5609|       |
 5610|       |    /* Initialize essential fields */
 5611|       |
 5612|    122|    type->tp_as_async = &res->as_async;
 5613|    122|    type->tp_as_number = &res->as_number;
 5614|    122|    type->tp_as_sequence = &res->as_sequence;
 5615|    122|    type->tp_as_mapping = &res->as_mapping;
 5616|    122|    type->tp_as_buffer = &res->as_buffer;
 5617|       |
 5618|       |    /* Set slots we have prepared */
 5619|       |
 5620|    122|    type->tp_base = (PyTypeObject *)Py_NewRef(base);
  ------------------
  |  |  550|    122|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    122|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    122|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5621|    122|    set_tp_bases(type, bases, 1);
 5622|    122|    bases = NULL;  // We give our reference to bases to the type
 5623|       |
 5624|    122|    type->tp_doc = tp_doc;
 5625|    122|    tp_doc = NULL;  // Give ownership of the allocated memory to the type
 5626|       |
 5627|    122|    res->ht_qualname = Py_NewRef(ht_name);
  ------------------
  |  |  550|    122|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    122|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    122|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5628|    122|    res->ht_name = ht_name;
 5629|    122|    ht_name = NULL;  // Give our reference to the type
 5630|       |
 5631|    122|    type->tp_name = _ht_tpname;
 5632|    122|    res->_ht_tpname = _ht_tpname;
 5633|    122|    _ht_tpname = NULL;  // Give ownership to the type
 5634|       |
 5635|    122|    res->ht_token = token;
 5636|       |
 5637|       |    /* Copy the sizes */
 5638|       |
 5639|    122|    type->tp_basicsize = basicsize;
 5640|    122|    type->tp_itemsize = itemsize;
 5641|       |
 5642|       |    /* Second pass of slots: copy most of them into the type */
 5643|       |
 5644|    122|    _PySlotIterator_Rewind(&it, spec ? (void*)spec->slots : (void*)slots);
  ------------------
  |  Branch (5644:33): [True: 122, False: 0]
  ------------------
 5645|  1.07k|    while (_PySlotIterator_Next(&it)) {
  ------------------
  |  Branch (5645:12): [True: 957, False: 122]
  ------------------
 5646|    957|        switch (it.current.sl_id) {
 5647|      0|        case Py_slot_invalid:
  ------------------
  |  |   25|      0|#define Py_slot_invalid 0xffff
  ------------------
  |  Branch (5647:9): [True: 0, False: 957]
  ------------------
 5648|      0|            goto finally;
 5649|      0|        case Py_tp_base:
  ------------------
  |  |   56|      0|#define Py_tp_base 48
  ------------------
  |  Branch (5649:9): [True: 0, False: 957]
  ------------------
 5650|      0|        case Py_tp_bases:
  ------------------
  |  |   57|      0|#define Py_tp_bases 49
  ------------------
  |  Branch (5650:9): [True: 0, False: 957]
  ------------------
 5651|     97|        case Py_tp_doc:
  ------------------
  |  |   64|     97|#define Py_tp_doc 56
  ------------------
  |  Branch (5651:9): [True: 97, False: 860]
  ------------------
 5652|       |            /* Processed above */
 5653|     97|            break;
 5654|     70|        case Py_tp_members:
  ------------------
  |  |   80|     70|#define Py_tp_members 72
  ------------------
  |  Branch (5654:9): [True: 70, False: 887]
  ------------------
 5655|     70|            {
 5656|       |                /* Move the slots to the heap type itself */
 5657|     70|                size_t len = Py_TYPE(type)->tp_itemsize * nmembers;
  ------------------
  |  |  213|     70|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     70|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     70|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5658|     70|                memcpy(_PyHeapType_GET_MEMBERS(res), it.current.sl_ptr, len);
 5659|     70|                type->tp_members = _PyHeapType_GET_MEMBERS(res);
 5660|     70|                PyMemberDef *memb;
 5661|     70|                Py_ssize_t i;
 5662|     70|                for (memb = _PyHeapType_GET_MEMBERS(res), i = nmembers;
 5663|    337|                     i > 0; ++memb, --i)
  ------------------
  |  Branch (5663:22): [True: 267, False: 70]
  ------------------
 5664|    267|                {
 5665|    267|                    if (memb->flags & Py_RELATIVE_OFFSET) {
  ------------------
  |  |   86|    267|#define Py_RELATIVE_OFFSET     (1 << 3)
  ------------------
  |  Branch (5665:25): [True: 0, False: 267]
  ------------------
 5666|      0|                        memb->flags &= ~Py_RELATIVE_OFFSET;
  ------------------
  |  |   86|      0|#define Py_RELATIVE_OFFSET     (1 << 3)
  ------------------
 5667|      0|                        memb->offset += type_data_offset;
 5668|      0|                    }
 5669|    267|                }
 5670|     70|            }
 5671|     70|            break;
 5672|    790|        default:
  ------------------
  |  Branch (5672:9): [True: 790, False: 167]
  ------------------
 5673|    790|            _PySlot_heaptype_apply_field_slot(res, it.current);
 5674|    790|            break;
 5675|    957|        }
 5676|    957|    }
 5677|    122|    if (type->tp_dealloc == NULL) {
  ------------------
  |  Branch (5677:9): [True: 6, False: 116]
  ------------------
 5678|       |        /* It's a heap type, so needs the heap types' dealloc.
 5679|       |           subtype_dealloc will call the base type's tp_dealloc, if
 5680|       |           necessary. */
 5681|      6|        type->tp_dealloc = subtype_dealloc;
 5682|      6|    }
 5683|       |
 5684|       |    /* Set up offsets */
 5685|       |
 5686|    122|    type->tp_vectorcall_offset = vectorcalloffset;
 5687|    122|    type->tp_weaklistoffset = weaklistoffset;
 5688|    122|    type->tp_dictoffset = dictoffset;
 5689|       |
 5690|       |#ifdef Py_GIL_DISABLED
 5691|       |    // Assign a unique id to enable per-thread refcounting
 5692|       |    res->unique_id = _PyObject_AssignUniqueId((PyObject *)res);
 5693|       |#endif
 5694|       |
 5695|       |    /* Ready the type (which includes inheritance).
 5696|       |     *
 5697|       |     * After this call we should generally only touch up what's
 5698|       |     * accessible to Python code, like __dict__.
 5699|       |     */
 5700|    122|    if (type_ready_publish(type, 0) < 0) {
  ------------------
  |  Branch (5700:9): [True: 0, False: 122]
  ------------------
 5701|      0|        goto finally;
 5702|      0|    }
 5703|       |
 5704|    122|    if (!check_basicsize_includes_size_and_offsets(type)) {
  ------------------
  |  Branch (5704:9): [True: 0, False: 122]
  ------------------
 5705|      0|        goto finally;
 5706|      0|    }
 5707|       |
 5708|    122|    PyObject *dict = lookup_tp_dict(type);
 5709|    122|    if (type->tp_doc) {
  ------------------
  |  Branch (5709:9): [True: 97, False: 25]
  ------------------
 5710|     97|        PyObject *__doc__ = PyUnicode_FromString(_PyType_DocWithoutSignature(type->tp_name, type->tp_doc));
 5711|     97|        if (!__doc__) {
  ------------------
  |  Branch (5711:13): [True: 0, False: 97]
  ------------------
 5712|      0|            goto finally;
 5713|      0|        }
 5714|     97|        r = PyDict_SetItem(dict, &_Py_ID(__doc__), __doc__);
  ------------------
  |  |  936|     97|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     97|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     97|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5715|     97|        Py_DECREF(__doc__);
  ------------------
  |  |  430|     97|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     97|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     97|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5716|     97|        if (r < 0) {
  ------------------
  |  Branch (5716:13): [True: 0, False: 97]
  ------------------
 5717|      0|            goto finally;
 5718|      0|        }
 5719|     97|    }
 5720|       |
 5721|    122|    if (weaklistoffset) {
  ------------------
  |  Branch (5721:9): [True: 27, False: 95]
  ------------------
 5722|     27|        if (PyDict_DelItem(dict, &_Py_ID(__weaklistoffset__)) < 0) {
  ------------------
  |  |  936|     27|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     27|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     27|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5722:13): [True: 0, False: 27]
  ------------------
 5723|      0|            goto finally;
 5724|      0|        }
 5725|     27|    }
 5726|    122|    if (dictoffset) {
  ------------------
  |  Branch (5726:9): [True: 21, False: 101]
  ------------------
 5727|     21|        if (PyDict_DelItem(dict, &_Py_ID(__dictoffset__)) < 0) {
  ------------------
  |  |  936|     21|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     21|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     21|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5727:13): [True: 0, False: 21]
  ------------------
 5728|      0|            goto finally;
 5729|      0|        }
 5730|     21|    }
 5731|       |
 5732|       |    /* Set type.__module__ */
 5733|    122|    r = PyDict_Contains(dict, &_Py_ID(__module__));
  ------------------
  |  |  936|    122|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    122|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    122|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5734|    122|    if (r < 0) {
  ------------------
  |  Branch (5734:9): [True: 0, False: 122]
  ------------------
 5735|      0|        goto finally;
 5736|      0|    }
 5737|    122|    if (r == 0) {
  ------------------
  |  Branch (5737:9): [True: 122, False: 0]
  ------------------
 5738|    122|        s = strrchr(it.name, '.');
 5739|    122|        if (s != NULL) {
  ------------------
  |  Branch (5739:13): [True: 122, False: 0]
  ------------------
 5740|    122|            PyObject *modname = PyUnicode_FromStringAndSize(
 5741|    122|                    it.name, (Py_ssize_t)(s - it.name));
 5742|    122|            if (modname == NULL) {
  ------------------
  |  Branch (5742:17): [True: 0, False: 122]
  ------------------
 5743|      0|                goto finally;
 5744|      0|            }
 5745|    122|            r = PyDict_SetItem(dict, &_Py_ID(__module__), modname);
  ------------------
  |  |  936|    122|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    122|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    122|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5746|    122|            Py_DECREF(modname);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5747|    122|            if (r != 0) {
  ------------------
  |  Branch (5747:17): [True: 0, False: 122]
  ------------------
 5748|      0|                goto finally;
 5749|      0|            }
 5750|    122|        }
 5751|      0|        else {
 5752|      0|            if (PyErr_WarnFormat(PyExc_DeprecationWarning, 1,
  ------------------
  |  Branch (5752:17): [True: 0, False: 0]
  ------------------
 5753|      0|                    "builtin type %.200s has no __module__ attribute",
 5754|      0|                    it.name))
 5755|      0|                goto finally;
 5756|      0|        }
 5757|    122|    }
 5758|       |
 5759|    122|    assert(_PyType_CheckConsistency(type));
  ------------------
  |  Branch (5759:5): [True: 122, False: 0]
  ------------------
 5760|       |
 5761|    122|finally:
 5762|    122|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (5762:9): [True: 0, False: 122]
  ------------------
 5763|      0|        Py_CLEAR(res);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5764|      0|    }
 5765|    122|    Py_XDECREF(bases);
  ------------------
  |  |  524|    122|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    122|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    122|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5766|    122|    PyMem_Free(tp_doc);
 5767|    122|    Py_XDECREF(ht_name);
  ------------------
  |  |  524|    122|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    122|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    122|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5768|    122|    PyMem_Free(_ht_tpname);
 5769|    122|    return (PyObject*)res;
 5770|    122|}
typeobject.c:find_best_base:
 3683|    402|{
 3684|    402|    Py_ssize_t i, n;
 3685|    402|    PyTypeObject *base, *winner, *candidate;
 3686|       |
 3687|    402|    assert(PyTuple_Check(bases));
  ------------------
  |  Branch (3687:5): [True: 402, False: 0]
  ------------------
 3688|    402|    n = PyTuple_GET_SIZE(bases);
  ------------------
  |  |   27|    402|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    402|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    402|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3689|    402|    assert(n > 0);
  ------------------
  |  Branch (3689:5): [True: 402, False: 0]
  ------------------
 3690|    402|    base = NULL;
 3691|    402|    winner = NULL;
 3692|    835|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (3692:17): [True: 433, False: 402]
  ------------------
 3693|    433|        PyObject *base_proto = PyTuple_GET_ITEM(bases, i);
  ------------------
  |  |   29|    433|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    433|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    433|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3693:32): [True: 433, False: 0]
  ------------------
 3694|    433|        if (!PyType_Check(base_proto)) {
  ------------------
  |  |  766|    433|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    433|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    433|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3694:13): [True: 0, False: 433]
  ------------------
 3695|      0|            PyErr_Format(
 3696|      0|                PyExc_TypeError,
 3697|      0|                "bases must be types; got '%T'", base_proto);
 3698|      0|            return NULL;
 3699|      0|        }
 3700|    433|        PyTypeObject *base_i = (PyTypeObject *)base_proto;
 3701|       |
 3702|    433|        if (!_PyType_IsReady(base_i)) {
  ------------------
  |  Branch (3702:13): [True: 0, False: 433]
  ------------------
 3703|      0|            if (PyType_Ready(base_i) < 0)
  ------------------
  |  Branch (3703:17): [True: 0, False: 0]
  ------------------
 3704|      0|                return NULL;
 3705|      0|        }
 3706|    433|        if (!_PyType_HasFeature(base_i, Py_TPFLAGS_BASETYPE)) {
  ------------------
  |  |  506|    433|#define Py_TPFLAGS_BASETYPE (1UL << 10)
  ------------------
  |  Branch (3706:13): [True: 0, False: 433]
  ------------------
 3707|      0|            PyErr_Format(PyExc_TypeError,
 3708|      0|                         "type '%.100s' is not an acceptable base type",
 3709|      0|                         base_i->tp_name);
 3710|      0|            return NULL;
 3711|      0|        }
 3712|    433|        candidate = solid_base(base_i);
 3713|    433|        if (winner == NULL) {
  ------------------
  |  Branch (3713:13): [True: 402, False: 31]
  ------------------
 3714|    402|            winner = candidate;
 3715|    402|            base = base_i;
 3716|    402|        }
 3717|     31|        else if (PyType_IsSubtype(winner, candidate))
  ------------------
  |  Branch (3717:18): [True: 31, False: 0]
  ------------------
 3718|     31|            ;
 3719|      0|        else if (PyType_IsSubtype(candidate, winner)) {
  ------------------
  |  Branch (3719:18): [True: 0, False: 0]
  ------------------
 3720|      0|            winner = candidate;
 3721|      0|            base = base_i;
 3722|      0|        }
 3723|      0|        else {
 3724|      0|            PyErr_SetString(
 3725|      0|                PyExc_TypeError,
 3726|      0|                "multiple bases have "
 3727|      0|                "instance lay-out conflict");
 3728|      0|            return NULL;
 3729|      0|        }
 3730|    433|    }
 3731|    402|    assert (base != NULL);
  ------------------
  |  Branch (3731:5): [True: 402, False: 0]
  ------------------
 3732|       |
 3733|    402|    return base;
 3734|    402|}
typeobject.c:solid_base:
 3747|  2.23k|{
 3748|  2.23k|    PyTypeObject *base;
 3749|       |
 3750|  2.23k|    if (type->tp_base) {
  ------------------
  |  Branch (3750:9): [True: 1.34k, False: 895]
  ------------------
 3751|  1.34k|        base = solid_base(type->tp_base);
 3752|  1.34k|    }
 3753|    895|    else {
 3754|    895|        base = &PyBaseObject_Type;
 3755|    895|    }
 3756|  2.23k|    if (shape_differs(type, base)) {
  ------------------
  |  Branch (3756:9): [True: 322, False: 1.91k]
  ------------------
 3757|    322|        return type;
 3758|    322|    }
 3759|  1.91k|    else {
 3760|  1.91k|        return base;
 3761|  1.91k|    }
 3762|  2.23k|}
typeobject.c:shape_differs:
 3738|  2.23k|{
 3739|  2.23k|    return (
 3740|  2.23k|        t1->tp_basicsize != t2->tp_basicsize ||
  ------------------
  |  Branch (3740:9): [True: 322, False: 1.91k]
  ------------------
 3741|  1.91k|        t1->tp_itemsize != t2->tp_itemsize
  ------------------
  |  Branch (3741:9): [True: 0, False: 1.91k]
  ------------------
 3742|  2.23k|    );
 3743|  2.23k|}
typeobject.c:special_offset_from_member:
 5195|    366|{
 5196|    366|    if (memb == NULL) {
  ------------------
  |  Branch (5196:9): [True: 314, False: 52]
  ------------------
 5197|    314|        *dest = 0;
 5198|    314|        return 0;
 5199|    314|    }
 5200|     52|    if (memb->type != Py_T_PYSSIZET) {
  ------------------
  |  |   79|     52|#define Py_T_PYSSIZET  19      /* Py_ssize_t */
  ------------------
  |  Branch (5200:9): [True: 0, False: 52]
  ------------------
 5201|      0|        PyErr_Format(
 5202|      0|            PyExc_SystemError,
 5203|      0|            "type of %s must be Py_T_PYSSIZET",
 5204|      0|            memb->name);
 5205|      0|        return -1;
 5206|      0|    }
 5207|     52|    if (memb->flags == Py_READONLY) {
  ------------------
  |  |   83|     52|#define Py_READONLY            (1 << 0)
  ------------------
  |  Branch (5207:9): [True: 52, False: 0]
  ------------------
 5208|     52|        *dest = memb->offset;
 5209|     52|        return 0;
 5210|     52|    }
 5211|      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 (5211:14): [True: 0, False: 0]
  ------------------
 5212|      0|        *dest = memb->offset + type_data_offset;
 5213|      0|        return 0;
 5214|      0|    }
 5215|      0|    PyErr_Format(
 5216|      0|        PyExc_SystemError,
 5217|      0|        "flags for %s must be Py_READONLY or (Py_READONLY | Py_RELATIVE_OFFSET)",
 5218|      0|        memb->name);
 5219|      0|    return -1;
 5220|     52|}
typeobject.c:type_set_flags:
  459|  7.53k|{
  460|  7.53k|    ASSERT_WORLD_STOPPED_OR_NEW_TYPE(tp);
  461|  7.53k|    tp->tp_flags = flags;
  462|  7.53k|}
typeobject.c:set_tp_bases:
  603|    914|{
  604|    914|    assert(PyTuple_Check(bases));
  ------------------
  |  Branch (604:5): [True: 914, False: 0]
  ------------------
  605|    914|    ASSERT_NEW_TYPE_OR_LOCKED(self);
  606|    914|    if (self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|    914|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (606:9): [True: 416, False: 498]
  ------------------
  607|       |        // XXX tp_bases can probably be statically allocated for each
  608|       |        // static builtin type.
  609|    416|        assert(PyTuple_CheckExact(bases));
  ------------------
  |  Branch (609:9): [True: 416, False: 0]
  ------------------
  610|    416|        assert(initial);
  ------------------
  |  Branch (610:9): [True: 416, False: 0]
  ------------------
  611|    416|        assert(self->tp_bases == NULL);
  ------------------
  |  Branch (611:9): [True: 416, False: 0]
  ------------------
  612|    416|        if (PyTuple_GET_SIZE(bases) == 0) {
  ------------------
  |  |   27|    416|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    416|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    416|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (612:13): [True: 2, False: 414]
  ------------------
  613|      2|            assert(self->tp_base == NULL);
  ------------------
  |  Branch (613:13): [True: 2, False: 0]
  ------------------
  614|      2|        }
  615|    414|        else {
  616|    414|            assert(PyTuple_GET_SIZE(bases) == 1);
  ------------------
  |  Branch (616:13): [True: 414, False: 0]
  ------------------
  617|    414|            assert(PyTuple_GET_ITEM(bases, 0) == (PyObject *)self->tp_base);
  ------------------
  |  Branch (617:13): [True: 414, False: 0]
  |  Branch (617:13): [True: 414, False: 0]
  ------------------
  618|    414|            assert(self->tp_base->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN);
  ------------------
  |  Branch (618:13): [True: 414, False: 0]
  ------------------
  619|    414|            assert(_Py_IsImmortal(self->tp_base));
  ------------------
  |  Branch (619:13): [True: 414, False: 0]
  ------------------
  620|    414|        }
  621|    416|        _Py_SetImmortal(bases);
  622|    416|    }
  623|    914|    self->tp_bases = bases;
  624|    914|}
typeobject.c:_PyHeapType_GET_MEMBERS:
 2550|    711|{
 2551|    711|    return PyObject_GetItemData((PyObject *)type);
 2552|    711|}
typeobject.c:subtype_dealloc:
 2690|    803|{
 2691|    803|    PyTypeObject *type, *base;
 2692|    803|    destructor basedealloc;
 2693|    803|    int has_finalizer;
 2694|       |
 2695|       |    /* Extract the type; we expect it to be a heap type */
 2696|    803|    type = Py_TYPE(self);
  ------------------
  |  |  213|    803|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    803|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    803|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2697|    803|    _PyObject_ASSERT((PyObject *)type, type->tp_flags & Py_TPFLAGS_HEAPTYPE);
  ------------------
  |  |  425|    803|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  423|    803|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  416|    803|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (416:6): [True: 803, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  417|    803|      ? (void)(0) \
  |  |  |  |  |  |  418|    803|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2698|       |
 2699|       |    /* Test whether the type has GC exactly once */
 2700|       |
 2701|    803|    if (!_PyType_IS_GC(type)) {
  ------------------
  |  |  820|    803|#define _PyType_IS_GC(t) _PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
  |  |  ------------------
  |  |  |  |  524|    803|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  |  |  ------------------
  ------------------
  |  Branch (2701:9): [True: 0, False: 803]
  ------------------
 2702|       |        /* A non GC dynamic type allows certain simplifications:
 2703|       |           there's no need to call clear_slots(), or DECREF the dict,
 2704|       |           or clear weakrefs. */
 2705|       |
 2706|       |        /* Maybe call finalizer; exit early if resurrected */
 2707|      0|        if (type->tp_finalize) {
  ------------------
  |  Branch (2707:13): [True: 0, False: 0]
  ------------------
 2708|      0|            if (PyObject_CallFinalizerFromDealloc(self) < 0)
  ------------------
  |  Branch (2708:17): [True: 0, False: 0]
  ------------------
 2709|      0|                return;
 2710|      0|        }
 2711|      0|        if (type->tp_del) {
  ------------------
  |  Branch (2711:13): [True: 0, False: 0]
  ------------------
 2712|      0|            type->tp_del(self);
 2713|      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 (2713:17): [True: 0, False: 0]
  ------------------
 2714|      0|                return;
 2715|      0|            }
 2716|      0|        }
 2717|       |
 2718|       |        /* Find the nearest base with a different tp_dealloc */
 2719|      0|        base = type;
 2720|      0|        while ((basedealloc = base->tp_dealloc) == subtype_dealloc) {
  ------------------
  |  Branch (2720:16): [True: 0, False: 0]
  ------------------
 2721|      0|            base = base->tp_base;
 2722|      0|            assert(base);
  ------------------
  |  Branch (2722:13): [True: 0, False: 0]
  ------------------
 2723|      0|        }
 2724|       |
 2725|       |        /* Extract the type again; tp_del may have changed it */
 2726|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2727|       |
 2728|       |        // Don't read type memory after calling basedealloc() since basedealloc()
 2729|       |        // can deallocate the type and free its memory.
 2730|      0|        int type_needs_decref = (type->tp_flags & Py_TPFLAGS_HEAPTYPE
  ------------------
  |  |  503|      0|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (2730:34): [True: 0, False: 0]
  ------------------
 2731|      0|                                 && !(base->tp_flags & Py_TPFLAGS_HEAPTYPE));
  ------------------
  |  |  503|      0|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (2731:37): [True: 0, False: 0]
  ------------------
 2732|       |
 2733|      0|        assert((type->tp_flags & Py_TPFLAGS_MANAGED_DICT) == 0);
  ------------------
  |  Branch (2733:9): [True: 0, False: 0]
  ------------------
 2734|       |
 2735|       |        /* Call the base tp_dealloc() */
 2736|      0|        assert(basedealloc);
  ------------------
  |  Branch (2736:9): [True: 0, False: 0]
  ------------------
 2737|      0|        basedealloc(self);
 2738|       |
 2739|       |        /* Can't reference self beyond this point. It's possible tp_del switched
 2740|       |           our type from a HEAPTYPE to a non-HEAPTYPE, so be careful about
 2741|       |           reference counting. Only decref if the base type is not already a heap
 2742|       |           allocated type. Otherwise, basedealloc should have decref'd it already */
 2743|      0|        if (type_needs_decref) {
  ------------------
  |  Branch (2743:13): [True: 0, False: 0]
  ------------------
 2744|      0|            _Py_DECREF_TYPE(type);
  ------------------
  |  |  308|      0|#  define _Py_DECREF_TYPE Py_DECREF
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2745|      0|        }
 2746|       |
 2747|       |        /* Done */
 2748|      0|        return;
 2749|      0|    }
 2750|       |
 2751|       |    /* We get here only if the type has GC */
 2752|       |
 2753|       |    /* UnTrack and re-Track around the trashcan macro, alas */
 2754|       |    /* See explanation at end of function for full disclosure */
 2755|    803|    PyObject_GC_UnTrack(self);
 2756|       |
 2757|       |    /* Find the nearest base with a different tp_dealloc */
 2758|    803|    base = type;
 2759|  1.66k|    while ((/*basedealloc =*/ base->tp_dealloc) == subtype_dealloc) {
  ------------------
  |  Branch (2759:12): [True: 863, False: 803]
  ------------------
 2760|    863|        base = base->tp_base;
 2761|    863|        assert(base);
  ------------------
  |  Branch (2761:9): [True: 863, False: 0]
  ------------------
 2762|    863|    }
 2763|       |
 2764|    803|    has_finalizer = type->tp_finalize || type->tp_del;
  ------------------
  |  Branch (2764:21): [True: 0, False: 803]
  |  Branch (2764:42): [True: 0, False: 803]
  ------------------
 2765|       |
 2766|    803|    if (type->tp_finalize) {
  ------------------
  |  Branch (2766:9): [True: 0, False: 803]
  ------------------
 2767|      0|        _PyObject_GC_TRACK(self);
  ------------------
  |  |  505|      0|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2768|      0|        if (PyObject_CallFinalizerFromDealloc(self) < 0) {
  ------------------
  |  Branch (2768:13): [True: 0, False: 0]
  ------------------
 2769|       |            /* Resurrected */
 2770|      0|            return;
 2771|      0|        }
 2772|      0|        _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  507|      0|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2773|      0|    }
 2774|       |    /*
 2775|       |      If we added a weaklist, we clear it. Do this *before* calling tp_del,
 2776|       |      clearing slots, or clearing the instance dict.
 2777|       |
 2778|       |      GC tracking must be off at this point. weakref callbacks (if any, and
 2779|       |      whether directly here or indirectly in something we call) may trigger GC,
 2780|       |      and if self is tracked at that point, it will look like trash to GC and GC
 2781|       |      will try to delete self again.
 2782|       |    */
 2783|    803|    if (type->tp_weaklistoffset && !base->tp_weaklistoffset) {
  ------------------
  |  Branch (2783:9): [True: 681, False: 122]
  |  Branch (2783:36): [True: 681, False: 0]
  ------------------
 2784|    681|        PyObject_ClearWeakRefs(self);
 2785|    681|    }
 2786|       |
 2787|    803|    if (type->tp_del) {
  ------------------
  |  Branch (2787:9): [True: 0, False: 803]
  ------------------
 2788|      0|        _PyObject_GC_TRACK(self);
  ------------------
  |  |  505|      0|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2789|      0|        type->tp_del(self);
 2790|      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 (2790:13): [True: 0, False: 0]
  ------------------
 2791|       |            /* Resurrected */
 2792|      0|            return;
 2793|      0|        }
 2794|      0|        _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  507|      0|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2795|      0|    }
 2796|    803|    if (has_finalizer) {
  ------------------
  |  Branch (2796:9): [True: 0, False: 803]
  ------------------
 2797|       |        /* New weakrefs could be created during the finalizer call.
 2798|       |           If this occurs, clear them out without calling their
 2799|       |           finalizers since they might rely on part of the object
 2800|       |           being finalized that has already been destroyed. */
 2801|      0|        if (type->tp_weaklistoffset && !base->tp_weaklistoffset) {
  ------------------
  |  Branch (2801:13): [True: 0, False: 0]
  |  Branch (2801:40): [True: 0, False: 0]
  ------------------
 2802|      0|            _PyWeakref_ClearWeakRefsNoCallbacks(self);
 2803|      0|        }
 2804|      0|    }
 2805|       |
 2806|       |    /*  Clear slots up to the nearest base with a different tp_dealloc */
 2807|    803|    base = type;
 2808|  1.66k|    while ((basedealloc = base->tp_dealloc) == subtype_dealloc) {
  ------------------
  |  Branch (2808:12): [True: 863, False: 803]
  ------------------
 2809|    863|        if (Py_SIZE(base))
  ------------------
  |  |  214|    863|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    863|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    863|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (214:23): [True: 114, False: 749]
  |  |  ------------------
  ------------------
 2810|    114|            clear_slots(base, self);
 2811|    863|        base = base->tp_base;
 2812|    863|        assert(base);
  ------------------
  |  Branch (2812:9): [True: 863, False: 0]
  ------------------
 2813|    863|    }
 2814|       |
 2815|       |    /* If we added a dict, DECREF it, or free inline values. */
 2816|    803|    if (type->tp_flags & Py_TPFLAGS_MANAGED_DICT) {
  ------------------
  |  |  482|    803|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (2816:9): [True: 523, False: 280]
  ------------------
 2817|    523|        PyObject_ClearManagedDict(self);
 2818|    523|    }
 2819|    280|    else if (type->tp_dictoffset && !base->tp_dictoffset) {
  ------------------
  |  Branch (2819:14): [True: 53, False: 227]
  |  Branch (2819:37): [True: 0, False: 53]
  ------------------
 2820|      0|        PyObject **dictptr = _PyObject_ComputedDictPointer(self);
 2821|      0|        if (dictptr != NULL) {
  ------------------
  |  Branch (2821:13): [True: 0, False: 0]
  ------------------
 2822|      0|            PyObject *dict = *dictptr;
 2823|      0|            if (dict != NULL) {
  ------------------
  |  Branch (2823:17): [True: 0, False: 0]
  ------------------
 2824|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2825|      0|                *dictptr = NULL;
 2826|      0|            }
 2827|      0|        }
 2828|      0|    }
 2829|       |
 2830|       |    /* Extract the type again; tp_del may have changed it */
 2831|    803|    type = Py_TYPE(self);
  ------------------
  |  |  213|    803|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    803|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    803|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2832|       |
 2833|       |    /* Call the base tp_dealloc(); first retrack self if
 2834|       |     * basedealloc knows about gc.
 2835|       |     */
 2836|    803|    if (_PyType_IS_GC(base)) {
  ------------------
  |  |  820|    803|#define _PyType_IS_GC(t) _PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
  |  |  ------------------
  |  |  |  |  524|    803|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  |  |  ------------------
  |  |  |  Branch (820:26): [True: 284, False: 519]
  |  |  ------------------
  ------------------
 2837|    284|        _PyObject_GC_TRACK(self);
  ------------------
  |  |  505|    284|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    284|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    284|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2838|    284|    }
 2839|       |
 2840|       |    // Don't read type memory after calling basedealloc() since basedealloc()
 2841|       |    // can deallocate the type and free its memory.
 2842|    803|    int type_needs_decref = (type->tp_flags & Py_TPFLAGS_HEAPTYPE
  ------------------
  |  |  503|  1.60k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (2842:30): [True: 803, False: 0]
  ------------------
 2843|    803|                             && !(base->tp_flags & Py_TPFLAGS_HEAPTYPE));
  ------------------
  |  |  503|    803|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (2843:33): [True: 761, False: 42]
  ------------------
 2844|       |
 2845|    803|    assert(basedealloc);
  ------------------
  |  Branch (2845:5): [True: 803, False: 0]
  ------------------
 2846|    803|    basedealloc(self);
 2847|       |
 2848|       |    /* Can't reference self beyond this point. It's possible tp_del switched
 2849|       |       our type from a HEAPTYPE to a non-HEAPTYPE, so be careful about
 2850|       |       reference counting. Only decref if the base type is not already a heap
 2851|       |       allocated type. Otherwise, basedealloc should have decref'd it already */
 2852|    803|    if (type_needs_decref) {
  ------------------
  |  Branch (2852:9): [True: 761, False: 42]
  ------------------
 2853|    761|        _Py_DECREF_TYPE(type);
  ------------------
  |  |  308|    761|#  define _Py_DECREF_TYPE Py_DECREF
  |  |  ------------------
  |  |  |  |  430|    761|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    761|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    761|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2854|    761|    }
 2855|    803|}
typeobject.c:clear_slots:
 2631|    114|{
 2632|    114|    Py_ssize_t i, n;
 2633|    114|    PyMemberDef *mp;
 2634|       |
 2635|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2636|    114|    mp = _PyHeapType_GET_MEMBERS((PyHeapTypeObject *)type);
 2637|    236|    for (i = 0; i < n; i++, mp++) {
  ------------------
  |  Branch (2637:17): [True: 122, False: 114]
  ------------------
 2638|    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 (2638:13): [True: 122, False: 0]
  |  Branch (2638:43): [True: 122, False: 0]
  ------------------
 2639|    122|            void *addr = _PyMember_GetOffset(self, mp);
 2640|    122|            PyObject *obj = *(PyObject **)addr;
 2641|    122|            if (obj != NULL) {
  ------------------
  |  Branch (2641:17): [True: 122, False: 0]
  ------------------
 2642|    122|                *(PyObject **)addr = NULL;
 2643|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2644|    122|            }
 2645|    122|        }
 2646|    122|    }
 2647|    114|}
typeobject.c:type_ready_publish:
 9510|    498|{
 9511|    498|    int res;
 9512|    498|    BEGIN_TYPE_LOCK();
 9513|    498|    res = type_ready(type, 1, 0);
 9514|    498|    if (res == 0) {
  ------------------
  |  Branch (9514:9): [True: 498, False: 0]
  ------------------
 9515|    498|        assert(!(type->tp_flags & Py_TPFLAGS_READY));
  ------------------
  |  Branch (9515:9): [True: 498, False: 0]
  ------------------
 9516|    498|        assert(!is_readying(type));
  ------------------
  |  Branch (9516:9): [True: 498, False: 0]
  ------------------
 9517|       |
 9518|    498|        if (fix_slots) {
  ------------------
  |  Branch (9518:13): [True: 376, False: 122]
  ------------------
 9519|       |            // Put the proper slots in place and only then publish the type as
 9520|       |            // a subclass of its bases.  Since the type is not reachable by
 9521|       |            // other threads before it is published, the slots can be updated
 9522|       |            // without stopping the world.  This step is skipped for
 9523|       |            // type_from_slots_or_spec().
 9524|    376|            fixup_slot_dispatchers(type);
 9525|    376|        }
 9526|       |
 9527|       |        // Set the ready flag before revealing the type since type_add_flags()
 9528|       |        // may only be used on types that are not yet revealed.
 9529|    498|        type_add_flags(type, Py_TPFLAGS_READY);
  ------------------
  |  |  518|    498|#define Py_TPFLAGS_READY (1UL << 12)
  ------------------
 9530|       |
 9531|       |#if defined(Py_GIL_DISABLED) && defined(Py_DEBUG) && SIZEOF_VOID_P > 4
 9532|       |        // Mark the type as revealed while still holding the type lock.
 9533|       |        // Threads can only find the type through the subclasses of its bases,
 9534|       |        // which is done below with the lock held.  So, they cannot see the
 9535|       |        // type before the flag is set.
 9536|       |        ((PyObject*)type)->ob_flags |= _Py_TYPE_REVEALED_FLAG;
 9537|       |#endif
 9538|       |
 9539|    498|        res = type_ready_add_subclasses(type);
 9540|    498|        if (res == 0) {
  ------------------
  |  Branch (9540:13): [True: 498, False: 0]
  ------------------
 9541|    498|            assert(_PyType_CheckConsistency(type));
  ------------------
  |  Branch (9541:13): [True: 498, False: 0]
  ------------------
 9542|    498|        }
 9543|    498|    }
 9544|    498|    END_TYPE_LOCK();
 9545|    498|    return res;
 9546|    498|}
typeobject.c:fixup_slot_dispatchers:
12072|    376|{
12073|    376|    ASSERT_TYPE_LOCK_HELD();
12074|    376|    ASSERT_WORLD_STOPPED_OR_NEW_TYPE(type);
12075|    376|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (12075:5): [True: 376, False: 0]
  ------------------
12076|  25.5k|    for (pytype_slotdef *p = slotdefs; p->name; ) {
  ------------------
  |  Branch (12076:40): [True: 25.1k, False: 376]
  ------------------
12077|  25.1k|        int rv = update_one_slot(type, p, &p, NULL);
12078|       |        // always returns 0 if queued_updates == NULL
12079|  25.1k|        assert (rv == 0);
  ------------------
  |  Branch (12079:9): [True: 25.1k, False: 0]
  ------------------
12080|  25.1k|        (void)rv;
12081|  25.1k|    }
12082|    376|}
typeobject.c:update_one_slot:
11847|  25.2k|{
11848|  25.2k|    ASSERT_NEW_TYPE_OR_LOCKED(type);
11849|       |
11850|  25.2k|    PyObject *descr;
11851|  25.2k|    PyWrapperDescrObject *d;
11852|       |
11853|       |    // The correct specialized C function, like "tp_repr of str" in the
11854|       |    // example above
11855|  25.2k|    void *specific = NULL;
11856|       |
11857|       |    // A generic wrapper that uses method lookup (safe but slow)
11858|  25.2k|    void *generic = NULL;
11859|       |
11860|       |    // Set to 1 if the generic wrapper is necessary
11861|  25.2k|    int use_generic = 0;
11862|       |
11863|  25.2k|    int offset = p->offset;
11864|  25.2k|    void **ptr = slotptr(type, offset);
11865|       |
11866|  25.2k|    if (ptr == NULL) {
  ------------------
  |  Branch (11866:9): [True: 0, False: 25.2k]
  ------------------
11867|      0|        do {
11868|      0|            ++p;
11869|      0|        } while (p->offset == offset);
  ------------------
  |  Branch (11869:18): [True: 0, False: 0]
  ------------------
11870|      0|        if (next_p != NULL) {
  ------------------
  |  Branch (11870:13): [True: 0, False: 0]
  ------------------
11871|      0|            *next_p = p;
11872|      0|        }
11873|      0|        return 0;
11874|      0|    }
11875|       |    /* We may end up clearing live exceptions below, so make sure it's ours. */
11876|  25.2k|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (11876:5): [True: 25.2k, False: 0]
  ------------------
11877|  35.3k|    do {
11878|       |        /* Use faster uncached lookup as we won't get any cache hits during type setup. */
11879|  35.3k|        _PyStackRef descr_ref;
11880|  35.3k|        int res = find_name_in_mro(type, p->name_strobj, &descr_ref);
11881|  35.3k|        if (res <= 0) {
  ------------------
  |  Branch (11881:13): [True: 28.0k, False: 7.33k]
  ------------------
11882|  28.0k|            if (ptr == (void**)&type->tp_iternext) {
  ------------------
  |  Branch (11882:17): [True: 359, False: 27.6k]
  ------------------
11883|    359|                specific = (void *)_PyObject_NextNotImplemented;
11884|    359|            }
11885|  28.0k|            continue;
11886|  28.0k|        }
11887|  7.33k|        descr = PyStackRef_AsPyObjectBorrow(descr_ref);
11888|  7.33k|        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.33k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.33k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 6.07k, False: 1.26k]
  |  |  ------------------
  ------------------
11889|  6.07k|            ((PyWrapperDescrObject *)descr)->d_base->name_strobj == p->name_strobj) {
  ------------------
  |  Branch (11889:13): [True: 6.07k, False: 2]
  ------------------
11890|  6.07k|            void **tptr;
11891|  6.07k|            size_t index = (p - slotdefs);
11892|  6.07k|            if (slotdefs_dups[index][0] > 1) {
  ------------------
  |  Branch (11892:17): [True: 2.40k, False: 3.67k]
  ------------------
11893|  2.40k|                tptr = NULL;
11894|  7.16k|                for (size_t i = 1; i <= slotdefs_dups[index][0]; i++) {
  ------------------
  |  Branch (11894:36): [True: 4.80k, False: 2.35k]
  ------------------
11895|  4.80k|                    pytype_slotdef *q = &slotdefs[slotdefs_dups[index][i]];
11896|  4.80k|                    void **qptr = slotptr(type, q->offset);
11897|  4.80k|                    if (qptr == NULL || *qptr == NULL)
  ------------------
  |  Branch (11897:25): [True: 0, False: 4.80k]
  |  Branch (11897:41): [True: 2.35k, False: 2.45k]
  ------------------
11898|  2.35k|                        continue;
11899|  2.45k|                    if (tptr != NULL) {
  ------------------
  |  Branch (11899:25): [True: 46, False: 2.40k]
  ------------------
11900|     46|                        tptr = NULL;
11901|     46|                        break;
11902|     46|                    }
11903|  2.40k|                    tptr = qptr;
11904|  2.40k|                }
11905|  2.40k|            }
11906|  3.67k|            else {
11907|  3.67k|                tptr = slotptr(type, offset);
11908|  3.67k|            }
11909|       |
11910|  6.07k|            if (tptr == NULL || tptr == ptr)
  ------------------
  |  Branch (11910:17): [True: 46, False: 6.02k]
  |  Branch (11910:33): [True: 4.84k, False: 1.18k]
  ------------------
11911|  4.89k|                generic = p->function;
11912|  6.07k|            d = (PyWrapperDescrObject *)descr;
11913|  6.07k|            if ((specific == NULL || specific == d->d_wrapped) &&
  ------------------
  |  Branch (11913:18): [True: 3.81k, False: 2.25k]
  |  Branch (11913:38): [True: 2.25k, False: 1]
  ------------------
11914|  6.07k|                d->d_base->wrapper == p->wrapper &&
  ------------------
  |  Branch (11914:17): [True: 4.88k, False: 1.18k]
  ------------------
11915|  4.88k|                is_subtype_with_mro(lookup_tp_mro(type), type, PyDescr_TYPE(d)))
  ------------------
  |  |   35|  4.88k|#define PyDescr_TYPE(x) (((PyDescrObject *)(x))->d_type)
  ------------------
  |  Branch (11915:17): [True: 4.88k, False: 0]
  ------------------
11916|  4.88k|            {
11917|  4.88k|                specific = d->d_wrapped;
11918|  4.88k|            }
11919|  1.18k|            else {
11920|       |                /* We cannot use the specific slot function because either
11921|       |                   - it is not unique: there are multiple methods for this
11922|       |                     slot and they conflict
11923|       |                   - the signature is wrong (as checked by the ->wrapper
11924|       |                     comparison above)
11925|       |                   - it's wrapping the wrong class
11926|       |                 */
11927|  1.18k|                use_generic = 1;
11928|  1.18k|            }
11929|  6.07k|        }
11930|  1.26k|        else if (Py_IS_TYPE(descr, &PyCFunction_Type) &&
  ------------------
  |  |  215|  2.52k|#  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: 915]
  |  |  ------------------
  ------------------
11931|    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 (11931:18): [True: 348, False: 0]
  ------------------
11932|  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11933|    348|                 ptr == (void**)&type->tp_new)
  ------------------
  |  Branch (11933:18): [True: 348, False: 0]
  ------------------
11934|    348|        {
11935|       |            /* The __new__ wrapper is not a wrapper descriptor,
11936|       |               so must be special-cased differently.
11937|       |               If we don't do this, creating an instance will
11938|       |               always use slot_tp_new which will look up
11939|       |               __new__ in the MRO which will call tp_new_wrapper
11940|       |               which will look through the base classes looking
11941|       |               for a static base and call its tp_new (usually
11942|       |               PyType_GenericNew), after performing various
11943|       |               sanity checks and constructing a new argument
11944|       |               list.  Cut all that nonsense short -- this speeds
11945|       |               up instance creation tremendously. */
11946|    348|            specific = (void *)type->tp_new;
11947|       |            /* XXX I'm not 100% sure that there isn't a hole
11948|       |               in this reasoning that requires additional
11949|       |               sanity checks.  I'll buy the first person to
11950|       |               point out a bug in this reasoning a beer. */
11951|    348|        }
11952|    915|        else if (descr == Py_None &&
  ------------------
  |  |  616|  1.83k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (11952:18): [True: 26, False: 889]
  ------------------
11953|     26|                 ptr == (void**)&type->tp_hash) {
  ------------------
  |  Branch (11953:18): [True: 26, False: 0]
  ------------------
11954|       |            /* We specifically allow __hash__ to be set to None
11955|       |               to prevent inheritance of the default
11956|       |               implementation from object.__hash__ */
11957|     26|            specific = (void *)PyObject_HashNotImplemented;
11958|     26|        }
11959|    889|        else {
11960|    889|            use_generic = 1;
11961|    889|            if (generic == NULL && Py_IS_TYPE(descr, &PyMethodDescr_Type) &&
  ------------------
  |  |  215|  1.60k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    715|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    715|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 13, False: 702]
  |  |  ------------------
  ------------------
  |  Branch (11961:17): [True: 715, False: 174]
  ------------------
11962|     13|                *ptr == ((PyMethodDescrObject *)descr)->d_method->ml_meth)
  ------------------
  |  Branch (11962:17): [True: 5, False: 8]
  ------------------
11963|      5|            {
11964|      5|                generic = *ptr;
11965|      5|            }
11966|    884|            else {
11967|    884|                generic = p->function;
11968|    884|            }
11969|    889|            if (p->function == slot_tp_call) {
  ------------------
  |  Branch (11969:17): [True: 16, False: 873]
  ------------------
11970|       |                /* A generic __call__ is incompatible with vectorcall */
11971|     16|                if (queued_updates == NULL) {
  ------------------
  |  Branch (11971:21): [True: 16, False: 0]
  ------------------
11972|     16|                    type_clear_flags(type, Py_TPFLAGS_HAVE_VECTORCALL);
  ------------------
  |  |  510|     16|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
11973|     16|                }
11974|     16|            }
11975|    889|        }
11976|  7.33k|        PyStackRef_CLOSE(descr_ref);
11977|  35.3k|    } while ((++p)->offset == offset);
  ------------------
  |  Branch (11977:14): [True: 10.1k, False: 25.2k]
  ------------------
11978|       |
11979|  25.2k|    void *slot_value;
11980|  25.2k|    if (specific && !use_generic) {
  ------------------
  |  Branch (11980:9): [True: 3.36k, False: 21.8k]
  |  Branch (11980:21): [True: 3.31k, False: 54]
  ------------------
11981|  3.31k|        slot_value = specific;
11982|  21.9k|    } else {
11983|  21.9k|        slot_value = generic;
11984|  21.9k|    }
11985|       |
11986|       |#ifdef Py_GIL_DISABLED
11987|       |    if (queued_updates != NULL) {
11988|       |        // queue the update to perform later, while world is stopped
11989|       |        if (queue_slot_update(queued_updates, type, ptr, slot_value) < 0) {
11990|       |            return -1;
11991|       |        }
11992|       |    } else {
11993|       |        // do the update to the type structure now
11994|       |        *ptr = slot_value;
11995|       |    }
11996|       |#else
11997|       |    // always do the update immediately
11998|  25.2k|    assert(queued_updates == NULL);
  ------------------
  |  Branch (11998:5): [True: 25.2k, False: 0]
  ------------------
11999|  25.2k|    *ptr = slot_value;
12000|  25.2k|#endif
12001|       |
12002|  25.2k|    if (next_p != NULL) {
  ------------------
  |  Branch (12002:9): [True: 25.1k, False: 24]
  ------------------
12003|  25.1k|        *next_p = p;
12004|  25.1k|    }
12005|  25.2k|    return 0;
12006|  25.2k|}
typeobject.c:slotptr:
11734|   116k|{
11735|   116k|    char *ptr;
11736|   116k|    long offset = ioffset;
11737|       |
11738|       |    /* Note: this depends on the order of the members of PyHeapTypeObject! */
11739|   116k|    assert(offset >= 0);
  ------------------
  |  Branch (11739:5): [True: 116k, False: 0]
  ------------------
11740|   116k|    assert((size_t)offset < offsetof(PyHeapTypeObject, ht_name));
  ------------------
  |  Branch (11740:5): [True: 116k, False: 0]
  ------------------
11741|   116k|    if ((size_t)offset >= offsetof(PyHeapTypeObject, as_buffer)) {
  ------------------
  |  Branch (11741:9): [True: 2.59k, False: 113k]
  ------------------
11742|  2.59k|        ptr = (char *)type->tp_as_buffer;
11743|  2.59k|        offset -= offsetof(PyHeapTypeObject, as_buffer);
11744|  2.59k|    }
11745|   113k|    else if ((size_t)offset >= offsetof(PyHeapTypeObject, as_sequence)) {
  ------------------
  |  Branch (11745:14): [True: 12.4k, False: 101k]
  ------------------
11746|  12.4k|        ptr = (char *)type->tp_as_sequence;
11747|  12.4k|        offset -= offsetof(PyHeapTypeObject, as_sequence);
11748|  12.4k|    }
11749|   101k|    else if ((size_t)offset >= offsetof(PyHeapTypeObject, as_mapping)) {
  ------------------
  |  Branch (11749:14): [True: 4.94k, False: 96.4k]
  ------------------
11750|  4.94k|        ptr = (char *)type->tp_as_mapping;
11751|  4.94k|        offset -= offsetof(PyHeapTypeObject, as_mapping);
11752|  4.94k|    }
11753|  96.4k|    else if ((size_t)offset >= offsetof(PyHeapTypeObject, as_number)) {
  ------------------
  |  Branch (11753:14): [True: 58.7k, False: 37.6k]
  ------------------
11754|  58.7k|        ptr = (char *)type->tp_as_number;
11755|  58.7k|        offset -= offsetof(PyHeapTypeObject, as_number);
11756|  58.7k|    }
11757|  37.6k|    else if ((size_t)offset >= offsetof(PyHeapTypeObject, as_async)) {
  ------------------
  |  Branch (11757:14): [True: 3.88k, False: 33.7k]
  ------------------
11758|  3.88k|        ptr = (char *)type->tp_as_async;
11759|  3.88k|        offset -= offsetof(PyHeapTypeObject, as_async);
11760|  3.88k|    }
11761|  33.7k|    else {
11762|  33.7k|        ptr = (char *)type;
11763|  33.7k|    }
11764|   116k|    if (ptr != NULL)
  ------------------
  |  Branch (11764:9): [True: 90.8k, False: 25.5k]
  ------------------
11765|  90.8k|        ptr += offset;
11766|   116k|    return (void **)ptr;
11767|   116k|}
typeobject.c:tp_new_wrapper:
10352|    348|{
10353|    348|    PyTypeObject *staticbase;
10354|    348|    PyObject *arg0, *res;
10355|       |
10356|    348|    if (self == NULL || !PyType_Check(self)) {
  ------------------
  |  |  766|    348|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    348|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    348|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10356:9): [True: 0, False: 348]
  |  Branch (10356:25): [True: 0, False: 348]
  ------------------
10357|      0|        PyErr_Format(PyExc_SystemError,
10358|      0|                     "__new__() called with non-type 'self'");
10359|      0|        return NULL;
10360|      0|    }
10361|    348|    PyTypeObject *type = (PyTypeObject *)self;
10362|       |
10363|    348|    if (nargs < 1) {
  ------------------
  |  Branch (10363:9): [True: 0, False: 348]
  ------------------
10364|      0|        PyErr_Format(PyExc_TypeError,
10365|      0|                     "%s.__new__(): not enough arguments",
10366|      0|                     type->tp_name);
10367|      0|        return NULL;
10368|      0|    }
10369|    348|    arg0 = args[0];
10370|    348|    if (!PyType_Check(arg0)) {
  ------------------
  |  |  766|    348|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    348|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    348|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10370:9): [True: 0, False: 348]
  ------------------
10371|      0|        PyErr_Format(PyExc_TypeError,
10372|      0|                     "%s.__new__(X): X is not a type object (%s)",
10373|      0|                     type->tp_name,
10374|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10375|      0|        return NULL;
10376|      0|    }
10377|    348|    PyTypeObject *subtype = (PyTypeObject *)arg0;
10378|       |
10379|    348|    if (!PyType_IsSubtype(subtype, type)) {
  ------------------
  |  Branch (10379:9): [True: 0, False: 348]
  ------------------
10380|      0|        PyErr_Format(PyExc_TypeError,
10381|      0|                     "%s.__new__(%s): %s is not a subtype of %s",
10382|      0|                     type->tp_name,
10383|      0|                     subtype->tp_name,
10384|      0|                     subtype->tp_name,
10385|      0|                     type->tp_name);
10386|      0|        return NULL;
10387|      0|    }
10388|       |
10389|       |    /* Check that the use doesn't do something silly and unsafe like
10390|       |       object.__new__(dict).  To do this, we check that the
10391|       |       most derived base that's not a heap type is this type. */
10392|    348|    staticbase = subtype;
10393|    717|    while (staticbase && (staticbase->tp_new == slot_tp_new))
  ------------------
  |  Branch (10393:12): [True: 717, False: 0]
  |  Branch (10393:26): [True: 369, False: 348]
  ------------------
10394|    369|        staticbase = staticbase->tp_base;
10395|       |    /* If staticbase is NULL now, it is a really weird type.
10396|       |       In the spirit of backwards compatibility (?), just shut up. */
10397|    348|    if (staticbase && staticbase->tp_new != type->tp_new) {
  ------------------
  |  Branch (10397:9): [True: 348, False: 0]
  |  Branch (10397:23): [True: 0, False: 348]
  ------------------
10398|      0|        if (staticbase->tp_new == NULL) {
  ------------------
  |  Branch (10398:13): [True: 0, False: 0]
  ------------------
10399|      0|            PyErr_Format(PyExc_TypeError,
10400|      0|                         "cannot create '%s' instances", subtype->tp_name);
10401|      0|            return NULL;
10402|      0|        }
10403|      0|        PyErr_Format(PyExc_TypeError,
10404|      0|                     "%s.__new__(%s) is not safe, use %s.__new__()",
10405|      0|                     type->tp_name,
10406|      0|                     subtype->tp_name,
10407|      0|                     staticbase->tp_name);
10408|      0|        return NULL;
10409|      0|    }
10410|       |
10411|    348|    PyObject *args_tuple = PyTuple_FromArray(args + 1, nargs - 1);
10412|    348|    if (args_tuple == NULL) {
  ------------------
  |  Branch (10412:9): [True: 0, False: 348]
  ------------------
10413|      0|        return NULL;
10414|      0|    }
10415|    348|    PyObject *kwds = NULL;
10416|    348|    if (kwnames != NULL) {
  ------------------
  |  Branch (10416:9): [True: 0, False: 348]
  ------------------
10417|      0|        kwds = _PyStack_AsDict(args + nargs, kwnames);
10418|      0|        if (kwds == NULL) {
  ------------------
  |  Branch (10418:13): [True: 0, False: 0]
  ------------------
10419|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10420|      0|            return NULL;
10421|      0|        }
10422|      0|    }
10423|    348|    res = type->tp_new(subtype, args_tuple, kwds);
10424|    348|    Py_DECREF(args_tuple);
  ------------------
  |  |  430|    348|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    348|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    348|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10425|    348|    Py_XDECREF(kwds);
  ------------------
  |  |  524|    348|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    348|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    348|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10426|    348|    return res;
10427|    348|}
typeobject.c:slot_tp_new:
11136|    321|{
11137|    321|    PyThreadState *tstate = _PyThreadState_GET();
11138|    321|    PyObject *result;
11139|       |
11140|    321|    _PyCStackRef func_ref;
11141|    321|    _PyThreadState_PushCStackRef(tstate, &func_ref);
11142|    321|    func_ref.ref = _PyObject_GetAttrStackRef((PyObject *)type, &_Py_ID(__new__));
  ------------------
  |  |  936|    321|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    321|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    321|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11143|    321|    if (PyStackRef_IsNull(func_ref.ref)) {
  ------------------
  |  |  482|    321|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|    321|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    321|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 0, False: 321]
  |  |  ------------------
  ------------------
11144|      0|        _PyThreadState_PopCStackRef(tstate, &func_ref);
11145|      0|        return NULL;
11146|      0|    }
11147|       |
11148|    321|    PyObject *func = PyStackRef_AsPyObjectBorrow(func_ref.ref);
11149|    321|    result = _PyObject_Call_Prepend(tstate, func, (PyObject *)type, args, kwds);
11150|    321|    _PyThreadState_PopCStackRef(tstate, &func_ref);
11151|    321|    return result;
11152|    321|}
typeobject.c:slot_tp_call:
10881|      2|{
10882|      2|    return call_method(self, &_Py_ID(__call__), args, kwds);
  ------------------
  |  |  936|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10883|      2|}
typeobject.c:call_method:
 3066|    311|{
 3067|    311|    PyThreadState *tstate = _PyThreadState_GET();
 3068|    311|    _PyCStackRef cref;
 3069|    311|    _PyThreadState_PushCStackRef(tstate, &cref);
 3070|    311|    PyObject *res = NULL;
 3071|    311|    int unbound = lookup_method(self, attr, &cref.ref);
 3072|    311|    if (unbound >= 0) {
  ------------------
  |  Branch (3072:9): [True: 311, False: 0]
  ------------------
 3073|    311|        PyObject *meth = PyStackRef_AsPyObjectBorrow(cref.ref);
 3074|    311|        if (unbound) {
  ------------------
  |  Branch (3074:13): [True: 311, False: 0]
  ------------------
 3075|    311|            res = _PyObject_Call_Prepend(tstate, meth, self, args, kwds);
 3076|    311|        }
 3077|      0|        else {
 3078|      0|            res = _PyObject_Call(tstate, meth, args, kwds);
 3079|      0|        }
 3080|    311|    }
 3081|    311|    _PyThreadState_PopCStackRef(tstate, &cref);
 3082|    311|    return res;
 3083|    311|}
typeobject.c:lookup_method:
 3015|    640|{
 3016|    640|    return lookup_method_ex(self, attr, out, 1);
 3017|    640|}
typeobject.c:type_clear_flags:
  480|    537|{
  481|    537|    type_set_flags(tp, tp->tp_flags & ~flag);
  482|    537|}
typeobject.c:type_ready_add_subclasses:
 9291|    914|{
 9292|    914|    PyObject *bases = lookup_tp_bases(type);
 9293|    914|    Py_ssize_t nbase = PyTuple_GET_SIZE(bases);
  ------------------
  |  |   27|    914|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    914|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    914|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9294|  1.85k|    for (Py_ssize_t i = 0; i < nbase; i++) {
  ------------------
  |  Branch (9294:28): [True: 943, False: 914]
  ------------------
 9295|    943|        PyObject *b = PyTuple_GET_ITEM(bases, i);
  ------------------
  |  |   29|    943|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    943|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    943|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (9295:23): [True: 943, False: 0]
  ------------------
 9296|    943|        if (PyType_Check(b) && add_subclass((PyTypeObject *)b, type) < 0) {
  ------------------
  |  |  766|  1.88k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    943|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    943|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 943, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (9296:32): [True: 0, False: 943]
  ------------------
 9297|      0|            return -1;
 9298|      0|        }
 9299|    943|    }
 9300|    914|    return 0;
 9301|    914|}
typeobject.c:add_subclass:
 9632|    943|{
 9633|    943|    PyObject *key = PyLong_FromVoidPtr((void *) type);
 9634|    943|    if (key == NULL)
  ------------------
  |  Branch (9634:9): [True: 0, False: 943]
  ------------------
 9635|      0|        return -1;
 9636|       |
 9637|    943|    PyObject *ref = PyWeakref_NewRef((PyObject *)type, NULL);
 9638|    943|    if (ref == NULL) {
  ------------------
  |  Branch (9638:9): [True: 0, False: 943]
  ------------------
 9639|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9640|      0|        return -1;
 9641|      0|    }
 9642|       |
 9643|       |    // Only get tp_subclasses after creating the key and value.
 9644|       |    // PyWeakref_NewRef() can trigger a garbage collection which can execute
 9645|       |    // arbitrary Python code and so modify base->tp_subclasses.
 9646|    943|    PyObject *subclasses = lookup_tp_subclasses(base);
 9647|    943|    if (subclasses == NULL) {
  ------------------
  |  Branch (9647:9): [True: 159, False: 784]
  ------------------
 9648|    159|        subclasses = init_tp_subclasses(base);
 9649|    159|        if (subclasses == NULL) {
  ------------------
  |  Branch (9649:13): [True: 0, False: 159]
  ------------------
 9650|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9651|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9652|      0|            return -1;
 9653|      0|        }
 9654|    159|    }
 9655|    943|    assert(PyDict_CheckExact(subclasses));
  ------------------
  |  Branch (9655:5): [True: 943, False: 0]
  ------------------
 9656|       |
 9657|    943|    int result = PyDict_SetItem(subclasses, key, ref);
 9658|    943|    Py_DECREF(ref);
  ------------------
  |  |  430|    943|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    943|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    943|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9659|    943|    Py_DECREF(key);
  ------------------
  |  |  430|    943|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    943|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    943|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9660|    943|    return result;
 9661|    943|}
typeobject.c:check_basicsize_includes_size_and_offsets:
 5123|    122|{
 5124|    122|    if (type->tp_alloc != PyType_GenericAlloc) {
  ------------------
  |  Branch (5124:9): [True: 0, False: 122]
  ------------------
 5125|       |        // Custom allocators can ignore tp_basicsize
 5126|      0|        return 1;
 5127|      0|    }
 5128|    122|    Py_ssize_t max = (Py_ssize_t)type->tp_basicsize;
 5129|       |
 5130|    122|    if (type->tp_base && type->tp_base->tp_basicsize > type->tp_basicsize) {
  ------------------
  |  Branch (5130:9): [True: 122, False: 0]
  |  Branch (5130:26): [True: 0, False: 122]
  ------------------
 5131|      0|        PyErr_Format(PyExc_TypeError,
 5132|      0|                     "tp_basicsize for type '%s' (%zd) is too small for base '%s' (%zd)",
 5133|      0|                     type->tp_name, type->tp_basicsize,
 5134|      0|                     type->tp_base->tp_name, type->tp_base->tp_basicsize);
 5135|      0|        return 0;
 5136|      0|    }
 5137|    122|    if (type->tp_weaklistoffset + (Py_ssize_t)sizeof(PyObject*) > max) {
  ------------------
  |  Branch (5137:9): [True: 0, False: 122]
  ------------------
 5138|      0|        PyErr_Format(PyExc_TypeError,
 5139|      0|                     "weaklist offset %zd is out of bounds for type '%s' (tp_basicsize = %zd)",
 5140|      0|                     type->tp_weaklistoffset,
 5141|      0|                     type->tp_name, type->tp_basicsize);
 5142|      0|        return 0;
 5143|      0|    }
 5144|    122|    if (type->tp_dictoffset + (Py_ssize_t)sizeof(PyObject*) > max) {
  ------------------
  |  Branch (5144:9): [True: 0, False: 122]
  ------------------
 5145|      0|        PyErr_Format(PyExc_TypeError,
 5146|      0|                     "dict offset %zd is out of bounds for type '%s' (tp_basicsize = %zd)",
 5147|      0|                     type->tp_dictoffset,
 5148|      0|                     type->tp_name, type->tp_basicsize);
 5149|      0|        return 0;
 5150|      0|    }
 5151|    122|    if (type->tp_vectorcall_offset + (Py_ssize_t)sizeof(vectorcallfunc*) > max) {
  ------------------
  |  Branch (5151:9): [True: 0, False: 122]
  ------------------
 5152|      0|        PyErr_Format(PyExc_TypeError,
 5153|      0|                     "vectorcall offset %zd is out of bounds for type '%s' (tp_basicsize = %zd)",
 5154|      0|                     type->tp_vectorcall_offset,
 5155|      0|                     type->tp_name, type->tp_basicsize);
 5156|      0|        return 0;
 5157|      0|    }
 5158|    122|    return 1;
 5159|    122|}
typeobject.c:type_name:
 1488|     69|{
 1489|     69|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  203|     69|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1490|     69|    if (type->tp_flags & Py_TPFLAGS_HEAPTYPE) {
  ------------------
  |  |  503|     69|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (1490:9): [True: 8, False: 61]
  ------------------
 1491|      8|        PyHeapTypeObject* et = (PyHeapTypeObject*)type;
 1492|      8|        return Py_NewRef(et->ht_name);
  ------------------
  |  |  550|      8|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1493|      8|    }
 1494|     61|    else {
 1495|     61|        return PyUnicode_FromString(_PyType_Name(type));
 1496|     61|    }
 1497|     69|}
typeobject.c:lookup_tp_mro:
  649|  57.5k|{
  650|  57.5k|    return self->tp_mro;
  651|  57.5k|}
typeobject.c:getitemdata:
 6087|    711|{
 6088|    711|    if (!_PyType_HasFeature(Py_TYPE(obj), Py_TPFLAGS_ITEMS_AT_END)) {
  ------------------
  |  |  213|    711|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    711|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    711|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (!_PyType_HasFeature(Py_TYPE(obj), Py_TPFLAGS_ITEMS_AT_END)) {
  ------------------
  |  |  548|    711|#define Py_TPFLAGS_ITEMS_AT_END (1UL << 23)
  ------------------
  |  Branch (6088:9): [True: 0, False: 711]
  ------------------
 6089|      0|        if (raise) {
  ------------------
  |  Branch (6089:13): [True: 0, False: 0]
  ------------------
 6090|      0|            PyErr_Format(PyExc_TypeError,
 6091|      0|                         "type '%T' does not have Py_TPFLAGS_ITEMS_AT_END",
 6092|      0|                         obj);
 6093|      0|        }
 6094|      0|        return NULL;
 6095|      0|    }
 6096|    711|    return (char *)obj + Py_TYPE(obj)->tp_basicsize;
  ------------------
  |  |  213|    711|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    711|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    711|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6097|    711|}
typeobject.c:should_assign_version_tag:
 6207|    295|{
 6208|    295|    return (version_tag == 0
  ------------------
  |  Branch (6208:13): [True: 295, False: 0]
  ------------------
 6209|    295|        && FT_ATOMIC_LOAD_UINT16_RELAXED(type->tp_versions_used) < MAX_VERSIONS_PER_CLASS
  ------------------
  |  |  158|    295|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  ------------------
                      && FT_ATOMIC_LOAD_UINT16_RELAXED(type->tp_versions_used) < MAX_VERSIONS_PER_CLASS
  ------------------
  |  | 1355|    590|#define MAX_VERSIONS_PER_CLASS 1000
  ------------------
  |  Branch (6209:12): [True: 295, False: 0]
  ------------------
 6210|    295|        && MCACHE_CACHEABLE_NAME(name));
  ------------------
  |  |   44|    295|#define MCACHE_CACHEABLE_NAME(name) (PyUnicode_CheckExact(name) && PyUnicode_CHECK_INTERNED(name))
  |  |  ------------------
  |  |  |  |  104|    295|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|    590|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    295|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    295|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 295, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define MCACHE_CACHEABLE_NAME(name) (PyUnicode_CheckExact(name) && PyUnicode_CHECK_INTERNED(name))
  |  |  ------------------
  |  |  |  |  214|    295|#define PyUnicode_CHECK_INTERNED(op) PyUnicode_CHECK_INTERNED(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    295|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    295|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (214:38): [True: 295, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6211|    295|}
typeobject.c:find_name_in_mro:
 6117|  39.4k|{
 6118|  39.4k|    Py_hash_t hash = _PyObject_HashDictKey(name);
 6119|  39.4k|    if (hash == -1) {
  ------------------
  |  Branch (6119:9): [True: 0, False: 39.4k]
  ------------------
 6120|      0|        PyErr_Clear();
 6121|      0|        return -1;
 6122|      0|    }
 6123|       |
 6124|       |    /* Look in tp_dict of types in MRO */
 6125|  39.4k|    PyObject *mro = lookup_tp_mro(type);
 6126|  39.4k|    if (mro == NULL) {
  ------------------
  |  Branch (6126:9): [True: 0, False: 39.4k]
  ------------------
 6127|      0|        if (!is_readying(type)) {
  ------------------
  |  Branch (6127:13): [True: 0, False: 0]
  ------------------
 6128|      0|            if (PyType_Ready(type) < 0) {
  ------------------
  |  Branch (6128:17): [True: 0, False: 0]
  ------------------
 6129|      0|                PyErr_Clear();
 6130|      0|                return -1;
 6131|      0|            }
 6132|      0|            mro = lookup_tp_mro(type);
 6133|      0|        }
 6134|      0|        if (mro == NULL) {
  ------------------
  |  Branch (6134:13): [True: 0, False: 0]
  ------------------
 6135|      0|            return -1;
 6136|      0|        }
 6137|      0|    }
 6138|       |
 6139|  39.4k|    int res = 0;
 6140|  39.4k|    PyThreadState *tstate = _PyThreadState_GET();
 6141|       |    /* Keep a strong reference to mro because type->tp_mro can be replaced
 6142|       |       during dict lookup, e.g. when comparing to non-string keys. */
 6143|  39.4k|    _PyCStackRef mro_ref;
 6144|  39.4k|    _PyThreadState_PushCStackRef(tstate, &mro_ref);
 6145|  39.4k|    mro_ref.ref = PyStackRef_FromPyObjectNew(mro);
  ------------------
  |  |  611|  39.4k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  39.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  39.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6146|  39.4k|    Py_ssize_t n = PyTuple_GET_SIZE(mro);
  ------------------
  |  |   27|  39.4k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  39.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  39.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6147|   160k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (6147:28): [True: 129k, False: 31.0k]
  ------------------
 6148|   129k|        PyObject *base = PyTuple_GET_ITEM(mro, i);
  ------------------
  |  |   29|   129k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|   129k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   129k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6148:26): [True: 129k, False: 0]
  ------------------
 6149|   129k|        PyObject *dict = lookup_tp_dict(_PyType_CAST(base));
  ------------------
  |  |  770|   129k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   129k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (6149:41): [True: 129k, False: 0]
  ------------------
 6150|   129k|        assert(dict && PyDict_Check(dict));
  ------------------
  |  Branch (6150:9): [True: 129k, False: 0]
  |  Branch (6150:9): [True: 129k, False: 0]
  ------------------
 6151|   129k|        Py_ssize_t ix = _Py_dict_lookup_threadsafe_stackref(
 6152|   129k|            (PyDictObject *)dict, name, hash, out);
 6153|   129k|        if (ix == DKIX_ERROR) {
  ------------------
  |  |  187|   129k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (6153:13): [True: 0, False: 129k]
  ------------------
 6154|      0|            PyErr_Clear();
 6155|      0|            res = -1;
 6156|      0|            goto done;
 6157|      0|        }
 6158|   129k|        if (!PyStackRef_IsNull(*out)) {
  ------------------
  |  |  482|   129k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|   129k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|   129k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6158:13): [True: 8.38k, False: 121k]
  ------------------
 6159|  8.38k|            res = 1;
 6160|  8.38k|            break;
 6161|  8.38k|        }
 6162|   129k|    }
 6163|  39.4k|done:
 6164|  39.4k|    _PyThreadState_PopCStackRef(tstate, &mro_ref);
 6165|  39.4k|    return res;
 6166|  39.4k|}
typeobject.c:set_flags_recursive:
 6363|     27|{
 6364|     27|    if (PyType_HasFeature(self, Py_TPFLAGS_IMMUTABLETYPE) ||
  ------------------
  |  |  500|     27|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (6364:9): [True: 27, False: 0]
  ------------------
 6365|      0|        (self->tp_flags & mask) == flags)
  ------------------
  |  Branch (6365:9): [True: 0, False: 0]
  ------------------
 6366|     27|    {
 6367|     27|        return;
 6368|     27|    }
 6369|       |
 6370|      0|    type_set_flags_with_mask(self, mask, flags);
 6371|       |
 6372|      0|    PyObject *children = _PyType_GetSubclasses(self);
 6373|      0|    if (children == NULL) {
  ------------------
  |  Branch (6373:9): [True: 0, False: 0]
  ------------------
 6374|      0|        return;
 6375|      0|    }
 6376|       |
 6377|      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 (6377:28): [True: 0, False: 0]
  ------------------
 6378|      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 (6378:27): [True: 0, False: 0]
  ------------------
 6379|      0|        set_flags_recursive((PyTypeObject *)child, mask, flags);
 6380|      0|    }
 6381|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6382|      0|}
typeobject.c:type_dealloc_common:
 6738|      6|{
 6739|      6|    PyObject *bases = lookup_tp_bases(type);
 6740|      6|    if (bases != NULL) {
  ------------------
  |  Branch (6740:9): [True: 6, False: 0]
  ------------------
 6741|      6|        PyObject *exc = PyErr_GetRaisedException();
 6742|      6|        BEGIN_TYPE_LOCK();
 6743|      6|        remove_all_subclasses(type, bases);
 6744|      6|        END_TYPE_LOCK();
 6745|      6|        PyErr_SetRaisedException(exc);
 6746|      6|    }
 6747|      6|}
typeobject.c:remove_all_subclasses:
 9735|      6|{
 9736|      6|    assert(bases != NULL);
  ------------------
  |  Branch (9736:5): [True: 6, False: 0]
  ------------------
 9737|       |    // remove_subclass() can clear the current exception
 9738|      6|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (9738:5): [True: 6, False: 0]
  ------------------
 9739|       |
 9740|     12|    for (Py_ssize_t i = 0; i < PyTuple_GET_SIZE(bases); i++) {
  ------------------
  |  |   27|     12|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (9740:28): [True: 6, False: 6]
  ------------------
 9741|      6|        PyObject *base = PyTuple_GET_ITEM(bases, i);
  ------------------
  |  |   29|      6|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      6|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (9741:26): [True: 6, False: 0]
  ------------------
 9742|      6|        if (PyType_Check(base)) {
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 9743|      6|            remove_subclass((PyTypeObject*) base, type);
 9744|      6|        }
 9745|      6|    }
 9746|      6|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (9746:5): [True: 6, False: 0]
  ------------------
 9747|      6|}
typeobject.c:remove_subclass:
 9712|      6|{
 9713|      6|    PyObject *subclasses = lookup_tp_subclasses(base);  // borrowed ref
 9714|      6|    if (subclasses == NULL) {
  ------------------
  |  Branch (9714:9): [True: 0, False: 6]
  ------------------
 9715|      0|        return;
 9716|      0|    }
 9717|      6|    assert(PyDict_CheckExact(subclasses));
  ------------------
  |  Branch (9717:5): [True: 6, False: 0]
  ------------------
 9718|       |
 9719|      6|    PyObject *key = get_subclasses_key(type, base);
 9720|      6|    if (key != NULL && PyDict_DelItem(subclasses, key)) {
  ------------------
  |  Branch (9720:9): [True: 6, False: 0]
  |  Branch (9720:24): [True: 0, False: 6]
  ------------------
 9721|       |        /* This can happen if the type initialization errored out before
 9722|       |           the base subclasses were updated (e.g. a non-str __qualname__
 9723|       |           was passed in the type dict). */
 9724|      0|        PyErr_Clear();
 9725|      0|    }
 9726|      6|    Py_XDECREF(key);
  ------------------
  |  |  524|      6|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9727|       |
 9728|      6|    if (PyDict_Size(subclasses) == 0) {
  ------------------
  |  Branch (9728:9): [True: 0, False: 6]
  ------------------
 9729|      0|        clear_tp_subclasses(base);
 9730|      0|    }
 9731|      6|}
typeobject.c:get_subclasses_key:
 9681|      6|{
 9682|      6|    PyObject *key = PyLong_FromVoidPtr((void *) type);
 9683|      6|    if (key != NULL) {
  ------------------
  |  Branch (9683:9): [True: 6, False: 0]
  ------------------
 9684|      6|        return key;
 9685|      6|    }
 9686|      0|    PyErr_Clear();
 9687|       |
 9688|       |    /* This basically means we're out of memory.
 9689|       |       We fall back to manually traversing the values. */
 9690|      0|    Py_ssize_t i = 0;
 9691|      0|    PyObject *ref;  // borrowed ref
 9692|      0|    PyObject *subclasses = lookup_tp_subclasses(base);
 9693|      0|    if (subclasses != NULL) {
  ------------------
  |  Branch (9693:9): [True: 0, False: 0]
  ------------------
 9694|      0|        while (PyDict_Next(subclasses, &i, &key, &ref)) {
  ------------------
  |  Branch (9694:16): [True: 0, False: 0]
  ------------------
 9695|      0|            PyTypeObject *subclass = type_from_ref(ref);
 9696|      0|            if (subclass == NULL) {
  ------------------
  |  Branch (9696:17): [True: 0, False: 0]
  ------------------
 9697|      0|                continue;
 9698|      0|            }
 9699|      0|            if (subclass == type) {
  ------------------
  |  Branch (9699:17): [True: 0, False: 0]
  ------------------
 9700|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9701|      0|                return Py_NewRef(key);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9702|      0|            }
 9703|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9704|      0|        }
 9705|      0|    }
 9706|       |    /* It wasn't found. */
 9707|      0|    return NULL;
 9708|      0|}
typeobject.c:clear_tp_subclasses:
  722|      6|{
  723|       |    /* Delete the dictionary to save memory. _PyStaticType_Dealloc()
  724|       |       callers also test if tp_subclasses is NULL to check if a static type
  725|       |       has no subclass. */
  726|      6|    if (self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|      6|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (726:9): [True: 0, False: 6]
  ------------------
  727|      0|        PyInterpreterState *interp = _PyInterpreterState_GET();
  728|      0|        managed_static_type_state *state = _PyStaticType_GetState(interp, self);
  729|      0|        Py_CLEAR(state->tp_subclasses);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  730|      0|        return;
  731|      0|    }
  732|      6|    Py_CLEAR(self->tp_subclasses);
  ------------------
  |  |  484|      6|    do { \
  |  |  485|      6|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      6|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      6|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 6]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
  733|      6|}
typeobject.c:type_dealloc:
 6870|      6|{
 6871|      6|    PyTypeObject *type = PyTypeObject_CAST(self);
  ------------------
  |  |  203|      6|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 6872|       |
 6873|       |    // Assert this is a heap-allocated type object
 6874|      6|    _PyObject_ASSERT((PyObject *)type, type->tp_flags & Py_TPFLAGS_HEAPTYPE);
  ------------------
  |  |  425|      6|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  423|      6|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  416|      6|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (416:6): [True: 6, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  417|      6|      ? (void)(0) \
  |  |  |  |  |  |  418|      6|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6875|       |
 6876|       |    // Notify type watchers before teardown.  The type object is still fully
 6877|       |    // intact at this point (dict, bases, mro, name are all valid), so
 6878|       |    // callbacks can safely inspect it.
 6879|      6|    if (type->tp_watched) {
  ------------------
  |  Branch (6879:9): [True: 0, False: 6]
  ------------------
 6880|      0|        _PyObject_ResurrectStart(self);
 6881|      0|        PyInterpreterState *interp = _PyInterpreterState_GET();
 6882|      0|        int bits = type->tp_watched;
 6883|      0|        int i = 0;
 6884|      0|        while (bits) {
  ------------------
  |  Branch (6884:16): [True: 0, False: 0]
  ------------------
 6885|      0|            assert(i < TYPE_MAX_WATCHERS);
  ------------------
  |  Branch (6885:13): [True: 0, False: 0]
  ------------------
 6886|      0|            if (bits & 1) {
  ------------------
  |  Branch (6886:17): [True: 0, False: 0]
  ------------------
 6887|      0|                PyType_WatchCallback cb = interp->type_watchers[i];
 6888|      0|                if (cb && (cb(type) < 0)) {
  ------------------
  |  Branch (6888:21): [True: 0, False: 0]
  |  Branch (6888:27): [True: 0, False: 0]
  ------------------
 6889|      0|                    PyErr_FormatUnraisable(
 6890|      0|                        "Exception ignored in type watcher callback #%d "
 6891|      0|                        "for %R",
 6892|      0|                        i, type);
 6893|      0|                }
 6894|      0|            }
 6895|      0|            i++;
 6896|      0|            bits >>= 1;
 6897|      0|        }
 6898|      0|        if (_PyObject_ResurrectEnd(self)) {
  ------------------
  |  Branch (6898:13): [True: 0, False: 0]
  ------------------
 6899|      0|            return;     // callback resurrected the object
 6900|      0|        }
 6901|      0|    }
 6902|       |
 6903|      6|    _PyObject_GC_UNTRACK(type);
  ------------------
  |  |  507|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6904|      6|    type_dealloc_common(type);
 6905|       |
 6906|       |    // PyObject_ClearWeakRefs() raises an exception if Py_REFCNT() != 0
 6907|      6|    assert(Py_REFCNT(type) == 0);
  ------------------
  |  Branch (6907:5): [True: 6, False: 0]
  ------------------
 6908|      6|    PyObject_ClearWeakRefs((PyObject *)type);
 6909|       |
 6910|      6|    Py_XDECREF(type->tp_base);
  ------------------
  |  |  524|      6|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6911|      6|    Py_XDECREF(type->tp_dict);
  ------------------
  |  |  524|      6|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6912|      6|    Py_XDECREF(type->tp_bases);
  ------------------
  |  |  524|      6|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6913|      6|    Py_XDECREF(type->tp_mro);
  ------------------
  |  |  524|      6|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6914|      6|    Py_XDECREF(type->tp_cache);
  ------------------
  |  |  524|      6|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6915|      6|    clear_tp_subclasses(type);
 6916|      6|    _PyTypeCache_Invalidate(type);
 6917|       |
 6918|       |    /* A type's tp_doc is heap allocated, unlike the tp_doc slots
 6919|       |     * of most other objects.  It's okay to cast it to char *.
 6920|       |     */
 6921|      6|    PyMem_Free((char *)type->tp_doc);
 6922|       |
 6923|      6|    PyHeapTypeObject *et = (PyHeapTypeObject *)type;
 6924|      6|    Py_XDECREF(et->ht_name);
  ------------------
  |  |  524|      6|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6925|      6|    Py_XDECREF(et->ht_qualname);
  ------------------
  |  |  524|      6|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6926|      6|    Py_XDECREF(et->ht_slots);
  ------------------
  |  |  524|      6|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6927|      6|    if (et->ht_cached_keys) {
  ------------------
  |  Branch (6927:9): [True: 2, False: 4]
  ------------------
 6928|      2|        _PyDict_RemoveKeysForClass(et);
 6929|      2|    }
 6930|      6|    Py_XDECREF(et->ht_module);
  ------------------
  |  |  524|      6|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6931|      6|    PyMem_Free(et->_ht_tpname);
 6932|       |#ifdef Py_GIL_DISABLED
 6933|       |    assert(et->unique_id == _Py_INVALID_UNIQUE_ID);
 6934|       |#endif
 6935|      6|    et->ht_token = NULL;
 6936|      6|    Py_TYPE(type)->tp_free((PyObject *)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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6937|      6|}
typeobject.c:type_call:
 2402|  1.88k|{
 2403|  1.88k|    PyTypeObject *type = PyTypeObject_CAST(self);
  ------------------
  |  |  203|  1.88k|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 2404|  1.88k|    PyObject *obj;
 2405|  1.88k|    PyThreadState *tstate = _PyThreadState_GET();
 2406|       |
 2407|       |#ifdef Py_DEBUG
 2408|       |    /* type_call() must not be called with an exception set,
 2409|       |       because it can clear it (directly or indirectly) and so the
 2410|       |       caller loses its exception */
 2411|       |    assert(!_PyErr_Occurred(tstate));
 2412|       |#endif
 2413|       |
 2414|       |    /* Special case: type(x) should return Py_TYPE(x) */
 2415|       |    /* We only want type itself to accept the one-argument form (#27157) */
 2416|  1.88k|    if (type == &PyType_Type) {
  ------------------
  |  Branch (2416:9): [True: 298, False: 1.58k]
  ------------------
 2417|    298|        assert(args != NULL && PyTuple_Check(args));
  ------------------
  |  Branch (2417:9): [True: 298, False: 0]
  |  Branch (2417:9): [True: 298, False: 0]
  ------------------
 2418|    298|        assert(kwds == NULL || PyDict_Check(kwds));
  ------------------
  |  Branch (2418:9): [True: 296, False: 2]
  |  Branch (2418:9): [True: 2, False: 0]
  ------------------
 2419|    298|        Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2420|       |
 2421|    298|        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 (2421:13): [True: 0, False: 298]
  |  Branch (2421:28): [True: 0, False: 0]
  |  Branch (2421:44): [True: 0, False: 0]
  ------------------
 2422|      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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2423|      0|            return Py_NewRef(obj);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2424|      0|        }
 2425|       |
 2426|       |        /* SF bug 475327 -- if that didn't trigger, we need 3
 2427|       |           arguments. But PyArg_ParseTuple in type_new may give
 2428|       |           a msg saying type() needs exactly 3. */
 2429|    298|        if (nargs != 3) {
  ------------------
  |  Branch (2429:13): [True: 0, False: 298]
  ------------------
 2430|      0|            PyErr_SetString(PyExc_TypeError,
 2431|      0|                            "type() takes 1 or 3 arguments");
 2432|      0|            return NULL;
 2433|      0|        }
 2434|    298|    }
 2435|       |
 2436|  1.88k|    if (type->tp_new == NULL) {
  ------------------
  |  Branch (2436:9): [True: 0, False: 1.88k]
  ------------------
 2437|      0|        _PyErr_Format(tstate, PyExc_TypeError,
 2438|      0|                      "cannot create '%s' instances", type->tp_name);
 2439|      0|        return NULL;
 2440|      0|    }
 2441|       |
 2442|  1.88k|    obj = type->tp_new(type, args, kwds);
 2443|  1.88k|    obj = _Py_CheckFunctionResult(tstate, (PyObject*)type, obj, NULL);
 2444|  1.88k|    if (obj == NULL)
  ------------------
  |  Branch (2444:9): [True: 0, False: 1.88k]
  ------------------
 2445|      0|        return NULL;
 2446|       |
 2447|       |    /* If the returned object is not an instance of type,
 2448|       |       it won't be initialized. */
 2449|  1.88k|    if (!PyObject_TypeCheck(obj, type))
  ------------------
  |  |  378|  1.88k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_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 (2449:9): [True: 0, False: 1.88k]
  ------------------
 2450|      0|        return obj;
 2451|       |
 2452|  1.88k|    type = Py_TYPE(obj);
  ------------------
  |  |  213|  1.88k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.88k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.88k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2453|  1.88k|    if (type->tp_init != NULL) {
  ------------------
  |  Branch (2453:9): [True: 1.88k, False: 0]
  ------------------
 2454|  1.88k|        int res = type->tp_init(obj, args, kwds);
 2455|  1.88k|        if (res < 0) {
  ------------------
  |  Branch (2455:13): [True: 11, False: 1.87k]
  ------------------
 2456|     11|            assert(_PyErr_Occurred(tstate));
  ------------------
  |  Branch (2456:13): [True: 11, False: 0]
  ------------------
 2457|     11|            Py_SETREF(obj, NULL);
  ------------------
  |  |  354|     11|    do { \
  |  |  355|     11|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|     11|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|     11|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|     11|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|     11|        *_tmp_dst_ptr = (src); \
  |  |  358|     11|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|     11|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|     11|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 11]
  |  |  ------------------
  ------------------
 2458|     11|        }
 2459|  1.87k|        else {
 2460|  1.87k|            assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (2460:13): [True: 1.87k, False: 0]
  ------------------
 2461|  1.87k|        }
 2462|  1.88k|    }
 2463|  1.88k|    return obj;
 2464|  1.88k|}
typeobject.c:type_setattro:
 6636|    548|{
 6637|    548|    PyTypeObject *type = PyTypeObject_CAST(self);
  ------------------
  |  |  203|    548|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 6638|    548|    int res;
 6639|    548|    if (type->tp_flags & Py_TPFLAGS_IMMUTABLETYPE) {
  ------------------
  |  |  500|    548|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (6639:9): [True: 0, False: 548]
  ------------------
 6640|      0|        PyErr_Format(
 6641|      0|            PyExc_TypeError,
 6642|      0|            "cannot set %R attribute of immutable type '%s'",
 6643|      0|            name, type->tp_name);
 6644|      0|        return -1;
 6645|      0|    }
 6646|    548|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|    548|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    548|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (6646:9): [True: 0, False: 548]
  ------------------
 6647|      0|        PyErr_Format(PyExc_TypeError,
 6648|      0|                     "attribute name must be string, not '%.200s'",
 6649|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6650|      0|        return -1;
 6651|      0|    }
 6652|       |
 6653|    548|    if (PyUnicode_CheckExact(name)) {
  ------------------
  |  |  104|    548|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|    548|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    548|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    548|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 548, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6654|    548|        Py_INCREF(name);
  ------------------
  |  |  310|    548|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    548|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    548|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6655|    548|    }
 6656|      0|    else {
 6657|      0|        name = _PyUnicode_Copy(name);
 6658|      0|        if (name == NULL)
  ------------------
  |  Branch (6658:13): [True: 0, False: 0]
  ------------------
 6659|      0|            return -1;
 6660|      0|    }
 6661|    548|    if (!PyUnicode_CHECK_INTERNED(name)) {
  ------------------
  |  |  214|    548|#define PyUnicode_CHECK_INTERNED(op) PyUnicode_CHECK_INTERNED(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    548|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    548|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6661:9): [True: 0, False: 548]
  ------------------
 6662|      0|        PyInterpreterState *interp = _PyInterpreterState_GET();
 6663|      0|        _PyUnicode_InternMortal(interp, &name);
 6664|      0|        if (!PyUnicode_CHECK_INTERNED(name)) {
  ------------------
  |  |  214|      0|#define PyUnicode_CHECK_INTERNED(op) PyUnicode_CHECK_INTERNED(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6664:13): [True: 0, False: 0]
  ------------------
 6665|      0|            PyErr_SetString(PyExc_MemoryError,
 6666|      0|                            "Out of memory interning an attribute name");
 6667|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6668|      0|            return -1;
 6669|      0|        }
 6670|      0|    }
 6671|       |
 6672|    548|    PyTypeObject *metatype = Py_TYPE(type);
  ------------------
  |  |  213|    548|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    548|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    548|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6673|    548|    assert(!_PyType_HasFeature(metatype, Py_TPFLAGS_INLINE_VALUES));
  ------------------
  |  Branch (6673:5): [True: 548, False: 0]
  ------------------
 6674|    548|    assert(!_PyType_HasFeature(metatype, Py_TPFLAGS_MANAGED_DICT));
  ------------------
  |  Branch (6674:5): [True: 548, False: 0]
  ------------------
 6675|       |
 6676|       |#ifdef Py_GIL_DISABLED
 6677|       |    // gh-139103: Enable deferred refcounting for functions and descriptors
 6678|       |    // assigned to type objects.  This is important for `dataclass.__init__`,
 6679|       |    // which is generated dynamically, and for descriptor scaling on
 6680|       |    // free-threaded builds.
 6681|       |    if (value != NULL && (PyFunction_Check(value) || Py_TYPE(value)->tp_descr_get != NULL))
 6682|       |    {
 6683|       |        PyUnstable_Object_EnableDeferredRefcount(value);
 6684|       |    }
 6685|       |#endif
 6686|       |
 6687|    548|    PyObject *old_value = NULL;
 6688|    548|    PyObject *descr = _PyType_LookupRef(metatype, name);
 6689|    548|    if (descr != NULL) {
  ------------------
  |  Branch (6689:9): [True: 213, False: 335]
  ------------------
 6690|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6691|    213|        if (f != NULL) {
  ------------------
  |  Branch (6691:13): [True: 188, False: 25]
  ------------------
 6692|    188|            res = f(descr, (PyObject *)type, value);
 6693|    188|            goto done;
 6694|    188|        }
 6695|    213|    }
 6696|       |
 6697|    360|    PyObject *dict = type->tp_dict;
 6698|    360|    if (dict == NULL) {
  ------------------
  |  Branch (6698:9): [True: 0, False: 360]
  ------------------
 6699|       |        // This is an unlikely case.  PyType_Ready has not yet been done and
 6700|       |        // we need to initialize tp_dict.  We don't just do PyType_Ready
 6701|       |        // because we could already be readying.
 6702|      0|        BEGIN_TYPE_LOCK();
 6703|      0|        dict = type->tp_dict;
 6704|      0|        if (dict == NULL) {
  ------------------
  |  Branch (6704:13): [True: 0, False: 0]
  ------------------
 6705|      0|            dict = type->tp_dict = PyDict_New();
 6706|      0|        }
 6707|      0|        END_TYPE_LOCK();
 6708|      0|        if (dict == NULL) {
  ------------------
  |  Branch (6708:13): [True: 0, False: 0]
  ------------------
 6709|      0|            res = -1;
 6710|      0|            goto done;
 6711|      0|        }
 6712|      0|    }
 6713|       |
 6714|    360|    BEGIN_TYPE_DICT_LOCK(dict);
 6715|    360|    res = type_update_dict(type, (PyDictObject *)dict, name, value, &old_value);
 6716|    360|    assert(_PyType_CheckConsistency(type));
  ------------------
  |  Branch (6716:5): [True: 360, False: 0]
  ------------------
 6717|    360|    if (res == 0) {
  ------------------
  |  Branch (6717:9): [True: 360, False: 0]
  ------------------
 6718|    360|        if (is_dunder_name(name) && has_slotdef(name)) {
  ------------------
  |  Branch (6718:13): [True: 32, False: 328]
  |  Branch (6718:37): [True: 24, False: 8]
  ------------------
 6719|       |            // The name corresponds to a type slot.
 6720|     24|            res = update_slot_after_setattr(type, name);
 6721|     24|        }
 6722|    360|    }
 6723|    360|    END_TYPE_DICT_LOCK();
 6724|       |
 6725|    548|done:
 6726|    548|    Py_DECREF(name);
  ------------------
  |  |  430|    548|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    548|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    548|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6727|    548|    Py_XDECREF(descr);
  ------------------
  |  |  524|    548|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    548|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    548|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6728|       |    // delay decref of the old value as lock-free type cache readers may access it
 6729|    548|    if (old_value != NULL && !_Py_IsImmortal(old_value)) {
  ------------------
  |  |  137|     41|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     41|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     41|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6729:9): [True: 41, False: 507]
  |  Branch (6729:30): [True: 5, False: 36]
  ------------------
 6730|      5|        _PyObject_XDecRefDelayed(old_value);
 6731|      5|    }
 6732|    548|    return res;
 6733|    360|}
typeobject.c:type_update_dict:
 6576|    360|{
 6577|       |    // We don't want any re-entrancy between when we update the dict
 6578|       |    // and call _PyType_Modified_Unlocked, including running the destructor
 6579|       |    // of the current value as it can observe the cache in an inconsistent
 6580|       |    // state.  Because we have an exact unicode and our dict has exact
 6581|       |    // unicodes we know that this will all complete without releasing
 6582|       |    // the locks.
 6583|    360|    if (_PyDict_GetItemRef_Unicode_LockHeld(dict, name, old_value) < 0) {
  ------------------
  |  Branch (6583:9): [True: 0, False: 360]
  ------------------
 6584|      0|        return -1;
 6585|      0|    }
 6586|       |
 6587|       |    /* Clear the VALID_VERSION flag of 'type' and all its
 6588|       |        subclasses.  This could possibly be unified with the
 6589|       |        update_subclasses() recursion in update_slot(), but carefully:
 6590|       |        they each have their own conditions on which to stop
 6591|       |        recursing into subclasses. */
 6592|    360|    _PyType_Modified_Unlocked(type);
 6593|       |
 6594|    360|    if (_PyDict_SetItem_LockHeld(dict, name, value) < 0) {
  ------------------
  |  Branch (6594:9): [True: 0, False: 360]
  ------------------
 6595|      0|        PyErr_Format(PyExc_AttributeError,
 6596|      0|                     "type object '%.50s' has no attribute '%U'",
 6597|      0|                     ((PyTypeObject*)type)->tp_name, name);
 6598|      0|        _PyObject_SetAttributeErrorContext((PyObject *)type, name);
 6599|      0|        return -1;
 6600|      0|    }
 6601|       |
 6602|    360|    return 0;
 6603|    360|}
typeobject.c:is_dunder_name:
 6172|    360|{
 6173|    360|    Py_ssize_t length = PyUnicode_GET_LENGTH(name);
  ------------------
  |  |  299|    360|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    360|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    360|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6174|    360|    int kind = PyUnicode_KIND(name);
  ------------------
  |  |  258|    360|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|    720|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 360, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6175|       |    /* Special names contain at least "__x__" and are always ASCII. */
 6176|    360|    if (length > 4 && kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (6176:9): [True: 338, False: 22]
  |  Branch (6176:23): [True: 338, False: 0]
  ------------------
 6177|    338|        const Py_UCS1 *characters = PyUnicode_1BYTE_DATA(name);
  ------------------
  |  |  291|    338|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|    338|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 6178|    338|        return (
 6179|    338|            ((characters[length-2] == '_') && (characters[length-1] == '_')) &&
  ------------------
  |  Branch (6179:14): [True: 32, False: 306]
  |  Branch (6179:47): [True: 32, False: 0]
  ------------------
 6180|     32|            ((characters[0] == '_') && (characters[1] == '_'))
  ------------------
  |  Branch (6180:14): [True: 32, False: 0]
  |  Branch (6180:40): [True: 32, False: 0]
  ------------------
 6181|    338|        );
 6182|    338|    }
 6183|     22|    return 0;
 6184|    360|}
typeobject.c:has_slotdef:
11773|     32|{
11774|  1.40k|    for (pytype_slotdef *p = slotdefs; p->name_strobj; p++) {
  ------------------
  |  Branch (11774:40): [True: 1.39k, False: 8]
  ------------------
11775|  1.39k|        if (p->name_strobj == name) {
  ------------------
  |  Branch (11775:13): [True: 24, False: 1.36k]
  ------------------
11776|     24|            return true;
11777|     24|        }
11778|  1.39k|    }
11779|      8|    return false;
11780|     32|}
typeobject.c:update_slot_after_setattr:
 6607|     24|{
 6608|       |#ifdef Py_GIL_DISABLED
 6609|       |    assert(SLOT_UPDATE_CHUNK_SIZE >= MAX_EQUIV);
 6610|       |    slot_update_chunk_t chunk = {0};
 6611|       |    // Stack allocate the first chunk.  It is usually the only one needed but
 6612|       |    // updates are queued for subclasses as well, so more chunks are needed if
 6613|       |    // the type has more than SLOT_UPDATE_CHUNK_SIZE subclasses.
 6614|       |    slot_update_t queued_updates = {&chunk};
 6615|       |
 6616|       |    int res = update_slot(type, name, &queued_updates);
 6617|       |    if (res == 0 && queued_updates.head->n > 0) {
 6618|       |        apply_type_slot_updates(&queued_updates);
 6619|       |        ASSERT_TYPE_LOCK_HELD();
 6620|       |    }
 6621|       |    slot_update_chunk_t *cur = queued_updates.head;
 6622|       |    while (cur != &chunk) {
 6623|       |        slot_update_chunk_t *prev = cur->prev;
 6624|       |        PyMem_Free(cur);
 6625|       |        cur = prev;
 6626|       |    }
 6627|       |    return res;
 6628|       |#else
 6629|       |    update_slot(type, name, NULL);
 6630|     24|    return 0;
 6631|     24|#endif
 6632|     24|}
typeobject.c:update_slot:
12028|     24|{
12029|     24|    pytype_slotdef *ptrs[MAX_EQUIV];
12030|     24|    pytype_slotdef *p;
12031|     24|    pytype_slotdef **pp;
12032|     24|    int offset;
12033|       |
12034|     24|    ASSERT_TYPE_LOCK_HELD();
12035|     24|    assert(PyUnicode_CheckExact(name));
  ------------------
  |  Branch (12035:5): [True: 24, False: 0]
  ------------------
12036|     24|    assert(PyUnicode_CHECK_INTERNED(name));
  ------------------
  |  Branch (12036:5): [True: 24, False: 0]
  ------------------
12037|       |
12038|     24|    pp = ptrs;
12039|  2.28k|    for (p = slotdefs; p->name; p++) {
  ------------------
  |  Branch (12039:24): [True: 2.25k, False: 24]
  ------------------
12040|  2.25k|        assert(PyUnicode_CheckExact(p->name_strobj));
  ------------------
  |  Branch (12040:9): [True: 2.25k, False: 0]
  ------------------
12041|  2.25k|        assert(PyUnicode_CHECK_INTERNED(p->name_strobj));
  ------------------
  |  Branch (12041:9): [True: 2.25k, False: 0]
  ------------------
12042|  2.25k|        assert(PyUnicode_CheckExact(name));
  ------------------
  |  Branch (12042:9): [True: 2.25k, False: 0]
  ------------------
12043|       |        /* bpo-40521: Using interned strings. */
12044|  2.25k|        if (p->name_strobj == name) {
  ------------------
  |  Branch (12044:13): [True: 24, False: 2.23k]
  ------------------
12045|     24|            *pp++ = p;
12046|     24|        }
12047|  2.25k|    }
12048|     24|    *pp = NULL;
12049|     48|    for (pp = ptrs; *pp; pp++) {
  ------------------
  |  Branch (12049:21): [True: 24, False: 24]
  ------------------
12050|     24|        p = *pp;
12051|     24|        offset = p->offset;
12052|     27|        while (p > slotdefs && (p-1)->offset == offset)
  ------------------
  |  Branch (12052:16): [True: 27, False: 0]
  |  Branch (12052:32): [True: 3, False: 24]
  ------------------
12053|      3|            --p;
12054|     24|        *pp = p;
12055|     24|    }
12056|     24|    if (ptrs[0] == NULL)
  ------------------
  |  Branch (12056:9): [True: 0, False: 24]
  ------------------
12057|      0|        return 0; /* Not an attribute that affects any slots */
12058|       |
12059|     24|    update_callback_data_t callback_data;
12060|     24|    callback_data.defs = ptrs;
12061|     24|    callback_data.queued_updates = queued_updates;
12062|     24|    return update_subclasses(type, name,
12063|     24|                             update_slots_callback, (void *)&callback_data);
12064|     24|}
typeobject.c:update_subclasses:
12299|     24|{
12300|     24|    if (callback(type, data) < 0) {
  ------------------
  |  Branch (12300:9): [True: 0, False: 24]
  ------------------
12301|      0|        return -1;
12302|      0|    }
12303|     24|    return recurse_down_subclasses(type, attr_name, callback, data);
12304|     24|}
typeobject.c:recurse_down_subclasses:
12309|     24|{
12310|       |    // It is safe to use a borrowed reference because update_subclasses() is
12311|       |    // only used with update_slots_callback() which doesn't modify
12312|       |    // tp_subclasses.
12313|     24|    PyObject *subclasses = lookup_tp_subclasses(type);  // borrowed ref
12314|     24|    if (subclasses == NULL) {
  ------------------
  |  Branch (12314:9): [True: 24, False: 0]
  ------------------
12315|     24|        return 0;
12316|     24|    }
12317|     24|    assert(PyDict_CheckExact(subclasses));
  ------------------
  |  Branch (12317:5): [True: 0, False: 0]
  ------------------
12318|       |
12319|      0|    Py_ssize_t i = 0;
12320|      0|    PyObject *ref;
12321|      0|    while (PyDict_Next(subclasses, &i, NULL, &ref)) {
  ------------------
  |  Branch (12321:12): [True: 0, False: 0]
  ------------------
12322|      0|        PyTypeObject *subclass = type_from_ref(ref);
12323|      0|        if (subclass == NULL) {
  ------------------
  |  Branch (12323:13): [True: 0, False: 0]
  ------------------
12324|      0|            continue;
12325|      0|        }
12326|       |
12327|       |        /* Avoid recursing down into unaffected classes */
12328|      0|        PyObject *dict = lookup_tp_dict(subclass);
12329|      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 (12329:13): [True: 0, False: 0]
  ------------------
12330|      0|            int r = PyDict_Contains(dict, attr_name);
12331|      0|            if (r < 0) {
  ------------------
  |  Branch (12331:17): [True: 0, False: 0]
  ------------------
12332|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12333|      0|                return -1;
12334|      0|            }
12335|      0|            if (r > 0) {
  ------------------
  |  Branch (12335:17): [True: 0, False: 0]
  ------------------
12336|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12337|      0|                continue;
12338|      0|            }
12339|      0|        }
12340|       |
12341|      0|        if (update_subclasses(subclass, attr_name, callback, data) < 0) {
  ------------------
  |  Branch (12341:13): [True: 0, False: 0]
  ------------------
12342|      0|            Py_DECREF(subclass);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12343|      0|            return -1;
12344|      0|        }
12345|      0|        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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12346|      0|    }
12347|      0|    return 0;
12348|      0|}
typeobject.c:update_slots_callback:
12012|     24|{
12013|     24|    ASSERT_NEW_TYPE_OR_LOCKED(type);
12014|       |
12015|     24|    update_callback_data_t *update_data = (update_callback_data_t *)data;
12016|     24|    pytype_slotdef **pp = update_data->defs;
12017|     48|    for (; *pp; pp++) {
  ------------------
  |  Branch (12017:12): [True: 24, False: 24]
  ------------------
12018|     24|        if (update_one_slot(type, *pp, NULL, update_data->queued_updates) < 0) {
  ------------------
  |  Branch (12018:13): [True: 0, False: 24]
  ------------------
12019|      0|            return -1;
12020|      0|        }
12021|     24|    }
12022|     24|    return 0;
12023|     24|}
typeobject.c:type_traverse:
 7091|    884|{
 7092|    884|    PyTypeObject *type = PyTypeObject_CAST(self);
  ------------------
  |  |  203|    884|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 7093|       |
 7094|       |    /* Because of type_is_gc(), the collector only calls this
 7095|       |       for heaptypes. */
 7096|    884|    if (!(type->tp_flags & Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|    884|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (7096:9): [True: 0, False: 884]
  ------------------
 7097|      0|        char msg[200];
 7098|      0|        sprintf(msg, "type_traverse() called on non-heap type '%.100s'",
 7099|      0|                type->tp_name);
 7100|      0|        _PyObject_ASSERT_FAILED_MSG((PyObject *)type, msg);
  ------------------
  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  ------------------
 7101|      0|    }
 7102|       |
 7103|    884|    Py_VISIT(type->tp_dict);
  ------------------
  |  |  194|    884|    do {                                                                \
  |  |  195|    884|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 884, False: 0]
  |  |  ------------------
  |  |  196|    884|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    884|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    884|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    884|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 884]
  |  |  ------------------
  |  |  198|    884|                return vret;                                            \
  |  |  199|    884|        }                                                               \
  |  |  200|    884|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 884]
  |  |  ------------------
  ------------------
 7104|    884|    Py_VISIT(type->tp_cache);
  ------------------
  |  |  194|    884|    do {                                                                \
  |  |  195|    884|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 884]
  |  |  ------------------
  |  |  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|    884|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 884]
  |  |  ------------------
  ------------------
 7105|    884|    Py_VISIT(type->tp_mro);
  ------------------
  |  |  194|    884|    do {                                                                \
  |  |  195|    884|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 884, False: 0]
  |  |  ------------------
  |  |  196|    884|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    884|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    884|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    884|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 884]
  |  |  ------------------
  |  |  198|    884|                return vret;                                            \
  |  |  199|    884|        }                                                               \
  |  |  200|    884|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 884]
  |  |  ------------------
  ------------------
 7106|    884|    Py_VISIT(type->tp_bases);
  ------------------
  |  |  194|    884|    do {                                                                \
  |  |  195|    884|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 884, False: 0]
  |  |  ------------------
  |  |  196|    884|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    884|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    884|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    884|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 884]
  |  |  ------------------
  |  |  198|    884|                return vret;                                            \
  |  |  199|    884|        }                                                               \
  |  |  200|    884|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 884]
  |  |  ------------------
  ------------------
 7107|    884|    Py_VISIT(type->tp_base);
  ------------------
  |  |  194|    884|    do {                                                                \
  |  |  195|    884|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 884, False: 0]
  |  |  ------------------
  |  |  196|    884|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    884|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    884|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    884|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 884]
  |  |  ------------------
  |  |  198|    884|                return vret;                                            \
  |  |  199|    884|        }                                                               \
  |  |  200|    884|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 884]
  |  |  ------------------
  ------------------
 7108|    884|    Py_VISIT(((PyHeapTypeObject *)type)->ht_module);
  ------------------
  |  |  194|    884|    do {                                                                \
  |  |  195|    884|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 154, False: 730]
  |  |  ------------------
  |  |  196|    154|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    154|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    154|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    154|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 154]
  |  |  ------------------
  |  |  198|    154|                return vret;                                            \
  |  |  199|    154|        }                                                               \
  |  |  200|    884|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 884]
  |  |  ------------------
  ------------------
 7109|       |
 7110|       |    /* There's no need to visit others because they can't be involved
 7111|       |       in cycles:
 7112|       |       type->tp_subclasses is a list of weak references,
 7113|       |       ((PyHeapTypeObject *)type)->ht_slots is a tuple of strings,
 7114|       |       ((PyHeapTypeObject *)type)->ht_*name are strings.
 7115|       |       */
 7116|       |
 7117|    884|    return 0;
 7118|    884|}
typeobject.c:type_clear:
 7122|      6|{
 7123|      6|    PyTypeObject *type = PyTypeObject_CAST(self);
  ------------------
  |  |  203|      6|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 7124|       |
 7125|       |    /* Because of type_is_gc(), the collector only calls this
 7126|       |       for heaptypes. */
 7127|      6|    _PyObject_ASSERT((PyObject *)type, type->tp_flags & Py_TPFLAGS_HEAPTYPE);
  ------------------
  |  |  425|      6|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  423|      6|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  416|      6|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (416:6): [True: 6, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  417|      6|      ? (void)(0) \
  |  |  |  |  |  |  418|      6|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7128|       |
 7129|       |    /* We need to invalidate the method cache carefully before clearing
 7130|       |       the dict, so that other objects caught in a reference cycle
 7131|       |       don't start calling destroyed methods.
 7132|       |
 7133|       |       Otherwise, we need to clear tp_mro, which is
 7134|       |       part of a hard cycle (its first element is the class itself) that
 7135|       |       won't be broken otherwise (it's a tuple and tuples don't have a
 7136|       |       tp_clear handler).
 7137|       |       We also need to clear ht_module, if present: the module usually holds a
 7138|       |       reference to its class. None of the other fields need to be
 7139|       |
 7140|       |       cleared, and here's why:
 7141|       |
 7142|       |       tp_cache:
 7143|       |           Not used; if it were, it would be a dict.
 7144|       |
 7145|       |       tp_bases, tp_base:
 7146|       |           If these are involved in a cycle, there must be at least
 7147|       |           one other, mutable object in the cycle, e.g. a base
 7148|       |           class's dict; the cycle will be broken that way.
 7149|       |
 7150|       |       tp_subclasses:
 7151|       |           A dict of weak references can't be part of a cycle; and
 7152|       |           dicts have their own tp_clear.
 7153|       |
 7154|       |       slots (in PyHeapTypeObject):
 7155|       |           A tuple of strings can't be part of a cycle.
 7156|       |    */
 7157|       |
 7158|      6|    PyType_Modified(type);
 7159|      6|    PyObject *dict = lookup_tp_dict(type);
 7160|      6|    if (dict) {
  ------------------
  |  Branch (7160:9): [True: 6, False: 0]
  ------------------
 7161|      6|        PyDict_Clear(dict);
 7162|      6|    }
 7163|      6|    Py_CLEAR(((PyHeapTypeObject *)type)->ht_module);
  ------------------
  |  |  484|      6|    do { \
  |  |  485|      6|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      6|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      6|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 6]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 7164|       |
 7165|      6|    Py_CLEAR(type->tp_mro);
  ------------------
  |  |  484|      6|    do { \
  |  |  485|      6|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      6|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      6|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 6, False: 0]
  |  |  ------------------
  |  |  488|      6|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      6|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      6|        } \
  |  |  491|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 7166|       |
 7167|      6|    return 0;
 7168|      6|}
typeobject.c:type_mro_impl:
 3512|     80|{
 3513|     80|    PyObject *seq;
 3514|     80|    seq = mro_implementation(self);
 3515|     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 (3515:9): [True: 80, False: 0]
  |  Branch (3515:24): [True: 64, False: 16]
  ------------------
 3516|     64|        Py_SETREF(seq, PySequence_List(seq));
  ------------------
  |  |  354|     64|    do { \
  |  |  355|     64|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|     64|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|     64|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|     64|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|     64|        *_tmp_dst_ptr = (src); \
  |  |  358|     64|        Py_DECREF(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|     64|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 64]
  |  |  ------------------
  ------------------
 3517|     64|    }
 3518|     80|    return seq;
 3519|     80|}
typeobject.c:mro_implementation:
 3495|     80|{
 3496|     80|    PyObject *mro;
 3497|     80|    BEGIN_TYPE_LOCK();
 3498|     80|    mro = mro_implementation_unlocked(type);
 3499|     80|    END_TYPE_LOCK();
 3500|     80|    return mro;
 3501|     80|}
typeobject.c:mro_implementation_unlocked:
 3407|    914|{
 3408|    914|    ASSERT_TYPE_LOCK_HELD();
 3409|       |
 3410|    914|    if (!_PyType_IsReady(type)) {
  ------------------
  |  Branch (3410:9): [True: 0, False: 914]
  ------------------
 3411|      0|        if (PyType_Ready(type) < 0)
  ------------------
  |  Branch (3411:13): [True: 0, False: 0]
  ------------------
 3412|      0|            return NULL;
 3413|      0|    }
 3414|       |
 3415|    914|    PyObject *bases = lookup_tp_bases(type);
 3416|    914|    Py_ssize_t n = PyTuple_GET_SIZE(bases);
  ------------------
  |  |   27|    914|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    914|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    914|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3417|  1.85k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (3417:28): [True: 943, False: 914]
  ------------------
 3418|  1.88k|        PyTypeObject *base = _PyType_CAST(PyTuple_GET_ITEM(bases, i));
  ------------------
  |  |  770|    943|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.88k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (37:38): [True: 943, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3418:30): [True: 943, False: 0]
  |  Branch (3418:30): [True: 943, False: 0]
  ------------------
 3419|    943|        if (lookup_tp_mro(base) == NULL) {
  ------------------
  |  Branch (3419:13): [True: 0, False: 943]
  ------------------
 3420|      0|            PyErr_Format(PyExc_TypeError,
 3421|      0|                         "Cannot extend an incomplete type '%.100s'",
 3422|      0|                         base->tp_name);
 3423|      0|            return NULL;
 3424|      0|        }
 3425|  1.88k|        assert(PyTuple_Check(lookup_tp_mro(base)));
  ------------------
  |  Branch (3425:9): [True: 943, False: 0]
  ------------------
 3426|    943|    }
 3427|       |
 3428|    914|    if (n == 1) {
  ------------------
  |  Branch (3428:9): [True: 884, False: 30]
  ------------------
 3429|       |        /* Fast path: if there is a single base, constructing the MRO
 3430|       |         * is trivial.
 3431|       |         */
 3432|  1.76k|        PyTypeObject *base = _PyType_CAST(PyTuple_GET_ITEM(bases, 0));
  ------------------
  |  |  770|    884|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.76k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (37:38): [True: 884, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3432:30): [True: 884, False: 0]
  |  Branch (3432:30): [True: 884, False: 0]
  ------------------
 3433|      0|        PyObject *base_mro = lookup_tp_mro(base);
 3434|  1.76k|        assert(base_mro != NULL);
  ------------------
  |  Branch (3434:9): [True: 884, False: 0]
  ------------------
 3435|    884|        Py_ssize_t k = PyTuple_GET_SIZE(base_mro);
  ------------------
  |  |   27|    884|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    884|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    884|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3436|    884|        PyObject *result = PyTuple_New(k + 1);
 3437|    884|        if (result == NULL) {
  ------------------
  |  Branch (3437:13): [True: 0, False: 884]
  ------------------
 3438|      0|            return NULL;
 3439|      0|        }
 3440|       |
 3441|    884|        ;
 3442|    884|        PyTuple_SET_ITEM(result, 0, Py_NewRef(type));
  ------------------
  |  |   40|    884|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    884|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    884|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    884|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    884|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3443|  2.71k|        for (Py_ssize_t i = 0; i < k; i++) {
  ------------------
  |  Branch (3443:32): [True: 1.83k, False: 884]
  ------------------
 3444|  1.83k|            PyObject *cls = PyTuple_GET_ITEM(base_mro, i);
  ------------------
  |  |   29|  1.83k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  1.83k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.83k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3444:29): [True: 1.83k, False: 0]
  ------------------
 3445|  1.83k|            PyTuple_SET_ITEM(result, i + 1, Py_NewRef(cls));
  ------------------
  |  |   40|  1.83k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  1.83k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.83k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  1.83k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.83k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3446|  1.83k|        }
 3447|    884|        return result;
 3448|    884|    }
 3449|       |
 3450|       |    /* This is just a basic sanity check. */
 3451|     30|    if (check_duplicates(bases) < 0) {
  ------------------
  |  Branch (3451:9): [True: 0, False: 30]
  ------------------
 3452|      0|        return NULL;
 3453|      0|    }
 3454|       |
 3455|       |    /* Find a superclass linearization that honors the constraints
 3456|       |       of the explicit tuples of bases and the constraints implied by
 3457|       |       each base class.
 3458|       |
 3459|       |       to_merge is an array of tuples, where each tuple is a superclass
 3460|       |       linearization implied by a base class.  The last element of
 3461|       |       to_merge is the declared tuple of bases.
 3462|       |    */
 3463|     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)) ) )
  ------------------
 3464|     30|    if (to_merge == NULL) {
  ------------------
  |  Branch (3464:9): [True: 0, False: 30]
  ------------------
 3465|      0|        PyErr_NoMemory();
 3466|      0|        return NULL;
 3467|      0|    }
 3468|       |
 3469|     30|    PyObject *mro_to_merge;
 3470|     89|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (3470:28): [True: 59, False: 30]
  ------------------
 3471|    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 (3471:30): [True: 59, False: 0]
  |  Branch (3471:30): [True: 59, False: 0]
  ------------------
 3472|      0|        mro_to_merge = lookup_tp_mro(base);
 3473|    118|        assert(mro_to_merge != NULL);
  ------------------
  |  Branch (3473:9): [True: 59, False: 0]
  ------------------
 3474|     59|        to_merge[i] = mro_to_merge;
 3475|     59|    }
 3476|     30|    to_merge[n] = bases;
 3477|       |
 3478|     30|    PyObject *result = PyList_New(1);
 3479|     30|    if (result == NULL) {
  ------------------
  |  Branch (3479:9): [True: 0, False: 30]
  ------------------
 3480|      0|        PyMem_Free(to_merge);
 3481|      0|        return NULL;
 3482|      0|    }
 3483|       |
 3484|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3485|     30|    if (pmerge(result, to_merge, n + 1) < 0) {
  ------------------
  |  Branch (3485:9): [True: 0, False: 30]
  ------------------
 3486|      0|        Py_CLEAR(result);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3487|      0|    }
 3488|     30|    PyMem_Free(to_merge);
 3489|       |
 3490|     30|    return result;
 3491|     30|}
typeobject.c:check_duplicates:
 3246|     30|{
 3247|     30|    Py_ssize_t i, j, n;
 3248|       |    /* Let's use a quadratic time algorithm,
 3249|       |       assuming that the bases tuples is short.
 3250|       |    */
 3251|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3252|     89|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (3252:17): [True: 59, False: 30]
  ------------------
 3253|     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 (3253:23): [True: 59, False: 0]
  ------------------
 3254|     93|        for (j = i + 1; j < n; j++) {
  ------------------
  |  Branch (3254:25): [True: 34, False: 59]
  ------------------
 3255|     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 (3255:17): [True: 34, False: 0]
  |  Branch (3255:17): [True: 0, False: 34]
  ------------------
 3256|      0|                o = class_name(o);
 3257|      0|                if (o != NULL) {
  ------------------
  |  Branch (3257:21): [True: 0, False: 0]
  ------------------
 3258|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3259|      0|                        PyErr_Format(PyExc_TypeError,
 3260|      0|                                     "duplicate base class %U", o);
 3261|      0|                    }
 3262|      0|                    else {
 3263|      0|                        PyErr_SetString(PyExc_TypeError,
 3264|      0|                                        "duplicate base class");
 3265|      0|                    }
 3266|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3267|      0|                }
 3268|      0|                return -1;
 3269|      0|            }
 3270|     34|        }
 3271|     59|    }
 3272|     30|    return 0;
 3273|     30|}
typeobject.c:pmerge:
 3337|     30|{
 3338|     30|    int res = 0;
 3339|     30|    Py_ssize_t i, j, empty_cnt;
 3340|     30|    Py_ssize_t *remain;
 3341|       |
 3342|       |    /* remain stores an index into each sublist of to_merge.
 3343|       |       remain[i] is the index of the next base in to_merge[i]
 3344|       |       that is not included in acc.
 3345|       |    */
 3346|     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)) ) )
  ------------------
 3347|     30|    if (remain == NULL) {
  ------------------
  |  Branch (3347:9): [True: 0, False: 30]
  ------------------
 3348|      0|        PyErr_NoMemory();
 3349|      0|        return -1;
 3350|      0|    }
 3351|    119|    for (i = 0; i < to_merge_size; i++)
  ------------------
  |  Branch (3351:17): [True: 89, False: 30]
  ------------------
 3352|     89|        remain[i] = 0;
 3353|       |
 3354|    163|  again:
 3355|    163|    empty_cnt = 0;
 3356|    311|    for (i = 0; i < to_merge_size; i++) {
  ------------------
  |  Branch (3356:17): [True: 281, False: 30]
  ------------------
 3357|    281|        PyObject *candidate;
 3358|       |
 3359|    281|        PyObject *cur_tuple = to_merge[i];
 3360|       |
 3361|    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 (3361:13): [True: 89, False: 192]
  ------------------
 3362|     89|            empty_cnt++;
 3363|     89|            continue;
 3364|     89|        }
 3365|       |
 3366|       |        /* Choose next candidate for MRO.
 3367|       |
 3368|       |           The input sequences alone can determine the choice.
 3369|       |           If not, choose the class which appears in the MRO
 3370|       |           of the earliest direct superclass of the new class.
 3371|       |        */
 3372|       |
 3373|    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 (3373:21): [True: 192, False: 0]
  ------------------
 3374|    668|        for (j = 0; j < to_merge_size; j++) {
  ------------------
  |  Branch (3374:21): [True: 535, False: 133]
  ------------------
 3375|    535|            PyObject *j_lst = to_merge[j];
 3376|    535|            if (tail_contains(j_lst, remain[j], candidate))
  ------------------
  |  Branch (3376:17): [True: 59, False: 476]
  ------------------
 3377|     59|                goto skip; /* continue outer loop */
 3378|    535|        }
 3379|    133|        res = PyList_Append(acc, candidate);
 3380|    133|        if (res < 0)
  ------------------
  |  Branch (3380:13): [True: 0, False: 133]
  ------------------
 3381|      0|            goto out;
 3382|       |
 3383|    545|        for (j = 0; j < to_merge_size; j++) {
  ------------------
  |  Branch (3383:21): [True: 412, False: 133]
  ------------------
 3384|    412|            PyObject *j_lst = to_merge[j];
 3385|    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 (3385:17): [True: 338, False: 74]
  ------------------
 3386|    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 (3386:17): [True: 338, False: 0]
  |  Branch (3386:17): [True: 245, False: 93]
  ------------------
 3387|    245|                remain[j]++;
 3388|    245|            }
 3389|    412|        }
 3390|    133|        goto again;
 3391|     59|      skip: ;
 3392|     59|    }
 3393|       |
 3394|     30|    if (empty_cnt != to_merge_size) {
  ------------------
  |  Branch (3394:9): [True: 0, False: 30]
  ------------------
 3395|      0|        set_mro_error(to_merge, to_merge_size, remain);
 3396|      0|        res = -1;
 3397|      0|    }
 3398|       |
 3399|     30|  out:
 3400|     30|    PyMem_Free(remain);
 3401|       |
 3402|     30|    return res;
 3403|     30|}
typeobject.c:tail_contains:
 3222|    535|{
 3223|    535|    Py_ssize_t j, size;
 3224|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3225|       |
 3226|    963|    for (j = whence+1; j < size; j++) {
  ------------------
  |  Branch (3226:24): [True: 487, False: 476]
  ------------------
 3227|    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 (3227:13): [True: 487, False: 0]
  |  Branch (3227:13): [True: 59, False: 428]
  ------------------
 3228|     59|            return 1;
 3229|    487|    }
 3230|    476|    return 0;
 3231|    535|}
typeobject.c:type___subclasses___impl:
 6949|     45|{
 6950|     45|    return _PyType_GetSubclasses(self);
 6951|     45|}
typeobject.c:type_prepare:
 6956|    234|{
 6957|    234|    return PyDict_New();
 6958|    234|}
typeobject.c:type___instancecheck___impl:
 2325|      2|{
 2326|      2|    return _PyObject_RealIsInstance(instance, (PyObject *)self);
 2327|      2|}
typeobject.c:type___subclasscheck___impl:
 2341|     10|{
 2342|     10|    return _PyObject_RealIsSubclass(subclass, (PyObject *)self);
 2343|     10|}
typeobject.c:check_set_special_type_attr:
 1450|      4|{
 1451|      4|    if (!value) {
  ------------------
  |  Branch (1451:9): [True: 0, False: 4]
  ------------------
 1452|      0|        PyErr_Format(PyExc_TypeError,
 1453|      0|                     "cannot delete '%s' attribute of type '%s'",
 1454|      0|                     name, type->tp_name);
 1455|      0|        return 0;
 1456|      0|    }
 1457|      4|    if (_PyType_HasFeature(type, Py_TPFLAGS_IMMUTABLETYPE)) {
  ------------------
  |  |  500|      4|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (1457:9): [True: 0, False: 4]
  ------------------
 1458|      0|        PyErr_Format(PyExc_TypeError,
 1459|      0|                     "cannot set '%s' attribute of immutable type '%s'",
 1460|      0|                     name, type->tp_name);
 1461|      0|        return 0;
 1462|      0|    }
 1463|       |
 1464|      4|    if (PySys_Audit("object.__setattr__", "OsO",
  ------------------
  |  Branch (1464:9): [True: 0, False: 4]
  ------------------
 1465|      4|                    type, name, value) < 0) {
 1466|      0|        return 0;
 1467|      0|    }
 1468|       |
 1469|      4|    return 1;
 1470|      4|}
typeobject.c:type_get_bases:
 1728|     71|{
 1729|     71|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  203|     71|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1730|     71|    PyObject *bases = _PyType_GetBases(type);
 1731|     71|    if (bases == NULL) {
  ------------------
  |  Branch (1731:9): [True: 0, False: 71]
  ------------------
 1732|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1733|      0|    }
 1734|     71|    return bases;
 1735|     71|}
typeobject.c:mro_internal:
 3631|    914|{
 3632|    914|    ASSERT_TYPE_LOCK_HELD();
 3633|       |
 3634|    914|    PyObject *new_mro, *old_mro;
 3635|    914|    int reent;
 3636|       |
 3637|       |    /* Keep a reference to be able to do a reentrancy check below.
 3638|       |       Don't let old_mro be GC'ed and its address be reused for
 3639|       |       another object, like (suddenly!) a new tp_mro.  */
 3640|    914|    old_mro = Py_XNewRef(lookup_tp_mro(type));
  ------------------
  |  |  551|    914|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    914|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    914|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3641|    914|    new_mro = mro_invoke(type);  /* might cause reentrance */
 3642|    914|    reent = (lookup_tp_mro(type) != old_mro);
 3643|    914|    Py_XDECREF(old_mro);
  ------------------
  |  |  524|    914|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    914|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    914|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3644|    914|    if (new_mro == NULL) {
  ------------------
  |  Branch (3644:9): [True: 0, False: 914]
  ------------------
 3645|      0|        return -1;
 3646|      0|    }
 3647|       |
 3648|    914|    if (reent) {
  ------------------
  |  Branch (3648:9): [True: 0, False: 914]
  ------------------
 3649|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3650|      0|        return 0;
 3651|      0|    }
 3652|       |
 3653|    914|    set_tp_mro(type, new_mro, initial);
 3654|       |
 3655|    914|    type_mro_modified(type, new_mro);
 3656|       |    /* corner case: the super class might have been hidden
 3657|       |       from the custom MRO */
 3658|    914|    type_mro_modified(type, lookup_tp_bases(type));
 3659|       |
 3660|       |    // XXX Expand this to Py_TPFLAGS_IMMUTABLETYPE?
 3661|    914|    if (!(type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN)) {
  ------------------
  |  |  467|    914|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (3661:9): [True: 498, False: 416]
  ------------------
 3662|    498|        _PyType_Modified_Unlocked(type);
 3663|    498|    }
 3664|    416|    else {
 3665|       |        /* For static builtin types, this is only called during init
 3666|       |           before the method cache has been populated. */
 3667|    416|        assert(type->tp_version_tag);
  ------------------
  |  Branch (3667:9): [True: 416, False: 0]
  ------------------
 3668|    416|    }
 3669|       |
 3670|    914|    if (p_old_mro != NULL)
  ------------------
  |  Branch (3670:9): [True: 0, False: 914]
  ------------------
 3671|      0|        *p_old_mro = old_mro;  /* transfer the ownership */
 3672|    914|    else
 3673|    914|        Py_XDECREF(old_mro);
  ------------------
  |  |  524|    914|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    914|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    914|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3674|       |
 3675|    914|    return 1;
 3676|    914|}
typeobject.c:mro_invoke:
 3567|    914|{
 3568|    914|    PyObject *mro_result;
 3569|    914|    PyObject *new_mro;
 3570|       |
 3571|    914|    ASSERT_TYPE_LOCK_HELD();
 3572|       |
 3573|    914|    const int custom = !Py_IS_TYPE(type, &PyType_Type);
  ------------------
  |  |  215|    914|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    914|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    914|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3574|       |
 3575|    914|    if (custom) {
  ------------------
  |  Branch (3575:9): [True: 80, False: 834]
  ------------------
 3576|       |        // Custom mro() method on metaclass.  This is potentially re-entrant.
 3577|       |        // We are called either from type_ready() or from type_set_bases().
 3578|     80|        mro_result = call_method_noarg((PyObject *)type, &_Py_ID(mro));
  ------------------
  |  |  936|     80|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     80|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     80|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3579|     80|    }
 3580|    834|    else {
 3581|       |        // In this case, the mro() method on the type object is being used and
 3582|       |        // we know that these calls are not re-entrant.
 3583|    834|        mro_result = mro_implementation_unlocked(type);
 3584|    834|    }
 3585|    914|    if (mro_result == NULL)
  ------------------
  |  Branch (3585:9): [True: 0, False: 914]
  ------------------
 3586|      0|        return NULL;
 3587|       |
 3588|    914|    new_mro = PySequence_Tuple(mro_result);
 3589|    914|    Py_DECREF(mro_result);
  ------------------
  |  |  430|    914|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    914|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    914|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3590|    914|    if (new_mro == NULL) {
  ------------------
  |  Branch (3590:9): [True: 0, False: 914]
  ------------------
 3591|      0|        return NULL;
 3592|      0|    }
 3593|       |
 3594|    914|    if (PyTuple_GET_SIZE(new_mro) == 0) {
  ------------------
  |  |   27|    914|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    914|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    914|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3594:9): [True: 0, False: 914]
  ------------------
 3595|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3596|      0|        PyErr_Format(PyExc_TypeError, "type MRO must not be empty");
 3597|      0|        return NULL;
 3598|      0|    }
 3599|       |
 3600|    914|    if (custom && mro_check(type, new_mro) < 0) {
  ------------------
  |  Branch (3600:9): [True: 80, False: 834]
  |  Branch (3600:19): [True: 0, False: 80]
  ------------------
 3601|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3602|      0|        return NULL;
 3603|      0|    }
 3604|    914|    return new_mro;
 3605|    914|}
typeobject.c:call_method_noarg:
 3050|     80|{
 3051|     80|    PyThreadState *tstate = _PyThreadState_GET();
 3052|     80|    _PyCStackRef cref;
 3053|     80|    _PyThreadState_PushCStackRef(tstate, &cref);
 3054|     80|    PyObject *res = NULL;
 3055|     80|    int unbound = lookup_method(self, attr, &cref.ref);
 3056|     80|    if (unbound >= 0) {
  ------------------
  |  Branch (3056:9): [True: 80, False: 0]
  ------------------
 3057|     80|        PyObject *func = PyStackRef_AsPyObjectBorrow(cref.ref);
 3058|     80|        res = call_unbound_noarg(unbound, func, self);
 3059|     80|    }
 3060|     80|    _PyThreadState_PopCStackRef(tstate, &cref);
 3061|     80|    return res;
 3062|     80|}
typeobject.c:mro_check:
 3523|     80|{
 3524|     80|    PyTypeObject *solid;
 3525|     80|    Py_ssize_t i, n;
 3526|       |
 3527|     80|    solid = solid_base(type);
 3528|       |
 3529|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3530|    462|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (3530:17): [True: 382, False: 80]
  ------------------
 3531|    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 (3531:25): [True: 382, False: 0]
  ------------------
 3532|    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 (3532:13): [True: 0, False: 382]
  ------------------
 3533|      0|            PyErr_Format(PyExc_TypeError,
 3534|      0|                         "%N.mro() returned a non-class ('%T')", type, obj);
 3535|      0|            return -1;
 3536|      0|        }
 3537|    382|        PyTypeObject *base = (PyTypeObject*)obj;
 3538|       |
 3539|    382|        if (!is_subtype_with_mro(lookup_tp_mro(solid), solid, solid_base(base))) {
  ------------------
  |  Branch (3539:13): [True: 0, False: 382]
  ------------------
 3540|      0|            PyErr_Format(
 3541|      0|                PyExc_TypeError,
 3542|      0|                "%N.mro() returned base with unsuitable layout ('%N')",
 3543|      0|                type, base);
 3544|      0|            return -1;
 3545|      0|        }
 3546|    382|    }
 3547|       |
 3548|     80|    return 0;
 3549|     80|}
typeobject.c:type_mro_modified:
 1245|  1.82k|{
 1246|       |    /*
 1247|       |       Check that all base classes or elements of the MRO of type are
 1248|       |       able to be cached.  This function is called after the base
 1249|       |       classes or mro of the type are altered.
 1250|       |
 1251|       |       Unset HAVE_VERSION_TAG and VALID_VERSION_TAG if the type
 1252|       |       has a custom MRO that includes a type which is not officially
 1253|       |       super type, or if the type implements its own mro() method.
 1254|       |
 1255|       |       Called from mro_internal, which will subsequently be called on
 1256|       |       each subclass when their mro is recursively updated.
 1257|       |     */
 1258|  1.82k|    Py_ssize_t i, n;
 1259|       |
 1260|  1.82k|    ASSERT_TYPE_LOCK_HELD();
 1261|  1.82k|    if (!Py_IS_TYPE(type, &PyType_Type) && has_custom_mro(type)) {
  ------------------
  |  |  215|  3.65k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  1.82k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.82k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1261:9): [True: 160, False: 1.66k]
  |  Branch (1261:44): [True: 0, False: 160]
  ------------------
 1262|      0|        goto clear;
 1263|      0|    }
 1264|  1.82k|    n = PyTuple_GET_SIZE(bases);
  ------------------
  |  |   27|  1.82k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.82k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.82k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1265|  5.65k|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (1265:17): [True: 3.82k, False: 1.82k]
  ------------------
 1266|  3.82k|        PyObject *b = PyTuple_GET_ITEM(bases, i);
  ------------------
  |  |   29|  3.82k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  3.82k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.82k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1266:23): [True: 3.82k, False: 0]
  ------------------
 1267|  3.82k|        PyTypeObject *cls = _PyType_CAST(b);
  ------------------
  |  |  770|  3.82k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.82k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1267:29): [True: 3.82k, False: 0]
  ------------------
 1268|       |
 1269|  3.82k|        if (cls->tp_versions_used >= _Py_ATTR_CACHE_UNUSED) {
  ------------------
  |  |  253|  3.82k|#define _Py_ATTR_CACHE_UNUSED (30000)  // (see tp_versions_used)
  ------------------
  |  Branch (1269:13): [True: 0, False: 3.82k]
  ------------------
 1270|      0|            goto clear;
 1271|      0|        }
 1272|       |
 1273|  3.82k|        if (!is_subtype_with_mro(lookup_tp_mro(type), type, cls)) {
  ------------------
  |  Branch (1273:13): [True: 0, False: 3.82k]
  ------------------
 1274|      0|            goto clear;
 1275|      0|        }
 1276|  3.82k|    }
 1277|  1.82k|    return;
 1278|       |
 1279|  1.82k| clear:
 1280|      0|    assert(!(type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN));
  ------------------
  |  Branch (1280:5): [True: 0, False: 0]
  ------------------
 1281|      0|    set_version_unlocked(type, 0);  /* 0 is not a valid version tag */
 1282|      0|    _PyTypeCache_Invalidate(type);
 1283|      0|    type->tp_versions_used = _Py_ATTR_CACHE_UNUSED;
  ------------------
  |  |  253|      0|#define _Py_ATTR_CACHE_UNUSED (30000)  // (see tp_versions_used)
  ------------------
 1284|      0|    if (PyType_HasFeature(type, Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|      0|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (1284:9): [True: 0, False: 0]
  ------------------
 1285|       |        // This field *must* be invalidated if the type is modified (see the
 1286|       |        // comment on struct _specialization_cache):
 1287|      0|        FT_ATOMIC_STORE_PTR_RELAXED(
  ------------------
  |  |  163|      0|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
 1288|      0|            ((PyHeapTypeObject *)type)->_spec_cache.getitem, NULL);
 1289|      0|    }
 1290|      0|}
typeobject.c:has_custom_mro:
 1227|    160|{
 1228|    160|    _PyCStackRef c_ref1, c_ref2;
 1229|    160|    PyThreadState *tstate = _PyThreadState_GET();
 1230|    160|    _PyThreadState_PushCStackRef(tstate, &c_ref1);
 1231|    160|    _PyThreadState_PushCStackRef(tstate, &c_ref2);
 1232|       |
 1233|    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);
  ------------------
  |  |  936|    160|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    160|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    160|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1234|    160|    _PyType_LookupStackRefAndVersion(&PyType_Type, &_Py_ID(mro), &c_ref2.ref);
  ------------------
  |  |  936|    160|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    160|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    160|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1235|       |
 1236|    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
  |  |  ------------------
  ------------------
 1237|       |
 1238|    160|    _PyThreadState_PopCStackRef(tstate, &c_ref2);
 1239|    160|    _PyThreadState_PopCStackRef(tstate, &c_ref1);
 1240|    160|    return custom;
 1241|    160|}
typeobject.c:set_tp_mro:
  655|    914|{
  656|    914|    if (mro != NULL) {
  ------------------
  |  Branch (656:9): [True: 914, False: 0]
  ------------------
  657|    914|        assert(PyTuple_CheckExact(mro));
  ------------------
  |  Branch (657:9): [True: 914, False: 0]
  ------------------
  658|    914|        if (self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|    914|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (658:13): [True: 416, False: 498]
  ------------------
  659|       |            // XXX tp_mro can probably be statically allocated for each
  660|       |            // static builtin type.
  661|    416|            assert(initial);
  ------------------
  |  Branch (661:13): [True: 416, False: 0]
  ------------------
  662|    416|            assert(self->tp_mro == NULL);
  ------------------
  |  Branch (662:13): [True: 416, False: 0]
  ------------------
  663|       |            /* Other checks are done via set_tp_bases. */
  664|    416|            _Py_SetImmortal(mro);
  665|    416|        }
  666|    498|        else {
  667|    498|            PyUnstable_Object_EnableDeferredRefcount(mro);
  668|    498|        }
  669|    914|    }
  670|    914|    pinned_mutexes_t pinned;
  671|    914|    if (!initial) {
  ------------------
  |  Branch (671:9): [True: 0, False: 914]
  ------------------
  672|      0|        type_lock_prevent_release(&pinned);
  ------------------
  |  |  198|      0|#define type_lock_prevent_release(pinned) ((void)(pinned))
  ------------------
  673|      0|        types_stop_world();
  674|      0|    }
  675|    914|    self->tp_mro = mro;
  676|    914|    if (!initial) {
  ------------------
  |  Branch (676:9): [True: 0, False: 914]
  ------------------
  677|      0|        types_start_world();
  678|      0|        type_lock_allow_release(&pinned);
  ------------------
  |  |  199|      0|#define type_lock_allow_release(pinned) ((void)(pinned))
  ------------------
  679|      0|    }
  680|    914|}
typeobject.c:type_get_module:
 1601|     19|{
 1602|     19|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  203|     19|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1603|     19|    return type_module(type);
 1604|     19|}
typeobject.c:type_set_module:
 1608|      4|{
 1609|      4|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  203|      4|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1610|      4|    if (!check_set_special_type_attr(type, value, "__module__"))
  ------------------
  |  Branch (1610:9): [True: 0, False: 4]
  ------------------
 1611|      0|        return -1;
 1612|       |
 1613|      4|    PyType_Modified(type);
 1614|       |
 1615|      4|    PyObject *dict = lookup_tp_dict(type);
 1616|      4|    if (PyDict_Pop(dict, &_Py_ID(__firstlineno__), NULL) < 0) {
  ------------------
  |  |  936|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1616:9): [True: 0, False: 4]
  ------------------
 1617|      0|        return -1;
 1618|      0|    }
 1619|      4|    return PyDict_SetItem(dict, &_Py_ID(__module__), value);
  ------------------
  |  |  936|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1620|      4|}
typeobject.c:type_abstractmethods:
 1664|     86|{
 1665|     86|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  203|     86|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1666|     86|    PyObject *res = NULL;
 1667|       |    /* type itself has an __abstractmethods__ descriptor (this). Don't return
 1668|       |       that. */
 1669|     86|    if (type == &PyType_Type) {
  ------------------
  |  Branch (1669:9): [True: 0, False: 86]
  ------------------
 1670|      0|        PyErr_SetObject(PyExc_AttributeError, &_Py_ID(__abstractmethods__));
  ------------------
  |  |  936|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1671|      0|    }
 1672|     86|    else {
 1673|     86|        PyObject *dict = lookup_tp_dict(type);
 1674|     86|        if (PyDict_GetItemRef(dict, &_Py_ID(__abstractmethods__), &res) == 0) {
  ------------------
  |  |  936|     86|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     86|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     86|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1674:13): [True: 24, False: 62]
  ------------------
 1675|     24|            PyErr_SetObject(PyExc_AttributeError, &_Py_ID(__abstractmethods__));
  ------------------
  |  |  936|     24|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     24|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     24|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1676|     24|        }
 1677|     86|    }
 1678|     86|    return res;
 1679|     86|}
typeobject.c:type_set_abstractmethods:
 1683|     71|{
 1684|     71|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  203|     71|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1685|       |    /* __abstractmethods__ should only be set once on a type, in
 1686|       |       abc.ABCMeta.__new__, so this function doesn't do anything
 1687|       |       special to update subclasses.
 1688|       |    */
 1689|     71|    int abstract, res;
 1690|     71|    PyObject *dict = lookup_tp_dict(type);
 1691|     71|    if (value != NULL) {
  ------------------
  |  Branch (1691:9): [True: 71, False: 0]
  ------------------
 1692|     71|        abstract = PyObject_IsTrue(value);
 1693|     71|        if (abstract < 0)
  ------------------
  |  Branch (1693:13): [True: 0, False: 71]
  ------------------
 1694|      0|            return -1;
 1695|     71|        res = PyDict_SetItem(dict, &_Py_ID(__abstractmethods__), value);
  ------------------
  |  |  936|     71|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     71|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     71|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1696|     71|    }
 1697|      0|    else {
 1698|      0|        abstract = 0;
 1699|      0|        res = PyDict_Pop(dict, &_Py_ID(__abstractmethods__), NULL);
  ------------------
  |  |  936|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1700|      0|        if (res == 0) {
  ------------------
  |  Branch (1700:13): [True: 0, False: 0]
  ------------------
 1701|      0|            PyErr_SetObject(PyExc_AttributeError, &_Py_ID(__abstractmethods__));
  ------------------
  |  |  936|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1702|      0|            return -1;
 1703|      0|        }
 1704|      0|    }
 1705|     71|    if (res < 0) {
  ------------------
  |  Branch (1705:9): [True: 0, False: 71]
  ------------------
 1706|      0|        return -1;
 1707|      0|    }
 1708|       |
 1709|     71|    pinned_mutexes_t pinned;
 1710|     71|    BEGIN_TYPE_LOCK();
 1711|     71|    _PyType_Modified_Unlocked(type);
 1712|     71|    type_lock_prevent_release(&pinned);
  ------------------
  |  |  198|     71|#define type_lock_prevent_release(pinned) ((void)(pinned))
  ------------------
 1713|     71|    types_stop_world();
 1714|     71|    if (abstract)
  ------------------
  |  Branch (1714:9): [True: 48, False: 23]
  ------------------
 1715|     48|        type_add_flags(type, Py_TPFLAGS_IS_ABSTRACT);
  ------------------
  |  |  540|     48|#define Py_TPFLAGS_IS_ABSTRACT (1UL << 20)
  ------------------
 1716|     23|    else
 1717|     23|        type_clear_flags(type, Py_TPFLAGS_IS_ABSTRACT);
  ------------------
  |  |  540|     23|#define Py_TPFLAGS_IS_ABSTRACT (1UL << 20)
  ------------------
 1718|     71|    types_start_world();
 1719|     71|    type_lock_allow_release(&pinned);
  ------------------
  |  |  199|     71|#define type_lock_allow_release(pinned) ((void)(pinned))
  ------------------
 1720|     71|    ASSERT_TYPE_LOCK_HELD();
 1721|     71|    END_TYPE_LOCK();
 1722|       |
 1723|     71|    return 0;
 1724|     71|}
typeobject.c:type_dict:
 2010|    381|{
 2011|    381|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  203|    381|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 2012|    381|    PyObject *dict = lookup_tp_dict(type);
 2013|    381|    if (dict == NULL) {
  ------------------
  |  Branch (2013:9): [True: 0, False: 381]
  ------------------
 2014|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 2015|      0|    }
 2016|    381|    return PyDictProxy_New(dict);
 2017|    381|}
typeobject.c:type_get_doc:
 2021|     23|{
 2022|     23|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  203|     23|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 2023|     23|    PyObject *result;
 2024|     23|    if (!(type->tp_flags & Py_TPFLAGS_HEAPTYPE) && type->tp_doc != NULL) {
  ------------------
  |  |  503|     23|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (2024:9): [True: 17, False: 6]
  |  Branch (2024:52): [True: 17, False: 0]
  ------------------
 2025|     17|        return _PyType_GetDocFromInternalDoc(type->tp_name, type->tp_doc);
 2026|     17|    }
 2027|      6|    PyObject *dict = lookup_tp_dict(type);
 2028|      6|    if (PyDict_GetItemRef(dict, &_Py_ID(__doc__), &result) == 0) {
  ------------------
  |  |  936|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2028:9): [True: 0, False: 6]
  ------------------
 2029|      0|        result = Py_NewRef(Py_None);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2030|      0|    }
 2031|      6|    else if (result) {
  ------------------
  |  Branch (2031:14): [True: 6, False: 0]
  ------------------
 2032|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2033|      6|        if (descr_get) {
  ------------------
  |  Branch (2033:13): [True: 0, False: 6]
  ------------------
 2034|      0|            Py_SETREF(result, descr_get(result, NULL, (PyObject *)type));
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2035|      0|        }
 2036|      6|    }
 2037|      6|    return result;
 2038|     23|}
typeobject.c:type_set_annotations:
 2210|    113|{
 2211|    113|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  203|    113|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 2212|    113|    if (_PyType_HasFeature(type, Py_TPFLAGS_IMMUTABLETYPE)) {
  ------------------
  |  |  500|    113|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (2212:9): [True: 0, False: 113]
  ------------------
 2213|      0|        PyErr_Format(PyExc_TypeError,
 2214|      0|                     "cannot set '__annotations__' attribute of immutable type '%s'",
 2215|      0|                     type->tp_name);
 2216|      0|        return -1;
 2217|      0|    }
 2218|       |
 2219|    113|    PyObject *dict = PyType_GetDict(type);
 2220|    113|    int result = PyDict_ContainsString(dict, "__annotations__");
 2221|    113|    if (result < 0) {
  ------------------
  |  Branch (2221:9): [True: 0, False: 113]
  ------------------
 2222|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2223|      0|        return -1;
 2224|      0|    }
 2225|    113|    if (result) {
  ------------------
  |  Branch (2225:9): [True: 0, False: 113]
  ------------------
 2226|       |        // If __annotations__ is currently in the dict, we update it,
 2227|      0|        if (value != NULL) {
  ------------------
  |  Branch (2227:13): [True: 0, False: 0]
  ------------------
 2228|      0|            result = PyDict_SetItem(dict, &_Py_ID(__annotations__), value);
  ------------------
  |  |  936|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2229|      0|        } else {
 2230|      0|            result = PyDict_Pop(dict, &_Py_ID(__annotations__), NULL);
  ------------------
  |  |  936|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2231|      0|            if (result == 0) {
  ------------------
  |  Branch (2231:17): [True: 0, False: 0]
  ------------------
 2232|       |                // Somebody else just deleted it?
 2233|      0|                PyErr_SetString(PyExc_AttributeError, "__annotations__");
 2234|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2235|      0|                return -1;
 2236|      0|            }
 2237|      0|        }
 2238|      0|        if (result < 0) {
  ------------------
  |  Branch (2238:13): [True: 0, False: 0]
  ------------------
 2239|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2240|      0|            return -1;
 2241|      0|        }
 2242|       |        // Also clear __annotations_cache__ just in case.
 2243|      0|        result = PyDict_Pop(dict, &_Py_ID(__annotations_cache__), NULL);
  ------------------
  |  |  936|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2244|      0|    }
 2245|    113|    else {
 2246|       |        // Else we update only __annotations_cache__.
 2247|    113|        if (value != NULL) {
  ------------------
  |  Branch (2247:13): [True: 113, False: 0]
  ------------------
 2248|       |            /* set */
 2249|    113|            result = PyDict_SetItem(dict, &_Py_ID(__annotations_cache__), value);
  ------------------
  |  |  936|    113|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    113|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    113|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2250|    113|        } else {
 2251|       |            /* delete */
 2252|      0|            result = PyDict_Pop(dict, &_Py_ID(__annotations_cache__), NULL);
  ------------------
  |  |  936|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2253|      0|            if (result == 0) {
  ------------------
  |  Branch (2253:17): [True: 0, False: 0]
  ------------------
 2254|      0|                PyErr_SetString(PyExc_AttributeError, "__annotations__");
 2255|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2256|      0|                return -1;
 2257|      0|            }
 2258|      0|        }
 2259|    113|    }
 2260|    113|    if (result < 0) {
  ------------------
  |  Branch (2260:9): [True: 0, False: 113]
  ------------------
 2261|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2262|      0|        return -1;
 2263|    113|    } else {  // result can be 0 or 1
 2264|    113|        if (PyDict_Pop(dict, &_Py_ID(__annotate_func__), NULL) < 0) {
  ------------------
  |  |  936|    113|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    113|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    113|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2264:13): [True: 0, False: 113]
  ------------------
 2265|      0|            PyType_Modified(type);
 2266|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2267|      0|            return -1;
 2268|      0|        }
 2269|    113|        if (PyDict_Pop(dict, &_Py_ID(__annotate__), NULL) < 0) {
  ------------------
  |  |  936|    113|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    113|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    113|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2269:13): [True: 0, False: 113]
  ------------------
 2270|      0|            PyType_Modified(type);
 2271|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2272|      0|            return -1;
 2273|      0|        }
 2274|    113|    }
 2275|    113|    PyType_Modified(type);
 2276|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2277|    113|    return 0;
 2278|    113|}
typeobject.c:type_init:
 4099|    376|{
 4100|    376|    assert(args != NULL && PyTuple_Check(args));
  ------------------
  |  Branch (4100:5): [True: 376, False: 0]
  |  Branch (4100:5): [True: 376, False: 0]
  ------------------
 4101|    376|    assert(kwds == NULL || PyDict_Check(kwds));
  ------------------
  |  Branch (4101:5): [True: 348, False: 28]
  |  Branch (4101:5): [True: 28, False: 0]
  ------------------
 4102|       |
 4103|    376|    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 (4103:9): [True: 28, False: 348]
  |  Branch (4103:25): [True: 0, False: 28]
  ------------------
 4104|      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 (4104:9): [True: 0, False: 0]
  ------------------
 4105|      0|        PyErr_SetString(PyExc_TypeError,
 4106|      0|                        "type.__init__() takes no keyword arguments");
 4107|      0|        return -1;
 4108|      0|    }
 4109|       |
 4110|    376|    if ((PyTuple_GET_SIZE(args) != 1 && PyTuple_GET_SIZE(args) != 3)) {
  ------------------
  |  |   27|    376|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    376|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    376|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if ((PyTuple_GET_SIZE(args) != 1 && PyTuple_GET_SIZE(args) != 3)) {
  ------------------
  |  |   27|    376|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    376|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    376|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4110:10): [True: 376, False: 0]
  |  Branch (4110:41): [True: 0, False: 376]
  ------------------
 4111|      0|        PyErr_SetString(PyExc_TypeError,
 4112|      0|                        "type.__init__() takes 1 or 3 arguments");
 4113|      0|        return -1;
 4114|      0|    }
 4115|       |
 4116|    376|    return 0;
 4117|    376|}
typeobject.c:type_new:
 5042|    378|{
 5043|    378|    assert(args != NULL && PyTuple_Check(args));
  ------------------
  |  Branch (5043:5): [True: 378, False: 0]
  |  Branch (5043:5): [True: 378, False: 0]
  ------------------
 5044|    378|    assert(kwds == NULL || PyDict_Check(kwds));
  ------------------
  |  Branch (5044:5): [True: 376, False: 2]
  |  Branch (5044:5): [True: 2, False: 0]
  ------------------
 5045|       |
 5046|       |    /* Parse arguments: (name, bases, dict) */
 5047|    378|    PyObject *name, *bases, *orig_dict;
 5048|    378|    if (!PyArg_ParseTuple(args, "UO!O:type.__new__",
  ------------------
  |  Branch (5048:9): [True: 0, False: 378]
  ------------------
 5049|    378|                          &name,
 5050|    378|                          &PyTuple_Type, &bases,
 5051|    378|                          &orig_dict))
 5052|      0|    {
 5053|      0|        return NULL;
 5054|      0|    }
 5055|    378|    if (!PyAnyDict_Check(orig_dict)) {
  ------------------
  |  |   43|    378|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|    378|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    756|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 378, 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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5056|      0|        PyErr_Format(PyExc_TypeError,
 5057|      0|                     "type.__new__() argument 3 must be dict or frozendict, not %T",
 5058|      0|                     orig_dict);
 5059|      0|        return NULL;
 5060|      0|    }
 5061|       |
 5062|    378|    type_new_ctx ctx = {
 5063|    378|        .metatype = metatype,
 5064|    378|        .args = args,
 5065|    378|        .kwds = kwds,
 5066|    378|        .orig_dict = orig_dict,
 5067|    378|        .name = name,
 5068|    378|        .bases = bases,
 5069|    378|        .base = NULL,
 5070|    378|        .slots = NULL,
 5071|    378|        .nslot = 0,
 5072|    378|        .add_dict = 0,
 5073|    378|        .add_weak = 0,
 5074|    378|        .may_add_dict = 0,
 5075|    378|        .may_add_weak = 0};
 5076|    378|    PyObject *type = NULL;
 5077|    378|    int res = type_new_get_bases(&ctx, &type);
 5078|    378|    if (res < 0) {
  ------------------
  |  Branch (5078:9): [True: 0, False: 378]
  ------------------
 5079|      0|        assert(PyErr_Occurred());
  ------------------
  |  Branch (5079:9): [True: 0, False: 0]
  ------------------
 5080|      0|        return NULL;
 5081|      0|    }
 5082|    378|    if (res == 1) {
  ------------------
  |  Branch (5082:9): [True: 2, False: 376]
  ------------------
 5083|      2|        assert(type != NULL);
  ------------------
  |  Branch (5083:9): [True: 2, False: 0]
  ------------------
 5084|      2|        return type;
 5085|      2|    }
 5086|    378|    assert(ctx.base != NULL);
  ------------------
  |  Branch (5086:5): [True: 376, False: 0]
  ------------------
 5087|    376|    assert(ctx.bases != NULL);
  ------------------
  |  Branch (5087:5): [True: 376, False: 0]
  ------------------
 5088|       |
 5089|    376|    type = type_new_impl(&ctx);
 5090|    376|    Py_DECREF(ctx.bases);
  ------------------
  |  |  430|    376|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    376|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    376|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5091|    376|    return type;
 5092|    376|}
typeobject.c:type_new_get_bases:
 4971|    378|{
 4972|    378|    Py_ssize_t nbases = PyTuple_GET_SIZE(ctx->bases);
  ------------------
  |  |   27|    378|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    378|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    378|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4973|    378|    if (nbases == 0) {
  ------------------
  |  Branch (4973:9): [True: 96, False: 282]
  ------------------
 4974|       |        // Adjust for empty tuple bases
 4975|     96|        ctx->base = &PyBaseObject_Type;
 4976|     96|        PyObject *new_bases = PyTuple_Pack(1, ctx->base);
 4977|     96|        if (new_bases == NULL) {
  ------------------
  |  Branch (4977:13): [True: 0, False: 96]
  ------------------
 4978|      0|            return -1;
 4979|      0|        }
 4980|     96|        ctx->bases = new_bases;
 4981|     96|        return 0;
 4982|     96|    }
 4983|       |
 4984|    595|    for (Py_ssize_t i = 0; i < nbases; i++) {
  ------------------
  |  Branch (4984:28): [True: 313, False: 282]
  ------------------
 4985|    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 (4985:26): [True: 313, False: 0]
  ------------------
 4986|    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]
  |  |  ------------------
  ------------------
 4987|    313|            continue;
 4988|    313|        }
 4989|      0|        int rc = PyObject_HasAttrWithError(base, &_Py_ID(__mro_entries__));
  ------------------
  |  |  936|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4990|      0|        if (rc < 0) {
  ------------------
  |  Branch (4990:13): [True: 0, False: 0]
  ------------------
 4991|      0|            return -1;
 4992|      0|        }
 4993|      0|        if (rc) {
  ------------------
  |  Branch (4993:13): [True: 0, False: 0]
  ------------------
 4994|      0|            PyErr_SetString(PyExc_TypeError,
 4995|      0|                            "type() doesn't support MRO entry resolution; "
 4996|      0|                            "use types.new_class()");
 4997|      0|            return -1;
 4998|      0|        }
 4999|      0|    }
 5000|       |
 5001|       |    // Search the bases for the proper metatype to deal with this
 5002|    282|    PyTypeObject *winner;
 5003|    282|    winner = _PyType_CalculateMetaclass(ctx->metatype, ctx->bases);
 5004|    282|    if (winner == NULL) {
  ------------------
  |  Branch (5004:9): [True: 0, False: 282]
  ------------------
 5005|      0|        return -1;
 5006|      0|    }
 5007|       |
 5008|    282|    if (winner != ctx->metatype) {
  ------------------
  |  Branch (5008:9): [True: 2, False: 280]
  ------------------
 5009|      2|        if (winner->tp_new != type_new) {
  ------------------
  |  Branch (5009:13): [True: 2, False: 0]
  ------------------
 5010|       |            /* Check if tp_new is NULL (cannot instantiate this type) */
 5011|      2|            if (winner->tp_new == NULL) {
  ------------------
  |  Branch (5011:17): [True: 0, False: 2]
  ------------------
 5012|      0|                PyErr_Format(PyExc_TypeError,
 5013|      0|                             "cannot create '%.400s' instances",
 5014|      0|                             winner->tp_name);
 5015|      0|                return -1;
 5016|      0|            }
 5017|       |            /* Pass it to the winner */
 5018|      2|            *type = winner->tp_new(winner, ctx->args, ctx->kwds);
 5019|      2|            if (*type == NULL) {
  ------------------
  |  Branch (5019:17): [True: 0, False: 2]
  ------------------
 5020|      0|                return -1;
 5021|      0|            }
 5022|      2|            return 1;
 5023|      2|        }
 5024|       |
 5025|      0|        ctx->metatype = winner;
 5026|      0|    }
 5027|       |
 5028|       |    /* Calculate best base, and check that all bases are type objects */
 5029|    280|    PyTypeObject *base = find_best_base(ctx->bases);
 5030|    280|    if (base == NULL) {
  ------------------
  |  Branch (5030:9): [True: 0, False: 280]
  ------------------
 5031|      0|        return -1;
 5032|      0|    }
 5033|       |
 5034|    280|    ctx->base = base;
 5035|    280|    ctx->bases = Py_NewRef(ctx->bases);
  ------------------
  |  |  550|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5036|    280|    return 0;
 5037|    280|}
typeobject.c:type_new_impl:
 4925|    376|{
 4926|    376|    PyTypeObject *type = type_new_init(ctx);
 4927|    376|    if (type == NULL) {
  ------------------
  |  Branch (4927:9): [True: 0, False: 376]
  ------------------
 4928|      0|        return NULL;
 4929|      0|    }
 4930|       |
 4931|    376|    if (type_new_set_attrs(ctx, type) < 0) {
  ------------------
  |  Branch (4931:9): [True: 0, False: 376]
  ------------------
 4932|      0|        goto error;
 4933|      0|    }
 4934|       |
 4935|       |    /* Initialize the rest */
 4936|    376|    if (type_ready_publish(type, 1) < 0) {
  ------------------
  |  Branch (4936:9): [True: 0, False: 376]
  ------------------
 4937|      0|        goto error;
 4938|      0|    }
 4939|       |
 4940|    376|    if (!_PyDict_HasOnlyStringKeys(type->tp_dict)) {
  ------------------
  |  Branch (4940:9): [True: 0, False: 376]
  ------------------
 4941|      0|        if (PyErr_WarnFormat(
  ------------------
  |  Branch (4941:13): [True: 0, False: 0]
  ------------------
 4942|      0|                PyExc_RuntimeWarning,
 4943|      0|                1,
 4944|      0|                "non-string key in the __dict__ of class %.200s",
 4945|      0|                type->tp_name) == -1)
 4946|      0|        {
 4947|      0|            goto error;
 4948|      0|        }
 4949|      0|    }
 4950|       |
 4951|    376|    if (type_new_set_names(type) < 0) {
  ------------------
  |  Branch (4951:9): [True: 0, False: 376]
  ------------------
 4952|      0|        goto error;
 4953|      0|    }
 4954|       |
 4955|    376|    if (type_new_init_subclass(type, ctx->kwds) < 0) {
  ------------------
  |  Branch (4955:9): [True: 0, False: 376]
  ------------------
 4956|      0|        goto error;
 4957|      0|    }
 4958|       |
 4959|    376|    assert(_PyType_CheckConsistency(type));
  ------------------
  |  Branch (4959:5): [True: 376, False: 0]
  ------------------
 4960|       |
 4961|    376|    return (PyObject *)type;
 4962|       |
 4963|      0|error:
 4964|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4965|       |    return NULL;
 4966|    376|}
typeobject.c:type_new_init:
 4882|    376|{
 4883|    376|    PyObject *dict = _PyDict_CopyAsDict(ctx->orig_dict);
 4884|    376|    if (dict == NULL) {
  ------------------
  |  Branch (4884:9): [True: 0, False: 376]
  ------------------
 4885|      0|        goto error;
 4886|      0|    }
 4887|       |
 4888|    376|    if (type_new_get_slots(ctx, dict) < 0) {
  ------------------
  |  Branch (4888:9): [True: 0, False: 376]
  ------------------
 4889|      0|        goto error;
 4890|      0|    }
 4891|    376|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (4891:5): [True: 376, False: 0]
  ------------------
 4892|       |
 4893|    376|    if (type_new_slots(ctx, dict) < 0) {
  ------------------
  |  Branch (4893:9): [True: 0, False: 376]
  ------------------
 4894|      0|        goto error;
 4895|      0|    }
 4896|       |
 4897|    376|    PyTypeObject *type = type_new_alloc(ctx);
 4898|    376|    if (type == NULL) {
  ------------------
  |  Branch (4898:9): [True: 0, False: 376]
  ------------------
 4899|      0|        goto error;
 4900|      0|    }
 4901|       |
 4902|    376|    set_tp_dict(type, dict);
 4903|       |
 4904|    376|    PyHeapTypeObject *et = (PyHeapTypeObject*)type;
 4905|    376|    if (ctx->slots && PyTuple_GET_SIZE(ctx->slots)) {
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (27:30): [True: 11, False: 63]
  |  |  ------------------
  ------------------
  |  Branch (4905:9): [True: 74, False: 302]
  ------------------
 4906|     11|        et->ht_slots = ctx->slots;
 4907|     11|        ctx->slots = NULL;
 4908|     11|    }
 4909|    365|    else {
 4910|    365|        et->ht_slots = NULL;
 4911|    365|        Py_CLEAR(ctx->slots);
  ------------------
  |  |  484|    365|    do { \
  |  |  485|    365|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|    365|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    365|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|    365|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    365|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    365|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 63, False: 302]
  |  |  ------------------
  |  |  488|     63|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     63|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     63|            Py_DECREF(_tmp_old_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     63|        } \
  |  |  491|    365|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 365]
  |  |  ------------------
  ------------------
 4912|    365|    }
 4913|       |
 4914|    376|    return type;
 4915|       |
 4916|      0|error:
 4917|      0|    Py_CLEAR(ctx->slots);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4918|      0|    Py_XDECREF(dict);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4919|       |    return NULL;
 4920|    376|}
typeobject.c:type_new_get_slots:
 4851|    376|{
 4852|    376|    PyObject *slots = PyDict_GetItemWithError(dict, &_Py_ID(__slots__));
  ------------------
  |  |  936|    376|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    376|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    376|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4853|    376|    if (slots == NULL) {
  ------------------
  |  Branch (4853:9): [True: 302, False: 74]
  ------------------
 4854|    302|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (4854:13): [True: 0, False: 302]
  ------------------
 4855|      0|            return -1;
 4856|      0|        }
 4857|    302|        ctx->slots = NULL;
 4858|    302|        ctx->nslot = 0;
 4859|    302|        return 0;
 4860|    302|    }
 4861|       |
 4862|       |    // Make it into a tuple
 4863|     74|    PyObject *new_slots;
 4864|     74|    if (PyUnicode_Check(slots)) {
  ------------------
  |  |  103|     74|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     74|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 74]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4865|      0|        new_slots = PyTuple_Pack(1, slots);
 4866|      0|    }
 4867|     74|    else {
 4868|     74|        new_slots = PySequence_Tuple(slots);
 4869|     74|    }
 4870|     74|    if (new_slots == NULL) {
  ------------------
  |  Branch (4870:9): [True: 0, False: 74]
  ------------------
 4871|      0|        return -1;
 4872|      0|    }
 4873|     74|    assert(PyTuple_CheckExact(new_slots));
  ------------------
  |  Branch (4873:5): [True: 74, False: 0]
  ------------------
 4874|     74|    ctx->slots = new_slots;
 4875|     74|    ctx->nslot = PyTuple_GET_SIZE(new_slots);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4876|     74|    return 0;
 4877|     74|}
typeobject.c:type_new_slots:
 4364|    376|{
 4365|       |    // Check for a __slots__ sequence variable in dict, and count it
 4366|    376|    ctx->add_dict = 0;
 4367|    376|    ctx->add_weak = 0;
 4368|    376|    ctx->may_add_dict = (ctx->base->tp_dictoffset == 0);
 4369|    376|    ctx->may_add_weak = (ctx->base->tp_weaklistoffset == 0);
 4370|       |
 4371|    376|    if (ctx->slots == NULL) {
  ------------------
  |  Branch (4371:9): [True: 302, False: 74]
  ------------------
 4372|    302|        if (ctx->may_add_dict) {
  ------------------
  |  Branch (4372:13): [True: 106, False: 196]
  ------------------
 4373|    106|            ctx->add_dict++;
 4374|    106|        }
 4375|    302|        if (ctx->may_add_weak && ctx->base->tp_itemsize == 0) {
  ------------------
  |  Branch (4375:13): [True: 146, False: 156]
  |  Branch (4375:34): [True: 138, False: 8]
  ------------------
 4376|    138|            ctx->add_weak++;
 4377|    138|        }
 4378|    302|    }
 4379|     74|    else {
 4380|       |        /* Have slots */
 4381|     74|        if (type_new_slots_impl(ctx, dict) < 0) {
  ------------------
  |  Branch (4381:13): [True: 0, False: 74]
  ------------------
 4382|      0|            return -1;
 4383|      0|        }
 4384|     74|    }
 4385|    376|    return 0;
 4386|    376|}
typeobject.c:type_new_slots_impl:
 4342|     74|{
 4343|     74|    if (type_new_visit_slots(ctx) < 0) {
  ------------------
  |  Branch (4343:9): [True: 0, False: 74]
  ------------------
 4344|      0|        return -1;
 4345|      0|    }
 4346|       |
 4347|     74|    PyObject *new_slots = type_new_copy_slots(ctx, dict);
 4348|     74|    if (new_slots == NULL) {
  ------------------
  |  Branch (4348:9): [True: 0, False: 74]
  ------------------
 4349|      0|        return -1;
 4350|      0|    }
 4351|     74|    assert(PyTuple_CheckExact(new_slots));
  ------------------
  |  Branch (4351:5): [True: 74, False: 0]
  ------------------
 4352|       |
 4353|     74|    Py_XSETREF(ctx->slots, new_slots);
  ------------------
  |  |  376|     74|    do { \
  |  |  377|     74|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|     74|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|     74|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|     74|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|     74|        *_tmp_dst_ptr = (src); \
  |  |  380|     74|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|     74|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     74|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     74|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|     74|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 74]
  |  |  ------------------
  ------------------
 4354|     74|    ctx->nslot = PyTuple_GET_SIZE(new_slots);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4355|       |
 4356|       |    /* Secondary bases may provide weakrefs or dict */
 4357|     74|    type_new_slots_bases(ctx);
 4358|     74|    return 0;
 4359|     74|}
typeobject.c:type_new_visit_slots:
 4196|     74|{
 4197|     74|    PyObject *slots = ctx->slots;
 4198|     74|    Py_ssize_t nslot = ctx->nslot;
 4199|    108|    for (Py_ssize_t i = 0; i < nslot; i++) {
  ------------------
  |  Branch (4199:28): [True: 34, False: 74]
  ------------------
 4200|     34|        PyObject *name = PyTuple_GET_ITEM(slots, i);
  ------------------
  |  |   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 (4200:26): [True: 34, False: 0]
  ------------------
 4201|     34|        if (!valid_identifier(name)) {
  ------------------
  |  Branch (4201:13): [True: 0, False: 34]
  ------------------
 4202|      0|            return -1;
 4203|      0|        }
 4204|     34|        assert(PyUnicode_Check(name));
  ------------------
  |  Branch (4204:9): [True: 34, False: 0]
  ------------------
 4205|     34|        if (_PyUnicode_Equal(name, &_Py_ID(__dict__))) {
  ------------------
  |  |  936|     34|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     34|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     34|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4205:13): [True: 1, False: 33]
  ------------------
 4206|      1|            if (!ctx->may_add_dict || ctx->add_dict != 0) {
  ------------------
  |  Branch (4206:17): [True: 0, False: 1]
  |  Branch (4206:39): [True: 0, False: 1]
  ------------------
 4207|      0|                PyErr_SetString(PyExc_TypeError,
 4208|      0|                    "__dict__ slot disallowed: "
 4209|      0|                    "we already got one");
 4210|      0|                return -1;
 4211|      0|            }
 4212|      1|            ctx->add_dict++;
 4213|      1|        }
 4214|     34|        if (_PyUnicode_Equal(name, &_Py_ID(__weakref__))) {
  ------------------
  |  |  936|     34|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     34|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     34|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4214:13): [True: 4, False: 30]
  ------------------
 4215|      4|            if (!ctx->may_add_weak || ctx->add_weak != 0) {
  ------------------
  |  Branch (4215:17): [True: 0, False: 4]
  |  Branch (4215:39): [True: 0, False: 4]
  ------------------
 4216|      0|                PyErr_SetString(PyExc_TypeError,
 4217|      0|                    "__weakref__ slot disallowed: "
 4218|      0|                    "we already got one");
 4219|      0|                return -1;
 4220|      0|            }
 4221|      4|            ctx->add_weak++;
 4222|      4|        }
 4223|     34|    }
 4224|     74|    return 0;
 4225|     74|}
typeobject.c:valid_identifier:
 4082|     34|{
 4083|     34|    if (!PyUnicode_Check(s)) {
  ------------------
  |  |  103|     34|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     34|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4083:9): [True: 0, False: 34]
  ------------------
 4084|      0|        PyErr_Format(PyExc_TypeError,
 4085|      0|                     "__slots__ items must be strings, not '%.200s'",
 4086|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4087|      0|        return 0;
 4088|      0|    }
 4089|     34|    if (!PyUnicode_IsIdentifier(s)) {
  ------------------
  |  Branch (4089:9): [True: 0, False: 34]
  ------------------
 4090|      0|        PyErr_SetString(PyExc_TypeError,
 4091|      0|                        "__slots__ must be identifiers");
 4092|      0|        return 0;
 4093|      0|    }
 4094|     34|    return 1;
 4095|     34|}
typeobject.c:type_new_copy_slots:
 4234|     74|{
 4235|     74|    PyObject *slots = ctx->slots;
 4236|     74|    Py_ssize_t nslot = ctx->nslot;
 4237|       |
 4238|     74|    Py_ssize_t new_nslot = nslot - ctx->add_dict - ctx->add_weak;
 4239|     74|    PyObject *new_slots = PyList_New(new_nslot);
 4240|     74|    if (new_slots == NULL) {
  ------------------
  |  Branch (4240:9): [True: 0, False: 74]
  ------------------
 4241|      0|        return NULL;
 4242|      0|    }
 4243|       |
 4244|     74|    Py_ssize_t j = 0;
 4245|    108|    for (Py_ssize_t i = 0; i < nslot; i++) {
  ------------------
  |  Branch (4245:28): [True: 34, False: 74]
  ------------------
 4246|     34|        PyObject *slot = PyTuple_GET_ITEM(slots, i);
  ------------------
  |  |   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 (4246:26): [True: 34, False: 0]
  ------------------
 4247|     34|        if ((ctx->add_dict && _PyUnicode_Equal(slot, &_Py_ID(__dict__))) ||
  ------------------
  |  |  936|      7|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      7|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      7|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4247:14): [True: 7, False: 27]
  |  Branch (4247:31): [True: 1, False: 6]
  ------------------
 4248|     33|            (ctx->add_weak && _PyUnicode_Equal(slot, &_Py_ID(__weakref__))))
  ------------------
  |  |  936|     12|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     12|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     12|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4248:14): [True: 12, False: 21]
  |  Branch (4248:31): [True: 4, False: 8]
  ------------------
 4249|      5|        {
 4250|      5|            continue;
 4251|      5|        }
 4252|       |
 4253|     29|        slot =_Py_Mangle(ctx->name, slot);
 4254|     29|        if (!slot) {
  ------------------
  |  Branch (4254:13): [True: 0, False: 29]
  ------------------
 4255|      0|            goto error;
 4256|      0|        }
 4257|     29|        PyList_SET_ITEM(new_slots, j, slot);
  ------------------
  |  |   50|     29|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     29|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     29|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4258|       |
 4259|     29|        int r = PyDict_Contains(dict, slot);
 4260|     29|        if (r < 0) {
  ------------------
  |  Branch (4260:13): [True: 0, False: 29]
  ------------------
 4261|      0|            goto error;
 4262|      0|        }
 4263|     29|        if (r > 0) {
  ------------------
  |  Branch (4263:13): [True: 0, False: 29]
  ------------------
 4264|       |            /* CPython inserts these names (when needed)
 4265|       |               into the namespace when creating a class.  They will be deleted
 4266|       |               below so won't act as class variables. */
 4267|      0|            if (!_PyUnicode_Equal(slot, &_Py_ID(__qualname__)) &&
  ------------------
  |  |  936|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4267:17): [True: 0, False: 0]
  ------------------
 4268|      0|                !_PyUnicode_Equal(slot, &_Py_ID(__classcell__)) &&
  ------------------
  |  |  936|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4268:17): [True: 0, False: 0]
  ------------------
 4269|      0|                !_PyUnicode_Equal(slot, &_Py_ID(__classdictcell__)))
  ------------------
  |  |  936|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4269:17): [True: 0, False: 0]
  ------------------
 4270|      0|            {
 4271|      0|                PyErr_Format(PyExc_ValueError,
 4272|      0|                             "%R in __slots__ conflicts with class variable",
 4273|      0|                             slot);
 4274|      0|                goto error;
 4275|      0|            }
 4276|      0|        }
 4277|       |
 4278|     29|        j++;
 4279|     29|    }
 4280|     74|    assert(j == new_nslot);
  ------------------
  |  Branch (4280:5): [True: 74, False: 0]
  ------------------
 4281|       |
 4282|     74|    if (PyList_Sort(new_slots) == -1) {
  ------------------
  |  Branch (4282:9): [True: 0, False: 74]
  ------------------
 4283|      0|        goto error;
 4284|      0|    }
 4285|       |
 4286|     74|    PyObject *tuple = PyList_AsTuple(new_slots);
 4287|     74|    Py_DECREF(new_slots);
  ------------------
  |  |  430|     74|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     74|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     74|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4288|     74|    if (tuple == NULL) {
  ------------------
  |  Branch (4288:9): [True: 0, False: 74]
  ------------------
 4289|      0|        return NULL;
 4290|      0|    }
 4291|       |
 4292|     74|    assert(PyTuple_GET_SIZE(tuple) == new_nslot);
  ------------------
  |  Branch (4292:5): [True: 74, False: 0]
  ------------------
 4293|     74|    return tuple;
 4294|       |
 4295|      0|error:
 4296|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4297|       |    return NULL;
 4298|     74|}
typeobject.c:type_new_slots_bases:
 4303|     74|{
 4304|     74|    Py_ssize_t nbases = PyTuple_GET_SIZE(ctx->bases);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4305|     74|    if (nbases > 1 &&
  ------------------
  |  Branch (4305:9): [True: 10, False: 64]
  ------------------
 4306|     10|        ((ctx->may_add_dict && ctx->add_dict == 0) ||
  ------------------
  |  Branch (4306:11): [True: 10, False: 0]
  |  Branch (4306:32): [True: 10, False: 0]
  ------------------
 4307|      0|         (ctx->may_add_weak && ctx->add_weak == 0)))
  ------------------
  |  Branch (4307:11): [True: 0, False: 0]
  |  Branch (4307:32): [True: 0, False: 0]
  ------------------
 4308|     10|    {
 4309|     32|        for (Py_ssize_t i = 0; i < nbases; i++) {
  ------------------
  |  Branch (4309:32): [True: 22, False: 10]
  ------------------
 4310|     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 (4310:29): [True: 22, False: 0]
  ------------------
 4311|     22|            if (obj == (PyObject *)ctx->base) {
  ------------------
  |  Branch (4311:17): [True: 10, False: 12]
  ------------------
 4312|       |                /* Skip primary base */
 4313|     10|                continue;
 4314|     10|            }
 4315|     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 (4315:34): [True: 12, False: 0]
  ------------------
 4316|       |
 4317|     12|            if (ctx->may_add_dict && ctx->add_dict == 0 &&
  ------------------
  |  Branch (4317:17): [True: 12, False: 0]
  |  Branch (4317:38): [True: 12, False: 0]
  ------------------
 4318|     12|                base->tp_dictoffset != 0)
  ------------------
  |  Branch (4318:17): [True: 0, False: 12]
  ------------------
 4319|      0|            {
 4320|      0|                ctx->add_dict++;
 4321|      0|            }
 4322|     12|            if (ctx->may_add_weak && ctx->add_weak == 0 &&
  ------------------
  |  Branch (4322:17): [True: 12, False: 0]
  |  Branch (4322:38): [True: 12, False: 0]
  ------------------
 4323|     12|                base->tp_weaklistoffset != 0)
  ------------------
  |  Branch (4323:17): [True: 0, False: 12]
  ------------------
 4324|      0|            {
 4325|      0|                ctx->add_weak++;
 4326|      0|            }
 4327|     12|            if (ctx->may_add_dict && ctx->add_dict == 0) {
  ------------------
  |  Branch (4327:17): [True: 12, False: 0]
  |  Branch (4327:38): [True: 12, False: 0]
  ------------------
 4328|     12|                continue;
 4329|     12|            }
 4330|      0|            if (ctx->may_add_weak && ctx->add_weak == 0) {
  ------------------
  |  Branch (4330:17): [True: 0, False: 0]
  |  Branch (4330:38): [True: 0, False: 0]
  ------------------
 4331|      0|                continue;
 4332|      0|            }
 4333|       |            /* Nothing more to check */
 4334|      0|            break;
 4335|      0|        }
 4336|     10|    }
 4337|     74|}
typeobject.c:type_new_alloc:
 4391|    376|{
 4392|    376|    PyTypeObject *metatype = ctx->metatype;
 4393|    376|    PyTypeObject *type;
 4394|       |
 4395|       |    // Allocate the type object
 4396|    376|    type = (PyTypeObject *)metatype->tp_alloc(metatype, ctx->nslot);
 4397|    376|    if (type == NULL) {
  ------------------
  |  Branch (4397:9): [True: 0, False: 376]
  ------------------
 4398|      0|        return NULL;
 4399|      0|    }
 4400|    376|    PyHeapTypeObject *et = (PyHeapTypeObject *)type;
 4401|       |
 4402|       |    // Initialize tp_flags.
 4403|       |    // All heap types need GC, since we can create a reference cycle by storing
 4404|       |    // an instance on one of its parents.
 4405|    376|    type_set_flags(type, Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE |
  ------------------
  |  |  560|    376|#define Py_TPFLAGS_DEFAULT  ( \
  |  |  561|    376|                 Py_TPFLAGS_HAVE_STACKLESS_EXTENSION | \
  |  |  ------------------
  |  |  |  |  530|    376|#define Py_TPFLAGS_HAVE_STACKLESS_EXTENSION 0
  |  |  ------------------
  |  |  562|    376|                0)
  ------------------
                  type_set_flags(type, Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE |
  ------------------
  |  |  503|    376|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
 4406|    376|                   Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC);
  ------------------
  |  |  506|    376|#define Py_TPFLAGS_BASETYPE (1UL << 10)
  ------------------
                                 Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC);
  ------------------
  |  |  524|    376|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
 4407|       |
 4408|       |    // Initialize essential fields
 4409|    376|    type->tp_as_async = &et->as_async;
 4410|    376|    type->tp_as_number = &et->as_number;
 4411|    376|    type->tp_as_sequence = &et->as_sequence;
 4412|    376|    type->tp_as_mapping = &et->as_mapping;
 4413|    376|    type->tp_as_buffer = &et->as_buffer;
 4414|       |
 4415|    376|    set_tp_bases(type, Py_NewRef(ctx->bases), 1);
  ------------------
  |  |  550|    376|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    376|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    376|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4416|    376|    type->tp_base = (PyTypeObject *)Py_NewRef(ctx->base);
  ------------------
  |  |  550|    376|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    376|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    376|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4417|       |
 4418|    376|    type->tp_dealloc = subtype_dealloc;
 4419|       |    /* Always override allocation strategy to use regular heap */
 4420|    376|    type->tp_alloc = PyType_GenericAlloc;
 4421|    376|    type->tp_free = PyObject_GC_Del;
 4422|       |
 4423|    376|    type->tp_traverse = subtype_traverse;
 4424|    376|    type->tp_clear = subtype_clear;
 4425|       |
 4426|    376|    et->ht_name = Py_NewRef(ctx->name);
  ------------------
  |  |  550|    376|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    376|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    376|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4427|    376|    et->ht_module = NULL;
 4428|    376|    et->_ht_tpname = NULL;
 4429|    376|    et->ht_token = NULL;
 4430|       |
 4431|       |#ifdef Py_GIL_DISABLED
 4432|       |    et->unique_id = _PyObject_AssignUniqueId((PyObject *)et);
 4433|       |#endif
 4434|       |
 4435|    376|    return type;
 4436|    376|}
typeobject.c:subtype_traverse:
 2578|    486|{
 2579|    486|    PyTypeObject *type, *base;
 2580|    486|    traverseproc basetraverse;
 2581|       |
 2582|       |    /* Find the nearest base with a different tp_traverse,
 2583|       |       and traverse slots while we're at it */
 2584|    486|    type = Py_TYPE(self);
  ------------------
  |  |  213|    486|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    486|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    486|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2585|    486|    base = type;
 2586|  1.11k|    while ((basetraverse = base->tp_traverse) == subtype_traverse) {
  ------------------
  |  Branch (2586:12): [True: 624, False: 486]
  ------------------
 2587|    624|        if (Py_SIZE(base)) {
  ------------------
  |  |  214|    624|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    624|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    624|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (214:23): [True: 0, False: 624]
  |  |  ------------------
  ------------------
 2588|      0|            int err = traverse_slots(base, self, visit, arg);
 2589|      0|            if (err)
  ------------------
  |  Branch (2589:17): [True: 0, False: 0]
  ------------------
 2590|      0|                return err;
 2591|      0|        }
 2592|    624|        base = base->tp_base;
 2593|    624|        assert(base);
  ------------------
  |  Branch (2593:9): [True: 624, False: 0]
  ------------------
 2594|    624|    }
 2595|       |
 2596|    486|    if (type->tp_dictoffset != base->tp_dictoffset) {
  ------------------
  |  Branch (2596:9): [True: 294, False: 192]
  ------------------
 2597|    294|        assert(base->tp_dictoffset == 0);
  ------------------
  |  Branch (2597:9): [True: 294, False: 0]
  ------------------
 2598|    294|        if (type->tp_flags & Py_TPFLAGS_MANAGED_DICT) {
  ------------------
  |  |  482|    294|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (2598:13): [True: 294, False: 0]
  ------------------
 2599|    294|            assert(type->tp_dictoffset == -1);
  ------------------
  |  Branch (2599:13): [True: 294, False: 0]
  ------------------
 2600|    294|            int err = PyObject_VisitManagedDict(self, visit, arg);
 2601|    294|            if (err) {
  ------------------
  |  Branch (2601:17): [True: 0, False: 294]
  ------------------
 2602|      0|                return err;
 2603|      0|            }
 2604|    294|        }
 2605|      0|        else {
 2606|      0|            PyObject **dictptr = _PyObject_ComputedDictPointer(self);
 2607|      0|            if (dictptr && *dictptr) {
  ------------------
  |  Branch (2607:17): [True: 0, False: 0]
  |  Branch (2607:28): [True: 0, False: 0]
  ------------------
 2608|      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]
  |  |  ------------------
  ------------------
 2609|      0|            }
 2610|      0|        }
 2611|    294|    }
 2612|       |
 2613|    486|    if (type->tp_flags & Py_TPFLAGS_HEAPTYPE
  ------------------
  |  |  503|    972|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (2613:9): [True: 486, False: 0]
  ------------------
 2614|    486|        && (!basetraverse || !(base->tp_flags & Py_TPFLAGS_HEAPTYPE))) {
  ------------------
  |  |  503|    194|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (2614:13): [True: 292, False: 194]
  |  Branch (2614:30): [True: 130, False: 64]
  ------------------
 2615|       |        /* For a heaptype, the instances count as references
 2616|       |           to the type.          Traverse the type so the collector
 2617|       |           can find cycles involving this link.
 2618|       |           Skip this visit if basetraverse belongs to a heap type: in that
 2619|       |           case, basetraverse will visit the type when we call it later.
 2620|       |           */
 2621|    422|        Py_VISIT(type);
  ------------------
  |  |  194|    422|    do {                                                                \
  |  |  195|    422|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 422, False: 0]
  |  |  ------------------
  |  |  196|    422|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    422|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    422|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    422|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 422]
  |  |  ------------------
  |  |  198|    422|                return vret;                                            \
  |  |  199|    422|        }                                                               \
  |  |  200|    422|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 422]
  |  |  ------------------
  ------------------
 2622|    422|    }
 2623|       |
 2624|    486|    if (basetraverse)
  ------------------
  |  Branch (2624:9): [True: 194, False: 292]
  ------------------
 2625|    194|        return basetraverse(self, visit, arg);
 2626|    292|    return 0;
 2627|    486|}
typeobject.c:set_tp_dict:
  557|    914|{
  558|    914|    if (self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|    914|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (558:9): [True: 416, False: 498]
  ------------------
  559|    416|        PyInterpreterState *interp = _PyInterpreterState_GET();
  560|    416|        managed_static_type_state *state = _PyStaticType_GetState(interp, self);
  561|    416|        assert(state != NULL);
  ------------------
  |  Branch (561:9): [True: 416, False: 0]
  ------------------
  562|    416|        state->tp_dict = dict;
  563|    416|        return;
  564|    416|    }
  565|    498|    self->tp_dict = dict;
  566|    498|}
typeobject.c:type_new_set_attrs:
 4786|    376|{
 4787|    376|    if (type_new_set_name(ctx, type) < 0) {
  ------------------
  |  Branch (4787:9): [True: 0, False: 376]
  ------------------
 4788|      0|        return -1;
 4789|      0|    }
 4790|       |
 4791|    376|    PyObject *dict = lookup_tp_dict(type);
 4792|    376|    assert(dict);
  ------------------
  |  Branch (4792:5): [True: 376, False: 0]
  ------------------
 4793|       |
 4794|    376|    if (type_new_set_module(dict) < 0) {
  ------------------
  |  Branch (4794:9): [True: 0, False: 376]
  ------------------
 4795|      0|        return -1;
 4796|      0|    }
 4797|       |
 4798|    376|    if (type_new_set_ht_name(type, dict) < 0) {
  ------------------
  |  Branch (4798:9): [True: 0, False: 376]
  ------------------
 4799|      0|        return -1;
 4800|      0|    }
 4801|       |
 4802|    376|    if (type_new_set_doc(type, dict) < 0) {
  ------------------
  |  Branch (4802:9): [True: 0, False: 376]
  ------------------
 4803|      0|        return -1;
 4804|      0|    }
 4805|       |
 4806|       |    /* Special-case __new__: if it's a plain function,
 4807|       |       make it a static function */
 4808|    376|    if (type_new_staticmethod(dict, &_Py_ID(__new__)) < 0) {
  ------------------
  |  |  936|    376|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    376|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    376|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4808:9): [True: 0, False: 376]
  ------------------
 4809|      0|        return -1;
 4810|      0|    }
 4811|       |
 4812|       |    /* Special-case __init_subclass__ and __class_getitem__:
 4813|       |       if they are plain functions, make them classmethods */
 4814|    376|    if (type_new_classmethod(dict, &_Py_ID(__init_subclass__)) < 0) {
  ------------------
  |  |  936|    376|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    376|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    376|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4814:9): [True: 0, False: 376]
  ------------------
 4815|      0|        return -1;
 4816|      0|    }
 4817|    376|    if (type_new_classmethod(dict, &_Py_ID(__class_getitem__)) < 0) {
  ------------------
  |  |  936|    376|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    376|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    376|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4817:9): [True: 0, False: 376]
  ------------------
 4818|      0|        return -1;
 4819|      0|    }
 4820|       |
 4821|    376|    if (type_new_descriptors(ctx, type, dict) < 0) {
  ------------------
  |  Branch (4821:9): [True: 0, False: 376]
  ------------------
 4822|      0|        return -1;
 4823|      0|    }
 4824|       |
 4825|    376|    type_new_set_slots(ctx, type);
 4826|       |
 4827|    376|    if (type_new_set_classcell(type, dict) < 0) {
  ------------------
  |  Branch (4827:9): [True: 0, False: 376]
  ------------------
 4828|      0|        return -1;
 4829|      0|    }
 4830|    376|    if (type_new_set_classdictcell(dict) < 0) {
  ------------------
  |  Branch (4830:9): [True: 0, False: 376]
  ------------------
 4831|      0|        return -1;
 4832|      0|    }
 4833|       |
 4834|       |#ifdef Py_GIL_DISABLED
 4835|       |    // enable deferred reference counting on functions and descriptors
 4836|       |    Py_ssize_t pos = 0;
 4837|       |    PyObject *key, *value;
 4838|       |    while (PyDict_Next(dict, &pos, &key, &value)) {
 4839|       |        if (PyFunction_Check(value) || Py_TYPE(value)->tp_descr_get != NULL) {
 4840|       |            PyUnstable_Object_EnableDeferredRefcount(value);
 4841|       |        }
 4842|       |    }
 4843|       |#endif
 4844|       |
 4845|    376|    return 0;
 4846|    376|}
typeobject.c:type_new_set_name:
 4441|    376|{
 4442|    376|    Py_ssize_t name_size;
 4443|    376|    type->tp_name = PyUnicode_AsUTF8AndSize(ctx->name, &name_size);
 4444|    376|    if (!type->tp_name) {
  ------------------
  |  Branch (4444:9): [True: 0, False: 376]
  ------------------
 4445|      0|        return -1;
 4446|      0|    }
 4447|    376|    if (strlen(type->tp_name) != (size_t)name_size) {
  ------------------
  |  Branch (4447:9): [True: 0, False: 376]
  ------------------
 4448|      0|        PyErr_SetString(PyExc_ValueError,
 4449|      0|                        "type name must not contain null characters");
 4450|      0|        return -1;
 4451|      0|    }
 4452|    376|    return 0;
 4453|    376|}
typeobject.c:type_new_set_module:
 4459|    376|{
 4460|    376|    int r = PyDict_Contains(dict, &_Py_ID(__module__));
  ------------------
  |  |  936|    376|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    376|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    376|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4461|    376|    if (r < 0) {
  ------------------
  |  Branch (4461:9): [True: 0, False: 376]
  ------------------
 4462|      0|        return -1;
 4463|      0|    }
 4464|    376|    if (r > 0) {
  ------------------
  |  Branch (4464:9): [True: 372, False: 4]
  ------------------
 4465|    372|        return 0;
 4466|    372|    }
 4467|       |
 4468|      4|    PyObject *globals = PyEval_GetGlobals();
 4469|      4|    if (globals == NULL) {
  ------------------
  |  Branch (4469:9): [True: 0, False: 4]
  ------------------
 4470|      0|        return 0;
 4471|      0|    }
 4472|       |
 4473|      4|    PyObject *module;
 4474|      4|    r = PyDict_GetItemRef(globals, &_Py_ID(__name__), &module);
  ------------------
  |  |  936|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4475|      4|    if (module) {
  ------------------
  |  Branch (4475:9): [True: 4, False: 0]
  ------------------
 4476|      4|        r = PyDict_SetItem(dict, &_Py_ID(__module__), module);
  ------------------
  |  |  936|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4477|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4478|      4|    }
 4479|      4|    return r;
 4480|      4|}
typeobject.c:type_new_set_ht_name:
 4487|    376|{
 4488|    376|    PyHeapTypeObject *et = (PyHeapTypeObject *)type;
 4489|    376|    PyObject *qualname;
 4490|    376|    if (PyDict_GetItemRef(dict, &_Py_ID(__qualname__), &qualname) < 0) {
  ------------------
  |  |  936|    376|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    376|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    376|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4490:9): [True: 0, False: 376]
  ------------------
 4491|      0|        return -1;
 4492|      0|    }
 4493|    376|    if (qualname != NULL) {
  ------------------
  |  Branch (4493:9): [True: 241, False: 135]
  ------------------
 4494|    241|        if (!PyUnicode_Check(qualname)) {
  ------------------
  |  |  103|    241|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    241|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4494:13): [True: 0, False: 241]
  ------------------
 4495|      0|            PyErr_Format(PyExc_TypeError,
 4496|      0|                    "type __qualname__ must be a str, not %s",
 4497|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4498|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4499|      0|            return -1;
 4500|      0|        }
 4501|    241|        et->ht_qualname = qualname;
 4502|    241|        if (PyDict_DelItem(dict, &_Py_ID(__qualname__)) < 0) {
  ------------------
  |  |  936|    241|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    241|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    241|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4502:13): [True: 0, False: 241]
  ------------------
 4503|      0|            return -1;
 4504|      0|        }
 4505|    241|    }
 4506|    135|    else {
 4507|    135|        et->ht_qualname = Py_NewRef(et->ht_name);
  ------------------
  |  |  550|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4508|    135|    }
 4509|    376|    return 0;
 4510|    376|}
typeobject.c:type_new_set_doc:
 4518|    376|{
 4519|    376|    PyObject *doc = PyDict_GetItemWithError(dict, &_Py_ID(__doc__));
  ------------------
  |  |  936|    376|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    376|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    376|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4520|    376|    if (doc == NULL) {
  ------------------
  |  Branch (4520:9): [True: 108, False: 268]
  ------------------
 4521|    108|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (4521:13): [True: 0, False: 108]
  ------------------
 4522|      0|            return -1;
 4523|      0|        }
 4524|       |        // no __doc__ key
 4525|    108|        return 0;
 4526|    108|    }
 4527|    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 (4527:9): [True: 0, False: 268]
  ------------------
 4528|       |        // ignore non-string __doc__
 4529|      0|        return 0;
 4530|      0|    }
 4531|       |
 4532|    268|    const char *doc_str = PyUnicode_AsUTF8(doc);
 4533|    268|    if (doc_str == NULL) {
  ------------------
  |  Branch (4533:9): [True: 0, False: 268]
  ------------------
 4534|      0|        return -1;
 4535|      0|    }
 4536|       |
 4537|       |    // Silently truncate the docstring if it contains a null byte
 4538|    268|    Py_ssize_t size = strlen(doc_str) + 1;
 4539|    268|    char *tp_doc = (char *)PyMem_Malloc(size);
 4540|    268|    if (tp_doc == NULL) {
  ------------------
  |  Branch (4540:9): [True: 0, False: 268]
  ------------------
 4541|      0|        PyErr_NoMemory();
 4542|      0|        return -1;
 4543|      0|    }
 4544|       |
 4545|    268|    memcpy(tp_doc, doc_str, size);
 4546|    268|    type->tp_doc = tp_doc;
 4547|    268|    return 0;
 4548|    268|}
typeobject.c:type_new_staticmethod:
 4553|    376|{
 4554|    376|    PyObject *func = PyDict_GetItemWithError(dict, attr);
 4555|    376|    if (func == NULL) {
  ------------------
  |  Branch (4555:9): [True: 354, False: 22]
  ------------------
 4556|    354|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (4556:13): [True: 0, False: 354]
  ------------------
 4557|      0|            return -1;
 4558|      0|        }
 4559|    354|        return 0;
 4560|    354|    }
 4561|     22|    if (!PyFunction_Check(func)) {
  ------------------
  |  |   68|     22|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  ------------------
  |  |  |  |  215|     22|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4561:9): [True: 0, False: 22]
  ------------------
 4562|      0|        return 0;
 4563|      0|    }
 4564|       |
 4565|     22|    PyObject *static_func = PyStaticMethod_New(func);
 4566|     22|    if (static_func == NULL) {
  ------------------
  |  Branch (4566:9): [True: 0, False: 22]
  ------------------
 4567|      0|        return -1;
 4568|      0|    }
 4569|     22|    if (PyDict_SetItem(dict, attr, static_func) < 0) {
  ------------------
  |  Branch (4569:9): [True: 0, False: 22]
  ------------------
 4570|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4571|      0|        return -1;
 4572|      0|    }
 4573|     22|    Py_DECREF(static_func);
  ------------------
  |  |  430|     22|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4574|     22|    return 0;
 4575|     22|}
typeobject.c:type_new_classmethod:
 4580|    752|{
 4581|    752|    PyObject *func = PyDict_GetItemWithError(dict, attr);
 4582|    752|    if (func == NULL) {
  ------------------
  |  Branch (4582:9): [True: 732, False: 20]
  ------------------
 4583|    732|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (4583:13): [True: 0, False: 732]
  ------------------
 4584|      0|            return -1;
 4585|      0|        }
 4586|    732|        return 0;
 4587|    732|    }
 4588|     20|    if (!PyFunction_Check(func)) {
  ------------------
  |  |   68|     20|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  ------------------
  |  |  |  |  215|     20|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4588:9): [True: 19, False: 1]
  ------------------
 4589|     19|        return 0;
 4590|     19|    }
 4591|       |
 4592|      1|    PyObject *method = PyClassMethod_New(func);
 4593|      1|    if (method == NULL) {
  ------------------
  |  Branch (4593:9): [True: 0, False: 1]
  ------------------
 4594|      0|        return -1;
 4595|      0|    }
 4596|       |
 4597|      1|    if (PyDict_SetItem(dict, attr, method) < 0) {
  ------------------
  |  Branch (4597:9): [True: 0, False: 1]
  ------------------
 4598|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4599|      0|        return -1;
 4600|      0|    }
 4601|      1|    Py_DECREF(method);
  ------------------
  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4602|      1|    return 0;
 4603|      1|}
typeobject.c:type_new_descriptors:
 4635|    376|{
 4636|    376|    PyHeapTypeObject *et = (PyHeapTypeObject *)type;
 4637|    376|    Py_ssize_t slotoffset = ctx->base->tp_basicsize;
 4638|    376|    if (et->ht_slots != NULL) {
  ------------------
  |  Branch (4638:9): [True: 11, False: 365]
  ------------------
 4639|     11|        PyMemberDef *mp = _PyHeapType_GET_MEMBERS(et);
 4640|     11|        Py_ssize_t nslot = PyTuple_GET_SIZE(et->ht_slots);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4641|     11|        int after_items = (ctx->base->tp_itemsize != 0 &&
  ------------------
  |  Branch (4641:28): [True: 0, False: 11]
  ------------------
 4642|      0|                           !(ctx->base->tp_flags & Py_TPFLAGS_ITEMS_AT_END));
  ------------------
  |  |  548|      0|#define Py_TPFLAGS_ITEMS_AT_END (1UL << 23)
  ------------------
  |  Branch (4642:28): [True: 0, False: 0]
  ------------------
 4643|     11|        if (ctx->base->tp_itemsize != 0 &&
  ------------------
  |  Branch (4643:13): [True: 0, False: 11]
  ------------------
 4644|      0|            !(ctx->base->tp_flags & Py_TPFLAGS_TUPLE_SUBCLASS))
  ------------------
  |  |  553|      0|#define Py_TPFLAGS_TUPLE_SUBCLASS       (1UL << 26)
  ------------------
  |  Branch (4644:13): [True: 0, False: 0]
  ------------------
 4645|      0|        {
 4646|      0|            PyErr_Format(PyExc_TypeError,
 4647|      0|                         "arbitrary __slots__ not supported for subtype of '%s'",
 4648|      0|                         ctx->base->tp_name);
 4649|      0|            return -1;
 4650|      0|        }
 4651|     40|        for (Py_ssize_t i = 0; i < nslot; i++, mp++) {
  ------------------
  |  Branch (4651:32): [True: 29, False: 11]
  ------------------
 4652|     29|            mp->name = PyUnicode_AsUTF8(
 4653|     29|                PyTuple_GET_ITEM(et->ht_slots, i));
  ------------------
  |  |   29|     29|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     29|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4653:17): [True: 29, False: 0]
  ------------------
 4654|     29|            if (mp->name == NULL) {
  ------------------
  |  Branch (4654:17): [True: 0, False: 29]
  ------------------
 4655|      0|                return -1;
 4656|      0|            }
 4657|     29|            mp->type = Py_T_OBJECT_EX;
  ------------------
  |  |   75|     29|#define Py_T_OBJECT_EX 16
  ------------------
 4658|     29|            mp->offset = slotoffset;
 4659|     29|            if (after_items) {
  ------------------
  |  Branch (4659:17): [True: 0, False: 29]
  ------------------
 4660|      0|                mp->flags |= _Py_AFTER_ITEMS;
  ------------------
  |  |   89|      0|#  define _Py_AFTER_ITEMS      (1 << 4) // For internal use.
  ------------------
 4661|      0|            }
 4662|       |
 4663|       |            /* __dict__ and __weakref__ are already filtered out */
 4664|     29|            assert(strcmp(mp->name, "__dict__") != 0);
  ------------------
  |  Branch (4664:13): [True: 29, False: 0]
  ------------------
 4665|     29|            assert(strcmp(mp->name, "__weakref__") != 0);
  ------------------
  |  Branch (4665:13): [True: 29, False: 0]
  ------------------
 4666|       |
 4667|     29|            slotoffset += sizeof(PyObject *);
 4668|     29|        }
 4669|     11|    }
 4670|       |
 4671|    376|    if (ctx->add_weak) {
  ------------------
  |  Branch (4671:9): [True: 142, False: 234]
  ------------------
 4672|    142|        assert((type->tp_flags & Py_TPFLAGS_MANAGED_WEAKREF) == 0);
  ------------------
  |  Branch (4672:9): [True: 142, False: 0]
  ------------------
 4673|    142|        type_add_flags(type, Py_TPFLAGS_MANAGED_WEAKREF);
  ------------------
  |  |  477|    142|#define Py_TPFLAGS_MANAGED_WEAKREF (1 << 3)
  ------------------
 4674|    142|        type->tp_weaklistoffset = MANAGED_WEAKREF_OFFSET;
  ------------------
  |  |  924|    142|#  define MANAGED_WEAKREF_OFFSET (((Py_ssize_t)sizeof(PyObject *))*-4)
  ------------------
 4675|    142|    }
 4676|    376|    if (ctx->add_dict) {
  ------------------
  |  Branch (4676:9): [True: 107, False: 269]
  ------------------
 4677|    107|        assert((type->tp_flags & Py_TPFLAGS_MANAGED_DICT) == 0);
  ------------------
  |  Branch (4677:9): [True: 107, False: 0]
  ------------------
 4678|    107|        type_add_flags(type, Py_TPFLAGS_MANAGED_DICT);
  ------------------
  |  |  482|    107|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
 4679|    107|        type->tp_dictoffset = -1;
 4680|    107|    }
 4681|       |
 4682|    376|    type->tp_basicsize = slotoffset;
 4683|    376|    type->tp_itemsize = ctx->base->tp_itemsize;
 4684|    376|    type->tp_members = _PyHeapType_GET_MEMBERS(et);
 4685|       |
 4686|    376|    PyInterpreterState *interp = _PyInterpreterState_GET();
 4687|       |
 4688|    376|    if (type->tp_dictoffset) {
  ------------------
  |  Branch (4688:9): [True: 107, False: 269]
  ------------------
 4689|    107|        if (type_add_common_descriptor(
  ------------------
  |  Branch (4689:13): [True: 0, False: 107]
  ------------------
 4690|    107|            interp,
 4691|    107|            &interp->cached_objects.dict_descriptor,
 4692|    107|            &subtype_getset_dict,
 4693|    107|            dict) < 0)
 4694|      0|        {
 4695|      0|            return -1;
 4696|      0|        }
 4697|    107|    }
 4698|    376|    if (type->tp_weaklistoffset) {
  ------------------
  |  Branch (4698:9): [True: 142, False: 234]
  ------------------
 4699|    142|        if (type_add_common_descriptor(
  ------------------
  |  Branch (4699:13): [True: 0, False: 142]
  ------------------
 4700|    142|            interp,
 4701|    142|            &interp->cached_objects.weakref_descriptor,
 4702|    142|            &subtype_getset_weakref,
 4703|    142|            dict) < 0)
 4704|      0|        {
 4705|      0|            return -1;
 4706|      0|        }
 4707|    142|    }
 4708|       |
 4709|    376|    return 0;
 4710|    376|}
typeobject.c:type_add_common_descriptor:
 4611|    249|{
 4612|       |#ifdef Py_GIL_DISABLED
 4613|       |    PyMutex_Lock(&interp->cached_objects.descriptor_mutex);
 4614|       |#endif
 4615|    249|    PyObject *descr = *cache;
 4616|    249|    if (!descr) {
  ------------------
  |  Branch (4616:9): [True: 4, False: 245]
  ------------------
 4617|      4|        descr = PyDescr_NewGetSet(&PyBaseObject_Type, getset_def);
 4618|      4|        *cache = descr;
 4619|      4|    }
 4620|       |#ifdef Py_GIL_DISABLED
 4621|       |    PyMutex_Unlock(&interp->cached_objects.descriptor_mutex);
 4622|       |#endif
 4623|    249|    if (!descr) {
  ------------------
  |  Branch (4623:9): [True: 0, False: 249]
  ------------------
 4624|      0|        return -1;
 4625|      0|    }
 4626|    249|    if (PyDict_SetDefaultRef(dict, PyDescr_NAME(descr), descr, NULL) < 0) {
  ------------------
  |  |   36|    249|#define PyDescr_NAME(x) (((PyDescrObject *)(x))->d_name)
  ------------------
  |  Branch (4626:9): [True: 0, False: 249]
  ------------------
 4627|      0|        return -1;
 4628|      0|    }
 4629|    249|    return 0;
 4630|    249|}
typeobject.c:type_new_set_slots:
 4715|    376|{
 4716|    376|    type->tp_getset = NULL;
 4717|       |
 4718|       |    /* Special case some slots */
 4719|    376|    if (type->tp_dictoffset != 0 || ctx->nslot > 0) {
  ------------------
  |  Branch (4719:9): [True: 107, False: 269]
  |  Branch (4719:37): [True: 10, False: 259]
  ------------------
 4720|    117|        PyTypeObject *base = ctx->base;
 4721|    117|        if (base->tp_getattr == NULL && base->tp_getattro == NULL) {
  ------------------
  |  Branch (4721:13): [True: 117, False: 0]
  |  Branch (4721:41): [True: 0, False: 117]
  ------------------
 4722|      0|            type->tp_getattro = PyObject_GenericGetAttr;
 4723|      0|        }
 4724|    117|        if (base->tp_setattr == NULL && base->tp_setattro == NULL) {
  ------------------
  |  Branch (4724:13): [True: 117, False: 0]
  |  Branch (4724:41): [True: 0, False: 117]
  ------------------
 4725|      0|            type->tp_setattro = PyObject_GenericSetAttr;
 4726|      0|        }
 4727|    117|    }
 4728|    376|}
typeobject.c:type_new_set_classcell:
 4734|    376|{
 4735|    376|    PyObject *cell = PyDict_GetItemWithError(dict, &_Py_ID(__classcell__));
  ------------------
  |  |  936|    376|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    376|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    376|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4736|    376|    if (cell == NULL) {
  ------------------
  |  Branch (4736:9): [True: 356, False: 20]
  ------------------
 4737|    356|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (4737:13): [True: 0, False: 356]
  ------------------
 4738|      0|            return -1;
 4739|      0|        }
 4740|    356|        return 0;
 4741|    356|    }
 4742|       |
 4743|       |    /* At least one method requires a reference to its defining class */
 4744|     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 (4744:9): [True: 0, False: 20]
  ------------------
 4745|      0|        PyErr_Format(PyExc_TypeError,
 4746|      0|                     "__classcell__ must be a nonlocal cell, not %.200R",
 4747|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4748|      0|        return -1;
 4749|      0|    }
 4750|       |
 4751|     20|    (void)PyCell_Set(cell, (PyObject *) type);
 4752|     20|    if (PyDict_DelItem(dict, &_Py_ID(__classcell__)) < 0) {
  ------------------
  |  |  936|     20|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     20|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     20|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4752:9): [True: 0, False: 20]
  ------------------
 4753|      0|        return -1;
 4754|      0|    }
 4755|     20|    return 0;
 4756|     20|}
typeobject.c:type_new_set_classdictcell:
 4760|    376|{
 4761|    376|    PyObject *cell = PyDict_GetItemWithError(dict, &_Py_ID(__classdictcell__));
  ------------------
  |  |  936|    376|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    376|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    376|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4762|    376|    if (cell == NULL) {
  ------------------
  |  Branch (4762:9): [True: 172, False: 204]
  ------------------
 4763|    172|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (4763:13): [True: 0, False: 172]
  ------------------
 4764|      0|            return -1;
 4765|      0|        }
 4766|    172|        return 0;
 4767|    172|    }
 4768|       |
 4769|       |    /* At least one method requires a reference to the dict of its defining class */
 4770|    204|    if (!PyCell_Check(cell)) {
  ------------------
  |  |   18|    204|#define PyCell_Check(op) Py_IS_TYPE((op), &PyCell_Type)
  |  |  ------------------
  |  |  |  |  215|    204|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    204|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    204|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4770:9): [True: 0, False: 204]
  ------------------
 4771|      0|        PyErr_Format(PyExc_TypeError,
 4772|      0|                     "__classdictcell__ must be a nonlocal cell, not %.200R",
 4773|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4774|      0|        return -1;
 4775|      0|    }
 4776|       |
 4777|    204|    (void)PyCell_Set(cell, (PyObject *)dict);
 4778|    204|    if (PyDict_DelItem(dict, &_Py_ID(__classdictcell__)) < 0) {
  ------------------
  |  |  936|    204|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    204|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    204|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4778:9): [True: 0, False: 204]
  ------------------
 4779|      0|        return -1;
 4780|      0|    }
 4781|    204|    return 0;
 4782|    204|}
typeobject.c:type_new_set_names:
12221|    376|{
12222|    376|    PyObject *dict = lookup_tp_dict(type);
12223|    376|    PyObject *names_to_set = PyDict_Copy(dict);
12224|    376|    if (names_to_set == NULL) {
  ------------------
  |  Branch (12224:9): [True: 0, False: 376]
  ------------------
12225|      0|        return -1;
12226|      0|    }
12227|       |
12228|    376|    Py_ssize_t i = 0;
12229|    376|    PyObject *key, *value;
12230|  3.67k|    while (PyDict_Next(names_to_set, &i, &key, &value)) {
  ------------------
  |  Branch (12230:12): [True: 3.29k, False: 376]
  ------------------
12231|  3.29k|        PyObject *set_name = _PyObject_LookupSpecial(value,
12232|  3.29k|                                                     &_Py_ID(__set_name__));
  ------------------
  |  |  936|  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
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12233|  3.29k|        if (set_name == NULL) {
  ------------------
  |  Branch (12233:13): [True: 3.25k, False: 36]
  ------------------
12234|  3.25k|            if (PyErr_Occurred()) {
  ------------------
  |  Branch (12234:17): [True: 0, False: 3.25k]
  ------------------
12235|      0|                goto error;
12236|      0|            }
12237|  3.25k|            continue;
12238|  3.25k|        }
12239|       |
12240|     36|        PyObject *res = PyObject_CallFunctionObjArgs(set_name, type, key, NULL);
12241|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12242|       |
12243|     36|        if (res == NULL) {
  ------------------
  |  Branch (12243:13): [True: 0, False: 36]
  ------------------
12244|      0|            _PyErr_FormatNote(
12245|      0|                "Error calling __set_name__ on '%.100s' instance %R "
12246|      0|                "in '%.100s'",
12247|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12248|      0|            goto error;
12249|      0|        }
12250|     36|        else {
12251|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12252|     36|        }
12253|     36|    }
12254|       |
12255|    376|    Py_DECREF(names_to_set);
  ------------------
  |  |  430|    376|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    376|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    376|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12256|    376|    return 0;
12257|       |
12258|      0|error:
12259|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12260|      0|    return -1;
12261|    376|}
typeobject.c:type_new_init_subclass:
12267|    376|{
12268|    376|    PyObject *args[2] = {(PyObject *)type, (PyObject *)type};
12269|    376|    PyObject *super = PyObject_Vectorcall((PyObject *)&PySuper_Type,
12270|    376|                                          args, 2, NULL);
12271|    376|    if (super == NULL) {
  ------------------
  |  Branch (12271:9): [True: 0, False: 376]
  ------------------
12272|      0|        return -1;
12273|      0|    }
12274|       |
12275|    376|    PyObject *func = PyObject_GetAttr(super, &_Py_ID(__init_subclass__));
  ------------------
  |  |  936|    376|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    376|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    376|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12276|    376|    Py_DECREF(super);
  ------------------
  |  |  430|    376|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    376|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    376|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12277|    376|    if (func == NULL) {
  ------------------
  |  Branch (12277:9): [True: 0, False: 376]
  ------------------
12278|      0|        return -1;
12279|      0|    }
12280|       |
12281|    376|    PyObject *result = PyObject_VectorcallDict(func, NULL, 0, kwds);
12282|    376|    Py_DECREF(func);
  ------------------
  |  |  430|    376|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    376|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    376|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12283|    376|    if (result == NULL) {
  ------------------
  |  Branch (12283:9): [True: 0, False: 376]
  ------------------
12284|      0|        return -1;
12285|      0|    }
12286|       |
12287|    376|    Py_DECREF(result);
  ------------------
  |  |  430|    376|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    376|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    376|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12288|    376|    return 0;
12289|    376|}
typeobject.c:type_is_gc:
 7172|  20.8k|{
 7173|  20.8k|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  203|  20.8k|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 7174|  20.8k|    return type->tp_flags & Py_TPFLAGS_HEAPTYPE;
  ------------------
  |  |  503|  20.8k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
 7175|  20.8k|}
typeobject.c:type_vectorcall:
 5098|    371|{
 5099|    371|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|    371|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
 5100|    371|    if (nargs == 1 && metatype == (PyObject *)&PyType_Type){
  ------------------
  |  Branch (5100:9): [True: 73, False: 298]
  |  Branch (5100:23): [True: 73, False: 0]
  ------------------
 5101|     73|        if (!_PyArg_NoKwnames("type", kwnames)) {
  ------------------
  |  |   15|     73|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (15:6): [True: 73, False: 0]
  |  |  |  Branch (15:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5102|      0|            return NULL;
 5103|      0|        }
 5104|     73|        return Py_NewRef(Py_TYPE(args[0]));
  ------------------
  |  |  550|     73|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     73|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     73|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5105|     73|    }
 5106|       |    /* In other (much less common) cases, fall back to
 5107|       |       more flexible calling conventions. */
 5108|    298|    PyThreadState *tstate = _PyThreadState_GET();
 5109|    298|    return _PyObject_MakeTpCall(tstate, metatype, args, nargs, kwnames);
 5110|    371|}
typeobject.c:object_richcompare:
 7414|    126|{
 7415|    126|    PyObject *res;
 7416|       |
 7417|    126|    switch (op) {
 7418|       |
 7419|    126|    case Py_EQ:
  ------------------
  |  |  654|    126|#define Py_EQ 2
  ------------------
  |  Branch (7419:5): [True: 126, False: 0]
  ------------------
 7420|       |        /* Return NotImplemented instead of False, so if two
 7421|       |           objects are compared, both get a chance at the
 7422|       |           comparison.  See issue #1393. */
 7423|    126|        res = Py_NewRef((self == other) ? Py_True : Py_NotImplemented);
  ------------------
  |  |  550|    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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7424|    126|        break;
 7425|       |
 7426|      0|    case Py_NE:
  ------------------
  |  |  655|      0|#define Py_NE 3
  ------------------
  |  Branch (7426:5): [True: 0, False: 126]
  ------------------
 7427|       |        /* By default, __ne__() delegates to __eq__() and inverts the result,
 7428|       |           unless the latter returns NotImplemented. */
 7429|      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 (7429:13): [True: 0, False: 0]
  ------------------
 7430|      0|            res = Py_NewRef(Py_NotImplemented);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7431|      0|            break;
 7432|      0|        }
 7433|      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
  ------------------
 7434|      0|        if (res != NULL && res != Py_NotImplemented) {
  ------------------
  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (7434:13): [True: 0, False: 0]
  |  Branch (7434:28): [True: 0, False: 0]
  ------------------
 7435|      0|            int ok = PyObject_IsTrue(res);
 7436|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7437|      0|            if (ok < 0)
  ------------------
  |  Branch (7437:17): [True: 0, False: 0]
  ------------------
 7438|      0|                res = NULL;
 7439|      0|            else {
 7440|      0|                if (ok)
  ------------------
  |  Branch (7440:21): [True: 0, False: 0]
  ------------------
 7441|      0|                    res = Py_NewRef(Py_False);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7442|      0|                else
 7443|      0|                    res = Py_NewRef(Py_True);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7444|      0|            }
 7445|      0|        }
 7446|      0|        break;
 7447|       |
 7448|      0|    default:
  ------------------
  |  Branch (7448:5): [True: 0, False: 126]
  ------------------
 7449|      0|        res = Py_NewRef(Py_NotImplemented);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7450|      0|        break;
 7451|    126|    }
 7452|       |
 7453|    126|    return res;
 7454|    126|}
typeobject.c:object_dealloc:
 7369|  5.20k|{
 7370|  5.20k|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|  5.20k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.20k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.20k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7371|  5.20k|}
typeobject.c:object_str:
 7403|     69|{
 7404|     69|    unaryfunc f;
 7405|       |
 7406|     69|    f = Py_TYPE(self)->tp_repr;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7407|     69|    if (f == NULL)
  ------------------
  |  Branch (7407:9): [True: 0, False: 69]
  ------------------
 7408|      0|        f = object_repr;
 7409|     69|    return f(self);
 7410|     69|}
typeobject.c:object_subclasshook:
 8301|      8|{
 8302|      8|    Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      8|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      8|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 8303|      8|}
typeobject.c:object_init_subclass:
 8315|    376|{
 8316|    376|    Py_RETURN_NONE;
  ------------------
  |  |  628|    376|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    376|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 8317|    376|}
typeobject.c:object___format___impl:
 8339|     22|{
 8340|       |    /* Issue 7994: If we're converting to a string, we
 8341|       |       should reject format specifications */
 8342|     22|    if (PyUnicode_GET_LENGTH(format_spec) > 0) {
  ------------------
  |  |  299|     22|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (8342:9): [True: 0, False: 22]
  ------------------
 8343|      0|        PyErr_Format(PyExc_TypeError,
 8344|      0|                     "unsupported format string passed to %.200s.__format__",
 8345|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8346|      0|        return NULL;
 8347|      0|    }
 8348|     22|    return PyObject_Str(self);
 8349|     22|}
typeobject.c:object_get_class:
 7464|    400|{
 7465|    400|    return Py_NewRef(Py_TYPE(self));
  ------------------
  |  |  550|    400|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    400|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    400|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7466|    400|}
typeobject.c:object_init:
 7279|    518|{
 7280|    518|    PyTypeObject *type = Py_TYPE(self);
  ------------------
  |  |  213|    518|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    518|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    518|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7281|    518|    if (excess_args(args, kwds)) {
  ------------------
  |  Branch (7281:9): [True: 245, False: 273]
  ------------------
 7282|    245|        if (type->tp_init != object_init) {
  ------------------
  |  Branch (7282:13): [True: 0, False: 245]
  ------------------
 7283|      0|            PyErr_SetString(PyExc_TypeError,
 7284|      0|                            "object.__init__() takes exactly one argument (the instance to initialize)");
 7285|      0|            return -1;
 7286|      0|        }
 7287|    245|        if (type->tp_new == object_new) {
  ------------------
  |  Branch (7287:13): [True: 0, False: 245]
  ------------------
 7288|      0|            PyErr_Format(PyExc_TypeError,
 7289|      0|                         "%.200s.__init__() takes exactly one argument (the instance to initialize)",
 7290|      0|                         type->tp_name);
 7291|      0|            return -1;
 7292|      0|        }
 7293|    245|    }
 7294|    518|    return 0;
 7295|    518|}
typeobject.c:excess_args:
 7272|    938|{
 7273|    938|    return PyTuple_GET_SIZE(args) ||
  ------------------
  |  |   27|  1.87k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    938|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    938|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (27:30): [True: 463, False: 475]
  |  |  ------------------
  ------------------
 7274|    475|        (kwds && PyDict_Check(kwds) && PyDict_GET_SIZE(kwds));
  ------------------
  |  |   18|      2|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    477|#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 (7274:10): [True: 2, False: 473]
  ------------------
 7275|    938|}
typeobject.c:object_new:
 7299|    420|{
 7300|    420|    if (excess_args(args, kwds)) {
  ------------------
  |  Branch (7300:9): [True: 220, False: 200]
  ------------------
 7301|    220|        if (type->tp_new != object_new) {
  ------------------
  |  Branch (7301:13): [True: 0, False: 220]
  ------------------
 7302|      0|            PyErr_SetString(PyExc_TypeError,
 7303|      0|                            "object.__new__() takes exactly one argument (the type to instantiate)");
 7304|      0|            return NULL;
 7305|      0|        }
 7306|    220|        if (type->tp_init == object_init) {
  ------------------
  |  Branch (7306:13): [True: 0, False: 220]
  ------------------
 7307|      0|            PyErr_Format(PyExc_TypeError, "%.200s() takes no arguments",
 7308|      0|                         type->tp_name);
 7309|      0|            return NULL;
 7310|      0|        }
 7311|    220|    }
 7312|       |
 7313|    420|    if (type->tp_flags & Py_TPFLAGS_IS_ABSTRACT) {
  ------------------
  |  |  540|    420|#define Py_TPFLAGS_IS_ABSTRACT (1UL << 20)
  ------------------
  |  Branch (7313:9): [True: 0, False: 420]
  ------------------
 7314|      0|        PyObject *abstract_methods;
 7315|      0|        PyObject *sorted_methods;
 7316|      0|        PyObject *joined;
 7317|      0|        PyObject* comma_w_quotes_sep;
 7318|      0|        Py_ssize_t method_count;
 7319|       |
 7320|       |        /* Compute "', '".join(sorted(type.__abstractmethods__))
 7321|       |           into joined. */
 7322|      0|        abstract_methods = type_abstractmethods((PyObject *)type, NULL);
 7323|      0|        if (abstract_methods == NULL)
  ------------------
  |  Branch (7323:13): [True: 0, False: 0]
  ------------------
 7324|      0|            return NULL;
 7325|      0|        sorted_methods = PySequence_List(abstract_methods);
 7326|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7327|      0|        if (sorted_methods == NULL)
  ------------------
  |  Branch (7327:13): [True: 0, False: 0]
  ------------------
 7328|      0|            return NULL;
 7329|      0|        if (PyList_Sort(sorted_methods)) {
  ------------------
  |  Branch (7329:13): [True: 0, False: 0]
  ------------------
 7330|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7331|      0|            return NULL;
 7332|      0|        }
 7333|      0|        comma_w_quotes_sep = PyUnicode_FromString("', '");
 7334|      0|        if (!comma_w_quotes_sep) {
  ------------------
  |  Branch (7334:13): [True: 0, False: 0]
  ------------------
 7335|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7336|      0|            return NULL;
 7337|      0|        }
 7338|      0|        joined = PyUnicode_Join(comma_w_quotes_sep, sorted_methods);
 7339|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7340|      0|        if (joined == NULL)  {
  ------------------
  |  Branch (7340:13): [True: 0, False: 0]
  ------------------
 7341|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7342|      0|            return NULL;
 7343|      0|        }
 7344|      0|        method_count = PyObject_Length(sorted_methods);
  ------------------
  |  |  353|      0|#define PyObject_Length PyObject_Size
  ------------------
 7345|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7346|      0|        if (method_count == -1) {
  ------------------
  |  Branch (7346:13): [True: 0, False: 0]
  ------------------
 7347|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7348|      0|            return NULL;
 7349|      0|        }
 7350|       |
 7351|      0|        PyErr_Format(PyExc_TypeError,
 7352|      0|                     "Can't instantiate abstract class %s "
 7353|      0|                     "without an implementation for abstract method%s '%U'",
 7354|      0|                     type->tp_name,
 7355|      0|                     method_count > 1 ? "s" : "",
  ------------------
  |  Branch (7355:22): [True: 0, False: 0]
  ------------------
 7356|      0|                     joined);
 7357|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7358|      0|        return NULL;
 7359|      0|    }
 7360|    420|    PyObject *obj = type->tp_alloc(type, 0);
 7361|    420|    if (obj == NULL) {
  ------------------
  |  Branch (7361:9): [True: 0, False: 420]
  ------------------
 7362|      0|        return NULL;
 7363|      0|    }
 7364|    420|    return obj;
 7365|    420|}
typeobject.c:type_add_method:
 8494|  1.75k|{
 8495|  1.75k|    PyObject *descr;
 8496|  1.75k|    int isdescr = 1;
 8497|  1.75k|    if (meth->ml_flags & METH_CLASS) {
  ------------------
  |  |  104|  1.75k|#define METH_CLASS    0x0010
  ------------------
  |  Branch (8497:9): [True: 115, False: 1.64k]
  ------------------
 8498|    115|        if (meth->ml_flags & METH_STATIC) {
  ------------------
  |  |  105|    115|#define METH_STATIC   0x0020
  ------------------
  |  Branch (8498:13): [True: 0, False: 115]
  ------------------
 8499|      0|            PyErr_SetString(PyExc_ValueError,
 8500|      0|                    "method cannot be both class and static");
 8501|      0|            return -1;
 8502|      0|        }
 8503|    115|        descr = PyDescr_NewClassMethod(type, meth);
 8504|    115|    }
 8505|  1.64k|    else if (meth->ml_flags & METH_STATIC) {
  ------------------
  |  |  105|  1.64k|#define METH_STATIC   0x0020
  ------------------
  |  Branch (8505:14): [True: 6, False: 1.63k]
  ------------------
 8506|      6|        PyObject *mod = type_module(type);
 8507|      6|        if (mod == NULL) {
  ------------------
  |  Branch (8507:13): [True: 0, False: 6]
  ------------------
 8508|      0|            if (!PyErr_ExceptionMatches(PyExc_AttributeError)) {
  ------------------
  |  Branch (8508:17): [True: 0, False: 0]
  ------------------
 8509|      0|                return -1;
 8510|      0|            }
 8511|      0|            PyErr_Clear();
 8512|      0|        }
 8513|      6|        PyObject *cfunc = PyCFunction_NewEx(meth, (PyObject*)type, mod);
  ------------------
  |  |   87|      6|#define PyCFunction_NewEx(ML, SELF, MOD) PyCMethod_New((ML), (SELF), (MOD), NULL)
  ------------------
 8514|      6|        Py_XDECREF(mod);
  ------------------
  |  |  524|      6|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8515|      6|        if (cfunc == NULL) {
  ------------------
  |  Branch (8515:13): [True: 0, False: 6]
  ------------------
 8516|      0|            return -1;
 8517|      0|        }
 8518|      6|        descr = PyStaticMethod_New(cfunc);
 8519|      6|        isdescr = 0;  // PyStaticMethod is not PyDescrObject
 8520|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8521|      6|    }
 8522|  1.63k|    else {
 8523|  1.63k|        descr = PyDescr_NewMethod(type, meth);
 8524|  1.63k|    }
 8525|  1.75k|    if (descr == NULL) {
  ------------------
  |  Branch (8525:9): [True: 0, False: 1.75k]
  ------------------
 8526|      0|        return -1;
 8527|      0|    }
 8528|       |
 8529|  1.75k|    PyObject *name;
 8530|  1.75k|    if (isdescr) {
  ------------------
  |  Branch (8530:9): [True: 1.75k, False: 6]
  ------------------
 8531|  1.75k|        name = PyDescr_NAME(descr);
  ------------------
  |  |   36|  1.75k|#define PyDescr_NAME(x) (((PyDescrObject *)(x))->d_name)
  ------------------
 8532|  1.75k|    }
 8533|      6|    else {
 8534|      6|        name = PyUnicode_FromString(meth->ml_name);
 8535|      6|        if (name == NULL) {
  ------------------
  |  Branch (8535:13): [True: 0, False: 6]
  ------------------
 8536|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8537|      0|            return -1;
 8538|      0|        }
 8539|      6|    }
 8540|       |
 8541|  1.75k|    int err;
 8542|  1.75k|    PyObject *dict = lookup_tp_dict(type);
 8543|  1.75k|    if (!(meth->ml_flags & METH_COEXIST)) {
  ------------------
  |  |  112|  1.75k|#define METH_COEXIST   0x0040
  ------------------
  |  Branch (8543:9): [True: 1.73k, False: 20]
  ------------------
 8544|  1.73k|        err = PyDict_SetDefaultRef(dict, name, descr, NULL) < 0;
 8545|  1.73k|    }
 8546|     20|    else {
 8547|     20|        err = PyDict_SetItem(dict, name, descr) < 0;
 8548|     20|    }
 8549|  1.75k|    if (!isdescr) {
  ------------------
  |  Branch (8549:9): [True: 6, False: 1.75k]
  ------------------
 8550|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8551|      6|    }
 8552|  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8553|  1.75k|    if (err) {
  ------------------
  |  Branch (8553:9): [True: 0, False: 1.75k]
  ------------------
 8554|      0|        return -1;
 8555|      0|    }
 8556|  1.75k|    return 0;
 8557|  1.75k|}
typeobject.c:type_add_flags:
  474|  6.49k|{
  475|  6.49k|    type_set_flags(tp, tp->tp_flags | flag);
  476|  6.49k|}
typeobject.c:type_ready:
 9421|    914|{
 9422|    914|    ASSERT_TYPE_LOCK_HELD();
 9423|       |
 9424|    914|    _PyObject_ASSERT((PyObject *)type, !is_readying(type));
  ------------------
  |  |  425|    914|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  423|    914|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  416|    914|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (416:6): [True: 914, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  417|    914|      ? (void)(0) \
  |  |  |  |  |  |  418|    914|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9425|    914|    start_readying(type);
 9426|       |
 9427|    914|    if (type_ready_pre_checks(type) < 0) {
  ------------------
  |  Branch (9427:9): [True: 0, False: 914]
  ------------------
 9428|      0|        goto error;
 9429|      0|    }
 9430|       |
 9431|    914|    _PyTypeCache_InitType(type);
 9432|       |
 9433|       |#ifdef Py_TRACE_REFS
 9434|       |    /* PyType_Ready is the closest thing we have to a choke point
 9435|       |     * for type objects, so is the best place I can think of to try
 9436|       |     * to get type objects into the doubly-linked list of all objects.
 9437|       |     * Still, not all type objects go through PyType_Ready.
 9438|       |     */
 9439|       |    _Py_AddToAllObjects((PyObject *)type);
 9440|       |#endif
 9441|       |
 9442|       |    /* Initialize tp_dict: _PyType_IsReady() tests if tp_dict != NULL */
 9443|    914|    if (type_ready_set_dict(type) < 0) {
  ------------------
  |  Branch (9443:9): [True: 0, False: 914]
  ------------------
 9444|      0|        goto error;
 9445|      0|    }
 9446|    914|    if (type_ready_set_base(type) < 0) {
  ------------------
  |  Branch (9446:9): [True: 0, False: 914]
  ------------------
 9447|      0|        goto error;
 9448|      0|    }
 9449|    914|    if (type_ready_set_type(type) < 0) {
  ------------------
  |  Branch (9449:9): [True: 0, False: 914]
  ------------------
 9450|      0|        goto error;
 9451|      0|    }
 9452|    914|    if (type_ready_set_bases(type, initial) < 0) {
  ------------------
  |  Branch (9452:9): [True: 0, False: 914]
  ------------------
 9453|      0|        goto error;
 9454|      0|    }
 9455|    914|    if (type_ready_mro(type, initial) < 0) {
  ------------------
  |  Branch (9455:9): [True: 0, False: 914]
  ------------------
 9456|      0|        goto error;
 9457|      0|    }
 9458|    914|    if (type_ready_set_new(type, initial) < 0) {
  ------------------
  |  Branch (9458:9): [True: 0, False: 914]
  ------------------
 9459|      0|        goto error;
 9460|      0|    }
 9461|    914|    if (type_ready_fill_dict(type) < 0) {
  ------------------
  |  Branch (9461:9): [True: 0, False: 914]
  ------------------
 9462|      0|        goto error;
 9463|      0|    }
 9464|    914|    if (initial) {
  ------------------
  |  Branch (9464:9): [True: 914, False: 0]
  ------------------
 9465|    914|        if (type_ready_inherit(type) < 0) {
  ------------------
  |  Branch (9465:13): [True: 0, False: 914]
  ------------------
 9466|      0|            goto error;
 9467|      0|        }
 9468|    914|        if (type_ready_preheader(type) < 0) {
  ------------------
  |  Branch (9468:13): [True: 0, False: 914]
  ------------------
 9469|      0|            goto error;
 9470|      0|        }
 9471|    914|    }
 9472|    914|    if (type_ready_set_hash(type) < 0) {
  ------------------
  |  Branch (9472:9): [True: 0, False: 914]
  ------------------
 9473|      0|        goto error;
 9474|      0|    }
 9475|    914|    if (add_subclasses) {
  ------------------
  |  Branch (9475:9): [True: 416, False: 498]
  ------------------
 9476|    416|        if (type_ready_add_subclasses(type) < 0) {
  ------------------
  |  Branch (9476:13): [True: 0, False: 416]
  ------------------
 9477|      0|            goto error;
 9478|      0|        }
 9479|    416|    }
 9480|    914|    if (initial) {
  ------------------
  |  Branch (9480:9): [True: 914, False: 0]
  ------------------
 9481|    914|        if (type_ready_managed_dict(type) < 0) {
  ------------------
  |  Branch (9481:13): [True: 0, False: 914]
  ------------------
 9482|      0|            goto error;
 9483|      0|        }
 9484|    914|        if (type_ready_post_checks(type) < 0) {
  ------------------
  |  Branch (9484:13): [True: 0, False: 914]
  ------------------
 9485|      0|            goto error;
 9486|      0|        }
 9487|    914|    }
 9488|       |
 9489|    914|    if (add_subclasses) {
  ------------------
  |  Branch (9489:9): [True: 416, False: 498]
  ------------------
 9490|       |        /* All done -- set the ready flag */
 9491|    416|        if (initial) {
  ------------------
  |  Branch (9491:13): [True: 416, False: 0]
  ------------------
 9492|    416|            type_add_flags(type, Py_TPFLAGS_READY);
  ------------------
  |  |  518|    416|#define Py_TPFLAGS_READY (1UL << 12)
  ------------------
 9493|    416|        } else {
 9494|      0|            assert(type->tp_flags & Py_TPFLAGS_READY);
  ------------------
  |  Branch (9494:13): [True: 0, False: 0]
  ------------------
 9495|      0|        }
 9496|    416|    }
 9497|       |
 9498|    914|    stop_readying(type);
 9499|       |
 9500|    914|    assert(_PyType_CheckConsistency(type));
  ------------------
  |  Branch (9500:5): [True: 914, False: 0]
  ------------------
 9501|    914|    return 0;
 9502|       |
 9503|      0|error:
 9504|      0|    stop_readying(type);
 9505|      0|    return -1;
 9506|    914|}
typeobject.c:start_readying:
  486|    914|{
  487|    914|    if (type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|    914|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (487:9): [True: 416, False: 498]
  ------------------
  488|    416|        PyInterpreterState *interp = _PyInterpreterState_GET();
  489|    416|        managed_static_type_state *state = managed_static_type_state_get(interp, type);
  490|    416|        assert(state != NULL);
  ------------------
  |  Branch (490:9): [True: 416, False: 0]
  ------------------
  491|    416|        assert(!state->readying);
  ------------------
  |  Branch (491:9): [True: 416, False: 0]
  ------------------
  492|    416|        state->readying = 1;
  493|    416|        return;
  494|    416|    }
  495|    914|    assert((type->tp_flags & Py_TPFLAGS_READYING) == 0);
  ------------------
  |  Branch (495:5): [True: 498, False: 0]
  ------------------
  496|    498|    type_add_flags(type, Py_TPFLAGS_READYING);
  ------------------
  |  |  521|    498|#define Py_TPFLAGS_READYING (1UL << 13)
  ------------------
  497|    498|}
typeobject.c:type_ready_pre_checks:
 8916|    914|{
 8917|       |    /* Consistency checks for PEP 590:
 8918|       |     * - Py_TPFLAGS_METHOD_DESCRIPTOR requires tp_descr_get
 8919|       |     * - Py_TPFLAGS_HAVE_VECTORCALL requires tp_call and
 8920|       |     *   tp_vectorcall_offset > 0
 8921|       |     * To avoid mistakes, we require this before inheriting.
 8922|       |     */
 8923|    914|    if (type->tp_flags & Py_TPFLAGS_METHOD_DESCRIPTOR) {
  ------------------
  |  |  534|    914|#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
  ------------------
  |  Branch (8923:9): [True: 7, False: 907]
  ------------------
 8924|      7|        _PyObject_ASSERT((PyObject *)type, type->tp_descr_get != NULL);
  ------------------
  |  |  425|      7|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  423|      7|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  416|      7|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (416:6): [True: 7, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  417|      7|      ? (void)(0) \
  |  |  |  |  |  |  418|      7|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8925|      7|    }
 8926|    914|    if (type->tp_flags & Py_TPFLAGS_HAVE_VECTORCALL) {
  ------------------
  |  |  510|    914|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (8926:9): [True: 20, False: 894]
  ------------------
 8927|     20|        _PyObject_ASSERT((PyObject *)type, type->tp_vectorcall_offset > 0);
  ------------------
  |  |  425|     20|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  423|     20|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  416|     20|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (416:6): [True: 20, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  417|     20|      ? (void)(0) \
  |  |  |  |  |  |  418|     20|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8928|     20|        _PyObject_ASSERT((PyObject *)type, type->tp_call != NULL);
  ------------------
  |  |  425|     20|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  423|     20|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  416|     20|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (416:6): [True: 20, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  417|     20|      ? (void)(0) \
  |  |  |  |  |  |  418|     20|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8929|     20|    }
 8930|       |
 8931|       |    /* Consistency checks for pattern matching
 8932|       |     * Py_TPFLAGS_SEQUENCE and Py_TPFLAGS_MAPPING are mutually exclusive */
 8933|    914|    _PyObject_ASSERT((PyObject *)type, (type->tp_flags & COLLECTION_FLAGS) != COLLECTION_FLAGS);
  ------------------
  |  |  425|    914|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  423|    914|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  416|    914|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (416:6): [True: 914, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  417|    914|      ? (void)(0) \
  |  |  |  |  |  |  418|    914|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  151|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8934|       |
 8935|    914|    if (type->tp_name == NULL) {
  ------------------
  |  Branch (8935:9): [True: 0, False: 914]
  ------------------
 8936|      0|        PyErr_Format(PyExc_SystemError,
 8937|      0|                     "Type does not define the tp_name field.");
 8938|      0|        return -1;
 8939|      0|    }
 8940|    914|    return 0;
 8941|    914|}
typeobject.c:type_ready_set_dict:
 9022|    914|{
 9023|    914|    if (lookup_tp_dict(type) != NULL) {
  ------------------
  |  Branch (9023:9): [True: 376, False: 538]
  ------------------
 9024|    376|        return 0;
 9025|    376|    }
 9026|       |
 9027|    538|    PyObject *dict = PyDict_New();
 9028|    538|    if (dict == NULL) {
  ------------------
  |  Branch (9028:9): [True: 0, False: 538]
  ------------------
 9029|      0|        return -1;
 9030|      0|    }
 9031|    538|    set_tp_dict(type, dict);
 9032|    538|    return 0;
 9033|    538|}
typeobject.c:type_ready_set_base:
 8946|    914|{
 8947|       |    /* Initialize tp_base (defaults to BaseObject unless that's us) */
 8948|    914|    PyTypeObject *base = type->tp_base;
 8949|    914|    if (base == NULL && type != &PyBaseObject_Type) {
  ------------------
  |  Branch (8949:9): [True: 244, False: 670]
  |  Branch (8949:25): [True: 242, False: 2]
  ------------------
 8950|    242|        base = &PyBaseObject_Type;
 8951|    242|        if (type->tp_flags & Py_TPFLAGS_HEAPTYPE) {
  ------------------
  |  |  503|    242|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (8951:13): [True: 0, False: 242]
  ------------------
 8952|      0|            type->tp_base = (PyTypeObject*)Py_NewRef((PyObject*)base);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8953|      0|        }
 8954|    242|        else {
 8955|    242|            type->tp_base = base;
 8956|    242|        }
 8957|    242|    }
 8958|    914|    assert(type->tp_base != NULL || type == &PyBaseObject_Type);
  ------------------
  |  Branch (8958:5): [True: 912, False: 2]
  |  Branch (8958:5): [True: 2, False: 0]
  ------------------
 8959|       |
 8960|       |    /* Now the only way base can still be NULL is if type is
 8961|       |     * &PyBaseObject_Type. */
 8962|       |
 8963|       |    /* Initialize the base class */
 8964|    914|    if (base != NULL && !_PyType_IsReady(base)) {
  ------------------
  |  Branch (8964:9): [True: 912, False: 2]
  |  Branch (8964:25): [True: 0, False: 912]
  ------------------
 8965|      0|        if (PyType_Ready(base) < 0) {
  ------------------
  |  Branch (8965:13): [True: 0, False: 0]
  ------------------
 8966|      0|            return -1;
 8967|      0|        }
 8968|      0|    }
 8969|       |
 8970|    914|    return 0;
 8971|    914|}
typeobject.c:type_ready_set_type:
 8975|    914|{
 8976|       |    /* Initialize ob_type if NULL.      This means extensions that want to be
 8977|       |       compilable separately on Windows can call PyType_Ready() instead of
 8978|       |       initializing the ob_type field of their type objects. */
 8979|       |    /* The test for base != NULL is really unnecessary, since base is only
 8980|       |       NULL when type is &PyBaseObject_Type, and we know its ob_type is
 8981|       |       not NULL (it's initialized to &PyType_Type).      But coverity doesn't
 8982|       |       know that. */
 8983|    914|    PyTypeObject *base = type->tp_base;
 8984|    914|    if (Py_IS_TYPE(type, NULL) && base != NULL) {
  ------------------
  |  |  215|  1.82k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    914|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    914|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 170, False: 744]
  |  |  ------------------
  ------------------
  |  Branch (8984:35): [True: 170, False: 0]
  ------------------
 8985|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8986|    170|    }
 8987|       |
 8988|    914|    return 0;
 8989|    914|}
typeobject.c:type_ready_set_bases:
 8993|    914|{
 8994|    914|    if (type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|    914|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (8994:9): [True: 416, False: 498]
  ------------------
 8995|    416|        if (!initial) {
  ------------------
  |  Branch (8995:13): [True: 0, False: 416]
  ------------------
 8996|      0|            assert(lookup_tp_bases(type) != NULL);
  ------------------
  |  Branch (8996:13): [True: 0, False: 0]
  ------------------
 8997|      0|            return 0;
 8998|      0|        }
 8999|    416|        assert(lookup_tp_bases(type) == NULL);
  ------------------
  |  Branch (8999:9): [True: 416, False: 0]
  ------------------
 9000|    416|    }
 9001|       |
 9002|    914|    PyObject *bases = lookup_tp_bases(type);
 9003|    914|    if (bases == NULL) {
  ------------------
  |  Branch (9003:9): [True: 416, False: 498]
  ------------------
 9004|    416|        PyTypeObject *base = type->tp_base;
 9005|    416|        if (base == NULL) {
  ------------------
  |  Branch (9005:13): [True: 2, False: 414]
  ------------------
 9006|      2|            bases = PyTuple_New(0);
 9007|      2|        }
 9008|    414|        else {
 9009|    414|            bases = PyTuple_Pack(1, base);
 9010|    414|        }
 9011|    416|        if (bases == NULL) {
  ------------------
  |  Branch (9011:13): [True: 0, False: 416]
  ------------------
 9012|      0|            return -1;
 9013|      0|        }
 9014|    416|        set_tp_bases(type, bases, 1);
 9015|    416|    }
 9016|    914|    return 0;
 9017|    914|}
typeobject.c:type_ready_mro:
 9139|    914|{
 9140|    914|    ASSERT_TYPE_LOCK_HELD();
 9141|       |
 9142|    914|    if (type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|    914|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (9142:9): [True: 416, False: 498]
  ------------------
 9143|    416|        if (!initial) {
  ------------------
  |  Branch (9143:13): [True: 0, False: 416]
  ------------------
 9144|      0|            assert(lookup_tp_mro(type) != NULL);
  ------------------
  |  Branch (9144:13): [True: 0, False: 0]
  ------------------
 9145|      0|            return 0;
 9146|      0|        }
 9147|    416|        assert(lookup_tp_mro(type) == NULL);
  ------------------
  |  Branch (9147:9): [True: 416, False: 0]
  ------------------
 9148|    416|    }
 9149|       |
 9150|       |    /* Calculate method resolution order */
 9151|    914|    if (mro_internal(type, initial, NULL) < 0) {
  ------------------
  |  Branch (9151:9): [True: 0, False: 914]
  ------------------
 9152|      0|        return -1;
 9153|      0|    }
 9154|    914|    PyObject *mro = lookup_tp_mro(type);
 9155|    914|    assert(mro != NULL);
  ------------------
  |  Branch (9155:5): [True: 914, False: 0]
  ------------------
 9156|    914|    assert(PyTuple_Check(mro));
  ------------------
  |  Branch (9156:5): [True: 914, False: 0]
  ------------------
 9157|       |
 9158|       |    /* All bases of statically allocated type should be statically allocated,
 9159|       |       and static builtin types must have static builtin bases. */
 9160|    914|    if (!(type->tp_flags & Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|    914|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (9160:9): [True: 416, False: 498]
  ------------------
 9161|    416|        assert(type->tp_flags & Py_TPFLAGS_IMMUTABLETYPE);
  ------------------
  |  Branch (9161:9): [True: 416, False: 0]
  ------------------
 9162|    416|        Py_ssize_t n = PyTuple_GET_SIZE(mro);
  ------------------
  |  |   27|    416|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    416|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    416|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9163|  1.65k|        for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (9163:32): [True: 1.23k, False: 416]
  ------------------
 9164|  2.47k|            PyTypeObject *base = _PyType_CAST(PyTuple_GET_ITEM(mro, i));
  ------------------
  |  |  770|  1.23k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  2.47k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (37:38): [True: 1.23k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (9164:34): [True: 1.23k, False: 0]
  |  Branch (9164:34): [True: 1.23k, False: 0]
  ------------------
 9165|  1.23k|            if (base->tp_flags & Py_TPFLAGS_HEAPTYPE) {
  ------------------
  |  |  503|  1.23k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (9165:17): [True: 0, False: 1.23k]
  ------------------
 9166|      0|                PyErr_Format(PyExc_TypeError,
 9167|      0|                             "type '%.100s' is not dynamically allocated but "
 9168|      0|                             "its base type '%.100s' is dynamically allocated",
 9169|      0|                             type->tp_name, base->tp_name);
 9170|      0|                return -1;
 9171|      0|            }
 9172|  2.47k|            assert(!(type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) ||
  ------------------
  |  Branch (9172:13): [True: 0, False: 1.23k]
  |  Branch (9172:13): [True: 1.23k, False: 0]
  ------------------
 9173|  1.23k|                   (base->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN));
 9174|  1.23k|        }
 9175|    416|    }
 9176|    914|    return 0;
 9177|    914|}
typeobject.c:type_ready_set_new:
 9308|    914|{
 9309|    914|    PyTypeObject *base = type->tp_base;
 9310|       |    /* The condition below could use some explanation.
 9311|       |
 9312|       |       It appears that tp_new is not inherited for static types whose base
 9313|       |       class is 'object'; this seems to be a precaution so that old extension
 9314|       |       types don't suddenly become callable (object.__new__ wouldn't insure the
 9315|       |       invariants that the extension type's own factory function ensures).
 9316|       |
 9317|       |       Heap types, of course, are under our control, so they do inherit tp_new;
 9318|       |       static extension types that specify some other built-in type as the
 9319|       |       default also inherit object.__new__. */
 9320|    914|    if (type->tp_new == NULL
  ------------------
  |  Branch (9320:9): [True: 620, False: 294]
  ------------------
 9321|    620|        && base == &PyBaseObject_Type
  ------------------
  |  Branch (9321:12): [True: 269, False: 351]
  ------------------
 9322|    269|        && !(type->tp_flags & Py_TPFLAGS_HEAPTYPE))
  ------------------
  |  |  503|    269|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (9322:12): [True: 130, False: 139]
  ------------------
 9323|    130|    {
 9324|    130|        if (initial) {
  ------------------
  |  Branch (9324:13): [True: 130, False: 0]
  ------------------
 9325|    130|            type_add_flags(type, Py_TPFLAGS_DISALLOW_INSTANTIATION);
  ------------------
  |  |  497|    130|#define Py_TPFLAGS_DISALLOW_INSTANTIATION (1UL << 7)
  ------------------
 9326|    130|        } else {
 9327|      0|            assert(type->tp_flags & Py_TPFLAGS_DISALLOW_INSTANTIATION);
  ------------------
  |  Branch (9327:13): [True: 0, False: 0]
  ------------------
 9328|      0|        }
 9329|    130|    }
 9330|       |
 9331|    914|    if (!(type->tp_flags & Py_TPFLAGS_DISALLOW_INSTANTIATION)) {
  ------------------
  |  |  497|    914|#define Py_TPFLAGS_DISALLOW_INSTANTIATION (1UL << 7)
  ------------------
  |  Branch (9331:9): [True: 759, False: 155]
  ------------------
 9332|    759|        if (type->tp_new != NULL) {
  ------------------
  |  Branch (9332:13): [True: 290, False: 469]
  ------------------
 9333|    290|            if (initial || base == NULL || type->tp_new != base->tp_new) {
  ------------------
  |  Branch (9333:17): [True: 290, False: 0]
  |  Branch (9333:28): [True: 0, False: 0]
  |  Branch (9333:44): [True: 0, False: 0]
  ------------------
 9334|       |                // If "__new__" key does not exists in the type dictionary,
 9335|       |                // set it to tp_new_wrapper().
 9336|    290|                if (add_tp_new_wrapper(type) < 0) {
  ------------------
  |  Branch (9336:21): [True: 0, False: 290]
  ------------------
 9337|      0|                    return -1;
 9338|      0|                }
 9339|    290|            }
 9340|    290|        }
 9341|    469|        else {
 9342|    469|            if (initial) {
  ------------------
  |  Branch (9342:17): [True: 469, False: 0]
  ------------------
 9343|       |                // tp_new is NULL: inherit tp_new from base
 9344|    469|                type->tp_new = base->tp_new;
 9345|    469|            }
 9346|    469|        }
 9347|    759|    }
 9348|    155|    else {
 9349|       |        // Py_TPFLAGS_DISALLOW_INSTANTIATION sets tp_new to NULL
 9350|    155|        if (initial) {
  ------------------
  |  Branch (9350:13): [True: 155, False: 0]
  ------------------
 9351|    155|            type->tp_new = NULL;
 9352|    155|        }
 9353|    155|    }
 9354|    914|    return 0;
 9355|    914|}
typeobject.c:add_tp_new_wrapper:
10439|    290|{
10440|    290|    PyObject *dict = lookup_tp_dict(type);
10441|    290|    int r = PyDict_Contains(dict, &_Py_ID(__new__));
  ------------------
  |  |  936|    290|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    290|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    290|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10442|    290|    if (r > 0) {
  ------------------
  |  Branch (10442:9): [True: 0, False: 290]
  ------------------
10443|      0|        return 0;
10444|      0|    }
10445|    290|    if (r < 0) {
  ------------------
  |  Branch (10445:9): [True: 0, False: 290]
  ------------------
10446|      0|        return -1;
10447|      0|    }
10448|       |
10449|    290|    PyObject *func = PyCFunction_NewEx(tp_new_methoddef, (PyObject *)type, NULL);
  ------------------
  |  |   87|    290|#define PyCFunction_NewEx(ML, SELF, MOD) PyCMethod_New((ML), (SELF), (MOD), NULL)
  ------------------
10450|    290|    if (func == NULL) {
  ------------------
  |  Branch (10450:9): [True: 0, False: 290]
  ------------------
10451|      0|        return -1;
10452|      0|    }
10453|    290|    _PyObject_SetDeferredRefcount(func);
10454|    290|    r = PyDict_SetItem(dict, &_Py_ID(__new__), func);
  ------------------
  |  |  936|    290|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    290|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    290|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10455|    290|    Py_DECREF(func);
  ------------------
  |  |  430|    290|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    290|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    290|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10456|    290|    return r;
10457|    290|}
typeobject.c:type_ready_fill_dict:
 9075|    914|{
 9076|       |    /* Add type-specific descriptors to tp_dict */
 9077|    914|    if (add_operators(type) < 0) {
  ------------------
  |  Branch (9077:9): [True: 0, False: 914]
  ------------------
 9078|      0|        return -1;
 9079|      0|    }
 9080|    914|    if (type_add_methods(type) < 0) {
  ------------------
  |  Branch (9080:9): [True: 0, False: 914]
  ------------------
 9081|      0|        return -1;
 9082|      0|    }
 9083|    914|    if (type_add_members(type) < 0) {
  ------------------
  |  Branch (9083:9): [True: 0, False: 914]
  ------------------
 9084|      0|        return -1;
 9085|      0|    }
 9086|    914|    if (type_add_getset(type) < 0) {
  ------------------
  |  Branch (9086:9): [True: 0, False: 914]
  ------------------
 9087|      0|        return -1;
 9088|      0|    }
 9089|    914|    if (type_dict_set_doc(type) < 0) {
  ------------------
  |  Branch (9089:9): [True: 0, False: 914]
  ------------------
 9090|      0|        return -1;
 9091|      0|    }
 9092|    914|    return 0;
 9093|    914|}
typeobject.c:add_operators:
12402|    914|{
12403|    914|    PyObject *dict = lookup_tp_dict(type);
12404|    914|    pytype_slotdef *p;
12405|    914|    PyObject *descr;
12406|    914|    void **ptr;
12407|       |
12408|  86.8k|    for (p = slotdefs; p->name; p++) {
  ------------------
  |  Branch (12408:24): [True: 85.9k, False: 914]
  ------------------
12409|  85.9k|        if (p->wrapper == NULL)
  ------------------
  |  Branch (12409:13): [True: 5.48k, False: 80.4k]
  ------------------
12410|  5.48k|            continue;
12411|  80.4k|        ptr = slotptr(type, p->offset);
12412|  80.4k|        if (!ptr || !*ptr)
  ------------------
  |  Branch (12412:13): [True: 24.7k, False: 55.6k]
  |  Branch (12412:21): [True: 53.0k, False: 2.57k]
  ------------------
12413|  77.8k|            continue;
12414|       |        /* Also ignore when the type slot has been inherited. */
12415|  2.57k|        if (type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN
  ------------------
  |  |  467|  5.14k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (12415:13): [True: 2.28k, False: 288]
  ------------------
12416|  2.28k|            && type->tp_base != NULL
  ------------------
  |  Branch (12416:16): [True: 2.26k, False: 26]
  ------------------
12417|  2.26k|            && slot_inherited(type, p, ptr))
  ------------------
  |  Branch (12417:16): [True: 322, False: 1.93k]
  ------------------
12418|    322|        {
12419|    322|            continue;
12420|    322|        }
12421|  2.25k|        int r = PyDict_Contains(dict, p->name_strobj);
12422|  2.25k|        if (r > 0)
  ------------------
  |  Branch (12422:13): [True: 40, False: 2.21k]
  ------------------
12423|     40|            continue;
12424|  2.21k|        if (r < 0) {
  ------------------
  |  Branch (12424:13): [True: 0, False: 2.21k]
  ------------------
12425|      0|            return -1;
12426|      0|        }
12427|  2.21k|        if (*ptr == (void *)PyObject_HashNotImplemented) {
  ------------------
  |  Branch (12427:13): [True: 19, False: 2.19k]
  ------------------
12428|       |            /* Classes may prevent the inheritance of the tp_hash
12429|       |               slot by storing PyObject_HashNotImplemented in it. Make it
12430|       |               visible as a None value for the __hash__ attribute. */
12431|     19|            if (PyDict_SetItem(dict, p->name_strobj, Py_None) < 0)
  ------------------
  |  |  616|     19|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (12431:17): [True: 0, False: 19]
  ------------------
12432|      0|                return -1;
12433|     19|        }
12434|  2.19k|        else {
12435|  2.19k|            descr = PyDescr_NewWrapper(type, p, *ptr);
12436|  2.19k|            if (descr == NULL)
  ------------------
  |  Branch (12436:17): [True: 0, False: 2.19k]
  ------------------
12437|      0|                return -1;
12438|  2.19k|            if (PyDict_SetItem(dict, p->name_strobj, descr) < 0) {
  ------------------
  |  Branch (12438:17): [True: 0, False: 2.19k]
  ------------------
12439|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12440|      0|                return -1;
12441|      0|            }
12442|  2.19k|            Py_DECREF(descr);
  ------------------
  |  |  430|  2.19k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.19k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.19k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12443|  2.19k|        }
12444|  2.21k|    }
12445|    914|    return 0;
12446|    914|}
typeobject.c:slot_inherited:
12352|  2.26k|{
12353|  2.26k|    void **slot_base = slotptr(type->tp_base, slotdef->offset);
12354|  2.26k|    if (slot_base == NULL || *slot != *slot_base) {
  ------------------
  |  Branch (12354:9): [True: 770, False: 1.49k]
  |  Branch (12354:30): [True: 1.16k, False: 324]
  ------------------
12355|  1.93k|        return 0;
12356|  1.93k|    }
12357|       |
12358|       |    /* Some slots are inherited in pairs. */
12359|    324|    if (slot == (void *)&type->tp_hash) {
  ------------------
  |  Branch (12359:9): [True: 2, False: 322]
  ------------------
12360|      2|        return (type->tp_richcompare == type->tp_base->tp_richcompare);
12361|      2|    }
12362|    322|    else if (slot == (void *)&type->tp_richcompare) {
  ------------------
  |  Branch (12362:14): [True: 0, False: 322]
  ------------------
12363|      0|        return (type->tp_hash == type->tp_base->tp_hash);
12364|      0|    }
12365|       |
12366|       |    /* It must be inherited (see type_ready_inherit()). */
12367|    322|    return 1;
12368|    324|}
typeobject.c:type_add_methods:
 8569|    914|{
 8570|    914|    PyMethodDef *meth = type->tp_methods;
 8571|    914|    if (meth == NULL) {
  ------------------
  |  Branch (8571:9): [True: 597, False: 317]
  ------------------
 8572|    597|        return 0;
 8573|    597|    }
 8574|       |
 8575|  2.07k|    for (; meth->ml_name != NULL; meth++) {
  ------------------
  |  Branch (8575:12): [True: 1.75k, False: 317]
  ------------------
 8576|  1.75k|        if (type_add_method(type, meth) < 0) {
  ------------------
  |  Branch (8576:13): [True: 0, False: 1.75k]
  ------------------
 8577|      0|            return -1;
 8578|      0|        }
 8579|  1.75k|    }
 8580|    317|    return 0;
 8581|    317|}
typeobject.c:type_add_members:
 8586|    914|{
 8587|    914|    PyMemberDef *memb = type->tp_members;
 8588|    914|    if (memb == NULL) {
  ------------------
  |  Branch (8588:9): [True: 354, False: 560]
  ------------------
 8589|    354|        return 0;
 8590|    354|    }
 8591|       |
 8592|    560|    PyObject *dict = lookup_tp_dict(type);
 8593|  1.24k|    for (; memb->name != NULL; memb++) {
  ------------------
  |  Branch (8593:12): [True: 680, False: 560]
  ------------------
 8594|    680|        PyObject *descr = PyDescr_NewMember(type, memb);
 8595|    680|        if (descr == NULL)
  ------------------
  |  Branch (8595:13): [True: 0, False: 680]
  ------------------
 8596|      0|            return -1;
 8597|       |
 8598|    680|        if (PyDict_SetDefaultRef(dict, PyDescr_NAME(descr), descr, NULL) < 0) {
  ------------------
  |  |   36|    680|#define PyDescr_NAME(x) (((PyDescrObject *)(x))->d_name)
  ------------------
  |  Branch (8598:13): [True: 0, False: 680]
  ------------------
 8599|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8600|      0|            return -1;
 8601|      0|        }
 8602|    680|        Py_DECREF(descr);
  ------------------
  |  |  430|    680|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    680|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    680|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8603|    680|    }
 8604|    560|    return 0;
 8605|    560|}
typeobject.c:type_add_getset:
 8610|    914|{
 8611|    914|    PyGetSetDef *gsp = type->tp_getset;
 8612|    914|    if (gsp == NULL) {
  ------------------
  |  Branch (8612:9): [True: 788, False: 126]
  ------------------
 8613|    788|        return 0;
 8614|    788|    }
 8615|       |
 8616|    126|    PyObject *dict = lookup_tp_dict(type);
 8617|    578|    for (; gsp->name != NULL; gsp++) {
  ------------------
  |  Branch (8617:12): [True: 452, False: 126]
  ------------------
 8618|    452|        PyObject *descr = PyDescr_NewGetSet(type, gsp);
 8619|    452|        if (descr == NULL) {
  ------------------
  |  Branch (8619:13): [True: 0, False: 452]
  ------------------
 8620|      0|            return -1;
 8621|      0|        }
 8622|       |
 8623|    452|        if (PyDict_SetDefaultRef(dict, PyDescr_NAME(descr), descr, NULL) < 0) {
  ------------------
  |  |   36|    452|#define PyDescr_NAME(x) (((PyDescrObject *)(x))->d_name)
  ------------------
  |  Branch (8623:13): [True: 0, False: 452]
  ------------------
 8624|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8625|      0|            return -1;
 8626|      0|        }
 8627|    452|        Py_DECREF(descr);
  ------------------
  |  |  430|    452|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    452|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    452|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8628|    452|    }
 8629|    126|    return 0;
 8630|    126|}
typeobject.c:type_dict_set_doc:
 9040|    914|{
 9041|    914|    PyObject *dict = lookup_tp_dict(type);
 9042|    914|    int r = PyDict_Contains(dict, &_Py_ID(__doc__));
  ------------------
  |  |  936|    914|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    914|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    914|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9043|    914|    if (r < 0) {
  ------------------
  |  Branch (9043:9): [True: 0, False: 914]
  ------------------
 9044|      0|        return -1;
 9045|      0|    }
 9046|    914|    if (r > 0) {
  ------------------
  |  Branch (9046:9): [True: 293, False: 621]
  ------------------
 9047|    293|        return 0;
 9048|    293|    }
 9049|       |
 9050|    621|    if (type->tp_doc != NULL) {
  ------------------
  |  Branch (9050:9): [True: 365, False: 256]
  ------------------
 9051|    365|        const char *doc_str;
 9052|    365|        doc_str = _PyType_DocWithoutSignature(type->tp_name, type->tp_doc);
 9053|    365|        PyObject *doc = PyUnicode_FromString(doc_str);
 9054|    365|        if (doc == NULL) {
  ------------------
  |  Branch (9054:13): [True: 0, False: 365]
  ------------------
 9055|      0|            return -1;
 9056|      0|        }
 9057|       |
 9058|    365|        if (PyDict_SetItem(dict, &_Py_ID(__doc__), doc) < 0) {
  ------------------
  |  |  936|    365|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    365|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    365|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (9058:13): [True: 0, False: 365]
  ------------------
 9059|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9060|      0|            return -1;
 9061|      0|        }
 9062|    365|        Py_DECREF(doc);
  ------------------
  |  |  430|    365|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    365|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    365|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9063|    365|    }
 9064|    256|    else {
 9065|    256|        if (PyDict_SetItem(dict, &_Py_ID(__doc__), Py_None) < 0) {
  ------------------
  |  |  936|    256|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    256|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    256|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (PyDict_SetItem(dict, &_Py_ID(__doc__), Py_None) < 0) {
  ------------------
  |  |  616|    256|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (9065:13): [True: 0, False: 256]
  ------------------
 9066|      0|            return -1;
 9067|      0|        }
 9068|    256|    }
 9069|    621|    return 0;
 9070|    621|}
typeobject.c:type_ready_inherit:
 9214|    914|{
 9215|    914|    ASSERT_TYPE_LOCK_HELD();
 9216|       |
 9217|       |    /* Inherit special flags from dominant base */
 9218|    914|    PyTypeObject *base = type->tp_base;
 9219|    914|    if (base != NULL) {
  ------------------
  |  Branch (9219:9): [True: 912, False: 2]
  ------------------
 9220|    912|        inherit_special(type, base);
 9221|    912|    }
 9222|       |
 9223|       |    // Inherit slots
 9224|    914|    PyObject *mro = lookup_tp_mro(type);
 9225|    914|    assert(mro != NULL);
  ------------------
  |  Branch (9225:5): [True: 914, False: 0]
  ------------------
 9226|    914|    Py_ssize_t n = PyTuple_GET_SIZE(mro);
  ------------------
  |  |   27|    914|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    914|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    914|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9227|  2.88k|    for (Py_ssize_t i = 1; i < n; i++) {
  ------------------
  |  Branch (9227:28): [True: 1.96k, False: 914]
  ------------------
 9228|  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 (9228:23): [True: 1.96k, False: 0]
  ------------------
 9229|  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]
  |  |  ------------------
  ------------------
 9230|  1.96k|            if (inherit_slots(type, (PyTypeObject *)b) < 0) {
  ------------------
  |  Branch (9230:17): [True: 0, False: 1.96k]
  ------------------
 9231|      0|                return -1;
 9232|      0|            }
 9233|  1.96k|            inherit_patma_flags(type, (PyTypeObject *)b);
 9234|  1.96k|        }
 9235|  1.96k|    }
 9236|       |
 9237|    914|    if (base != NULL) {
  ------------------
  |  Branch (9237:9): [True: 912, False: 2]
  ------------------
 9238|    912|        type_ready_inherit_as_structs(type, base);
 9239|    912|    }
 9240|       |
 9241|       |    /* Sanity check for tp_free. */
 9242|    914|    if (_PyType_IS_GC(type) && (type->tp_flags & Py_TPFLAGS_BASETYPE) &&
  ------------------
  |  |  820|  1.82k|#define _PyType_IS_GC(t) _PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
  |  |  ------------------
  |  |  |  |  524|    914|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  |  |  ------------------
  |  |  |  Branch (820:26): [True: 842, False: 72]
  |  |  ------------------
  ------------------
                  if (_PyType_IS_GC(type) && (type->tp_flags & Py_TPFLAGS_BASETYPE) &&
  ------------------
  |  |  506|    842|#define Py_TPFLAGS_BASETYPE (1UL << 10)
  ------------------
  |  Branch (9242:32): [True: 615, False: 227]
  ------------------
 9243|    615|        (type->tp_free == NULL || type->tp_free == PyObject_Free))
  ------------------
  |  Branch (9243:10): [True: 0, False: 615]
  |  Branch (9243:35): [True: 0, False: 615]
  ------------------
 9244|      0|    {
 9245|       |        /* This base class needs to call tp_free, but doesn't have
 9246|       |         * one, or its tp_free is for non-gc'ed objects.
 9247|       |         */
 9248|      0|        PyErr_Format(PyExc_TypeError, "type '%.100s' participates in "
 9249|      0|                     "gc and is a base type but has inappropriate "
 9250|      0|                     "tp_free slot",
 9251|      0|                     type->tp_name);
 9252|      0|        return -1;
 9253|      0|    }
 9254|       |
 9255|    914|    return 0;
 9256|    914|}
typeobject.c:inherit_special:
 8635|    912|{
 8636|       |    /* Copying tp_traverse and tp_clear is connected to the GC flags */
 8637|    912|    if (!(type->tp_flags & Py_TPFLAGS_HAVE_GC) &&
  ------------------
  |  |  524|    912|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (8637:9): [True: 84, False: 828]
  ------------------
 8638|     84|        (base->tp_flags & Py_TPFLAGS_HAVE_GC) &&
  ------------------
  |  |  524|     84|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (8638:9): [True: 14, False: 70]
  ------------------
 8639|     14|        (!type->tp_traverse && !type->tp_clear)) {
  ------------------
  |  Branch (8639:10): [True: 14, False: 0]
  |  Branch (8639:32): [True: 14, False: 0]
  ------------------
 8640|     14|        type_add_flags(type, Py_TPFLAGS_HAVE_GC);
  ------------------
  |  |  524|     14|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
 8641|     14|        if (type->tp_traverse == NULL)
  ------------------
  |  Branch (8641:13): [True: 14, False: 0]
  ------------------
 8642|     14|            type->tp_traverse = base->tp_traverse;
 8643|     14|        if (type->tp_clear == NULL)
  ------------------
  |  Branch (8643:13): [True: 14, False: 0]
  ------------------
 8644|     14|            type->tp_clear = base->tp_clear;
 8645|     14|    }
 8646|    912|    type_add_flags(type, base->tp_flags & Py_TPFLAGS_PREHEADER);
  ------------------
  |  |  487|    912|#define Py_TPFLAGS_PREHEADER (Py_TPFLAGS_MANAGED_WEAKREF | Py_TPFLAGS_MANAGED_DICT)
  |  |  ------------------
  |  |  |  |  477|    912|#define Py_TPFLAGS_MANAGED_WEAKREF (1 << 3)
  |  |  ------------------
  |  |               #define Py_TPFLAGS_PREHEADER (Py_TPFLAGS_MANAGED_WEAKREF | Py_TPFLAGS_MANAGED_DICT)
  |  |  ------------------
  |  |  |  |  482|    912|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  |  |  ------------------
  ------------------
 8647|       |
 8648|    912|    if (type->tp_basicsize == 0)
  ------------------
  |  Branch (8648:9): [True: 18, False: 894]
  ------------------
 8649|     18|        type->tp_basicsize = base->tp_basicsize;
 8650|       |
 8651|       |    /* Copy other non-function slots */
 8652|       |
 8653|    912|#define COPYVAL(SLOT) \
 8654|    912|    if (type->SLOT == 0) { type->SLOT = base->SLOT; }
 8655|       |
 8656|    912|    COPYVAL(tp_itemsize);
  ------------------
  |  | 8654|    912|    if (type->SLOT == 0) { type->SLOT = base->SLOT; }
  |  |  ------------------
  |  |  |  Branch (8654:9): [True: 834, False: 78]
  |  |  ------------------
  ------------------
 8657|    912|    COPYVAL(tp_weaklistoffset);
  ------------------
  |  | 8654|    912|    if (type->SLOT == 0) { type->SLOT = base->SLOT; }
  |  |  ------------------
  |  |  |  Branch (8654:9): [True: 705, False: 207]
  |  |  ------------------
  ------------------
 8658|    912|    COPYVAL(tp_dictoffset);
  ------------------
  |  | 8654|    912|    if (type->SLOT == 0) { type->SLOT = base->SLOT; }
  |  |  ------------------
  |  |  |  Branch (8654:9): [True: 632, False: 280]
  |  |  ------------------
  ------------------
 8659|       |
 8660|    912|#undef COPYVAL
 8661|       |
 8662|       |    /* Setup fast subclass flags */
 8663|    912|    PyObject *mro = lookup_tp_mro(base);
 8664|    912|    unsigned long flags = 0;
 8665|    912|    if (is_subtype_with_mro(mro, base, (PyTypeObject*)PyExc_BaseException)) {
  ------------------
  |  Branch (8665:9): [True: 155, False: 757]
  ------------------
 8666|    155|        flags |= Py_TPFLAGS_BASE_EXC_SUBCLASS;
  ------------------
  |  |  557|    155|#define Py_TPFLAGS_BASE_EXC_SUBCLASS    (1UL << 30)
  ------------------
 8667|    155|    }
 8668|    757|    else if (is_subtype_with_mro(mro, base, &PyType_Type)) {
  ------------------
  |  Branch (8668:14): [True: 5, False: 752]
  ------------------
 8669|      5|        flags |= Py_TPFLAGS_TYPE_SUBCLASS;
  ------------------
  |  |  558|      5|#define Py_TPFLAGS_TYPE_SUBCLASS        (1UL << 31)
  ------------------
 8670|      5|    }
 8671|    752|    else if (is_subtype_with_mro(mro, base, &PyLong_Type)) {
  ------------------
  |  Branch (8671:14): [True: 7, False: 745]
  ------------------
 8672|      7|        flags |= Py_TPFLAGS_LONG_SUBCLASS;
  ------------------
  |  |  551|      7|#define Py_TPFLAGS_LONG_SUBCLASS        (1UL << 24)
  ------------------
 8673|      7|    }
 8674|    745|    else if (is_subtype_with_mro(mro, base, &PyBytes_Type)) {
  ------------------
  |  Branch (8674:14): [True: 0, False: 745]
  ------------------
 8675|      0|        flags |= Py_TPFLAGS_BYTES_SUBCLASS;
  ------------------
  |  |  554|      0|#define Py_TPFLAGS_BYTES_SUBCLASS       (1UL << 27)
  ------------------
 8676|      0|    }
 8677|    745|    else if (is_subtype_with_mro(mro, base, &PyUnicode_Type)) {
  ------------------
  |  Branch (8677:14): [True: 3, False: 742]
  ------------------
 8678|      3|        flags |= Py_TPFLAGS_UNICODE_SUBCLASS;
  ------------------
  |  |  555|      3|#define Py_TPFLAGS_UNICODE_SUBCLASS     (1UL << 28)
  ------------------
 8679|      3|    }
 8680|    742|    else if (is_subtype_with_mro(mro, base, &PyTuple_Type)) {
  ------------------
  |  Branch (8680:14): [True: 39, False: 703]
  ------------------
 8681|     39|        flags |= Py_TPFLAGS_TUPLE_SUBCLASS;
  ------------------
  |  |  553|     39|#define Py_TPFLAGS_TUPLE_SUBCLASS       (1UL << 26)
  ------------------
 8682|     39|    }
 8683|    703|    else if (is_subtype_with_mro(mro, base, &PyList_Type)) {
  ------------------
  |  Branch (8683:14): [True: 2, False: 701]
  ------------------
 8684|      2|        flags |= Py_TPFLAGS_LIST_SUBCLASS;
  ------------------
  |  |  552|      2|#define Py_TPFLAGS_LIST_SUBCLASS        (1UL << 25)
  ------------------
 8685|      2|    }
 8686|    701|    else if (is_subtype_with_mro(mro, base, &PyDict_Type)) {
  ------------------
  |  Branch (8686:14): [True: 6, False: 695]
  ------------------
 8687|      6|        flags |= Py_TPFLAGS_DICT_SUBCLASS;
  ------------------
  |  |  556|      6|#define Py_TPFLAGS_DICT_SUBCLASS        (1UL << 29)
  ------------------
 8688|      6|    }
 8689|       |
 8690|       |    /* Setup some inheritable flags */
 8691|    912|    if (PyType_HasFeature(base, _Py_TPFLAGS_MATCH_SELF)) {
  ------------------
  |  |  545|    912|#define _Py_TPFLAGS_MATCH_SELF (1UL << 22)
  ------------------
  |  Branch (8691:9): [True: 57, False: 855]
  ------------------
 8692|     57|        flags |= _Py_TPFLAGS_MATCH_SELF;
  ------------------
  |  |  545|     57|#define _Py_TPFLAGS_MATCH_SELF (1UL << 22)
  ------------------
 8693|     57|    }
 8694|    912|    if (PyType_HasFeature(base, Py_TPFLAGS_ITEMS_AT_END)) {
  ------------------
  |  |  548|    912|#define Py_TPFLAGS_ITEMS_AT_END (1UL << 23)
  ------------------
  |  Branch (8694:9): [True: 5, False: 907]
  ------------------
 8695|      5|        flags |= Py_TPFLAGS_ITEMS_AT_END;
  ------------------
  |  |  548|      5|#define Py_TPFLAGS_ITEMS_AT_END (1UL << 23)
  ------------------
 8696|      5|    }
 8697|    912|    type_add_flags(type, flags);
 8698|    912|}
typeobject.c:inherit_slots:
 8715|  1.96k|{
 8716|  1.96k|    PyTypeObject *basebase;
 8717|       |
 8718|  1.96k|#undef SLOTDEFINED
 8719|  1.96k|#undef COPYSLOT
 8720|  1.96k|#undef COPYNUM
 8721|  1.96k|#undef COPYSEQ
 8722|  1.96k|#undef COPYMAP
 8723|  1.96k|#undef COPYBUF
 8724|       |
 8725|  1.96k|#define SLOTDEFINED(SLOT) \
 8726|  1.96k|    (base->SLOT != 0 && \
 8727|  1.96k|     (basebase == NULL || base->SLOT != basebase->SLOT))
 8728|       |
 8729|  1.96k|#define COPYSLOT(SLOT) \
 8730|  1.96k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
 8731|       |
 8732|  1.96k|#define COPYASYNC(SLOT) COPYSLOT(tp_as_async->SLOT)
 8733|  1.96k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
 8734|  1.96k|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
 8735|  1.96k|#define COPYMAP(SLOT) COPYSLOT(tp_as_mapping->SLOT)
 8736|  1.96k|#define COPYBUF(SLOT) COPYSLOT(tp_as_buffer->SLOT)
 8737|       |
 8738|       |    /* This won't inherit indirect slots (from tp_as_number etc.)
 8739|       |       if type doesn't provide the space. */
 8740|       |
 8741|  1.96k|    if (type->tp_as_number != NULL && base->tp_as_number != NULL) {
  ------------------
  |  Branch (8741:9): [True: 1.21k, False: 758]
  |  Branch (8741:39): [True: 575, False: 635]
  ------------------
 8742|    575|        basebase = base->tp_base;
 8743|    575|        if (basebase->tp_as_number == NULL)
  ------------------
  |  Branch (8743:13): [True: 340, False: 235]
  ------------------
 8744|    340|            basebase = NULL;
 8745|    575|        COPYNUM(nb_add);
  ------------------
  |  | 8733|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8730|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8726|    565|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8726:6): [True: 8, False: 557]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8727|    565|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8727:7): [True: 7, False: 1]
  |  |  |  |  |  |  |  Branch (8727:27): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8730:9): [True: 565, False: 10]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8746|    575|        COPYNUM(nb_subtract);
  ------------------
  |  | 8733|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8730|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8726|    529|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8726:6): [True: 16, False: 513]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8727|    529|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8727:7): [True: 7, False: 9]
  |  |  |  |  |  |  |  Branch (8727:27): [True: 8, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8730:9): [True: 529, False: 46]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8747|    575|        COPYNUM(nb_multiply);
  ------------------
  |  | 8733|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8730|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8726|    567|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8726:6): [True: 8, False: 559]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8727|    567|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8727:7): [True: 7, False: 1]
  |  |  |  |  |  |  |  Branch (8727:27): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8730:9): [True: 567, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8748|    575|        COPYNUM(nb_remainder);
  ------------------
  |  | 8733|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8730|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8726|    561|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8726:6): [True: 13, False: 548]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8727|    561|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8727:7): [True: 10, False: 3]
  |  |  |  |  |  |  |  Branch (8727:27): [True: 0, False: 3]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8730:9): [True: 561, False: 14]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8749|    575|        COPYNUM(nb_divmod);
  ------------------
  |  | 8733|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8730|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8726|    567|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8726:6): [True: 8, False: 559]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8727|    567|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8727:7): [True: 7, False: 1]
  |  |  |  |  |  |  |  Branch (8727:27): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8730:9): [True: 567, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8750|    575|        COPYNUM(nb_power);
  ------------------
  |  | 8733|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8730|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8726|    567|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8726:6): [True: 8, False: 559]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8727|    567|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8727:7): [True: 7, False: 1]
  |  |  |  |  |  |  |  Branch (8727:27): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8730:9): [True: 567, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8751|    575|        COPYNUM(nb_negative);
  ------------------
  |  | 8733|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8730|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8726|    567|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8726:6): [True: 8, False: 559]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8727|    567|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8727:7): [True: 7, False: 1]
  |  |  |  |  |  |  |  Branch (8727:27): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8730:9): [True: 567, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8752|    575|        COPYNUM(nb_positive);
  ------------------
  |  | 8733|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8730|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8726|    567|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8726:6): [True: 8, False: 559]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8727|    567|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8727:7): [True: 7, False: 1]
  |  |  |  |  |  |  |  Branch (8727:27): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8730:9): [True: 567, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8753|    575|        COPYNUM(nb_absolute);
  ------------------
  |  | 8733|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8730|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8726|    567|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8726:6): [True: 8, False: 559]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8727|    567|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8727:7): [True: 7, False: 1]
  |  |  |  |  |  |  |  Branch (8727:27): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8730:9): [True: 567, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8754|    575|        COPYNUM(nb_bool);
  ------------------
  |  | 8733|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8730|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8726|    567|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8726:6): [True: 8, False: 559]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8727|    567|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8727:7): [True: 7, False: 1]
  |  |  |  |  |  |  |  Branch (8727:27): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8730:9): [True: 567, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8755|    575|        COPYNUM(nb_invert);
  ------------------
  |  | 8733|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8730|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8726|    564|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8726:6): [True: 5, False: 559]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8727|    564|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8727:7): [True: 4, False: 1]
  |  |  |  |  |  |  |  Branch (8727:27): [True: 1, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8730:9): [True: 564, False: 11]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8756|    575|        COPYNUM(nb_lshift);
  ------------------
  |  | 8733|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8730|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8726|    567|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8726:6): [True: 8, False: 559]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8727|    567|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8727:7): [True: 7, False: 1]
  |  |  |  |  |  |  |  Branch (8727:27): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8730:9): [True: 567, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8757|    575|        COPYNUM(nb_rshift);
  ------------------
  |  | 8733|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8730|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8726|    567|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8726:6): [True: 8, False: 559]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8727|    567|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8727:7): [True: 7, False: 1]
  |  |  |  |  |  |  |  Branch (8727:27): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8730:9): [True: 567, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8758|    575|        COPYNUM(nb_and);
  ------------------
  |  | 8733|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8730|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8726|    528|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8726:6): [True: 13, False: 515]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8727|    528|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8727:7): [True: 4, False: 9]
  |  |  |  |  |  |  |  Branch (8727:27): [True: 9, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8730:9): [True: 528, False: 47]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8759|    575|        COPYNUM(nb_xor);
  ------------------
  |  | 8733|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8730|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8726|    528|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8726:6): [True: 13, False: 515]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8727|    528|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8727:7): [True: 4, False: 9]
  |  |  |  |  |  |  |  Branch (8727:27): [True: 9, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8730:9): [True: 528, False: 47]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8760|    575|        COPYNUM(nb_or);
  ------------------
  |  | 8733|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8730|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8726|    525|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8726:6): [True: 25, False: 500]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8727|    525|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8727:7): [True: 14, False: 11]
  |  |  |  |  |  |  |  Branch (8727:27): [True: 9, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8730:9): [True: 525, False: 50]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8761|    575|        COPYNUM(nb_int);
  ------------------
  |  | 8733|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8730|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8726|    567|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8726:6): [True: 8, False: 559]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8727|    567|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8727:7): [True: 7, False: 1]
  |  |  |  |  |  |  |  Branch (8727:27): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8730:9): [True: 567, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8762|    575|        COPYNUM(nb_float);
  ------------------
  |  | 8733|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8730|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8726|    567|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8726:6): [True: 8, False: 559]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8727|    567|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8727:7): [True: 7, False: 1]
  |  |  |  |  |  |  |  Branch (8727:27): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8730:9): [True: 567, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8763|    575|        COPYNUM(nb_inplace_add);
  ------------------
  |  | 8733|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8730|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8726|    569|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8726:6): [True: 1, False: 568]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8727|    569|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8727:7): [True: 0, False: 1]
  |  |  |  |  |  |  |  Branch (8727:27): [True: 1, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8730:9): [True: 569, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8764|    575|        COPYNUM(nb_inplace_subtract);
  ------------------
  |  | 8733|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8730|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8726|    575|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8726:6): [True: 0, False: 575]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8727|    575|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8727:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8727:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8730:9): [True: 575, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8765|    575|        COPYNUM(nb_inplace_multiply);
  ------------------
  |  | 8733|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8730|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8726|    575|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8726:6): [True: 0, False: 575]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8727|    575|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8727:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8727:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8730:9): [True: 575, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8766|    575|        COPYNUM(nb_inplace_remainder);
  ------------------
  |  | 8733|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8730|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8726|    575|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8726:6): [True: 0, False: 575]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8727|    575|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8727:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8727:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8730:9): [True: 575, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8767|    575|        COPYNUM(nb_inplace_power);
  ------------------
  |  | 8733|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8730|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8726|    575|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8726:6): [True: 0, False: 575]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8727|    575|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8727:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8727:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8730:9): [True: 575, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8768|    575|        COPYNUM(nb_inplace_lshift);
  ------------------
  |  | 8733|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8730|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8726|    575|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8726:6): [True: 0, False: 575]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8727|    575|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8727:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8727:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8730:9): [True: 575, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8769|    575|        COPYNUM(nb_inplace_rshift);
  ------------------
  |  | 8733|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8730|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8726|    575|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8726:6): [True: 0, False: 575]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8727|    575|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8727:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8727:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8730:9): [True: 575, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8770|    575|        COPYNUM(nb_inplace_and);
  ------------------
  |  | 8733|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8730|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8726|    575|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8726:6): [True: 0, False: 575]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8727|    575|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8727:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8727:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8730:9): [True: 575, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8771|    575|        COPYNUM(nb_inplace_xor);
  ------------------
  |  | 8733|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8730|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8726|    575|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8726:6): [True: 0, False: 575]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8727|    575|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8727:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8727:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8730:9): [True: 575, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8772|    575|        COPYNUM(nb_inplace_or);
  ------------------
  |  | 8733|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8730|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8726|    573|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8726:6): [True: 4, False: 569]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8727|    573|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8727:7): [True: 4, False: 0]
  |  |  |  |  |  |  |  Branch (8727:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8730:9): [True: 573, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8773|    575|        COPYNUM(nb_true_divide);
  ------------------
  |  | 8733|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8730|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8726|    567|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8726:6): [True: 8, False: 559]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8727|    567|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8727:7): [True: 7, False: 1]
  |  |  |  |  |  |  |  Branch (8727:27): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8730:9): [True: 567, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8774|    575|        COPYNUM(nb_floor_divide);
  ------------------
  |  | 8733|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8730|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8726|    567|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8726:6): [True: 8, False: 559]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8727|    567|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8727:7): [True: 7, False: 1]
  |  |  |  |  |  |  |  Branch (8727:27): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8730:9): [True: 567, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8775|    575|        COPYNUM(nb_inplace_true_divide);
  ------------------
  |  | 8733|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8730|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8726|    575|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8726:6): [True: 0, False: 575]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8727|    575|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8727:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8727:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8730:9): [True: 575, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8776|    575|        COPYNUM(nb_inplace_floor_divide);
  ------------------
  |  | 8733|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8730|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8726|    575|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8726:6): [True: 0, False: 575]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8727|    575|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8727:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8727:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8730:9): [True: 575, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8777|    575|        COPYNUM(nb_index);
  ------------------
  |  | 8733|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8730|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8726|    567|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8726:6): [True: 8, False: 559]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8727|    567|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8727:7): [True: 7, False: 1]
  |  |  |  |  |  |  |  Branch (8727:27): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8730:9): [True: 567, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8778|    575|        COPYNUM(nb_matrix_multiply);
  ------------------
  |  | 8733|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8730|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8726|    575|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8726:6): [True: 0, False: 575]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8727|    575|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8727:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8727:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8730:9): [True: 575, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8779|    575|        COPYNUM(nb_inplace_matrix_multiply);
  ------------------
  |  | 8733|    575|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8730|    575|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8726|    575|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8726:6): [True: 0, False: 575]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8727|    575|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8727:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8727:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8730:9): [True: 575, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8780|    575|    }
 8781|       |
 8782|  1.96k|    if (type->tp_as_async != NULL && base->tp_as_async != NULL) {
  ------------------
  |  Branch (8782:9): [True: 1.16k, False: 808]
  |  Branch (8782:38): [True: 550, False: 610]
  ------------------
 8783|    550|        basebase = base->tp_base;
 8784|    550|        if (basebase->tp_as_async == NULL)
  ------------------
  |  Branch (8784:13): [True: 320, False: 230]
  ------------------
 8785|    320|            basebase = NULL;
 8786|    550|        COPYASYNC(am_await);
  ------------------
  |  | 8732|    550|#define COPYASYNC(SLOT) COPYSLOT(tp_as_async->SLOT)
  |  |  ------------------
  |  |  |  | 8730|    550|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8726|    550|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8726:6): [True: 2, False: 548]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8727|    550|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8727:7): [True: 2, False: 0]
  |  |  |  |  |  |  |  Branch (8727:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8730:9): [True: 550, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8787|    550|        COPYASYNC(am_aiter);
  ------------------
  |  | 8732|    550|#define COPYASYNC(SLOT) COPYSLOT(tp_as_async->SLOT)
  |  |  ------------------
  |  |  |  | 8730|    550|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8726|    550|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8726:6): [True: 6, False: 544]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8727|    550|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8727:7): [True: 4, False: 2]
  |  |  |  |  |  |  |  Branch (8727:27): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8730:9): [True: 550, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8788|    550|        COPYASYNC(am_anext);
  ------------------
  |  | 8732|    550|#define COPYASYNC(SLOT) COPYSLOT(tp_as_async->SLOT)
  |  |  ------------------
  |  |  |  | 8730|    550|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8726|    548|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8726:6): [True: 2, False: 546]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8727|    548|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8727:7): [True: 0, False: 2]
  |  |  |  |  |  |  |  Branch (8727:27): [True: 2, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8730:9): [True: 548, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8789|    550|    }
 8790|       |
 8791|  1.96k|    if (type->tp_as_sequence != NULL && base->tp_as_sequence != NULL) {
  ------------------
  |  Branch (8791:9): [True: 1.18k, False: 780]
  |  Branch (8791:41): [True: 582, False: 606]
  ------------------
 8792|    582|        basebase = base->tp_base;
 8793|    582|        if (basebase->tp_as_sequence == NULL)
  ------------------
  |  Branch (8793:13): [True: 349, False: 233]
  ------------------
 8794|    349|            basebase = NULL;
 8795|    582|        COPYSEQ(sq_length);
  ------------------
  |  | 8734|    582|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8730|    582|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8726|    492|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8726:6): [True: 120, False: 372]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8727|    492|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8727:7): [True: 56, False: 64]
  |  |  |  |  |  |  |  Branch (8727:27): [True: 7, False: 57]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8730:9): [True: 492, False: 90]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8796|    582|        COPYSEQ(sq_concat);
  ------------------
  |  | 8734|    582|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8730|    582|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8726|    576|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8726:6): [True: 31, False: 545]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8727|    576|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8727:7): [True: 28, False: 3]
  |  |  |  |  |  |  |  Branch (8727:27): [True: 0, False: 3]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8730:9): [True: 576, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8797|    582|        COPYSEQ(sq_repeat);
  ------------------
  |  | 8734|    582|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8730|    582|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8726|    576|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8726:6): [True: 31, False: 545]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8727|    576|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8727:7): [True: 28, False: 3]
  |  |  |  |  |  |  |  Branch (8727:27): [True: 0, False: 3]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8730:9): [True: 576, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8798|    582|        COPYSEQ(sq_item);
  ------------------
  |  | 8734|    582|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8730|    582|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8726|    519|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8726:6): [True: 45, False: 474]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8727|    519|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8727:7): [True: 25, False: 20]
  |  |  |  |  |  |  |  Branch (8727:27): [True: 15, False: 5]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8730:9): [True: 519, False: 63]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8799|    582|        COPYSEQ(sq_ass_item);
  ------------------
  |  | 8734|    582|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8730|    582|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8726|    556|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8726:6): [True: 7, False: 549]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8727|    556|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8727:7): [True: 2, False: 5]
  |  |  |  |  |  |  |  Branch (8727:27): [True: 5, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8730:9): [True: 556, False: 26]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8800|    582|        COPYSEQ(sq_contains);
  ------------------
  |  | 8734|    582|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8730|    582|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8726|    465|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8726:6): [True: 85, False: 380]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8727|    465|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8727:7): [True: 35, False: 50]
  |  |  |  |  |  |  |  Branch (8727:27): [True: 30, False: 20]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8730:9): [True: 465, False: 117]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8801|    582|        COPYSEQ(sq_inplace_concat);
  ------------------
  |  | 8734|    582|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8730|    582|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8726|    582|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8726:6): [True: 2, False: 580]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8727|    582|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8727:7): [True: 2, False: 0]
  |  |  |  |  |  |  |  Branch (8727:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8730:9): [True: 582, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8802|    582|        COPYSEQ(sq_inplace_repeat);
  ------------------
  |  | 8734|    582|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8730|    582|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8726|    582|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8726:6): [True: 2, False: 580]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8727|    582|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8727:7): [True: 2, False: 0]
  |  |  |  |  |  |  |  Branch (8727:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8730:9): [True: 582, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8803|    582|    }
 8804|       |
 8805|  1.96k|    if (type->tp_as_mapping != NULL && base->tp_as_mapping != NULL) {
  ------------------
  |  Branch (8805:9): [True: 1.19k, False: 776]
  |  Branch (8805:40): [True: 586, False: 606]
  ------------------
 8806|    586|        basebase = base->tp_base;
 8807|    586|        if (basebase->tp_as_mapping == NULL)
  ------------------
  |  Branch (8807:13): [True: 353, False: 233]
  ------------------
 8808|    353|            basebase = NULL;
 8809|    586|        COPYMAP(mp_length);
  ------------------
  |  | 8735|    586|#define COPYMAP(SLOT) COPYSLOT(tp_as_mapping->SLOT)
  |  |  ------------------
  |  |  |  | 8730|    586|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8726|    496|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8726:6): [True: 126, False: 370]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8727|    496|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8727:7): [True: 62, False: 64]
  |  |  |  |  |  |  |  Branch (8727:27): [True: 7, False: 57]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8730:9): [True: 496, False: 90]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8810|    586|        COPYMAP(mp_subscript);
  ------------------
  |  | 8735|    586|#define COPYMAP(SLOT) COPYSLOT(tp_as_mapping->SLOT)
  |  |  ------------------
  |  |  |  | 8730|    586|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8726|    526|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8726:6): [True: 56, False: 470]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8727|    526|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8727:7): [True: 36, False: 20]
  |  |  |  |  |  |  |  Branch (8727:27): [True: 12, False: 8]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8730:9): [True: 526, False: 60]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8811|    586|        COPYMAP(mp_ass_subscript);
  ------------------
  |  | 8735|    586|#define COPYMAP(SLOT) COPYSLOT(tp_as_mapping->SLOT)
  |  |  ------------------
  |  |  |  | 8730|    586|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8726|    558|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8726:6): [True: 11, False: 547]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8727|    558|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8727:7): [True: 6, False: 5]
  |  |  |  |  |  |  |  Branch (8727:27): [True: 5, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8730:9): [True: 558, False: 28]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8812|    586|    }
 8813|       |
 8814|  1.96k|    if (type->tp_as_buffer != NULL && base->tp_as_buffer != NULL) {
  ------------------
  |  Branch (8814:9): [True: 1.15k, False: 812]
  |  Branch (8814:39): [True: 550, False: 606]
  ------------------
 8815|    550|        basebase = base->tp_base;
 8816|    550|        if (basebase->tp_as_buffer == NULL)
  ------------------
  |  Branch (8816:13): [True: 320, False: 230]
  ------------------
 8817|    320|            basebase = NULL;
 8818|    550|        COPYBUF(bf_getbuffer);
  ------------------
  |  | 8736|    550|#define COPYBUF(SLOT) COPYSLOT(tp_as_buffer->SLOT)
  |  |  ------------------
  |  |  |  | 8730|    550|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8726|    550|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8726:6): [True: 0, False: 550]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8727|    550|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8727:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8727:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8730:9): [True: 550, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8819|    550|        COPYBUF(bf_releasebuffer);
  ------------------
  |  | 8736|    550|#define COPYBUF(SLOT) COPYSLOT(tp_as_buffer->SLOT)
  |  |  ------------------
  |  |  |  | 8730|    550|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8726|    550|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8726:6): [True: 0, False: 550]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8727|    550|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8727:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8727:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8730:9): [True: 550, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8820|    550|    }
 8821|       |
 8822|  1.96k|    basebase = base->tp_base;
 8823|       |
 8824|  1.96k|    COPYSLOT(tp_dealloc);
  ------------------
  |  | 8730|  1.96k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8726|     34|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8726:6): [True: 34, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 8727|     34|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8727:7): [True: 16, False: 18]
  |  |  |  |  |  Branch (8727:27): [True: 12, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8730:9): [True: 34, False: 1.93k]
  |  |  ------------------
  ------------------
 8825|  1.96k|    if (type->tp_getattr == NULL && type->tp_getattro == NULL) {
  ------------------
  |  Branch (8825:9): [True: 1.96k, False: 0]
  |  Branch (8825:37): [True: 679, False: 1.28k]
  ------------------
 8826|    679|        type->tp_getattr = base->tp_getattr;
 8827|    679|        type->tp_getattro = base->tp_getattro;
 8828|    679|    }
 8829|  1.96k|    if (type->tp_setattr == NULL && type->tp_setattro == NULL) {
  ------------------
  |  Branch (8829:9): [True: 1.96k, False: 0]
  |  Branch (8829:37): [True: 888, False: 1.08k]
  ------------------
 8830|    888|        type->tp_setattr = base->tp_setattr;
 8831|    888|        type->tp_setattro = base->tp_setattro;
 8832|    888|    }
 8833|  1.96k|    COPYSLOT(tp_repr);
  ------------------
  |  | 8730|  1.96k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8726|  1.26k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8726:6): [True: 1.26k, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 8727|  1.26k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8727:7): [True: 355, False: 911]
  |  |  |  |  |  Branch (8727:27): [True: 333, False: 578]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8730:9): [True: 1.26k, False: 702]
  |  |  ------------------
  ------------------
 8834|       |    /* tp_hash see tp_richcompare */
 8835|  1.96k|    {
 8836|       |        /* Always inherit tp_vectorcall_offset to support PyVectorcall_Call().
 8837|       |         * If Py_TPFLAGS_HAVE_VECTORCALL is not inherited, then vectorcall
 8838|       |         * won't be used automatically. */
 8839|  1.96k|        COPYSLOT(tp_vectorcall_offset);
  ------------------
  |  | 8730|  1.96k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8726|  1.93k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8726:6): [True: 13, False: 1.92k]
  |  |  |  |  ------------------
  |  |  |  | 8727|  1.93k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8727:7): [True: 0, False: 13]
  |  |  |  |  |  Branch (8727:27): [True: 11, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8730:9): [True: 1.93k, False: 31]
  |  |  ------------------
  ------------------
 8840|       |
 8841|       |        /* Inherit Py_TPFLAGS_HAVE_VECTORCALL if tp_call is not overridden */
 8842|  1.96k|        if (!type->tp_call &&
  ------------------
  |  Branch (8842:13): [True: 1.91k, False: 49]
  ------------------
 8843|  1.91k|            _PyType_HasFeature(base, Py_TPFLAGS_HAVE_VECTORCALL))
  ------------------
  |  |  510|  1.91k|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (8843:13): [True: 13, False: 1.90k]
  ------------------
 8844|     13|        {
 8845|     13|            type_add_flags(type, Py_TPFLAGS_HAVE_VECTORCALL);
  ------------------
  |  |  510|     13|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
 8846|     13|        }
 8847|  1.96k|        COPYSLOT(tp_call);
  ------------------
  |  | 8730|  1.96k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8726|  1.91k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8726:6): [True: 15, False: 1.90k]
  |  |  |  |  ------------------
  |  |  |  | 8727|  1.91k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8727:7): [True: 0, False: 15]
  |  |  |  |  |  Branch (8727:27): [True: 13, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8730:9): [True: 1.91k, False: 49]
  |  |  ------------------
  ------------------
 8848|  1.96k|    }
 8849|  1.96k|    COPYSLOT(tp_str);
  ------------------
  |  | 8730|  1.96k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8726|  1.62k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8726:6): [True: 1.62k, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 8727|  1.62k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8727:7): [True: 724, False: 896]
  |  |  |  |  |  Branch (8727:27): [True: 143, False: 753]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8730:9): [True: 1.62k, False: 348]
  |  |  ------------------
  ------------------
 8850|  1.96k|    {
 8851|       |        /* Copy comparison-related slots only when
 8852|       |           not overriding them anywhere */
 8853|  1.96k|        if (type->tp_richcompare == NULL &&
  ------------------
  |  Branch (8853:13): [True: 858, False: 1.11k]
  ------------------
 8854|    858|            type->tp_hash == NULL)
  ------------------
  |  Branch (8854:13): [True: 848, False: 10]
  ------------------
 8855|    848|        {
 8856|    848|            int r = overrides_hash(type);
 8857|    848|            if (r < 0) {
  ------------------
  |  Branch (8857:17): [True: 0, False: 848]
  ------------------
 8858|      0|                return -1;
 8859|      0|            }
 8860|    848|            if (!r) {
  ------------------
  |  Branch (8860:17): [True: 796, False: 52]
  ------------------
 8861|    796|                type->tp_richcompare = base->tp_richcompare;
 8862|    796|                type->tp_hash = base->tp_hash;
 8863|    796|            }
 8864|    848|        }
 8865|  1.96k|    }
 8866|  1.96k|    {
 8867|  1.96k|        COPYSLOT(tp_iter);
  ------------------
  |  | 8730|  1.96k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8726|  1.56k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8726:6): [True: 171, False: 1.39k]
  |  |  |  |  ------------------
  |  |  |  | 8727|  1.56k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8727:7): [True: 0, False: 171]
  |  |  |  |  |  Branch (8727:27): [True: 115, False: 56]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8730:9): [True: 1.56k, False: 403]
  |  |  ------------------
  ------------------
 8868|  1.96k|        COPYSLOT(tp_iternext);
  ------------------
  |  | 8730|  1.96k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8726|  1.40k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8726:6): [True: 315, False: 1.09k]
  |  |  |  |  ------------------
  |  |  |  | 8727|  1.40k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8727:7): [True: 0, False: 315]
  |  |  |  |  |  Branch (8727:27): [True: 217, False: 98]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8730:9): [True: 1.40k, False: 559]
  |  |  ------------------
  ------------------
 8869|  1.96k|    }
 8870|  1.96k|    {
 8871|  1.96k|        COPYSLOT(tp_descr_get);
  ------------------
  |  | 8730|  1.96k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8726|  1.93k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8726:6): [True: 7, False: 1.92k]
  |  |  |  |  ------------------
  |  |  |  | 8727|  1.93k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8727:7): [True: 0, False: 7]
  |  |  |  |  |  Branch (8727:27): [True: 7, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8730:9): [True: 1.93k, False: 34]
  |  |  ------------------
  ------------------
 8872|       |        /* Inherit Py_TPFLAGS_METHOD_DESCRIPTOR if tp_descr_get was inherited,
 8873|       |         * but only for extension types */
 8874|  1.96k|        if (base->tp_descr_get &&
  ------------------
  |  Branch (8874:13): [True: 7, False: 1.96k]
  ------------------
 8875|      7|            type->tp_descr_get == base->tp_descr_get &&
  ------------------
  |  Branch (8875:13): [True: 7, False: 0]
  ------------------
 8876|      7|            _PyType_HasFeature(type, Py_TPFLAGS_IMMUTABLETYPE) &&
  ------------------
  |  |  500|      7|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (8876:13): [True: 0, False: 7]
  ------------------
 8877|      0|            _PyType_HasFeature(base, Py_TPFLAGS_METHOD_DESCRIPTOR))
  ------------------
  |  |  534|      0|#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
  ------------------
  |  Branch (8877:13): [True: 0, False: 0]
  ------------------
 8878|      0|        {
 8879|      0|            type_add_flags(type, Py_TPFLAGS_METHOD_DESCRIPTOR);
  ------------------
  |  |  534|      0|#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
  ------------------
 8880|      0|        }
 8881|  1.96k|        COPYSLOT(tp_descr_set);
  ------------------
  |  | 8730|  1.96k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8726|  1.95k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8726:6): [True: 3, False: 1.95k]
  |  |  |  |  ------------------
  |  |  |  | 8727|  1.95k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8727:7): [True: 0, False: 3]
  |  |  |  |  |  Branch (8727:27): [True: 3, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8730:9): [True: 1.95k, False: 10]
  |  |  ------------------
  ------------------
 8882|  1.96k|        COPYSLOT(tp_dictoffset);
  ------------------
  |  | 8730|  1.96k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8726|    613|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8726:6): [True: 0, False: 613]
  |  |  |  |  ------------------
  |  |  |  | 8727|    613|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8727:7): [True: 0, False: 0]
  |  |  |  |  |  Branch (8727:27): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8730:9): [True: 613, False: 1.35k]
  |  |  ------------------
  ------------------
 8883|  1.96k|        COPYSLOT(tp_init);
  ------------------
  |  | 8730|  1.96k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8726|  1.11k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8726:6): [True: 1.11k, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 8727|  1.11k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8727:7): [True: 527, False: 585]
  |  |  |  |  |  Branch (8727:27): [True: 200, False: 385]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8730:9): [True: 1.11k, False: 856]
  |  |  ------------------
  ------------------
 8884|  1.96k|        COPYSLOT(tp_alloc);
  ------------------
  |  | 8730|  1.96k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8726|    911|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8726:6): [True: 911, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 8727|    911|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8727:7): [True: 451, False: 460]
  |  |  |  |  |  Branch (8727:27): [True: 0, False: 460]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8730:9): [True: 911, False: 1.05k]
  |  |  ------------------
  ------------------
 8885|  1.96k|        COPYSLOT(tp_is_gc);
  ------------------
  |  | 8730|  1.96k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8726|  1.96k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8726:6): [True: 7, False: 1.95k]
  |  |  |  |  ------------------
  |  |  |  | 8727|  1.96k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8727:7): [True: 0, False: 7]
  |  |  |  |  |  Branch (8727:27): [True: 5, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8730:9): [True: 1.96k, False: 7]
  |  |  ------------------
  ------------------
 8886|  1.96k|        COPYSLOT(tp_finalize);
  ------------------
  |  | 8730|  1.96k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8726|  1.92k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8726:6): [True: 48, False: 1.88k]
  |  |  |  |  ------------------
  |  |  |  | 8727|  1.92k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8727:7): [True: 0, False: 48]
  |  |  |  |  |  Branch (8727:27): [True: 26, False: 22]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8730:9): [True: 1.92k, False: 40]
  |  |  ------------------
  ------------------
 8887|  1.96k|        if ((type->tp_flags & Py_TPFLAGS_HAVE_GC) ==
  ------------------
  |  |  524|  1.96k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (8887:13): [True: 1.11k, False: 850]
  ------------------
 8888|  1.96k|            (base->tp_flags & Py_TPFLAGS_HAVE_GC)) {
  ------------------
  |  |  524|  1.96k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
 8889|       |            /* They agree about gc. */
 8890|  1.11k|            COPYSLOT(tp_free);
  ------------------
  |  | 8730|  1.11k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8726|    518|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8726:6): [True: 518, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 8727|    518|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8727:7): [True: 54, False: 464]
  |  |  |  |  |  Branch (8727:27): [True: 206, False: 258]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8730:9): [True: 518, False: 600]
  |  |  ------------------
  ------------------
 8891|  1.11k|        }
 8892|    850|        else if ((type->tp_flags & Py_TPFLAGS_HAVE_GC) &&
  ------------------
  |  |  524|    850|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (8892:18): [True: 850, False: 0]
  ------------------
 8893|    850|                 type->tp_free == NULL &&
  ------------------
  |  Branch (8893:18): [True: 152, False: 698]
  ------------------
 8894|    152|                 base->tp_free == PyObject_Free) {
  ------------------
  |  Branch (8894:18): [True: 152, False: 0]
  ------------------
 8895|       |            /* A bit of magic to plug in the correct default
 8896|       |             * tp_free function when a derived class adds gc,
 8897|       |             * didn't define tp_free, and the base uses the
 8898|       |             * default non-gc tp_free.
 8899|       |             */
 8900|    152|            type->tp_free = PyObject_GC_Del;
 8901|    152|        }
 8902|       |        /* else they didn't agree about gc, and there isn't something
 8903|       |         * obvious to be done -- the type is on its own.
 8904|       |         */
 8905|  1.96k|    }
 8906|  1.96k|    return 0;
 8907|  1.96k|}
typeobject.c:overrides_hash:
 8702|    848|{
 8703|    848|    PyObject *dict = lookup_tp_dict(type);
 8704|       |
 8705|    848|    assert(dict != NULL);
  ------------------
  |  Branch (8705:5): [True: 848, False: 0]
  ------------------
 8706|    848|    int r = PyDict_Contains(dict, &_Py_ID(__eq__));
  ------------------
  |  |  936|    848|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    848|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    848|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8707|    848|    if (r == 0) {
  ------------------
  |  Branch (8707:9): [True: 799, False: 49]
  ------------------
 8708|    799|        r = PyDict_Contains(dict, &_Py_ID(__hash__));
  ------------------
  |  |  936|    799|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    799|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    799|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8709|    799|    }
 8710|    848|    return r;
 8711|    848|}
typeobject.c:inherit_patma_flags:
 9206|  1.96k|inherit_patma_flags(PyTypeObject *type, PyTypeObject *base) {
 9207|  1.96k|    if ((type->tp_flags & COLLECTION_FLAGS) == 0) {
  ------------------
  |  | 8912|  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 (9207:9): [True: 1.83k, False: 136]
  ------------------
 9208|  1.83k|        type_add_flags(type, base->tp_flags & COLLECTION_FLAGS);
  ------------------
  |  | 8912|  1.83k|#define COLLECTION_FLAGS (Py_TPFLAGS_SEQUENCE | Py_TPFLAGS_MAPPING)
  |  |  ------------------
  |  |  |  |  490|  1.83k|#define Py_TPFLAGS_SEQUENCE (1 << 5)
  |  |  ------------------
  |  |               #define COLLECTION_FLAGS (Py_TPFLAGS_SEQUENCE | Py_TPFLAGS_MAPPING)
  |  |  ------------------
  |  |  |  |  492|  1.83k|#define Py_TPFLAGS_MAPPING (1 << 6)
  |  |  ------------------
  ------------------
 9209|  1.83k|    }
 9210|  1.96k|}
typeobject.c:type_ready_inherit_as_structs:
 9187|    912|{
 9188|    912|    if (type->tp_as_async == NULL) {
  ------------------
  |  Branch (9188:9): [True: 400, False: 512]
  ------------------
 9189|    400|        type->tp_as_async = base->tp_as_async;
 9190|    400|    }
 9191|    912|    if (type->tp_as_number == NULL) {
  ------------------
  |  Branch (9191:9): [True: 356, False: 556]
  ------------------
 9192|    356|        type->tp_as_number = base->tp_as_number;
 9193|    356|    }
 9194|    912|    if (type->tp_as_sequence == NULL) {
  ------------------
  |  Branch (9194:9): [True: 372, False: 540]
  ------------------
 9195|    372|        type->tp_as_sequence = base->tp_as_sequence;
 9196|    372|    }
 9197|    912|    if (type->tp_as_mapping == NULL) {
  ------------------
  |  Branch (9197:9): [True: 370, False: 542]
  ------------------
 9198|    370|        type->tp_as_mapping = base->tp_as_mapping;
 9199|    370|    }
 9200|    912|    if (type->tp_as_buffer == NULL) {
  ------------------
  |  Branch (9200:9): [True: 404, False: 508]
  ------------------
 9201|    404|        type->tp_as_buffer = base->tp_as_buffer;
 9202|    404|    }
 9203|    912|}
typeobject.c:type_ready_preheader:
 9097|    914|{
 9098|    914|    if (type->tp_flags & Py_TPFLAGS_MANAGED_DICT) {
  ------------------
  |  |  482|    914|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (9098:9): [True: 149, False: 765]
  ------------------
 9099|    149|        if (type->tp_dictoffset > 0 || type->tp_dictoffset < -1) {
  ------------------
  |  Branch (9099:13): [True: 0, False: 149]
  |  Branch (9099:40): [True: 0, False: 149]
  ------------------
 9100|      0|            PyErr_Format(PyExc_TypeError,
 9101|      0|                        "type %s has the Py_TPFLAGS_MANAGED_DICT flag "
 9102|      0|                        "but tp_dictoffset is set",
 9103|      0|                        type->tp_name);
 9104|      0|            return -1;
 9105|      0|        }
 9106|    149|        if (!(type->tp_flags & Py_TPFLAGS_HAVE_GC)) {
  ------------------
  |  |  524|    149|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (9106:13): [True: 0, False: 149]
  ------------------
 9107|      0|            PyErr_Format(PyExc_SystemError,
 9108|      0|                        "type %s has the Py_TPFLAGS_MANAGED_DICT flag "
 9109|      0|                        "but not Py_TPFLAGS_HAVE_GC flag",
 9110|      0|                        type->tp_name);
 9111|      0|            return -1;
 9112|      0|        }
 9113|    149|        type->tp_dictoffset = -1;
 9114|    149|    }
 9115|    914|    if (type->tp_flags & Py_TPFLAGS_MANAGED_WEAKREF) {
  ------------------
  |  |  477|    914|#define Py_TPFLAGS_MANAGED_WEAKREF (1 << 3)
  ------------------
  |  Branch (9115:9): [True: 303, False: 611]
  ------------------
 9116|    303|        if (type->tp_weaklistoffset != 0 &&
  ------------------
  |  Branch (9116:13): [True: 289, False: 14]
  ------------------
 9117|    289|            type->tp_weaklistoffset != MANAGED_WEAKREF_OFFSET)
  ------------------
  |  |  924|    289|#  define MANAGED_WEAKREF_OFFSET (((Py_ssize_t)sizeof(PyObject *))*-4)
  ------------------
  |  Branch (9117:13): [True: 0, False: 289]
  ------------------
 9118|      0|        {
 9119|      0|            PyErr_Format(PyExc_TypeError,
 9120|      0|                        "type %s has the Py_TPFLAGS_MANAGED_WEAKREF flag "
 9121|      0|                        "but tp_weaklistoffset is set",
 9122|      0|                        type->tp_name);
 9123|      0|            return -1;
 9124|      0|        }
 9125|    303|        if (!(type->tp_flags & Py_TPFLAGS_HAVE_GC)) {
  ------------------
  |  |  524|    303|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (9125:13): [True: 0, False: 303]
  ------------------
 9126|      0|            PyErr_Format(PyExc_SystemError,
 9127|      0|                        "type %s has the Py_TPFLAGS_MANAGED_WEAKREF flag "
 9128|      0|                        "but not Py_TPFLAGS_HAVE_GC flag",
 9129|      0|                        type->tp_name);
 9130|      0|            return -1;
 9131|      0|        }
 9132|    303|        type->tp_weaklistoffset = MANAGED_WEAKREF_OFFSET;
  ------------------
  |  |  924|    303|#  define MANAGED_WEAKREF_OFFSET (((Py_ssize_t)sizeof(PyObject *))*-4)
  ------------------
 9133|    303|    }
 9134|    914|    return 0;
 9135|    914|}
typeobject.c:type_ready_set_hash:
 9266|    914|{
 9267|    914|    if (type->tp_hash != NULL) {
  ------------------
  |  Branch (9267:9): [True: 872, False: 42]
  ------------------
 9268|    872|        return 0;
 9269|    872|    }
 9270|       |
 9271|     42|    PyObject *dict = lookup_tp_dict(type);
 9272|     42|    int r = PyDict_Contains(dict, &_Py_ID(__hash__));
  ------------------
  |  |  936|     42|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     42|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     42|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9273|     42|    if (r < 0) {
  ------------------
  |  Branch (9273:9): [True: 0, False: 42]
  ------------------
 9274|      0|        return -1;
 9275|      0|    }
 9276|     42|    if (r > 0) {
  ------------------
  |  Branch (9276:9): [True: 8, False: 34]
  ------------------
 9277|      8|        return 0;
 9278|      8|    }
 9279|       |
 9280|     34|    if (PyDict_SetItem(dict, &_Py_ID(__hash__), Py_None) < 0) {
  ------------------
  |  |  936|     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 (9280:9): [True: 0, False: 34]
  ------------------
 9281|      0|        return -1;
 9282|      0|    }
 9283|     34|    type->tp_hash = PyObject_HashNotImplemented;
 9284|     34|    return 0;
 9285|     34|}
typeobject.c:type_ready_managed_dict:
 9359|    914|{
 9360|    914|    if (!(type->tp_flags & Py_TPFLAGS_MANAGED_DICT)) {
  ------------------
  |  |  482|    914|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (9360:9): [True: 765, False: 149]
  ------------------
 9361|    765|        return 0;
 9362|    765|    }
 9363|    149|    if (!(type->tp_flags & Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|    149|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (9363:9): [True: 0, False: 149]
  ------------------
 9364|      0|        PyErr_Format(PyExc_SystemError,
 9365|      0|                     "type %s has the Py_TPFLAGS_MANAGED_DICT flag "
 9366|      0|                     "but not Py_TPFLAGS_HEAPTYPE flag",
 9367|      0|                     type->tp_name);
 9368|      0|        return -1;
 9369|      0|    }
 9370|    149|    PyHeapTypeObject* et = (PyHeapTypeObject*)type;
 9371|    149|    if (et->ht_cached_keys == NULL) {
  ------------------
  |  Branch (9371:9): [True: 149, False: 0]
  ------------------
 9372|    149|        et->ht_cached_keys = _PyDict_NewKeysForClass(et);
 9373|    149|        if (et->ht_cached_keys == NULL) {
  ------------------
  |  Branch (9373:13): [True: 0, False: 149]
  ------------------
 9374|      0|            PyErr_NoMemory();
 9375|      0|            return -1;
 9376|      0|        }
 9377|    149|    }
 9378|    149|    if (type->tp_itemsize == 0) {
  ------------------
  |  Branch (9378:9): [True: 141, False: 8]
  ------------------
 9379|    141|        type_add_flags(type, Py_TPFLAGS_INLINE_VALUES);
  ------------------
  |  |  472|    141|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
 9380|    141|    }
 9381|    149|    return 0;
 9382|    149|}
typeobject.c:type_ready_post_checks:
 9386|    914|{
 9387|       |    // bpo-44263: tp_traverse is required if Py_TPFLAGS_HAVE_GC is set.
 9388|       |    // Note: tp_clear is optional.
 9389|    914|    if (type->tp_flags & Py_TPFLAGS_HAVE_GC
  ------------------
  |  |  524|  1.82k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (9389:9): [True: 842, False: 72]
  ------------------
 9390|    842|        && type->tp_traverse == NULL)
  ------------------
  |  Branch (9390:12): [True: 0, False: 842]
  ------------------
 9391|      0|    {
 9392|      0|        PyErr_Format(PyExc_SystemError,
 9393|      0|                     "type %s has the Py_TPFLAGS_HAVE_GC flag "
 9394|      0|                     "but has no traverse function",
 9395|      0|                     type->tp_name);
 9396|      0|        return -1;
 9397|      0|    }
 9398|    914|    if (type->tp_flags & Py_TPFLAGS_MANAGED_DICT) {
  ------------------
  |  |  482|    914|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (9398:9): [True: 149, False: 765]
  ------------------
 9399|    149|        if (type->tp_dictoffset != -1) {
  ------------------
  |  Branch (9399:13): [True: 0, False: 149]
  ------------------
 9400|      0|            PyErr_Format(PyExc_SystemError,
 9401|      0|                        "type %s has the Py_TPFLAGS_MANAGED_DICT flag "
 9402|      0|                        "but tp_dictoffset is set to incompatible value",
 9403|      0|                        type->tp_name);
 9404|      0|            return -1;
 9405|      0|        }
 9406|    149|    }
 9407|    765|    else if (type->tp_dictoffset < (Py_ssize_t)sizeof(PyObject)) {
  ------------------
  |  Branch (9407:14): [True: 422, False: 343]
  ------------------
 9408|    422|        if (type->tp_dictoffset + type->tp_basicsize <= 0) {
  ------------------
  |  Branch (9408:13): [True: 0, False: 422]
  ------------------
 9409|      0|            PyErr_Format(PyExc_SystemError,
 9410|      0|                         "type %s has a tp_dictoffset that is too small",
 9411|      0|                         type->tp_name);
 9412|      0|            return -1;
 9413|      0|        }
 9414|    422|    }
 9415|    914|    return 0;
 9416|    914|}
typeobject.c:stop_readying:
  501|    914|{
  502|    914|    if (type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|    914|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (502:9): [True: 416, False: 498]
  ------------------
  503|    416|        PyInterpreterState *interp = _PyInterpreterState_GET();
  504|    416|        managed_static_type_state *state = managed_static_type_state_get(interp, type);
  505|    416|        assert(state != NULL);
  ------------------
  |  Branch (505:9): [True: 416, False: 0]
  ------------------
  506|    416|        assert(state->readying);
  ------------------
  |  Branch (506:9): [True: 416, False: 0]
  ------------------
  507|    416|        state->readying = 0;
  508|    416|        return;
  509|    416|    }
  510|    914|    assert(type->tp_flags & Py_TPFLAGS_READYING);
  ------------------
  |  Branch (510:5): [True: 498, False: 0]
  ------------------
  511|    498|    type_clear_flags(type, Py_TPFLAGS_READYING);
  ------------------
  |  |  521|    498|#define Py_TPFLAGS_READYING (1UL << 13)
  ------------------
  512|    498|}
typeobject.c:init_static_type:
 9580|    416|{
 9581|    416|    assert(_Py_IsImmortal((PyObject *)self));
  ------------------
  |  Branch (9581:5): [True: 416, False: 0]
  ------------------
 9582|    416|    assert(!(self->tp_flags & Py_TPFLAGS_HEAPTYPE));
  ------------------
  |  Branch (9582:5): [True: 416, False: 0]
  ------------------
 9583|    416|    assert(!(self->tp_flags & Py_TPFLAGS_MANAGED_DICT));
  ------------------
  |  Branch (9583:5): [True: 416, False: 0]
  ------------------
 9584|    416|    assert(!(self->tp_flags & Py_TPFLAGS_MANAGED_WEAKREF));
  ------------------
  |  Branch (9584:5): [True: 416, False: 0]
  ------------------
 9585|       |
 9586|    416|    if (initial) {
  ------------------
  |  Branch (9586:9): [True: 416, False: 0]
  ------------------
 9587|    416|        assert((self->tp_flags & Py_TPFLAGS_READY) == 0);
  ------------------
  |  Branch (9587:9): [True: 416, False: 0]
  ------------------
 9588|       |
 9589|    416|        type_add_flags(self, _Py_TPFLAGS_STATIC_BUILTIN);
  ------------------
  |  |  467|    416|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
 9590|    416|        type_add_flags(self, Py_TPFLAGS_IMMUTABLETYPE);
  ------------------
  |  |  500|    416|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
 9591|       |
 9592|    416|        if (self->tp_version_tag == 0) {
  ------------------
  |  Branch (9592:13): [True: 392, False: 24]
  ------------------
 9593|    392|            unsigned int next_version_tag = next_global_version_tag();
 9594|    392|            assert(next_version_tag != 0);
  ------------------
  |  Branch (9594:13): [True: 392, False: 0]
  ------------------
 9595|    392|            _PyType_SetVersion(self, next_version_tag);
 9596|    392|        }
 9597|    416|    }
 9598|      0|    else {
 9599|      0|        assert(!initial);
  ------------------
  |  Branch (9599:9): [True: 0, False: 0]
  ------------------
 9600|      0|        assert(self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN);
  ------------------
  |  Branch (9600:9): [True: 0, False: 0]
  ------------------
 9601|      0|        assert(self->tp_version_tag != 0);
  ------------------
  |  Branch (9601:9): [True: 0, False: 0]
  ------------------
 9602|      0|    }
 9603|       |
 9604|    416|    managed_static_type_state_init(interp, self, isbuiltin, initial);
 9605|       |
 9606|    416|    int res;
 9607|    416|    BEGIN_TYPE_LOCK();
 9608|    416|    res = type_ready(self, initial, 1);
 9609|    416|    END_TYPE_LOCK();
 9610|    416|    if (res < 0) {
  ------------------
  |  Branch (9610:9): [True: 0, False: 416]
  ------------------
 9611|      0|        _PyStaticType_ClearWeakRefs(interp, self);
 9612|      0|        managed_static_type_state_clear(interp, self, isbuiltin, initial);
 9613|      0|    }
 9614|    416|    return res;
 9615|    416|}
typeobject.c:managed_static_type_state_init:
  315|    416|{
  316|    416|    assert(interp->runtime == &_PyRuntime);
  ------------------
  |  Branch (316:5): [True: 416, False: 0]
  ------------------
  317|       |
  318|    416|    size_t index;
  319|    416|    if (initial) {
  ------------------
  |  Branch (319:9): [True: 416, False: 0]
  ------------------
  320|    416|        assert(!managed_static_type_index_is_set(self));
  ------------------
  |  Branch (320:9): [True: 416, False: 0]
  ------------------
  321|    416|        if (isbuiltin) {
  ------------------
  |  Branch (321:13): [True: 404, False: 12]
  ------------------
  322|    404|            index = interp->types.builtins.num_initialized;
  323|    404|            assert(index < _Py_MAX_MANAGED_STATIC_BUILTIN_TYPES);
  ------------------
  |  Branch (323:13): [True: 404, False: 0]
  ------------------
  324|    404|        }
  325|     12|        else {
  326|     12|            PyMutex_Lock(&interp->types.mutex);
  ------------------
  |  |   59|     12|#define PyMutex_Lock _PyMutex_Lock
  ------------------
  327|     12|            index = interp->types.for_extensions.next_index;
  328|     12|            interp->types.for_extensions.next_index++;
  329|     12|            PyMutex_Unlock(&interp->types.mutex);
  ------------------
  |  |   70|     12|#define PyMutex_Unlock _PyMutex_Unlock
  ------------------
  330|     12|            assert(index < _Py_MAX_MANAGED_STATIC_EXT_TYPES);
  ------------------
  |  Branch (330:13): [True: 12, False: 0]
  ------------------
  331|     12|        }
  332|    416|        managed_static_type_index_set(self, index);
  333|    416|    }
  334|      0|    else {
  335|      0|        index = managed_static_type_index_get(self);
  336|      0|        if (isbuiltin) {
  ------------------
  |  Branch (336:13): [True: 0, False: 0]
  ------------------
  337|      0|            assert(index == interp->types.builtins.num_initialized);
  ------------------
  |  Branch (337:13): [True: 0, False: 0]
  ------------------
  338|      0|            assert(index < _Py_MAX_MANAGED_STATIC_BUILTIN_TYPES);
  ------------------
  |  Branch (338:13): [True: 0, False: 0]
  ------------------
  339|      0|        }
  340|      0|        else {
  341|      0|            assert(index < _Py_MAX_MANAGED_STATIC_EXT_TYPES);
  ------------------
  |  Branch (341:13): [True: 0, False: 0]
  ------------------
  342|      0|        }
  343|      0|    }
  344|    416|    size_t full_index = isbuiltin
  ------------------
  |  Branch (344:25): [True: 404, False: 12]
  ------------------
  345|    416|        ? index
  346|    416|        : index + _Py_MAX_MANAGED_STATIC_BUILTIN_TYPES;
  ------------------
  |  |  543|     12|    (_Py_NUM_MANAGED_PREINITIALIZED_TYPES + 83)
  |  |  ------------------
  |  |  |  |  541|     12|#define _Py_NUM_MANAGED_PREINITIALIZED_TYPES 122
  |  |  ------------------
  ------------------
  347|       |
  348|    416|    assert((initial == 1) ==
  ------------------
  |  Branch (348:5): [True: 416, False: 0]
  ------------------
  349|    416|            (_Py_atomic_load_int64(&_PyRuntime.types.managed_static.types[full_index].interp_count) == 0));
  350|    416|    (void)_Py_atomic_add_int64(
  351|    416|            &_PyRuntime.types.managed_static.types[full_index].interp_count, 1);
  352|       |
  353|    416|    if (initial) {
  ------------------
  |  Branch (353:9): [True: 416, False: 0]
  ------------------
  354|    416|        assert(_PyRuntime.types.managed_static.types[full_index].type == NULL);
  ------------------
  |  Branch (354:9): [True: 416, False: 0]
  ------------------
  355|    416|        _PyRuntime.types.managed_static.types[full_index].type = self;
  356|    416|    }
  357|      0|    else {
  358|      0|        assert(_PyRuntime.types.managed_static.types[full_index].type == self);
  ------------------
  |  Branch (358:9): [True: 0, False: 0]
  ------------------
  359|      0|    }
  360|       |
  361|    416|    managed_static_type_state *state = isbuiltin
  ------------------
  |  Branch (361:40): [True: 404, False: 12]
  ------------------
  362|    416|        ? &(interp->types.builtins.initialized[index])
  363|    416|        : &(interp->types.for_extensions.initialized[index]);
  364|       |
  365|       |    /* It should only be called once for each builtin type per interpreter. */
  366|    416|    assert(state->type == NULL);
  ------------------
  |  Branch (366:5): [True: 416, False: 0]
  ------------------
  367|    416|    state->type = self;
  368|    416|    state->isbuiltin = isbuiltin;
  369|       |
  370|       |    /* state->tp_subclasses is left NULL until init_subclasses() sets it. */
  371|       |    /* state->tp_weaklist is left NULL until insert_head() or insert_after()
  372|       |       (in weakrefobject.c) sets it. */
  373|       |
  374|    416|    if (isbuiltin) {
  ------------------
  |  Branch (374:9): [True: 404, False: 12]
  ------------------
  375|    404|        interp->types.builtins.num_initialized++;
  376|    404|    }
  377|     12|    else {
  378|     12|        interp->types.for_extensions.num_initialized++;
  379|     12|    }
  380|    416|}
typeobject.c:managed_static_type_index_set:
  251|    416|{
  252|    416|    assert(index < _Py_MAX_MANAGED_STATIC_BUILTIN_TYPES);
  ------------------
  |  Branch (252:5): [True: 416, False: 0]
  ------------------
  253|       |    /* We store a 1-based index so 0 can mean "not initialized". */
  254|    416|    self->tp_subclasses = (PyObject *)(index + 1);
  255|    416|}
typeobject.c:vectorcall_method:
 3092|    249|{
 3093|    249|    assert(nargs >= 1);
  ------------------
  |  Branch (3093:5): [True: 249, False: 0]
  ------------------
 3094|       |
 3095|    249|    PyThreadState *tstate = _PyThreadState_GET();
 3096|    249|    PyObject *retval = NULL;
 3097|    249|    PyObject *self = args[0];
 3098|    249|    _PyCStackRef cref;
 3099|    249|    _PyThreadState_PushCStackRef(tstate, &cref);
 3100|    249|    int unbound = lookup_method(self, name, &cref.ref);
 3101|    249|    if (unbound >= 0) {
  ------------------
  |  Branch (3101:9): [True: 249, False: 0]
  ------------------
 3102|    249|        PyObject *func = PyStackRef_AsPyObjectBorrow(cref.ref);
 3103|    249|        retval = vectorcall_unbound(tstate, unbound, func, args, nargs);
 3104|    249|    }
 3105|    249|    _PyThreadState_PopCStackRef(tstate, &cref);
 3106|    249|    return retval;
 3107|    249|}
typeobject.c:check_num_args:
 9751|     36|{
 9752|     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 (9752:9): [True: 0, False: 36]
  ------------------
 9753|      0|        PyErr_SetString(PyExc_SystemError,
 9754|      0|            "PyArg_UnpackTuple() argument list is not a tuple");
 9755|      0|        return 0;
 9756|      0|    }
 9757|     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 (9757:9): [True: 36, False: 0]
  ------------------
 9758|     36|        return 1;
 9759|      0|    PyErr_Format(
 9760|      0|        PyExc_TypeError,
 9761|      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 (9761:47): [True: 0, False: 0]
  ------------------
 9762|      0|    return 0;
 9763|     36|}
typeobject.c:slot_tp_setattro:
10981|     94|{
10982|     94|    PyObject *stack[3];
10983|     94|    PyObject *res;
10984|       |
10985|     94|    stack[0] = self;
10986|     94|    stack[1] = name;
10987|     94|    if (value == NULL) {
  ------------------
  |  Branch (10987:9): [True: 36, False: 58]
  ------------------
10988|     36|        res = vectorcall_method(&_Py_ID(__delattr__), stack, 2);
  ------------------
  |  |  936|     36|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     36|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     36|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10989|     36|    }
10990|     58|    else {
10991|     58|        stack[2] = value;
10992|     58|        res = vectorcall_method(&_Py_ID(__setattr__), stack, 3);
  ------------------
  |  |  936|     58|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     58|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     58|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10993|     58|    }
10994|     94|    if (res == NULL)
  ------------------
  |  Branch (10994:9): [True: 0, False: 94]
  ------------------
10995|      0|        return -1;
10996|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10997|     94|    return 0;
10998|     94|}
typeobject.c:wrap_setattr:
10123|     58|{
10124|     58|    setattrofunc func = (setattrofunc)wrapped;
10125|     58|    int res;
10126|     58|    PyObject *name, *value;
10127|       |
10128|     58|    if (!PyArg_UnpackTuple(args, "__setattr__", 2, 2, &name, &value))
  ------------------
  |  Branch (10128:9): [True: 0, False: 58]
  ------------------
10129|      0|        return NULL;
10130|     58|    if (!hackcheck(self, func, "__setattr__"))
  ------------------
  |  Branch (10130:9): [True: 0, False: 58]
  ------------------
10131|      0|        return NULL;
10132|     58|    res = (*func)(self, name, value);
10133|     58|    if (res < 0)
  ------------------
  |  Branch (10133:9): [True: 0, False: 58]
  ------------------
10134|      0|        return NULL;
10135|     58|    Py_RETURN_NONE;
  ------------------
  |  |  628|     58|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     58|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
10136|     58|}
typeobject.c:hackcheck:
10109|     94|{
10110|     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 (10110:9): [True: 0, False: 94]
  ------------------
10111|      0|        return 1;
10112|      0|    }
10113|       |
10114|     94|    int res;
10115|     94|    BEGIN_TYPE_LOCK();
10116|     94|    res = hackcheck_unlocked(self, func, what);
10117|     94|    END_TYPE_LOCK();
10118|     94|    return res;
10119|     94|}
typeobject.c:hackcheck_unlocked:
10061|     94|{
10062|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10063|       |
10064|     94|    ASSERT_TYPE_LOCK_HELD();
10065|       |
10066|     94|    PyObject *mro = lookup_tp_mro(type);
10067|     94|    if (!mro) {
  ------------------
  |  Branch (10067:9): [True: 0, False: 94]
  ------------------
10068|       |        /* Probably ok not to check the call in this case. */
10069|      0|        return 1;
10070|      0|    }
10071|     94|    assert(PyTuple_Check(mro));
  ------------------
  |  Branch (10071:5): [True: 94, False: 0]
  ------------------
10072|       |
10073|       |    /* Find the (base) type that defined the type's slot function. */
10074|     94|    PyTypeObject *defining_type = type;
10075|     94|    Py_ssize_t i;
10076|    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 (10076:41): [True: 282, False: 94]
  ------------------
10077|    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 (10077:30): [True: 282, False: 0]
  |  Branch (10077:30): [True: 282, False: 0]
  ------------------
10078|    282|        if (base->tp_setattro == slot_tp_setattro) {
  ------------------
  |  Branch (10078:13): [True: 94, False: 188]
  ------------------
10079|       |            /* Ignore Python classes:
10080|       |               they never define their own C-level setattro. */
10081|     94|        }
10082|    188|        else if (base->tp_setattro == type->tp_setattro) {
  ------------------
  |  Branch (10082:18): [True: 0, False: 188]
  ------------------
10083|      0|            defining_type = base;
10084|      0|            break;
10085|      0|        }
10086|    564|    }
10087|       |
10088|       |    /* Reject calls that jump over intermediate C-level overrides. */
10089|    188|    for (PyTypeObject *base = defining_type; base; base = base->tp_base) {
  ------------------
  |  Branch (10089:46): [True: 188, False: 0]
  ------------------
10090|    188|        if (base->tp_setattro == func) {
  ------------------
  |  Branch (10090:13): [True: 94, False: 94]
  ------------------
10091|       |            /* 'func' is the right slot function to call. */
10092|     94|            break;
10093|     94|        }
10094|     94|        else if (base->tp_setattro != slot_tp_setattro) {
  ------------------
  |  Branch (10094:18): [True: 0, False: 94]
  ------------------
10095|       |            /* 'base' is not a Python class and overrides 'func'.
10096|       |               Its tp_setattro should be called instead. */
10097|      0|            PyErr_Format(PyExc_TypeError,
10098|      0|                         "can't apply this %s to %s object",
10099|      0|                         what,
10100|      0|                         type->tp_name);
10101|      0|            return 0;
10102|      0|        }
10103|    188|    }
10104|     94|    return 1;
10105|     94|}
typeobject.c:wrap_delattr:
10140|     36|{
10141|     36|    setattrofunc func = (setattrofunc)wrapped;
10142|     36|    int res;
10143|     36|    PyObject *name;
10144|       |
10145|     36|    if (!check_num_args(args, 1))
  ------------------
  |  Branch (10145:9): [True: 0, False: 36]
  ------------------
10146|      0|        return NULL;
10147|     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 (10147:12): [True: 36, False: 0]
  ------------------
10148|     36|    if (!hackcheck(self, func, "__delattr__"))
  ------------------
  |  Branch (10148:9): [True: 0, False: 36]
  ------------------
10149|      0|        return NULL;
10150|     36|    res = (*func)(self, name, NULL);
10151|     36|    if (res < 0)
  ------------------
  |  Branch (10151:9): [True: 0, False: 36]
  ------------------
10152|      0|        return NULL;
10153|     36|    Py_RETURN_NONE;
  ------------------
  |  |  628|     36|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     36|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
10154|     36|}
typeobject.c:slot_tp_iter:
11036|      4|{
11037|      4|    int attr_is_none = 0;
11038|      4|    PyObject *res = maybe_call_special_no_args(self, &_Py_ID(__iter__),
  ------------------
  |  |  936|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11039|      4|                                               &attr_is_none);
11040|      4|    if (res != NULL) {
  ------------------
  |  Branch (11040:9): [True: 4, False: 0]
  ------------------
11041|      4|        return res;
11042|      4|    }
11043|      0|    else if (PyErr_Occurred()) {
  ------------------
  |  Branch (11043:14): [True: 0, False: 0]
  ------------------
11044|      0|        return NULL;
11045|      0|    }
11046|      0|    else if (attr_is_none || !has_dunder_getitem(self)) {
  ------------------
  |  Branch (11046:14): [True: 0, False: 0]
  |  Branch (11046:30): [True: 0, False: 0]
  ------------------
11047|      0|        PyErr_Format(PyExc_TypeError,
11048|      0|            "'%.200s' object is not iterable",
11049|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11050|      0|        return NULL;
11051|      0|    }
11052|      0|    return PySeqIter_New(self);
11053|      4|}
typeobject.c:slot_tp_descr_get:
11070|      2|{
11071|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11072|      2|    PyThreadState *tstate = _PyThreadState_GET();
11073|      2|    _PyCStackRef cref;
11074|      2|    _PyThreadState_PushCStackRef(tstate, &cref);
11075|      2|    _PyType_LookupStackRefAndVersion(tp, &_Py_ID(__get__), &cref.ref);
  ------------------
  |  |  936|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11076|      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]
  |  |  ------------------
  ------------------
11077|      0|        _PyThreadState_PopCStackRef(tstate, &cref);
11078|      0|#ifndef Py_GIL_DISABLED
11079|       |        /* Avoid further slowdowns */
11080|      0|        if (tp->tp_descr_get == slot_tp_descr_get)
  ------------------
  |  Branch (11080:13): [True: 0, False: 0]
  ------------------
11081|      0|            tp->tp_descr_get = NULL;
11082|      0|#endif
11083|      0|        return Py_NewRef(self);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11084|      0|    }
11085|      2|    if (obj == NULL)
  ------------------
  |  Branch (11085:9): [True: 0, False: 2]
  ------------------
11086|      0|        obj = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
11087|      2|    if (type == NULL)
  ------------------
  |  Branch (11087:9): [True: 0, False: 2]
  ------------------
11088|      0|        type = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
11089|      2|    PyObject *get = PyStackRef_AsPyObjectBorrow(cref.ref);
11090|      2|    PyObject *stack[3] = {self, obj, type};
11091|       |    PyObject *res = PyObject_Vectorcall(get, stack, 3, NULL);
11092|      2|    _PyThreadState_PopCStackRef(tstate, &cref);
11093|      2|    return res;
11094|      2|}
typeobject.c:slot_tp_init:
11119|    309|{
11120|    309|    PyObject *res = call_method(self, &_Py_ID(__init__), args, kwds);
  ------------------
  |  |  936|    309|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    309|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    309|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11121|    309|    if (res == NULL)
  ------------------
  |  Branch (11121:9): [True: 11, False: 298]
  ------------------
11122|     11|        return -1;
11123|    298|    if (res != Py_None) {
  ------------------
  |  |  616|    298|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (11123:9): [True: 0, False: 298]
  ------------------
11124|      0|        PyErr_Format(PyExc_TypeError,
11125|      0|                     "__init__() should return None, not '%.200s'",
11126|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11127|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11128|      0|        return -1;
11129|      0|    }
11130|    298|    Py_DECREF(res);
  ------------------
  |  |  430|    298|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    298|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    298|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11131|    298|    return 0;
11132|    298|}
typeobject.c:wrap_init:
10342|    135|{
10343|    135|    initproc func = (initproc)wrapped;
10344|       |
10345|    135|    if (func(self, args, kwds) < 0)
  ------------------
  |  Branch (10345:9): [True: 0, False: 135]
  ------------------
10346|      0|        return NULL;
10347|    135|    Py_RETURN_NONE;
  ------------------
  |  |  628|    135|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    135|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
10348|    135|}
typeobject.c:vectorcall_maybe:
 3114|      2|{
 3115|      2|    assert(nargs >= 1);
  ------------------
  |  Branch (3115:5): [True: 2, False: 0]
  ------------------
 3116|       |
 3117|      2|    PyObject *self = args[0];
 3118|      2|    _PyCStackRef cref;
 3119|      2|    _PyThreadState_PushCStackRef(tstate, &cref);
 3120|      2|    int unbound = lookup_maybe_method(self, name, &cref.ref);
 3121|      2|    PyObject *func = PyStackRef_AsPyObjectBorrow(cref.ref);
 3122|      2|    if (func == NULL) {
  ------------------
  |  Branch (3122:9): [True: 0, False: 2]
  ------------------
 3123|      0|        _PyThreadState_PopCStackRef(tstate, &cref);
 3124|      0|        if (!PyErr_Occurred()) {
  ------------------
  |  Branch (3124:13): [True: 0, False: 0]
  ------------------
 3125|      0|            Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 3126|      0|        }
 3127|      0|        return NULL;
 3128|      0|    }
 3129|      2|    PyObject *retval = vectorcall_unbound(tstate, unbound, func, args, nargs);
 3130|      2|    _PyThreadState_PopCStackRef(tstate, &cref);
 3131|      2|    return retval;
 3132|      2|}
typeobject.c:slot_sq_length:
10559|     27|{
10560|     27|    PyObject* stack[1] = {self};
10561|     27|    PyObject *res = vectorcall_method(&_Py_ID(__len__), stack, 1);
  ------------------
  |  |  936|     27|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     27|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     27|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10562|     27|    Py_ssize_t len;
10563|       |
10564|     27|    if (res == NULL)
  ------------------
  |  Branch (10564:9): [True: 0, False: 27]
  ------------------
10565|      0|        return -1;
10566|       |
10567|     27|    Py_SETREF(res, _PyNumber_Index(res));
  ------------------
  |  |  354|     27|    do { \
  |  |  355|     27|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|     27|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|     27|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|     27|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|     27|        *_tmp_dst_ptr = (src); \
  |  |  358|     27|        Py_DECREF(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|     27|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 27]
  |  |  ------------------
  ------------------
10568|     27|    if (res == NULL)
  ------------------
  |  Branch (10568:9): [True: 0, False: 27]
  ------------------
10569|      0|        return -1;
10570|       |
10571|     27|    assert(PyLong_Check(res));
  ------------------
  |  Branch (10571:5): [True: 27, False: 0]
  ------------------
10572|     27|    if (_PyLong_IsNegative((PyLongObject *)res)) {
  ------------------
  |  Branch (10572:9): [True: 0, False: 27]
  ------------------
10573|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10574|      0|        PyErr_SetString(PyExc_ValueError,
10575|      0|                        "__len__() should return >= 0");
10576|      0|        return -1;
10577|      0|    }
10578|       |
10579|     27|    len = PyNumber_AsSsize_t(res, PyExc_OverflowError);
10580|     27|    assert(len >= 0 || PyErr_ExceptionMatches(PyExc_OverflowError));
  ------------------
  |  Branch (10580:5): [True: 27, False: 0]
  |  Branch (10580:5): [True: 0, False: 0]
  ------------------
10581|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10582|     27|    return len;
10583|     27|}
typeobject.c:slot_mp_subscript:
10472|     19|FUNCNAME(PyObject *self, ARG1TYPE arg1) \
10473|     19|{ \
10474|     19|    PyObject* stack[2] = {self, arg1}; \
10475|     19|    return vectorcall_method(&_Py_ID(DUNDER), stack, 2); \
  ------------------
  |  |  936|     19|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     19|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     19|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10476|     19|}
typeobject.c:slot_mp_ass_subscript:
10657|     91|{
10658|     91|    PyObject *stack[3];
10659|     91|    PyObject *res;
10660|       |
10661|     91|    stack[0] = self;
10662|     91|    stack[1] = key;
10663|     91|    if (value == NULL) {
  ------------------
  |  Branch (10663:9): [True: 0, False: 91]
  ------------------
10664|      0|        res = vectorcall_method(&_Py_ID(__delitem__), stack, 2);
  ------------------
  |  |  936|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10665|      0|    }
10666|     91|    else {
10667|     91|        stack[2] = value;
10668|     91|        res = vectorcall_method(&_Py_ID(__setitem__), stack, 3);
  ------------------
  |  |  936|     91|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     91|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     91|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10669|     91|    }
10670|       |
10671|     91|    if (res == NULL)
  ------------------
  |  Branch (10671:9): [True: 0, False: 91]
  ------------------
10672|      0|        return -1;
10673|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10674|     91|    return 0;
10675|     91|}
typeobject.c:wrap_objobjargproc:
10026|     85|{
10027|     85|    objobjargproc func = (objobjargproc)wrapped;
10028|     85|    int res;
10029|     85|    PyObject *key, *value;
10030|       |
10031|     85|    if (!PyArg_UnpackTuple(args, "__setitem__", 2, 2, &key, &value))
  ------------------
  |  Branch (10031:9): [True: 0, False: 85]
  ------------------
10032|      0|        return NULL;
10033|     85|    res = (*func)(self, key, value);
10034|     85|    if (res == -1 && PyErr_Occurred())
  ------------------
  |  Branch (10034:9): [True: 0, False: 85]
  |  Branch (10034:22): [True: 0, False: 0]
  ------------------
10035|      0|        return NULL;
10036|     85|    Py_RETURN_NONE;
  ------------------
  |  |  628|     85|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     85|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
10037|     85|}
typeobject.c:slot_sq_item:
10587|     18|{
10588|     18|    PyObject *ival = PyLong_FromSsize_t(i);
10589|     18|    if (ival == NULL) {
  ------------------
  |  Branch (10589:9): [True: 0, False: 18]
  ------------------
10590|      0|        return NULL;
10591|      0|    }
10592|     18|    PyObject *stack[2] = {self, ival};
10593|     18|    PyObject *retval = vectorcall_method(&_Py_ID(__getitem__), stack, 2);
  ------------------
  |  |  936|     18|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     18|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     18|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10594|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10595|     18|    return retval;
10596|     18|}
typeobject.c:slot_sq_contains:
10630|      6|{
10631|      6|    int attr_is_none = 0;
10632|      6|    PyObject *res = maybe_call_special_one_arg(self, &_Py_ID(__contains__), value,
  ------------------
  |  |  936|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10633|      6|                                               &attr_is_none);
10634|      6|    if (attr_is_none) {
  ------------------
  |  Branch (10634:9): [True: 0, False: 6]
  ------------------
10635|      0|        PyErr_Format(PyExc_TypeError,
10636|      0|            "'%.200s' object is not a container",
10637|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10638|      0|        return -1;
10639|      0|    }
10640|      6|    else if (res == NULL && PyErr_Occurred()) {
  ------------------
  |  Branch (10640:14): [True: 0, False: 6]
  |  Branch (10640:29): [True: 0, False: 0]
  ------------------
10641|      0|        return -1;
10642|      0|    }
10643|      6|    else if (res == NULL) {
  ------------------
  |  Branch (10643:14): [True: 0, False: 6]
  ------------------
10644|      0|        return (int)_PySequence_IterSearch(self, value, PY_ITERSEARCH_CONTAINS);
  ------------------
  |  |   29|      0|#define PY_ITERSEARCH_CONTAINS 3
  ------------------
10645|      0|    }
10646|      6|    int result = PyObject_IsTrue(res);
10647|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10648|      6|    return result;
10649|      6|}
typeobject.c:type_get_mro:
 1739|     79|{
 1740|     79|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  203|     79|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1741|     79|    PyObject *mro = lookup_tp_mro(type);
 1742|     79|    if (mro == NULL) {
  ------------------
  |  Branch (1742:9): [True: 0, False: 79]
  ------------------
 1743|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1744|      0|    }
 1745|     79|    return Py_NewRef(mro);
  ------------------
  |  |  550|     79|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     79|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     79|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1746|     79|}
typeobject.c:check_immutable_bases:
 5163|     99|{
 5164|     99|    Py_ssize_t i = 0;
 5165|     99|    if (skip_first) {
  ------------------
  |  Branch (5165:9): [True: 0, False: 99]
  ------------------
 5166|       |        // When testing the MRO, skip the type itself
 5167|      0|        i = 1;
 5168|      0|    }
 5169|    198|    for (; i<PyTuple_GET_SIZE(bases); i++) {
  ------------------
  |  |   27|    198|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    198|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    198|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5169:12): [True: 99, False: 99]
  ------------------
 5170|     99|        PyTypeObject *b = (PyTypeObject*)PyTuple_GET_ITEM(bases, i);
  ------------------
  |  |   29|     99|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     99|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     99|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5170:42): [True: 99, False: 0]
  ------------------
 5171|     99|        if (!b) {
  ------------------
  |  Branch (5171:13): [True: 0, False: 99]
  ------------------
 5172|      0|            return -1;
 5173|      0|        }
 5174|     99|        if (!_PyType_HasFeature(b, Py_TPFLAGS_IMMUTABLETYPE)) {
  ------------------
  |  |  500|     99|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (5174:13): [True: 0, False: 99]
  ------------------
 5175|      0|            PyErr_Format(
 5176|      0|                PyExc_TypeError,
 5177|      0|                "Creating immutable type %s from mutable base %N",
 5178|      0|                type_name, b
 5179|      0|            );
 5180|      0|            return -1;
 5181|      0|        }
 5182|     99|    }
 5183|     99|    return 0;
 5184|     99|}
typeobject.c:supercheck:
12648|    994|{
12649|       |    /* Check that a super() call makes sense.  Return a type object.
12650|       |
12651|       |       obj can be a class, or an instance of one:
12652|       |
12653|       |       - If it is a class, it must be a subclass of 'type'.      This case is
12654|       |         used for class methods; the return value is obj.
12655|       |
12656|       |       - If it is an instance, it must be an instance of 'type'.  This is
12657|       |         the normal case; the return value is obj.__class__.
12658|       |
12659|       |       But... when obj is an instance, we want to allow for the case where
12660|       |       Py_TYPE(obj) is not a subclass of type, but obj.__class__ is!
12661|       |       This will allow using super() with a proxy for obj.
12662|       |    */
12663|       |
12664|       |    /* Check for first bullet above (special case) */
12665|    994|    if (PyType_Check(obj) && PyType_IsSubtype((PyTypeObject *)obj, type)) {
  ------------------
  |  |  766|  1.98k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    994|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    994|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 790, False: 204]
  |  |  ------------------
  ------------------
  |  Branch (12665:30): [True: 696, False: 94]
  ------------------
12666|    696|        return (PyTypeObject *)Py_NewRef(obj);
  ------------------
  |  |  550|    696|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    696|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    696|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12667|    696|    }
12668|       |
12669|       |    /* Normal case */
12670|    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 (12670:9): [True: 298, False: 0]
  ------------------
12671|    298|        return (PyTypeObject*)Py_NewRef(Py_TYPE(obj));
  ------------------
  |  |  550|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12672|    298|    }
12673|      0|    else {
12674|       |        /* Try the slow way */
12675|      0|        PyObject *class_attr;
12676|       |
12677|      0|        if (PyObject_GetOptionalAttr(obj, &_Py_ID(__class__), &class_attr) < 0) {
  ------------------
  |  |  936|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12677:13): [True: 0, False: 0]
  ------------------
12678|      0|            return NULL;
12679|      0|        }
12680|      0|        if (class_attr != NULL &&
  ------------------
  |  Branch (12680:13): [True: 0, False: 0]
  ------------------
12681|      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]
  |  |  ------------------
  ------------------
12682|      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 (12682:13): [True: 0, False: 0]
  ------------------
12683|      0|        {
12684|      0|            int ok = PyType_IsSubtype(
12685|      0|                (PyTypeObject *)class_attr, type);
12686|      0|            if (ok) {
  ------------------
  |  Branch (12686:17): [True: 0, False: 0]
  ------------------
12687|      0|                return (PyTypeObject *)class_attr;
12688|      0|            }
12689|      0|        }
12690|      0|        Py_XDECREF(class_attr);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12691|      0|    }
12692|       |
12693|      0|    const char *type_or_instance, *obj_str;
12694|       |
12695|      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]
  |  |  ------------------
  ------------------
12696|      0|        type_or_instance = "type";
12697|      0|        obj_str = ((PyTypeObject*)obj)->tp_name;
12698|      0|    }
12699|      0|    else {
12700|      0|        type_or_instance = "instance of";
12701|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12702|      0|    }
12703|       |
12704|      0|    PyErr_Format(PyExc_TypeError,
12705|      0|                "super(type, obj): obj (%s %.200s) is not "
12706|      0|                "an instance or subtype of type (%.200s).",
12707|      0|                type_or_instance, obj_str, type->tp_name);
12708|       |
12709|       |    return NULL;
12710|    298|}
typeobject.c:do_super_lookup:
12583|    994|{
12584|    994|    PyObject *res;
12585|    994|    int temp_su = 0;
12586|       |
12587|    994|    if (su_obj_type == NULL) {
  ------------------
  |  Branch (12587:9): [True: 0, False: 994]
  ------------------
12588|      0|        goto skip;
12589|      0|    }
12590|       |
12591|    994|    res = _PySuper_LookupDescr(su_type, su_obj_type, name);
12592|    994|    if (res != NULL) {
  ------------------
  |  Branch (12592:9): [True: 994, False: 0]
  ------------------
12593|    994|        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 (12593:13): [True: 200, False: 794]
  |  Branch (12593:23): [True: 200, False: 0]
  ------------------
12594|    200|            *method = 1;
12595|    200|        }
12596|    794|        else {
12597|    794|            descrgetfunc f = Py_TYPE(res)->tp_descr_get;
  ------------------
  |  |  213|    794|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    794|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    794|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12598|    794|            if (f != NULL) {
  ------------------
  |  Branch (12598:17): [True: 476, False: 318]
  ------------------
12599|    476|                PyObject *res2;
12600|    476|                res2 = f(res,
12601|       |                    /* Only pass 'obj' param if this is instance-mode super
12602|       |                    (See SF ID #743627)  */
12603|    476|                    (su_obj == (PyObject *)su_obj_type) ? NULL : su_obj,
  ------------------
  |  Branch (12603:21): [True: 378, False: 98]
  ------------------
12604|    476|                    (PyObject *)su_obj_type);
12605|    476|                Py_SETREF(res, res2);
  ------------------
  |  |  354|    476|    do { \
  |  |  355|    476|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|    476|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|    476|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|    476|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|    476|        *_tmp_dst_ptr = (src); \
  |  |  358|    476|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|    476|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    476|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    476|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|    476|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 476]
  |  |  ------------------
  ------------------
12606|    476|            }
12607|    794|        }
12608|       |
12609|    994|        return res;
12610|    994|    }
12611|      0|    else if (PyErr_Occurred()) {
  ------------------
  |  Branch (12611:14): [True: 0, False: 0]
  ------------------
12612|      0|        return NULL;
12613|      0|    }
12614|       |
12615|      0|  skip:
12616|      0|    if (su == NULL) {
  ------------------
  |  Branch (12616:9): [True: 0, False: 0]
  ------------------
12617|      0|        PyObject *args[] = {(PyObject *)su_type, su_obj};
12618|      0|        su = (superobject *)PyObject_Vectorcall((PyObject *)&PySuper_Type, args, 2, NULL);
12619|      0|        if (su == NULL) {
  ------------------
  |  Branch (12619:13): [True: 0, False: 0]
  ------------------
12620|      0|            return NULL;
12621|      0|        }
12622|      0|        temp_su = 1;
12623|      0|    }
12624|      0|    res = PyObject_GenericGetAttr((PyObject *)su, name);
12625|      0|    if (temp_su) {
  ------------------
  |  Branch (12625:9): [True: 0, False: 0]
  ------------------
12626|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12627|      0|    }
12628|      0|    return res;
12629|      0|}
typeobject.c:super_dealloc:
12501|    391|{
12502|    391|    superobject *su = superobject_CAST(self);
  ------------------
  |  |12487|    391|#define superobject_CAST(op)    ((superobject *)(op))
  ------------------
12503|       |
12504|    391|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  507|    391|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    391|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    391|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12505|    391|    Py_XDECREF(su->obj);
  ------------------
  |  |  524|    391|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    391|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    391|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12506|    391|    Py_XDECREF(su->type);
  ------------------
  |  |  524|    391|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    391|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    391|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12507|    391|    Py_XDECREF(su->obj_type);
  ------------------
  |  |  524|    391|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    391|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    391|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12508|    391|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|    391|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    391|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    391|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12509|    391|}
typeobject.c:super_getattro:
12633|    391|{
12634|    391|    superobject *su = superobject_CAST(self);
  ------------------
  |  |12487|    391|#define superobject_CAST(op)    ((superobject *)(op))
  ------------------
12635|       |
12636|       |    /* We want __class__ to return the class of the super object
12637|       |       (i.e. super, or a subclass), not the class of su->obj. */
12638|    391|    if (PyUnicode_Check(name) &&
  ------------------
  |  |  103|    391|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    782|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 391, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12639|    391|        PyUnicode_GET_LENGTH(name) == 9 &&
  ------------------
  |  |  299|    391|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    391|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    391|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12639:9): [True: 0, False: 391]
  ------------------
12640|      0|        _PyUnicode_Equal(name, &_Py_ID(__class__)))
  ------------------
  |  |  936|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12640:9): [True: 0, False: 0]
  ------------------
12641|      0|        return PyObject_GenericGetAttr(self, name);
12642|       |
12643|    391|    return do_super_lookup(su, su->type, su->obj, su->obj_type, name, NULL);
12644|    391|}
typeobject.c:super_init_impl:
12858|    391|super_init_impl(PyObject *self, PyTypeObject *type, PyObject *obj) {
12859|    391|    superobject *su = superobject_CAST(self);
  ------------------
  |  |12487|    391|#define superobject_CAST(op)    ((superobject *)(op))
  ------------------
12860|    391|    PyTypeObject *obj_type = NULL;
12861|    391|    if (type == NULL) {
  ------------------
  |  Branch (12861:9): [True: 14, False: 377]
  ------------------
12862|       |        /* Call super(), without args -- fill in from __class__
12863|       |           and first local variable on the stack. */
12864|     14|        PyThreadState *tstate = _PyThreadState_GET();
12865|     14|        _PyInterpreterFrame *frame = _PyThreadState_GetFrame(tstate);
12866|     14|        if (frame == NULL) {
  ------------------
  |  Branch (12866:13): [True: 0, False: 14]
  ------------------
12867|      0|            PyErr_SetString(PyExc_RuntimeError,
12868|      0|                            "super(): no current frame");
12869|      0|            return -1;
12870|      0|        }
12871|     14|        int res = super_init_without_args(frame, &type, &obj);
12872|       |
12873|     14|        if (res < 0) {
  ------------------
  |  Branch (12873:13): [True: 0, False: 14]
  ------------------
12874|      0|            return -1;
12875|      0|        }
12876|     14|    }
12877|    377|    else {
12878|    377|        Py_INCREF(type);
  ------------------
  |  |  310|    377|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    377|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    377|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12879|    377|        Py_XINCREF(obj);
  ------------------
  |  |  514|    377|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    377|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    377|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12880|    377|    }
12881|       |
12882|    391|    if (obj == Py_None) {
  ------------------
  |  |  616|    391|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (12882:9): [True: 0, False: 391]
  ------------------
12883|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12884|      0|        obj = NULL;
12885|      0|    }
12886|    391|    if (obj != NULL) {
  ------------------
  |  Branch (12886:9): [True: 391, False: 0]
  ------------------
12887|    391|        obj_type = supercheck(type, obj);
12888|    391|        if (obj_type == NULL) {
  ------------------
  |  Branch (12888:13): [True: 0, False: 391]
  ------------------
12889|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12890|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12891|      0|            return -1;
12892|      0|        }
12893|    391|    }
12894|    391|    Py_XSETREF(su->type, (PyTypeObject*)type);
  ------------------
  |  |  376|    391|    do { \
  |  |  377|    391|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|    391|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|    391|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|    391|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|    391|        *_tmp_dst_ptr = (src); \
  |  |  380|    391|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|    391|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    391|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    391|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|    391|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 391]
  |  |  ------------------
  ------------------
12895|    391|    Py_XSETREF(su->obj, obj);
  ------------------
  |  |  376|    391|    do { \
  |  |  377|    391|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|    391|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|    391|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|    391|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|    391|        *_tmp_dst_ptr = (src); \
  |  |  380|    391|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|    391|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    391|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    391|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|    391|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 391]
  |  |  ------------------
  ------------------
12896|    391|    Py_XSETREF(su->obj_type, obj_type);
  ------------------
  |  |  376|    391|    do { \
  |  |  377|    391|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|    391|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|    391|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|    391|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|    391|        *_tmp_dst_ptr = (src); \
  |  |  380|    391|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|    391|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    391|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    391|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|    391|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 391]
  |  |  ------------------
  ------------------
12897|    391|    return 0;
12898|    391|}
typeobject.c:super_init_without_args:
12760|     14|{
12761|     14|    PyCodeObject *co = _PyFrame_GetCode(cframe);
12762|     14|    if (co->co_argcount == 0) {
  ------------------
  |  Branch (12762:9): [True: 0, False: 14]
  ------------------
12763|      0|        PyErr_SetString(PyExc_RuntimeError,
12764|      0|                        "super(): no arguments");
12765|      0|        return -1;
12766|      0|    }
12767|       |
12768|     14|    assert(_PyFrame_GetCode(cframe)->co_nlocalsplus > 0);
  ------------------
  |  Branch (12768:5): [True: 14, False: 0]
  ------------------
12769|     14|    PyObject *firstarg = PyStackRef_AsPyObjectBorrow(_PyFrame_GetLocalsArray(cframe)[0]);
12770|     14|    if (firstarg == NULL) {
  ------------------
  |  Branch (12770:9): [True: 0, False: 14]
  ------------------
12771|      0|        PyErr_SetString(PyExc_RuntimeError, "super(): arg[0] deleted");
12772|      0|        return -1;
12773|      0|    }
12774|       |    // The first argument might be a cell.
12775|       |    // "firstarg" is a cell here unless (very unlikely) super()
12776|       |    // was called from the C-API before the first MAKE_CELL op.
12777|     14|    if ((_PyLocals_GetKind(co->co_localspluskinds, 0) & CO_FAST_CELL) &&
  ------------------
  |  |  198|     14|#define CO_FAST_CELL    (0x40)
  ------------------
  |  Branch (12777:9): [True: 0, False: 14]
  ------------------
12778|      0|            (_PyInterpreterFrame_LASTI(cframe) >= 0)) {
  ------------------
  |  |   19|      0|    ((int)((IF)->instr_ptr - _PyFrame_GetBytecode((IF))))
  ------------------
  |  Branch (12778:13): [True: 0, False: 0]
  ------------------
12779|       |        // MAKE_CELL and COPY_FREE_VARS have no quickened forms, so no need
12780|       |        // to use _PyOpcode_Deopt here:
12781|      0|        assert(_PyCode_CODE(co)[0].op.code == MAKE_CELL ||
  ------------------
  |  Branch (12781:9): [True: 0, False: 0]
  |  Branch (12781:9): [True: 0, False: 0]
  ------------------
12782|      0|                _PyCode_CODE(co)[0].op.code == COPY_FREE_VARS);
12783|      0|        assert(PyCell_Check(firstarg));
  ------------------
  |  Branch (12783:9): [True: 0, False: 0]
  ------------------
12784|      0|        firstarg = PyCell_GetRef((PyCellObject *)firstarg);
12785|      0|        if (firstarg == NULL) {
  ------------------
  |  Branch (12785:13): [True: 0, False: 0]
  ------------------
12786|      0|            PyErr_SetString(PyExc_RuntimeError, "super(): arg[0] deleted");
12787|      0|            return -1;
12788|      0|        }
12789|      0|    }
12790|     14|    else {
12791|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12792|     14|    }
12793|       |
12794|       |    // Look for __class__ in the free vars.
12795|     14|    PyTypeObject *type = NULL;
12796|     14|    int i = PyUnstable_Code_GetFirstFree(co);
12797|     14|    for (; i < co->co_nlocalsplus; i++) {
  ------------------
  |  Branch (12797:12): [True: 14, False: 0]
  ------------------
12798|     14|        assert((_PyLocals_GetKind(co->co_localspluskinds, i) & CO_FAST_FREE) != 0);
  ------------------
  |  Branch (12798:9): [True: 14, False: 0]
  ------------------
12799|     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 (12799:26): [True: 14, False: 0]
  ------------------
12800|     14|        assert(PyUnicode_Check(name));
  ------------------
  |  Branch (12800:9): [True: 14, False: 0]
  ------------------
12801|     14|        if (_PyUnicode_Equal(name, &_Py_ID(__class__))) {
  ------------------
  |  |  936|     14|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     14|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     14|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12801:13): [True: 14, False: 0]
  ------------------
12802|     14|            PyObject *cell = PyStackRef_AsPyObjectBorrow(_PyFrame_GetLocalsArray(cframe)[i]);
12803|     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 (12803:17): [True: 0, False: 14]
  |  Branch (12803:33): [True: 0, False: 14]
  ------------------
12804|      0|                PyErr_SetString(PyExc_RuntimeError,
12805|      0|                  "super(): bad __class__ cell");
12806|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12807|      0|                return -1;
12808|      0|            }
12809|     14|            type = (PyTypeObject *) PyCell_GetRef((PyCellObject *)cell);
12810|     14|            if (type == NULL) {
  ------------------
  |  Branch (12810:17): [True: 0, False: 14]
  ------------------
12811|      0|                PyErr_SetString(PyExc_RuntimeError,
12812|      0|                  "super(): empty __class__ cell");
12813|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12814|      0|                return -1;
12815|      0|            }
12816|     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 (12816:17): [True: 0, False: 14]
  ------------------
12817|      0|                PyErr_Format(PyExc_RuntimeError,
12818|      0|                  "super(): __class__ is not a type (%s)",
12819|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12820|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12821|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12822|      0|                return -1;
12823|      0|            }
12824|     14|            break;
12825|     14|        }
12826|     14|    }
12827|     14|    if (type == NULL) {
  ------------------
  |  Branch (12827:9): [True: 0, False: 14]
  ------------------
12828|      0|        PyErr_SetString(PyExc_RuntimeError,
12829|      0|                        "super(): __class__ cell not found");
12830|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12831|      0|        return -1;
12832|      0|    }
12833|       |
12834|     14|    *type_p = type;
12835|     14|    *obj_p = firstarg;
12836|     14|    return 0;
12837|     14|}
typeobject.c:super_vectorcall:
12931|    391|{
12932|    391|    assert(PyType_Check(self));
  ------------------
  |  Branch (12932:5): [True: 391, False: 0]
  ------------------
12933|    391|    if (!_PyArg_NoKwnames("super", kwnames)) {
  ------------------
  |  |   15|    391|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (15:6): [True: 391, False: 0]
  |  |  |  Branch (15:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
12934|      0|        return NULL;
12935|      0|    }
12936|    391|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|    391|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
12937|    391|    if (!_PyArg_CheckPositional("super()", nargs, 0, 2)) {
  ------------------
  |  |   31|    391|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 391, False: 0]
  |  |  |  Branch (31:27): [True: 391, False: 0]
  |  |  ------------------
  |  |   32|    391|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
12938|      0|        return NULL;
12939|      0|    }
12940|    391|    PyTypeObject *type = NULL;
12941|    391|    PyObject *obj = NULL;
12942|    391|    PyTypeObject *self_type = (PyTypeObject *)self;
12943|    391|    PyObject *su = self_type->tp_alloc(self_type, 0);
12944|    391|    if (su == NULL) {
  ------------------
  |  Branch (12944:9): [True: 0, False: 391]
  ------------------
12945|      0|        return NULL;
12946|      0|    }
12947|       |    // 1 or 2 argument form super().
12948|    391|    if (nargs != 0) {
  ------------------
  |  Branch (12948:9): [True: 377, False: 14]
  ------------------
12949|    377|        PyObject *arg0 = args[0];
12950|    377|        if (!PyType_Check(arg0)) {
  ------------------
  |  |  766|    377|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    377|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    377|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12950:13): [True: 0, False: 377]
  ------------------
12951|      0|            PyErr_Format(PyExc_TypeError,
12952|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12953|      0|            goto fail;
12954|      0|        }
12955|    377|        type = (PyTypeObject *)arg0;
12956|    377|    }
12957|    391|    if (nargs == 2) {
  ------------------
  |  Branch (12957:9): [True: 377, False: 14]
  ------------------
12958|    377|        obj = args[1];
12959|    377|    }
12960|    391|    if (super_init_impl(su, type, obj) < 0) {
  ------------------
  |  Branch (12960:9): [True: 0, False: 391]
  ------------------
12961|      0|        goto fail;
12962|      0|    }
12963|    391|    return su;
12964|      0|fail:
12965|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12966|       |    return NULL;
12967|    391|}

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

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

_PyUnicodeWriter_Init:
  120|    298|{
  121|    298|    memset(writer, 0, sizeof(*writer));
  122|       |
  123|       |    /* ASCII is the bare minimum */
  124|    298|    writer->min_char = 127;
  125|       |
  126|       |    /* use a kind value smaller than PyUnicode_1BYTE_KIND so
  127|       |       _PyUnicodeWriter_PrepareKind() will copy the buffer. */
  128|    298|    assert(writer->kind == 0);
  ------------------
  |  Branch (128:5): [True: 298, False: 0]
  ------------------
  129|    298|    assert(writer->kind < PyUnicode_1BYTE_KIND);
  ------------------
  |  Branch (129:5): [True: 298, False: 0]
  ------------------
  130|    298|}
PyUnicodeWriter_Create:
  135|     24|{
  136|     24|    if (length < 0) {
  ------------------
  |  Branch (136:9): [True: 0, False: 24]
  ------------------
  137|      0|        PyErr_SetString(PyExc_ValueError,
  138|      0|                        "length must be positive");
  139|      0|        return NULL;
  140|      0|    }
  141|       |
  142|     24|    const size_t size = sizeof(_PyUnicodeWriter);
  143|     24|    PyUnicodeWriter *pub_writer;
  144|     24|    pub_writer = _Py_FREELIST_POP_MEM(unicode_writers);
  ------------------
  |  |   48|     24|    _PyFreeList_PopMem(&_Py_freelists_GET()->NAME)
  ------------------
  145|     24|    if (pub_writer == NULL) {
  ------------------
  |  Branch (145:9): [True: 5, False: 19]
  ------------------
  146|      5|        pub_writer = (PyUnicodeWriter *)PyMem_Malloc(size);
  147|      5|        if (pub_writer == NULL) {
  ------------------
  |  Branch (147:13): [True: 0, False: 5]
  ------------------
  148|      0|            return (PyUnicodeWriter *)PyErr_NoMemory();
  149|      0|        }
  150|      5|    }
  151|     24|    _PyUnicodeWriter *writer = (_PyUnicodeWriter *)pub_writer;
  152|       |
  153|     24|    _PyUnicodeWriter_Init(writer);
  154|       |    // The buffer is created lazily at the first write, except if
  155|       |    // the read-only optimization is used.
  156|     24|    writer->min_length = length;
  157|     24|    writer->overallocate = 1;
  158|       |
  159|     24|    return pub_writer;
  160|     24|}
_PyUnicodeWriter_InitWithBuffer:
  176|   277k|{
  177|   277k|    assert(PyUnstable_Object_IsUniquelyReferenced(buffer));
  ------------------
  |  Branch (177:5): [True: 277k, False: 0]
  ------------------
  178|       |
  179|   277k|    memset(writer, 0, sizeof(*writer));
  180|   277k|    writer->buffer = buffer;
  181|   277k|    _PyUnicodeWriter_Update(writer);
  182|   277k|    writer->min_length = writer->size;
  183|       |    assert(_PyUnicodeWriter_CanWrite(writer));
  ------------------
  |  Branch (183:5): [True: 277k, False: 0]
  ------------------
  184|   277k|}
_PyUnicodeWriter_PrepareInternal:
  190|    642|{
  191|    642|    assert(length >= 0);
  ------------------
  |  Branch (191:5): [True: 642, False: 0]
  ------------------
  192|    642|    assert(maxchar <= _Py_MAX_UNICODE);
  ------------------
  |  Branch (192:5): [True: 642, False: 0]
  ------------------
  193|       |
  194|       |    /* ensure that the _PyUnicodeWriter_Prepare macro was used */
  195|    642|    assert((maxchar > writer->maxchar && length >= 0)
  ------------------
  |  Branch (195:5): [True: 539, False: 103]
  |  Branch (195:5): [True: 539, False: 0]
  |  Branch (195:5): [True: 103, False: 0]
  ------------------
  196|    642|           || length > 0);
  197|       |
  198|    642|    if (length > PY_SSIZE_T_MAX - writer->pos) {
  ------------------
  |  |  137|    642|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (198:9): [True: 0, False: 642]
  ------------------
  199|      0|        PyErr_NoMemory();
  200|      0|        return -1;
  201|      0|    }
  202|    642|    Py_ssize_t alloc = writer->pos + length;
  203|       |
  204|    642|    maxchar = Py_MAX(maxchar, writer->min_char);
  ------------------
  |  |  126|    642|       __extension__ \
  |  |  127|    642|       ({ _Py_TYPEOF (x) _x = (x); \
  |  |  ------------------
  |  |  |  |  552|    642|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  128|    642|          _Py_TYPEOF (y) _y = (y); \
  |  |  ------------------
  |  |  |  |  552|    642|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|    642|          _x > _y ? _x : _y; })
  |  |  ------------------
  |  |  |  Branch (129:11): [True: 267, False: 375]
  |  |  ------------------
  ------------------
  205|       |
  206|    642|    PyObject *newbuffer;
  207|    642|    if (writer->buffer == NULL) {
  ------------------
  |  Branch (207:9): [True: 272, False: 370]
  ------------------
  208|    272|        assert(!writer->readonly);
  ------------------
  |  Branch (208:9): [True: 272, False: 0]
  ------------------
  209|       |        // Do not overallocate at the first allocation, but use min_length
  210|    272|        if (alloc < writer->min_length)
  ------------------
  |  Branch (210:13): [True: 171, False: 101]
  ------------------
  211|    171|            alloc = writer->min_length;
  212|       |
  213|    272|        writer->buffer = PyUnicode_New(alloc, maxchar);
  214|    272|        if (writer->buffer == NULL)
  ------------------
  |  Branch (214:13): [True: 0, False: 272]
  ------------------
  215|      0|            return -1;
  216|    272|    }
  217|    370|    else if (alloc > writer->size) {
  ------------------
  |  Branch (217:14): [True: 120, False: 250]
  ------------------
  218|       |        // Do not overallocate at the first allocation, but use min_length
  219|    120|        int overallocate = (writer->overallocate && !writer->readonly);
  ------------------
  |  Branch (219:29): [True: 89, False: 31]
  |  Branch (219:53): [True: 73, False: 16]
  ------------------
  220|    120|        if (overallocate
  ------------------
  |  Branch (220:13): [True: 73, False: 47]
  ------------------
  221|     73|            && alloc <= (PY_SSIZE_T_MAX - alloc / OVERALLOCATE_FACTOR)) {
  ------------------
  |  |  137|     73|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
                          && alloc <= (PY_SSIZE_T_MAX - alloc / OVERALLOCATE_FACTOR)) {
  ------------------
  |  |   52|     73|#  define OVERALLOCATE_FACTOR 4
  ------------------
  |  Branch (221:16): [True: 73, False: 0]
  ------------------
  222|       |            /* overallocate to limit the number of realloc() */
  223|     73|            alloc += alloc / OVERALLOCATE_FACTOR;
  ------------------
  |  |   52|     73|#  define OVERALLOCATE_FACTOR 4
  ------------------
  224|     73|        }
  225|    120|        if (alloc < writer->min_length)
  ------------------
  |  Branch (225:13): [True: 16, False: 104]
  ------------------
  226|     16|            alloc = writer->min_length;
  227|       |
  228|    120|        if (maxchar > writer->maxchar || writer->readonly) {
  ------------------
  |  Branch (228:13): [True: 17, False: 103]
  |  Branch (228:42): [True: 16, False: 87]
  ------------------
  229|       |            /* resize + widen */
  230|     33|            maxchar = Py_MAX(maxchar, writer->maxchar);
  ------------------
  |  |  126|     33|       __extension__ \
  |  |  127|     33|       ({ _Py_TYPEOF (x) _x = (x); \
  |  |  ------------------
  |  |  |  |  552|     33|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  128|     33|          _Py_TYPEOF (y) _y = (y); \
  |  |  ------------------
  |  |  |  |  552|     33|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|     33|          _x > _y ? _x : _y; })
  |  |  ------------------
  |  |  |  Branch (129:11): [True: 17, False: 16]
  |  |  ------------------
  ------------------
  231|     33|            newbuffer = PyUnicode_New(alloc, maxchar);
  232|     33|            if (newbuffer == NULL)
  ------------------
  |  Branch (232:17): [True: 0, False: 33]
  ------------------
  233|      0|                return -1;
  234|     33|            _PyUnicode_FastCopyCharacters(newbuffer, 0,
  235|     33|                                          writer->buffer, 0, writer->pos);
  236|     33|            writer->readonly = 0;
  237|     33|            Py_DECREF(writer->buffer);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  238|     33|            writer->buffer = newbuffer;
  239|     33|        }
  240|     87|        else {
  241|     87|            newbuffer = _PyUnicode_ResizeCompact(writer->buffer, alloc);
  242|     87|            if (newbuffer == NULL)
  ------------------
  |  Branch (242:17): [True: 0, False: 87]
  ------------------
  243|      0|                return -1;
  244|     87|            writer->buffer = newbuffer;
  245|     87|        }
  246|    120|    }
  247|    250|    else if (maxchar > writer->maxchar) {
  ------------------
  |  Branch (247:14): [True: 250, False: 0]
  ------------------
  248|    250|        assert(!writer->readonly);
  ------------------
  |  Branch (248:9): [True: 250, False: 0]
  ------------------
  249|    250|        newbuffer = PyUnicode_New(writer->size, maxchar);
  250|    250|        if (newbuffer == NULL)
  ------------------
  |  Branch (250:13): [True: 0, False: 250]
  ------------------
  251|      0|            return -1;
  252|    250|        _PyUnicode_FastCopyCharacters(newbuffer, 0,
  253|    250|                                      writer->buffer, 0, writer->pos);
  254|    250|        Py_SETREF(writer->buffer, newbuffer);
  ------------------
  |  |  354|    250|    do { \
  |  |  355|    250|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|    250|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|    250|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|    250|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|    250|        *_tmp_dst_ptr = (src); \
  |  |  358|    250|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|    250|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 250]
  |  |  ------------------
  ------------------
  255|    250|    }
  256|    642|    _PyUnicodeWriter_Update(writer);
  257|    642|    return 0;
  258|       |
  259|    642|#undef OVERALLOCATE_FACTOR
  260|    642|}
_PyUnicodeWriter_WriteChar:
  286|    100|{
  287|    100|    return _PyUnicodeWriter_WriteCharInline(writer, ch);
  288|    100|}
PyUnicodeWriter_WriteChar:
  293|    100|{
  294|    100|    if (ch > _Py_MAX_UNICODE) {
  ------------------
  |  |   17|    100|#define _Py_MAX_UNICODE 0x10ffff
  ------------------
  |  Branch (294:9): [True: 0, False: 100]
  ------------------
  295|      0|        PyErr_SetString(PyExc_ValueError,
  296|      0|                        "character must be in range(0x110000)");
  297|      0|        return -1;
  298|      0|    }
  299|       |
  300|    100|    return _PyUnicodeWriter_WriteChar((_PyUnicodeWriter*)writer, ch);
  301|    100|}
_PyUnicodeWriter_WriteStr:
  306|    270|{
  307|    270|    assert(PyUnicode_Check(str));
  ------------------
  |  Branch (307:5): [True: 270, False: 0]
  ------------------
  308|       |
  309|    270|    Py_ssize_t len = PyUnicode_GET_LENGTH(str);
  ------------------
  |  |  299|    270|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    270|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    270|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  310|    270|    if (len == 0) {
  ------------------
  |  Branch (310:9): [True: 0, False: 270]
  ------------------
  311|      0|        return 0;
  312|      0|    }
  313|    270|    Py_UCS4 maxchar = PyUnicode_MAX_CHAR_VALUE(str);
  ------------------
  |  |  405|    270|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    270|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    270|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  314|       |
  315|    270|    if (maxchar > writer->maxchar || len > writer->size - writer->pos) {
  ------------------
  |  Branch (315:9): [True: 35, False: 235]
  |  Branch (315:38): [True: 55, False: 180]
  ------------------
  316|     90|        if (writer->buffer == NULL) {
  ------------------
  |  Branch (316:13): [True: 16, False: 74]
  ------------------
  317|     16|            assert(_PyUnicode_CheckConsistency(str, 1));
  ------------------
  |  Branch (317:13): [True: 16, False: 0]
  ------------------
  318|     16|            writer->readonly = 1;
  319|     16|            writer->buffer = Py_NewRef(str);
  ------------------
  |  |  550|     16|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  320|     16|            _PyUnicodeWriter_Update(writer);
  321|     16|            writer->pos += len;
  322|       |            // The next write will create a new buffer and copy the string
  323|     16|            return 0;
  324|     16|        }
  325|     74|        if (_PyUnicodeWriter_PrepareInternal(writer, len, maxchar) == -1)
  ------------------
  |  Branch (325:13): [True: 0, False: 74]
  ------------------
  326|      0|            return -1;
  327|     74|    }
  328|       |
  329|    270|    assert(_PyUnicodeWriter_CanWrite(writer));
  ------------------
  |  Branch (329:5): [True: 254, False: 0]
  ------------------
  330|    254|    _PyUnicode_FastCopyCharacters(writer->buffer, writer->pos,
  331|    254|                                  str, 0, len);
  332|    254|    writer->pos += len;
  333|    254|    return 0;
  334|    254|}
PyUnicodeWriter_WriteStr:
  339|    104|{
  340|    104|    PyTypeObject *type = Py_TYPE(obj);
  ------------------
  |  |  213|    104|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    104|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    104|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  341|    104|    if (type == &PyUnicode_Type) {
  ------------------
  |  Branch (341:9): [True: 104, False: 0]
  ------------------
  342|    104|        return _PyUnicodeWriter_WriteStr((_PyUnicodeWriter*)writer, obj);
  343|    104|    }
  344|       |
  345|      0|    if (type == &PyLong_Type) {
  ------------------
  |  Branch (345:9): [True: 0, False: 0]
  ------------------
  346|      0|        return _PyLong_FormatWriter((_PyUnicodeWriter*)writer, obj, 10, 0);
  347|      0|    }
  348|       |
  349|      0|    PyObject *str = PyObject_Str(obj);
  350|      0|    if (str == NULL) {
  ------------------
  |  Branch (350:9): [True: 0, False: 0]
  ------------------
  351|      0|        return -1;
  352|      0|    }
  353|       |
  354|      0|    int res = _PyUnicodeWriter_WriteStr((_PyUnicodeWriter*)writer, str);
  355|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  356|      0|    return res;
  357|      0|}
_PyUnicodeWriter_WriteSubstring:
  385|     42|{
  386|     42|    assert(0 <= start);
  ------------------
  |  Branch (386:5): [True: 42, False: 0]
  ------------------
  387|     42|    assert(end <= PyUnicode_GET_LENGTH(str));
  ------------------
  |  Branch (387:5): [True: 42, False: 0]
  ------------------
  388|     42|    assert(start <= end);
  ------------------
  |  Branch (388:5): [True: 42, False: 0]
  ------------------
  389|       |
  390|     42|    if (start == 0 && end == PyUnicode_GET_LENGTH(str))
  ------------------
  |  |  299|     21|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     21|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (390:9): [True: 21, False: 21]
  |  Branch (390:23): [True: 0, False: 21]
  ------------------
  391|      0|        return _PyUnicodeWriter_WriteStr(writer, str);
  392|       |
  393|     42|    Py_ssize_t len = end - start;
  394|     42|    if (len == 0) {
  ------------------
  |  Branch (394:9): [True: 0, False: 42]
  ------------------
  395|      0|        return 0;
  396|      0|    }
  397|       |
  398|     42|    Py_UCS4 maxchar;
  399|     42|    if (PyUnicode_MAX_CHAR_VALUE(str) > writer->maxchar) {
  ------------------
  |  |  405|     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 (399:9): [True: 21, False: 21]
  ------------------
  400|     21|        maxchar = _PyUnicode_FindMaxChar(str, start, end);
  401|     21|    }
  402|     21|    else {
  403|     21|        maxchar = writer->maxchar;
  404|     21|    }
  405|     42|    if (_PyUnicodeWriter_Prepare(writer, len, maxchar) < 0) {
  ------------------
  |  |  562|     42|    (((MAXCHAR) <= (WRITER)->maxchar                                  \
  |  |  ------------------
  |  |  |  Branch (562:7): [True: 21, False: 21]
  |  |  ------------------
  |  |  563|     42|      && (LENGTH) <= (WRITER)->size - (WRITER)->pos)                  \
  |  |  ------------------
  |  |  |  Branch (563:10): [True: 21, False: 0]
  |  |  ------------------
  |  |  564|     42|     ? 0                                                              \
  |  |  565|     42|     : (((LENGTH) == 0)                                               \
  |  |  ------------------
  |  |  |  Branch (565:9): [True: 0, False: 21]
  |  |  ------------------
  |  |  566|     21|        ? 0                                                           \
  |  |  567|     21|        : _PyUnicodeWriter_PrepareInternal((WRITER), (LENGTH), (MAXCHAR))))
  ------------------
  |  Branch (405:9): [True: 0, False: 42]
  ------------------
  406|      0|        return -1;
  407|      0|    }
  408|     42|    assert(_PyUnicodeWriter_CanWrite(writer));
  ------------------
  |  Branch (408:5): [True: 42, False: 0]
  ------------------
  409|       |
  410|     42|    _PyUnicode_FastCopyCharacters(writer->buffer, writer->pos,
  411|     42|                                  str, start, len);
  412|     42|    writer->pos += len;
  413|     42|    return 0;
  414|     42|}
_PyUnicodeWriter_WriteASCIIString:
  442|    432|{
  443|    432|    if (len == -1)
  ------------------
  |  Branch (443:9): [True: 0, False: 432]
  ------------------
  444|      0|        len = strlen(ascii);
  445|       |
  446|    432|    if (len == 0) {
  ------------------
  |  Branch (446:9): [True: 0, False: 432]
  ------------------
  447|      0|        return 0;
  448|      0|    }
  449|       |
  450|    432|    assert(ucs1lib_find_max_char((const Py_UCS1*)ascii, (const Py_UCS1*)ascii + len) < 128);
  ------------------
  |  Branch (450:5): [True: 432, False: 0]
  ------------------
  451|       |
  452|    432|    if (writer->buffer == NULL && !writer->overallocate) {
  ------------------
  |  Branch (452:9): [True: 138, False: 294]
  |  Branch (452:35): [True: 10, False: 128]
  ------------------
  453|     10|        PyObject *str;
  454|       |
  455|     10|        str = _PyUnicode_FromASCII(ascii, len);
  456|     10|        if (str == NULL)
  ------------------
  |  Branch (456:13): [True: 0, False: 10]
  ------------------
  457|      0|            return -1;
  458|       |
  459|     10|        writer->readonly = 1;
  460|     10|        writer->buffer = str;
  461|     10|        _PyUnicodeWriter_Update(writer);
  462|     10|        writer->pos += len;
  463|     10|        return 0;
  464|     10|    }
  465|       |
  466|    422|    if (_PyUnicodeWriter_Prepare(writer, len, 127) == -1) {
  ------------------
  |  |  562|    422|    (((MAXCHAR) <= (WRITER)->maxchar                                  \
  |  |  ------------------
  |  |  |  Branch (562:7): [True: 294, False: 128]
  |  |  ------------------
  |  |  563|    422|      && (LENGTH) <= (WRITER)->size - (WRITER)->pos)                  \
  |  |  ------------------
  |  |  |  Branch (563:10): [True: 278, False: 16]
  |  |  ------------------
  |  |  564|    422|     ? 0                                                              \
  |  |  565|    422|     : (((LENGTH) == 0)                                               \
  |  |  ------------------
  |  |  |  Branch (565:9): [True: 0, False: 144]
  |  |  ------------------
  |  |  566|    144|        ? 0                                                           \
  |  |  567|    144|        : _PyUnicodeWriter_PrepareInternal((WRITER), (LENGTH), (MAXCHAR))))
  ------------------
  |  Branch (466:9): [True: 0, False: 422]
  ------------------
  467|      0|        return -1;
  468|      0|    }
  469|    422|    assert(_PyUnicodeWriter_CanWrite(writer));
  ------------------
  |  Branch (469:5): [True: 422, False: 0]
  ------------------
  470|       |
  471|    422|    switch (writer->kind)
  472|    422|    {
  473|    404|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (473:5): [True: 404, False: 18]
  ------------------
  474|    404|    {
  475|    404|        const Py_UCS1 *str = (const Py_UCS1 *)ascii;
  476|    404|        Py_UCS1 *data = writer->data;
  477|       |
  478|    404|        memcpy(data + writer->pos, str, len);
  479|    404|        break;
  480|      0|    }
  481|     10|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (481:5): [True: 10, False: 412]
  ------------------
  482|     10|    {
  483|     10|        _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   48|     10|    do {                                                \
  |  |   49|     10|        to_type *_to = (to_type *)(to);                 \
  |  |   50|     10|        const from_type *_iter = (const from_type *)(begin);\
  |  |   51|     10|        const from_type *_end = (const from_type *)(end);\
  |  |   52|     10|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   53|     10|        const from_type *_unrolled_end =                \
  |  |   54|     10|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  236|     10|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   55|     10|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (55:16): [True: 0, False: 10]
  |  |  ------------------
  |  |   56|      0|            _to[0] = (to_type) _iter[0];                \
  |  |   57|      0|            _to[1] = (to_type) _iter[1];                \
  |  |   58|      0|            _to[2] = (to_type) _iter[2];                \
  |  |   59|      0|            _to[3] = (to_type) _iter[3];                \
  |  |   60|      0|            _iter += 4; _to += 4;                       \
  |  |   61|      0|        }                                               \
  |  |   62|     30|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (62:16): [True: 20, False: 10]
  |  |  ------------------
  |  |   63|     20|            *_to++ = (to_type) *_iter++;                \
  |  |   64|     10|    } while (0)
  |  |  ------------------
  |  |  |  Branch (64:14): [Folded, False: 10]
  |  |  ------------------
  ------------------
  484|     10|            Py_UCS1, Py_UCS2,
  485|     10|            ascii, ascii + len,
  486|     10|            (Py_UCS2 *)writer->data + writer->pos);
  487|     10|        break;
  488|      0|    }
  489|      8|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (489:5): [True: 8, False: 414]
  ------------------
  490|      8|    {
  491|      8|        _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   48|      8|    do {                                                \
  |  |   49|      8|        to_type *_to = (to_type *)(to);                 \
  |  |   50|      8|        const from_type *_iter = (const from_type *)(begin);\
  |  |   51|      8|        const from_type *_end = (const from_type *)(end);\
  |  |   52|      8|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   53|      8|        const from_type *_unrolled_end =                \
  |  |   54|      8|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  236|      8|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   55|      8|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (55:16): [True: 0, False: 8]
  |  |  ------------------
  |  |   56|      0|            _to[0] = (to_type) _iter[0];                \
  |  |   57|      0|            _to[1] = (to_type) _iter[1];                \
  |  |   58|      0|            _to[2] = (to_type) _iter[2];                \
  |  |   59|      0|            _to[3] = (to_type) _iter[3];                \
  |  |   60|      0|            _iter += 4; _to += 4;                       \
  |  |   61|      0|        }                                               \
  |  |   62|     24|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (62:16): [True: 16, False: 8]
  |  |  ------------------
  |  |   63|     16|            *_to++ = (to_type) *_iter++;                \
  |  |   64|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (64:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
  492|      8|            Py_UCS1, Py_UCS4,
  493|      8|            ascii, ascii + len,
  494|      8|            (Py_UCS4 *)writer->data + writer->pos);
  495|      8|        break;
  496|      0|    }
  497|      0|    default:
  ------------------
  |  Branch (497:5): [True: 0, False: 422]
  ------------------
  498|      0|        Py_UNREACHABLE();
  ------------------
  |  |  289|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  499|    422|    }
  500|       |
  501|    422|    writer->pos += len;
  502|    422|    return 0;
  503|    422|}
PyUnicodeWriter_WriteASCII:
  510|     28|{
  511|     28|    assert(writer != NULL);
  ------------------
  |  Branch (511:5): [True: 28, False: 0]
  ------------------
  512|     28|    _Py_AssertHoldsTstate();
  ------------------
  |  |  324|     28|#define _Py_AssertHoldsTstate() _Py_AssertHoldsTstateFunc(__func__)
  ------------------
  513|       |
  514|     28|    _PyUnicodeWriter *priv_writer = (_PyUnicodeWriter*)writer;
  515|     28|    return _PyUnicodeWriter_WriteASCIIString(priv_writer, str, size);
  516|     28|}
PyUnicodeWriter_WriteUTF8:
  523|     24|{
  524|     24|    if (size < 0) {
  ------------------
  |  Branch (524:9): [True: 24, False: 0]
  ------------------
  525|     24|        size = strlen(str);
  526|     24|    }
  527|       |
  528|     24|    _PyUnicodeWriter *_writer = (_PyUnicodeWriter*)writer;
  529|     24|    Py_ssize_t old_pos = _writer->pos;
  530|     24|    int res = _PyUnicode_DecodeUTF8Writer(_writer, str, size,
  531|     24|                                          _Py_ERROR_STRICT, NULL, NULL);
  532|     24|    if (res < 0) {
  ------------------
  |  Branch (532:9): [True: 0, False: 24]
  ------------------
  533|      0|        _writer->pos = old_pos;
  534|      0|    }
  535|     24|    return res;
  536|     24|}
_PyUnicodeWriter_Finish:
  583|   278k|{
  584|       |#ifdef Py_DEBUG
  585|       |    // Check for buffer overflow
  586|       |    if (writer->buffer != NULL) {
  587|       |        Py_ssize_t pos = PyUnicode_GET_LENGTH(writer->buffer);
  588|       |        Py_UCS4 ch = PyUnicode_READ_CHAR(writer->buffer, pos);
  589|       |        if (ch != 0) {
  590|       |            _Py_FatalErrorFormat(__func__,
  591|       |                                 "Buffer overflow detected in "
  592|       |                                 "PyUnicodeWriter %p at position %zd",
  593|       |                                 writer, pos);
  594|       |        }
  595|       |    }
  596|       |#endif
  597|       |
  598|   278k|    PyObject *str = writer->buffer;
  599|   278k|    writer->buffer = NULL;
  600|       |
  601|   278k|    Py_ssize_t final_size = writer->pos;
  602|   278k|    if (final_size == 0) {
  ------------------
  |  Branch (602:9): [True: 0, False: 278k]
  ------------------
  603|      0|        PyObject *empty = _PyUnicode_GetEmpty();
  604|      0|        Py_XDECREF(str);  // writer->buffer can be NULL if the position is 0
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  605|      0|        return empty;
  606|      0|    }
  607|       |
  608|   278k|    Py_ssize_t length = PyUnicode_GET_LENGTH(str);
  ------------------
  |  |  299|   278k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   278k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   278k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  609|   555k|    if (final_size == 1 && PyUnicode_KIND(str) == PyUnicode_1BYTE_KIND) {
  ------------------
  |  |  258|   277k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|   555k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 277k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (609:9): [True: 277k, False: 457]
  |  Branch (609:28): [True: 219k, False: 58.2k]
  ------------------
  610|   219k|        assert(length >= 1);
  ------------------
  |  Branch (610:9): [True: 219k, False: 0]
  ------------------
  611|   219k|        const Py_UCS1 *data = PyUnicode_1BYTE_DATA(str);
  ------------------
  |  |  291|   219k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|   219k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  612|   219k|        Py_UCS1 ch = data[0];
  613|   219k|        PyObject *latin1_char = _Py_LATIN1_CHR(ch);
  ------------------
  |  |  940|   219k|    ((CH) < 128 \
  |  |  ------------------
  |  |  |  Branch (940:6): [True: 10, False: 219k]
  |  |  ------------------
  |  |  941|   219k|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  ------------------
  |  |  |  |   18|     10|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     10|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  942|   219k|     : (PyObject*)&_Py_SINGLETON(strings).latin1[(CH) - 128])
  |  |  ------------------
  |  |  |  |   18|   219k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   219k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  614|   219k|        Py_DECREF(str);
  ------------------
  |  |  430|   219k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   219k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   219k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  615|   219k|        return latin1_char;
  616|   219k|    }
  617|       |
  618|  58.6k|    if (!writer->readonly && length != final_size) {
  ------------------
  |  Branch (618:9): [True: 58.6k, False: 10]
  |  Branch (618:30): [True: 297, False: 58.3k]
  ------------------
  619|    297|        PyObject *str2 = _PyUnicode_ResizeCompact(str, final_size);
  620|    297|        if (str2 == NULL) {
  ------------------
  |  Branch (620:13): [True: 0, False: 297]
  ------------------
  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  622|      0|            return NULL;
  623|      0|        }
  624|    297|        str = str2;
  625|    297|    }
  626|       |
  627|  58.6k|    assert(_PyUnicode_CheckConsistency(str, 1));
  ------------------
  |  Branch (627:5): [True: 58.6k, False: 0]
  ------------------
  628|  58.6k|    return str;
  629|  58.6k|}
PyUnicodeWriter_Finish:
  634|     24|{
  635|     24|    PyObject *str = _PyUnicodeWriter_Finish((_PyUnicodeWriter*)writer);
  636|     24|    assert(((_PyUnicodeWriter*)writer)->buffer == NULL);
  ------------------
  |  Branch (636:5): [True: 24, False: 0]
  ------------------
  637|     24|    _Py_FREELIST_FREE(unicode_writers, writer, PyMem_Free);
  ------------------
  |  |   35|     24|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|     24|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   29|     24|#  define Py_unicode_writers_MAXFREELIST 1
  |  |  ------------------
  ------------------
  638|     24|    return str;
  639|     24|}
_PyUnicodeWriter_Dealloc:
  644|      7|{
  645|       |    Py_CLEAR(writer->buffer);
  ------------------
  |  |  484|      7|    do { \
  |  |  485|      7|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      7|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      7|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      7|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      7|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      7|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 7, False: 0]
  |  |  ------------------
  |  |  488|      7|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      7|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      7|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      7|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      7|        } \
  |  |  491|      7|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 7]
  |  |  ------------------
  ------------------
  646|      7|}

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

_PyUnicode_GetEmpty:
  207|  2.31k|{
  208|  2.31k|    _Py_DECLARE_STR(empty, "");
  209|  2.31k|    return &_Py_STR(empty);
  ------------------
  |  |  938|  2.31k|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  2.31k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.31k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  210|  2.31k|}
_Py_GetErrorHandler:
  474|     44|{
  475|     44|    if (errors == NULL || strcmp(errors, "strict") == 0) {
  ------------------
  |  Branch (475:9): [True: 0, False: 44]
  |  Branch (475:27): [True: 0, False: 44]
  ------------------
  476|      0|        return _Py_ERROR_STRICT;
  477|      0|    }
  478|     44|    if (strcmp(errors, "surrogateescape") == 0) {
  ------------------
  |  Branch (478:9): [True: 44, False: 0]
  ------------------
  479|     44|        return _Py_ERROR_SURROGATEESCAPE;
  480|     44|    }
  481|      0|    if (strcmp(errors, "replace") == 0) {
  ------------------
  |  Branch (481:9): [True: 0, False: 0]
  ------------------
  482|      0|        return _Py_ERROR_REPLACE;
  483|      0|    }
  484|      0|    if (strcmp(errors, "ignore") == 0) {
  ------------------
  |  Branch (484:9): [True: 0, False: 0]
  ------------------
  485|      0|        return _Py_ERROR_IGNORE;
  486|      0|    }
  487|      0|    if (strcmp(errors, "backslashreplace") == 0) {
  ------------------
  |  Branch (487:9): [True: 0, False: 0]
  ------------------
  488|      0|        return _Py_ERROR_BACKSLASHREPLACE;
  489|      0|    }
  490|      0|    if (strcmp(errors, "surrogatepass") == 0) {
  ------------------
  |  Branch (490:9): [True: 0, False: 0]
  ------------------
  491|      0|        return _Py_ERROR_SURROGATEPASS;
  492|      0|    }
  493|      0|    if (strcmp(errors, "xmlcharrefreplace") == 0) {
  ------------------
  |  Branch (493:9): [True: 0, False: 0]
  ------------------
  494|      0|        return _Py_ERROR_XMLCHARREFREPLACE;
  495|      0|    }
  496|      0|    return _Py_ERROR_OTHER;
  497|      0|}
_PyUnicode_CheckConsistency:
  593|   385k|{
  594|   385k|#define CHECK(expr) \
  595|   385k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  596|       |#ifdef Py_GIL_DISABLED
  597|       |# define CHECK_IF_GIL(expr) (void)(expr)
  598|       |# define CHECK_IF_FT(expr) CHECK(expr)
  599|       |#else
  600|   385k|# define CHECK_IF_GIL(expr) CHECK(expr)
  601|   385k|# define CHECK_IF_FT(expr) (void)(expr)
  602|   385k|#endif
  603|       |
  604|   385k|    assert(op != NULL);
  ------------------
  |  Branch (604:5): [True: 385k, False: 0]
  ------------------
  605|   385k|    CHECK(PyUnicode_Check(op));
  ------------------
  |  |  595|   385k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (595:14): [True: 0, False: 385k]
  |  |  |  Branch (595:89): [Folded, False: 385k]
  |  |  ------------------
  ------------------
  606|       |
  607|   385k|    PyASCIIObject *ascii = _PyASCIIObject_CAST(op);
  ------------------
  |  |  186|   385k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   385k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   385k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (607:28): [True: 385k, False: 0]
  ------------------
  608|      0|    int kind = ascii->state.kind;
  609|       |
  610|   385k|    if (ascii->state.ascii == 1 && ascii->state.compact == 1) {
  ------------------
  |  Branch (610:9): [True: 49.1k, False: 336k]
  |  Branch (610:36): [True: 49.1k, False: 7]
  ------------------
  611|  49.1k|        CHECK(kind == PyUnicode_1BYTE_KIND);
  ------------------
  |  |  595|  49.1k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (595:14): [True: 0, False: 49.1k]
  |  |  |  Branch (595:89): [Folded, False: 49.1k]
  |  |  ------------------
  ------------------
  612|  49.1k|    }
  613|   336k|    else {
  614|   336k|        PyCompactUnicodeObject *compact = _PyCompactUnicodeObject_CAST(op);
  ------------------
  |  |  189|   336k|    (assert(PyUnicode_Check(op)), \
  |  |  190|   336k|     _Py_CAST(PyCompactUnicodeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   336k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (614:43): [True: 336k, False: 0]
  ------------------
  615|      0|        void *data;
  616|       |
  617|   336k|        if (ascii->state.compact == 1) {
  ------------------
  |  Branch (617:13): [True: 336k, False: 7]
  ------------------
  618|   336k|            data = compact + 1;
  619|   336k|            CHECK(kind == PyUnicode_1BYTE_KIND
  ------------------
  |  |  595|   907k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (595:16): [True: 219k, False: 117k]
  |  |  |  Branch (595:16): [True: 357, False: 116k]
  |  |  |  Branch (595:16): [True: 116k, False: 0]
  |  |  |  Branch (595:89): [Folded, False: 336k]
  |  |  ------------------
  ------------------
  620|   336k|                                 || kind == PyUnicode_2BYTE_KIND
  621|   336k|                                 || kind == PyUnicode_4BYTE_KIND);
  622|   336k|            CHECK(ascii->state.ascii == 0);
  ------------------
  |  |  595|   336k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (595:14): [True: 0, False: 336k]
  |  |  |  Branch (595:89): [Folded, False: 336k]
  |  |  ------------------
  ------------------
  623|   336k|            CHECK(_PyUnicode_UTF8(op) != data);
  ------------------
  |  |  595|   336k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (595:14): [True: 0, False: 336k]
  |  |  |  Branch (595:89): [Folded, False: 336k]
  |  |  ------------------
  ------------------
  624|   336k|        }
  625|      7|        else {
  626|      7|            PyUnicodeObject *unicode = _PyUnicodeObject_CAST(op);
  ------------------
  |  |  192|      7|    (assert(PyUnicode_Check(op)), \
  |  |  193|      7|     _Py_CAST(PyUnicodeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (626:40): [True: 7, False: 0]
  ------------------
  627|       |
  628|      0|            data = unicode->data.any;
  629|      7|            CHECK(kind == PyUnicode_1BYTE_KIND
  ------------------
  |  |  595|     14|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (595:16): [True: 7, False: 0]
  |  |  |  Branch (595:16): [True: 0, False: 0]
  |  |  |  Branch (595:16): [True: 0, False: 0]
  |  |  |  Branch (595:89): [Folded, False: 7]
  |  |  ------------------
  ------------------
  630|      7|                     || kind == PyUnicode_2BYTE_KIND
  631|      7|                     || kind == PyUnicode_4BYTE_KIND);
  632|      7|            CHECK(ascii->state.compact == 0);
  ------------------
  |  |  595|      7|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (595:14): [True: 0, False: 7]
  |  |  |  Branch (595:89): [Folded, False: 7]
  |  |  ------------------
  ------------------
  633|      7|            CHECK(data != NULL);
  ------------------
  |  |  595|      7|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (595:14): [True: 0, False: 7]
  |  |  |  Branch (595:89): [Folded, False: 7]
  |  |  ------------------
  ------------------
  634|      7|            if (ascii->state.ascii) {
  ------------------
  |  Branch (634:17): [True: 7, False: 0]
  ------------------
  635|      7|                CHECK(_PyUnicode_UTF8(op) == data);
  ------------------
  |  |  595|      7|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (595:14): [True: 0, False: 7]
  |  |  |  Branch (595:89): [Folded, False: 7]
  |  |  ------------------
  ------------------
  636|      7|                CHECK(compact->utf8_length == ascii->length);
  ------------------
  |  |  595|      7|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (595:14): [True: 0, False: 7]
  |  |  |  Branch (595:89): [Folded, False: 7]
  |  |  ------------------
  ------------------
  637|      7|            }
  638|      0|            else {
  639|      0|                CHECK(_PyUnicode_UTF8(op) != data);
  ------------------
  |  |  595|      0|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (595:14): [True: 0, False: 0]
  |  |  |  Branch (595:89): [Folded, False: 0]
  |  |  ------------------
  ------------------
  640|      0|            }
  641|      7|        }
  642|   336k|#ifndef Py_GIL_DISABLED
  643|   336k|        if (_PyUnicode_UTF8(op) == NULL)
  ------------------
  |  Branch (643:13): [True: 336k, False: 7]
  ------------------
  644|   336k|            CHECK(compact->utf8_length == 0);
  ------------------
  |  |  595|   336k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (595:14): [True: 0, False: 336k]
  |  |  |  Branch (595:89): [Folded, False: 336k]
  |  |  ------------------
  ------------------
  645|   336k|#endif
  646|   336k|    }
  647|       |
  648|       |    /* check that the best kind is used: O(n) operation */
  649|   385k|    const void *data = PyUnicode_DATA(ascii);
  ------------------
  |  |  284|   385k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   385k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   385k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  650|   385k|    if (check_content) {
  ------------------
  |  Branch (650:9): [True: 77.7k, False: 308k]
  ------------------
  651|  77.7k|        Py_ssize_t i;
  652|  77.7k|        Py_UCS4 maxchar = 0;
  653|  77.7k|        Py_UCS4 ch;
  654|       |
  655|   259M|        for (i=0; i < ascii->length; i++)
  ------------------
  |  Branch (655:19): [True: 259M, False: 77.7k]
  ------------------
  656|   259M|        {
  657|   259M|            ch = PyUnicode_READ(kind, data, i);
  ------------------
  |  |  354|   259M|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|   259M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|   259M|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|   259M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|   259M|                   (index))
  ------------------
  658|   259M|            if (ch > maxchar)
  ------------------
  |  Branch (658:17): [True: 118k, False: 259M]
  ------------------
  659|   118k|                maxchar = ch;
  660|   259M|        }
  661|  77.7k|        if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (661:13): [True: 19.2k, False: 58.5k]
  ------------------
  662|  19.2k|            if (ascii->state.ascii == 0) {
  ------------------
  |  Branch (662:17): [True: 0, False: 19.2k]
  ------------------
  663|      0|                CHECK(maxchar >= 128);
  ------------------
  |  |  595|      0|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (595:14): [True: 0, False: 0]
  |  |  |  Branch (595:89): [Folded, False: 0]
  |  |  ------------------
  ------------------
  664|      0|                CHECK(maxchar <= 255);
  ------------------
  |  |  595|      0|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (595:14): [True: 0, False: 0]
  |  |  |  Branch (595:89): [Folded, False: 0]
  |  |  ------------------
  ------------------
  665|      0|            }
  666|  19.2k|            else
  667|  19.2k|                CHECK(maxchar < 128);
  ------------------
  |  |  595|  19.2k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (595:14): [True: 0, False: 19.2k]
  |  |  |  Branch (595:89): [Folded, False: 19.2k]
  |  |  ------------------
  ------------------
  668|  19.2k|        }
  669|  58.5k|        else if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (669:18): [True: 155, False: 58.3k]
  ------------------
  670|    155|            CHECK(maxchar >= 0x100);
  ------------------
  |  |  595|    155|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (595:14): [True: 0, False: 155]
  |  |  |  Branch (595:89): [Folded, False: 155]
  |  |  ------------------
  ------------------
  671|    155|            CHECK(maxchar <= 0xFFFF);
  ------------------
  |  |  595|    155|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (595:14): [True: 0, False: 155]
  |  |  |  Branch (595:89): [Folded, False: 155]
  |  |  ------------------
  ------------------
  672|    155|        }
  673|  58.3k|        else {
  674|  58.3k|            CHECK(maxchar >= 0x10000);
  ------------------
  |  |  595|  58.3k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (595:14): [True: 0, False: 58.3k]
  |  |  |  Branch (595:89): [Folded, False: 58.3k]
  |  |  ------------------
  ------------------
  675|  58.3k|            CHECK(maxchar <= MAX_UNICODE);
  ------------------
  |  |  595|  58.3k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (595:14): [True: 0, False: 58.3k]
  |  |  |  Branch (595:89): [Folded, False: 58.3k]
  |  |  ------------------
  ------------------
  676|  58.3k|        }
  677|  77.7k|    }
  678|       |
  679|       |    // Detect buffer overflow: check if the trailing null character
  680|       |    // has been overridden
  681|   385k|    CHECK(PyUnicode_READ(kind, data, ascii->length) == 0);
  ------------------
  |  |  595|   385k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (595:14): [True: 0, False: 385k]
  |  |  |  Branch (595:89): [Folded, False: 385k]
  |  |  ------------------
  ------------------
  682|       |
  683|       |    /* Check interning state */
  684|       |#ifdef Py_DEBUG
  685|       |    // Note that we do not check `_Py_IsImmortal(op)` in the GIL-enabled build
  686|       |    // since stable ABI extensions can make immortal strings mortal (but with a
  687|       |    // high enough refcount).
  688|       |    switch (PyUnicode_CHECK_INTERNED(op)) {
  689|       |        case SSTATE_NOT_INTERNED:
  690|       |            if (ascii->state.statically_allocated) {
  691|       |                // This state is for two exceptions:
  692|       |                // - strings are currently checked before they're interned
  693|       |                // - the 256 one-latin1-character strings
  694|       |                //   are static but use SSTATE_NOT_INTERNED
  695|       |            }
  696|       |            else {
  697|       |                CHECK_IF_GIL(!_Py_IsImmortal(op));
  698|       |            }
  699|       |            break;
  700|       |        case SSTATE_INTERNED_MORTAL:
  701|       |            CHECK(!ascii->state.statically_allocated);
  702|       |            CHECK_IF_GIL(!_Py_IsImmortal(op));
  703|       |            break;
  704|       |        case SSTATE_INTERNED_IMMORTAL:
  705|       |            CHECK(!ascii->state.statically_allocated);
  706|       |            CHECK_IF_FT(_Py_IsImmortal(op));
  707|       |            break;
  708|       |        case SSTATE_INTERNED_IMMORTAL_STATIC:
  709|       |            CHECK(ascii->state.statically_allocated);
  710|       |            CHECK_IF_FT(_Py_IsImmortal(op));
  711|       |            break;
  712|       |        default:
  713|       |            Py_UNREACHABLE();
  714|       |    }
  715|       |#endif
  716|       |
  717|   385k|    return 1;
  718|       |
  719|   385k|#undef CHECK
  720|   385k|}
_PyUnicode_Result:
  724|    790|{
  725|    790|    assert(_PyUnicode_CHECK(unicode));
  ------------------
  |  Branch (725:5): [True: 790, False: 0]
  ------------------
  726|       |
  727|    790|    Py_ssize_t length = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  299|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  728|    790|    if (length == 0) {
  ------------------
  |  Branch (728:9): [True: 0, False: 790]
  ------------------
  729|      0|        PyObject *empty = _PyUnicode_GetEmpty();
  730|      0|        if (unicode != empty) {
  ------------------
  |  Branch (730:13): [True: 0, False: 0]
  ------------------
  731|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  732|      0|        }
  733|      0|        return empty;
  734|      0|    }
  735|       |
  736|    790|    if (length == 1) {
  ------------------
  |  Branch (736:9): [True: 0, False: 790]
  ------------------
  737|      0|        int kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|      0|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  738|      0|        if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (738:13): [True: 0, False: 0]
  ------------------
  739|      0|            const Py_UCS1 *data = PyUnicode_1BYTE_DATA(unicode);
  ------------------
  |  |  291|      0|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  740|      0|            Py_UCS1 ch = data[0];
  741|      0|            PyObject *latin1_char = LATIN1(ch);
  ------------------
  |  |  188|      0|#define LATIN1 _Py_LATIN1_CHR
  |  |  ------------------
  |  |  |  |  940|      0|    ((CH) < 128 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (940:6): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  941|      0|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  942|      0|     : (PyObject*)&_Py_SINGLETON(strings).latin1[(CH) - 128])
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  742|      0|            if (unicode != latin1_char) {
  ------------------
  |  Branch (742:17): [True: 0, False: 0]
  ------------------
  743|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  744|      0|            }
  745|      0|            return latin1_char;
  746|      0|        }
  747|      0|    }
  748|       |
  749|    790|    assert(_PyUnicode_CheckConsistency(unicode, 1));
  ------------------
  |  Branch (749:5): [True: 790, False: 0]
  ------------------
  750|    790|    return unicode;
  751|    790|}
_PyUnicode_ResizeCompact:
 1084|    388|{
 1085|    388|    Py_ssize_t char_size;
 1086|    388|    Py_ssize_t struct_size;
 1087|    388|    Py_ssize_t new_size;
 1088|    388|    PyObject *new_unicode;
 1089|       |#ifdef Py_DEBUG
 1090|       |    Py_ssize_t old_length = _PyUnicode_LENGTH(unicode);
 1091|       |#endif
 1092|       |
 1093|    388|    if (!_PyUnicode_IsModifiable(unicode)) {
  ------------------
  |  Branch (1093:9): [True: 0, False: 388]
  ------------------
 1094|      0|        PyObject *copy = resize_copy(unicode, length);
 1095|      0|        if (copy == NULL) {
  ------------------
  |  Branch (1095:13): [True: 0, False: 0]
  ------------------
 1096|      0|            return NULL;
 1097|      0|        }
 1098|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1099|      0|        return copy;
 1100|      0|    }
 1101|    388|    assert(PyUnicode_IS_COMPACT(unicode));
  ------------------
  |  Branch (1101:5): [True: 388, False: 0]
  ------------------
 1102|       |
 1103|    388|    char_size = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|    388|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|    776|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 388, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1104|    388|    if (PyUnicode_IS_ASCII(unicode))
  ------------------
  |  |  227|    388|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    388|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    388|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 277, False: 111]
  |  |  ------------------
  ------------------
 1105|    277|        struct_size = sizeof(PyASCIIObject);
 1106|    111|    else
 1107|    111|        struct_size = sizeof(PyCompactUnicodeObject);
 1108|       |
 1109|    388|    if (length > ((PY_SSIZE_T_MAX - struct_size) / char_size - 1)) {
  ------------------
  |  |  137|    388|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1109:9): [True: 0, False: 388]
  ------------------
 1110|      0|        PyErr_NoMemory();
 1111|      0|        return NULL;
 1112|      0|    }
 1113|    388|    new_size = (struct_size + (length + 1) * char_size);
 1114|       |
 1115|    388|    if (_PyUnicode_HAS_UTF8_MEMORY(unicode)) {
  ------------------
  |  Branch (1115:9): [True: 0, False: 388]
  ------------------
 1116|      0|        PyMem_Free(_PyUnicode_UTF8(unicode));
 1117|      0|        PyUnicode_SET_UTF8_LENGTH(unicode, 0);
 1118|      0|        PyUnicode_SET_UTF8(unicode, NULL);
 1119|      0|    }
 1120|       |#ifdef Py_TRACE_REFS
 1121|       |    _Py_ForgetReference(unicode);
 1122|       |#endif
 1123|    388|    _PyReftracerTrack(unicode, PyRefTracer_DESTROY);
  ------------------
  |  |  112|    388|    do { \
  |  |  113|    388|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  114|    388|        if (tracer->tracer_func != NULL) { \
  |  |  ------------------
  |  |  |  Branch (114:13): [True: 0, False: 388]
  |  |  ------------------
  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  117|      0|        } \
  |  |  118|    388|    } while(0)
  |  |  ------------------
  |  |  |  Branch (118:13): [Folded, False: 388]
  |  |  ------------------
  ------------------
 1124|       |
 1125|    388|    new_unicode = (PyObject *)PyObject_Realloc(unicode, new_size);
 1126|    388|    if (new_unicode == NULL) {
  ------------------
  |  Branch (1126:9): [True: 0, False: 388]
  ------------------
 1127|      0|        _Py_NewReferenceNoTotal(unicode);
 1128|      0|        PyErr_NoMemory();
 1129|      0|        return NULL;
 1130|      0|    }
 1131|    388|    unicode = new_unicode;
 1132|    388|    _Py_NewReferenceNoTotal(unicode);
 1133|       |
 1134|    388|    _PyUnicode_LENGTH(unicode) = length;
  ------------------
  |  |  155|    388|    (_PyASCIIObject_CAST(op)->length)
  |  |  ------------------
  |  |  |  |  186|    388|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|    388|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    388|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1134:5): [True: 388, False: 0]
  ------------------
 1135|       |#ifdef Py_DEBUG
 1136|       |    unicode_fill_invalid(unicode, old_length);
 1137|       |#endif
 1138|    388|    PyUnicode_WRITE(PyUnicode_KIND(unicode), PyUnicode_DATA(unicode),
  ------------------
  |  |  335|    388|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|    776|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:47): [True: 388, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|    388|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  336|    388|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|    388|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1139|    388|                    length, 0);
 1140|    388|    assert(_PyUnicode_CheckConsistency(unicode, 0));
  ------------------
  |  Branch (1140:5): [True: 388, False: 0]
  ------------------
 1141|    388|    return unicode;
 1142|    388|}
PyUnicode_New:
 1288|   307k|{
 1289|       |    /* Optimization for empty strings */
 1290|   307k|    if (size == 0) {
  ------------------
  |  Branch (1290:9): [True: 4, False: 307k]
  ------------------
 1291|      4|        return _PyUnicode_GetEmpty();
 1292|      4|    }
 1293|       |
 1294|   307k|    PyObject *obj;
 1295|   307k|    PyCompactUnicodeObject *unicode;
 1296|   307k|    void *data;
 1297|   307k|    int kind;
 1298|   307k|    int is_ascii;
 1299|   307k|    Py_ssize_t char_size;
 1300|   307k|    Py_ssize_t struct_size;
 1301|       |
 1302|   307k|    is_ascii = 0;
 1303|   307k|    struct_size = sizeof(PyCompactUnicodeObject);
 1304|   307k|    if (maxchar < 128) {
  ------------------
  |  Branch (1304:9): [True: 29.6k, False: 278k]
  ------------------
 1305|  29.6k|        kind = PyUnicode_1BYTE_KIND;
 1306|  29.6k|        char_size = 1;
 1307|  29.6k|        is_ascii = 1;
 1308|  29.6k|        struct_size = sizeof(PyASCIIObject);
 1309|  29.6k|    }
 1310|   278k|    else if (maxchar < 256) {
  ------------------
  |  Branch (1310:14): [True: 219k, False: 58.5k]
  ------------------
 1311|   219k|        kind = PyUnicode_1BYTE_KIND;
 1312|   219k|        char_size = 1;
 1313|   219k|    }
 1314|  58.5k|    else if (maxchar < 65536) {
  ------------------
  |  Branch (1314:14): [True: 177, False: 58.3k]
  ------------------
 1315|    177|        kind = PyUnicode_2BYTE_KIND;
 1316|    177|        char_size = 2;
 1317|    177|    }
 1318|  58.3k|    else {
 1319|  58.3k|        if (maxchar > MAX_UNICODE) {
  ------------------
  |  |  108|  58.3k|#define MAX_UNICODE _Py_MAX_UNICODE
  |  |  ------------------
  |  |  |  |   17|  58.3k|#define _Py_MAX_UNICODE 0x10ffff
  |  |  ------------------
  ------------------
  |  Branch (1319:13): [True: 0, False: 58.3k]
  ------------------
 1320|      0|            PyErr_SetString(PyExc_SystemError,
 1321|      0|                            "invalid maximum character passed to PyUnicode_New");
 1322|      0|            return NULL;
 1323|      0|        }
 1324|  58.3k|        kind = PyUnicode_4BYTE_KIND;
 1325|  58.3k|        char_size = 4;
 1326|  58.3k|    }
 1327|       |
 1328|       |    /* Ensure we won't overflow the size. */
 1329|   307k|    if (size < 0) {
  ------------------
  |  Branch (1329:9): [True: 0, False: 307k]
  ------------------
 1330|      0|        PyErr_SetString(PyExc_SystemError,
 1331|      0|                        "Negative size passed to PyUnicode_New");
 1332|      0|        return NULL;
 1333|      0|    }
 1334|   307k|    if (size > ((PY_SSIZE_T_MAX - struct_size) / char_size - 1))
  ------------------
  |  |  137|   307k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1334:9): [True: 0, False: 307k]
  ------------------
 1335|      0|        return PyErr_NoMemory();
 1336|       |
 1337|       |    /* Duplicated allocation code from _PyObject_New() instead of a call to
 1338|       |     * PyObject_New() so we are able to allocate space for the object and
 1339|       |     * it's data buffer.
 1340|       |     */
 1341|   307k|    obj = (PyObject *) PyObject_Malloc(struct_size + (size + 1) * char_size);
 1342|   307k|    if (obj == NULL) {
  ------------------
  |  Branch (1342:9): [True: 0, False: 307k]
  ------------------
 1343|      0|        return PyErr_NoMemory();
 1344|      0|    }
 1345|   307k|    _PyObject_Init(obj, &PyUnicode_Type);
 1346|       |
 1347|   307k|    unicode = (PyCompactUnicodeObject *)obj;
 1348|   307k|    if (is_ascii)
  ------------------
  |  Branch (1348:9): [True: 29.6k, False: 278k]
  ------------------
 1349|  29.6k|        data = ((PyASCIIObject*)obj) + 1;
 1350|   278k|    else
 1351|   278k|        data = unicode + 1;
 1352|   307k|    _PyUnicode_LENGTH(unicode) = size;
  ------------------
  |  |  155|   307k|    (_PyASCIIObject_CAST(op)->length)
  |  |  ------------------
  |  |  |  |  186|   307k|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|   307k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   307k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1352:5): [True: 307k, False: 0]
  ------------------
 1353|   307k|    _PyUnicode_HASH(unicode) = -1;
  ------------------
  |  |  159|   307k|    (_PyASCIIObject_CAST(op)->hash)
  |  |  ------------------
  |  |  |  |  186|   307k|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|   307k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   307k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1353:5): [True: 307k, False: 0]
  ------------------
 1354|   307k|    _PyUnicode_STATE(unicode).interned = 0;
  ------------------
  |  |  157|   307k|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|   307k|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|   307k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   307k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1354:5): [True: 307k, False: 0]
  ------------------
 1355|   307k|    _PyUnicode_STATE(unicode).kind = kind;
  ------------------
  |  |  157|   307k|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|   307k|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|   307k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   307k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1355:5): [True: 307k, False: 0]
  ------------------
 1356|   307k|    _PyUnicode_STATE(unicode).compact = 1;
  ------------------
  |  |  157|   307k|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|   307k|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|   307k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   307k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1356:5): [True: 307k, False: 0]
  ------------------
 1357|   307k|    _PyUnicode_STATE(unicode).ascii = is_ascii;
  ------------------
  |  |  157|   307k|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|   307k|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|   307k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   307k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1357:5): [True: 307k, False: 0]
  ------------------
 1358|   307k|    _PyUnicode_STATE(unicode).statically_allocated = 0;
  ------------------
  |  |  157|   307k|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|   307k|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|   307k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   307k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1358:5): [True: 307k, False: 0]
  ------------------
 1359|   307k|    if (is_ascii) {
  ------------------
  |  Branch (1359:9): [True: 29.6k, False: 278k]
  ------------------
 1360|  29.6k|        ((char*)data)[size] = 0;
 1361|  29.6k|    }
 1362|   278k|    else if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (1362:14): [True: 219k, False: 58.5k]
  ------------------
 1363|   219k|        ((char*)data)[size] = 0;
 1364|   219k|        unicode->utf8 = NULL;
 1365|   219k|        unicode->utf8_length = 0;
 1366|   219k|    }
 1367|  58.5k|    else {
 1368|  58.5k|        unicode->utf8 = NULL;
 1369|  58.5k|        unicode->utf8_length = 0;
 1370|  58.5k|        if (kind == PyUnicode_2BYTE_KIND)
  ------------------
  |  Branch (1370:13): [True: 177, False: 58.3k]
  ------------------
 1371|    177|            ((Py_UCS2*)data)[size] = 0;
 1372|  58.3k|        else /* kind == PyUnicode_4BYTE_KIND */
 1373|  58.3k|            ((Py_UCS4*)data)[size] = 0;
 1374|  58.5k|    }
 1375|       |#ifdef Py_DEBUG
 1376|       |    unicode_fill_invalid((PyObject*)unicode, 0);
 1377|       |#endif
 1378|   307k|    assert(_PyUnicode_CheckConsistency((PyObject*)unicode, 0));
  ------------------
  |  Branch (1378:5): [True: 307k, False: 0]
  ------------------
 1379|   307k|    return obj;
 1380|   307k|}
_PyUnicode_FastCopyCharacters:
 1540|  2.73k|{
 1541|  2.73k|    (void)_copy_characters(to, to_start, from, from_start, how_many, 0);
 1542|  2.73k|}
_PyUnicode_IsModifiable:
 1750|    454|{
 1751|    454|    assert(_PyUnicode_CHECK(unicode));
  ------------------
  |  Branch (1751:5): [True: 454, False: 0]
  ------------------
 1752|    454|    if (!PyUnicode_CheckExact(unicode))
  ------------------
  |  |  104|    454|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|    454|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    454|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    454|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1752:9): [True: 0, False: 454]
  ------------------
 1753|      0|        return 0;
 1754|       |    // On Free Threading, this test fails if called from a thread other
 1755|       |    // than the one which created the str object.
 1756|    454|    if (!_PyObject_IsUniquelyReferenced(unicode))
  ------------------
  |  Branch (1756:9): [True: 42, False: 412]
  ------------------
 1757|     42|        return 0;
 1758|    412|    if (PyUnicode_HASH(unicode) != -1)
  ------------------
  |  |  161|    412|#define PyUnicode_HASH PyUnstable_Unicode_GET_CACHED_HASH
  ------------------
  |  Branch (1758:9): [True: 0, False: 412]
  ------------------
 1759|      0|        return 0;
 1760|    412|    if (PyUnicode_CHECK_INTERNED(unicode))
  ------------------
  |  |  214|    412|#define PyUnicode_CHECK_INTERNED(op) PyUnicode_CHECK_INTERNED(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    412|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    412|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (214:38): [True: 0, False: 412]
  |  |  ------------------
  ------------------
 1761|      0|        return 0;
 1762|       |#ifdef Py_DEBUG
 1763|       |    /* singleton refcount is greater than 1 */
 1764|       |    assert(!unicode_is_singleton(unicode));
 1765|       |#endif
 1766|    412|    return 1;
 1767|    412|}
PyUnicode_FromWideChar:
 1918|    794|{
 1919|    794|    PyObject *unicode;
 1920|    794|    Py_UCS4 maxchar = 0;
 1921|    794|    Py_ssize_t num_surrogates;
 1922|       |
 1923|    794|    if (u == NULL && size != 0) {
  ------------------
  |  Branch (1923:9): [True: 0, False: 794]
  |  Branch (1923:22): [True: 0, False: 0]
  ------------------
 1924|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1925|      0|        return NULL;
 1926|      0|    }
 1927|       |
 1928|    794|    if (size == -1) {
  ------------------
  |  Branch (1928:9): [True: 82, False: 712]
  ------------------
 1929|     82|        size = wcslen(u);
 1930|     82|    }
 1931|       |
 1932|       |    /* If the Unicode data is known at construction time, we can apply
 1933|       |       some optimizations which share commonly used objects. */
 1934|       |
 1935|       |    /* Optimization for empty strings */
 1936|    794|    if (size == 0)
  ------------------
  |  Branch (1936:9): [True: 4, False: 790]
  ------------------
 1937|      4|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  379|      4|    do {                             \
  |  |  380|      4|        return _PyUnicode_GetEmpty();\
  |  |  381|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1938|       |
 1939|       |#ifdef HAVE_NON_UNICODE_WCHAR_T_REPRESENTATION
 1940|       |    /* Oracle Solaris uses non-Unicode internal wchar_t form for
 1941|       |       non-Unicode locales and hence needs conversion to UCS-4 first. */
 1942|       |    if (_Py_LocaleUsesNonUnicodeWchar()) {
 1943|       |        wchar_t* converted = _Py_DecodeNonUnicodeWchar(u, size);
 1944|       |        if (!converted) {
 1945|       |            return NULL;
 1946|       |        }
 1947|       |        PyObject *unicode = _PyUnicode_FromUCS4(converted, size);
 1948|       |        PyMem_Free(converted);
 1949|       |        return unicode;
 1950|       |    }
 1951|       |#endif
 1952|       |
 1953|       |    /* Single character Unicode objects in the Latin-1 range are
 1954|       |       shared when using this constructor */
 1955|    790|    if (size == 1 && (Py_UCS4)*u < 256)
  ------------------
  |  Branch (1955:9): [True: 0, False: 790]
  |  Branch (1955:22): [True: 0, False: 0]
  ------------------
 1956|      0|        return get_latin1_char((unsigned char)*u);
 1957|       |
 1958|       |    /* If not empty and not single character, copy the Unicode data
 1959|       |       into the new object */
 1960|    790|    if (find_maxchar_surrogates(u, u + size,
  ------------------
  |  Branch (1960:9): [True: 0, False: 790]
  ------------------
 1961|    790|                                &maxchar, &num_surrogates) == -1)
 1962|      0|        return NULL;
 1963|       |
 1964|    790|    unicode = PyUnicode_New(size - num_surrogates, maxchar);
 1965|    790|    if (!unicode)
  ------------------
  |  Branch (1965:9): [True: 0, False: 790]
  ------------------
 1966|      0|        return NULL;
 1967|       |
 1968|    790|    unicode_write_widechar(PyUnicode_KIND(unicode), PyUnicode_DATA(unicode),
  ------------------
  |  |  258|    790|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|  1.58k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 790, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  unicode_write_widechar(PyUnicode_KIND(unicode), PyUnicode_DATA(unicode),
  ------------------
  |  |  284|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1969|    790|                           u, size, num_surrogates);
 1970|       |
 1971|    790|    return unicode_result(unicode);
  ------------------
  |  |  752|    790|#define unicode_result _PyUnicode_Result
  ------------------
 1972|    790|}
PyUnicode_FromStringAndSize:
 2028|    511|{
 2029|    511|    if (size < 0) {
  ------------------
  |  Branch (2029:9): [True: 0, False: 511]
  ------------------
 2030|      0|        PyErr_SetString(PyExc_SystemError,
 2031|      0|                        "Negative size passed to PyUnicode_FromStringAndSize");
 2032|      0|        return NULL;
 2033|      0|    }
 2034|    511|    if (u != NULL) {
  ------------------
  |  Branch (2034:9): [True: 511, False: 0]
  ------------------
 2035|    511|        return PyUnicode_DecodeUTF8Stateful(u, size, NULL, NULL);
 2036|    511|    }
 2037|      0|    if (size > 0) {
  ------------------
  |  Branch (2037:9): [True: 0, False: 0]
  ------------------
 2038|      0|        PyErr_SetString(PyExc_SystemError,
 2039|      0|            "NULL string with positive size with NULL passed to PyUnicode_FromStringAndSize");
 2040|      0|        return NULL;
 2041|      0|    }
 2042|      0|    return _PyUnicode_GetEmpty();
 2043|      0|}
PyUnicode_FromString:
 2047|  11.3k|{
 2048|  11.3k|    size_t size = strlen(u);
 2049|  11.3k|    if (size > PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|  11.3k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (2049:9): [True: 0, False: 11.3k]
  ------------------
 2050|      0|        PyErr_SetString(PyExc_OverflowError, "input too long");
 2051|      0|        return NULL;
 2052|      0|    }
 2053|  11.3k|    return PyUnicode_DecodeUTF8Stateful(u, (Py_ssize_t)size, NULL, NULL);
 2054|  11.3k|}
_PyUnicode_FromASCII:
 2142|    457|{
 2143|    457|    const unsigned char *s = (const unsigned char *)buffer;
 2144|    457|    PyObject *unicode;
 2145|    457|    if (size == 1) {
  ------------------
  |  Branch (2145:9): [True: 0, False: 457]
  ------------------
 2146|       |#ifdef Py_DEBUG
 2147|       |        assert((unsigned char)s[0] < 128);
 2148|       |#endif
 2149|      0|        return get_latin1_char(s[0]);
 2150|      0|    }
 2151|    457|    unicode = PyUnicode_New(size, 127);
 2152|    457|    if (!unicode)
  ------------------
  |  Branch (2152:9): [True: 0, False: 457]
  ------------------
 2153|      0|        return NULL;
 2154|    457|    memcpy(PyUnicode_1BYTE_DATA(unicode), s, size);
  ------------------
  |  |  291|    457|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|    457|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2155|    457|    assert(_PyUnicode_CheckConsistency(unicode, 1));
  ------------------
  |  Branch (2155:5): [True: 457, False: 0]
  ------------------
 2156|    457|    return unicode;
 2157|    457|}
PyUnicode_FromKindAndData:
 2299|  14.6k|{
 2300|  14.6k|    if (size < 0) {
  ------------------
  |  Branch (2300:9): [True: 0, False: 14.6k]
  ------------------
 2301|      0|        PyErr_SetString(PyExc_ValueError, "size must be positive");
 2302|      0|        return NULL;
 2303|      0|    }
 2304|  14.6k|    switch (kind) {
 2305|  14.6k|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (2305:5): [True: 14.6k, False: 25]
  ------------------
 2306|  14.6k|        return _PyUnicode_FromUCS1(buffer, size);
 2307|      0|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (2307:5): [True: 0, False: 14.6k]
  ------------------
 2308|      0|        return _PyUnicode_FromUCS2(buffer, size);
 2309|     25|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (2309:5): [True: 25, False: 14.6k]
  ------------------
 2310|     25|        return _PyUnicode_FromUCS4(buffer, size);
 2311|      0|    default:
  ------------------
  |  Branch (2311:5): [True: 0, False: 14.6k]
  ------------------
 2312|      0|        PyErr_SetString(PyExc_SystemError, "invalid kind");
 2313|       |        return NULL;
 2314|  14.6k|    }
 2315|  14.6k|}
_PyUnicode_FindMaxChar:
 2319|     21|{
 2320|     21|    int kind;
 2321|     21|    const void *startptr, *endptr;
 2322|       |
 2323|     21|    assert(0 <= start);
  ------------------
  |  Branch (2323:5): [True: 21, False: 0]
  ------------------
 2324|     21|    assert(end <= PyUnicode_GET_LENGTH(unicode));
  ------------------
  |  Branch (2324:5): [True: 21, False: 0]
  ------------------
 2325|     21|    assert(start <= end);
  ------------------
  |  Branch (2325:5): [True: 21, False: 0]
  ------------------
 2326|       |
 2327|     21|    if (start == 0 && end == PyUnicode_GET_LENGTH(unicode))
  ------------------
  |  |  299|     21|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     21|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2327:9): [True: 21, False: 0]
  |  Branch (2327:23): [True: 0, False: 21]
  ------------------
 2328|      0|        return PyUnicode_MAX_CHAR_VALUE(unicode);
  ------------------
  |  |  405|      0|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2329|       |
 2330|     21|    if (start == end)
  ------------------
  |  Branch (2330:9): [True: 0, False: 21]
  ------------------
 2331|      0|        return 127;
 2332|       |
 2333|     21|    if (PyUnicode_IS_ASCII(unicode))
  ------------------
  |  |  227|     21|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     21|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 21, False: 0]
  |  |  ------------------
  ------------------
 2334|     21|        return 127;
 2335|       |
 2336|      0|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|      0|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2337|      0|    startptr = PyUnicode_DATA(unicode);
  ------------------
  |  |  284|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2338|      0|    endptr = (char *)startptr + end * kind;
 2339|      0|    startptr = (char *)startptr + start * kind;
 2340|      0|    switch(kind) {
 2341|      0|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (2341:5): [True: 0, False: 0]
  ------------------
 2342|      0|        return ucs1lib_find_max_char(startptr, endptr);
 2343|      0|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (2343:5): [True: 0, False: 0]
  ------------------
 2344|      0|        return ucs2lib_find_max_char(startptr, endptr);
 2345|      0|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (2345:5): [True: 0, False: 0]
  ------------------
 2346|      0|        return ucs4lib_find_max_char(startptr, endptr);
 2347|      0|    default:
  ------------------
  |  Branch (2347:5): [True: 0, False: 0]
  ------------------
 2348|      0|        Py_UNREACHABLE();
  ------------------
  |  |  289|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 2349|      0|    }
 2350|      0|}
PyUnicode_FromFormatV:
 3135|    176|{
 3136|    176|    _PyUnicodeWriter writer;
 3137|    176|    _PyUnicodeWriter_Init(&writer);
 3138|       |
 3139|    176|    if (unicode_from_format(&writer, format, vargs) < 0) {
  ------------------
  |  Branch (3139:9): [True: 0, False: 176]
  ------------------
 3140|      0|        _PyUnicodeWriter_Dealloc(&writer);
 3141|      0|        return NULL;
 3142|      0|    }
 3143|    176|    return _PyUnicodeWriter_Finish(&writer);
 3144|    176|}
PyUnicode_FromFormat:
 3148|     66|{
 3149|     66|    PyObject* ret;
 3150|     66|    va_list vargs;
 3151|       |
 3152|     66|    va_start(vargs, format);
 3153|     66|    ret = PyUnicode_FromFormatV(format, vargs);
 3154|       |    va_end(vargs);
 3155|     66|    return ret;
 3156|     66|}
PyUnicode_AsWideChar:
 3265|      2|{
 3266|      2|    Py_ssize_t res;
 3267|       |
 3268|      2|    if (unicode == NULL) {
  ------------------
  |  Branch (3268:9): [True: 0, False: 2]
  ------------------
 3269|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3270|      0|        return -1;
 3271|      0|    }
 3272|      2|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|      2|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      2|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3272:9): [True: 0, False: 2]
  ------------------
 3273|      0|        PyErr_BadArgument();
 3274|      0|        return -1;
 3275|      0|    }
 3276|       |
 3277|      2|    res = unicode_get_widechar_size(unicode);
 3278|      2|    if (w == NULL) {
  ------------------
  |  Branch (3278:9): [True: 0, False: 2]
  ------------------
 3279|      0|        return res + 1;
 3280|      0|    }
 3281|       |
 3282|      2|    if (size > res) {
  ------------------
  |  Branch (3282:9): [True: 2, False: 0]
  ------------------
 3283|      2|        size = res + 1;
 3284|      2|    }
 3285|      0|    else {
 3286|      0|        res = size;
 3287|      0|    }
 3288|      2|    unicode_copy_as_widechar(unicode, w, size);
 3289|       |
 3290|       |#ifdef HAVE_NON_UNICODE_WCHAR_T_REPRESENTATION
 3291|       |    /* Oracle Solaris uses non-Unicode internal wchar_t form for
 3292|       |       non-Unicode locales and hence needs conversion first. */
 3293|       |    if (_Py_LocaleUsesNonUnicodeWchar()) {
 3294|       |        if (_Py_EncodeNonUnicodeWchar_InPlace(w, size) < 0) {
 3295|       |            return -1;
 3296|       |        }
 3297|       |    }
 3298|       |#endif
 3299|       |
 3300|      2|    return res;
 3301|      2|}
PyUnicode_AsWideCharString:
 3306|    192|{
 3307|    192|    wchar_t *buffer;
 3308|    192|    Py_ssize_t buflen;
 3309|       |
 3310|    192|    if (unicode == NULL) {
  ------------------
  |  Branch (3310:9): [True: 0, False: 192]
  ------------------
 3311|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3312|      0|        return NULL;
 3313|      0|    }
 3314|    192|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|    192|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    192|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3314:9): [True: 0, False: 192]
  ------------------
 3315|      0|        PyErr_BadArgument();
 3316|      0|        return NULL;
 3317|      0|    }
 3318|       |
 3319|    192|    buflen = unicode_get_widechar_size(unicode);
 3320|    192|    buffer = (wchar_t *) PyMem_New(wchar_t, (buflen + 1));
  ------------------
  |  |   64|    192|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|    192|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [True: 0, False: 192]
  |  |  ------------------
  |  |   65|    192|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
 3321|    192|    if (buffer == NULL) {
  ------------------
  |  Branch (3321:9): [True: 0, False: 192]
  ------------------
 3322|      0|        PyErr_NoMemory();
 3323|      0|        return NULL;
 3324|      0|    }
 3325|    192|    unicode_copy_as_widechar(unicode, buffer, buflen + 1);
 3326|       |
 3327|       |#ifdef HAVE_NON_UNICODE_WCHAR_T_REPRESENTATION
 3328|       |    /* Oracle Solaris uses non-Unicode internal wchar_t form for
 3329|       |       non-Unicode locales and hence needs conversion first. */
 3330|       |    if (_Py_LocaleUsesNonUnicodeWchar()) {
 3331|       |        if (_Py_EncodeNonUnicodeWchar_InPlace(buffer, (buflen + 1)) < 0) {
 3332|       |            return NULL;
 3333|       |        }
 3334|       |    }
 3335|       |#endif
 3336|       |
 3337|    192|    if (size != NULL) {
  ------------------
  |  Branch (3337:9): [True: 142, False: 50]
  ------------------
 3338|    142|        *size = buflen;
 3339|    142|    }
 3340|     50|    else if (wcslen(buffer) != (size_t)buflen) {
  ------------------
  |  Branch (3340:14): [True: 0, False: 50]
  ------------------
 3341|      0|        PyMem_Free(buffer);
 3342|      0|        PyErr_SetString(PyExc_ValueError,
 3343|      0|                        "embedded null character");
 3344|      0|        return NULL;
 3345|      0|    }
 3346|    192|    return buffer;
 3347|    192|}
PyUnicode_FromOrdinal:
 3401|     24|{
 3402|     24|    if (ordinal < 0 || ordinal > MAX_UNICODE) {
  ------------------
  |  |  108|     24|#define MAX_UNICODE _Py_MAX_UNICODE
  |  |  ------------------
  |  |  |  |   17|     24|#define _Py_MAX_UNICODE 0x10ffff
  |  |  ------------------
  ------------------
  |  Branch (3402:9): [True: 0, False: 24]
  |  Branch (3402:24): [True: 0, False: 24]
  ------------------
 3403|      0|        PyErr_SetString(PyExc_ValueError,
 3404|      0|                        "chr() arg not in range(0x110000)");
 3405|      0|        return NULL;
 3406|      0|    }
 3407|       |
 3408|     24|    return unicode_char((Py_UCS4)ordinal);
 3409|     24|}
PyUnicode_FromObject:
 3413|      8|{
 3414|       |    /* XXX Perhaps we should make this API an alias of
 3415|       |       PyObject_Str() instead ?! */
 3416|      8|    if (PyUnicode_CheckExact(obj)) {
  ------------------
  |  |  104|      8|#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|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3417|      8|        return Py_NewRef(obj);
  ------------------
  |  |  550|      8|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3418|      8|    }
 3419|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3420|       |        /* For a Unicode subtype that's not a Unicode object,
 3421|       |           return a true Unicode object with the same data. */
 3422|      0|        return _PyUnicode_Copy(obj);
 3423|      0|    }
 3424|      0|    PyErr_Format(PyExc_TypeError,
 3425|      0|                 "Can't convert '%.100s' object to str implicitly",
 3426|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3427|       |    return NULL;
 3428|      0|}
PyUnicode_FromEncodedObject:
 3434|      6|{
 3435|      6|    Py_buffer buffer;
 3436|      6|    PyObject *v;
 3437|       |
 3438|      6|    if (obj == NULL) {
  ------------------
  |  Branch (3438:9): [True: 0, False: 6]
  ------------------
 3439|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3440|      0|        return NULL;
 3441|      0|    }
 3442|       |
 3443|       |    /* Decoding bytes objects is the most common case and should be fast */
 3444|      6|    if (PyBytes_Check(obj)) {
  ------------------
  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3445|      6|        if (PyBytes_GET_SIZE(obj) == 0) {
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3445:13): [True: 0, False: 6]
  ------------------
 3446|      0|            if (unicode_check_encoding_errors(encoding, errors) < 0) {
  ------------------
  |  Branch (3446:17): [True: 0, False: 0]
  ------------------
 3447|      0|                return NULL;
 3448|      0|            }
 3449|      0|            _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  379|      0|    do {                             \
  |  |  380|      0|        return _PyUnicode_GetEmpty();\
  |  |  381|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3450|      0|        }
 3451|      6|        return PyUnicode_Decode(
 3452|      6|                PyBytes_AS_STRING(obj), PyBytes_GET_SIZE(obj),
  ------------------
  |  |   27|      6|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                              PyBytes_AS_STRING(obj), PyBytes_GET_SIZE(obj),
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3453|      6|                encoding, errors);
 3454|      6|    }
 3455|       |
 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|      0|        PyErr_SetString(PyExc_TypeError,
 3458|      0|                        "decoding str is not supported");
 3459|      0|        return NULL;
 3460|      0|    }
 3461|       |
 3462|       |    /* Retrieve a bytes buffer view through the PEP 3118 buffer interface */
 3463|      0|    if (PyObject_GetBuffer(obj, &buffer, PyBUF_SIMPLE) < 0) {
  ------------------
  |  |  108|      0|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (3463:9): [True: 0, False: 0]
  ------------------
 3464|      0|        PyErr_Format(PyExc_TypeError,
 3465|      0|                     "decoding to str: need a bytes-like object, %.80s found",
 3466|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3467|      0|        return NULL;
 3468|      0|    }
 3469|       |
 3470|      0|    if (buffer.len == 0) {
  ------------------
  |  Branch (3470:9): [True: 0, False: 0]
  ------------------
 3471|      0|        PyBuffer_Release(&buffer);
 3472|      0|        if (unicode_check_encoding_errors(encoding, errors) < 0) {
  ------------------
  |  Branch (3472:13): [True: 0, False: 0]
  ------------------
 3473|      0|            return NULL;
 3474|      0|        }
 3475|      0|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  379|      0|    do {                             \
  |  |  380|      0|        return _PyUnicode_GetEmpty();\
  |  |  381|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3476|      0|    }
 3477|       |
 3478|      0|    v = PyUnicode_Decode((char*) buffer.buf, buffer.len, encoding, errors);
 3479|      0|    PyBuffer_Release(&buffer);
 3480|      0|    return v;
 3481|      0|}
_Py_normalize_encoding:
 3491|     69|{
 3492|     69|    const char *e;
 3493|     69|    char *l;
 3494|     69|    char *l_end;
 3495|     69|    int punct;
 3496|       |
 3497|     69|    assert(encoding != NULL);
  ------------------
  |  Branch (3497:5): [True: 69, False: 0]
  ------------------
 3498|       |
 3499|     69|    e = encoding;
 3500|     69|    l = lower;
 3501|     69|    l_end = &lower[lower_len - 1];
 3502|     69|    punct = 0;
 3503|    416|    while (1) {
  ------------------
  |  Branch (3503:12): [True: 416, Folded]
  ------------------
 3504|    416|        char c = *e;
 3505|    416|        if (c == 0) {
  ------------------
  |  Branch (3505:13): [True: 69, False: 347]
  ------------------
 3506|     69|            break;
 3507|     69|        }
 3508|       |
 3509|    347|        if (Py_ISALNUM(c) || c == '.') {
  ------------------
  |  |   26|    694|#define Py_ISALNUM(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
  |  |  ------------------
  |  |  |  |  163|    347|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISALNUM(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
  |  |  ------------------
  |  |  |  |   12|    347|#define PY_CTF_ALNUM  (PY_CTF_ALPHA|PY_CTF_DIGIT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   10|    347|#define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |    8|    347|#define PY_CTF_LOWER  0x01
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |    9|    347|#define PY_CTF_UPPER  0x02
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define PY_CTF_ALNUM  (PY_CTF_ALPHA|PY_CTF_DIGIT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   11|    347|#define PY_CTF_DIGIT  0x04
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (26:24): [True: 314, False: 33]
  |  |  ------------------
  ------------------
  |  Branch (3509:30): [True: 0, False: 33]
  ------------------
 3510|    314|            if (punct && l != lower) {
  ------------------
  |  Branch (3510:17): [True: 33, False: 281]
  |  Branch (3510:26): [True: 33, False: 0]
  ------------------
 3511|     33|                if (l == l_end) {
  ------------------
  |  Branch (3511:21): [True: 0, False: 33]
  ------------------
 3512|      0|                    return 0;
 3513|      0|                }
 3514|     33|                *l++ = '_';
 3515|     33|            }
 3516|    314|            punct = 0;
 3517|       |
 3518|    314|            if (l == l_end) {
  ------------------
  |  Branch (3518:17): [True: 0, False: 314]
  ------------------
 3519|      0|                return 0;
 3520|      0|            }
 3521|    314|            *l++ = to_lower ? Py_TOLOWER(c) : c;
  ------------------
  |  |   32|    306|#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  163|    306|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
  |  Branch (3521:20): [True: 306, False: 8]
  ------------------
 3522|    314|        }
 3523|     33|        else {
 3524|     33|            punct = 1;
 3525|     33|        }
 3526|       |
 3527|    347|        e++;
 3528|    347|    }
 3529|     69|    *l = '\0';
 3530|     69|    return 1;
 3531|     69|}
PyUnicode_Decode:
 3538|     27|{
 3539|     27|    PyObject *buffer = NULL, *unicode;
 3540|     27|    Py_buffer info;
 3541|     27|    char buflower[11];   /* strlen("iso-8859-1\0") == 11, longest shortcut */
 3542|       |
 3543|     27|    if (unicode_check_encoding_errors(encoding, errors) < 0) {
  ------------------
  |  Branch (3543:9): [True: 0, False: 27]
  ------------------
 3544|      0|        return NULL;
 3545|      0|    }
 3546|       |
 3547|     27|    if (size == 0) {
  ------------------
  |  Branch (3547:9): [True: 0, False: 27]
  ------------------
 3548|      0|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  379|      0|    do {                             \
  |  |  380|      0|        return _PyUnicode_GetEmpty();\
  |  |  381|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3549|      0|    }
 3550|       |
 3551|     27|    if (encoding == NULL) {
  ------------------
  |  Branch (3551:9): [True: 0, False: 27]
  ------------------
 3552|      0|        return PyUnicode_DecodeUTF8Stateful(s, size, errors, NULL);
 3553|      0|    }
 3554|       |
 3555|       |    /* Shortcuts for common default encodings */
 3556|     27|    if (_Py_normalize_encoding(encoding, buflower, sizeof(buflower), 1)) {
  ------------------
  |  Branch (3556:9): [True: 27, False: 0]
  ------------------
 3557|     27|        char *lower = buflower;
 3558|       |
 3559|       |        /* Fast paths */
 3560|     27|        if (lower[0] == 'u' && lower[1] == 't' && lower[2] == 'f') {
  ------------------
  |  Branch (3560:13): [True: 25, False: 2]
  |  Branch (3560:32): [True: 25, False: 0]
  |  Branch (3560:51): [True: 25, False: 0]
  ------------------
 3561|     25|            lower += 3;
 3562|     25|            if (*lower == '_') {
  ------------------
  |  Branch (3562:17): [True: 25, False: 0]
  ------------------
 3563|       |                /* Match "utf8" and "utf_8" */
 3564|     25|                lower++;
 3565|     25|            }
 3566|       |
 3567|     25|            if (lower[0] == '8' && lower[1] == 0) {
  ------------------
  |  Branch (3567:17): [True: 25, False: 0]
  |  Branch (3567:36): [True: 25, False: 0]
  ------------------
 3568|     25|                return PyUnicode_DecodeUTF8Stateful(s, size, errors, NULL);
 3569|     25|            }
 3570|      0|            else if (lower[0] == '1' && lower[1] == '6' && lower[2] == 0) {
  ------------------
  |  Branch (3570:22): [True: 0, False: 0]
  |  Branch (3570:41): [True: 0, False: 0]
  |  Branch (3570:60): [True: 0, False: 0]
  ------------------
 3571|      0|                return PyUnicode_DecodeUTF16(s, size, errors, 0);
 3572|      0|            }
 3573|      0|            else if (lower[0] == '3' && lower[1] == '2' && lower[2] == 0) {
  ------------------
  |  Branch (3573:22): [True: 0, False: 0]
  |  Branch (3573:41): [True: 0, False: 0]
  |  Branch (3573:60): [True: 0, False: 0]
  ------------------
 3574|      0|                return PyUnicode_DecodeUTF32(s, size, errors, 0);
 3575|      0|            }
 3576|     25|        }
 3577|      2|        else {
 3578|      2|            if (strcmp(lower, "ascii") == 0
  ------------------
  |  Branch (3578:17): [True: 0, False: 2]
  ------------------
 3579|      2|                || strcmp(lower, "us_ascii") == 0) {
  ------------------
  |  Branch (3579:20): [True: 0, False: 2]
  ------------------
 3580|      0|                return PyUnicode_DecodeASCII(s, size, errors);
 3581|      0|            }
 3582|       |    #ifdef MS_WINDOWS
 3583|       |            else if (strcmp(lower, "mbcs") == 0) {
 3584|       |                return PyUnicode_DecodeMBCS(s, size, errors);
 3585|       |            }
 3586|       |    #endif
 3587|      2|            else if (strcmp(lower, "latin1") == 0
  ------------------
  |  Branch (3587:22): [True: 2, False: 0]
  ------------------
 3588|      0|                     || strcmp(lower, "latin_1") == 0
  ------------------
  |  Branch (3588:25): [True: 0, False: 0]
  ------------------
 3589|      0|                     || strcmp(lower, "iso_8859_1") == 0
  ------------------
  |  Branch (3589:25): [True: 0, False: 0]
  ------------------
 3590|      2|                     || strcmp(lower, "iso8859_1") == 0) {
  ------------------
  |  Branch (3590:25): [True: 0, False: 0]
  ------------------
 3591|      2|                return PyUnicode_DecodeLatin1(s, size, errors);
 3592|      2|            }
 3593|      2|        }
 3594|     27|    }
 3595|       |
 3596|       |    /* Decode via the codec registry */
 3597|      0|    buffer = NULL;
 3598|      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 (3598:9): [True: 0, False: 0]
  ------------------
 3599|      0|        goto onError;
 3600|      0|    buffer = PyMemoryView_FromBuffer(&info);
 3601|      0|    if (buffer == NULL)
  ------------------
  |  Branch (3601:9): [True: 0, False: 0]
  ------------------
 3602|      0|        goto onError;
 3603|      0|    unicode = _PyCodec_DecodeText(buffer, encoding, errors);
 3604|      0|    if (unicode == NULL)
  ------------------
  |  Branch (3604:9): [True: 0, False: 0]
  ------------------
 3605|      0|        goto onError;
 3606|      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 (3606:9): [True: 0, False: 0]
  ------------------
 3607|      0|        PyErr_Format(PyExc_TypeError,
 3608|      0|                     "'%.400s' decoder returned '%.400s' instead of 'str'; "
 3609|      0|                     "use codecs.decode() to decode to arbitrary types",
 3610|      0|                     encoding,
 3611|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3612|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3613|      0|        goto onError;
 3614|      0|    }
 3615|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3616|      0|    return unicode_result(unicode);
  ------------------
  |  |  752|      0|#define unicode_result _PyUnicode_Result
  ------------------
 3617|       |
 3618|      0|  onError:
 3619|      0|    Py_XDECREF(buffer);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3620|       |    return NULL;
 3621|      0|}
PyUnicode_EncodeFSDefault:
 3759|    211|{
 3760|    211|    PyInterpreterState *interp = _PyInterpreterState_GET();
 3761|    211|    struct _Py_unicode_fs_codec *fs_codec = &interp->unicode.fs_codec;
 3762|    211|    if (fs_codec->utf8) {
  ------------------
  |  Branch (3762:9): [True: 129, False: 82]
  ------------------
 3763|    129|        return unicode_encode_utf8(unicode,
 3764|    129|                                   fs_codec->error_handler,
 3765|    129|                                   fs_codec->errors);
 3766|    129|    }
 3767|     82|#ifndef _Py_FORCE_UTF8_FS_ENCODING
 3768|     82|    else if (fs_codec->encoding) {
  ------------------
  |  Branch (3768:14): [True: 0, False: 82]
  ------------------
 3769|      0|        return PyUnicode_AsEncodedString(unicode,
 3770|      0|                                         fs_codec->encoding,
 3771|      0|                                         fs_codec->errors);
 3772|      0|    }
 3773|     82|#endif
 3774|     82|    else {
 3775|       |        /* Before _PyUnicode_InitEncodings() is called, the Python codec
 3776|       |           machinery is not ready and so cannot be used:
 3777|       |           use wcstombs() in this case. */
 3778|     82|        const PyConfig *config = _PyInterpreterState_GetConfig(interp);
 3779|     82|        const wchar_t *filesystem_errors = config->filesystem_errors;
 3780|     82|        assert(filesystem_errors != NULL);
  ------------------
  |  Branch (3780:9): [True: 82, False: 0]
  ------------------
 3781|     82|        _Py_error_handler errors = get_error_handler_wide(filesystem_errors);
 3782|     82|        assert(errors != _Py_ERROR_UNKNOWN);
  ------------------
  |  Branch (3782:9): [True: 82, False: 0]
  ------------------
 3783|       |#ifdef _Py_FORCE_UTF8_FS_ENCODING
 3784|       |        return unicode_encode_utf8(unicode, errors, NULL);
 3785|       |#else
 3786|     82|        return unicode_encode_locale(unicode, errors, 0);
 3787|     82|#endif
 3788|     82|    }
 3789|    211|}
PyUnicode_AsEncodedString:
 3795|     40|{
 3796|     40|    PyObject *v;
 3797|     40|    char buflower[11];   /* strlen("iso_8859_1\0") == 11, longest shortcut */
 3798|       |
 3799|     40|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|     40|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     40|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3799:9): [True: 0, False: 40]
  ------------------
 3800|      0|        PyErr_BadArgument();
 3801|      0|        return NULL;
 3802|      0|    }
 3803|       |
 3804|     40|    if (unicode_check_encoding_errors(encoding, errors) < 0) {
  ------------------
  |  Branch (3804:9): [True: 0, False: 40]
  ------------------
 3805|      0|        return NULL;
 3806|      0|    }
 3807|       |
 3808|     40|    if (encoding == NULL) {
  ------------------
  |  Branch (3808:9): [True: 0, False: 40]
  ------------------
 3809|      0|        return _PyUnicode_AsUTF8String(unicode, errors);
 3810|      0|    }
 3811|       |
 3812|       |    /* Shortcuts for common default encodings */
 3813|     40|    if (_Py_normalize_encoding(encoding, buflower, sizeof(buflower), 1)) {
  ------------------
  |  Branch (3813:9): [True: 40, False: 0]
  ------------------
 3814|     40|        char *lower = buflower;
 3815|       |
 3816|       |        /* Fast paths */
 3817|     40|        if (lower[0] == 'u' && lower[1] == 't' && lower[2] == 'f') {
  ------------------
  |  Branch (3817:13): [True: 6, False: 34]
  |  Branch (3817:32): [True: 6, False: 0]
  |  Branch (3817:51): [True: 6, False: 0]
  ------------------
 3818|      6|            lower += 3;
 3819|      6|            if (*lower == '_') {
  ------------------
  |  Branch (3819:17): [True: 6, False: 0]
  ------------------
 3820|       |                /* Match "utf8" and "utf_8" */
 3821|      6|                lower++;
 3822|      6|            }
 3823|       |
 3824|      6|            if (lower[0] == '8' && lower[1] == 0) {
  ------------------
  |  Branch (3824:17): [True: 6, False: 0]
  |  Branch (3824:36): [True: 6, False: 0]
  ------------------
 3825|      6|                return _PyUnicode_AsUTF8String(unicode, errors);
 3826|      6|            }
 3827|      0|            else if (lower[0] == '1' && lower[1] == '6' && lower[2] == 0) {
  ------------------
  |  Branch (3827:22): [True: 0, False: 0]
  |  Branch (3827:41): [True: 0, False: 0]
  |  Branch (3827:60): [True: 0, False: 0]
  ------------------
 3828|      0|                return _PyUnicode_EncodeUTF16(unicode, errors, 0);
 3829|      0|            }
 3830|      0|            else if (lower[0] == '3' && lower[1] == '2' && lower[2] == 0) {
  ------------------
  |  Branch (3830:22): [True: 0, False: 0]
  |  Branch (3830:41): [True: 0, False: 0]
  |  Branch (3830:60): [True: 0, False: 0]
  ------------------
 3831|      0|                return _PyUnicode_EncodeUTF32(unicode, errors, 0);
 3832|      0|            }
 3833|      6|        }
 3834|     34|        else {
 3835|     34|            if (strcmp(lower, "ascii") == 0
  ------------------
  |  Branch (3835:17): [True: 34, False: 0]
  ------------------
 3836|     34|                || strcmp(lower, "us_ascii") == 0) {
  ------------------
  |  Branch (3836:20): [True: 0, False: 0]
  ------------------
 3837|     34|                return _PyUnicode_AsASCIIString(unicode, errors);
 3838|     34|            }
 3839|       |#ifdef MS_WINDOWS
 3840|       |            else if (strcmp(lower, "mbcs") == 0) {
 3841|       |                return PyUnicode_EncodeCodePage(CP_ACP, unicode, errors);
 3842|       |            }
 3843|       |#endif
 3844|      0|            else if (strcmp(lower, "latin1") == 0 ||
  ------------------
  |  Branch (3844:22): [True: 0, False: 0]
  ------------------
 3845|      0|                     strcmp(lower, "latin_1") == 0 ||
  ------------------
  |  Branch (3845:22): [True: 0, False: 0]
  ------------------
 3846|      0|                     strcmp(lower, "iso_8859_1") == 0 ||
  ------------------
  |  Branch (3846:22): [True: 0, False: 0]
  ------------------
 3847|      0|                     strcmp(lower, "iso8859_1") == 0) {
  ------------------
  |  Branch (3847:22): [True: 0, False: 0]
  ------------------
 3848|      0|                return _PyUnicode_AsLatin1String(unicode, errors);
 3849|      0|            }
 3850|     34|        }
 3851|     40|    }
 3852|       |
 3853|       |    /* Encode via the codec registry */
 3854|      0|    v = _PyCodec_EncodeText(unicode, encoding, errors);
 3855|      0|    if (v == NULL)
  ------------------
  |  Branch (3855:9): [True: 0, False: 0]
  ------------------
 3856|      0|        return NULL;
 3857|       |
 3858|       |    /* The normal path */
 3859|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3860|      0|        return v;
 3861|       |
 3862|       |    /* If the codec returns a buffer, raise a warning and convert to bytes */
 3863|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3864|      0|        int error;
 3865|      0|        PyObject *b;
 3866|       |
 3867|      0|        error = PyErr_WarnFormat(PyExc_RuntimeWarning, 1,
 3868|      0|            "encoder %s returned bytearray instead of bytes; "
 3869|      0|            "use codecs.encode() to encode to arbitrary types",
 3870|      0|            encoding);
 3871|      0|        if (error) {
  ------------------
  |  Branch (3871:13): [True: 0, False: 0]
  ------------------
 3872|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3873|      0|            return NULL;
 3874|      0|        }
 3875|       |
 3876|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3877|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3878|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3879|      0|        return b;
 3880|      0|    }
 3881|       |
 3882|      0|    PyErr_Format(PyExc_TypeError,
 3883|      0|                 "'%.400s' encoder returned '%.400s' instead of 'bytes'; "
 3884|      0|                 "use codecs.encode() to encode to arbitrary types",
 3885|      0|                 encoding,
 3886|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3887|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3888|       |    return NULL;
 3889|      0|}
PyUnicode_DecodeLocale:
 3976|     44|{
 3977|     44|    Py_ssize_t size = (Py_ssize_t)strlen(str);
 3978|     44|    _Py_error_handler error_handler = _Py_GetErrorHandler(errors);
 3979|     44|    return unicode_decode_locale(str, size, error_handler, 1);
 3980|     44|}
PyUnicode_DecodeFSDefaultAndSize:
 3991|    816|{
 3992|    816|    PyInterpreterState *interp = _PyInterpreterState_GET();
 3993|    816|    struct _Py_unicode_fs_codec *fs_codec = &interp->unicode.fs_codec;
 3994|    816|    if (fs_codec->utf8) {
  ------------------
  |  Branch (3994:9): [True: 168, False: 648]
  ------------------
 3995|    168|        return unicode_decode_utf8(s, size,
 3996|    168|                                   fs_codec->error_handler,
 3997|    168|                                   fs_codec->errors,
 3998|    168|                                   NULL);
 3999|    168|    }
 4000|    648|#ifndef _Py_FORCE_UTF8_FS_ENCODING
 4001|    648|    else if (fs_codec->encoding) {
  ------------------
  |  Branch (4001:14): [True: 0, False: 648]
  ------------------
 4002|      0|        return PyUnicode_Decode(s, size,
 4003|      0|                                fs_codec->encoding,
 4004|      0|                                fs_codec->errors);
 4005|      0|    }
 4006|    648|#endif
 4007|    648|    else {
 4008|       |        /* Before _PyUnicode_InitEncodings() is called, the Python codec
 4009|       |           machinery is not ready and so cannot be used:
 4010|       |           use mbstowcs() in this case. */
 4011|    648|        const PyConfig *config = _PyInterpreterState_GetConfig(interp);
 4012|    648|        const wchar_t *filesystem_errors = config->filesystem_errors;
 4013|    648|        assert(filesystem_errors != NULL);
  ------------------
  |  Branch (4013:9): [True: 648, False: 0]
  ------------------
 4014|    648|        _Py_error_handler errors = get_error_handler_wide(filesystem_errors);
 4015|    648|        assert(errors != _Py_ERROR_UNKNOWN);
  ------------------
  |  Branch (4015:9): [True: 648, False: 0]
  ------------------
 4016|       |#ifdef _Py_FORCE_UTF8_FS_ENCODING
 4017|       |        return unicode_decode_utf8(s, size, errors, NULL, NULL);
 4018|       |#else
 4019|    648|        return unicode_decode_locale(s, size, errors, 0);
 4020|    648|#endif
 4021|    648|    }
 4022|    816|}
PyUnicode_FSConverter:
 4027|     37|{
 4028|     37|    PyObject *path = NULL;
 4029|     37|    PyObject *output = NULL;
 4030|     37|    Py_ssize_t size;
 4031|     37|    const char *data;
 4032|     37|    if (arg == NULL) {
  ------------------
  |  Branch (4032:9): [True: 0, False: 37]
  ------------------
 4033|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4034|      0|        *(PyObject**)addr = NULL;
 4035|      0|        return 1;
 4036|      0|    }
 4037|     37|    path = PyOS_FSPath(arg);
 4038|     37|    if (path == NULL) {
  ------------------
  |  Branch (4038:9): [True: 0, False: 37]
  ------------------
 4039|      0|        return 0;
 4040|      0|    }
 4041|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4042|      0|        output = path;
 4043|      0|    }
 4044|     37|    else {  // PyOS_FSPath() guarantees its returned value is bytes or str.
 4045|     37|        output = PyUnicode_EncodeFSDefault(path);
 4046|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4047|     37|        if (!output) {
  ------------------
  |  Branch (4047:13): [True: 0, False: 37]
  ------------------
 4048|      0|            return 0;
 4049|      0|        }
 4050|     37|        assert(PyBytes_Check(output));
  ------------------
  |  Branch (4050:9): [True: 37, False: 0]
  ------------------
 4051|     37|    }
 4052|       |
 4053|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4054|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4055|     37|    if ((size_t)size != strlen(data)) {
  ------------------
  |  Branch (4055:9): [True: 0, False: 37]
  ------------------
 4056|      0|        PyErr_SetString(PyExc_ValueError, "embedded null byte");
 4057|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4058|      0|        return 0;
 4059|      0|    }
 4060|     37|    *(PyObject**)addr = output;
 4061|     37|    return Py_CLEANUP_SUPPORTED;
  ------------------
  |  |   57|     37|#define Py_CLEANUP_SUPPORTED 0x20000
  ------------------
 4062|     37|}
PyUnicode_FSDecoder:
 4067|     37|{
 4068|     37|    if (arg == NULL) {
  ------------------
  |  Branch (4068:9): [True: 0, False: 37]
  ------------------
 4069|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4070|      0|        *(PyObject**)addr = NULL;
 4071|      0|        return 1;
 4072|      0|    }
 4073|       |
 4074|     37|    PyObject *path = PyOS_FSPath(arg);
 4075|     37|    if (path == NULL) {
  ------------------
  |  Branch (4075:9): [True: 0, False: 37]
  ------------------
 4076|      0|        return 0;
 4077|      0|    }
 4078|       |
 4079|     37|    PyObject *output = NULL;
 4080|     37|    if (PyUnicode_Check(path)) {
  ------------------
  |  |  103|     37|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     37|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 37, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4081|     37|        output = path;
 4082|     37|    }
 4083|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4084|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4085|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4086|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4087|      0|        if (!output) {
  ------------------
  |  Branch (4087:13): [True: 0, False: 0]
  ------------------
 4088|      0|            return 0;
 4089|      0|        }
 4090|      0|    }
 4091|      0|    else {
 4092|      0|        PyErr_Format(PyExc_TypeError,
 4093|      0|                     "path should be string, bytes, or os.PathLike, not %.200s",
 4094|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4095|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4096|      0|        return 0;
 4097|      0|    }
 4098|       |
 4099|     37|    if (findchar(PyUnicode_DATA(output), PyUnicode_KIND(output),
  ------------------
  |  |  284|     37|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     37|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     37|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (findchar(PyUnicode_DATA(output), PyUnicode_KIND(output),
  ------------------
  |  |  258|     37|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|     74|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 37, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4099:9): [True: 0, False: 37]
  ------------------
 4100|     37|                 PyUnicode_GET_LENGTH(output), 0, 1) >= 0) {
  ------------------
  |  |  299|     37|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     37|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     37|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4101|      0|        PyErr_SetString(PyExc_ValueError, "embedded null character");
 4102|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4103|      0|        return 0;
 4104|      0|    }
 4105|     37|    *(PyObject**)addr = output;
 4106|     37|    return Py_CLEANUP_SUPPORTED;
  ------------------
  |  |   57|     37|#define Py_CLEANUP_SUPPORTED 0x20000
  ------------------
 4107|     37|}
PyUnicode_AsUTF8AndSize:
 4129|  1.19k|{
 4130|  1.19k|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|  1.19k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.19k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4130:9): [True: 0, False: 1.19k]
  ------------------
 4131|      0|        PyErr_BadArgument();
 4132|      0|        if (psize) {
  ------------------
  |  Branch (4132:13): [True: 0, False: 0]
  ------------------
 4133|      0|            *psize = -1;
 4134|      0|        }
 4135|      0|        return NULL;
 4136|      0|    }
 4137|       |
 4138|  1.19k|    if (unicode_ensure_utf8(unicode) == -1) {
  ------------------
  |  Branch (4138:9): [True: 0, False: 1.19k]
  ------------------
 4139|      0|        if (psize) {
  ------------------
  |  Branch (4139:13): [True: 0, False: 0]
  ------------------
 4140|      0|            *psize = -1;
 4141|      0|        }
 4142|      0|        return NULL;
 4143|      0|    }
 4144|       |
 4145|  1.19k|    if (psize) {
  ------------------
  |  Branch (4145:9): [True: 829, False: 363]
  ------------------
 4146|    829|        *psize = PyUnicode_UTF8_LENGTH(unicode);
 4147|    829|    }
 4148|  1.19k|    return PyUnicode_UTF8(unicode);
 4149|  1.19k|}
PyUnicode_AsUTF8:
 4153|    363|{
 4154|       |    return PyUnicode_AsUTF8AndSize(unicode, NULL);
 4155|    363|}
_PyUnicode_AsUTF8NoNUL:
 4159|    184|{
 4160|    184|    Py_ssize_t size;
 4161|    184|    const char *s = PyUnicode_AsUTF8AndSize(unicode, &size);
 4162|    184|    if (s && strlen(s) != (size_t)size) {
  ------------------
  |  Branch (4162:9): [True: 184, False: 0]
  |  Branch (4162:14): [True: 0, False: 184]
  ------------------
 4163|      0|        PyErr_SetString(PyExc_ValueError, "embedded null character");
 4164|      0|        return NULL;
 4165|      0|    }
 4166|    184|    return s;
 4167|    184|}
PyUnicode_GetLength:
 4187|     66|{
 4188|     66|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|     66|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     66|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4188:9): [True: 0, False: 66]
  ------------------
 4189|      0|        PyErr_BadArgument();
 4190|      0|        return -1;
 4191|      0|    }
 4192|     66|    return PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  299|     66|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     66|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     66|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4193|     66|}
PyUnicode_DecodeUTF8:
 4888|   277k|{
 4889|       |    return PyUnicode_DecodeUTF8Stateful(s, size, errors, NULL);
 4890|   277k|}
_PyUnicode_DecodeUTF8Writer:
 5373|    110|{
 5374|    110|    if (size == 0) {
  ------------------
  |  Branch (5374:9): [True: 0, False: 110]
  ------------------
 5375|      0|        if (consumed) {
  ------------------
  |  Branch (5375:13): [True: 0, False: 0]
  ------------------
 5376|      0|            *consumed = 0;
 5377|      0|        }
 5378|      0|        return 0;
 5379|      0|    }
 5380|       |
 5381|       |    // fast path: try ASCII string.
 5382|    110|    if (_PyUnicodeWriter_Prepare(writer, size, 127) < 0) {
  ------------------
  |  |  562|    110|    (((MAXCHAR) <= (WRITER)->maxchar                                  \
  |  |  ------------------
  |  |  |  Branch (562:7): [True: 64, False: 46]
  |  |  ------------------
  |  |  563|    110|      && (LENGTH) <= (WRITER)->size - (WRITER)->pos)                  \
  |  |  ------------------
  |  |  |  Branch (563:10): [True: 64, False: 0]
  |  |  ------------------
  |  |  564|    110|     ? 0                                                              \
  |  |  565|    110|     : (((LENGTH) == 0)                                               \
  |  |  ------------------
  |  |  |  Branch (565:9): [True: 0, False: 46]
  |  |  ------------------
  |  |  566|     46|        ? 0                                                           \
  |  |  567|     46|        : _PyUnicodeWriter_PrepareInternal((WRITER), (LENGTH), (MAXCHAR))))
  ------------------
  |  Branch (5382:9): [True: 0, False: 110]
  ------------------
 5383|      0|        return -1;
 5384|      0|    }
 5385|    110|    assert(_PyUnicodeWriter_CanWrite(writer));
  ------------------
  |  Branch (5385:5): [True: 110, False: 0]
  ------------------
 5386|       |
 5387|    110|    const char *starts = s;
 5388|    110|    const char *end = s + size;
 5389|    110|    Py_ssize_t decoded = 0;
 5390|    110|    Py_UCS1 *dest = (Py_UCS1*)writer->data + writer->pos * writer->kind;
 5391|    110|    if (writer->kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (5391:9): [True: 110, False: 0]
  ------------------
 5392|    110|        decoded = ascii_decode(s, end, dest);
 5393|    110|        writer->pos += decoded;
 5394|       |
 5395|    110|        if (decoded == size) {
  ------------------
  |  Branch (5395:13): [True: 110, False: 0]
  ------------------
 5396|    110|            if (consumed) {
  ------------------
  |  Branch (5396:17): [True: 0, False: 110]
  ------------------
 5397|      0|                *consumed = size;
 5398|      0|            }
 5399|    110|            return 0;
 5400|    110|        }
 5401|      0|        s += decoded;
 5402|      0|    }
 5403|       |
 5404|      0|    return unicode_decode_utf8_impl(writer, starts, s, end,
 5405|      0|                                    error_handler, errors, consumed);
 5406|    110|}
PyUnicode_DecodeUTF8Stateful:
 5414|   290k|{
 5415|   290k|    return unicode_decode_utf8(s, size,
 5416|   290k|                               errors ? _Py_ERROR_UNKNOWN : _Py_ERROR_STRICT,
  ------------------
  |  Branch (5416:32): [True: 86, False: 290k]
  ------------------
 5417|   290k|                               errors, consumed);
 5418|   290k|}
_Py_DecodeUTF8Ex:
 5436|    660|{
 5437|    660|    const char *orig_s = s;
 5438|    660|    const char *e;
 5439|    660|    wchar_t *unicode;
 5440|    660|    Py_ssize_t outpos;
 5441|       |
 5442|    660|    int surrogateescape = 0;
 5443|    660|    int surrogatepass = 0;
 5444|    660|    switch (errors)
 5445|    660|    {
 5446|      0|    case _Py_ERROR_STRICT:
  ------------------
  |  Branch (5446:5): [True: 0, False: 660]
  ------------------
 5447|      0|        break;
 5448|    660|    case _Py_ERROR_SURROGATEESCAPE:
  ------------------
  |  Branch (5448:5): [True: 660, False: 0]
  ------------------
 5449|    660|        surrogateescape = 1;
 5450|    660|        break;
 5451|      0|    case _Py_ERROR_SURROGATEPASS:
  ------------------
  |  Branch (5451:5): [True: 0, False: 660]
  ------------------
 5452|      0|        surrogatepass = 1;
 5453|      0|        break;
 5454|      0|    default:
  ------------------
  |  Branch (5454:5): [True: 0, False: 660]
  ------------------
 5455|      0|        return -3;
 5456|    660|    }
 5457|       |
 5458|       |    /* Note: size will always be longer than the resulting Unicode
 5459|       |       character count */
 5460|    660|    if (PY_SSIZE_T_MAX / (Py_ssize_t)sizeof(wchar_t) - 1 < size) {
  ------------------
  |  |  137|    660|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (5460:9): [True: 0, False: 660]
  ------------------
 5461|      0|        return -1;
 5462|      0|    }
 5463|       |
 5464|    660|    unicode = PyMem_RawMalloc((size + 1) * sizeof(wchar_t));
 5465|    660|    if (!unicode) {
  ------------------
  |  Branch (5465:9): [True: 0, False: 660]
  ------------------
 5466|      0|        return -1;
 5467|      0|    }
 5468|       |
 5469|       |    /* Unpack UTF-8 encoded data */
 5470|    660|    e = s + size;
 5471|    660|    outpos = 0;
 5472|    660|    while (s < e) {
  ------------------
  |  Branch (5472:12): [True: 660, False: 0]
  ------------------
 5473|    660|        Py_UCS4 ch;
 5474|    660|#if SIZEOF_WCHAR_T == 4
 5475|    660|        ch = ucs4lib_utf8_decode(&s, e, (Py_UCS4 *)unicode, &outpos);
 5476|       |#else
 5477|       |        ch = ucs2lib_utf8_decode(&s, e, (Py_UCS2 *)unicode, &outpos);
 5478|       |#endif
 5479|    660|        if (ch > 0xFF) {
  ------------------
  |  Branch (5479:13): [True: 0, False: 660]
  ------------------
 5480|      0|#if SIZEOF_WCHAR_T == 4
 5481|      0|            Py_UNREACHABLE();
  ------------------
  |  |  289|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 5482|       |#else
 5483|       |            assert(ch > 0xFFFF && ch <= MAX_UNICODE);
 5484|       |            /* write a surrogate pair */
 5485|       |            unicode[outpos++] = (wchar_t)Py_UNICODE_HIGH_SURROGATE(ch);
 5486|       |            unicode[outpos++] = (wchar_t)Py_UNICODE_LOW_SURROGATE(ch);
 5487|       |#endif
 5488|      0|        }
 5489|    660|        else {
 5490|    660|            if (!ch && s == e) {
  ------------------
  |  Branch (5490:17): [True: 660, False: 0]
  |  Branch (5490:24): [True: 660, False: 0]
  ------------------
 5491|    660|                break;
 5492|    660|            }
 5493|       |
 5494|      0|            if (surrogateescape) {
  ------------------
  |  Branch (5494:17): [True: 0, False: 0]
  ------------------
 5495|      0|                unicode[outpos++] = 0xDC00 + (unsigned char)*s++;
 5496|      0|            }
 5497|      0|            else {
 5498|       |                /* Is it a valid three-byte code? */
 5499|      0|                if (surrogatepass
  ------------------
  |  Branch (5499:21): [True: 0, False: 0]
  ------------------
 5500|      0|                    && (e - s) >= 3
  ------------------
  |  Branch (5500:24): [True: 0, False: 0]
  ------------------
 5501|      0|                    && (s[0] & 0xf0) == 0xe0
  ------------------
  |  Branch (5501:24): [True: 0, False: 0]
  ------------------
 5502|      0|                    && (s[1] & 0xc0) == 0x80
  ------------------
  |  Branch (5502:24): [True: 0, False: 0]
  ------------------
 5503|      0|                    && (s[2] & 0xc0) == 0x80)
  ------------------
  |  Branch (5503:24): [True: 0, False: 0]
  ------------------
 5504|      0|                {
 5505|      0|                    ch = ((s[0] & 0x0f) << 12) + ((s[1] & 0x3f) << 6) + (s[2] & 0x3f);
 5506|      0|                    s += 3;
 5507|      0|                    unicode[outpos++] = ch;
 5508|      0|                }
 5509|      0|                else {
 5510|      0|                    PyMem_RawFree(unicode );
 5511|      0|                    if (reason != NULL) {
  ------------------
  |  Branch (5511:25): [True: 0, False: 0]
  ------------------
 5512|      0|                        switch (ch) {
 5513|      0|                        case 0:
  ------------------
  |  Branch (5513:25): [True: 0, False: 0]
  ------------------
 5514|      0|                            *reason = "unexpected end of data";
 5515|      0|                            break;
 5516|      0|                        case 1:
  ------------------
  |  Branch (5516:25): [True: 0, False: 0]
  ------------------
 5517|      0|                            *reason = "invalid start byte";
 5518|      0|                            break;
 5519|       |                        /* 2, 3, 4 */
 5520|      0|                        default:
  ------------------
  |  Branch (5520:25): [True: 0, False: 0]
  ------------------
 5521|      0|                            *reason = "invalid continuation byte";
 5522|      0|                            break;
 5523|      0|                        }
 5524|      0|                    }
 5525|      0|                    if (wlen != NULL) {
  ------------------
  |  Branch (5525:25): [True: 0, False: 0]
  ------------------
 5526|      0|                        *wlen = s - orig_s;
 5527|      0|                    }
 5528|      0|                    return -2;
 5529|      0|                }
 5530|      0|            }
 5531|      0|        }
 5532|    660|    }
 5533|    660|    unicode[outpos] = L'\0';
 5534|    660|    if (wlen) {
  ------------------
  |  Branch (5534:9): [True: 660, False: 0]
  ------------------
 5535|    660|        *wlen = outpos;
 5536|    660|    }
 5537|    660|    *wstr = unicode;
 5538|    660|    return 0;
 5539|    660|}
_Py_EncodeUTF8Ex:
 5575|    100|{
 5576|    100|    const Py_ssize_t max_char_size = 4;
 5577|    100|    Py_ssize_t len = wcslen(text);
 5578|       |
 5579|    100|    assert(len >= 0);
  ------------------
  |  Branch (5579:5): [True: 100, False: 0]
  ------------------
 5580|       |
 5581|    100|    int surrogateescape = 0;
 5582|    100|    int surrogatepass = 0;
 5583|    100|    switch (errors)
 5584|    100|    {
 5585|      8|    case _Py_ERROR_STRICT:
  ------------------
  |  Branch (5585:5): [True: 8, False: 92]
  ------------------
 5586|      8|        break;
 5587|     92|    case _Py_ERROR_SURROGATEESCAPE:
  ------------------
  |  Branch (5587:5): [True: 92, False: 8]
  ------------------
 5588|     92|        surrogateescape = 1;
 5589|     92|        break;
 5590|      0|    case _Py_ERROR_SURROGATEPASS:
  ------------------
  |  Branch (5590:5): [True: 0, False: 100]
  ------------------
 5591|      0|        surrogatepass = 1;
 5592|      0|        break;
 5593|      0|    default:
  ------------------
  |  Branch (5593:5): [True: 0, False: 100]
  ------------------
 5594|      0|        return -3;
 5595|    100|    }
 5596|       |
 5597|    100|    if (len > PY_SSIZE_T_MAX / max_char_size - 1) {
  ------------------
  |  |  137|    100|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (5597:9): [True: 0, False: 100]
  ------------------
 5598|      0|        return -1;
 5599|      0|    }
 5600|    100|    char *bytes;
 5601|    100|    if (raw_malloc) {
  ------------------
  |  Branch (5601:9): [True: 100, False: 0]
  ------------------
 5602|    100|        bytes = PyMem_RawMalloc((len + 1) * max_char_size);
 5603|    100|    }
 5604|      0|    else {
 5605|      0|        bytes = PyMem_Malloc((len + 1) * max_char_size);
 5606|      0|    }
 5607|    100|    if (bytes == NULL) {
  ------------------
  |  Branch (5607:9): [True: 0, False: 100]
  ------------------
 5608|      0|        return -1;
 5609|      0|    }
 5610|       |
 5611|    100|    char *p = bytes;
 5612|    100|    Py_ssize_t i;
 5613|  6.48k|    for (i = 0; i < len; ) {
  ------------------
  |  Branch (5613:17): [True: 6.38k, False: 100]
  ------------------
 5614|  6.38k|        Py_ssize_t ch_pos = i;
 5615|  6.38k|        Py_UCS4 ch = text[i];
 5616|  6.38k|        i++;
 5617|  6.38k|        if (sizeof(wchar_t) == 2
  ------------------
  |  Branch (5617:13): [Folded, False: 6.38k]
  ------------------
 5618|      0|            && Py_UNICODE_IS_HIGH_SURROGATE(ch)
  ------------------
  |  Branch (5618:16): [True: 0, False: 0]
  ------------------
 5619|      0|            && i < len
  ------------------
  |  Branch (5619:16): [True: 0, False: 0]
  ------------------
 5620|      0|            && Py_UNICODE_IS_LOW_SURROGATE(text[i]))
  ------------------
  |  Branch (5620:16): [True: 0, False: 0]
  ------------------
 5621|      0|        {
 5622|      0|            ch = Py_UNICODE_JOIN_SURROGATES(ch, text[i]);
 5623|      0|            i++;
 5624|      0|        }
 5625|       |
 5626|  6.38k|        if (ch < 0x80) {
  ------------------
  |  Branch (5626:13): [True: 6.38k, False: 0]
  ------------------
 5627|       |            /* Encode ASCII */
 5628|  6.38k|            *p++ = (char) ch;
 5629|       |
 5630|  6.38k|        }
 5631|      0|        else if (ch < 0x0800) {
  ------------------
  |  Branch (5631:18): [True: 0, False: 0]
  ------------------
 5632|       |            /* Encode Latin-1 */
 5633|      0|            *p++ = (char)(0xc0 | (ch >> 6));
 5634|      0|            *p++ = (char)(0x80 | (ch & 0x3f));
 5635|      0|        }
 5636|      0|        else if (Py_UNICODE_IS_SURROGATE(ch) && !surrogatepass) {
  ------------------
  |  Branch (5636:18): [True: 0, False: 0]
  |  Branch (5636:49): [True: 0, False: 0]
  ------------------
 5637|       |            /* surrogateescape error handler */
 5638|      0|            if (!surrogateescape || !(0xDC80 <= ch && ch <= 0xDCFF)) {
  ------------------
  |  Branch (5638:17): [True: 0, False: 0]
  |  Branch (5638:39): [True: 0, False: 0]
  |  Branch (5638:55): [True: 0, False: 0]
  ------------------
 5639|      0|                if (error_pos != NULL) {
  ------------------
  |  Branch (5639:21): [True: 0, False: 0]
  ------------------
 5640|      0|                    *error_pos = (size_t)ch_pos;
 5641|      0|                }
 5642|      0|                if (reason != NULL) {
  ------------------
  |  Branch (5642:21): [True: 0, False: 0]
  ------------------
 5643|      0|                    *reason = "encoding error";
 5644|      0|                }
 5645|      0|                if (raw_malloc) {
  ------------------
  |  Branch (5645:21): [True: 0, False: 0]
  ------------------
 5646|      0|                    PyMem_RawFree(bytes);
 5647|      0|                }
 5648|      0|                else {
 5649|      0|                    PyMem_Free(bytes);
 5650|      0|                }
 5651|      0|                return -2;
 5652|      0|            }
 5653|      0|            *p++ = (char)(ch & 0xff);
 5654|      0|        }
 5655|      0|        else if (ch < 0x10000) {
  ------------------
  |  Branch (5655:18): [True: 0, False: 0]
  ------------------
 5656|      0|            *p++ = (char)(0xe0 | (ch >> 12));
 5657|      0|            *p++ = (char)(0x80 | ((ch >> 6) & 0x3f));
 5658|      0|            *p++ = (char)(0x80 | (ch & 0x3f));
 5659|      0|        }
 5660|      0|        else {  /* ch >= 0x10000 */
 5661|      0|            assert(ch <= MAX_UNICODE);
  ------------------
  |  Branch (5661:13): [True: 0, False: 0]
  ------------------
 5662|       |            /* Encode UCS4 Unicode ordinals */
 5663|      0|            *p++ = (char)(0xf0 | (ch >> 18));
 5664|      0|            *p++ = (char)(0x80 | ((ch >> 12) & 0x3f));
 5665|      0|            *p++ = (char)(0x80 | ((ch >> 6) & 0x3f));
 5666|      0|            *p++ = (char)(0x80 | (ch & 0x3f));
 5667|      0|        }
 5668|  6.38k|    }
 5669|    100|    *p++ = '\0';
 5670|       |
 5671|    100|    size_t final_size = (p - bytes);
 5672|    100|    char *bytes2;
 5673|    100|    if (raw_malloc) {
  ------------------
  |  Branch (5673:9): [True: 100, False: 0]
  ------------------
 5674|    100|        bytes2 = PyMem_RawRealloc(bytes, final_size);
 5675|    100|    }
 5676|      0|    else {
 5677|      0|        bytes2 = PyMem_Realloc(bytes, final_size);
 5678|      0|    }
 5679|    100|    if (bytes2 == NULL) {
  ------------------
  |  Branch (5679:9): [True: 0, False: 100]
  ------------------
 5680|      0|        if (error_pos != NULL) {
  ------------------
  |  Branch (5680:13): [True: 0, False: 0]
  ------------------
 5681|      0|            *error_pos = (size_t)-1;
 5682|      0|        }
 5683|      0|        if (raw_malloc) {
  ------------------
  |  Branch (5683:13): [True: 0, False: 0]
  ------------------
 5684|      0|            PyMem_RawFree(bytes);
 5685|      0|        }
 5686|      0|        else {
 5687|      0|            PyMem_Free(bytes);
 5688|      0|        }
 5689|      0|        return -1;
 5690|      0|    }
 5691|    100|    *str = bytes2;
 5692|    100|    return 0;
 5693|    100|}
_PyUnicode_AsUTF8String:
 5802|      8|{
 5803|      8|    return unicode_encode_utf8(unicode, _Py_ERROR_UNKNOWN, errors);
 5804|      8|}
PyUnicode_AsUTF8String:
 5809|      2|{
 5810|       |    return _PyUnicode_AsUTF8String(unicode, NULL);
 5811|      2|}
_PyUnicode_GetNameCAPI:
 6469|      5|{
 6470|      5|    PyInterpreterState *interp = _PyInterpreterState_GET();
 6471|      5|    _PyUnicode_Name_CAPI *ucnhash_capi;
 6472|       |
 6473|      5|    ucnhash_capi = _Py_atomic_load_ptr(&interp->unicode.ucnhash_capi);
 6474|      5|    if (ucnhash_capi == NULL) {
  ------------------
  |  Branch (6474:9): [True: 1, False: 4]
  ------------------
 6475|      1|        ucnhash_capi = (_PyUnicode_Name_CAPI *)PyCapsule_Import(
 6476|      1|                PyUnicodeData_CAPSULE_NAME, 1);
  ------------------
  |  |   14|      1|#define PyUnicodeData_CAPSULE_NAME "unicodedata._ucnhash_CAPI"
  ------------------
 6477|       |
 6478|       |        // It's fine if we overwrite the value here. It's always the same value.
 6479|      1|        _Py_atomic_store_ptr(&interp->unicode.ucnhash_capi, ucnhash_capi);
 6480|      1|    }
 6481|      5|    return ucnhash_capi;
 6482|      5|}
_PyUnicode_DecodeUnicodeEscapeInternal2:
 6493|     29|{
 6494|     29|    const char *starts = s;
 6495|     29|    const char *initial_starts = starts;
 6496|     29|    _PyUnicodeWriter writer;
 6497|     29|    const char *end;
 6498|     29|    PyObject *errorHandler = NULL;
 6499|     29|    PyObject *exc = NULL;
 6500|     29|    _PyUnicode_Name_CAPI *ucnhash_capi;
 6501|       |
 6502|       |    // so we can remember if we've seen an invalid escape char or not
 6503|     29|    *first_invalid_escape_char = -1;
 6504|     29|    *first_invalid_escape_ptr = NULL;
 6505|       |
 6506|     29|    if (size == 0) {
  ------------------
  |  Branch (6506:9): [True: 0, False: 29]
  ------------------
 6507|      0|        if (consumed) {
  ------------------
  |  Branch (6507:13): [True: 0, False: 0]
  ------------------
 6508|      0|            *consumed = 0;
 6509|      0|        }
 6510|      0|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  379|      0|    do {                             \
  |  |  380|      0|        return _PyUnicode_GetEmpty();\
  |  |  381|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 6511|      0|    }
 6512|       |    /* Escaped strings will always be longer than the resulting
 6513|       |       Unicode string, so we start with size here and then reduce the
 6514|       |       length after conversion to the true value.
 6515|       |       (but if the error callback returns a long replacement string
 6516|       |       we'll have to allocate more space) */
 6517|     29|    _PyUnicodeWriter_Init(&writer);
 6518|     29|    writer.min_length = size;
 6519|     29|    if (_PyUnicodeWriter_Prepare(&writer, size, 127) < 0) {
  ------------------
  |  |  562|     29|    (((MAXCHAR) <= (WRITER)->maxchar                                  \
  |  |  ------------------
  |  |  |  Branch (562:7): [True: 0, False: 29]
  |  |  ------------------
  |  |  563|     29|      && (LENGTH) <= (WRITER)->size - (WRITER)->pos)                  \
  |  |  ------------------
  |  |  |  Branch (563:10): [True: 0, False: 0]
  |  |  ------------------
  |  |  564|     29|     ? 0                                                              \
  |  |  565|     29|     : (((LENGTH) == 0)                                               \
  |  |  ------------------
  |  |  |  Branch (565:9): [True: 0, False: 29]
  |  |  ------------------
  |  |  566|     29|        ? 0                                                           \
  |  |  567|     29|        : _PyUnicodeWriter_PrepareInternal((WRITER), (LENGTH), (MAXCHAR))))
  ------------------
  |  Branch (6519:9): [True: 0, False: 29]
  ------------------
 6520|      0|        goto onError;
 6521|      0|    }
 6522|       |
 6523|     29|    end = s + size;
 6524|  19.3M|    while (s < end) {
  ------------------
  |  Branch (6524:12): [True: 19.3M, False: 24]
  ------------------
 6525|  19.3M|        unsigned char c = (unsigned char) *s++;
 6526|  19.3M|        Py_UCS4 ch;
 6527|  19.3M|        int count;
 6528|  19.3M|        const char *message;
 6529|       |
 6530|  19.3M|#define WRITE_ASCII_CHAR(ch)                                                  \
 6531|  19.3M|            do {                                                              \
 6532|  19.3M|                assert(ch <= 127);                                            \
 6533|  19.3M|                assert(writer.pos < writer.size);                             \
 6534|  19.3M|                PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch);  \
 6535|  19.3M|            } while(0)
 6536|       |
 6537|  19.3M|#define WRITE_CHAR(ch)                                                        \
 6538|  19.3M|            do {                                                              \
 6539|  19.3M|                if (ch <= writer.maxchar) {                                   \
 6540|  19.3M|                    assert(writer.pos < writer.size);                         \
 6541|  19.3M|                    PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch); \
 6542|  19.3M|                }                                                             \
 6543|  19.3M|                else if (_PyUnicodeWriter_WriteCharInline(&writer, ch) < 0) { \
 6544|  19.3M|                    goto onError;                                             \
 6545|  19.3M|                }                                                             \
 6546|  19.3M|            } while(0)
 6547|       |
 6548|       |        /* Non-escape characters are interpreted as Unicode ordinals */
 6549|  19.3M|        if (c != '\\') {
  ------------------
  |  Branch (6549:13): [True: 13.7M, False: 5.59M]
  ------------------
 6550|  13.7M|            WRITE_CHAR(c);
  ------------------
  |  | 6538|  13.7M|            do {                                                              \
  |  | 6539|  13.7M|                if (ch <= writer.maxchar) {                                   \
  |  |  ------------------
  |  |  |  Branch (6539:21): [True: 13.7M, False: 0]
  |  |  ------------------
  |  | 6540|  13.7M|                    assert(writer.pos < writer.size);                         \
  |  | 6541|  13.7M|                    PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch); \
  |  |  ------------------
  |  |  |  |  335|  13.7M|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  13.7M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  336|  13.7M|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  13.7M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6542|  13.7M|                }                                                             \
  |  | 6543|  13.7M|                else if (_PyUnicodeWriter_WriteCharInline(&writer, ch) < 0) { \
  |  |  ------------------
  |  |  |  Branch (6543:26): [True: 0, False: 0]
  |  |  ------------------
  |  | 6544|      0|                    goto onError;                                             \
  |  | 6545|      0|                }                                                             \
  |  | 6546|  13.7M|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6546:21): [Folded, False: 13.7M]
  |  |  ------------------
  ------------------
  |  Branch (6550:13): [True: 13.7M, False: 0]
  ------------------
 6551|  13.7M|            continue;
 6552|  13.7M|        }
 6553|       |
 6554|  5.59M|        Py_ssize_t startinpos = s - starts - 1;
 6555|       |        /* \ - Escapes */
 6556|  5.59M|        if (s >= end) {
  ------------------
  |  Branch (6556:13): [True: 0, False: 5.59M]
  ------------------
 6557|      0|            message = "\\ at end of string";
 6558|      0|            goto incomplete;
 6559|      0|        }
 6560|  5.59M|        c = (unsigned char) *s++;
 6561|       |
 6562|  5.59M|        assert(writer.pos < writer.size);
  ------------------
  |  Branch (6562:9): [True: 5.59M, False: 0]
  ------------------
 6563|  5.59M|        switch (c) {
 6564|       |
 6565|       |            /* \x escapes */
 6566|      0|        case '\n': continue;
  ------------------
  |  Branch (6566:9): [True: 0, False: 5.59M]
  ------------------
 6567|   485k|        case '\\': WRITE_ASCII_CHAR('\\'); continue;
  ------------------
  |  | 6531|   485k|            do {                                                              \
  |  | 6532|   485k|                assert(ch <= 127);                                            \
  |  | 6533|   485k|                assert(writer.pos < writer.size);                             \
  |  | 6534|   485k|                PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch);  \
  |  |  ------------------
  |  |  |  |  335|   485k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|   485k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   485k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  336|   485k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|   485k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6535|   485k|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6535:21): [Folded, False: 485k]
  |  |  ------------------
  ------------------
  |  Branch (6567:9): [True: 485k, False: 5.10M]
  |  Branch (6567:20): [True: 485k, Folded]
  |  Branch (6567:20): [True: 485k, False: 0]
  ------------------
 6568|   485k|        case '\'': WRITE_ASCII_CHAR('\''); continue;
  ------------------
  |  | 6531|      3|            do {                                                              \
  |  | 6532|      3|                assert(ch <= 127);                                            \
  |  | 6533|      3|                assert(writer.pos < writer.size);                             \
  |  | 6534|      3|                PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch);  \
  |  |  ------------------
  |  |  |  |  335|      3|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      3|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  336|      3|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      3|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6535|      3|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6535:21): [Folded, False: 3]
  |  |  ------------------
  ------------------
  |  Branch (6568:9): [True: 3, False: 5.59M]
  |  Branch (6568:20): [True: 3, Folded]
  |  Branch (6568:20): [True: 3, False: 0]
  ------------------
 6569|   564k|        case '\"': WRITE_ASCII_CHAR('\"'); continue;
  ------------------
  |  | 6531|   564k|            do {                                                              \
  |  | 6532|   564k|                assert(ch <= 127);                                            \
  |  | 6533|   564k|                assert(writer.pos < writer.size);                             \
  |  | 6534|   564k|                PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch);  \
  |  |  ------------------
  |  |  |  |  335|   564k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|   564k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   564k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  336|   564k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|   564k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6535|   564k|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6535:21): [Folded, False: 564k]
  |  |  ------------------
  ------------------
  |  Branch (6569:9): [True: 564k, False: 5.03M]
  |  Branch (6569:20): [True: 564k, Folded]
  |  Branch (6569:20): [True: 564k, False: 0]
  ------------------
 6570|   564k|        case 'b': WRITE_ASCII_CHAR('\b'); continue;
  ------------------
  |  | 6531|   202k|            do {                                                              \
  |  | 6532|   202k|                assert(ch <= 127);                                            \
  |  | 6533|   202k|                assert(writer.pos < writer.size);                             \
  |  | 6534|   202k|                PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch);  \
  |  |  ------------------
  |  |  |  |  335|   202k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|   202k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   202k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  336|   202k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|   202k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6535|   202k|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6535:21): [Folded, False: 202k]
  |  |  ------------------
  ------------------
  |  Branch (6570:9): [True: 202k, False: 5.39M]
  |  Branch (6570:19): [True: 202k, Folded]
  |  Branch (6570:19): [True: 202k, False: 0]
  ------------------
 6571|       |        /* FF */
 6572|   807k|        case 'f': WRITE_ASCII_CHAR('\014'); continue;
  ------------------
  |  | 6531|   807k|            do {                                                              \
  |  | 6532|   807k|                assert(ch <= 127);                                            \
  |  | 6533|   807k|                assert(writer.pos < writer.size);                             \
  |  | 6534|   807k|                PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch);  \
  |  |  ------------------
  |  |  |  |  335|   807k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|   807k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   807k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  336|   807k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|   807k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6535|   807k|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6535:21): [Folded, False: 807k]
  |  |  ------------------
  ------------------
  |  Branch (6572:9): [True: 807k, False: 4.78M]
  |  Branch (6572:19): [True: 807k, Folded]
  |  Branch (6572:19): [True: 807k, False: 0]
  ------------------
 6573|   807k|        case 't': WRITE_ASCII_CHAR('\t'); continue;
  ------------------
  |  | 6531|   210k|            do {                                                              \
  |  | 6532|   210k|                assert(ch <= 127);                                            \
  |  | 6533|   210k|                assert(writer.pos < writer.size);                             \
  |  | 6534|   210k|                PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch);  \
  |  |  ------------------
  |  |  |  |  335|   210k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|   210k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   210k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  336|   210k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|   210k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6535|   210k|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6535:21): [Folded, False: 210k]
  |  |  ------------------
  ------------------
  |  Branch (6573:9): [True: 210k, False: 5.38M]
  |  Branch (6573:19): [True: 210k, Folded]
  |  Branch (6573:19): [True: 210k, False: 0]
  ------------------
 6574|  1.35M|        case 'n': WRITE_ASCII_CHAR('\n'); continue;
  ------------------
  |  | 6531|  1.35M|            do {                                                              \
  |  | 6532|  1.35M|                assert(ch <= 127);                                            \
  |  | 6533|  1.35M|                assert(writer.pos < writer.size);                             \
  |  | 6534|  1.35M|                PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch);  \
  |  |  ------------------
  |  |  |  |  335|  1.35M|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  1.35M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.35M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  336|  1.35M|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  1.35M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6535|  1.35M|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6535:21): [Folded, False: 1.35M]
  |  |  ------------------
  ------------------
  |  Branch (6574:9): [True: 1.35M, False: 4.23M]
  |  Branch (6574:19): [True: 1.35M, Folded]
  |  Branch (6574:19): [True: 1.35M, False: 0]
  ------------------
 6575|  1.35M|        case 'r': WRITE_ASCII_CHAR('\r'); continue;
  ------------------
  |  | 6531|   770k|            do {                                                              \
  |  | 6532|   770k|                assert(ch <= 127);                                            \
  |  | 6533|   770k|                assert(writer.pos < writer.size);                             \
  |  | 6534|   770k|                PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch);  \
  |  |  ------------------
  |  |  |  |  335|   770k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|   770k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   770k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  336|   770k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|   770k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6535|   770k|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6535:21): [Folded, False: 770k]
  |  |  ------------------
  ------------------
  |  Branch (6575:9): [True: 770k, False: 4.82M]
  |  Branch (6575:19): [True: 770k, Folded]
  |  Branch (6575:19): [True: 770k, False: 0]
  ------------------
 6576|       |        /* VT */
 6577|   770k|        case 'v': WRITE_ASCII_CHAR('\013'); continue;
  ------------------
  |  | 6531|  61.2k|            do {                                                              \
  |  | 6532|  61.2k|                assert(ch <= 127);                                            \
  |  | 6533|  61.2k|                assert(writer.pos < writer.size);                             \
  |  | 6534|  61.2k|                PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch);  \
  |  |  ------------------
  |  |  |  |  335|  61.2k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  61.2k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  61.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  336|  61.2k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  61.2k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6535|  61.2k|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6535:21): [Folded, False: 61.2k]
  |  |  ------------------
  ------------------
  |  Branch (6577:9): [True: 61.2k, False: 5.53M]
  |  Branch (6577:19): [True: 61.2k, Folded]
  |  Branch (6577:19): [True: 61.2k, False: 0]
  ------------------
 6578|       |        /* BEL, not classic C */
 6579|  61.2k|        case 'a': WRITE_ASCII_CHAR('\007'); continue;
  ------------------
  |  | 6531|     93|            do {                                                              \
  |  | 6532|     93|                assert(ch <= 127);                                            \
  |  | 6533|     93|                assert(writer.pos < writer.size);                             \
  |  | 6534|     93|                PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch);  \
  |  |  ------------------
  |  |  |  |  335|     93|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|     93|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     93|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  336|     93|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|     93|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6535|     93|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6535:21): [Folded, False: 93]
  |  |  ------------------
  ------------------
  |  Branch (6579:9): [True: 93, False: 5.59M]
  |  Branch (6579:19): [True: 93, Folded]
  |  Branch (6579:19): [True: 93, False: 0]
  ------------------
 6580|       |
 6581|       |            /* \OOO (octal) escapes */
 6582|   122k|        case '0': case '1': case '2': case '3':
  ------------------
  |  Branch (6582:9): [True: 120k, False: 5.47M]
  |  Branch (6582:19): [True: 99, False: 5.59M]
  |  Branch (6582:29): [True: 2.36k, False: 5.59M]
  |  Branch (6582:39): [True: 345, False: 5.59M]
  ------------------
 6583|   141k|        case '4': case '5': case '6': case '7':
  ------------------
  |  Branch (6583:9): [True: 8.14k, False: 5.58M]
  |  Branch (6583:19): [True: 10.4k, False: 5.58M]
  |  Branch (6583:29): [True: 0, False: 5.59M]
  |  Branch (6583:39): [True: 0, False: 5.59M]
  ------------------
 6584|   141k|            ch = c - '0';
 6585|   141k|            if (s < end && '0' <= *s && *s <= '7') {
  ------------------
  |  Branch (6585:17): [True: 141k, False: 0]
  |  Branch (6585:28): [True: 1.17k, False: 140k]
  |  Branch (6585:41): [True: 780, False: 390]
  ------------------
 6586|    780|                ch = (ch<<3) + *s++ - '0';
 6587|    780|                if (s < end && '0' <= *s && *s <= '7') {
  ------------------
  |  Branch (6587:21): [True: 780, False: 0]
  |  Branch (6587:32): [True: 780, False: 0]
  |  Branch (6587:45): [True: 60, False: 720]
  ------------------
 6588|     60|                    ch = (ch<<3) + *s++ - '0';
 6589|     60|                }
 6590|    780|            }
 6591|   141k|            if (ch > 0377) {
  ------------------
  |  Branch (6591:17): [True: 0, False: 141k]
  ------------------
 6592|      0|                if (*first_invalid_escape_char == -1) {
  ------------------
  |  Branch (6592:21): [True: 0, False: 0]
  ------------------
 6593|      0|                    *first_invalid_escape_char = ch;
 6594|      0|                    if (starts == initial_starts) {
  ------------------
  |  Branch (6594:25): [True: 0, False: 0]
  ------------------
 6595|       |                        /* Back up 3 chars, since we've already incremented s. */
 6596|      0|                        *first_invalid_escape_ptr = s - 3;
 6597|      0|                    }
 6598|      0|                }
 6599|      0|            }
 6600|   141k|            WRITE_CHAR(ch);
  ------------------
  |  | 6538|   141k|            do {                                                              \
  |  | 6539|   141k|                if (ch <= writer.maxchar) {                                   \
  |  |  ------------------
  |  |  |  Branch (6539:21): [True: 141k, False: 0]
  |  |  ------------------
  |  | 6540|   141k|                    assert(writer.pos < writer.size);                         \
  |  | 6541|   141k|                    PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch); \
  |  |  ------------------
  |  |  |  |  335|   141k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|   141k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   141k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  336|   141k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|   141k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6542|   141k|                }                                                             \
  |  | 6543|   141k|                else if (_PyUnicodeWriter_WriteCharInline(&writer, ch) < 0) { \
  |  |  ------------------
  |  |  |  Branch (6543:26): [True: 0, False: 0]
  |  |  ------------------
  |  | 6544|      0|                    goto onError;                                             \
  |  | 6545|      0|                }                                                             \
  |  | 6546|   141k|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6546:21): [Folded, False: 141k]
  |  |  ------------------
  ------------------
  |  Branch (6600:13): [True: 141k, False: 0]
  ------------------
 6601|   141k|            continue;
 6602|       |
 6603|       |            /* hex escapes */
 6604|       |            /* \xXX */
 6605|   141k|        case 'x':
  ------------------
  |  Branch (6605:9): [True: 0, False: 5.59M]
  ------------------
 6606|      0|            count = 2;
 6607|      0|            message = "truncated \\xXX escape";
 6608|      0|            goto hexescape;
 6609|       |
 6610|       |            /* \uXXXX */
 6611|      0|        case 'u':
  ------------------
  |  Branch (6611:9): [True: 0, False: 5.59M]
  ------------------
 6612|      0|            count = 4;
 6613|      0|            message = "truncated \\uXXXX escape";
 6614|      0|            goto hexescape;
 6615|       |
 6616|       |            /* \UXXXXXXXX */
 6617|   277k|        case 'U':
  ------------------
  |  Branch (6617:9): [True: 277k, False: 5.31M]
  ------------------
 6618|   277k|            count = 8;
 6619|   277k|            message = "truncated \\UXXXXXXXX escape";
 6620|   277k|        hexescape:
 6621|  2.49M|            for (ch = 0; count; ++s, --count) {
  ------------------
  |  Branch (6621:26): [True: 2.22M, False: 277k]
  ------------------
 6622|  2.22M|                if (s >= end) {
  ------------------
  |  Branch (6622:21): [True: 0, False: 2.22M]
  ------------------
 6623|      0|                    goto incomplete;
 6624|      0|                }
 6625|  2.22M|                c = (unsigned char)*s;
 6626|  2.22M|                ch <<= 4;
 6627|  2.22M|                if (c >= '0' && c <= '9') {
  ------------------
  |  Branch (6627:21): [True: 2.22M, False: 0]
  |  Branch (6627:33): [True: 1.77M, False: 448k]
  ------------------
 6628|  1.77M|                    ch += c - '0';
 6629|  1.77M|                }
 6630|   448k|                else if (c >= 'a' && c <= 'f') {
  ------------------
  |  Branch (6630:26): [True: 448k, False: 0]
  |  Branch (6630:38): [True: 448k, False: 0]
  ------------------
 6631|   448k|                    ch += c - ('a' - 10);
 6632|   448k|                }
 6633|      0|                else if (c >= 'A' && c <= 'F') {
  ------------------
  |  Branch (6633:26): [True: 0, False: 0]
  |  Branch (6633:38): [True: 0, False: 0]
  ------------------
 6634|      0|                    ch += c - ('A' - 10);
 6635|      0|                }
 6636|      0|                else {
 6637|      0|                    goto error;
 6638|      0|                }
 6639|  2.22M|            }
 6640|       |
 6641|       |            /* when we get here, ch is a 32-bit unicode character */
 6642|   277k|            if (ch > MAX_UNICODE) {
  ------------------
  |  |  108|   277k|#define MAX_UNICODE _Py_MAX_UNICODE
  |  |  ------------------
  |  |  |  |   17|   277k|#define _Py_MAX_UNICODE 0x10ffff
  |  |  ------------------
  ------------------
  |  Branch (6642:17): [True: 0, False: 277k]
  ------------------
 6643|      0|                message = "illegal Unicode character";
 6644|      0|                goto error;
 6645|      0|            }
 6646|       |
 6647|   277k|            WRITE_CHAR(ch);
  ------------------
  |  | 6538|   277k|            do {                                                              \
  |  | 6539|   277k|                if (ch <= writer.maxchar) {                                   \
  |  |  ------------------
  |  |  |  Branch (6539:21): [True: 277k, False: 48]
  |  |  ------------------
  |  | 6540|   277k|                    assert(writer.pos < writer.size);                         \
  |  | 6541|   277k|                    PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch); \
  |  |  ------------------
  |  |  |  |  335|   277k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|   277k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   277k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  336|   277k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|   277k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6542|   277k|                }                                                             \
  |  | 6543|   277k|                else if (_PyUnicodeWriter_WriteCharInline(&writer, ch) < 0) { \
  |  |  ------------------
  |  |  |  Branch (6543:26): [True: 0, False: 48]
  |  |  ------------------
  |  | 6544|      0|                    goto onError;                                             \
  |  | 6545|      0|                }                                                             \
  |  | 6546|   277k|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6546:21): [Folded, False: 277k]
  |  |  ------------------
  ------------------
  |  Branch (6647:13): [True: 277k, False: 0]
  ------------------
 6648|   277k|            continue;
 6649|       |
 6650|       |            /* \N{name} */
 6651|   277k|        case 'N':
  ------------------
  |  Branch (6651:9): [True: 5, False: 5.59M]
  ------------------
 6652|      5|            ucnhash_capi = _PyUnicode_GetNameCAPI();
 6653|      5|            if (ucnhash_capi == NULL) {
  ------------------
  |  Branch (6653:17): [True: 0, False: 5]
  ------------------
 6654|      0|                PyErr_SetString(
 6655|      0|                        PyExc_UnicodeError,
 6656|      0|                        "\\N escapes not supported (can't load unicodedata module)"
 6657|      0|                );
 6658|      0|                goto onError;
 6659|      0|            }
 6660|       |
 6661|      5|            message = "malformed \\N character escape";
 6662|      5|            if (s >= end) {
  ------------------
  |  Branch (6662:17): [True: 0, False: 5]
  ------------------
 6663|      0|                goto incomplete;
 6664|      0|            }
 6665|      5|            if (*s == '{') {
  ------------------
  |  Branch (6665:17): [True: 5, False: 0]
  ------------------
 6666|      5|                const char *start = ++s;
 6667|      5|                size_t namelen;
 6668|       |                /* look for the closing brace */
 6669|  4.65M|                while (s < end && *s != '}')
  ------------------
  |  Branch (6669:24): [True: 4.65M, False: 1]
  |  Branch (6669:35): [True: 4.65M, False: 4]
  ------------------
 6670|  4.65M|                    s++;
 6671|      5|                if (s >= end) {
  ------------------
  |  Branch (6671:21): [True: 1, False: 4]
  ------------------
 6672|      1|                    goto incomplete;
 6673|      1|                }
 6674|      4|                namelen = s - start;
 6675|      4|                if (namelen) {
  ------------------
  |  Branch (6675:21): [True: 4, False: 0]
  ------------------
 6676|       |                    /* found a name.  look it up in the unicode database */
 6677|      4|                    s++;
 6678|      4|                    ch = 0xffffffff; /* in case 'getcode' messes up */
 6679|      4|                    if (namelen <= INT_MAX &&
  ------------------
  |  Branch (6679:25): [True: 4, False: 0]
  ------------------
 6680|      4|                        ucnhash_capi->getcode(start, (int)namelen,
  ------------------
  |  Branch (6680:25): [True: 0, False: 4]
  ------------------
 6681|      4|                                              &ch, 0)) {
 6682|      0|                        assert(ch <= MAX_UNICODE);
  ------------------
  |  Branch (6682:25): [True: 0, False: 0]
  ------------------
 6683|      0|                        WRITE_CHAR(ch);
  ------------------
  |  | 6538|      0|            do {                                                              \
  |  | 6539|      0|                if (ch <= writer.maxchar) {                                   \
  |  |  ------------------
  |  |  |  Branch (6539:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 6540|      0|                    assert(writer.pos < writer.size);                         \
  |  | 6541|      0|                    PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch); \
  |  |  ------------------
  |  |  |  |  335|      0|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  336|      0|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6542|      0|                }                                                             \
  |  | 6543|      0|                else if (_PyUnicodeWriter_WriteCharInline(&writer, ch) < 0) { \
  |  |  ------------------
  |  |  |  Branch (6543:26): [True: 0, False: 0]
  |  |  ------------------
  |  | 6544|      0|                    goto onError;                                             \
  |  | 6545|      0|                }                                                             \
  |  | 6546|      0|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6546:21): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (6683:25): [True: 0, False: 0]
  ------------------
 6684|      0|                        continue;
 6685|      0|                    }
 6686|      4|                    message = "unknown Unicode character name";
 6687|      4|                }
 6688|      4|            }
 6689|      4|            goto error;
 6690|       |
 6691|   716k|        default:
  ------------------
  |  Branch (6691:9): [True: 716k, False: 4.87M]
  ------------------
 6692|   716k|            if (*first_invalid_escape_char == -1) {
  ------------------
  |  Branch (6692:17): [True: 24, False: 716k]
  ------------------
 6693|     24|                *first_invalid_escape_char = c;
 6694|     24|                if (starts == initial_starts) {
  ------------------
  |  Branch (6694:21): [True: 24, False: 0]
  ------------------
 6695|       |                    /* Back up one char, since we've already incremented s. */
 6696|     24|                    *first_invalid_escape_ptr = s - 1;
 6697|     24|                }
 6698|     24|            }
 6699|   716k|            WRITE_ASCII_CHAR('\\');
  ------------------
  |  | 6531|   716k|            do {                                                              \
  |  | 6532|   716k|                assert(ch <= 127);                                            \
  |  | 6533|   716k|                assert(writer.pos < writer.size);                             \
  |  | 6534|   716k|                PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch);  \
  |  |  ------------------
  |  |  |  |  335|   716k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|   716k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   716k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  336|   716k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|   716k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6535|   716k|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6535:21): [Folded, False: 716k]
  |  |  ------------------
  ------------------
  |  Branch (6699:13): [True: 716k, Folded]
  |  Branch (6699:13): [True: 716k, False: 0]
  ------------------
 6700|   716k|            WRITE_CHAR(c);
  ------------------
  |  | 6538|   716k|            do {                                                              \
  |  | 6539|   716k|                if (ch <= writer.maxchar) {                                   \
  |  |  ------------------
  |  |  |  Branch (6539:21): [True: 716k, False: 0]
  |  |  ------------------
  |  | 6540|   716k|                    assert(writer.pos < writer.size);                         \
  |  | 6541|   716k|                    PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch); \
  |  |  ------------------
  |  |  |  |  335|   716k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|   716k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   716k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  336|   716k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|   716k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6542|   716k|                }                                                             \
  |  | 6543|   716k|                else if (_PyUnicodeWriter_WriteCharInline(&writer, ch) < 0) { \
  |  |  ------------------
  |  |  |  Branch (6543:26): [True: 0, False: 0]
  |  |  ------------------
  |  | 6544|      0|                    goto onError;                                             \
  |  | 6545|      0|                }                                                             \
  |  | 6546|   716k|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6546:21): [Folded, False: 716k]
  |  |  ------------------
  ------------------
  |  Branch (6700:13): [True: 716k, False: 0]
  ------------------
 6701|   716k|            continue;
 6702|  5.59M|        }
 6703|       |
 6704|      1|      incomplete:
 6705|      1|        if (consumed) {
  ------------------
  |  Branch (6705:13): [True: 0, False: 1]
  ------------------
 6706|      0|            *consumed = startinpos;
 6707|      0|            break;
 6708|      0|        }
 6709|      5|      error:;
 6710|      5|        Py_ssize_t endinpos = s-starts;
 6711|      5|        writer.min_length = end - s + writer.pos;
 6712|      5|        if (unicode_decode_call_errorhandler_writer(
  ------------------
  |  Branch (6712:13): [True: 5, False: 0]
  ------------------
 6713|      5|                errors, &errorHandler,
 6714|      5|                "unicodeescape", message,
 6715|      5|                &starts, &end, &startinpos, &endinpos, &exc, &s,
 6716|      5|                &writer)) {
 6717|      5|            goto onError;
 6718|      5|        }
 6719|      5|        assert(end - s <= writer.size - writer.pos);
  ------------------
  |  Branch (6719:9): [True: 0, False: 0]
  ------------------
 6720|       |
 6721|      0|#undef WRITE_ASCII_CHAR
 6722|      0|#undef WRITE_CHAR
 6723|      0|    }
 6724|       |
 6725|     24|    Py_XDECREF(errorHandler);
  ------------------
  |  |  524|     24|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6726|     24|    Py_XDECREF(exc);
  ------------------
  |  |  524|     24|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6727|     24|    return _PyUnicodeWriter_Finish(&writer);
 6728|       |
 6729|      5|  onError:
 6730|      5|    _PyUnicodeWriter_Dealloc(&writer);
 6731|      5|    Py_XDECREF(errorHandler);
  ------------------
  |  |  524|      5|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6732|      5|    Py_XDECREF(exc);
  ------------------
  |  |  524|      5|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6733|       |    return NULL;
 6734|     29|}
PyUnicode_DecodeLatin1:
 7104|      2|{
 7105|       |    /* Latin-1 is equivalent to the first 256 ordinals in Unicode. */
 7106|      2|    return _PyUnicode_FromUCS1((const unsigned char*)s, size);
 7107|      2|}
PyUnicode_DecodeASCII:
 7420|     64|{
 7421|     64|    const char *starts = s;
 7422|     64|    const char *e = s + size;
 7423|     64|    PyObject *error_handler_obj = NULL;
 7424|     64|    PyObject *exc = NULL;
 7425|     64|    _Py_error_handler error_handler = _Py_ERROR_UNKNOWN;
 7426|       |
 7427|     64|    if (size == 0)
  ------------------
  |  Branch (7427:9): [True: 0, False: 64]
  ------------------
 7428|      0|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  379|      0|    do {                             \
  |  |  380|      0|        return _PyUnicode_GetEmpty();\
  |  |  381|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 7429|       |
 7430|       |    /* ASCII is equivalent to the first 128 ordinals in Unicode. */
 7431|     64|    if (size == 1 && (unsigned char)s[0] < 128) {
  ------------------
  |  Branch (7431:9): [True: 0, False: 64]
  |  Branch (7431:22): [True: 0, False: 0]
  ------------------
 7432|      0|        return get_latin1_char((unsigned char)s[0]);
 7433|      0|    }
 7434|       |
 7435|       |    // Shortcut for simple case
 7436|     64|    PyObject *u = PyUnicode_New(size, 127);
 7437|     64|    if (u == NULL) {
  ------------------
  |  Branch (7437:9): [True: 0, False: 64]
  ------------------
 7438|      0|        return NULL;
 7439|      0|    }
 7440|     64|    Py_ssize_t outpos = ascii_decode(s, e, PyUnicode_1BYTE_DATA(u));
  ------------------
  |  |  291|     64|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|     64|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 7441|     64|    if (outpos == size) {
  ------------------
  |  Branch (7441:9): [True: 64, False: 0]
  ------------------
 7442|     64|        return u;
 7443|     64|    }
 7444|       |
 7445|      0|    _PyUnicodeWriter writer;
 7446|      0|    _PyUnicodeWriter_InitWithBuffer(&writer, u);
 7447|      0|    writer.pos = outpos;
 7448|       |
 7449|      0|    s += outpos;
 7450|      0|    int kind = writer.kind;
 7451|      0|    void *data = writer.data;
 7452|      0|    Py_ssize_t startinpos, endinpos;
 7453|       |
 7454|      0|    while (s < e) {
  ------------------
  |  Branch (7454:12): [True: 0, False: 0]
  ------------------
 7455|      0|        unsigned char c = (unsigned char)*s;
 7456|      0|        if (c < 128) {
  ------------------
  |  Branch (7456:13): [True: 0, False: 0]
  ------------------
 7457|      0|            PyUnicode_WRITE(kind, data, writer.pos, c);
  ------------------
  |  |  335|      0|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  336|      0|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 7458|      0|            writer.pos++;
 7459|      0|            ++s;
 7460|      0|            continue;
 7461|      0|        }
 7462|       |
 7463|       |        /* byte outsize range 0x00..0x7f: call the error handler */
 7464|       |
 7465|      0|        if (error_handler == _Py_ERROR_UNKNOWN)
  ------------------
  |  Branch (7465:13): [True: 0, False: 0]
  ------------------
 7466|      0|            error_handler = _Py_GetErrorHandler(errors);
 7467|       |
 7468|      0|        switch (error_handler)
 7469|      0|        {
 7470|      0|        case _Py_ERROR_REPLACE:
  ------------------
  |  Branch (7470:9): [True: 0, False: 0]
  ------------------
 7471|      0|        case _Py_ERROR_SURROGATEESCAPE:
  ------------------
  |  Branch (7471:9): [True: 0, False: 0]
  ------------------
 7472|       |            /* Fast-path: the error handler only writes one character,
 7473|       |               but we may switch to UCS2 at the first write */
 7474|      0|            if (_PyUnicodeWriter_PrepareKind(&writer, PyUnicode_2BYTE_KIND) < 0)
  ------------------
  |  |  582|      0|    ((KIND) <= (WRITER)->kind                                         \
  |  |  ------------------
  |  |  |  Branch (582:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  583|      0|     ? 0                                                              \
  |  |  584|      0|     : _PyUnicodeWriter_PrepareKindInternal((WRITER), (KIND)))
  ------------------
  |  Branch (7474:17): [True: 0, False: 0]
  ------------------
 7475|      0|                goto onError;
 7476|      0|            assert(_PyUnicodeWriter_CanWrite(&writer));
  ------------------
  |  Branch (7476:13): [True: 0, False: 0]
  ------------------
 7477|      0|            kind = writer.kind;
 7478|      0|            data = writer.data;
 7479|       |
 7480|      0|            if (error_handler == _Py_ERROR_REPLACE)
  ------------------
  |  Branch (7480:17): [True: 0, False: 0]
  ------------------
 7481|      0|                PyUnicode_WRITE(kind, data, writer.pos, 0xfffd);
  ------------------
  |  |  335|      0|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  336|      0|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 7482|      0|            else
 7483|      0|                PyUnicode_WRITE(kind, data, writer.pos, c + 0xdc00);
  ------------------
  |  |  335|      0|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  336|      0|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 7484|      0|            writer.pos++;
 7485|      0|            ++s;
 7486|      0|            break;
 7487|       |
 7488|      0|        case _Py_ERROR_IGNORE:
  ------------------
  |  Branch (7488:9): [True: 0, False: 0]
  ------------------
 7489|      0|            ++s;
 7490|      0|            break;
 7491|       |
 7492|      0|        default:
  ------------------
  |  Branch (7492:9): [True: 0, False: 0]
  ------------------
 7493|      0|            startinpos = s-starts;
 7494|      0|            endinpos = startinpos + 1;
 7495|      0|            if (unicode_decode_call_errorhandler_writer(
  ------------------
  |  Branch (7495:17): [True: 0, False: 0]
  ------------------
 7496|      0|                    errors, &error_handler_obj,
 7497|      0|                    "ascii", "ordinal not in range(128)",
 7498|      0|                    &starts, &e, &startinpos, &endinpos, &exc, &s,
 7499|      0|                    &writer))
 7500|      0|                goto onError;
 7501|      0|            kind = writer.kind;
 7502|      0|            data = writer.data;
 7503|      0|        }
 7504|      0|    }
 7505|      0|    Py_XDECREF(error_handler_obj);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7506|      0|    Py_XDECREF(exc);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7507|      0|    return _PyUnicodeWriter_Finish(&writer);
 7508|       |
 7509|      0|  onError:
 7510|      0|    _PyUnicodeWriter_Dealloc(&writer);
 7511|      0|    Py_XDECREF(error_handler_obj);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7512|      0|    Py_XDECREF(exc);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7513|       |    return NULL;
 7514|      0|}
_PyUnicode_AsASCIIString:
 7518|     34|{
 7519|     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 (7519:9): [True: 0, False: 34]
  ------------------
 7520|      0|        PyErr_BadArgument();
 7521|      0|        return NULL;
 7522|      0|    }
 7523|       |    /* Fast path: if it is an ASCII-only string, construct bytes object
 7524|       |       directly. Else defer to above function to raise the exception. */
 7525|     34|    if (PyUnicode_IS_ASCII(unicode))
  ------------------
  |  |  227|     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 (227:32): [True: 34, False: 0]
  |  |  ------------------
  ------------------
 7526|     34|        return PyBytes_FromStringAndSize(PyUnicode_DATA(unicode),
  ------------------
  |  |  284|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7527|     34|                                         PyUnicode_GET_LENGTH(unicode));
  ------------------
  |  |  299|     34|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7528|      0|    return unicode_encode_ucs1(unicode, errors, 128);
 7529|     34|}
PyUnicode_FindChar:
10046|    604|{
10047|    604|    int kind;
10048|    604|    Py_ssize_t len, result;
10049|    604|    len = PyUnicode_GET_LENGTH(str);
  ------------------
  |  |  299|    604|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    604|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    604|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10050|    604|    ADJUST_INDICES(start, end, len);
  ------------------
  |  | 9915|    604|    do {                                \
  |  | 9916|    604|        if (end > len) {                \
  |  |  ------------------
  |  |  |  Branch (9916:13): [True: 0, False: 604]
  |  |  ------------------
  |  | 9917|      0|            end = len;                  \
  |  | 9918|      0|        }                               \
  |  | 9919|    604|        else if (end < 0) {             \
  |  |  ------------------
  |  |  |  Branch (9919:18): [True: 0, False: 604]
  |  |  ------------------
  |  | 9920|      0|            end += len;                 \
  |  | 9921|      0|            if (end < 0) {              \
  |  |  ------------------
  |  |  |  Branch (9921:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9922|      0|                end = 0;                \
  |  | 9923|      0|            }                           \
  |  | 9924|      0|        }                               \
  |  | 9925|    604|        if (start < 0) {                \
  |  |  ------------------
  |  |  |  Branch (9925:13): [True: 0, False: 604]
  |  |  ------------------
  |  | 9926|      0|            start += len;               \
  |  | 9927|      0|            if (start < 0) {            \
  |  |  ------------------
  |  |  |  Branch (9927:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9928|      0|                start = 0;              \
  |  | 9929|      0|            }                           \
  |  | 9930|      0|        }                               \
  |  | 9931|    604|    } while (0)
  |  |  ------------------
  |  |  |  Branch (9931:14): [Folded, False: 604]
  |  |  ------------------
  ------------------
10051|    604|    if (end - start < 1)
  ------------------
  |  Branch (10051:9): [True: 0, False: 604]
  ------------------
10052|      0|        return -1;
10053|    604|    kind = PyUnicode_KIND(str);
  ------------------
  |  |  258|    604|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|  1.20k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 604, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10054|    604|    result = findchar(PyUnicode_1BYTE_DATA(str) + kind*start,
  ------------------
  |  |  291|    604|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|    604|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
10055|    604|                      kind, end-start, ch, direction);
10056|    604|    if (result == -1)
  ------------------
  |  Branch (10056:9): [True: 560, False: 44]
  ------------------
10057|    560|        return -1;
10058|     44|    else
10059|     44|        return start + result;
10060|    604|}
PyUnicode_Join:
10372|    501|{
10373|    501|    PyObject *res;
10374|    501|    PyObject *fseq;
10375|    501|    Py_ssize_t seqlen;
10376|    501|    PyObject **items;
10377|       |
10378|    501|    fseq = PySequence_Fast(seq, "can only join an iterable");
10379|    501|    if (fseq == NULL) {
  ------------------
  |  Branch (10379:9): [True: 0, False: 501]
  ------------------
10380|      0|        return NULL;
10381|      0|    }
10382|       |
10383|    501|    Py_BEGIN_CRITICAL_SECTION_SEQUENCE_FAST(seq);
  ------------------
  |  |   77|    501|# define Py_BEGIN_CRITICAL_SECTION_SEQUENCE_FAST(original) {
  ------------------
10384|       |
10385|    501|    items = PySequence_Fast_ITEMS(fseq);
  ------------------
  |  |  102|    501|    (PyList_Check(sf) ? ((PyListObject *)(sf))->ob_item \
  |  |  ------------------
  |  |  |  |   25|    501|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    501|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 378, False: 123]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  103|    501|                      : ((PyTupleObject *)(sf))->ob_item)
  ------------------
10386|    501|    seqlen = PySequence_Fast_GET_SIZE(fseq);
  ------------------
  |  |   92|    501|    (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   25|    501|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    501|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 378, False: 123]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   38|    378|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    378|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    378|#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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10387|    501|    res = _PyUnicode_JoinArray(separator, items, seqlen);
10388|       |
10389|    501|    Py_END_CRITICAL_SECTION_SEQUENCE_FAST();
  ------------------
  |  |   78|    501|# define Py_END_CRITICAL_SECTION_SEQUENCE_FAST() }
  ------------------
10390|       |
10391|    501|    Py_DECREF(fseq);
  ------------------
  |  |  430|    501|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    501|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    501|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10392|    501|    return res;
10393|    501|}
_PyUnicode_JoinArray:
10397|    759|{
10398|    759|    PyObject *res = NULL; /* the result */
10399|    759|    PyObject *sep = NULL;
10400|    759|    Py_ssize_t seplen;
10401|    759|    PyObject *item;
10402|    759|    Py_ssize_t sz, i, res_offset;
10403|    759|    Py_UCS4 maxchar;
10404|    759|    Py_UCS4 item_maxchar;
10405|    759|    int use_memcpy;
10406|    759|    unsigned char *res_data = NULL, *sep_data = NULL;
10407|    759|    PyObject *last_obj;
10408|    759|    int kind = 0;
10409|       |
10410|       |    /* If empty sequence, return u"". */
10411|    759|    if (seqlen == 0) {
  ------------------
  |  Branch (10411:9): [True: 0, False: 759]
  ------------------
10412|      0|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  379|      0|    do {                             \
  |  |  380|      0|        return _PyUnicode_GetEmpty();\
  |  |  381|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
10413|      0|    }
10414|       |
10415|       |    /* If singleton sequence with an exact Unicode, return that. */
10416|    759|    last_obj = NULL;
10417|    759|    if (seqlen == 1) {
  ------------------
  |  Branch (10417:9): [True: 46, False: 713]
  ------------------
10418|     46|        if (PyUnicode_CheckExact(items[0])) {
  ------------------
  |  |  104|     46|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|     46|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     46|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     46|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 46, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10419|     46|            res = items[0];
10420|     46|            return Py_NewRef(res);
  ------------------
  |  |  550|     46|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     46|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     46|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10421|     46|        }
10422|      0|        seplen = 0;
10423|      0|        maxchar = 0;
10424|      0|    }
10425|    713|    else {
10426|       |        /* Set up sep and seplen */
10427|    713|        if (separator == NULL) {
  ------------------
  |  Branch (10427:13): [True: 0, False: 713]
  ------------------
10428|       |            /* fall back to a blank space separator */
10429|      0|            sep = PyUnicode_FromOrdinal(' ');
10430|      0|            if (!sep)
  ------------------
  |  Branch (10430:17): [True: 0, False: 0]
  ------------------
10431|      0|                goto onError;
10432|      0|            seplen = 1;
10433|      0|            maxchar = 32;
10434|      0|        }
10435|    713|        else {
10436|    713|            if (!PyUnicode_Check(separator)) {
  ------------------
  |  |  103|    713|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    713|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (10436:17): [True: 0, False: 713]
  ------------------
10437|      0|                PyErr_Format(PyExc_TypeError,
10438|      0|                             "separator: expected str instance,"
10439|      0|                             " %.80s found",
10440|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10441|      0|                goto onError;
10442|      0|            }
10443|    713|            sep = separator;
10444|    713|            seplen = PyUnicode_GET_LENGTH(separator);
  ------------------
  |  |  299|    713|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    713|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    713|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10445|    713|            maxchar = PyUnicode_MAX_CHAR_VALUE(separator);
  ------------------
  |  |  405|    713|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    713|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    713|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10446|       |            /* inc refcount to keep this code path symmetric with the
10447|       |               above case of a blank separator */
10448|    713|            Py_INCREF(sep);
  ------------------
  |  |  310|    713|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    713|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    713|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10449|    713|        }
10450|    713|        last_obj = sep;
10451|    713|    }
10452|       |
10453|       |    /* There are at least two things to join, or else we have a subclass
10454|       |     * of str in the sequence.
10455|       |     * Do a pre-pass to figure out the total amount of space we'll
10456|       |     * need (sz), and see whether all argument are strings.
10457|       |     */
10458|    713|    sz = 0;
10459|       |#ifdef Py_DEBUG
10460|       |    use_memcpy = 0;
10461|       |#else
10462|    713|    use_memcpy = 1;
10463|    713|#endif
10464|  2.65k|    for (i = 0; i < seqlen; i++) {
  ------------------
  |  Branch (10464:17): [True: 1.94k, False: 713]
  ------------------
10465|  1.94k|        size_t add_sz;
10466|  1.94k|        item = items[i];
10467|  1.94k|        if (!PyUnicode_Check(item)) {
  ------------------
  |  |  103|  1.94k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.94k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (10467:13): [True: 0, False: 1.94k]
  ------------------
10468|      0|            PyErr_Format(PyExc_TypeError,
10469|      0|                         "sequence item %zd: expected str instance,"
10470|      0|                         " %.80s found",
10471|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10472|      0|            goto onError;
10473|      0|        }
10474|  1.94k|        add_sz = PyUnicode_GET_LENGTH(item);
  ------------------
  |  |  299|  1.94k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.94k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.94k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10475|  1.94k|        item_maxchar = PyUnicode_MAX_CHAR_VALUE(item);
  ------------------
  |  |  405|  1.94k|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.94k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.94k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10476|  1.94k|        maxchar = Py_MAX(maxchar, item_maxchar);
  ------------------
  |  |  126|  1.94k|       __extension__ \
  |  |  127|  1.94k|       ({ _Py_TYPEOF (x) _x = (x); \
  |  |  ------------------
  |  |  |  |  552|  1.94k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  128|  1.94k|          _Py_TYPEOF (y) _y = (y); \
  |  |  ------------------
  |  |  |  |  552|  1.94k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|  1.94k|          _x > _y ? _x : _y; })
  |  |  ------------------
  |  |  |  Branch (129:11): [True: 0, False: 1.94k]
  |  |  ------------------
  ------------------
10477|  1.94k|        if (i != 0) {
  ------------------
  |  Branch (10477:13): [True: 1.23k, False: 713]
  ------------------
10478|  1.23k|            add_sz += seplen;
10479|  1.23k|        }
10480|  1.94k|        if (add_sz > (size_t)(PY_SSIZE_T_MAX - sz)) {
  ------------------
  |  |  137|  1.94k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (10480:13): [True: 0, False: 1.94k]
  ------------------
10481|      0|            PyErr_SetString(PyExc_OverflowError,
10482|      0|                            "join() result is too long for a Python string");
10483|      0|            goto onError;
10484|      0|        }
10485|  1.94k|        sz += add_sz;
10486|  1.94k|        if (use_memcpy && last_obj != NULL) {
  ------------------
  |  Branch (10486:13): [True: 1.94k, False: 0]
  |  Branch (10486:27): [True: 1.94k, False: 0]
  ------------------
10487|  3.89k|            if (PyUnicode_KIND(last_obj) != PyUnicode_KIND(item))
  ------------------
  |  |  258|  1.94k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|  3.89k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 1.94k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          if (PyUnicode_KIND(last_obj) != PyUnicode_KIND(item))
  ------------------
  |  |  258|  1.94k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|  3.89k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 1.94k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10487:17): [True: 15, False: 1.93k]
  ------------------
10488|     15|                use_memcpy = 0;
10489|  1.94k|        }
10490|      0|        last_obj = item;
10491|  1.94k|    }
10492|       |
10493|    713|    res = PyUnicode_New(sz, maxchar);
10494|    713|    if (res == NULL)
  ------------------
  |  Branch (10494:9): [True: 0, False: 713]
  ------------------
10495|      0|        goto onError;
10496|       |
10497|       |    /* Catenate everything. */
10498|       |#ifdef Py_DEBUG
10499|       |    use_memcpy = 0;
10500|       |#else
10501|    713|    if (use_memcpy) {
  ------------------
  |  Branch (10501:9): [True: 698, False: 15]
  ------------------
10502|    698|        res_data = PyUnicode_1BYTE_DATA(res);
  ------------------
  |  |  291|    698|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|    698|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
10503|    698|        kind = PyUnicode_KIND(res);
  ------------------
  |  |  258|    698|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|  1.39k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 698, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10504|    698|        if (seplen != 0)
  ------------------
  |  Branch (10504:13): [True: 356, False: 342]
  ------------------
10505|    356|            sep_data = PyUnicode_1BYTE_DATA(sep);
  ------------------
  |  |  291|    356|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|    356|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
10506|    698|    }
10507|    713|#endif
10508|    713|    if (use_memcpy) {
  ------------------
  |  Branch (10508:9): [True: 698, False: 15]
  ------------------
10509|  2.61k|        for (i = 0; i < seqlen; ++i) {
  ------------------
  |  Branch (10509:21): [True: 1.91k, False: 698]
  ------------------
10510|  1.91k|            Py_ssize_t itemlen;
10511|  1.91k|            item = items[i];
10512|       |
10513|       |            /* Copy item, and maybe the separator. */
10514|  1.91k|            if (i && seplen != 0) {
  ------------------
  |  Branch (10514:17): [True: 1.21k, False: 698]
  |  Branch (10514:22): [True: 481, False: 736]
  ------------------
10515|    481|                memcpy(res_data,
10516|    481|                          sep_data,
10517|    481|                          kind * seplen);
10518|    481|                res_data += kind * seplen;
10519|    481|            }
10520|       |
10521|  1.91k|            itemlen = PyUnicode_GET_LENGTH(item);
  ------------------
  |  |  299|  1.91k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.91k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.91k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10522|  1.91k|            if (itemlen != 0) {
  ------------------
  |  Branch (10522:17): [True: 1.90k, False: 11]
  ------------------
10523|  1.90k|                memcpy(res_data,
10524|  1.90k|                          PyUnicode_DATA(item),
  ------------------
  |  |  284|  1.90k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.90k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.90k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10525|  1.90k|                          kind * itemlen);
10526|  1.90k|                res_data += kind * itemlen;
10527|  1.90k|            }
10528|  1.91k|        }
10529|    698|        assert(res_data == PyUnicode_1BYTE_DATA(res)
  ------------------
  |  Branch (10529:9): [True: 698, False: 0]
  ------------------
10530|    698|                           + kind * PyUnicode_GET_LENGTH(res));
10531|    698|    }
10532|     15|    else {
10533|     45|        for (i = 0, res_offset = 0; i < seqlen; ++i) {
  ------------------
  |  Branch (10533:37): [True: 30, False: 15]
  ------------------
10534|     30|            Py_ssize_t itemlen;
10535|     30|            item = items[i];
10536|       |
10537|       |            /* Copy item, and maybe the separator. */
10538|     30|            if (i && seplen != 0) {
  ------------------
  |  Branch (10538:17): [True: 15, False: 15]
  |  Branch (10538:22): [True: 0, False: 15]
  ------------------
10539|      0|                _PyUnicode_FastCopyCharacters(res, res_offset, sep, 0, seplen);
10540|      0|                res_offset += seplen;
10541|      0|            }
10542|       |
10543|     30|            itemlen = PyUnicode_GET_LENGTH(item);
  ------------------
  |  |  299|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10544|     30|            if (itemlen != 0) {
  ------------------
  |  Branch (10544:17): [True: 30, False: 0]
  ------------------
10545|     30|                _PyUnicode_FastCopyCharacters(res, res_offset, item, 0, itemlen);
10546|     30|                res_offset += itemlen;
10547|     30|            }
10548|     30|        }
10549|     15|        assert(res_offset == PyUnicode_GET_LENGTH(res));
  ------------------
  |  Branch (10549:9): [True: 15, False: 0]
  ------------------
10550|     15|    }
10551|       |
10552|    713|    Py_XDECREF(sep);
  ------------------
  |  |  524|    713|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    713|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    713|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10553|    713|    assert(_PyUnicode_CheckConsistency(res, 1));
  ------------------
  |  Branch (10553:5): [True: 713, False: 0]
  ------------------
10554|    713|    return res;
10555|       |
10556|      0|  onError:
10557|      0|    Py_XDECREF(sep);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10558|      0|    Py_XDECREF(res);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10559|       |    return NULL;
10560|    713|}
_PyUnicode_FastFill:
10565|      8|{
10566|      8|    const int kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|      8|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|     16|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 8, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10567|      8|    void *data = PyUnicode_DATA(unicode);
  ------------------
  |  |  284|      8|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10568|      8|    assert(_PyUnicode_IsModifiable(unicode));
  ------------------
  |  Branch (10568:5): [True: 8, False: 0]
  ------------------
10569|      8|    assert(fill_char <= PyUnicode_MAX_CHAR_VALUE(unicode));
  ------------------
  |  Branch (10569:5): [True: 8, False: 0]
  ------------------
10570|      8|    assert(start >= 0);
  ------------------
  |  Branch (10570:5): [True: 8, False: 0]
  ------------------
10571|      8|    assert(start + length <= PyUnicode_GET_LENGTH(unicode));
  ------------------
  |  Branch (10571:5): [True: 8, False: 0]
  ------------------
10572|      8|    _PyUnicode_Fill(kind, data, fill_char, start, length);
10573|      8|}
PyUnicode_Fill:
10578|      8|{
10579|      8|    Py_ssize_t maxlen;
10580|       |
10581|      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 (10581:9): [True: 0, False: 8]
  ------------------
10582|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
10583|      0|        return -1;
10584|      0|    }
10585|      8|    if (unicode_check_modifiable(unicode))
  ------------------
  |  Branch (10585:9): [True: 0, False: 8]
  ------------------
10586|      0|        return -1;
10587|       |
10588|      8|    if (start < 0) {
  ------------------
  |  Branch (10588:9): [True: 0, False: 8]
  ------------------
10589|      0|        PyErr_SetString(PyExc_IndexError, "string index out of range");
10590|      0|        return -1;
10591|      0|    }
10592|      8|    if (fill_char > PyUnicode_MAX_CHAR_VALUE(unicode)) {
  ------------------
  |  |  405|      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 (10592:9): [True: 0, False: 8]
  ------------------
10593|      0|        PyErr_SetString(PyExc_ValueError,
10594|      0|                         "fill character is bigger than "
10595|      0|                         "the string maximum character");
10596|      0|        return -1;
10597|      0|    }
10598|       |
10599|      8|    maxlen = PyUnicode_GET_LENGTH(unicode) - start;
  ------------------
  |  |  299|      8|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10600|      8|    length = Py_MIN(maxlen, length);
  ------------------
  |  |  120|      8|       __extension__ \
  |  |  121|      8|       ({ _Py_TYPEOF (x) _x = (x); \
  |  |  ------------------
  |  |  |  |  552|      8|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  122|      8|          _Py_TYPEOF (y) _y = (y); \
  |  |  ------------------
  |  |  |  |  552|      8|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  123|      8|          _x < _y ? _x : _y; })
  |  |  ------------------
  |  |  |  Branch (123:11): [True: 0, False: 8]
  |  |  ------------------
  ------------------
10601|      8|    if (length <= 0)
  ------------------
  |  Branch (10601:9): [True: 0, False: 8]
  ------------------
10602|      0|        return 0;
10603|       |
10604|      8|    _PyUnicode_FastFill(unicode, start, length, fill_char);
10605|      8|    return length;
10606|      8|}
_PyUnicode_Equal:
11429|  2.03k|{
11430|  2.03k|    assert(PyUnicode_Check(str1));
  ------------------
  |  Branch (11430:5): [True: 2.03k, False: 0]
  ------------------
11431|  2.03k|    assert(PyUnicode_Check(str2));
  ------------------
  |  Branch (11431:5): [True: 2.03k, False: 0]
  ------------------
11432|  2.03k|    if (str1 == str2) {
  ------------------
  |  Branch (11432:9): [True: 449, False: 1.58k]
  ------------------
11433|    449|        return 1;
11434|    449|    }
11435|  1.58k|    return unicode_eq(str1, str2);
11436|  2.03k|}
PyUnicode_Compare:
11459|     27|{
11460|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11461|       |        /* a string is equal to itself */
11462|     27|        if (left == right)
  ------------------
  |  Branch (11462:13): [True: 0, False: 27]
  ------------------
11463|      0|            return 0;
11464|       |
11465|     27|        return unicode_compare(left, right);
11466|     27|    }
11467|      0|    PyErr_Format(PyExc_TypeError,
11468|      0|                 "Can't compare %.100s and %.100s",
11469|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11470|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11471|      0|    return -1;
11472|     27|}
PyUnicode_CompareWithASCIIString:
11476|  1.03k|{
11477|  1.03k|    Py_ssize_t i;
11478|  1.03k|    int kind;
11479|  1.03k|    Py_UCS4 chr;
11480|       |
11481|  1.03k|    assert(_PyUnicode_CHECK(uni));
  ------------------
  |  Branch (11481:5): [True: 1.03k, False: 0]
  ------------------
11482|  1.03k|    kind = PyUnicode_KIND(uni);
  ------------------
  |  |  258|  1.03k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|  2.07k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 1.03k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11483|  1.03k|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (11483:9): [True: 1.03k, False: 0]
  ------------------
11484|  1.03k|        const void *data = PyUnicode_1BYTE_DATA(uni);
  ------------------
  |  |  291|  1.03k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  1.03k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
11485|  1.03k|        size_t len1 = (size_t)PyUnicode_GET_LENGTH(uni);
  ------------------
  |  |  299|  1.03k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.03k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.03k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11486|  1.03k|        size_t len, len2 = strlen(str);
11487|  1.03k|        int cmp;
11488|       |
11489|  1.03k|        len = Py_MIN(len1, len2);
  ------------------
  |  |  120|  1.03k|       __extension__ \
  |  |  121|  1.03k|       ({ _Py_TYPEOF (x) _x = (x); \
  |  |  ------------------
  |  |  |  |  552|  1.03k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  122|  1.03k|          _Py_TYPEOF (y) _y = (y); \
  |  |  ------------------
  |  |  |  |  552|  1.03k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  123|  1.03k|          _x < _y ? _x : _y; })
  |  |  ------------------
  |  |  |  Branch (123:11): [True: 581, False: 458]
  |  |  ------------------
  ------------------
11490|  1.03k|        cmp = memcmp(data, str, len);
11491|  1.03k|        if (cmp != 0) {
  ------------------
  |  Branch (11491:13): [True: 1.01k, False: 27]
  ------------------
11492|  1.01k|            if (cmp < 0)
  ------------------
  |  Branch (11492:17): [True: 149, False: 863]
  ------------------
11493|    149|                return -1;
11494|    863|            else
11495|    863|                return 1;
11496|  1.01k|        }
11497|     27|        if (len1 > len2)
  ------------------
  |  Branch (11497:13): [True: 0, False: 27]
  ------------------
11498|      0|            return 1; /* uni is longer */
11499|     27|        if (len1 < len2)
  ------------------
  |  Branch (11499:13): [True: 0, False: 27]
  ------------------
11500|      0|            return -1; /* str is longer */
11501|     27|        return 0;
11502|     27|    }
11503|      0|    else {
11504|      0|        const void *data = PyUnicode_DATA(uni);
  ------------------
  |  |  284|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11505|       |        /* Compare Unicode string and source character set string */
11506|      0|        for (i = 0; (chr = PyUnicode_READ(kind, data, i)) && str[i]; i++)
  ------------------
  |  |  354|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      0|                   (index))
  ------------------
  |  Branch (11506:21): [True: 0, False: 0]
  |  Branch (11506:62): [True: 0, False: 0]
  ------------------
11507|      0|            if (chr != (unsigned char)str[i])
  ------------------
  |  Branch (11507:17): [True: 0, False: 0]
  ------------------
11508|      0|                return (chr < (unsigned char)(str[i])) ? -1 : 1;
  ------------------
  |  Branch (11508:24): [True: 0, False: 0]
  ------------------
11509|       |        /* This check keeps Python strings that end in '\0' from comparing equal
11510|       |         to C strings identical up to that point. */
11511|      0|        if (PyUnicode_GET_LENGTH(uni) != i || chr)
  ------------------
  |  |  299|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (11511:13): [True: 0, False: 0]
  |  Branch (11511:47): [True: 0, False: 0]
  ------------------
11512|      0|            return 1; /* uni is longer */
11513|      0|        if (str[i])
  ------------------
  |  Branch (11513:13): [True: 0, False: 0]
  ------------------
11514|      0|            return -1; /* str is longer */
11515|      0|        return 0;
11516|      0|    }
11517|  1.03k|}
_PyUnicode_EqualToASCIIString:
11597|  4.07k|{
11598|  4.07k|    size_t len;
11599|  4.07k|    assert(_PyUnicode_CHECK(unicode));
  ------------------
  |  Branch (11599:5): [True: 4.07k, False: 0]
  ------------------
11600|  4.07k|    assert(str);
  ------------------
  |  Branch (11600:5): [True: 4.07k, False: 0]
  ------------------
11601|  4.07k|#ifndef NDEBUG
11602|  32.3k|    for (const char *p = str; *p; p++) {
  ------------------
  |  Branch (11602:31): [True: 28.2k, False: 4.07k]
  ------------------
11603|  28.2k|        assert((unsigned char)*p < 128);
  ------------------
  |  Branch (11603:9): [True: 28.2k, False: 0]
  ------------------
11604|  28.2k|    }
11605|  4.07k|#endif
11606|  4.07k|    if (!PyUnicode_IS_ASCII(unicode))
  ------------------
  |  |  227|  4.07k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.07k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.07k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (11606:9): [True: 48, False: 4.02k]
  ------------------
11607|     48|        return 0;
11608|  4.02k|    len = (size_t)PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  299|  4.02k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.02k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.02k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11609|  4.02k|    return strlen(str) == len &&
  ------------------
  |  Branch (11609:12): [True: 420, False: 3.60k]
  ------------------
11610|    420|           memcmp(PyUnicode_1BYTE_DATA(unicode), str, len) == 0;
  ------------------
  |  |  291|    420|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|    420|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (11610:12): [True: 98, False: 322]
  ------------------
11611|  4.07k|}
PyUnicode_RichCompare:
11615|  8.59k|{
11616|  8.59k|    int result;
11617|       |
11618|  8.59k|    if (!PyUnicode_Check(left) || !PyUnicode_Check(right))
  ------------------
  |  |  103|  8.59k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  17.1k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                  if (!PyUnicode_Check(left) || !PyUnicode_Check(right))
  ------------------
  |  |  103|  8.59k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  8.59k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (11618:9): [True: 0, False: 8.59k]
  |  Branch (11618:35): [True: 4, False: 8.59k]
  ------------------
11619|      4|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      4|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      4|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
11620|       |
11621|  8.59k|    if (left == right) {
  ------------------
  |  Branch (11621:9): [True: 22, False: 8.57k]
  ------------------
11622|     22|        switch (op) {
11623|     15|        case Py_EQ:
  ------------------
  |  |  654|     15|#define Py_EQ 2
  ------------------
  |  Branch (11623:9): [True: 15, False: 7]
  ------------------
11624|     15|        case Py_LE:
  ------------------
  |  |  653|     15|#define Py_LE 1
  ------------------
  |  Branch (11624:9): [True: 0, False: 22]
  ------------------
11625|     15|        case Py_GE:
  ------------------
  |  |  657|     15|#define Py_GE 5
  ------------------
  |  Branch (11625:9): [True: 0, False: 22]
  ------------------
11626|       |            /* a string is equal to itself */
11627|     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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11628|      7|        case Py_NE:
  ------------------
  |  |  655|      7|#define Py_NE 3
  ------------------
  |  Branch (11628:9): [True: 7, False: 15]
  ------------------
11629|      7|        case Py_LT:
  ------------------
  |  |  652|      7|#define Py_LT 0
  ------------------
  |  Branch (11629:9): [True: 0, False: 22]
  ------------------
11630|      7|        case Py_GT:
  ------------------
  |  |  656|      7|#define Py_GT 4
  ------------------
  |  Branch (11630:9): [True: 0, False: 22]
  ------------------
11631|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11632|      0|        default:
  ------------------
  |  Branch (11632:9): [True: 0, False: 22]
  ------------------
11633|      0|            PyErr_BadArgument();
11634|      0|            return NULL;
11635|     22|        }
11636|     22|    }
11637|  8.57k|    else if (op == Py_EQ || op == Py_NE) {
  ------------------
  |  |  654|  17.1k|#define Py_EQ 2
  ------------------
                  else if (op == Py_EQ || op == Py_NE) {
  ------------------
  |  |  655|  5.23k|#define Py_NE 3
  ------------------
  |  Branch (11637:14): [True: 3.33k, False: 5.23k]
  |  Branch (11637:29): [True: 18, False: 5.22k]
  ------------------
11638|  3.35k|        result = unicode_eq(left, right);
11639|  3.35k|        result ^= (op == Py_NE);
  ------------------
  |  |  655|  3.35k|#define Py_NE 3
  ------------------
11640|  3.35k|        return PyBool_FromLong(result);
11641|  3.35k|    }
11642|  5.22k|    else {
11643|  5.22k|        result = unicode_compare(left, right);
11644|  5.22k|        Py_RETURN_RICHCOMPARE(result, 0, op);
  ------------------
  |  |  674|  5.22k|    do {                                                                    \
  |  |  675|  5.22k|        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.22k]
  |  |  |  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.22k]
  |  |  |  Branch (677:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  678|  5.22k|        case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |  652|  5.22k|#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.56k|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|  2.56k|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  2.56k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  2.56k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (678:9): [True: 5.22k, False: 0]
  |  |  |  Branch (678:25): [True: 2.65k, False: 2.56k]
  |  |  ------------------
  |  |  679|  5.22k|        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.22k]
  |  |  |  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.22k]
  |  |  |  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.22k]
  |  |  |  Branch (681:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  682|      0|        default:                                                            \
  |  |  ------------------
  |  |  |  Branch (682:9): [True: 0, False: 5.22k]
  |  |  ------------------
  |  |  683|      0|            Py_UNREACHABLE();                                               \
  |  |  ------------------
  |  |  |  |  289|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  |  |  ------------------
  |  |  684|  5.22k|        }                                                                   \
  |  |  685|  5.22k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (685:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
11645|  5.22k|    }
11646|  8.59k|}
PyUnicode_Contains:
11650|    161|{
11651|    161|    int kind1, kind2;
11652|    161|    const void *buf1, *buf2;
11653|    161|    Py_ssize_t len1, len2;
11654|    161|    int result;
11655|       |
11656|    161|    if (!PyUnicode_Check(substr)) {
  ------------------
  |  |  103|    161|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    161|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (11656:9): [True: 0, False: 161]
  ------------------
11657|      0|        PyErr_Format(PyExc_TypeError,
11658|      0|                     "'in <string>' requires string as left operand, not %.100s",
11659|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11660|      0|        return -1;
11661|      0|    }
11662|    161|    if (ensure_unicode(str) < 0)
  ------------------
  |  |  109|    161|#define ensure_unicode _PyUnicode_EnsureUnicode
  ------------------
  |  Branch (11662:9): [True: 0, False: 161]
  ------------------
11663|      0|        return -1;
11664|       |
11665|    161|    kind1 = PyUnicode_KIND(str);
  ------------------
  |  |  258|    161|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|    322|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 161, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11666|    161|    kind2 = PyUnicode_KIND(substr);
  ------------------
  |  |  258|    161|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|    322|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 161, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11667|    161|    if (kind1 < kind2)
  ------------------
  |  Branch (11667:9): [True: 0, False: 161]
  ------------------
11668|      0|        return 0;
11669|    161|    len1 = PyUnicode_GET_LENGTH(str);
  ------------------
  |  |  299|    161|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    161|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    161|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11670|    161|    len2 = PyUnicode_GET_LENGTH(substr);
  ------------------
  |  |  299|    161|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    161|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    161|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11671|    161|    if (len1 < len2)
  ------------------
  |  Branch (11671:9): [True: 4, False: 157]
  ------------------
11672|      4|        return 0;
11673|    157|    buf1 = PyUnicode_DATA(str);
  ------------------
  |  |  284|    157|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    157|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    157|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11674|    157|    buf2 = PyUnicode_DATA(substr);
  ------------------
  |  |  284|    157|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    157|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    157|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11675|    157|    if (len2 == 1) {
  ------------------
  |  Branch (11675:9): [True: 149, False: 8]
  ------------------
11676|    149|        Py_UCS4 ch = PyUnicode_READ(kind2, buf2, 0);
  ------------------
  |  |  354|    149|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|    149|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|    149|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|    149|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|    149|                   (index))
  ------------------
11677|    149|        result = findchar((const char *)buf1, kind1, len1, ch, 1) != -1;
11678|    149|        return result;
11679|    149|    }
11680|      8|    if (kind2 != kind1) {
  ------------------
  |  Branch (11680:9): [True: 0, False: 8]
  ------------------
11681|      0|        buf2 = unicode_askind(kind2, buf2, len2, kind1);
11682|      0|        if (!buf2)
  ------------------
  |  Branch (11682:13): [True: 0, False: 0]
  ------------------
11683|      0|            return -1;
11684|      0|    }
11685|       |
11686|      8|    switch (kind1) {
11687|      8|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (11687:5): [True: 8, False: 0]
  ------------------
11688|      8|        result = ucs1lib_find(buf1, len1, buf2, len2, 0) != -1;
11689|      8|        break;
11690|      0|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (11690:5): [True: 0, False: 8]
  ------------------
11691|      0|        result = ucs2lib_find(buf1, len1, buf2, len2, 0) != -1;
11692|      0|        break;
11693|      0|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (11693:5): [True: 0, False: 8]
  ------------------
11694|      0|        result = ucs4lib_find(buf1, len1, buf2, len2, 0) != -1;
11695|      0|        break;
11696|      0|    default:
  ------------------
  |  Branch (11696:5): [True: 0, False: 8]
  ------------------
11697|      0|        Py_UNREACHABLE();
  ------------------
  |  |  289|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
11698|      8|    }
11699|       |
11700|      8|    assert((kind2 == kind1) == (buf2 == PyUnicode_DATA(substr)));
  ------------------
  |  Branch (11700:5): [True: 8, False: 0]
  ------------------
11701|      8|    if (kind2 != kind1)
  ------------------
  |  Branch (11701:9): [True: 0, False: 8]
  ------------------
11702|      0|        PyMem_Free((void *)buf2);
11703|       |
11704|      8|    return result;
11705|      8|}
PyUnicode_Concat:
11711|  1.01k|{
11712|  1.01k|    PyObject *result;
11713|  1.01k|    Py_UCS4 maxchar, maxchar2;
11714|  1.01k|    Py_ssize_t left_len, right_len, new_len;
11715|       |
11716|  1.01k|    if (ensure_unicode(left) < 0)
  ------------------
  |  |  109|  1.01k|#define ensure_unicode _PyUnicode_EnsureUnicode
  ------------------
  |  Branch (11716:9): [True: 0, False: 1.01k]
  ------------------
11717|      0|        return NULL;
11718|       |
11719|  1.01k|    if (!PyUnicode_Check(right)) {
  ------------------
  |  |  103|  1.01k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.01k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (11719:9): [True: 0, False: 1.01k]
  ------------------
11720|      0|        PyErr_Format(PyExc_TypeError,
11721|      0|            "can only concatenate str (not \"%.200s\") to str",
11722|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11723|      0|        return NULL;
11724|      0|    }
11725|       |
11726|       |    /* Shortcuts */
11727|  1.01k|    PyObject *empty = _PyUnicode_GetEmpty();  // Borrowed reference
11728|  1.01k|    if (left == empty) {
  ------------------
  |  Branch (11728:9): [True: 8, False: 1.00k]
  ------------------
11729|      8|        return PyUnicode_FromObject(right);
11730|      8|    }
11731|  1.00k|    if (right == empty) {
  ------------------
  |  Branch (11731:9): [True: 0, False: 1.00k]
  ------------------
11732|      0|        return PyUnicode_FromObject(left);
11733|      0|    }
11734|       |
11735|  1.00k|    left_len = PyUnicode_GET_LENGTH(left);
  ------------------
  |  |  299|  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11736|  1.00k|    right_len = PyUnicode_GET_LENGTH(right);
  ------------------
  |  |  299|  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11737|  1.00k|    if (left_len > PY_SSIZE_T_MAX - right_len) {
  ------------------
  |  |  137|  1.00k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (11737:9): [True: 0, False: 1.00k]
  ------------------
11738|      0|        PyErr_SetString(PyExc_OverflowError,
11739|      0|                        "strings are too large to concat");
11740|      0|        return NULL;
11741|      0|    }
11742|  1.00k|    new_len = left_len + right_len;
11743|       |
11744|  1.00k|    maxchar = PyUnicode_MAX_CHAR_VALUE(left);
  ------------------
  |  |  405|  1.00k|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.00k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.00k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11745|  1.00k|    maxchar2 = PyUnicode_MAX_CHAR_VALUE(right);
  ------------------
  |  |  405|  1.00k|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.00k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.00k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11746|  1.00k|    maxchar = Py_MAX(maxchar, maxchar2);
  ------------------
  |  |  126|  1.00k|       __extension__ \
  |  |  127|  1.00k|       ({ _Py_TYPEOF (x) _x = (x); \
  |  |  ------------------
  |  |  |  |  552|  1.00k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  128|  1.00k|          _Py_TYPEOF (y) _y = (y); \
  |  |  ------------------
  |  |  |  |  552|  1.00k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|  1.00k|          _x > _y ? _x : _y; })
  |  |  ------------------
  |  |  |  Branch (129:11): [True: 0, False: 1.00k]
  |  |  ------------------
  ------------------
11747|       |
11748|       |    /* Concat the two Unicode strings */
11749|  1.00k|    result = PyUnicode_New(new_len, maxchar);
11750|  1.00k|    if (result == NULL)
  ------------------
  |  Branch (11750:9): [True: 0, False: 1.00k]
  ------------------
11751|      0|        return NULL;
11752|  1.00k|    _PyUnicode_FastCopyCharacters(result, 0, left, 0, left_len);
11753|  1.00k|    _PyUnicode_FastCopyCharacters(result, left_len, right, 0, right_len);
11754|  1.00k|    assert(_PyUnicode_CheckConsistency(result, 1));
  ------------------
  |  Branch (11754:5): [True: 1.00k, False: 0]
  ------------------
11755|  1.00k|    return result;
11756|  1.00k|}
PyUnicode_Append:
11760|     46|{
11761|     46|    PyObject *left, *res;
11762|     46|    Py_UCS4 maxchar, maxchar2;
11763|     46|    Py_ssize_t left_len, right_len, new_len;
11764|       |
11765|     46|    if (p_left == NULL) {
  ------------------
  |  Branch (11765:9): [True: 0, False: 46]
  ------------------
11766|      0|        if (!PyErr_Occurred())
  ------------------
  |  Branch (11766:13): [True: 0, False: 0]
  ------------------
11767|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
11768|      0|        return;
11769|      0|    }
11770|     46|    left = *p_left;
11771|     46|    if (right == NULL || left == NULL
  ------------------
  |  Branch (11771:9): [True: 0, False: 46]
  |  Branch (11771:26): [True: 0, False: 46]
  ------------------
11772|     46|        || !PyUnicode_Check(left) || !PyUnicode_Check(right)) {
  ------------------
  |  |  103|     46|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     92|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                      || !PyUnicode_Check(left) || !PyUnicode_Check(right)) {
  ------------------
  |  |  103|     46|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     46|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (11772:12): [True: 0, False: 46]
  |  Branch (11772:38): [True: 0, False: 46]
  ------------------
11773|      0|        if (!PyErr_Occurred())
  ------------------
  |  Branch (11773:13): [True: 0, False: 0]
  ------------------
11774|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
11775|      0|        goto error;
11776|      0|    }
11777|       |
11778|       |    /* Shortcuts */
11779|     46|    PyObject *empty = _PyUnicode_GetEmpty();  // Borrowed reference
11780|     46|    if (left == empty) {
  ------------------
  |  Branch (11780:9): [True: 0, False: 46]
  ------------------
11781|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11782|      0|        *p_left = Py_NewRef(right);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11783|      0|        return;
11784|      0|    }
11785|     46|    if (right == empty) {
  ------------------
  |  Branch (11785:9): [True: 0, False: 46]
  ------------------
11786|      0|        return;
11787|      0|    }
11788|       |
11789|     46|    left_len = PyUnicode_GET_LENGTH(left);
  ------------------
  |  |  299|     46|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     46|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     46|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11790|     46|    right_len = PyUnicode_GET_LENGTH(right);
  ------------------
  |  |  299|     46|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     46|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     46|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11791|     46|    if (left_len > PY_SSIZE_T_MAX - right_len) {
  ------------------
  |  |  137|     46|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (11791:9): [True: 0, False: 46]
  ------------------
11792|      0|        PyErr_SetString(PyExc_OverflowError,
11793|      0|                        "strings are too large to concat");
11794|      0|        goto error;
11795|      0|    }
11796|     46|    new_len = left_len + right_len;
11797|       |
11798|     46|    if (_PyUnicode_IsModifiable(left)
  ------------------
  |  Branch (11798:9): [True: 4, False: 42]
  ------------------
11799|     46|        && PyUnicode_CheckExact(right)
  ------------------
  |  |  104|      4|#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|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11800|     46|        && PyUnicode_KIND(right) <= PyUnicode_KIND(left)
  ------------------
  |  |  258|      4|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|      8|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 4, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      && PyUnicode_KIND(right) <= PyUnicode_KIND(left)
  ------------------
  |  |  258|      4|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|     50|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 4, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (11800:12): [True: 4, False: 0]
  ------------------
11801|       |        /* Don't resize for ascii += latin1. Convert ascii to latin1 requires
11802|       |           to change the structure size, but characters are stored just after
11803|       |           the structure, and so it requires to move all characters which is
11804|       |           not so different than duplicating the string. */
11805|      4|        && !(PyUnicode_IS_ASCII(left) && !PyUnicode_IS_ASCII(right)))
  ------------------
  |  |  227|      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 (227:32): [True: 4, False: 0]
  |  |  ------------------
  ------------------
                      && !(PyUnicode_IS_ASCII(left) && !PyUnicode_IS_ASCII(right)))
  ------------------
  |  |  227|      4|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (11805:42): [True: 0, False: 4]
  ------------------
11806|      4|    {
11807|       |        /* append inplace */
11808|      4|        if (unicode_resize(p_left, new_len) != 0)
  ------------------
  |  Branch (11808:13): [True: 0, False: 4]
  ------------------
11809|      0|            goto error;
11810|       |
11811|       |        /* copy 'right' into the newly allocated area of 'left' */
11812|      4|        _PyUnicode_FastCopyCharacters(*p_left, left_len, right, 0, right_len);
11813|      4|    }
11814|     42|    else {
11815|     42|        maxchar = PyUnicode_MAX_CHAR_VALUE(left);
  ------------------
  |  |  405|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11816|     42|        maxchar2 = PyUnicode_MAX_CHAR_VALUE(right);
  ------------------
  |  |  405|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11817|     42|        maxchar = Py_MAX(maxchar, maxchar2);
  ------------------
  |  |  126|     42|       __extension__ \
  |  |  127|     42|       ({ _Py_TYPEOF (x) _x = (x); \
  |  |  ------------------
  |  |  |  |  552|     42|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  128|     42|          _Py_TYPEOF (y) _y = (y); \
  |  |  ------------------
  |  |  |  |  552|     42|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|     42|          _x > _y ? _x : _y; })
  |  |  ------------------
  |  |  |  Branch (129:11): [True: 0, False: 42]
  |  |  ------------------
  ------------------
11818|       |
11819|       |        /* Concat the two Unicode strings */
11820|     42|        res = PyUnicode_New(new_len, maxchar);
11821|     42|        if (res == NULL)
  ------------------
  |  Branch (11821:13): [True: 0, False: 42]
  ------------------
11822|      0|            goto error;
11823|     42|        _PyUnicode_FastCopyCharacters(res, 0, left, 0, left_len);
11824|     42|        _PyUnicode_FastCopyCharacters(res, left_len, right, 0, right_len);
11825|     42|        Py_DECREF(left);
  ------------------
  |  |  430|     42|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     42|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     42|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11826|     42|        *p_left = res;
11827|     42|    }
11828|     46|    assert(_PyUnicode_CheckConsistency(*p_left, 1));
  ------------------
  |  Branch (11828:5): [True: 46, False: 0]
  ------------------
11829|     46|    return;
11830|       |
11831|     46|error:
11832|       |    Py_CLEAR(*p_left);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
11833|      0|}
_PyUnicode_ScanIdentifier:
12512|     64|{
12513|     64|    Py_ssize_t i;
12514|     64|    Py_ssize_t len = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  299|     64|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     64|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     64|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12515|     64|    if (len == 0) {
  ------------------
  |  Branch (12515:9): [True: 0, False: 64]
  ------------------
12516|       |        /* an empty string is not a valid identifier */
12517|      0|        return 0;
12518|      0|    }
12519|       |
12520|     64|    int kind = PyUnicode_KIND(self);
  ------------------
  |  |  258|     64|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|    128|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 64, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12521|     64|    const void *data = PyUnicode_DATA(self);
  ------------------
  |  |  284|     64|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     64|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     64|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12522|     64|    Py_UCS4 ch = PyUnicode_READ(kind, data, 0);
  ------------------
  |  |  354|     64|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|     64|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|     64|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|     64|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|     64|                   (index))
  ------------------
12523|       |    /* PEP 3131 says that the first character must be in
12524|       |       XID_Start and subsequent characters in XID_Continue,
12525|       |       and for the ASCII range, the 2.x rules apply (i.e
12526|       |       start with letters and underscore, continue with
12527|       |       letters, digits, underscore). However, given the current
12528|       |       definition of XID_Start and XID_Continue, it is sufficient
12529|       |       to check just for these, except that _ must be allowed
12530|       |       as starting an identifier.  */
12531|     64|    if (!_PyUnicode_IsXidStart(ch) && ch != 0x5F /* LOW LINE */) {
  ------------------
  |  Branch (12531:9): [True: 26, False: 38]
  |  Branch (12531:39): [True: 0, False: 26]
  ------------------
12532|      0|        return 0;
12533|      0|    }
12534|       |
12535|  13.9M|    for (i = 1; i < len; i++) {
  ------------------
  |  Branch (12535:17): [True: 13.9M, False: 61]
  ------------------
12536|  13.9M|        ch = PyUnicode_READ(kind, data, i);
  ------------------
  |  |  354|  13.9M|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  13.9M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  13.9M|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  13.9M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  13.9M|                   (index))
  ------------------
12537|  13.9M|        if (!_PyUnicode_IsXidContinue(ch)) {
  ------------------
  |  Branch (12537:13): [True: 3, False: 13.9M]
  ------------------
12538|      3|            return i;
12539|      3|        }
12540|  13.9M|    }
12541|     61|    return i;
12542|     64|}
PyUnicode_IsIdentifier:
12546|     45|{
12547|     45|    Py_ssize_t i = _PyUnicode_ScanIdentifier(self);
12548|     45|    Py_ssize_t len = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  299|     45|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     45|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     45|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12549|       |    /* an empty string is not a valid identifier */
12550|     45|    return len && i == len;
  ------------------
  |  Branch (12550:12): [True: 45, False: 0]
  |  Branch (12550:19): [True: 45, False: 0]
  ------------------
12551|     45|}
_PyUnicode_XStrip:
12681|    720|{
12682|    720|    const void *data;
12683|    720|    int kind;
12684|    720|    Py_ssize_t i, j, len;
12685|    720|    BLOOM_MASK sepmask;
  ------------------
  |  |  920|    720|#define BLOOM_MASK unsigned long
  ------------------
12686|    720|    Py_ssize_t seplen;
12687|       |
12688|    720|    kind = PyUnicode_KIND(self);
  ------------------
  |  |  258|    720|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|  1.44k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 720, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12689|    720|    data = PyUnicode_DATA(self);
  ------------------
  |  |  284|    720|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    720|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    720|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12690|    720|    len = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  299|    720|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    720|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    720|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12691|    720|    seplen = PyUnicode_GET_LENGTH(sepobj);
  ------------------
  |  |  299|    720|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    720|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    720|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12692|    720|    sepmask = make_bloom_mask(PyUnicode_KIND(sepobj),
  ------------------
  |  |  258|    720|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|  1.44k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 720, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12693|    720|                              PyUnicode_DATA(sepobj),
  ------------------
  |  |  284|    720|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    720|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    720|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12694|    720|                              seplen);
12695|       |
12696|      0|    i = 0;
12697|    720|    if (striptype != RIGHTSTRIP) {
  ------------------
  |  |12670|    720|#define RIGHTSTRIP 1
  ------------------
  |  Branch (12697:9): [True: 37, False: 683]
  ------------------
12698|     37|        while (i < len) {
  ------------------
  |  Branch (12698:16): [True: 37, False: 0]
  ------------------
12699|     37|            Py_UCS4 ch = PyUnicode_READ(kind, data, i);
  ------------------
  |  |  354|     37|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|     37|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|     37|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|     37|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|     37|                   (index))
  ------------------
12700|     37|            if (!BLOOM(sepmask, ch))
  ------------------
  |  |  924|     37|#define BLOOM(mask, ch)     ((mask &  (1UL << ((ch) & (BLOOM_WIDTH - 1)))))
  |  |  ------------------
  |  |  |  |  913|     37|#define BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  |  Branch (12700:17): [True: 37, False: 0]
  ------------------
12701|     37|                break;
12702|      0|            if (PyUnicode_FindChar(sepobj, ch, 0, seplen, 1) < 0)
  ------------------
  |  Branch (12702:17): [True: 0, False: 0]
  ------------------
12703|      0|                break;
12704|      0|            i++;
12705|      0|        }
12706|     37|    }
12707|       |
12708|    720|    j = len;
12709|    720|    if (striptype != LEFTSTRIP) {
  ------------------
  |  |12669|    720|#define LEFTSTRIP 0
  ------------------
  |  Branch (12709:9): [True: 683, False: 37]
  ------------------
12710|    683|        j--;
12711|    687|        while (j >= i) {
  ------------------
  |  Branch (12711:16): [True: 687, False: 0]
  ------------------
12712|    687|            Py_UCS4 ch = PyUnicode_READ(kind, data, j);
  ------------------
  |  |  354|    687|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|    687|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|    687|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|    687|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|    687|                   (index))
  ------------------
12713|    687|            if (!BLOOM(sepmask, ch))
  ------------------
  |  |  924|    687|#define BLOOM(mask, ch)     ((mask &  (1UL << ((ch) & (BLOOM_WIDTH - 1)))))
  |  |  ------------------
  |  |  |  |  913|    687|#define BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  |  Branch (12713:17): [True: 442, False: 245]
  ------------------
12714|    442|                break;
12715|    245|            if (PyUnicode_FindChar(sepobj, ch, 0, seplen, 1) < 0)
  ------------------
  |  Branch (12715:17): [True: 241, False: 4]
  ------------------
12716|    241|                break;
12717|      4|            j--;
12718|      4|        }
12719|       |
12720|    683|        j++;
12721|    683|    }
12722|       |
12723|    720|    return PyUnicode_Substring(self, i, j);
12724|    720|}
_PyUnicode_BinarySlice:
12728|    152|{
12729|    152|    assert(PyUnicode_CheckExact(container));
  ------------------
  |  Branch (12729:5): [True: 152, False: 0]
  ------------------
12730|    152|    Py_ssize_t len = PyUnicode_GET_LENGTH(container);
  ------------------
  |  |  299|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12731|    152|    Py_ssize_t istart, istop;
12732|    152|    if (!_PyEval_UnpackIndices(start_o, stop_o, len, &istart, &istop)) {
  ------------------
  |  Branch (12732:9): [True: 0, False: 152]
  ------------------
12733|      0|        return NULL;
12734|      0|    }
12735|    152|    return PyUnicode_Substring(container, istart, istop);
12736|    152|}
PyUnicode_Substring:
12740|    994|{
12741|    994|    const unsigned char *data;
12742|    994|    int kind;
12743|    994|    Py_ssize_t length;
12744|       |
12745|    994|    length = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  299|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12746|    994|    end = Py_MIN(end, length);
  ------------------
  |  |  120|    994|       __extension__ \
  |  |  121|    994|       ({ _Py_TYPEOF (x) _x = (x); \
  |  |  ------------------
  |  |  |  |  552|    994|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  122|    994|          _Py_TYPEOF (y) _y = (y); \
  |  |  ------------------
  |  |  |  |  552|    994|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  123|    994|          _x < _y ? _x : _y; })
  |  |  ------------------
  |  |  |  Branch (123:11): [True: 145, False: 849]
  |  |  ------------------
  ------------------
12747|       |
12748|    994|    if (start == 0 && end == length)
  ------------------
  |  Branch (12748:9): [True: 873, False: 121]
  |  Branch (12748:23): [True: 728, False: 145]
  ------------------
12749|    728|        return unicode_result_unchanged(self);
12750|       |
12751|    266|    if (start < 0 || end < 0) {
  ------------------
  |  Branch (12751:9): [True: 0, False: 266]
  |  Branch (12751:22): [True: 0, False: 266]
  ------------------
12752|      0|        PyErr_SetString(PyExc_IndexError, "string index out of range");
12753|      0|        return NULL;
12754|      0|    }
12755|    266|    if (start >= length || end < start)
  ------------------
  |  Branch (12755:9): [True: 0, False: 266]
  |  Branch (12755:28): [True: 0, False: 266]
  ------------------
12756|      0|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  379|      0|    do {                             \
  |  |  380|      0|        return _PyUnicode_GetEmpty();\
  |  |  381|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
12757|       |
12758|    266|    length = end - start;
12759|    266|    if (PyUnicode_IS_ASCII(self)) {
  ------------------
  |  |  227|    266|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    266|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    266|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 264, False: 2]
  |  |  ------------------
  ------------------
12760|    264|        data = PyUnicode_1BYTE_DATA(self);
  ------------------
  |  |  291|    264|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|    264|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
12761|    264|        return _PyUnicode_FromASCII((const char*)(data + start), length);
12762|    264|    }
12763|      2|    else {
12764|      2|        kind = PyUnicode_KIND(self);
  ------------------
  |  |  258|      2|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 2, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12765|      2|        data = PyUnicode_1BYTE_DATA(self);
  ------------------
  |  |  291|      2|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      2|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
12766|      2|        return PyUnicode_FromKindAndData(kind,
12767|      2|                                         data + kind * start,
12768|      2|                                         length);
12769|      2|    }
12770|    266|}
_PyUnicode_Repeat:
12913|      4|{
12914|      4|    PyObject *u;
12915|      4|    Py_ssize_t nchars, n;
12916|       |
12917|      4|    if (len < 1)
  ------------------
  |  Branch (12917:9): [True: 0, False: 4]
  ------------------
12918|      0|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  379|      0|    do {                             \
  |  |  380|      0|        return _PyUnicode_GetEmpty();\
  |  |  381|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
12919|       |
12920|       |    /* no repeat, return original string */
12921|      4|    if (len == 1)
  ------------------
  |  Branch (12921:9): [True: 0, False: 4]
  ------------------
12922|      0|        return unicode_result_unchanged(str);
12923|       |
12924|      4|    if (PyUnicode_GET_LENGTH(str) > PY_SSIZE_T_MAX / len) {
  ------------------
  |  |  299|      4|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyUnicode_GET_LENGTH(str) > PY_SSIZE_T_MAX / len) {
  ------------------
  |  |  137|      4|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (12924:9): [True: 0, False: 4]
  ------------------
12925|      0|        PyErr_SetString(PyExc_OverflowError,
12926|      0|                        "repeated string is too long");
12927|      0|        return NULL;
12928|      0|    }
12929|      4|    nchars = len * PyUnicode_GET_LENGTH(str);
  ------------------
  |  |  299|      4|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12930|       |
12931|      4|    u = PyUnicode_New(nchars, PyUnicode_MAX_CHAR_VALUE(str));
  ------------------
  |  |  405|      4|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12932|      4|    if (!u)
  ------------------
  |  Branch (12932:9): [True: 0, False: 4]
  ------------------
12933|      0|        return NULL;
12934|      4|    assert(PyUnicode_KIND(u) == PyUnicode_KIND(str));
  ------------------
  |  Branch (12934:5): [True: 4, False: 0]
  |  Branch (12934:5): [True: 4, False: 0]
  |  Branch (12934:5): [True: 4, False: 0]
  ------------------
12935|       |
12936|      4|    if (PyUnicode_GET_LENGTH(str) == 1) {
  ------------------
  |  |  299|      4|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12936:9): [True: 4, False: 0]
  ------------------
12937|      4|        int kind = PyUnicode_KIND(str);
  ------------------
  |  |  258|      4|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|      8|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 4, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12938|      4|        Py_UCS4 fill_char = PyUnicode_READ(kind, PyUnicode_DATA(str), 0);
  ------------------
  |  |  354|      4|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      4|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|      4|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      4|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      4|                   (index))
  ------------------
12939|      4|        if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (12939:13): [True: 4, False: 0]
  ------------------
12940|      4|            void *to = PyUnicode_DATA(u);
  ------------------
  |  |  284|      4|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12941|      4|            memset(to, (unsigned char)fill_char, len);
12942|      4|        }
12943|      0|        else if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (12943:18): [True: 0, False: 0]
  ------------------
12944|      0|            Py_UCS2 *ucs2 = PyUnicode_2BYTE_DATA(u);
  ------------------
  |  |  292|      0|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
12945|      0|            for (n = 0; n < len; ++n)
  ------------------
  |  Branch (12945:25): [True: 0, False: 0]
  ------------------
12946|      0|                ucs2[n] = fill_char;
12947|      0|        } else {
12948|      0|            Py_UCS4 *ucs4 = PyUnicode_4BYTE_DATA(u);
  ------------------
  |  |  293|      0|#define PyUnicode_4BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS4*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
12949|      0|            assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (12949:13): [True: 0, False: 0]
  ------------------
12950|      0|            for (n = 0; n < len; ++n)
  ------------------
  |  Branch (12950:25): [True: 0, False: 0]
  ------------------
12951|      0|                ucs4[n] = fill_char;
12952|      0|        }
12953|      4|    }
12954|      0|    else {
12955|      0|        Py_ssize_t char_size = PyUnicode_KIND(str);
  ------------------
  |  |  258|      0|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12956|      0|        char *to = (char *) PyUnicode_DATA(u);
  ------------------
  |  |  284|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12957|      0|        _PyBytes_RepeatBuffer(to, nchars * char_size, PyUnicode_DATA(str),
  ------------------
  |  |  284|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12958|      0|            PyUnicode_GET_LENGTH(str) * char_size);
  ------------------
  |  |  299|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12959|      0|    }
12960|       |
12961|      4|    assert(_PyUnicode_CheckConsistency(u, 1));
  ------------------
  |  Branch (12961:5): [True: 4, False: 0]
  ------------------
12962|      4|    return u;
12963|      4|}
PyUnicode_RPartition:
13320|    256|{
13321|    256|    PyObject* out;
13322|    256|    int kind1, kind2;
13323|    256|    const void *buf1, *buf2;
13324|    256|    Py_ssize_t len1, len2;
13325|       |
13326|    256|    if (ensure_unicode(str_obj) < 0 || ensure_unicode(sep_obj) < 0)
  ------------------
  |  |  109|    256|#define ensure_unicode _PyUnicode_EnsureUnicode
  ------------------
                  if (ensure_unicode(str_obj) < 0 || ensure_unicode(sep_obj) < 0)
  ------------------
  |  |  109|    256|#define ensure_unicode _PyUnicode_EnsureUnicode
  ------------------
  |  Branch (13326:9): [True: 0, False: 256]
  |  Branch (13326:40): [True: 0, False: 256]
  ------------------
13327|      0|        return NULL;
13328|       |
13329|    256|    kind1 = PyUnicode_KIND(str_obj);
  ------------------
  |  |  258|    256|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|    512|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 256, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13330|    256|    kind2 = PyUnicode_KIND(sep_obj);
  ------------------
  |  |  258|    256|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|    512|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 256, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13331|    256|    len1 = PyUnicode_GET_LENGTH(str_obj);
  ------------------
  |  |  299|    256|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    256|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    256|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13332|    256|    len2 = PyUnicode_GET_LENGTH(sep_obj);
  ------------------
  |  |  299|    256|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    256|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    256|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13333|    256|    if (kind1 < kind2 || len1 < len2) {
  ------------------
  |  Branch (13333:9): [True: 0, False: 256]
  |  Branch (13333:26): [True: 0, False: 256]
  ------------------
13334|      0|        PyObject *empty = _PyUnicode_GetEmpty();  // Borrowed reference
13335|      0|        return PyTuple_Pack(3, empty, empty, str_obj);
13336|      0|    }
13337|    256|    buf1 = PyUnicode_DATA(str_obj);
  ------------------
  |  |  284|    256|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    256|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    256|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13338|    256|    buf2 = PyUnicode_DATA(sep_obj);
  ------------------
  |  |  284|    256|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    256|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    256|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13339|    256|    if (kind2 != kind1) {
  ------------------
  |  Branch (13339:9): [True: 0, False: 256]
  ------------------
13340|      0|        buf2 = unicode_askind(kind2, buf2, len2, kind1);
13341|      0|        if (!buf2)
  ------------------
  |  Branch (13341:13): [True: 0, False: 0]
  ------------------
13342|      0|            return NULL;
13343|      0|    }
13344|       |
13345|    256|    switch (kind1) {
13346|    256|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (13346:5): [True: 256, False: 0]
  ------------------
13347|    256|        if (PyUnicode_IS_ASCII(str_obj) && PyUnicode_IS_ASCII(sep_obj))
  ------------------
  |  |  227|    512|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    256|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    256|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 256, False: 0]
  |  |  ------------------
  ------------------
                      if (PyUnicode_IS_ASCII(str_obj) && PyUnicode_IS_ASCII(sep_obj))
  ------------------
  |  |  227|    256|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    256|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    256|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 256, False: 0]
  |  |  ------------------
  ------------------
13348|    256|            out = asciilib_rpartition(str_obj, buf1, len1, sep_obj, buf2, len2);
13349|      0|        else
13350|      0|            out = ucs1lib_rpartition(str_obj, buf1, len1, sep_obj, buf2, len2);
13351|    256|        break;
13352|      0|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (13352:5): [True: 0, False: 256]
  ------------------
13353|      0|        out = ucs2lib_rpartition(str_obj, buf1, len1, sep_obj, buf2, len2);
13354|      0|        break;
13355|      0|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (13355:5): [True: 0, False: 256]
  ------------------
13356|      0|        out = ucs4lib_rpartition(str_obj, buf1, len1, sep_obj, buf2, len2);
13357|      0|        break;
13358|      0|    default:
  ------------------
  |  Branch (13358:5): [True: 0, False: 256]
  ------------------
13359|      0|        Py_UNREACHABLE();
  ------------------
  |  |  289|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
13360|    256|    }
13361|       |
13362|    256|    assert((kind2 == kind1) == (buf2 == PyUnicode_DATA(sep_obj)));
  ------------------
  |  Branch (13362:5): [True: 256, False: 0]
  ------------------
13363|    256|    if (kind2 != kind1)
  ------------------
  |  Branch (13363:9): [True: 0, False: 256]
  ------------------
13364|      0|        PyMem_Free((void *)buf2);
13365|       |
13366|    256|    return out;
13367|    256|}
_PyUnicode_ExactDealloc:
14418|    249|{
14419|    249|    assert(PyUnicode_CheckExact(op));
  ------------------
  |  Branch (14419:5): [True: 249, False: 0]
  ------------------
14420|    249|    unicode_dealloc(op);
14421|    249|}
_PyUnicode_InitState:
14514|      2|{
14515|      2|    if (!_Py_IsMainInterpreter(interp)) {
  ------------------
  |  Branch (14515:9): [True: 0, False: 2]
  ------------------
14516|      0|        return;
14517|      0|    }
14518|      2|    _init_global_state();
14519|      2|}
_PyUnicode_InitGlobalObjects:
14524|      2|{
14525|      2|    if (_Py_IsMainInterpreter(interp)) {
  ------------------
  |  Branch (14525:9): [True: 2, False: 0]
  ------------------
14526|      2|        PyStatus status = init_global_interned_strings(interp);
14527|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
14528|      0|            return status;
14529|      0|        }
14530|      2|    }
14531|      2|    assert(INTERNED_STRINGS);
  ------------------
  |  Branch (14531:5): [True: 2, False: 0]
  ------------------
14532|       |
14533|      2|    if (init_interned_dict(interp)) {
  ------------------
  |  Branch (14533:9): [True: 0, False: 2]
  ------------------
14534|      0|        PyErr_Clear();
14535|      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)}
  ------------------
14536|      0|    }
14537|       |
14538|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
14539|      2|}
_PyUnicode_InitTypes:
14544|      2|{
14545|      2|    if (_PyStaticType_InitBuiltin(interp, &EncodingMapType) < 0) {
  ------------------
  |  Branch (14545:9): [True: 0, False: 2]
  ------------------
14546|      0|        goto error;
14547|      0|    }
14548|      2|    if (_PyStaticType_InitBuiltin(interp, &PyFieldNameIter_Type) < 0) {
  ------------------
  |  Branch (14548:9): [True: 0, False: 2]
  ------------------
14549|      0|        goto error;
14550|      0|    }
14551|      2|    if (_PyStaticType_InitBuiltin(interp, &PyFormatterIter_Type) < 0) {
  ------------------
  |  Branch (14551:9): [True: 0, False: 2]
  ------------------
14552|      0|        goto error;
14553|      0|    }
14554|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
14555|       |
14556|      0|error:
14557|      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)}
  ------------------
14558|      2|}
_PyUnicode_InternStatic:
14601|  2.27k|{
14602|       |    // This should only be called as part of runtime initialization
14603|  2.27k|    assert(!Py_IsInitialized());
  ------------------
  |  Branch (14603:5): [True: 2.27k, False: 0]
  ------------------
14604|       |
14605|  2.27k|    *p = intern_static(interp, *p);
14606|       |    assert(*p);
  ------------------
  |  Branch (14606:5): [True: 2.27k, False: 0]
  ------------------
14607|  2.27k|}
_PyUnicode_InternImmortal:
14824|  37.6k|{
14825|  37.6k|    *p = intern_common(interp, *p, 1);
14826|       |    assert(*p);
  ------------------
  |  Branch (14826:5): [True: 37.6k, False: 0]
  ------------------
14827|  37.6k|}
_PyUnicode_InternMortal:
14831|  22.7k|{
14832|  22.7k|    *p = intern_common(interp, *p, 0);
14833|       |    assert(*p);
  ------------------
  |  Branch (14833:5): [True: 22.7k, False: 0]
  ------------------
14834|  22.7k|}
PyUnicode_InternFromString:
14862|  6.70k|{
14863|  6.70k|    PyObject *s = PyUnicode_FromString(cp);
14864|  6.70k|    if (s == NULL) {
  ------------------
  |  Branch (14864:9): [True: 0, False: 6.70k]
  ------------------
14865|      0|        return NULL;
14866|      0|    }
14867|  6.70k|    PyInterpreterState *interp = _PyInterpreterState_GET();
14868|  6.70k|    _PyUnicode_InternMortal(interp, &s);
14869|  6.70k|    return s;
14870|  6.70k|}
_PyUnicode_InitEncodings:
15328|      2|{
15329|      2|    PyStatus status = _PyCodec_InitRegistry(tstate->interp);
15330|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
15331|      0|        return status;
15332|      0|    }
15333|      2|    status = init_fs_encoding(tstate);
15334|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
15335|      0|        return status;
15336|      0|    }
15337|       |
15338|      2|    return init_stdio_encoding(tstate->interp);
15339|      2|}
unicodeobject.c:get_interned_dict:
  216|  13.2k|{
  217|  13.2k|    return _Py_INTERP_CACHED_OBJECT(interp, interned_strings);
  ------------------
  |  |   22|  13.2k|    (interp)->cached_objects.NAME
  ------------------
  218|  13.2k|}
unicodeobject.c:_PyUnicode_UTF8:
  118|   952k|{
  119|   952k|    return FT_ATOMIC_LOAD_PTR_ACQUIRE(_PyCompactUnicodeObject_CAST(op)->utf8);
  ------------------
  |  |  150|  2.85M|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  |  |  Branch (150:43): [True: 952k, False: 0]
  |  |  ------------------
  ------------------
  120|   952k|}
unicodeobject.c:_PyUnicode_HAS_UTF8_MEMORY:
  181|   293k|{
  182|   293k|    return (!PyUnicode_IS_COMPACT_ASCII(op)
  ------------------
  |  |  241|   586k|#define PyUnicode_IS_COMPACT_ASCII(op) PyUnicode_IS_COMPACT_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   293k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   293k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (182:13): [True: 278k, False: 14.8k]
  ------------------
  183|   278k|            && _PyUnicode_UTF8(op) != NULL
  ------------------
  |  Branch (183:16): [True: 47, False: 278k]
  ------------------
  184|     47|            && _PyUnicode_UTF8(op) != PyUnicode_DATA(op));
  ------------------
  |  |  284|     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 (184:16): [True: 47, False: 0]
  ------------------
  185|   293k|}
unicodeobject.c:PyUnicode_SET_UTF8_LENGTH:
  150|     61|{
  151|     61|    _PyCompactUnicodeObject_CAST(op)->utf8_length = length;
  ------------------
  |  |  189|     61|    (assert(PyUnicode_Check(op)), \
  |  |  190|     61|     _Py_CAST(PyCompactUnicodeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     61|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (151:5): [True: 61, False: 0]
  ------------------
  152|     61|}
unicodeobject.c:PyUnicode_SET_UTF8:
  134|     61|{
  135|     61|    FT_ATOMIC_STORE_PTR_RELEASE(_PyCompactUnicodeObject_CAST(op)->utf8, utf8);
  ------------------
  |  |  164|    122|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  |  |  |  Branch (164:55): [True: 61, False: 0]
  |  |  ------------------
  ------------------
  136|     61|}
unicodeobject.c:_copy_characters:
 1397|  2.73k|{
 1398|  2.73k|    int from_kind, to_kind;
 1399|  2.73k|    const void *from_data;
 1400|  2.73k|    void *to_data;
 1401|       |
 1402|  2.73k|    assert(0 <= how_many);
  ------------------
  |  Branch (1402:5): [True: 2.73k, False: 0]
  ------------------
 1403|  2.73k|    assert(0 <= from_start);
  ------------------
  |  Branch (1403:5): [True: 2.73k, False: 0]
  ------------------
 1404|  2.73k|    assert(0 <= to_start);
  ------------------
  |  Branch (1404:5): [True: 2.73k, False: 0]
  ------------------
 1405|  2.73k|    assert(PyUnicode_Check(from));
  ------------------
  |  Branch (1405:5): [True: 2.73k, False: 0]
  ------------------
 1406|  2.73k|    assert(from_start + how_many <= PyUnicode_GET_LENGTH(from));
  ------------------
  |  Branch (1406:5): [True: 2.73k, False: 0]
  ------------------
 1407|       |
 1408|  2.73k|    assert(to == NULL || PyUnicode_Check(to));
  ------------------
  |  Branch (1408:5): [True: 0, False: 2.73k]
  |  Branch (1408:5): [True: 2.73k, False: 0]
  ------------------
 1409|       |
 1410|  2.73k|    if (how_many == 0) {
  ------------------
  |  Branch (1410:9): [True: 0, False: 2.73k]
  ------------------
 1411|      0|        return 0;
 1412|      0|    }
 1413|       |
 1414|  2.73k|    assert(to != NULL);
  ------------------
  |  Branch (1414:5): [True: 2.73k, False: 0]
  ------------------
 1415|  2.73k|    assert(to_start + how_many <= PyUnicode_GET_LENGTH(to));
  ------------------
  |  Branch (1415:5): [True: 2.73k, False: 0]
  ------------------
 1416|       |
 1417|  2.73k|    from_kind = PyUnicode_KIND(from);
  ------------------
  |  |  258|  2.73k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|  5.46k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 2.73k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1418|  2.73k|    from_data = PyUnicode_DATA(from);
  ------------------
  |  |  284|  2.73k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.73k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.73k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1419|  2.73k|    to_kind = PyUnicode_KIND(to);
  ------------------
  |  |  258|  2.73k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|  5.46k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 2.73k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1420|  2.73k|    to_data = PyUnicode_DATA(to);
  ------------------
  |  |  284|  2.73k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.73k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.73k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1421|       |
 1422|       |#ifdef Py_DEBUG
 1423|       |    if (!check_maxchar
 1424|       |        && PyUnicode_MAX_CHAR_VALUE(from) > PyUnicode_MAX_CHAR_VALUE(to))
 1425|       |    {
 1426|       |        Py_UCS4 to_maxchar = PyUnicode_MAX_CHAR_VALUE(to);
 1427|       |        Py_UCS4 ch;
 1428|       |        Py_ssize_t i;
 1429|       |        for (i=0; i < how_many; i++) {
 1430|       |            ch = PyUnicode_READ(from_kind, from_data, from_start + i);
 1431|       |            assert(ch <= to_maxchar);
 1432|       |        }
 1433|       |    }
 1434|       |#endif
 1435|       |
 1436|  2.73k|    if (from_kind == to_kind) {
  ------------------
  |  Branch (1436:9): [True: 2.46k, False: 267]
  ------------------
 1437|  2.46k|        if (check_maxchar
  ------------------
  |  Branch (1437:13): [True: 0, False: 2.46k]
  ------------------
 1438|      0|            && !PyUnicode_IS_ASCII(from) && PyUnicode_IS_ASCII(to))
  ------------------
  |  |  227|  2.46k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          && !PyUnicode_IS_ASCII(from) && PyUnicode_IS_ASCII(to))
  ------------------
  |  |  227|      0|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1438:16): [True: 0, False: 0]
  ------------------
 1439|      0|        {
 1440|       |            /* Writing Latin-1 characters into an ASCII string requires to
 1441|       |               check that all written characters are pure ASCII */
 1442|      0|            Py_UCS4 max_char;
 1443|      0|            max_char = ucs1lib_find_max_char(from_data,
 1444|      0|                                             (const Py_UCS1*)from_data + how_many);
 1445|      0|            if (max_char >= 128)
  ------------------
  |  Branch (1445:17): [True: 0, False: 0]
  ------------------
 1446|      0|                return -1;
 1447|      0|        }
 1448|  2.46k|        memcpy((char*)to_data + to_kind * to_start,
 1449|  2.46k|                  (const char*)from_data + from_kind * from_start,
 1450|  2.46k|                  to_kind * how_many);
 1451|  2.46k|    }
 1452|    267|    else if (from_kind == PyUnicode_1BYTE_KIND
  ------------------
  |  Branch (1452:14): [True: 245, False: 22]
  ------------------
 1453|    245|             && to_kind == PyUnicode_2BYTE_KIND)
  ------------------
  |  Branch (1453:17): [True: 107, False: 138]
  ------------------
 1454|    107|    {
 1455|    107|        _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   48|    107|    do {                                                \
  |  |   49|    107|        to_type *_to = (to_type *)(to);                 \
  |  |   50|    107|        const from_type *_iter = (const from_type *)(begin);\
  |  |   51|    107|        const from_type *_end = (const from_type *)(end);\
  |  |   52|    107|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   53|    107|        const from_type *_unrolled_end =                \
  |  |   54|    107|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  236|    107|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   55|  9.01M|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (55:16): [True: 9.01M, False: 107]
  |  |  ------------------
  |  |   56|  9.01M|            _to[0] = (to_type) _iter[0];                \
  |  |   57|  9.01M|            _to[1] = (to_type) _iter[1];                \
  |  |   58|  9.01M|            _to[2] = (to_type) _iter[2];                \
  |  |   59|  9.01M|            _to[3] = (to_type) _iter[3];                \
  |  |   60|  9.01M|            _iter += 4; _to += 4;                       \
  |  |   61|  9.01M|        }                                               \
  |  |   62|    276|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (62:16): [True: 169, False: 107]
  |  |  ------------------
  |  |   63|    169|            *_to++ = (to_type) *_iter++;                \
  |  |   64|    107|    } while (0)
  |  |  ------------------
  |  |  |  Branch (64:14): [Folded, False: 107]
  |  |  ------------------
  ------------------
 1456|    107|            Py_UCS1, Py_UCS2,
 1457|    107|            PyUnicode_1BYTE_DATA(from) + from_start,
 1458|    107|            PyUnicode_1BYTE_DATA(from) + from_start + how_many,
 1459|    107|            PyUnicode_2BYTE_DATA(to) + to_start
 1460|    107|            );
 1461|    107|    }
 1462|    160|    else if (from_kind == PyUnicode_1BYTE_KIND
  ------------------
  |  Branch (1462:14): [True: 138, False: 22]
  ------------------
 1463|    138|             && to_kind == PyUnicode_4BYTE_KIND)
  ------------------
  |  Branch (1463:17): [True: 138, False: 0]
  ------------------
 1464|    138|    {
 1465|    138|        _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   48|    138|    do {                                                \
  |  |   49|    138|        to_type *_to = (to_type *)(to);                 \
  |  |   50|    138|        const from_type *_iter = (const from_type *)(begin);\
  |  |   51|    138|        const from_type *_end = (const from_type *)(end);\
  |  |   52|    138|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   53|    138|        const from_type *_unrolled_end =                \
  |  |   54|    138|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  236|    138|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   55|   483k|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (55:16): [True: 483k, False: 138]
  |  |  ------------------
  |  |   56|   483k|            _to[0] = (to_type) _iter[0];                \
  |  |   57|   483k|            _to[1] = (to_type) _iter[1];                \
  |  |   58|   483k|            _to[2] = (to_type) _iter[2];                \
  |  |   59|   483k|            _to[3] = (to_type) _iter[3];                \
  |  |   60|   483k|            _iter += 4; _to += 4;                       \
  |  |   61|   483k|        }                                               \
  |  |   62|    356|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (62:16): [True: 218, False: 138]
  |  |  ------------------
  |  |   63|    218|            *_to++ = (to_type) *_iter++;                \
  |  |   64|    138|    } while (0)
  |  |  ------------------
  |  |  |  Branch (64:14): [Folded, False: 138]
  |  |  ------------------
  ------------------
 1466|    138|            Py_UCS1, Py_UCS4,
 1467|    138|            PyUnicode_1BYTE_DATA(from) + from_start,
 1468|    138|            PyUnicode_1BYTE_DATA(from) + from_start + how_many,
 1469|    138|            PyUnicode_4BYTE_DATA(to) + to_start
 1470|    138|            );
 1471|    138|    }
 1472|     22|    else if (from_kind == PyUnicode_2BYTE_KIND
  ------------------
  |  Branch (1472:14): [True: 22, False: 0]
  ------------------
 1473|     22|             && to_kind == PyUnicode_4BYTE_KIND)
  ------------------
  |  Branch (1473:17): [True: 22, False: 0]
  ------------------
 1474|     22|    {
 1475|     22|        _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   48|     22|    do {                                                \
  |  |   49|     22|        to_type *_to = (to_type *)(to);                 \
  |  |   50|     22|        const from_type *_iter = (const from_type *)(begin);\
  |  |   51|     22|        const from_type *_end = (const from_type *)(end);\
  |  |   52|     22|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   53|     22|        const from_type *_unrolled_end =                \
  |  |   54|     22|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  236|     22|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   55|   593k|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (55:16): [True: 593k, False: 22]
  |  |  ------------------
  |  |   56|   593k|            _to[0] = (to_type) _iter[0];                \
  |  |   57|   593k|            _to[1] = (to_type) _iter[1];                \
  |  |   58|   593k|            _to[2] = (to_type) _iter[2];                \
  |  |   59|   593k|            _to[3] = (to_type) _iter[3];                \
  |  |   60|   593k|            _iter += 4; _to += 4;                       \
  |  |   61|   593k|        }                                               \
  |  |   62|     65|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (62:16): [True: 43, False: 22]
  |  |  ------------------
  |  |   63|     43|            *_to++ = (to_type) *_iter++;                \
  |  |   64|     22|    } while (0)
  |  |  ------------------
  |  |  |  Branch (64:14): [Folded, False: 22]
  |  |  ------------------
  ------------------
 1476|     22|            Py_UCS2, Py_UCS4,
 1477|     22|            PyUnicode_2BYTE_DATA(from) + from_start,
 1478|     22|            PyUnicode_2BYTE_DATA(from) + from_start + how_many,
 1479|     22|            PyUnicode_4BYTE_DATA(to) + to_start
 1480|     22|            );
 1481|     22|    }
 1482|      0|    else {
 1483|      0|        assert (PyUnicode_MAX_CHAR_VALUE(from) > PyUnicode_MAX_CHAR_VALUE(to));
  ------------------
  |  Branch (1483:9): [True: 0, False: 0]
  ------------------
 1484|       |
 1485|      0|        if (!check_maxchar) {
  ------------------
  |  Branch (1485:13): [True: 0, False: 0]
  ------------------
 1486|      0|            if (from_kind == PyUnicode_2BYTE_KIND
  ------------------
  |  Branch (1486:17): [True: 0, False: 0]
  ------------------
 1487|      0|                && to_kind == PyUnicode_1BYTE_KIND)
  ------------------
  |  Branch (1487:20): [True: 0, False: 0]
  ------------------
 1488|      0|            {
 1489|      0|                _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   48|      0|    do {                                                \
  |  |   49|      0|        to_type *_to = (to_type *)(to);                 \
  |  |   50|      0|        const from_type *_iter = (const from_type *)(begin);\
  |  |   51|      0|        const from_type *_end = (const from_type *)(end);\
  |  |   52|      0|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   53|      0|        const from_type *_unrolled_end =                \
  |  |   54|      0|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  236|      0|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   55|      0|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (55:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   56|      0|            _to[0] = (to_type) _iter[0];                \
  |  |   57|      0|            _to[1] = (to_type) _iter[1];                \
  |  |   58|      0|            _to[2] = (to_type) _iter[2];                \
  |  |   59|      0|            _to[3] = (to_type) _iter[3];                \
  |  |   60|      0|            _iter += 4; _to += 4;                       \
  |  |   61|      0|        }                                               \
  |  |   62|      0|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (62:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   63|      0|            *_to++ = (to_type) *_iter++;                \
  |  |   64|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (64:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1490|      0|                    Py_UCS2, Py_UCS1,
 1491|      0|                    PyUnicode_2BYTE_DATA(from) + from_start,
 1492|      0|                    PyUnicode_2BYTE_DATA(from) + from_start + how_many,
 1493|      0|                    PyUnicode_1BYTE_DATA(to) + to_start
 1494|      0|                    );
 1495|      0|            }
 1496|      0|            else if (from_kind == PyUnicode_4BYTE_KIND
  ------------------
  |  Branch (1496:22): [True: 0, False: 0]
  ------------------
 1497|      0|                     && to_kind == PyUnicode_1BYTE_KIND)
  ------------------
  |  Branch (1497:25): [True: 0, False: 0]
  ------------------
 1498|      0|            {
 1499|      0|                _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   48|      0|    do {                                                \
  |  |   49|      0|        to_type *_to = (to_type *)(to);                 \
  |  |   50|      0|        const from_type *_iter = (const from_type *)(begin);\
  |  |   51|      0|        const from_type *_end = (const from_type *)(end);\
  |  |   52|      0|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   53|      0|        const from_type *_unrolled_end =                \
  |  |   54|      0|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  236|      0|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   55|      0|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (55:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   56|      0|            _to[0] = (to_type) _iter[0];                \
  |  |   57|      0|            _to[1] = (to_type) _iter[1];                \
  |  |   58|      0|            _to[2] = (to_type) _iter[2];                \
  |  |   59|      0|            _to[3] = (to_type) _iter[3];                \
  |  |   60|      0|            _iter += 4; _to += 4;                       \
  |  |   61|      0|        }                                               \
  |  |   62|      0|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (62:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   63|      0|            *_to++ = (to_type) *_iter++;                \
  |  |   64|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (64:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1500|      0|                    Py_UCS4, Py_UCS1,
 1501|      0|                    PyUnicode_4BYTE_DATA(from) + from_start,
 1502|      0|                    PyUnicode_4BYTE_DATA(from) + from_start + how_many,
 1503|      0|                    PyUnicode_1BYTE_DATA(to) + to_start
 1504|      0|                    );
 1505|      0|            }
 1506|      0|            else if (from_kind == PyUnicode_4BYTE_KIND
  ------------------
  |  Branch (1506:22): [True: 0, False: 0]
  ------------------
 1507|      0|                     && to_kind == PyUnicode_2BYTE_KIND)
  ------------------
  |  Branch (1507:25): [True: 0, False: 0]
  ------------------
 1508|      0|            {
 1509|      0|                _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   48|      0|    do {                                                \
  |  |   49|      0|        to_type *_to = (to_type *)(to);                 \
  |  |   50|      0|        const from_type *_iter = (const from_type *)(begin);\
  |  |   51|      0|        const from_type *_end = (const from_type *)(end);\
  |  |   52|      0|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   53|      0|        const from_type *_unrolled_end =                \
  |  |   54|      0|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  236|      0|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   55|      0|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (55:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   56|      0|            _to[0] = (to_type) _iter[0];                \
  |  |   57|      0|            _to[1] = (to_type) _iter[1];                \
  |  |   58|      0|            _to[2] = (to_type) _iter[2];                \
  |  |   59|      0|            _to[3] = (to_type) _iter[3];                \
  |  |   60|      0|            _iter += 4; _to += 4;                       \
  |  |   61|      0|        }                                               \
  |  |   62|      0|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (62:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   63|      0|            *_to++ = (to_type) *_iter++;                \
  |  |   64|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (64:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1510|      0|                    Py_UCS4, Py_UCS2,
 1511|      0|                    PyUnicode_4BYTE_DATA(from) + from_start,
 1512|      0|                    PyUnicode_4BYTE_DATA(from) + from_start + how_many,
 1513|      0|                    PyUnicode_2BYTE_DATA(to) + to_start
 1514|      0|                    );
 1515|      0|            }
 1516|      0|            else {
 1517|      0|                Py_UNREACHABLE();
  ------------------
  |  |  289|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1518|      0|            }
 1519|      0|        }
 1520|      0|        else {
 1521|      0|            const Py_UCS4 to_maxchar = PyUnicode_MAX_CHAR_VALUE(to);
  ------------------
  |  |  405|      0|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1522|      0|            Py_UCS4 ch;
 1523|      0|            Py_ssize_t i;
 1524|       |
 1525|      0|            for (i=0; i < how_many; i++) {
  ------------------
  |  Branch (1525:23): [True: 0, False: 0]
  ------------------
 1526|      0|                ch = PyUnicode_READ(from_kind, from_data, from_start + i);
  ------------------
  |  |  354|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      0|                   (index))
  ------------------
 1527|      0|                if (ch > to_maxchar)
  ------------------
  |  Branch (1527:21): [True: 0, False: 0]
  ------------------
 1528|      0|                    return -1;
 1529|      0|                PyUnicode_WRITE(to_kind, to_data, to_start + i, ch);
  ------------------
  |  |  335|      0|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  336|      0|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1530|      0|            }
 1531|      0|        }
 1532|      0|    }
 1533|  2.73k|    return 0;
 1534|  2.73k|}
unicodeobject.c:unicode_check_modifiable:
 1384|      8|{
 1385|      8|    if (!_PyUnicode_IsModifiable(unicode)) {
  ------------------
  |  Branch (1385:9): [True: 0, False: 8]
  ------------------
 1386|      0|        PyErr_SetString(PyExc_SystemError,
 1387|      0|                        "Cannot modify a string currently used");
 1388|      0|        return -1;
 1389|      0|    }
 1390|      8|    return 0;
 1391|      8|}
unicodeobject.c:unicode_resize:
 1771|      4|{
 1772|      4|    PyObject *unicode;
 1773|      4|    Py_ssize_t old_length;
 1774|       |
 1775|      4|    assert(p_unicode != NULL);
  ------------------
  |  Branch (1775:5): [True: 4, False: 0]
  ------------------
 1776|      4|    unicode = *p_unicode;
 1777|       |
 1778|      4|    assert(unicode != NULL);
  ------------------
  |  Branch (1778:5): [True: 4, False: 0]
  ------------------
 1779|      4|    assert(PyUnicode_Check(unicode));
  ------------------
  |  Branch (1779:5): [True: 4, False: 0]
  ------------------
 1780|      4|    assert(0 <= length);
  ------------------
  |  Branch (1780:5): [True: 4, False: 0]
  ------------------
 1781|       |
 1782|      4|    old_length = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  299|      4|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1783|      4|    if (old_length == length)
  ------------------
  |  Branch (1783:9): [True: 0, False: 4]
  ------------------
 1784|      0|        return 0;
 1785|       |
 1786|      4|    if (length == 0) {
  ------------------
  |  Branch (1786:9): [True: 0, False: 4]
  ------------------
 1787|      0|        PyObject *empty = _PyUnicode_GetEmpty();
 1788|      0|        Py_SETREF(*p_unicode, empty);
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1789|      0|        return 0;
 1790|      0|    }
 1791|       |
 1792|      4|    if (!_PyUnicode_IsModifiable(unicode)) {
  ------------------
  |  Branch (1792:9): [True: 0, False: 4]
  ------------------
 1793|      0|        PyObject *copy = resize_copy(unicode, length);
 1794|      0|        if (copy == NULL)
  ------------------
  |  Branch (1794:13): [True: 0, False: 0]
  ------------------
 1795|      0|            return -1;
 1796|      0|        Py_SETREF(*p_unicode, copy);
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1797|      0|        return 0;
 1798|      0|    }
 1799|       |
 1800|      4|    if (PyUnicode_IS_COMPACT(unicode)) {
  ------------------
  |  |  234|      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 (234:34): [True: 4, False: 0]
  |  |  ------------------
  ------------------
 1801|      4|        PyObject *new_unicode = _PyUnicode_ResizeCompact(unicode, length);
 1802|      4|        if (new_unicode == NULL)
  ------------------
  |  Branch (1802:13): [True: 0, False: 4]
  ------------------
 1803|      0|            return -1;
 1804|      4|        *p_unicode = new_unicode;
 1805|      4|        return 0;
 1806|      4|    }
 1807|      0|    return resize_inplace(unicode, length);
 1808|      4|}
unicodeobject.c:get_latin1_char:
 1829|    890|{
 1830|    890|    PyObject *o = LATIN1(ch);
  ------------------
  |  |  188|    890|#define LATIN1 _Py_LATIN1_CHR
  |  |  ------------------
  |  |  |  |  940|    890|    ((CH) < 128 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (940:6): [True: 890, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  941|    890|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|    890|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|    890|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  942|    890|     : (PyObject*)&_Py_SINGLETON(strings).latin1[(CH) - 128])
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1831|    890|    return o;
 1832|    890|}
unicodeobject.c:find_maxchar_surrogates:
 1603|    790|{
 1604|    790|    const wchar_t *iter;
 1605|    790|    Py_UCS4 ch;
 1606|       |
 1607|    790|    assert(num_surrogates != NULL && maxchar != NULL);
  ------------------
  |  Branch (1607:5): [True: 790, False: 0]
  |  Branch (1607:5): [True: 790, False: 0]
  ------------------
 1608|    790|    *num_surrogates = 0;
 1609|    790|    *maxchar = 0;
 1610|       |
 1611|  12.6k|    for (iter = begin; iter < end; ) {
  ------------------
  |  Branch (1611:24): [True: 11.8k, False: 790]
  ------------------
 1612|       |#if SIZEOF_WCHAR_T == 2
 1613|       |        if (Py_UNICODE_IS_HIGH_SURROGATE(iter[0])
 1614|       |            && (iter+1) < end
 1615|       |            && Py_UNICODE_IS_LOW_SURROGATE(iter[1]))
 1616|       |        {
 1617|       |            ch = Py_UNICODE_JOIN_SURROGATES(iter[0], iter[1]);
 1618|       |            ++(*num_surrogates);
 1619|       |            iter += 2;
 1620|       |        }
 1621|       |        else
 1622|       |#endif
 1623|  11.8k|        {
 1624|  11.8k|            ch = *iter;
 1625|  11.8k|            iter++;
 1626|  11.8k|        }
 1627|  11.8k|        if (ch > *maxchar) {
  ------------------
  |  Branch (1627:13): [True: 2.51k, False: 9.36k]
  ------------------
 1628|  2.51k|            *maxchar = ch;
 1629|  2.51k|            if (*maxchar > MAX_UNICODE) {
  ------------------
  |  |  108|  2.51k|#define MAX_UNICODE _Py_MAX_UNICODE
  |  |  ------------------
  |  |  |  |   17|  2.51k|#define _Py_MAX_UNICODE 0x10ffff
  |  |  ------------------
  ------------------
  |  Branch (1629:17): [True: 0, False: 2.51k]
  ------------------
 1630|      0|                PyErr_Format(PyExc_ValueError,
 1631|      0|                             "character U+%x is not in range [U+0000; U+%x]",
 1632|      0|                             ch, MAX_UNICODE);
  ------------------
  |  |  108|      0|#define MAX_UNICODE _Py_MAX_UNICODE
  |  |  ------------------
  |  |  |  |   17|      0|#define _Py_MAX_UNICODE 0x10ffff
  |  |  ------------------
  ------------------
 1633|      0|                return -1;
 1634|      0|            }
 1635|  2.51k|        }
 1636|  11.8k|    }
 1637|    790|    return 0;
 1638|    790|}
unicodeobject.c:unicode_write_widechar:
 1865|    790|{
 1866|    790|    switch (kind) {
 1867|    790|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (1867:5): [True: 790, False: 0]
  ------------------
 1868|    790|        _PyUnicode_CONVERT_BYTES(wchar_t, unsigned char, u, u + size, data);
  ------------------
  |  |   48|    790|    do {                                                \
  |  |   49|    790|        to_type *_to = (to_type *)(to);                 \
  |  |   50|    790|        const from_type *_iter = (const from_type *)(begin);\
  |  |   51|    790|        const from_type *_end = (const from_type *)(end);\
  |  |   52|    790|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   53|    790|        const from_type *_unrolled_end =                \
  |  |   54|    790|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  236|    790|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   55|  3.47k|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (55:16): [True: 2.68k, False: 790]
  |  |  ------------------
  |  |   56|  2.68k|            _to[0] = (to_type) _iter[0];                \
  |  |   57|  2.68k|            _to[1] = (to_type) _iter[1];                \
  |  |   58|  2.68k|            _to[2] = (to_type) _iter[2];                \
  |  |   59|  2.68k|            _to[3] = (to_type) _iter[3];                \
  |  |   60|  2.68k|            _iter += 4; _to += 4;                       \
  |  |   61|  2.68k|        }                                               \
  |  |   62|  1.91k|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (62:16): [True: 1.12k, False: 790]
  |  |  ------------------
  |  |   63|  1.12k|            *_to++ = (to_type) *_iter++;                \
  |  |   64|    790|    } while (0)
  |  |  ------------------
  |  |  |  Branch (64:14): [Folded, False: 790]
  |  |  ------------------
  ------------------
 1869|    790|        break;
 1870|       |
 1871|      0|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (1871:5): [True: 0, False: 790]
  ------------------
 1872|       |#if SIZEOF_WCHAR_T == 2
 1873|       |        memcpy(data, u, size * 2);
 1874|       |#else
 1875|      0|        _PyUnicode_CONVERT_BYTES(wchar_t, Py_UCS2, u, u + size, data);
  ------------------
  |  |   48|      0|    do {                                                \
  |  |   49|      0|        to_type *_to = (to_type *)(to);                 \
  |  |   50|      0|        const from_type *_iter = (const from_type *)(begin);\
  |  |   51|      0|        const from_type *_end = (const from_type *)(end);\
  |  |   52|      0|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   53|      0|        const from_type *_unrolled_end =                \
  |  |   54|      0|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  236|      0|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   55|      0|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (55:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   56|      0|            _to[0] = (to_type) _iter[0];                \
  |  |   57|      0|            _to[1] = (to_type) _iter[1];                \
  |  |   58|      0|            _to[2] = (to_type) _iter[2];                \
  |  |   59|      0|            _to[3] = (to_type) _iter[3];                \
  |  |   60|      0|            _iter += 4; _to += 4;                       \
  |  |   61|      0|        }                                               \
  |  |   62|      0|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (62:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   63|      0|            *_to++ = (to_type) *_iter++;                \
  |  |   64|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (64:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1876|      0|#endif
 1877|      0|        break;
 1878|       |
 1879|      0|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (1879:5): [True: 0, False: 790]
  ------------------
 1880|      0|    {
 1881|       |#if SIZEOF_WCHAR_T == 2
 1882|       |        // Convert a 16-bits wchar_t representation to UCS4, this will decode
 1883|       |        // surrogate pairs.
 1884|       |        const wchar_t *end = u + size;
 1885|       |        Py_UCS4 *ucs4_out = (Py_UCS4*)data;
 1886|       |#  ifndef NDEBUG
 1887|       |        Py_UCS4 *ucs4_end = (Py_UCS4*)data + (size - num_surrogates);
 1888|       |#  endif
 1889|       |        for (const wchar_t *iter = u; iter < end; ) {
 1890|       |            assert(ucs4_out < ucs4_end);
 1891|       |            if (Py_UNICODE_IS_HIGH_SURROGATE(iter[0])
 1892|       |                && (iter+1) < end
 1893|       |                && Py_UNICODE_IS_LOW_SURROGATE(iter[1]))
 1894|       |            {
 1895|       |                *ucs4_out++ = Py_UNICODE_JOIN_SURROGATES(iter[0], iter[1]);
 1896|       |                iter += 2;
 1897|       |            }
 1898|       |            else {
 1899|       |                *ucs4_out++ = *iter;
 1900|       |                iter++;
 1901|       |            }
 1902|       |        }
 1903|       |        assert(ucs4_out == ucs4_end);
 1904|       |#else
 1905|      0|        assert(num_surrogates == 0);
  ------------------
  |  Branch (1905:9): [True: 0, False: 0]
  ------------------
 1906|      0|        memcpy(data, u, size * 4);
 1907|      0|#endif
 1908|      0|        break;
 1909|      0|    }
 1910|      0|    default:
  ------------------
  |  Branch (1910:5): [True: 0, False: 790]
  ------------------
 1911|      0|        Py_UNREACHABLE();
  ------------------
  |  |  289|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1912|    790|    }
 1913|    790|}
unicodeobject.c:_PyUnicode_FromUCS1:
 2176|  14.6k|{
 2177|  14.6k|    PyObject *res;
 2178|  14.6k|    unsigned char max_char;
 2179|       |
 2180|  14.6k|    if (size == 0) {
  ------------------
  |  Branch (2180:9): [True: 11, False: 14.6k]
  ------------------
 2181|     11|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  379|     11|    do {                             \
  |  |  380|     11|        return _PyUnicode_GetEmpty();\
  |  |  381|     11|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2182|     11|    }
 2183|  14.6k|    assert(size > 0);
  ------------------
  |  Branch (2183:5): [True: 14.6k, False: 0]
  ------------------
 2184|  14.6k|    if (size == 1) {
  ------------------
  |  Branch (2184:9): [True: 546, False: 14.0k]
  ------------------
 2185|    546|        return get_latin1_char(u[0]);
 2186|    546|    }
 2187|       |
 2188|  14.0k|    max_char = ucs1lib_find_max_char(u, u + size);
 2189|  14.0k|    res = PyUnicode_New(size, max_char);
 2190|  14.0k|    if (!res)
  ------------------
  |  Branch (2190:9): [True: 0, False: 14.0k]
  ------------------
 2191|      0|        return NULL;
 2192|  14.0k|    memcpy(PyUnicode_1BYTE_DATA(res), u, size);
  ------------------
  |  |  291|  14.0k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  14.0k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2193|  14.0k|    assert(_PyUnicode_CheckConsistency(res, 1));
  ------------------
  |  Branch (2193:5): [True: 14.0k, False: 0]
  ------------------
 2194|  14.0k|    return res;
 2195|  14.0k|}
unicodeobject.c:_PyUnicode_FromUCS4:
 2225|     25|{
 2226|     25|    PyObject *res;
 2227|     25|    Py_UCS4 max_char;
 2228|       |
 2229|     25|    if (size == 0)
  ------------------
  |  Branch (2229:9): [True: 0, False: 25]
  ------------------
 2230|      0|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  379|      0|    do {                             \
  |  |  380|      0|        return _PyUnicode_GetEmpty();\
  |  |  381|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2231|     25|    assert(size > 0);
  ------------------
  |  Branch (2231:5): [True: 25, False: 0]
  ------------------
 2232|     25|    if (size == 1)
  ------------------
  |  Branch (2232:9): [True: 0, False: 25]
  ------------------
 2233|      0|        return unicode_char(u[0]);
 2234|       |
 2235|     25|    max_char = ucs4lib_find_max_char(u, u + size);
 2236|     25|    res = PyUnicode_New(size, max_char);
 2237|     25|    if (!res)
  ------------------
  |  Branch (2237:9): [True: 0, False: 25]
  ------------------
 2238|      0|        return NULL;
 2239|     25|    if (max_char < 256)
  ------------------
  |  Branch (2239:9): [True: 0, False: 25]
  ------------------
 2240|      0|        _PyUnicode_CONVERT_BYTES(Py_UCS4, Py_UCS1, u, u + size,
  ------------------
  |  |   48|      0|    do {                                                \
  |  |   49|      0|        to_type *_to = (to_type *)(to);                 \
  |  |   50|      0|        const from_type *_iter = (const from_type *)(begin);\
  |  |   51|      0|        const from_type *_end = (const from_type *)(end);\
  |  |   52|      0|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   53|      0|        const from_type *_unrolled_end =                \
  |  |   54|      0|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  236|      0|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   55|      0|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (55:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   56|      0|            _to[0] = (to_type) _iter[0];                \
  |  |   57|      0|            _to[1] = (to_type) _iter[1];                \
  |  |   58|      0|            _to[2] = (to_type) _iter[2];                \
  |  |   59|      0|            _to[3] = (to_type) _iter[3];                \
  |  |   60|      0|            _iter += 4; _to += 4;                       \
  |  |   61|      0|        }                                               \
  |  |   62|      0|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (62:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   63|      0|            *_to++ = (to_type) *_iter++;                \
  |  |   64|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (64:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2241|     25|                                 PyUnicode_1BYTE_DATA(res));
 2242|     25|    else if (max_char < 0x10000)
  ------------------
  |  Branch (2242:14): [True: 15, False: 10]
  ------------------
 2243|     15|        _PyUnicode_CONVERT_BYTES(Py_UCS4, Py_UCS2, u, u + size,
  ------------------
  |  |   48|     15|    do {                                                \
  |  |   49|     15|        to_type *_to = (to_type *)(to);                 \
  |  |   50|     15|        const from_type *_iter = (const from_type *)(begin);\
  |  |   51|     15|        const from_type *_end = (const from_type *)(end);\
  |  |   52|     15|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   53|     15|        const from_type *_unrolled_end =                \
  |  |   54|     15|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  236|     15|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   55|  2.96M|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (55:16): [True: 2.96M, False: 15]
  |  |  ------------------
  |  |   56|  2.96M|            _to[0] = (to_type) _iter[0];                \
  |  |   57|  2.96M|            _to[1] = (to_type) _iter[1];                \
  |  |   58|  2.96M|            _to[2] = (to_type) _iter[2];                \
  |  |   59|  2.96M|            _to[3] = (to_type) _iter[3];                \
  |  |   60|  2.96M|            _iter += 4; _to += 4;                       \
  |  |   61|  2.96M|        }                                               \
  |  |   62|     37|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (62:16): [True: 22, False: 15]
  |  |  ------------------
  |  |   63|     22|            *_to++ = (to_type) *_iter++;                \
  |  |   64|     15|    } while (0)
  |  |  ------------------
  |  |  |  Branch (64:14): [Folded, False: 15]
  |  |  ------------------
  ------------------
 2244|     25|                                 PyUnicode_2BYTE_DATA(res));
 2245|     10|    else
 2246|     10|        memcpy(PyUnicode_4BYTE_DATA(res), u, sizeof(Py_UCS4)*size);
  ------------------
  |  |  293|     10|#define PyUnicode_4BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS4*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|     10|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2247|     25|    assert(_PyUnicode_CheckConsistency(res, 1));
  ------------------
  |  Branch (2247:5): [True: 25, False: 0]
  ------------------
 2248|     25|    return res;
 2249|     25|}
unicodeobject.c:unicode_from_format:
 3081|    176|{
 3082|    176|    Py_ssize_t len = strlen(format);
 3083|    176|    writer->min_length += len + 100;
 3084|    176|    writer->overallocate = 1;
 3085|       |
 3086|       |    // Copy varags to be able to pass a reference to a subfunction.
 3087|    176|    va_list vargs2;
 3088|    176|    va_copy(vargs2, vargs);
 3089|       |
 3090|       |    // _PyUnicodeWriter_WriteASCIIString() below requires the format string
 3091|       |    // to be encoded to ASCII.
 3092|    176|    int is_ascii = (ucs1lib_find_max_char((Py_UCS1*)format, (Py_UCS1*)format + len) < 128);
 3093|    176|    if (!is_ascii) {
  ------------------
  |  Branch (3093:9): [True: 0, False: 176]
  ------------------
 3094|      0|        Py_ssize_t i;
 3095|      0|        for (i=0; i < len && (unsigned char)format[i] <= 127; i++);
  ------------------
  |  Branch (3095:19): [True: 0, False: 0]
  |  Branch (3095:30): [True: 0, False: 0]
  ------------------
 3096|      0|        PyErr_Format(PyExc_ValueError,
 3097|      0|            "PyUnicode_FromFormatV() expects an ASCII-encoded format "
 3098|      0|            "string, got a non-ASCII byte: 0x%02x",
 3099|      0|            (unsigned char)format[i]);
 3100|      0|        goto fail;
 3101|      0|    }
 3102|       |
 3103|    827|    for (const char *f = format; *f; ) {
  ------------------
  |  Branch (3103:34): [True: 651, False: 176]
  ------------------
 3104|    651|        if (*f == '%') {
  ------------------
  |  Branch (3104:13): [True: 275, False: 376]
  ------------------
 3105|    275|            f = unicode_fromformat_arg(writer, f, &vargs2);
 3106|    275|            if (f == NULL)
  ------------------
  |  Branch (3106:17): [True: 0, False: 275]
  ------------------
 3107|      0|                goto fail;
 3108|    275|        }
 3109|    376|        else {
 3110|    376|            const char *p = strchr(f, '%');
 3111|    376|            if (p != NULL) {
  ------------------
  |  Branch (3111:17): [True: 237, False: 139]
  ------------------
 3112|    237|                len = p - f;
 3113|    237|            }
 3114|    139|            else {
 3115|    139|                len = strlen(f);
 3116|    139|                writer->overallocate = 0;
 3117|    139|            }
 3118|       |
 3119|    376|            if (_PyUnicodeWriter_WriteASCIIString(writer, f, len) < 0) {
  ------------------
  |  Branch (3119:17): [True: 0, False: 376]
  ------------------
 3120|      0|                goto fail;
 3121|      0|            }
 3122|    376|            f += len;
 3123|    376|        }
 3124|    651|    }
 3125|    176|    va_end(vargs2);
 3126|    176|    return 0;
 3127|       |
 3128|      0|  fail:
 3129|       |    va_end(vargs2);
 3130|      0|    return -1;
 3131|    176|}
unicodeobject.c:unicode_fromformat_arg:
 2665|    275|{
 2666|    275|    const char *p;
 2667|    275|    Py_ssize_t len;
 2668|    275|    int flags = 0;
 2669|    275|    Py_ssize_t width;
 2670|    275|    Py_ssize_t precision;
 2671|       |
 2672|    275|    p = f;
 2673|    275|    f++;
 2674|    275|    if (*f == '%') {
  ------------------
  |  Branch (2674:9): [True: 0, False: 275]
  ------------------
 2675|      0|        if (_PyUnicodeWriter_WriteCharInline(writer, '%') < 0)
  ------------------
  |  Branch (2675:13): [True: 0, False: 0]
  ------------------
 2676|      0|            return NULL;
 2677|      0|        f++;
 2678|      0|        return f;
 2679|      0|    }
 2680|       |
 2681|       |    /* Parse flags. Example: "%-i" => flags=F_LJUST. */
 2682|       |    /* Flags '+', ' ' and '#' are not particularly useful.
 2683|       |     * They are not worth the implementation and maintenance costs.
 2684|       |     * In addition, '#' should add "0" for "o" conversions for compatibility
 2685|       |     * with printf, but it would confuse Python users. */
 2686|    286|    while (1) {
  ------------------
  |  Branch (2686:12): [True: 286, Folded]
  ------------------
 2687|    286|        switch (*f++) {
  ------------------
  |  Branch (2687:17): [True: 11, False: 275]
  ------------------
 2688|      0|        case '-': flags |= F_LJUST; continue;
  ------------------
  |  |   18|      0|#define F_LJUST (1<<0)
  ------------------
  |  Branch (2688:9): [True: 0, False: 286]
  ------------------
 2689|     11|        case '0': flags |= F_ZERO; continue;
  ------------------
  |  |   22|     11|#define F_ZERO  (1<<4)
  ------------------
  |  Branch (2689:9): [True: 11, False: 275]
  ------------------
 2690|      0|        case '#': flags |= F_ALT; continue;
  ------------------
  |  |   21|      0|#define F_ALT   (1<<3)
  ------------------
  |  Branch (2690:9): [True: 0, False: 286]
  ------------------
 2691|    286|        }
 2692|    275|        f--;
 2693|    275|        break;
 2694|    286|    }
 2695|       |
 2696|       |    /* parse the width.precision part, e.g. "%2.5s" => width=2, precision=5 */
 2697|    275|    width = -1;
 2698|    275|    if (*f == '*') {
  ------------------
  |  Branch (2698:9): [True: 0, False: 275]
  ------------------
 2699|      0|        width = va_arg(*vargs, int);
 2700|      0|        if (width < 0) {
  ------------------
  |  Branch (2700:13): [True: 0, False: 0]
  ------------------
 2701|      0|            flags |= F_LJUST;
  ------------------
  |  |   18|      0|#define F_LJUST (1<<0)
  ------------------
 2702|      0|            width = -width;
 2703|      0|        }
 2704|      0|        f++;
 2705|      0|    }
 2706|    275|    else if (Py_ISDIGIT((unsigned)*f)) {
  ------------------
  |  |   24|    275|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  163|    275|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|    275|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 11, False: 264]
  |  |  ------------------
  ------------------
 2707|     11|        width = *f - '0';
 2708|     11|        f++;
 2709|     11|        while (Py_ISDIGIT((unsigned)*f)) {
  ------------------
  |  |   24|     11|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  163|     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]
  |  |  ------------------
  ------------------
 2710|      0|            if (width > (PY_SSIZE_T_MAX - ((int)*f - '0')) / 10) {
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (2710:17): [True: 0, False: 0]
  ------------------
 2711|      0|                PyErr_SetString(PyExc_ValueError,
 2712|      0|                                "width too big");
 2713|      0|                return NULL;
 2714|      0|            }
 2715|      0|            width = (width * 10) + (*f - '0');
 2716|      0|            f++;
 2717|      0|        }
 2718|     11|    }
 2719|    275|    precision = -1;
 2720|    275|    if (*f == '.') {
  ------------------
  |  Branch (2720:9): [True: 53, False: 222]
  ------------------
 2721|     53|        f++;
 2722|     53|        if (*f == '*') {
  ------------------
  |  Branch (2722:13): [True: 0, False: 53]
  ------------------
 2723|      0|            precision = va_arg(*vargs, int);
 2724|      0|            if (precision < 0) {
  ------------------
  |  Branch (2724:17): [True: 0, False: 0]
  ------------------
 2725|      0|                precision = -2;
 2726|      0|            }
 2727|      0|            f++;
 2728|      0|        }
 2729|     53|        else if (Py_ISDIGIT((unsigned)*f)) {
  ------------------
  |  |   24|     53|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  163|     53|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|     53|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 53, False: 0]
  |  |  ------------------
  ------------------
 2730|     53|            precision = (*f - '0');
 2731|     53|            f++;
 2732|    159|            while (Py_ISDIGIT((unsigned)*f)) {
  ------------------
  |  |   24|    159|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  163|    159|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|    159|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 106, False: 53]
  |  |  ------------------
  ------------------
 2733|    106|                if (precision > (PY_SSIZE_T_MAX - ((int)*f - '0')) / 10) {
  ------------------
  |  |  137|    106|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (2733:21): [True: 0, False: 106]
  ------------------
 2734|      0|                    PyErr_SetString(PyExc_ValueError,
 2735|      0|                                    "precision too big");
 2736|      0|                    return NULL;
 2737|      0|                }
 2738|    106|                precision = (precision * 10) + (*f - '0');
 2739|    106|                f++;
 2740|    106|            }
 2741|     53|        }
 2742|     53|    }
 2743|       |
 2744|    275|    int sizemod = 0;
 2745|    275|    if (*f == 'l') {
  ------------------
  |  Branch (2745:9): [True: 0, False: 275]
  ------------------
 2746|      0|        if (f[1] == 'l') {
  ------------------
  |  Branch (2746:13): [True: 0, False: 0]
  ------------------
 2747|      0|            sizemod = F_LONGLONG;
  ------------------
  |  | 2657|      0|#define F_LONGLONG 2
  ------------------
 2748|      0|            f += 2;
 2749|      0|        }
 2750|      0|        else {
 2751|      0|            sizemod = F_LONG;
  ------------------
  |  | 2656|      0|#define F_LONG 1
  ------------------
 2752|      0|            ++f;
 2753|      0|        }
 2754|      0|    }
 2755|    275|    else if (*f == 'z') {
  ------------------
  |  Branch (2755:14): [True: 10, False: 265]
  ------------------
 2756|     10|        sizemod = F_SIZE;
  ------------------
  |  | 2658|     10|#define F_SIZE 3
  ------------------
 2757|     10|        ++f;
 2758|     10|    }
 2759|    265|    else if (*f == 't') {
  ------------------
  |  Branch (2759:14): [True: 0, False: 265]
  ------------------
 2760|      0|        sizemod = F_PTRDIFF;
  ------------------
  |  | 2659|      0|#define F_PTRDIFF 4
  ------------------
 2761|      0|        ++f;
 2762|      0|    }
 2763|    265|    else if (*f == 'j') {
  ------------------
  |  Branch (2763:14): [True: 0, False: 265]
  ------------------
 2764|      0|        sizemod = F_INTMAX;
  ------------------
  |  | 2660|      0|#define F_INTMAX 5
  ------------------
 2765|      0|        ++f;
 2766|      0|    }
 2767|    275|    if (f[0] != '\0' && f[1] == '\0')
  ------------------
  |  Branch (2767:9): [True: 275, False: 0]
  |  Branch (2767:25): [True: 37, False: 238]
  ------------------
 2768|     37|        writer->overallocate = 0;
 2769|       |
 2770|    275|    switch (*f) {
 2771|     28|    case 'd': case 'i': case 'o': case 'u': case 'x': case 'X':
  ------------------
  |  Branch (2771:5): [True: 17, False: 258]
  |  Branch (2771:15): [True: 0, False: 275]
  |  Branch (2771:25): [True: 0, False: 275]
  |  Branch (2771:35): [True: 0, False: 275]
  |  Branch (2771:45): [True: 0, False: 275]
  |  Branch (2771:55): [True: 11, False: 264]
  ------------------
 2772|     28|        break;
 2773|     44|    case 'c': case 'p':
  ------------------
  |  Branch (2773:5): [True: 44, False: 231]
  |  Branch (2773:15): [True: 0, False: 275]
  ------------------
 2774|     44|        if (sizemod || width >= 0 || precision >= 0) goto invalid_format;
  ------------------
  |  Branch (2774:13): [True: 0, False: 44]
  |  Branch (2774:24): [True: 0, False: 44]
  |  Branch (2774:38): [True: 0, False: 44]
  ------------------
 2775|     44|        break;
 2776|     86|    case 's':
  ------------------
  |  Branch (2776:5): [True: 86, False: 189]
  ------------------
 2777|     86|    case 'V':
  ------------------
  |  Branch (2777:5): [True: 0, False: 275]
  ------------------
 2778|     86|        if (sizemod && sizemod != F_LONG) goto invalid_format;
  ------------------
  |  | 2656|      0|#define F_LONG 1
  ------------------
  |  Branch (2778:13): [True: 0, False: 86]
  |  Branch (2778:24): [True: 0, False: 0]
  ------------------
 2779|     86|        break;
 2780|    117|    default:
  ------------------
  |  Branch (2780:5): [True: 117, False: 158]
  ------------------
 2781|    117|        if (sizemod) goto invalid_format;
  ------------------
  |  Branch (2781:13): [True: 0, False: 117]
  ------------------
 2782|    117|        break;
 2783|    275|    }
 2784|       |
 2785|    275|    switch (*f) {
 2786|     44|    case 'c':
  ------------------
  |  Branch (2786:5): [True: 44, False: 231]
  ------------------
 2787|     44|    {
 2788|     44|        int ordinal = va_arg(*vargs, int);
 2789|     44|        if (ordinal < 0 || ordinal > MAX_UNICODE) {
  ------------------
  |  |  108|     44|#define MAX_UNICODE _Py_MAX_UNICODE
  |  |  ------------------
  |  |  |  |   17|     44|#define _Py_MAX_UNICODE 0x10ffff
  |  |  ------------------
  ------------------
  |  Branch (2789:13): [True: 0, False: 44]
  |  Branch (2789:28): [True: 0, False: 44]
  ------------------
 2790|      0|            PyErr_SetString(PyExc_OverflowError,
 2791|      0|                            "character argument not in range(0x110000)");
 2792|      0|            return NULL;
 2793|      0|        }
 2794|     44|        if (_PyUnicodeWriter_WriteCharInline(writer, ordinal) < 0)
  ------------------
  |  Branch (2794:13): [True: 0, False: 44]
  ------------------
 2795|      0|            return NULL;
 2796|     44|        break;
 2797|     44|    }
 2798|       |
 2799|     44|    case 'd': case 'i':
  ------------------
  |  Branch (2799:5): [True: 17, False: 258]
  |  Branch (2799:15): [True: 0, False: 275]
  ------------------
 2800|     28|    case 'o': case 'u': case 'x': case 'X':
  ------------------
  |  Branch (2800:5): [True: 0, False: 275]
  |  Branch (2800:15): [True: 0, False: 275]
  |  Branch (2800:25): [True: 0, False: 275]
  |  Branch (2800:35): [True: 11, False: 264]
  ------------------
 2801|     28|    {
 2802|     28|        char buffer[MAX_INTMAX_CHARS];
 2803|       |
 2804|       |        // Fill buffer using sprinf, with one of many possible format
 2805|       |        // strings, like "%llX" for `long long` in hexadecimal.
 2806|       |        // The type/size is in `sizemod`; the format is in `*f`.
 2807|       |
 2808|       |        // Use macros with nested switches to keep the sprintf format strings
 2809|       |        // as compile-time literals, avoiding warnings and maybe allowing
 2810|       |        // optimizations.
 2811|       |
 2812|       |        // `SPRINT` macro does one sprintf
 2813|       |        // Example usage: SPRINT("l", "X", unsigned long) expands to
 2814|       |        // sprintf(buffer, "%" "l" "X", va_arg(*vargs, unsigned long))
 2815|     28|        #define SPRINT(SIZE_SPEC, FMT_CHAR, TYPE) \
 2816|     28|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
 2817|       |
 2818|       |        // One inner switch to handle all format variants
 2819|     28|        #define DO_SPRINTS(SIZE_SPEC, SIGNED_TYPE, UNSIGNED_TYPE)             \
 2820|     28|            switch (*f) {                                                     \
 2821|     28|                case 'o': len = SPRINT(SIZE_SPEC, "o", UNSIGNED_TYPE); break; \
 2822|     28|                case 'u': len = SPRINT(SIZE_SPEC, "u", UNSIGNED_TYPE); break; \
 2823|     28|                case 'x': len = SPRINT(SIZE_SPEC, "x", UNSIGNED_TYPE); break; \
 2824|     28|                case 'X': len = SPRINT(SIZE_SPEC, "X", UNSIGNED_TYPE); break; \
 2825|     28|                default:  len = SPRINT(SIZE_SPEC, "d", SIGNED_TYPE); break;   \
 2826|     28|            }
 2827|       |
 2828|       |        // Outer switch to handle all the sizes/types
 2829|     28|        switch (sizemod) {
 2830|      0|            case F_LONG:     DO_SPRINTS("l", long, unsigned long); break;
  ------------------
  |  | 2656|      0|#define F_LONG 1
  ------------------
                          case F_LONG:     DO_SPRINTS("l", long, unsigned long); break;
  ------------------
  |  | 2820|      0|            switch (*f) {                                                     \
  |  | 2821|      0|                case 'o': len = SPRINT(SIZE_SPEC, "o", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2816|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2821:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2822|      0|                case 'u': len = SPRINT(SIZE_SPEC, "u", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2816|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2822:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2823|      0|                case 'x': len = SPRINT(SIZE_SPEC, "x", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2816|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2823:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2824|      0|                case 'X': len = SPRINT(SIZE_SPEC, "X", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2816|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2824:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2825|      0|                default:  len = SPRINT(SIZE_SPEC, "d", SIGNED_TYPE); break;   \
  |  |  ------------------
  |  |  |  | 2816|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2825:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2826|      0|            }
  ------------------
  |  Branch (2830:13): [True: 0, False: 28]
  ------------------
 2831|      0|            case F_LONGLONG: DO_SPRINTS("ll", long long, unsigned long long); break;
  ------------------
  |  | 2657|      0|#define F_LONGLONG 2
  ------------------
                          case F_LONGLONG: DO_SPRINTS("ll", long long, unsigned long long); break;
  ------------------
  |  | 2820|      0|            switch (*f) {                                                     \
  |  | 2821|      0|                case 'o': len = SPRINT(SIZE_SPEC, "o", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2816|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2821:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2822|      0|                case 'u': len = SPRINT(SIZE_SPEC, "u", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2816|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2822:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2823|      0|                case 'x': len = SPRINT(SIZE_SPEC, "x", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2816|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2823:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2824|      0|                case 'X': len = SPRINT(SIZE_SPEC, "X", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2816|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2824:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2825|      0|                default:  len = SPRINT(SIZE_SPEC, "d", SIGNED_TYPE); break;   \
  |  |  ------------------
  |  |  |  | 2816|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2825:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2826|      0|            }
  ------------------
  |  Branch (2831:13): [True: 0, False: 28]
  ------------------
 2832|     10|            case F_SIZE:     DO_SPRINTS("z", Py_ssize_t, size_t); break;
  ------------------
  |  | 2658|     10|#define F_SIZE 3
  ------------------
                          case F_SIZE:     DO_SPRINTS("z", Py_ssize_t, size_t); break;
  ------------------
  |  | 2820|     10|            switch (*f) {                                                     \
  |  | 2821|      0|                case 'o': len = SPRINT(SIZE_SPEC, "o", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2816|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2821:17): [True: 0, False: 10]
  |  |  ------------------
  |  | 2822|      0|                case 'u': len = SPRINT(SIZE_SPEC, "u", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2816|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2822:17): [True: 0, False: 10]
  |  |  ------------------
  |  | 2823|      0|                case 'x': len = SPRINT(SIZE_SPEC, "x", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2816|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2823:17): [True: 0, False: 10]
  |  |  ------------------
  |  | 2824|      0|                case 'X': len = SPRINT(SIZE_SPEC, "X", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2816|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2824:17): [True: 0, False: 10]
  |  |  ------------------
  |  | 2825|     10|                default:  len = SPRINT(SIZE_SPEC, "d", SIGNED_TYPE); break;   \
  |  |  ------------------
  |  |  |  | 2816|     10|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2825:17): [True: 10, False: 0]
  |  |  ------------------
  |  | 2826|     10|            }
  ------------------
  |  Branch (2832:13): [True: 10, False: 18]
  ------------------
 2833|      0|            case F_PTRDIFF:  DO_SPRINTS("t", ptrdiff_t, ptrdiff_t); break;
  ------------------
  |  | 2659|      0|#define F_PTRDIFF 4
  ------------------
                          case F_PTRDIFF:  DO_SPRINTS("t", ptrdiff_t, ptrdiff_t); break;
  ------------------
  |  | 2820|      0|            switch (*f) {                                                     \
  |  | 2821|      0|                case 'o': len = SPRINT(SIZE_SPEC, "o", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2816|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2821:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2822|      0|                case 'u': len = SPRINT(SIZE_SPEC, "u", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2816|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2822:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2823|      0|                case 'x': len = SPRINT(SIZE_SPEC, "x", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2816|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2823:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2824|      0|                case 'X': len = SPRINT(SIZE_SPEC, "X", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2816|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2824:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2825|      0|                default:  len = SPRINT(SIZE_SPEC, "d", SIGNED_TYPE); break;   \
  |  |  ------------------
  |  |  |  | 2816|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2825:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2826|      0|            }
  ------------------
  |  Branch (2833:13): [True: 0, False: 28]
  ------------------
 2834|      0|            case F_INTMAX:   DO_SPRINTS("j", intmax_t, uintmax_t); break;
  ------------------
  |  | 2660|      0|#define F_INTMAX 5
  ------------------
                          case F_INTMAX:   DO_SPRINTS("j", intmax_t, uintmax_t); break;
  ------------------
  |  | 2820|      0|            switch (*f) {                                                     \
  |  | 2821|      0|                case 'o': len = SPRINT(SIZE_SPEC, "o", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2816|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2821:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2822|      0|                case 'u': len = SPRINT(SIZE_SPEC, "u", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2816|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2822:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2823|      0|                case 'x': len = SPRINT(SIZE_SPEC, "x", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2816|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2823:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2824|      0|                case 'X': len = SPRINT(SIZE_SPEC, "X", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2816|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2824:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2825|      0|                default:  len = SPRINT(SIZE_SPEC, "d", SIGNED_TYPE); break;   \
  |  |  ------------------
  |  |  |  | 2816|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2825:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2826|      0|            }
  ------------------
  |  Branch (2834:13): [True: 0, False: 28]
  ------------------
 2835|     18|            default:         DO_SPRINTS("", int, unsigned int); break;
  ------------------
  |  | 2820|     18|            switch (*f) {                                                     \
  |  | 2821|      0|                case 'o': len = SPRINT(SIZE_SPEC, "o", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2816|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2821:17): [True: 0, False: 18]
  |  |  ------------------
  |  | 2822|      0|                case 'u': len = SPRINT(SIZE_SPEC, "u", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2816|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2822:17): [True: 0, False: 18]
  |  |  ------------------
  |  | 2823|      0|                case 'x': len = SPRINT(SIZE_SPEC, "x", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2816|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2823:17): [True: 0, False: 18]
  |  |  ------------------
  |  | 2824|     11|                case 'X': len = SPRINT(SIZE_SPEC, "X", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2816|     11|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2824:17): [True: 11, False: 7]
  |  |  ------------------
  |  | 2825|      7|                default:  len = SPRINT(SIZE_SPEC, "d", SIGNED_TYPE); break;   \
  |  |  ------------------
  |  |  |  | 2816|      7|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2825:17): [True: 7, False: 11]
  |  |  ------------------
  |  | 2826|     18|            }
  ------------------
  |  Branch (2835:13): [True: 18, False: 10]
  ------------------
 2836|     28|        }
 2837|     28|        #undef SPRINT
 2838|     28|        #undef DO_SPRINTS
 2839|       |
 2840|     28|        assert(len >= 0);
  ------------------
  |  Branch (2840:9): [True: 28, False: 0]
  ------------------
 2841|       |
 2842|     28|        int sign = (buffer[0] == '-');
 2843|     28|        len -= sign;
 2844|       |
 2845|     28|        precision = Py_MAX(precision, len);
  ------------------
  |  |  126|     28|       __extension__ \
  |  |  127|     28|       ({ _Py_TYPEOF (x) _x = (x); \
  |  |  ------------------
  |  |  |  |  552|     28|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  128|     28|          _Py_TYPEOF (y) _y = (y); \
  |  |  ------------------
  |  |  |  |  552|     28|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|     28|          _x > _y ? _x : _y; })
  |  |  ------------------
  |  |  |  Branch (129:11): [True: 0, False: 28]
  |  |  ------------------
  ------------------
 2846|     28|        width = Py_MAX(width, precision + sign);
  ------------------
  |  |  126|     28|       __extension__ \
  |  |  127|     28|       ({ _Py_TYPEOF (x) _x = (x); \
  |  |  ------------------
  |  |  |  |  552|     28|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  128|     28|          _Py_TYPEOF (y) _y = (y); \
  |  |  ------------------
  |  |  |  |  552|     28|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|     28|          _x > _y ? _x : _y; })
  |  |  ------------------
  |  |  |  Branch (129:11): [True: 8, False: 20]
  |  |  ------------------
  ------------------
 2847|     28|        if ((flags & F_ZERO) && !(flags & F_LJUST)) {
  ------------------
  |  |   22|     28|#define F_ZERO  (1<<4)
  ------------------
                      if ((flags & F_ZERO) && !(flags & F_LJUST)) {
  ------------------
  |  |   18|     11|#define F_LJUST (1<<0)
  ------------------
  |  Branch (2847:13): [True: 11, False: 17]
  |  Branch (2847:33): [True: 11, False: 0]
  ------------------
 2848|     11|            precision = width - sign;
 2849|     11|        }
 2850|       |
 2851|     28|        Py_ssize_t spacepad = Py_MAX(width - precision - sign, 0);
  ------------------
  |  |  126|     28|       __extension__ \
  |  |  127|     28|       ({ _Py_TYPEOF (x) _x = (x); \
  |  |  ------------------
  |  |  |  |  552|     28|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  128|     28|          _Py_TYPEOF (y) _y = (y); \
  |  |  ------------------
  |  |  |  |  552|     28|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|     28|          _x > _y ? _x : _y; })
  |  |  ------------------
  |  |  |  Branch (129:11): [True: 0, False: 28]
  |  |  ------------------
  ------------------
 2852|     28|        Py_ssize_t zeropad = Py_MAX(precision - len, 0);
  ------------------
  |  |  126|     28|       __extension__ \
  |  |  127|     28|       ({ _Py_TYPEOF (x) _x = (x); \
  |  |  ------------------
  |  |  |  |  552|     28|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  128|     28|          _Py_TYPEOF (y) _y = (y); \
  |  |  ------------------
  |  |  |  |  552|     28|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|     28|          _x > _y ? _x : _y; })
  |  |  ------------------
  |  |  |  Branch (129:11): [True: 8, False: 20]
  |  |  ------------------
  ------------------
 2853|       |
 2854|     28|        if (_PyUnicodeWriter_Prepare(writer, width, 127) == -1) {
  ------------------
  |  |  562|     28|    (((MAXCHAR) <= (WRITER)->maxchar                                  \
  |  |  ------------------
  |  |  |  Branch (562:7): [True: 28, False: 0]
  |  |  ------------------
  |  |  563|     28|      && (LENGTH) <= (WRITER)->size - (WRITER)->pos)                  \
  |  |  ------------------
  |  |  |  Branch (563:10): [True: 28, False: 0]
  |  |  ------------------
  |  |  564|     28|     ? 0                                                              \
  |  |  565|     28|     : (((LENGTH) == 0)                                               \
  |  |  ------------------
  |  |  |  Branch (565:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  566|      0|        ? 0                                                           \
  |  |  567|      0|        : _PyUnicodeWriter_PrepareInternal((WRITER), (LENGTH), (MAXCHAR))))
  ------------------
  |  Branch (2854:13): [True: 0, False: 28]
  ------------------
 2855|      0|            return NULL;
 2856|      0|        }
 2857|     28|        assert(_PyUnicodeWriter_CanWrite(writer));
  ------------------
  |  Branch (2857:9): [True: 28, False: 0]
  ------------------
 2858|       |
 2859|     28|        if (spacepad && !(flags & F_LJUST)) {
  ------------------
  |  |   18|      0|#define F_LJUST (1<<0)
  ------------------
  |  Branch (2859:13): [True: 0, False: 28]
  |  Branch (2859:25): [True: 0, False: 0]
  ------------------
 2860|      0|            if (PyUnicode_Fill(writer->buffer, writer->pos, spacepad, ' ') == -1)
  ------------------
  |  Branch (2860:17): [True: 0, False: 0]
  ------------------
 2861|      0|                return NULL;
 2862|      0|            writer->pos += spacepad;
 2863|      0|        }
 2864|       |
 2865|     28|        if (sign) {
  ------------------
  |  Branch (2865:13): [True: 0, False: 28]
  ------------------
 2866|      0|            if (_PyUnicodeWriter_WriteChar(writer, '-') == -1)
  ------------------
  |  Branch (2866:17): [True: 0, False: 0]
  ------------------
 2867|      0|                return NULL;
 2868|      0|        }
 2869|       |
 2870|     28|        if (zeropad) {
  ------------------
  |  Branch (2870:13): [True: 8, False: 20]
  ------------------
 2871|      8|            if (PyUnicode_Fill(writer->buffer, writer->pos, zeropad, '0') == -1)
  ------------------
  |  Branch (2871:17): [True: 0, False: 8]
  ------------------
 2872|      0|                return NULL;
 2873|      8|            writer->pos += zeropad;
 2874|      8|        }
 2875|       |
 2876|     28|        if (_PyUnicodeWriter_WriteASCIIString(writer, &buffer[sign], len) < 0)
  ------------------
  |  Branch (2876:13): [True: 0, False: 28]
  ------------------
 2877|      0|            return NULL;
 2878|       |
 2879|     28|        if (spacepad && (flags & F_LJUST)) {
  ------------------
  |  |   18|      0|#define F_LJUST (1<<0)
  ------------------
  |  Branch (2879:13): [True: 0, False: 28]
  |  Branch (2879:25): [True: 0, False: 0]
  ------------------
 2880|      0|            if (PyUnicode_Fill(writer->buffer, writer->pos, spacepad, ' ') == -1)
  ------------------
  |  Branch (2880:17): [True: 0, False: 0]
  ------------------
 2881|      0|                return NULL;
 2882|      0|            writer->pos += spacepad;
 2883|      0|        }
 2884|     28|        break;
 2885|     28|    }
 2886|       |
 2887|     28|    case 'p':
  ------------------
  |  Branch (2887:5): [True: 0, False: 275]
  ------------------
 2888|      0|    {
 2889|      0|        char number[MAX_INTMAX_CHARS];
 2890|       |
 2891|      0|        len = sprintf(number, "%p", va_arg(*vargs, void*));
 2892|      0|        assert(len >= 0);
  ------------------
  |  Branch (2892:9): [True: 0, False: 0]
  ------------------
 2893|       |
 2894|       |        /* %p is ill-defined:  ensure leading 0x. */
 2895|      0|        if (number[1] == 'X')
  ------------------
  |  Branch (2895:13): [True: 0, False: 0]
  ------------------
 2896|      0|            number[1] = 'x';
 2897|      0|        else if (number[1] != 'x') {
  ------------------
  |  Branch (2897:18): [True: 0, False: 0]
  ------------------
 2898|      0|            memmove(number + 2, number,
 2899|      0|                    strlen(number) + 1);
 2900|      0|            number[0] = '0';
 2901|      0|            number[1] = 'x';
 2902|      0|            len += 2;
 2903|      0|        }
 2904|       |
 2905|      0|        if (_PyUnicodeWriter_WriteASCIIString(writer, number, len) < 0)
  ------------------
  |  Branch (2905:13): [True: 0, False: 0]
  ------------------
 2906|      0|            return NULL;
 2907|      0|        break;
 2908|      0|    }
 2909|       |
 2910|     86|    case 's':
  ------------------
  |  Branch (2910:5): [True: 86, False: 189]
  ------------------
 2911|     86|    {
 2912|     86|        if (sizemod) {
  ------------------
  |  Branch (2912:13): [True: 0, False: 86]
  ------------------
 2913|      0|            const wchar_t *s = va_arg(*vargs, const wchar_t*);
 2914|      0|            if (unicode_fromformat_write_wcstr(writer, s, width, precision, flags) < 0)
  ------------------
  |  Branch (2914:17): [True: 0, False: 0]
  ------------------
 2915|      0|                return NULL;
 2916|      0|        }
 2917|     86|        else {
 2918|       |            /* UTF-8 */
 2919|     86|            const char *s = va_arg(*vargs, const char*);
 2920|     86|            if (unicode_fromformat_write_utf8(writer, s, width, precision, flags) < 0)
  ------------------
  |  Branch (2920:17): [True: 0, False: 86]
  ------------------
 2921|      0|                return NULL;
 2922|     86|        }
 2923|     86|        break;
 2924|     86|    }
 2925|       |
 2926|    109|    case 'U':
  ------------------
  |  Branch (2926:5): [True: 109, False: 166]
  ------------------
 2927|    109|    {
 2928|    109|        PyObject *obj = va_arg(*vargs, PyObject *);
 2929|    109|        assert(obj && _PyUnicode_CHECK(obj));
  ------------------
  |  Branch (2929:9): [True: 109, False: 0]
  |  Branch (2929:9): [True: 109, False: 0]
  ------------------
 2930|       |
 2931|    109|        if (unicode_fromformat_write_str(writer, obj, width, precision, flags) == -1)
  ------------------
  |  Branch (2931:13): [True: 0, False: 109]
  ------------------
 2932|      0|            return NULL;
 2933|    109|        break;
 2934|    109|    }
 2935|       |
 2936|    109|    case 'V':
  ------------------
  |  Branch (2936:5): [True: 0, False: 275]
  ------------------
 2937|      0|    {
 2938|      0|        PyObject *obj = va_arg(*vargs, PyObject *);
 2939|      0|        const char *str;
 2940|      0|        const wchar_t *wstr;
 2941|      0|        if (sizemod) {
  ------------------
  |  Branch (2941:13): [True: 0, False: 0]
  ------------------
 2942|      0|            wstr = va_arg(*vargs, const wchar_t*);
 2943|      0|        }
 2944|      0|        else {
 2945|      0|            str = va_arg(*vargs, const char *);
 2946|      0|        }
 2947|      0|        if (obj) {
  ------------------
  |  Branch (2947:13): [True: 0, False: 0]
  ------------------
 2948|      0|            assert(_PyUnicode_CHECK(obj));
  ------------------
  |  Branch (2948:13): [True: 0, False: 0]
  ------------------
 2949|      0|            if (unicode_fromformat_write_str(writer, obj, width, precision, flags) == -1)
  ------------------
  |  Branch (2949:17): [True: 0, False: 0]
  ------------------
 2950|      0|                return NULL;
 2951|      0|        }
 2952|      0|        else if (sizemod) {
  ------------------
  |  Branch (2952:18): [True: 0, False: 0]
  ------------------
 2953|      0|            assert(wstr != NULL);
  ------------------
  |  Branch (2953:13): [True: 0, False: 0]
  ------------------
 2954|      0|            if (unicode_fromformat_write_wcstr(writer, wstr, width, precision, flags) < 0)
  ------------------
  |  Branch (2954:17): [True: 0, False: 0]
  ------------------
 2955|      0|                return NULL;
 2956|      0|        }
 2957|      0|        else {
 2958|      0|            assert(str != NULL);
  ------------------
  |  Branch (2958:13): [True: 0, False: 0]
  ------------------
 2959|      0|            if (unicode_fromformat_write_utf8(writer, str, width, precision, flags) < 0)
  ------------------
  |  Branch (2959:17): [True: 0, False: 0]
  ------------------
 2960|      0|                return NULL;
 2961|      0|        }
 2962|      0|        break;
 2963|      0|    }
 2964|       |
 2965|      6|    case 'S':
  ------------------
  |  Branch (2965:5): [True: 6, False: 269]
  ------------------
 2966|      6|    {
 2967|      6|        PyObject *obj = va_arg(*vargs, PyObject *);
 2968|      6|        PyObject *str;
 2969|      6|        assert(obj);
  ------------------
  |  Branch (2969:9): [True: 6, False: 0]
  ------------------
 2970|      6|        str = PyObject_Str(obj);
 2971|      6|        if (!str)
  ------------------
  |  Branch (2971:13): [True: 0, False: 6]
  ------------------
 2972|      0|            return NULL;
 2973|      6|        if (unicode_fromformat_write_str(writer, str, width, precision, flags) == -1) {
  ------------------
  |  Branch (2973:13): [True: 0, False: 6]
  ------------------
 2974|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2975|      0|            return NULL;
 2976|      0|        }
 2977|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2978|      6|        break;
 2979|      6|    }
 2980|       |
 2981|      2|    case 'R':
  ------------------
  |  Branch (2981:5): [True: 2, False: 273]
  ------------------
 2982|      2|    {
 2983|      2|        PyObject *obj = va_arg(*vargs, PyObject *);
 2984|      2|        PyObject *repr;
 2985|      2|        assert(obj);
  ------------------
  |  Branch (2985:9): [True: 2, False: 0]
  ------------------
 2986|      2|        repr = PyObject_Repr(obj);
 2987|      2|        if (!repr)
  ------------------
  |  Branch (2987:13): [True: 0, False: 2]
  ------------------
 2988|      0|            return NULL;
 2989|      2|        if (unicode_fromformat_write_str(writer, repr, width, precision, flags) == -1) {
  ------------------
  |  Branch (2989:13): [True: 0, False: 2]
  ------------------
 2990|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2991|      0|            return NULL;
 2992|      0|        }
 2993|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2994|      2|        break;
 2995|      2|    }
 2996|       |
 2997|      0|    case 'A':
  ------------------
  |  Branch (2997:5): [True: 0, False: 275]
  ------------------
 2998|      0|    {
 2999|      0|        PyObject *obj = va_arg(*vargs, PyObject *);
 3000|      0|        PyObject *ascii;
 3001|      0|        assert(obj);
  ------------------
  |  Branch (3001:9): [True: 0, False: 0]
  ------------------
 3002|      0|        ascii = PyObject_ASCII(obj);
 3003|      0|        if (!ascii)
  ------------------
  |  Branch (3003:13): [True: 0, False: 0]
  ------------------
 3004|      0|            return NULL;
 3005|      0|        if (unicode_fromformat_write_str(writer, ascii, width, precision, flags) == -1) {
  ------------------
  |  Branch (3005:13): [True: 0, False: 0]
  ------------------
 3006|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3007|      0|            return NULL;
 3008|      0|        }
 3009|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3010|      0|        break;
 3011|      0|    }
 3012|       |
 3013|      0|    case 'T':
  ------------------
  |  Branch (3013:5): [True: 0, False: 275]
  ------------------
 3014|      0|    {
 3015|      0|        PyObject *obj = va_arg(*vargs, PyObject *);
 3016|      0|        PyTypeObject *type = (PyTypeObject *)Py_NewRef(Py_TYPE(obj));
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3017|       |
 3018|      0|        PyObject *type_name;
 3019|      0|        if (flags & F_ALT) {
  ------------------
  |  |   21|      0|#define F_ALT   (1<<3)
  ------------------
  |  Branch (3019:13): [True: 0, False: 0]
  ------------------
 3020|      0|            type_name = _PyType_GetFullyQualifiedName(type, ':');
 3021|      0|        }
 3022|      0|        else {
 3023|      0|            type_name = PyType_GetFullyQualifiedName(type);
 3024|      0|        }
 3025|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3026|      0|        if (!type_name) {
  ------------------
  |  Branch (3026:13): [True: 0, False: 0]
  ------------------
 3027|      0|            return NULL;
 3028|      0|        }
 3029|       |
 3030|      0|        if (unicode_fromformat_write_str(writer, type_name,
  ------------------
  |  Branch (3030:13): [True: 0, False: 0]
  ------------------
 3031|      0|                                         width, precision, flags) == -1) {
 3032|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3033|      0|            return NULL;
 3034|      0|        }
 3035|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3036|      0|        break;
 3037|      0|    }
 3038|       |
 3039|      0|    case 'N':
  ------------------
  |  Branch (3039:5): [True: 0, False: 275]
  ------------------
 3040|      0|    {
 3041|      0|        PyObject *type_raw = va_arg(*vargs, PyObject *);
 3042|      0|        assert(type_raw != NULL);
  ------------------
  |  Branch (3042:9): [True: 0, False: 0]
  ------------------
 3043|       |
 3044|      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 (3044:13): [True: 0, False: 0]
  ------------------
 3045|      0|            PyErr_SetString(PyExc_TypeError, "%N argument must be a type");
 3046|      0|            return NULL;
 3047|      0|        }
 3048|      0|        PyTypeObject *type = (PyTypeObject*)type_raw;
 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|        if (!type_name) {
  ------------------
  |  Branch (3057:13): [True: 0, False: 0]
  ------------------
 3058|      0|            return NULL;
 3059|      0|        }
 3060|      0|        if (unicode_fromformat_write_str(writer, type_name,
  ------------------
  |  Branch (3060:13): [True: 0, False: 0]
  ------------------
 3061|      0|                                         width, precision, flags) == -1) {
 3062|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3063|      0|            return NULL;
 3064|      0|        }
 3065|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3066|      0|        break;
 3067|      0|    }
 3068|       |
 3069|      0|    default:
  ------------------
  |  Branch (3069:5): [True: 0, False: 275]
  ------------------
 3070|      0|    invalid_format:
 3071|      0|        PyErr_Format(PyExc_SystemError, "invalid format string: %s", p);
 3072|      0|        return NULL;
 3073|    275|    }
 3074|       |
 3075|    275|    f++;
 3076|    275|    return f;
 3077|    275|}
unicodeobject.c:unicode_fromformat_write_utf8:
 2589|     86|{
 2590|       |    /* UTF-8 */
 2591|     86|    Py_ssize_t *pconsumed = NULL;
 2592|     86|    Py_ssize_t length;
 2593|     86|    if (precision == -1) {
  ------------------
  |  Branch (2593:9): [True: 33, False: 53]
  ------------------
 2594|     33|        length = strlen(str);
 2595|     33|    }
 2596|     53|    else {
 2597|     53|        length = 0;
 2598|    306|        while (length < precision && str[length]) {
  ------------------
  |  Branch (2598:16): [True: 306, False: 0]
  |  Branch (2598:38): [True: 253, False: 53]
  ------------------
 2599|    253|            length++;
 2600|    253|        }
 2601|     53|        if (length == precision) {
  ------------------
  |  Branch (2601:13): [True: 0, False: 53]
  ------------------
 2602|       |            /* The input string is not NUL-terminated.  If it ends with an
 2603|       |             * incomplete UTF-8 sequence, truncate the string just before it.
 2604|       |             * Incomplete sequences in the middle and sequences which cannot
 2605|       |             * be valid prefixes are still treated as errors and replaced
 2606|       |             * with \xfffd. */
 2607|      0|            pconsumed = &length;
 2608|      0|        }
 2609|     53|    }
 2610|       |
 2611|     86|    if (width < 0) {
  ------------------
  |  Branch (2611:9): [True: 86, False: 0]
  ------------------
 2612|     86|        return _PyUnicode_DecodeUTF8Writer(writer, str, length,
 2613|     86|                                           _Py_ERROR_REPLACE, "replace", pconsumed);
 2614|     86|    }
 2615|       |
 2616|      0|    PyObject *unicode = PyUnicode_DecodeUTF8Stateful(str, length,
 2617|      0|                                                     "replace", pconsumed);
 2618|      0|    if (unicode == NULL)
  ------------------
  |  Branch (2618:9): [True: 0, False: 0]
  ------------------
 2619|      0|        return -1;
 2620|       |
 2621|      0|    int res = unicode_fromformat_write_str(writer, unicode,
 2622|      0|                                           width, -1, flags);
 2623|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2624|      0|    return res;
 2625|      0|}
unicodeobject.c:unicode_fromformat_write_str:
 2543|    117|{
 2544|    117|    Py_ssize_t length, fill, arglen;
 2545|    117|    Py_UCS4 maxchar;
 2546|       |
 2547|    117|    length = PyUnicode_GET_LENGTH(str);
  ------------------
  |  |  299|    117|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    117|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    117|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2548|    117|    if ((precision == -1 || precision >= length)
  ------------------
  |  Branch (2548:10): [True: 117, False: 0]
  |  Branch (2548:29): [True: 0, False: 0]
  ------------------
 2549|    117|        && width <= length)
  ------------------
  |  Branch (2549:12): [True: 117, False: 0]
  ------------------
 2550|    117|        return _PyUnicodeWriter_WriteStr(writer, str);
 2551|       |
 2552|      0|    if (precision != -1)
  ------------------
  |  Branch (2552:9): [True: 0, False: 0]
  ------------------
 2553|      0|        length = Py_MIN(precision, length);
  ------------------
  |  |  120|      0|       __extension__ \
  |  |  121|      0|       ({ _Py_TYPEOF (x) _x = (x); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  122|      0|          _Py_TYPEOF (y) _y = (y); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  123|      0|          _x < _y ? _x : _y; })
  |  |  ------------------
  |  |  |  Branch (123:11): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2554|       |
 2555|      0|    arglen = Py_MAX(length, width);
  ------------------
  |  |  126|      0|       __extension__ \
  |  |  127|      0|       ({ _Py_TYPEOF (x) _x = (x); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  128|      0|          _Py_TYPEOF (y) _y = (y); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|      0|          _x > _y ? _x : _y; })
  |  |  ------------------
  |  |  |  Branch (129:11): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2556|      0|    if (PyUnicode_MAX_CHAR_VALUE(str) > writer->maxchar)
  ------------------
  |  |  405|      0|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2556:9): [True: 0, False: 0]
  ------------------
 2557|      0|        maxchar = _PyUnicode_FindMaxChar(str, 0, length);
 2558|      0|    else
 2559|      0|        maxchar = writer->maxchar;
 2560|       |
 2561|      0|    if (_PyUnicodeWriter_Prepare(writer, arglen, maxchar) == -1) {
  ------------------
  |  |  562|      0|    (((MAXCHAR) <= (WRITER)->maxchar                                  \
  |  |  ------------------
  |  |  |  Branch (562:7): [True: 0, False: 0]
  |  |  ------------------
  |  |  563|      0|      && (LENGTH) <= (WRITER)->size - (WRITER)->pos)                  \
  |  |  ------------------
  |  |  |  Branch (563:10): [True: 0, False: 0]
  |  |  ------------------
  |  |  564|      0|     ? 0                                                              \
  |  |  565|      0|     : (((LENGTH) == 0)                                               \
  |  |  ------------------
  |  |  |  Branch (565:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  566|      0|        ? 0                                                           \
  |  |  567|      0|        : _PyUnicodeWriter_PrepareInternal((WRITER), (LENGTH), (MAXCHAR))))
  ------------------
  |  Branch (2561:9): [True: 0, False: 0]
  ------------------
 2562|      0|        return -1;
 2563|      0|    }
 2564|      0|    assert(_PyUnicodeWriter_CanWrite(writer));
  ------------------
  |  Branch (2564:5): [True: 0, False: 0]
  ------------------
 2565|       |
 2566|      0|    fill = Py_MAX(width - length, 0);
  ------------------
  |  |  126|      0|       __extension__ \
  |  |  127|      0|       ({ _Py_TYPEOF (x) _x = (x); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  128|      0|          _Py_TYPEOF (y) _y = (y); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|      0|          _x > _y ? _x : _y; })
  |  |  ------------------
  |  |  |  Branch (129:11): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2567|      0|    if (fill && !(flags & F_LJUST)) {
  ------------------
  |  |   18|      0|#define F_LJUST (1<<0)
  ------------------
  |  Branch (2567:9): [True: 0, False: 0]
  |  Branch (2567:17): [True: 0, False: 0]
  ------------------
 2568|      0|        if (PyUnicode_Fill(writer->buffer, writer->pos, fill, ' ') == -1)
  ------------------
  |  Branch (2568:13): [True: 0, False: 0]
  ------------------
 2569|      0|            return -1;
 2570|      0|        writer->pos += fill;
 2571|      0|    }
 2572|       |
 2573|      0|    _PyUnicode_FastCopyCharacters(writer->buffer, writer->pos,
 2574|      0|                                  str, 0, length);
 2575|      0|    writer->pos += length;
 2576|       |
 2577|      0|    if (fill && (flags & F_LJUST)) {
  ------------------
  |  |   18|      0|#define F_LJUST (1<<0)
  ------------------
  |  Branch (2577:9): [True: 0, False: 0]
  |  Branch (2577:17): [True: 0, False: 0]
  ------------------
 2578|      0|        if (PyUnicode_Fill(writer->buffer, writer->pos, fill, ' ') == -1)
  ------------------
  |  Branch (2578:13): [True: 0, False: 0]
  ------------------
 2579|      0|            return -1;
 2580|      0|        writer->pos += fill;
 2581|      0|    }
 2582|       |
 2583|      0|    return 0;
 2584|      0|}
unicodeobject.c:unicode_get_widechar_size:
 3185|    194|{
 3186|    194|    Py_ssize_t res;
 3187|       |
 3188|    194|    assert(unicode != NULL);
  ------------------
  |  Branch (3188:5): [True: 194, False: 0]
  ------------------
 3189|    194|    assert(_PyUnicode_CHECK(unicode));
  ------------------
  |  Branch (3189:5): [True: 194, False: 0]
  ------------------
 3190|       |
 3191|    194|    res = _PyUnicode_LENGTH(unicode);
  ------------------
  |  |  155|    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 (3191:11): [True: 194, False: 0]
  ------------------
 3192|       |#if SIZEOF_WCHAR_T == 2
 3193|       |    if (PyUnicode_KIND(unicode) == PyUnicode_4BYTE_KIND) {
 3194|       |        const Py_UCS4 *s = PyUnicode_4BYTE_DATA(unicode);
 3195|       |        const Py_UCS4 *end = s + res;
 3196|       |        for (; s < end; ++s) {
 3197|       |            if (*s > 0xFFFF) {
 3198|       |                ++res;
 3199|       |            }
 3200|       |        }
 3201|       |    }
 3202|       |#endif
 3203|      0|    return res;
 3204|    194|}
unicodeobject.c:unicode_copy_as_widechar:
 3208|    194|{
 3209|    194|    assert(unicode != NULL);
  ------------------
  |  Branch (3209:5): [True: 194, False: 0]
  ------------------
 3210|    194|    assert(_PyUnicode_CHECK(unicode));
  ------------------
  |  Branch (3210:5): [True: 194, False: 0]
  ------------------
 3211|       |
 3212|    388|    if (PyUnicode_KIND(unicode) == sizeof(wchar_t)) {
  ------------------
  |  |  258|    194|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|    388|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 194, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3212:9): [True: 0, False: 194]
  ------------------
 3213|      0|        memcpy(w, PyUnicode_DATA(unicode), size * sizeof(wchar_t));
  ------------------
  |  |  284|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3214|      0|        return;
 3215|      0|    }
 3216|       |
 3217|    388|    if (PyUnicode_KIND(unicode) == PyUnicode_1BYTE_KIND) {
  ------------------
  |  |  258|    194|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|    388|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 194, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3217:9): [True: 194, False: 0]
  ------------------
 3218|    194|        const Py_UCS1 *s = PyUnicode_1BYTE_DATA(unicode);
  ------------------
  |  |  291|    194|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|    194|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 3219|  10.1k|        for (; size--; ++s, ++w) {
  ------------------
  |  Branch (3219:16): [True: 9.92k, False: 194]
  ------------------
 3220|  9.92k|            *w = *s;
 3221|  9.92k|        }
 3222|    194|    }
 3223|      0|    else {
 3224|      0|#if SIZEOF_WCHAR_T == 4
 3225|      0|        assert(PyUnicode_KIND(unicode) == PyUnicode_2BYTE_KIND);
  ------------------
  |  Branch (3225:9): [True: 0, False: 0]
  |  Branch (3225:9): [True: 0, False: 0]
  ------------------
 3226|      0|        const Py_UCS2 *s = PyUnicode_2BYTE_DATA(unicode);
  ------------------
  |  |  292|      0|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 3227|      0|        for (; size--; ++s, ++w) {
  ------------------
  |  Branch (3227:16): [True: 0, False: 0]
  ------------------
 3228|      0|            *w = *s;
 3229|      0|        }
 3230|       |#else
 3231|       |        assert(PyUnicode_KIND(unicode) == PyUnicode_4BYTE_KIND);
 3232|       |        const Py_UCS4 *s = PyUnicode_4BYTE_DATA(unicode);
 3233|       |        for (; size--; ++s, ++w) {
 3234|       |            Py_UCS4 ch = *s;
 3235|       |            if (ch > 0xFFFF) {
 3236|       |                assert(ch <= MAX_UNICODE);
 3237|       |                /* encode surrogate pair in this case */
 3238|       |                *w++ = Py_UNICODE_HIGH_SURROGATE(ch);
 3239|       |                if (!size--)
 3240|       |                    break;
 3241|       |                *w = Py_UNICODE_LOW_SURROGATE(ch);
 3242|       |            }
 3243|       |            else {
 3244|       |                *w = ch;
 3245|       |            }
 3246|       |        }
 3247|       |#endif
 3248|      0|    }
 3249|    194|}
unicodeobject.c:unicode_char:
 1836|    249|{
 1837|    249|    PyObject *unicode;
 1838|       |
 1839|    249|    assert(ch <= MAX_UNICODE);
  ------------------
  |  Branch (1839:5): [True: 249, False: 0]
  ------------------
 1840|       |
 1841|    249|    if (ch < 256) {
  ------------------
  |  Branch (1841:9): [True: 249, False: 0]
  ------------------
 1842|    249|        return get_latin1_char(ch);
 1843|    249|    }
 1844|       |
 1845|      0|    unicode = PyUnicode_New(1, ch);
 1846|      0|    if (unicode == NULL)
  ------------------
  |  Branch (1846:9): [True: 0, False: 0]
  ------------------
 1847|      0|        return NULL;
 1848|       |
 1849|      0|    assert(PyUnicode_KIND(unicode) != PyUnicode_1BYTE_KIND);
  ------------------
  |  Branch (1849:5): [True: 0, False: 0]
  |  Branch (1849:5): [True: 0, False: 0]
  ------------------
 1850|      0|    if (PyUnicode_KIND(unicode) == PyUnicode_2BYTE_KIND) {
  ------------------
  |  |  258|      0|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1850:9): [True: 0, False: 0]
  ------------------
 1851|      0|        PyUnicode_2BYTE_DATA(unicode)[0] = (Py_UCS2)ch;
  ------------------
  |  |  292|      0|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1852|      0|    } else {
 1853|      0|        assert(PyUnicode_KIND(unicode) == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (1853:9): [True: 0, False: 0]
  |  Branch (1853:9): [True: 0, False: 0]
  ------------------
 1854|      0|        PyUnicode_4BYTE_DATA(unicode)[0] = ch;
  ------------------
  |  |  293|      0|#define PyUnicode_4BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS4*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1855|      0|    }
 1856|      0|    assert(_PyUnicode_CheckConsistency(unicode, 1));
  ------------------
  |  Branch (1856:5): [True: 0, False: 0]
  ------------------
 1857|      0|    return unicode;
 1858|      0|}
unicodeobject.c:unicode_check_encoding_errors:
  530|     67|{
  531|     67|    if (encoding == NULL && errors == NULL) {
  ------------------
  |  Branch (531:9): [True: 0, False: 67]
  |  Branch (531:29): [True: 0, False: 0]
  ------------------
  532|      0|        return 0;
  533|      0|    }
  534|       |
  535|     67|    PyInterpreterState *interp = _PyInterpreterState_GET();
  536|     67|#ifndef Py_DEBUG
  537|       |    /* In release mode, only check in development mode (-X dev) */
  538|     67|    if (!_PyInterpreterState_GetConfig(interp)->dev_mode) {
  ------------------
  |  Branch (538:9): [True: 67, False: 0]
  ------------------
  539|     67|        return 0;
  540|     67|    }
  541|       |#else
  542|       |    /* Always check in debug mode */
  543|       |#endif
  544|       |
  545|       |    /* Avoid calling _PyCodec_Lookup() and PyCodec_LookupError() before the
  546|       |       codec registry is ready: before_PyUnicode_InitEncodings() is called. */
  547|      0|    if (!interp->unicode.fs_codec.encoding) {
  ------------------
  |  Branch (547:9): [True: 0, False: 0]
  ------------------
  548|      0|        return 0;
  549|      0|    }
  550|       |
  551|       |    /* Disable checks during Python finalization. For example, it allows to
  552|       |     * call PyObject_Dump() during finalization for debugging purpose.
  553|       |     */
  554|      0|    if (_PyInterpreterState_GetFinalizing(interp) != NULL) {
  ------------------
  |  Branch (554:9): [True: 0, False: 0]
  ------------------
  555|      0|        return 0;
  556|      0|    }
  557|       |
  558|      0|    if (encoding != NULL
  ------------------
  |  Branch (558:9): [True: 0, False: 0]
  ------------------
  559|       |        // Fast path for the most common built-in encodings. Even if the codec
  560|       |        // is cached, _PyCodec_Lookup() decodes the bytes string from UTF-8 to
  561|       |        // create a temporary Unicode string (the key in the cache).
  562|      0|        && strcmp(encoding, "utf-8") != 0
  ------------------
  |  Branch (562:12): [True: 0, False: 0]
  ------------------
  563|      0|        && strcmp(encoding, "utf8") != 0
  ------------------
  |  Branch (563:12): [True: 0, False: 0]
  ------------------
  564|      0|        && strcmp(encoding, "ascii") != 0)
  ------------------
  |  Branch (564:12): [True: 0, False: 0]
  ------------------
  565|      0|    {
  566|      0|        PyObject *handler = _PyCodec_Lookup(encoding);
  567|      0|        if (handler == NULL) {
  ------------------
  |  Branch (567:13): [True: 0, False: 0]
  ------------------
  568|      0|            return -1;
  569|      0|        }
  570|      0|        Py_DECREF(handler);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  571|      0|    }
  572|       |
  573|      0|    if (errors != NULL
  ------------------
  |  Branch (573:9): [True: 0, False: 0]
  ------------------
  574|       |        // Fast path for the most common built-in error handlers.
  575|      0|        && strcmp(errors, "strict") != 0
  ------------------
  |  Branch (575:12): [True: 0, False: 0]
  ------------------
  576|      0|        && strcmp(errors, "ignore") != 0
  ------------------
  |  Branch (576:12): [True: 0, False: 0]
  ------------------
  577|      0|        && strcmp(errors, "replace") != 0
  ------------------
  |  Branch (577:12): [True: 0, False: 0]
  ------------------
  578|      0|        && strcmp(errors, "surrogateescape") != 0
  ------------------
  |  Branch (578:12): [True: 0, False: 0]
  ------------------
  579|      0|        && strcmp(errors, "surrogatepass") != 0)
  ------------------
  |  Branch (579:12): [True: 0, False: 0]
  ------------------
  580|      0|    {
  581|      0|        PyObject *handler = PyCodec_LookupError(errors);
  582|      0|        if (handler == NULL) {
  ------------------
  |  Branch (582:13): [True: 0, False: 0]
  ------------------
  583|      0|            return -1;
  584|      0|        }
  585|      0|        Py_DECREF(handler);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  586|      0|    }
  587|      0|    return 0;
  588|      0|}
unicodeobject.c:unicode_encode_locale:
 3703|     82|{
 3704|     82|    Py_ssize_t wlen;
 3705|     82|    wchar_t *wstr = PyUnicode_AsWideCharString(unicode, &wlen);
 3706|     82|    if (wstr == NULL) {
  ------------------
  |  Branch (3706:9): [True: 0, False: 82]
  ------------------
 3707|      0|        return NULL;
 3708|      0|    }
 3709|       |
 3710|     82|    if ((size_t)wlen != wcslen(wstr)) {
  ------------------
  |  Branch (3710:9): [True: 0, False: 82]
  ------------------
 3711|      0|        PyErr_SetString(PyExc_ValueError, "embedded null character");
 3712|      0|        PyMem_Free(wstr);
 3713|      0|        return NULL;
 3714|      0|    }
 3715|       |
 3716|     82|    char *str;
 3717|     82|    size_t error_pos;
 3718|     82|    const char *reason;
 3719|     82|    int res = _Py_EncodeLocaleEx(wstr, &str, &error_pos, &reason,
 3720|     82|                                 current_locale, error_handler);
 3721|     82|    PyMem_Free(wstr);
 3722|       |
 3723|     82|    if (res != 0) {
  ------------------
  |  Branch (3723:9): [True: 0, False: 82]
  ------------------
 3724|      0|        if (res == -2) {
  ------------------
  |  Branch (3724:13): [True: 0, False: 0]
  ------------------
 3725|      0|            PyObject *exc;
 3726|      0|            exc = PyObject_CallFunction(PyExc_UnicodeEncodeError, "sOnns",
 3727|      0|                    "locale", unicode,
 3728|      0|                    (Py_ssize_t)error_pos,
 3729|      0|                    (Py_ssize_t)(error_pos+1),
 3730|      0|                    reason);
 3731|      0|            if (exc != NULL) {
  ------------------
  |  Branch (3731:17): [True: 0, False: 0]
  ------------------
 3732|      0|                PyCodec_StrictErrors(exc);
 3733|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3734|      0|            }
 3735|      0|        }
 3736|      0|        else if (res == -3) {
  ------------------
  |  Branch (3736:18): [True: 0, False: 0]
  ------------------
 3737|      0|            PyErr_SetString(PyExc_ValueError, "unsupported error handler");
 3738|      0|        }
 3739|      0|        else {
 3740|      0|            PyErr_NoMemory();
 3741|      0|        }
 3742|      0|        return NULL;
 3743|      0|    }
 3744|       |
 3745|     82|    PyObject *bytes = PyBytes_FromString(str);
 3746|     82|    PyMem_RawFree(str);
 3747|     82|    return bytes;
 3748|     82|}
unicodeobject.c:get_error_handler_wide:
  502|    732|{
  503|    732|    if (errors == NULL || wcscmp(errors, L"strict") == 0) {
  ------------------
  |  Branch (503:9): [True: 0, False: 732]
  |  Branch (503:27): [True: 0, False: 732]
  ------------------
  504|      0|        return _Py_ERROR_STRICT;
  505|      0|    }
  506|    732|    if (wcscmp(errors, L"surrogateescape") == 0) {
  ------------------
  |  Branch (506:9): [True: 732, False: 0]
  ------------------
  507|    732|        return _Py_ERROR_SURROGATEESCAPE;
  508|    732|    }
  509|      0|    if (wcscmp(errors, L"replace") == 0) {
  ------------------
  |  Branch (509:9): [True: 0, False: 0]
  ------------------
  510|      0|        return _Py_ERROR_REPLACE;
  511|      0|    }
  512|      0|    if (wcscmp(errors, L"ignore") == 0) {
  ------------------
  |  Branch (512:9): [True: 0, False: 0]
  ------------------
  513|      0|        return _Py_ERROR_IGNORE;
  514|      0|    }
  515|      0|    if (wcscmp(errors, L"backslashreplace") == 0) {
  ------------------
  |  Branch (515:9): [True: 0, False: 0]
  ------------------
  516|      0|        return _Py_ERROR_BACKSLASHREPLACE;
  517|      0|    }
  518|      0|    if (wcscmp(errors, L"surrogatepass") == 0) {
  ------------------
  |  Branch (518:9): [True: 0, False: 0]
  ------------------
  519|      0|        return _Py_ERROR_SURROGATEPASS;
  520|      0|    }
  521|      0|    if (wcscmp(errors, L"xmlcharrefreplace") == 0) {
  ------------------
  |  Branch (521:9): [True: 0, False: 0]
  ------------------
  522|      0|        return _Py_ERROR_XMLCHARREFREPLACE;
  523|      0|    }
  524|      0|    return _Py_ERROR_OTHER;
  525|      0|}
unicodeobject.c:unicode_decode_locale:
 3928|    692|{
 3929|    692|    if (str[len] != '\0' || (size_t)len != strlen(str))  {
  ------------------
  |  Branch (3929:9): [True: 0, False: 692]
  |  Branch (3929:29): [True: 0, False: 692]
  ------------------
 3930|      0|        PyErr_SetString(PyExc_ValueError, "embedded null byte");
 3931|      0|        return NULL;
 3932|      0|    }
 3933|       |
 3934|    692|    wchar_t *wstr;
 3935|    692|    size_t wlen;
 3936|    692|    const char *reason;
 3937|    692|    int res = _Py_DecodeLocaleEx(str, &wstr, &wlen, &reason,
 3938|    692|                                 current_locale, errors);
 3939|    692|    if (res != 0) {
  ------------------
  |  Branch (3939:9): [True: 0, False: 692]
  ------------------
 3940|      0|        if (res == -2) {
  ------------------
  |  Branch (3940:13): [True: 0, False: 0]
  ------------------
 3941|      0|            PyObject *exc;
 3942|      0|            exc = PyObject_CallFunction(PyExc_UnicodeDecodeError, "sy#nns",
 3943|      0|                                        "locale", str, len,
 3944|      0|                                        (Py_ssize_t)wlen,
 3945|      0|                                        (Py_ssize_t)(wlen + 1),
 3946|      0|                                        reason);
 3947|      0|            if (exc != NULL) {
  ------------------
  |  Branch (3947:17): [True: 0, False: 0]
  ------------------
 3948|      0|                PyCodec_StrictErrors(exc);
 3949|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3950|      0|            }
 3951|      0|        }
 3952|      0|        else if (res == -3) {
  ------------------
  |  Branch (3952:18): [True: 0, False: 0]
  ------------------
 3953|      0|            PyErr_SetString(PyExc_ValueError, "unsupported error handler");
 3954|      0|        }
 3955|      0|        else {
 3956|      0|            PyErr_NoMemory();
 3957|      0|        }
 3958|      0|        return NULL;
 3959|      0|    }
 3960|       |
 3961|    692|    PyObject *unicode = PyUnicode_FromWideChar(wstr, wlen);
 3962|    692|    PyMem_RawFree(wstr);
 3963|    692|    return unicode;
 3964|    692|}
unicodeobject.c:findchar:
 1022|    852|{
 1023|    852|    switch (kind) {
 1024|    852|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (1024:5): [True: 852, False: 0]
  ------------------
 1025|    852|        if ((Py_UCS1) ch != ch)
  ------------------
  |  Branch (1025:13): [True: 0, False: 852]
  ------------------
 1026|      0|            return -1;
 1027|    852|        if (direction > 0)
  ------------------
  |  Branch (1027:13): [True: 792, False: 60]
  ------------------
 1028|    792|            return ucs1lib_find_char((const Py_UCS1 *) s, size, (Py_UCS1) ch);
 1029|     60|        else
 1030|     60|            return ucs1lib_rfind_char((const Py_UCS1 *) s, size, (Py_UCS1) ch);
 1031|      0|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (1031:5): [True: 0, False: 852]
  ------------------
 1032|      0|        if ((Py_UCS2) ch != ch)
  ------------------
  |  Branch (1032:13): [True: 0, False: 0]
  ------------------
 1033|      0|            return -1;
 1034|      0|        if (direction > 0)
  ------------------
  |  Branch (1034:13): [True: 0, False: 0]
  ------------------
 1035|      0|            return ucs2lib_find_char((const Py_UCS2 *) s, size, (Py_UCS2) ch);
 1036|      0|        else
 1037|      0|            return ucs2lib_rfind_char((const Py_UCS2 *) s, size, (Py_UCS2) ch);
 1038|      0|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (1038:5): [True: 0, False: 852]
  ------------------
 1039|      0|        if (direction > 0)
  ------------------
  |  Branch (1039:13): [True: 0, False: 0]
  ------------------
 1040|      0|            return ucs4lib_find_char((const Py_UCS4 *) s, size, ch);
 1041|      0|        else
 1042|      0|            return ucs4lib_rfind_char((const Py_UCS4 *) s, size, ch);
 1043|      0|    default:
  ------------------
  |  Branch (1043:5): [True: 0, False: 852]
  ------------------
 1044|      0|        Py_UNREACHABLE();
  ------------------
  |  |  289|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1045|    852|    }
 1046|    852|}
unicodeobject.c:unicode_ensure_utf8:
 4115|  1.19k|{
 4116|  1.19k|    int err = 0;
 4117|  1.19k|    if (PyUnicode_UTF8(unicode) == NULL) {
  ------------------
  |  Branch (4117:9): [True: 47, False: 1.14k]
  ------------------
 4118|     47|        Py_BEGIN_CRITICAL_SECTION(unicode);
  ------------------
  |  |   51|     47|    {
  ------------------
 4119|     47|        if (PyUnicode_UTF8(unicode) == NULL) {
  ------------------
  |  Branch (4119:13): [True: 47, False: 0]
  ------------------
 4120|     47|            err = unicode_fill_utf8(unicode);
 4121|     47|        }
 4122|     47|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     47|    }
  ------------------
 4123|     47|    }
 4124|  1.19k|    return err;
 4125|  1.19k|}
unicodeobject.c:unicode_fill_utf8:
 5751|     47|{
 5752|     47|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(unicode);
 5753|       |    /* the string cannot be ASCII, or PyUnicode_UTF8() would be set */
 5754|     47|    assert(!PyUnicode_IS_ASCII(unicode));
  ------------------
  |  Branch (5754:5): [True: 47, False: 0]
  ------------------
 5755|       |
 5756|     47|    int kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|     47|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|     94|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 47, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5757|     47|    const void *data = PyUnicode_DATA(unicode);
  ------------------
  |  |  284|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5758|     47|    Py_ssize_t size = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  299|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5759|       |
 5760|     47|    PyBytesWriter *writer;
 5761|     47|    char *end;
 5762|       |
 5763|     47|    switch (kind) {
 5764|      0|    default:
  ------------------
  |  Branch (5764:5): [True: 0, False: 47]
  ------------------
 5765|      0|        Py_UNREACHABLE();
  ------------------
  |  |  289|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 5766|      0|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (5766:5): [True: 0, False: 47]
  ------------------
 5767|      0|        writer = ucs1lib_utf8_encoder(unicode, data, size,
 5768|      0|                                      _Py_ERROR_STRICT, NULL, &end);
 5769|      0|        break;
 5770|     21|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (5770:5): [True: 21, False: 26]
  ------------------
 5771|     21|        writer = ucs2lib_utf8_encoder(unicode, data, size,
 5772|     21|                                      _Py_ERROR_STRICT, NULL, &end);
 5773|     21|        break;
 5774|     26|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (5774:5): [True: 26, False: 21]
  ------------------
 5775|     26|        writer = ucs4lib_utf8_encoder(unicode, data, size,
 5776|     26|                                      _Py_ERROR_STRICT, NULL, &end);
 5777|     26|        break;
 5778|     47|    }
 5779|     47|    if (writer == NULL) {
  ------------------
  |  Branch (5779:9): [True: 0, False: 47]
  ------------------
 5780|      0|        return -1;
 5781|      0|    }
 5782|       |
 5783|     47|    const char *start = PyBytesWriter_GetData(writer);
 5784|     47|    Py_ssize_t len = end - start;
 5785|       |
 5786|     47|    char *cache = PyMem_Malloc(len + 1);
 5787|     47|    if (cache == NULL) {
  ------------------
  |  Branch (5787:9): [True: 0, False: 47]
  ------------------
 5788|      0|        PyBytesWriter_Discard(writer);
 5789|      0|        PyErr_NoMemory();
 5790|      0|        return -1;
 5791|      0|    }
 5792|     47|    memcpy(cache, start, len);
 5793|     47|    cache[len] = '\0';
 5794|     47|    PyUnicode_SET_UTF8_LENGTH(unicode, len);
 5795|     47|    PyUnicode_SET_UTF8(unicode, cache);
 5796|     47|    PyBytesWriter_Discard(writer);
 5797|     47|    return 0;
 5798|     47|}
unicodeobject.c:PyUnicode_UTF8_LENGTH:
  139|    964|{
  140|    964|    assert(_PyUnicode_CHECK(op));
  ------------------
  |  Branch (140:5): [True: 964, False: 0]
  ------------------
  141|    964|    if (PyUnicode_IS_COMPACT_ASCII(op)) {
  ------------------
  |  |  241|    964|#define PyUnicode_IS_COMPACT_ASCII(op) PyUnicode_IS_COMPACT_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    964|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    964|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (241:40): [True: 930, False: 34]
  |  |  ------------------
  ------------------
  142|    930|         return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|    930|    (assert(PyUnicode_Check(op)), \
  |  |  187|    930|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    930|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (142:17): [True: 930, False: 0]
  ------------------
  143|    930|    }
  144|     34|    else {
  145|     34|         return _PyCompactUnicodeObject_CAST(op)->utf8_length;
  ------------------
  |  |  189|     34|    (assert(PyUnicode_Check(op)), \
  |  |  190|     34|     _Py_CAST(PyCompactUnicodeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (145:17): [True: 34, False: 0]
  ------------------
  146|     34|    }
  147|    964|}
unicodeobject.c:PyUnicode_UTF8:
  123|  2.70k|{
  124|  2.70k|    assert(_PyUnicode_CHECK(op));
  ------------------
  |  Branch (124:5): [True: 2.70k, False: 0]
  ------------------
  125|  2.70k|    if (PyUnicode_IS_COMPACT_ASCII(op)) {
  ------------------
  |  |  241|  2.70k|#define PyUnicode_IS_COMPACT_ASCII(op) PyUnicode_IS_COMPACT_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.70k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.70k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (241:40): [True: 2.53k, False: 167]
  |  |  ------------------
  ------------------
  126|  2.53k|        return ((char*)(_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |  186|  2.53k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  2.53k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  2.53k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (126:25): [True: 2.53k, False: 0]
  ------------------
  127|  2.53k|    }
  128|    167|    else {
  129|    167|         return _PyUnicode_UTF8(op);
  130|    167|    }
  131|  2.70k|}
unicodeobject.c:unicode_decode_call_errorhandler_writer:
 4402|      7|{
 4403|      7|    static const char *argparse = "Un;decoding error handler must return (str, int) tuple";
 4404|       |
 4405|      7|    PyObject *restuple = NULL;
 4406|      7|    PyObject *repunicode = NULL;
 4407|      7|    Py_ssize_t insize;
 4408|      7|    Py_ssize_t newpos;
 4409|      7|    Py_ssize_t replen;
 4410|      7|    Py_ssize_t remain;
 4411|      7|    PyObject *inputobj = NULL;
 4412|      7|    int need_to_grow = 0;
 4413|      7|    const char *new_inptr;
 4414|       |
 4415|      7|    if (*errorHandler == NULL) {
  ------------------
  |  Branch (4415:9): [True: 7, False: 0]
  ------------------
 4416|      7|        *errorHandler = PyCodec_LookupError(errors);
 4417|      7|        if (*errorHandler == NULL)
  ------------------
  |  Branch (4417:13): [True: 0, False: 7]
  ------------------
 4418|      0|            goto onError;
 4419|      7|    }
 4420|       |
 4421|      7|    make_decode_exception(exceptionObject,
 4422|      7|        encoding,
 4423|      7|        *input, *inend - *input,
 4424|      7|        *startinpos, *endinpos,
 4425|      7|        reason);
 4426|      7|    if (*exceptionObject == NULL)
  ------------------
  |  Branch (4426:9): [True: 0, False: 7]
  ------------------
 4427|      0|        goto onError;
 4428|       |
 4429|      7|    restuple = PyObject_CallOneArg(*errorHandler, *exceptionObject);
 4430|      7|    if (restuple == NULL)
  ------------------
  |  Branch (4430:9): [True: 7, False: 0]
  ------------------
 4431|      7|        goto onError;
 4432|      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 (4432:9): [True: 0, False: 0]
  ------------------
 4433|      0|        PyErr_SetString(PyExc_TypeError, &argparse[3]);
 4434|      0|        goto onError;
 4435|      0|    }
 4436|      0|    if (!PyArg_ParseTuple(restuple, argparse, &repunicode, &newpos))
  ------------------
  |  Branch (4436:9): [True: 0, False: 0]
  ------------------
 4437|      0|        goto onError;
 4438|       |
 4439|       |    /* Copy back the bytes variables, which might have been modified by the
 4440|       |       callback */
 4441|      0|    inputobj = PyUnicodeDecodeError_GetObject(*exceptionObject);
 4442|      0|    if (!inputobj)
  ------------------
  |  Branch (4442:9): [True: 0, False: 0]
  ------------------
 4443|      0|        goto onError;
 4444|      0|    remain = *inend - *input - *endinpos;
 4445|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4446|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4447|      0|    *inend = *input + insize;
 4448|       |    /* we can DECREF safely, as the exception has another reference,
 4449|       |       so the object won't go away. */
 4450|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4451|       |
 4452|      0|    if (newpos<0)
  ------------------
  |  Branch (4452:9): [True: 0, False: 0]
  ------------------
 4453|      0|        newpos = insize+newpos;
 4454|      0|    if (newpos<0 || newpos>insize) {
  ------------------
  |  Branch (4454:9): [True: 0, False: 0]
  |  Branch (4454:21): [True: 0, False: 0]
  ------------------
 4455|      0|        PyErr_Format(PyExc_IndexError, "position %zd from error handler out of bounds", newpos);
 4456|      0|        goto onError;
 4457|      0|    }
 4458|       |
 4459|      0|    replen = PyUnicode_GET_LENGTH(repunicode);
  ------------------
  |  |  299|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4460|      0|    if (replen > 1) {
  ------------------
  |  Branch (4460:9): [True: 0, False: 0]
  ------------------
 4461|      0|        writer->min_length += replen - 1;
 4462|      0|        need_to_grow = 1;
 4463|      0|    }
 4464|      0|    new_inptr = *input + newpos;
 4465|      0|    if (*inend - new_inptr > remain) {
  ------------------
  |  Branch (4465:9): [True: 0, False: 0]
  ------------------
 4466|       |        /* We don't know the decoding algorithm here so we make the worst
 4467|       |           assumption that one byte decodes to one unicode character.
 4468|       |           If unfortunately one byte could decode to more unicode characters,
 4469|       |           the decoder may write out-of-bound then.  Is it possible for the
 4470|       |           algorithms using this function? */
 4471|      0|        writer->min_length += *inend - new_inptr - remain;
 4472|      0|        need_to_grow = 1;
 4473|      0|    }
 4474|      0|    if (need_to_grow) {
  ------------------
  |  Branch (4474:9): [True: 0, False: 0]
  ------------------
 4475|      0|        writer->overallocate = 1;
 4476|      0|        if (_PyUnicodeWriter_Prepare(writer, writer->min_length - writer->pos,
  ------------------
  |  |  562|      0|    (((MAXCHAR) <= (WRITER)->maxchar                                  \
  |  |  ------------------
  |  |  |  Branch (562:7): [True: 0, False: 0]
  |  |  ------------------
  |  |  563|      0|      && (LENGTH) <= (WRITER)->size - (WRITER)->pos)                  \
  |  |  ------------------
  |  |  |  Branch (563:10): [True: 0, False: 0]
  |  |  ------------------
  |  |  564|      0|     ? 0                                                              \
  |  |  565|      0|     : (((LENGTH) == 0)                                               \
  |  |  ------------------
  |  |  |  Branch (565:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  566|      0|        ? 0                                                           \
  |  |  567|      0|        : _PyUnicodeWriter_PrepareInternal((WRITER), (LENGTH), (MAXCHAR))))
  ------------------
  |  Branch (4476:13): [True: 0, False: 0]
  ------------------
 4477|      0|                            PyUnicode_MAX_CHAR_VALUE(repunicode)) == -1)
 4478|      0|            goto onError;
 4479|      0|    }
 4480|      0|    if (_PyUnicodeWriter_WriteStr(writer, repunicode) == -1)
  ------------------
  |  Branch (4480:9): [True: 0, False: 0]
  ------------------
 4481|      0|        goto onError;
 4482|       |
 4483|      0|    *endinpos = newpos;
 4484|      0|    *inptr = new_inptr;
 4485|       |
 4486|       |    /* we made it! */
 4487|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4488|      0|    return 0;
 4489|       |
 4490|      7|  onError:
 4491|      7|    Py_XDECREF(restuple);
  ------------------
  |  |  524|      7|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4492|      7|    return -1;
 4493|      0|}
unicodeobject.c:make_decode_exception:
 4249|      7|{
 4250|      7|    if (*exceptionObject == NULL) {
  ------------------
  |  Branch (4250:9): [True: 7, False: 0]
  ------------------
 4251|      7|        *exceptionObject = PyUnicodeDecodeError_Create(
 4252|      7|            encoding, input, length, startpos, endpos, reason);
 4253|      7|    }
 4254|      0|    else {
 4255|      0|        if (PyUnicodeDecodeError_SetStart(*exceptionObject, startpos))
  ------------------
  |  Branch (4255:13): [True: 0, False: 0]
  ------------------
 4256|      0|            goto onError;
 4257|      0|        if (PyUnicodeDecodeError_SetEnd(*exceptionObject, endpos))
  ------------------
  |  Branch (4257:13): [True: 0, False: 0]
  ------------------
 4258|      0|            goto onError;
 4259|      0|        if (PyUnicodeDecodeError_SetReason(*exceptionObject, reason))
  ------------------
  |  Branch (4259:13): [True: 0, False: 0]
  ------------------
 4260|      0|            goto onError;
 4261|      0|    }
 4262|      7|    return;
 4263|       |
 4264|      7|onError:
 4265|       |    Py_CLEAR(*exceptionObject);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4266|      0|}
unicodeobject.c:unicode_decode_utf8:
 5278|   291k|{
 5279|   291k|    if (size == 0) {
  ------------------
  |  Branch (5279:9): [True: 1.06k, False: 290k]
  ------------------
 5280|  1.06k|        if (consumed) {
  ------------------
  |  Branch (5280:13): [True: 0, False: 1.06k]
  ------------------
 5281|      0|            *consumed = 0;
 5282|      0|        }
 5283|  1.06k|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  379|  1.06k|    do {                             \
  |  |  380|  1.06k|        return _PyUnicode_GetEmpty();\
  |  |  381|  1.06k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5284|  1.06k|    }
 5285|       |
 5286|       |    /* ASCII is equivalent to the first 128 ordinals in Unicode. */
 5287|   290k|    if (size == 1 && (unsigned char)s[0] < 128) {
  ------------------
  |  Branch (5287:9): [True: 95, False: 289k]
  |  Branch (5287:22): [True: 95, False: 0]
  ------------------
 5288|     95|        if (consumed) {
  ------------------
  |  Branch (5288:13): [True: 0, False: 95]
  ------------------
 5289|      0|            *consumed = 1;
 5290|      0|        }
 5291|     95|        return get_latin1_char((unsigned char)s[0]);
 5292|     95|    }
 5293|       |
 5294|       |    // I don't know this check is necessary or not. But there is a test
 5295|       |    // case that requires size=PY_SSIZE_T_MAX cause MemoryError.
 5296|   289k|    if (PY_SSIZE_T_MAX - sizeof(PyCompactUnicodeObject) < (size_t)size) {
  ------------------
  |  |  137|   289k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (5296:9): [True: 0, False: 289k]
  ------------------
 5297|      0|        PyErr_NoMemory();
 5298|      0|        return NULL;
 5299|      0|    }
 5300|       |
 5301|   289k|    const char *starts = s;
 5302|   289k|    const char *end = s + size;
 5303|       |
 5304|   289k|    Py_ssize_t pos = find_first_nonascii((const unsigned char*)starts, (const unsigned char*)end);
 5305|   289k|    if (pos == size) {  // fast path: ASCII string.
  ------------------
  |  Branch (5305:9): [True: 12.0k, False: 277k]
  ------------------
 5306|  12.0k|        PyObject *u = PyUnicode_New(size, 127);
 5307|  12.0k|        if (u == NULL) {
  ------------------
  |  Branch (5307:13): [True: 0, False: 12.0k]
  ------------------
 5308|      0|            return NULL;
 5309|      0|        }
 5310|  12.0k|        memcpy(PyUnicode_1BYTE_DATA(u), s, size);
  ------------------
  |  |  291|  12.0k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  12.0k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 5311|  12.0k|        if (consumed) {
  ------------------
  |  Branch (5311:13): [True: 0, False: 12.0k]
  ------------------
 5312|      0|            *consumed = size;
 5313|      0|        }
 5314|  12.0k|        return u;
 5315|  12.0k|    }
 5316|       |
 5317|   277k|    int maxchr = 127;
 5318|   277k|    Py_ssize_t maxsize = size;
 5319|       |
 5320|   277k|    unsigned char ch = (unsigned char)(s[pos]);
 5321|       |    // error handler other than strict may remove/replace the invalid byte.
 5322|       |    // consumed != NULL allows 1~3 bytes remainings.
 5323|       |    // 0x80 <= ch < 0xc2 is invalid start byte that cause UnicodeDecodeError.
 5324|       |    // otherwise: check the input and decide the maxchr and maxsize to reduce
 5325|       |    // reallocation and copy.
 5326|   277k|    if (error_handler == _Py_ERROR_STRICT && !consumed && ch >= 0xc2) {
  ------------------
  |  Branch (5326:9): [True: 277k, False: 68]
  |  Branch (5326:46): [True: 277k, False: 0]
  |  Branch (5326:59): [True: 277k, False: 0]
  ------------------
 5327|       |        // we only calculate the number of codepoints and don't determine the exact maxchr.
 5328|       |        // This is because writing fast and portable SIMD code to find maxchr is difficult.
 5329|       |        // If reallocation occurs for a larger maxchar, knowing the exact number of codepoints
 5330|       |        // means that it is no longer necessary to allocate several times the required amount
 5331|       |        // of memory.
 5332|   277k|        maxsize = utf8_count_codepoints((const unsigned char *)s, (const unsigned char *)end);
 5333|   277k|        if (ch < 0xc4) { // latin1
  ------------------
  |  Branch (5333:13): [True: 219k, False: 58.2k]
  ------------------
 5334|   219k|            maxchr = 0xff;
 5335|   219k|        }
 5336|  58.2k|        else if (ch < 0xf0) { // ucs2
  ------------------
  |  Branch (5336:18): [True: 65, False: 58.2k]
  ------------------
 5337|     65|            maxchr = 0xffff;
 5338|     65|        }
 5339|  58.2k|        else { // ucs4
 5340|  58.2k|            maxchr = 0x10ffff;
 5341|  58.2k|        }
 5342|   277k|    }
 5343|   277k|    PyObject *u = PyUnicode_New(maxsize, maxchr);
 5344|   277k|    if (!u) {
  ------------------
  |  Branch (5344:9): [True: 0, False: 277k]
  ------------------
 5345|      0|        return NULL;
 5346|      0|    }
 5347|       |
 5348|       |    // Use _PyUnicodeWriter after fast path is failed.
 5349|   277k|    _PyUnicodeWriter writer;
 5350|   277k|    _PyUnicodeWriter_InitWithBuffer(&writer, u);
 5351|   277k|    if (maxchr <= 255) {
  ------------------
  |  Branch (5351:9): [True: 219k, False: 58.2k]
  ------------------
 5352|   219k|        memcpy(PyUnicode_1BYTE_DATA(u), s, pos);
  ------------------
  |  |  291|   219k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|   219k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 5353|   219k|        s += pos;
 5354|   219k|        writer.pos = pos;
 5355|   219k|    }
 5356|       |
 5357|   277k|    if (unicode_decode_utf8_impl(&writer, starts, s, end,
  ------------------
  |  Branch (5357:9): [True: 2, False: 277k]
  ------------------
 5358|   277k|                                 error_handler, errors,
 5359|   277k|                                 consumed) < 0) {
 5360|      2|        _PyUnicodeWriter_Dealloc(&writer);
 5361|      2|        return NULL;
 5362|      2|    }
 5363|   277k|    return _PyUnicodeWriter_Finish(&writer);
 5364|   277k|}
unicodeobject.c:find_first_nonascii:
 5005|   290k|{
 5006|       |    // The search is done in `size_t` chunks.
 5007|       |    // The start and end might not be aligned at `size_t` boundaries,
 5008|       |    // so they're handled specially.
 5009|       |
 5010|   290k|    const unsigned char *p = start;
 5011|       |
 5012|   290k|    if (end - start >= SIZEOF_SIZE_T) {
  ------------------
  |  | 1955|   290k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (5012:9): [True: 7.73k, False: 282k]
  ------------------
 5013|       |        // Avoid unaligned read.
 5014|  7.73k|#if PY_LITTLE_ENDIAN && HAVE_CTZ
 5015|  7.73k|        size_t u;
 5016|  7.73k|        memcpy(&u, p, sizeof(size_t));
 5017|  7.73k|        u &= ASCII_CHAR_MASK;
  ------------------
  |  | 4911|  7.73k|# define ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
 5018|  7.73k|        if (u) {
  ------------------
  |  Branch (5018:13): [True: 0, False: 7.73k]
  ------------------
 5019|      0|            return (ctz(u) - 7) / 8;
 5020|      0|        }
 5021|  7.73k|        p = _Py_ALIGN_DOWN(p + SIZEOF_SIZE_T, SIZEOF_SIZE_T);
  ------------------
  |  |  241|  7.73k|#define _Py_ALIGN_DOWN(p, a) ((void *)((uintptr_t)(p) & ~(uintptr_t)((a) - 1)))
  ------------------
 5022|       |#else /* PY_LITTLE_ENDIAN && HAVE_CTZ */
 5023|       |        const unsigned char *p2 = _Py_ALIGN_UP(p, SIZEOF_SIZE_T);
 5024|       |        while (p < p2) {
 5025|       |            if (*p & 0x80) {
 5026|       |                return p - start;
 5027|       |            }
 5028|       |            p++;
 5029|       |        }
 5030|       |#endif
 5031|       |
 5032|  7.73k|        const unsigned char *e = end - SIZEOF_SIZE_T;
  ------------------
  |  | 1955|  7.73k|#define SIZEOF_SIZE_T 8
  ------------------
 5033|  7.01M|        while (p <= e) {
  ------------------
  |  Branch (5033:16): [True: 7.01M, False: 7.59k]
  ------------------
 5034|  7.01M|            size_t u = (*(const size_t *)p) & ASCII_CHAR_MASK;
  ------------------
  |  | 4911|  7.01M|# define ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
 5035|  7.01M|            if (u) {
  ------------------
  |  Branch (5035:17): [True: 148, False: 7.01M]
  ------------------
 5036|    148|#if PY_LITTLE_ENDIAN && HAVE_CTZ
 5037|    148|                return p - start + (ctz(u) - 7) / 8;
 5038|       |#else
 5039|       |                // big endian and minor compilers are difficult to test.
 5040|       |                // fallback to per byte check.
 5041|       |                break;
 5042|       |#endif
 5043|    148|            }
 5044|  7.01M|            p += SIZEOF_SIZE_T;
  ------------------
  |  | 1955|  7.01M|#define SIZEOF_SIZE_T 8
  ------------------
 5045|  7.01M|        }
 5046|  7.73k|    }
 5047|   289k|#if PY_LITTLE_ENDIAN && HAVE_CTZ
 5048|   290k|    assert((end - p) < SIZEOF_SIZE_T);
  ------------------
  |  Branch (5048:5): [True: 289k, False: 0]
  ------------------
 5049|       |    // we can not use *(const size_t*)p to avoid buffer overrun.
 5050|   289k|    size_t u = load_unaligned(p, end - p) & ASCII_CHAR_MASK;
  ------------------
  |  | 4911|   289k|# define ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
 5051|   289k|    if (u) {
  ------------------
  |  Branch (5051:9): [True: 277k, False: 12.1k]
  ------------------
 5052|   277k|        return p - start + (ctz(u) - 7) / 8;
 5053|   277k|    }
 5054|  12.1k|    return end - start;
 5055|       |#else
 5056|       |    while (p < end) {
 5057|       |        if (*p & 0x80) {
 5058|       |            break;
 5059|       |        }
 5060|       |        p++;
 5061|       |    }
 5062|       |    return p - start;
 5063|       |#endif
 5064|   289k|}
unicodeobject.c:ctz:
 4927|   277k|{
 4928|   277k|    return __builtin_ctzll((unsigned long long)v);
 4929|   277k|}
unicodeobject.c:load_unaligned:
 4951|   289k|{
 4952|   289k|    union {
 4953|   289k|        size_t s;
 4954|   289k|        unsigned char b[SIZEOF_SIZE_T];
 4955|   289k|    } u;
 4956|   289k|    u.s = 0;
 4957|       |    // This switch statement assumes little endian because:
 4958|       |    // * union is faster than bitwise or and shift.
 4959|       |    // * big endian machine is rare and hard to maintain.
 4960|   289k|    switch (size) {
 4961|      0|    default:
  ------------------
  |  Branch (4961:5): [True: 0, False: 289k]
  ------------------
 4962|      0|#if SIZEOF_SIZE_T == 8
 4963|      0|    case 8:
  ------------------
  |  Branch (4963:5): [True: 0, False: 289k]
  ------------------
 4964|      0|        u.b[7] = p[7];
 4965|      0|        _Py_FALLTHROUGH;
  ------------------
  |  |  650|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 4966|  2.07k|    case 7:
  ------------------
  |  Branch (4966:5): [True: 2.07k, False: 287k]
  ------------------
 4967|  2.07k|        u.b[6] = p[6];
 4968|  2.07k|        _Py_FALLTHROUGH;
  ------------------
  |  |  650|  2.07k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 4969|  4.12k|    case 6:
  ------------------
  |  Branch (4969:5): [True: 2.05k, False: 287k]
  ------------------
 4970|  4.12k|        u.b[5] = p[5];
 4971|  4.12k|        _Py_FALLTHROUGH;
  ------------------
  |  |  650|  4.12k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 4972|  5.50k|    case 5:
  ------------------
  |  Branch (4972:5): [True: 1.38k, False: 288k]
  ------------------
 4973|  5.50k|        u.b[4] = p[4];
 4974|  5.50k|        _Py_FALLTHROUGH;
  ------------------
  |  |  650|  5.50k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 4975|  5.50k|#endif
 4976|  65.1k|    case 4:
  ------------------
  |  Branch (4976:5): [True: 59.6k, False: 230k]
  ------------------
 4977|  65.1k|        u.b[3] = p[3];
 4978|  65.1k|        _Py_FALLTHROUGH;
  ------------------
  |  |  650|  65.1k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 4979|  66.8k|    case 3:
  ------------------
  |  Branch (4979:5): [True: 1.70k, False: 288k]
  ------------------
 4980|  66.8k|        u.b[2] = p[2];
 4981|  66.8k|        _Py_FALLTHROUGH;
  ------------------
  |  |  650|  66.8k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 4982|   287k|    case 2:
  ------------------
  |  Branch (4982:5): [True: 220k, False: 69.0k]
  ------------------
 4983|   287k|        u.b[1] = p[1];
 4984|   287k|        _Py_FALLTHROUGH;
  ------------------
  |  |  650|   287k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 4985|   288k|    case 1:
  ------------------
  |  Branch (4985:5): [True: 896, False: 288k]
  ------------------
 4986|   288k|        u.b[0] = p[0];
 4987|   288k|        break;
 4988|  1.27k|    case 0:
  ------------------
  |  Branch (4988:5): [True: 1.27k, False: 288k]
  ------------------
 4989|  1.27k|        break;
 4990|   289k|    }
 4991|   289k|    return u.s;
 4992|   289k|}
unicodeobject.c:utf8_count_codepoints:
 5083|   277k|{
 5084|   277k|    Py_ssize_t len = 0;
 5085|       |
 5086|   277k|    if (end - s >= SIZEOF_SIZE_T) {
  ------------------
  |  | 1955|   277k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (5086:9): [True: 89, False: 277k]
  ------------------
 5087|     93|        while (!_Py_IS_ALIGNED(s, ALIGNOF_SIZE_T)) {
  ------------------
  |  |  246|     93|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  ------------------
  |  Branch (5087:16): [True: 4, False: 89]
  ------------------
 5088|      4|            len += scalar_utf8_start_char(*s++);
 5089|      4|        }
 5090|       |
 5091|  41.6k|        while (s + SIZEOF_SIZE_T <= end) {
  ------------------
  |  | 1955|  41.6k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (5091:16): [True: 41.5k, False: 89]
  ------------------
 5092|  41.5k|            const unsigned char *e = end;
 5093|  41.5k|            if (e - s > SIZEOF_SIZE_T * 255) {
  ------------------
  |  | 1955|  41.5k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (5093:17): [True: 41.4k, False: 79]
  ------------------
 5094|  41.4k|                e = s + SIZEOF_SIZE_T * 255;
  ------------------
  |  | 1955|  41.4k|#define SIZEOF_SIZE_T 8
  ------------------
 5095|  41.4k|            }
 5096|  41.5k|            Py_ssize_t vstart = 0;
 5097|  10.6M|            while (s + SIZEOF_SIZE_T <= e) {
  ------------------
  |  | 1955|  10.6M|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (5097:20): [True: 10.5M, False: 41.5k]
  ------------------
 5098|  10.5M|                size_t v = *(size_t*)s;
 5099|  10.5M|                size_t vs = vector_utf8_start_chars(v);
 5100|  10.5M|                vstart += vs;
 5101|  10.5M|                s += SIZEOF_SIZE_T;
  ------------------
  |  | 1955|  10.5M|#define SIZEOF_SIZE_T 8
  ------------------
 5102|  10.5M|            }
 5103|  41.5k|            vstart = (vstart & VECTOR_00FF) + ((vstart >> 8) & VECTOR_00FF);
  ------------------
  |  | 4914|  41.5k|# define VECTOR_00FF     0x00ff00ff00ff00ffULL
  ------------------
                          vstart = (vstart & VECTOR_00FF) + ((vstart >> 8) & VECTOR_00FF);
  ------------------
  |  | 4914|  41.5k|# define VECTOR_00FF     0x00ff00ff00ff00ffULL
  ------------------
 5104|  41.5k|            vstart += vstart >> 16;
 5105|  41.5k|#if SIZEOF_SIZE_T == 8
 5106|  41.5k|            vstart += vstart >> 32;
 5107|  41.5k|#endif
 5108|  41.5k|            len += vstart & 0x7ff;
 5109|  41.5k|        }
 5110|     89|    }
 5111|   950k|    while (s < end) {
  ------------------
  |  Branch (5111:12): [True: 672k, False: 277k]
  ------------------
 5112|   672k|        len += scalar_utf8_start_char(*s++);
 5113|   672k|    }
 5114|   277k|    return len;
 5115|   277k|}
unicodeobject.c:scalar_utf8_start_char:
 5068|   672k|{
 5069|       |    // 0xxxxxxx or 11xxxxxx are first byte.
 5070|   672k|    return (~ch >> 7 | ch >> 6) & 1;
 5071|   672k|}
unicodeobject.c:vector_utf8_start_chars:
 5075|  10.5M|{
 5076|  10.5M|    return ((~v >> 7) | (v >> 6)) & VECTOR_0101;
  ------------------
  |  | 4913|  10.5M|# define VECTOR_0101     0x0101010101010101ULL
  ------------------
 5077|  10.5M|}
unicodeobject.c:ascii_decode:
 5119|    174|{
 5120|    174|#if SIZEOF_SIZE_T <= SIZEOF_VOID_P
 5121|    174|    if (_Py_IS_ALIGNED(start, ALIGNOF_SIZE_T)
  ------------------
  |  |  246|    348|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  |  |  ------------------
  |  |  |  Branch (246:30): [True: 54, False: 120]
  |  |  ------------------
  ------------------
 5122|     54|        && _Py_IS_ALIGNED(dest, ALIGNOF_SIZE_T))
  ------------------
  |  |  246|     54|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  |  |  ------------------
  |  |  |  Branch (246:30): [True: 52, False: 2]
  |  |  ------------------
  ------------------
 5123|     52|    {
 5124|       |        /* Fast path, see in STRINGLIB(utf8_decode) for
 5125|       |           an explanation. */
 5126|     52|        const char *p = start;
 5127|     52|        Py_UCS1 *q = dest;
 5128|     60|        while (p + SIZEOF_SIZE_T <= end) {
  ------------------
  |  | 1955|     60|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (5128:16): [True: 8, False: 52]
  ------------------
 5129|      8|            size_t value = *(const size_t *) p;
 5130|      8|            if (value & ASCII_CHAR_MASK)
  ------------------
  |  | 4911|      8|# define ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
  |  Branch (5130:17): [True: 0, False: 8]
  ------------------
 5131|      0|                break;
 5132|      8|            *((size_t *)q) = value;
 5133|      8|            p += SIZEOF_SIZE_T;
  ------------------
  |  | 1955|      8|#define SIZEOF_SIZE_T 8
  ------------------
 5134|      8|            q += SIZEOF_SIZE_T;
  ------------------
  |  | 1955|      8|#define SIZEOF_SIZE_T 8
  ------------------
 5135|      8|        }
 5136|    260|        while (p < end) {
  ------------------
  |  Branch (5136:16): [True: 208, False: 52]
  ------------------
 5137|    208|            if ((unsigned char)*p & 0x80)
  ------------------
  |  Branch (5137:17): [True: 0, False: 208]
  ------------------
 5138|      0|                break;
 5139|    208|            *q++ = *p++;
 5140|    208|        }
 5141|     52|        return p - start;
 5142|     52|    }
 5143|    122|#endif
 5144|    122|    Py_ssize_t pos = find_first_nonascii((const unsigned char*)start,
 5145|    122|                                         (const unsigned char*)end);
 5146|    122|    memcpy(dest, start, pos);
 5147|    122|    return pos;
 5148|    174|}
unicodeobject.c:unicode_decode_utf8_impl:
 5156|   277k|{
 5157|   277k|    Py_ssize_t startinpos, endinpos;
 5158|   277k|    const char *errmsg = "";
 5159|   277k|    PyObject *error_handler_obj = NULL;
 5160|   277k|    PyObject *exc = NULL;
 5161|       |
 5162|   278k|    while (s < end) {
  ------------------
  |  Branch (5162:12): [True: 278k, False: 40]
  ------------------
 5163|   278k|        Py_UCS4 ch;
 5164|   278k|        int kind = writer->kind;
 5165|       |
 5166|   278k|        if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (5166:13): [True: 219k, False: 58.3k]
  ------------------
 5167|   219k|            if (PyUnicode_IS_ASCII(writer->buffer))
  ------------------
  |  |  227|   219k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   219k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   219k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 68, False: 219k]
  |  |  ------------------
  ------------------
 5168|     68|                ch = asciilib_utf8_decode(&s, end, writer->data, &writer->pos);
 5169|   219k|            else
 5170|   219k|                ch = ucs1lib_utf8_decode(&s, end, writer->data, &writer->pos);
 5171|   219k|        } else if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (5171:20): [True: 102, False: 58.2k]
  ------------------
 5172|    102|            ch = ucs2lib_utf8_decode(&s, end, writer->data, &writer->pos);
 5173|  58.2k|        } else {
 5174|  58.2k|            assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (5174:13): [True: 58.2k, False: 0]
  ------------------
 5175|  58.2k|            ch = ucs4lib_utf8_decode(&s, end, writer->data, &writer->pos);
 5176|  58.2k|        }
 5177|       |
 5178|   278k|        switch (ch) {
 5179|   277k|        case 0:
  ------------------
  |  Branch (5179:9): [True: 277k, False: 202]
  ------------------
 5180|   277k|            if (s == end || consumed)
  ------------------
  |  Branch (5180:17): [True: 277k, False: 0]
  |  Branch (5180:29): [True: 0, False: 0]
  ------------------
 5181|   277k|                goto End;
 5182|      0|            errmsg = "unexpected end of data";
 5183|      0|            startinpos = s - starts;
 5184|      0|            endinpos = end - starts;
 5185|      0|            break;
 5186|      1|        case 1:
  ------------------
  |  Branch (5186:9): [True: 1, False: 278k]
  ------------------
 5187|      1|            errmsg = "invalid start byte";
 5188|      1|            startinpos = s - starts;
 5189|      1|            endinpos = startinpos + 1;
 5190|      1|            break;
 5191|      1|        case 2:
  ------------------
  |  Branch (5191:9): [True: 1, False: 278k]
  ------------------
 5192|      1|            if (consumed && (unsigned char)s[0] == 0xED && end - s == 2
  ------------------
  |  Branch (5192:17): [True: 0, False: 1]
  |  Branch (5192:29): [True: 0, False: 0]
  |  Branch (5192:60): [True: 0, False: 0]
  ------------------
 5193|      0|                && (unsigned char)s[1] >= 0xA0 && (unsigned char)s[1] <= 0xBF)
  ------------------
  |  Branch (5193:20): [True: 0, False: 0]
  |  Branch (5193:51): [True: 0, False: 0]
  ------------------
 5194|      0|            {
 5195|       |                /* Truncated surrogate code in range D800-DFFF */
 5196|      0|                goto End;
 5197|      0|            }
 5198|      1|            _Py_FALLTHROUGH;
  ------------------
  |  |  650|      1|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 5199|      1|        case 3:
  ------------------
  |  Branch (5199:9): [True: 0, False: 278k]
  ------------------
 5200|      1|        case 4:
  ------------------
  |  Branch (5200:9): [True: 0, False: 278k]
  ------------------
 5201|      1|            errmsg = "invalid continuation byte";
 5202|      1|            startinpos = s - starts;
 5203|      1|            endinpos = startinpos + ch - 1;
 5204|      1|            break;
 5205|    200|        default:
  ------------------
  |  Branch (5205:9): [True: 200, False: 277k]
  ------------------
 5206|       |            // ch doesn't fit into kind, so change the buffer kind to write
 5207|       |            // the character
 5208|    200|            if (_PyUnicodeWriter_WriteCharInline(writer, ch) < 0)
  ------------------
  |  Branch (5208:17): [True: 0, False: 200]
  ------------------
 5209|      0|                goto onError;
 5210|    200|            continue;
 5211|   278k|        }
 5212|       |
 5213|      2|        if (error_handler == _Py_ERROR_UNKNOWN)
  ------------------
  |  Branch (5213:13): [True: 0, False: 2]
  ------------------
 5214|      0|            error_handler = _Py_GetErrorHandler(errors);
 5215|       |
 5216|      2|        switch (error_handler) {
 5217|      0|        case _Py_ERROR_IGNORE:
  ------------------
  |  Branch (5217:9): [True: 0, False: 2]
  ------------------
 5218|      0|            s += (endinpos - startinpos);
 5219|      0|            break;
 5220|       |
 5221|      0|        case _Py_ERROR_REPLACE:
  ------------------
  |  Branch (5221:9): [True: 0, False: 2]
  ------------------
 5222|      0|            if (_PyUnicodeWriter_WriteCharInline(writer, 0xfffd) < 0)
  ------------------
  |  Branch (5222:17): [True: 0, False: 0]
  ------------------
 5223|      0|                goto onError;
 5224|      0|            s += (endinpos - startinpos);
 5225|      0|            break;
 5226|       |
 5227|      0|        case _Py_ERROR_SURROGATEESCAPE:
  ------------------
  |  Branch (5227:9): [True: 0, False: 2]
  ------------------
 5228|      0|        {
 5229|      0|            Py_ssize_t i;
 5230|       |
 5231|      0|            if (_PyUnicodeWriter_PrepareKind(writer, PyUnicode_2BYTE_KIND) < 0)
  ------------------
  |  |  582|      0|    ((KIND) <= (WRITER)->kind                                         \
  |  |  ------------------
  |  |  |  Branch (582:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  583|      0|     ? 0                                                              \
  |  |  584|      0|     : _PyUnicodeWriter_PrepareKindInternal((WRITER), (KIND)))
  ------------------
  |  Branch (5231:17): [True: 0, False: 0]
  ------------------
 5232|      0|                goto onError;
 5233|      0|            assert(_PyUnicodeWriter_CanWrite(writer));
  ------------------
  |  Branch (5233:13): [True: 0, False: 0]
  ------------------
 5234|      0|            for (i=startinpos; i<endinpos; i++) {
  ------------------
  |  Branch (5234:32): [True: 0, False: 0]
  ------------------
 5235|      0|                ch = (Py_UCS4)(unsigned char)(starts[i]);
 5236|      0|                PyUnicode_WRITE(writer->kind, writer->data, writer->pos,
  ------------------
  |  |  335|      0|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  336|      0|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 5237|      0|                                ch + 0xdc00);
 5238|      0|                writer->pos++;
 5239|      0|            }
 5240|      0|            s += (endinpos - startinpos);
 5241|      0|            break;
 5242|      0|        }
 5243|       |
 5244|      2|        default:
  ------------------
  |  Branch (5244:9): [True: 2, False: 0]
  ------------------
 5245|      2|            if (unicode_decode_call_errorhandler_writer(
  ------------------
  |  Branch (5245:17): [True: 2, False: 0]
  ------------------
 5246|      2|                    errors, &error_handler_obj,
 5247|      2|                    "utf-8", errmsg,
 5248|      2|                    &starts, &end, &startinpos, &endinpos, &exc, &s,
 5249|      2|                    writer)) {
 5250|      2|                goto onError;
 5251|      2|            }
 5252|       |
 5253|      0|            if (_PyUnicodeWriter_Prepare(writer, end - s, 127) < 0) {
  ------------------
  |  |  562|      0|    (((MAXCHAR) <= (WRITER)->maxchar                                  \
  |  |  ------------------
  |  |  |  Branch (562:7): [True: 0, False: 0]
  |  |  ------------------
  |  |  563|      0|      && (LENGTH) <= (WRITER)->size - (WRITER)->pos)                  \
  |  |  ------------------
  |  |  |  Branch (563:10): [True: 0, False: 0]
  |  |  ------------------
  |  |  564|      0|     ? 0                                                              \
  |  |  565|      0|     : (((LENGTH) == 0)                                               \
  |  |  ------------------
  |  |  |  Branch (565:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  566|      0|        ? 0                                                           \
  |  |  567|      0|        : _PyUnicodeWriter_PrepareInternal((WRITER), (LENGTH), (MAXCHAR))))
  ------------------
  |  Branch (5253:17): [True: 0, False: 0]
  ------------------
 5254|      0|                goto onError;
 5255|      0|            }
 5256|      2|        }
 5257|      2|    }
 5258|       |
 5259|   277k|End:
 5260|   277k|    if (consumed)
  ------------------
  |  Branch (5260:9): [True: 0, False: 277k]
  ------------------
 5261|      0|        *consumed = s - starts;
 5262|       |
 5263|   277k|    Py_XDECREF(error_handler_obj);
  ------------------
  |  |  524|   277k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   277k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   277k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5264|   277k|    Py_XDECREF(exc);
  ------------------
  |  |  524|   277k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   277k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   277k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5265|   277k|    return 0;
 5266|       |
 5267|      2|onError:
 5268|      2|    Py_XDECREF(error_handler_obj);
  ------------------
  |  |  524|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5269|      2|    Py_XDECREF(exc);
  ------------------
  |  |  524|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5270|      2|    return -1;
 5271|   277k|}
unicodeobject.c:unicode_encode_utf8:
 5706|    137|{
 5707|    137|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|    137|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    137|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (5707:9): [True: 0, False: 137]
  ------------------
 5708|      0|        PyErr_BadArgument();
 5709|      0|        return NULL;
 5710|      0|    }
 5711|       |
 5712|    137|    if (PyUnicode_UTF8(unicode))
  ------------------
  |  Branch (5712:9): [True: 135, False: 2]
  ------------------
 5713|    135|        return PyBytes_FromStringAndSize(PyUnicode_UTF8(unicode),
 5714|    135|                                         PyUnicode_UTF8_LENGTH(unicode));
 5715|       |
 5716|      2|    int kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|      2|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 2, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5717|      2|    const void *data = PyUnicode_DATA(unicode);
  ------------------
  |  |  284|      2|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5718|      2|    Py_ssize_t size = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  299|      2|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5719|       |
 5720|      2|    PyBytesWriter *writer;
 5721|      2|    char *end;
 5722|       |
 5723|      2|    switch (kind) {
 5724|      0|    default:
  ------------------
  |  Branch (5724:5): [True: 0, False: 2]
  ------------------
 5725|      0|        Py_UNREACHABLE();
  ------------------
  |  |  289|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 5726|      0|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (5726:5): [True: 0, False: 2]
  ------------------
 5727|       |        /* the string cannot be ASCII, or PyUnicode_UTF8() would be set */
 5728|      0|        assert(!PyUnicode_IS_ASCII(unicode));
  ------------------
  |  Branch (5728:9): [True: 0, False: 0]
  ------------------
 5729|      0|        writer = ucs1lib_utf8_encoder(unicode, data, size,
 5730|      0|                                      error_handler, errors, &end);
 5731|      0|        break;
 5732|      1|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (5732:5): [True: 1, False: 1]
  ------------------
 5733|      1|        writer = ucs2lib_utf8_encoder(unicode, data, size,
 5734|      1|                                      error_handler, errors, &end);
 5735|      1|        break;
 5736|      1|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (5736:5): [True: 1, False: 1]
  ------------------
 5737|      1|        writer = ucs4lib_utf8_encoder(unicode, data, size,
 5738|      1|                                      error_handler, errors, &end);
 5739|      1|        break;
 5740|      2|    }
 5741|       |
 5742|      2|    if (writer == NULL) {
  ------------------
  |  Branch (5742:9): [True: 0, False: 2]
  ------------------
 5743|      0|        PyBytesWriter_Discard(writer);
 5744|      0|        return NULL;
 5745|      0|    }
 5746|      2|    return PyBytesWriter_FinishWithPointer(writer, end);
 5747|      2|}
unicodeobject.c:_PyUnicode_TranslateCharmap:
 9742|     48|{
 9743|       |    /* input object */
 9744|     48|    const void *data;
 9745|     48|    Py_ssize_t size, i;
 9746|     48|    int kind;
 9747|       |    /* output buffer */
 9748|     48|    _PyUnicodeWriter writer;
 9749|       |    /* error handler */
 9750|     48|    const char *reason = "character maps to <undefined>";
 9751|     48|    PyObject *errorHandler = NULL;
 9752|     48|    PyObject *exc = NULL;
 9753|     48|    int ignore;
 9754|     48|    int res;
 9755|       |
 9756|     48|    if (mapping == NULL) {
  ------------------
  |  Branch (9756:9): [True: 0, False: 48]
  ------------------
 9757|      0|        PyErr_BadArgument();
 9758|      0|        return NULL;
 9759|      0|    }
 9760|       |
 9761|     48|    data = PyUnicode_DATA(input);
  ------------------
  |  |  284|     48|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9762|     48|    kind = PyUnicode_KIND(input);
  ------------------
  |  |  258|     48|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|     96|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 48, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9763|     48|    size = PyUnicode_GET_LENGTH(input);
  ------------------
  |  |  299|     48|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9764|       |
 9765|     48|    if (size == 0)
  ------------------
  |  Branch (9765:9): [True: 0, False: 48]
  ------------------
 9766|      0|        return PyUnicode_FromObject(input);
 9767|       |
 9768|       |    /* allocate enough for a simple 1:1 translation without
 9769|       |       replacements, if we need more, we'll resize */
 9770|     48|    _PyUnicodeWriter_Init(&writer);
 9771|     48|    if (_PyUnicodeWriter_Prepare(&writer, size, 127) == -1)
  ------------------
  |  |  562|     48|    (((MAXCHAR) <= (WRITER)->maxchar                                  \
  |  |  ------------------
  |  |  |  Branch (562:7): [True: 0, False: 48]
  |  |  ------------------
  |  |  563|     48|      && (LENGTH) <= (WRITER)->size - (WRITER)->pos)                  \
  |  |  ------------------
  |  |  |  Branch (563:10): [True: 0, False: 0]
  |  |  ------------------
  |  |  564|     48|     ? 0                                                              \
  |  |  565|     48|     : (((LENGTH) == 0)                                               \
  |  |  ------------------
  |  |  |  Branch (565:9): [True: 0, False: 48]
  |  |  ------------------
  |  |  566|     48|        ? 0                                                           \
  |  |  567|     48|        : _PyUnicodeWriter_PrepareInternal((WRITER), (LENGTH), (MAXCHAR))))
  ------------------
  |  Branch (9771:9): [True: 0, False: 48]
  ------------------
 9772|      0|        goto onError;
 9773|       |
 9774|     48|    ignore = (errors != NULL && strcmp(errors, "ignore") == 0);
  ------------------
  |  Branch (9774:15): [True: 48, False: 0]
  |  Branch (9774:33): [True: 48, False: 0]
  ------------------
 9775|       |
 9776|     48|    if (PyUnicode_IS_ASCII(input)) {
  ------------------
  |  |  227|     48|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 48, False: 0]
  |  |  ------------------
  ------------------
 9777|     48|        res = unicode_fast_translate(input, mapping, &writer, ignore, &i);
 9778|     48|        if (res < 0) {
  ------------------
  |  Branch (9778:13): [True: 0, False: 48]
  ------------------
 9779|      0|            _PyUnicodeWriter_Dealloc(&writer);
 9780|      0|            return NULL;
 9781|      0|        }
 9782|     48|        if (res == 1)
  ------------------
  |  Branch (9782:13): [True: 24, False: 24]
  ------------------
 9783|     24|            return _PyUnicodeWriter_Finish(&writer);
 9784|     48|    }
 9785|      0|    else {
 9786|      0|        i = 0;
 9787|      0|    }
 9788|       |
 9789|     60|    while (i<size) {
  ------------------
  |  Branch (9789:12): [True: 36, False: 24]
  ------------------
 9790|       |        /* try to encode it */
 9791|     36|        int translate;
 9792|     36|        PyObject *repunicode = NULL; /* initialize to prevent gcc warning */
 9793|     36|        Py_ssize_t newpos;
 9794|       |        /* startpos for collecting untranslatable chars */
 9795|     36|        Py_ssize_t collstart;
 9796|     36|        Py_ssize_t collend;
 9797|     36|        Py_UCS4 ch;
 9798|       |
 9799|     36|        ch = PyUnicode_READ(kind, data, i);
  ------------------
  |  |  354|     36|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|     36|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|     36|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|     36|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|     36|                   (index))
  ------------------
 9800|     36|        translate = charmaptranslate_output(ch, mapping, &writer);
 9801|     36|        if (translate < 0)
  ------------------
  |  Branch (9801:13): [True: 0, False: 36]
  ------------------
 9802|      0|            goto onError;
 9803|       |
 9804|     36|        if (translate != 0) {
  ------------------
  |  Branch (9804:13): [True: 36, False: 0]
  ------------------
 9805|       |            /* it worked => adjust input pointer */
 9806|     36|            ++i;
 9807|     36|            continue;
 9808|     36|        }
 9809|       |
 9810|       |        /* untranslatable character */
 9811|      0|        collstart = i;
 9812|      0|        collend = i+1;
 9813|       |
 9814|       |        /* find all untranslatable characters */
 9815|      0|        while (collend < size) {
  ------------------
  |  Branch (9815:16): [True: 0, False: 0]
  ------------------
 9816|      0|            PyObject *x;
 9817|      0|            Py_UCS4 replace;
 9818|      0|            ch = PyUnicode_READ(kind, data, collend);
  ------------------
  |  |  354|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      0|                   (index))
  ------------------
 9819|      0|            if (charmaptranslate_lookup(ch, mapping, &x, &replace))
  ------------------
  |  Branch (9819:17): [True: 0, False: 0]
  ------------------
 9820|      0|                goto onError;
 9821|      0|            Py_XDECREF(x);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9822|      0|            if (x != Py_None)
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (9822:17): [True: 0, False: 0]
  ------------------
 9823|      0|                break;
 9824|      0|            ++collend;
 9825|      0|        }
 9826|       |
 9827|      0|        if (ignore) {
  ------------------
  |  Branch (9827:13): [True: 0, False: 0]
  ------------------
 9828|      0|            i = collend;
 9829|      0|        }
 9830|      0|        else {
 9831|      0|            repunicode = unicode_translate_call_errorhandler(errors, &errorHandler,
 9832|      0|                                                             reason, input, &exc,
 9833|      0|                                                             collstart, collend, &newpos);
 9834|      0|            if (repunicode == NULL)
  ------------------
  |  Branch (9834:17): [True: 0, False: 0]
  ------------------
 9835|      0|                goto onError;
 9836|      0|            if (_PyUnicodeWriter_WriteStr(&writer, repunicode) < 0) {
  ------------------
  |  Branch (9836:17): [True: 0, False: 0]
  ------------------
 9837|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9838|      0|                goto onError;
 9839|      0|            }
 9840|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9841|      0|            i = newpos;
 9842|      0|        }
 9843|      0|    }
 9844|     24|    Py_XDECREF(exc);
  ------------------
  |  |  524|     24|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9845|     24|    Py_XDECREF(errorHandler);
  ------------------
  |  |  524|     24|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9846|     24|    return _PyUnicodeWriter_Finish(&writer);
 9847|       |
 9848|      0|  onError:
 9849|      0|    _PyUnicodeWriter_Dealloc(&writer);
 9850|      0|    Py_XDECREF(exc);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9851|      0|    Py_XDECREF(errorHandler);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9852|       |    return NULL;
 9853|     24|}
unicodeobject.c:unicode_fast_translate:
 9691|     48|{
 9692|     48|    Py_UCS1 ascii_table[128], ch, ch2;
 9693|     48|    Py_ssize_t len;
 9694|     48|    const Py_UCS1 *in, *end;
 9695|     48|    Py_UCS1 *out;
 9696|     48|    int res = 0;
 9697|       |
 9698|     48|    len = PyUnicode_GET_LENGTH(input);
  ------------------
  |  |  299|     48|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9699|       |
 9700|     48|    memset(ascii_table, 0xff, 128);
 9701|       |
 9702|     48|    in = PyUnicode_1BYTE_DATA(input);
  ------------------
  |  |  291|     48|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|     48|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 9703|     48|    end = in + len;
 9704|       |
 9705|     48|    assert(PyUnicode_IS_ASCII(writer->buffer));
  ------------------
  |  Branch (9705:5): [True: 48, False: 0]
  ------------------
 9706|     48|    assert(PyUnicode_GET_LENGTH(writer->buffer) == len);
  ------------------
  |  Branch (9706:5): [True: 48, False: 0]
  ------------------
 9707|     48|    out = PyUnicode_1BYTE_DATA(writer->buffer);
  ------------------
  |  |  291|     48|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|     48|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 9708|       |
 9709|     89|    for (; in < end; in++) {
  ------------------
  |  Branch (9709:12): [True: 65, False: 24]
  ------------------
 9710|     65|        ch = *in;
 9711|     65|        ch2 = ascii_table[ch];
 9712|     65|        if (ch2 == 0xff) {
  ------------------
  |  Branch (9712:13): [True: 58, False: 7]
  ------------------
 9713|     58|            int translate = unicode_fast_translate_lookup(mapping, ch,
 9714|     58|                                                          ascii_table);
 9715|     58|            if (translate < 0)
  ------------------
  |  Branch (9715:17): [True: 0, False: 58]
  ------------------
 9716|      0|                return -1;
 9717|     58|            if (translate == 0)
  ------------------
  |  Branch (9717:17): [True: 24, False: 34]
  ------------------
 9718|     24|                goto exit;
 9719|     34|            ch2 = ascii_table[ch];
 9720|     34|        }
 9721|     41|        if (ch2 == 0xfe) {
  ------------------
  |  Branch (9721:13): [True: 0, False: 41]
  ------------------
 9722|      0|            if (ignore)
  ------------------
  |  Branch (9722:17): [True: 0, False: 0]
  ------------------
 9723|      0|                continue;
 9724|      0|            goto exit;
 9725|      0|        }
 9726|     41|        assert(ch2 < 128);
  ------------------
  |  Branch (9726:9): [True: 41, False: 0]
  ------------------
 9727|     41|        *out = ch2;
 9728|     41|        out++;
 9729|     41|    }
 9730|     24|    res = 1;
 9731|       |
 9732|     48|exit:
 9733|     48|    writer->pos = out - PyUnicode_1BYTE_DATA(writer->buffer);
  ------------------
  |  |  291|     48|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|     48|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 9734|     48|    *input_pos = in - PyUnicode_1BYTE_DATA(input);
  ------------------
  |  |  291|     48|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|     48|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 9735|     48|    return res;
 9736|     24|}
unicodeobject.c:unicode_fast_translate_lookup:
 9638|     58|{
 9639|     58|    PyObject *item = NULL;
 9640|     58|    Py_UCS4 replace;
 9641|     58|    int ret = 0;
 9642|       |
 9643|     58|    if (charmaptranslate_lookup(ch, mapping, &item, &replace)) {
  ------------------
  |  Branch (9643:9): [True: 0, False: 58]
  ------------------
 9644|      0|        return -1;
 9645|      0|    }
 9646|       |
 9647|     58|    if (item == Py_None) {
  ------------------
  |  |  616|     58|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (9647:9): [True: 0, False: 58]
  ------------------
 9648|       |        /* deletion */
 9649|      0|        translate[ch] = 0xfe;
 9650|      0|    }
 9651|     58|    else if (item == NULL) {
  ------------------
  |  Branch (9651:14): [True: 34, False: 24]
  ------------------
 9652|       |        /* not found => default to 1:1 mapping */
 9653|     34|        translate[ch] = ch;
 9654|     34|        return 1;
 9655|     34|    }
 9656|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9657|      0|        if (replace > 127) {
  ------------------
  |  Branch (9657:13): [True: 0, False: 0]
  ------------------
 9658|       |            /* invalid character or character outside ASCII:
 9659|       |               skip the fast translate */
 9660|      0|            goto exit;
 9661|      0|        }
 9662|      0|        translate[ch] = (Py_UCS1)replace;
 9663|      0|    }
 9664|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9665|     24|        if (PyUnicode_GET_LENGTH(item) != 1)
  ------------------
  |  |  299|     24|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (9665:13): [True: 24, False: 0]
  ------------------
 9666|     24|            goto exit;
 9667|       |
 9668|      0|        replace = PyUnicode_READ_CHAR(item, 0);
  ------------------
  |  |  381|      0|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9669|      0|        if (replace > 127)
  ------------------
  |  Branch (9669:13): [True: 0, False: 0]
  ------------------
 9670|      0|            goto exit;
 9671|      0|        translate[ch] = (Py_UCS1)replace;
 9672|      0|    }
 9673|      0|    else {
 9674|       |        /* not None, NULL, long or unicode */
 9675|      0|        goto exit;
 9676|      0|    }
 9677|      0|    ret = 1;
 9678|       |
 9679|     24|  exit:
 9680|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9681|     24|    return ret;
 9682|      0|}
unicodeobject.c:charmaptranslate_output:
 9592|     36|{
 9593|     36|    PyObject *item;
 9594|     36|    Py_UCS4 replace;
 9595|       |
 9596|     36|    if (charmaptranslate_lookup(ch, mapping, &item, &replace))
  ------------------
  |  Branch (9596:9): [True: 0, False: 36]
  ------------------
 9597|      0|        return -1;
 9598|       |
 9599|     36|    if (item == NULL) {
  ------------------
  |  Branch (9599:9): [True: 8, False: 28]
  ------------------
 9600|       |        /* not found => default to 1:1 mapping */
 9601|      8|        if (_PyUnicodeWriter_WriteCharInline(writer, ch) < 0) {
  ------------------
  |  Branch (9601:13): [True: 0, False: 8]
  ------------------
 9602|      0|            return -1;
 9603|      0|        }
 9604|      8|        return 1;
 9605|      8|    }
 9606|       |
 9607|     28|    if (item == Py_None) {
  ------------------
  |  |  616|     28|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (9607:9): [True: 0, False: 28]
  ------------------
 9608|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9609|      0|        return 0;
 9610|      0|    }
 9611|       |
 9612|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9613|      0|        if (_PyUnicodeWriter_WriteCharInline(writer, replace) < 0) {
  ------------------
  |  Branch (9613:13): [True: 0, False: 0]
  ------------------
 9614|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9615|      0|            return -1;
 9616|      0|        }
 9617|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9618|      0|        return 1;
 9619|      0|    }
 9620|       |
 9621|     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 (9621:9): [True: 0, False: 28]
  ------------------
 9622|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9623|      0|        return -1;
 9624|      0|    }
 9625|       |
 9626|     28|    if (_PyUnicodeWriter_WriteStr(writer, item) < 0) {
  ------------------
  |  Branch (9626:9): [True: 0, False: 28]
  ------------------
 9627|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9628|      0|        return -1;
 9629|      0|    }
 9630|       |
 9631|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9632|     28|    return 1;
 9633|     28|}
unicodeobject.c:charmaptranslate_lookup:
 9534|     94|{
 9535|     94|    PyObject *w = PyLong_FromLong((long)c);
 9536|     94|    PyObject *x;
 9537|       |
 9538|     94|    if (w == NULL)
  ------------------
  |  Branch (9538:9): [True: 0, False: 94]
  ------------------
 9539|      0|        return -1;
 9540|     94|    int rc = PyMapping_GetOptionalItem(mapping, w, &x);
 9541|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9542|     94|    if (rc == 0) {
  ------------------
  |  Branch (9542:9): [True: 42, False: 52]
  ------------------
 9543|       |        /* No mapping found means: use 1:1 mapping. */
 9544|     42|        *result = NULL;
 9545|     42|        return 0;
 9546|     42|    }
 9547|     52|    if (x == NULL) {
  ------------------
  |  Branch (9547:9): [True: 0, False: 52]
  ------------------
 9548|      0|        if (PyErr_ExceptionMatches(PyExc_LookupError)) {
  ------------------
  |  Branch (9548:13): [True: 0, False: 0]
  ------------------
 9549|       |            /* No mapping found means: use 1:1 mapping. */
 9550|      0|            PyErr_Clear();
 9551|      0|            *result = NULL;
 9552|      0|            return 0;
 9553|      0|        } else
 9554|      0|            return -1;
 9555|      0|    }
 9556|     52|    else if (x == Py_None) {
  ------------------
  |  |  616|     52|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (9556:14): [True: 0, False: 52]
  ------------------
 9557|      0|        *result = x;
 9558|      0|        return 0;
 9559|      0|    }
 9560|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9561|      0|        long value = PyLong_AsLong(x);
 9562|      0|        if (value < 0 || value > MAX_UNICODE) {
  ------------------
  |  |  108|      0|#define MAX_UNICODE _Py_MAX_UNICODE
  |  |  ------------------
  |  |  |  |   17|      0|#define _Py_MAX_UNICODE 0x10ffff
  |  |  ------------------
  ------------------
  |  Branch (9562:13): [True: 0, False: 0]
  |  Branch (9562:26): [True: 0, False: 0]
  ------------------
 9563|      0|            PyErr_Format(PyExc_ValueError,
 9564|      0|                         "character mapping must be in range(0x%lx)",
 9565|      0|                         (unsigned long)MAX_UNICODE + 1);
  ------------------
  |  |  108|      0|#define MAX_UNICODE _Py_MAX_UNICODE
  |  |  ------------------
  |  |  |  |   17|      0|#define _Py_MAX_UNICODE 0x10ffff
  |  |  ------------------
  ------------------
 9566|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9567|      0|            return -1;
 9568|      0|        }
 9569|      0|        *result = x;
 9570|      0|        *replace = (Py_UCS4)value;
 9571|      0|        return 0;
 9572|      0|    }
 9573|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9574|     52|        *result = x;
 9575|     52|        return 0;
 9576|     52|    }
 9577|      0|    else {
 9578|       |        /* wrong return value */
 9579|      0|        PyErr_SetString(PyExc_TypeError,
 9580|      0|                        "character mapping must return integer, None or str");
 9581|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9582|      0|        return -1;
 9583|      0|    }
 9584|     52|}
unicodeobject.c:any_find_slice:
 9938|     35|{
 9939|     35|    int kind1, kind2;
 9940|     35|    const void *buf1, *buf2;
 9941|     35|    Py_ssize_t len1, len2, result;
 9942|       |
 9943|     35|    kind1 = PyUnicode_KIND(s1);
  ------------------
  |  |  258|     35|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|     70|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 35, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9944|     35|    kind2 = PyUnicode_KIND(s2);
  ------------------
  |  |  258|     35|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|     70|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 35, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9945|     35|    if (kind1 < kind2)
  ------------------
  |  Branch (9945:9): [True: 0, False: 35]
  ------------------
 9946|      0|        return -1;
 9947|       |
 9948|     35|    len1 = PyUnicode_GET_LENGTH(s1);
  ------------------
  |  |  299|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9949|     35|    len2 = PyUnicode_GET_LENGTH(s2);
  ------------------
  |  |  299|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9950|     35|    ADJUST_INDICES(start, end, len1);
  ------------------
  |  | 9915|     35|    do {                                \
  |  | 9916|     35|        if (end > len) {                \
  |  |  ------------------
  |  |  |  Branch (9916:13): [True: 35, False: 0]
  |  |  ------------------
  |  | 9917|     35|            end = len;                  \
  |  | 9918|     35|        }                               \
  |  | 9919|     35|        else if (end < 0) {             \
  |  |  ------------------
  |  |  |  Branch (9919:18): [True: 0, False: 0]
  |  |  ------------------
  |  | 9920|      0|            end += len;                 \
  |  | 9921|      0|            if (end < 0) {              \
  |  |  ------------------
  |  |  |  Branch (9921:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9922|      0|                end = 0;                \
  |  | 9923|      0|            }                           \
  |  | 9924|      0|        }                               \
  |  | 9925|     35|        if (start < 0) {                \
  |  |  ------------------
  |  |  |  Branch (9925:13): [True: 0, False: 35]
  |  |  ------------------
  |  | 9926|      0|            start += len;               \
  |  | 9927|      0|            if (start < 0) {            \
  |  |  ------------------
  |  |  |  Branch (9927:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9928|      0|                start = 0;              \
  |  | 9929|      0|            }                           \
  |  | 9930|      0|        }                               \
  |  | 9931|     35|    } while (0)
  |  |  ------------------
  |  |  |  Branch (9931:14): [Folded, False: 35]
  |  |  ------------------
  ------------------
 9951|     35|    if (end - start < len2)
  ------------------
  |  Branch (9951:9): [True: 0, False: 35]
  ------------------
 9952|      0|        return -1;
 9953|       |
 9954|     35|    buf1 = PyUnicode_DATA(s1);
  ------------------
  |  |  284|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9955|     35|    buf2 = PyUnicode_DATA(s2);
  ------------------
  |  |  284|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9956|     35|    if (len2 == 1) {
  ------------------
  |  Branch (9956:9): [True: 35, False: 0]
  ------------------
 9957|     35|        Py_UCS4 ch = PyUnicode_READ(kind2, buf2, 0);
  ------------------
  |  |  354|     35|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|     35|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|     35|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|     35|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|     35|                   (index))
  ------------------
 9958|     35|        result = findchar((const char *)buf1 + kind1*start,
 9959|     35|                          kind1, end - start, ch, direction);
 9960|     35|        if (result == -1)
  ------------------
  |  Branch (9960:13): [True: 0, False: 35]
  ------------------
 9961|      0|            return -1;
 9962|     35|        else
 9963|     35|            return start + result;
 9964|     35|    }
 9965|       |
 9966|      0|    if (kind2 != kind1) {
  ------------------
  |  Branch (9966:9): [True: 0, False: 0]
  ------------------
 9967|      0|        buf2 = unicode_askind(kind2, buf2, len2, kind1);
 9968|      0|        if (!buf2)
  ------------------
  |  Branch (9968:13): [True: 0, False: 0]
  ------------------
 9969|      0|            return -2;
 9970|      0|    }
 9971|       |
 9972|      0|    if (direction > 0) {
  ------------------
  |  Branch (9972:9): [True: 0, False: 0]
  ------------------
 9973|      0|        switch (kind1) {
 9974|      0|        case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (9974:9): [True: 0, False: 0]
  ------------------
 9975|      0|            if (PyUnicode_IS_ASCII(s1) && PyUnicode_IS_ASCII(s2))
  ------------------
  |  |  227|      0|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 0, False: 0]
  |  |  ------------------
  ------------------
                          if (PyUnicode_IS_ASCII(s1) && PyUnicode_IS_ASCII(s2))
  ------------------
  |  |  227|      0|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 9976|      0|                result = asciilib_find_slice(buf1, len1, buf2, len2, start, end);
 9977|      0|            else
 9978|      0|                result = ucs1lib_find_slice(buf1, len1, buf2, len2, start, end);
 9979|      0|            break;
 9980|      0|        case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (9980:9): [True: 0, False: 0]
  ------------------
 9981|      0|            result = ucs2lib_find_slice(buf1, len1, buf2, len2, start, end);
 9982|      0|            break;
 9983|      0|        case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (9983:9): [True: 0, False: 0]
  ------------------
 9984|      0|            result = ucs4lib_find_slice(buf1, len1, buf2, len2, start, end);
 9985|      0|            break;
 9986|      0|        default:
  ------------------
  |  Branch (9986:9): [True: 0, False: 0]
  ------------------
 9987|      0|            Py_UNREACHABLE();
  ------------------
  |  |  289|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 9988|      0|        }
 9989|      0|    }
 9990|      0|    else {
 9991|      0|        switch (kind1) {
 9992|      0|        case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (9992:9): [True: 0, False: 0]
  ------------------
 9993|      0|            if (PyUnicode_IS_ASCII(s1) && PyUnicode_IS_ASCII(s2))
  ------------------
  |  |  227|      0|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 0, False: 0]
  |  |  ------------------
  ------------------
                          if (PyUnicode_IS_ASCII(s1) && PyUnicode_IS_ASCII(s2))
  ------------------
  |  |  227|      0|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 9994|      0|                result = asciilib_rfind_slice(buf1, len1, buf2, len2, start, end);
 9995|      0|            else
 9996|      0|                result = ucs1lib_rfind_slice(buf1, len1, buf2, len2, start, end);
 9997|      0|            break;
 9998|      0|        case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (9998:9): [True: 0, False: 0]
  ------------------
 9999|      0|            result = ucs2lib_rfind_slice(buf1, len1, buf2, len2, start, end);
10000|      0|            break;
10001|      0|        case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (10001:9): [True: 0, False: 0]
  ------------------
10002|      0|            result = ucs4lib_rfind_slice(buf1, len1, buf2, len2, start, end);
10003|      0|            break;
10004|      0|        default:
  ------------------
  |  Branch (10004:9): [True: 0, False: 0]
  ------------------
10005|      0|            Py_UNREACHABLE();
  ------------------
  |  |  289|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
10006|      0|        }
10007|      0|    }
10008|       |
10009|      0|    assert((kind2 != kind1) == (buf2 != PyUnicode_DATA(s2)));
  ------------------
  |  Branch (10009:5): [True: 0, False: 0]
  ------------------
10010|      0|    if (kind2 != kind1)
  ------------------
  |  Branch (10010:9): [True: 0, False: 0]
  ------------------
10011|      0|        PyMem_Free((void *)buf2);
10012|       |
10013|      0|    return result;
10014|      0|}
unicodeobject.c:tailmatch:
10068|    436|{
10069|    436|    int kind_self;
10070|    436|    int kind_sub;
10071|    436|    const void *data_self;
10072|    436|    const void *data_sub;
10073|    436|    Py_ssize_t offset;
10074|    436|    Py_ssize_t i;
10075|    436|    Py_ssize_t end_sub;
10076|       |
10077|    436|    ADJUST_INDICES(start, end, PyUnicode_GET_LENGTH(self));
  ------------------
  |  | 9915|    436|    do {                                \
  |  | 9916|    436|        if (end > len) {                \
  |  |  ------------------
  |  |  |  Branch (9916:13): [True: 436, False: 0]
  |  |  ------------------
  |  | 9917|    436|            end = len;                  \
  |  | 9918|    436|        }                               \
  |  | 9919|    436|        else if (end < 0) {             \
  |  |  ------------------
  |  |  |  Branch (9919:18): [True: 0, False: 0]
  |  |  ------------------
  |  | 9920|      0|            end += len;                 \
  |  | 9921|      0|            if (end < 0) {              \
  |  |  ------------------
  |  |  |  Branch (9921:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9922|      0|                end = 0;                \
  |  | 9923|      0|            }                           \
  |  | 9924|      0|        }                               \
  |  | 9925|    436|        if (start < 0) {                \
  |  |  ------------------
  |  |  |  Branch (9925:13): [True: 0, False: 436]
  |  |  ------------------
  |  | 9926|      0|            start += len;               \
  |  | 9927|      0|            if (start < 0) {            \
  |  |  ------------------
  |  |  |  Branch (9927:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9928|      0|                start = 0;              \
  |  | 9929|      0|            }                           \
  |  | 9930|      0|        }                               \
  |  | 9931|    436|    } while (0)
  |  |  ------------------
  |  |  |  Branch (9931:14): [Folded, False: 436]
  |  |  ------------------
  ------------------
10078|    436|    end -= PyUnicode_GET_LENGTH(substring);
  ------------------
  |  |  299|    436|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    436|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    436|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10079|    436|    if (end < start)
  ------------------
  |  Branch (10079:9): [True: 37, False: 399]
  ------------------
10080|     37|        return 0;
10081|       |
10082|    399|    if (PyUnicode_GET_LENGTH(substring) == 0)
  ------------------
  |  |  299|    399|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    399|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    399|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10082:9): [True: 0, False: 399]
  ------------------
10083|      0|        return 1;
10084|       |
10085|    399|    kind_self = PyUnicode_KIND(self);
  ------------------
  |  |  258|    399|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|    798|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 399, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10086|    399|    data_self = PyUnicode_DATA(self);
  ------------------
  |  |  284|    399|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    399|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    399|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10087|    399|    kind_sub = PyUnicode_KIND(substring);
  ------------------
  |  |  258|    399|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|    798|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 399, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10088|    399|    data_sub = PyUnicode_DATA(substring);
  ------------------
  |  |  284|    399|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    399|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    399|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10089|    399|    end_sub = PyUnicode_GET_LENGTH(substring) - 1;
  ------------------
  |  |  299|    399|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    399|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    399|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10090|       |
10091|    399|    if (direction > 0)
  ------------------
  |  Branch (10091:9): [True: 56, False: 343]
  ------------------
10092|     56|        offset = end;
10093|    343|    else
10094|    343|        offset = start;
10095|       |
10096|    399|    if (PyUnicode_READ(kind_self, data_self, offset) ==
  ------------------
  |  |  354|    399|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|    399|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|    399|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|    399|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|    399|                   (index))
  ------------------
  |  Branch (10096:9): [True: 182, False: 217]
  ------------------
10097|    399|        PyUnicode_READ(kind_sub, data_sub, 0) &&
  ------------------
  |  |  354|    798|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|    399|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|    798|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|    399|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|    798|                   (index))
  ------------------
10098|    182|        PyUnicode_READ(kind_self, data_self, offset + end_sub) ==
  ------------------
  |  |  354|    182|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|    182|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|    182|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|    182|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|    182|                   (index))
  ------------------
  |  Branch (10098:9): [True: 116, False: 66]
  ------------------
10099|    182|        PyUnicode_READ(kind_sub, data_sub, end_sub)) {
  ------------------
  |  |  354|    182|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|    182|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|    182|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|    182|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|    182|                   (index))
  ------------------
10100|       |        /* If both are of the same kind, memcmp is sufficient */
10101|    116|        if (kind_self == kind_sub) {
  ------------------
  |  Branch (10101:13): [True: 116, False: 0]
  ------------------
10102|    116|            return ! memcmp((char *)data_self +
10103|    116|                                (offset * PyUnicode_KIND(substring)),
  ------------------
  |  |  258|    116|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|    232|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 116, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10104|      0|                            data_sub,
10105|    116|                            PyUnicode_GET_LENGTH(substring) *
  ------------------
  |  |  299|    116|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    116|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    116|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10106|    116|                                PyUnicode_KIND(substring));
  ------------------
  |  |  258|    116|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|    232|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 116, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10107|    116|        }
10108|       |        /* otherwise we have to compare each character by first accessing it */
10109|      0|        else {
10110|       |            /* We do not need to compare 0 and len(substring)-1 because
10111|       |               the if statement above ensured already that they are equal
10112|       |               when we end up here. */
10113|      0|            for (i = 1; i < end_sub; ++i) {
  ------------------
  |  Branch (10113:25): [True: 0, False: 0]
  ------------------
10114|      0|                if (PyUnicode_READ(kind_self, data_self, offset + i) !=
  ------------------
  |  |  354|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      0|                   (index))
  ------------------
  |  Branch (10114:21): [True: 0, False: 0]
  ------------------
10115|      0|                    PyUnicode_READ(kind_sub, data_sub, i))
  ------------------
  |  |  354|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      0|                   (index))
  ------------------
10116|      0|                    return 0;
10117|      0|            }
10118|      0|            return 1;
10119|      0|        }
10120|    116|    }
10121|       |
10122|    283|    return 0;
10123|    399|}
unicodeobject.c:unicode_compare:
11312|  5.24k|{
11313|  5.24k|#define COMPARE(TYPE1, TYPE2) \
11314|  5.24k|    do { \
11315|  5.24k|        TYPE1* p1 = (TYPE1 *)data1; \
11316|  5.24k|        TYPE2* p2 = (TYPE2 *)data2; \
11317|  5.24k|        TYPE1* end = p1 + len; \
11318|  5.24k|        Py_UCS4 c1, c2; \
11319|  5.24k|        for (; p1 != end; p1++, p2++) { \
11320|  5.24k|            c1 = *p1; \
11321|  5.24k|            c2 = *p2; \
11322|  5.24k|            if (c1 != c2) \
11323|  5.24k|                return (c1 < c2) ? -1 : 1; \
11324|  5.24k|        } \
11325|  5.24k|    } \
11326|  5.24k|    while (0)
11327|       |
11328|  5.24k|    int kind1, kind2;
11329|  5.24k|    const void *data1, *data2;
11330|  5.24k|    Py_ssize_t len1, len2, len;
11331|       |
11332|  5.24k|    kind1 = PyUnicode_KIND(str1);
  ------------------
  |  |  258|  5.24k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|  10.4k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 5.24k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11333|  5.24k|    kind2 = PyUnicode_KIND(str2);
  ------------------
  |  |  258|  5.24k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|  10.4k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 5.24k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11334|  5.24k|    data1 = PyUnicode_DATA(str1);
  ------------------
  |  |  284|  5.24k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.24k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.24k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11335|  5.24k|    data2 = PyUnicode_DATA(str2);
  ------------------
  |  |  284|  5.24k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.24k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.24k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11336|  5.24k|    len1 = PyUnicode_GET_LENGTH(str1);
  ------------------
  |  |  299|  5.24k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.24k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.24k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11337|  5.24k|    len2 = PyUnicode_GET_LENGTH(str2);
  ------------------
  |  |  299|  5.24k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.24k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.24k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11338|  5.24k|    len = Py_MIN(len1, len2);
  ------------------
  |  |  120|  5.24k|       __extension__ \
  |  |  121|  5.24k|       ({ _Py_TYPEOF (x) _x = (x); \
  |  |  ------------------
  |  |  |  |  552|  5.24k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  122|  5.24k|          _Py_TYPEOF (y) _y = (y); \
  |  |  ------------------
  |  |  |  |  552|  5.24k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  123|  5.24k|          _x < _y ? _x : _y; })
  |  |  ------------------
  |  |  |  Branch (123:11): [True: 1.91k, False: 3.32k]
  |  |  ------------------
  ------------------
11339|       |
11340|  5.24k|    switch(kind1) {
11341|  5.24k|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (11341:5): [True: 5.24k, False: 0]
  ------------------
11342|  5.24k|    {
11343|  5.24k|        switch(kind2) {
11344|  5.24k|        case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (11344:9): [True: 5.24k, False: 0]
  ------------------
11345|  5.24k|        {
11346|  5.24k|            int cmp = memcmp(data1, data2, len);
11347|       |            /* normalize result of memcmp() into the range [-1; 1] */
11348|  5.24k|            if (cmp < 0)
  ------------------
  |  Branch (11348:17): [True: 2.63k, False: 2.61k]
  ------------------
11349|  2.63k|                return -1;
11350|  2.61k|            if (cmp > 0)
  ------------------
  |  Branch (11350:17): [True: 2.49k, False: 118]
  ------------------
11351|  2.49k|                return 1;
11352|    118|            break;
11353|  2.61k|        }
11354|    118|        case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (11354:9): [True: 0, False: 5.24k]
  ------------------
11355|      0|            COMPARE(Py_UCS1, Py_UCS2);
  ------------------
  |  |11314|      0|    do { \
  |  |11315|      0|        TYPE1* p1 = (TYPE1 *)data1; \
  |  |11316|      0|        TYPE2* p2 = (TYPE2 *)data2; \
  |  |11317|      0|        TYPE1* end = p1 + len; \
  |  |11318|      0|        Py_UCS4 c1, c2; \
  |  |11319|      0|        for (; p1 != end; p1++, p2++) { \
  |  |  ------------------
  |  |  |  Branch (11319:16): [True: 0, False: 0]
  |  |  ------------------
  |  |11320|      0|            c1 = *p1; \
  |  |11321|      0|            c2 = *p2; \
  |  |11322|      0|            if (c1 != c2) \
  |  |  ------------------
  |  |  |  Branch (11322:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11323|      0|                return (c1 < c2) ? -1 : 1; \
  |  |  ------------------
  |  |  |  Branch (11323:24): [True: 0, False: 0]
  |  |  ------------------
  |  |11324|      0|        } \
  |  |11325|      0|    } \
  |  |11326|      0|    while (0)
  |  |  ------------------
  |  |  |  Branch (11326:12): [Folded, False: 0]
  |  |  ------------------
  ------------------
11356|      0|            break;
11357|      0|        case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (11357:9): [True: 0, False: 5.24k]
  ------------------
11358|      0|            COMPARE(Py_UCS1, Py_UCS4);
  ------------------
  |  |11314|      0|    do { \
  |  |11315|      0|        TYPE1* p1 = (TYPE1 *)data1; \
  |  |11316|      0|        TYPE2* p2 = (TYPE2 *)data2; \
  |  |11317|      0|        TYPE1* end = p1 + len; \
  |  |11318|      0|        Py_UCS4 c1, c2; \
  |  |11319|      0|        for (; p1 != end; p1++, p2++) { \
  |  |  ------------------
  |  |  |  Branch (11319:16): [True: 0, False: 0]
  |  |  ------------------
  |  |11320|      0|            c1 = *p1; \
  |  |11321|      0|            c2 = *p2; \
  |  |11322|      0|            if (c1 != c2) \
  |  |  ------------------
  |  |  |  Branch (11322:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11323|      0|                return (c1 < c2) ? -1 : 1; \
  |  |  ------------------
  |  |  |  Branch (11323:24): [True: 0, False: 0]
  |  |  ------------------
  |  |11324|      0|        } \
  |  |11325|      0|    } \
  |  |11326|      0|    while (0)
  |  |  ------------------
  |  |  |  Branch (11326:12): [Folded, False: 0]
  |  |  ------------------
  ------------------
11359|      0|            break;
11360|      0|        default:
  ------------------
  |  Branch (11360:9): [True: 0, False: 5.24k]
  ------------------
11361|      0|            Py_UNREACHABLE();
  ------------------
  |  |  289|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
11362|  5.24k|        }
11363|    118|        break;
11364|  5.24k|    }
11365|    118|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (11365:5): [True: 0, False: 5.24k]
  ------------------
11366|      0|    {
11367|      0|        switch(kind2) {
11368|      0|        case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (11368:9): [True: 0, False: 0]
  ------------------
11369|      0|            COMPARE(Py_UCS2, Py_UCS1);
  ------------------
  |  |11314|      0|    do { \
  |  |11315|      0|        TYPE1* p1 = (TYPE1 *)data1; \
  |  |11316|      0|        TYPE2* p2 = (TYPE2 *)data2; \
  |  |11317|      0|        TYPE1* end = p1 + len; \
  |  |11318|      0|        Py_UCS4 c1, c2; \
  |  |11319|      0|        for (; p1 != end; p1++, p2++) { \
  |  |  ------------------
  |  |  |  Branch (11319:16): [True: 0, False: 0]
  |  |  ------------------
  |  |11320|      0|            c1 = *p1; \
  |  |11321|      0|            c2 = *p2; \
  |  |11322|      0|            if (c1 != c2) \
  |  |  ------------------
  |  |  |  Branch (11322:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11323|      0|                return (c1 < c2) ? -1 : 1; \
  |  |  ------------------
  |  |  |  Branch (11323:24): [True: 0, False: 0]
  |  |  ------------------
  |  |11324|      0|        } \
  |  |11325|      0|    } \
  |  |11326|      0|    while (0)
  |  |  ------------------
  |  |  |  Branch (11326:12): [Folded, False: 0]
  |  |  ------------------
  ------------------
11370|      0|            break;
11371|      0|        case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (11371:9): [True: 0, False: 0]
  ------------------
11372|      0|        {
11373|      0|            COMPARE(Py_UCS2, Py_UCS2);
  ------------------
  |  |11314|      0|    do { \
  |  |11315|      0|        TYPE1* p1 = (TYPE1 *)data1; \
  |  |11316|      0|        TYPE2* p2 = (TYPE2 *)data2; \
  |  |11317|      0|        TYPE1* end = p1 + len; \
  |  |11318|      0|        Py_UCS4 c1, c2; \
  |  |11319|      0|        for (; p1 != end; p1++, p2++) { \
  |  |  ------------------
  |  |  |  Branch (11319:16): [True: 0, False: 0]
  |  |  ------------------
  |  |11320|      0|            c1 = *p1; \
  |  |11321|      0|            c2 = *p2; \
  |  |11322|      0|            if (c1 != c2) \
  |  |  ------------------
  |  |  |  Branch (11322:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11323|      0|                return (c1 < c2) ? -1 : 1; \
  |  |  ------------------
  |  |  |  Branch (11323:24): [True: 0, False: 0]
  |  |  ------------------
  |  |11324|      0|        } \
  |  |11325|      0|    } \
  |  |11326|      0|    while (0)
  |  |  ------------------
  |  |  |  Branch (11326:12): [Folded, False: 0]
  |  |  ------------------
  ------------------
11374|      0|            break;
11375|      0|        }
11376|      0|        case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (11376:9): [True: 0, False: 0]
  ------------------
11377|      0|            COMPARE(Py_UCS2, Py_UCS4);
  ------------------
  |  |11314|      0|    do { \
  |  |11315|      0|        TYPE1* p1 = (TYPE1 *)data1; \
  |  |11316|      0|        TYPE2* p2 = (TYPE2 *)data2; \
  |  |11317|      0|        TYPE1* end = p1 + len; \
  |  |11318|      0|        Py_UCS4 c1, c2; \
  |  |11319|      0|        for (; p1 != end; p1++, p2++) { \
  |  |  ------------------
  |  |  |  Branch (11319:16): [True: 0, False: 0]
  |  |  ------------------
  |  |11320|      0|            c1 = *p1; \
  |  |11321|      0|            c2 = *p2; \
  |  |11322|      0|            if (c1 != c2) \
  |  |  ------------------
  |  |  |  Branch (11322:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11323|      0|                return (c1 < c2) ? -1 : 1; \
  |  |  ------------------
  |  |  |  Branch (11323:24): [True: 0, False: 0]
  |  |  ------------------
  |  |11324|      0|        } \
  |  |11325|      0|    } \
  |  |11326|      0|    while (0)
  |  |  ------------------
  |  |  |  Branch (11326:12): [Folded, False: 0]
  |  |  ------------------
  ------------------
11378|      0|            break;
11379|      0|        default:
  ------------------
  |  Branch (11379:9): [True: 0, False: 0]
  ------------------
11380|      0|            Py_UNREACHABLE();
  ------------------
  |  |  289|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
11381|      0|        }
11382|      0|        break;
11383|      0|    }
11384|      0|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (11384:5): [True: 0, False: 5.24k]
  ------------------
11385|      0|    {
11386|      0|        switch(kind2) {
11387|      0|        case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (11387:9): [True: 0, False: 0]
  ------------------
11388|      0|            COMPARE(Py_UCS4, Py_UCS1);
  ------------------
  |  |11314|      0|    do { \
  |  |11315|      0|        TYPE1* p1 = (TYPE1 *)data1; \
  |  |11316|      0|        TYPE2* p2 = (TYPE2 *)data2; \
  |  |11317|      0|        TYPE1* end = p1 + len; \
  |  |11318|      0|        Py_UCS4 c1, c2; \
  |  |11319|      0|        for (; p1 != end; p1++, p2++) { \
  |  |  ------------------
  |  |  |  Branch (11319:16): [True: 0, False: 0]
  |  |  ------------------
  |  |11320|      0|            c1 = *p1; \
  |  |11321|      0|            c2 = *p2; \
  |  |11322|      0|            if (c1 != c2) \
  |  |  ------------------
  |  |  |  Branch (11322:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11323|      0|                return (c1 < c2) ? -1 : 1; \
  |  |  ------------------
  |  |  |  Branch (11323:24): [True: 0, False: 0]
  |  |  ------------------
  |  |11324|      0|        } \
  |  |11325|      0|    } \
  |  |11326|      0|    while (0)
  |  |  ------------------
  |  |  |  Branch (11326:12): [Folded, False: 0]
  |  |  ------------------
  ------------------
11389|      0|            break;
11390|      0|        case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (11390:9): [True: 0, False: 0]
  ------------------
11391|      0|            COMPARE(Py_UCS4, Py_UCS2);
  ------------------
  |  |11314|      0|    do { \
  |  |11315|      0|        TYPE1* p1 = (TYPE1 *)data1; \
  |  |11316|      0|        TYPE2* p2 = (TYPE2 *)data2; \
  |  |11317|      0|        TYPE1* end = p1 + len; \
  |  |11318|      0|        Py_UCS4 c1, c2; \
  |  |11319|      0|        for (; p1 != end; p1++, p2++) { \
  |  |  ------------------
  |  |  |  Branch (11319:16): [True: 0, False: 0]
  |  |  ------------------
  |  |11320|      0|            c1 = *p1; \
  |  |11321|      0|            c2 = *p2; \
  |  |11322|      0|            if (c1 != c2) \
  |  |  ------------------
  |  |  |  Branch (11322:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11323|      0|                return (c1 < c2) ? -1 : 1; \
  |  |  ------------------
  |  |  |  Branch (11323:24): [True: 0, False: 0]
  |  |  ------------------
  |  |11324|      0|        } \
  |  |11325|      0|    } \
  |  |11326|      0|    while (0)
  |  |  ------------------
  |  |  |  Branch (11326:12): [Folded, False: 0]
  |  |  ------------------
  ------------------
11392|      0|            break;
11393|      0|        case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (11393:9): [True: 0, False: 0]
  ------------------
11394|      0|        {
11395|      0|#if defined(HAVE_WMEMCMP) && SIZEOF_WCHAR_T == 4
11396|      0|            int cmp = wmemcmp((wchar_t *)data1, (wchar_t *)data2, len);
11397|       |            /* normalize result of wmemcmp() into the range [-1; 1] */
11398|      0|            if (cmp < 0)
  ------------------
  |  Branch (11398:17): [True: 0, False: 0]
  ------------------
11399|      0|                return -1;
11400|      0|            if (cmp > 0)
  ------------------
  |  Branch (11400:17): [True: 0, False: 0]
  ------------------
11401|      0|                return 1;
11402|       |#else
11403|       |            COMPARE(Py_UCS4, Py_UCS4);
11404|       |#endif
11405|      0|            break;
11406|      0|        }
11407|      0|        default:
  ------------------
  |  Branch (11407:9): [True: 0, False: 0]
  ------------------
11408|      0|            Py_UNREACHABLE();
  ------------------
  |  |  289|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
11409|      0|        }
11410|      0|        break;
11411|      0|    }
11412|      0|    default:
  ------------------
  |  Branch (11412:5): [True: 0, False: 5.24k]
  ------------------
11413|      0|        Py_UNREACHABLE();
  ------------------
  |  |  289|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
11414|  5.24k|    }
11415|       |
11416|    118|    if (len1 == len2)
  ------------------
  |  Branch (11416:9): [True: 27, False: 91]
  ------------------
11417|     27|        return 0;
11418|     91|    if (len1 < len2)
  ------------------
  |  Branch (11418:9): [True: 21, False: 70]
  ------------------
11419|     21|        return -1;
11420|     70|    else
11421|     70|        return 1;
11422|       |
11423|     91|#undef COMPARE
11424|     91|}
unicodeobject.c:make_bloom_mask:
  932|    722|{
  933|    722|#define BLOOM_UPDATE(TYPE, MASK, PTR, LEN)             \
  934|    722|    do {                                               \
  935|    722|        TYPE *data = (TYPE *)PTR;                      \
  936|    722|        TYPE *end = data + LEN;                        \
  937|    722|        Py_UCS4 ch;                                    \
  938|    722|        for (; data != end; data++) {                  \
  939|    722|            ch = *data;                                \
  940|    722|            MASK |= (1UL << (ch & (BLOOM_WIDTH - 1))); \
  941|    722|        }                                              \
  942|    722|        break;                                         \
  943|    722|    } while (0)
  944|       |
  945|       |    /* calculate simple bloom-style bitmask for a given unicode string */
  946|       |
  947|    722|    BLOOM_MASK mask;
  ------------------
  |  |  920|    722|#define BLOOM_MASK unsigned long
  ------------------
  948|       |
  949|    722|    mask = 0;
  950|    722|    switch (kind) {
  951|    720|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (951:5): [True: 720, False: 2]
  ------------------
  952|    720|        BLOOM_UPDATE(Py_UCS1, mask, ptr, len);
  ------------------
  |  |  934|    720|    do {                                               \
  |  |  935|    720|        TYPE *data = (TYPE *)PTR;                      \
  |  |  936|    720|        TYPE *end = data + LEN;                        \
  |  |  937|    720|        Py_UCS4 ch;                                    \
  |  |  938|  1.47k|        for (; data != end; data++) {                  \
  |  |  ------------------
  |  |  |  Branch (938:16): [True: 757, False: 720]
  |  |  ------------------
  |  |  939|    757|            ch = *data;                                \
  |  |  940|    757|            MASK |= (1UL << (ch & (BLOOM_WIDTH - 1))); \
  |  |  ------------------
  |  |  |  |  913|    757|#define BLOOM_WIDTH 64
  |  |  ------------------
  |  |  941|    757|        }                                              \
  |  |  942|    720|        break;                                         \
  |  |  943|    720|    } while (0)
  |  |  ------------------
  |  |  |  Branch (943:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  953|    720|        break;
  954|      2|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (954:5): [True: 2, False: 720]
  ------------------
  955|      2|        BLOOM_UPDATE(Py_UCS2, mask, ptr, len);
  ------------------
  |  |  934|      2|    do {                                               \
  |  |  935|      2|        TYPE *data = (TYPE *)PTR;                      \
  |  |  936|      2|        TYPE *end = data + LEN;                        \
  |  |  937|      2|        Py_UCS4 ch;                                    \
  |  |  938|     18|        for (; data != end; data++) {                  \
  |  |  ------------------
  |  |  |  Branch (938:16): [True: 16, False: 2]
  |  |  ------------------
  |  |  939|     16|            ch = *data;                                \
  |  |  940|     16|            MASK |= (1UL << (ch & (BLOOM_WIDTH - 1))); \
  |  |  ------------------
  |  |  |  |  913|     16|#define BLOOM_WIDTH 64
  |  |  ------------------
  |  |  941|     16|        }                                              \
  |  |  942|      2|        break;                                         \
  |  |  943|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (943:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  956|      2|        break;
  957|      0|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (957:5): [True: 0, False: 722]
  ------------------
  958|      0|        BLOOM_UPDATE(Py_UCS4, mask, ptr, len);
  ------------------
  |  |  934|      0|    do {                                               \
  |  |  935|      0|        TYPE *data = (TYPE *)PTR;                      \
  |  |  936|      0|        TYPE *end = data + LEN;                        \
  |  |  937|      0|        Py_UCS4 ch;                                    \
  |  |  938|      0|        for (; data != end; data++) {                  \
  |  |  ------------------
  |  |  |  Branch (938:16): [True: 0, False: 0]
  |  |  ------------------
  |  |  939|      0|            ch = *data;                                \
  |  |  940|      0|            MASK |= (1UL << (ch & (BLOOM_WIDTH - 1))); \
  |  |  ------------------
  |  |  |  |  913|      0|#define BLOOM_WIDTH 64
  |  |  ------------------
  |  |  941|      0|        }                                              \
  |  |  942|      0|        break;                                         \
  |  |  943|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (943:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  959|      0|        break;
  960|      0|    default:
  ------------------
  |  Branch (960:5): [True: 0, False: 722]
  ------------------
  961|      0|        Py_UNREACHABLE();
  ------------------
  |  |  289|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  962|    722|    }
  963|    722|    return mask;
  964|       |
  965|    722|#undef BLOOM_UPDATE
  966|    722|}
unicodeobject.c:unicode_result_unchanged:
  756|    753|{
  757|    753|    if (PyUnicode_CheckExact(unicode)) {
  ------------------
  |  |  104|    753|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|    753|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    753|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    753|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 753, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  758|    753|        return Py_NewRef(unicode);
  ------------------
  |  |  550|    753|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    753|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    753|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  759|    753|    }
  760|      0|    else
  761|       |        /* Subtype -- return genuine unicode string with the same value. */
  762|      0|        return _PyUnicode_Copy(unicode);
  763|    753|}
unicodeobject.c:replace:
10930|     27|{
10931|     27|    PyObject *u;
10932|     27|    const char *sbuf = PyUnicode_DATA(self);
  ------------------
  |  |  284|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10933|     27|    const void *buf1 = PyUnicode_DATA(str1);
  ------------------
  |  |  284|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10934|     27|    const void *buf2 = PyUnicode_DATA(str2);
  ------------------
  |  |  284|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10935|     27|    int srelease = 0, release1 = 0, release2 = 0;
10936|     27|    int skind = PyUnicode_KIND(self);
  ------------------
  |  |  258|     27|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|     54|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 27, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10937|     27|    int kind1 = PyUnicode_KIND(str1);
  ------------------
  |  |  258|     27|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|     54|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 27, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10938|     27|    int kind2 = PyUnicode_KIND(str2);
  ------------------
  |  |  258|     27|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|     54|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 27, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10939|     27|    Py_ssize_t slen = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  299|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10940|     27|    Py_ssize_t len1 = PyUnicode_GET_LENGTH(str1);
  ------------------
  |  |  299|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10941|     27|    Py_ssize_t len2 = PyUnicode_GET_LENGTH(str2);
  ------------------
  |  |  299|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10942|     27|    int mayshrink;
10943|     27|    Py_UCS4 maxchar, maxchar_str1, maxchar_str2;
10944|       |
10945|     27|    if (slen < len1)
  ------------------
  |  Branch (10945:9): [True: 0, False: 27]
  ------------------
10946|      0|        goto nothing;
10947|       |
10948|     27|    if (maxcount < 0)
  ------------------
  |  Branch (10948:9): [True: 27, False: 0]
  ------------------
10949|     27|        maxcount = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|     27|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
10950|      0|    else if (maxcount == 0)
  ------------------
  |  Branch (10950:14): [True: 0, False: 0]
  ------------------
10951|      0|        goto nothing;
10952|       |
10953|     27|    if (str1 == str2)
  ------------------
  |  Branch (10953:9): [True: 0, False: 27]
  ------------------
10954|      0|        goto nothing;
10955|       |
10956|     27|    maxchar = PyUnicode_MAX_CHAR_VALUE(self);
  ------------------
  |  |  405|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10957|     27|    maxchar_str1 = PyUnicode_MAX_CHAR_VALUE(str1);
  ------------------
  |  |  405|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10958|     27|    if (maxchar < maxchar_str1)
  ------------------
  |  Branch (10958:9): [True: 0, False: 27]
  ------------------
10959|       |        /* substring too wide to be present */
10960|      0|        goto nothing;
10961|     27|    maxchar_str2 = PyUnicode_MAX_CHAR_VALUE(str2);
  ------------------
  |  |  405|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10962|       |    /* Replacing str1 with str2 may cause a maxchar reduction in the
10963|       |       result string. */
10964|     27|    mayshrink = (maxchar_str2 < maxchar_str1) && (maxchar == maxchar_str1);
  ------------------
  |  Branch (10964:17): [True: 0, False: 27]
  |  Branch (10964:50): [True: 0, False: 0]
  ------------------
10965|     27|    maxchar = Py_MAX(maxchar, maxchar_str2);
  ------------------
  |  |  126|     27|       __extension__ \
  |  |  127|     27|       ({ _Py_TYPEOF (x) _x = (x); \
  |  |  ------------------
  |  |  |  |  552|     27|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  128|     27|          _Py_TYPEOF (y) _y = (y); \
  |  |  ------------------
  |  |  |  |  552|     27|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|     27|          _x > _y ? _x : _y; })
  |  |  ------------------
  |  |  |  Branch (129:11): [True: 0, False: 27]
  |  |  ------------------
  ------------------
10966|       |
10967|     27|    if (len1 == len2) {
  ------------------
  |  Branch (10967:9): [True: 27, False: 0]
  ------------------
10968|       |        /* same length */
10969|     27|        if (len1 == 0)
  ------------------
  |  Branch (10969:13): [True: 0, False: 27]
  ------------------
10970|      0|            goto nothing;
10971|     27|        if (len1 == 1) {
  ------------------
  |  Branch (10971:13): [True: 27, False: 0]
  ------------------
10972|       |            /* replace characters */
10973|     27|            Py_UCS4 u1, u2;
10974|     27|            Py_ssize_t pos;
10975|       |
10976|     27|            u1 = PyUnicode_READ(kind1, buf1, 0);
  ------------------
  |  |  354|     27|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|     27|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|     27|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|     27|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|     27|                   (index))
  ------------------
10977|     27|            pos = findchar(sbuf, skind, slen, u1, 1);
10978|     27|            if (pos < 0)
  ------------------
  |  Branch (10978:17): [True: 25, False: 2]
  ------------------
10979|     25|                goto nothing;
10980|      2|            u2 = PyUnicode_READ(kind2, buf2, 0);
  ------------------
  |  |  354|      2|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      2|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|      2|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      2|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      2|                   (index))
  ------------------
10981|      2|            u = PyUnicode_New(slen, maxchar);
10982|      2|            if (!u)
  ------------------
  |  Branch (10982:17): [True: 0, False: 2]
  ------------------
10983|      0|                goto error;
10984|       |
10985|      2|            _PyUnicode_FastCopyCharacters(u, 0, self, 0, slen);
10986|      2|            replace_1char_inplace(u, pos, u1, u2, maxcount);
10987|      2|        }
10988|      0|        else {
10989|      0|            int rkind = skind;
10990|      0|            char *res;
10991|      0|            Py_ssize_t i;
10992|       |
10993|      0|            if (kind1 < rkind) {
  ------------------
  |  Branch (10993:17): [True: 0, False: 0]
  ------------------
10994|       |                /* widen substring */
10995|      0|                buf1 = unicode_askind(kind1, buf1, len1, rkind);
10996|      0|                if (!buf1) goto error;
  ------------------
  |  Branch (10996:21): [True: 0, False: 0]
  ------------------
10997|      0|                release1 = 1;
10998|      0|            }
10999|      0|            i = anylib_find(rkind, self, sbuf, slen, str1, buf1, len1, 0);
11000|      0|            if (i < 0)
  ------------------
  |  Branch (11000:17): [True: 0, False: 0]
  ------------------
11001|      0|                goto nothing;
11002|      0|            if (rkind > kind2) {
  ------------------
  |  Branch (11002:17): [True: 0, False: 0]
  ------------------
11003|       |                /* widen replacement */
11004|      0|                buf2 = unicode_askind(kind2, buf2, len2, rkind);
11005|      0|                if (!buf2) goto error;
  ------------------
  |  Branch (11005:21): [True: 0, False: 0]
  ------------------
11006|      0|                release2 = 1;
11007|      0|            }
11008|      0|            else if (rkind < kind2) {
  ------------------
  |  Branch (11008:22): [True: 0, False: 0]
  ------------------
11009|       |                /* widen self and buf1 */
11010|      0|                rkind = kind2;
11011|      0|                if (release1) {
  ------------------
  |  Branch (11011:21): [True: 0, False: 0]
  ------------------
11012|      0|                    assert(buf1 != PyUnicode_DATA(str1));
  ------------------
  |  Branch (11012:21): [True: 0, False: 0]
  ------------------
11013|      0|                    PyMem_Free((void *)buf1);
11014|      0|                    buf1 = PyUnicode_DATA(str1);
  ------------------
  |  |  284|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11015|      0|                    release1 = 0;
11016|      0|                }
11017|      0|                sbuf = unicode_askind(skind, sbuf, slen, rkind);
11018|      0|                if (!sbuf) goto error;
  ------------------
  |  Branch (11018:21): [True: 0, False: 0]
  ------------------
11019|      0|                srelease = 1;
11020|      0|                buf1 = unicode_askind(kind1, buf1, len1, rkind);
11021|      0|                if (!buf1) goto error;
  ------------------
  |  Branch (11021:21): [True: 0, False: 0]
  ------------------
11022|      0|                release1 = 1;
11023|      0|            }
11024|      0|            u = PyUnicode_New(slen, maxchar);
11025|      0|            if (!u)
  ------------------
  |  Branch (11025:17): [True: 0, False: 0]
  ------------------
11026|      0|                goto error;
11027|      0|            assert(PyUnicode_KIND(u) == rkind);
  ------------------
  |  Branch (11027:13): [True: 0, False: 0]
  |  Branch (11027:13): [True: 0, False: 0]
  ------------------
11028|      0|            res = PyUnicode_DATA(u);
  ------------------
  |  |  284|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11029|       |
11030|      0|            memcpy(res, sbuf, rkind * slen);
11031|       |            /* change everything in-place, starting with this one */
11032|      0|            memcpy(res + rkind * i,
11033|      0|                   buf2,
11034|      0|                   rkind * len2);
11035|      0|            i += len1;
11036|       |
11037|      0|            while ( --maxcount > 0) {
  ------------------
  |  Branch (11037:21): [True: 0, False: 0]
  ------------------
11038|      0|                i = anylib_find(rkind, self,
11039|      0|                                sbuf+rkind*i, slen-i,
11040|      0|                                str1, buf1, len1, i);
11041|      0|                if (i == -1)
  ------------------
  |  Branch (11041:21): [True: 0, False: 0]
  ------------------
11042|      0|                    break;
11043|      0|                memcpy(res + rkind * i,
11044|      0|                       buf2,
11045|      0|                       rkind * len2);
11046|      0|                i += len1;
11047|      0|            }
11048|      0|        }
11049|     27|    }
11050|      0|    else {
11051|      0|        Py_ssize_t n, i, j, ires;
11052|      0|        Py_ssize_t new_size;
11053|      0|        int rkind = skind;
11054|      0|        char *res;
11055|       |
11056|      0|        if (kind1 < rkind) {
  ------------------
  |  Branch (11056:13): [True: 0, False: 0]
  ------------------
11057|       |            /* widen substring */
11058|      0|            buf1 = unicode_askind(kind1, buf1, len1, rkind);
11059|      0|            if (!buf1) goto error;
  ------------------
  |  Branch (11059:17): [True: 0, False: 0]
  ------------------
11060|      0|            release1 = 1;
11061|      0|        }
11062|      0|        n = anylib_count(rkind, self, sbuf, slen, str1, buf1, len1, maxcount);
11063|      0|        if (n == 0)
  ------------------
  |  Branch (11063:13): [True: 0, False: 0]
  ------------------
11064|      0|            goto nothing;
11065|      0|        if (kind2 < rkind) {
  ------------------
  |  Branch (11065:13): [True: 0, False: 0]
  ------------------
11066|       |            /* widen replacement */
11067|      0|            buf2 = unicode_askind(kind2, buf2, len2, rkind);
11068|      0|            if (!buf2) goto error;
  ------------------
  |  Branch (11068:17): [True: 0, False: 0]
  ------------------
11069|      0|            release2 = 1;
11070|      0|        }
11071|      0|        else if (kind2 > rkind) {
  ------------------
  |  Branch (11071:18): [True: 0, False: 0]
  ------------------
11072|       |            /* widen self and buf1 */
11073|      0|            rkind = kind2;
11074|      0|            sbuf = unicode_askind(skind, sbuf, slen, rkind);
11075|      0|            if (!sbuf) goto error;
  ------------------
  |  Branch (11075:17): [True: 0, False: 0]
  ------------------
11076|      0|            srelease = 1;
11077|      0|            if (release1) {
  ------------------
  |  Branch (11077:17): [True: 0, False: 0]
  ------------------
11078|      0|                assert(buf1 != PyUnicode_DATA(str1));
  ------------------
  |  Branch (11078:17): [True: 0, False: 0]
  ------------------
11079|      0|                PyMem_Free((void *)buf1);
11080|      0|                buf1 = PyUnicode_DATA(str1);
  ------------------
  |  |  284|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11081|      0|                release1 = 0;
11082|      0|            }
11083|      0|            buf1 = unicode_askind(kind1, buf1, len1, rkind);
11084|      0|            if (!buf1) goto error;
  ------------------
  |  Branch (11084:17): [True: 0, False: 0]
  ------------------
11085|      0|            release1 = 1;
11086|      0|        }
11087|       |        /* new_size = PyUnicode_GET_LENGTH(self) + n * (PyUnicode_GET_LENGTH(str2) -
11088|       |           PyUnicode_GET_LENGTH(str1)); */
11089|      0|        if (len1 < len2 && len2 - len1 > (PY_SSIZE_T_MAX - slen) / n) {
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (11089:13): [True: 0, False: 0]
  |  Branch (11089:28): [True: 0, False: 0]
  ------------------
11090|      0|                PyErr_SetString(PyExc_OverflowError,
11091|      0|                                "replace string is too long");
11092|      0|                goto error;
11093|      0|        }
11094|      0|        new_size = slen + n * (len2 - len1);
11095|      0|        if (new_size == 0) {
  ------------------
  |  Branch (11095:13): [True: 0, False: 0]
  ------------------
11096|      0|            u = _PyUnicode_GetEmpty();
11097|      0|            goto done;
11098|      0|        }
11099|      0|        if (new_size > (PY_SSIZE_T_MAX / rkind)) {
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (11099:13): [True: 0, False: 0]
  ------------------
11100|      0|            PyErr_SetString(PyExc_OverflowError,
11101|      0|                            "replace string is too long");
11102|      0|            goto error;
11103|      0|        }
11104|      0|        u = PyUnicode_New(new_size, maxchar);
11105|      0|        if (!u)
  ------------------
  |  Branch (11105:13): [True: 0, False: 0]
  ------------------
11106|      0|            goto error;
11107|      0|        assert(PyUnicode_KIND(u) == rkind);
  ------------------
  |  Branch (11107:9): [True: 0, False: 0]
  |  Branch (11107:9): [True: 0, False: 0]
  ------------------
11108|      0|        res = PyUnicode_DATA(u);
  ------------------
  |  |  284|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11109|      0|        ires = i = 0;
11110|      0|        if (len1 > 0) {
  ------------------
  |  Branch (11110:13): [True: 0, False: 0]
  ------------------
11111|      0|            while (n-- > 0) {
  ------------------
  |  Branch (11111:20): [True: 0, False: 0]
  ------------------
11112|       |                /* look for next match */
11113|      0|                j = anylib_find(rkind, self,
11114|      0|                                sbuf + rkind * i, slen-i,
11115|      0|                                str1, buf1, len1, i);
11116|      0|                if (j == -1)
  ------------------
  |  Branch (11116:21): [True: 0, False: 0]
  ------------------
11117|      0|                    break;
11118|      0|                else if (j > i) {
  ------------------
  |  Branch (11118:26): [True: 0, False: 0]
  ------------------
11119|       |                    /* copy unchanged part [i:j] */
11120|      0|                    memcpy(res + rkind * ires,
11121|      0|                           sbuf + rkind * i,
11122|      0|                           rkind * (j-i));
11123|      0|                    ires += j - i;
11124|      0|                }
11125|       |                /* copy substitution string */
11126|      0|                if (len2 > 0) {
  ------------------
  |  Branch (11126:21): [True: 0, False: 0]
  ------------------
11127|      0|                    memcpy(res + rkind * ires,
11128|      0|                           buf2,
11129|      0|                           rkind * len2);
11130|      0|                    ires += len2;
11131|      0|                }
11132|      0|                i = j + len1;
11133|      0|            }
11134|      0|            if (i < slen)
  ------------------
  |  Branch (11134:17): [True: 0, False: 0]
  ------------------
11135|       |                /* copy tail [i:] */
11136|      0|                memcpy(res + rkind * ires,
11137|      0|                       sbuf + rkind * i,
11138|      0|                       rkind * (slen-i));
11139|      0|        }
11140|      0|        else {
11141|       |            /* interleave */
11142|      0|            while (n > 0) {
  ------------------
  |  Branch (11142:20): [True: 0, False: 0]
  ------------------
11143|      0|                memcpy(res + rkind * ires,
11144|      0|                       buf2,
11145|      0|                       rkind * len2);
11146|      0|                ires += len2;
11147|      0|                if (--n <= 0)
  ------------------
  |  Branch (11147:21): [True: 0, False: 0]
  ------------------
11148|      0|                    break;
11149|      0|                memcpy(res + rkind * ires,
11150|      0|                       sbuf + rkind * i,
11151|      0|                       rkind);
11152|      0|                ires++;
11153|      0|                i++;
11154|      0|            }
11155|      0|            memcpy(res + rkind * ires,
11156|      0|                   sbuf + rkind * i,
11157|      0|                   rkind * (slen-i));
11158|      0|        }
11159|      0|    }
11160|       |
11161|      2|    if (mayshrink) {
  ------------------
  |  Branch (11161:9): [True: 0, False: 2]
  ------------------
11162|      0|        unicode_adjust_maxchar(&u);
11163|      0|        if (u == NULL)
  ------------------
  |  Branch (11163:13): [True: 0, False: 0]
  ------------------
11164|      0|            goto error;
11165|      0|    }
11166|       |
11167|      2|  done:
11168|      2|    assert(srelease == (sbuf != NULL && sbuf != PyUnicode_DATA(self)));
  ------------------
  |  Branch (11168:5): [True: 2, False: 0]
  |  Branch (11168:5): [True: 0, False: 2]
  |  Branch (11168:5): [True: 2, False: 0]
  ------------------
11169|      2|    assert(release1 == (buf1 != NULL && buf1 != PyUnicode_DATA(str1)));
  ------------------
  |  Branch (11169:5): [True: 2, False: 0]
  |  Branch (11169:5): [True: 0, False: 2]
  |  Branch (11169:5): [True: 2, False: 0]
  ------------------
11170|      2|    assert(release2 == (buf2 != NULL && buf2 != PyUnicode_DATA(str2)));
  ------------------
  |  Branch (11170:5): [True: 2, False: 0]
  |  Branch (11170:5): [True: 0, False: 2]
  |  Branch (11170:5): [True: 2, False: 0]
  ------------------
11171|      2|    if (srelease)
  ------------------
  |  Branch (11171:9): [True: 0, False: 2]
  ------------------
11172|      0|        PyMem_Free((void *)sbuf);
11173|      2|    if (release1)
  ------------------
  |  Branch (11173:9): [True: 0, False: 2]
  ------------------
11174|      0|        PyMem_Free((void *)buf1);
11175|      2|    if (release2)
  ------------------
  |  Branch (11175:9): [True: 0, False: 2]
  ------------------
11176|      0|        PyMem_Free((void *)buf2);
11177|      2|    assert(_PyUnicode_CheckConsistency(u, 1));
  ------------------
  |  Branch (11177:5): [True: 2, False: 0]
  ------------------
11178|      2|    return u;
11179|       |
11180|     25|  nothing:
11181|       |    /* nothing to replace; return original string (when possible) */
11182|     25|    assert(srelease == (sbuf != NULL && sbuf != PyUnicode_DATA(self)));
  ------------------
  |  Branch (11182:5): [True: 25, False: 0]
  |  Branch (11182:5): [True: 0, False: 25]
  |  Branch (11182:5): [True: 25, False: 0]
  ------------------
11183|     25|    assert(release1 == (buf1 != NULL && buf1 != PyUnicode_DATA(str1)));
  ------------------
  |  Branch (11183:5): [True: 25, False: 0]
  |  Branch (11183:5): [True: 0, False: 25]
  |  Branch (11183:5): [True: 25, False: 0]
  ------------------
11184|     25|    assert(release2 == (buf2 != NULL && buf2 != PyUnicode_DATA(str2)));
  ------------------
  |  Branch (11184:5): [True: 25, False: 0]
  |  Branch (11184:5): [True: 0, False: 25]
  |  Branch (11184:5): [True: 25, False: 0]
  ------------------
11185|     25|    if (srelease)
  ------------------
  |  Branch (11185:9): [True: 0, False: 25]
  ------------------
11186|      0|        PyMem_Free((void *)sbuf);
11187|     25|    if (release1)
  ------------------
  |  Branch (11187:9): [True: 0, False: 25]
  ------------------
11188|      0|        PyMem_Free((void *)buf1);
11189|     25|    if (release2)
  ------------------
  |  Branch (11189:9): [True: 0, False: 25]
  ------------------
11190|      0|        PyMem_Free((void *)buf2);
11191|     25|    return unicode_result_unchanged(self);
11192|       |
11193|      0|  error:
11194|      0|    assert(srelease == (sbuf != NULL && sbuf != PyUnicode_DATA(self)));
  ------------------
  |  Branch (11194:5): [True: 0, False: 0]
  |  Branch (11194:5): [True: 0, False: 0]
  |  Branch (11194:5): [True: 0, False: 0]
  ------------------
11195|      0|    assert(release1 == (buf1 != NULL && buf1 != PyUnicode_DATA(str1)));
  ------------------
  |  Branch (11195:5): [True: 0, False: 0]
  |  Branch (11195:5): [True: 0, False: 0]
  |  Branch (11195:5): [True: 0, False: 0]
  ------------------
11196|      0|    assert(release2 == (buf2 != NULL && buf2 != PyUnicode_DATA(str2)));
  ------------------
  |  Branch (11196:5): [True: 0, False: 0]
  |  Branch (11196:5): [True: 0, False: 0]
  |  Branch (11196:5): [True: 0, False: 0]
  ------------------
11197|      0|    if (srelease)
  ------------------
  |  Branch (11197:9): [True: 0, False: 0]
  ------------------
11198|      0|        PyMem_Free((void *)sbuf);
11199|      0|    if (release1)
  ------------------
  |  Branch (11199:9): [True: 0, False: 0]
  ------------------
11200|      0|        PyMem_Free((void *)buf1);
11201|      0|    if (release2)
  ------------------
  |  Branch (11201:9): [True: 0, False: 0]
  ------------------
11202|      0|        PyMem_Free((void *)buf2);
11203|       |    return NULL;
11204|      0|}
unicodeobject.c:replace_1char_inplace:
10905|      2|{
10906|      2|    int kind = PyUnicode_KIND(u);
  ------------------
  |  |  258|      2|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 2, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10907|      2|    void *data = PyUnicode_DATA(u);
  ------------------
  |  |  284|      2|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10908|      2|    Py_ssize_t len = PyUnicode_GET_LENGTH(u);
  ------------------
  |  |  299|      2|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10909|      2|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (10909:9): [True: 2, False: 0]
  ------------------
10910|      2|        ucs1lib_replace_1char_inplace((Py_UCS1 *)data + pos,
10911|      2|                                      (Py_UCS1 *)data + len,
10912|      2|                                      u1, u2, maxcount);
10913|      2|    }
10914|      0|    else if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (10914:14): [True: 0, False: 0]
  ------------------
10915|      0|        ucs2lib_replace_1char_inplace((Py_UCS2 *)data + pos,
10916|      0|                                      (Py_UCS2 *)data + len,
10917|      0|                                      u1, u2, maxcount);
10918|      0|    }
10919|      0|    else {
10920|      0|        assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (10920:9): [True: 0, False: 0]
  ------------------
10921|      0|        ucs4lib_replace_1char_inplace((Py_UCS4 *)data + pos,
10922|      0|                                      (Py_UCS4 *)data + len,
10923|      0|                                      u1, u2, maxcount);
10924|      0|    }
10925|      2|}
unicodeobject.c:split:
10689|     12|{
10690|     12|    int kind1, kind2;
10691|     12|    const void *buf1, *buf2;
10692|     12|    Py_ssize_t len1, len2;
10693|     12|    PyObject* out;
10694|     12|    len1 = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  299|     12|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10695|     12|    kind1 = PyUnicode_KIND(self);
  ------------------
  |  |  258|     12|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|     24|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 12, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10696|       |
10697|     12|    if (substring == NULL) {
  ------------------
  |  Branch (10697:9): [True: 1, False: 11]
  ------------------
10698|      1|        if (maxcount < 0) {
  ------------------
  |  Branch (10698:13): [True: 1, False: 0]
  ------------------
10699|      1|            maxcount = (len1 - 1) / 2 + 1;
10700|      1|        }
10701|      1|        switch (kind1) {
10702|      1|        case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (10702:9): [True: 1, False: 0]
  ------------------
10703|      1|            if (PyUnicode_IS_ASCII(self))
  ------------------
  |  |  227|      1|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 1, False: 0]
  |  |  ------------------
  ------------------
10704|      1|                return asciilib_split_whitespace(
10705|      1|                    self,  PyUnicode_1BYTE_DATA(self),
  ------------------
  |  |  291|      1|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      1|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
10706|      1|                    len1, maxcount
10707|      1|                    );
10708|      0|            else
10709|      0|                return ucs1lib_split_whitespace(
10710|      0|                    self,  PyUnicode_1BYTE_DATA(self),
  ------------------
  |  |  291|      0|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
10711|      0|                    len1, maxcount
10712|      0|                    );
10713|      0|        case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (10713:9): [True: 0, False: 1]
  ------------------
10714|      0|            return ucs2lib_split_whitespace(
10715|      0|                self,  PyUnicode_2BYTE_DATA(self),
  ------------------
  |  |  292|      0|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
10716|      0|                len1, maxcount
10717|      0|                );
10718|      0|        case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (10718:9): [True: 0, False: 1]
  ------------------
10719|      0|            return ucs4lib_split_whitespace(
10720|      0|                self,  PyUnicode_4BYTE_DATA(self),
  ------------------
  |  |  293|      0|#define PyUnicode_4BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS4*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
10721|      0|                len1, maxcount
10722|      0|                );
10723|      0|        default:
  ------------------
  |  Branch (10723:9): [True: 0, False: 1]
  ------------------
10724|      0|            Py_UNREACHABLE();
  ------------------
  |  |  289|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
10725|      1|        }
10726|      1|    }
10727|       |
10728|     11|    kind2 = PyUnicode_KIND(substring);
  ------------------
  |  |  258|     11|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|     22|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 11, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10729|     11|    len2 = PyUnicode_GET_LENGTH(substring);
  ------------------
  |  |  299|     11|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10730|     11|    if (maxcount < 0) {
  ------------------
  |  Branch (10730:9): [True: 11, False: 0]
  ------------------
10731|       |        // if len2 == 0, it will raise ValueError.
10732|     11|        maxcount = len2 == 0 ? 0 : (len1 / len2) + 1;
  ------------------
  |  Branch (10732:20): [True: 0, False: 11]
  ------------------
10733|       |        // handle expected overflow case: (Py_SSIZE_T_MAX / 1) + 1
10734|     11|        maxcount = maxcount < 0 ? len1 : maxcount;
  ------------------
  |  Branch (10734:20): [True: 0, False: 11]
  ------------------
10735|     11|    }
10736|     11|    if (kind1 < kind2 || len1 < len2) {
  ------------------
  |  Branch (10736:9): [True: 0, False: 11]
  |  Branch (10736:26): [True: 0, False: 11]
  ------------------
10737|      0|        out = PyList_New(1);
10738|      0|        if (out == NULL)
  ------------------
  |  Branch (10738:13): [True: 0, False: 0]
  ------------------
10739|      0|            return NULL;
10740|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10741|      0|        return out;
10742|      0|    }
10743|     11|    buf1 = PyUnicode_DATA(self);
  ------------------
  |  |  284|     11|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10744|     11|    buf2 = PyUnicode_DATA(substring);
  ------------------
  |  |  284|     11|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10745|     11|    if (kind2 != kind1) {
  ------------------
  |  Branch (10745:9): [True: 0, False: 11]
  ------------------
10746|      0|        buf2 = unicode_askind(kind2, buf2, len2, kind1);
10747|      0|        if (!buf2)
  ------------------
  |  Branch (10747:13): [True: 0, False: 0]
  ------------------
10748|      0|            return NULL;
10749|      0|    }
10750|       |
10751|     11|    switch (kind1) {
10752|     11|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (10752:5): [True: 11, False: 0]
  ------------------
10753|     11|        if (PyUnicode_IS_ASCII(self) && PyUnicode_IS_ASCII(substring))
  ------------------
  |  |  227|     22|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 11, False: 0]
  |  |  ------------------
  ------------------
                      if (PyUnicode_IS_ASCII(self) && PyUnicode_IS_ASCII(substring))
  ------------------
  |  |  227|     11|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 11, False: 0]
  |  |  ------------------
  ------------------
10754|     11|            out = asciilib_split(
10755|     11|                self,  buf1, len1, buf2, len2, maxcount);
10756|      0|        else
10757|      0|            out = ucs1lib_split(
10758|      0|                self,  buf1, len1, buf2, len2, maxcount);
10759|     11|        break;
10760|      0|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (10760:5): [True: 0, False: 11]
  ------------------
10761|      0|        out = ucs2lib_split(
10762|      0|            self,  buf1, len1, buf2, len2, maxcount);
10763|      0|        break;
10764|      0|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (10764:5): [True: 0, False: 11]
  ------------------
10765|      0|        out = ucs4lib_split(
10766|      0|            self,  buf1, len1, buf2, len2, maxcount);
10767|      0|        break;
10768|      0|    default:
  ------------------
  |  Branch (10768:5): [True: 0, False: 11]
  ------------------
10769|      0|        out = NULL;
10770|     11|    }
10771|     11|    assert((kind2 != kind1) == (buf2 != PyUnicode_DATA(substring)));
  ------------------
  |  Branch (10771:5): [True: 11, False: 0]
  ------------------
10772|     11|    if (kind2 != kind1)
  ------------------
  |  Branch (10772:9): [True: 0, False: 11]
  ------------------
10773|      0|        PyMem_Free((void *)buf2);
10774|     11|    return out;
10775|     11|}
unicodeobject.c:unicode_dealloc:
 1642|   292k|{
 1643|       |#ifdef Py_DEBUG
 1644|       |    if (!unicode_is_finalizing() && unicode_is_singleton(unicode)) {
 1645|       |        _Py_FatalRefcountError("deallocating an Unicode singleton");
 1646|       |    }
 1647|       |#endif
 1648|   585k|    if (_PyUnicode_STATE(unicode).statically_allocated) {
  ------------------
  |  |  157|   292k|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|   292k|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|   292k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   292k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1648:9): [True: 292k, False: 0]
  |  Branch (1648:9): [True: 0, False: 292k]
  ------------------
 1649|       |        /* This should never get called, but we also don't want to SEGV if
 1650|       |        * we accidentally decref an immortal string out of existence. Since
 1651|       |        * the string is an immortal object, just re-set the reference count.
 1652|       |        */
 1653|       |#ifdef Py_DEBUG
 1654|       |        Py_UNREACHABLE();
 1655|       |#endif
 1656|      0|        _Py_SetImmortal(unicode);
 1657|      0|        return;
 1658|      0|    }
 1659|   292k|    switch (_PyUnicode_STATE(unicode).interned) {
  ------------------
  |  |  157|   292k|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|   292k|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|   292k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   292k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1659:13): [True: 292k, False: 0]
  ------------------
 1660|   292k|        case SSTATE_NOT_INTERNED:
  ------------------
  |  |  201|   292k|#define SSTATE_NOT_INTERNED 0
  ------------------
  |  Branch (1660:9): [True: 292k, False: 16]
  ------------------
 1661|   292k|            break;
 1662|     16|        case SSTATE_INTERNED_MORTAL:
  ------------------
  |  |  202|     16|#define SSTATE_INTERNED_MORTAL 1
  ------------------
  |  Branch (1662:9): [True: 16, False: 292k]
  ------------------
 1663|       |            /* Remove the object from the intern dict.
 1664|       |             * Before doing so, we set the refcount to 2: the key and value
 1665|       |             * in the interned_dict.
 1666|       |             */
 1667|     16|            assert(Py_REFCNT(unicode) == 0);
  ------------------
  |  Branch (1667:13): [True: 16, False: 0]
  ------------------
 1668|     16|            Py_SET_REFCNT(unicode, 2);
  ------------------
  |  |  201|     16|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1669|       |#ifdef Py_REF_DEBUG
 1670|       |            /* let's be pedantic with the ref total */
 1671|       |            _Py_IncRefTotal(_PyThreadState_GET());
 1672|       |            _Py_IncRefTotal(_PyThreadState_GET());
 1673|       |#endif
 1674|     16|            PyInterpreterState *interp = _PyInterpreterState_GET();
 1675|     16|            PyObject *interned = get_interned_dict(interp);
 1676|     16|            assert(interned != NULL);
  ------------------
  |  Branch (1676:13): [True: 16, False: 0]
  ------------------
 1677|     16|            PyObject *popped;
 1678|     16|            int r = PyDict_Pop(interned, unicode, &popped);
 1679|     16|            if (r == -1) {
  ------------------
  |  Branch (1679:17): [True: 0, False: 16]
  ------------------
 1680|      0|                PyErr_FormatUnraisable("Exception ignored while "
 1681|      0|                                       "removing an interned string %R",
 1682|      0|                                       unicode);
 1683|       |                // We don't know what happened to the string. It's probably
 1684|       |                // best to leak it:
 1685|       |                // - if it was popped, there are no more references to it
 1686|       |                //   so it can't cause trouble (except wasted memory)
 1687|       |                // - if it wasn't popped, it'll remain interned
 1688|      0|                _Py_SetImmortal(unicode);
 1689|      0|                _PyUnicode_STATE(unicode).interned = SSTATE_INTERNED_IMMORTAL;
  ------------------
  |  |  157|      0|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|      0|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|      0|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                              _PyUnicode_STATE(unicode).interned = SSTATE_INTERNED_IMMORTAL;
  ------------------
  |  |  203|      0|#define SSTATE_INTERNED_IMMORTAL 2
  ------------------
  |  Branch (1689:17): [True: 0, False: 0]
  ------------------
 1690|      0|                return;
 1691|      0|            }
 1692|     16|            if (r == 0) {
  ------------------
  |  Branch (1692:17): [True: 0, False: 16]
  ------------------
 1693|       |                // The interned string was not found in the interned_dict.
 1694|       |#ifdef Py_DEBUG
 1695|       |                Py_UNREACHABLE();
 1696|       |#endif
 1697|      0|                _Py_SetImmortal(unicode);
 1698|      0|                return;
 1699|      0|            }
 1700|       |            // Successfully popped.
 1701|     16|            assert(popped == unicode);
  ------------------
  |  Branch (1701:13): [True: 16, False: 0]
  ------------------
 1702|       |            // Only our `popped` reference should be left; remove it too.
 1703|     16|            assert(Py_REFCNT(unicode) == 1);
  ------------------
  |  Branch (1703:13): [True: 16, False: 0]
  ------------------
 1704|     16|            Py_SET_REFCNT(unicode, 0);
  ------------------
  |  |  201|     16|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1705|       |#ifdef Py_REF_DEBUG
 1706|       |            /* let's be pedantic with the ref total */
 1707|       |            _Py_DecRefTotal(_PyThreadState_GET());
 1708|       |#endif
 1709|     16|            break;
 1710|      0|        default:
  ------------------
  |  Branch (1710:9): [True: 0, False: 292k]
  ------------------
 1711|       |            // As with `statically_allocated` above.
 1712|       |#ifdef Py_REF_DEBUG
 1713|       |            Py_UNREACHABLE();
 1714|       |#endif
 1715|      0|            _Py_SetImmortal(unicode);
 1716|      0|            return;
 1717|   292k|    }
 1718|   292k|    if (_PyUnicode_HAS_UTF8_MEMORY(unicode)) {
  ------------------
  |  Branch (1718:9): [True: 47, False: 292k]
  ------------------
 1719|     47|        PyMem_Free(_PyUnicode_UTF8(unicode));
 1720|     47|    }
 1721|   292k|    if (!PyUnicode_IS_COMPACT(unicode) && _PyUnicode_DATA_ANY(unicode)) {
  ------------------
  |  |  234|   585k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   292k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   292k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (!PyUnicode_IS_COMPACT(unicode) && _PyUnicode_DATA_ANY(unicode)) {
  ------------------
  |  |  169|      0|    (_PyUnicodeObject_CAST(op)->data.any)
  |  |  ------------------
  |  |  |  |  192|      0|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  193|      0|     _Py_CAST(PyUnicodeObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (169:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1721:9): [True: 0, False: 292k]
  |  Branch (1721:43): [True: 0, False: 0]
  ------------------
 1722|      0|        PyMem_Free(_PyUnicode_DATA_ANY(unicode));
  ------------------
  |  |  169|      0|    (_PyUnicodeObject_CAST(op)->data.any)
  |  |  ------------------
  |  |  |  |  192|      0|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  193|      0|     _Py_CAST(PyUnicodeObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1722:20): [True: 0, False: 0]
  ------------------
 1723|      0|    }
 1724|       |
 1725|   292k|    Py_TYPE(unicode)->tp_free(unicode);
  ------------------
  |  |  213|   292k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   292k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   292k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1726|   292k|}
unicodeobject.c:unicode_repr:
13059|     29|{
13060|     29|    Py_ssize_t isize = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  299|     29|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     29|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13061|     29|    const void *idata = PyUnicode_DATA(unicode);
  ------------------
  |  |  284|     29|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     29|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13062|       |
13063|       |    /* Compute length of output, quote characters, and
13064|       |       maximum character */
13065|     29|    Py_ssize_t osize = 0;
13066|     29|    Py_UCS4 maxch = 127;
13067|     29|    Py_ssize_t squote = 0;
13068|     29|    Py_ssize_t dquote = 0;
13069|     29|    int ikind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|     29|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|     58|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 29, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13070|  15.7M|    for (Py_ssize_t i = 0; i < isize; i++) {
  ------------------
  |  Branch (13070:28): [True: 15.7M, False: 29]
  ------------------
13071|  15.7M|        Py_UCS4 ch = PyUnicode_READ(ikind, idata, i);
  ------------------
  |  |  354|  15.7M|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  15.7M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  15.7M|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  15.7M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  15.7M|                   (index))
  ------------------
13072|  15.7M|        Py_ssize_t incr = 1;
13073|  15.7M|        switch (ch) {
13074|      0|        case '\'': squote++; break;
  ------------------
  |  Branch (13074:9): [True: 0, False: 15.7M]
  ------------------
13075|      0|        case '"':  dquote++; break;
  ------------------
  |  Branch (13075:9): [True: 0, False: 15.7M]
  ------------------
13076|      0|        case '\\': case '\t': case '\r': case '\n':
  ------------------
  |  Branch (13076:9): [True: 0, False: 15.7M]
  |  Branch (13076:20): [True: 0, False: 15.7M]
  |  Branch (13076:31): [True: 0, False: 15.7M]
  |  Branch (13076:42): [True: 0, False: 15.7M]
  ------------------
13077|      0|            incr = 2;
13078|      0|            break;
13079|  15.7M|        default:
  ------------------
  |  Branch (13079:9): [True: 15.7M, False: 0]
  ------------------
13080|       |            /* Fast-path ASCII */
13081|  15.7M|            if (ch < ' ' || ch == 0x7f)
  ------------------
  |  Branch (13081:17): [True: 0, False: 15.7M]
  |  Branch (13081:29): [True: 0, False: 15.7M]
  ------------------
13082|      0|                incr = 4; /* \xHH */
13083|  15.7M|            else if (ch < 0x7f)
  ------------------
  |  Branch (13083:22): [True: 15.7M, False: 36]
  ------------------
13084|  15.7M|                ;
13085|     36|            else if (Py_UNICODE_ISPRINTABLE(ch))
  ------------------
  |  |  761|     36|#define Py_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch)
  |  |  ------------------
  |  |  |  Branch (761:36): [True: 36, False: 0]
  |  |  ------------------
  ------------------
13086|     36|                maxch = (ch > maxch) ? ch : maxch;
  ------------------
  |  Branch (13086:25): [True: 21, False: 15]
  ------------------
13087|      0|            else if (ch < 0x100)
  ------------------
  |  Branch (13087:22): [True: 0, False: 0]
  ------------------
13088|      0|                incr = 4; /* \xHH */
13089|      0|            else if (ch < 0x10000)
  ------------------
  |  Branch (13089:22): [True: 0, False: 0]
  ------------------
13090|      0|                incr = 6; /* \uHHHH */
13091|      0|            else
13092|      0|                incr = 10; /* \uHHHHHHHH */
13093|  15.7M|        }
13094|  15.7M|        if (osize > PY_SSIZE_T_MAX - incr) {
  ------------------
  |  |  137|  15.7M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (13094:13): [True: 0, False: 15.7M]
  ------------------
13095|      0|            PyErr_SetString(PyExc_OverflowError,
13096|      0|                            "string is too long to generate repr");
13097|      0|            return NULL;
13098|      0|        }
13099|  15.7M|        osize += incr;
13100|  15.7M|    }
13101|       |
13102|     29|    Py_UCS4 quote = '\'';
13103|     29|    int changed = (osize != isize);
13104|     29|    if (squote) {
  ------------------
  |  Branch (13104:9): [True: 0, False: 29]
  ------------------
13105|      0|        changed = 1;
13106|      0|        if (dquote)
  ------------------
  |  Branch (13106:13): [True: 0, False: 0]
  ------------------
13107|       |            /* Both squote and dquote present. Use squote,
13108|       |               and escape them */
13109|      0|            osize += squote;
13110|      0|        else
13111|      0|            quote = '"';
13112|      0|    }
13113|     29|    osize += 2;   /* quotes */
13114|       |
13115|     29|    PyObject *repr = PyUnicode_New(osize, maxch);
13116|     29|    if (repr == NULL)
  ------------------
  |  Branch (13116:9): [True: 0, False: 29]
  ------------------
13117|      0|        return NULL;
13118|     29|    int okind = PyUnicode_KIND(repr);
  ------------------
  |  |  258|     29|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|     58|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 29, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13119|     29|    void *odata = PyUnicode_DATA(repr);
  ------------------
  |  |  284|     29|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     29|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13120|       |
13121|     29|    if (!changed) {
  ------------------
  |  Branch (13121:9): [True: 29, False: 0]
  ------------------
13122|     29|        PyUnicode_WRITE(okind, odata, 0, quote);
  ------------------
  |  |  335|     29|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|     29|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  336|     29|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|     29|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
13123|       |
13124|     29|        _PyUnicode_FastCopyCharacters(repr, 1,
13125|     29|                                      unicode, 0,
13126|     29|                                      isize);
13127|       |
13128|     29|        PyUnicode_WRITE(okind, odata, osize-1, quote);
  ------------------
  |  |  335|     29|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|     29|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  336|     29|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|     29|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
13129|     29|    }
13130|      0|    else {
13131|      0|        switch (okind) {
13132|      0|        case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (13132:9): [True: 0, False: 0]
  ------------------
13133|      0|            ucs1lib_repr(unicode, quote, odata);
13134|      0|            break;
13135|      0|        case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (13135:9): [True: 0, False: 0]
  ------------------
13136|      0|            ucs2lib_repr(unicode, quote, odata);
13137|      0|            break;
13138|      0|        default:
  ------------------
  |  Branch (13138:9): [True: 0, False: 0]
  ------------------
13139|      0|            assert(okind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (13139:13): [True: 0, False: 0]
  ------------------
13140|      0|            ucs4lib_repr(unicode, quote, odata);
13141|      0|        }
13142|      0|    }
13143|       |
13144|     29|    assert(_PyUnicode_CheckConsistency(repr, 1));
  ------------------
  |  Branch (13144:5): [True: 29, False: 0]
  ------------------
13145|     29|    return repr;
13146|     29|}
unicodeobject.c:unicode_mod:
14130|     21|{
14131|     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 (14131:9): [True: 0, False: 21]
  ------------------
14132|      0|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
14133|     21|    return PyUnicode_Format(v, w);
14134|     21|}
unicodeobject.c:unicode_length:
12627|    578|{
12628|    578|    return PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  299|    578|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    578|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    578|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12629|    578|}
unicodeobject.c:unicode_getitem:
12059|    198|{
12060|    198|    const void *data;
12061|    198|    int kind;
12062|    198|    Py_UCS4 ch;
12063|       |
12064|    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 (12064:9): [True: 0, False: 198]
  ------------------
12065|      0|        PyErr_BadArgument();
12066|      0|        return NULL;
12067|      0|    }
12068|    198|    if (index < 0 || index >= PyUnicode_GET_LENGTH(self)) {
  ------------------
  |  |  299|    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 (12068:9): [True: 0, False: 198]
  |  Branch (12068:22): [True: 4, False: 194]
  ------------------
12069|      4|        PyErr_SetString(PyExc_IndexError, "string index out of range");
12070|      4|        return NULL;
12071|      4|    }
12072|    194|    kind = PyUnicode_KIND(self);
  ------------------
  |  |  258|    194|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|    388|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 194, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12073|    194|    data = PyUnicode_DATA(self);
  ------------------
  |  |  284|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12074|    194|    ch = PyUnicode_READ(kind, data, index);
  ------------------
  |  |  354|    194|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|    194|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|    194|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|    194|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|    194|                   (index))
  ------------------
12075|    194|    return unicode_char(ch);
12076|    194|}
unicodeobject.c:unicode_subscript:
14156|    288|{
14157|    288|    if (_PyIndex_Check(item)) {
  ------------------
  |  Branch (14157:9): [True: 198, False: 90]
  ------------------
14158|    198|        Py_ssize_t i = PyNumber_AsSsize_t(item, PyExc_IndexError);
14159|    198|        if (i == -1 && PyErr_Occurred())
  ------------------
  |  Branch (14159:13): [True: 98, False: 100]
  |  Branch (14159:24): [True: 0, False: 98]
  ------------------
14160|      0|            return NULL;
14161|    198|        if (i < 0)
  ------------------
  |  Branch (14161:13): [True: 186, False: 12]
  ------------------
14162|    186|            i += PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  299|    186|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    186|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    186|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14163|    198|        return unicode_getitem(self, i);
14164|    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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14165|     90|        Py_ssize_t start, stop, step, slicelength, i;
14166|     90|        size_t cur;
14167|     90|        PyObject *result;
14168|     90|        const void *src_data;
14169|     90|        void *dest_data;
14170|     90|        int src_kind, dest_kind;
14171|     90|        Py_UCS4 ch, max_char, kind_limit;
14172|       |
14173|     90|        if (PySlice_Unpack(item, &start, &stop, &step) < 0) {
  ------------------
  |  Branch (14173:13): [True: 0, False: 90]
  ------------------
14174|      0|            return NULL;
14175|      0|        }
14176|     90|        slicelength = PySlice_AdjustIndices(PyUnicode_GET_LENGTH(self),
  ------------------
  |  |  299|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14177|     90|                                            &start, &stop, step);
14178|       |
14179|     90|        if (slicelength <= 0) {
  ------------------
  |  Branch (14179:13): [True: 2, False: 88]
  ------------------
14180|      2|            _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  379|      2|    do {                             \
  |  |  380|      2|        return _PyUnicode_GetEmpty();\
  |  |  381|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
14181|     88|        } else if (start == 0 && step == 1 &&
  ------------------
  |  Branch (14181:20): [True: 88, False: 0]
  |  Branch (14181:34): [True: 88, False: 0]
  ------------------
14182|     88|                   slicelength == PyUnicode_GET_LENGTH(self)) {
  ------------------
  |  |  299|     88|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     88|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     88|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14182:20): [True: 0, False: 88]
  ------------------
14183|      0|            return unicode_result_unchanged(self);
14184|     88|        } else if (step == 1) {
  ------------------
  |  Branch (14184:20): [True: 88, False: 0]
  ------------------
14185|     88|            return PyUnicode_Substring(self,
14186|     88|                                       start, start + slicelength);
14187|     88|        }
14188|       |        /* General case */
14189|      0|        src_kind = PyUnicode_KIND(self);
  ------------------
  |  |  258|      0|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14190|      0|        src_data = PyUnicode_DATA(self);
  ------------------
  |  |  284|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14191|      0|        if (!PyUnicode_IS_ASCII(self)) {
  ------------------
  |  |  227|      0|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14191:13): [True: 0, False: 0]
  ------------------
14192|      0|            kind_limit = kind_maxchar_limit(src_kind);
14193|      0|            max_char = 0;
14194|      0|            for (cur = start, i = 0; i < slicelength; cur += step, i++) {
  ------------------
  |  Branch (14194:38): [True: 0, False: 0]
  ------------------
14195|      0|                ch = PyUnicode_READ(src_kind, src_data, cur);
  ------------------
  |  |  354|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      0|                   (index))
  ------------------
14196|      0|                if (ch > max_char) {
  ------------------
  |  Branch (14196:21): [True: 0, False: 0]
  ------------------
14197|      0|                    max_char = ch;
14198|      0|                    if (max_char >= kind_limit)
  ------------------
  |  Branch (14198:25): [True: 0, False: 0]
  ------------------
14199|      0|                        break;
14200|      0|                }
14201|      0|            }
14202|      0|        }
14203|      0|        else
14204|      0|            max_char = 127;
14205|      0|        result = PyUnicode_New(slicelength, max_char);
14206|      0|        if (result == NULL)
  ------------------
  |  Branch (14206:13): [True: 0, False: 0]
  ------------------
14207|      0|            return NULL;
14208|      0|        dest_kind = PyUnicode_KIND(result);
  ------------------
  |  |  258|      0|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14209|      0|        dest_data = PyUnicode_DATA(result);
  ------------------
  |  |  284|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14210|       |
14211|      0|        for (cur = start, i = 0; i < slicelength; cur += step, i++) {
  ------------------
  |  Branch (14211:34): [True: 0, False: 0]
  ------------------
14212|      0|            Py_UCS4 ch = PyUnicode_READ(src_kind, src_data, cur);
  ------------------
  |  |  354|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      0|                   (index))
  ------------------
14213|      0|            PyUnicode_WRITE(dest_kind, dest_data, i, ch);
  ------------------
  |  |  335|      0|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  336|      0|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
14214|      0|        }
14215|      0|        assert(_PyUnicode_CheckConsistency(result, 1));
  ------------------
  |  Branch (14215:9): [True: 0, False: 0]
  ------------------
14216|      0|        return result;
14217|      0|    } else {
14218|      0|        PyErr_Format(PyExc_TypeError, "string indices must be integers, not '%.200s'",
14219|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14220|       |        return NULL;
14221|      0|    }
14222|    288|}
unicodeobject.c:unicode_hash:
12082|  35.1k|{
12083|  35.1k|    Py_uhash_t x;  /* Unsigned for defined overflow behavior. */
12084|       |
12085|       |#ifdef Py_DEBUG
12086|       |    assert(_Py_HashSecret_Initialized);
12087|       |#endif
12088|  35.1k|    Py_hash_t hash = PyUnicode_HASH(self);
  ------------------
  |  |  161|  35.1k|#define PyUnicode_HASH PyUnstable_Unicode_GET_CACHED_HASH
  ------------------
12089|  35.1k|    if (hash != -1) {
  ------------------
  |  Branch (12089:9): [True: 9.21k, False: 25.9k]
  ------------------
12090|  9.21k|        return hash;
12091|  9.21k|    }
12092|  25.9k|    x = Py_HashBuffer(PyUnicode_DATA(self),
  ------------------
  |  |  284|  25.9k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  25.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  25.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12093|  25.9k|                      PyUnicode_GET_LENGTH(self) * PyUnicode_KIND(self));
  ------------------
  |  |  299|  25.9k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  25.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  25.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                                    PyUnicode_GET_LENGTH(self) * PyUnicode_KIND(self));
  ------------------
  |  |  258|  25.9k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|  51.8k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 25.9k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12094|       |
12095|      0|    PyUnicode_SET_HASH(self, x);
12096|  25.9k|    return x;
12097|  25.9k|}
unicodeobject.c:PyUnicode_SET_HASH:
  164|  25.9k|{
  165|  25.9k|    FT_ATOMIC_STORE_SSIZE_RELAXED(_PyASCIIObject_CAST(op)->hash, hash);
  ------------------
  |  |  194|  51.8k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  |  |  |  Branch (194:57): [True: 25.9k, False: 0]
  |  |  ------------------
  ------------------
  166|  25.9k|}
unicodeobject.c:unicode_encode_impl:
11945|      6|{
11946|      6|    return PyUnicode_AsEncodedString(self, encoding, errors);
11947|      6|}
unicodeobject.c:unicode_replace_impl:
12997|     27|{
12998|     27|    return replace(self, old, new, count);
12999|     27|}
unicodeobject.c:unicode_split_impl:
13254|     12|{
13255|     12|    if (sep == Py_None)
  ------------------
  |  |  616|     12|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (13255:9): [True: 1, False: 11]
  ------------------
13256|      1|        return split(self, NULL, maxsplit);
13257|     11|    if (PyUnicode_Check(sep))
  ------------------
  |  |  103|     11|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     11|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 11, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13258|     11|        return split(self, sep, maxsplit);
13259|       |
13260|      0|    PyErr_Format(PyExc_TypeError,
13261|      0|                 "must be str or None, not %.100s",
13262|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13263|       |    return NULL;
13264|     11|}
unicodeobject.c:unicode_join:
12621|    501|{
12622|    501|    return PyUnicode_Join(self, iterable);
12623|    501|}
unicodeobject.c:ascii_upper_or_lower:
10140|     59|{
10141|     59|    Py_ssize_t len = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  299|     59|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     59|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     59|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10142|     59|    const char *data = PyUnicode_DATA(self);
  ------------------
  |  |  284|     59|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     59|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     59|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10143|     59|    char *resdata;
10144|     59|    PyObject *res;
10145|       |
10146|     59|    res = PyUnicode_New(len, 127);
10147|     59|    if (res == NULL)
  ------------------
  |  Branch (10147:9): [True: 0, False: 59]
  ------------------
10148|      0|        return NULL;
10149|     59|    resdata = PyUnicode_DATA(res);
  ------------------
  |  |  284|     59|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     59|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     59|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10150|     59|    if (lower)
  ------------------
  |  Branch (10150:9): [True: 8, False: 51]
  ------------------
10151|      8|        _Py_bytes_lower(resdata, data, len);
10152|     51|    else
10153|     51|        _Py_bytes_upper(resdata, data, len);
10154|     59|    return res;
10155|     59|}
unicodeobject.c:unicode_find_impl:
12049|      2|{
12050|      2|    Py_ssize_t result = any_find_slice(str, substr, start, end, 1);
12051|      2|    if (result < 0) {
  ------------------
  |  Branch (12051:9): [True: 0, False: 2]
  ------------------
12052|      0|        return -1;
12053|      0|    }
12054|      2|    return result;
12055|      2|}
unicodeobject.c:unicode_lower_impl:
12663|      8|{
12664|      8|    if (PyUnicode_IS_ASCII(self))
  ------------------
  |  |  227|      8|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 8, False: 0]
  |  |  ------------------
  ------------------
12665|      8|        return ascii_upper_or_lower(self, 1);
12666|      0|    return case_operation(self, do_lower);
12667|      8|}
unicodeobject.c:unicode_lstrip_impl:
12887|     37|{
12888|     37|    return do_argstrip(self, LEFTSTRIP, chars);
  ------------------
  |  |12669|     37|#define LEFTSTRIP 0
  ------------------
12889|     37|}
unicodeobject.c:do_argstrip:
12837|    720|{
12838|    720|    if (sep != Py_None) {
  ------------------
  |  |  616|    720|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (12838:9): [True: 720, False: 0]
  ------------------
12839|    720|        if (PyUnicode_Check(sep))
  ------------------
  |  |  103|    720|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    720|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 720, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12840|    720|            return _PyUnicode_XStrip(self, striptype, sep);
12841|      0|        else {
12842|      0|            PyErr_Format(PyExc_TypeError,
12843|      0|                         "%s arg must be None or str",
12844|      0|                         STRIPNAME(striptype));
  ------------------
  |  |12676|      0|#define STRIPNAME(i) (stripfuncnames[i])
  ------------------
12845|      0|            return NULL;
12846|      0|        }
12847|    720|    }
12848|       |
12849|      0|    return do_strip(self, striptype);
12850|    720|}
unicodeobject.c:unicode_rfind_impl:
13162|     33|{
13163|     33|    Py_ssize_t result = any_find_slice(str, substr, start, end, -1);
13164|     33|    if (result < 0) {
  ------------------
  |  Branch (13164:9): [True: 0, False: 33]
  ------------------
13165|      0|        return -1;
13166|      0|    }
13167|     33|    return result;
13168|     33|}
unicodeobject.c:unicode_rstrip_impl:
12906|    683|{
12907|    683|    return do_argstrip(self, RIGHTSTRIP, chars);
  ------------------
  |  |12670|    683|#define RIGHTSTRIP 1
  ------------------
12908|    683|}
unicodeobject.c:unicode_rpartition:
13409|    256|{
13410|    256|    return PyUnicode_RPartition(self, sep);
13411|    256|}
unicodeobject.c:unicode_translate:
13650|     48|{
13651|     48|    return _PyUnicode_TranslateCharmap(self, table, "ignore");
13652|     48|}
unicodeobject.c:unicode_upper_impl:
13663|     51|{
13664|     51|    if (PyUnicode_IS_ASCII(self))
  ------------------
  |  |  227|     51|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     51|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     51|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 51, False: 0]
  |  |  ------------------
  ------------------
13665|     51|        return ascii_upper_or_lower(self, 0);
13666|      0|    return case_operation(self, do_upper);
13667|     51|}
unicodeobject.c:unicode_startswith_impl:
13735|    321|{
13736|    321|    if (PyTuple_Check(subobj)) {
  ------------------
  |  |   27|    321|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    321|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 11, False: 310]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13737|     11|        Py_ssize_t i;
13738|     77|        for (i = 0; i < PyTuple_GET_SIZE(subobj); i++) {
  ------------------
  |  |   27|     77|#define PyTuple_GET_SIZE(op) PyTuple_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 (13738:21): [True: 66, False: 11]
  ------------------
13739|     66|            PyObject *substring = PyTuple_GET_ITEM(subobj, i);
  ------------------
  |  |   29|     66|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     66|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     66|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (13739:35): [True: 66, False: 0]
  ------------------
13740|     66|            if (!PyUnicode_Check(substring)) {
  ------------------
  |  |  103|     66|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     66|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (13740:17): [True: 0, False: 66]
  ------------------
13741|      0|                PyErr_Format(PyExc_TypeError,
13742|      0|                             "tuple for startswith must only contain str, "
13743|      0|                             "not %.100s",
13744|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13745|      0|                return NULL;
13746|      0|            }
13747|     66|            int result = tailmatch(self, substring, start, end, -1);
13748|     66|            if (result < 0) {
  ------------------
  |  Branch (13748:17): [True: 0, False: 66]
  ------------------
13749|      0|                return NULL;
13750|      0|            }
13751|     66|            if (result) {
  ------------------
  |  Branch (13751:17): [True: 0, False: 66]
  ------------------
13752|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13753|      0|            }
13754|     66|        }
13755|       |        /* nothing matched */
13756|     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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13757|     11|    }
13758|    310|    if (!PyUnicode_Check(subobj)) {
  ------------------
  |  |  103|    310|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    310|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (13758:9): [True: 0, False: 310]
  ------------------
13759|      0|        PyErr_Format(PyExc_TypeError,
13760|      0|                     "startswith first arg must be str or "
13761|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13762|      0|        return NULL;
13763|      0|    }
13764|    310|    int result = tailmatch(self, subobj, start, end, -1);
13765|    310|    if (result < 0) {
  ------------------
  |  Branch (13765:9): [True: 0, False: 310]
  ------------------
13766|      0|        return NULL;
13767|      0|    }
13768|    310|    return PyBool_FromLong(result);
13769|    310|}
unicodeobject.c:unicode_endswith_impl:
13792|     60|{
13793|     60|    if (PyTuple_Check(subobj)) {
  ------------------
  |  |   27|     60|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     60|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 60]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13794|      0|        Py_ssize_t i;
13795|      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 (13795:21): [True: 0, False: 0]
  ------------------
13796|      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 (13796:35): [True: 0, False: 0]
  ------------------
13797|      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 (13797:17): [True: 0, False: 0]
  ------------------
13798|      0|                PyErr_Format(PyExc_TypeError,
13799|      0|                             "tuple for endswith must only contain str, "
13800|      0|                             "not %.100s",
13801|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13802|      0|                return NULL;
13803|      0|            }
13804|      0|            int result = tailmatch(self, substring, start, end, +1);
13805|      0|            if (result < 0) {
  ------------------
  |  Branch (13805:17): [True: 0, False: 0]
  ------------------
13806|      0|                return NULL;
13807|      0|            }
13808|      0|            if (result) {
  ------------------
  |  Branch (13808:17): [True: 0, False: 0]
  ------------------
13809|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13810|      0|            }
13811|      0|        }
13812|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13813|      0|    }
13814|     60|    if (!PyUnicode_Check(subobj)) {
  ------------------
  |  |  103|     60|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     60|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (13814:9): [True: 0, False: 60]
  ------------------
13815|      0|        PyErr_Format(PyExc_TypeError,
13816|      0|                     "endswith first arg must be str or "
13817|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13818|      0|        return NULL;
13819|      0|    }
13820|     60|    int result = tailmatch(self, subobj, start, end, +1);
13821|     60|    if (result < 0) {
  ------------------
  |  Branch (13821:9): [True: 0, False: 60]
  ------------------
13822|      0|        return NULL;
13823|      0|    }
13824|     60|    return PyBool_FromLong(result);
13825|     60|}
unicodeobject.c:unicode_isascii_impl:
12137|      2|{
12138|      2|    return PyBool_FromLong(PyUnicode_IS_ASCII(self));
  ------------------
  |  |  227|      2|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12139|      2|}
unicodeobject.c:unicode_isidentifier_impl:
12566|     11|{
12567|     11|    return PyBool_FromLong(PyUnicode_IsIdentifier(self));
12568|     11|}
unicodeobject.c:unicode_new_impl:
14248|      7|{
14249|      7|    PyObject *unicode;
14250|      7|    if (x == NULL) {
  ------------------
  |  Branch (14250:9): [True: 0, False: 7]
  ------------------
14251|      0|        unicode = _PyUnicode_GetEmpty();
14252|      0|    }
14253|      7|    else if (encoding == NULL && errors == NULL) {
  ------------------
  |  Branch (14253:14): [True: 7, False: 0]
  |  Branch (14253:34): [True: 7, False: 0]
  ------------------
14254|      7|        unicode = PyObject_Str(x);
14255|      7|    }
14256|      0|    else {
14257|      0|        unicode = PyUnicode_FromEncodedObject(x, encoding, errors);
14258|      0|    }
14259|       |
14260|      7|    if (unicode != NULL && type != &PyUnicode_Type) {
  ------------------
  |  Branch (14260:9): [True: 7, False: 0]
  |  Branch (14260:28): [True: 7, False: 0]
  ------------------
14261|      7|        Py_SETREF(unicode, unicode_subtype_new(type, unicode));
  ------------------
  |  |  354|      7|    do { \
  |  |  355|      7|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|      7|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      7|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|      7|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      7|        *_tmp_dst_ptr = (src); \
  |  |  358|      7|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      7|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      7|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 7]
  |  |  ------------------
  ------------------
14262|      7|    }
14263|      7|    return unicode;
14264|      7|}
unicodeobject.c:unicode_subtype_new:
14327|      7|{
14328|      7|    PyObject *self;
14329|      7|    Py_ssize_t length, char_size;
14330|      7|    int share_utf8;
14331|      7|    int kind;
14332|      7|    void *data;
14333|       |
14334|      7|    assert(PyType_IsSubtype(type, &PyUnicode_Type));
  ------------------
  |  Branch (14334:5): [True: 7, False: 0]
  ------------------
14335|      7|    assert(_PyUnicode_CHECK(unicode));
  ------------------
  |  Branch (14335:5): [True: 7, False: 0]
  ------------------
14336|       |
14337|      7|    self = type->tp_alloc(type, 0);
14338|      7|    if (self == NULL) {
  ------------------
  |  Branch (14338:9): [True: 0, False: 7]
  ------------------
14339|      0|        return NULL;
14340|      0|    }
14341|      7|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|      7|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|     14|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 7, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14342|      7|    length = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  299|      7|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14343|       |
14344|      7|    _PyUnicode_LENGTH(self) = length;
  ------------------
  |  |  155|      7|    (_PyASCIIObject_CAST(op)->length)
  |  |  ------------------
  |  |  |  |  186|      7|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|      7|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14344:5): [True: 7, False: 0]
  ------------------
14345|       |#ifdef Py_DEBUG
14346|       |    _PyUnicode_HASH(self) = -1;
14347|       |#else
14348|      7|    _PyUnicode_HASH(self) = _PyUnicode_HASH(unicode);
  ------------------
  |  |  159|      7|    (_PyASCIIObject_CAST(op)->hash)
  |  |  ------------------
  |  |  |  |  186|      7|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|      7|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  _PyUnicode_HASH(self) = _PyUnicode_HASH(unicode);
  ------------------
  |  |  159|      7|    (_PyASCIIObject_CAST(op)->hash)
  |  |  ------------------
  |  |  |  |  186|      7|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|      7|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14348:5): [True: 7, False: 0]
  |  Branch (14348:29): [True: 7, False: 0]
  ------------------
14349|      0|#endif
14350|      7|    _PyUnicode_STATE(self).interned = 0;
  ------------------
  |  |  157|      7|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|      7|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|      7|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14350:5): [True: 7, False: 0]
  ------------------
14351|      7|    _PyUnicode_STATE(self).kind = kind;
  ------------------
  |  |  157|      7|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|      7|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|      7|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14351:5): [True: 7, False: 0]
  ------------------
14352|      7|    _PyUnicode_STATE(self).compact = 0;
  ------------------
  |  |  157|      7|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|      7|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|      7|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14352:5): [True: 7, False: 0]
  ------------------
14353|      7|    _PyUnicode_STATE(self).ascii = _PyUnicode_STATE(unicode).ascii;
  ------------------
  |  |  157|      7|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|      7|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|      7|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  _PyUnicode_STATE(self).ascii = _PyUnicode_STATE(unicode).ascii;
  ------------------
  |  |  157|      7|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|      7|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|      7|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14353:5): [True: 7, False: 0]
  |  Branch (14353:36): [True: 7, False: 0]
  ------------------
14354|      7|    _PyUnicode_STATE(self).statically_allocated = 0;
  ------------------
  |  |  157|      7|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|      7|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|      7|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14354:5): [True: 7, False: 0]
  ------------------
14355|      0|    PyUnicode_SET_UTF8_LENGTH(self, 0);
14356|      7|    PyUnicode_SET_UTF8(self, NULL);
14357|      7|    _PyUnicode_DATA_ANY(self) = NULL;
  ------------------
  |  |  169|      7|    (_PyUnicodeObject_CAST(op)->data.any)
  |  |  ------------------
  |  |  |  |  192|      7|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  193|      7|     _Py_CAST(PyUnicodeObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14357:5): [True: 7, False: 0]
  ------------------
14358|       |
14359|      0|    share_utf8 = 0;
14360|      7|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (14360:9): [True: 7, False: 0]
  ------------------
14361|      7|        char_size = 1;
14362|      7|        if (PyUnicode_MAX_CHAR_VALUE(unicode) < 128)
  ------------------
  |  |  405|      7|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14362:13): [True: 7, False: 0]
  ------------------
14363|      7|            share_utf8 = 1;
14364|      7|    }
14365|      0|    else if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (14365:14): [True: 0, False: 0]
  ------------------
14366|      0|        char_size = 2;
14367|      0|    }
14368|      0|    else {
14369|      0|        assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (14369:9): [True: 0, False: 0]
  ------------------
14370|      0|        char_size = 4;
14371|      0|    }
14372|       |
14373|       |    /* Ensure we won't overflow the length. */
14374|      7|    if (length > (PY_SSIZE_T_MAX / char_size - 1)) {
  ------------------
  |  |  137|      7|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (14374:9): [True: 0, False: 7]
  ------------------
14375|      0|        PyErr_NoMemory();
14376|      0|        goto onError;
14377|      0|    }
14378|      7|    data = PyMem_Malloc((length + 1) * char_size);
14379|      7|    if (data == NULL) {
  ------------------
  |  Branch (14379:9): [True: 0, False: 7]
  ------------------
14380|      0|        PyErr_NoMemory();
14381|      0|        goto onError;
14382|      0|    }
14383|       |
14384|     14|    _PyUnicode_DATA_ANY(self) = data;
  ------------------
  |  |  169|      7|    (_PyUnicodeObject_CAST(op)->data.any)
  |  |  ------------------
  |  |  |  |  192|      7|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  193|      7|     _Py_CAST(PyUnicodeObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14384:5): [True: 7, False: 0]
  ------------------
14385|      7|    if (share_utf8) {
  ------------------
  |  Branch (14385:9): [True: 7, False: 0]
  ------------------
14386|      7|        PyUnicode_SET_UTF8_LENGTH(self, length);
14387|      7|        PyUnicode_SET_UTF8(self, data);
14388|      7|    }
14389|       |
14390|     14|    memcpy(data, PyUnicode_DATA(unicode), kind * (length + 1));
  ------------------
  |  |  284|      7|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14391|     14|    assert(_PyUnicode_CheckConsistency(self, 1));
  ------------------
  |  Branch (14391:5): [True: 7, False: 0]
  ------------------
14392|       |#ifdef Py_DEBUG
14393|       |    _PyUnicode_HASH(self) = _PyUnicode_HASH(unicode);
14394|       |#endif
14395|      7|    return self;
14396|       |
14397|      0|onError:
14398|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14399|       |    return NULL;
14400|     14|}
unicodeobject.c:unicode_vectorcall:
14281|     20|{
14282|     20|    assert(Py_Is(_PyType_CAST(type), &PyUnicode_Type));
  ------------------
  |  Branch (14282:5): [True: 20, False: 0]
  |  Branch (14282:5): [True: 20, False: 0]
  ------------------
14283|       |
14284|     20|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|     20|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
14285|     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 (14285:9): [True: 0, False: 20]
  |  Branch (14285:28): [True: 0, False: 0]
  ------------------
14286|       |        // Fallback to unicode_new()
14287|      0|        PyObject *tuple = PyTuple_FromArray(args, nargs);
14288|      0|        if (tuple == NULL) {
  ------------------
  |  Branch (14288:13): [True: 0, False: 0]
  ------------------
14289|      0|            return NULL;
14290|      0|        }
14291|      0|        PyObject *dict = _PyStack_AsDict(args + nargs, kwnames);
14292|      0|        if (dict == NULL) {
  ------------------
  |  Branch (14292:13): [True: 0, False: 0]
  ------------------
14293|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14294|      0|            return NULL;
14295|      0|        }
14296|      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 (14296:37): [True: 0, False: 0]
  ------------------
14297|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14298|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14299|      0|        return ret;
14300|      0|    }
14301|     20|    if (!_PyArg_CheckPositional("str", nargs, 0, 3)) {
  ------------------
  |  |   31|     20|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 20, False: 0]
  |  |  |  Branch (31:27): [True: 20, False: 0]
  |  |  ------------------
  |  |   32|     20|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
14302|      0|        return NULL;
14303|      0|    }
14304|     20|    if (nargs == 0) {
  ------------------
  |  Branch (14304:9): [True: 0, False: 20]
  ------------------
14305|      0|        return _PyUnicode_GetEmpty();
14306|      0|    }
14307|     20|    PyObject *object = args[0];
14308|     20|    if (nargs == 1) {
  ------------------
  |  Branch (14308:9): [True: 18, False: 2]
  ------------------
14309|     18|        return PyObject_Str(object);
14310|     18|    }
14311|      2|    const char *encoding = arg_as_utf8(args[1], "encoding");
14312|      2|    if (encoding == NULL) {
  ------------------
  |  Branch (14312:9): [True: 0, False: 2]
  ------------------
14313|      0|        return NULL;
14314|      0|    }
14315|      2|    const char *errors = NULL;
14316|      2|    if (nargs == 3) {
  ------------------
  |  Branch (14316:9): [True: 0, False: 2]
  ------------------
14317|      0|        errors = arg_as_utf8(args[2], "errors");
14318|      0|        if (errors == NULL) {
  ------------------
  |  Branch (14318:13): [True: 0, False: 0]
  ------------------
14319|      0|            return NULL;
14320|      0|        }
14321|      0|    }
14322|      2|    return PyUnicode_FromEncodedObject(object, encoding, errors);
14323|      2|}
unicodeobject.c:arg_as_utf8:
14268|      2|{
14269|      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 (14269:9): [True: 0, False: 2]
  ------------------
14270|      0|        PyErr_Format(PyExc_TypeError,
14271|      0|                     "str() argument '%s' must be str, not %T",
14272|      0|                     name, obj);
14273|      0|        return NULL;
14274|      0|    }
14275|      2|    return _PyUnicode_AsUTF8NoNUL(obj);
14276|      2|}
unicodeobject.c:unicode_iteritem:
14404|     62|{
14405|     62|    if (index >= PyUnicode_GET_LENGTH(obj)) {
  ------------------
  |  |  299|     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 (14405:9): [True: 31, False: 31]
  ------------------
14406|     31|        return (_PyObjectIndexPair) { .object = NULL, .index = index };
14407|     31|    }
14408|     31|    const void *data = PyUnicode_DATA(obj);
  ------------------
  |  |  284|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14409|     31|    int kind = PyUnicode_KIND(obj);
  ------------------
  |  |  258|     31|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|     62|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 31, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14410|     31|    Py_UCS4 ch = PyUnicode_READ(kind, data, index);
  ------------------
  |  |  354|     31|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|     31|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|     31|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|     31|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|     31|                   (index))
  ------------------
14411|     31|    PyObject *result = unicode_char(ch);
14412|     31|    index = (result == NULL) ? -1 : index + 1;
  ------------------
  |  Branch (14412:13): [True: 0, False: 31]
  ------------------
14413|     31|    return (_PyObjectIndexPair) { .object = result, .index = index };
14414|     31|}
unicodeobject.c:_init_global_state:
14489|      2|{
14490|      2|    static int initialized = 0;
14491|      2|    if (initialized) {
  ------------------
  |  Branch (14491:9): [True: 0, False: 2]
  ------------------
14492|      0|        return;
14493|      0|    }
14494|      2|    initialized = 1;
14495|       |
14496|       |    /* initialize the linebreak bloom filter */
14497|      2|    const Py_UCS2 linebreak[] = {
14498|      2|        0x000A, /* LINE FEED */
14499|      2|        0x000D, /* CARRIAGE RETURN */
14500|      2|        0x001C, /* FILE SEPARATOR */
14501|      2|        0x001D, /* GROUP SEPARATOR */
14502|      2|        0x001E, /* RECORD SEPARATOR */
14503|      2|        0x0085, /* NEXT LINE */
14504|      2|        0x2028, /* LINE SEPARATOR */
14505|      2|        0x2029, /* PARAGRAPH SEPARATOR */
14506|      2|    };
14507|      2|    bloom_linebreak = make_bloom_mask(
14508|      2|        PyUnicode_2BYTE_KIND, linebreak,
14509|      2|        Py_ARRAY_LENGTH(linebreak));
  ------------------
  |  |  221|      2|    (sizeof(array) / sizeof((array)[0]))
  ------------------
14510|      2|}
unicodeobject.c:init_global_interned_strings:
  328|      2|{
  329|      2|    assert(INTERNED_STRINGS == NULL);
  ------------------
  |  Branch (329:5): [True: 2, False: 0]
  ------------------
  330|      2|    _Py_hashtable_allocator_t hashtable_alloc = {PyMem_RawMalloc, PyMem_RawFree};
  331|       |
  332|      2|    INTERNED_STRINGS = _Py_hashtable_new_full(
  ------------------
  |  |  223|      2|#define INTERNED_STRINGS _PyRuntime.cached_objects.interned_strings
  ------------------
  333|      2|        hashtable_unicode_hash,
  334|      2|        hashtable_unicode_compare,
  335|       |        // Objects stored here are immortal and statically allocated,
  336|       |        // so we don't need key_destroy_func & value_destroy_func:
  337|      2|        NULL,
  338|      2|        NULL,
  339|      2|        &hashtable_alloc
  340|      2|    );
  341|      2|    if (INTERNED_STRINGS == NULL) {
  ------------------
  |  |  223|      2|#define INTERNED_STRINGS _PyRuntime.cached_objects.interned_strings
  ------------------
  |  Branch (341:9): [True: 0, False: 2]
  ------------------
  342|      0|        PyErr_Clear();
  343|      0|        return _PyStatus_ERR("failed to create global interned dict");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
  344|      0|    }
  345|       |
  346|       |    /* Intern statically allocated string identifiers, deepfreeze strings,
  347|       |        * and one-byte latin-1 strings.
  348|       |        * This must be done before any module initialization so that statically
  349|       |        * allocated string identifiers are used instead of heap allocated strings.
  350|       |        * Deepfreeze uses the interned identifiers if present to save space
  351|       |        * else generates them and they are interned to speed up dict lookups.
  352|       |    */
  353|      2|    _PyUnicode_InitStaticStrings(interp);
  354|       |
  355|    514|    for (int i = 0; i < 256; i++) {
  ------------------
  |  Branch (355:21): [True: 512, False: 2]
  ------------------
  356|    512|        PyObject *s = LATIN1(i);
  ------------------
  |  |  188|    512|#define LATIN1 _Py_LATIN1_CHR
  |  |  ------------------
  |  |  |  |  940|    512|    ((CH) < 128 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (940:6): [True: 256, False: 256]
  |  |  |  |  ------------------
  |  |  |  |  941|    512|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|    256|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|    256|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  942|    512|     : (PyObject*)&_Py_SINGLETON(strings).latin1[(CH) - 128])
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|    256|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|    256|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  357|    512|        _PyUnicode_InternStatic(interp, &s);
  358|    512|        assert(s == LATIN1(i));
  ------------------
  |  Branch (358:9): [True: 256, False: 256]
  |  Branch (358:9): [True: 512, False: 0]
  ------------------
  359|    512|    }
  360|       |#ifdef Py_DEBUG
  361|       |    assert(_PyUnicode_CheckConsistency(&_Py_STR(empty), 1));
  362|       |
  363|       |    for (int i = 0; i < 256; i++) {
  364|       |        assert(_PyUnicode_CheckConsistency(LATIN1(i), 1));
  365|       |    }
  366|       |#endif
  367|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  368|      2|}
unicodeobject.c:hashtable_unicode_hash:
  259|  31.4k|{
  260|  31.4k|    return unicode_hash((PyObject *)key);
  261|  31.4k|}
unicodeobject.c:hashtable_unicode_compare:
  265|  7.29k|{
  266|  7.29k|    PyObject *obj1 = (PyObject *)key1;
  267|  7.29k|    PyObject *obj2 = (PyObject *)key2;
  268|  7.29k|    if (obj1 != NULL && obj2 != NULL) {
  ------------------
  |  Branch (268:9): [True: 7.29k, False: 0]
  |  Branch (268:25): [True: 7.29k, False: 0]
  ------------------
  269|  7.29k|        return unicode_eq(obj1, obj2);
  270|  7.29k|    }
  271|      0|    else {
  272|      0|        return obj1 == obj2;
  273|      0|    }
  274|  7.29k|}
unicodeobject.c:init_interned_dict:
  295|      2|{
  296|      2|    assert(get_interned_dict(interp) == NULL);
  ------------------
  |  Branch (296:5): [True: 2, False: 0]
  ------------------
  297|      2|    PyObject *interned;
  298|      2|    if (has_shared_intern_dict(interp)) {
  ------------------
  |  Branch (298:9): [True: 0, False: 2]
  ------------------
  299|      0|        interned = get_interned_dict(_PyInterpreterState_Main());
  300|      0|        Py_INCREF(interned);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  301|      0|    }
  302|      2|    else {
  303|      2|        interned = PyDict_New();
  304|      2|        if (interned == NULL) {
  ------------------
  |  Branch (304:13): [True: 0, False: 2]
  ------------------
  305|      0|            return -1;
  306|      0|        }
  307|      2|    }
  308|      2|    _Py_INTERP_CACHED_OBJECT(interp, interned_strings) = interned;
  ------------------
  |  |   22|      2|    (interp)->cached_objects.NAME
  ------------------
  309|      2|    return 0;
  310|      2|}
unicodeobject.c:intern_static:
14562|  2.27k|{
14563|       |    // Note that this steals a reference to `s`, but in many cases that
14564|       |    // stolen ref is returned, requiring no decref/incref.
14565|       |
14566|  2.27k|    assert(s != NULL);
  ------------------
  |  Branch (14566:5): [True: 2.27k, False: 0]
  ------------------
14567|  2.27k|    assert(_PyUnicode_CHECK(s));
  ------------------
  |  Branch (14567:5): [True: 2.27k, False: 0]
  ------------------
14568|  2.27k|    assert(_PyUnicode_STATE(s).statically_allocated);
  ------------------
  |  Branch (14568:5): [True: 2.27k, False: 0]
  |  Branch (14568:5): [True: 2.27k, False: 0]
  ------------------
14569|  2.27k|    assert(!PyUnicode_CHECK_INTERNED(s));
  ------------------
  |  Branch (14569:5): [True: 2.27k, False: 0]
  ------------------
14570|       |
14571|       |#ifdef Py_DEBUG
14572|       |    /* We must not add process-global interned string if there's already a
14573|       |     * per-interpreter interned_dict, which might contain duplicates.
14574|       |     */
14575|       |    PyObject *interned = get_interned_dict(interp);
14576|       |    assert(interned == NULL);
14577|       |#endif
14578|       |
14579|       |    /* Look in the global cache first. */
14580|  2.27k|    PyObject *r = (PyObject *)_Py_hashtable_get(INTERNED_STRINGS, s);
  ------------------
  |  |  223|  2.27k|#define INTERNED_STRINGS _PyRuntime.cached_objects.interned_strings
  ------------------
14581|       |    /* We should only init each string once */
14582|  2.27k|    assert(r == NULL);
  ------------------
  |  Branch (14582:5): [True: 2.27k, False: 0]
  ------------------
14583|       |    /* but just in case (for the non-debug build), handle this */
14584|  2.27k|    if (r != NULL && r != s) {
  ------------------
  |  Branch (14584:9): [True: 0, False: 2.27k]
  |  Branch (14584:22): [True: 0, False: 0]
  ------------------
14585|      0|        assert(_PyUnicode_STATE(r).interned == SSTATE_INTERNED_IMMORTAL_STATIC);
  ------------------
  |  Branch (14585:9): [True: 0, False: 0]
  |  Branch (14585:9): [True: 0, False: 0]
  ------------------
14586|      0|        assert(_PyUnicode_CHECK(r));
  ------------------
  |  Branch (14586:9): [True: 0, False: 0]
  ------------------
14587|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14588|      0|        return Py_NewRef(r);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14589|      0|    }
14590|       |
14591|  2.27k|    if (_Py_hashtable_set(INTERNED_STRINGS, s, s) < -1) {
  ------------------
  |  |  223|  2.27k|#define INTERNED_STRINGS _PyRuntime.cached_objects.interned_strings
  ------------------
  |  Branch (14591:9): [True: 0, False: 2.27k]
  ------------------
14592|      0|        Py_FatalError("failed to intern static string");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
14593|      0|    }
14594|       |
14595|  2.27k|    _PyUnicode_STATE(s).interned = SSTATE_INTERNED_IMMORTAL_STATIC;
  ------------------
  |  |  157|  2.27k|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|  2.27k|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  2.27k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.27k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  _PyUnicode_STATE(s).interned = SSTATE_INTERNED_IMMORTAL_STATIC;
  ------------------
  |  |  204|  2.27k|#define SSTATE_INTERNED_IMMORTAL_STATIC 3
  ------------------
  |  Branch (14595:5): [True: 2.27k, False: 0]
  ------------------
14596|      0|    return s;
14597|  2.27k|}
unicodeobject.c:intern_common:
14644|  60.3k|{
14645|       |    // Note that this steals a reference to `s`, but in many cases that
14646|       |    // stolen ref is returned, requiring no decref/incref.
14647|       |
14648|       |#ifdef Py_DEBUG
14649|       |    assert(s != NULL);
14650|       |    assert(_PyUnicode_CHECK(s));
14651|       |#else
14652|  60.3k|    if (s == NULL || !PyUnicode_Check(s)) {
  ------------------
  |  |  103|  60.3k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  60.3k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (14652:9): [True: 0, False: 60.3k]
  |  Branch (14652:22): [True: 0, False: 60.3k]
  ------------------
14653|      0|        return s;
14654|      0|    }
14655|  60.3k|#endif
14656|       |
14657|       |    /* If it's a subclass, we don't really know what putting
14658|       |       it in the interned dict might do. */
14659|  60.3k|    if (!PyUnicode_CheckExact(s)) {
  ------------------
  |  |  104|  60.3k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  60.3k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  60.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  60.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14659:9): [True: 0, False: 60.3k]
  ------------------
14660|      0|        return s;
14661|      0|    }
14662|       |
14663|       |    /* Is it already interned? */
14664|  60.3k|    switch (PyUnicode_CHECK_INTERNED(s)) {
  ------------------
  |  |  214|  60.3k|#define PyUnicode_CHECK_INTERNED(op) PyUnicode_CHECK_INTERNED(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  60.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  60.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14665|  20.5k|        case SSTATE_NOT_INTERNED:
  ------------------
  |  |  201|  20.5k|#define SSTATE_NOT_INTERNED 0
  ------------------
  |  Branch (14665:9): [True: 20.5k, False: 39.8k]
  ------------------
14666|       |            // no, go on
14667|  20.5k|            break;
14668|    789|        case SSTATE_INTERNED_MORTAL:
  ------------------
  |  |  202|    789|#define SSTATE_INTERNED_MORTAL 1
  ------------------
  |  Branch (14668:9): [True: 789, False: 59.6k]
  ------------------
14669|    789|#ifndef Py_GIL_DISABLED
14670|       |            // yes but we might need to make it immortal
14671|    789|            if (immortalize) {
  ------------------
  |  Branch (14671:17): [True: 0, False: 789]
  ------------------
14672|      0|                immortalize_interned(s);
14673|      0|            }
14674|    789|            return s;
14675|       |#else
14676|       |            // not fully interned yet; fall through to the locking path
14677|       |            break;
14678|       |#endif
14679|  39.0k|        default:
  ------------------
  |  Branch (14679:9): [True: 39.0k, False: 21.3k]
  ------------------
14680|       |            // all done
14681|  39.0k|            return s;
14682|  60.3k|    }
14683|       |
14684|       |    /* Statically allocated strings must be already interned. */
14685|  60.3k|    assert(!_PyUnicode_STATE(s).statically_allocated);
  ------------------
  |  Branch (14685:5): [True: 20.5k, False: 0]
  |  Branch (14685:5): [True: 20.5k, False: 0]
  ------------------
14686|       |
14687|       |#if Py_GIL_DISABLED
14688|       |    /* In the free-threaded build, all interned strings are immortal */
14689|       |    immortalize = 1;
14690|       |#endif
14691|       |
14692|       |    /* If it's already immortal, intern it as such */
14693|  20.5k|    if (_Py_IsImmortal(s)) {
  ------------------
  |  |  137|  20.5k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  20.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 20.5k]
  |  |  ------------------
  ------------------
14694|      0|        immortalize = 1;
14695|      0|    }
14696|       |
14697|       |    /* if it's a short string, get the singleton */
14698|  20.5k|    if (PyUnicode_GET_LENGTH(s) == 1 &&
  ------------------
  |  |  299|  20.5k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  20.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14698:9): [True: 0, False: 20.5k]
  ------------------
14699|      0|                PyUnicode_KIND(s) == PyUnicode_1BYTE_KIND) {
  ------------------
  |  |  258|      0|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14699:17): [True: 0, False: 0]
  ------------------
14700|      0|        PyObject *r = LATIN1(*(unsigned char*)PyUnicode_DATA(s));
  ------------------
  |  |  188|      0|#define LATIN1 _Py_LATIN1_CHR
  |  |  ------------------
  |  |  |  |  940|      0|    ((CH) < 128 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (940:6): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  941|      0|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  942|      0|     : (PyObject*)&_Py_SINGLETON(strings).latin1[(CH) - 128])
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14701|      0|        assert(PyUnicode_CHECK_INTERNED(r));
  ------------------
  |  Branch (14701:9): [True: 0, False: 0]
  ------------------
14702|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14703|      0|        return r;
14704|      0|    }
14705|       |#ifdef Py_DEBUG
14706|       |    assert(!unicode_is_singleton(s));
14707|       |#endif
14708|       |
14709|       |    /* Look in the global cache now. */
14710|  20.5k|    {
14711|  20.5k|        PyObject *r = (PyObject *)_Py_hashtable_get(INTERNED_STRINGS, s);
  ------------------
  |  |  223|  20.5k|#define INTERNED_STRINGS _PyRuntime.cached_objects.interned_strings
  ------------------
14712|  20.5k|        if (r != NULL) {
  ------------------
  |  Branch (14712:13): [True: 7.29k, False: 13.2k]
  ------------------
14713|  7.29k|            assert(_PyUnicode_STATE(r).statically_allocated);
  ------------------
  |  Branch (14713:13): [True: 7.29k, False: 0]
  |  Branch (14713:13): [True: 7.29k, False: 0]
  ------------------
14714|  7.29k|            assert(r != s);  // r must be statically_allocated; s is not
  ------------------
  |  Branch (14714:13): [True: 7.29k, False: 0]
  ------------------
14715|  7.29k|            Py_DECREF(s);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14716|  7.29k|            return Py_NewRef(r);
  ------------------
  |  |  550|  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14717|  7.29k|        }
14718|  20.5k|    }
14719|       |
14720|       |    /* Do a setdefault on the per-interpreter cache. */
14721|  13.2k|    PyObject *interned = get_interned_dict(interp);
14722|  13.2k|    assert(interned != NULL);
  ------------------
  |  Branch (14722:5): [True: 13.2k, False: 0]
  ------------------
14723|       |#ifdef Py_GIL_DISABLED
14724|       |#  define INTERN_MUTEX &_Py_INTERP_CACHED_OBJECT(interp, interned_mutex)
14725|       |    // Lock-free fast path: check if there's already an interned copy that
14726|       |    // is in its final immortal state.
14727|       |    PyObject *r;
14728|       |    int res = PyDict_GetItemRef(interned, s, &r);
14729|       |    if (res < 0) {
14730|       |        PyErr_Clear();
14731|       |        return s;
14732|       |    }
14733|       |    if (res > 0) {
14734|       |        unsigned int state = _Py_atomic_load_uint8(&_PyUnicode_STATE(r).interned);
14735|       |        if (state == SSTATE_INTERNED_IMMORTAL) {
14736|       |            Py_DECREF(s);
14737|       |            return r;
14738|       |        }
14739|       |        // Not yet fully interned; fall through to the locking path.
14740|       |        Py_DECREF(r);
14741|       |    }
14742|       |#endif
14743|       |
14744|       |#ifdef Py_GIL_DISABLED
14745|       |    // Immortalization writes to the refcount fields non-atomically. That
14746|       |    // races with Py_INCREF / Py_DECREF on the thread that owns `s`. If we
14747|       |    // don't own it (and its refcount hasn't been merged), intern a copy
14748|       |    // we own instead.
14749|       |    if (!can_immortalize_safely(s)) {
14750|       |        PyObject *copy = _PyUnicode_Copy(s);
14751|       |        if (copy == NULL) {
14752|       |            PyErr_Clear();
14753|       |            return s;
14754|       |        }
14755|       |        Py_DECREF(s);
14756|       |        s = copy;
14757|       |    }
14758|       |#endif
14759|       |
14760|       |    // Why _Py_LOCK_DONT_DETACH is used here: waiting for the interned mutex
14761|       |    // must not detach the thread state. Extension code is expected to
14762|       |    // detach before blocking on opaque external synchronization. However,
14763|       |    // the lock used for C++ static initialization is hidden, making
14764|       |    // that difficult, and it is common for C++ extensions to call
14765|       |    // PyUnicode_InternFromString() from static initializers. Detaching here
14766|       |    // can therefore deadlock: a stop-the-world pause may prevent the lock
14767|       |    // owner from reattaching while the pause waits for another attached
14768|       |    // thread blocked on the hidden lock.
14769|  13.2k|    FT_MUTEX_LOCK_FLAGS(INTERN_MUTEX, _Py_LOCK_DONT_DETACH);
  ------------------
  |  |  205|  13.2k|#define FT_MUTEX_LOCK_FLAGS(lock, flags) do {} while (0)
  |  |  ------------------
  |  |  |  Branch (205:55): [Folded, False: 13.2k]
  |  |  ------------------
  ------------------
14770|  13.2k|    PyObject *t;
14771|  13.2k|    {
14772|  13.2k|        int res = PyDict_SetDefaultRef(interned, s, s, &t);
14773|  13.2k|        if (res < 0) {
  ------------------
  |  Branch (14773:13): [True: 0, False: 13.2k]
  ------------------
14774|      0|            PyErr_Clear();
14775|      0|            FT_MUTEX_UNLOCK(INTERN_MUTEX);
  ------------------
  |  |  206|      0|#define FT_MUTEX_UNLOCK(lock) do {} while (0)
  |  |  ------------------
  |  |  |  Branch (206:44): [Folded, False: 0]
  |  |  ------------------
  ------------------
14776|      0|            return s;
14777|      0|        }
14778|  13.2k|        else if (res == 1) {
  ------------------
  |  Branch (14778:18): [True: 3.93k, False: 9.34k]
  ------------------
14779|       |            // value was already present (not inserted)
14780|  3.93k|            Py_DECREF(s);
  ------------------
  |  |  430|  3.93k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.93k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.93k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14781|  3.93k|            if (immortalize &&
  ------------------
  |  Branch (14781:17): [True: 3.14k, False: 790]
  ------------------
14782|  3.14k|                    PyUnicode_CHECK_INTERNED(t) == SSTATE_INTERNED_MORTAL) {
  ------------------
  |  |  214|  3.14k|#define PyUnicode_CHECK_INTERNED(op) PyUnicode_CHECK_INTERNED(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.14k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.14k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                                  PyUnicode_CHECK_INTERNED(t) == SSTATE_INTERNED_MORTAL) {
  ------------------
  |  |  202|  3.14k|#define SSTATE_INTERNED_MORTAL 1
  ------------------
  |  Branch (14782:21): [True: 363, False: 2.78k]
  ------------------
14783|    363|                immortalize_interned(t);
14784|    363|            }
14785|  3.93k|            FT_MUTEX_UNLOCK(INTERN_MUTEX);
  ------------------
  |  |  206|  3.93k|#define FT_MUTEX_UNLOCK(lock) do {} while (0)
  |  |  ------------------
  |  |  |  Branch (206:44): [Folded, False: 3.93k]
  |  |  ------------------
  ------------------
14786|  3.93k|            return t;
14787|  3.93k|        }
14788|  9.34k|        else {
14789|       |            // value was newly inserted
14790|  9.34k|            assert (s == t);
  ------------------
  |  Branch (14790:13): [True: 9.34k, False: 0]
  ------------------
14791|  9.34k|            Py_DECREF(t);
  ------------------
  |  |  430|  9.34k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.34k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.34k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14792|  9.34k|        }
14793|  13.2k|    }
14794|       |
14795|       |    /* NOT_INTERNED -> INTERNED_MORTAL */
14796|       |
14797|  13.2k|    assert(_PyUnicode_STATE(s).interned == SSTATE_NOT_INTERNED);
  ------------------
  |  Branch (14797:5): [True: 9.34k, False: 0]
  |  Branch (14797:5): [True: 9.34k, False: 0]
  ------------------
14798|       |
14799|  9.34k|    if (!_Py_IsImmortal(s)) {
  ------------------
  |  |  137|  9.34k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.34k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.34k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14799:9): [True: 9.34k, False: 0]
  ------------------
14800|       |        /* The two references in interned dict (key and value) are not counted.
14801|       |        unicode_dealloc() and _PyUnicode_ClearInterned() take care of this. */
14802|  9.34k|        Py_DECREF(s);
  ------------------
  |  |  430|  9.34k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.34k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.34k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14803|  9.34k|        Py_DECREF(s);
  ------------------
  |  |  430|  9.34k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.34k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.34k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14804|  9.34k|    }
14805|  9.34k|    FT_ATOMIC_STORE_UINT8(_PyUnicode_STATE(s).interned, SSTATE_INTERNED_MORTAL);
  ------------------
  |  |  155|  18.6k|#define FT_ATOMIC_STORE_UINT8(value, new_value) value = new_value
  |  |  ------------------
  |  |  |  Branch (155:49): [True: 9.34k, False: 0]
  |  |  ------------------
  ------------------
14806|       |
14807|       |    /* INTERNED_MORTAL -> INTERNED_IMMORTAL (if needed) */
14808|       |
14809|       |#ifdef Py_DEBUG
14810|       |    if (_Py_IsImmortal(s)) {
14811|       |        assert(immortalize);
14812|       |    }
14813|       |#endif
14814|  9.34k|    if (immortalize) {
  ------------------
  |  Branch (14814:9): [True: 7.79k, False: 1.54k]
  ------------------
14815|  7.79k|        immortalize_interned(s);
14816|  7.79k|    }
14817|       |
14818|  9.34k|    FT_MUTEX_UNLOCK(INTERN_MUTEX);
  ------------------
  |  |  206|  9.34k|#define FT_MUTEX_UNLOCK(lock) do {} while (0)
  |  |  ------------------
  |  |  |  Branch (206:44): [Folded, False: 9.34k]
  |  |  ------------------
  ------------------
14819|  9.34k|    return s;
14820|  9.34k|}
unicodeobject.c:immortalize_interned:
14611|  8.15k|{
14612|  8.15k|    assert(PyUnicode_CHECK_INTERNED(s) == SSTATE_INTERNED_MORTAL);
  ------------------
  |  Branch (14612:5): [True: 8.15k, False: 0]
  ------------------
14613|  8.15k|    assert(!_Py_IsImmortal(s));
  ------------------
  |  Branch (14613:5): [True: 8.15k, False: 0]
  ------------------
14614|       |#ifdef Py_REF_DEBUG
14615|       |    /* The reference count value should be excluded from the RefTotal.
14616|       |       The decrements to these objects will not be registered so they
14617|       |       need to be accounted for in here. */
14618|       |    for (Py_ssize_t i = 0; i < Py_REFCNT(s); i++) {
14619|       |        _Py_DecRefTotal(_PyThreadState_GET());
14620|       |    }
14621|       |#endif
14622|  8.15k|    _Py_SetImmortal(s);
14623|       |    // The switch to SSTATE_INTERNED_IMMORTAL must be the last thing done here
14624|       |    // to synchronize with the check in intern_common() that avoids locking if
14625|       |    // the string is already immortal.
14626|  8.15k|    FT_ATOMIC_STORE_UINT8(_PyUnicode_STATE(s).interned, SSTATE_INTERNED_IMMORTAL);
  ------------------
  |  |  155|  16.3k|#define FT_ATOMIC_STORE_UINT8(value, new_value) value = new_value
  |  |  ------------------
  |  |  |  Branch (155:49): [True: 8.15k, False: 0]
  |  |  ------------------
  ------------------
14627|  8.15k|}
unicodeobject.c:has_shared_intern_dict:
  288|      2|{
  289|      2|    PyInterpreterState *main_interp = _PyInterpreterState_Main();
  290|      2|    return interp != main_interp  && interp->feature_flags & Py_RTFLAGS_USE_MAIN_OBMALLOC;
  ------------------
  |  |   79|      2|#define Py_RTFLAGS_USE_MAIN_OBMALLOC (1UL << 5)
  ------------------
  |  Branch (290:12): [True: 0, False: 2]
  |  Branch (290:38): [True: 0, False: 0]
  ------------------
  291|      2|}
unicodeobject.c:unicodeiter_dealloc:
14972|     31|{
14973|     31|    unicodeiterobject *it = (unicodeiterobject *)op;
14974|     31|    _PyObject_GC_UNTRACK(it);
  ------------------
  |  |  507|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14975|     31|    Py_XDECREF(it->it_seq);
  ------------------
  |  |  524|     31|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     31|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     31|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14976|     31|    PyObject_GC_Del(it);
14977|     31|}
unicodeobject.c:unicode_ascii_iter_next:
15014|    160|{
15015|    160|    unicodeiterobject *it = (unicodeiterobject *)op;
15016|    160|    assert(it != NULL);
  ------------------
  |  Branch (15016:5): [True: 160, False: 0]
  ------------------
15017|    160|    PyObject *seq = it->it_seq;
15018|    160|    if (seq == NULL) {
  ------------------
  |  Branch (15018:9): [True: 0, False: 160]
  ------------------
15019|      0|        return NULL;
15020|      0|    }
15021|    160|    assert(_PyUnicode_CHECK(seq));
  ------------------
  |  Branch (15021:5): [True: 160, False: 0]
  ------------------
15022|    160|    assert(PyUnicode_IS_COMPACT_ASCII(seq));
  ------------------
  |  Branch (15022:5): [True: 160, False: 0]
  ------------------
15023|    160|    if (it->it_index < PyUnicode_GET_LENGTH(seq)) {
  ------------------
  |  |  299|    160|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    160|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    160|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (15023:9): [True: 131, False: 29]
  ------------------
15024|    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 (15024:37): [True: 131, False: 0]
  ------------------
15025|    131|        Py_UCS1 chr = (Py_UCS1)PyUnicode_READ(PyUnicode_1BYTE_KIND,
  ------------------
  |  |  354|    131|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|    131|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|    131|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|    131|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|    131|                   (index))
  ------------------
15026|    131|                                              data, it->it_index);
15027|    131|        it->it_index++;
15028|    131|        return (PyObject*)&_Py_SINGLETON(strings).ascii[chr];
  ------------------
  |  |   18|    131|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|    131|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
15029|    131|    }
15030|     29|    it->it_seq = NULL;
15031|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15032|       |    return NULL;
15033|    160|}
unicodeobject.c:unicode_iter:
15145|     31|{
15146|     31|    unicodeiterobject *it;
15147|       |
15148|     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 (15148:9): [True: 0, False: 31]
  ------------------
15149|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
15150|      0|        return NULL;
15151|      0|    }
15152|     31|    if (PyUnicode_IS_COMPACT_ASCII(seq)) {
  ------------------
  |  |  241|     31|#define PyUnicode_IS_COMPACT_ASCII(op) PyUnicode_IS_COMPACT_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     31|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     31|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (241:40): [True: 31, False: 0]
  |  |  ------------------
  ------------------
15153|     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))
  |  |  ------------------
  ------------------
15154|     31|    }
15155|      0|    else {
15156|      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))
  |  |  ------------------
  ------------------
15157|      0|    }
15158|     31|    if (it == NULL)
  ------------------
  |  Branch (15158:9): [True: 0, False: 31]
  ------------------
15159|      0|        return NULL;
15160|     31|    it->it_index = 0;
15161|     31|    it->it_seq = Py_NewRef(seq);
  ------------------
  |  |  550|     31|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     31|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     31|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15162|     31|    _PyObject_GC_TRACK(it);
  ------------------
  |  |  505|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15163|     31|    return (PyObject *)it;
15164|     31|}
unicodeobject.c:init_fs_encoding:
15306|      2|{
15307|      2|    PyInterpreterState *interp = tstate->interp;
15308|       |
15309|       |    /* Update the filesystem encoding to the normalized Python codec name.
15310|       |       For example, replace "ANSI_X3.4-1968" (locale encoding) with "ascii"
15311|       |       (Python codec name). */
15312|      2|    PyConfig *config = (PyConfig*)_PyInterpreterState_GetConfig(interp);
15313|      2|    if (config_get_codec_name(&config->filesystem_encoding) < 0) {
  ------------------
  |  Branch (15313:9): [True: 0, False: 2]
  ------------------
15314|      0|        _Py_DumpPathConfig(tstate);
15315|      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)}
  ------------------
15316|      0|                             "of the filesystem encoding");
15317|      0|    }
15318|       |
15319|      2|    if (init_fs_codec(interp) < 0) {
  ------------------
  |  Branch (15319:9): [True: 0, False: 2]
  ------------------
15320|      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)}
  ------------------
15321|      0|    }
15322|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
15323|      2|}
unicodeobject.c:config_get_codec_name:
15185|      4|{
15186|      4|    char *encoding;
15187|      4|    if (encode_wstr_utf8(*config_encoding, &encoding, "stdio_encoding") < 0) {
  ------------------
  |  Branch (15187:9): [True: 0, False: 4]
  ------------------
15188|      0|        return -1;
15189|      0|    }
15190|       |
15191|      4|    PyObject *name_obj = NULL;
15192|      4|    PyObject *codec = _PyCodec_Lookup(encoding);
15193|      4|    PyMem_RawFree(encoding);
15194|       |
15195|      4|    if (!codec)
  ------------------
  |  Branch (15195:9): [True: 0, False: 4]
  ------------------
15196|      0|        goto error;
15197|       |
15198|      4|    name_obj = PyObject_GetAttrString(codec, "name");
15199|      4|    Py_CLEAR(codec);
  ------------------
  |  |  484|      4|    do { \
  |  |  485|      4|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      4|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      4|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 4, False: 0]
  |  |  ------------------
  |  |  488|      4|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      4|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      4|        } \
  |  |  491|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
15200|      4|    if (!name_obj) {
  ------------------
  |  Branch (15200:9): [True: 0, False: 4]
  ------------------
15201|      0|        goto error;
15202|      0|    }
15203|       |
15204|      4|    wchar_t *wname = PyUnicode_AsWideCharString(name_obj, NULL);
15205|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15206|      4|    if (wname == NULL) {
  ------------------
  |  Branch (15206:9): [True: 0, False: 4]
  ------------------
15207|      0|        goto error;
15208|      0|    }
15209|       |
15210|      4|    wchar_t *raw_wname = _PyMem_RawWcsdup(wname);
15211|      4|    if (raw_wname == NULL) {
  ------------------
  |  Branch (15211:9): [True: 0, False: 4]
  ------------------
15212|      0|        PyMem_Free(wname);
15213|      0|        PyErr_NoMemory();
15214|      0|        goto error;
15215|      0|    }
15216|       |
15217|      4|    PyMem_RawFree(*config_encoding);
15218|      4|    *config_encoding = raw_wname;
15219|       |
15220|      4|    PyMem_Free(wname);
15221|      4|    return 0;
15222|       |
15223|      0|error:
15224|      0|    Py_XDECREF(codec);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15225|      0|    Py_XDECREF(name_obj);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15226|      0|    return -1;
15227|      4|}
unicodeobject.c:encode_wstr_utf8:
15168|      8|{
15169|      8|    int res;
15170|      8|    res = _Py_EncodeUTF8Ex(wstr, str, NULL, NULL, 1, _Py_ERROR_STRICT);
15171|      8|    if (res == -2) {
  ------------------
  |  Branch (15171:9): [True: 0, False: 8]
  ------------------
15172|      0|        PyErr_Format(PyExc_RuntimeError, "cannot encode %s", name);
15173|      0|        return -1;
15174|      0|    }
15175|      8|    if (res < 0) {
  ------------------
  |  Branch (15175:9): [True: 0, False: 8]
  ------------------
15176|      0|        PyErr_NoMemory();
15177|      0|        return -1;
15178|      0|    }
15179|      8|    return 0;
15180|      8|}
unicodeobject.c:init_fs_codec:
15249|      2|{
15250|      2|    const PyConfig *config = _PyInterpreterState_GetConfig(interp);
15251|       |
15252|      2|    _Py_error_handler error_handler;
15253|      2|    error_handler = get_error_handler_wide(config->filesystem_errors);
15254|      2|    if (error_handler == _Py_ERROR_UNKNOWN) {
  ------------------
  |  Branch (15254:9): [True: 0, False: 2]
  ------------------
15255|      0|        PyErr_SetString(PyExc_RuntimeError, "unknown filesystem error handler");
15256|      0|        return -1;
15257|      0|    }
15258|       |
15259|      2|    char *encoding, *errors;
15260|      2|    if (encode_wstr_utf8(config->filesystem_encoding,
  ------------------
  |  Branch (15260:9): [True: 0, False: 2]
  ------------------
15261|      2|                         &encoding,
15262|      2|                         "filesystem_encoding") < 0) {
15263|      0|        return -1;
15264|      0|    }
15265|       |
15266|      2|    if (encode_wstr_utf8(config->filesystem_errors,
  ------------------
  |  Branch (15266:9): [True: 0, False: 2]
  ------------------
15267|      2|                         &errors,
15268|      2|                         "filesystem_errors") < 0) {
15269|      0|        PyMem_RawFree(encoding);
15270|      0|        return -1;
15271|      0|    }
15272|       |
15273|      2|    struct _Py_unicode_fs_codec *fs_codec = &interp->unicode.fs_codec;
15274|      2|    PyMem_RawFree(fs_codec->encoding);
15275|      2|    fs_codec->encoding = encoding;
15276|       |    /* encoding has been normalized by init_fs_encoding() */
15277|      2|    fs_codec->utf8 = (strcmp(encoding, "utf-8") == 0);
15278|      2|    PyMem_RawFree(fs_codec->errors);
15279|      2|    fs_codec->errors = errors;
15280|      2|    fs_codec->error_handler = error_handler;
15281|       |
15282|       |#ifdef _Py_FORCE_UTF8_FS_ENCODING
15283|       |    assert(fs_codec->utf8 == 1);
15284|       |#endif
15285|       |
15286|       |    /* At this point, PyUnicode_EncodeFSDefault() and
15287|       |       PyUnicode_DecodeFSDefault() can now use the Python codec rather than
15288|       |       the C implementation of the filesystem encoding. */
15289|       |
15290|       |    /* Set Py_FileSystemDefaultEncoding and Py_FileSystemDefaultEncodeErrors
15291|       |       global configuration variables. */
15292|      2|    if (_Py_IsMainInterpreter(interp)) {
  ------------------
  |  Branch (15292:9): [True: 2, False: 0]
  ------------------
15293|       |
15294|      2|        if (_Py_SetFileSystemEncoding(fs_codec->encoding,
  ------------------
  |  Branch (15294:13): [True: 0, False: 2]
  ------------------
15295|      2|                                      fs_codec->errors) < 0) {
15296|      0|            PyErr_NoMemory();
15297|      0|            return -1;
15298|      0|        }
15299|      2|    }
15300|      2|    return 0;
15301|      2|}
unicodeobject.c:init_stdio_encoding:
15232|      2|{
15233|       |    /* Update the stdio encoding to the normalized Python codec name. */
15234|      2|    PyConfig *config = (PyConfig*)_PyInterpreterState_GetConfig(interp);
15235|      2|    if (config->stdio_encoding == NULL) {
  ------------------
  |  Branch (15235:9): [True: 0, False: 2]
  ------------------
15236|       |        /* gh-86427: The encoding is determined for every stream. */
15237|      0|        return _PyStatus_OK();
  ------------------
  |  |   24|      0|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
15238|      0|    }
15239|      2|    if (config_get_codec_name(&config->stdio_encoding) < 0) {
  ------------------
  |  Branch (15239:9): [True: 0, False: 2]
  ------------------
15240|      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)}
  ------------------
15241|      0|                             "of the stdio encoding");
15242|      0|    }
15243|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
15244|      2|}

_Py_union_type_or:
  259|     45|{
  260|     45|    if (!is_unionable(self) || !is_unionable(other)) {
  ------------------
  |  Branch (260:9): [True: 0, False: 45]
  |  Branch (260:32): [True: 0, False: 45]
  ------------------
  261|      0|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
  262|      0|    }
  263|       |
  264|     45|    unionbuilder ub;
  265|       |    // unchecked because we already checked is_unionable()
  266|     45|    if (!unionbuilder_init(&ub, false)) {
  ------------------
  |  Branch (266:9): [True: 0, False: 45]
  ------------------
  267|      0|        return NULL;
  268|      0|    }
  269|     45|    if (!unionbuilder_add_single(&ub, self) ||
  ------------------
  |  Branch (269:9): [True: 0, False: 45]
  ------------------
  270|     45|        !unionbuilder_add_single(&ub, other)) {
  ------------------
  |  Branch (270:9): [True: 0, False: 45]
  ------------------
  271|      0|        unionbuilder_finalize(&ub);
  272|      0|        return NULL;
  273|      0|    }
  274|       |
  275|     45|    PyObject *new_union = make_union(&ub);
  276|     45|    return new_union;
  277|     45|}
unionobject.c:is_unionable:
  245|     90|{
  246|     90|    if (obj == Py_None ||
  ------------------
  |  |  616|    180|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (246:9): [True: 44, False: 46]
  ------------------
  247|     46|        PyType_Check(obj) ||
  ------------------
  |  |  766|    136|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     46|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     46|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 46, False: 0]
  |  |  ------------------
  ------------------
  248|     90|        PySentinel_Check(obj) ||
  ------------------
  |  |   15|     90|#define PySentinel_Check(op) PySentinel_CheckExact(op)
  |  |  ------------------
  |  |  |  |   12|      0|#define PySentinel_CheckExact(op) Py_IS_TYPE((op), &PySentinel_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|     90|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  249|     90|        _PyGenericAlias_Check(obj) ||
  ------------------
  |  |   17|      0|#define _PyGenericAlias_Check(op) PyObject_TypeCheck((op), &Py_GenericAliasType)
  |  |  ------------------
  |  |  |  |  378|     90|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     90|        _PyUnion_Check(obj) ||
  ------------------
  |  |   15|      0|#define _PyUnion_Check(op) Py_IS_TYPE((op), &_PyUnion_Type)
  |  |  ------------------
  |  |  |  |  215|     90|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  251|     90|        Py_IS_TYPE(obj, &_PyTypeAlias_Type)) {
  ------------------
  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  252|     90|        return 1;
  253|     90|    }
  254|      0|    return 0;
  255|     90|}
unionobject.c:unionbuilder_init:
  144|     45|{
  145|     45|    ub->args = PyList_New(0);
  146|     45|    if (ub->args == NULL) {
  ------------------
  |  Branch (146:9): [True: 0, False: 45]
  ------------------
  147|      0|        return false;
  148|      0|    }
  149|     45|    ub->hashable_args = PySet_New(NULL);
  150|     45|    if (ub->hashable_args == NULL) {
  ------------------
  |  Branch (150:9): [True: 0, False: 45]
  ------------------
  151|      0|        Py_DECREF(ub->args);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  152|      0|        return false;
  153|      0|    }
  154|     45|    ub->unhashable_args = NULL;
  155|     45|    ub->is_checked = is_checked;
  156|       |    return true;
  157|     45|}
unionobject.c:unionbuilder_add_single:
  209|     90|{
  210|     90|    if (Py_IsNone(arg)) {
  ------------------
  |  |  621|     90|#define Py_IsNone(x) Py_Is((x), Py_None)
  |  |  ------------------
  |  |  |  |  187|     90|#define Py_Is(x, y) ((x) == (y))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (187:21): [True: 44, False: 46]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  211|     44|        arg = (PyObject *)&_PyNone_Type;  // immortal, so no refcounting needed
  212|     44|    }
  213|     46|    else if (_PyUnion_Check(arg)) {
  ------------------
  |  |   15|     46|#define _PyUnion_Check(op) Py_IS_TYPE((op), &_PyUnion_Type)
  |  |  ------------------
  |  |  |  |  215|     46|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     46|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     46|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 46]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  214|      0|        PyObject *args = ((unionobject *)arg)->args;
  215|      0|        return unionbuilder_add_tuple(ub, args);
  216|      0|    }
  217|     90|    if (ub->is_checked) {
  ------------------
  |  Branch (217:9): [True: 0, False: 90]
  ------------------
  218|      0|        PyObject *type = type_check(arg, "Union[arg, ...]: each arg must be a type.");
  219|      0|        if (type == NULL) {
  ------------------
  |  Branch (219:13): [True: 0, False: 0]
  ------------------
  220|      0|            return false;
  221|      0|        }
  222|      0|        bool result = unionbuilder_add_single_unchecked(ub, type);
  223|      0|        Py_DECREF(type);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  224|      0|        return result;
  225|      0|    }
  226|     90|    else {
  227|     90|        return unionbuilder_add_single_unchecked(ub, arg);
  228|     90|    }
  229|     90|}
unionobject.c:unionbuilder_add_single_unchecked:
  169|     90|{
  170|     90|    Py_hash_t hash = PyObject_Hash(arg);
  171|     90|    if (hash == -1) {
  ------------------
  |  Branch (171:9): [True: 0, False: 90]
  ------------------
  172|      0|        PyErr_Clear();
  173|      0|        if (ub->unhashable_args == NULL) {
  ------------------
  |  Branch (173:13): [True: 0, False: 0]
  ------------------
  174|      0|            ub->unhashable_args = PyList_New(0);
  175|      0|            if (ub->unhashable_args == NULL) {
  ------------------
  |  Branch (175:17): [True: 0, False: 0]
  ------------------
  176|      0|                return false;
  177|      0|            }
  178|      0|        }
  179|      0|        else {
  180|      0|            int contains = PySequence_Contains(ub->unhashable_args, arg);
  181|      0|            if (contains < 0) {
  ------------------
  |  Branch (181:17): [True: 0, False: 0]
  ------------------
  182|      0|                return false;
  183|      0|            }
  184|      0|            if (contains == 1) {
  ------------------
  |  Branch (184:17): [True: 0, False: 0]
  ------------------
  185|      0|                return true;
  186|      0|            }
  187|      0|        }
  188|      0|        if (PyList_Append(ub->unhashable_args, arg) < 0) {
  ------------------
  |  Branch (188:13): [True: 0, False: 0]
  ------------------
  189|      0|            return false;
  190|      0|        }
  191|      0|    }
  192|     90|    else {
  193|     90|        int contains = PySet_Contains(ub->hashable_args, arg);
  194|     90|        if (contains < 0) {
  ------------------
  |  Branch (194:13): [True: 0, False: 90]
  ------------------
  195|      0|            return false;
  196|      0|        }
  197|     90|        if (contains == 1) {
  ------------------
  |  Branch (197:13): [True: 0, False: 90]
  ------------------
  198|      0|            return true;
  199|      0|        }
  200|     90|        if (PySet_Add(ub->hashable_args, arg) < 0) {
  ------------------
  |  Branch (200:13): [True: 0, False: 90]
  ------------------
  201|      0|            return false;
  202|      0|        }
  203|     90|    }
  204|     90|    return PyList_Append(ub->args, arg) == 0;
  205|     90|}
unionobject.c:unionbuilder_finalize:
  161|     45|{
  162|     45|    Py_DECREF(ub->args);
  ------------------
  |  |  430|     45|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     45|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     45|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  163|     45|    Py_DECREF(ub->hashable_args);
  ------------------
  |  |  430|     45|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     45|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     45|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  164|     45|    Py_XDECREF(ub->unhashable_args);
  ------------------
  |  |  524|     45|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     45|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     45|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  165|     45|}
unionobject.c:unionobject_dealloc:
   21|      1|{
   22|      1|    unionobject *alias = (unionobject *)self;
   23|       |
   24|      1|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  507|      1|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   25|      1|    FT_CLEAR_WEAKREFS(self, alias->weakreflist);
  ------------------
  |  |   47|      1|    do {                                            \
  |  |   48|      1|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|      1|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 1]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
  |  Branch (25:5): [True: 1, False: 0]
  ------------------
   26|       |
   27|      1|    Py_XDECREF(alias->args);
  ------------------
  |  |  524|      1|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   28|      1|    Py_XDECREF(alias->hashable_args);
  ------------------
  |  |  524|      1|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   29|      1|    Py_XDECREF(alias->unhashable_args);
  ------------------
  |  |  524|      1|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   30|      1|    Py_XDECREF(alias->parameters);
  ------------------
  |  |  524|      1|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   31|      1|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|      1|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|      1|}
unionobject.c:union_traverse:
   36|     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);
  ------------------
  |  |  505|     45|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     45|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     45|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  594|     45|    return (PyObject*)result;
  595|      0|error:
  596|      0|    Py_XDECREF(args);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  597|      0|    Py_XDECREF(hashable_args);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  598|      0|    Py_XDECREF(unhashable_args);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  599|      0|    unionbuilder_finalize(ub);
  600|       |    return NULL;
  601|     45|}

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

_PyPegen_dummy_name:
   14|  2.37k|{
   15|  2.37k|    return &_PyRuntime.parser.dummy_name;
   16|  2.37k|}
_PyPegen_seq_insert_in_front:
   34|  2.99k|{
   35|  2.99k|    assert(a != NULL);
  ------------------
  |  Branch (35:5): [True: 2.99k, False: 0]
  ------------------
   36|  2.99k|    if (!seq) {
  ------------------
  |  Branch (36:9): [True: 0, False: 2.99k]
  ------------------
   37|      0|        return _PyPegen_singleton_seq(p, a);
   38|      0|    }
   39|       |
   40|  2.99k|    asdl_seq *new_seq = (asdl_seq*)_Py_asdl_generic_seq_new(asdl_seq_LEN(seq) + 1, p->arena);
  ------------------
  |  |   83|  2.99k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  302|  5.98k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 0, False: 2.99k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   41|  2.99k|    if (!new_seq) {
  ------------------
  |  Branch (41:9): [True: 0, False: 2.99k]
  ------------------
   42|      0|        return NULL;
   43|      0|    }
   44|       |
   45|  2.99k|    asdl_seq_SET_UNTYPED(new_seq, 0, a);
  ------------------
  |  |  106|  2.99k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  302|  2.99k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   46|  3.04k|    for (Py_ssize_t i = 1, l = asdl_seq_LEN(new_seq); i < l; i++) {
  ------------------
  |  |   83|  2.99k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  302|  5.98k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 0, False: 2.99k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (46:55): [True: 49, False: 2.99k]
  ------------------
   47|     49|        asdl_seq_SET_UNTYPED(new_seq, i, asdl_seq_GET_UNTYPED(seq, i - 1));
  ------------------
  |  |  106|     49|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  302|     49|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   48|     49|    }
   49|  2.99k|    return new_seq;
   50|  2.99k|}
_PyPegen_join_sequences:
  499|      2|{
  500|      2|    Py_ssize_t first_len = asdl_seq_LEN(a);
  ------------------
  |  |   83|      2|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  302|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  501|      2|    Py_ssize_t second_len = asdl_seq_LEN(b);
  ------------------
  |  |   83|      2|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  302|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  502|      2|    asdl_seq *new_seq = (asdl_seq*)_Py_asdl_generic_seq_new(first_len + second_len, p->arena);
  503|      2|    if (!new_seq) {
  ------------------
  |  Branch (503:9): [True: 0, False: 2]
  ------------------
  504|      0|        return NULL;
  505|      0|    }
  506|       |
  507|      2|    int k = 0;
  508|     13|    for (Py_ssize_t i = 0; i < first_len; i++) {
  ------------------
  |  Branch (508:28): [True: 11, False: 2]
  ------------------
  509|     11|        asdl_seq_SET_UNTYPED(new_seq, k++, asdl_seq_GET_UNTYPED(a, i));
  ------------------
  |  |  106|     11|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  302|     11|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  510|     11|    }
  511|      2|    for (Py_ssize_t i = 0; i < second_len; i++) {
  ------------------
  |  Branch (511:28): [True: 0, False: 2]
  ------------------
  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))
  |  |  ------------------
  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  513|      0|    }
  514|       |
  515|      2|    return new_seq;
  516|      2|}
_PyPegen_make_arguments:
  672|      2|{
  673|      2|    asdl_arg_seq *posonlyargs;
  674|      2|    if (_make_posonlyargs(p, slash_without_default, slash_with_default, &posonlyargs) == -1) {
  ------------------
  |  Branch (674:9): [True: 0, False: 2]
  ------------------
  675|      0|        return NULL;
  676|      0|    }
  677|       |
  678|      2|    asdl_arg_seq *posargs;
  679|      2|    if (_make_posargs(p, plain_names, names_with_default, &posargs) == -1) {
  ------------------
  |  Branch (679:9): [True: 0, False: 2]
  ------------------
  680|      0|        return NULL;
  681|      0|    }
  682|       |
  683|      2|    asdl_expr_seq *posdefaults;
  684|      2|    if (_make_posdefaults(p,slash_with_default, names_with_default, &posdefaults) == -1) {
  ------------------
  |  Branch (684:9): [True: 0, False: 2]
  ------------------
  685|      0|        return NULL;
  686|      0|    }
  687|       |
  688|      2|    arg_ty vararg = NULL;
  689|      2|    if (star_etc != NULL && star_etc->vararg != NULL) {
  ------------------
  |  Branch (689:9): [True: 0, False: 2]
  |  Branch (689:29): [True: 0, False: 0]
  ------------------
  690|      0|        vararg = star_etc->vararg;
  691|      0|    }
  692|       |
  693|      2|    asdl_arg_seq *kwonlyargs;
  694|      2|    asdl_expr_seq *kwdefaults;
  695|      2|    if (_make_kwargs(p, star_etc, &kwonlyargs, &kwdefaults) == -1) {
  ------------------
  |  Branch (695:9): [True: 0, False: 2]
  ------------------
  696|      0|        return NULL;
  697|      0|    }
  698|       |
  699|      2|    arg_ty kwarg = NULL;
  700|      2|    if (star_etc != NULL && star_etc->kwarg != NULL) {
  ------------------
  |  Branch (700:9): [True: 0, False: 2]
  |  Branch (700:29): [True: 0, False: 0]
  ------------------
  701|      0|        kwarg = star_etc->kwarg;
  702|      0|    }
  703|       |
  704|      2|    return _PyAST_arguments(posonlyargs, posargs, vararg, kwonlyargs,
  705|      2|                            kwdefaults, kwarg, posdefaults, p->arena);
  706|      2|}
_PyPegen_keyword_or_starred:
  796|    305|{
  797|    305|    KeywordOrStarred *a = _PyArena_Malloc(p->arena, sizeof(KeywordOrStarred));
  798|    305|    if (!a) {
  ------------------
  |  Branch (798:9): [True: 0, False: 305]
  ------------------
  799|      0|        return NULL;
  800|      0|    }
  801|    305|    a->element = element;
  802|    305|    a->is_keyword = is_keyword;
  803|    305|    return a;
  804|    305|}
_PyPegen_seq_extract_starred_exprs:
  823|     43|{
  824|     43|    int new_len = _seq_number_of_starred_exprs(kwargs);
  825|     43|    if (new_len == 0) {
  ------------------
  |  Branch (825:9): [True: 43, False: 0]
  ------------------
  826|     43|        return NULL;
  827|     43|    }
  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))
  |  |  ------------------
  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302: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)])
  |  |  ------------------
  |  |  |  |  302|      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))
  |  |  ------------------
  |  |  |  |  302|      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|     43|{
  847|     43|    Py_ssize_t len = asdl_seq_LEN(kwargs);
  ------------------
  |  |   83|     43|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  302|     86|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 0, False: 43]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  848|     43|    Py_ssize_t new_len = len - _seq_number_of_starred_exprs(kwargs);
  849|     43|    if (new_len == 0) {
  ------------------
  |  Branch (849:9): [True: 0, False: 43]
  ------------------
  850|      0|        return NULL;
  851|      0|    }
  852|     43|    asdl_keyword_seq *new_seq = _Py_asdl_keyword_seq_new(new_len, p->arena);
  853|     43|    if (!new_seq) {
  ------------------
  |  Branch (853:9): [True: 0, False: 43]
  ------------------
  854|      0|        return NULL;
  855|      0|    }
  856|       |
  857|     43|    int idx = 0;
  858|     86|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (858:28): [True: 43, False: 43]
  ------------------
  859|     43|        KeywordOrStarred *k = asdl_seq_GET_UNTYPED(kwargs, i);
  ------------------
  |  |   81|     43|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  302|     43|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  860|     43|        if (k->is_keyword) {
  ------------------
  |  Branch (860:13): [True: 43, False: 0]
  ------------------
  861|     43|            asdl_seq_SET(new_seq, idx++, k->element);
  ------------------
  |  |   94|     43|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  302|     43|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  862|     43|        }
  863|     43|    }
  864|     43|    return new_seq;
  865|     43|}
_PyPegen_check_legacy_stmt:
  965|     55|_PyPegen_check_legacy_stmt(Parser *p, expr_ty name) {
  966|     55|    if (name->kind != Name_kind) {
  ------------------
  |  Branch (966:9): [True: 0, False: 55]
  ------------------
  967|      0|        return 0;
  968|      0|    }
  969|     55|    const char* candidates[2] = {"print", "exec"};
  970|    165|    for (int i=0; i<2; i++) {
  ------------------
  |  Branch (970:19): [True: 110, False: 55]
  ------------------
  971|    110|        if (PyUnicode_CompareWithASCIIString(name->v.Name.id, candidates[i]) == 0) {
  ------------------
  |  Branch (971:13): [True: 0, False: 110]
  ------------------
  972|      0|            return 1;
  973|      0|        }
  974|    110|    }
  975|     55|    return 0;
  976|     55|}
_PyPegen_raise_error_for_missing_comma:
  980|      2|{
  981|       |    // Don't raise for legacy statements like "print x" or "exec x"
  982|      2|    if (_PyPegen_check_legacy_stmt(p, a)) {
  ------------------
  |  Branch (982:9): [True: 0, False: 2]
  ------------------
  983|      0|        return NULL;
  984|      0|    }
  985|       |    // Only raise inside parentheses/brackets (level > 0)
  986|      2|    if (p->tokens[p->mark - 1]->level == 0) {
  ------------------
  |  Branch (986:9): [True: 2, False: 0]
  ------------------
  987|      2|        return NULL;
  988|      2|    }
  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|      0|    if (a->end_lineno > a->lineno) {
  ------------------
  |  Branch (993:9): [True: 0, False: 0]
  ------------------
  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|      0|    return RAISE_ERROR_KNOWN_LOCATION(
 1001|      0|        p, PyExc_SyntaxError, a->lineno, a->col_offset,
 1002|      0|        b->end_lineno, b->end_col_offset,
 1003|      0|        "invalid syntax. Perhaps you forgot a comma?"
 1004|      0|    );
 1005|      0|}
_PyPegen_collect_call_seqs:
 1204|  2.33k|                     int end_col_offset, PyArena *arena) {
 1205|  2.33k|    Py_ssize_t args_len = asdl_seq_LEN(a);
  ------------------
  |  |   83|  2.33k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  302|  4.66k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 0, False: 2.33k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1206|  2.33k|    Py_ssize_t total_len = args_len;
 1207|       |
 1208|  2.33k|    if (b == NULL) {
  ------------------
  |  Branch (1208:9): [True: 2.33k, False: 0]
  ------------------
 1209|  2.33k|        return _PyAST_Call(_PyPegen_dummy_name(p), a, NULL, lineno, col_offset,
 1210|  2.33k|                        end_lineno, end_col_offset, arena);
 1211|       |
 1212|  2.33k|    }
 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))
  |  |  ------------------
  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302: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))
  |  |  ------------------
  |  |  |  |  302|      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))
  |  |  ------------------
  |  |  |  |  302|      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_constant_from_string:
 1539|  1.10k|expr_ty _PyPegen_constant_from_string(Parser* p, Token* tok) {
 1540|  1.10k|    const char* the_str = PyBytes_AsString(tok->bytes);
 1541|  1.10k|    if (the_str == NULL) {
  ------------------
  |  Branch (1541:9): [True: 0, False: 1.10k]
  ------------------
 1542|      0|        return NULL;
 1543|      0|    }
 1544|  1.10k|    PyObject *s = _PyPegen_parse_string(p, tok);
 1545|  1.10k|    if (s == NULL) {
  ------------------
  |  Branch (1545:9): [True: 5, False: 1.10k]
  ------------------
 1546|      5|        _Pypegen_raise_decode_error(p);
 1547|      5|        return NULL;
 1548|      5|    }
 1549|  1.10k|    if (_PyArena_AddPyObject(p->arena, s) < 0) {
  ------------------
  |  Branch (1549:9): [True: 0, False: 1.10k]
  ------------------
 1550|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1551|      0|        return NULL;
 1552|      0|    }
 1553|  1.10k|    PyObject *kind = NULL;
 1554|  1.10k|    if (the_str && the_str[0] == 'u') {
  ------------------
  |  Branch (1554:9): [True: 1.10k, False: 0]
  |  Branch (1554:20): [True: 0, False: 1.10k]
  ------------------
 1555|      0|        kind = _PyPegen_new_identifier(p, "u");
 1556|      0|        if (kind == NULL) {
  ------------------
  |  Branch (1556:13): [True: 0, False: 0]
  ------------------
 1557|      0|            return NULL;
 1558|      0|        }
 1559|      0|    }
 1560|  1.10k|    return _PyAST_Constant(s, kind, tok->lineno, tok->col_offset, tok->end_lineno, tok->end_col_offset, p->arena);
 1561|  1.10k|}
_PyPegen_concatenate_strings:
 2011|    732|{
 2012|    732|    Py_ssize_t len = asdl_seq_LEN(strings);
  ------------------
  |  |   83|    732|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  302|  1.46k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 0, False: 732]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2013|    732|    assert(len > 0);
  ------------------
  |  Branch (2013:5): [True: 732, False: 0]
  ------------------
 2014|       |
 2015|    732|    int f_string_found = 0;
 2016|    732|    int unicode_string_found = 0;
 2017|    732|    int bytes_found = 0;
 2018|       |
 2019|    732|    Py_ssize_t i = 0;
 2020|  1.47k|    for (i = 0; i < len; i++) {
  ------------------
  |  Branch (2020:17): [True: 745, False: 732]
  ------------------
 2021|    745|        expr_ty elem = asdl_seq_GET(strings, i);
  ------------------
  |  |   82|    745|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  302|    745|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2022|    745|        switch(elem->kind) {
 2023|    745|            case Constant_kind:
  ------------------
  |  Branch (2023:13): [True: 745, False: 0]
  ------------------
 2024|    745|                if (PyBytes_CheckExact(elem->v.Constant.value)) {
  ------------------
  |  |   29|    745|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_Type)
  |  |  ------------------
  |  |  |  |  215|    745|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    745|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    745|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 14, False: 731]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2025|     14|                    bytes_found = 1;
 2026|    731|                } else {
 2027|    731|                    unicode_string_found = 1;
 2028|    731|                }
 2029|    745|                break;
 2030|      0|            case JoinedStr_kind:
  ------------------
  |  Branch (2030:13): [True: 0, False: 745]
  ------------------
 2031|      0|                f_string_found = 1;
 2032|      0|                break;
 2033|      0|            case TemplateStr_kind:
  ------------------
  |  Branch (2033:13): [True: 0, False: 745]
  ------------------
 2034|       |                // python.gram handles this; we should never get here
 2035|      0|                assert(0);
  ------------------
  |  Branch (2035:17): [Folded, False: 0]
  ------------------
 2036|      0|                break;
 2037|      0|            default:
  ------------------
  |  Branch (2037:13): [True: 0, False: 745]
  ------------------
 2038|      0|                f_string_found = 1;
 2039|      0|                break;
 2040|    745|        }
 2041|    745|    }
 2042|       |
 2043|       |    // Cannot mix unicode and bytes
 2044|    732|    if ((unicode_string_found || f_string_found) && bytes_found) {
  ------------------
  |  Branch (2044:10): [True: 731, False: 1]
  |  Branch (2044:34): [True: 0, False: 1]
  |  Branch (2044:53): [True: 0, False: 731]
  ------------------
 2045|      0|        RAISE_SYNTAX_ERROR("cannot mix bytes and nonbytes literals");
  ------------------
  |  |  233|      0|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
 2046|      0|        return NULL;
 2047|      0|    }
 2048|       |
 2049|       |    // If it's only bytes or only unicode string, do a simple concat
 2050|    732|    if (!f_string_found) {
  ------------------
  |  Branch (2050:9): [True: 732, False: 0]
  ------------------
 2051|    732|        if (len == 1) {
  ------------------
  |  Branch (2051:13): [True: 731, False: 1]
  ------------------
 2052|    731|            return asdl_seq_GET(strings, 0);
  ------------------
  |  |   82|    731|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  302|    731|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2053|    731|        }
 2054|      1|        else if (bytes_found) {
  ------------------
  |  Branch (2054:18): [True: 1, False: 0]
  ------------------
 2055|      1|            return _build_concatenated_bytes(p, strings, lineno, col_offset,
 2056|      1|                end_lineno, end_col_offset, arena);
 2057|      1|        }
 2058|      0|        else {
 2059|      0|            return _build_concatenated_unicode(p, strings, lineno, col_offset,
 2060|      0|                end_lineno, end_col_offset, arena);
 2061|      0|        }
 2062|    732|    }
 2063|       |
 2064|      0|    return _build_concatenated_joined_str(p, strings, lineno,
 2065|      0|        col_offset, end_lineno, end_col_offset, arena);
 2066|    732|}
action_helpers.c:_make_posonlyargs:
  552|      2|                  asdl_arg_seq **posonlyargs) {
  553|      2|    if (slash_without_default != NULL) {
  ------------------
  |  Branch (553:9): [True: 0, False: 2]
  ------------------
  554|      0|        *posonlyargs = slash_without_default;
  555|      0|    }
  556|      2|    else if (slash_with_default != NULL) {
  ------------------
  |  Branch (556:14): [True: 0, False: 2]
  ------------------
  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|      2|    else {
  568|      2|        *posonlyargs = _Py_asdl_arg_seq_new(0, p->arena);
  569|      2|    }
  570|      2|    return *posonlyargs == NULL ? -1 : 0;
  ------------------
  |  Branch (570:12): [True: 0, False: 2]
  ------------------
  571|      2|}
action_helpers.c:_get_names:
  520|      2|{
  521|      2|    Py_ssize_t len = asdl_seq_LEN(names_with_defaults);
  ------------------
  |  |   83|      2|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  302|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  522|      2|    asdl_arg_seq *seq = _Py_asdl_arg_seq_new(len, p->arena);
  523|      2|    if (!seq) {
  ------------------
  |  Branch (523:9): [True: 0, False: 2]
  ------------------
  524|      0|        return NULL;
  525|      0|    }
  526|      2|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (526:28): [True: 0, False: 2]
  ------------------
  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)])
  |  |  ------------------
  |  |  |  |  302|      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))
  |  |  ------------------
  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  529|      0|    }
  530|      2|    return seq;
  531|      2|}
action_helpers.c:_make_posargs:
  577|      2|              asdl_arg_seq **posargs) {
  578|       |
  579|      2|    if (names_with_default != NULL) {
  ------------------
  |  Branch (579:9): [True: 2, False: 0]
  ------------------
  580|      2|        if (plain_names != NULL) {
  ------------------
  |  Branch (580:13): [True: 2, False: 0]
  ------------------
  581|      2|            asdl_arg_seq *names_with_default_names = _get_names(p, names_with_default);
  582|      2|            if (!names_with_default_names) {
  ------------------
  |  Branch (582:17): [True: 0, False: 2]
  ------------------
  583|      0|                return -1;
  584|      0|            }
  585|      2|            *posargs = (asdl_arg_seq*)_PyPegen_join_sequences(
  586|      2|                    p,(asdl_seq*)plain_names, (asdl_seq*)names_with_default_names);
  587|      2|        }
  588|      0|        else {
  589|      0|            *posargs = _get_names(p, names_with_default);
  590|      0|        }
  591|      2|    }
  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|      2|    return *posargs == NULL ? -1 : 0;
  ------------------
  |  Branch (603:12): [True: 0, False: 2]
  ------------------
  604|      2|}
action_helpers.c:_make_posdefaults:
  610|      2|                  asdl_expr_seq **posdefaults) {
  611|      2|    if (slash_with_default != NULL && names_with_default != NULL) {
  ------------------
  |  Branch (611:9): [True: 0, False: 2]
  |  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|      2|    else if (slash_with_default == NULL && names_with_default != NULL) {
  ------------------
  |  Branch (626:14): [True: 2, False: 0]
  |  Branch (626:44): [True: 2, False: 0]
  ------------------
  627|      2|        *posdefaults = _get_defaults(p, names_with_default);
  628|      2|    }
  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|      2|    return *posdefaults == NULL ? -1 : 0;
  ------------------
  |  Branch (635:12): [True: 0, False: 2]
  ------------------
  636|      2|}
action_helpers.c:_get_defaults:
  535|      2|{
  536|      2|    Py_ssize_t len = asdl_seq_LEN(names_with_defaults);
  ------------------
  |  |   83|      2|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  302|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|      2|    asdl_expr_seq *seq = _Py_asdl_expr_seq_new(len, p->arena);
  538|      2|    if (!seq) {
  ------------------
  |  Branch (538:9): [True: 0, False: 2]
  ------------------
  539|      0|        return NULL;
  540|      0|    }
  541|      2|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (541:28): [True: 0, False: 2]
  ------------------
  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)])
  |  |  ------------------
  |  |  |  |  302|      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))
  |  |  ------------------
  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  544|      0|    }
  545|      2|    return seq;
  546|      2|}
action_helpers.c:_make_kwargs:
  641|      2|             asdl_expr_seq **kwdefaults) {
  642|      2|    if (star_etc != NULL && star_etc->kwonlyargs != NULL) {
  ------------------
  |  Branch (642:9): [True: 0, False: 2]
  |  Branch (642:29): [True: 0, False: 0]
  ------------------
  643|      0|        *kwonlyargs = _get_names(p, star_etc->kwonlyargs);
  644|      0|    }
  645|      2|    else {
  646|      2|        *kwonlyargs = _Py_asdl_arg_seq_new(0, p->arena);
  647|      2|    }
  648|       |
  649|      2|    if (*kwonlyargs == NULL) {
  ------------------
  |  Branch (649:9): [True: 0, False: 2]
  ------------------
  650|      0|        return -1;
  651|      0|    }
  652|       |
  653|      2|    if (star_etc != NULL && star_etc->kwonlyargs != NULL) {
  ------------------
  |  Branch (653:9): [True: 0, False: 2]
  |  Branch (653:29): [True: 0, False: 0]
  ------------------
  654|      0|        *kwdefaults = _get_defaults(p, star_etc->kwonlyargs);
  655|      0|    }
  656|      2|    else {
  657|      2|        *kwdefaults = _Py_asdl_expr_seq_new(0, p->arena);
  658|      2|    }
  659|       |
  660|      2|    if (*kwdefaults == NULL) {
  ------------------
  |  Branch (660:9): [True: 0, False: 2]
  ------------------
  661|      0|        return -1;
  662|      0|    }
  663|       |
  664|      2|    return 0;
  665|      2|}
action_helpers.c:_seq_number_of_starred_exprs:
  809|     86|{
  810|     86|    int n = 0;
  811|    172|    for (Py_ssize_t i = 0, l = asdl_seq_LEN(seq); i < l; i++) {
  ------------------
  |  |   83|     86|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  302|    172|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 0, False: 86]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (811:51): [True: 86, False: 86]
  ------------------
  812|     86|        KeywordOrStarred *k = asdl_seq_GET_UNTYPED(seq, i);
  ------------------
  |  |   81|     86|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  302|     86|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  813|     86|        if (!k->is_keyword) {
  ------------------
  |  Branch (813:13): [True: 0, False: 86]
  ------------------
  814|      0|            n++;
  815|      0|        }
  816|     86|    }
  817|     86|    return n;
  818|     86|}
action_helpers.c:_build_concatenated_bytes:
 1729|      1|{
 1730|      1|    Py_ssize_t len = asdl_seq_LEN(strings);
  ------------------
  |  |   83|      1|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  302|      2|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1731|      1|    assert(len > 0);
  ------------------
  |  Branch (1731:5): [True: 1, False: 0]
  ------------------
 1732|       |
 1733|       |    /* Bytes literals never get a kind, but just for consistency
 1734|       |        since they are represented as Constant nodes, we'll mirror
 1735|       |        the same behavior as unicode strings for determining the
 1736|       |        kind. */
 1737|      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)])
  |  |  ------------------
  |  |  |  |  302|      1|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1738|       |
 1739|      1|    Py_ssize_t total = 0;
 1740|     15|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (1740:28): [True: 14, False: 1]
  ------------------
 1741|     14|        expr_ty elem = asdl_seq_GET(strings, i);
  ------------------
  |  |   82|     14|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  302|     14|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1742|     14|        PyObject *bytes = elem->v.Constant.value;
 1743|     14|        Py_ssize_t part = PyBytes_GET_SIZE(bytes);
  ------------------
  |  |   33|     14|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1744|     14|        if (part > PY_SSIZE_T_MAX - total) {
  ------------------
  |  |  137|     14|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1744:13): [True: 0, False: 14]
  ------------------
 1745|      0|            PyErr_NoMemory();
 1746|      0|            return NULL;
 1747|      0|        }
 1748|     14|        total += part;
 1749|     14|    }
 1750|       |
 1751|      1|    PyBytesWriter *writer = PyBytesWriter_Create(total);
 1752|      1|    if (writer == NULL) {
  ------------------
  |  Branch (1752:9): [True: 0, False: 1]
  ------------------
 1753|      0|        return NULL;
 1754|      0|    }
 1755|      1|    char *out = PyBytesWriter_GetData(writer);
 1756|       |
 1757|     15|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (1757:28): [True: 14, False: 1]
  ------------------
 1758|     14|        expr_ty elem = asdl_seq_GET(strings, i);
  ------------------
  |  |   82|     14|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  302|     14|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1759|     14|        PyObject *bytes = elem->v.Constant.value;
 1760|     14|        Py_ssize_t part = PyBytes_GET_SIZE(bytes);
  ------------------
  |  |   33|     14|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1761|     14|        if (part > 0) {
  ------------------
  |  Branch (1761:13): [True: 14, False: 0]
  ------------------
 1762|     14|            memcpy(out, PyBytes_AS_STRING(bytes), part);
  ------------------
  |  |   27|     14|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1763|     14|            out += part;
 1764|     14|        }
 1765|     14|    }
 1766|       |
 1767|      1|    PyObject *res = PyBytesWriter_Finish(writer);
 1768|      1|    if (res == NULL) {
  ------------------
  |  Branch (1768:9): [True: 0, False: 1]
  ------------------
 1769|      0|        return NULL;
 1770|      0|    }
 1771|      1|    if (_PyArena_AddPyObject(arena, res) < 0) {
  ------------------
  |  Branch (1771:9): [True: 0, False: 1]
  ------------------
 1772|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1773|      0|        return NULL;
 1774|      0|    }
 1775|      1|    return _PyAST_Constant(res, kind, lineno, col_offset, end_lineno, end_col_offset, p->arena);
 1776|      1|}

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

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

lexer.c:tok_nextc:
   37|  19.8M|{
   38|  19.8M|    while (tok->cur == tok->inp) {
  ------------------
  |  Branch (38:12): [True: 66, False: 19.8M]
  ------------------
   39|     66|        if (!_PyLexer_refill(tok)) {
  ------------------
  |  Branch (39:13): [True: 66, False: 0]
  ------------------
   40|     66|            return EOF;
   41|     66|        }
   42|     66|    }
   43|  19.8M|    assert(tok->cur >= tok->source.base_offset);
  ------------------
  |  Branch (43:5): [True: 19.8M, False: 0]
  ------------------
   44|  19.8M|    assert(tok->cur - tok->source.base_offset < tok->source.len);
  ------------------
  |  Branch (44:5): [True: 19.8M, False: 0]
  ------------------
   45|  19.8M|    if (tok->cur - tok->line_start >= INT_MAX) {
  ------------------
  |  Branch (45:9): [True: 0, False: 19.8M]
  ------------------
   46|      0|        tok->done = E_COLUMNOVERFLOW;
  ------------------
  |  |   40|      0|#define E_COLUMNOVERFLOW 29      /* Column offset overflow */
  ------------------
   47|      0|        return EOF;
   48|      0|    }
   49|  19.8M|    return Py_CHARMASK(
  ------------------
  |  |  163|  19.8M|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
   50|  19.8M|        tok->source.bytes[tok->cur++ - tok->source.base_offset]);
   51|  19.8M|}
lexer.c:tok_failed:
   28|  5.01k|{
   29|  5.01k|    return tok->done != E_OK && tok->done != E_EOF &&
  ------------------
  |  |   22|  10.0k|#define E_OK             10      /* No error */
  ------------------
                  return tok->done != E_OK && tok->done != E_EOF &&
  ------------------
  |  |   23|  5.08k|#define E_EOF            11      /* End Of File */
  ------------------
  |  Branch (29:12): [True: 78, False: 4.93k]
  |  Branch (29:33): [True: 19, False: 59]
  ------------------
   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|  5.01k|}
layout.c:tok_nextc:
   37|     40|{
   38|     79|    while (tok->cur == tok->inp) {
  ------------------
  |  Branch (38:12): [True: 39, False: 40]
  ------------------
   39|     39|        if (!_PyLexer_refill(tok)) {
  ------------------
  |  Branch (39:13): [True: 0, False: 39]
  ------------------
   40|      0|            return EOF;
   41|      0|        }
   42|     39|    }
   43|     40|    assert(tok->cur >= tok->source.base_offset);
  ------------------
  |  Branch (43:5): [True: 40, False: 0]
  ------------------
   44|     40|    assert(tok->cur - tok->source.base_offset < tok->source.len);
  ------------------
  |  Branch (44:5): [True: 40, False: 0]
  ------------------
   45|     40|    if (tok->cur - tok->line_start >= INT_MAX) {
  ------------------
  |  Branch (45:9): [True: 0, False: 40]
  ------------------
   46|      0|        tok->done = E_COLUMNOVERFLOW;
  ------------------
  |  |   40|      0|#define E_COLUMNOVERFLOW 29      /* Column offset overflow */
  ------------------
   47|      0|        return EOF;
   48|      0|    }
   49|     40|    return Py_CHARMASK(
  ------------------
  |  |  163|     40|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
   50|     40|        tok->source.bytes[tok->cur++ - tok->source.base_offset]);
   51|     40|}
number.c:tok_nextc:
   37|    202|{
   38|    202|    while (tok->cur == tok->inp) {
  ------------------
  |  Branch (38:12): [True: 0, False: 202]
  ------------------
   39|      0|        if (!_PyLexer_refill(tok)) {
  ------------------
  |  Branch (39:13): [True: 0, False: 0]
  ------------------
   40|      0|            return EOF;
   41|      0|        }
   42|      0|    }
   43|    202|    assert(tok->cur >= tok->source.base_offset);
  ------------------
  |  Branch (43:5): [True: 202, False: 0]
  ------------------
   44|    202|    assert(tok->cur - tok->source.base_offset < tok->source.len);
  ------------------
  |  Branch (44:5): [True: 202, False: 0]
  ------------------
   45|    202|    if (tok->cur - tok->line_start >= INT_MAX) {
  ------------------
  |  Branch (45:9): [True: 0, False: 202]
  ------------------
   46|      0|        tok->done = E_COLUMNOVERFLOW;
  ------------------
  |  |   40|      0|#define E_COLUMNOVERFLOW 29      /* Column offset overflow */
  ------------------
   47|      0|        return EOF;
   48|      0|    }
   49|    202|    return Py_CHARMASK(
  ------------------
  |  |  163|    202|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
   50|    202|        tok->source.bytes[tok->cur++ - tok->source.base_offset]);
   51|    202|}
string.c:tok_nextc:
   37|  15.2M|{
   38|  15.2M|    while (tok->cur == tok->inp) {
  ------------------
  |  Branch (38:12): [True: 7, False: 15.2M]
  ------------------
   39|      7|        if (!_PyLexer_refill(tok)) {
  ------------------
  |  Branch (39:13): [True: 7, False: 0]
  ------------------
   40|      7|            return EOF;
   41|      7|        }
   42|      7|    }
   43|  15.2M|    assert(tok->cur >= tok->source.base_offset);
  ------------------
  |  Branch (43:5): [True: 15.2M, False: 0]
  ------------------
   44|  15.2M|    assert(tok->cur - tok->source.base_offset < tok->source.len);
  ------------------
  |  Branch (44:5): [True: 15.2M, False: 0]
  ------------------
   45|  15.2M|    if (tok->cur - tok->line_start >= INT_MAX) {
  ------------------
  |  Branch (45:9): [True: 0, False: 15.2M]
  ------------------
   46|      0|        tok->done = E_COLUMNOVERFLOW;
  ------------------
  |  |   40|      0|#define E_COLUMNOVERFLOW 29      /* Column offset overflow */
  ------------------
   47|      0|        return EOF;
   48|      0|    }
   49|  15.2M|    return Py_CHARMASK(
  ------------------
  |  |  163|  15.2M|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
   50|  15.2M|        tok->source.bytes[tok->cur++ - tok->source.base_offset]);
   51|  15.2M|}

_PyLexer_scan_number:
  115|    170|{
  116|    170|    _PyTok_Off p_start = -1;
  117|    170|    _PyTok_Off p_end = -1;
  118|       |
  119|    170|    if (leading_dot) {
  ------------------
  |  Branch (119:9): [True: 0, False: 170]
  ------------------
  120|      0|        goto fraction;
  121|      0|    }
  122|    170|    if (c == '0') {
  ------------------
  |  Branch (122:9): [True: 108, False: 62]
  ------------------
  123|       |        /* Hex, octal or binary -- maybe. */
  124|    108|        c = tok_nextc(tok);
  125|    108|        if (c == 'x' || c == 'X') {
  ------------------
  |  Branch (125:13): [True: 0, False: 108]
  |  Branch (125:25): [True: 0, False: 108]
  ------------------
  126|       |            /* Hex */
  127|      0|            c = tok_nextc(tok);
  128|      0|            do {
  129|      0|                if (c == '_') {
  ------------------
  |  Branch (129:21): [True: 0, False: 0]
  ------------------
  130|      0|                    c = tok_nextc(tok);
  131|      0|                }
  132|      0|                if (!Py_ISXDIGIT(c)) {
  ------------------
  |  |   25|      0|#define Py_ISXDIGIT(c) (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_XDIGIT)
  |  |  ------------------
  |  |  |  |  163|      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 (132:21): [True: 0, False: 0]
  ------------------
  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|      0|                do {
  137|      0|                    c = tok_nextc(tok);
  138|      0|                } while (Py_ISXDIGIT(c));
  ------------------
  |  |   25|      0|#define Py_ISXDIGIT(c) (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_XDIGIT)
  |  |  ------------------
  |  |  |  |  163|      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]
  |  |  ------------------
  ------------------
  139|      0|            } while (c == '_');
  ------------------
  |  Branch (139:22): [True: 0, False: 0]
  ------------------
  140|      0|            if (!verify_end_of_number(tok, c, "hexadecimal")) {
  ------------------
  |  Branch (140:17): [True: 0, False: 0]
  ------------------
  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|      0|        }
  144|    108|        else if (c == 'o' || c == 'O') {
  ------------------
  |  Branch (144:18): [True: 0, False: 108]
  |  Branch (144:30): [True: 0, False: 108]
  ------------------
  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)
  |  |  ------------------
  |  |  |  |  163|      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)
  |  |  ------------------
  |  |  |  |  163|      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|    108|        else if (c == 'b' || c == 'B') {
  ------------------
  |  Branch (173:18): [True: 0, False: 108]
  |  Branch (173:30): [True: 0, False: 108]
  ------------------
  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)
  |  |  ------------------
  |  |  |  |  163|      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)
  |  |  ------------------
  |  |  |  |  163|      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|    108|        else {
  201|    108|            int nonzero = 0;
  202|       |            /* maybe old-style octal; c is first char of it */
  203|       |            /* in any case, allow '0' as a literal */
  204|    111|            while (1) {
  ------------------
  |  Branch (204:20): [True: 111, Folded]
  ------------------
  205|    111|                if (c == '_') {
  ------------------
  |  Branch (205:21): [True: 0, False: 111]
  ------------------
  206|      0|                    c = tok_nextc(tok);
  207|      0|                    if (!Py_ISDIGIT(c)) {
  ------------------
  |  |   24|      0|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  163|      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 (207:25): [True: 0, False: 0]
  ------------------
  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|      0|                }
  212|    111|                if (c != '0') {
  ------------------
  |  Branch (212:21): [True: 108, False: 3]
  ------------------
  213|    108|                    break;
  214|    108|                }
  215|      3|                c = tok_nextc(tok);
  216|      3|            }
  217|    108|            _PyTok_Off zeros_end = tok->cur;
  218|    108|            if (Py_ISDIGIT(c)) {
  ------------------
  |  |   24|    108|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  163|    108|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|    108|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 0, False: 108]
  |  |  ------------------
  ------------------
  219|      0|                nonzero = 1;
  220|      0|                c = tok_decimal_tail(tok);
  221|      0|                if (c == 0) {
  ------------------
  |  Branch (221:21): [True: 0, False: 0]
  ------------------
  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|      0|            }
  225|    108|            if (c == '.') {
  ------------------
  |  Branch (225:17): [True: 0, False: 108]
  ------------------
  226|      0|                c = tok_nextc(tok);
  227|      0|                goto fraction;
  228|      0|            }
  229|    108|            else if (c == 'e' || c == 'E') {
  ------------------
  |  Branch (229:22): [True: 0, False: 108]
  |  Branch (229:34): [True: 0, False: 108]
  ------------------
  230|      0|                goto exponent;
  231|      0|            }
  232|    108|            else if (c == 'j' || c == 'J') {
  ------------------
  |  Branch (232:22): [True: 0, False: 108]
  |  Branch (232:34): [True: 0, False: 108]
  ------------------
  233|      0|                goto imaginary;
  234|      0|            }
  235|    108|            else if (nonzero && !tok->tok_extra_tokens) {
  ------------------
  |  Branch (235:22): [True: 0, False: 108]
  |  Branch (235:33): [True: 0, False: 0]
  ------------------
  236|       |                /* Old-style octal: now disallowed. */
  237|      0|                tok_backup(tok, c);
  ------------------
  |  |   24|      0|#define tok_backup _PyLexer_backup
  ------------------
  238|      0|                return MAKE_TOKEN(_PyTokenizer_syntaxerror_known_range(
  ------------------
  |  |    7|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  239|      0|                        tok, (int)(tok->start + 1 - tok->line_start),
  240|      0|                        (int)(zeros_end - tok->line_start),
  241|      0|                        "leading zeros in decimal integer "
  242|      0|                        "literals are not permitted; "
  243|      0|                        "use an 0o prefix for octal integers"));
  244|      0|            }
  245|    108|            if (!verify_end_of_number(tok, c, "decimal")) {
  ------------------
  |  Branch (245:17): [True: 0, False: 108]
  ------------------
  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|    108|        }
  249|    108|    }
  250|     62|    else {
  251|       |        /* Decimal */
  252|     62|        c = tok_decimal_tail(tok);
  253|     62|        if (c == 0) {
  ------------------
  |  Branch (253:13): [True: 0, False: 62]
  ------------------
  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|     62|        {
  257|       |            /* Accept floating-point numbers. */
  258|     62|            if (c == '.') {
  ------------------
  |  Branch (258:17): [True: 0, False: 62]
  ------------------
  259|      0|                c = tok_nextc(tok);
  260|      0|    fraction:
  261|       |                /* Fraction */
  262|      0|                if (Py_ISDIGIT(c)) {
  ------------------
  |  |   24|      0|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  163|      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]
  |  |  ------------------
  ------------------
  263|      0|                    c = tok_decimal_tail(tok);
  264|      0|                    if (c == 0) {
  ------------------
  |  Branch (264:25): [True: 0, False: 0]
  ------------------
  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|      0|                }
  268|      0|            }
  269|     62|            if (c == 'e' || c == 'E') {
  ------------------
  |  Branch (269:17): [True: 0, False: 62]
  |  Branch (269:29): [True: 0, False: 62]
  ------------------
  270|      0|                int e;
  271|      0|              exponent:
  272|      0|                e = c;
  273|       |                /* Exponent part */
  274|      0|                c = tok_nextc(tok);
  275|      0|                if (c == '+' || c == '-') {
  ------------------
  |  Branch (275:21): [True: 0, False: 0]
  |  Branch (275:33): [True: 0, False: 0]
  ------------------
  276|      0|                    c = tok_nextc(tok);
  277|      0|                    if (!Py_ISDIGIT(c)) {
  ------------------
  |  |   24|      0|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  163|      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 (277:25): [True: 0, False: 0]
  ------------------
  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|      0|                } else if (!Py_ISDIGIT(c)) {
  ------------------
  |  |   24|      0|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  163|      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|      0|                c = tok_decimal_tail(tok);
  292|      0|                if (c == 0) {
  ------------------
  |  Branch (292:21): [True: 0, False: 0]
  ------------------
  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|      0|            }
  296|     62|            if (c == 'j' || c == 'J') {
  ------------------
  |  Branch (296:17): [True: 8, False: 54]
  |  Branch (296:29): [True: 0, False: 54]
  ------------------
  297|       |                /* Imaginary part */
  298|      8|    imaginary:
  299|      8|                c = tok_nextc(tok);
  300|      8|                if (!verify_end_of_number(tok, c, "imaginary")) {
  ------------------
  |  Branch (300:21): [True: 0, False: 8]
  ------------------
  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|      8|            }
  304|     54|            else if (!verify_end_of_number(tok, c, "decimal")) {
  ------------------
  |  Branch (304:22): [True: 0, False: 54]
  ------------------
  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|     62|        }
  308|     62|    }
  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|    170|}
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: 0, False: 170]
  ------------------
   57|      0|        r = lookahead(tok, "or");
   58|      0|    }
   59|    170|    else if (c == 'i') {
  ------------------
  |  Branch (59:14): [True: 0, False: 170]
  ------------------
   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|    170|    else if (c == 'o') {
  ------------------
  |  Branch (66:14): [True: 0, False: 170]
  ------------------
   67|      0|        r = lookahead(tok, "r");
   68|      0|    }
   69|    170|    else if (c == 'n') {
  ------------------
  |  Branch (69:14): [True: 0, False: 170]
  ------------------
   70|      0|        r = lookahead(tok, "ot");
   71|      0|    }
   72|    170|    if (r) {
  ------------------
  |  Branch (72:9): [True: 0, False: 170]
  ------------------
   73|      0|        tok_backup(tok, c);
  ------------------
  |  |   24|      0|#define tok_backup _PyLexer_backup
  ------------------
   74|      0|        if (_PyTokenizer_parser_warn(tok, PyExc_SyntaxWarning,
  ------------------
  |  Branch (74:13): [True: 0, False: 0]
  ------------------
   75|      0|                "invalid %s literal", kind))
   76|      0|        {
   77|      0|            return 0;
   78|      0|        }
   79|      0|        tok_nextc(tok);
   80|      0|    }
   81|    170|    else /* In future releases, only error will remain. */
   82|    170|    if (c < 128 && is_potential_identifier_char(c)) {
  ------------------
  |  |   13|    170|#define is_potential_identifier_char(c) (\
  |  |   14|    170|              (c >= 'a' && c <= 'z')\
  |  |  ------------------
  |  |  |  Branch (14:16): [True: 2, False: 168]
  |  |  |  Branch (14:28): [True: 0, False: 2]
  |  |  ------------------
  |  |   15|    170|               || (c >= 'A' && c <= 'Z')\
  |  |  ------------------
  |  |  |  Branch (15:20): [True: 2, False: 168]
  |  |  |  Branch (15:32): [True: 0, False: 2]
  |  |  ------------------
  |  |   16|    170|               || (c >= '0' && c <= '9')\
  |  |  ------------------
  |  |  |  Branch (16:20): [True: 2, False: 168]
  |  |  |  Branch (16:32): [True: 0, False: 2]
  |  |  ------------------
  |  |   17|    170|               || c == '_'\
  |  |  ------------------
  |  |  |  Branch (17:19): [True: 0, False: 170]
  |  |  ------------------
  |  |   18|    170|               || (c >= 128))
  |  |  ------------------
  |  |  |  Branch (18:19): [True: 0, False: 170]
  |  |  ------------------
  ------------------
  |  Branch (82:9): [True: 170, 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:tok_decimal_tail:
   92|     62|{
   93|     62|    int c;
   94|       |
   95|     62|    while (1) {
  ------------------
  |  Branch (95:12): [True: 62, Folded]
  ------------------
   96|     83|        do {
   97|     83|            c = tok_nextc(tok);
   98|     83|        } while (Py_ISDIGIT(c));
  ------------------
  |  |   24|     83|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  163|     83|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|     83|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 21, False: 62]
  |  |  ------------------
  ------------------
   99|     62|        if (c != '_') {
  ------------------
  |  Branch (99:13): [True: 62, False: 0]
  ------------------
  100|     62|            break;
  101|     62|        }
  102|      0|        c = tok_nextc(tok);
  103|      0|        if (!Py_ISDIGIT(c)) {
  ------------------
  |  |   24|      0|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  163|      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 (103:13): [True: 0, False: 0]
  ------------------
  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|      0|    }
  109|     62|    return c;
  110|     62|}

_PyTokenizer_Free:
   60|     39|{
   61|     39|    if (tok->encoding != NULL) {
  ------------------
  |  Branch (61:9): [True: 39, False: 0]
  ------------------
   62|     39|        PyMem_Free(tok->encoding);
   63|     39|    }
   64|     39|    Py_XDECREF(tok->filename);
  ------------------
  |  |  524|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   65|     39|    Py_XDECREF(tok->module);
  ------------------
  |  |  524|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   66|     39|    _PyTok_ReaderFree(tok);
   67|     39|    _PyTok_SourceClear(&tok->source);
   68|     39|    for (int i = 0; i < tok->ftstring_depth; i++) {
  ------------------
  |  Branch (68:21): [True: 0, False: 39]
  ------------------
   69|      0|        PyMem_Free(tok->ftstring_stack[i].comments);
   70|      0|    }
   71|     39|    if (tok->ftstring_stack != tok->ftstring_stack_inline) {
  ------------------
  |  Branch (71:9): [True: 0, False: 39]
  ------------------
   72|      0|        PyMem_Free(tok->ftstring_stack);
   73|      0|    }
   74|     39|    PyMem_Free(tok);
   75|     39|}
_PyToken_Init:
   78|  4.77k|_PyToken_Init(struct token *token) {
   79|  4.77k|    *token = (struct token){
   80|  4.77k|        .type = -1,
   81|  4.77k|        .span = {-1, -1},
   82|  4.77k|        .start_loc = {-1, -1},
   83|  4.77k|        .end_loc = {-1, -1},
   84|  4.77k|    };
   85|  4.77k|}
_PyLexer_token_setup:
   89|  4.99k|{
   90|  4.99k|    token->level = tok->level;
   91|  4.99k|    token->is_raw = 0;
   92|  4.99k|    assert((start == -1 && end == -1) || (start >= 0 && end >= start));
  ------------------
  |  Branch (92:5): [True: 41, False: 4.95k]
  |  Branch (92:5): [True: 41, False: 0]
  |  Branch (92:5): [True: 4.95k, False: 0]
  |  Branch (92:5): [True: 4.95k, False: 0]
  ------------------
   93|  4.99k|    token->span = (_PyTok_Span){start, end};
   94|  4.99k|    if (start >= 0) {
  ------------------
  |  Branch (94:9): [True: 4.95k, False: 41]
  ------------------
   95|  4.95k|        token->start_loc = tok->start_loc;
   96|  4.95k|        token->end_loc = (_PyTok_Loc){tok->lineno, _PyLexer_ByteColumn(tok)};
   97|  4.95k|    }
   98|     41|    else {
   99|     41|        token->start_loc = token->end_loc = (_PyTok_Loc){tok->lineno, -1};
  100|     41|    }
  101|  4.99k|    return type;
  102|  4.99k|}

reader.c:_PyLexer_CurrentFTString:
  116|     39|{
  117|     39|    assert(tok->ftstring_stack != NULL);
  ------------------
  |  Branch (117:5): [True: 39, False: 0]
  ------------------
  118|     39|    assert(tok->ftstring_depth >= 0 && tok->ftstring_depth <= tok->ftstring_capacity);
  ------------------
  |  Branch (118:5): [True: 39, False: 0]
  |  Branch (118:5): [True: 39, False: 0]
  ------------------
  119|     39|    if (tok->ftstring_depth == 0) {
  ------------------
  |  Branch (119:9): [True: 39, False: 0]
  ------------------
  120|     39|        return NULL;
  121|     39|    }
  122|      0|    return &tok->ftstring_stack[tok->ftstring_depth - 1];
  123|     39|}
reader.c:_PyLexer_BufferOffset:
  140|     39|{
  141|     39|    const char *base = _PyTok_SourceData(&tok->source);
  142|     39|    assert(position >= base && position <= base + tok->source.len);
  ------------------
  |  Branch (142:5): [True: 39, False: 0]
  |  Branch (142:5): [True: 39, False: 0]
  ------------------
  143|     39|    return tok->source.base_offset + (position - base);
  144|     39|}
reader.c:_PyLexer_BufferPointer:
  148|     39|{
  149|     39|    assert(offset >= tok->source.base_offset);
  ------------------
  |  Branch (149:5): [True: 39, False: 0]
  ------------------
  150|     39|    assert(offset - tok->source.base_offset <= tok->source.len);
  ------------------
  |  Branch (150:5): [True: 39, False: 0]
  ------------------
  151|     39|    return _PyTok_SourceData(&tok->source) + (offset - tok->source.base_offset);
  152|     39|}
helpers.c:_PyLexer_BufferPointer:
  148|      8|{
  149|      8|    assert(offset >= tok->source.base_offset);
  ------------------
  |  Branch (149:5): [True: 8, False: 0]
  ------------------
  150|      8|    assert(offset - tok->source.base_offset <= tok->source.len);
  ------------------
  |  Branch (150:5): [True: 8, False: 0]
  ------------------
  151|      8|    return _PyTok_SourceData(&tok->source) + (offset - tok->source.base_offset);
  152|      8|}
lexer.c:_PyLexer_BufferPointer:
  148|  10.0k|{
  149|  10.0k|    assert(offset >= tok->source.base_offset);
  ------------------
  |  Branch (149:5): [True: 10.0k, False: 0]
  ------------------
  150|  10.0k|    assert(offset - tok->source.base_offset <= tok->source.len);
  ------------------
  |  Branch (150:5): [True: 10.0k, False: 0]
  ------------------
  151|  10.0k|    return _PyTok_SourceData(&tok->source) + (offset - tok->source.base_offset);
  152|  10.0k|}
lexer.c:_PyLexer_ByteColumn:
  167|  9.98k|{
  168|  9.98k|    assert(tok->line_start >= 0);
  ------------------
  |  Branch (168:5): [True: 9.98k, False: 0]
  ------------------
  169|  9.98k|    assert(tok->cur >= tok->line_start);
  ------------------
  |  Branch (169:5): [True: 9.98k, False: 0]
  ------------------
  170|  9.98k|    Py_ssize_t column = tok->cur - tok->line_start;
  171|  9.98k|    assert(column <= INT_MAX);
  ------------------
  |  Branch (171:5): [True: 9.98k, False: 0]
  ------------------
  172|  9.98k|    return (int)column;
  173|  9.98k|}
lexer.c:_PyLexer_CurrentFTString:
  116|  4.99k|{
  117|  4.99k|    assert(tok->ftstring_stack != NULL);
  ------------------
  |  Branch (117:5): [True: 4.99k, False: 0]
  ------------------
  118|  4.99k|    assert(tok->ftstring_depth >= 0 && tok->ftstring_depth <= tok->ftstring_capacity);
  ------------------
  |  Branch (118:5): [True: 4.99k, False: 0]
  |  Branch (118:5): [True: 4.99k, False: 0]
  ------------------
  119|  4.99k|    if (tok->ftstring_depth == 0) {
  ------------------
  |  Branch (119:9): [True: 4.99k, False: 0]
  ------------------
  120|  4.99k|        return NULL;
  121|  4.99k|    }
  122|      0|    return &tok->ftstring_stack[tok->ftstring_depth - 1];
  123|  4.99k|}
state.c:_PyLexer_ByteColumn:
  167|  4.95k|{
  168|  4.95k|    assert(tok->line_start >= 0);
  ------------------
  |  Branch (168:5): [True: 4.95k, False: 0]
  ------------------
  169|  4.95k|    assert(tok->cur >= tok->line_start);
  ------------------
  |  Branch (169:5): [True: 4.95k, False: 0]
  ------------------
  170|  4.95k|    Py_ssize_t column = tok->cur - tok->line_start;
  171|  4.95k|    assert(column <= INT_MAX);
  ------------------
  |  Branch (171:5): [True: 4.95k, False: 0]
  ------------------
  172|  4.95k|    return (int)column;
  173|  4.95k|}
string.c:_PyLexer_CurrentFTString:
  116|      7|{
  117|      7|    assert(tok->ftstring_stack != NULL);
  ------------------
  |  Branch (117:5): [True: 7, False: 0]
  ------------------
  118|      7|    assert(tok->ftstring_depth >= 0 && tok->ftstring_depth <= tok->ftstring_capacity);
  ------------------
  |  Branch (118:5): [True: 7, False: 0]
  |  Branch (118:5): [True: 7, False: 0]
  ------------------
  119|      7|    if (tok->ftstring_depth == 0) {
  ------------------
  |  Branch (119:9): [True: 7, False: 0]
  ------------------
  120|      7|        return NULL;
  121|      7|    }
  122|      0|    return &tok->ftstring_stack[tok->ftstring_depth - 1];
  123|      7|}
string.c:_PyLexer_BufferPointer:
  148|      7|{
  149|      7|    assert(offset >= tok->source.base_offset);
  ------------------
  |  Branch (149:5): [True: 7, False: 0]
  ------------------
  150|      7|    assert(offset - tok->source.base_offset <= tok->source.len);
  ------------------
  |  Branch (150:5): [True: 7, False: 0]
  ------------------
  151|      7|    return _PyTok_SourceData(&tok->source) + (offset - tok->source.base_offset);
  152|      7|}
api.c:_PyLexer_BufferSpanView:
  157|  4.74k|{
  158|  4.74k|    assert(length != NULL);
  ------------------
  |  Branch (158:5): [True: 4.74k, False: 0]
  ------------------
  159|  4.74k|    assert(_PyTok_SpanIsValid(span));
  ------------------
  |  Branch (159:5): [True: 4.74k, False: 0]
  ------------------
  160|  4.74k|    *length = span.end - span.start;
  161|  4.74k|    (void)_PyLexer_BufferPointer(tok, span.end);
  162|  4.74k|    return _PyLexer_BufferPointer(tok, span.start);
  163|  4.74k|}
api.c:_PyLexer_BufferPointer:
  148|  9.49k|{
  149|  9.49k|    assert(offset >= tok->source.base_offset);
  ------------------
  |  Branch (149:5): [True: 9.49k, False: 0]
  ------------------
  150|  9.49k|    assert(offset - tok->source.base_offset <= tok->source.len);
  ------------------
  |  Branch (150:5): [True: 9.49k, False: 0]
  ------------------
  151|  9.49k|    return _PyTok_SourceData(&tok->source) + (offset - tok->source.base_offset);
  152|  9.49k|}

_PyLexer_check_string_prefixes:
  214|     15|                                             int saw_f, int saw_t) {
  215|       |    // Supported: rb, rf, rt (in any order)
  216|       |    // Unsupported: ub, ur, uf, ut, bf, bt, ft (in any order)
  217|       |
  218|     15|#define RETURN_SYNTAX_ERROR(PREFIX1, PREFIX2)                             \
  219|     15|    do {                                                                  \
  220|     15|        (void)_PyTokenizer_syntaxerror_known_range(                       \
  221|     15|            tok, (int)(tok->start + 1 - tok->line_start),                 \
  222|     15|            (int)(tok->cur - tok->line_start),                            \
  223|     15|            "'" PREFIX1 "' and '" PREFIX2 "' prefixes are incompatible"); \
  224|     15|        return -1;                                                        \
  225|     15|    } while (0)
  226|       |
  227|     15|    if (saw_u && saw_b) {
  ------------------
  |  Branch (227:9): [True: 0, False: 15]
  |  Branch (227:18): [True: 0, False: 0]
  ------------------
  228|      0|        RETURN_SYNTAX_ERROR("u", "b");
  ------------------
  |  |  219|      0|    do {                                                                  \
  |  |  220|      0|        (void)_PyTokenizer_syntaxerror_known_range(                       \
  |  |  221|      0|            tok, (int)(tok->start + 1 - tok->line_start),                 \
  |  |  222|      0|            (int)(tok->cur - tok->line_start),                            \
  |  |  223|      0|            "'" PREFIX1 "' and '" PREFIX2 "' prefixes are incompatible"); \
  |  |  224|      0|        return -1;                                                        \
  |  |  225|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (225:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  229|      0|    }
  230|     15|    if (saw_u && saw_r) {
  ------------------
  |  Branch (230:9): [True: 0, False: 15]
  |  Branch (230:18): [True: 0, False: 0]
  ------------------
  231|      0|        RETURN_SYNTAX_ERROR("u", "r");
  ------------------
  |  |  219|      0|    do {                                                                  \
  |  |  220|      0|        (void)_PyTokenizer_syntaxerror_known_range(                       \
  |  |  221|      0|            tok, (int)(tok->start + 1 - tok->line_start),                 \
  |  |  222|      0|            (int)(tok->cur - tok->line_start),                            \
  |  |  223|      0|            "'" PREFIX1 "' and '" PREFIX2 "' prefixes are incompatible"); \
  |  |  224|      0|        return -1;                                                        \
  |  |  225|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (225:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  232|      0|    }
  233|     15|    if (saw_u && saw_f) {
  ------------------
  |  Branch (233:9): [True: 0, False: 15]
  |  Branch (233:18): [True: 0, False: 0]
  ------------------
  234|      0|        RETURN_SYNTAX_ERROR("u", "f");
  ------------------
  |  |  219|      0|    do {                                                                  \
  |  |  220|      0|        (void)_PyTokenizer_syntaxerror_known_range(                       \
  |  |  221|      0|            tok, (int)(tok->start + 1 - tok->line_start),                 \
  |  |  222|      0|            (int)(tok->cur - tok->line_start),                            \
  |  |  223|      0|            "'" PREFIX1 "' and '" PREFIX2 "' prefixes are incompatible"); \
  |  |  224|      0|        return -1;                                                        \
  |  |  225|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (225:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  235|      0|    }
  236|     15|    if (saw_u && saw_t) {
  ------------------
  |  Branch (236:9): [True: 0, False: 15]
  |  Branch (236:18): [True: 0, False: 0]
  ------------------
  237|      0|        RETURN_SYNTAX_ERROR("u", "t");
  ------------------
  |  |  219|      0|    do {                                                                  \
  |  |  220|      0|        (void)_PyTokenizer_syntaxerror_known_range(                       \
  |  |  221|      0|            tok, (int)(tok->start + 1 - tok->line_start),                 \
  |  |  222|      0|            (int)(tok->cur - tok->line_start),                            \
  |  |  223|      0|            "'" PREFIX1 "' and '" PREFIX2 "' prefixes are incompatible"); \
  |  |  224|      0|        return -1;                                                        \
  |  |  225|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (225:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  238|      0|    }
  239|       |
  240|     15|    if (saw_b && saw_f) {
  ------------------
  |  Branch (240:9): [True: 15, False: 0]
  |  Branch (240:18): [True: 0, False: 15]
  ------------------
  241|      0|        RETURN_SYNTAX_ERROR("b", "f");
  ------------------
  |  |  219|      0|    do {                                                                  \
  |  |  220|      0|        (void)_PyTokenizer_syntaxerror_known_range(                       \
  |  |  221|      0|            tok, (int)(tok->start + 1 - tok->line_start),                 \
  |  |  222|      0|            (int)(tok->cur - tok->line_start),                            \
  |  |  223|      0|            "'" PREFIX1 "' and '" PREFIX2 "' prefixes are incompatible"); \
  |  |  224|      0|        return -1;                                                        \
  |  |  225|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (225:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  242|      0|    }
  243|     15|    if (saw_b && saw_t) {
  ------------------
  |  Branch (243:9): [True: 15, False: 0]
  |  Branch (243:18): [True: 0, False: 15]
  ------------------
  244|      0|        RETURN_SYNTAX_ERROR("b", "t");
  ------------------
  |  |  219|      0|    do {                                                                  \
  |  |  220|      0|        (void)_PyTokenizer_syntaxerror_known_range(                       \
  |  |  221|      0|            tok, (int)(tok->start + 1 - tok->line_start),                 \
  |  |  222|      0|            (int)(tok->cur - tok->line_start),                            \
  |  |  223|      0|            "'" PREFIX1 "' and '" PREFIX2 "' prefixes are incompatible"); \
  |  |  224|      0|        return -1;                                                        \
  |  |  225|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (225:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  245|      0|    }
  246|       |
  247|     15|    if (saw_f && saw_t) {
  ------------------
  |  Branch (247:9): [True: 0, False: 15]
  |  Branch (247:18): [True: 0, False: 0]
  ------------------
  248|      0|        RETURN_SYNTAX_ERROR("f", "t");
  ------------------
  |  |  219|      0|    do {                                                                  \
  |  |  220|      0|        (void)_PyTokenizer_syntaxerror_known_range(                       \
  |  |  221|      0|            tok, (int)(tok->start + 1 - tok->line_start),                 \
  |  |  222|      0|            (int)(tok->cur - tok->line_start),                            \
  |  |  223|      0|            "'" PREFIX1 "' and '" PREFIX2 "' prefixes are incompatible"); \
  |  |  224|      0|        return -1;                                                        \
  |  |  225|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (225:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  249|      0|    }
  250|       |
  251|     15|#undef RETURN_SYNTAX_ERROR
  252|       |
  253|     15|    return 0;
  254|     15|}
_PyLexer_scan_string:
  324|    470|{
  325|    470|    _PyTok_Off p_start = -1;
  326|    470|    _PyTok_Off p_end = -1;
  327|       |
  328|    470|    int quote = c;
  329|    470|    int quote_size = 1;             /* 1 or 3 */
  330|    470|    int end_quote_size = 0;
  331|    470|    int has_escaped_quote = 0;
  332|       |
  333|       |    /* Find the quote size and start of string */
  334|    470|    c = tok_nextc(tok);
  335|    470|    if (c == quote) {
  ------------------
  |  Branch (335:9): [True: 375, False: 95]
  ------------------
  336|    375|        c = tok_nextc(tok);
  337|    375|        if (c == quote) {
  ------------------
  |  Branch (337:13): [True: 0, False: 375]
  ------------------
  338|      0|            quote_size = 3;
  339|      0|        }
  340|    375|        else {
  341|    375|            end_quote_size = 1;     /* empty string found */
  342|    375|        }
  343|    375|    }
  344|    470|    if (c != quote) {
  ------------------
  |  Branch (344:9): [True: 470, False: 0]
  ------------------
  345|    470|        tok_backup(tok, c);
  ------------------
  |  |   24|    470|#define tok_backup _PyLexer_backup
  ------------------
  346|    470|    }
  347|       |
  348|       |    /* Get rest of string */
  349|  13.2M|    while (end_quote_size != quote_size) {
  ------------------
  |  Branch (349:12): [True: 13.2M, False: 463]
  ------------------
  350|  13.2M|        c = tok_nextc(tok);
  351|  13.2M|        if (tok->done == E_ERROR) {
  ------------------
  |  |   29|  13.2M|#define E_ERROR          17      /* Execution error */
  ------------------
  |  Branch (351:13): [True: 0, False: 13.2M]
  ------------------
  352|      0|            return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |    8|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  353|      0|        }
  354|  13.2M|        if (tok->done == E_DECODE) {
  ------------------
  |  |   34|  13.2M|#define E_DECODE         22      /* Error in decoding into Unicode */
  ------------------
  |  Branch (354:13): [True: 0, False: 13.2M]
  ------------------
  355|      0|            break;
  356|      0|        }
  357|  13.2M|        if (c == EOF || (quote_size == 1 && c == '\n')) {
  ------------------
  |  Branch (357:13): [True: 7, False: 13.2M]
  |  Branch (357:26): [True: 13.2M, False: 0]
  |  Branch (357:45): [True: 0, False: 13.2M]
  ------------------
  358|      7|            int end_lineno = tok->lineno;
  359|      7|            _PyTok_Loc location = tok->start_loc;
  360|      7|            const char *line = _PyLexer_BufferPointer(tok, tok->start) - location.byte_col;
  361|      7|            Py_ssize_t cursor_offset = (Py_ssize_t)location.byte_col + 1;
  362|       |
  363|      7|            const ftstring_state *state = _PyLexer_CurrentFTString(tok);
  364|      7|            if (state != NULL) {
  ------------------
  |  Branch (364:17): [True: 0, False: 7]
  ------------------
  365|       |                /* A matching quote may have been intended to close the
  366|       |                 * surrounding formatted string instead of opening a string
  367|       |                 * inside a replacement field. */
  368|      0|                if (state->quote == quote && state->quote_size == quote_size) {
  ------------------
  |  Branch (368:21): [True: 0, False: 0]
  |  Branch (368:46): [True: 0, False: 0]
  ------------------
  369|      0|                    int level = state->paren_level + state->replacement_depth - 1;
  370|      0|                    assert(level >= 0 && level < tok->level);
  ------------------
  |  Branch (370:21): [True: 0, False: 0]
  |  Branch (370:21): [True: 0, False: 0]
  ------------------
  371|      0|                    assert(tok->parenstack[level] == '{');
  ------------------
  |  Branch (371:21): [True: 0, False: 0]
  ------------------
  372|      0|                    int lineno = tok->parenlinenostack[level];
  373|      0|                    if (lineno != tok->lineno) {
  ------------------
  |  Branch (373:25): [True: 0, False: 0]
  ------------------
  374|      0|                        _PyTokenizer_syntaxerror_at(
  375|      0|                            tok, line, cursor_offset, location.lineno, -1, -1,
  376|      0|                            "%c-string: expecting '}' to close '{' on line %d",
  377|      0|                            _PyLexer_StringPrefix(state->kind), lineno);
  378|      0|                    }
  379|      0|                    else {
  380|      0|                        _PyTokenizer_syntaxerror_at(
  381|      0|                            tok, line, cursor_offset, location.lineno, -1, -1,
  382|      0|                            "%c-string: expecting '}'",
  383|      0|                            _PyLexer_StringPrefix(state->kind));
  384|      0|                    }
  385|      0|                    return string_error_token(tok, token, tok->start, location);
  386|      0|                }
  387|      0|            }
  388|       |
  389|      7|            if (quote_size == 3) {
  ------------------
  |  Branch (389:17): [True: 0, False: 7]
  ------------------
  390|      0|                _PyTokenizer_syntaxerror_at(
  391|      0|                    tok, line, cursor_offset, location.lineno, -1, -1,
  392|      0|                    "unterminated triple-quoted string literal"
  393|      0|                    " (detected at line %d)", end_lineno);
  394|      0|                if (c != '\n') {
  ------------------
  |  Branch (394:21): [True: 0, False: 0]
  ------------------
  395|      0|                    tok->done = E_EOFS;
  ------------------
  |  |   35|      0|#define E_EOFS           23      /* EOF in triple-quoted string */
  ------------------
  396|      0|                }
  397|      0|                return string_error_token(tok, token, tok->start, location);
  398|      0|            }
  399|      7|            else {
  400|      7|                if (has_escaped_quote) {
  ------------------
  |  Branch (400:21): [True: 0, False: 7]
  ------------------
  401|      0|                    _PyTokenizer_syntaxerror_at(
  402|      0|                        tok, line, cursor_offset, location.lineno, -1, -1,
  403|      0|                        "unterminated string literal (detected at line %d); "
  404|      0|                        "perhaps you escaped the end quote?",
  405|      0|                        end_lineno
  406|      0|                    );
  407|      7|                } else {
  408|      7|                    _PyTokenizer_syntaxerror_at(
  409|      7|                        tok, line, cursor_offset, location.lineno, -1, -1,
  410|      7|                        "unterminated string literal (detected at line %d)", end_lineno
  411|      7|                    );
  412|      7|                }
  413|      7|                if (c != '\n') {
  ------------------
  |  Branch (413:21): [True: 7, False: 0]
  ------------------
  414|      7|                    tok->done = E_EOLS;
  ------------------
  |  |   36|      7|#define E_EOLS           24      /* EOL in single-quoted string */
  ------------------
  415|      7|                }
  416|      7|                return string_error_token(tok, token, tok->start, location);
  417|      7|            }
  418|      7|        }
  419|  13.2M|        if (c == quote) {
  ------------------
  |  Branch (419:13): [True: 88, False: 13.2M]
  ------------------
  420|     88|            end_quote_size += 1;
  421|     88|        }
  422|  13.2M|        else {
  423|  13.2M|            end_quote_size = 0;
  424|  13.2M|            if (c == '\\') {
  ------------------
  |  Branch (424:17): [True: 1.96M, False: 11.2M]
  ------------------
  425|  1.96M|                c = tok_nextc(tok);  /* skip escaped char */
  426|  1.96M|                if (c == quote) {  /* but record whether the escaped char was a quote */
  ------------------
  |  Branch (426:21): [True: 26, False: 1.96M]
  ------------------
  427|     26|                    has_escaped_quote = 1;
  428|     26|                }
  429|  1.96M|                if (c == '\r') {
  ------------------
  |  Branch (429:21): [True: 0, False: 1.96M]
  ------------------
  430|      0|                    c = tok_nextc(tok);
  431|      0|                }
  432|  1.96M|            }
  433|  13.2M|        }
  434|  13.2M|    }
  435|       |
  436|    463|    p_start = tok->start;
  437|    463|    p_end = tok->cur;
  438|    463|    return MAKE_TOKEN(STRING);
  ------------------
  |  |    8|    463|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  439|    470|}
string.c:string_error_token:
   13|      7|{
   14|      7|    tok->diagnostic = (_PyTokenizer_Diagnostic){
   15|      7|        .location = {location.lineno, location.byte_col + 1},
   16|      7|        .text_span = _PyTok_SpanFromBounds(start - location.byte_col, tok->inp),
   17|      7|    };
   18|      7|    int type = _PyLexer_token_setup(tok, token, ERRORTOKEN, -1, -1);
  ------------------
  |  |   83|      7|#define ERRORTOKEN      67
  ------------------
   19|      7|    token->start_loc = location;
   20|      7|    token->end_loc = (_PyTok_Loc){location.lineno, -1};
   21|      7|    return type;
   22|      7|}

_PyPegen_parse:
38173|     60|{
38174|       |    // Initialize keywords
38175|     60|    p->keywords = reserved_keywords;
38176|     60|    p->n_keyword_lists = n_keyword_lists;
38177|     60|    p->soft_keywords = soft_keywords;
38178|       |
38179|       |    // Run parser
38180|     60|    void *result = NULL;
38181|     60|    if (p->start_rule == Py_file_input) {
  ------------------
  |  |    9|     60|#define Py_file_input 257
  ------------------
  |  Branch (38181:9): [True: 0, False: 60]
  ------------------
38182|      0|        result = file_rule(p);
38183|     60|    } else if (p->start_rule == Py_single_input) {
  ------------------
  |  |    8|     60|#define Py_single_input 256
  ------------------
  |  Branch (38183:16): [True: 0, False: 60]
  ------------------
38184|      0|        result = interactive_rule(p);
38185|     60|    } else if (p->start_rule == Py_eval_input) {
  ------------------
  |  |   10|     60|#define Py_eval_input 258
  ------------------
  |  Branch (38185:16): [True: 60, False: 0]
  ------------------
38186|     60|        result = eval_rule(p);
38187|     60|    } else if (p->start_rule == Py_func_type_input) {
  ------------------
  |  |   11|      0|#define Py_func_type_input 345
  ------------------
  |  Branch (38187:16): [True: 0, False: 0]
  ------------------
38188|      0|        result = func_type_rule(p);
38189|      0|    }
38190|       |
38191|     60|    return result;
38192|     60|}
parser.c:named_expression_rule:
12285|  1.46k|{
12286|  1.46k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  2.92k|#  define MAXSTACK 6000
  ------------------
  |  Branch (12286:9): [True: 0, False: 1.46k]
  |  Branch (12286:35): [True: 0, False: 1.46k]
  ------------------
12287|      0|        _Pypegen_stack_overflow(p);
12288|      0|    }
12289|  1.46k|    if (p->error_indicator) {
  ------------------
  |  Branch (12289:9): [True: 0, False: 1.46k]
  ------------------
12290|      0|        p->level--;
12291|      0|        return NULL;
12292|      0|    }
12293|  1.46k|    expr_ty _res = NULL;
12294|  1.46k|    int _mark = p->mark;
12295|  1.46k|    { // assignment_expression
12296|  1.46k|        if (p->error_indicator) {
  ------------------
  |  Branch (12296:13): [True: 0, False: 1.46k]
  ------------------
12297|      0|            p->level--;
12298|      0|            return NULL;
12299|      0|        }
12300|  1.46k|        D(fprintf(stderr, "%*c> named_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "assignment_expression"));
12301|  1.46k|        expr_ty assignment_expression_var;
12302|  1.46k|        if (
12303|  1.46k|            (assignment_expression_var = assignment_expression_rule(p))  // assignment_expression
  ------------------
  |  Branch (12303:13): [True: 0, False: 1.46k]
  ------------------
12304|  1.46k|        )
12305|      0|        {
12306|      0|            D(fprintf(stderr, "%*c+ named_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "assignment_expression"));
12307|      0|            _res = assignment_expression_var;
12308|      0|            goto done;
12309|      0|        }
12310|  1.46k|        p->mark = _mark;
12311|  1.46k|        D(fprintf(stderr, "%*c%s named_expression[%d-%d]: %s failed!\n", p->level, ' ',
12312|  1.46k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "assignment_expression"));
12313|  1.46k|    }
12314|  1.46k|    if (p->call_invalid_rules) { // invalid_named_expression
  ------------------
  |  Branch (12314:9): [True: 304, False: 1.15k]
  ------------------
12315|    304|        if (p->error_indicator) {
  ------------------
  |  Branch (12315:13): [True: 0, False: 304]
  ------------------
12316|      0|            p->level--;
12317|      0|            return NULL;
12318|      0|        }
12319|    304|        D(fprintf(stderr, "%*c> named_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_named_expression"));
12320|    304|        void *invalid_named_expression_var;
12321|    304|        if (
12322|    304|            (invalid_named_expression_var = invalid_named_expression_rule(p))  // invalid_named_expression
  ------------------
  |  Branch (12322:13): [True: 0, False: 304]
  ------------------
12323|    304|        )
12324|      0|        {
12325|      0|            D(fprintf(stderr, "%*c+ named_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_named_expression"));
12326|      0|            _res = invalid_named_expression_var;
12327|      0|            goto done;
12328|      0|        }
12329|    304|        p->mark = _mark;
12330|    304|        D(fprintf(stderr, "%*c%s named_expression[%d-%d]: %s failed!\n", p->level, ' ',
12331|    304|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_named_expression"));
12332|    304|    }
12333|  1.46k|    { // expression !':='
12334|  1.46k|        if (p->error_indicator) {
  ------------------
  |  Branch (12334:13): [True: 0, False: 1.46k]
  ------------------
12335|      0|            p->level--;
12336|      0|            return NULL;
12337|      0|        }
12338|  1.46k|        D(fprintf(stderr, "%*c> named_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression !':='"));
12339|  1.46k|        expr_ty expression_var;
12340|  1.46k|        if (
12341|  1.46k|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (12341:13): [True: 488, False: 974]
  ------------------
12342|    488|            &&
12343|    488|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 53)  // token=':='
  ------------------
  |  Branch (12343:13): [True: 488, False: 0]
  ------------------
12344|  1.46k|        )
12345|    488|        {
12346|    488|            D(fprintf(stderr, "%*c+ named_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression !':='"));
12347|    488|            _res = expression_var;
12348|    488|            goto done;
12349|    488|        }
12350|    974|        p->mark = _mark;
12351|    974|        D(fprintf(stderr, "%*c%s named_expression[%d-%d]: %s failed!\n", p->level, ' ',
12352|    974|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression !':='"));
12353|    974|    }
12354|    974|    _res = NULL;
12355|  1.46k|  done:
12356|  1.46k|    p->level--;
12357|  1.46k|    return _res;
12358|    974|}
parser.c:assignment_expression_rule:
12211|  5.77k|{
12212|  5.77k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  11.5k|#  define MAXSTACK 6000
  ------------------
  |  Branch (12212:9): [True: 0, False: 5.77k]
  |  Branch (12212:35): [True: 0, False: 5.77k]
  ------------------
12213|      0|        _Pypegen_stack_overflow(p);
12214|      0|    }
12215|  5.77k|    if (p->error_indicator) {
  ------------------
  |  Branch (12215:9): [True: 0, False: 5.77k]
  ------------------
12216|      0|        p->level--;
12217|      0|        return NULL;
12218|      0|    }
12219|  5.77k|    expr_ty _res = NULL;
12220|  5.77k|    int _mark = p->mark;
12221|  5.77k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (12221:9): [True: 1.18k, False: 4.58k]
  |  Branch (12221:31): [True: 0, False: 1.18k]
  ------------------
12222|      0|        p->error_indicator = 1;
12223|      0|        p->level--;
12224|      0|        return NULL;
12225|      0|    }
12226|  5.77k|    int _start_lineno = p->tokens[_mark]->lineno;
12227|  5.77k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|  5.77k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 5.77k]
  |  |  ------------------
  ------------------
12228|  5.77k|    int _start_col_offset = p->tokens[_mark]->col_offset;
12229|  5.77k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|  5.77k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 5.77k]
  |  |  ------------------
  ------------------
12230|  5.77k|    { // NAME ':=' ~ expression
12231|  5.77k|        if (p->error_indicator) {
  ------------------
  |  Branch (12231:13): [True: 0, False: 5.77k]
  ------------------
12232|      0|            p->level--;
12233|      0|            return NULL;
12234|      0|        }
12235|  5.77k|        D(fprintf(stderr, "%*c> assignment_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME ':=' ~ expression"));
12236|  5.77k|        int _cut_var = 0;
12237|  5.77k|        Token * _literal;
12238|  5.77k|        expr_ty a;
12239|  5.77k|        expr_ty b;
12240|  5.77k|        if (
12241|  5.77k|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (12241:13): [True: 1.69k, False: 4.07k]
  ------------------
12242|  1.69k|            &&
12243|  1.69k|            (_literal = _PyPegen_expect_token(p, 53))  // token=':='
  ------------------
  |  Branch (12243:13): [True: 0, False: 1.69k]
  ------------------
12244|      0|            &&
12245|      0|            (_cut_var = 1)
  ------------------
  |  Branch (12245:13): [True: 0, False: 0]
  ------------------
12246|      0|            &&
12247|      0|            (b = expression_rule(p))  // expression
  ------------------
  |  Branch (12247:13): [True: 0, False: 0]
  ------------------
12248|  5.77k|        )
12249|      0|        {
12250|      0|            D(fprintf(stderr, "%*c+ assignment_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME ':=' ~ expression"));
12251|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
12252|      0|            if (_token == NULL) {
  ------------------
  |  Branch (12252:17): [True: 0, False: 0]
  ------------------
12253|      0|                p->level--;
12254|      0|                return NULL;
12255|      0|            }
12256|      0|            int _end_lineno = _token->end_lineno;
12257|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
12258|      0|            int _end_col_offset = _token->end_col_offset;
12259|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
12260|      0|            _res = CHECK_VERSION ( expr_ty , 8 , "Assignment expressions are" , _PyAST_NamedExpr ( CHECK ( expr_ty , _PyPegen_set_expr_context ( p , a , Store ) ) , b , EXTRA ) );
  ------------------
  |  |  345|      0|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
12261|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12261:18): [True: 0, False: 0]
  |  Branch (12261:34): [True: 0, False: 0]
  |  Branch (12261:57): [True: 0, False: 0]
  ------------------
12262|      0|                p->error_indicator = 1;
12263|      0|                p->level--;
12264|      0|                return NULL;
12265|      0|            }
12266|      0|            goto done;
12267|      0|        }
12268|  5.77k|        p->mark = _mark;
12269|  5.77k|        D(fprintf(stderr, "%*c%s assignment_expression[%d-%d]: %s failed!\n", p->level, ' ',
12270|  5.77k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME ':=' ~ expression"));
12271|  5.77k|        if (_cut_var) {
  ------------------
  |  Branch (12271:13): [True: 0, False: 5.77k]
  ------------------
12272|      0|            p->level--;
12273|      0|            return NULL;
12274|      0|        }
12275|  5.77k|    }
12276|  5.77k|    _res = NULL;
12277|  5.77k|  done:
12278|  5.77k|    p->level--;
12279|  5.77k|    return _res;
12280|  5.77k|}
parser.c:invalid_named_expression_rule:
20729|    304|{
20730|    304|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    608|#  define MAXSTACK 6000
  ------------------
  |  Branch (20730:9): [True: 0, False: 304]
  |  Branch (20730:35): [True: 0, False: 304]
  ------------------
20731|      0|        _Pypegen_stack_overflow(p);
20732|      0|    }
20733|    304|    if (p->error_indicator) {
  ------------------
  |  Branch (20733:9): [True: 0, False: 304]
  ------------------
20734|      0|        p->level--;
20735|      0|        return NULL;
20736|      0|    }
20737|    304|    void * _res = NULL;
20738|    304|    if (_PyPegen_is_memoized(p, invalid_named_expression_type, &_res)) {
  ------------------
  |  |  289|    304|#define invalid_named_expression_type 1200
  ------------------
  |  Branch (20738:9): [True: 122, False: 182]
  ------------------
20739|    122|        p->level--;
20740|    122|        return _res;
20741|    122|    }
20742|    182|    int _mark = p->mark;
20743|    182|    { // expression ':=' expression
20744|    182|        if (p->error_indicator) {
  ------------------
  |  Branch (20744:13): [True: 0, False: 182]
  ------------------
20745|      0|            p->level--;
20746|      0|            return NULL;
20747|      0|        }
20748|    182|        D(fprintf(stderr, "%*c> invalid_named_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression ':=' expression"));
20749|    182|        Token * _literal;
20750|    182|        expr_ty a;
20751|    182|        expr_ty expression_var;
20752|    182|        if (
20753|    182|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (20753:13): [True: 57, False: 125]
  ------------------
20754|     57|            &&
20755|     57|            (_literal = _PyPegen_expect_token(p, 53))  // token=':='
  ------------------
  |  Branch (20755:13): [True: 0, False: 57]
  ------------------
20756|      0|            &&
20757|      0|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (20757:13): [True: 0, False: 0]
  ------------------
20758|    182|        )
20759|      0|        {
20760|      0|            D(fprintf(stderr, "%*c+ invalid_named_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression ':=' expression"));
20761|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "cannot use assignment expressions with %s" , _PyPegen_get_expr_name ( a ) );
  ------------------
  |  |  239|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
20762|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (20762:18): [True: 0, False: 0]
  |  Branch (20762:34): [True: 0, False: 0]
  |  Branch (20762:57): [True: 0, False: 0]
  ------------------
20763|      0|                p->error_indicator = 1;
20764|      0|                p->level--;
20765|      0|                return NULL;
20766|      0|            }
20767|      0|            goto done;
20768|      0|        }
20769|    182|        p->mark = _mark;
20770|    182|        D(fprintf(stderr, "%*c%s invalid_named_expression[%d-%d]: %s failed!\n", p->level, ' ',
20771|    182|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression ':=' expression"));
20772|    182|    }
20773|      0|    { // NAME '=' bitwise_or !('=' | ':=')
20774|    182|        if (p->error_indicator) {
  ------------------
  |  Branch (20774:13): [True: 0, False: 182]
  ------------------
20775|      0|            p->level--;
20776|      0|            return NULL;
20777|      0|        }
20778|    182|        D(fprintf(stderr, "%*c> invalid_named_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME '=' bitwise_or !('=' | ':=')"));
20779|    182|        Token * _literal;
20780|    182|        expr_ty a;
20781|    182|        expr_ty b;
20782|    182|        if (
20783|    182|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (20783:13): [True: 47, False: 135]
  ------------------
20784|     47|            &&
20785|     47|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (20785:13): [True: 0, False: 47]
  ------------------
20786|      0|            &&
20787|      0|            (b = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (20787:13): [True: 0, False: 0]
  ------------------
20788|      0|            &&
20789|      0|            _PyPegen_lookahead(0, _tmp_117_rule, p)
  ------------------
  |  Branch (20789:13): [True: 0, False: 0]
  ------------------
20790|    182|        )
20791|      0|        {
20792|      0|            D(fprintf(stderr, "%*c+ invalid_named_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME '=' bitwise_or !('=' | ':=')"));
20793|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "invalid syntax. Maybe you meant '==' or ':=' instead of '='?" );
  ------------------
  |  |  237|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
20794|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (20794:18): [True: 0, False: 0]
  |  Branch (20794:34): [True: 0, False: 0]
  |  Branch (20794:57): [True: 0, False: 0]
  ------------------
20795|      0|                p->error_indicator = 1;
20796|      0|                p->level--;
20797|      0|                return NULL;
20798|      0|            }
20799|      0|            goto done;
20800|      0|        }
20801|    182|        p->mark = _mark;
20802|    182|        D(fprintf(stderr, "%*c%s invalid_named_expression[%d-%d]: %s failed!\n", p->level, ' ',
20803|    182|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME '=' bitwise_or !('=' | ':=')"));
20804|    182|    }
20805|      0|    { // !(list | tuple | genexp | 'True' | 'None' | 'False') bitwise_or '=' bitwise_or !('=' | ':=')
20806|    182|        if (p->error_indicator) {
  ------------------
  |  Branch (20806:13): [True: 0, False: 182]
  ------------------
20807|      0|            p->level--;
20808|      0|            return NULL;
20809|      0|        }
20810|    182|        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 !('=' | ':=')"));
20811|    182|        expr_ty a;
20812|    182|        Token * b;
20813|    182|        expr_ty bitwise_or_var;
20814|    182|        if (
20815|    182|            _PyPegen_lookahead(0, _tmp_118_rule, p)
  ------------------
  |  Branch (20815:13): [True: 182, False: 0]
  ------------------
20816|    182|            &&
20817|    182|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (20817:13): [True: 57, False: 125]
  ------------------
20818|     57|            &&
20819|     57|            (b = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (20819:13): [True: 0, False: 57]
  ------------------
20820|      0|            &&
20821|      0|            (bitwise_or_var = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (20821:13): [True: 0, False: 0]
  ------------------
20822|      0|            &&
20823|      0|            _PyPegen_lookahead(0, _tmp_117_rule, p)
  ------------------
  |  Branch (20823:13): [True: 0, False: 0]
  ------------------
20824|    182|        )
20825|      0|        {
20826|      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 !('=' | ':=')"));
20827|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "cannot assign to %s here. Maybe you meant '==' instead of '='?" , _PyPegen_get_expr_name ( a ) );
  ------------------
  |  |  239|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
20828|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (20828:18): [True: 0, False: 0]
  |  Branch (20828:34): [True: 0, False: 0]
  |  Branch (20828:57): [True: 0, False: 0]
  ------------------
20829|      0|                p->error_indicator = 1;
20830|      0|                p->level--;
20831|      0|                return NULL;
20832|      0|            }
20833|      0|            goto done;
20834|      0|        }
20835|    182|        p->mark = _mark;
20836|    182|        D(fprintf(stderr, "%*c%s invalid_named_expression[%d-%d]: %s failed!\n", p->level, ' ',
20837|    182|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "!(list | tuple | genexp | 'True' | 'None' | 'False') bitwise_or '=' bitwise_or !('=' | ':=')"));
20838|    182|    }
20839|    182|    _res = NULL;
20840|    182|  done:
20841|    182|    _PyPegen_insert_memo(p, _mark, invalid_named_expression_type, _res);
  ------------------
  |  |  289|    182|#define invalid_named_expression_type 1200
  ------------------
20842|    182|    p->level--;
20843|    182|    return _res;
20844|    182|}
parser.c:bitwise_or_rule:
13043|  13.6k|{
13044|  13.6k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  27.2k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13044:9): [True: 0, False: 13.6k]
  |  Branch (13044:35): [True: 0, False: 13.6k]
  ------------------
13045|      0|        _Pypegen_stack_overflow(p);
13046|      0|    }
13047|  13.6k|    expr_ty _res = NULL;
13048|  13.6k|    if (_PyPegen_is_memoized(p, bitwise_or_type, &_res)) {
  ------------------
  |  |  212|  13.6k|#define bitwise_or_type 1123  // Left-recursive
  ------------------
  |  Branch (13048:9): [True: 9.54k, False: 4.05k]
  ------------------
13049|  9.54k|        p->level--;
13050|  9.54k|        return _res;
13051|  9.54k|    }
13052|  4.05k|    int _mark = p->mark;
13053|  4.05k|    int _resmark = p->mark;
13054|  4.05k|    Memo *_memo = _PyPegen_insert_memo_direct(p, _mark, bitwise_or_type);
  ------------------
  |  |  212|  4.05k|#define bitwise_or_type 1123  // Left-recursive
  ------------------
13055|  4.05k|    if (_memo == NULL) {
  ------------------
  |  Branch (13055:9): [True: 0, False: 4.05k]
  ------------------
13056|      0|        p->level--;
13057|      0|        return NULL;
13058|      0|    }
13059|  5.43k|    while (1) {
  ------------------
  |  Branch (13059:12): [True: 5.43k, Folded]
  ------------------
13060|  5.43k|        _memo->node = _res;
13061|  5.43k|        _memo->mark = p->mark;
13062|  5.43k|        p->mark = _mark;
13063|  5.43k|        void *_raw = bitwise_or_raw(p);
13064|  5.43k|        if (p->error_indicator) {
  ------------------
  |  Branch (13064:13): [True: 571, False: 4.86k]
  ------------------
13065|    571|            p->level--;
13066|    571|            return NULL;
13067|    571|        }
13068|  4.86k|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (13068:13): [True: 2.11k, False: 2.74k]
  |  Branch (13068:29): [True: 1.37k, False: 1.37k]
  ------------------
13069|  3.48k|            break;
13070|  1.37k|        _resmark = p->mark;
13071|  1.37k|        _res = _raw;
13072|  1.37k|    }
13073|  3.48k|    p->mark = _resmark;
13074|  3.48k|    p->level--;
13075|  3.48k|    return _res;
13076|  4.05k|}
parser.c:bitwise_or_raw:
13079|  5.43k|{
13080|  5.43k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  10.8k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13080:9): [True: 0, False: 5.43k]
  |  Branch (13080:35): [True: 0, False: 5.43k]
  ------------------
13081|      0|        _Pypegen_stack_overflow(p);
13082|      0|    }
13083|  5.43k|    if (p->error_indicator) {
  ------------------
  |  Branch (13083:9): [True: 0, False: 5.43k]
  ------------------
13084|      0|        p->level--;
13085|      0|        return NULL;
13086|      0|    }
13087|  5.43k|    expr_ty _res = NULL;
13088|  5.43k|    int _mark = p->mark;
13089|  5.43k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (13089:9): [True: 0, False: 5.43k]
  |  Branch (13089:31): [True: 0, False: 0]
  ------------------
13090|      0|        p->error_indicator = 1;
13091|      0|        p->level--;
13092|      0|        return NULL;
13093|      0|    }
13094|  5.43k|    int _start_lineno = p->tokens[_mark]->lineno;
13095|  5.43k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|  5.43k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 5.43k]
  |  |  ------------------
  ------------------
13096|  5.43k|    int _start_col_offset = p->tokens[_mark]->col_offset;
13097|  5.43k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|  5.43k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 5.43k]
  |  |  ------------------
  ------------------
13098|  5.43k|    { // bitwise_or '|' bitwise_xor
13099|  5.43k|        if (p->error_indicator) {
  ------------------
  |  Branch (13099:13): [True: 0, False: 5.43k]
  ------------------
13100|      0|            p->level--;
13101|      0|            return NULL;
13102|      0|        }
13103|  5.43k|        D(fprintf(stderr, "%*c> bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_or '|' bitwise_xor"));
13104|  5.43k|        Token * _literal;
13105|  5.43k|        expr_ty a;
13106|  5.43k|        expr_ty b;
13107|  5.43k|        if (
13108|  5.43k|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (13108:13): [True: 1.37k, False: 4.05k]
  ------------------
13109|  1.37k|            &&
13110|  1.37k|            (_literal = _PyPegen_expect_token(p, 18))  // token='|'
  ------------------
  |  Branch (13110:13): [True: 0, False: 1.37k]
  ------------------
13111|      0|            &&
13112|      0|            (b = bitwise_xor_rule(p))  // bitwise_xor
  ------------------
  |  Branch (13112:13): [True: 0, False: 0]
  ------------------
13113|  5.43k|        )
13114|      0|        {
13115|      0|            D(fprintf(stderr, "%*c+ bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_or '|' bitwise_xor"));
13116|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
13117|      0|            if (_token == NULL) {
  ------------------
  |  Branch (13117:17): [True: 0, False: 0]
  ------------------
13118|      0|                p->level--;
13119|      0|                return NULL;
13120|      0|            }
13121|      0|            int _end_lineno = _token->end_lineno;
13122|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
13123|      0|            int _end_col_offset = _token->end_col_offset;
13124|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
13125|      0|            _res = _PyAST_BinOp ( a , BitOr , b , EXTRA );
  ------------------
  |  |  307|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
13126|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13126:18): [True: 0, False: 0]
  |  Branch (13126:34): [True: 0, False: 0]
  |  Branch (13126:57): [True: 0, False: 0]
  ------------------
13127|      0|                p->error_indicator = 1;
13128|      0|                p->level--;
13129|      0|                return NULL;
13130|      0|            }
13131|      0|            goto done;
13132|      0|        }
13133|  5.43k|        p->mark = _mark;
13134|  5.43k|        D(fprintf(stderr, "%*c%s bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
13135|  5.43k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_or '|' bitwise_xor"));
13136|  5.43k|    }
13137|  5.43k|    if (p->call_invalid_rules) { // invalid_bitwise_or
  ------------------
  |  Branch (13137:9): [True: 2.25k, False: 3.17k]
  ------------------
13138|  2.25k|        if (p->error_indicator) {
  ------------------
  |  Branch (13138:13): [True: 0, False: 2.25k]
  ------------------
13139|      0|            p->level--;
13140|      0|            return NULL;
13141|      0|        }
13142|  2.25k|        D(fprintf(stderr, "%*c> bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_bitwise_or"));
13143|  2.25k|        void *invalid_bitwise_or_var;
13144|  2.25k|        if (
13145|  2.25k|            (invalid_bitwise_or_var = invalid_bitwise_or_rule(p))  // invalid_bitwise_or
  ------------------
  |  Branch (13145:13): [True: 0, False: 2.25k]
  ------------------
13146|  2.25k|        )
13147|      0|        {
13148|      0|            D(fprintf(stderr, "%*c+ bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_bitwise_or"));
13149|      0|            _res = invalid_bitwise_or_var;
13150|      0|            goto done;
13151|      0|        }
13152|  2.25k|        p->mark = _mark;
13153|  2.25k|        D(fprintf(stderr, "%*c%s bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
13154|  2.25k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_bitwise_or"));
13155|  2.25k|    }
13156|  5.43k|    { // bitwise_xor
13157|  5.43k|        if (p->error_indicator) {
  ------------------
  |  Branch (13157:13): [True: 0, False: 5.43k]
  ------------------
13158|      0|            p->level--;
13159|      0|            return NULL;
13160|      0|        }
13161|  5.43k|        D(fprintf(stderr, "%*c> bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_xor"));
13162|  5.43k|        expr_ty bitwise_xor_var;
13163|  5.43k|        if (
13164|  5.43k|            (bitwise_xor_var = bitwise_xor_rule(p))  // bitwise_xor
  ------------------
  |  Branch (13164:13): [True: 2.74k, False: 2.68k]
  ------------------
13165|  5.43k|        )
13166|  2.74k|        {
13167|  2.74k|            D(fprintf(stderr, "%*c+ bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_xor"));
13168|  2.74k|            _res = bitwise_xor_var;
13169|  2.74k|            goto done;
13170|  2.74k|        }
13171|  2.68k|        p->mark = _mark;
13172|  2.68k|        D(fprintf(stderr, "%*c%s bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
13173|  2.68k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_xor"));
13174|  2.68k|    }
13175|  2.68k|    _res = NULL;
13176|  5.43k|  done:
13177|  5.43k|    p->level--;
13178|  5.43k|    return _res;
13179|  2.68k|}
parser.c:bitwise_xor_rule:
13186|  10.8k|{
13187|  10.8k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  21.7k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13187:9): [True: 0, False: 10.8k]
  |  Branch (13187:35): [True: 0, False: 10.8k]
  ------------------
13188|      0|        _Pypegen_stack_overflow(p);
13189|      0|    }
13190|  10.8k|    expr_ty _res = NULL;
13191|  10.8k|    if (_PyPegen_is_memoized(p, bitwise_xor_type, &_res)) {
  ------------------
  |  |  213|  10.8k|#define bitwise_xor_type 1124  // Left-recursive
  ------------------
  |  Branch (13191:9): [True: 6.80k, False: 4.05k]
  ------------------
13192|  6.80k|        p->level--;
13193|  6.80k|        return _res;
13194|  6.80k|    }
13195|  4.05k|    int _mark = p->mark;
13196|  4.05k|    int _resmark = p->mark;
13197|  4.05k|    Memo *_memo = _PyPegen_insert_memo_direct(p, _mark, bitwise_xor_type);
  ------------------
  |  |  213|  4.05k|#define bitwise_xor_type 1124  // Left-recursive
  ------------------
13198|  4.05k|    if (_memo == NULL) {
  ------------------
  |  Branch (13198:9): [True: 0, False: 4.05k]
  ------------------
13199|      0|        p->level--;
13200|      0|        return NULL;
13201|      0|    }
13202|  5.43k|    while (1) {
  ------------------
  |  Branch (13202:12): [True: 5.43k, Folded]
  ------------------
13203|  5.43k|        _memo->node = _res;
13204|  5.43k|        _memo->mark = p->mark;
13205|  5.43k|        p->mark = _mark;
13206|  5.43k|        void *_raw = bitwise_xor_raw(p);
13207|  5.43k|        if (p->error_indicator) {
  ------------------
  |  Branch (13207:13): [True: 571, False: 4.86k]
  ------------------
13208|    571|            p->level--;
13209|    571|            return NULL;
13210|    571|        }
13211|  4.86k|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (13211:13): [True: 2.11k, False: 2.74k]
  |  Branch (13211:29): [True: 1.37k, False: 1.37k]
  ------------------
13212|  3.48k|            break;
13213|  1.37k|        _resmark = p->mark;
13214|  1.37k|        _res = _raw;
13215|  1.37k|    }
13216|  3.48k|    p->mark = _resmark;
13217|  3.48k|    p->level--;
13218|  3.48k|    return _res;
13219|  4.05k|}
parser.c:bitwise_xor_raw:
13222|  5.43k|{
13223|  5.43k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  10.8k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13223:9): [True: 0, False: 5.43k]
  |  Branch (13223:35): [True: 0, False: 5.43k]
  ------------------
13224|      0|        _Pypegen_stack_overflow(p);
13225|      0|    }
13226|  5.43k|    if (p->error_indicator) {
  ------------------
  |  Branch (13226:9): [True: 0, False: 5.43k]
  ------------------
13227|      0|        p->level--;
13228|      0|        return NULL;
13229|      0|    }
13230|  5.43k|    expr_ty _res = NULL;
13231|  5.43k|    int _mark = p->mark;
13232|  5.43k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (13232:9): [True: 0, False: 5.43k]
  |  Branch (13232:31): [True: 0, False: 0]
  ------------------
13233|      0|        p->error_indicator = 1;
13234|      0|        p->level--;
13235|      0|        return NULL;
13236|      0|    }
13237|  5.43k|    int _start_lineno = p->tokens[_mark]->lineno;
13238|  5.43k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|  5.43k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 5.43k]
  |  |  ------------------
  ------------------
13239|  5.43k|    int _start_col_offset = p->tokens[_mark]->col_offset;
13240|  5.43k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|  5.43k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 5.43k]
  |  |  ------------------
  ------------------
13241|  5.43k|    { // bitwise_xor '^' bitwise_and
13242|  5.43k|        if (p->error_indicator) {
  ------------------
  |  Branch (13242:13): [True: 0, False: 5.43k]
  ------------------
13243|      0|            p->level--;
13244|      0|            return NULL;
13245|      0|        }
13246|  5.43k|        D(fprintf(stderr, "%*c> bitwise_xor[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_xor '^' bitwise_and"));
13247|  5.43k|        Token * _literal;
13248|  5.43k|        expr_ty a;
13249|  5.43k|        expr_ty b;
13250|  5.43k|        if (
13251|  5.43k|            (a = bitwise_xor_rule(p))  // bitwise_xor
  ------------------
  |  Branch (13251:13): [True: 1.37k, False: 4.05k]
  ------------------
13252|  1.37k|            &&
13253|  1.37k|            (_literal = _PyPegen_expect_token(p, 32))  // token='^'
  ------------------
  |  Branch (13253:13): [True: 0, False: 1.37k]
  ------------------
13254|      0|            &&
13255|      0|            (b = bitwise_and_rule(p))  // bitwise_and
  ------------------
  |  Branch (13255:13): [True: 0, False: 0]
  ------------------
13256|  5.43k|        )
13257|      0|        {
13258|      0|            D(fprintf(stderr, "%*c+ bitwise_xor[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_xor '^' bitwise_and"));
13259|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
13260|      0|            if (_token == NULL) {
  ------------------
  |  Branch (13260:17): [True: 0, False: 0]
  ------------------
13261|      0|                p->level--;
13262|      0|                return NULL;
13263|      0|            }
13264|      0|            int _end_lineno = _token->end_lineno;
13265|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
13266|      0|            int _end_col_offset = _token->end_col_offset;
13267|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
13268|      0|            _res = _PyAST_BinOp ( a , BitXor , b , EXTRA );
  ------------------
  |  |  307|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
13269|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13269:18): [True: 0, False: 0]
  |  Branch (13269:34): [True: 0, False: 0]
  |  Branch (13269:57): [True: 0, False: 0]
  ------------------
13270|      0|                p->error_indicator = 1;
13271|      0|                p->level--;
13272|      0|                return NULL;
13273|      0|            }
13274|      0|            goto done;
13275|      0|        }
13276|  5.43k|        p->mark = _mark;
13277|  5.43k|        D(fprintf(stderr, "%*c%s bitwise_xor[%d-%d]: %s failed!\n", p->level, ' ',
13278|  5.43k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_xor '^' bitwise_and"));
13279|  5.43k|    }
13280|      0|    { // bitwise_and
13281|  5.43k|        if (p->error_indicator) {
  ------------------
  |  Branch (13281:13): [True: 0, False: 5.43k]
  ------------------
13282|      0|            p->level--;
13283|      0|            return NULL;
13284|      0|        }
13285|  5.43k|        D(fprintf(stderr, "%*c> bitwise_xor[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_and"));
13286|  5.43k|        expr_ty bitwise_and_var;
13287|  5.43k|        if (
13288|  5.43k|            (bitwise_and_var = bitwise_and_rule(p))  // bitwise_and
  ------------------
  |  Branch (13288:13): [True: 2.74k, False: 2.68k]
  ------------------
13289|  5.43k|        )
13290|  2.74k|        {
13291|  2.74k|            D(fprintf(stderr, "%*c+ bitwise_xor[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_and"));
13292|  2.74k|            _res = bitwise_and_var;
13293|  2.74k|            goto done;
13294|  2.74k|        }
13295|  2.68k|        p->mark = _mark;
13296|  2.68k|        D(fprintf(stderr, "%*c%s bitwise_xor[%d-%d]: %s failed!\n", p->level, ' ',
13297|  2.68k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_and"));
13298|  2.68k|    }
13299|  2.68k|    _res = NULL;
13300|  5.43k|  done:
13301|  5.43k|    p->level--;
13302|  5.43k|    return _res;
13303|  2.68k|}
parser.c:bitwise_and_rule:
13310|  13.1k|{
13311|  13.1k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  26.2k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13311:9): [True: 0, False: 13.1k]
  |  Branch (13311:35): [True: 0, False: 13.1k]
  ------------------
13312|      0|        _Pypegen_stack_overflow(p);
13313|      0|    }
13314|  13.1k|    expr_ty _res = NULL;
13315|  13.1k|    if (_PyPegen_is_memoized(p, bitwise_and_type, &_res)) {
  ------------------
  |  |  214|  13.1k|#define bitwise_and_type 1125  // Left-recursive
  ------------------
  |  Branch (13315:9): [True: 9.05k, False: 4.05k]
  ------------------
13316|  9.05k|        p->level--;
13317|  9.05k|        return _res;
13318|  9.05k|    }
13319|  4.05k|    int _mark = p->mark;
13320|  4.05k|    int _resmark = p->mark;
13321|  4.05k|    Memo *_memo = _PyPegen_insert_memo_direct(p, _mark, bitwise_and_type);
  ------------------
  |  |  214|  4.05k|#define bitwise_and_type 1125  // Left-recursive
  ------------------
13322|  4.05k|    if (_memo == NULL) {
  ------------------
  |  Branch (13322:9): [True: 0, False: 4.05k]
  ------------------
13323|      0|        p->level--;
13324|      0|        return NULL;
13325|      0|    }
13326|  5.43k|    while (1) {
  ------------------
  |  Branch (13326:12): [True: 5.43k, Folded]
  ------------------
13327|  5.43k|        _memo->node = _res;
13328|  5.43k|        _memo->mark = p->mark;
13329|  5.43k|        p->mark = _mark;
13330|  5.43k|        void *_raw = bitwise_and_raw(p);
13331|  5.43k|        if (p->error_indicator) {
  ------------------
  |  Branch (13331:13): [True: 571, False: 4.86k]
  ------------------
13332|    571|            p->level--;
13333|    571|            return NULL;
13334|    571|        }
13335|  4.86k|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (13335:13): [True: 2.11k, False: 2.74k]
  |  Branch (13335:29): [True: 1.37k, False: 1.37k]
  ------------------
13336|  3.48k|            break;
13337|  1.37k|        _resmark = p->mark;
13338|  1.37k|        _res = _raw;
13339|  1.37k|    }
13340|  3.48k|    p->mark = _resmark;
13341|  3.48k|    p->level--;
13342|  3.48k|    return _res;
13343|  4.05k|}
parser.c:bitwise_and_raw:
13346|  5.43k|{
13347|  5.43k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  10.8k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13347:9): [True: 0, False: 5.43k]
  |  Branch (13347:35): [True: 0, False: 5.43k]
  ------------------
13348|      0|        _Pypegen_stack_overflow(p);
13349|      0|    }
13350|  5.43k|    if (p->error_indicator) {
  ------------------
  |  Branch (13350:9): [True: 0, False: 5.43k]
  ------------------
13351|      0|        p->level--;
13352|      0|        return NULL;
13353|      0|    }
13354|  5.43k|    expr_ty _res = NULL;
13355|  5.43k|    int _mark = p->mark;
13356|  5.43k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (13356:9): [True: 0, False: 5.43k]
  |  Branch (13356:31): [True: 0, False: 0]
  ------------------
13357|      0|        p->error_indicator = 1;
13358|      0|        p->level--;
13359|      0|        return NULL;
13360|      0|    }
13361|  5.43k|    int _start_lineno = p->tokens[_mark]->lineno;
13362|  5.43k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|  5.43k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 5.43k]
  |  |  ------------------
  ------------------
13363|  5.43k|    int _start_col_offset = p->tokens[_mark]->col_offset;
13364|  5.43k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|  5.43k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 5.43k]
  |  |  ------------------
  ------------------
13365|  5.43k|    { // bitwise_and '&' shift_expr
13366|  5.43k|        if (p->error_indicator) {
  ------------------
  |  Branch (13366:13): [True: 0, False: 5.43k]
  ------------------
13367|      0|            p->level--;
13368|      0|            return NULL;
13369|      0|        }
13370|  5.43k|        D(fprintf(stderr, "%*c> bitwise_and[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_and '&' shift_expr"));
13371|  5.43k|        Token * _literal;
13372|  5.43k|        expr_ty a;
13373|  5.43k|        expr_ty b;
13374|  5.43k|        if (
13375|  5.43k|            (a = bitwise_and_rule(p))  // bitwise_and
  ------------------
  |  Branch (13375:13): [True: 1.37k, False: 4.05k]
  ------------------
13376|  1.37k|            &&
13377|  1.37k|            (_literal = _PyPegen_expect_token(p, 19))  // token='&'
  ------------------
  |  Branch (13377:13): [True: 1, False: 1.37k]
  ------------------
13378|      1|            &&
13379|      1|            (b = shift_expr_rule(p))  // shift_expr
  ------------------
  |  Branch (13379:13): [True: 1, False: 0]
  ------------------
13380|  5.43k|        )
13381|      1|        {
13382|      1|            D(fprintf(stderr, "%*c+ bitwise_and[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_and '&' shift_expr"));
13383|      1|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
13384|      1|            if (_token == NULL) {
  ------------------
  |  Branch (13384:17): [True: 0, False: 1]
  ------------------
13385|      0|                p->level--;
13386|      0|                return NULL;
13387|      0|            }
13388|      1|            int _end_lineno = _token->end_lineno;
13389|      1|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|      1|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 1]
  |  |  ------------------
  ------------------
13390|      1|            int _end_col_offset = _token->end_col_offset;
13391|      1|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|      1|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 1]
  |  |  ------------------
  ------------------
13392|      1|            _res = _PyAST_BinOp ( a , BitAnd , b , EXTRA );
  ------------------
  |  |  307|      1|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
13393|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13393:18): [True: 0, False: 1]
  |  Branch (13393:34): [True: 0, False: 1]
  |  Branch (13393:57): [True: 0, False: 0]
  ------------------
13394|      0|                p->error_indicator = 1;
13395|      0|                p->level--;
13396|      0|                return NULL;
13397|      0|            }
13398|      1|            goto done;
13399|      1|        }
13400|  5.43k|        p->mark = _mark;
13401|  5.43k|        D(fprintf(stderr, "%*c%s bitwise_and[%d-%d]: %s failed!\n", p->level, ' ',
13402|  5.43k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_and '&' shift_expr"));
13403|  5.43k|    }
13404|  5.43k|    if (p->call_invalid_rules) { // invalid_bitwise_and
  ------------------
  |  Branch (13404:9): [True: 2.25k, False: 3.17k]
  ------------------
13405|  2.25k|        if (p->error_indicator) {
  ------------------
  |  Branch (13405:13): [True: 0, False: 2.25k]
  ------------------
13406|      0|            p->level--;
13407|      0|            return NULL;
13408|      0|        }
13409|  2.25k|        D(fprintf(stderr, "%*c> bitwise_and[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_bitwise_and"));
13410|  2.25k|        void *invalid_bitwise_and_var;
13411|  2.25k|        if (
13412|  2.25k|            (invalid_bitwise_and_var = invalid_bitwise_and_rule(p))  // invalid_bitwise_and
  ------------------
  |  Branch (13412:13): [True: 0, False: 2.25k]
  ------------------
13413|  2.25k|        )
13414|      0|        {
13415|      0|            D(fprintf(stderr, "%*c+ bitwise_and[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_bitwise_and"));
13416|      0|            _res = invalid_bitwise_and_var;
13417|      0|            goto done;
13418|      0|        }
13419|  2.25k|        p->mark = _mark;
13420|  2.25k|        D(fprintf(stderr, "%*c%s bitwise_and[%d-%d]: %s failed!\n", p->level, ' ',
13421|  2.25k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_bitwise_and"));
13422|  2.25k|    }
13423|  5.43k|    { // shift_expr
13424|  5.43k|        if (p->error_indicator) {
  ------------------
  |  Branch (13424:13): [True: 0, False: 5.43k]
  ------------------
13425|      0|            p->level--;
13426|      0|            return NULL;
13427|      0|        }
13428|  5.43k|        D(fprintf(stderr, "%*c> bitwise_and[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "shift_expr"));
13429|  5.43k|        expr_ty shift_expr_var;
13430|  5.43k|        if (
13431|  5.43k|            (shift_expr_var = shift_expr_rule(p))  // shift_expr
  ------------------
  |  Branch (13431:13): [True: 2.74k, False: 2.68k]
  ------------------
13432|  5.43k|        )
13433|  2.74k|        {
13434|  2.74k|            D(fprintf(stderr, "%*c+ bitwise_and[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "shift_expr"));
13435|  2.74k|            _res = shift_expr_var;
13436|  2.74k|            goto done;
13437|  2.74k|        }
13438|  2.68k|        p->mark = _mark;
13439|  2.68k|        D(fprintf(stderr, "%*c%s bitwise_and[%d-%d]: %s failed!\n", p->level, ' ',
13440|  2.68k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "shift_expr"));
13441|  2.68k|    }
13442|  2.68k|    _res = NULL;
13443|  5.43k|  done:
13444|  5.43k|    p->level--;
13445|  5.43k|    return _res;
13446|  2.68k|}
parser.c:shift_expr_rule:
13453|  13.1k|{
13454|  13.1k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  26.2k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13454:9): [True: 0, False: 13.1k]
  |  Branch (13454:35): [True: 0, False: 13.1k]
  ------------------
13455|      0|        _Pypegen_stack_overflow(p);
13456|      0|    }
13457|  13.1k|    expr_ty _res = NULL;
13458|  13.1k|    if (_PyPegen_is_memoized(p, shift_expr_type, &_res)) {
  ------------------
  |  |  215|  13.1k|#define shift_expr_type 1126  // Left-recursive
  ------------------
  |  Branch (13458:9): [True: 9.06k, False: 4.05k]
  ------------------
13459|  9.06k|        p->level--;
13460|  9.06k|        return _res;
13461|  9.06k|    }
13462|  4.05k|    int _mark = p->mark;
13463|  4.05k|    int _resmark = p->mark;
13464|  4.05k|    Memo *_memo = _PyPegen_insert_memo_direct(p, _mark, shift_expr_type);
  ------------------
  |  |  215|  4.05k|#define shift_expr_type 1126  // Left-recursive
  ------------------
13465|  4.05k|    if (_memo == NULL) {
  ------------------
  |  Branch (13465:9): [True: 0, False: 4.05k]
  ------------------
13466|      0|        p->level--;
13467|      0|        return NULL;
13468|      0|    }
13469|  5.43k|    while (1) {
  ------------------
  |  Branch (13469:12): [True: 5.43k, Folded]
  ------------------
13470|  5.43k|        _memo->node = _res;
13471|  5.43k|        _memo->mark = p->mark;
13472|  5.43k|        p->mark = _mark;
13473|  5.43k|        void *_raw = shift_expr_raw(p);
13474|  5.43k|        if (p->error_indicator) {
  ------------------
  |  Branch (13474:13): [True: 571, False: 4.86k]
  ------------------
13475|    571|            p->level--;
13476|    571|            return NULL;
13477|    571|        }
13478|  4.86k|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (13478:13): [True: 2.11k, False: 2.74k]
  |  Branch (13478:29): [True: 1.37k, False: 1.37k]
  ------------------
13479|  3.48k|            break;
13480|  1.37k|        _resmark = p->mark;
13481|  1.37k|        _res = _raw;
13482|  1.37k|    }
13483|  3.48k|    p->mark = _resmark;
13484|  3.48k|    p->level--;
13485|  3.48k|    return _res;
13486|  4.05k|}
parser.c:shift_expr_raw:
13489|  5.43k|{
13490|  5.43k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  10.8k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13490:9): [True: 0, False: 5.43k]
  |  Branch (13490:35): [True: 0, False: 5.43k]
  ------------------
13491|      0|        _Pypegen_stack_overflow(p);
13492|      0|    }
13493|  5.43k|    if (p->error_indicator) {
  ------------------
  |  Branch (13493:9): [True: 0, False: 5.43k]
  ------------------
13494|      0|        p->level--;
13495|      0|        return NULL;
13496|      0|    }
13497|  5.43k|    expr_ty _res = NULL;
13498|  5.43k|    int _mark = p->mark;
13499|  5.43k|    expr_ty _prefix_5_result = NULL;
13500|  5.43k|    int _prefix_5_end = 0, _prefix_5_valid = 0;
13501|  5.43k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (13501:9): [True: 0, False: 5.43k]
  |  Branch (13501:31): [True: 0, False: 0]
  ------------------
13502|      0|        p->error_indicator = 1;
13503|      0|        p->level--;
13504|      0|        return NULL;
13505|      0|    }
13506|  5.43k|    int _start_lineno = p->tokens[_mark]->lineno;
13507|  5.43k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|  5.43k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 5.43k]
  |  |  ------------------
  ------------------
13508|  5.43k|    int _start_col_offset = p->tokens[_mark]->col_offset;
13509|  5.43k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|  5.43k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 5.43k]
  |  |  ------------------
  ------------------
13510|  5.43k|    { // shift_expr '<<' sum
13511|  5.43k|        if (p->error_indicator) {
  ------------------
  |  Branch (13511:13): [True: 0, False: 5.43k]
  ------------------
13512|      0|            p->level--;
13513|      0|            return NULL;
13514|      0|        }
13515|  5.43k|        D(fprintf(stderr, "%*c> shift_expr[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "shift_expr '<<' sum"));
13516|  5.43k|        Token * _literal;
13517|  5.43k|        expr_ty a;
13518|  5.43k|        expr_ty b;
13519|  5.43k|        if (
13520|  5.43k|            (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 (13520:13): [True: 1.37k, False: 4.05k]
  |  Branch (13520:20): [True: 3.17k, False: 2.25k]
  |  Branch (13520:46): [True: 0, False: 3.17k]
  ------------------
13521|  1.37k|            &&
13522|  1.37k|            (_literal = _PyPegen_expect_token(p, 33))  // token='<<'
  ------------------
  |  Branch (13522:13): [True: 0, False: 1.37k]
  ------------------
13523|      0|            &&
13524|      0|            (b = sum_rule(p))  // sum
  ------------------
  |  Branch (13524:13): [True: 0, False: 0]
  ------------------
13525|  5.43k|        )
13526|      0|        {
13527|      0|            D(fprintf(stderr, "%*c+ shift_expr[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "shift_expr '<<' sum"));
13528|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
13529|      0|            if (_token == NULL) {
  ------------------
  |  Branch (13529:17): [True: 0, False: 0]
  ------------------
13530|      0|                p->level--;
13531|      0|                return NULL;
13532|      0|            }
13533|      0|            int _end_lineno = _token->end_lineno;
13534|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
13535|      0|            int _end_col_offset = _token->end_col_offset;
13536|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
13537|      0|            _res = _PyAST_BinOp ( a , LShift , b , EXTRA );
  ------------------
  |  |  307|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
13538|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13538:18): [True: 0, False: 0]
  |  Branch (13538:34): [True: 0, False: 0]
  |  Branch (13538:57): [True: 0, False: 0]
  ------------------
13539|      0|                p->error_indicator = 1;
13540|      0|                p->level--;
13541|      0|                return NULL;
13542|      0|            }
13543|      0|            goto done;
13544|      0|        }
13545|  5.43k|        p->mark = _mark;
13546|  5.43k|        D(fprintf(stderr, "%*c%s shift_expr[%d-%d]: %s failed!\n", p->level, ' ',
13547|  5.43k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "shift_expr '<<' sum"));
13548|  5.43k|    }
13549|      0|    { // shift_expr '>>' sum
13550|  5.43k|        if (p->error_indicator) {
  ------------------
  |  Branch (13550:13): [True: 0, False: 5.43k]
  ------------------
13551|      0|            p->level--;
13552|      0|            return NULL;
13553|      0|        }
13554|  5.43k|        D(fprintf(stderr, "%*c> shift_expr[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "shift_expr '>>' sum"));
13555|  5.43k|        Token * _literal;
13556|  5.43k|        expr_ty a;
13557|  5.43k|        expr_ty b;
13558|  5.43k|        if (
13559|  5.43k|            (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 (13559:13): [True: 1.37k, False: 4.05k]
  |  Branch (13559:20): [True: 3.17k, False: 2.25k]
  |  Branch (13559:46): [True: 3.17k, False: 0]
  ------------------
13560|  1.37k|            &&
13561|  1.37k|            (_literal = _PyPegen_expect_token(p, 34))  // token='>>'
  ------------------
  |  Branch (13561:13): [True: 0, False: 1.37k]
  ------------------
13562|      0|            &&
13563|      0|            (b = sum_rule(p))  // sum
  ------------------
  |  Branch (13563:13): [True: 0, False: 0]
  ------------------
13564|  5.43k|        )
13565|      0|        {
13566|      0|            D(fprintf(stderr, "%*c+ shift_expr[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "shift_expr '>>' sum"));
13567|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
13568|      0|            if (_token == NULL) {
  ------------------
  |  Branch (13568:17): [True: 0, False: 0]
  ------------------
13569|      0|                p->level--;
13570|      0|                return NULL;
13571|      0|            }
13572|      0|            int _end_lineno = _token->end_lineno;
13573|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
13574|      0|            int _end_col_offset = _token->end_col_offset;
13575|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
13576|      0|            _res = _PyAST_BinOp ( a , RShift , b , EXTRA );
  ------------------
  |  |  307|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
13577|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13577:18): [True: 0, False: 0]
  |  Branch (13577:34): [True: 0, False: 0]
  |  Branch (13577:57): [True: 0, False: 0]
  ------------------
13578|      0|                p->error_indicator = 1;
13579|      0|                p->level--;
13580|      0|                return NULL;
13581|      0|            }
13582|      0|            goto done;
13583|      0|        }
13584|  5.43k|        p->mark = _mark;
13585|  5.43k|        D(fprintf(stderr, "%*c%s shift_expr[%d-%d]: %s failed!\n", p->level, ' ',
13586|  5.43k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "shift_expr '>>' sum"));
13587|  5.43k|    }
13588|      0|    { // sum
13589|  5.43k|        if (p->error_indicator) {
  ------------------
  |  Branch (13589:13): [True: 0, False: 5.43k]
  ------------------
13590|      0|            p->level--;
13591|      0|            return NULL;
13592|      0|        }
13593|  5.43k|        D(fprintf(stderr, "%*c> shift_expr[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "sum"));
13594|  5.43k|        expr_ty sum_var;
13595|  5.43k|        if (
13596|  5.43k|            (sum_var = sum_rule(p))  // sum
  ------------------
  |  Branch (13596:13): [True: 2.74k, False: 2.68k]
  ------------------
13597|  5.43k|        )
13598|  2.74k|        {
13599|  2.74k|            D(fprintf(stderr, "%*c+ shift_expr[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "sum"));
13600|  2.74k|            _res = sum_var;
13601|  2.74k|            goto done;
13602|  2.74k|        }
13603|  2.68k|        p->mark = _mark;
13604|  2.68k|        D(fprintf(stderr, "%*c%s shift_expr[%d-%d]: %s failed!\n", p->level, ' ',
13605|  2.68k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "sum"));
13606|  2.68k|    }
13607|  2.68k|    _res = NULL;
13608|  5.43k|  done:
13609|  5.43k|    p->level--;
13610|  5.43k|    return _res;
13611|  2.68k|}
parser.c:sum_rule:
13618|  15.3k|{
13619|  15.3k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  30.7k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13619:9): [True: 0, False: 15.3k]
  |  Branch (13619:35): [True: 0, False: 15.3k]
  ------------------
13620|      0|        _Pypegen_stack_overflow(p);
13621|      0|    }
13622|  15.3k|    expr_ty _res = NULL;
13623|  15.3k|    if (_PyPegen_is_memoized(p, sum_type, &_res)) {
  ------------------
  |  |  216|  15.3k|#define sum_type 1127  // Left-recursive
  ------------------
  |  Branch (13623:9): [True: 11.3k, False: 4.05k]
  ------------------
13624|  11.3k|        p->level--;
13625|  11.3k|        return _res;
13626|  11.3k|    }
13627|  4.05k|    int _mark = p->mark;
13628|  4.05k|    int _resmark = p->mark;
13629|  4.05k|    Memo *_memo = _PyPegen_insert_memo_direct(p, _mark, sum_type);
  ------------------
  |  |  216|  4.05k|#define sum_type 1127  // Left-recursive
  ------------------
13630|  4.05k|    if (_memo == NULL) {
  ------------------
  |  Branch (13630:9): [True: 0, False: 4.05k]
  ------------------
13631|      0|        p->level--;
13632|      0|        return NULL;
13633|      0|    }
13634|  5.44k|    while (1) {
  ------------------
  |  Branch (13634:12): [True: 5.44k, Folded]
  ------------------
13635|  5.44k|        _memo->node = _res;
13636|  5.44k|        _memo->mark = p->mark;
13637|  5.44k|        p->mark = _mark;
13638|  5.44k|        void *_raw = sum_raw(p);
13639|  5.44k|        if (p->error_indicator) {
  ------------------
  |  Branch (13639:13): [True: 571, False: 4.87k]
  ------------------
13640|    571|            p->level--;
13641|    571|            return NULL;
13642|    571|        }
13643|  4.87k|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (13643:13): [True: 2.11k, False: 2.75k]
  |  Branch (13643:29): [True: 1.37k, False: 1.38k]
  ------------------
13644|  3.48k|            break;
13645|  1.38k|        _resmark = p->mark;
13646|  1.38k|        _res = _raw;
13647|  1.38k|    }
13648|  3.48k|    p->mark = _resmark;
13649|  3.48k|    p->level--;
13650|  3.48k|    return _res;
13651|  4.05k|}
parser.c:sum_raw:
13654|  5.44k|{
13655|  5.44k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  10.8k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13655:9): [True: 0, False: 5.44k]
  |  Branch (13655:35): [True: 0, False: 5.44k]
  ------------------
13656|      0|        _Pypegen_stack_overflow(p);
13657|      0|    }
13658|  5.44k|    if (p->error_indicator) {
  ------------------
  |  Branch (13658:9): [True: 0, False: 5.44k]
  ------------------
13659|      0|        p->level--;
13660|      0|        return NULL;
13661|      0|    }
13662|  5.44k|    expr_ty _res = NULL;
13663|  5.44k|    int _mark = p->mark;
13664|  5.44k|    expr_ty _prefix_6_result = NULL;
13665|  5.44k|    int _prefix_6_end = 0, _prefix_6_valid = 0;
13666|  5.44k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (13666:9): [True: 0, False: 5.44k]
  |  Branch (13666:31): [True: 0, False: 0]
  ------------------
13667|      0|        p->error_indicator = 1;
13668|      0|        p->level--;
13669|      0|        return NULL;
13670|      0|    }
13671|  5.44k|    int _start_lineno = p->tokens[_mark]->lineno;
13672|  5.44k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|  5.44k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 5.44k]
  |  |  ------------------
  ------------------
13673|  5.44k|    int _start_col_offset = p->tokens[_mark]->col_offset;
13674|  5.44k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|  5.44k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 5.44k]
  |  |  ------------------
  ------------------
13675|  5.44k|    { // sum '+' term
13676|  5.44k|        if (p->error_indicator) {
  ------------------
  |  Branch (13676:13): [True: 0, False: 5.44k]
  ------------------
13677|      0|            p->level--;
13678|      0|            return NULL;
13679|      0|        }
13680|  5.44k|        D(fprintf(stderr, "%*c> sum[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "sum '+' term"));
13681|  5.44k|        Token * _literal;
13682|  5.44k|        expr_ty a;
13683|  5.44k|        expr_ty b;
13684|  5.44k|        if (
13685|  5.44k|            (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
  ------------------
  |  Branch (13685:13): [True: 1.38k, False: 4.05k]
  |  Branch (13685:20): [True: 3.17k, False: 2.26k]
  |  Branch (13685:46): [True: 0, False: 3.17k]
  ------------------
13686|  1.38k|            &&
13687|  1.38k|            (_literal = _PyPegen_expect_token(p, 14))  // token='+'
  ------------------
  |  Branch (13687:13): [True: 8, False: 1.37k]
  ------------------
13688|      8|            &&
13689|      8|            (b = term_rule(p))  // term
  ------------------
  |  Branch (13689:13): [True: 8, False: 0]
  ------------------
13690|  5.44k|        )
13691|      8|        {
13692|      8|            D(fprintf(stderr, "%*c+ sum[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "sum '+' term"));
13693|      8|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
13694|      8|            if (_token == NULL) {
  ------------------
  |  Branch (13694:17): [True: 0, False: 8]
  ------------------
13695|      0|                p->level--;
13696|      0|                return NULL;
13697|      0|            }
13698|      8|            int _end_lineno = _token->end_lineno;
13699|      8|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|      8|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 8]
  |  |  ------------------
  ------------------
13700|      8|            int _end_col_offset = _token->end_col_offset;
13701|      8|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|      8|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 8]
  |  |  ------------------
  ------------------
13702|      8|            _res = _PyAST_BinOp ( a , Add , b , EXTRA );
  ------------------
  |  |  307|      8|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
13703|      8|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13703:18): [True: 0, False: 8]
  |  Branch (13703:34): [True: 0, False: 8]
  |  Branch (13703:57): [True: 0, False: 0]
  ------------------
13704|      0|                p->error_indicator = 1;
13705|      0|                p->level--;
13706|      0|                return NULL;
13707|      0|            }
13708|      8|            goto done;
13709|      8|        }
13710|  5.43k|        p->mark = _mark;
13711|  5.43k|        D(fprintf(stderr, "%*c%s sum[%d-%d]: %s failed!\n", p->level, ' ',
13712|  5.43k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "sum '+' term"));
13713|  5.43k|    }
13714|      0|    { // sum '-' term
13715|  5.43k|        if (p->error_indicator) {
  ------------------
  |  Branch (13715:13): [True: 0, False: 5.43k]
  ------------------
13716|      0|            p->level--;
13717|      0|            return NULL;
13718|      0|        }
13719|  5.43k|        D(fprintf(stderr, "%*c> sum[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "sum '-' term"));
13720|  5.43k|        Token * _literal;
13721|  5.43k|        expr_ty a;
13722|  5.43k|        expr_ty b;
13723|  5.43k|        if (
13724|  5.43k|            (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
  ------------------
  |  Branch (13724:13): [True: 1.37k, False: 4.05k]
  |  Branch (13724:20): [True: 3.17k, False: 2.25k]
  |  Branch (13724:46): [True: 3.17k, False: 0]
  ------------------
13725|  1.37k|            &&
13726|  1.37k|            (_literal = _PyPegen_expect_token(p, 15))  // token='-'
  ------------------
  |  Branch (13726:13): [True: 0, False: 1.37k]
  ------------------
13727|      0|            &&
13728|      0|            (b = term_rule(p))  // term
  ------------------
  |  Branch (13728:13): [True: 0, False: 0]
  ------------------
13729|  5.43k|        )
13730|      0|        {
13731|      0|            D(fprintf(stderr, "%*c+ sum[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "sum '-' term"));
13732|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
13733|      0|            if (_token == NULL) {
  ------------------
  |  Branch (13733:17): [True: 0, False: 0]
  ------------------
13734|      0|                p->level--;
13735|      0|                return NULL;
13736|      0|            }
13737|      0|            int _end_lineno = _token->end_lineno;
13738|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
13739|      0|            int _end_col_offset = _token->end_col_offset;
13740|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
13741|      0|            _res = _PyAST_BinOp ( a , Sub , b , EXTRA );
  ------------------
  |  |  307|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
13742|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13742:18): [True: 0, False: 0]
  |  Branch (13742:34): [True: 0, False: 0]
  |  Branch (13742:57): [True: 0, False: 0]
  ------------------
13743|      0|                p->error_indicator = 1;
13744|      0|                p->level--;
13745|      0|                return NULL;
13746|      0|            }
13747|      0|            goto done;
13748|      0|        }
13749|  5.43k|        p->mark = _mark;
13750|  5.43k|        D(fprintf(stderr, "%*c%s sum[%d-%d]: %s failed!\n", p->level, ' ',
13751|  5.43k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "sum '-' term"));
13752|  5.43k|    }
13753|  5.43k|    if (p->call_invalid_rules) { // invalid_arithmetic
  ------------------
  |  Branch (13753:9): [True: 2.25k, False: 3.17k]
  ------------------
13754|  2.25k|        if (p->error_indicator) {
  ------------------
  |  Branch (13754:13): [True: 0, False: 2.25k]
  ------------------
13755|      0|            p->level--;
13756|      0|            return NULL;
13757|      0|        }
13758|  2.25k|        D(fprintf(stderr, "%*c> sum[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_arithmetic"));
13759|  2.25k|        void *invalid_arithmetic_var;
13760|  2.25k|        if (
13761|  2.25k|            (invalid_arithmetic_var = invalid_arithmetic_rule(p))  // invalid_arithmetic
  ------------------
  |  Branch (13761:13): [True: 0, False: 2.25k]
  ------------------
13762|  2.25k|        )
13763|      0|        {
13764|      0|            D(fprintf(stderr, "%*c+ sum[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_arithmetic"));
13765|      0|            _res = invalid_arithmetic_var;
13766|      0|            goto done;
13767|      0|        }
13768|  2.25k|        p->mark = _mark;
13769|  2.25k|        D(fprintf(stderr, "%*c%s sum[%d-%d]: %s failed!\n", p->level, ' ',
13770|  2.25k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_arithmetic"));
13771|  2.25k|    }
13772|  5.43k|    { // term
13773|  5.43k|        if (p->error_indicator) {
  ------------------
  |  Branch (13773:13): [True: 0, False: 5.43k]
  ------------------
13774|      0|            p->level--;
13775|      0|            return NULL;
13776|      0|        }
13777|  5.43k|        D(fprintf(stderr, "%*c> sum[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "term"));
13778|  5.43k|        expr_ty term_var;
13779|  5.43k|        if (
13780|  5.43k|            (term_var = term_rule(p))  // term
  ------------------
  |  Branch (13780:13): [True: 2.74k, False: 2.68k]
  ------------------
13781|  5.43k|        )
13782|  2.74k|        {
13783|  2.74k|            D(fprintf(stderr, "%*c+ sum[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "term"));
13784|  2.74k|            _res = term_var;
13785|  2.74k|            goto done;
13786|  2.74k|        }
13787|  2.68k|        p->mark = _mark;
13788|  2.68k|        D(fprintf(stderr, "%*c%s sum[%d-%d]: %s failed!\n", p->level, ' ',
13789|  2.68k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "term"));
13790|  2.68k|    }
13791|  2.68k|    _res = NULL;
13792|  5.44k|  done:
13793|  5.44k|    p->level--;
13794|  5.44k|    return _res;
13795|  2.68k|}
parser.c:term_rule:
13808|  20.3k|{
13809|  20.3k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  40.7k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13809:9): [True: 0, False: 20.3k]
  |  Branch (13809:35): [True: 0, False: 20.3k]
  ------------------
13810|      0|        _Pypegen_stack_overflow(p);
13811|      0|    }
13812|  20.3k|    expr_ty _res = NULL;
13813|  20.3k|    if (_PyPegen_is_memoized(p, term_type, &_res)) {
  ------------------
  |  |  217|  20.3k|#define term_type 1128  // Left-recursive
  ------------------
  |  Branch (13813:9): [True: 16.2k, False: 4.06k]
  ------------------
13814|  16.2k|        p->level--;
13815|  16.2k|        return _res;
13816|  16.2k|    }
13817|  4.06k|    int _mark = p->mark;
13818|  4.06k|    int _resmark = p->mark;
13819|  4.06k|    Memo *_memo = _PyPegen_insert_memo_direct(p, _mark, term_type);
  ------------------
  |  |  217|  4.06k|#define term_type 1128  // Left-recursive
  ------------------
13820|  4.06k|    if (_memo == NULL) {
  ------------------
  |  Branch (13820:9): [True: 0, False: 4.06k]
  ------------------
13821|      0|        p->level--;
13822|      0|        return NULL;
13823|      0|    }
13824|  5.83k|    while (1) {
  ------------------
  |  Branch (13824:12): [True: 5.83k, Folded]
  ------------------
13825|  5.83k|        _memo->node = _res;
13826|  5.83k|        _memo->mark = p->mark;
13827|  5.83k|        p->mark = _mark;
13828|  5.83k|        void *_raw = term_raw(p);
13829|  5.83k|        if (p->error_indicator) {
  ------------------
  |  Branch (13829:13): [True: 571, False: 5.26k]
  ------------------
13830|    571|            p->level--;
13831|    571|            return NULL;
13832|    571|        }
13833|  5.26k|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (13833:13): [True: 2.11k, False: 3.15k]
  |  Branch (13833:29): [True: 1.38k, False: 1.76k]
  ------------------
13834|  3.49k|            break;
13835|  1.76k|        _resmark = p->mark;
13836|  1.76k|        _res = _raw;
13837|  1.76k|    }
13838|  3.49k|    p->mark = _resmark;
13839|  3.49k|    p->level--;
13840|  3.49k|    return _res;
13841|  4.06k|}
parser.c:term_raw:
13844|  5.83k|{
13845|  5.83k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  11.6k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13845:9): [True: 0, False: 5.83k]
  |  Branch (13845:35): [True: 0, False: 5.83k]
  ------------------
13846|      0|        _Pypegen_stack_overflow(p);
13847|      0|    }
13848|  5.83k|    if (p->error_indicator) {
  ------------------
  |  Branch (13848:9): [True: 0, False: 5.83k]
  ------------------
13849|      0|        p->level--;
13850|      0|        return NULL;
13851|      0|    }
13852|  5.83k|    expr_ty _res = NULL;
13853|  5.83k|    int _mark = p->mark;
13854|  5.83k|    expr_ty _prefix_7_result = NULL;
13855|  5.83k|    int _prefix_7_end = 0, _prefix_7_valid = 0;
13856|  5.83k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (13856:9): [True: 0, False: 5.83k]
  |  Branch (13856:31): [True: 0, False: 0]
  ------------------
13857|      0|        p->error_indicator = 1;
13858|      0|        p->level--;
13859|      0|        return NULL;
13860|      0|    }
13861|  5.83k|    int _start_lineno = p->tokens[_mark]->lineno;
13862|  5.83k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|  5.83k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 5.83k]
  |  |  ------------------
  ------------------
13863|  5.83k|    int _start_col_offset = p->tokens[_mark]->col_offset;
13864|  5.83k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|  5.83k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 5.83k]
  |  |  ------------------
  ------------------
13865|  5.83k|    { // term '*' factor
13866|  5.83k|        if (p->error_indicator) {
  ------------------
  |  Branch (13866:13): [True: 0, False: 5.83k]
  ------------------
13867|      0|            p->level--;
13868|      0|            return NULL;
13869|      0|        }
13870|  5.83k|        D(fprintf(stderr, "%*c> term[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "term '*' factor"));
13871|  5.83k|        Token * _literal;
13872|  5.83k|        expr_ty a;
13873|  5.83k|        expr_ty b;
13874|  5.83k|        if (
13875|  5.83k|            (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 (13875:13): [True: 1.76k, False: 4.06k]
  |  Branch (13875:20): [True: 3.38k, False: 2.45k]
  |  Branch (13875:46): [True: 0, False: 3.38k]
  ------------------
13876|  1.76k|            &&
13877|  1.76k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (13877:13): [True: 385, False: 1.38k]
  ------------------
13878|    385|            &&
13879|    385|            (b = factor_rule(p))  // factor
  ------------------
  |  Branch (13879:13): [True: 283, False: 102]
  ------------------
13880|  5.83k|        )
13881|    283|        {
13882|    283|            D(fprintf(stderr, "%*c+ term[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "term '*' factor"));
13883|    283|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
13884|    283|            if (_token == NULL) {
  ------------------
  |  Branch (13884:17): [True: 0, False: 283]
  ------------------
13885|      0|                p->level--;
13886|      0|                return NULL;
13887|      0|            }
13888|    283|            int _end_lineno = _token->end_lineno;
13889|    283|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|    283|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 283]
  |  |  ------------------
  ------------------
13890|    283|            int _end_col_offset = _token->end_col_offset;
13891|    283|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|    283|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 283]
  |  |  ------------------
  ------------------
13892|    283|            _res = _PyAST_BinOp ( a , Mult , b , EXTRA );
  ------------------
  |  |  307|    283|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
13893|    283|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13893:18): [True: 0, False: 283]
  |  Branch (13893:34): [True: 0, False: 283]
  |  Branch (13893:57): [True: 0, False: 0]
  ------------------
13894|      0|                p->error_indicator = 1;
13895|      0|                p->level--;
13896|      0|                return NULL;
13897|      0|            }
13898|    283|            goto done;
13899|    283|        }
13900|  5.55k|        p->mark = _mark;
13901|  5.55k|        D(fprintf(stderr, "%*c%s term[%d-%d]: %s failed!\n", p->level, ' ',
13902|  5.55k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "term '*' factor"));
13903|  5.55k|    }
13904|      0|    { // term '/' factor
13905|  5.55k|        if (p->error_indicator) {
  ------------------
  |  Branch (13905:13): [True: 102, False: 5.45k]
  ------------------
13906|    102|            p->level--;
13907|    102|            return NULL;
13908|    102|        }
13909|  5.45k|        D(fprintf(stderr, "%*c> term[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "term '/' factor"));
13910|  5.45k|        Token * _literal;
13911|  5.45k|        expr_ty a;
13912|  5.45k|        expr_ty b;
13913|  5.45k|        if (
13914|  5.45k|            (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 (13914:13): [True: 1.38k, False: 4.06k]
  |  Branch (13914:20): [True: 3.18k, False: 2.27k]
  |  Branch (13914:46): [True: 3.18k, False: 0]
  ------------------
13915|  1.38k|            &&
13916|  1.38k|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (13916:13): [True: 2, False: 1.38k]
  ------------------
13917|      2|            &&
13918|      2|            (b = factor_rule(p))  // factor
  ------------------
  |  Branch (13918:13): [True: 2, False: 0]
  ------------------
13919|  5.45k|        )
13920|      2|        {
13921|      2|            D(fprintf(stderr, "%*c+ term[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "term '/' factor"));
13922|      2|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
13923|      2|            if (_token == NULL) {
  ------------------
  |  Branch (13923:17): [True: 0, False: 2]
  ------------------
13924|      0|                p->level--;
13925|      0|                return NULL;
13926|      0|            }
13927|      2|            int _end_lineno = _token->end_lineno;
13928|      2|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|      2|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 2]
  |  |  ------------------
  ------------------
13929|      2|            int _end_col_offset = _token->end_col_offset;
13930|      2|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|      2|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 2]
  |  |  ------------------
  ------------------
13931|      2|            _res = _PyAST_BinOp ( a , Div , b , EXTRA );
  ------------------
  |  |  307|      2|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
13932|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13932:18): [True: 0, False: 2]
  |  Branch (13932:34): [True: 0, False: 2]
  |  Branch (13932:57): [True: 0, False: 0]
  ------------------
13933|      0|                p->error_indicator = 1;
13934|      0|                p->level--;
13935|      0|                return NULL;
13936|      0|            }
13937|      2|            goto done;
13938|      2|        }
13939|  5.44k|        p->mark = _mark;
13940|  5.44k|        D(fprintf(stderr, "%*c%s term[%d-%d]: %s failed!\n", p->level, ' ',
13941|  5.44k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "term '/' factor"));
13942|  5.44k|    }
13943|      0|    { // term '//' factor
13944|  5.44k|        if (p->error_indicator) {
  ------------------
  |  Branch (13944:13): [True: 0, False: 5.44k]
  ------------------
13945|      0|            p->level--;
13946|      0|            return NULL;
13947|      0|        }
13948|  5.44k|        D(fprintf(stderr, "%*c> term[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "term '//' factor"));
13949|  5.44k|        Token * _literal;
13950|  5.44k|        expr_ty a;
13951|  5.44k|        expr_ty b;
13952|  5.44k|        if (
13953|  5.44k|            (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 (13953:13): [True: 1.38k, False: 4.06k]
  |  Branch (13953:20): [True: 3.17k, False: 2.27k]
  |  Branch (13953:46): [True: 3.17k, False: 0]
  ------------------
13954|  1.38k|            &&
13955|  1.38k|            (_literal = _PyPegen_expect_token(p, 47))  // token='//'
  ------------------
  |  Branch (13955:13): [True: 0, False: 1.38k]
  ------------------
13956|      0|            &&
13957|      0|            (b = factor_rule(p))  // factor
  ------------------
  |  Branch (13957:13): [True: 0, False: 0]
  ------------------
13958|  5.44k|        )
13959|      0|        {
13960|      0|            D(fprintf(stderr, "%*c+ term[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "term '//' factor"));
13961|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
13962|      0|            if (_token == NULL) {
  ------------------
  |  Branch (13962:17): [True: 0, False: 0]
  ------------------
13963|      0|                p->level--;
13964|      0|                return NULL;
13965|      0|            }
13966|      0|            int _end_lineno = _token->end_lineno;
13967|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
13968|      0|            int _end_col_offset = _token->end_col_offset;
13969|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
13970|      0|            _res = _PyAST_BinOp ( a , FloorDiv , b , EXTRA );
  ------------------
  |  |  307|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
13971|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13971:18): [True: 0, False: 0]
  |  Branch (13971:34): [True: 0, False: 0]
  |  Branch (13971:57): [True: 0, False: 0]
  ------------------
13972|      0|                p->error_indicator = 1;
13973|      0|                p->level--;
13974|      0|                return NULL;
13975|      0|            }
13976|      0|            goto done;
13977|      0|        }
13978|  5.44k|        p->mark = _mark;
13979|  5.44k|        D(fprintf(stderr, "%*c%s term[%d-%d]: %s failed!\n", p->level, ' ',
13980|  5.44k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "term '//' factor"));
13981|  5.44k|    }
13982|      0|    { // term '%' factor
13983|  5.44k|        if (p->error_indicator) {
  ------------------
  |  Branch (13983:13): [True: 0, False: 5.44k]
  ------------------
13984|      0|            p->level--;
13985|      0|            return NULL;
13986|      0|        }
13987|  5.44k|        D(fprintf(stderr, "%*c> term[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "term '%' factor"));
13988|  5.44k|        Token * _literal;
13989|  5.44k|        expr_ty a;
13990|  5.44k|        expr_ty b;
13991|  5.44k|        if (
13992|  5.44k|            (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 (13992:13): [True: 1.38k, False: 4.06k]
  |  Branch (13992:20): [True: 3.17k, False: 2.27k]
  |  Branch (13992:46): [True: 3.17k, False: 0]
  ------------------
13993|  1.38k|            &&
13994|  1.38k|            (_literal = _PyPegen_expect_token(p, 24))  // token='%'
  ------------------
  |  Branch (13994:13): [True: 0, False: 1.38k]
  ------------------
13995|      0|            &&
13996|      0|            (b = factor_rule(p))  // factor
  ------------------
  |  Branch (13996:13): [True: 0, False: 0]
  ------------------
13997|  5.44k|        )
13998|      0|        {
13999|      0|            D(fprintf(stderr, "%*c+ term[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "term '%' factor"));
14000|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14001|      0|            if (_token == NULL) {
  ------------------
  |  Branch (14001:17): [True: 0, False: 0]
  ------------------
14002|      0|                p->level--;
14003|      0|                return NULL;
14004|      0|            }
14005|      0|            int _end_lineno = _token->end_lineno;
14006|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14007|      0|            int _end_col_offset = _token->end_col_offset;
14008|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14009|      0|            _res = _PyAST_BinOp ( a , Mod , b , EXTRA );
  ------------------
  |  |  307|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14010|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14010:18): [True: 0, False: 0]
  |  Branch (14010:34): [True: 0, False: 0]
  |  Branch (14010:57): [True: 0, False: 0]
  ------------------
14011|      0|                p->error_indicator = 1;
14012|      0|                p->level--;
14013|      0|                return NULL;
14014|      0|            }
14015|      0|            goto done;
14016|      0|        }
14017|  5.44k|        p->mark = _mark;
14018|  5.44k|        D(fprintf(stderr, "%*c%s term[%d-%d]: %s failed!\n", p->level, ' ',
14019|  5.44k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "term '%' factor"));
14020|  5.44k|    }
14021|      0|    { // term '@' factor
14022|  5.44k|        if (p->error_indicator) {
  ------------------
  |  Branch (14022:13): [True: 0, False: 5.44k]
  ------------------
14023|      0|            p->level--;
14024|      0|            return NULL;
14025|      0|        }
14026|  5.44k|        D(fprintf(stderr, "%*c> term[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "term '@' factor"));
14027|  5.44k|        Token * _literal;
14028|  5.44k|        expr_ty a;
14029|  5.44k|        expr_ty b;
14030|  5.44k|        if (
14031|  5.44k|            (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 (14031:13): [True: 1.38k, False: 4.06k]
  |  Branch (14031:20): [True: 3.17k, False: 2.27k]
  |  Branch (14031:46): [True: 3.17k, False: 0]
  ------------------
14032|  1.38k|            &&
14033|  1.38k|            (_literal = _PyPegen_expect_token(p, 49))  // token='@'
  ------------------
  |  Branch (14033:13): [True: 0, False: 1.38k]
  ------------------
14034|      0|            &&
14035|      0|            (b = factor_rule(p))  // factor
  ------------------
  |  Branch (14035:13): [True: 0, False: 0]
  ------------------
14036|  5.44k|        )
14037|      0|        {
14038|      0|            D(fprintf(stderr, "%*c+ term[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "term '@' factor"));
14039|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14040|      0|            if (_token == NULL) {
  ------------------
  |  Branch (14040:17): [True: 0, False: 0]
  ------------------
14041|      0|                p->level--;
14042|      0|                return NULL;
14043|      0|            }
14044|      0|            int _end_lineno = _token->end_lineno;
14045|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14046|      0|            int _end_col_offset = _token->end_col_offset;
14047|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14048|      0|            _res = CHECK_VERSION ( expr_ty , 5 , "The '@' operator is" , _PyAST_BinOp ( a , MatMult , b , EXTRA ) );
  ------------------
  |  |  345|      0|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
14049|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14049:18): [True: 0, False: 0]
  |  Branch (14049:34): [True: 0, False: 0]
  |  Branch (14049:57): [True: 0, False: 0]
  ------------------
14050|      0|                p->error_indicator = 1;
14051|      0|                p->level--;
14052|      0|                return NULL;
14053|      0|            }
14054|      0|            goto done;
14055|      0|        }
14056|  5.44k|        p->mark = _mark;
14057|  5.44k|        D(fprintf(stderr, "%*c%s term[%d-%d]: %s failed!\n", p->level, ' ',
14058|  5.44k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "term '@' factor"));
14059|  5.44k|    }
14060|      0|    { // factor
14061|  5.44k|        if (p->error_indicator) {
  ------------------
  |  Branch (14061:13): [True: 0, False: 5.44k]
  ------------------
14062|      0|            p->level--;
14063|      0|            return NULL;
14064|      0|        }
14065|  5.44k|        D(fprintf(stderr, "%*c> term[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "factor"));
14066|  5.44k|        expr_ty factor_var;
14067|  5.44k|        if (
14068|  5.44k|            (factor_var = factor_rule(p))  // factor
  ------------------
  |  Branch (14068:13): [True: 2.86k, False: 2.58k]
  ------------------
14069|  5.44k|        )
14070|  2.86k|        {
14071|  2.86k|            D(fprintf(stderr, "%*c+ term[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "factor"));
14072|  2.86k|            _res = factor_var;
14073|  2.86k|            goto done;
14074|  2.86k|        }
14075|  2.58k|        p->mark = _mark;
14076|  2.58k|        D(fprintf(stderr, "%*c%s term[%d-%d]: %s failed!\n", p->level, ' ',
14077|  2.58k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "factor"));
14078|  2.58k|    }
14079|  2.58k|    _res = NULL;
14080|  5.73k|  done:
14081|  5.73k|    p->level--;
14082|  5.73k|    return _res;
14083|  2.58k|}
parser.c:factor_rule:
14088|  5.85k|{
14089|  5.85k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  11.7k|#  define MAXSTACK 6000
  ------------------
  |  Branch (14089:9): [True: 0, False: 5.85k]
  |  Branch (14089:35): [True: 0, False: 5.85k]
  ------------------
14090|      0|        _Pypegen_stack_overflow(p);
14091|      0|    }
14092|  5.85k|    if (p->error_indicator) {
  ------------------
  |  Branch (14092:9): [True: 0, False: 5.85k]
  ------------------
14093|      0|        p->level--;
14094|      0|        return NULL;
14095|      0|    }
14096|  5.85k|    expr_ty _res = NULL;
14097|  5.85k|    if (_PyPegen_is_memoized(p, factor_type, &_res)) {
  ------------------
  |  |  218|  5.85k|#define factor_type 1129
  ------------------
  |  Branch (14097:9): [True: 1.43k, False: 4.42k]
  ------------------
14098|  1.43k|        p->level--;
14099|  1.43k|        return _res;
14100|  1.43k|    }
14101|  4.42k|    int _mark = p->mark;
14102|  4.42k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (14102:9): [True: 0, False: 4.42k]
  |  Branch (14102:31): [True: 0, False: 0]
  ------------------
14103|      0|        p->error_indicator = 1;
14104|      0|        p->level--;
14105|      0|        return NULL;
14106|      0|    }
14107|  4.42k|    int _start_lineno = p->tokens[_mark]->lineno;
14108|  4.42k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|  4.42k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 4.42k]
  |  |  ------------------
  ------------------
14109|  4.42k|    int _start_col_offset = p->tokens[_mark]->col_offset;
14110|  4.42k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|  4.42k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 4.42k]
  |  |  ------------------
  ------------------
14111|  4.42k|    { // '+' factor
14112|  4.42k|        if (p->error_indicator) {
  ------------------
  |  Branch (14112:13): [True: 0, False: 4.42k]
  ------------------
14113|      0|            p->level--;
14114|      0|            return NULL;
14115|      0|        }
14116|  4.42k|        D(fprintf(stderr, "%*c> factor[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'+' factor"));
14117|  4.42k|        Token * _literal;
14118|  4.42k|        expr_ty a;
14119|  4.42k|        if (
14120|  4.42k|            (_literal = _PyPegen_expect_token(p, 14))  // token='+'
  ------------------
  |  Branch (14120:13): [True: 0, False: 4.42k]
  ------------------
14121|      0|            &&
14122|      0|            (a = factor_rule(p))  // factor
  ------------------
  |  Branch (14122:13): [True: 0, False: 0]
  ------------------
14123|  4.42k|        )
14124|      0|        {
14125|      0|            D(fprintf(stderr, "%*c+ factor[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'+' factor"));
14126|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14127|      0|            if (_token == NULL) {
  ------------------
  |  Branch (14127:17): [True: 0, False: 0]
  ------------------
14128|      0|                p->level--;
14129|      0|                return NULL;
14130|      0|            }
14131|      0|            int _end_lineno = _token->end_lineno;
14132|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14133|      0|            int _end_col_offset = _token->end_col_offset;
14134|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14135|      0|            _res = _PyAST_UnaryOp ( UAdd , a , EXTRA );
  ------------------
  |  |  307|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14136|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14136:18): [True: 0, False: 0]
  |  Branch (14136:34): [True: 0, False: 0]
  |  Branch (14136:57): [True: 0, False: 0]
  ------------------
14137|      0|                p->error_indicator = 1;
14138|      0|                p->level--;
14139|      0|                return NULL;
14140|      0|            }
14141|      0|            goto done;
14142|      0|        }
14143|  4.42k|        p->mark = _mark;
14144|  4.42k|        D(fprintf(stderr, "%*c%s factor[%d-%d]: %s failed!\n", p->level, ' ',
14145|  4.42k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'+' factor"));
14146|  4.42k|    }
14147|      0|    { // '-' factor
14148|  4.42k|        if (p->error_indicator) {
  ------------------
  |  Branch (14148:13): [True: 0, False: 4.42k]
  ------------------
14149|      0|            p->level--;
14150|      0|            return NULL;
14151|      0|        }
14152|  4.42k|        D(fprintf(stderr, "%*c> factor[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'-' factor"));
14153|  4.42k|        Token * _literal;
14154|  4.42k|        expr_ty a;
14155|  4.42k|        if (
14156|  4.42k|            (_literal = _PyPegen_expect_token(p, 15))  // token='-'
  ------------------
  |  Branch (14156:13): [True: 8, False: 4.41k]
  ------------------
14157|      8|            &&
14158|      8|            (a = factor_rule(p))  // factor
  ------------------
  |  Branch (14158:13): [True: 8, False: 0]
  ------------------
14159|  4.42k|        )
14160|      8|        {
14161|      8|            D(fprintf(stderr, "%*c+ factor[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'-' factor"));
14162|      8|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14163|      8|            if (_token == NULL) {
  ------------------
  |  Branch (14163:17): [True: 0, False: 8]
  ------------------
14164|      0|                p->level--;
14165|      0|                return NULL;
14166|      0|            }
14167|      8|            int _end_lineno = _token->end_lineno;
14168|      8|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|      8|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 8]
  |  |  ------------------
  ------------------
14169|      8|            int _end_col_offset = _token->end_col_offset;
14170|      8|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|      8|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 8]
  |  |  ------------------
  ------------------
14171|      8|            _res = _PyAST_UnaryOp ( USub , a , EXTRA );
  ------------------
  |  |  307|      8|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14172|      8|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14172:18): [True: 0, False: 8]
  |  Branch (14172:34): [True: 0, False: 8]
  |  Branch (14172:57): [True: 0, False: 0]
  ------------------
14173|      0|                p->error_indicator = 1;
14174|      0|                p->level--;
14175|      0|                return NULL;
14176|      0|            }
14177|      8|            goto done;
14178|      8|        }
14179|  4.41k|        p->mark = _mark;
14180|  4.41k|        D(fprintf(stderr, "%*c%s factor[%d-%d]: %s failed!\n", p->level, ' ',
14181|  4.41k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'-' factor"));
14182|  4.41k|    }
14183|      0|    { // '~' factor
14184|  4.41k|        if (p->error_indicator) {
  ------------------
  |  Branch (14184:13): [True: 0, False: 4.41k]
  ------------------
14185|      0|            p->level--;
14186|      0|            return NULL;
14187|      0|        }
14188|  4.41k|        D(fprintf(stderr, "%*c> factor[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'~' factor"));
14189|  4.41k|        Token * _literal;
14190|  4.41k|        expr_ty a;
14191|  4.41k|        if (
14192|  4.41k|            (_literal = _PyPegen_expect_token(p, 31))  // token='~'
  ------------------
  |  Branch (14192:13): [True: 0, False: 4.41k]
  ------------------
14193|      0|            &&
14194|      0|            (a = factor_rule(p))  // factor
  ------------------
  |  Branch (14194:13): [True: 0, False: 0]
  ------------------
14195|  4.41k|        )
14196|      0|        {
14197|      0|            D(fprintf(stderr, "%*c+ factor[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'~' factor"));
14198|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14199|      0|            if (_token == NULL) {
  ------------------
  |  Branch (14199:17): [True: 0, False: 0]
  ------------------
14200|      0|                p->level--;
14201|      0|                return NULL;
14202|      0|            }
14203|      0|            int _end_lineno = _token->end_lineno;
14204|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14205|      0|            int _end_col_offset = _token->end_col_offset;
14206|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14207|      0|            _res = _PyAST_UnaryOp ( Invert , a , EXTRA );
  ------------------
  |  |  307|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14208|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14208:18): [True: 0, False: 0]
  |  Branch (14208:34): [True: 0, False: 0]
  |  Branch (14208:57): [True: 0, False: 0]
  ------------------
14209|      0|                p->error_indicator = 1;
14210|      0|                p->level--;
14211|      0|                return NULL;
14212|      0|            }
14213|      0|            goto done;
14214|      0|        }
14215|  4.41k|        p->mark = _mark;
14216|  4.41k|        D(fprintf(stderr, "%*c%s factor[%d-%d]: %s failed!\n", p->level, ' ',
14217|  4.41k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'~' factor"));
14218|  4.41k|    }
14219|      0|    { // power
14220|  4.41k|        if (p->error_indicator) {
  ------------------
  |  Branch (14220:13): [True: 0, False: 4.41k]
  ------------------
14221|      0|            p->level--;
14222|      0|            return NULL;
14223|      0|        }
14224|  4.41k|        D(fprintf(stderr, "%*c> factor[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "power"));
14225|  4.41k|        expr_ty power_var;
14226|  4.41k|        if (
14227|  4.41k|            (power_var = power_rule(p))  // power
  ------------------
  |  Branch (14227:13): [True: 1.73k, False: 2.68k]
  ------------------
14228|  4.41k|        )
14229|  1.73k|        {
14230|  1.73k|            D(fprintf(stderr, "%*c+ factor[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "power"));
14231|  1.73k|            _res = power_var;
14232|  1.73k|            goto done;
14233|  1.73k|        }
14234|  2.68k|        p->mark = _mark;
14235|  2.68k|        D(fprintf(stderr, "%*c%s factor[%d-%d]: %s failed!\n", p->level, ' ',
14236|  2.68k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "power"));
14237|  2.68k|    }
14238|  2.68k|    if (p->call_invalid_rules) { // invalid_factor
  ------------------
  |  Branch (14238:9): [True: 1.20k, False: 1.47k]
  ------------------
14239|  1.20k|        if (p->error_indicator) {
  ------------------
  |  Branch (14239:13): [True: 465, False: 743]
  ------------------
14240|    465|            p->level--;
14241|    465|            return NULL;
14242|    465|        }
14243|    743|        D(fprintf(stderr, "%*c> factor[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_factor"));
14244|    743|        void *invalid_factor_var;
14245|    743|        if (
14246|    743|            (invalid_factor_var = invalid_factor_rule(p))  // invalid_factor
  ------------------
  |  Branch (14246:13): [True: 0, False: 743]
  ------------------
14247|    743|        )
14248|      0|        {
14249|      0|            D(fprintf(stderr, "%*c+ factor[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_factor"));
14250|      0|            _res = invalid_factor_var;
14251|      0|            goto done;
14252|      0|        }
14253|    743|        p->mark = _mark;
14254|    743|        D(fprintf(stderr, "%*c%s factor[%d-%d]: %s failed!\n", p->level, ' ',
14255|    743|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_factor"));
14256|    743|    }
14257|  2.22k|    _res = NULL;
14258|  3.96k|  done:
14259|  3.96k|    _PyPegen_insert_memo(p, _mark, factor_type, _res);
  ------------------
  |  |  218|  3.96k|#define factor_type 1129
  ------------------
14260|  3.96k|    p->level--;
14261|  3.96k|    return _res;
14262|  2.22k|}
parser.c:power_rule:
14267|  4.41k|{
14268|  4.41k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  8.83k|#  define MAXSTACK 6000
  ------------------
  |  Branch (14268:9): [True: 0, False: 4.41k]
  |  Branch (14268:35): [True: 0, False: 4.41k]
  ------------------
14269|      0|        _Pypegen_stack_overflow(p);
14270|      0|    }
14271|  4.41k|    if (p->error_indicator) {
  ------------------
  |  Branch (14271:9): [True: 0, False: 4.41k]
  ------------------
14272|      0|        p->level--;
14273|      0|        return NULL;
14274|      0|    }
14275|  4.41k|    expr_ty _res = NULL;
14276|  4.41k|    int _mark = p->mark;
14277|  4.41k|    expr_ty _prefix_8_result = NULL;
14278|  4.41k|    int _prefix_8_end = 0, _prefix_8_valid = 0;
14279|  4.41k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (14279:9): [True: 0, False: 4.41k]
  |  Branch (14279:31): [True: 0, False: 0]
  ------------------
14280|      0|        p->error_indicator = 1;
14281|      0|        p->level--;
14282|      0|        return NULL;
14283|      0|    }
14284|  4.41k|    int _start_lineno = p->tokens[_mark]->lineno;
14285|  4.41k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|  4.41k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 4.41k]
  |  |  ------------------
  ------------------
14286|  4.41k|    int _start_col_offset = p->tokens[_mark]->col_offset;
14287|  4.41k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|  4.41k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 4.41k]
  |  |  ------------------
  ------------------
14288|  4.41k|    { // await_primary '**' factor
14289|  4.41k|        if (p->error_indicator) {
  ------------------
  |  Branch (14289:13): [True: 0, False: 4.41k]
  ------------------
14290|      0|            p->level--;
14291|      0|            return NULL;
14292|      0|        }
14293|  4.41k|        D(fprintf(stderr, "%*c> power[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "await_primary '**' factor"));
14294|  4.41k|        Token * _literal;
14295|  4.41k|        expr_ty a;
14296|  4.41k|        expr_ty b;
14297|  4.41k|        if (
14298|  4.41k|            (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 (14298:13): [True: 1.73k, False: 2.68k]
  |  Branch (14298:20): [True: 2.53k, False: 1.87k]
  |  Branch (14298:46): [True: 0, False: 2.53k]
  ------------------
14299|  1.73k|            &&
14300|  1.73k|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (14300:13): [True: 14, False: 1.71k]
  ------------------
14301|     14|            &&
14302|     14|            (b = factor_rule(p))  // factor
  ------------------
  |  Branch (14302:13): [True: 14, False: 0]
  ------------------
14303|  4.41k|        )
14304|     14|        {
14305|     14|            D(fprintf(stderr, "%*c+ power[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "await_primary '**' factor"));
14306|     14|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14307|     14|            if (_token == NULL) {
  ------------------
  |  Branch (14307:17): [True: 0, False: 14]
  ------------------
14308|      0|                p->level--;
14309|      0|                return NULL;
14310|      0|            }
14311|     14|            int _end_lineno = _token->end_lineno;
14312|     14|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|     14|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 14]
  |  |  ------------------
  ------------------
14313|     14|            int _end_col_offset = _token->end_col_offset;
14314|     14|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|     14|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 14]
  |  |  ------------------
  ------------------
14315|     14|            _res = _PyAST_BinOp ( a , Pow , b , EXTRA );
  ------------------
  |  |  307|     14|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14316|     14|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14316:18): [True: 0, False: 14]
  |  Branch (14316:34): [True: 0, False: 14]
  |  Branch (14316:57): [True: 0, False: 0]
  ------------------
14317|      0|                p->error_indicator = 1;
14318|      0|                p->level--;
14319|      0|                return NULL;
14320|      0|            }
14321|     14|            goto done;
14322|     14|        }
14323|  4.40k|        p->mark = _mark;
14324|  4.40k|        D(fprintf(stderr, "%*c%s power[%d-%d]: %s failed!\n", p->level, ' ',
14325|  4.40k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "await_primary '**' factor"));
14326|  4.40k|    }
14327|      0|    { // await_primary
14328|  4.40k|        if (p->error_indicator) {
  ------------------
  |  Branch (14328:13): [True: 571, False: 3.83k]
  ------------------
14329|    571|            p->level--;
14330|    571|            return NULL;
14331|    571|        }
14332|  3.83k|        D(fprintf(stderr, "%*c> power[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "await_primary"));
14333|  3.83k|        expr_ty await_primary_var;
14334|  3.83k|        if (
14335|  3.83k|            (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 (14335:13): [True: 1.71k, False: 2.11k]
  |  Branch (14335:36): [True: 2.42k, False: 1.40k]
  |  Branch (14335:62): [True: 2.42k, False: 0]
  ------------------
14336|  3.83k|        )
14337|  1.71k|        {
14338|  1.71k|            D(fprintf(stderr, "%*c+ power[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "await_primary"));
14339|  1.71k|            _res = await_primary_var;
14340|  1.71k|            goto done;
14341|  1.71k|        }
14342|  2.11k|        p->mark = _mark;
14343|  2.11k|        D(fprintf(stderr, "%*c%s power[%d-%d]: %s failed!\n", p->level, ' ',
14344|  2.11k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "await_primary"));
14345|  2.11k|    }
14346|  2.11k|    _res = NULL;
14347|  3.84k|  done:
14348|  3.84k|    p->level--;
14349|  3.84k|    return _res;
14350|  2.11k|}
parser.c:await_primary_rule:
14355|  5.82k|{
14356|  5.82k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  11.6k|#  define MAXSTACK 6000
  ------------------
  |  Branch (14356:9): [True: 0, False: 5.82k]
  |  Branch (14356:35): [True: 0, False: 5.82k]
  ------------------
14357|      0|        _Pypegen_stack_overflow(p);
14358|      0|    }
14359|  5.82k|    if (p->error_indicator) {
  ------------------
  |  Branch (14359:9): [True: 0, False: 5.82k]
  ------------------
14360|      0|        p->level--;
14361|      0|        return NULL;
14362|      0|    }
14363|  5.82k|    expr_ty _res = NULL;
14364|  5.82k|    if (_PyPegen_is_memoized(p, await_primary_type, &_res)) {
  ------------------
  |  |  220|  5.82k|#define await_primary_type 1131
  ------------------
  |  Branch (14364:9): [True: 1.40k, False: 4.41k]
  ------------------
14365|  1.40k|        p->level--;
14366|  1.40k|        return _res;
14367|  1.40k|    }
14368|  4.41k|    int _mark = p->mark;
14369|  4.41k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (14369:9): [True: 0, False: 4.41k]
  |  Branch (14369:31): [True: 0, False: 0]
  ------------------
14370|      0|        p->error_indicator = 1;
14371|      0|        p->level--;
14372|      0|        return NULL;
14373|      0|    }
14374|  4.41k|    int _start_lineno = p->tokens[_mark]->lineno;
14375|  4.41k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|  4.41k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 4.41k]
  |  |  ------------------
  ------------------
14376|  4.41k|    int _start_col_offset = p->tokens[_mark]->col_offset;
14377|  4.41k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|  4.41k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 4.41k]
  |  |  ------------------
  ------------------
14378|  4.41k|    { // 'await' primary
14379|  4.41k|        if (p->error_indicator) {
  ------------------
  |  Branch (14379:13): [True: 0, False: 4.41k]
  ------------------
14380|      0|            p->level--;
14381|      0|            return NULL;
14382|      0|        }
14383|  4.41k|        D(fprintf(stderr, "%*c> await_primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'await' primary"));
14384|  4.41k|        Token * _keyword;
14385|  4.41k|        expr_ty a;
14386|  4.41k|        if (
14387|  4.41k|            (_keyword = _PyPegen_expect_token(p, 598))  // token='await'
  ------------------
  |  Branch (14387:13): [True: 0, False: 4.41k]
  ------------------
14388|      0|            &&
14389|      0|            (a = primary_rule(p))  // primary
  ------------------
  |  Branch (14389:13): [True: 0, False: 0]
  ------------------
14390|  4.41k|        )
14391|      0|        {
14392|      0|            D(fprintf(stderr, "%*c+ await_primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'await' primary"));
14393|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14394|      0|            if (_token == NULL) {
  ------------------
  |  Branch (14394:17): [True: 0, False: 0]
  ------------------
14395|      0|                p->level--;
14396|      0|                return NULL;
14397|      0|            }
14398|      0|            int _end_lineno = _token->end_lineno;
14399|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14400|      0|            int _end_col_offset = _token->end_col_offset;
14401|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14402|      0|            _res = CHECK_VERSION ( expr_ty , 5 , "Await expressions are" , _PyAST_Await ( a , EXTRA ) );
  ------------------
  |  |  345|      0|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
14403|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14403:18): [True: 0, False: 0]
  |  Branch (14403:34): [True: 0, False: 0]
  |  Branch (14403:57): [True: 0, False: 0]
  ------------------
14404|      0|                p->error_indicator = 1;
14405|      0|                p->level--;
14406|      0|                return NULL;
14407|      0|            }
14408|      0|            goto done;
14409|      0|        }
14410|  4.41k|        p->mark = _mark;
14411|  4.41k|        D(fprintf(stderr, "%*c%s await_primary[%d-%d]: %s failed!\n", p->level, ' ',
14412|  4.41k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'await' primary"));
14413|  4.41k|    }
14414|      0|    { // primary
14415|  4.41k|        if (p->error_indicator) {
  ------------------
  |  Branch (14415:13): [True: 0, False: 4.41k]
  ------------------
14416|      0|            p->level--;
14417|      0|            return NULL;
14418|      0|        }
14419|  4.41k|        D(fprintf(stderr, "%*c> await_primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "primary"));
14420|  4.41k|        expr_ty primary_var;
14421|  4.41k|        if (
14422|  4.41k|            (primary_var = primary_rule(p))  // primary
  ------------------
  |  Branch (14422:13): [True: 1.73k, False: 2.68k]
  ------------------
14423|  4.41k|        )
14424|  1.73k|        {
14425|  1.73k|            D(fprintf(stderr, "%*c+ await_primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "primary"));
14426|  1.73k|            _res = primary_var;
14427|  1.73k|            goto done;
14428|  1.73k|        }
14429|  2.68k|        p->mark = _mark;
14430|  2.68k|        D(fprintf(stderr, "%*c%s await_primary[%d-%d]: %s failed!\n", p->level, ' ',
14431|  2.68k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "primary"));
14432|  2.68k|    }
14433|  2.68k|    _res = NULL;
14434|  4.41k|  done:
14435|  4.41k|    _PyPegen_insert_memo(p, _mark, await_primary_type, _res);
  ------------------
  |  |  220|  4.41k|#define await_primary_type 1131
  ------------------
14436|  4.41k|    p->level--;
14437|  4.41k|    return _res;
14438|  2.68k|}
parser.c:primary_rule:
14450|  19.0k|{
14451|  19.0k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  38.0k|#  define MAXSTACK 6000
  ------------------
  |  Branch (14451:9): [True: 0, False: 19.0k]
  |  Branch (14451:35): [True: 0, False: 19.0k]
  ------------------
14452|      0|        _Pypegen_stack_overflow(p);
14453|      0|    }
14454|  19.0k|    expr_ty _res = NULL;
14455|  19.0k|    if (_PyPegen_is_memoized(p, primary_type, &_res)) {
  ------------------
  |  |  221|  19.0k|#define primary_type 1132  // Left-recursive
  ------------------
  |  Branch (14455:9): [True: 14.5k, False: 4.41k]
  ------------------
14456|  14.5k|        p->level--;
14457|  14.5k|        return _res;
14458|  14.5k|    }
14459|  4.41k|    int _mark = p->mark;
14460|  4.41k|    int _resmark = p->mark;
14461|  4.41k|    Memo *_memo = _PyPegen_insert_memo_direct(p, _mark, primary_type);
  ------------------
  |  |  221|  4.41k|#define primary_type 1132  // Left-recursive
  ------------------
14462|  4.41k|    if (_memo == NULL) {
  ------------------
  |  Branch (14462:9): [True: 0, False: 4.41k]
  ------------------
14463|      0|        p->level--;
14464|      0|        return NULL;
14465|      0|    }
14466|  6.58k|    while (1) {
  ------------------
  |  Branch (14466:12): [True: 6.58k, Folded]
  ------------------
14467|  6.58k|        _memo->node = _res;
14468|  6.58k|        _memo->mark = p->mark;
14469|  6.58k|        p->mark = _mark;
14470|  6.58k|        void *_raw = primary_raw(p);
14471|  6.58k|        if (p->error_indicator) {
  ------------------
  |  Branch (14471:13): [True: 571, False: 6.00k]
  ------------------
14472|    571|            p->level--;
14473|    571|            return NULL;
14474|    571|        }
14475|  6.00k|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (14475:13): [True: 2.11k, False: 3.89k]
  |  Branch (14475:29): [True: 1.73k, False: 2.16k]
  ------------------
14476|  3.84k|            break;
14477|  2.16k|        _resmark = p->mark;
14478|  2.16k|        _res = _raw;
14479|  2.16k|    }
14480|  3.84k|    p->mark = _resmark;
14481|  3.84k|    p->level--;
14482|  3.84k|    return _res;
14483|  4.41k|}
parser.c:primary_raw:
14486|  6.58k|{
14487|  6.58k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  13.1k|#  define MAXSTACK 6000
  ------------------
  |  Branch (14487:9): [True: 0, False: 6.58k]
  |  Branch (14487:35): [True: 0, False: 6.58k]
  ------------------
14488|      0|        _Pypegen_stack_overflow(p);
14489|      0|    }
14490|  6.58k|    if (p->error_indicator) {
  ------------------
  |  Branch (14490:9): [True: 0, False: 6.58k]
  ------------------
14491|      0|        p->level--;
14492|      0|        return NULL;
14493|      0|    }
14494|  6.58k|    expr_ty _res = NULL;
14495|  6.58k|    int _mark = p->mark;
14496|  6.58k|    expr_ty _prefix_9_result = NULL;
14497|  6.58k|    int _prefix_9_end = 0, _prefix_9_valid = 0;
14498|  6.58k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (14498:9): [True: 0, False: 6.58k]
  |  Branch (14498:31): [True: 0, False: 0]
  ------------------
14499|      0|        p->error_indicator = 1;
14500|      0|        p->level--;
14501|      0|        return NULL;
14502|      0|    }
14503|  6.58k|    int _start_lineno = p->tokens[_mark]->lineno;
14504|  6.58k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|  6.58k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 6.58k]
  |  |  ------------------
  ------------------
14505|  6.58k|    int _start_col_offset = p->tokens[_mark]->col_offset;
14506|  6.58k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|  6.58k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 6.58k]
  |  |  ------------------
  ------------------
14507|  6.58k|    { // primary '.' NAME
14508|  6.58k|        if (p->error_indicator) {
  ------------------
  |  Branch (14508:13): [True: 0, False: 6.58k]
  ------------------
14509|      0|            p->level--;
14510|      0|            return NULL;
14511|      0|        }
14512|  6.58k|        D(fprintf(stderr, "%*c> primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "primary '.' NAME"));
14513|  6.58k|        Token * _literal;
14514|  6.58k|        expr_ty a;
14515|  6.58k|        expr_ty b;
14516|  6.58k|        if (
14517|  6.58k|            (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 (14517:13): [True: 2.16k, False: 4.41k]
  |  Branch (14517:20): [True: 3.67k, False: 2.90k]
  |  Branch (14517:46): [True: 0, False: 3.67k]
  ------------------
14518|  2.16k|            &&
14519|  2.16k|            (_literal = _PyPegen_expect_token(p, 23))  // token='.'
  ------------------
  |  Branch (14519:13): [True: 0, False: 2.16k]
  ------------------
14520|      0|            &&
14521|      0|            (b = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (14521:13): [True: 0, False: 0]
  ------------------
14522|  6.58k|        )
14523|      0|        {
14524|      0|            D(fprintf(stderr, "%*c+ primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "primary '.' NAME"));
14525|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14526|      0|            if (_token == NULL) {
  ------------------
  |  Branch (14526:17): [True: 0, False: 0]
  ------------------
14527|      0|                p->level--;
14528|      0|                return NULL;
14529|      0|            }
14530|      0|            int _end_lineno = _token->end_lineno;
14531|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14532|      0|            int _end_col_offset = _token->end_col_offset;
14533|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14534|      0|            _res = _PyAST_Attribute ( a , b -> v . Name . id , Load , EXTRA );
  ------------------
  |  |  307|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14535|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14535:18): [True: 0, False: 0]
  |  Branch (14535:34): [True: 0, False: 0]
  |  Branch (14535:57): [True: 0, False: 0]
  ------------------
14536|      0|                p->error_indicator = 1;
14537|      0|                p->level--;
14538|      0|                return NULL;
14539|      0|            }
14540|      0|            goto done;
14541|      0|        }
14542|  6.58k|        p->mark = _mark;
14543|  6.58k|        D(fprintf(stderr, "%*c%s primary[%d-%d]: %s failed!\n", p->level, ' ',
14544|  6.58k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "primary '.' NAME"));
14545|  6.58k|    }
14546|      0|    { // primary genexp
14547|  6.58k|        if (p->error_indicator) {
  ------------------
  |  Branch (14547:13): [True: 2, False: 6.57k]
  ------------------
14548|      2|            p->level--;
14549|      2|            return NULL;
14550|      2|        }
14551|  6.57k|        D(fprintf(stderr, "%*c> primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "primary genexp"));
14552|  6.57k|        expr_ty a;
14553|  6.57k|        expr_ty b;
14554|  6.57k|        if (
14555|  6.57k|            (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 (14555:13): [True: 2.16k, False: 4.41k]
  |  Branch (14555:20): [True: 3.67k, False: 2.90k]
  |  Branch (14555:46): [True: 3.67k, False: 0]
  ------------------
14556|  2.16k|            &&
14557|  2.16k|            (b = genexp_rule(p))  // genexp
  ------------------
  |  Branch (14557:13): [True: 0, False: 2.16k]
  ------------------
14558|  6.57k|        )
14559|      0|        {
14560|      0|            D(fprintf(stderr, "%*c+ primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "primary genexp"));
14561|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14562|      0|            if (_token == NULL) {
  ------------------
  |  Branch (14562:17): [True: 0, False: 0]
  ------------------
14563|      0|                p->level--;
14564|      0|                return NULL;
14565|      0|            }
14566|      0|            int _end_lineno = _token->end_lineno;
14567|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14568|      0|            int _end_col_offset = _token->end_col_offset;
14569|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14570|      0|            _res = _PyAST_Call ( a , CHECK ( asdl_expr_seq* , ( asdl_expr_seq* ) _PyPegen_singleton_seq ( p , b ) ) , NULL , EXTRA );
  ------------------
  |  |  271|      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 );
  ------------------
  |  |  307|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14571|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14571:18): [True: 0, False: 0]
  |  Branch (14571:34): [True: 0, False: 0]
  |  Branch (14571:57): [True: 0, False: 0]
  ------------------
14572|      0|                p->error_indicator = 1;
14573|      0|                p->level--;
14574|      0|                return NULL;
14575|      0|            }
14576|      0|            goto done;
14577|      0|        }
14578|  6.57k|        p->mark = _mark;
14579|  6.57k|        D(fprintf(stderr, "%*c%s primary[%d-%d]: %s failed!\n", p->level, ' ',
14580|  6.57k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "primary genexp"));
14581|  6.57k|    }
14582|      0|    { // primary '(' arguments? ')'
14583|  6.57k|        if (p->error_indicator) {
  ------------------
  |  Branch (14583:13): [True: 426, False: 6.15k]
  ------------------
14584|    426|            p->level--;
14585|    426|            return NULL;
14586|    426|        }
14587|  6.15k|        D(fprintf(stderr, "%*c> primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "primary '(' arguments? ')'"));
14588|  6.15k|        Token * _literal;
14589|  6.15k|        Token * _literal_1;
14590|  6.15k|        expr_ty a;
14591|  6.15k|        void *b;
14592|  6.15k|        if (
14593|  6.15k|            (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 (14593:13): [True: 1.73k, False: 4.41k]
  |  Branch (14593:20): [True: 3.60k, False: 2.55k]
  |  Branch (14593:46): [True: 3.60k, False: 0]
  ------------------
14594|  1.73k|            &&
14595|  1.73k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (14595:13): [True: 1.25k, False: 478]
  ------------------
14596|  1.25k|            &&
14597|  1.25k|            (b = arguments_rule(p), !p->error_indicator)  // arguments?
  ------------------
  |  Branch (14597:13): [True: 1.25k, False: 1]
  ------------------
14598|  1.25k|            &&
14599|  1.25k|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (14599:13): [True: 2, False: 1.25k]
  ------------------
14600|  6.15k|        )
14601|      2|        {
14602|      2|            D(fprintf(stderr, "%*c+ primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "primary '(' arguments? ')'"));
14603|      2|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14604|      2|            if (_token == NULL) {
  ------------------
  |  Branch (14604:17): [True: 0, False: 2]
  ------------------
14605|      0|                p->level--;
14606|      0|                return NULL;
14607|      0|            }
14608|      2|            int _end_lineno = _token->end_lineno;
14609|      2|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|      2|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 2]
  |  |  ------------------
  ------------------
14610|      2|            int _end_col_offset = _token->end_col_offset;
14611|      2|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|      2|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 2]
  |  |  ------------------
  ------------------
14612|      2|            _res = _PyAST_Call ( a , ( b ) ? ( ( expr_ty ) b ) -> v . Call . args : NULL , ( b ) ? ( ( expr_ty ) b ) -> v . Call . keywords : NULL , EXTRA );
  ------------------
  |  |  307|      2|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
  |  Branch (14612:38): [True: 2, False: 0]
  |  Branch (14612:92): [True: 2, False: 0]
  ------------------
14613|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14613:18): [True: 0, False: 2]
  |  Branch (14613:34): [True: 0, False: 2]
  |  Branch (14613:57): [True: 0, False: 0]
  ------------------
14614|      0|                p->error_indicator = 1;
14615|      0|                p->level--;
14616|      0|                return NULL;
14617|      0|            }
14618|      2|            goto done;
14619|      2|        }
14620|  6.15k|        p->mark = _mark;
14621|  6.15k|        D(fprintf(stderr, "%*c%s primary[%d-%d]: %s failed!\n", p->level, ' ',
14622|  6.15k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "primary '(' arguments? ')'"));
14623|  6.15k|    }
14624|      0|    { // primary '[' slices ']'
14625|  6.15k|        if (p->error_indicator) {
  ------------------
  |  Branch (14625:13): [True: 1, False: 6.14k]
  ------------------
14626|      1|            p->level--;
14627|      1|            return NULL;
14628|      1|        }
14629|  6.14k|        D(fprintf(stderr, "%*c> primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "primary '[' slices ']'"));
14630|  6.14k|        Token * _literal;
14631|  6.14k|        Token * _literal_1;
14632|  6.14k|        expr_ty a;
14633|  6.14k|        expr_ty b;
14634|  6.14k|        if (
14635|  6.14k|            (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 (14635:13): [True: 1.73k, False: 4.41k]
  |  Branch (14635:20): [True: 3.59k, False: 2.55k]
  |  Branch (14635:46): [True: 3.59k, False: 0]
  ------------------
14636|  1.73k|            &&
14637|  1.73k|            (_literal = _PyPegen_expect_token(p, 9))  // token='['
  ------------------
  |  Branch (14637:13): [True: 0, False: 1.73k]
  ------------------
14638|      0|            &&
14639|      0|            (b = slices_rule(p))  // slices
  ------------------
  |  Branch (14639:13): [True: 0, False: 0]
  ------------------
14640|      0|            &&
14641|      0|            (_literal_1 = _PyPegen_expect_token(p, 10))  // token=']'
  ------------------
  |  Branch (14641:13): [True: 0, False: 0]
  ------------------
14642|  6.14k|        )
14643|      0|        {
14644|      0|            D(fprintf(stderr, "%*c+ primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "primary '[' slices ']'"));
14645|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14646|      0|            if (_token == NULL) {
  ------------------
  |  Branch (14646:17): [True: 0, False: 0]
  ------------------
14647|      0|                p->level--;
14648|      0|                return NULL;
14649|      0|            }
14650|      0|            int _end_lineno = _token->end_lineno;
14651|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14652|      0|            int _end_col_offset = _token->end_col_offset;
14653|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14654|      0|            _res = _PyAST_Subscript ( a , b , Load , EXTRA );
  ------------------
  |  |  307|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14655|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14655:18): [True: 0, False: 0]
  |  Branch (14655:34): [True: 0, False: 0]
  |  Branch (14655:57): [True: 0, False: 0]
  ------------------
14656|      0|                p->error_indicator = 1;
14657|      0|                p->level--;
14658|      0|                return NULL;
14659|      0|            }
14660|      0|            goto done;
14661|      0|        }
14662|  6.14k|        p->mark = _mark;
14663|  6.14k|        D(fprintf(stderr, "%*c%s primary[%d-%d]: %s failed!\n", p->level, ' ',
14664|  6.14k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "primary '[' slices ']'"));
14665|  6.14k|    }
14666|      0|    { // atom
14667|  6.14k|        if (p->error_indicator) {
  ------------------
  |  Branch (14667:13): [True: 0, False: 6.14k]
  ------------------
14668|      0|            p->level--;
14669|      0|            return NULL;
14670|      0|        }
14671|  6.14k|        D(fprintf(stderr, "%*c> primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "atom"));
14672|  6.14k|        expr_ty atom_var;
14673|  6.14k|        if (
14674|  6.14k|            (atom_var = atom_rule(p))  // atom
  ------------------
  |  Branch (14674:13): [True: 3.89k, False: 2.25k]
  ------------------
14675|  6.14k|        )
14676|  3.89k|        {
14677|  3.89k|            D(fprintf(stderr, "%*c+ primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "atom"));
14678|  3.89k|            _res = atom_var;
14679|  3.89k|            goto done;
14680|  3.89k|        }
14681|  2.25k|        p->mark = _mark;
14682|  2.25k|        D(fprintf(stderr, "%*c%s primary[%d-%d]: %s failed!\n", p->level, ' ',
14683|  2.25k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "atom"));
14684|  2.25k|    }
14685|  2.25k|    _res = NULL;
14686|  6.15k|  done:
14687|  6.15k|    p->level--;
14688|  6.15k|    return _res;
14689|  2.25k|}
parser.c:genexp_rule:
18094|  3.38k|{
18095|  3.38k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  6.77k|#  define MAXSTACK 6000
  ------------------
  |  Branch (18095:9): [True: 0, False: 3.38k]
  |  Branch (18095:35): [True: 0, False: 3.38k]
  ------------------
18096|      0|        _Pypegen_stack_overflow(p);
18097|      0|    }
18098|  3.38k|    if (p->error_indicator) {
  ------------------
  |  Branch (18098:9): [True: 0, False: 3.38k]
  ------------------
18099|      0|        p->level--;
18100|      0|        return NULL;
18101|      0|    }
18102|  3.38k|    expr_ty _res = NULL;
18103|  3.38k|    int _mark = p->mark;
18104|  3.38k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (18104:9): [True: 0, False: 3.38k]
  |  Branch (18104:31): [True: 0, False: 0]
  ------------------
18105|      0|        p->error_indicator = 1;
18106|      0|        p->level--;
18107|      0|        return NULL;
18108|      0|    }
18109|  3.38k|    int _start_lineno = p->tokens[_mark]->lineno;
18110|  3.38k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|  3.38k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 3.38k]
  |  |  ------------------
  ------------------
18111|  3.38k|    int _start_col_offset = p->tokens[_mark]->col_offset;
18112|  3.38k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|  3.38k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 3.38k]
  |  |  ------------------
  ------------------
18113|  3.38k|    { // '(' (assignment_expression | expression !':=' | starred_expression) for_if_clauses ')'
18114|  3.38k|        if (p->error_indicator) {
  ------------------
  |  Branch (18114:13): [True: 0, False: 3.38k]
  ------------------
18115|      0|            p->level--;
18116|      0|            return NULL;
18117|      0|        }
18118|  3.38k|        D(fprintf(stderr, "%*c> genexp[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' (assignment_expression | expression !':=' | starred_expression) for_if_clauses ')'"));
18119|  3.38k|        Token * _literal;
18120|  3.38k|        Token * _literal_1;
18121|  3.38k|        void *a;
18122|  3.38k|        asdl_comprehension_seq* b;
18123|  3.38k|        if (
18124|  3.38k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (18124:13): [True: 2.79k, False: 594]
  ------------------
18125|  2.79k|            &&
18126|  2.79k|            (a = _tmp_89_rule(p))  // assignment_expression | expression !':=' | starred_expression
  ------------------
  |  Branch (18126:13): [True: 1.65k, False: 1.14k]
  ------------------
18127|  1.65k|            &&
18128|  1.65k|            (b = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  Branch (18128:13): [True: 0, False: 1.65k]
  ------------------
18129|      0|            &&
18130|      0|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (18130:13): [True: 0, False: 0]
  ------------------
18131|  3.38k|        )
18132|      0|        {
18133|      0|            D(fprintf(stderr, "%*c+ genexp[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' (assignment_expression | expression !':=' | starred_expression) for_if_clauses ')'"));
18134|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
18135|      0|            if (_token == NULL) {
  ------------------
  |  Branch (18135:17): [True: 0, False: 0]
  ------------------
18136|      0|                p->level--;
18137|      0|                return NULL;
18138|      0|            }
18139|      0|            int _end_lineno = _token->end_lineno;
18140|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
18141|      0|            int _end_col_offset = _token->end_col_offset;
18142|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
18143|      0|            _res = _PyAST_GeneratorExp ( a , b , EXTRA );
  ------------------
  |  |  307|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
18144|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18144:18): [True: 0, False: 0]
  |  Branch (18144:34): [True: 0, False: 0]
  |  Branch (18144:57): [True: 0, False: 0]
  ------------------
18145|      0|                p->error_indicator = 1;
18146|      0|                p->level--;
18147|      0|                return NULL;
18148|      0|            }
18149|      0|            goto done;
18150|      0|        }
18151|  3.38k|        p->mark = _mark;
18152|  3.38k|        D(fprintf(stderr, "%*c%s genexp[%d-%d]: %s failed!\n", p->level, ' ',
18153|  3.38k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' (assignment_expression | expression !':=' | starred_expression) for_if_clauses ')'"));
18154|  3.38k|    }
18155|  3.38k|    if (p->call_invalid_rules) { // invalid_comprehension
  ------------------
  |  Branch (18155:9): [True: 1.48k, False: 1.89k]
  ------------------
18156|  1.48k|        if (p->error_indicator) {
  ------------------
  |  Branch (18156:13): [True: 463, False: 1.02k]
  ------------------
18157|    463|            p->level--;
18158|    463|            return NULL;
18159|    463|        }
18160|  1.02k|        D(fprintf(stderr, "%*c> genexp[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_comprehension"));
18161|  1.02k|        void *invalid_comprehension_var;
18162|  1.02k|        if (
18163|  1.02k|            (invalid_comprehension_var = invalid_comprehension_rule(p))  // invalid_comprehension
  ------------------
  |  Branch (18163:13): [True: 0, False: 1.02k]
  ------------------
18164|  1.02k|        )
18165|      0|        {
18166|      0|            D(fprintf(stderr, "%*c+ genexp[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_comprehension"));
18167|      0|            _res = invalid_comprehension_var;
18168|      0|            goto done;
18169|      0|        }
18170|  1.02k|        p->mark = _mark;
18171|  1.02k|        D(fprintf(stderr, "%*c%s genexp[%d-%d]: %s failed!\n", p->level, ' ',
18172|  1.02k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_comprehension"));
18173|  1.02k|    }
18174|  2.92k|    _res = NULL;
18175|  2.92k|  done:
18176|  2.92k|    p->level--;
18177|  2.92k|    return _res;
18178|  2.92k|}
parser.c:_tmp_89_rule:
32927|  2.79k|{
32928|  2.79k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  5.58k|#  define MAXSTACK 6000
  ------------------
  |  Branch (32928:9): [True: 0, False: 2.79k]
  |  Branch (32928:35): [True: 0, False: 2.79k]
  ------------------
32929|      0|        _Pypegen_stack_overflow(p);
32930|      0|    }
32931|  2.79k|    if (p->error_indicator) {
  ------------------
  |  Branch (32931:9): [True: 0, False: 2.79k]
  ------------------
32932|      0|        p->level--;
32933|      0|        return NULL;
32934|      0|    }
32935|  2.79k|    void * _res = NULL;
32936|  2.79k|    int _mark = p->mark;
32937|  2.79k|    { // assignment_expression
32938|  2.79k|        if (p->error_indicator) {
  ------------------
  |  Branch (32938:13): [True: 0, False: 2.79k]
  ------------------
32939|      0|            p->level--;
32940|      0|            return NULL;
32941|      0|        }
32942|  2.79k|        D(fprintf(stderr, "%*c> _tmp_89[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "assignment_expression"));
32943|  2.79k|        expr_ty assignment_expression_var;
32944|  2.79k|        if (
32945|  2.79k|            (assignment_expression_var = assignment_expression_rule(p))  // assignment_expression
  ------------------
  |  Branch (32945:13): [True: 0, False: 2.79k]
  ------------------
32946|  2.79k|        )
32947|      0|        {
32948|      0|            D(fprintf(stderr, "%*c+ _tmp_89[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "assignment_expression"));
32949|      0|            _res = assignment_expression_var;
32950|      0|            goto done;
32951|      0|        }
32952|  2.79k|        p->mark = _mark;
32953|  2.79k|        D(fprintf(stderr, "%*c%s _tmp_89[%d-%d]: %s failed!\n", p->level, ' ',
32954|  2.79k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "assignment_expression"));
32955|  2.79k|    }
32956|      0|    { // expression !':='
32957|  2.79k|        if (p->error_indicator) {
  ------------------
  |  Branch (32957:13): [True: 0, False: 2.79k]
  ------------------
32958|      0|            p->level--;
32959|      0|            return NULL;
32960|      0|        }
32961|  2.79k|        D(fprintf(stderr, "%*c> _tmp_89[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression !':='"));
32962|  2.79k|        expr_ty expression_var;
32963|  2.79k|        if (
32964|  2.79k|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (32964:13): [True: 472, False: 2.32k]
  ------------------
32965|    472|            &&
32966|    472|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 53)  // token=':='
  ------------------
  |  Branch (32966:13): [True: 472, False: 0]
  ------------------
32967|  2.79k|        )
32968|    472|        {
32969|    472|            D(fprintf(stderr, "%*c+ _tmp_89[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression !':='"));
32970|    472|            _res = expression_var;
32971|    472|            goto done;
32972|    472|        }
32973|  2.32k|        p->mark = _mark;
32974|  2.32k|        D(fprintf(stderr, "%*c%s _tmp_89[%d-%d]: %s failed!\n", p->level, ' ',
32975|  2.32k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression !':='"));
32976|  2.32k|    }
32977|      0|    { // starred_expression
32978|  2.32k|        if (p->error_indicator) {
  ------------------
  |  Branch (32978:13): [True: 267, False: 2.05k]
  ------------------
32979|    267|            p->level--;
32980|    267|            return NULL;
32981|    267|        }
32982|  2.05k|        D(fprintf(stderr, "%*c> _tmp_89[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "starred_expression"));
32983|  2.05k|        expr_ty starred_expression_var;
32984|  2.05k|        if (
32985|  2.05k|            (starred_expression_var = starred_expression_rule(p))  // starred_expression
  ------------------
  |  Branch (32985:13): [True: 1.17k, False: 875]
  ------------------
32986|  2.05k|        )
32987|  1.17k|        {
32988|  1.17k|            D(fprintf(stderr, "%*c+ _tmp_89[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "starred_expression"));
32989|  1.17k|            _res = starred_expression_var;
32990|  1.17k|            goto done;
32991|  1.17k|        }
32992|    875|        p->mark = _mark;
32993|    875|        D(fprintf(stderr, "%*c%s _tmp_89[%d-%d]: %s failed!\n", p->level, ' ',
32994|    875|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "starred_expression"));
32995|    875|    }
32996|    875|    _res = NULL;
32997|  2.52k|  done:
32998|  2.52k|    p->level--;
32999|  2.52k|    return _res;
33000|    875|}
parser.c:starred_expression_rule:
18540|  6.91k|{
18541|  6.91k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  13.8k|#  define MAXSTACK 6000
  ------------------
  |  Branch (18541:9): [True: 0, False: 6.91k]
  |  Branch (18541:35): [True: 0, False: 6.91k]
  ------------------
18542|      0|        _Pypegen_stack_overflow(p);
18543|      0|    }
18544|  6.91k|    if (p->error_indicator) {
  ------------------
  |  Branch (18544:9): [True: 0, False: 6.91k]
  ------------------
18545|      0|        p->level--;
18546|      0|        return NULL;
18547|      0|    }
18548|  6.91k|    expr_ty _res = NULL;
18549|  6.91k|    int _mark = p->mark;
18550|  6.91k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (18550:9): [True: 2, False: 6.90k]
  |  Branch (18550:31): [True: 0, False: 2]
  ------------------
18551|      0|        p->error_indicator = 1;
18552|      0|        p->level--;
18553|      0|        return NULL;
18554|      0|    }
18555|  6.91k|    int _start_lineno = p->tokens[_mark]->lineno;
18556|  6.91k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|  6.91k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 6.91k]
  |  |  ------------------
  ------------------
18557|  6.91k|    int _start_col_offset = p->tokens[_mark]->col_offset;
18558|  6.91k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|  6.91k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 6.91k]
  |  |  ------------------
  ------------------
18559|  6.91k|    if (p->call_invalid_rules) { // invalid_starred_expression_unpacking
  ------------------
  |  Branch (18559:9): [True: 4.65k, False: 2.25k]
  ------------------
18560|  4.65k|        if (p->error_indicator) {
  ------------------
  |  Branch (18560:13): [True: 0, False: 4.65k]
  ------------------
18561|      0|            p->level--;
18562|      0|            return NULL;
18563|      0|        }
18564|  4.65k|        D(fprintf(stderr, "%*c> starred_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_starred_expression_unpacking"));
18565|  4.65k|        void *invalid_starred_expression_unpacking_var;
18566|  4.65k|        if (
18567|  4.65k|            (invalid_starred_expression_unpacking_var = invalid_starred_expression_unpacking_rule(p))  // invalid_starred_expression_unpacking
  ------------------
  |  Branch (18567:13): [True: 0, False: 4.65k]
  ------------------
18568|  4.65k|        )
18569|      0|        {
18570|      0|            D(fprintf(stderr, "%*c+ starred_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_starred_expression_unpacking"));
18571|      0|            _res = invalid_starred_expression_unpacking_var;
18572|      0|            goto done;
18573|      0|        }
18574|  4.65k|        p->mark = _mark;
18575|  4.65k|        D(fprintf(stderr, "%*c%s starred_expression[%d-%d]: %s failed!\n", p->level, ' ',
18576|  4.65k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_starred_expression_unpacking"));
18577|  4.65k|    }
18578|  6.91k|    { // '*' expression
18579|  6.91k|        if (p->error_indicator) {
  ------------------
  |  Branch (18579:13): [True: 237, False: 6.67k]
  ------------------
18580|    237|            p->level--;
18581|    237|            return NULL;
18582|    237|        }
18583|  6.67k|        D(fprintf(stderr, "%*c> starred_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' expression"));
18584|  6.67k|        Token * _literal;
18585|  6.67k|        expr_ty a;
18586|  6.67k|        if (
18587|  6.67k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (18587:13): [True: 3.55k, False: 3.12k]
  ------------------
18588|  3.55k|            &&
18589|  3.55k|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (18589:13): [True: 3.48k, False: 72]
  ------------------
18590|  6.67k|        )
18591|  3.48k|        {
18592|  3.48k|            D(fprintf(stderr, "%*c+ starred_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' expression"));
18593|  3.48k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
18594|  3.48k|            if (_token == NULL) {
  ------------------
  |  Branch (18594:17): [True: 0, False: 3.48k]
  ------------------
18595|      0|                p->level--;
18596|      0|                return NULL;
18597|      0|            }
18598|  3.48k|            int _end_lineno = _token->end_lineno;
18599|  3.48k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|  3.48k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 3.48k]
  |  |  ------------------
  ------------------
18600|  3.48k|            int _end_col_offset = _token->end_col_offset;
18601|  3.48k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|  3.48k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 3.48k]
  |  |  ------------------
  ------------------
18602|  3.48k|            _res = _PyAST_Starred ( a , Load , EXTRA );
  ------------------
  |  |  307|  3.48k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
18603|  3.48k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18603:18): [True: 0, False: 3.48k]
  |  Branch (18603:34): [True: 0, False: 3.48k]
  |  Branch (18603:57): [True: 0, False: 0]
  ------------------
18604|      0|                p->error_indicator = 1;
18605|      0|                p->level--;
18606|      0|                return NULL;
18607|      0|            }
18608|  3.48k|            goto done;
18609|  3.48k|        }
18610|  3.19k|        p->mark = _mark;
18611|  3.19k|        D(fprintf(stderr, "%*c%s starred_expression[%d-%d]: %s failed!\n", p->level, ' ',
18612|  3.19k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' expression"));
18613|  3.19k|    }
18614|  3.19k|    if (p->call_invalid_rules) { // invalid_starred_expression
  ------------------
  |  Branch (18614:9): [True: 2.20k, False: 987]
  ------------------
18615|  2.20k|        if (p->error_indicator) {
  ------------------
  |  Branch (18615:13): [True: 0, False: 2.20k]
  ------------------
18616|      0|            p->level--;
18617|      0|            return NULL;
18618|      0|        }
18619|  2.20k|        D(fprintf(stderr, "%*c> starred_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_starred_expression"));
18620|  2.20k|        void *invalid_starred_expression_var;
18621|  2.20k|        if (
18622|  2.20k|            (invalid_starred_expression_var = invalid_starred_expression_rule(p))  // invalid_starred_expression
  ------------------
  |  Branch (18622:13): [True: 0, False: 2.20k]
  ------------------
18623|  2.20k|        )
18624|      0|        {
18625|      0|            D(fprintf(stderr, "%*c+ starred_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_starred_expression"));
18626|      0|            _res = invalid_starred_expression_var;
18627|      0|            goto done;
18628|      0|        }
18629|  2.20k|        p->mark = _mark;
18630|  2.20k|        D(fprintf(stderr, "%*c%s starred_expression[%d-%d]: %s failed!\n", p->level, ' ',
18631|  2.20k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_starred_expression"));
18632|  2.20k|    }
18633|  3.19k|    _res = NULL;
18634|  6.67k|  done:
18635|  6.67k|    p->level--;
18636|  6.67k|    return _res;
18637|  3.19k|}
parser.c:invalid_starred_expression_unpacking_rule:
25901|  4.89k|{
25902|  4.89k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  9.79k|#  define MAXSTACK 6000
  ------------------
  |  Branch (25902:9): [True: 0, False: 4.89k]
  |  Branch (25902:35): [True: 0, False: 4.89k]
  ------------------
25903|      0|        _Pypegen_stack_overflow(p);
25904|      0|    }
25905|  4.89k|    if (p->error_indicator) {
  ------------------
  |  Branch (25905:9): [True: 0, False: 4.89k]
  ------------------
25906|      0|        p->level--;
25907|      0|        return NULL;
25908|      0|    }
25909|  4.89k|    void * _res = NULL;
25910|  4.89k|    int _mark = p->mark;
25911|  4.89k|    { // '*' if_expression
25912|  4.89k|        if (p->error_indicator) {
  ------------------
  |  Branch (25912:13): [True: 0, False: 4.89k]
  ------------------
25913|      0|            p->level--;
25914|      0|            return NULL;
25915|      0|        }
25916|  4.89k|        D(fprintf(stderr, "%*c> invalid_starred_expression_unpacking[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' if_expression"));
25917|  4.89k|        Token * a;
25918|  4.89k|        expr_ty b;
25919|  4.89k|        if (
25920|  4.89k|            (a = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (25920:13): [True: 2.57k, False: 2.32k]
  ------------------
25921|  2.57k|            &&
25922|  2.57k|            (b = if_expression_rule(p))  // if_expression
  ------------------
  |  Branch (25922:13): [True: 0, False: 2.57k]
  ------------------
25923|  4.89k|        )
25924|      0|        {
25925|      0|            D(fprintf(stderr, "%*c+ invalid_starred_expression_unpacking[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' if_expression"));
25926|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "invalid starred expression. Did you forget to wrap the conditional expression in parentheses?" );
  ------------------
  |  |  237|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
25927|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (25927:18): [True: 0, False: 0]
  |  Branch (25927:34): [True: 0, False: 0]
  |  Branch (25927:57): [True: 0, False: 0]
  ------------------
25928|      0|                p->error_indicator = 1;
25929|      0|                p->level--;
25930|      0|                return NULL;
25931|      0|            }
25932|      0|            goto done;
25933|      0|        }
25934|  4.89k|        p->mark = _mark;
25935|  4.89k|        D(fprintf(stderr, "%*c%s invalid_starred_expression_unpacking[%d-%d]: %s failed!\n", p->level, ' ',
25936|  4.89k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' if_expression"));
25937|  4.89k|    }
25938|      0|    { // '*' expression '=' expression
25939|  4.89k|        if (p->error_indicator) {
  ------------------
  |  Branch (25939:13): [True: 237, False: 4.66k]
  ------------------
25940|    237|            p->level--;
25941|    237|            return NULL;
25942|    237|        }
25943|  4.66k|        D(fprintf(stderr, "%*c> invalid_starred_expression_unpacking[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' expression '=' expression"));
25944|  4.66k|        Token * _literal;
25945|  4.66k|        Token * a;
25946|  4.66k|        expr_ty b;
25947|  4.66k|        expr_ty expression_var;
25948|  4.66k|        if (
25949|  4.66k|            (a = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (25949:13): [True: 2.34k, False: 2.32k]
  ------------------
25950|  2.34k|            &&
25951|  2.34k|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (25951:13): [True: 2.33k, False: 5]
  ------------------
25952|  2.33k|            &&
25953|  2.33k|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (25953:13): [True: 0, False: 2.33k]
  ------------------
25954|      0|            &&
25955|      0|            (b = expression_rule(p))  // expression
  ------------------
  |  Branch (25955:13): [True: 0, False: 0]
  ------------------
25956|  4.66k|        )
25957|      0|        {
25958|      0|            D(fprintf(stderr, "%*c+ invalid_starred_expression_unpacking[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' expression '=' expression"));
25959|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "cannot assign to iterable argument unpacking" );
  ------------------
  |  |  237|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
25960|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (25960:18): [True: 0, False: 0]
  |  Branch (25960:34): [True: 0, False: 0]
  |  Branch (25960:57): [True: 0, False: 0]
  ------------------
25961|      0|                p->error_indicator = 1;
25962|      0|                p->level--;
25963|      0|                return NULL;
25964|      0|            }
25965|      0|            goto done;
25966|      0|        }
25967|  4.66k|        p->mark = _mark;
25968|  4.66k|        D(fprintf(stderr, "%*c%s invalid_starred_expression_unpacking[%d-%d]: %s failed!\n", p->level, ' ',
25969|  4.66k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' expression '=' expression"));
25970|  4.66k|    }
25971|  4.66k|    _res = NULL;
25972|  4.66k|  done:
25973|  4.66k|    p->level--;
25974|  4.66k|    return _res;
25975|  4.66k|}
parser.c:if_expression_rule:
11689|  5.64k|{
11690|  5.64k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  11.2k|#  define MAXSTACK 6000
  ------------------
  |  Branch (11690:9): [True: 0, False: 5.64k]
  |  Branch (11690:35): [True: 0, False: 5.64k]
  ------------------
11691|      0|        _Pypegen_stack_overflow(p);
11692|      0|    }
11693|  5.64k|    if (p->error_indicator) {
  ------------------
  |  Branch (11693:9): [True: 0, False: 5.64k]
  ------------------
11694|      0|        p->level--;
11695|      0|        return NULL;
11696|      0|    }
11697|  5.64k|    expr_ty _res = NULL;
11698|  5.64k|    int _mark = p->mark;
11699|  5.64k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (11699:9): [True: 0, False: 5.64k]
  |  Branch (11699:31): [True: 0, False: 0]
  ------------------
11700|      0|        p->error_indicator = 1;
11701|      0|        p->level--;
11702|      0|        return NULL;
11703|      0|    }
11704|  5.64k|    int _start_lineno = p->tokens[_mark]->lineno;
11705|  5.64k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|  5.64k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 5.64k]
  |  |  ------------------
  ------------------
11706|  5.64k|    int _start_col_offset = p->tokens[_mark]->col_offset;
11707|  5.64k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|  5.64k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 5.64k]
  |  |  ------------------
  ------------------
11708|  5.64k|    { // disjunction 'if' disjunction 'else' expression
11709|  5.64k|        if (p->error_indicator) {
  ------------------
  |  Branch (11709:13): [True: 0, False: 5.64k]
  ------------------
11710|      0|            p->level--;
11711|      0|            return NULL;
11712|      0|        }
11713|  5.64k|        D(fprintf(stderr, "%*c> if_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction 'else' expression"));
11714|  5.64k|        Token * _keyword;
11715|  5.64k|        Token * _keyword_1;
11716|  5.64k|        expr_ty a;
11717|  5.64k|        expr_ty b;
11718|  5.64k|        expr_ty c;
11719|  5.64k|        if (
11720|  5.64k|            (a = disjunction_rule(p))  // disjunction
  ------------------
  |  Branch (11720:13): [True: 3.65k, False: 1.99k]
  ------------------
11721|  3.65k|            &&
11722|  3.65k|            (_keyword = _PyPegen_expect_token(p, 700))  // token='if'
  ------------------
  |  Branch (11722:13): [True: 0, False: 3.65k]
  ------------------
11723|      0|            &&
11724|      0|            (b = disjunction_rule(p))  // disjunction
  ------------------
  |  Branch (11724:13): [True: 0, False: 0]
  ------------------
11725|      0|            &&
11726|      0|            (_keyword_1 = _PyPegen_expect_token(p, 704))  // token='else'
  ------------------
  |  Branch (11726:13): [True: 0, False: 0]
  ------------------
11727|      0|            &&
11728|      0|            (c = expression_rule(p))  // expression
  ------------------
  |  Branch (11728:13): [True: 0, False: 0]
  ------------------
11729|  5.64k|        )
11730|      0|        {
11731|      0|            D(fprintf(stderr, "%*c+ if_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction 'else' expression"));
11732|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
11733|      0|            if (_token == NULL) {
  ------------------
  |  Branch (11733:17): [True: 0, False: 0]
  ------------------
11734|      0|                p->level--;
11735|      0|                return NULL;
11736|      0|            }
11737|      0|            int _end_lineno = _token->end_lineno;
11738|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
11739|      0|            int _end_col_offset = _token->end_col_offset;
11740|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
11741|      0|            _res = _PyAST_IfExp ( b , a , c , EXTRA );
  ------------------
  |  |  307|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
11742|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11742:18): [True: 0, False: 0]
  |  Branch (11742:34): [True: 0, False: 0]
  |  Branch (11742:57): [True: 0, False: 0]
  ------------------
11743|      0|                p->error_indicator = 1;
11744|      0|                p->level--;
11745|      0|                return NULL;
11746|      0|            }
11747|      0|            goto done;
11748|      0|        }
11749|  5.64k|        p->mark = _mark;
11750|  5.64k|        D(fprintf(stderr, "%*c%s if_expression[%d-%d]: %s failed!\n", p->level, ' ',
11751|  5.64k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "disjunction 'if' disjunction 'else' expression"));
11752|  5.64k|    }
11753|  5.64k|    _res = NULL;
11754|  5.64k|  done:
11755|  5.64k|    p->level--;
11756|  5.64k|    return _res;
11757|  5.64k|}
parser.c:disjunction_rule:
12363|  15.5k|{
12364|  15.5k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  31.1k|#  define MAXSTACK 6000
  ------------------
  |  Branch (12364:9): [True: 0, False: 15.5k]
  |  Branch (12364:35): [True: 0, False: 15.5k]
  ------------------
12365|      0|        _Pypegen_stack_overflow(p);
12366|      0|    }
12367|  15.5k|    if (p->error_indicator) {
  ------------------
  |  Branch (12367:9): [True: 0, False: 15.5k]
  ------------------
12368|      0|        p->level--;
12369|      0|        return NULL;
12370|      0|    }
12371|  15.5k|    expr_ty _res = NULL;
12372|  15.5k|    if (_PyPegen_is_memoized(p, disjunction_type, &_res)) {
  ------------------
  |  |  207|  15.5k|#define disjunction_type 1118
  ------------------
  |  Branch (12372:9): [True: 11.5k, False: 4.00k]
  ------------------
12373|  11.5k|        p->level--;
12374|  11.5k|        return _res;
12375|  11.5k|    }
12376|  4.00k|    int _mark = p->mark;
12377|  4.00k|    expr_ty _prefix_2_result = NULL;
12378|  4.00k|    int _prefix_2_end = 0, _prefix_2_valid = 0;
12379|  4.00k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (12379:9): [True: 0, False: 4.00k]
  |  Branch (12379:31): [True: 0, False: 0]
  ------------------
12380|      0|        p->error_indicator = 1;
12381|      0|        p->level--;
12382|      0|        return NULL;
12383|      0|    }
12384|  4.00k|    int _start_lineno = p->tokens[_mark]->lineno;
12385|  4.00k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|  4.00k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 4.00k]
  |  |  ------------------
  ------------------
12386|  4.00k|    int _start_col_offset = p->tokens[_mark]->col_offset;
12387|  4.00k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|  4.00k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 4.00k]
  |  |  ------------------
  ------------------
12388|  4.00k|    { // conjunction (('or' conjunction))+
12389|  4.00k|        if (p->error_indicator) {
  ------------------
  |  Branch (12389:13): [True: 0, False: 4.00k]
  ------------------
12390|      0|            p->level--;
12391|      0|            return NULL;
12392|      0|        }
12393|  4.00k|        D(fprintf(stderr, "%*c> disjunction[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "conjunction (('or' conjunction))+"));
12394|  4.00k|        expr_ty a;
12395|  4.00k|        asdl_seq * b;
12396|  4.00k|        if (
12397|  4.00k|            (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 (12397:13): [True: 1.32k, False: 2.68k]
  |  Branch (12397:20): [True: 2.32k, False: 1.68k]
  |  Branch (12397:46): [True: 0, False: 2.32k]
  ------------------
12398|  1.32k|            &&
12399|  1.32k|            (b = _loop1_59_rule(p))  // (('or' conjunction))+
  ------------------
  |  Branch (12399:13): [True: 0, False: 1.32k]
  ------------------
12400|  4.00k|        )
12401|      0|        {
12402|      0|            D(fprintf(stderr, "%*c+ disjunction[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "conjunction (('or' conjunction))+"));
12403|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
12404|      0|            if (_token == NULL) {
  ------------------
  |  Branch (12404:17): [True: 0, False: 0]
  ------------------
12405|      0|                p->level--;
12406|      0|                return NULL;
12407|      0|            }
12408|      0|            int _end_lineno = _token->end_lineno;
12409|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
12410|      0|            int _end_col_offset = _token->end_col_offset;
12411|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
12412|      0|            _res = _PyAST_BoolOp ( Or , CHECK ( asdl_expr_seq* , _PyPegen_seq_insert_in_front ( p , a , b ) ) , EXTRA );
  ------------------
  |  |  271|      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 );
  ------------------
  |  |  307|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
12413|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12413:18): [True: 0, False: 0]
  |  Branch (12413:34): [True: 0, False: 0]
  |  Branch (12413:57): [True: 0, False: 0]
  ------------------
12414|      0|                p->error_indicator = 1;
12415|      0|                p->level--;
12416|      0|                return NULL;
12417|      0|            }
12418|      0|            goto done;
12419|      0|        }
12420|  4.00k|        p->mark = _mark;
12421|  4.00k|        D(fprintf(stderr, "%*c%s disjunction[%d-%d]: %s failed!\n", p->level, ' ',
12422|  4.00k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "conjunction (('or' conjunction))+"));
12423|  4.00k|    }
12424|      0|    { // conjunction
12425|  4.00k|        if (p->error_indicator) {
  ------------------
  |  Branch (12425:13): [True: 571, False: 3.43k]
  ------------------
12426|    571|            p->level--;
12427|    571|            return NULL;
12428|    571|        }
12429|  3.43k|        D(fprintf(stderr, "%*c> disjunction[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "conjunction"));
12430|  3.43k|        expr_ty conjunction_var;
12431|  3.43k|        if (
12432|  3.43k|            (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 (12432:13): [True: 1.32k, False: 2.11k]
  |  Branch (12432:34): [True: 2.22k, False: 1.21k]
  |  Branch (12432:60): [True: 2.22k, False: 0]
  ------------------
12433|  3.43k|        )
12434|  1.32k|        {
12435|  1.32k|            D(fprintf(stderr, "%*c+ disjunction[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "conjunction"));
12436|  1.32k|            _res = conjunction_var;
12437|  1.32k|            goto done;
12438|  1.32k|        }
12439|  2.11k|        p->mark = _mark;
12440|  2.11k|        D(fprintf(stderr, "%*c%s disjunction[%d-%d]: %s failed!\n", p->level, ' ',
12441|  2.11k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "conjunction"));
12442|  2.11k|    }
12443|  2.11k|    _res = NULL;
12444|  3.43k|  done:
12445|  3.43k|    _PyPegen_insert_memo(p, _mark, disjunction_type, _res);
  ------------------
  |  |  207|  3.43k|#define disjunction_type 1118
  ------------------
12446|  3.43k|    p->level--;
12447|  3.43k|    return _res;
12448|  2.11k|}
parser.c:conjunction_rule:
12453|  5.22k|{
12454|  5.22k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  10.4k|#  define MAXSTACK 6000
  ------------------
  |  Branch (12454:9): [True: 0, False: 5.22k]
  |  Branch (12454:35): [True: 0, False: 5.22k]
  ------------------
12455|      0|        _Pypegen_stack_overflow(p);
12456|      0|    }
12457|  5.22k|    if (p->error_indicator) {
  ------------------
  |  Branch (12457:9): [True: 0, False: 5.22k]
  ------------------
12458|      0|        p->level--;
12459|      0|        return NULL;
12460|      0|    }
12461|  5.22k|    expr_ty _res = NULL;
12462|  5.22k|    if (_PyPegen_is_memoized(p, conjunction_type, &_res)) {
  ------------------
  |  |  208|  5.22k|#define conjunction_type 1119
  ------------------
  |  Branch (12462:9): [True: 1.21k, False: 4.00k]
  ------------------
12463|  1.21k|        p->level--;
12464|  1.21k|        return _res;
12465|  1.21k|    }
12466|  4.00k|    int _mark = p->mark;
12467|  4.00k|    expr_ty _prefix_3_result = NULL;
12468|  4.00k|    int _prefix_3_end = 0, _prefix_3_valid = 0;
12469|  4.00k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (12469:9): [True: 0, False: 4.00k]
  |  Branch (12469:31): [True: 0, False: 0]
  ------------------
12470|      0|        p->error_indicator = 1;
12471|      0|        p->level--;
12472|      0|        return NULL;
12473|      0|    }
12474|  4.00k|    int _start_lineno = p->tokens[_mark]->lineno;
12475|  4.00k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|  4.00k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 4.00k]
  |  |  ------------------
  ------------------
12476|  4.00k|    int _start_col_offset = p->tokens[_mark]->col_offset;
12477|  4.00k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|  4.00k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 4.00k]
  |  |  ------------------
  ------------------
12478|  4.00k|    { // inversion (('and' inversion))+
12479|  4.00k|        if (p->error_indicator) {
  ------------------
  |  Branch (12479:13): [True: 0, False: 4.00k]
  ------------------
12480|      0|            p->level--;
12481|      0|            return NULL;
12482|      0|        }
12483|  4.00k|        D(fprintf(stderr, "%*c> conjunction[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "inversion (('and' inversion))+"));
12484|  4.00k|        expr_ty a;
12485|  4.00k|        asdl_seq * b;
12486|  4.00k|        if (
12487|  4.00k|            (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
  ------------------
  |  Branch (12487:13): [True: 1.32k, False: 2.68k]
  |  Branch (12487:20): [True: 2.32k, False: 1.68k]
  |  Branch (12487:46): [True: 0, False: 2.32k]
  ------------------
12488|  1.32k|            &&
12489|  1.32k|            (b = _loop1_60_rule(p))  // (('and' inversion))+
  ------------------
  |  Branch (12489:13): [True: 0, False: 1.32k]
  ------------------
12490|  4.00k|        )
12491|      0|        {
12492|      0|            D(fprintf(stderr, "%*c+ conjunction[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "inversion (('and' inversion))+"));
12493|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
12494|      0|            if (_token == NULL) {
  ------------------
  |  Branch (12494:17): [True: 0, False: 0]
  ------------------
12495|      0|                p->level--;
12496|      0|                return NULL;
12497|      0|            }
12498|      0|            int _end_lineno = _token->end_lineno;
12499|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
12500|      0|            int _end_col_offset = _token->end_col_offset;
12501|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
12502|      0|            _res = _PyAST_BoolOp ( And , CHECK ( asdl_expr_seq* , _PyPegen_seq_insert_in_front ( p , a , b ) ) , EXTRA );
  ------------------
  |  |  271|      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 );
  ------------------
  |  |  307|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
12503|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12503:18): [True: 0, False: 0]
  |  Branch (12503:34): [True: 0, False: 0]
  |  Branch (12503:57): [True: 0, False: 0]
  ------------------
12504|      0|                p->error_indicator = 1;
12505|      0|                p->level--;
12506|      0|                return NULL;
12507|      0|            }
12508|      0|            goto done;
12509|      0|        }
12510|  4.00k|        p->mark = _mark;
12511|  4.00k|        D(fprintf(stderr, "%*c%s conjunction[%d-%d]: %s failed!\n", p->level, ' ',
12512|  4.00k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "inversion (('and' inversion))+"));
12513|  4.00k|    }
12514|      0|    { // inversion
12515|  4.00k|        if (p->error_indicator) {
  ------------------
  |  Branch (12515:13): [True: 571, False: 3.43k]
  ------------------
12516|    571|            p->level--;
12517|    571|            return NULL;
12518|    571|        }
12519|  3.43k|        D(fprintf(stderr, "%*c> conjunction[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "inversion"));
12520|  3.43k|        expr_ty inversion_var;
12521|  3.43k|        if (
12522|  3.43k|            (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
  ------------------
  |  Branch (12522:13): [True: 1.32k, False: 2.11k]
  |  Branch (12522:32): [True: 2.22k, False: 1.21k]
  |  Branch (12522:58): [True: 2.22k, False: 0]
  ------------------
12523|  3.43k|        )
12524|  1.32k|        {
12525|  1.32k|            D(fprintf(stderr, "%*c+ conjunction[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "inversion"));
12526|  1.32k|            _res = inversion_var;
12527|  1.32k|            goto done;
12528|  1.32k|        }
12529|  2.11k|        p->mark = _mark;
12530|  2.11k|        D(fprintf(stderr, "%*c%s conjunction[%d-%d]: %s failed!\n", p->level, ' ',
12531|  2.11k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "inversion"));
12532|  2.11k|    }
12533|  2.11k|    _res = NULL;
12534|  3.43k|  done:
12535|  3.43k|    _PyPegen_insert_memo(p, _mark, conjunction_type, _res);
  ------------------
  |  |  208|  3.43k|#define conjunction_type 1119
  ------------------
12536|  3.43k|    p->level--;
12537|  3.43k|    return _res;
12538|  2.11k|}
parser.c:inversion_rule:
12543|  5.22k|{
12544|  5.22k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  10.4k|#  define MAXSTACK 6000
  ------------------
  |  Branch (12544:9): [True: 0, False: 5.22k]
  |  Branch (12544:35): [True: 0, False: 5.22k]
  ------------------
12545|      0|        _Pypegen_stack_overflow(p);
12546|      0|    }
12547|  5.22k|    if (p->error_indicator) {
  ------------------
  |  Branch (12547:9): [True: 0, False: 5.22k]
  ------------------
12548|      0|        p->level--;
12549|      0|        return NULL;
12550|      0|    }
12551|  5.22k|    expr_ty _res = NULL;
12552|  5.22k|    if (_PyPegen_is_memoized(p, inversion_type, &_res)) {
  ------------------
  |  |  209|  5.22k|#define inversion_type 1120
  ------------------
  |  Branch (12552:9): [True: 1.21k, False: 4.00k]
  ------------------
12553|  1.21k|        p->level--;
12554|  1.21k|        return _res;
12555|  1.21k|    }
12556|  4.00k|    int _mark = p->mark;
12557|  4.00k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (12557:9): [True: 0, False: 4.00k]
  |  Branch (12557:31): [True: 0, False: 0]
  ------------------
12558|      0|        p->error_indicator = 1;
12559|      0|        p->level--;
12560|      0|        return NULL;
12561|      0|    }
12562|  4.00k|    int _start_lineno = p->tokens[_mark]->lineno;
12563|  4.00k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|  4.00k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 4.00k]
  |  |  ------------------
  ------------------
12564|  4.00k|    int _start_col_offset = p->tokens[_mark]->col_offset;
12565|  4.00k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|  4.00k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 4.00k]
  |  |  ------------------
  ------------------
12566|  4.00k|    { // 'not' inversion
12567|  4.00k|        if (p->error_indicator) {
  ------------------
  |  Branch (12567:13): [True: 0, False: 4.00k]
  ------------------
12568|      0|            p->level--;
12569|      0|            return NULL;
12570|      0|        }
12571|  4.00k|        D(fprintf(stderr, "%*c> inversion[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'not' inversion"));
12572|  4.00k|        Token * _keyword;
12573|  4.00k|        expr_ty a;
12574|  4.00k|        if (
12575|  4.00k|            (_keyword = _PyPegen_expect_token(p, 721))  // token='not'
  ------------------
  |  Branch (12575:13): [True: 0, False: 4.00k]
  ------------------
12576|      0|            &&
12577|      0|            (a = inversion_rule(p))  // inversion
  ------------------
  |  Branch (12577:13): [True: 0, False: 0]
  ------------------
12578|  4.00k|        )
12579|      0|        {
12580|      0|            D(fprintf(stderr, "%*c+ inversion[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'not' inversion"));
12581|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
12582|      0|            if (_token == NULL) {
  ------------------
  |  Branch (12582:17): [True: 0, False: 0]
  ------------------
12583|      0|                p->level--;
12584|      0|                return NULL;
12585|      0|            }
12586|      0|            int _end_lineno = _token->end_lineno;
12587|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
12588|      0|            int _end_col_offset = _token->end_col_offset;
12589|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
12590|      0|            _res = _PyAST_UnaryOp ( Not , a , EXTRA );
  ------------------
  |  |  307|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
12591|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12591:18): [True: 0, False: 0]
  |  Branch (12591:34): [True: 0, False: 0]
  |  Branch (12591:57): [True: 0, False: 0]
  ------------------
12592|      0|                p->error_indicator = 1;
12593|      0|                p->level--;
12594|      0|                return NULL;
12595|      0|            }
12596|      0|            goto done;
12597|      0|        }
12598|  4.00k|        p->mark = _mark;
12599|  4.00k|        D(fprintf(stderr, "%*c%s inversion[%d-%d]: %s failed!\n", p->level, ' ',
12600|  4.00k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'not' inversion"));
12601|  4.00k|    }
12602|      0|    { // comparison
12603|  4.00k|        if (p->error_indicator) {
  ------------------
  |  Branch (12603:13): [True: 0, False: 4.00k]
  ------------------
12604|      0|            p->level--;
12605|      0|            return NULL;
12606|      0|        }
12607|  4.00k|        D(fprintf(stderr, "%*c> inversion[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "comparison"));
12608|  4.00k|        expr_ty comparison_var;
12609|  4.00k|        if (
12610|  4.00k|            (comparison_var = comparison_rule(p))  // comparison
  ------------------
  |  Branch (12610:13): [True: 1.32k, False: 2.68k]
  ------------------
12611|  4.00k|        )
12612|  1.32k|        {
12613|  1.32k|            D(fprintf(stderr, "%*c+ inversion[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "comparison"));
12614|  1.32k|            _res = comparison_var;
12615|  1.32k|            goto done;
12616|  1.32k|        }
12617|  2.68k|        p->mark = _mark;
12618|  2.68k|        D(fprintf(stderr, "%*c%s inversion[%d-%d]: %s failed!\n", p->level, ' ',
12619|  2.68k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "comparison"));
12620|  2.68k|    }
12621|  2.68k|    _res = NULL;
12622|  4.00k|  done:
12623|  4.00k|    _PyPegen_insert_memo(p, _mark, inversion_type, _res);
  ------------------
  |  |  209|  4.00k|#define inversion_type 1120
  ------------------
12624|  4.00k|    p->level--;
12625|  4.00k|    return _res;
12626|  2.68k|}
parser.c:comparison_rule:
12631|  4.00k|{
12632|  4.00k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  8.01k|#  define MAXSTACK 6000
  ------------------
  |  Branch (12632:9): [True: 0, False: 4.00k]
  |  Branch (12632:35): [True: 0, False: 4.00k]
  ------------------
12633|      0|        _Pypegen_stack_overflow(p);
12634|      0|    }
12635|  4.00k|    if (p->error_indicator) {
  ------------------
  |  Branch (12635:9): [True: 0, False: 4.00k]
  ------------------
12636|      0|        p->level--;
12637|      0|        return NULL;
12638|      0|    }
12639|  4.00k|    expr_ty _res = NULL;
12640|  4.00k|    int _mark = p->mark;
12641|  4.00k|    expr_ty _prefix_4_result = NULL;
12642|  4.00k|    int _prefix_4_end = 0, _prefix_4_valid = 0;
12643|  4.00k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (12643:9): [True: 0, False: 4.00k]
  |  Branch (12643:31): [True: 0, False: 0]
  ------------------
12644|      0|        p->error_indicator = 1;
12645|      0|        p->level--;
12646|      0|        return NULL;
12647|      0|    }
12648|  4.00k|    int _start_lineno = p->tokens[_mark]->lineno;
12649|  4.00k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|  4.00k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 4.00k]
  |  |  ------------------
  ------------------
12650|  4.00k|    int _start_col_offset = p->tokens[_mark]->col_offset;
12651|  4.00k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|  4.00k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 4.00k]
  |  |  ------------------
  ------------------
12652|  4.00k|    { // bitwise_or compare_op_bitwise_or_pair+
12653|  4.00k|        if (p->error_indicator) {
  ------------------
  |  Branch (12653:13): [True: 0, False: 4.00k]
  ------------------
12654|      0|            p->level--;
12655|      0|            return NULL;
12656|      0|        }
12657|  4.00k|        D(fprintf(stderr, "%*c> comparison[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_or compare_op_bitwise_or_pair+"));
12658|  4.00k|        expr_ty a;
12659|  4.00k|        asdl_seq * b;
12660|  4.00k|        if (
12661|  4.00k|            (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
  ------------------
  |  Branch (12661:13): [True: 1.32k, False: 2.68k]
  |  Branch (12661:20): [True: 2.32k, False: 1.68k]
  |  Branch (12661:46): [True: 0, False: 2.32k]
  ------------------
12662|  1.32k|            &&
12663|  1.32k|            (b = _loop1_61_rule(p))  // compare_op_bitwise_or_pair+
  ------------------
  |  Branch (12663:13): [True: 0, False: 1.32k]
  ------------------
12664|  4.00k|        )
12665|      0|        {
12666|      0|            D(fprintf(stderr, "%*c+ comparison[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_or compare_op_bitwise_or_pair+"));
12667|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
12668|      0|            if (_token == NULL) {
  ------------------
  |  Branch (12668:17): [True: 0, False: 0]
  ------------------
12669|      0|                p->level--;
12670|      0|                return NULL;
12671|      0|            }
12672|      0|            int _end_lineno = _token->end_lineno;
12673|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
12674|      0|            int _end_col_offset = _token->end_col_offset;
12675|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
12676|      0|            _res = _PyAST_Compare ( a , CHECK ( asdl_int_seq* , _PyPegen_get_cmpops ( p , b ) ) , CHECK ( asdl_expr_seq* , _PyPegen_get_exprs ( p , b ) ) , EXTRA );
  ------------------
  |  |  271|      0|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_Compare ( a , CHECK ( asdl_int_seq* , _PyPegen_get_cmpops ( p , b ) ) , CHECK ( asdl_expr_seq* , _PyPegen_get_exprs ( p , b ) ) , EXTRA );
  ------------------
  |  |  271|      0|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_Compare ( a , CHECK ( asdl_int_seq* , _PyPegen_get_cmpops ( p , b ) ) , CHECK ( asdl_expr_seq* , _PyPegen_get_exprs ( p , b ) ) , EXTRA );
  ------------------
  |  |  307|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
12677|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12677:18): [True: 0, False: 0]
  |  Branch (12677:34): [True: 0, False: 0]
  |  Branch (12677:57): [True: 0, False: 0]
  ------------------
12678|      0|                p->error_indicator = 1;
12679|      0|                p->level--;
12680|      0|                return NULL;
12681|      0|            }
12682|      0|            goto done;
12683|      0|        }
12684|  4.00k|        p->mark = _mark;
12685|  4.00k|        D(fprintf(stderr, "%*c%s comparison[%d-%d]: %s failed!\n", p->level, ' ',
12686|  4.00k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_or compare_op_bitwise_or_pair+"));
12687|  4.00k|    }
12688|      0|    { // bitwise_or
12689|  4.00k|        if (p->error_indicator) {
  ------------------
  |  Branch (12689:13): [True: 571, False: 3.43k]
  ------------------
12690|    571|            p->level--;
12691|    571|            return NULL;
12692|    571|        }
12693|  3.43k|        D(fprintf(stderr, "%*c> comparison[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_or"));
12694|  3.43k|        expr_ty bitwise_or_var;
12695|  3.43k|        if (
12696|  3.43k|            (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
  ------------------
  |  Branch (12696:13): [True: 1.32k, False: 2.11k]
  |  Branch (12696:33): [True: 2.22k, False: 1.21k]
  |  Branch (12696:59): [True: 2.22k, False: 0]
  ------------------
12697|  3.43k|        )
12698|  1.32k|        {
12699|  1.32k|            D(fprintf(stderr, "%*c+ comparison[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_or"));
12700|  1.32k|            _res = bitwise_or_var;
12701|  1.32k|            goto done;
12702|  1.32k|        }
12703|  2.11k|        p->mark = _mark;
12704|  2.11k|        D(fprintf(stderr, "%*c%s comparison[%d-%d]: %s failed!\n", p->level, ' ',
12705|  2.11k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_or"));
12706|  2.11k|    }
12707|  2.11k|    _res = NULL;
12708|  3.43k|  done:
12709|  3.43k|    p->level--;
12710|  3.43k|    return _res;
12711|  2.11k|}
parser.c:_loop1_61_rule:
31113|  1.32k|{
31114|  1.32k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  2.64k|#  define MAXSTACK 6000
  ------------------
  |  Branch (31114:9): [True: 0, False: 1.32k]
  |  Branch (31114:35): [True: 0, False: 1.32k]
  ------------------
31115|      0|        _Pypegen_stack_overflow(p);
31116|      0|    }
31117|  1.32k|    if (p->error_indicator) {
  ------------------
  |  Branch (31117:9): [True: 0, False: 1.32k]
  ------------------
31118|      0|        p->level--;
31119|      0|        return NULL;
31120|      0|    }
31121|  1.32k|    void *_res = NULL;
31122|  1.32k|    int _mark = p->mark;
31123|  1.32k|    void **_children = PyMem_Malloc(sizeof(void *));
31124|  1.32k|    if (!_children) {
  ------------------
  |  Branch (31124:9): [True: 0, False: 1.32k]
  ------------------
31125|      0|        p->error_indicator = 1;
31126|      0|        PyErr_NoMemory();
31127|      0|        p->level--;
31128|      0|        return NULL;
31129|      0|    }
31130|  1.32k|    Py_ssize_t _children_capacity = 1;
31131|  1.32k|    Py_ssize_t _n = 0;
31132|  1.32k|    { // compare_op_bitwise_or_pair
31133|  1.32k|        if (p->error_indicator) {
  ------------------
  |  Branch (31133:13): [True: 0, False: 1.32k]
  ------------------
31134|      0|            p->level--;
31135|      0|            return NULL;
31136|      0|        }
31137|  1.32k|        D(fprintf(stderr, "%*c> _loop1_61[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "compare_op_bitwise_or_pair"));
31138|  1.32k|        CmpopExprPair* compare_op_bitwise_or_pair_var;
31139|  1.32k|        while (
31140|  1.32k|            (compare_op_bitwise_or_pair_var = compare_op_bitwise_or_pair_rule(p))  // compare_op_bitwise_or_pair
  ------------------
  |  Branch (31140:13): [True: 0, False: 1.32k]
  ------------------
31141|  1.32k|        )
31142|      0|        {
31143|      0|            _res = compare_op_bitwise_or_pair_var;
31144|      0|            if (_n == _children_capacity) {
  ------------------
  |  Branch (31144:17): [True: 0, False: 0]
  ------------------
31145|      0|                _children_capacity *= 2;
31146|      0|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
31147|      0|                if (!_new_children) {
  ------------------
  |  Branch (31147:21): [True: 0, False: 0]
  ------------------
31148|      0|                    PyMem_Free(_children);
31149|      0|                    p->error_indicator = 1;
31150|      0|                    PyErr_NoMemory();
31151|      0|                    p->level--;
31152|      0|                    return NULL;
31153|      0|                }
31154|      0|                _children = _new_children;
31155|      0|            }
31156|      0|            _children[_n++] = _res;
31157|      0|            _mark = p->mark;
31158|      0|        }
31159|  1.32k|        p->mark = _mark;
31160|  1.32k|        D(fprintf(stderr, "%*c%s _loop1_61[%d-%d]: %s failed!\n", p->level, ' ',
31161|  1.32k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "compare_op_bitwise_or_pair"));
31162|  1.32k|    }
31163|  1.32k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (31163:9): [True: 1.32k, False: 0]
  |  Branch (31163:20): [True: 0, False: 0]
  ------------------
31164|  1.32k|        PyMem_Free(_children);
31165|  1.32k|        p->level--;
31166|  1.32k|        return NULL;
31167|  1.32k|    }
31168|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
31169|      0|    if (!_seq) {
  ------------------
  |  Branch (31169:9): [True: 0, False: 0]
  ------------------
31170|      0|        PyMem_Free(_children);
31171|      0|        p->error_indicator = 1;
31172|      0|        PyErr_NoMemory();
31173|      0|        p->level--;
31174|      0|        return NULL;
31175|      0|    }
31176|      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))
  |  |  ------------------
  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (31176:28): [True: 0, False: 0]
  ------------------
31177|      0|    PyMem_Free(_children);
31178|      0|    p->level--;
31179|      0|    return _seq;
31180|      0|}
parser.c:compare_op_bitwise_or_pair_rule:
12727|  1.32k|{
12728|  1.32k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  2.64k|#  define MAXSTACK 6000
  ------------------
  |  Branch (12728:9): [True: 0, False: 1.32k]
  |  Branch (12728:35): [True: 0, False: 1.32k]
  ------------------
12729|      0|        _Pypegen_stack_overflow(p);
12730|      0|    }
12731|  1.32k|    if (p->error_indicator) {
  ------------------
  |  Branch (12731:9): [True: 0, False: 1.32k]
  ------------------
12732|      0|        p->level--;
12733|      0|        return NULL;
12734|      0|    }
12735|  1.32k|    CmpopExprPair* _res = NULL;
12736|  1.32k|    int _mark = p->mark;
12737|  1.32k|    { // '==' bitwise_or
12738|  1.32k|        if (p->error_indicator) {
  ------------------
  |  Branch (12738:13): [True: 0, False: 1.32k]
  ------------------
12739|      0|            p->level--;
12740|      0|            return NULL;
12741|      0|        }
12742|  1.32k|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'==' bitwise_or"));
12743|  1.32k|        Token * _literal;
12744|  1.32k|        expr_ty a;
12745|  1.32k|        if (
12746|  1.32k|            (_literal = _PyPegen_expect_token(p, 27))  // token='=='
  ------------------
  |  Branch (12746:13): [True: 0, False: 1.32k]
  ------------------
12747|      0|            &&
12748|      0|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (12748:13): [True: 0, False: 0]
  ------------------
12749|  1.32k|        )
12750|      0|        {
12751|      0|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'==' bitwise_or"));
12752|      0|            _res = _PyPegen_cmpop_expr_pair ( p , Eq , a );
12753|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12753:18): [True: 0, False: 0]
  |  Branch (12753:34): [True: 0, False: 0]
  |  Branch (12753:57): [True: 0, False: 0]
  ------------------
12754|      0|                p->error_indicator = 1;
12755|      0|                p->level--;
12756|      0|                return NULL;
12757|      0|            }
12758|      0|            goto done;
12759|      0|        }
12760|  1.32k|        p->mark = _mark;
12761|  1.32k|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
12762|  1.32k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'==' bitwise_or"));
12763|  1.32k|    }
12764|      0|    { // ('!=') bitwise_or
12765|  1.32k|        if (p->error_indicator) {
  ------------------
  |  Branch (12765:13): [True: 0, False: 1.32k]
  ------------------
12766|      0|            p->level--;
12767|      0|            return NULL;
12768|      0|        }
12769|  1.32k|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "('!=') bitwise_or"));
12770|  1.32k|        void *_tmp_62_var;
12771|  1.32k|        expr_ty a;
12772|  1.32k|        if (
12773|  1.32k|            (_tmp_62_var = _tmp_62_rule(p))  // '!='
  ------------------
  |  Branch (12773:13): [True: 0, False: 1.32k]
  ------------------
12774|      0|            &&
12775|      0|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (12775:13): [True: 0, False: 0]
  ------------------
12776|  1.32k|        )
12777|      0|        {
12778|      0|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "('!=') bitwise_or"));
12779|      0|            _res = _PyPegen_cmpop_expr_pair ( p , NotEq , a );
12780|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12780:18): [True: 0, False: 0]
  |  Branch (12780:34): [True: 0, False: 0]
  |  Branch (12780:57): [True: 0, False: 0]
  ------------------
12781|      0|                p->error_indicator = 1;
12782|      0|                p->level--;
12783|      0|                return NULL;
12784|      0|            }
12785|      0|            goto done;
12786|      0|        }
12787|  1.32k|        p->mark = _mark;
12788|  1.32k|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
12789|  1.32k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "('!=') bitwise_or"));
12790|  1.32k|    }
12791|      0|    { // '<=' bitwise_or
12792|  1.32k|        if (p->error_indicator) {
  ------------------
  |  Branch (12792:13): [True: 0, False: 1.32k]
  ------------------
12793|      0|            p->level--;
12794|      0|            return NULL;
12795|      0|        }
12796|  1.32k|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'<=' bitwise_or"));
12797|  1.32k|        Token * _literal;
12798|  1.32k|        expr_ty a;
12799|  1.32k|        if (
12800|  1.32k|            (_literal = _PyPegen_expect_token(p, 29))  // token='<='
  ------------------
  |  Branch (12800:13): [True: 0, False: 1.32k]
  ------------------
12801|      0|            &&
12802|      0|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (12802:13): [True: 0, False: 0]
  ------------------
12803|  1.32k|        )
12804|      0|        {
12805|      0|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'<=' bitwise_or"));
12806|      0|            _res = _PyPegen_cmpop_expr_pair ( p , LtE , a );
12807|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12807:18): [True: 0, False: 0]
  |  Branch (12807:34): [True: 0, False: 0]
  |  Branch (12807:57): [True: 0, False: 0]
  ------------------
12808|      0|                p->error_indicator = 1;
12809|      0|                p->level--;
12810|      0|                return NULL;
12811|      0|            }
12812|      0|            goto done;
12813|      0|        }
12814|  1.32k|        p->mark = _mark;
12815|  1.32k|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
12816|  1.32k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'<=' bitwise_or"));
12817|  1.32k|    }
12818|  1.32k|    if (p->call_invalid_rules) { // invalid_noteq
  ------------------
  |  Branch (12818:9): [True: 472, False: 850]
  ------------------
12819|    472|        if (p->error_indicator) {
  ------------------
  |  Branch (12819:13): [True: 0, False: 472]
  ------------------
12820|      0|            p->level--;
12821|      0|            return NULL;
12822|      0|        }
12823|    472|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_noteq"));
12824|    472|        void *invalid_noteq_var;
12825|    472|        if (
12826|    472|            (invalid_noteq_var = invalid_noteq_rule(p))  // invalid_noteq
  ------------------
  |  Branch (12826:13): [True: 0, False: 472]
  ------------------
12827|    472|        )
12828|      0|        {
12829|      0|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_noteq"));
12830|      0|            _res = invalid_noteq_var;
12831|      0|            goto done;
12832|      0|        }
12833|    472|        p->mark = _mark;
12834|    472|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
12835|    472|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_noteq"));
12836|    472|    }
12837|  1.32k|    { // '<' bitwise_or
12838|  1.32k|        if (p->error_indicator) {
  ------------------
  |  Branch (12838:13): [True: 0, False: 1.32k]
  ------------------
12839|      0|            p->level--;
12840|      0|            return NULL;
12841|      0|        }
12842|  1.32k|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'<' bitwise_or"));
12843|  1.32k|        Token * _literal;
12844|  1.32k|        expr_ty a;
12845|  1.32k|        if (
12846|  1.32k|            (_literal = _PyPegen_expect_token(p, 20))  // token='<'
  ------------------
  |  Branch (12846:13): [True: 0, False: 1.32k]
  ------------------
12847|      0|            &&
12848|      0|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (12848:13): [True: 0, False: 0]
  ------------------
12849|  1.32k|        )
12850|      0|        {
12851|      0|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'<' bitwise_or"));
12852|      0|            _res = _PyPegen_cmpop_expr_pair ( p , Lt , a );
12853|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12853:18): [True: 0, False: 0]
  |  Branch (12853:34): [True: 0, False: 0]
  |  Branch (12853:57): [True: 0, False: 0]
  ------------------
12854|      0|                p->error_indicator = 1;
12855|      0|                p->level--;
12856|      0|                return NULL;
12857|      0|            }
12858|      0|            goto done;
12859|      0|        }
12860|  1.32k|        p->mark = _mark;
12861|  1.32k|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
12862|  1.32k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'<' bitwise_or"));
12863|  1.32k|    }
12864|      0|    { // '>=' bitwise_or
12865|  1.32k|        if (p->error_indicator) {
  ------------------
  |  Branch (12865:13): [True: 0, False: 1.32k]
  ------------------
12866|      0|            p->level--;
12867|      0|            return NULL;
12868|      0|        }
12869|  1.32k|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'>=' bitwise_or"));
12870|  1.32k|        Token * _literal;
12871|  1.32k|        expr_ty a;
12872|  1.32k|        if (
12873|  1.32k|            (_literal = _PyPegen_expect_token(p, 30))  // token='>='
  ------------------
  |  Branch (12873:13): [True: 0, False: 1.32k]
  ------------------
12874|      0|            &&
12875|      0|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (12875:13): [True: 0, False: 0]
  ------------------
12876|  1.32k|        )
12877|      0|        {
12878|      0|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'>=' bitwise_or"));
12879|      0|            _res = _PyPegen_cmpop_expr_pair ( p , GtE , a );
12880|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12880:18): [True: 0, False: 0]
  |  Branch (12880:34): [True: 0, False: 0]
  |  Branch (12880:57): [True: 0, False: 0]
  ------------------
12881|      0|                p->error_indicator = 1;
12882|      0|                p->level--;
12883|      0|                return NULL;
12884|      0|            }
12885|      0|            goto done;
12886|      0|        }
12887|  1.32k|        p->mark = _mark;
12888|  1.32k|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
12889|  1.32k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'>=' bitwise_or"));
12890|  1.32k|    }
12891|      0|    { // '>' bitwise_or
12892|  1.32k|        if (p->error_indicator) {
  ------------------
  |  Branch (12892:13): [True: 0, False: 1.32k]
  ------------------
12893|      0|            p->level--;
12894|      0|            return NULL;
12895|      0|        }
12896|  1.32k|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'>' bitwise_or"));
12897|  1.32k|        Token * _literal;
12898|  1.32k|        expr_ty a;
12899|  1.32k|        if (
12900|  1.32k|            (_literal = _PyPegen_expect_token(p, 21))  // token='>'
  ------------------
  |  Branch (12900:13): [True: 0, False: 1.32k]
  ------------------
12901|      0|            &&
12902|      0|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (12902:13): [True: 0, False: 0]
  ------------------
12903|  1.32k|        )
12904|      0|        {
12905|      0|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'>' bitwise_or"));
12906|      0|            _res = _PyPegen_cmpop_expr_pair ( p , Gt , a );
12907|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12907:18): [True: 0, False: 0]
  |  Branch (12907:34): [True: 0, False: 0]
  |  Branch (12907:57): [True: 0, False: 0]
  ------------------
12908|      0|                p->error_indicator = 1;
12909|      0|                p->level--;
12910|      0|                return NULL;
12911|      0|            }
12912|      0|            goto done;
12913|      0|        }
12914|  1.32k|        p->mark = _mark;
12915|  1.32k|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
12916|  1.32k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'>' bitwise_or"));
12917|  1.32k|    }
12918|      0|    { // 'not' 'in' bitwise_or
12919|  1.32k|        if (p->error_indicator) {
  ------------------
  |  Branch (12919:13): [True: 0, False: 1.32k]
  ------------------
12920|      0|            p->level--;
12921|      0|            return NULL;
12922|      0|        }
12923|  1.32k|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'not' 'in' bitwise_or"));
12924|  1.32k|        Token * _keyword;
12925|  1.32k|        Token * _keyword_1;
12926|  1.32k|        expr_ty a;
12927|  1.32k|        if (
12928|  1.32k|            (_keyword = _PyPegen_expect_token(p, 721))  // token='not'
  ------------------
  |  Branch (12928:13): [True: 0, False: 1.32k]
  ------------------
12929|      0|            &&
12930|      0|            (_keyword_1 = _PyPegen_expect_token(p, 713))  // token='in'
  ------------------
  |  Branch (12930:13): [True: 0, False: 0]
  ------------------
12931|      0|            &&
12932|      0|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (12932:13): [True: 0, False: 0]
  ------------------
12933|  1.32k|        )
12934|      0|        {
12935|      0|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'not' 'in' bitwise_or"));
12936|      0|            _res = _PyPegen_cmpop_expr_pair ( p , NotIn , a );
12937|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12937:18): [True: 0, False: 0]
  |  Branch (12937:34): [True: 0, False: 0]
  |  Branch (12937:57): [True: 0, False: 0]
  ------------------
12938|      0|                p->error_indicator = 1;
12939|      0|                p->level--;
12940|      0|                return NULL;
12941|      0|            }
12942|      0|            goto done;
12943|      0|        }
12944|  1.32k|        p->mark = _mark;
12945|  1.32k|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
12946|  1.32k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'not' 'in' bitwise_or"));
12947|  1.32k|    }
12948|      0|    { // 'in' bitwise_or
12949|  1.32k|        if (p->error_indicator) {
  ------------------
  |  Branch (12949:13): [True: 0, False: 1.32k]
  ------------------
12950|      0|            p->level--;
12951|      0|            return NULL;
12952|      0|        }
12953|  1.32k|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'in' bitwise_or"));
12954|  1.32k|        Token * _keyword;
12955|  1.32k|        expr_ty a;
12956|  1.32k|        if (
12957|  1.32k|            (_keyword = _PyPegen_expect_token(p, 713))  // token='in'
  ------------------
  |  Branch (12957:13): [True: 0, False: 1.32k]
  ------------------
12958|      0|            &&
12959|      0|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (12959:13): [True: 0, False: 0]
  ------------------
12960|  1.32k|        )
12961|      0|        {
12962|      0|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'in' bitwise_or"));
12963|      0|            _res = _PyPegen_cmpop_expr_pair ( p , In , a );
12964|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12964:18): [True: 0, False: 0]
  |  Branch (12964:34): [True: 0, False: 0]
  |  Branch (12964:57): [True: 0, False: 0]
  ------------------
12965|      0|                p->error_indicator = 1;
12966|      0|                p->level--;
12967|      0|                return NULL;
12968|      0|            }
12969|      0|            goto done;
12970|      0|        }
12971|  1.32k|        p->mark = _mark;
12972|  1.32k|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
12973|  1.32k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'in' bitwise_or"));
12974|  1.32k|    }
12975|      0|    { // 'is' 'not' bitwise_or
12976|  1.32k|        if (p->error_indicator) {
  ------------------
  |  Branch (12976:13): [True: 0, False: 1.32k]
  ------------------
12977|      0|            p->level--;
12978|      0|            return NULL;
12979|      0|        }
12980|  1.32k|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'is' 'not' bitwise_or"));
12981|  1.32k|        Token * _keyword;
12982|  1.32k|        Token * _keyword_1;
12983|  1.32k|        expr_ty a;
12984|  1.32k|        if (
12985|  1.32k|            (_keyword = _PyPegen_expect_token(p, 597))  // token='is'
  ------------------
  |  Branch (12985:13): [True: 0, False: 1.32k]
  ------------------
12986|      0|            &&
12987|      0|            (_keyword_1 = _PyPegen_expect_token(p, 721))  // token='not'
  ------------------
  |  Branch (12987:13): [True: 0, False: 0]
  ------------------
12988|      0|            &&
12989|      0|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (12989:13): [True: 0, False: 0]
  ------------------
12990|  1.32k|        )
12991|      0|        {
12992|      0|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'is' 'not' bitwise_or"));
12993|      0|            _res = _PyPegen_cmpop_expr_pair ( p , IsNot , a );
12994|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12994:18): [True: 0, False: 0]
  |  Branch (12994:34): [True: 0, False: 0]
  |  Branch (12994:57): [True: 0, False: 0]
  ------------------
12995|      0|                p->error_indicator = 1;
12996|      0|                p->level--;
12997|      0|                return NULL;
12998|      0|            }
12999|      0|            goto done;
13000|      0|        }
13001|  1.32k|        p->mark = _mark;
13002|  1.32k|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
13003|  1.32k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'is' 'not' bitwise_or"));
13004|  1.32k|    }
13005|      0|    { // 'is' bitwise_or
13006|  1.32k|        if (p->error_indicator) {
  ------------------
  |  Branch (13006:13): [True: 0, False: 1.32k]
  ------------------
13007|      0|            p->level--;
13008|      0|            return NULL;
13009|      0|        }
13010|  1.32k|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'is' bitwise_or"));
13011|  1.32k|        Token * _keyword;
13012|  1.32k|        expr_ty a;
13013|  1.32k|        if (
13014|  1.32k|            (_keyword = _PyPegen_expect_token(p, 597))  // token='is'
  ------------------
  |  Branch (13014:13): [True: 0, False: 1.32k]
  ------------------
13015|      0|            &&
13016|      0|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (13016:13): [True: 0, False: 0]
  ------------------
13017|  1.32k|        )
13018|      0|        {
13019|      0|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'is' bitwise_or"));
13020|      0|            _res = _PyPegen_cmpop_expr_pair ( p , Is , a );
13021|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13021:18): [True: 0, False: 0]
  |  Branch (13021:34): [True: 0, False: 0]
  |  Branch (13021:57): [True: 0, False: 0]
  ------------------
13022|      0|                p->error_indicator = 1;
13023|      0|                p->level--;
13024|      0|                return NULL;
13025|      0|            }
13026|      0|            goto done;
13027|      0|        }
13028|  1.32k|        p->mark = _mark;
13029|  1.32k|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
13030|  1.32k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'is' bitwise_or"));
13031|  1.32k|    }
13032|  1.32k|    _res = NULL;
13033|  1.32k|  done:
13034|  1.32k|    p->level--;
13035|  1.32k|    return _res;
13036|  1.32k|}
parser.c:_tmp_62_rule:
31185|  1.32k|{
31186|  1.32k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  2.64k|#  define MAXSTACK 6000
  ------------------
  |  Branch (31186:9): [True: 0, False: 1.32k]
  |  Branch (31186:35): [True: 0, False: 1.32k]
  ------------------
31187|      0|        _Pypegen_stack_overflow(p);
31188|      0|    }
31189|  1.32k|    if (p->error_indicator) {
  ------------------
  |  Branch (31189:9): [True: 0, False: 1.32k]
  ------------------
31190|      0|        p->level--;
31191|      0|        return NULL;
31192|      0|    }
31193|  1.32k|    void * _res = NULL;
31194|  1.32k|    int _mark = p->mark;
31195|  1.32k|    { // '!='
31196|  1.32k|        if (p->error_indicator) {
  ------------------
  |  Branch (31196:13): [True: 0, False: 1.32k]
  ------------------
31197|      0|            p->level--;
31198|      0|            return NULL;
31199|      0|        }
31200|  1.32k|        D(fprintf(stderr, "%*c> _tmp_62[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'!='"));
31201|  1.32k|        Token * tok;
31202|  1.32k|        if (
31203|  1.32k|            (tok = _PyPegen_expect_token(p, 28))  // token='!='
  ------------------
  |  Branch (31203:13): [True: 0, False: 1.32k]
  ------------------
31204|  1.32k|        )
31205|      0|        {
31206|      0|            D(fprintf(stderr, "%*c+ _tmp_62[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'!='"));
31207|      0|            _res = _PyPegen_check_barry_as_flufl ( p , tok ) ? NULL : tok;
  ------------------
  |  Branch (31207:20): [True: 0, False: 0]
  ------------------
31208|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (31208:18): [True: 0, False: 0]
  |  Branch (31208:34): [True: 0, False: 0]
  |  Branch (31208:57): [True: 0, False: 0]
  ------------------
31209|      0|                p->error_indicator = 1;
31210|      0|                p->level--;
31211|      0|                return NULL;
31212|      0|            }
31213|      0|            goto done;
31214|      0|        }
31215|  1.32k|        p->mark = _mark;
31216|  1.32k|        D(fprintf(stderr, "%*c%s _tmp_62[%d-%d]: %s failed!\n", p->level, ' ',
31217|  1.32k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'!='"));
31218|  1.32k|    }
31219|  1.32k|    _res = NULL;
31220|  1.32k|  done:
31221|  1.32k|    p->level--;
31222|  1.32k|    return _res;
31223|  1.32k|}
parser.c:invalid_noteq_rule:
27297|    472|{
27298|    472|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    944|#  define MAXSTACK 6000
  ------------------
  |  Branch (27298:9): [True: 0, False: 472]
  |  Branch (27298:35): [True: 0, False: 472]
  ------------------
27299|      0|        _Pypegen_stack_overflow(p);
27300|      0|    }
27301|    472|    if (p->error_indicator) {
  ------------------
  |  Branch (27301:9): [True: 0, False: 472]
  ------------------
27302|      0|        p->level--;
27303|      0|        return NULL;
27304|      0|    }
27305|    472|    void * _res = NULL;
27306|    472|    int _mark = p->mark;
27307|    472|    { // '<' '>'
27308|    472|        if (p->error_indicator) {
  ------------------
  |  Branch (27308:13): [True: 0, False: 472]
  ------------------
27309|      0|            p->level--;
27310|      0|            return NULL;
27311|      0|        }
27312|    472|        D(fprintf(stderr, "%*c> invalid_noteq[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'<' '>'"));
27313|    472|        Token * a;
27314|    472|        Token * b;
27315|    472|        if (
27316|    472|            (a = _PyPegen_expect_token(p, 20))  // token='<'
  ------------------
  |  Branch (27316:13): [True: 0, False: 472]
  ------------------
27317|      0|            &&
27318|      0|            (b = _PyPegen_expect_token(p, 21))  // token='>'
  ------------------
  |  Branch (27318:13): [True: 0, False: 0]
  ------------------
27319|    472|        )
27320|      0|        {
27321|      0|            D(fprintf(stderr, "%*c+ invalid_noteq[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'<' '>'"));
27322|      0|            _res = _PyPegen_tokens_are_adjacent ( a , b ) ? RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "invalid syntax.  Maybe you meant '!=' instead of '<>'?" ) : NULL;
  ------------------
  |  |  237|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
  |  Branch (27322:20): [True: 0, False: 0]
  ------------------
27323|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (27323:18): [True: 0, False: 0]
  |  Branch (27323:34): [True: 0, False: 0]
  |  Branch (27323:57): [True: 0, False: 0]
  ------------------
27324|      0|                p->error_indicator = 1;
27325|      0|                p->level--;
27326|      0|                return NULL;
27327|      0|            }
27328|      0|            goto done;
27329|      0|        }
27330|    472|        p->mark = _mark;
27331|    472|        D(fprintf(stderr, "%*c%s invalid_noteq[%d-%d]: %s failed!\n", p->level, ' ',
27332|    472|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'<' '>'"));
27333|    472|    }
27334|    472|    _res = NULL;
27335|    472|  done:
27336|    472|    p->level--;
27337|    472|    return _res;
27338|    472|}
parser.c:_loop1_60_rule:
31041|  1.32k|{
31042|  1.32k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  2.64k|#  define MAXSTACK 6000
  ------------------
  |  Branch (31042:9): [True: 0, False: 1.32k]
  |  Branch (31042:35): [True: 0, False: 1.32k]
  ------------------
31043|      0|        _Pypegen_stack_overflow(p);
31044|      0|    }
31045|  1.32k|    if (p->error_indicator) {
  ------------------
  |  Branch (31045:9): [True: 0, False: 1.32k]
  ------------------
31046|      0|        p->level--;
31047|      0|        return NULL;
31048|      0|    }
31049|  1.32k|    void *_res = NULL;
31050|  1.32k|    int _mark = p->mark;
31051|  1.32k|    void **_children = PyMem_Malloc(sizeof(void *));
31052|  1.32k|    if (!_children) {
  ------------------
  |  Branch (31052:9): [True: 0, False: 1.32k]
  ------------------
31053|      0|        p->error_indicator = 1;
31054|      0|        PyErr_NoMemory();
31055|      0|        p->level--;
31056|      0|        return NULL;
31057|      0|    }
31058|  1.32k|    Py_ssize_t _children_capacity = 1;
31059|  1.32k|    Py_ssize_t _n = 0;
31060|  1.32k|    { // ('and' inversion)
31061|  1.32k|        if (p->error_indicator) {
  ------------------
  |  Branch (31061:13): [True: 0, False: 1.32k]
  ------------------
31062|      0|            p->level--;
31063|      0|            return NULL;
31064|      0|        }
31065|  1.32k|        D(fprintf(stderr, "%*c> _loop1_60[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "('and' inversion)"));
31066|  1.32k|        void *_tmp_162_var;
31067|  1.32k|        while (
31068|  1.32k|            (_tmp_162_var = _tmp_162_rule(p))  // 'and' inversion
  ------------------
  |  Branch (31068:13): [True: 0, False: 1.32k]
  ------------------
31069|  1.32k|        )
31070|      0|        {
31071|      0|            _res = _tmp_162_var;
31072|      0|            if (_n == _children_capacity) {
  ------------------
  |  Branch (31072:17): [True: 0, False: 0]
  ------------------
31073|      0|                _children_capacity *= 2;
31074|      0|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
31075|      0|                if (!_new_children) {
  ------------------
  |  Branch (31075:21): [True: 0, False: 0]
  ------------------
31076|      0|                    PyMem_Free(_children);
31077|      0|                    p->error_indicator = 1;
31078|      0|                    PyErr_NoMemory();
31079|      0|                    p->level--;
31080|      0|                    return NULL;
31081|      0|                }
31082|      0|                _children = _new_children;
31083|      0|            }
31084|      0|            _children[_n++] = _res;
31085|      0|            _mark = p->mark;
31086|      0|        }
31087|  1.32k|        p->mark = _mark;
31088|  1.32k|        D(fprintf(stderr, "%*c%s _loop1_60[%d-%d]: %s failed!\n", p->level, ' ',
31089|  1.32k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "('and' inversion)"));
31090|  1.32k|    }
31091|  1.32k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (31091:9): [True: 1.32k, False: 0]
  |  Branch (31091:20): [True: 0, False: 0]
  ------------------
31092|  1.32k|        PyMem_Free(_children);
31093|  1.32k|        p->level--;
31094|  1.32k|        return NULL;
31095|  1.32k|    }
31096|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
31097|      0|    if (!_seq) {
  ------------------
  |  Branch (31097:9): [True: 0, False: 0]
  ------------------
31098|      0|        PyMem_Free(_children);
31099|      0|        p->error_indicator = 1;
31100|      0|        PyErr_NoMemory();
31101|      0|        p->level--;
31102|      0|        return NULL;
31103|      0|    }
31104|      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))
  |  |  ------------------
  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (31104:28): [True: 0, False: 0]
  ------------------
31105|      0|    PyMem_Free(_children);
31106|      0|    p->level--;
31107|      0|    return _seq;
31108|      0|}
parser.c:_tmp_162_rule:
37294|  1.32k|{
37295|  1.32k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  2.64k|#  define MAXSTACK 6000
  ------------------
  |  Branch (37295:9): [True: 0, False: 1.32k]
  |  Branch (37295:35): [True: 0, False: 1.32k]
  ------------------
37296|      0|        _Pypegen_stack_overflow(p);
37297|      0|    }
37298|  1.32k|    if (p->error_indicator) {
  ------------------
  |  Branch (37298:9): [True: 0, False: 1.32k]
  ------------------
37299|      0|        p->level--;
37300|      0|        return NULL;
37301|      0|    }
37302|  1.32k|    void * _res = NULL;
37303|  1.32k|    int _mark = p->mark;
37304|  1.32k|    { // 'and' inversion
37305|  1.32k|        if (p->error_indicator) {
  ------------------
  |  Branch (37305:13): [True: 0, False: 1.32k]
  ------------------
37306|      0|            p->level--;
37307|      0|            return NULL;
37308|      0|        }
37309|  1.32k|        D(fprintf(stderr, "%*c> _tmp_162[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'and' inversion"));
37310|  1.32k|        Token * _keyword;
37311|  1.32k|        expr_ty c;
37312|  1.32k|        if (
37313|  1.32k|            (_keyword = _PyPegen_expect_token(p, 590))  // token='and'
  ------------------
  |  Branch (37313:13): [True: 0, False: 1.32k]
  ------------------
37314|      0|            &&
37315|      0|            (c = inversion_rule(p))  // inversion
  ------------------
  |  Branch (37315:13): [True: 0, False: 0]
  ------------------
37316|  1.32k|        )
37317|      0|        {
37318|      0|            D(fprintf(stderr, "%*c+ _tmp_162[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'and' inversion"));
37319|      0|            _res = c;
37320|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (37320:18): [True: 0, False: 0]
  |  Branch (37320:34): [True: 0, False: 0]
  |  Branch (37320:57): [True: 0, False: 0]
  ------------------
37321|      0|                p->error_indicator = 1;
37322|      0|                p->level--;
37323|      0|                return NULL;
37324|      0|            }
37325|      0|            goto done;
37326|      0|        }
37327|  1.32k|        p->mark = _mark;
37328|  1.32k|        D(fprintf(stderr, "%*c%s _tmp_162[%d-%d]: %s failed!\n", p->level, ' ',
37329|  1.32k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'and' inversion"));
37330|  1.32k|    }
37331|  1.32k|    _res = NULL;
37332|  1.32k|  done:
37333|  1.32k|    p->level--;
37334|  1.32k|    return _res;
37335|  1.32k|}
parser.c:_loop1_59_rule:
30969|  1.32k|{
30970|  1.32k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  2.64k|#  define MAXSTACK 6000
  ------------------
  |  Branch (30970:9): [True: 0, False: 1.32k]
  |  Branch (30970:35): [True: 0, False: 1.32k]
  ------------------
30971|      0|        _Pypegen_stack_overflow(p);
30972|      0|    }
30973|  1.32k|    if (p->error_indicator) {
  ------------------
  |  Branch (30973:9): [True: 0, False: 1.32k]
  ------------------
30974|      0|        p->level--;
30975|      0|        return NULL;
30976|      0|    }
30977|  1.32k|    void *_res = NULL;
30978|  1.32k|    int _mark = p->mark;
30979|  1.32k|    void **_children = PyMem_Malloc(sizeof(void *));
30980|  1.32k|    if (!_children) {
  ------------------
  |  Branch (30980:9): [True: 0, False: 1.32k]
  ------------------
30981|      0|        p->error_indicator = 1;
30982|      0|        PyErr_NoMemory();
30983|      0|        p->level--;
30984|      0|        return NULL;
30985|      0|    }
30986|  1.32k|    Py_ssize_t _children_capacity = 1;
30987|  1.32k|    Py_ssize_t _n = 0;
30988|  1.32k|    { // ('or' conjunction)
30989|  1.32k|        if (p->error_indicator) {
  ------------------
  |  Branch (30989:13): [True: 0, False: 1.32k]
  ------------------
30990|      0|            p->level--;
30991|      0|            return NULL;
30992|      0|        }
30993|  1.32k|        D(fprintf(stderr, "%*c> _loop1_59[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "('or' conjunction)"));
30994|  1.32k|        void *_tmp_161_var;
30995|  1.32k|        while (
30996|  1.32k|            (_tmp_161_var = _tmp_161_rule(p))  // 'or' conjunction
  ------------------
  |  Branch (30996:13): [True: 0, False: 1.32k]
  ------------------
30997|  1.32k|        )
30998|      0|        {
30999|      0|            _res = _tmp_161_var;
31000|      0|            if (_n == _children_capacity) {
  ------------------
  |  Branch (31000:17): [True: 0, False: 0]
  ------------------
31001|      0|                _children_capacity *= 2;
31002|      0|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
31003|      0|                if (!_new_children) {
  ------------------
  |  Branch (31003:21): [True: 0, False: 0]
  ------------------
31004|      0|                    PyMem_Free(_children);
31005|      0|                    p->error_indicator = 1;
31006|      0|                    PyErr_NoMemory();
31007|      0|                    p->level--;
31008|      0|                    return NULL;
31009|      0|                }
31010|      0|                _children = _new_children;
31011|      0|            }
31012|      0|            _children[_n++] = _res;
31013|      0|            _mark = p->mark;
31014|      0|        }
31015|  1.32k|        p->mark = _mark;
31016|  1.32k|        D(fprintf(stderr, "%*c%s _loop1_59[%d-%d]: %s failed!\n", p->level, ' ',
31017|  1.32k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "('or' conjunction)"));
31018|  1.32k|    }
31019|  1.32k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (31019:9): [True: 1.32k, False: 0]
  |  Branch (31019:20): [True: 0, False: 0]
  ------------------
31020|  1.32k|        PyMem_Free(_children);
31021|  1.32k|        p->level--;
31022|  1.32k|        return NULL;
31023|  1.32k|    }
31024|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
31025|      0|    if (!_seq) {
  ------------------
  |  Branch (31025:9): [True: 0, False: 0]
  ------------------
31026|      0|        PyMem_Free(_children);
31027|      0|        p->error_indicator = 1;
31028|      0|        PyErr_NoMemory();
31029|      0|        p->level--;
31030|      0|        return NULL;
31031|      0|    }
31032|      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))
  |  |  ------------------
  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (31032:28): [True: 0, False: 0]
  ------------------
31033|      0|    PyMem_Free(_children);
31034|      0|    p->level--;
31035|      0|    return _seq;
31036|      0|}
parser.c:_tmp_161_rule:
37248|  1.32k|{
37249|  1.32k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  2.64k|#  define MAXSTACK 6000
  ------------------
  |  Branch (37249:9): [True: 0, False: 1.32k]
  |  Branch (37249:35): [True: 0, False: 1.32k]
  ------------------
37250|      0|        _Pypegen_stack_overflow(p);
37251|      0|    }
37252|  1.32k|    if (p->error_indicator) {
  ------------------
  |  Branch (37252:9): [True: 0, False: 1.32k]
  ------------------
37253|      0|        p->level--;
37254|      0|        return NULL;
37255|      0|    }
37256|  1.32k|    void * _res = NULL;
37257|  1.32k|    int _mark = p->mark;
37258|  1.32k|    { // 'or' conjunction
37259|  1.32k|        if (p->error_indicator) {
  ------------------
  |  Branch (37259:13): [True: 0, False: 1.32k]
  ------------------
37260|      0|            p->level--;
37261|      0|            return NULL;
37262|      0|        }
37263|  1.32k|        D(fprintf(stderr, "%*c> _tmp_161[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'or' conjunction"));
37264|  1.32k|        Token * _keyword;
37265|  1.32k|        expr_ty c;
37266|  1.32k|        if (
37267|  1.32k|            (_keyword = _PyPegen_expect_token(p, 589))  // token='or'
  ------------------
  |  Branch (37267:13): [True: 0, False: 1.32k]
  ------------------
37268|      0|            &&
37269|      0|            (c = conjunction_rule(p))  // conjunction
  ------------------
  |  Branch (37269:13): [True: 0, False: 0]
  ------------------
37270|  1.32k|        )
37271|      0|        {
37272|      0|            D(fprintf(stderr, "%*c+ _tmp_161[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'or' conjunction"));
37273|      0|            _res = c;
37274|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (37274:18): [True: 0, False: 0]
  |  Branch (37274:34): [True: 0, False: 0]
  |  Branch (37274:57): [True: 0, False: 0]
  ------------------
37275|      0|                p->error_indicator = 1;
37276|      0|                p->level--;
37277|      0|                return NULL;
37278|      0|            }
37279|      0|            goto done;
37280|      0|        }
37281|  1.32k|        p->mark = _mark;
37282|  1.32k|        D(fprintf(stderr, "%*c%s _tmp_161[%d-%d]: %s failed!\n", p->level, ' ',
37283|  1.32k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'or' conjunction"));
37284|  1.32k|    }
37285|  1.32k|    _res = NULL;
37286|  1.32k|  done:
37287|  1.32k|    p->level--;
37288|  1.32k|    return _res;
37289|  1.32k|}
parser.c:invalid_starred_expression_rule:
26047|  2.20k|{
26048|  2.20k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  4.41k|#  define MAXSTACK 6000
  ------------------
  |  Branch (26048:9): [True: 0, False: 2.20k]
  |  Branch (26048:35): [True: 0, False: 2.20k]
  ------------------
26049|      0|        _Pypegen_stack_overflow(p);
26050|      0|    }
26051|  2.20k|    if (p->error_indicator) {
  ------------------
  |  Branch (26051:9): [True: 0, False: 2.20k]
  ------------------
26052|      0|        p->level--;
26053|      0|        return NULL;
26054|      0|    }
26055|  2.20k|    void * _res = NULL;
26056|  2.20k|    int _mark = p->mark;
26057|  2.20k|    { // '*'
26058|  2.20k|        if (p->error_indicator) {
  ------------------
  |  Branch (26058:13): [True: 0, False: 2.20k]
  ------------------
26059|      0|            p->level--;
26060|      0|            return NULL;
26061|      0|        }
26062|  2.20k|        D(fprintf(stderr, "%*c> invalid_starred_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*'"));
26063|  2.20k|        Token * _literal;
26064|  2.20k|        if (
26065|  2.20k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (26065:13): [True: 5, False: 2.20k]
  ------------------
26066|  2.20k|        )
26067|      5|        {
26068|      5|            D(fprintf(stderr, "%*c+ invalid_starred_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*'"));
26069|      5|            _res = RAISE_SYNTAX_ERROR ( "Invalid star expression" );
  ------------------
  |  |  233|      5|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
26070|      5|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (26070:18): [True: 5, False: 0]
  |  Branch (26070:34): [True: 0, False: 0]
  |  Branch (26070:57): [True: 5, False: 0]
  ------------------
26071|      5|                p->error_indicator = 1;
26072|      5|                p->level--;
26073|      5|                return NULL;
26074|      5|            }
26075|      0|            goto done;
26076|      5|        }
26077|  2.20k|        p->mark = _mark;
26078|  2.20k|        D(fprintf(stderr, "%*c%s invalid_starred_expression[%d-%d]: %s failed!\n", p->level, ' ',
26079|  2.20k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*'"));
26080|  2.20k|    }
26081|  2.20k|    _res = NULL;
26082|  2.20k|  done:
26083|  2.20k|    p->level--;
26084|  2.20k|    return _res;
26085|  2.20k|}
parser.c:for_if_clauses_rule:
17721|  2.10k|{
17722|  2.10k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  4.20k|#  define MAXSTACK 6000
  ------------------
  |  Branch (17722:9): [True: 0, False: 2.10k]
  |  Branch (17722:35): [True: 0, False: 2.10k]
  ------------------
17723|      0|        _Pypegen_stack_overflow(p);
17724|      0|    }
17725|  2.10k|    if (p->error_indicator) {
  ------------------
  |  Branch (17725:9): [True: 0, False: 2.10k]
  ------------------
17726|      0|        p->level--;
17727|      0|        return NULL;
17728|      0|    }
17729|  2.10k|    asdl_comprehension_seq* _res = NULL;
17730|  2.10k|    int _mark = p->mark;
17731|  2.10k|    { // for_if_clause+
17732|  2.10k|        if (p->error_indicator) {
  ------------------
  |  Branch (17732:13): [True: 0, False: 2.10k]
  ------------------
17733|      0|            p->level--;
17734|      0|            return NULL;
17735|      0|        }
17736|  2.10k|        D(fprintf(stderr, "%*c> for_if_clauses[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "for_if_clause+"));
17737|  2.10k|        asdl_comprehension_seq* a;
17738|  2.10k|        if (
17739|  2.10k|            (a = (asdl_comprehension_seq*)_loop1_87_rule(p))  // for_if_clause+
  ------------------
  |  Branch (17739:13): [True: 0, False: 2.10k]
  ------------------
17740|  2.10k|        )
17741|      0|        {
17742|      0|            D(fprintf(stderr, "%*c+ for_if_clauses[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "for_if_clause+"));
17743|      0|            _res = a;
17744|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17744:18): [True: 0, False: 0]
  |  Branch (17744:34): [True: 0, False: 0]
  |  Branch (17744:57): [True: 0, False: 0]
  ------------------
17745|      0|                p->error_indicator = 1;
17746|      0|                p->level--;
17747|      0|                return NULL;
17748|      0|            }
17749|      0|            goto done;
17750|      0|        }
17751|  2.10k|        p->mark = _mark;
17752|  2.10k|        D(fprintf(stderr, "%*c%s for_if_clauses[%d-%d]: %s failed!\n", p->level, ' ',
17753|  2.10k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "for_if_clause+"));
17754|  2.10k|    }
17755|  2.10k|    _res = NULL;
17756|  2.10k|  done:
17757|  2.10k|    p->level--;
17758|  2.10k|    return _res;
17759|  2.10k|}
parser.c:_loop1_87_rule:
32788|  2.10k|{
32789|  2.10k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  4.20k|#  define MAXSTACK 6000
  ------------------
  |  Branch (32789:9): [True: 0, False: 2.10k]
  |  Branch (32789:35): [True: 0, False: 2.10k]
  ------------------
32790|      0|        _Pypegen_stack_overflow(p);
32791|      0|    }
32792|  2.10k|    if (p->error_indicator) {
  ------------------
  |  Branch (32792:9): [True: 0, False: 2.10k]
  ------------------
32793|      0|        p->level--;
32794|      0|        return NULL;
32795|      0|    }
32796|  2.10k|    void *_res = NULL;
32797|  2.10k|    int _mark = p->mark;
32798|  2.10k|    void **_children = PyMem_Malloc(sizeof(void *));
32799|  2.10k|    if (!_children) {
  ------------------
  |  Branch (32799:9): [True: 0, False: 2.10k]
  ------------------
32800|      0|        p->error_indicator = 1;
32801|      0|        PyErr_NoMemory();
32802|      0|        p->level--;
32803|      0|        return NULL;
32804|      0|    }
32805|  2.10k|    Py_ssize_t _children_capacity = 1;
32806|  2.10k|    Py_ssize_t _n = 0;
32807|  2.10k|    { // for_if_clause
32808|  2.10k|        if (p->error_indicator) {
  ------------------
  |  Branch (32808:13): [True: 0, False: 2.10k]
  ------------------
32809|      0|            p->level--;
32810|      0|            return NULL;
32811|      0|        }
32812|  2.10k|        D(fprintf(stderr, "%*c> _loop1_87[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "for_if_clause"));
32813|  2.10k|        comprehension_ty for_if_clause_var;
32814|  2.10k|        while (
32815|  2.10k|            (for_if_clause_var = for_if_clause_rule(p))  // for_if_clause
  ------------------
  |  Branch (32815:13): [True: 0, False: 2.10k]
  ------------------
32816|  2.10k|        )
32817|      0|        {
32818|      0|            _res = for_if_clause_var;
32819|      0|            if (_n == _children_capacity) {
  ------------------
  |  Branch (32819:17): [True: 0, False: 0]
  ------------------
32820|      0|                _children_capacity *= 2;
32821|      0|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
32822|      0|                if (!_new_children) {
  ------------------
  |  Branch (32822:21): [True: 0, False: 0]
  ------------------
32823|      0|                    PyMem_Free(_children);
32824|      0|                    p->error_indicator = 1;
32825|      0|                    PyErr_NoMemory();
32826|      0|                    p->level--;
32827|      0|                    return NULL;
32828|      0|                }
32829|      0|                _children = _new_children;
32830|      0|            }
32831|      0|            _children[_n++] = _res;
32832|      0|            _mark = p->mark;
32833|      0|        }
32834|  2.10k|        p->mark = _mark;
32835|  2.10k|        D(fprintf(stderr, "%*c%s _loop1_87[%d-%d]: %s failed!\n", p->level, ' ',
32836|  2.10k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "for_if_clause"));
32837|  2.10k|    }
32838|  2.10k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (32838:9): [True: 2.10k, False: 0]
  |  Branch (32838:20): [True: 0, False: 0]
  ------------------
32839|  2.10k|        PyMem_Free(_children);
32840|  2.10k|        p->level--;
32841|  2.10k|        return NULL;
32842|  2.10k|    }
32843|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
32844|      0|    if (!_seq) {
  ------------------
  |  Branch (32844:9): [True: 0, False: 0]
  ------------------
32845|      0|        PyMem_Free(_children);
32846|      0|        p->error_indicator = 1;
32847|      0|        PyErr_NoMemory();
32848|      0|        p->level--;
32849|      0|        return NULL;
32850|      0|    }
32851|      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))
  |  |  ------------------
  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (32851:28): [True: 0, False: 0]
  ------------------
32852|      0|    PyMem_Free(_children);
32853|      0|    p->level--;
32854|      0|    return _seq;
32855|      0|}
parser.c:for_if_clause_rule:
17768|  2.10k|{
17769|  2.10k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  4.20k|#  define MAXSTACK 6000
  ------------------
  |  Branch (17769:9): [True: 0, False: 2.10k]
  |  Branch (17769:35): [True: 0, False: 2.10k]
  ------------------
17770|      0|        _Pypegen_stack_overflow(p);
17771|      0|    }
17772|  2.10k|    if (p->error_indicator) {
  ------------------
  |  Branch (17772:9): [True: 0, False: 2.10k]
  ------------------
17773|      0|        p->level--;
17774|      0|        return NULL;
17775|      0|    }
17776|  2.10k|    comprehension_ty _res = NULL;
17777|  2.10k|    int _mark = p->mark;
17778|  2.10k|    { // 'async' 'for' star_targets 'in' ~ disjunction (('if' disjunction))*
17779|  2.10k|        if (p->error_indicator) {
  ------------------
  |  Branch (17779:13): [True: 0, False: 2.10k]
  ------------------
17780|      0|            p->level--;
17781|      0|            return NULL;
17782|      0|        }
17783|  2.10k|        D(fprintf(stderr, "%*c> for_if_clause[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'async' 'for' star_targets 'in' ~ disjunction (('if' disjunction))*"));
17784|  2.10k|        int _cut_var = 0;
17785|  2.10k|        Token * _keyword;
17786|  2.10k|        Token * _keyword_1;
17787|  2.10k|        Token * _keyword_2;
17788|  2.10k|        expr_ty a;
17789|  2.10k|        expr_ty b;
17790|  2.10k|        asdl_expr_seq* c;
17791|  2.10k|        if (
17792|  2.10k|            (_keyword = _PyPegen_expect_token(p, 716))  // token='async'
  ------------------
  |  Branch (17792:13): [True: 0, False: 2.10k]
  ------------------
17793|      0|            &&
17794|      0|            (_keyword_1 = _PyPegen_expect_token(p, 712))  // token='for'
  ------------------
  |  Branch (17794:13): [True: 0, False: 0]
  ------------------
17795|      0|            &&
17796|      0|            (a = star_targets_rule(p))  // star_targets
  ------------------
  |  Branch (17796:13): [True: 0, False: 0]
  ------------------
17797|      0|            &&
17798|      0|            (_keyword_2 = _PyPegen_expect_token(p, 713))  // token='in'
  ------------------
  |  Branch (17798:13): [True: 0, False: 0]
  ------------------
17799|      0|            &&
17800|      0|            (_cut_var = 1)
  ------------------
  |  Branch (17800:13): [True: 0, False: 0]
  ------------------
17801|      0|            &&
17802|      0|            (b = disjunction_rule(p))  // disjunction
  ------------------
  |  Branch (17802:13): [True: 0, False: 0]
  ------------------
17803|      0|            &&
17804|      0|            (c = (asdl_expr_seq*)_loop0_88_rule(p))  // (('if' disjunction))*
  ------------------
  |  Branch (17804:13): [True: 0, False: 0]
  ------------------
17805|  2.10k|        )
17806|      0|        {
17807|      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))*"));
17808|      0|            _res = CHECK_VERSION ( comprehension_ty , 6 , "Async comprehensions are" , _PyAST_comprehension ( a , b , c , 1 , p -> arena ) );
  ------------------
  |  |  345|      0|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
17809|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17809:18): [True: 0, False: 0]
  |  Branch (17809:34): [True: 0, False: 0]
  |  Branch (17809:57): [True: 0, False: 0]
  ------------------
17810|      0|                p->error_indicator = 1;
17811|      0|                p->level--;
17812|      0|                return NULL;
17813|      0|            }
17814|      0|            goto done;
17815|      0|        }
17816|  2.10k|        p->mark = _mark;
17817|  2.10k|        D(fprintf(stderr, "%*c%s for_if_clause[%d-%d]: %s failed!\n", p->level, ' ',
17818|  2.10k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'async' 'for' star_targets 'in' ~ disjunction (('if' disjunction))*"));
17819|  2.10k|        if (_cut_var) {
  ------------------
  |  Branch (17819:13): [True: 0, False: 2.10k]
  ------------------
17820|      0|            p->level--;
17821|      0|            return NULL;
17822|      0|        }
17823|  2.10k|    }
17824|  2.10k|    { // 'for' star_targets 'in' ~ disjunction (('if' disjunction))*
17825|  2.10k|        if (p->error_indicator) {
  ------------------
  |  Branch (17825:13): [True: 0, False: 2.10k]
  ------------------
17826|      0|            p->level--;
17827|      0|            return NULL;
17828|      0|        }
17829|  2.10k|        D(fprintf(stderr, "%*c> for_if_clause[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'for' star_targets 'in' ~ disjunction (('if' disjunction))*"));
17830|  2.10k|        int _cut_var = 0;
17831|  2.10k|        Token * _keyword;
17832|  2.10k|        Token * _keyword_1;
17833|  2.10k|        expr_ty a;
17834|  2.10k|        expr_ty b;
17835|  2.10k|        asdl_expr_seq* c;
17836|  2.10k|        if (
17837|  2.10k|            (_keyword = _PyPegen_expect_token(p, 712))  // token='for'
  ------------------
  |  Branch (17837:13): [True: 0, False: 2.10k]
  ------------------
17838|      0|            &&
17839|      0|            (a = star_targets_rule(p))  // star_targets
  ------------------
  |  Branch (17839:13): [True: 0, False: 0]
  ------------------
17840|      0|            &&
17841|      0|            (_keyword_1 = _PyPegen_expect_token(p, 713))  // token='in'
  ------------------
  |  Branch (17841:13): [True: 0, False: 0]
  ------------------
17842|      0|            &&
17843|      0|            (_cut_var = 1)
  ------------------
  |  Branch (17843:13): [True: 0, False: 0]
  ------------------
17844|      0|            &&
17845|      0|            (b = disjunction_rule(p))  // disjunction
  ------------------
  |  Branch (17845:13): [True: 0, False: 0]
  ------------------
17846|      0|            &&
17847|      0|            (c = (asdl_expr_seq*)_loop0_88_rule(p))  // (('if' disjunction))*
  ------------------
  |  Branch (17847:13): [True: 0, False: 0]
  ------------------
17848|  2.10k|        )
17849|      0|        {
17850|      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))*"));
17851|      0|            _res = _PyAST_comprehension ( a , b , c , 0 , p -> arena );
17852|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17852:18): [True: 0, False: 0]
  |  Branch (17852:34): [True: 0, False: 0]
  |  Branch (17852:57): [True: 0, False: 0]
  ------------------
17853|      0|                p->error_indicator = 1;
17854|      0|                p->level--;
17855|      0|                return NULL;
17856|      0|            }
17857|      0|            goto done;
17858|      0|        }
17859|  2.10k|        p->mark = _mark;
17860|  2.10k|        D(fprintf(stderr, "%*c%s for_if_clause[%d-%d]: %s failed!\n", p->level, ' ',
17861|  2.10k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'for' star_targets 'in' ~ disjunction (('if' disjunction))*"));
17862|  2.10k|        if (_cut_var) {
  ------------------
  |  Branch (17862:13): [True: 0, False: 2.10k]
  ------------------
17863|      0|            p->level--;
17864|      0|            return NULL;
17865|      0|        }
17866|  2.10k|    }
17867|  2.10k|    if (p->call_invalid_rules) { // invalid_for_if_clause
  ------------------
  |  Branch (17867:9): [True: 954, False: 1.14k]
  ------------------
17868|    954|        if (p->error_indicator) {
  ------------------
  |  Branch (17868:13): [True: 0, False: 954]
  ------------------
17869|      0|            p->level--;
17870|      0|            return NULL;
17871|      0|        }
17872|    954|        D(fprintf(stderr, "%*c> for_if_clause[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_for_if_clause"));
17873|    954|        void *invalid_for_if_clause_var;
17874|    954|        if (
17875|    954|            (invalid_for_if_clause_var = invalid_for_if_clause_rule(p))  // invalid_for_if_clause
  ------------------
  |  Branch (17875:13): [True: 0, False: 954]
  ------------------
17876|    954|        )
17877|      0|        {
17878|      0|            D(fprintf(stderr, "%*c+ for_if_clause[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_for_if_clause"));
17879|      0|            _res = invalid_for_if_clause_var;
17880|      0|            goto done;
17881|      0|        }
17882|    954|        p->mark = _mark;
17883|    954|        D(fprintf(stderr, "%*c%s for_if_clause[%d-%d]: %s failed!\n", p->level, ' ',
17884|    954|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_for_if_clause"));
17885|    954|    }
17886|  2.10k|    if (p->call_invalid_rules) { // invalid_for_target
  ------------------
  |  Branch (17886:9): [True: 954, False: 1.14k]
  ------------------
17887|    954|        if (p->error_indicator) {
  ------------------
  |  Branch (17887:13): [True: 0, False: 954]
  ------------------
17888|      0|            p->level--;
17889|      0|            return NULL;
17890|      0|        }
17891|    954|        D(fprintf(stderr, "%*c> for_if_clause[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_for_target"));
17892|    954|        void *invalid_for_target_var;
17893|    954|        if (
17894|    954|            (invalid_for_target_var = invalid_for_target_rule(p))  // invalid_for_target
  ------------------
  |  Branch (17894:13): [True: 0, False: 954]
  ------------------
17895|    954|        )
17896|      0|        {
17897|      0|            D(fprintf(stderr, "%*c+ for_if_clause[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_for_target"));
17898|      0|            _res = invalid_for_target_var;
17899|      0|            goto done;
17900|      0|        }
17901|    954|        p->mark = _mark;
17902|    954|        D(fprintf(stderr, "%*c%s for_if_clause[%d-%d]: %s failed!\n", p->level, ' ',
17903|    954|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_for_target"));
17904|    954|    }
17905|  2.10k|    _res = NULL;
17906|  2.10k|  done:
17907|  2.10k|    p->level--;
17908|  2.10k|    return _res;
17909|  2.10k|}
parser.c:invalid_for_if_clause_rule:
22856|    954|{
22857|    954|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.90k|#  define MAXSTACK 6000
  ------------------
  |  Branch (22857:9): [True: 0, False: 954]
  |  Branch (22857:35): [True: 0, False: 954]
  ------------------
22858|      0|        _Pypegen_stack_overflow(p);
22859|      0|    }
22860|    954|    if (p->error_indicator) {
  ------------------
  |  Branch (22860:9): [True: 0, False: 954]
  ------------------
22861|      0|        p->level--;
22862|      0|        return NULL;
22863|      0|    }
22864|    954|    void * _res = NULL;
22865|    954|    int _mark = p->mark;
22866|    954|    { // 'async'? 'for' (bitwise_or ((',' bitwise_or))* ','?) !'in'
22867|    954|        if (p->error_indicator) {
  ------------------
  |  Branch (22867:13): [True: 0, False: 954]
  ------------------
22868|      0|            p->level--;
22869|      0|            return NULL;
22870|      0|        }
22871|    954|        D(fprintf(stderr, "%*c> invalid_for_if_clause[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'async'? 'for' (bitwise_or ((',' bitwise_or))* ','?) !'in'"));
22872|    954|        Token * _keyword;
22873|    954|        void *_opt_var;
22874|    954|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  305|    954|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 954]
  |  |  ------------------
  ------------------
22875|    954|        void *_tmp_134_var;
22876|    954|        if (
22877|    954|            (_opt_var = _PyPegen_expect_token(p, 716), !p->error_indicator)  // 'async'?
  ------------------
  |  Branch (22877:13): [True: 954, False: 0]
  ------------------
22878|    954|            &&
22879|    954|            (_keyword = _PyPegen_expect_token(p, 712))  // token='for'
  ------------------
  |  Branch (22879:13): [True: 0, False: 954]
  ------------------
22880|      0|            &&
22881|      0|            (_tmp_134_var = _tmp_134_rule(p))  // bitwise_or ((',' bitwise_or))* ','?
  ------------------
  |  Branch (22881:13): [True: 0, False: 0]
  ------------------
22882|      0|            &&
22883|      0|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 713)  // token='in'
  ------------------
  |  Branch (22883:13): [True: 0, False: 0]
  ------------------
22884|    954|        )
22885|      0|        {
22886|      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'"));
22887|      0|            _res = RAISE_SYNTAX_ERROR ( "'in' expected after for-loop variables" );
  ------------------
  |  |  233|      0|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
22888|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (22888:18): [True: 0, False: 0]
  |  Branch (22888:34): [True: 0, False: 0]
  |  Branch (22888:57): [True: 0, False: 0]
  ------------------
22889|      0|                p->error_indicator = 1;
22890|      0|                p->level--;
22891|      0|                return NULL;
22892|      0|            }
22893|      0|            goto done;
22894|      0|        }
22895|    954|        p->mark = _mark;
22896|    954|        D(fprintf(stderr, "%*c%s invalid_for_if_clause[%d-%d]: %s failed!\n", p->level, ' ',
22897|    954|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'async'? 'for' (bitwise_or ((',' bitwise_or))* ','?) !'in'"));
22898|    954|    }
22899|    954|    _res = NULL;
22900|    954|  done:
22901|    954|    p->level--;
22902|    954|    return _res;
22903|    954|}
parser.c:invalid_for_target_rule:
22908|    954|{
22909|    954|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.90k|#  define MAXSTACK 6000
  ------------------
  |  Branch (22909:9): [True: 0, False: 954]
  |  Branch (22909:35): [True: 0, False: 954]
  ------------------
22910|      0|        _Pypegen_stack_overflow(p);
22911|      0|    }
22912|    954|    if (p->error_indicator) {
  ------------------
  |  Branch (22912:9): [True: 0, False: 954]
  ------------------
22913|      0|        p->level--;
22914|      0|        return NULL;
22915|      0|    }
22916|    954|    void * _res = NULL;
22917|    954|    int _mark = p->mark;
22918|    954|    { // 'async'? 'for' star_expressions
22919|    954|        if (p->error_indicator) {
  ------------------
  |  Branch (22919:13): [True: 0, False: 954]
  ------------------
22920|      0|            p->level--;
22921|      0|            return NULL;
22922|      0|        }
22923|    954|        D(fprintf(stderr, "%*c> invalid_for_target[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'async'? 'for' star_expressions"));
22924|    954|        Token * _keyword;
22925|    954|        void *_opt_var;
22926|    954|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  305|    954|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 954]
  |  |  ------------------
  ------------------
22927|    954|        expr_ty a;
22928|    954|        if (
22929|    954|            (_opt_var = _PyPegen_expect_token(p, 716), !p->error_indicator)  // 'async'?
  ------------------
  |  Branch (22929:13): [True: 954, False: 0]
  ------------------
22930|    954|            &&
22931|    954|            (_keyword = _PyPegen_expect_token(p, 712))  // token='for'
  ------------------
  |  Branch (22931:13): [True: 0, False: 954]
  ------------------
22932|      0|            &&
22933|      0|            (a = star_expressions_rule(p))  // star_expressions
  ------------------
  |  Branch (22933:13): [True: 0, False: 0]
  ------------------
22934|    954|        )
22935|      0|        {
22936|      0|            D(fprintf(stderr, "%*c+ invalid_for_target[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'async'? 'for' star_expressions"));
22937|      0|            _res = RAISE_SYNTAX_ERROR_INVALID_TARGET ( FOR_TARGETS , a );
  ------------------
  |  |  242|      0|#define RAISE_SYNTAX_ERROR_INVALID_TARGET(type, e) _RAISE_SYNTAX_ERROR_INVALID_TARGET(p, type, e)
  ------------------
22938|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (22938:18): [True: 0, False: 0]
  |  Branch (22938:34): [True: 0, False: 0]
  |  Branch (22938:57): [True: 0, False: 0]
  ------------------
22939|      0|                p->error_indicator = 1;
22940|      0|                p->level--;
22941|      0|                return NULL;
22942|      0|            }
22943|      0|            goto done;
22944|      0|        }
22945|    954|        p->mark = _mark;
22946|    954|        D(fprintf(stderr, "%*c%s invalid_for_target[%d-%d]: %s failed!\n", p->level, ' ',
22947|    954|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'async'? 'for' star_expressions"));
22948|    954|    }
22949|    954|    _res = NULL;
22950|    954|  done:
22951|    954|    p->level--;
22952|    954|    return _res;
22953|    954|}
parser.c:star_expressions_rule:
11868|     61|{
11869|     61|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    122|#  define MAXSTACK 6000
  ------------------
  |  Branch (11869:9): [True: 0, False: 61]
  |  Branch (11869:35): [True: 0, False: 61]
  ------------------
11870|      0|        _Pypegen_stack_overflow(p);
11871|      0|    }
11872|     61|    if (p->error_indicator) {
  ------------------
  |  Branch (11872:9): [True: 0, False: 61]
  ------------------
11873|      0|        p->level--;
11874|      0|        return NULL;
11875|      0|    }
11876|     61|    expr_ty _res = NULL;
11877|     61|    int _mark = p->mark;
11878|     61|    expr_ty _prefix_1_result = NULL;
11879|     61|    int _prefix_1_end = 0, _prefix_1_valid = 0;
11880|     61|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (11880:9): [True: 0, False: 61]
  |  Branch (11880:31): [True: 0, False: 0]
  ------------------
11881|      0|        p->error_indicator = 1;
11882|      0|        p->level--;
11883|      0|        return NULL;
11884|      0|    }
11885|     61|    int _start_lineno = p->tokens[_mark]->lineno;
11886|     61|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|     61|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 61]
  |  |  ------------------
  ------------------
11887|     61|    int _start_col_offset = p->tokens[_mark]->col_offset;
11888|     61|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|     61|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 61]
  |  |  ------------------
  ------------------
11889|     61|    { // star_expression ((',' star_expression))+ ','?
11890|     61|        if (p->error_indicator) {
  ------------------
  |  Branch (11890:13): [True: 0, False: 61]
  ------------------
11891|      0|            p->level--;
11892|      0|            return NULL;
11893|      0|        }
11894|     61|        D(fprintf(stderr, "%*c> star_expressions[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_expression ((',' star_expression))+ ','?"));
11895|     61|        void *_opt_var;
11896|     61|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  305|     61|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 61]
  |  |  ------------------
  ------------------
11897|     61|        expr_ty a;
11898|     61|        asdl_seq * b;
11899|     61|        if (
11900|     61|            (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 (11900:13): [True: 53, False: 8]
  |  Branch (11900:20): [True: 0, False: 61]
  |  Branch (11900:46): [True: 0, False: 0]
  ------------------
11901|     53|            &&
11902|     53|            (b = _loop1_56_rule(p))  // ((',' star_expression))+
  ------------------
  |  Branch (11902:13): [True: 0, False: 53]
  ------------------
11903|      0|            &&
11904|      0|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (11904:13): [True: 0, False: 0]
  ------------------
11905|     61|        )
11906|      0|        {
11907|      0|            D(fprintf(stderr, "%*c+ star_expressions[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_expression ((',' star_expression))+ ','?"));
11908|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
11909|      0|            if (_token == NULL) {
  ------------------
  |  Branch (11909:17): [True: 0, False: 0]
  ------------------
11910|      0|                p->level--;
11911|      0|                return NULL;
11912|      0|            }
11913|      0|            int _end_lineno = _token->end_lineno;
11914|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
11915|      0|            int _end_col_offset = _token->end_col_offset;
11916|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
11917|      0|            _res = _PyAST_Tuple ( CHECK ( asdl_expr_seq* , _PyPegen_seq_insert_in_front ( p , a , b ) ) , Load , EXTRA );
  ------------------
  |  |  271|      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 );
  ------------------
  |  |  307|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
11918|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11918:18): [True: 0, False: 0]
  |  Branch (11918:34): [True: 0, False: 0]
  |  Branch (11918:57): [True: 0, False: 0]
  ------------------
11919|      0|                p->error_indicator = 1;
11920|      0|                p->level--;
11921|      0|                return NULL;
11922|      0|            }
11923|      0|            goto done;
11924|      0|        }
11925|     61|        p->mark = _mark;
11926|     61|        D(fprintf(stderr, "%*c%s star_expressions[%d-%d]: %s failed!\n", p->level, ' ',
11927|     61|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_expression ((',' star_expression))+ ','?"));
11928|     61|    }
11929|      0|    { // star_expression ','
11930|     61|        if (p->error_indicator) {
  ------------------
  |  Branch (11930:13): [True: 1, False: 60]
  ------------------
11931|      1|            p->level--;
11932|      1|            return NULL;
11933|      1|        }
11934|     60|        D(fprintf(stderr, "%*c> star_expressions[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_expression ','"));
11935|     60|        Token * _literal;
11936|     60|        expr_ty a;
11937|     60|        if (
11938|     60|            (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 (11938:13): [True: 53, False: 7]
  |  Branch (11938:20): [True: 0, False: 60]
  |  Branch (11938:46): [True: 0, False: 0]
  ------------------
11939|     53|            &&
11940|     53|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (11940:13): [True: 0, False: 53]
  ------------------
11941|     60|        )
11942|      0|        {
11943|      0|            D(fprintf(stderr, "%*c+ star_expressions[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_expression ','"));
11944|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
11945|      0|            if (_token == NULL) {
  ------------------
  |  Branch (11945:17): [True: 0, False: 0]
  ------------------
11946|      0|                p->level--;
11947|      0|                return NULL;
11948|      0|            }
11949|      0|            int _end_lineno = _token->end_lineno;
11950|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
11951|      0|            int _end_col_offset = _token->end_col_offset;
11952|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
11953|      0|            _res = _PyAST_Tuple ( CHECK ( asdl_expr_seq* , _PyPegen_singleton_seq ( p , a ) ) , Load , EXTRA );
  ------------------
  |  |  271|      0|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_Tuple ( CHECK ( asdl_expr_seq* , _PyPegen_singleton_seq ( p , a ) ) , Load , EXTRA );
  ------------------
  |  |  307|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
11954|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11954:18): [True: 0, False: 0]
  |  Branch (11954:34): [True: 0, False: 0]
  |  Branch (11954:57): [True: 0, False: 0]
  ------------------
11955|      0|                p->error_indicator = 1;
11956|      0|                p->level--;
11957|      0|                return NULL;
11958|      0|            }
11959|      0|            goto done;
11960|      0|        }
11961|     60|        p->mark = _mark;
11962|     60|        D(fprintf(stderr, "%*c%s star_expressions[%d-%d]: %s failed!\n", p->level, ' ',
11963|     60|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_expression ','"));
11964|     60|    }
11965|      0|    { // star_expression
11966|     60|        if (p->error_indicator) {
  ------------------
  |  Branch (11966:13): [True: 0, False: 60]
  ------------------
11967|      0|            p->level--;
11968|      0|            return NULL;
11969|      0|        }
11970|     60|        D(fprintf(stderr, "%*c> star_expressions[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_expression"));
11971|     60|        expr_ty star_expression_var;
11972|     60|        if (
11973|     60|            (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 (11973:13): [True: 53, False: 7]
  |  Branch (11973:38): [True: 0, False: 60]
  |  Branch (11973:64): [True: 0, False: 0]
  ------------------
11974|     60|        )
11975|     53|        {
11976|     53|            D(fprintf(stderr, "%*c+ star_expressions[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_expression"));
11977|     53|            _res = star_expression_var;
11978|     53|            goto done;
11979|     53|        }
11980|      7|        p->mark = _mark;
11981|      7|        D(fprintf(stderr, "%*c%s star_expressions[%d-%d]: %s failed!\n", p->level, ' ',
11982|      7|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_expression"));
11983|      7|    }
11984|      7|    _res = NULL;
11985|     60|  done:
11986|     60|    p->level--;
11987|     60|    return _res;
11988|      7|}
parser.c:star_expression_rule:
11993|    181|{
11994|    181|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    362|#  define MAXSTACK 6000
  ------------------
  |  Branch (11994:9): [True: 0, False: 181]
  |  Branch (11994:35): [True: 0, False: 181]
  ------------------
11995|      0|        _Pypegen_stack_overflow(p);
11996|      0|    }
11997|    181|    if (p->error_indicator) {
  ------------------
  |  Branch (11997:9): [True: 0, False: 181]
  ------------------
11998|      0|        p->level--;
11999|      0|        return NULL;
12000|      0|    }
12001|    181|    expr_ty _res = NULL;
12002|    181|    if (_PyPegen_is_memoized(p, star_expression_type, &_res)) {
  ------------------
  |  |  202|    181|#define star_expression_type 1113
  ------------------
  |  Branch (12002:9): [True: 120, False: 61]
  ------------------
12003|    120|        p->level--;
12004|    120|        return _res;
12005|    120|    }
12006|     61|    int _mark = p->mark;
12007|     61|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (12007:9): [True: 0, False: 61]
  |  Branch (12007:31): [True: 0, False: 0]
  ------------------
12008|      0|        p->error_indicator = 1;
12009|      0|        p->level--;
12010|      0|        return NULL;
12011|      0|    }
12012|     61|    int _start_lineno = p->tokens[_mark]->lineno;
12013|     61|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|     61|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 61]
  |  |  ------------------
  ------------------
12014|     61|    int _start_col_offset = p->tokens[_mark]->col_offset;
12015|     61|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|     61|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 61]
  |  |  ------------------
  ------------------
12016|     61|    { // '*' bitwise_or
12017|     61|        if (p->error_indicator) {
  ------------------
  |  Branch (12017:13): [True: 0, False: 61]
  ------------------
12018|      0|            p->level--;
12019|      0|            return NULL;
12020|      0|        }
12021|     61|        D(fprintf(stderr, "%*c> star_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' bitwise_or"));
12022|     61|        Token * _literal;
12023|     61|        expr_ty a;
12024|     61|        if (
12025|     61|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (12025:13): [True: 51, False: 10]
  ------------------
12026|     51|            &&
12027|     51|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (12027:13): [True: 51, False: 0]
  ------------------
12028|     61|        )
12029|     51|        {
12030|     51|            D(fprintf(stderr, "%*c+ star_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' bitwise_or"));
12031|     51|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
12032|     51|            if (_token == NULL) {
  ------------------
  |  Branch (12032:17): [True: 0, False: 51]
  ------------------
12033|      0|                p->level--;
12034|      0|                return NULL;
12035|      0|            }
12036|     51|            int _end_lineno = _token->end_lineno;
12037|     51|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|     51|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 51]
  |  |  ------------------
  ------------------
12038|     51|            int _end_col_offset = _token->end_col_offset;
12039|     51|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|     51|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 51]
  |  |  ------------------
  ------------------
12040|     51|            _res = _PyAST_Starred ( a , Load , EXTRA );
  ------------------
  |  |  307|     51|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
12041|     51|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12041:18): [True: 0, False: 51]
  |  Branch (12041:34): [True: 0, False: 51]
  |  Branch (12041:57): [True: 0, False: 0]
  ------------------
12042|      0|                p->error_indicator = 1;
12043|      0|                p->level--;
12044|      0|                return NULL;
12045|      0|            }
12046|     51|            goto done;
12047|     51|        }
12048|     10|        p->mark = _mark;
12049|     10|        D(fprintf(stderr, "%*c%s star_expression[%d-%d]: %s failed!\n", p->level, ' ',
12050|     10|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' bitwise_or"));
12051|     10|    }
12052|      0|    { // expression
12053|     10|        if (p->error_indicator) {
  ------------------
  |  Branch (12053:13): [True: 0, False: 10]
  ------------------
12054|      0|            p->level--;
12055|      0|            return NULL;
12056|      0|        }
12057|     10|        D(fprintf(stderr, "%*c> star_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression"));
12058|     10|        expr_ty expression_var;
12059|     10|        if (
12060|     10|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (12060:13): [True: 2, False: 8]
  ------------------
12061|     10|        )
12062|      2|        {
12063|      2|            D(fprintf(stderr, "%*c+ star_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression"));
12064|      2|            _res = expression_var;
12065|      2|            goto done;
12066|      2|        }
12067|      8|        p->mark = _mark;
12068|      8|        D(fprintf(stderr, "%*c%s star_expression[%d-%d]: %s failed!\n", p->level, ' ',
12069|      8|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression"));
12070|      8|    }
12071|      8|    _res = NULL;
12072|     61|  done:
12073|     61|    _PyPegen_insert_memo(p, _mark, star_expression_type, _res);
  ------------------
  |  |  202|     61|#define star_expression_type 1113
  ------------------
12074|     61|    p->level--;
12075|     61|    return _res;
12076|      8|}
parser.c:_loop1_56_rule:
30780|     53|{
30781|     53|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    106|#  define MAXSTACK 6000
  ------------------
  |  Branch (30781:9): [True: 0, False: 53]
  |  Branch (30781:35): [True: 0, False: 53]
  ------------------
30782|      0|        _Pypegen_stack_overflow(p);
30783|      0|    }
30784|     53|    if (p->error_indicator) {
  ------------------
  |  Branch (30784:9): [True: 0, False: 53]
  ------------------
30785|      0|        p->level--;
30786|      0|        return NULL;
30787|      0|    }
30788|     53|    void *_res = NULL;
30789|     53|    int _mark = p->mark;
30790|     53|    void **_children = PyMem_Malloc(sizeof(void *));
30791|     53|    if (!_children) {
  ------------------
  |  Branch (30791:9): [True: 0, False: 53]
  ------------------
30792|      0|        p->error_indicator = 1;
30793|      0|        PyErr_NoMemory();
30794|      0|        p->level--;
30795|      0|        return NULL;
30796|      0|    }
30797|     53|    Py_ssize_t _children_capacity = 1;
30798|     53|    Py_ssize_t _n = 0;
30799|     53|    { // (',' star_expression)
30800|     53|        if (p->error_indicator) {
  ------------------
  |  Branch (30800:13): [True: 0, False: 53]
  ------------------
30801|      0|            p->level--;
30802|      0|            return NULL;
30803|      0|        }
30804|     53|        D(fprintf(stderr, "%*c> _loop1_56[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(',' star_expression)"));
30805|     53|        void *_tmp_160_var;
30806|     53|        while (
30807|     53|            (_tmp_160_var = _tmp_160_rule(p))  // ',' star_expression
  ------------------
  |  Branch (30807:13): [True: 0, False: 53]
  ------------------
30808|     53|        )
30809|      0|        {
30810|      0|            _res = _tmp_160_var;
30811|      0|            if (_n == _children_capacity) {
  ------------------
  |  Branch (30811:17): [True: 0, False: 0]
  ------------------
30812|      0|                _children_capacity *= 2;
30813|      0|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
30814|      0|                if (!_new_children) {
  ------------------
  |  Branch (30814:21): [True: 0, False: 0]
  ------------------
30815|      0|                    PyMem_Free(_children);
30816|      0|                    p->error_indicator = 1;
30817|      0|                    PyErr_NoMemory();
30818|      0|                    p->level--;
30819|      0|                    return NULL;
30820|      0|                }
30821|      0|                _children = _new_children;
30822|      0|            }
30823|      0|            _children[_n++] = _res;
30824|      0|            _mark = p->mark;
30825|      0|        }
30826|     53|        p->mark = _mark;
30827|     53|        D(fprintf(stderr, "%*c%s _loop1_56[%d-%d]: %s failed!\n", p->level, ' ',
30828|     53|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(',' star_expression)"));
30829|     53|    }
30830|     53|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (30830:9): [True: 53, False: 0]
  |  Branch (30830:20): [True: 0, False: 0]
  ------------------
30831|     53|        PyMem_Free(_children);
30832|     53|        p->level--;
30833|     53|        return NULL;
30834|     53|    }
30835|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
30836|      0|    if (!_seq) {
  ------------------
  |  Branch (30836:9): [True: 0, False: 0]
  ------------------
30837|      0|        PyMem_Free(_children);
30838|      0|        p->error_indicator = 1;
30839|      0|        PyErr_NoMemory();
30840|      0|        p->level--;
30841|      0|        return NULL;
30842|      0|    }
30843|      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))
  |  |  ------------------
  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (30843:28): [True: 0, False: 0]
  ------------------
30844|      0|    PyMem_Free(_children);
30845|      0|    p->level--;
30846|      0|    return _seq;
30847|      0|}
parser.c:_tmp_160_rule:
37202|     53|{
37203|     53|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    106|#  define MAXSTACK 6000
  ------------------
  |  Branch (37203:9): [True: 0, False: 53]
  |  Branch (37203:35): [True: 0, False: 53]
  ------------------
37204|      0|        _Pypegen_stack_overflow(p);
37205|      0|    }
37206|     53|    if (p->error_indicator) {
  ------------------
  |  Branch (37206:9): [True: 0, False: 53]
  ------------------
37207|      0|        p->level--;
37208|      0|        return NULL;
37209|      0|    }
37210|     53|    void * _res = NULL;
37211|     53|    int _mark = p->mark;
37212|     53|    { // ',' star_expression
37213|     53|        if (p->error_indicator) {
  ------------------
  |  Branch (37213:13): [True: 0, False: 53]
  ------------------
37214|      0|            p->level--;
37215|      0|            return NULL;
37216|      0|        }
37217|     53|        D(fprintf(stderr, "%*c> _tmp_160[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' star_expression"));
37218|     53|        Token * _literal;
37219|     53|        expr_ty c;
37220|     53|        if (
37221|     53|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (37221:13): [True: 0, False: 53]
  ------------------
37222|      0|            &&
37223|      0|            (c = star_expression_rule(p))  // star_expression
  ------------------
  |  Branch (37223:13): [True: 0, False: 0]
  ------------------
37224|     53|        )
37225|      0|        {
37226|      0|            D(fprintf(stderr, "%*c+ _tmp_160[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "',' star_expression"));
37227|      0|            _res = c;
37228|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (37228:18): [True: 0, False: 0]
  |  Branch (37228:34): [True: 0, False: 0]
  |  Branch (37228:57): [True: 0, False: 0]
  ------------------
37229|      0|                p->error_indicator = 1;
37230|      0|                p->level--;
37231|      0|                return NULL;
37232|      0|            }
37233|      0|            goto done;
37234|      0|        }
37235|     53|        p->mark = _mark;
37236|     53|        D(fprintf(stderr, "%*c%s _tmp_160[%d-%d]: %s failed!\n", p->level, ' ',
37237|     53|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' star_expression"));
37238|     53|    }
37239|     53|    _res = NULL;
37240|     53|  done:
37241|     53|    p->level--;
37242|     53|    return _res;
37243|     53|}
parser.c:invalid_comprehension_rule:
21485|  1.02k|{
21486|  1.02k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  2.05k|#  define MAXSTACK 6000
  ------------------
  |  Branch (21486:9): [True: 0, False: 1.02k]
  |  Branch (21486:35): [True: 0, False: 1.02k]
  ------------------
21487|      0|        _Pypegen_stack_overflow(p);
21488|      0|    }
21489|  1.02k|    if (p->error_indicator) {
  ------------------
  |  Branch (21489:9): [True: 0, False: 1.02k]
  ------------------
21490|      0|        p->level--;
21491|      0|        return NULL;
21492|      0|    }
21493|  1.02k|    void * _res = NULL;
21494|  1.02k|    int _mark = p->mark;
21495|  1.02k|    { // '[' '**' expression for_if_clauses
21496|  1.02k|        if (p->error_indicator) {
  ------------------
  |  Branch (21496:13): [True: 0, False: 1.02k]
  ------------------
21497|      0|            p->level--;
21498|      0|            return NULL;
21499|      0|        }
21500|  1.02k|        D(fprintf(stderr, "%*c> invalid_comprehension[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'[' '**' expression for_if_clauses"));
21501|  1.02k|        Token * _literal;
21502|  1.02k|        Token * a;
21503|  1.02k|        expr_ty b;
21504|  1.02k|        asdl_comprehension_seq* for_if_clauses_var;
21505|  1.02k|        if (
21506|  1.02k|            (_literal = _PyPegen_expect_token(p, 9))  // token='['
  ------------------
  |  Branch (21506:13): [True: 0, False: 1.02k]
  ------------------
21507|      0|            &&
21508|      0|            (a = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (21508:13): [True: 0, False: 0]
  ------------------
21509|      0|            &&
21510|      0|            (b = expression_rule(p))  // expression
  ------------------
  |  Branch (21510:13): [True: 0, False: 0]
  ------------------
21511|      0|            &&
21512|      0|            (for_if_clauses_var = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  Branch (21512:13): [True: 0, False: 0]
  ------------------
21513|  1.02k|        )
21514|      0|        {
21515|      0|            D(fprintf(stderr, "%*c+ invalid_comprehension[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'[' '**' expression for_if_clauses"));
21516|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "cannot use dict unpacking in list comprehension" );
  ------------------
  |  |  237|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
21517|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (21517:18): [True: 0, False: 0]
  |  Branch (21517:34): [True: 0, False: 0]
  |  Branch (21517:57): [True: 0, False: 0]
  ------------------
21518|      0|                p->error_indicator = 1;
21519|      0|                p->level--;
21520|      0|                return NULL;
21521|      0|            }
21522|      0|            goto done;
21523|      0|        }
21524|  1.02k|        p->mark = _mark;
21525|  1.02k|        D(fprintf(stderr, "%*c%s invalid_comprehension[%d-%d]: %s failed!\n", p->level, ' ',
21526|  1.02k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'[' '**' expression for_if_clauses"));
21527|  1.02k|    }
21528|      0|    { // '(' '**' expression for_if_clauses
21529|  1.02k|        if (p->error_indicator) {
  ------------------
  |  Branch (21529:13): [True: 0, False: 1.02k]
  ------------------
21530|      0|            p->level--;
21531|      0|            return NULL;
21532|      0|        }
21533|  1.02k|        D(fprintf(stderr, "%*c> invalid_comprehension[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' '**' expression for_if_clauses"));
21534|  1.02k|        Token * _literal;
21535|  1.02k|        Token * a;
21536|  1.02k|        expr_ty b;
21537|  1.02k|        asdl_comprehension_seq* for_if_clauses_var;
21538|  1.02k|        if (
21539|  1.02k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (21539:13): [True: 689, False: 337]
  ------------------
21540|    689|            &&
21541|    689|            (a = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (21541:13): [True: 8, False: 681]
  ------------------
21542|      8|            &&
21543|      8|            (b = expression_rule(p))  // expression
  ------------------
  |  Branch (21543:13): [True: 7, False: 1]
  ------------------
21544|      7|            &&
21545|      7|            (for_if_clauses_var = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  Branch (21545:13): [True: 0, False: 7]
  ------------------
21546|  1.02k|        )
21547|      0|        {
21548|      0|            D(fprintf(stderr, "%*c+ invalid_comprehension[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' '**' expression for_if_clauses"));
21549|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "cannot use dict unpacking in generator expression" );
  ------------------
  |  |  237|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
21550|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (21550:18): [True: 0, False: 0]
  |  Branch (21550:34): [True: 0, False: 0]
  |  Branch (21550:57): [True: 0, False: 0]
  ------------------
21551|      0|                p->error_indicator = 1;
21552|      0|                p->level--;
21553|      0|                return NULL;
21554|      0|            }
21555|      0|            goto done;
21556|      0|        }
21557|  1.02k|        p->mark = _mark;
21558|  1.02k|        D(fprintf(stderr, "%*c%s invalid_comprehension[%d-%d]: %s failed!\n", p->level, ' ',
21559|  1.02k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' '**' expression for_if_clauses"));
21560|  1.02k|    }
21561|      0|    { // ('[' | '{') star_named_expression ',' star_named_expressions for_if_clauses
21562|  1.02k|        if (p->error_indicator) {
  ------------------
  |  Branch (21562:13): [True: 1, False: 1.02k]
  ------------------
21563|      1|            p->level--;
21564|      1|            return NULL;
21565|      1|        }
21566|  1.02k|        D(fprintf(stderr, "%*c> invalid_comprehension[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "('[' | '{') star_named_expression ',' star_named_expressions for_if_clauses"));
21567|  1.02k|        Token * _literal;
21568|  1.02k|        void *_tmp_121_var;
21569|  1.02k|        expr_ty a;
21570|  1.02k|        asdl_expr_seq* b;
21571|  1.02k|        asdl_comprehension_seq* for_if_clauses_var;
21572|  1.02k|        if (
21573|  1.02k|            (_tmp_121_var = _tmp_121_rule(p))  // '[' | '{'
  ------------------
  |  Branch (21573:13): [True: 2, False: 1.02k]
  ------------------
21574|      2|            &&
21575|      2|            (a = star_named_expression_rule(p))  // star_named_expression
  ------------------
  |  Branch (21575:13): [True: 2, False: 0]
  ------------------
21576|      2|            &&
21577|      2|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (21577:13): [True: 2, False: 0]
  ------------------
21578|      2|            &&
21579|      2|            (b = star_named_expressions_rule(p))  // star_named_expressions
  ------------------
  |  Branch (21579:13): [True: 2, False: 0]
  ------------------
21580|      2|            &&
21581|      2|            (for_if_clauses_var = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  Branch (21581:13): [True: 0, False: 2]
  ------------------
21582|  1.02k|        )
21583|      0|        {
21584|      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"));
21585|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , PyPegen_last_item ( b , expr_ty ) , "did you forget parentheses around the comprehension target?" );
  ------------------
  |  |  237|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
21586|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (21586:18): [True: 0, False: 0]
  |  Branch (21586:34): [True: 0, False: 0]
  |  Branch (21586:57): [True: 0, False: 0]
  ------------------
21587|      0|                p->error_indicator = 1;
21588|      0|                p->level--;
21589|      0|                return NULL;
21590|      0|            }
21591|      0|            goto done;
21592|      0|        }
21593|  1.02k|        p->mark = _mark;
21594|  1.02k|        D(fprintf(stderr, "%*c%s invalid_comprehension[%d-%d]: %s failed!\n", p->level, ' ',
21595|  1.02k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "('[' | '{') star_named_expression ',' star_named_expressions for_if_clauses"));
21596|  1.02k|    }
21597|      0|    { // ('[' | '{') star_named_expression ',' for_if_clauses
21598|  1.02k|        if (p->error_indicator) {
  ------------------
  |  Branch (21598:13): [True: 0, False: 1.02k]
  ------------------
21599|      0|            p->level--;
21600|      0|            return NULL;
21601|      0|        }
21602|  1.02k|        D(fprintf(stderr, "%*c> invalid_comprehension[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "('[' | '{') star_named_expression ',' for_if_clauses"));
21603|  1.02k|        void *_tmp_121_var;
21604|  1.02k|        expr_ty a;
21605|  1.02k|        Token * b;
21606|  1.02k|        asdl_comprehension_seq* for_if_clauses_var;
21607|  1.02k|        if (
21608|  1.02k|            (_tmp_121_var = _tmp_121_rule(p))  // '[' | '{'
  ------------------
  |  Branch (21608:13): [True: 2, False: 1.02k]
  ------------------
21609|      2|            &&
21610|      2|            (a = star_named_expression_rule(p))  // star_named_expression
  ------------------
  |  Branch (21610:13): [True: 2, False: 0]
  ------------------
21611|      2|            &&
21612|      2|            (b = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (21612:13): [True: 2, False: 0]
  ------------------
21613|      2|            &&
21614|      2|            (for_if_clauses_var = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  Branch (21614:13): [True: 0, False: 2]
  ------------------
21615|  1.02k|        )
21616|      0|        {
21617|      0|            D(fprintf(stderr, "%*c+ invalid_comprehension[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "('[' | '{') star_named_expression ',' for_if_clauses"));
21618|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "did you forget parentheses around the comprehension target?" );
  ------------------
  |  |  237|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
21619|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (21619:18): [True: 0, False: 0]
  |  Branch (21619:34): [True: 0, False: 0]
  |  Branch (21619:57): [True: 0, False: 0]
  ------------------
21620|      0|                p->error_indicator = 1;
21621|      0|                p->level--;
21622|      0|                return NULL;
21623|      0|            }
21624|      0|            goto done;
21625|      0|        }
21626|  1.02k|        p->mark = _mark;
21627|  1.02k|        D(fprintf(stderr, "%*c%s invalid_comprehension[%d-%d]: %s failed!\n", p->level, ' ',
21628|  1.02k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "('[' | '{') star_named_expression ',' for_if_clauses"));
21629|  1.02k|    }
21630|  1.02k|    _res = NULL;
21631|  1.02k|  done:
21632|  1.02k|    p->level--;
21633|  1.02k|    return _res;
21634|  1.02k|}
parser.c:_tmp_121_rule:
34871|  2.05k|{
34872|  2.05k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  4.10k|#  define MAXSTACK 6000
  ------------------
  |  Branch (34872:9): [True: 0, False: 2.05k]
  |  Branch (34872:35): [True: 0, False: 2.05k]
  ------------------
34873|      0|        _Pypegen_stack_overflow(p);
34874|      0|    }
34875|  2.05k|    if (p->error_indicator) {
  ------------------
  |  Branch (34875:9): [True: 0, False: 2.05k]
  ------------------
34876|      0|        p->level--;
34877|      0|        return NULL;
34878|      0|    }
34879|  2.05k|    void * _res = NULL;
34880|  2.05k|    int _mark = p->mark;
34881|  2.05k|    { // '['
34882|  2.05k|        if (p->error_indicator) {
  ------------------
  |  Branch (34882:13): [True: 0, False: 2.05k]
  ------------------
34883|      0|            p->level--;
34884|      0|            return NULL;
34885|      0|        }
34886|  2.05k|        D(fprintf(stderr, "%*c> _tmp_121[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'['"));
34887|  2.05k|        Token * _literal;
34888|  2.05k|        if (
34889|  2.05k|            (_literal = _PyPegen_expect_token(p, 9))  // token='['
  ------------------
  |  Branch (34889:13): [True: 0, False: 2.05k]
  ------------------
34890|  2.05k|        )
34891|      0|        {
34892|      0|            D(fprintf(stderr, "%*c+ _tmp_121[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'['"));
34893|      0|            _res = _literal;
34894|      0|            goto done;
34895|      0|        }
34896|  2.05k|        p->mark = _mark;
34897|  2.05k|        D(fprintf(stderr, "%*c%s _tmp_121[%d-%d]: %s failed!\n", p->level, ' ',
34898|  2.05k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'['"));
34899|  2.05k|    }
34900|      0|    { // '{'
34901|  2.05k|        if (p->error_indicator) {
  ------------------
  |  Branch (34901:13): [True: 0, False: 2.05k]
  ------------------
34902|      0|            p->level--;
34903|      0|            return NULL;
34904|      0|        }
34905|  2.05k|        D(fprintf(stderr, "%*c> _tmp_121[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{'"));
34906|  2.05k|        Token * _literal;
34907|  2.05k|        if (
34908|  2.05k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (34908:13): [True: 4, False: 2.04k]
  ------------------
34909|  2.05k|        )
34910|      4|        {
34911|      4|            D(fprintf(stderr, "%*c+ _tmp_121[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{'"));
34912|      4|            _res = _literal;
34913|      4|            goto done;
34914|      4|        }
34915|  2.04k|        p->mark = _mark;
34916|  2.04k|        D(fprintf(stderr, "%*c%s _tmp_121[%d-%d]: %s failed!\n", p->level, ' ',
34917|  2.04k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{'"));
34918|  2.04k|    }
34919|  2.04k|    _res = NULL;
34920|  2.05k|  done:
34921|  2.05k|    p->level--;
34922|  2.05k|    return _res;
34923|  2.04k|}
parser.c:star_named_expression_rule:
12128|  1.02k|{
12129|  1.02k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  2.04k|#  define MAXSTACK 6000
  ------------------
  |  Branch (12129:9): [True: 0, False: 1.02k]
  |  Branch (12129:35): [True: 0, False: 1.02k]
  ------------------
12130|      0|        _Pypegen_stack_overflow(p);
12131|      0|    }
12132|  1.02k|    if (p->error_indicator) {
  ------------------
  |  Branch (12132:9): [True: 0, False: 1.02k]
  ------------------
12133|      0|        p->level--;
12134|      0|        return NULL;
12135|      0|    }
12136|  1.02k|    expr_ty _res = NULL;
12137|  1.02k|    int _mark = p->mark;
12138|  1.02k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (12138:9): [True: 17, False: 1.00k]
  |  Branch (12138:31): [True: 0, False: 17]
  ------------------
12139|      0|        p->error_indicator = 1;
12140|      0|        p->level--;
12141|      0|        return NULL;
12142|      0|    }
12143|  1.02k|    int _start_lineno = p->tokens[_mark]->lineno;
12144|  1.02k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|  1.02k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 1.02k]
  |  |  ------------------
  ------------------
12145|  1.02k|    int _start_col_offset = p->tokens[_mark]->col_offset;
12146|  1.02k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|  1.02k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 1.02k]
  |  |  ------------------
  ------------------
12147|  1.02k|    { // '*' bitwise_or
12148|  1.02k|        if (p->error_indicator) {
  ------------------
  |  Branch (12148:13): [True: 0, False: 1.02k]
  ------------------
12149|      0|            p->level--;
12150|      0|            return NULL;
12151|      0|        }
12152|  1.02k|        D(fprintf(stderr, "%*c> star_named_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' bitwise_or"));
12153|  1.02k|        Token * _literal;
12154|  1.02k|        expr_ty a;
12155|  1.02k|        if (
12156|  1.02k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (12156:13): [True: 466, False: 558]
  ------------------
12157|    466|            &&
12158|    466|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (12158:13): [True: 466, False: 0]
  ------------------
12159|  1.02k|        )
12160|    466|        {
12161|    466|            D(fprintf(stderr, "%*c+ star_named_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' bitwise_or"));
12162|    466|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
12163|    466|            if (_token == NULL) {
  ------------------
  |  Branch (12163:17): [True: 0, False: 466]
  ------------------
12164|      0|                p->level--;
12165|      0|                return NULL;
12166|      0|            }
12167|    466|            int _end_lineno = _token->end_lineno;
12168|    466|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|    466|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 466]
  |  |  ------------------
  ------------------
12169|    466|            int _end_col_offset = _token->end_col_offset;
12170|    466|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|    466|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 466]
  |  |  ------------------
  ------------------
12171|    466|            _res = _PyAST_Starred ( a , Load , EXTRA );
  ------------------
  |  |  307|    466|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
12172|    466|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12172:18): [True: 0, False: 466]
  |  Branch (12172:34): [True: 0, False: 466]
  |  Branch (12172:57): [True: 0, False: 0]
  ------------------
12173|      0|                p->error_indicator = 1;
12174|      0|                p->level--;
12175|      0|                return NULL;
12176|      0|            }
12177|    466|            goto done;
12178|    466|        }
12179|    558|        p->mark = _mark;
12180|    558|        D(fprintf(stderr, "%*c%s star_named_expression[%d-%d]: %s failed!\n", p->level, ' ',
12181|    558|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' bitwise_or"));
12182|    558|    }
12183|      0|    { // named_expression
12184|    558|        if (p->error_indicator) {
  ------------------
  |  Branch (12184:13): [True: 0, False: 558]
  ------------------
12185|      0|            p->level--;
12186|      0|            return NULL;
12187|      0|        }
12188|    558|        D(fprintf(stderr, "%*c> star_named_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "named_expression"));
12189|    558|        expr_ty named_expression_var;
12190|    558|        if (
12191|    558|            (named_expression_var = named_expression_rule(p))  // named_expression
  ------------------
  |  Branch (12191:13): [True: 271, False: 287]
  ------------------
12192|    558|        )
12193|    271|        {
12194|    271|            D(fprintf(stderr, "%*c+ star_named_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "named_expression"));
12195|    271|            _res = named_expression_var;
12196|    271|            goto done;
12197|    271|        }
12198|    287|        p->mark = _mark;
12199|    287|        D(fprintf(stderr, "%*c%s star_named_expression[%d-%d]: %s failed!\n", p->level, ' ',
12200|    287|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "named_expression"));
12201|    287|    }
12202|    287|    _res = NULL;
12203|  1.02k|  done:
12204|  1.02k|    p->level--;
12205|  1.02k|    return _res;
12206|    287|}
parser.c:star_named_expressions_rule:
12081|      2|{
12082|      2|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      4|#  define MAXSTACK 6000
  ------------------
  |  Branch (12082:9): [True: 0, False: 2]
  |  Branch (12082:35): [True: 0, False: 2]
  ------------------
12083|      0|        _Pypegen_stack_overflow(p);
12084|      0|    }
12085|      2|    if (p->error_indicator) {
  ------------------
  |  Branch (12085:9): [True: 0, False: 2]
  ------------------
12086|      0|        p->level--;
12087|      0|        return NULL;
12088|      0|    }
12089|      2|    asdl_expr_seq* _res = NULL;
12090|      2|    int _mark = p->mark;
12091|      2|    { // ','.star_named_expression+ ','?
12092|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (12092:13): [True: 0, False: 2]
  ------------------
12093|      0|            p->level--;
12094|      0|            return NULL;
12095|      0|        }
12096|      2|        D(fprintf(stderr, "%*c> star_named_expressions[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.star_named_expression+ ','?"));
12097|      2|        void *_opt_var;
12098|      2|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  305|      2|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 2]
  |  |  ------------------
  ------------------
12099|      2|        asdl_expr_seq* a;
12100|      2|        if (
12101|      2|            (a = (asdl_expr_seq*)_gather_58_rule(p))  // ','.star_named_expression+
  ------------------
  |  Branch (12101:13): [True: 2, False: 0]
  ------------------
12102|      2|            &&
12103|      2|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (12103:13): [True: 2, False: 0]
  ------------------
12104|      2|        )
12105|      2|        {
12106|      2|            D(fprintf(stderr, "%*c+ star_named_expressions[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.star_named_expression+ ','?"));
12107|      2|            _res = a;
12108|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12108:18): [True: 0, False: 2]
  |  Branch (12108:34): [True: 0, False: 2]
  |  Branch (12108:57): [True: 0, False: 0]
  ------------------
12109|      0|                p->error_indicator = 1;
12110|      0|                p->level--;
12111|      0|                return NULL;
12112|      0|            }
12113|      2|            goto done;
12114|      2|        }
12115|      0|        p->mark = _mark;
12116|      0|        D(fprintf(stderr, "%*c%s star_named_expressions[%d-%d]: %s failed!\n", p->level, ' ',
12117|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.star_named_expression+ ','?"));
12118|      0|    }
12119|      0|    _res = NULL;
12120|      2|  done:
12121|      2|    p->level--;
12122|      2|    return _res;
12123|      0|}
parser.c:_gather_58_rule:
30928|      2|{
30929|      2|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      4|#  define MAXSTACK 6000
  ------------------
  |  Branch (30929:9): [True: 0, False: 2]
  |  Branch (30929:35): [True: 0, False: 2]
  ------------------
30930|      0|        _Pypegen_stack_overflow(p);
30931|      0|    }
30932|      2|    if (p->error_indicator) {
  ------------------
  |  Branch (30932:9): [True: 0, False: 2]
  ------------------
30933|      0|        p->level--;
30934|      0|        return NULL;
30935|      0|    }
30936|      2|    asdl_seq * _res = NULL;
30937|      2|    int _mark = p->mark;
30938|      2|    { // star_named_expression _loop0_57
30939|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (30939:13): [True: 0, False: 2]
  ------------------
30940|      0|            p->level--;
30941|      0|            return NULL;
30942|      0|        }
30943|      2|        D(fprintf(stderr, "%*c> _gather_58[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_named_expression _loop0_57"));
30944|      2|        expr_ty elem;
30945|      2|        asdl_seq * seq;
30946|      2|        if (
30947|      2|            (elem = star_named_expression_rule(p))  // star_named_expression
  ------------------
  |  Branch (30947:13): [True: 2, False: 0]
  ------------------
30948|      2|            &&
30949|      2|            (seq = _loop0_57_rule(p))  // _loop0_57
  ------------------
  |  Branch (30949:13): [True: 2, False: 0]
  ------------------
30950|      2|        )
30951|      2|        {
30952|      2|            D(fprintf(stderr, "%*c+ _gather_58[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_named_expression _loop0_57"));
30953|      2|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
30954|      2|            goto done;
30955|      2|        }
30956|      0|        p->mark = _mark;
30957|      0|        D(fprintf(stderr, "%*c%s _gather_58[%d-%d]: %s failed!\n", p->level, ' ',
30958|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_named_expression _loop0_57"));
30959|      0|    }
30960|      0|    _res = NULL;
30961|      2|  done:
30962|      2|    p->level--;
30963|      2|    return _res;
30964|      0|}
parser.c:_loop0_57_rule:
30852|      2|{
30853|      2|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      4|#  define MAXSTACK 6000
  ------------------
  |  Branch (30853:9): [True: 0, False: 2]
  |  Branch (30853:35): [True: 0, False: 2]
  ------------------
30854|      0|        _Pypegen_stack_overflow(p);
30855|      0|    }
30856|      2|    if (p->error_indicator) {
  ------------------
  |  Branch (30856:9): [True: 0, False: 2]
  ------------------
30857|      0|        p->level--;
30858|      0|        return NULL;
30859|      0|    }
30860|      2|    void *_res = NULL;
30861|      2|    int _mark = p->mark;
30862|      2|    void **_children = PyMem_Malloc(sizeof(void *));
30863|      2|    if (!_children) {
  ------------------
  |  Branch (30863:9): [True: 0, False: 2]
  ------------------
30864|      0|        p->error_indicator = 1;
30865|      0|        PyErr_NoMemory();
30866|      0|        p->level--;
30867|      0|        return NULL;
30868|      0|    }
30869|      2|    Py_ssize_t _children_capacity = 1;
30870|      2|    Py_ssize_t _n = 0;
30871|      2|    { // ',' star_named_expression
30872|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (30872:13): [True: 0, False: 2]
  ------------------
30873|      0|            p->level--;
30874|      0|            return NULL;
30875|      0|        }
30876|      2|        D(fprintf(stderr, "%*c> _loop0_57[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' star_named_expression"));
30877|      2|        Token * _literal;
30878|      2|        expr_ty elem;
30879|      2|        while (
30880|      8|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (30880:13): [True: 6, False: 2]
  ------------------
30881|      6|            &&
30882|      6|            (elem = star_named_expression_rule(p))  // star_named_expression
  ------------------
  |  Branch (30882:13): [True: 6, False: 0]
  ------------------
30883|      2|        )
30884|      6|        {
30885|      6|            _res = elem;
30886|      6|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (30886:18): [True: 0, False: 6]
  |  Branch (30886:34): [True: 0, False: 6]
  |  Branch (30886:57): [True: 0, False: 0]
  ------------------
30887|      0|                p->error_indicator = 1;
30888|      0|                PyMem_Free(_children);
30889|      0|                p->level--;
30890|      0|                return NULL;
30891|      0|            }
30892|      6|            if (_n == _children_capacity) {
  ------------------
  |  Branch (30892:17): [True: 4, False: 2]
  ------------------
30893|      4|                _children_capacity *= 2;
30894|      4|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
30895|      4|                if (!_new_children) {
  ------------------
  |  Branch (30895:21): [True: 0, False: 4]
  ------------------
30896|      0|                    PyMem_Free(_children);
30897|      0|                    p->error_indicator = 1;
30898|      0|                    PyErr_NoMemory();
30899|      0|                    p->level--;
30900|      0|                    return NULL;
30901|      0|                }
30902|      4|                _children = _new_children;
30903|      4|            }
30904|      6|            _children[_n++] = _res;
30905|      6|            _mark = p->mark;
30906|      6|        }
30907|      2|        p->mark = _mark;
30908|      2|        D(fprintf(stderr, "%*c%s _loop0_57[%d-%d]: %s failed!\n", p->level, ' ',
30909|      2|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' star_named_expression"));
30910|      2|    }
30911|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
30912|      2|    if (!_seq) {
  ------------------
  |  Branch (30912:9): [True: 0, False: 2]
  ------------------
30913|      0|        PyMem_Free(_children);
30914|      0|        p->error_indicator = 1;
30915|      0|        PyErr_NoMemory();
30916|      0|        p->level--;
30917|      0|        return NULL;
30918|      0|    }
30919|      8|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|      6|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  302|      8|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (30919:28): [True: 6, False: 2]
  ------------------
30920|      2|    PyMem_Free(_children);
30921|      2|    p->level--;
30922|      2|    return _seq;
30923|      2|}
parser.c:arguments_rule:
18298|  1.25k|{
18299|  1.25k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  2.51k|#  define MAXSTACK 6000
  ------------------
  |  Branch (18299:9): [True: 0, False: 1.25k]
  |  Branch (18299:35): [True: 0, False: 1.25k]
  ------------------
18300|      0|        _Pypegen_stack_overflow(p);
18301|      0|    }
18302|  1.25k|    if (p->error_indicator) {
  ------------------
  |  Branch (18302:9): [True: 0, False: 1.25k]
  ------------------
18303|      0|        p->level--;
18304|      0|        return NULL;
18305|      0|    }
18306|  1.25k|    expr_ty _res = NULL;
18307|  1.25k|    if (_PyPegen_is_memoized(p, arguments_type, &_res)) {
  ------------------
  |  |  266|  1.25k|#define arguments_type 1177
  ------------------
  |  Branch (18307:9): [True: 0, False: 1.25k]
  ------------------
18308|      0|        p->level--;
18309|      0|        return _res;
18310|      0|    }
18311|  1.25k|    int _mark = p->mark;
18312|  1.25k|    { // args ','? &')'
18313|  1.25k|        if (p->error_indicator) {
  ------------------
  |  Branch (18313:13): [True: 0, False: 1.25k]
  ------------------
18314|      0|            p->level--;
18315|      0|            return NULL;
18316|      0|        }
18317|  1.25k|        D(fprintf(stderr, "%*c> arguments[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "args ','? &')'"));
18318|  1.25k|        void *_opt_var;
18319|  1.25k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  305|  1.25k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 1.25k]
  |  |  ------------------
  ------------------
18320|  1.25k|        expr_ty a;
18321|  1.25k|        if (
18322|  1.25k|            (a = args_rule(p))  // args
  ------------------
  |  Branch (18322:13): [True: 979, False: 278]
  ------------------
18323|    979|            &&
18324|    979|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (18324:13): [True: 979, False: 0]
  ------------------
18325|    979|            &&
18326|    979|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 8)  // token=')'
  ------------------
  |  Branch (18326:13): [True: 2, False: 977]
  ------------------
18327|  1.25k|        )
18328|      2|        {
18329|      2|            D(fprintf(stderr, "%*c+ arguments[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "args ','? &')'"));
18330|      2|            _res = a;
18331|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18331:18): [True: 0, False: 2]
  |  Branch (18331:34): [True: 0, False: 2]
  |  Branch (18331:57): [True: 0, False: 0]
  ------------------
18332|      0|                p->error_indicator = 1;
18333|      0|                p->level--;
18334|      0|                return NULL;
18335|      0|            }
18336|      2|            goto done;
18337|      2|        }
18338|  1.25k|        p->mark = _mark;
18339|  1.25k|        D(fprintf(stderr, "%*c%s arguments[%d-%d]: %s failed!\n", p->level, ' ',
18340|  1.25k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "args ','? &')'"));
18341|  1.25k|    }
18342|  1.25k|    if (p->call_invalid_rules) { // invalid_arguments
  ------------------
  |  Branch (18342:9): [True: 450, False: 805]
  ------------------
18343|    450|        if (p->error_indicator) {
  ------------------
  |  Branch (18343:13): [True: 0, False: 450]
  ------------------
18344|      0|            p->level--;
18345|      0|            return NULL;
18346|      0|        }
18347|    450|        D(fprintf(stderr, "%*c> arguments[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_arguments"));
18348|    450|        void *invalid_arguments_var;
18349|    450|        if (
18350|    450|            (invalid_arguments_var = invalid_arguments_rule(p))  // invalid_arguments
  ------------------
  |  Branch (18350:13): [True: 0, False: 450]
  ------------------
18351|    450|        )
18352|      0|        {
18353|      0|            D(fprintf(stderr, "%*c+ arguments[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_arguments"));
18354|      0|            _res = invalid_arguments_var;
18355|      0|            goto done;
18356|      0|        }
18357|    450|        p->mark = _mark;
18358|    450|        D(fprintf(stderr, "%*c%s arguments[%d-%d]: %s failed!\n", p->level, ' ',
18359|    450|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_arguments"));
18360|    450|    }
18361|  1.25k|    _res = NULL;
18362|  1.25k|  done:
18363|  1.25k|    _PyPegen_insert_memo(p, _mark, arguments_type, _res);
  ------------------
  |  |  266|  1.25k|#define arguments_type 1177
  ------------------
18364|  1.25k|    p->level--;
18365|  1.25k|    return _res;
18366|  1.25k|}
parser.c:args_rule:
18373|  3.05k|{
18374|  3.05k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  6.11k|#  define MAXSTACK 6000
  ------------------
  |  Branch (18374:9): [True: 0, False: 3.05k]
  |  Branch (18374:35): [True: 0, False: 3.05k]
  ------------------
18375|      0|        _Pypegen_stack_overflow(p);
18376|      0|    }
18377|  3.05k|    if (p->error_indicator) {
  ------------------
  |  Branch (18377:9): [True: 0, False: 3.05k]
  ------------------
18378|      0|        p->level--;
18379|      0|        return NULL;
18380|      0|    }
18381|  3.05k|    expr_ty _res = NULL;
18382|  3.05k|    int _mark = p->mark;
18383|  3.05k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (18383:9): [True: 0, False: 3.05k]
  |  Branch (18383:31): [True: 0, False: 0]
  ------------------
18384|      0|        p->error_indicator = 1;
18385|      0|        p->level--;
18386|      0|        return NULL;
18387|      0|    }
18388|  3.05k|    int _start_lineno = p->tokens[_mark]->lineno;
18389|  3.05k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|  3.05k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 3.05k]
  |  |  ------------------
  ------------------
18390|  3.05k|    int _start_col_offset = p->tokens[_mark]->col_offset;
18391|  3.05k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|  3.05k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 3.05k]
  |  |  ------------------
  ------------------
18392|  3.05k|    { // ','.(starred_expression | (assignment_expression | expression !':=') !'=')+ [',' kwargs]
18393|  3.05k|        if (p->error_indicator) {
  ------------------
  |  Branch (18393:13): [True: 0, False: 3.05k]
  ------------------
18394|      0|            p->level--;
18395|      0|            return NULL;
18396|      0|        }
18397|  3.05k|        D(fprintf(stderr, "%*c> args[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.(starred_expression | (assignment_expression | expression !':=') !'=')+ [',' kwargs]"));
18398|  3.05k|        asdl_expr_seq* a;
18399|  3.05k|        void *b;
18400|  3.05k|        if (
18401|  3.05k|            (a = (asdl_expr_seq*)_gather_91_rule(p))  // ','.(starred_expression | (assignment_expression | expression !':=') !'=')+
  ------------------
  |  Branch (18401:13): [True: 2.33k, False: 725]
  ------------------
18402|  2.33k|            &&
18403|  2.33k|            (b = _tmp_92_rule(p), !p->error_indicator)  // [',' kwargs]
  ------------------
  |  Branch (18403:13): [True: 2.33k, False: 0]
  ------------------
18404|  3.05k|        )
18405|  2.33k|        {
18406|  2.33k|            D(fprintf(stderr, "%*c+ args[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.(starred_expression | (assignment_expression | expression !':=') !'=')+ [',' kwargs]"));
18407|  2.33k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
18408|  2.33k|            if (_token == NULL) {
  ------------------
  |  Branch (18408:17): [True: 0, False: 2.33k]
  ------------------
18409|      0|                p->level--;
18410|      0|                return NULL;
18411|      0|            }
18412|  2.33k|            int _end_lineno = _token->end_lineno;
18413|  2.33k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|  2.33k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 2.33k]
  |  |  ------------------
  ------------------
18414|  2.33k|            int _end_col_offset = _token->end_col_offset;
18415|  2.33k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|  2.33k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 2.33k]
  |  |  ------------------
  ------------------
18416|  2.33k|            _res = _PyPegen_collect_call_seqs ( p , a , b , EXTRA );
  ------------------
  |  |  307|  2.33k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
18417|  2.33k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18417:18): [True: 0, False: 2.33k]
  |  Branch (18417:34): [True: 0, False: 2.33k]
  |  Branch (18417:57): [True: 0, False: 0]
  ------------------
18418|      0|                p->error_indicator = 1;
18419|      0|                p->level--;
18420|      0|                return NULL;
18421|      0|            }
18422|  2.33k|            goto done;
18423|  2.33k|        }
18424|    725|        p->mark = _mark;
18425|    725|        D(fprintf(stderr, "%*c%s args[%d-%d]: %s failed!\n", p->level, ' ',
18426|    725|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.(starred_expression | (assignment_expression | expression !':=') !'=')+ [',' kwargs]"));
18427|    725|    }
18428|      0|    { // kwargs
18429|    725|        if (p->error_indicator) {
  ------------------
  |  Branch (18429:13): [True: 0, False: 725]
  ------------------
18430|      0|            p->level--;
18431|      0|            return NULL;
18432|      0|        }
18433|    725|        D(fprintf(stderr, "%*c> args[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "kwargs"));
18434|    725|        asdl_seq* a;
18435|    725|        if (
18436|    725|            (a = kwargs_rule(p))  // kwargs
  ------------------
  |  Branch (18436:13): [True: 43, False: 682]
  ------------------
18437|    725|        )
18438|     43|        {
18439|     43|            D(fprintf(stderr, "%*c+ args[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "kwargs"));
18440|     43|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
18441|     43|            if (_token == NULL) {
  ------------------
  |  Branch (18441:17): [True: 0, False: 43]
  ------------------
18442|      0|                p->level--;
18443|      0|                return NULL;
18444|      0|            }
18445|     43|            int _end_lineno = _token->end_lineno;
18446|     43|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|     43|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 43]
  |  |  ------------------
  ------------------
18447|     43|            int _end_col_offset = _token->end_col_offset;
18448|     43|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|     43|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 43]
  |  |  ------------------
  ------------------
18449|     43|            _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 );
  ------------------
  |  |  272|     43|#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 );
  ------------------
  |  |  272|     43|#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 );
  ------------------
  |  |  307|     43|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
18450|     43|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18450:18): [True: 0, False: 43]
  |  Branch (18450:34): [True: 0, False: 43]
  |  Branch (18450:57): [True: 0, False: 0]
  ------------------
18451|      0|                p->error_indicator = 1;
18452|      0|                p->level--;
18453|      0|                return NULL;
18454|      0|            }
18455|     43|            goto done;
18456|     43|        }
18457|    682|        p->mark = _mark;
18458|    682|        D(fprintf(stderr, "%*c%s args[%d-%d]: %s failed!\n", p->level, ' ',
18459|    682|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "kwargs"));
18460|    682|    }
18461|    682|    _res = NULL;
18462|  3.05k|  done:
18463|  3.05k|    p->level--;
18464|  3.05k|    return _res;
18465|    682|}
parser.c:_gather_91_rule:
33082|  3.50k|{
33083|  3.50k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  7.01k|#  define MAXSTACK 6000
  ------------------
  |  Branch (33083:9): [True: 0, False: 3.50k]
  |  Branch (33083:35): [True: 0, False: 3.50k]
  ------------------
33084|      0|        _Pypegen_stack_overflow(p);
33085|      0|    }
33086|  3.50k|    if (p->error_indicator) {
  ------------------
  |  Branch (33086:9): [True: 0, False: 3.50k]
  ------------------
33087|      0|        p->level--;
33088|      0|        return NULL;
33089|      0|    }
33090|  3.50k|    asdl_seq * _res = NULL;
33091|  3.50k|    int _mark = p->mark;
33092|  3.50k|    { // (starred_expression | (assignment_expression | expression !':=') !'=') _loop0_90
33093|  3.50k|        if (p->error_indicator) {
  ------------------
  |  Branch (33093:13): [True: 0, False: 3.50k]
  ------------------
33094|      0|            p->level--;
33095|      0|            return NULL;
33096|      0|        }
33097|  3.50k|        D(fprintf(stderr, "%*c> _gather_91[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(starred_expression | (assignment_expression | expression !':=') !'=') _loop0_90"));
33098|  3.50k|        void *elem;
33099|  3.50k|        asdl_seq * seq;
33100|  3.50k|        if (
33101|  3.50k|            (elem = _tmp_165_rule(p))  // starred_expression | (assignment_expression | expression !':=') !'='
  ------------------
  |  Branch (33101:13): [True: 2.67k, False: 833]
  ------------------
33102|  2.67k|            &&
33103|  2.67k|            (seq = _loop0_90_rule(p))  // _loop0_90
  ------------------
  |  Branch (33103:13): [True: 2.67k, False: 0]
  ------------------
33104|  3.50k|        )
33105|  2.67k|        {
33106|  2.67k|            D(fprintf(stderr, "%*c+ _gather_91[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "(starred_expression | (assignment_expression | expression !':=') !'=') _loop0_90"));
33107|  2.67k|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
33108|  2.67k|            goto done;
33109|  2.67k|        }
33110|    833|        p->mark = _mark;
33111|    833|        D(fprintf(stderr, "%*c%s _gather_91[%d-%d]: %s failed!\n", p->level, ' ',
33112|    833|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(starred_expression | (assignment_expression | expression !':=') !'=') _loop0_90"));
33113|    833|    }
33114|    833|    _res = NULL;
33115|  3.50k|  done:
33116|  3.50k|    p->level--;
33117|  3.50k|    return _res;
33118|    833|}
parser.c:_tmp_165_rule:
37443|  3.50k|{
37444|  3.50k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  7.01k|#  define MAXSTACK 6000
  ------------------
  |  Branch (37444:9): [True: 0, False: 3.50k]
  |  Branch (37444:35): [True: 0, False: 3.50k]
  ------------------
37445|      0|        _Pypegen_stack_overflow(p);
37446|      0|    }
37447|  3.50k|    if (p->error_indicator) {
  ------------------
  |  Branch (37447:9): [True: 0, False: 3.50k]
  ------------------
37448|      0|        p->level--;
37449|      0|        return NULL;
37450|      0|    }
37451|  3.50k|    void * _res = NULL;
37452|  3.50k|    int _mark = p->mark;
37453|  3.50k|    { // starred_expression
37454|  3.50k|        if (p->error_indicator) {
  ------------------
  |  Branch (37454:13): [True: 0, False: 3.50k]
  ------------------
37455|      0|            p->level--;
37456|      0|            return NULL;
37457|      0|        }
37458|  3.50k|        D(fprintf(stderr, "%*c> _tmp_165[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "starred_expression"));
37459|  3.50k|        expr_ty starred_expression_var;
37460|  3.50k|        if (
37461|  3.50k|            (starred_expression_var = starred_expression_rule(p))  // starred_expression
  ------------------
  |  Branch (37461:13): [True: 1.98k, False: 1.52k]
  ------------------
37462|  3.50k|        )
37463|  1.98k|        {
37464|  1.98k|            D(fprintf(stderr, "%*c+ _tmp_165[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "starred_expression"));
37465|  1.98k|            _res = starred_expression_var;
37466|  1.98k|            goto done;
37467|  1.98k|        }
37468|  1.52k|        p->mark = _mark;
37469|  1.52k|        D(fprintf(stderr, "%*c%s _tmp_165[%d-%d]: %s failed!\n", p->level, ' ',
37470|  1.52k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "starred_expression"));
37471|  1.52k|    }
37472|      0|    { // (assignment_expression | expression !':=') !'='
37473|  1.52k|        if (p->error_indicator) {
  ------------------
  |  Branch (37473:13): [True: 0, False: 1.52k]
  ------------------
37474|      0|            p->level--;
37475|      0|            return NULL;
37476|      0|        }
37477|  1.52k|        D(fprintf(stderr, "%*c> _tmp_165[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(assignment_expression | expression !':=') !'='"));
37478|  1.52k|        void *_tmp_176_var;
37479|  1.52k|        if (
37480|  1.52k|            (_tmp_176_var = _tmp_176_rule(p))  // assignment_expression | expression !':='
  ------------------
  |  Branch (37480:13): [True: 688, False: 833]
  ------------------
37481|    688|            &&
37482|    688|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 22)  // token='='
  ------------------
  |  Branch (37482:13): [True: 688, False: 0]
  ------------------
37483|  1.52k|        )
37484|    688|        {
37485|    688|            D(fprintf(stderr, "%*c+ _tmp_165[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "(assignment_expression | expression !':=') !'='"));
37486|    688|            _res = _tmp_176_var;
37487|    688|            goto done;
37488|    688|        }
37489|    833|        p->mark = _mark;
37490|    833|        D(fprintf(stderr, "%*c%s _tmp_165[%d-%d]: %s failed!\n", p->level, ' ',
37491|    833|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(assignment_expression | expression !':=') !'='"));
37492|    833|    }
37493|    833|    _res = NULL;
37494|  3.50k|  done:
37495|  3.50k|    p->level--;
37496|  3.50k|    return _res;
37497|    833|}
parser.c:_tmp_176_rule:
38033|  1.52k|{
38034|  1.52k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  3.04k|#  define MAXSTACK 6000
  ------------------
  |  Branch (38034:9): [True: 0, False: 1.52k]
  |  Branch (38034:35): [True: 0, False: 1.52k]
  ------------------
38035|      0|        _Pypegen_stack_overflow(p);
38036|      0|    }
38037|  1.52k|    if (p->error_indicator) {
  ------------------
  |  Branch (38037:9): [True: 0, False: 1.52k]
  ------------------
38038|      0|        p->level--;
38039|      0|        return NULL;
38040|      0|    }
38041|  1.52k|    void * _res = NULL;
38042|  1.52k|    int _mark = p->mark;
38043|  1.52k|    { // assignment_expression
38044|  1.52k|        if (p->error_indicator) {
  ------------------
  |  Branch (38044:13): [True: 0, False: 1.52k]
  ------------------
38045|      0|            p->level--;
38046|      0|            return NULL;
38047|      0|        }
38048|  1.52k|        D(fprintf(stderr, "%*c> _tmp_176[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "assignment_expression"));
38049|  1.52k|        expr_ty assignment_expression_var;
38050|  1.52k|        if (
38051|  1.52k|            (assignment_expression_var = assignment_expression_rule(p))  // assignment_expression
  ------------------
  |  Branch (38051:13): [True: 0, False: 1.52k]
  ------------------
38052|  1.52k|        )
38053|      0|        {
38054|      0|            D(fprintf(stderr, "%*c+ _tmp_176[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "assignment_expression"));
38055|      0|            _res = assignment_expression_var;
38056|      0|            goto done;
38057|      0|        }
38058|  1.52k|        p->mark = _mark;
38059|  1.52k|        D(fprintf(stderr, "%*c%s _tmp_176[%d-%d]: %s failed!\n", p->level, ' ',
38060|  1.52k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "assignment_expression"));
38061|  1.52k|    }
38062|      0|    { // expression !':='
38063|  1.52k|        if (p->error_indicator) {
  ------------------
  |  Branch (38063:13): [True: 0, False: 1.52k]
  ------------------
38064|      0|            p->level--;
38065|      0|            return NULL;
38066|      0|        }
38067|  1.52k|        D(fprintf(stderr, "%*c> _tmp_176[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression !':='"));
38068|  1.52k|        expr_ty expression_var;
38069|  1.52k|        if (
38070|  1.52k|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (38070:13): [True: 688, False: 833]
  ------------------
38071|    688|            &&
38072|    688|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 53)  // token=':='
  ------------------
  |  Branch (38072:13): [True: 688, False: 0]
  ------------------
38073|  1.52k|        )
38074|    688|        {
38075|    688|            D(fprintf(stderr, "%*c+ _tmp_176[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression !':='"));
38076|    688|            _res = expression_var;
38077|    688|            goto done;
38078|    688|        }
38079|    833|        p->mark = _mark;
38080|    833|        D(fprintf(stderr, "%*c%s _tmp_176[%d-%d]: %s failed!\n", p->level, ' ',
38081|    833|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression !':='"));
38082|    833|    }
38083|    833|    _res = NULL;
38084|  1.52k|  done:
38085|  1.52k|    p->level--;
38086|  1.52k|    return _res;
38087|    833|}
parser.c:_loop0_90_rule:
33005|  2.67k|{
33006|  2.67k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  5.34k|#  define MAXSTACK 6000
  ------------------
  |  Branch (33006:9): [True: 0, False: 2.67k]
  |  Branch (33006:35): [True: 0, False: 2.67k]
  ------------------
33007|      0|        _Pypegen_stack_overflow(p);
33008|      0|    }
33009|  2.67k|    if (p->error_indicator) {
  ------------------
  |  Branch (33009:9): [True: 0, False: 2.67k]
  ------------------
33010|      0|        p->level--;
33011|      0|        return NULL;
33012|      0|    }
33013|  2.67k|    void *_res = NULL;
33014|  2.67k|    int _mark = p->mark;
33015|  2.67k|    void **_children = PyMem_Malloc(sizeof(void *));
33016|  2.67k|    if (!_children) {
  ------------------
  |  Branch (33016:9): [True: 0, False: 2.67k]
  ------------------
33017|      0|        p->error_indicator = 1;
33018|      0|        PyErr_NoMemory();
33019|      0|        p->level--;
33020|      0|        return NULL;
33021|      0|    }
33022|  2.67k|    Py_ssize_t _children_capacity = 1;
33023|  2.67k|    Py_ssize_t _n = 0;
33024|  2.67k|    { // ',' (starred_expression | (assignment_expression | expression !':=') !'=')
33025|  2.67k|        if (p->error_indicator) {
  ------------------
  |  Branch (33025:13): [True: 0, False: 2.67k]
  ------------------
33026|      0|            p->level--;
33027|      0|            return NULL;
33028|      0|        }
33029|  2.67k|        D(fprintf(stderr, "%*c> _loop0_90[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' (starred_expression | (assignment_expression | expression !':=') !'=')"));
33030|  2.67k|        Token * _literal;
33031|  2.67k|        void *elem;
33032|  2.67k|        while (
33033|  2.67k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (33033:13): [True: 2, False: 2.67k]
  ------------------
33034|      2|            &&
33035|      2|            (elem = _tmp_165_rule(p))  // starred_expression | (assignment_expression | expression !':=') !'='
  ------------------
  |  Branch (33035:13): [True: 2, False: 0]
  ------------------
33036|  2.67k|        )
33037|      2|        {
33038|      2|            _res = elem;
33039|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (33039:18): [True: 0, False: 2]
  |  Branch (33039:34): [True: 0, False: 2]
  |  Branch (33039:57): [True: 0, False: 0]
  ------------------
33040|      0|                p->error_indicator = 1;
33041|      0|                PyMem_Free(_children);
33042|      0|                p->level--;
33043|      0|                return NULL;
33044|      0|            }
33045|      2|            if (_n == _children_capacity) {
  ------------------
  |  Branch (33045:17): [True: 0, False: 2]
  ------------------
33046|      0|                _children_capacity *= 2;
33047|      0|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
33048|      0|                if (!_new_children) {
  ------------------
  |  Branch (33048:21): [True: 0, False: 0]
  ------------------
33049|      0|                    PyMem_Free(_children);
33050|      0|                    p->error_indicator = 1;
33051|      0|                    PyErr_NoMemory();
33052|      0|                    p->level--;
33053|      0|                    return NULL;
33054|      0|                }
33055|      0|                _children = _new_children;
33056|      0|            }
33057|      2|            _children[_n++] = _res;
33058|      2|            _mark = p->mark;
33059|      2|        }
33060|  2.67k|        p->mark = _mark;
33061|  2.67k|        D(fprintf(stderr, "%*c%s _loop0_90[%d-%d]: %s failed!\n", p->level, ' ',
33062|  2.67k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' (starred_expression | (assignment_expression | expression !':=') !'=')"));
33063|  2.67k|    }
33064|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
33065|  2.67k|    if (!_seq) {
  ------------------
  |  Branch (33065:9): [True: 0, False: 2.67k]
  ------------------
33066|      0|        PyMem_Free(_children);
33067|      0|        p->error_indicator = 1;
33068|      0|        PyErr_NoMemory();
33069|      0|        p->level--;
33070|      0|        return NULL;
33071|      0|    }
33072|  2.67k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|      2|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  302|  2.67k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (33072:28): [True: 2, False: 2.67k]
  ------------------
33073|  2.67k|    PyMem_Free(_children);
33074|  2.67k|    p->level--;
33075|  2.67k|    return _seq;
33076|  2.67k|}
parser.c:_tmp_92_rule:
33123|  2.33k|{
33124|  2.33k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  4.66k|#  define MAXSTACK 6000
  ------------------
  |  Branch (33124:9): [True: 0, False: 2.33k]
  |  Branch (33124:35): [True: 0, False: 2.33k]
  ------------------
33125|      0|        _Pypegen_stack_overflow(p);
33126|      0|    }
33127|  2.33k|    if (p->error_indicator) {
  ------------------
  |  Branch (33127:9): [True: 0, False: 2.33k]
  ------------------
33128|      0|        p->level--;
33129|      0|        return NULL;
33130|      0|    }
33131|  2.33k|    void * _res = NULL;
33132|  2.33k|    int _mark = p->mark;
33133|  2.33k|    { // ',' kwargs
33134|  2.33k|        if (p->error_indicator) {
  ------------------
  |  Branch (33134:13): [True: 0, False: 2.33k]
  ------------------
33135|      0|            p->level--;
33136|      0|            return NULL;
33137|      0|        }
33138|  2.33k|        D(fprintf(stderr, "%*c> _tmp_92[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' kwargs"));
33139|  2.33k|        Token * _literal;
33140|  2.33k|        asdl_seq* k;
33141|  2.33k|        if (
33142|  2.33k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (33142:13): [True: 0, False: 2.33k]
  ------------------
33143|      0|            &&
33144|      0|            (k = kwargs_rule(p))  // kwargs
  ------------------
  |  Branch (33144:13): [True: 0, False: 0]
  ------------------
33145|  2.33k|        )
33146|      0|        {
33147|      0|            D(fprintf(stderr, "%*c+ _tmp_92[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "',' kwargs"));
33148|      0|            _res = k;
33149|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (33149:18): [True: 0, False: 0]
  |  Branch (33149:34): [True: 0, False: 0]
  |  Branch (33149:57): [True: 0, False: 0]
  ------------------
33150|      0|                p->error_indicator = 1;
33151|      0|                p->level--;
33152|      0|                return NULL;
33153|      0|            }
33154|      0|            goto done;
33155|      0|        }
33156|  2.33k|        p->mark = _mark;
33157|  2.33k|        D(fprintf(stderr, "%*c%s _tmp_92[%d-%d]: %s failed!\n", p->level, ' ',
33158|  2.33k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' kwargs"));
33159|  2.33k|    }
33160|  2.33k|    _res = NULL;
33161|  2.33k|  done:
33162|  2.33k|    p->level--;
33163|  2.33k|    return _res;
33164|  2.33k|}
parser.c:kwargs_rule:
18472|  1.17k|{
18473|  1.17k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  2.35k|#  define MAXSTACK 6000
  ------------------
  |  Branch (18473:9): [True: 0, False: 1.17k]
  |  Branch (18473:35): [True: 0, False: 1.17k]
  ------------------
18474|      0|        _Pypegen_stack_overflow(p);
18475|      0|    }
18476|  1.17k|    if (p->error_indicator) {
  ------------------
  |  Branch (18476:9): [True: 0, False: 1.17k]
  ------------------
18477|      0|        p->level--;
18478|      0|        return NULL;
18479|      0|    }
18480|  1.17k|    asdl_seq* _res = NULL;
18481|  1.17k|    int _mark = p->mark;
18482|  1.17k|    { // ','.kwarg_or_starred+ [',' ','.kwarg_or_double_starred+]
18483|  1.17k|        if (p->error_indicator) {
  ------------------
  |  Branch (18483:13): [True: 0, False: 1.17k]
  ------------------
18484|      0|            p->level--;
18485|      0|            return NULL;
18486|      0|        }
18487|  1.17k|        D(fprintf(stderr, "%*c> kwargs[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.kwarg_or_starred+ [',' ','.kwarg_or_double_starred+]"));
18488|  1.17k|        asdl_seq * a;
18489|  1.17k|        void *b;
18490|  1.17k|        if (
18491|  1.17k|            (a = _gather_94_rule(p))  // ','.kwarg_or_starred+
  ------------------
  |  Branch (18491:13): [True: 255, False: 920]
  ------------------
18492|    255|            &&
18493|    255|            (b = _tmp_95_rule(p), !p->error_indicator)  // [',' ','.kwarg_or_double_starred+]
  ------------------
  |  Branch (18493:13): [True: 255, False: 0]
  ------------------
18494|  1.17k|        )
18495|    255|        {
18496|    255|            D(fprintf(stderr, "%*c+ kwargs[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.kwarg_or_starred+ [',' ','.kwarg_or_double_starred+]"));
18497|    255|            _res = b ? _PyPegen_join_sequences ( p , a , b ) : a;
  ------------------
  |  Branch (18497:20): [True: 0, False: 255]
  ------------------
18498|    255|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18498:18): [True: 0, False: 255]
  |  Branch (18498:34): [True: 0, False: 255]
  |  Branch (18498:57): [True: 0, False: 0]
  ------------------
18499|      0|                p->error_indicator = 1;
18500|      0|                p->level--;
18501|      0|                return NULL;
18502|      0|            }
18503|    255|            goto done;
18504|    255|        }
18505|    920|        p->mark = _mark;
18506|    920|        D(fprintf(stderr, "%*c%s kwargs[%d-%d]: %s failed!\n", p->level, ' ',
18507|    920|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.kwarg_or_starred+ [',' ','.kwarg_or_double_starred+]"));
18508|    920|    }
18509|      0|    { // ','.kwarg_or_double_starred+
18510|    920|        if (p->error_indicator) {
  ------------------
  |  Branch (18510:13): [True: 0, False: 920]
  ------------------
18511|      0|            p->level--;
18512|      0|            return NULL;
18513|      0|        }
18514|    920|        D(fprintf(stderr, "%*c> kwargs[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.kwarg_or_double_starred+"));
18515|    920|        asdl_seq * _gather_97_var;
18516|    920|        if (
18517|    920|            (_gather_97_var = _gather_97_rule(p))  // ','.kwarg_or_double_starred+
  ------------------
  |  Branch (18517:13): [True: 50, False: 870]
  ------------------
18518|    920|        )
18519|     50|        {
18520|     50|            D(fprintf(stderr, "%*c+ kwargs[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.kwarg_or_double_starred+"));
18521|     50|            _res = _gather_97_var;
18522|     50|            goto done;
18523|     50|        }
18524|    870|        p->mark = _mark;
18525|    870|        D(fprintf(stderr, "%*c%s kwargs[%d-%d]: %s failed!\n", p->level, ' ',
18526|    870|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.kwarg_or_double_starred+"));
18527|    870|    }
18528|    870|    _res = NULL;
18529|  1.17k|  done:
18530|  1.17k|    p->level--;
18531|  1.17k|    return _res;
18532|    870|}
parser.c:_gather_94_rule:
33245|  1.17k|{
33246|  1.17k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  2.35k|#  define MAXSTACK 6000
  ------------------
  |  Branch (33246:9): [True: 0, False: 1.17k]
  |  Branch (33246:35): [True: 0, False: 1.17k]
  ------------------
33247|      0|        _Pypegen_stack_overflow(p);
33248|      0|    }
33249|  1.17k|    if (p->error_indicator) {
  ------------------
  |  Branch (33249:9): [True: 0, False: 1.17k]
  ------------------
33250|      0|        p->level--;
33251|      0|        return NULL;
33252|      0|    }
33253|  1.17k|    asdl_seq * _res = NULL;
33254|  1.17k|    int _mark = p->mark;
33255|  1.17k|    { // kwarg_or_starred _loop0_93
33256|  1.17k|        if (p->error_indicator) {
  ------------------
  |  Branch (33256:13): [True: 0, False: 1.17k]
  ------------------
33257|      0|            p->level--;
33258|      0|            return NULL;
33259|      0|        }
33260|  1.17k|        D(fprintf(stderr, "%*c> _gather_94[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "kwarg_or_starred _loop0_93"));
33261|  1.17k|        KeywordOrStarred* elem;
33262|  1.17k|        asdl_seq * seq;
33263|  1.17k|        if (
33264|  1.17k|            (elem = kwarg_or_starred_rule(p))  // kwarg_or_starred
  ------------------
  |  Branch (33264:13): [True: 255, False: 920]
  ------------------
33265|    255|            &&
33266|    255|            (seq = _loop0_93_rule(p))  // _loop0_93
  ------------------
  |  Branch (33266:13): [True: 255, False: 0]
  ------------------
33267|  1.17k|        )
33268|    255|        {
33269|    255|            D(fprintf(stderr, "%*c+ _gather_94[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "kwarg_or_starred _loop0_93"));
33270|    255|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
33271|    255|            goto done;
33272|    255|        }
33273|    920|        p->mark = _mark;
33274|    920|        D(fprintf(stderr, "%*c%s _gather_94[%d-%d]: %s failed!\n", p->level, ' ',
33275|    920|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "kwarg_or_starred _loop0_93"));
33276|    920|    }
33277|    920|    _res = NULL;
33278|  1.17k|  done:
33279|  1.17k|    p->level--;
33280|  1.17k|    return _res;
33281|    920|}
parser.c:kwarg_or_starred_rule:
18642|  1.17k|{
18643|  1.17k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  2.35k|#  define MAXSTACK 6000
  ------------------
  |  Branch (18643:9): [True: 0, False: 1.17k]
  |  Branch (18643:35): [True: 0, False: 1.17k]
  ------------------
18644|      0|        _Pypegen_stack_overflow(p);
18645|      0|    }
18646|  1.17k|    if (p->error_indicator) {
  ------------------
  |  Branch (18646:9): [True: 0, False: 1.17k]
  ------------------
18647|      0|        p->level--;
18648|      0|        return NULL;
18649|      0|    }
18650|  1.17k|    KeywordOrStarred* _res = NULL;
18651|  1.17k|    int _mark = p->mark;
18652|  1.17k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (18652:9): [True: 0, False: 1.17k]
  |  Branch (18652:31): [True: 0, False: 0]
  ------------------
18653|      0|        p->error_indicator = 1;
18654|      0|        p->level--;
18655|      0|        return NULL;
18656|      0|    }
18657|  1.17k|    int _start_lineno = p->tokens[_mark]->lineno;
18658|  1.17k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|  1.17k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 1.17k]
  |  |  ------------------
  ------------------
18659|  1.17k|    int _start_col_offset = p->tokens[_mark]->col_offset;
18660|  1.17k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|  1.17k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 1.17k]
  |  |  ------------------
  ------------------
18661|  1.17k|    if (p->call_invalid_rules) { // invalid_kwarg
  ------------------
  |  Branch (18661:9): [True: 990, False: 185]
  ------------------
18662|    990|        if (p->error_indicator) {
  ------------------
  |  Branch (18662:13): [True: 0, False: 990]
  ------------------
18663|      0|            p->level--;
18664|      0|            return NULL;
18665|      0|        }
18666|    990|        D(fprintf(stderr, "%*c> kwarg_or_starred[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_kwarg"));
18667|    990|        void *invalid_kwarg_var;
18668|    990|        if (
18669|    990|            (invalid_kwarg_var = invalid_kwarg_rule(p))  // invalid_kwarg
  ------------------
  |  Branch (18669:13): [True: 0, False: 990]
  ------------------
18670|    990|        )
18671|      0|        {
18672|      0|            D(fprintf(stderr, "%*c+ kwarg_or_starred[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_kwarg"));
18673|      0|            _res = invalid_kwarg_var;
18674|      0|            goto done;
18675|      0|        }
18676|    990|        p->mark = _mark;
18677|    990|        D(fprintf(stderr, "%*c%s kwarg_or_starred[%d-%d]: %s failed!\n", p->level, ' ',
18678|    990|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_kwarg"));
18679|    990|    }
18680|  1.17k|    { // NAME '=' expression
18681|  1.17k|        if (p->error_indicator) {
  ------------------
  |  Branch (18681:13): [True: 0, False: 1.17k]
  ------------------
18682|      0|            p->level--;
18683|      0|            return NULL;
18684|      0|        }
18685|  1.17k|        D(fprintf(stderr, "%*c> kwarg_or_starred[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME '=' expression"));
18686|  1.17k|        Token * _literal;
18687|  1.17k|        expr_ty a;
18688|  1.17k|        expr_ty b;
18689|  1.17k|        if (
18690|  1.17k|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (18690:13): [True: 85, False: 1.09k]
  ------------------
18691|     85|            &&
18692|     85|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (18692:13): [True: 0, False: 85]
  ------------------
18693|      0|            &&
18694|      0|            (b = expression_rule(p))  // expression
  ------------------
  |  Branch (18694:13): [True: 0, False: 0]
  ------------------
18695|  1.17k|        )
18696|      0|        {
18697|      0|            D(fprintf(stderr, "%*c+ kwarg_or_starred[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME '=' expression"));
18698|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
18699|      0|            if (_token == NULL) {
  ------------------
  |  Branch (18699:17): [True: 0, False: 0]
  ------------------
18700|      0|                p->level--;
18701|      0|                return NULL;
18702|      0|            }
18703|      0|            int _end_lineno = _token->end_lineno;
18704|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
18705|      0|            int _end_col_offset = _token->end_col_offset;
18706|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
18707|      0|            _res = _PyPegen_keyword_or_starred ( p , CHECK ( keyword_ty , _PyAST_keyword ( a -> v . Name . id , b , EXTRA ) ) , 1 );
  ------------------
  |  |  271|      0|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
18708|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18708:18): [True: 0, False: 0]
  |  Branch (18708:34): [True: 0, False: 0]
  |  Branch (18708:57): [True: 0, False: 0]
  ------------------
18709|      0|                p->error_indicator = 1;
18710|      0|                p->level--;
18711|      0|                return NULL;
18712|      0|            }
18713|      0|            goto done;
18714|      0|        }
18715|  1.17k|        p->mark = _mark;
18716|  1.17k|        D(fprintf(stderr, "%*c%s kwarg_or_starred[%d-%d]: %s failed!\n", p->level, ' ',
18717|  1.17k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME '=' expression"));
18718|  1.17k|    }
18719|      0|    { // starred_expression
18720|  1.17k|        if (p->error_indicator) {
  ------------------
  |  Branch (18720:13): [True: 0, False: 1.17k]
  ------------------
18721|      0|            p->level--;
18722|      0|            return NULL;
18723|      0|        }
18724|  1.17k|        D(fprintf(stderr, "%*c> kwarg_or_starred[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "starred_expression"));
18725|  1.17k|        expr_ty a;
18726|  1.17k|        if (
18727|  1.17k|            (a = starred_expression_rule(p))  // starred_expression
  ------------------
  |  Branch (18727:13): [True: 255, False: 920]
  ------------------
18728|  1.17k|        )
18729|    255|        {
18730|    255|            D(fprintf(stderr, "%*c+ kwarg_or_starred[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "starred_expression"));
18731|    255|            _res = _PyPegen_keyword_or_starred ( p , a , 0 );
18732|    255|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18732:18): [True: 0, False: 255]
  |  Branch (18732:34): [True: 0, False: 255]
  |  Branch (18732:57): [True: 0, False: 0]
  ------------------
18733|      0|                p->error_indicator = 1;
18734|      0|                p->level--;
18735|      0|                return NULL;
18736|      0|            }
18737|    255|            goto done;
18738|    255|        }
18739|    920|        p->mark = _mark;
18740|    920|        D(fprintf(stderr, "%*c%s kwarg_or_starred[%d-%d]: %s failed!\n", p->level, ' ',
18741|    920|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "starred_expression"));
18742|    920|    }
18743|    920|    _res = NULL;
18744|  1.17k|  done:
18745|  1.17k|    p->level--;
18746|  1.17k|    return _res;
18747|    920|}
parser.c:invalid_kwarg_rule:
19921|  1.72k|{
19922|  1.72k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  3.45k|#  define MAXSTACK 6000
  ------------------
  |  Branch (19922:9): [True: 0, False: 1.72k]
  |  Branch (19922:35): [True: 0, False: 1.72k]
  ------------------
19923|      0|        _Pypegen_stack_overflow(p);
19924|      0|    }
19925|  1.72k|    if (p->error_indicator) {
  ------------------
  |  Branch (19925:9): [True: 0, False: 1.72k]
  ------------------
19926|      0|        p->level--;
19927|      0|        return NULL;
19928|      0|    }
19929|  1.72k|    void * _res = NULL;
19930|  1.72k|    int _mark = p->mark;
19931|  1.72k|    { // 'True' '='
19932|  1.72k|        if (p->error_indicator) {
  ------------------
  |  Branch (19932:13): [True: 0, False: 1.72k]
  ------------------
19933|      0|            p->level--;
19934|      0|            return NULL;
19935|      0|        }
19936|  1.72k|        D(fprintf(stderr, "%*c> invalid_kwarg[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'True' '='"));
19937|  1.72k|        Token * a;
19938|  1.72k|        Token * b;
19939|  1.72k|        if (
19940|  1.72k|            (a = _PyPegen_expect_token(p, 627))  // token='True'
  ------------------
  |  Branch (19940:13): [True: 0, False: 1.72k]
  ------------------
19941|      0|            &&
19942|      0|            (b = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (19942:13): [True: 0, False: 0]
  ------------------
19943|  1.72k|        )
19944|      0|        {
19945|      0|            D(fprintf(stderr, "%*c+ invalid_kwarg[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'True' '='"));
19946|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "cannot assign to True" );
  ------------------
  |  |  237|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
19947|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19947:18): [True: 0, False: 0]
  |  Branch (19947:34): [True: 0, False: 0]
  |  Branch (19947:57): [True: 0, False: 0]
  ------------------
19948|      0|                p->error_indicator = 1;
19949|      0|                p->level--;
19950|      0|                return NULL;
19951|      0|            }
19952|      0|            goto done;
19953|      0|        }
19954|  1.72k|        p->mark = _mark;
19955|  1.72k|        D(fprintf(stderr, "%*c%s invalid_kwarg[%d-%d]: %s failed!\n", p->level, ' ',
19956|  1.72k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'True' '='"));
19957|  1.72k|    }
19958|      0|    { // 'False' '='
19959|  1.72k|        if (p->error_indicator) {
  ------------------
  |  Branch (19959:13): [True: 0, False: 1.72k]
  ------------------
19960|      0|            p->level--;
19961|      0|            return NULL;
19962|      0|        }
19963|  1.72k|        D(fprintf(stderr, "%*c> invalid_kwarg[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'False' '='"));
19964|  1.72k|        Token * a;
19965|  1.72k|        Token * b;
19966|  1.72k|        if (
19967|  1.72k|            (a = _PyPegen_expect_token(p, 629))  // token='False'
  ------------------
  |  Branch (19967:13): [True: 0, False: 1.72k]
  ------------------
19968|      0|            &&
19969|      0|            (b = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (19969:13): [True: 0, False: 0]
  ------------------
19970|  1.72k|        )
19971|      0|        {
19972|      0|            D(fprintf(stderr, "%*c+ invalid_kwarg[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'False' '='"));
19973|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "cannot assign to False" );
  ------------------
  |  |  237|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
19974|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19974:18): [True: 0, False: 0]
  |  Branch (19974:34): [True: 0, False: 0]
  |  Branch (19974:57): [True: 0, False: 0]
  ------------------
19975|      0|                p->error_indicator = 1;
19976|      0|                p->level--;
19977|      0|                return NULL;
19978|      0|            }
19979|      0|            goto done;
19980|      0|        }
19981|  1.72k|        p->mark = _mark;
19982|  1.72k|        D(fprintf(stderr, "%*c%s invalid_kwarg[%d-%d]: %s failed!\n", p->level, ' ',
19983|  1.72k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'False' '='"));
19984|  1.72k|    }
19985|      0|    { // 'None' '='
19986|  1.72k|        if (p->error_indicator) {
  ------------------
  |  Branch (19986:13): [True: 0, False: 1.72k]
  ------------------
19987|      0|            p->level--;
19988|      0|            return NULL;
19989|      0|        }
19990|  1.72k|        D(fprintf(stderr, "%*c> invalid_kwarg[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'None' '='"));
19991|  1.72k|        Token * a;
19992|  1.72k|        Token * b;
19993|  1.72k|        if (
19994|  1.72k|            (a = _PyPegen_expect_token(p, 628))  // token='None'
  ------------------
  |  Branch (19994:13): [True: 0, False: 1.72k]
  ------------------
19995|      0|            &&
19996|      0|            (b = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (19996:13): [True: 0, False: 0]
  ------------------
19997|  1.72k|        )
19998|      0|        {
19999|      0|            D(fprintf(stderr, "%*c+ invalid_kwarg[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'None' '='"));
20000|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "cannot assign to None" );
  ------------------
  |  |  237|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
20001|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (20001:18): [True: 0, False: 0]
  |  Branch (20001:34): [True: 0, False: 0]
  |  Branch (20001:57): [True: 0, False: 0]
  ------------------
20002|      0|                p->error_indicator = 1;
20003|      0|                p->level--;
20004|      0|                return NULL;
20005|      0|            }
20006|      0|            goto done;
20007|      0|        }
20008|  1.72k|        p->mark = _mark;
20009|  1.72k|        D(fprintf(stderr, "%*c%s invalid_kwarg[%d-%d]: %s failed!\n", p->level, ' ',
20010|  1.72k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'None' '='"));
20011|  1.72k|    }
20012|      0|    { // NAME '=' expression for_if_clauses
20013|  1.72k|        if (p->error_indicator) {
  ------------------
  |  Branch (20013:13): [True: 0, False: 1.72k]
  ------------------
20014|      0|            p->level--;
20015|      0|            return NULL;
20016|      0|        }
20017|  1.72k|        D(fprintf(stderr, "%*c> invalid_kwarg[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME '=' expression for_if_clauses"));
20018|  1.72k|        expr_ty a;
20019|  1.72k|        Token * b;
20020|  1.72k|        expr_ty expression_var;
20021|  1.72k|        asdl_comprehension_seq* for_if_clauses_var;
20022|  1.72k|        if (
20023|  1.72k|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (20023:13): [True: 170, False: 1.55k]
  ------------------
20024|    170|            &&
20025|    170|            (b = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (20025:13): [True: 0, False: 170]
  ------------------
20026|      0|            &&
20027|      0|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (20027:13): [True: 0, False: 0]
  ------------------
20028|      0|            &&
20029|      0|            (for_if_clauses_var = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  Branch (20029:13): [True: 0, False: 0]
  ------------------
20030|  1.72k|        )
20031|      0|        {
20032|      0|            D(fprintf(stderr, "%*c+ invalid_kwarg[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME '=' expression for_if_clauses"));
20033|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "invalid syntax. Maybe you meant '==' or ':=' instead of '='?" );
  ------------------
  |  |  237|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
20034|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (20034:18): [True: 0, False: 0]
  |  Branch (20034:34): [True: 0, False: 0]
  |  Branch (20034:57): [True: 0, False: 0]
  ------------------
20035|      0|                p->error_indicator = 1;
20036|      0|                p->level--;
20037|      0|                return NULL;
20038|      0|            }
20039|      0|            goto done;
20040|      0|        }
20041|  1.72k|        p->mark = _mark;
20042|  1.72k|        D(fprintf(stderr, "%*c%s invalid_kwarg[%d-%d]: %s failed!\n", p->level, ' ',
20043|  1.72k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME '=' expression for_if_clauses"));
20044|  1.72k|    }
20045|      0|    { // !(NAME '=') expression '='
20046|  1.72k|        if (p->error_indicator) {
  ------------------
  |  Branch (20046:13): [True: 0, False: 1.72k]
  ------------------
20047|      0|            p->level--;
20048|      0|            return NULL;
20049|      0|        }
20050|  1.72k|        D(fprintf(stderr, "%*c> invalid_kwarg[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "!(NAME '=') expression '='"));
20051|  1.72k|        expr_ty a;
20052|  1.72k|        Token * b;
20053|  1.72k|        if (
20054|  1.72k|            _PyPegen_lookahead(0, _tmp_112_rule, p)
  ------------------
  |  Branch (20054:13): [True: 1.72k, False: 0]
  ------------------
20055|  1.72k|            &&
20056|  1.72k|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (20056:13): [True: 174, False: 1.55k]
  ------------------
20057|    174|            &&
20058|    174|            (b = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (20058:13): [True: 0, False: 174]
  ------------------
20059|  1.72k|        )
20060|      0|        {
20061|      0|            D(fprintf(stderr, "%*c+ invalid_kwarg[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "!(NAME '=') expression '='"));
20062|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "expression cannot contain assignment, perhaps you meant \"==\"?" );
  ------------------
  |  |  237|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
20063|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (20063:18): [True: 0, False: 0]
  |  Branch (20063:34): [True: 0, False: 0]
  |  Branch (20063:57): [True: 0, False: 0]
  ------------------
20064|      0|                p->error_indicator = 1;
20065|      0|                p->level--;
20066|      0|                return NULL;
20067|      0|            }
20068|      0|            goto done;
20069|      0|        }
20070|  1.72k|        p->mark = _mark;
20071|  1.72k|        D(fprintf(stderr, "%*c%s invalid_kwarg[%d-%d]: %s failed!\n", p->level, ' ',
20072|  1.72k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "!(NAME '=') expression '='"));
20073|  1.72k|    }
20074|      0|    { // '**' expression '=' expression
20075|  1.72k|        if (p->error_indicator) {
  ------------------
  |  Branch (20075:13): [True: 0, False: 1.72k]
  ------------------
20076|      0|            p->level--;
20077|      0|            return NULL;
20078|      0|        }
20079|  1.72k|        D(fprintf(stderr, "%*c> invalid_kwarg[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' expression '=' expression"));
20080|  1.72k|        Token * _literal;
20081|  1.72k|        Token * a;
20082|  1.72k|        expr_ty b;
20083|  1.72k|        expr_ty expression_var;
20084|  1.72k|        if (
20085|  1.72k|            (a = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (20085:13): [True: 84, False: 1.64k]
  ------------------
20086|     84|            &&
20087|     84|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (20087:13): [True: 84, False: 0]
  ------------------
20088|     84|            &&
20089|     84|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (20089:13): [True: 0, False: 84]
  ------------------
20090|      0|            &&
20091|      0|            (b = expression_rule(p))  // expression
  ------------------
  |  Branch (20091:13): [True: 0, False: 0]
  ------------------
20092|  1.72k|        )
20093|      0|        {
20094|      0|            D(fprintf(stderr, "%*c+ invalid_kwarg[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' expression '=' expression"));
20095|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "cannot assign to keyword argument unpacking" );
  ------------------
  |  |  237|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
20096|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (20096:18): [True: 0, False: 0]
  |  Branch (20096:34): [True: 0, False: 0]
  |  Branch (20096:57): [True: 0, False: 0]
  ------------------
20097|      0|                p->error_indicator = 1;
20098|      0|                p->level--;
20099|      0|                return NULL;
20100|      0|            }
20101|      0|            goto done;
20102|      0|        }
20103|  1.72k|        p->mark = _mark;
20104|  1.72k|        D(fprintf(stderr, "%*c%s invalid_kwarg[%d-%d]: %s failed!\n", p->level, ' ',
20105|  1.72k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' expression '=' expression"));
20106|  1.72k|    }
20107|  1.72k|    _res = NULL;
20108|  1.72k|  done:
20109|  1.72k|    p->level--;
20110|  1.72k|    return _res;
20111|  1.72k|}
parser.c:_tmp_112_rule:
34241|  1.72k|{
34242|  1.72k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  3.45k|#  define MAXSTACK 6000
  ------------------
  |  Branch (34242:9): [True: 0, False: 1.72k]
  |  Branch (34242:35): [True: 0, False: 1.72k]
  ------------------
34243|      0|        _Pypegen_stack_overflow(p);
34244|      0|    }
34245|  1.72k|    if (p->error_indicator) {
  ------------------
  |  Branch (34245:9): [True: 0, False: 1.72k]
  ------------------
34246|      0|        p->level--;
34247|      0|        return NULL;
34248|      0|    }
34249|  1.72k|    void * _res = NULL;
34250|  1.72k|    int _mark = p->mark;
34251|  1.72k|    { // NAME '='
34252|  1.72k|        if (p->error_indicator) {
  ------------------
  |  Branch (34252:13): [True: 0, False: 1.72k]
  ------------------
34253|      0|            p->level--;
34254|      0|            return NULL;
34255|      0|        }
34256|  1.72k|        D(fprintf(stderr, "%*c> _tmp_112[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME '='"));
34257|  1.72k|        Token * _literal;
34258|  1.72k|        expr_ty name_var;
34259|  1.72k|        if (
34260|  1.72k|            (name_var = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (34260:13): [True: 170, False: 1.55k]
  ------------------
34261|    170|            &&
34262|    170|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (34262:13): [True: 0, False: 170]
  ------------------
34263|  1.72k|        )
34264|      0|        {
34265|      0|            D(fprintf(stderr, "%*c+ _tmp_112[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME '='"));
34266|      0|            _res = _PyPegen_dummy_name(p, name_var, _literal);
34267|      0|            goto done;
34268|      0|        }
34269|  1.72k|        p->mark = _mark;
34270|  1.72k|        D(fprintf(stderr, "%*c%s _tmp_112[%d-%d]: %s failed!\n", p->level, ' ',
34271|  1.72k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME '='"));
34272|  1.72k|    }
34273|  1.72k|    _res = NULL;
34274|  1.72k|  done:
34275|  1.72k|    p->level--;
34276|  1.72k|    return _res;
34277|  1.72k|}
parser.c:_loop0_93_rule:
33169|    255|{
33170|    255|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    510|#  define MAXSTACK 6000
  ------------------
  |  Branch (33170:9): [True: 0, False: 255]
  |  Branch (33170:35): [True: 0, False: 255]
  ------------------
33171|      0|        _Pypegen_stack_overflow(p);
33172|      0|    }
33173|    255|    if (p->error_indicator) {
  ------------------
  |  Branch (33173:9): [True: 0, False: 255]
  ------------------
33174|      0|        p->level--;
33175|      0|        return NULL;
33176|      0|    }
33177|    255|    void *_res = NULL;
33178|    255|    int _mark = p->mark;
33179|    255|    void **_children = PyMem_Malloc(sizeof(void *));
33180|    255|    if (!_children) {
  ------------------
  |  Branch (33180:9): [True: 0, False: 255]
  ------------------
33181|      0|        p->error_indicator = 1;
33182|      0|        PyErr_NoMemory();
33183|      0|        p->level--;
33184|      0|        return NULL;
33185|      0|    }
33186|    255|    Py_ssize_t _children_capacity = 1;
33187|    255|    Py_ssize_t _n = 0;
33188|    255|    { // ',' kwarg_or_starred
33189|    255|        if (p->error_indicator) {
  ------------------
  |  Branch (33189:13): [True: 0, False: 255]
  ------------------
33190|      0|            p->level--;
33191|      0|            return NULL;
33192|      0|        }
33193|    255|        D(fprintf(stderr, "%*c> _loop0_93[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' kwarg_or_starred"));
33194|    255|        Token * _literal;
33195|    255|        KeywordOrStarred* elem;
33196|    255|        while (
33197|    255|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (33197:13): [True: 0, False: 255]
  ------------------
33198|      0|            &&
33199|      0|            (elem = kwarg_or_starred_rule(p))  // kwarg_or_starred
  ------------------
  |  Branch (33199:13): [True: 0, False: 0]
  ------------------
33200|    255|        )
33201|      0|        {
33202|      0|            _res = elem;
33203|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (33203:18): [True: 0, False: 0]
  |  Branch (33203:34): [True: 0, False: 0]
  |  Branch (33203:57): [True: 0, False: 0]
  ------------------
33204|      0|                p->error_indicator = 1;
33205|      0|                PyMem_Free(_children);
33206|      0|                p->level--;
33207|      0|                return NULL;
33208|      0|            }
33209|      0|            if (_n == _children_capacity) {
  ------------------
  |  Branch (33209:17): [True: 0, False: 0]
  ------------------
33210|      0|                _children_capacity *= 2;
33211|      0|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
33212|      0|                if (!_new_children) {
  ------------------
  |  Branch (33212:21): [True: 0, False: 0]
  ------------------
33213|      0|                    PyMem_Free(_children);
33214|      0|                    p->error_indicator = 1;
33215|      0|                    PyErr_NoMemory();
33216|      0|                    p->level--;
33217|      0|                    return NULL;
33218|      0|                }
33219|      0|                _children = _new_children;
33220|      0|            }
33221|      0|            _children[_n++] = _res;
33222|      0|            _mark = p->mark;
33223|      0|        }
33224|    255|        p->mark = _mark;
33225|    255|        D(fprintf(stderr, "%*c%s _loop0_93[%d-%d]: %s failed!\n", p->level, ' ',
33226|    255|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' kwarg_or_starred"));
33227|    255|    }
33228|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
33229|    255|    if (!_seq) {
  ------------------
  |  Branch (33229:9): [True: 0, False: 255]
  ------------------
33230|      0|        PyMem_Free(_children);
33231|      0|        p->error_indicator = 1;
33232|      0|        PyErr_NoMemory();
33233|      0|        p->level--;
33234|      0|        return NULL;
33235|      0|    }
33236|    255|    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))
  |  |  ------------------
  |  |  |  |  302|    255|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (33236:28): [True: 0, False: 255]
  ------------------
33237|    255|    PyMem_Free(_children);
33238|    255|    p->level--;
33239|    255|    return _seq;
33240|    255|}
parser.c:_tmp_95_rule:
33286|    255|{
33287|    255|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    510|#  define MAXSTACK 6000
  ------------------
  |  Branch (33287:9): [True: 0, False: 255]
  |  Branch (33287:35): [True: 0, False: 255]
  ------------------
33288|      0|        _Pypegen_stack_overflow(p);
33289|      0|    }
33290|    255|    if (p->error_indicator) {
  ------------------
  |  Branch (33290:9): [True: 0, False: 255]
  ------------------
33291|      0|        p->level--;
33292|      0|        return NULL;
33293|      0|    }
33294|    255|    void * _res = NULL;
33295|    255|    int _mark = p->mark;
33296|    255|    { // ',' ','.kwarg_or_double_starred+
33297|    255|        if (p->error_indicator) {
  ------------------
  |  Branch (33297:13): [True: 0, False: 255]
  ------------------
33298|      0|            p->level--;
33299|      0|            return NULL;
33300|      0|        }
33301|    255|        D(fprintf(stderr, "%*c> _tmp_95[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' ','.kwarg_or_double_starred+"));
33302|    255|        Token * _literal;
33303|    255|        asdl_seq * c;
33304|    255|        if (
33305|    255|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (33305:13): [True: 0, False: 255]
  ------------------
33306|      0|            &&
33307|      0|            (c = _gather_97_rule(p))  // ','.kwarg_or_double_starred+
  ------------------
  |  Branch (33307:13): [True: 0, False: 0]
  ------------------
33308|    255|        )
33309|      0|        {
33310|      0|            D(fprintf(stderr, "%*c+ _tmp_95[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "',' ','.kwarg_or_double_starred+"));
33311|      0|            _res = c;
33312|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (33312:18): [True: 0, False: 0]
  |  Branch (33312:34): [True: 0, False: 0]
  |  Branch (33312:57): [True: 0, False: 0]
  ------------------
33313|      0|                p->error_indicator = 1;
33314|      0|                p->level--;
33315|      0|                return NULL;
33316|      0|            }
33317|      0|            goto done;
33318|      0|        }
33319|    255|        p->mark = _mark;
33320|    255|        D(fprintf(stderr, "%*c%s _tmp_95[%d-%d]: %s failed!\n", p->level, ' ',
33321|    255|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' ','.kwarg_or_double_starred+"));
33322|    255|    }
33323|    255|    _res = NULL;
33324|    255|  done:
33325|    255|    p->level--;
33326|    255|    return _res;
33327|    255|}
parser.c:_gather_97_rule:
33408|    920|{
33409|    920|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.84k|#  define MAXSTACK 6000
  ------------------
  |  Branch (33409:9): [True: 0, False: 920]
  |  Branch (33409:35): [True: 0, False: 920]
  ------------------
33410|      0|        _Pypegen_stack_overflow(p);
33411|      0|    }
33412|    920|    if (p->error_indicator) {
  ------------------
  |  Branch (33412:9): [True: 0, False: 920]
  ------------------
33413|      0|        p->level--;
33414|      0|        return NULL;
33415|      0|    }
33416|    920|    asdl_seq * _res = NULL;
33417|    920|    int _mark = p->mark;
33418|    920|    { // kwarg_or_double_starred _loop0_96
33419|    920|        if (p->error_indicator) {
  ------------------
  |  Branch (33419:13): [True: 0, False: 920]
  ------------------
33420|      0|            p->level--;
33421|      0|            return NULL;
33422|      0|        }
33423|    920|        D(fprintf(stderr, "%*c> _gather_97[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "kwarg_or_double_starred _loop0_96"));
33424|    920|        KeywordOrStarred* elem;
33425|    920|        asdl_seq * seq;
33426|    920|        if (
33427|    920|            (elem = kwarg_or_double_starred_rule(p))  // kwarg_or_double_starred
  ------------------
  |  Branch (33427:13): [True: 50, False: 870]
  ------------------
33428|     50|            &&
33429|     50|            (seq = _loop0_96_rule(p))  // _loop0_96
  ------------------
  |  Branch (33429:13): [True: 50, False: 0]
  ------------------
33430|    920|        )
33431|     50|        {
33432|     50|            D(fprintf(stderr, "%*c+ _gather_97[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "kwarg_or_double_starred _loop0_96"));
33433|     50|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
33434|     50|            goto done;
33435|     50|        }
33436|    870|        p->mark = _mark;
33437|    870|        D(fprintf(stderr, "%*c%s _gather_97[%d-%d]: %s failed!\n", p->level, ' ',
33438|    870|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "kwarg_or_double_starred _loop0_96"));
33439|    870|    }
33440|    870|    _res = NULL;
33441|    920|  done:
33442|    920|    p->level--;
33443|    920|    return _res;
33444|    870|}
parser.c:kwarg_or_double_starred_rule:
18752|    920|{
18753|    920|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.84k|#  define MAXSTACK 6000
  ------------------
  |  Branch (18753:9): [True: 0, False: 920]
  |  Branch (18753:35): [True: 0, False: 920]
  ------------------
18754|      0|        _Pypegen_stack_overflow(p);
18755|      0|    }
18756|    920|    if (p->error_indicator) {
  ------------------
  |  Branch (18756:9): [True: 0, False: 920]
  ------------------
18757|      0|        p->level--;
18758|      0|        return NULL;
18759|      0|    }
18760|    920|    KeywordOrStarred* _res = NULL;
18761|    920|    int _mark = p->mark;
18762|    920|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (18762:9): [True: 0, False: 920]
  |  Branch (18762:31): [True: 0, False: 0]
  ------------------
18763|      0|        p->error_indicator = 1;
18764|      0|        p->level--;
18765|      0|        return NULL;
18766|      0|    }
18767|    920|    int _start_lineno = p->tokens[_mark]->lineno;
18768|    920|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|    920|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 920]
  |  |  ------------------
  ------------------
18769|    920|    int _start_col_offset = p->tokens[_mark]->col_offset;
18770|    920|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|    920|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 920]
  |  |  ------------------
  ------------------
18771|    920|    if (p->call_invalid_rules) { // invalid_kwarg
  ------------------
  |  Branch (18771:9): [True: 735, False: 185]
  ------------------
18772|    735|        if (p->error_indicator) {
  ------------------
  |  Branch (18772:13): [True: 0, False: 735]
  ------------------
18773|      0|            p->level--;
18774|      0|            return NULL;
18775|      0|        }
18776|    735|        D(fprintf(stderr, "%*c> kwarg_or_double_starred[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_kwarg"));
18777|    735|        void *invalid_kwarg_var;
18778|    735|        if (
18779|    735|            (invalid_kwarg_var = invalid_kwarg_rule(p))  // invalid_kwarg
  ------------------
  |  Branch (18779:13): [True: 0, False: 735]
  ------------------
18780|    735|        )
18781|      0|        {
18782|      0|            D(fprintf(stderr, "%*c+ kwarg_or_double_starred[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_kwarg"));
18783|      0|            _res = invalid_kwarg_var;
18784|      0|            goto done;
18785|      0|        }
18786|    735|        p->mark = _mark;
18787|    735|        D(fprintf(stderr, "%*c%s kwarg_or_double_starred[%d-%d]: %s failed!\n", p->level, ' ',
18788|    735|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_kwarg"));
18789|    735|    }
18790|    920|    { // NAME '=' expression
18791|    920|        if (p->error_indicator) {
  ------------------
  |  Branch (18791:13): [True: 0, False: 920]
  ------------------
18792|      0|            p->level--;
18793|      0|            return NULL;
18794|      0|        }
18795|    920|        D(fprintf(stderr, "%*c> kwarg_or_double_starred[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME '=' expression"));
18796|    920|        Token * _literal;
18797|    920|        expr_ty a;
18798|    920|        expr_ty b;
18799|    920|        if (
18800|    920|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (18800:13): [True: 85, False: 835]
  ------------------
18801|     85|            &&
18802|     85|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (18802:13): [True: 0, False: 85]
  ------------------
18803|      0|            &&
18804|      0|            (b = expression_rule(p))  // expression
  ------------------
  |  Branch (18804:13): [True: 0, False: 0]
  ------------------
18805|    920|        )
18806|      0|        {
18807|      0|            D(fprintf(stderr, "%*c+ kwarg_or_double_starred[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME '=' expression"));
18808|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
18809|      0|            if (_token == NULL) {
  ------------------
  |  Branch (18809:17): [True: 0, False: 0]
  ------------------
18810|      0|                p->level--;
18811|      0|                return NULL;
18812|      0|            }
18813|      0|            int _end_lineno = _token->end_lineno;
18814|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
18815|      0|            int _end_col_offset = _token->end_col_offset;
18816|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
18817|      0|            _res = _PyPegen_keyword_or_starred ( p , CHECK ( keyword_ty , _PyAST_keyword ( a -> v . Name . id , b , EXTRA ) ) , 1 );
  ------------------
  |  |  271|      0|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
18818|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18818:18): [True: 0, False: 0]
  |  Branch (18818:34): [True: 0, False: 0]
  |  Branch (18818:57): [True: 0, False: 0]
  ------------------
18819|      0|                p->error_indicator = 1;
18820|      0|                p->level--;
18821|      0|                return NULL;
18822|      0|            }
18823|      0|            goto done;
18824|      0|        }
18825|    920|        p->mark = _mark;
18826|    920|        D(fprintf(stderr, "%*c%s kwarg_or_double_starred[%d-%d]: %s failed!\n", p->level, ' ',
18827|    920|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME '=' expression"));
18828|    920|    }
18829|      0|    { // '**' expression
18830|    920|        if (p->error_indicator) {
  ------------------
  |  Branch (18830:13): [True: 0, False: 920]
  ------------------
18831|      0|            p->level--;
18832|      0|            return NULL;
18833|      0|        }
18834|    920|        D(fprintf(stderr, "%*c> kwarg_or_double_starred[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' expression"));
18835|    920|        Token * _literal;
18836|    920|        expr_ty a;
18837|    920|        if (
18838|    920|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (18838:13): [True: 51, False: 869]
  ------------------
18839|     51|            &&
18840|     51|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (18840:13): [True: 50, False: 1]
  ------------------
18841|    920|        )
18842|     50|        {
18843|     50|            D(fprintf(stderr, "%*c+ kwarg_or_double_starred[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' expression"));
18844|     50|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
18845|     50|            if (_token == NULL) {
  ------------------
  |  Branch (18845:17): [True: 0, False: 50]
  ------------------
18846|      0|                p->level--;
18847|      0|                return NULL;
18848|      0|            }
18849|     50|            int _end_lineno = _token->end_lineno;
18850|     50|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|     50|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 50]
  |  |  ------------------
  ------------------
18851|     50|            int _end_col_offset = _token->end_col_offset;
18852|     50|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|     50|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 50]
  |  |  ------------------
  ------------------
18853|     50|            _res = _PyPegen_keyword_or_starred ( p , CHECK ( keyword_ty , _PyAST_keyword ( NULL , a , EXTRA ) ) , 1 );
  ------------------
  |  |  271|     50|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
18854|     50|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18854:18): [True: 0, False: 50]
  |  Branch (18854:34): [True: 0, False: 50]
  |  Branch (18854:57): [True: 0, False: 0]
  ------------------
18855|      0|                p->error_indicator = 1;
18856|      0|                p->level--;
18857|      0|                return NULL;
18858|      0|            }
18859|     50|            goto done;
18860|     50|        }
18861|    870|        p->mark = _mark;
18862|    870|        D(fprintf(stderr, "%*c%s kwarg_or_double_starred[%d-%d]: %s failed!\n", p->level, ' ',
18863|    870|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' expression"));
18864|    870|    }
18865|    870|    _res = NULL;
18866|    920|  done:
18867|    920|    p->level--;
18868|    920|    return _res;
18869|    870|}
parser.c:_loop0_96_rule:
33332|     50|{
33333|     50|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    100|#  define MAXSTACK 6000
  ------------------
  |  Branch (33333:9): [True: 0, False: 50]
  |  Branch (33333:35): [True: 0, False: 50]
  ------------------
33334|      0|        _Pypegen_stack_overflow(p);
33335|      0|    }
33336|     50|    if (p->error_indicator) {
  ------------------
  |  Branch (33336:9): [True: 0, False: 50]
  ------------------
33337|      0|        p->level--;
33338|      0|        return NULL;
33339|      0|    }
33340|     50|    void *_res = NULL;
33341|     50|    int _mark = p->mark;
33342|     50|    void **_children = PyMem_Malloc(sizeof(void *));
33343|     50|    if (!_children) {
  ------------------
  |  Branch (33343:9): [True: 0, False: 50]
  ------------------
33344|      0|        p->error_indicator = 1;
33345|      0|        PyErr_NoMemory();
33346|      0|        p->level--;
33347|      0|        return NULL;
33348|      0|    }
33349|     50|    Py_ssize_t _children_capacity = 1;
33350|     50|    Py_ssize_t _n = 0;
33351|     50|    { // ',' kwarg_or_double_starred
33352|     50|        if (p->error_indicator) {
  ------------------
  |  Branch (33352:13): [True: 0, False: 50]
  ------------------
33353|      0|            p->level--;
33354|      0|            return NULL;
33355|      0|        }
33356|     50|        D(fprintf(stderr, "%*c> _loop0_96[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' kwarg_or_double_starred"));
33357|     50|        Token * _literal;
33358|     50|        KeywordOrStarred* elem;
33359|     50|        while (
33360|     50|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (33360:13): [True: 0, False: 50]
  ------------------
33361|      0|            &&
33362|      0|            (elem = kwarg_or_double_starred_rule(p))  // kwarg_or_double_starred
  ------------------
  |  Branch (33362:13): [True: 0, False: 0]
  ------------------
33363|     50|        )
33364|      0|        {
33365|      0|            _res = elem;
33366|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (33366:18): [True: 0, False: 0]
  |  Branch (33366:34): [True: 0, False: 0]
  |  Branch (33366:57): [True: 0, False: 0]
  ------------------
33367|      0|                p->error_indicator = 1;
33368|      0|                PyMem_Free(_children);
33369|      0|                p->level--;
33370|      0|                return NULL;
33371|      0|            }
33372|      0|            if (_n == _children_capacity) {
  ------------------
  |  Branch (33372:17): [True: 0, False: 0]
  ------------------
33373|      0|                _children_capacity *= 2;
33374|      0|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
33375|      0|                if (!_new_children) {
  ------------------
  |  Branch (33375:21): [True: 0, False: 0]
  ------------------
33376|      0|                    PyMem_Free(_children);
33377|      0|                    p->error_indicator = 1;
33378|      0|                    PyErr_NoMemory();
33379|      0|                    p->level--;
33380|      0|                    return NULL;
33381|      0|                }
33382|      0|                _children = _new_children;
33383|      0|            }
33384|      0|            _children[_n++] = _res;
33385|      0|            _mark = p->mark;
33386|      0|        }
33387|     50|        p->mark = _mark;
33388|     50|        D(fprintf(stderr, "%*c%s _loop0_96[%d-%d]: %s failed!\n", p->level, ' ',
33389|     50|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' kwarg_or_double_starred"));
33390|     50|    }
33391|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
33392|     50|    if (!_seq) {
  ------------------
  |  Branch (33392:9): [True: 0, False: 50]
  ------------------
33393|      0|        PyMem_Free(_children);
33394|      0|        p->error_indicator = 1;
33395|      0|        PyErr_NoMemory();
33396|      0|        p->level--;
33397|      0|        return NULL;
33398|      0|    }
33399|     50|    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))
  |  |  ------------------
  |  |  |  |  302|     50|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (33399:28): [True: 0, False: 50]
  ------------------
33400|     50|    PyMem_Free(_children);
33401|     50|    p->level--;
33402|     50|    return _seq;
33403|     50|}
parser.c:invalid_arguments_rule:
19676|    450|{
19677|    450|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    900|#  define MAXSTACK 6000
  ------------------
  |  Branch (19677:9): [True: 0, False: 450]
  |  Branch (19677:35): [True: 0, False: 450]
  ------------------
19678|      0|        _Pypegen_stack_overflow(p);
19679|      0|    }
19680|    450|    if (p->error_indicator) {
  ------------------
  |  Branch (19680:9): [True: 0, False: 450]
  ------------------
19681|      0|        p->level--;
19682|      0|        return NULL;
19683|      0|    }
19684|    450|    void * _res = NULL;
19685|    450|    int _mark = p->mark;
19686|    450|    { // ((','.(starred_expression | (assignment_expression | expression !':=') !'=')+ ',' kwargs) | kwargs) ',' ','.(starred_expression !'=')+
19687|    450|        if (p->error_indicator) {
  ------------------
  |  Branch (19687:13): [True: 0, False: 450]
  ------------------
19688|      0|            p->level--;
19689|      0|            return NULL;
19690|      0|        }
19691|    450|        D(fprintf(stderr, "%*c> invalid_arguments[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "((','.(starred_expression | (assignment_expression | expression !':=') !'=')+ ',' kwargs) | kwargs) ',' ','.(starred_expression !'=')+"));
19692|    450|        asdl_seq * _gather_108_var;
19693|    450|        void *_tmp_106_var;
19694|    450|        Token * a;
19695|    450|        if (
19696|    450|            (_tmp_106_var = _tmp_106_rule(p))  // (','.(starred_expression | (assignment_expression | expression !':=') !'=')+ ',' kwargs) | kwargs
  ------------------
  |  Branch (19696:13): [True: 262, False: 188]
  ------------------
19697|    262|            &&
19698|    262|            (a = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (19698:13): [True: 0, False: 262]
  ------------------
19699|      0|            &&
19700|      0|            (_gather_108_var = _gather_108_rule(p))  // ','.(starred_expression !'=')+
  ------------------
  |  Branch (19700:13): [True: 0, False: 0]
  ------------------
19701|    450|        )
19702|      0|        {
19703|      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 !'=')+"));
19704|      0|            _res = RAISE_SYNTAX_ERROR_STARTING_FROM ( a , "iterable argument unpacking follows keyword argument unpacking" );
  ------------------
  |  |  241|      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)
  |  |  ------------------
  ------------------
19705|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19705:18): [True: 0, False: 0]
  |  Branch (19705:34): [True: 0, False: 0]
  |  Branch (19705:57): [True: 0, False: 0]
  ------------------
19706|      0|                p->error_indicator = 1;
19707|      0|                p->level--;
19708|      0|                return NULL;
19709|      0|            }
19710|      0|            goto done;
19711|      0|        }
19712|    450|        p->mark = _mark;
19713|    450|        D(fprintf(stderr, "%*c%s invalid_arguments[%d-%d]: %s failed!\n", p->level, ' ',
19714|    450|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "((','.(starred_expression | (assignment_expression | expression !':=') !'=')+ ',' kwargs) | kwargs) ',' ','.(starred_expression !'=')+"));
19715|    450|    }
19716|      0|    { // expression for_if_clauses ',' [args | expression for_if_clauses]
19717|    450|        if (p->error_indicator) {
  ------------------
  |  Branch (19717:13): [True: 0, False: 450]
  ------------------
19718|      0|            p->level--;
19719|      0|            return NULL;
19720|      0|        }
19721|    450|        D(fprintf(stderr, "%*c> invalid_arguments[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression for_if_clauses ',' [args | expression for_if_clauses]"));
19722|    450|        Token * _literal;
19723|    450|        void *_opt_var;
19724|    450|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  305|    450|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 450]
  |  |  ------------------
  ------------------
19725|    450|        expr_ty a;
19726|    450|        asdl_comprehension_seq* b;
19727|    450|        if (
19728|    450|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (19728:13): [True: 87, False: 363]
  ------------------
19729|     87|            &&
19730|     87|            (b = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  Branch (19730:13): [True: 0, False: 87]
  ------------------
19731|      0|            &&
19732|      0|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (19732:13): [True: 0, False: 0]
  ------------------
19733|      0|            &&
19734|      0|            (_opt_var = _tmp_109_rule(p), !p->error_indicator)  // [args | expression for_if_clauses]
  ------------------
  |  Branch (19734:13): [True: 0, False: 0]
  ------------------
19735|    450|        )
19736|      0|        {
19737|      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]"));
19738|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , _PyPegen_get_last_comprehension_item ( PyPegen_last_item ( b , comprehension_ty ) ) , "Generator expression must be parenthesized" );
  ------------------
  |  |  237|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
19739|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19739:18): [True: 0, False: 0]
  |  Branch (19739:34): [True: 0, False: 0]
  |  Branch (19739:57): [True: 0, False: 0]
  ------------------
19740|      0|                p->error_indicator = 1;
19741|      0|                p->level--;
19742|      0|                return NULL;
19743|      0|            }
19744|      0|            goto done;
19745|      0|        }
19746|    450|        p->mark = _mark;
19747|    450|        D(fprintf(stderr, "%*c%s invalid_arguments[%d-%d]: %s failed!\n", p->level, ' ',
19748|    450|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression for_if_clauses ',' [args | expression for_if_clauses]"));
19749|    450|    }
19750|      0|    { // NAME '=' expression for_if_clauses
19751|    450|        if (p->error_indicator) {
  ------------------
  |  Branch (19751:13): [True: 0, False: 450]
  ------------------
19752|      0|            p->level--;
19753|      0|            return NULL;
19754|      0|        }
19755|    450|        D(fprintf(stderr, "%*c> invalid_arguments[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME '=' expression for_if_clauses"));
19756|    450|        expr_ty a;
19757|    450|        Token * b;
19758|    450|        expr_ty expression_var;
19759|    450|        asdl_comprehension_seq* for_if_clauses_var;
19760|    450|        if (
19761|    450|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (19761:13): [True: 85, False: 365]
  ------------------
19762|     85|            &&
19763|     85|            (b = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (19763:13): [True: 0, False: 85]
  ------------------
19764|      0|            &&
19765|      0|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (19765:13): [True: 0, False: 0]
  ------------------
19766|      0|            &&
19767|      0|            (for_if_clauses_var = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  Branch (19767:13): [True: 0, False: 0]
  ------------------
19768|    450|        )
19769|      0|        {
19770|      0|            D(fprintf(stderr, "%*c+ invalid_arguments[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME '=' expression for_if_clauses"));
19771|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "invalid syntax. Maybe you meant '==' or ':=' instead of '='?" );
  ------------------
  |  |  237|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
19772|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19772:18): [True: 0, False: 0]
  |  Branch (19772:34): [True: 0, False: 0]
  |  Branch (19772:57): [True: 0, False: 0]
  ------------------
19773|      0|                p->error_indicator = 1;
19774|      0|                p->level--;
19775|      0|                return NULL;
19776|      0|            }
19777|      0|            goto done;
19778|      0|        }
19779|    450|        p->mark = _mark;
19780|    450|        D(fprintf(stderr, "%*c%s invalid_arguments[%d-%d]: %s failed!\n", p->level, ' ',
19781|    450|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME '=' expression for_if_clauses"));
19782|    450|    }
19783|      0|    { // [(args ',')] NAME '=' &(',' | ')')
19784|    450|        if (p->error_indicator) {
  ------------------
  |  Branch (19784:13): [True: 0, False: 450]
  ------------------
19785|      0|            p->level--;
19786|      0|            return NULL;
19787|      0|        }
19788|    450|        D(fprintf(stderr, "%*c> invalid_arguments[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "[(args ',')] NAME '=' &(',' | ')')"));
19789|    450|        void *_opt_var;
19790|    450|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  305|    450|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 450]
  |  |  ------------------
  ------------------
19791|    450|        expr_ty a;
19792|    450|        Token * b;
19793|    450|        if (
19794|    450|            (_opt_var = _tmp_110_rule(p), !p->error_indicator)  // [(args ',')]
  ------------------
  |  Branch (19794:13): [True: 450, False: 0]
  ------------------
19795|    450|            &&
19796|    450|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (19796:13): [True: 85, False: 365]
  ------------------
19797|     85|            &&
19798|     85|            (b = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (19798:13): [True: 0, False: 85]
  ------------------
19799|      0|            &&
19800|      0|            _PyPegen_lookahead(1, _tmp_111_rule, p)
  ------------------
  |  Branch (19800:13): [True: 0, False: 0]
  ------------------
19801|    450|        )
19802|      0|        {
19803|      0|            D(fprintf(stderr, "%*c+ invalid_arguments[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "[(args ',')] NAME '=' &(',' | ')')"));
19804|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "expected argument value expression" );
  ------------------
  |  |  237|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
19805|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19805:18): [True: 0, False: 0]
  |  Branch (19805:34): [True: 0, False: 0]
  |  Branch (19805:57): [True: 0, False: 0]
  ------------------
19806|      0|                p->error_indicator = 1;
19807|      0|                p->level--;
19808|      0|                return NULL;
19809|      0|            }
19810|      0|            goto done;
19811|      0|        }
19812|    450|        p->mark = _mark;
19813|    450|        D(fprintf(stderr, "%*c%s invalid_arguments[%d-%d]: %s failed!\n", p->level, ' ',
19814|    450|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "[(args ',')] NAME '=' &(',' | ')')"));
19815|    450|    }
19816|      0|    { // args for_if_clauses
19817|    450|        if (p->error_indicator) {
  ------------------
  |  Branch (19817:13): [True: 0, False: 450]
  ------------------
19818|      0|            p->level--;
19819|      0|            return NULL;
19820|      0|        }
19821|    450|        D(fprintf(stderr, "%*c> invalid_arguments[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "args for_if_clauses"));
19822|    450|        expr_ty a;
19823|    450|        asdl_comprehension_seq* b;
19824|    450|        if (
19825|    450|            (a = args_rule(p))  // args
  ------------------
  |  Branch (19825:13): [True: 349, False: 101]
  ------------------
19826|    349|            &&
19827|    349|            (b = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  Branch (19827:13): [True: 0, False: 349]
  ------------------
19828|    450|        )
19829|      0|        {
19830|      0|            D(fprintf(stderr, "%*c+ invalid_arguments[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "args for_if_clauses"));
19831|      0|            _res = _PyPegen_nonparen_genexp_in_call ( p , a , b );
19832|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19832:18): [True: 0, False: 0]
  |  Branch (19832:34): [True: 0, False: 0]
  |  Branch (19832:57): [True: 0, False: 0]
  ------------------
19833|      0|                p->error_indicator = 1;
19834|      0|                p->level--;
19835|      0|                return NULL;
19836|      0|            }
19837|      0|            goto done;
19838|      0|        }
19839|    450|        p->mark = _mark;
19840|    450|        D(fprintf(stderr, "%*c%s invalid_arguments[%d-%d]: %s failed!\n", p->level, ' ',
19841|    450|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "args for_if_clauses"));
19842|    450|    }
19843|      0|    { // args ',' expression for_if_clauses
19844|    450|        if (p->error_indicator) {
  ------------------
  |  Branch (19844:13): [True: 0, False: 450]
  ------------------
19845|      0|            p->level--;
19846|      0|            return NULL;
19847|      0|        }
19848|    450|        D(fprintf(stderr, "%*c> invalid_arguments[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "args ',' expression for_if_clauses"));
19849|    450|        Token * _literal;
19850|    450|        expr_ty a;
19851|    450|        expr_ty args_var;
19852|    450|        asdl_comprehension_seq* b;
19853|    450|        if (
19854|    450|            (args_var = args_rule(p))  // args
  ------------------
  |  Branch (19854:13): [True: 349, False: 101]
  ------------------
19855|    349|            &&
19856|    349|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (19856:13): [True: 0, False: 349]
  ------------------
19857|      0|            &&
19858|      0|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (19858:13): [True: 0, False: 0]
  ------------------
19859|      0|            &&
19860|      0|            (b = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  Branch (19860:13): [True: 0, False: 0]
  ------------------
19861|    450|        )
19862|      0|        {
19863|      0|            D(fprintf(stderr, "%*c+ invalid_arguments[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "args ',' expression for_if_clauses"));
19864|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , _PyPegen_get_last_comprehension_item ( PyPegen_last_item ( b , comprehension_ty ) ) , "Generator expression must be parenthesized" );
  ------------------
  |  |  237|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
19865|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19865:18): [True: 0, False: 0]
  |  Branch (19865:34): [True: 0, False: 0]
  |  Branch (19865:57): [True: 0, False: 0]
  ------------------
19866|      0|                p->error_indicator = 1;
19867|      0|                p->level--;
19868|      0|                return NULL;
19869|      0|            }
19870|      0|            goto done;
19871|      0|        }
19872|    450|        p->mark = _mark;
19873|    450|        D(fprintf(stderr, "%*c%s invalid_arguments[%d-%d]: %s failed!\n", p->level, ' ',
19874|    450|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "args ',' expression for_if_clauses"));
19875|    450|    }
19876|      0|    { // args ',' args
19877|    450|        if (p->error_indicator) {
  ------------------
  |  Branch (19877:13): [True: 0, False: 450]
  ------------------
19878|      0|            p->level--;
19879|      0|            return NULL;
19880|      0|        }
19881|    450|        D(fprintf(stderr, "%*c> invalid_arguments[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "args ',' args"));
19882|    450|        Token * _literal;
19883|    450|        expr_ty a;
19884|    450|        expr_ty args_var;
19885|    450|        if (
19886|    450|            (a = args_rule(p))  // args
  ------------------
  |  Branch (19886:13): [True: 349, False: 101]
  ------------------
19887|    349|            &&
19888|    349|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (19888:13): [True: 0, False: 349]
  ------------------
19889|      0|            &&
19890|      0|            (args_var = args_rule(p))  // args
  ------------------
  |  Branch (19890:13): [True: 0, False: 0]
  ------------------
19891|    450|        )
19892|      0|        {
19893|      0|            D(fprintf(stderr, "%*c+ invalid_arguments[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "args ',' args"));
19894|      0|            _res = _PyPegen_arguments_parsing_error ( p , a );
19895|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19895:18): [True: 0, False: 0]
  |  Branch (19895:34): [True: 0, False: 0]
  |  Branch (19895:57): [True: 0, False: 0]
  ------------------
19896|      0|                p->error_indicator = 1;
19897|      0|                p->level--;
19898|      0|                return NULL;
19899|      0|            }
19900|      0|            goto done;
19901|      0|        }
19902|    450|        p->mark = _mark;
19903|    450|        D(fprintf(stderr, "%*c%s invalid_arguments[%d-%d]: %s failed!\n", p->level, ' ',
19904|    450|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "args ',' args"));
19905|    450|    }
19906|    450|    _res = NULL;
19907|    450|  done:
19908|    450|    p->level--;
19909|    450|    return _res;
19910|    450|}
parser.c:_tmp_106_rule:
33909|    450|{
33910|    450|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    900|#  define MAXSTACK 6000
  ------------------
  |  Branch (33910:9): [True: 0, False: 450]
  |  Branch (33910:35): [True: 0, False: 450]
  ------------------
33911|      0|        _Pypegen_stack_overflow(p);
33912|      0|    }
33913|    450|    if (p->error_indicator) {
  ------------------
  |  Branch (33913:9): [True: 0, False: 450]
  ------------------
33914|      0|        p->level--;
33915|      0|        return NULL;
33916|      0|    }
33917|    450|    void * _res = NULL;
33918|    450|    int _mark = p->mark;
33919|    450|    { // (','.(starred_expression | (assignment_expression | expression !':=') !'=')+ ',' kwargs)
33920|    450|        if (p->error_indicator) {
  ------------------
  |  Branch (33920:13): [True: 0, False: 450]
  ------------------
33921|      0|            p->level--;
33922|      0|            return NULL;
33923|      0|        }
33924|    450|        D(fprintf(stderr, "%*c> _tmp_106[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(','.(starred_expression | (assignment_expression | expression !':=') !'=')+ ',' kwargs)"));
33925|    450|        void *_tmp_167_var;
33926|    450|        if (
33927|    450|            (_tmp_167_var = _tmp_167_rule(p))  // ','.(starred_expression | (assignment_expression | expression !':=') !'=')+ ',' kwargs
  ------------------
  |  Branch (33927:13): [True: 0, False: 450]
  ------------------
33928|    450|        )
33929|      0|        {
33930|      0|            D(fprintf(stderr, "%*c+ _tmp_106[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "(','.(starred_expression | (assignment_expression | expression !':=') !'=')+ ',' kwargs)"));
33931|      0|            _res = _tmp_167_var;
33932|      0|            goto done;
33933|      0|        }
33934|    450|        p->mark = _mark;
33935|    450|        D(fprintf(stderr, "%*c%s _tmp_106[%d-%d]: %s failed!\n", p->level, ' ',
33936|    450|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(','.(starred_expression | (assignment_expression | expression !':=') !'=')+ ',' kwargs)"));
33937|    450|    }
33938|      0|    { // kwargs
33939|    450|        if (p->error_indicator) {
  ------------------
  |  Branch (33939:13): [True: 0, False: 450]
  ------------------
33940|      0|            p->level--;
33941|      0|            return NULL;
33942|      0|        }
33943|    450|        D(fprintf(stderr, "%*c> _tmp_106[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "kwargs"));
33944|    450|        asdl_seq* kwargs_var;
33945|    450|        if (
33946|    450|            (kwargs_var = kwargs_rule(p))  // kwargs
  ------------------
  |  Branch (33946:13): [True: 262, False: 188]
  ------------------
33947|    450|        )
33948|    262|        {
33949|    262|            D(fprintf(stderr, "%*c+ _tmp_106[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "kwargs"));
33950|    262|            _res = kwargs_var;
33951|    262|            goto done;
33952|    262|        }
33953|    188|        p->mark = _mark;
33954|    188|        D(fprintf(stderr, "%*c%s _tmp_106[%d-%d]: %s failed!\n", p->level, ' ',
33955|    188|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "kwargs"));
33956|    188|    }
33957|    188|    _res = NULL;
33958|    450|  done:
33959|    450|    p->level--;
33960|    450|    return _res;
33961|    188|}
parser.c:_tmp_167_rule:
37549|    450|{
37550|    450|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    900|#  define MAXSTACK 6000
  ------------------
  |  Branch (37550:9): [True: 0, False: 450]
  |  Branch (37550:35): [True: 0, False: 450]
  ------------------
37551|      0|        _Pypegen_stack_overflow(p);
37552|      0|    }
37553|    450|    if (p->error_indicator) {
  ------------------
  |  Branch (37553:9): [True: 0, False: 450]
  ------------------
37554|      0|        p->level--;
37555|      0|        return NULL;
37556|      0|    }
37557|    450|    void * _res = NULL;
37558|    450|    int _mark = p->mark;
37559|    450|    { // ','.(starred_expression | (assignment_expression | expression !':=') !'=')+ ',' kwargs
37560|    450|        if (p->error_indicator) {
  ------------------
  |  Branch (37560:13): [True: 0, False: 450]
  ------------------
37561|      0|            p->level--;
37562|      0|            return NULL;
37563|      0|        }
37564|    450|        D(fprintf(stderr, "%*c> _tmp_167[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.(starred_expression | (assignment_expression | expression !':=') !'=')+ ',' kwargs"));
37565|    450|        asdl_seq * _gather_91_var;
37566|    450|        Token * _literal;
37567|    450|        asdl_seq* kwargs_var;
37568|    450|        if (
37569|    450|            (_gather_91_var = _gather_91_rule(p))  // ','.(starred_expression | (assignment_expression | expression !':=') !'=')+
  ------------------
  |  Branch (37569:13): [True: 342, False: 108]
  ------------------
37570|    342|            &&
37571|    342|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (37571:13): [True: 0, False: 342]
  ------------------
37572|      0|            &&
37573|      0|            (kwargs_var = kwargs_rule(p))  // kwargs
  ------------------
  |  Branch (37573:13): [True: 0, False: 0]
  ------------------
37574|    450|        )
37575|      0|        {
37576|      0|            D(fprintf(stderr, "%*c+ _tmp_167[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.(starred_expression | (assignment_expression | expression !':=') !'=')+ ',' kwargs"));
37577|      0|            _res = _PyPegen_dummy_name(p, _gather_91_var, _literal, kwargs_var);
37578|      0|            goto done;
37579|      0|        }
37580|    450|        p->mark = _mark;
37581|    450|        D(fprintf(stderr, "%*c%s _tmp_167[%d-%d]: %s failed!\n", p->level, ' ',
37582|    450|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.(starred_expression | (assignment_expression | expression !':=') !'=')+ ',' kwargs"));
37583|    450|    }
37584|    450|    _res = NULL;
37585|    450|  done:
37586|    450|    p->level--;
37587|    450|    return _res;
37588|    450|}
parser.c:_tmp_110_rule:
34143|    450|{
34144|    450|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    900|#  define MAXSTACK 6000
  ------------------
  |  Branch (34144:9): [True: 0, False: 450]
  |  Branch (34144:35): [True: 0, False: 450]
  ------------------
34145|      0|        _Pypegen_stack_overflow(p);
34146|      0|    }
34147|    450|    if (p->error_indicator) {
  ------------------
  |  Branch (34147:9): [True: 0, False: 450]
  ------------------
34148|      0|        p->level--;
34149|      0|        return NULL;
34150|      0|    }
34151|    450|    void * _res = NULL;
34152|    450|    int _mark = p->mark;
34153|    450|    { // args ','
34154|    450|        if (p->error_indicator) {
  ------------------
  |  Branch (34154:13): [True: 0, False: 450]
  ------------------
34155|      0|            p->level--;
34156|      0|            return NULL;
34157|      0|        }
34158|    450|        D(fprintf(stderr, "%*c> _tmp_110[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "args ','"));
34159|    450|        Token * _literal;
34160|    450|        expr_ty args_var;
34161|    450|        if (
34162|    450|            (args_var = args_rule(p))  // args
  ------------------
  |  Branch (34162:13): [True: 349, False: 101]
  ------------------
34163|    349|            &&
34164|    349|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (34164:13): [True: 0, False: 349]
  ------------------
34165|    450|        )
34166|      0|        {
34167|      0|            D(fprintf(stderr, "%*c+ _tmp_110[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "args ','"));
34168|      0|            _res = _PyPegen_dummy_name(p, args_var, _literal);
34169|      0|            goto done;
34170|      0|        }
34171|    450|        p->mark = _mark;
34172|    450|        D(fprintf(stderr, "%*c%s _tmp_110[%d-%d]: %s failed!\n", p->level, ' ',
34173|    450|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "args ','"));
34174|    450|    }
34175|    450|    _res = NULL;
34176|    450|  done:
34177|    450|    p->level--;
34178|    450|    return _res;
34179|    450|}
parser.c:atom_rule:
14889|  6.14k|{
14890|  6.14k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  12.2k|#  define MAXSTACK 6000
  ------------------
  |  Branch (14890:9): [True: 0, False: 6.14k]
  |  Branch (14890:35): [True: 0, False: 6.14k]
  ------------------
14891|      0|        _Pypegen_stack_overflow(p);
14892|      0|    }
14893|  6.14k|    if (p->error_indicator) {
  ------------------
  |  Branch (14893:9): [True: 0, False: 6.14k]
  ------------------
14894|      0|        p->level--;
14895|      0|        return NULL;
14896|      0|    }
14897|  6.14k|    expr_ty _res = NULL;
14898|  6.14k|    int _mark = p->mark;
14899|  6.14k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (14899:9): [True: 0, False: 6.14k]
  |  Branch (14899:31): [True: 0, False: 0]
  ------------------
14900|      0|        p->error_indicator = 1;
14901|      0|        p->level--;
14902|      0|        return NULL;
14903|      0|    }
14904|  6.14k|    int _start_lineno = p->tokens[_mark]->lineno;
14905|  6.14k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|  6.14k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 6.14k]
  |  |  ------------------
  ------------------
14906|  6.14k|    int _start_col_offset = p->tokens[_mark]->col_offset;
14907|  6.14k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|  6.14k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 6.14k]
  |  |  ------------------
  ------------------
14908|  6.14k|    { // NAME
14909|  6.14k|        if (p->error_indicator) {
  ------------------
  |  Branch (14909:13): [True: 0, False: 6.14k]
  ------------------
14910|      0|            p->level--;
14911|      0|            return NULL;
14912|      0|        }
14913|  6.14k|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME"));
14914|  6.14k|        expr_ty name_var;
14915|  6.14k|        if (
14916|  6.14k|            (name_var = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (14916:13): [True: 2.18k, False: 3.96k]
  ------------------
14917|  6.14k|        )
14918|  2.18k|        {
14919|  2.18k|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME"));
14920|  2.18k|            _res = name_var;
14921|  2.18k|            goto done;
14922|  2.18k|        }
14923|  3.96k|        p->mark = _mark;
14924|  3.96k|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
14925|  3.96k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME"));
14926|  3.96k|    }
14927|      0|    { // 'True'
14928|  3.96k|        if (p->error_indicator) {
  ------------------
  |  Branch (14928:13): [True: 0, False: 3.96k]
  ------------------
14929|      0|            p->level--;
14930|      0|            return NULL;
14931|      0|        }
14932|  3.96k|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'True'"));
14933|  3.96k|        Token * _keyword;
14934|  3.96k|        if (
14935|  3.96k|            (_keyword = _PyPegen_expect_token(p, 627))  // token='True'
  ------------------
  |  Branch (14935:13): [True: 0, False: 3.96k]
  ------------------
14936|  3.96k|        )
14937|      0|        {
14938|      0|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'True'"));
14939|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14940|      0|            if (_token == NULL) {
  ------------------
  |  Branch (14940:17): [True: 0, False: 0]
  ------------------
14941|      0|                p->level--;
14942|      0|                return NULL;
14943|      0|            }
14944|      0|            int _end_lineno = _token->end_lineno;
14945|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14946|      0|            int _end_col_offset = _token->end_col_offset;
14947|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14948|      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 );
  ------------------
  |  |  307|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14949|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14949:18): [True: 0, False: 0]
  |  Branch (14949:34): [True: 0, False: 0]
  |  Branch (14949:57): [True: 0, False: 0]
  ------------------
14950|      0|                p->error_indicator = 1;
14951|      0|                p->level--;
14952|      0|                return NULL;
14953|      0|            }
14954|      0|            goto done;
14955|      0|        }
14956|  3.96k|        p->mark = _mark;
14957|  3.96k|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
14958|  3.96k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'True'"));
14959|  3.96k|    }
14960|      0|    { // 'False'
14961|  3.96k|        if (p->error_indicator) {
  ------------------
  |  Branch (14961:13): [True: 0, False: 3.96k]
  ------------------
14962|      0|            p->level--;
14963|      0|            return NULL;
14964|      0|        }
14965|  3.96k|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'False'"));
14966|  3.96k|        Token * _keyword;
14967|  3.96k|        if (
14968|  3.96k|            (_keyword = _PyPegen_expect_token(p, 629))  // token='False'
  ------------------
  |  Branch (14968:13): [True: 0, False: 3.96k]
  ------------------
14969|  3.96k|        )
14970|      0|        {
14971|      0|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'False'"));
14972|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14973|      0|            if (_token == NULL) {
  ------------------
  |  Branch (14973:17): [True: 0, False: 0]
  ------------------
14974|      0|                p->level--;
14975|      0|                return NULL;
14976|      0|            }
14977|      0|            int _end_lineno = _token->end_lineno;
14978|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14979|      0|            int _end_col_offset = _token->end_col_offset;
14980|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14981|      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 );
  ------------------
  |  |  307|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14982|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14982:18): [True: 0, False: 0]
  |  Branch (14982:34): [True: 0, False: 0]
  |  Branch (14982:57): [True: 0, False: 0]
  ------------------
14983|      0|                p->error_indicator = 1;
14984|      0|                p->level--;
14985|      0|                return NULL;
14986|      0|            }
14987|      0|            goto done;
14988|      0|        }
14989|  3.96k|        p->mark = _mark;
14990|  3.96k|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
14991|  3.96k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'False'"));
14992|  3.96k|    }
14993|      0|    { // 'None'
14994|  3.96k|        if (p->error_indicator) {
  ------------------
  |  Branch (14994:13): [True: 0, False: 3.96k]
  ------------------
14995|      0|            p->level--;
14996|      0|            return NULL;
14997|      0|        }
14998|  3.96k|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'None'"));
14999|  3.96k|        Token * _keyword;
15000|  3.96k|        if (
15001|  3.96k|            (_keyword = _PyPegen_expect_token(p, 628))  // token='None'
  ------------------
  |  Branch (15001:13): [True: 0, False: 3.96k]
  ------------------
15002|  3.96k|        )
15003|      0|        {
15004|      0|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'None'"));
15005|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
15006|      0|            if (_token == NULL) {
  ------------------
  |  Branch (15006:17): [True: 0, False: 0]
  ------------------
15007|      0|                p->level--;
15008|      0|                return NULL;
15009|      0|            }
15010|      0|            int _end_lineno = _token->end_lineno;
15011|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
15012|      0|            int _end_col_offset = _token->end_col_offset;
15013|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
15014|      0|            _res = _PyAST_Constant ( Py_None , NULL , EXTRA );
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
                          _res = _PyAST_Constant ( Py_None , NULL , EXTRA );
  ------------------
  |  |  307|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
15015|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15015:18): [True: 0, False: 0]
  |  Branch (15015:34): [True: 0, False: 0]
  |  Branch (15015:57): [True: 0, False: 0]
  ------------------
15016|      0|                p->error_indicator = 1;
15017|      0|                p->level--;
15018|      0|                return NULL;
15019|      0|            }
15020|      0|            goto done;
15021|      0|        }
15022|  3.96k|        p->mark = _mark;
15023|  3.96k|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15024|  3.96k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'None'"));
15025|  3.96k|    }
15026|      0|    { // &(STRING | FSTRING_START | TSTRING_START) strings
15027|  3.96k|        if (p->error_indicator) {
  ------------------
  |  Branch (15027:13): [True: 0, False: 3.96k]
  ------------------
15028|      0|            p->level--;
15029|      0|            return NULL;
15030|      0|        }
15031|  3.96k|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&(STRING | FSTRING_START | TSTRING_START) strings"));
15032|  3.96k|        expr_ty strings_var;
15033|  3.96k|        if (
15034|  3.96k|            _PyPegen_lookahead(1, _tmp_42_rule, p)
  ------------------
  |  Branch (15034:13): [True: 1.28k, False: 2.67k]
  ------------------
15035|  1.28k|            &&
15036|  1.28k|            (strings_var = strings_rule(p))  // strings
  ------------------
  |  Branch (15036:13): [True: 1.28k, False: 6]
  ------------------
15037|  3.96k|        )
15038|  1.28k|        {
15039|  1.28k|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&(STRING | FSTRING_START | TSTRING_START) strings"));
15040|  1.28k|            _res = strings_var;
15041|  1.28k|            goto done;
15042|  1.28k|        }
15043|  2.67k|        p->mark = _mark;
15044|  2.67k|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15045|  2.67k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&(STRING | FSTRING_START | TSTRING_START) strings"));
15046|  2.67k|    }
15047|      0|    { // NUMBER
15048|  2.67k|        if (p->error_indicator) {
  ------------------
  |  Branch (15048:13): [True: 6, False: 2.67k]
  ------------------
15049|      6|            p->level--;
15050|      6|            return NULL;
15051|      6|        }
15052|  2.67k|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NUMBER"));
15053|  2.67k|        expr_ty number_var;
15054|  2.67k|        if (
15055|  2.67k|            (number_var = _PyPegen_number_token(p))  // NUMBER
  ------------------
  |  Branch (15055:13): [True: 415, False: 2.25k]
  ------------------
15056|  2.67k|        )
15057|    415|        {
15058|    415|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NUMBER"));
15059|    415|            _res = number_var;
15060|    415|            goto done;
15061|    415|        }
15062|  2.25k|        p->mark = _mark;
15063|  2.25k|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15064|  2.25k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NUMBER"));
15065|  2.25k|    }
15066|      0|    { // &'(' (genexp | tuple | group)
15067|  2.25k|        if (p->error_indicator) {
  ------------------
  |  Branch (15067:13): [True: 0, False: 2.25k]
  ------------------
15068|      0|            p->level--;
15069|      0|            return NULL;
15070|      0|        }
15071|  2.25k|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'(' (genexp | tuple | group)"));
15072|  2.25k|        void *_tmp_66_var;
15073|  2.25k|        if (
15074|  2.25k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 7)  // token='('
  ------------------
  |  Branch (15074:13): [True: 1.04k, False: 1.21k]
  ------------------
15075|  1.04k|            &&
15076|  1.04k|            (_tmp_66_var = _tmp_66_rule(p))  // genexp | tuple | group
  ------------------
  |  Branch (15076:13): [True: 4, False: 1.04k]
  ------------------
15077|  2.25k|        )
15078|      4|        {
15079|      4|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'(' (genexp | tuple | group)"));
15080|      4|            _res = _tmp_66_var;
15081|      4|            goto done;
15082|      4|        }
15083|  2.25k|        p->mark = _mark;
15084|  2.25k|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15085|  2.25k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'(' (genexp | tuple | group)"));
15086|  2.25k|    }
15087|      0|    { // &'[' (listcomp | list)
15088|  2.25k|        if (p->error_indicator) {
  ------------------
  |  Branch (15088:13): [True: 136, False: 2.11k]
  ------------------
15089|    136|            p->level--;
15090|    136|            return NULL;
15091|    136|        }
15092|  2.11k|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'[' (listcomp | list)"));
15093|  2.11k|        void *_tmp_67_var;
15094|  2.11k|        if (
15095|  2.11k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 9)  // token='['
  ------------------
  |  Branch (15095:13): [True: 0, False: 2.11k]
  ------------------
15096|      0|            &&
15097|      0|            (_tmp_67_var = _tmp_67_rule(p))  // listcomp | list
  ------------------
  |  Branch (15097:13): [True: 0, False: 0]
  ------------------
15098|  2.11k|        )
15099|      0|        {
15100|      0|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'[' (listcomp | list)"));
15101|      0|            _res = _tmp_67_var;
15102|      0|            goto done;
15103|      0|        }
15104|  2.11k|        p->mark = _mark;
15105|  2.11k|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15106|  2.11k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'[' (listcomp | list)"));
15107|  2.11k|    }
15108|      0|    { // &'{' (dictcomp | setcomp | dict | set)
15109|  2.11k|        if (p->error_indicator) {
  ------------------
  |  Branch (15109:13): [True: 0, False: 2.11k]
  ------------------
15110|      0|            p->level--;
15111|      0|            return NULL;
15112|      0|        }
15113|  2.11k|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'{' (dictcomp | setcomp | dict | set)"));
15114|  2.11k|        void *_tmp_68_var;
15115|  2.11k|        if (
15116|  2.11k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 25)  // token='{'
  ------------------
  |  Branch (15116:13): [True: 4, False: 2.11k]
  ------------------
15117|      4|            &&
15118|      4|            (_tmp_68_var = _tmp_68_rule(p))  // dictcomp | setcomp | dict | set
  ------------------
  |  Branch (15118:13): [True: 4, False: 0]
  ------------------
15119|  2.11k|        )
15120|      4|        {
15121|      4|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'{' (dictcomp | setcomp | dict | set)"));
15122|      4|            _res = _tmp_68_var;
15123|      4|            goto done;
15124|      4|        }
15125|  2.11k|        p->mark = _mark;
15126|  2.11k|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15127|  2.11k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'{' (dictcomp | setcomp | dict | set)"));
15128|  2.11k|    }
15129|      0|    { // '...'
15130|  2.11k|        if (p->error_indicator) {
  ------------------
  |  Branch (15130:13): [True: 0, False: 2.11k]
  ------------------
15131|      0|            p->level--;
15132|      0|            return NULL;
15133|      0|        }
15134|  2.11k|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'...'"));
15135|  2.11k|        Token * _literal;
15136|  2.11k|        if (
15137|  2.11k|            (_literal = _PyPegen_expect_token(p, 52))  // token='...'
  ------------------
  |  Branch (15137:13): [True: 0, False: 2.11k]
  ------------------
15138|  2.11k|        )
15139|      0|        {
15140|      0|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'...'"));
15141|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
15142|      0|            if (_token == NULL) {
  ------------------
  |  Branch (15142:17): [True: 0, False: 0]
  ------------------
15143|      0|                p->level--;
15144|      0|                return NULL;
15145|      0|            }
15146|      0|            int _end_lineno = _token->end_lineno;
15147|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
15148|      0|            int _end_col_offset = _token->end_col_offset;
15149|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
15150|      0|            _res = _PyAST_Constant ( Py_Ellipsis , NULL , EXTRA );
  ------------------
  |  |   14|      0|#  define Py_Ellipsis (&_Py_EllipsisObject)
  ------------------
                          _res = _PyAST_Constant ( Py_Ellipsis , NULL , EXTRA );
  ------------------
  |  |  307|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
15151|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15151:18): [True: 0, False: 0]
  |  Branch (15151:34): [True: 0, False: 0]
  |  Branch (15151:57): [True: 0, False: 0]
  ------------------
15152|      0|                p->error_indicator = 1;
15153|      0|                p->level--;
15154|      0|                return NULL;
15155|      0|            }
15156|      0|            goto done;
15157|      0|        }
15158|  2.11k|        p->mark = _mark;
15159|  2.11k|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15160|  2.11k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'...'"));
15161|  2.11k|    }
15162|  2.11k|    _res = NULL;
15163|  6.00k|  done:
15164|  6.00k|    p->level--;
15165|  6.00k|    return _res;
15166|  2.11k|}
parser.c:_tmp_42_rule:
29914|  3.96k|{
29915|  3.96k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  7.92k|#  define MAXSTACK 6000
  ------------------
  |  Branch (29915:9): [True: 0, False: 3.96k]
  |  Branch (29915:35): [True: 0, False: 3.96k]
  ------------------
29916|      0|        _Pypegen_stack_overflow(p);
29917|      0|    }
29918|  3.96k|    if (p->error_indicator) {
  ------------------
  |  Branch (29918:9): [True: 0, False: 3.96k]
  ------------------
29919|      0|        p->level--;
29920|      0|        return NULL;
29921|      0|    }
29922|  3.96k|    void * _res = NULL;
29923|  3.96k|    int _mark = p->mark;
29924|  3.96k|    { // STRING
29925|  3.96k|        if (p->error_indicator) {
  ------------------
  |  Branch (29925:13): [True: 0, False: 3.96k]
  ------------------
29926|      0|            p->level--;
29927|      0|            return NULL;
29928|      0|        }
29929|  3.96k|        D(fprintf(stderr, "%*c> _tmp_42[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "STRING"));
29930|  3.96k|        expr_ty string_var;
29931|  3.96k|        if (
29932|  3.96k|            (string_var = _PyPegen_string_token(p))  // STRING
  ------------------
  |  Branch (29932:13): [True: 1.28k, False: 2.67k]
  ------------------
29933|  3.96k|        )
29934|  1.28k|        {
29935|  1.28k|            D(fprintf(stderr, "%*c+ _tmp_42[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "STRING"));
29936|  1.28k|            _res = string_var;
29937|  1.28k|            goto done;
29938|  1.28k|        }
29939|  2.67k|        p->mark = _mark;
29940|  2.67k|        D(fprintf(stderr, "%*c%s _tmp_42[%d-%d]: %s failed!\n", p->level, ' ',
29941|  2.67k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "STRING"));
29942|  2.67k|    }
29943|      0|    { // FSTRING_START
29944|  2.67k|        if (p->error_indicator) {
  ------------------
  |  Branch (29944:13): [True: 0, False: 2.67k]
  ------------------
29945|      0|            p->level--;
29946|      0|            return NULL;
29947|      0|        }
29948|  2.67k|        D(fprintf(stderr, "%*c> _tmp_42[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "FSTRING_START"));
29949|  2.67k|        Token * fstring_start_var;
29950|  2.67k|        if (
29951|  2.67k|            (fstring_start_var = _PyPegen_expect_token(p, FSTRING_START))  // token='FSTRING_START'
  ------------------
  |  |   75|  2.67k|#define FSTRING_START   59
  ------------------
  |  Branch (29951:13): [True: 0, False: 2.67k]
  ------------------
29952|  2.67k|        )
29953|      0|        {
29954|      0|            D(fprintf(stderr, "%*c+ _tmp_42[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "FSTRING_START"));
29955|      0|            _res = fstring_start_var;
29956|      0|            goto done;
29957|      0|        }
29958|  2.67k|        p->mark = _mark;
29959|  2.67k|        D(fprintf(stderr, "%*c%s _tmp_42[%d-%d]: %s failed!\n", p->level, ' ',
29960|  2.67k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "FSTRING_START"));
29961|  2.67k|    }
29962|      0|    { // TSTRING_START
29963|  2.67k|        if (p->error_indicator) {
  ------------------
  |  Branch (29963:13): [True: 0, False: 2.67k]
  ------------------
29964|      0|            p->level--;
29965|      0|            return NULL;
29966|      0|        }
29967|  2.67k|        D(fprintf(stderr, "%*c> _tmp_42[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "TSTRING_START"));
29968|  2.67k|        Token * tstring_start_var;
29969|  2.67k|        if (
29970|  2.67k|            (tstring_start_var = _PyPegen_expect_token(p, TSTRING_START))  // token='TSTRING_START'
  ------------------
  |  |   78|  2.67k|#define TSTRING_START   62
  ------------------
  |  Branch (29970:13): [True: 0, False: 2.67k]
  ------------------
29971|  2.67k|        )
29972|      0|        {
29973|      0|            D(fprintf(stderr, "%*c+ _tmp_42[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "TSTRING_START"));
29974|      0|            _res = tstring_start_var;
29975|      0|            goto done;
29976|      0|        }
29977|  2.67k|        p->mark = _mark;
29978|  2.67k|        D(fprintf(stderr, "%*c%s _tmp_42[%d-%d]: %s failed!\n", p->level, ' ',
29979|  2.67k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "TSTRING_START"));
29980|  2.67k|    }
29981|  2.67k|    _res = NULL;
29982|  3.96k|  done:
29983|  3.96k|    p->level--;
29984|  3.96k|    return _res;
29985|  2.67k|}
parser.c:strings_rule:
17045|  1.28k|{
17046|  1.28k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  2.57k|#  define MAXSTACK 6000
  ------------------
  |  Branch (17046:9): [True: 0, False: 1.28k]
  |  Branch (17046:35): [True: 0, False: 1.28k]
  ------------------
17047|      0|        _Pypegen_stack_overflow(p);
17048|      0|    }
17049|  1.28k|    if (p->error_indicator) {
  ------------------
  |  Branch (17049:9): [True: 0, False: 1.28k]
  ------------------
17050|      0|        p->level--;
17051|      0|        return NULL;
17052|      0|    }
17053|  1.28k|    expr_ty _res = NULL;
17054|  1.28k|    if (_PyPegen_is_memoized(p, strings_type, &_res)) {
  ------------------
  |  |  250|  1.28k|#define strings_type 1161
  ------------------
  |  Branch (17054:9): [True: 549, False: 738]
  ------------------
17055|    549|        p->level--;
17056|    549|        return _res;
17057|    549|    }
17058|    738|    int _mark = p->mark;
17059|    738|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (17059:9): [True: 0, False: 738]
  |  Branch (17059:31): [True: 0, False: 0]
  ------------------
17060|      0|        p->error_indicator = 1;
17061|      0|        p->level--;
17062|      0|        return NULL;
17063|      0|    }
17064|    738|    int _start_lineno = p->tokens[_mark]->lineno;
17065|    738|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|    738|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 738]
  |  |  ------------------
  ------------------
17066|    738|    int _start_col_offset = p->tokens[_mark]->col_offset;
17067|    738|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|    738|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 738]
  |  |  ------------------
  ------------------
17068|    738|    if (p->call_invalid_rules) { // invalid_string_tstring_concat
  ------------------
  |  Branch (17068:9): [True: 351, False: 387]
  ------------------
17069|    351|        if (p->error_indicator) {
  ------------------
  |  Branch (17069:13): [True: 0, False: 351]
  ------------------
17070|      0|            p->level--;
17071|      0|            return NULL;
17072|      0|        }
17073|    351|        D(fprintf(stderr, "%*c> strings[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_string_tstring_concat"));
17074|    351|        void *invalid_string_tstring_concat_var;
17075|    351|        if (
17076|    351|            (invalid_string_tstring_concat_var = invalid_string_tstring_concat_rule(p))  // invalid_string_tstring_concat
  ------------------
  |  Branch (17076:13): [True: 0, False: 351]
  ------------------
17077|    351|        )
17078|      0|        {
17079|      0|            D(fprintf(stderr, "%*c+ strings[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_string_tstring_concat"));
17080|      0|            _res = invalid_string_tstring_concat_var;
17081|      0|            goto done;
17082|      0|        }
17083|    351|        p->mark = _mark;
17084|    351|        D(fprintf(stderr, "%*c%s strings[%d-%d]: %s failed!\n", p->level, ' ',
17085|    351|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_string_tstring_concat"));
17086|    351|    }
17087|    738|    { // ((fstring | string))+
17088|    738|        if (p->error_indicator) {
  ------------------
  |  Branch (17088:13): [True: 1, False: 737]
  ------------------
17089|      1|            p->level--;
17090|      1|            return NULL;
17091|      1|        }
17092|    737|        D(fprintf(stderr, "%*c> strings[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "((fstring | string))+"));
17093|    737|        asdl_expr_seq* a;
17094|    737|        if (
17095|    737|            (a = (asdl_expr_seq*)_loop1_80_rule(p))  // ((fstring | string))+
  ------------------
  |  Branch (17095:13): [True: 732, False: 5]
  ------------------
17096|    737|        )
17097|    732|        {
17098|    732|            D(fprintf(stderr, "%*c+ strings[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "((fstring | string))+"));
17099|    732|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
17100|    732|            if (_token == NULL) {
  ------------------
  |  Branch (17100:17): [True: 0, False: 732]
  ------------------
17101|      0|                p->level--;
17102|      0|                return NULL;
17103|      0|            }
17104|    732|            int _end_lineno = _token->end_lineno;
17105|    732|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|    732|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 732]
  |  |  ------------------
  ------------------
17106|    732|            int _end_col_offset = _token->end_col_offset;
17107|    732|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|    732|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 732]
  |  |  ------------------
  ------------------
17108|    732|            _res = _PyPegen_concatenate_strings ( p , a , EXTRA );
  ------------------
  |  |  307|    732|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
17109|    732|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17109:18): [True: 0, False: 732]
  |  Branch (17109:34): [True: 0, False: 732]
  |  Branch (17109:57): [True: 0, False: 0]
  ------------------
17110|      0|                p->error_indicator = 1;
17111|      0|                p->level--;
17112|      0|                return NULL;
17113|      0|            }
17114|    732|            goto done;
17115|    732|        }
17116|      5|        p->mark = _mark;
17117|      5|        D(fprintf(stderr, "%*c%s strings[%d-%d]: %s failed!\n", p->level, ' ',
17118|      5|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "((fstring | string))+"));
17119|      5|    }
17120|      0|    { // tstring+
17121|      5|        if (p->error_indicator) {
  ------------------
  |  Branch (17121:13): [True: 5, False: 0]
  ------------------
17122|      5|            p->level--;
17123|      5|            return NULL;
17124|      5|        }
17125|      0|        D(fprintf(stderr, "%*c> strings[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "tstring+"));
17126|      0|        asdl_expr_seq* a;
17127|      0|        if (
17128|      0|            (a = (asdl_expr_seq*)_loop1_81_rule(p))  // tstring+
  ------------------
  |  Branch (17128:13): [True: 0, False: 0]
  ------------------
17129|      0|        )
17130|      0|        {
17131|      0|            D(fprintf(stderr, "%*c+ strings[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "tstring+"));
17132|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
17133|      0|            if (_token == NULL) {
  ------------------
  |  Branch (17133:17): [True: 0, False: 0]
  ------------------
17134|      0|                p->level--;
17135|      0|                return NULL;
17136|      0|            }
17137|      0|            int _end_lineno = _token->end_lineno;
17138|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
17139|      0|            int _end_col_offset = _token->end_col_offset;
17140|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
17141|      0|            _res = _PyPegen_concatenate_tstrings ( p , a , EXTRA );
  ------------------
  |  |  307|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
17142|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17142:18): [True: 0, False: 0]
  |  Branch (17142:34): [True: 0, False: 0]
  |  Branch (17142:57): [True: 0, False: 0]
  ------------------
17143|      0|                p->error_indicator = 1;
17144|      0|                p->level--;
17145|      0|                return NULL;
17146|      0|            }
17147|      0|            goto done;
17148|      0|        }
17149|      0|        p->mark = _mark;
17150|      0|        D(fprintf(stderr, "%*c%s strings[%d-%d]: %s failed!\n", p->level, ' ',
17151|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "tstring+"));
17152|      0|    }
17153|      0|    _res = NULL;
17154|    732|  done:
17155|    732|    _PyPegen_insert_memo(p, _mark, strings_type, _res);
  ------------------
  |  |  250|    732|#define strings_type 1161
  ------------------
17156|    732|    p->level--;
17157|    732|    return _res;
17158|      0|}
parser.c:invalid_string_tstring_concat_rule:
26976|    351|{
26977|    351|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    702|#  define MAXSTACK 6000
  ------------------
  |  Branch (26977:9): [True: 0, False: 351]
  |  Branch (26977:35): [True: 0, False: 351]
  ------------------
26978|      0|        _Pypegen_stack_overflow(p);
26979|      0|    }
26980|    351|    if (p->error_indicator) {
  ------------------
  |  Branch (26980:9): [True: 0, False: 351]
  ------------------
26981|      0|        p->level--;
26982|      0|        return NULL;
26983|      0|    }
26984|    351|    void * _res = NULL;
26985|    351|    int _mark = p->mark;
26986|    351|    { // ((fstring | string))+ tstring
26987|    351|        if (p->error_indicator) {
  ------------------
  |  Branch (26987:13): [True: 0, False: 351]
  ------------------
26988|      0|            p->level--;
26989|      0|            return NULL;
26990|      0|        }
26991|    351|        D(fprintf(stderr, "%*c> invalid_string_tstring_concat[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "((fstring | string))+ tstring"));
26992|    351|        asdl_seq * a;
26993|    351|        expr_ty b;
26994|    351|        if (
26995|    351|            (a = _loop1_80_rule(p))  // ((fstring | string))+
  ------------------
  |  Branch (26995:13): [True: 350, False: 1]
  ------------------
26996|    350|            &&
26997|    350|            (b = (expr_ty)tstring_rule(p))  // tstring
  ------------------
  |  Branch (26997:13): [True: 0, False: 350]
  ------------------
26998|    351|        )
26999|      0|        {
27000|      0|            D(fprintf(stderr, "%*c+ invalid_string_tstring_concat[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "((fstring | string))+ tstring"));
27001|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( PyPegen_last_item ( a , expr_ty ) , b , "cannot mix t-string literals with string or bytes literals" );
  ------------------
  |  |  237|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
27002|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (27002:18): [True: 0, False: 0]
  |  Branch (27002:34): [True: 0, False: 0]
  |  Branch (27002:57): [True: 0, False: 0]
  ------------------
27003|      0|                p->error_indicator = 1;
27004|      0|                p->level--;
27005|      0|                return NULL;
27006|      0|            }
27007|      0|            goto done;
27008|      0|        }
27009|    351|        p->mark = _mark;
27010|    351|        D(fprintf(stderr, "%*c%s invalid_string_tstring_concat[%d-%d]: %s failed!\n", p->level, ' ',
27011|    351|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "((fstring | string))+ tstring"));
27012|    351|    }
27013|      0|    { // tstring+ (fstring | string)
27014|    351|        if (p->error_indicator) {
  ------------------
  |  Branch (27014:13): [True: 1, False: 350]
  ------------------
27015|      1|            p->level--;
27016|      1|            return NULL;
27017|      1|        }
27018|    350|        D(fprintf(stderr, "%*c> invalid_string_tstring_concat[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "tstring+ (fstring | string)"));
27019|    350|        asdl_seq * a;
27020|    350|        expr_ty b;
27021|    350|        if (
27022|    350|            (a = _loop1_81_rule(p))  // tstring+
  ------------------
  |  Branch (27022:13): [True: 0, False: 350]
  ------------------
27023|      0|            &&
27024|      0|            (b = (expr_ty)_tmp_154_rule(p))  // fstring | string
  ------------------
  |  Branch (27024:13): [True: 0, False: 0]
  ------------------
27025|    350|        )
27026|      0|        {
27027|      0|            D(fprintf(stderr, "%*c+ invalid_string_tstring_concat[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "tstring+ (fstring | string)"));
27028|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( PyPegen_last_item ( a , expr_ty ) , b , "cannot mix t-string literals with string or bytes literals" );
  ------------------
  |  |  237|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
27029|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (27029:18): [True: 0, False: 0]
  |  Branch (27029:34): [True: 0, False: 0]
  |  Branch (27029:57): [True: 0, False: 0]
  ------------------
27030|      0|                p->error_indicator = 1;
27031|      0|                p->level--;
27032|      0|                return NULL;
27033|      0|            }
27034|      0|            goto done;
27035|      0|        }
27036|    350|        p->mark = _mark;
27037|    350|        D(fprintf(stderr, "%*c%s invalid_string_tstring_concat[%d-%d]: %s failed!\n", p->level, ' ',
27038|    350|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "tstring+ (fstring | string)"));
27039|    350|    }
27040|    350|    _res = NULL;
27041|    350|  done:
27042|    350|    p->level--;
27043|    350|    return _res;
27044|    350|}
parser.c:tstring_rule:
16948|    700|{
16949|    700|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.40k|#  define MAXSTACK 6000
  ------------------
  |  Branch (16949:9): [True: 0, False: 700]
  |  Branch (16949:35): [True: 0, False: 700]
  ------------------
16950|      0|        _Pypegen_stack_overflow(p);
16951|      0|    }
16952|    700|    if (p->error_indicator) {
  ------------------
  |  Branch (16952:9): [True: 0, False: 700]
  ------------------
16953|      0|        p->level--;
16954|      0|        return NULL;
16955|      0|    }
16956|    700|    expr_ty _res = NULL;
16957|    700|    if (_PyPegen_is_memoized(p, tstring_type, &_res)) {
  ------------------
  |  |  248|    700|#define tstring_type 1159
  ------------------
  |  Branch (16957:9): [True: 0, False: 700]
  ------------------
16958|      0|        p->level--;
16959|      0|        return _res;
16960|      0|    }
16961|    700|    int _mark = p->mark;
16962|    700|    { // TSTRING_START tstring_middle* TSTRING_END
16963|    700|        if (p->error_indicator) {
  ------------------
  |  Branch (16963:13): [True: 0, False: 700]
  ------------------
16964|      0|            p->level--;
16965|      0|            return NULL;
16966|      0|        }
16967|    700|        D(fprintf(stderr, "%*c> tstring[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "TSTRING_START tstring_middle* TSTRING_END"));
16968|    700|        Token * a;
16969|    700|        asdl_seq * b;
16970|    700|        Token * c;
16971|    700|        if (
16972|    700|            (a = _PyPegen_expect_token(p, TSTRING_START))  // token='TSTRING_START'
  ------------------
  |  |   78|    700|#define TSTRING_START   62
  ------------------
  |  Branch (16972:13): [True: 0, False: 700]
  ------------------
16973|      0|            &&
16974|      0|            (b = _loop0_79_rule(p))  // tstring_middle*
  ------------------
  |  Branch (16974:13): [True: 0, False: 0]
  ------------------
16975|      0|            &&
16976|      0|            (c = _PyPegen_expect_token(p, TSTRING_END))  // token='TSTRING_END'
  ------------------
  |  |   80|      0|#define TSTRING_END     64
  ------------------
  |  Branch (16976:13): [True: 0, False: 0]
  ------------------
16977|    700|        )
16978|      0|        {
16979|      0|            D(fprintf(stderr, "%*c+ tstring[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "TSTRING_START tstring_middle* TSTRING_END"));
16980|      0|            _res = CHECK_VERSION ( expr_ty , 14 , "t-strings are" , _PyPegen_template_str ( p , a , ( asdl_expr_seq* ) b , c ) );
  ------------------
  |  |  345|      0|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
16981|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16981:18): [True: 0, False: 0]
  |  Branch (16981:34): [True: 0, False: 0]
  |  Branch (16981:57): [True: 0, False: 0]
  ------------------
16982|      0|                p->error_indicator = 1;
16983|      0|                p->level--;
16984|      0|                return NULL;
16985|      0|            }
16986|      0|            goto done;
16987|      0|        }
16988|    700|        p->mark = _mark;
16989|    700|        D(fprintf(stderr, "%*c%s tstring[%d-%d]: %s failed!\n", p->level, ' ',
16990|    700|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "TSTRING_START tstring_middle* TSTRING_END"));
16991|    700|    }
16992|    700|    _res = NULL;
16993|    700|  done:
16994|    700|    _PyPegen_insert_memo(p, _mark, tstring_type, _res);
  ------------------
  |  |  248|    700|#define tstring_type 1159
  ------------------
16995|    700|    p->level--;
16996|    700|    return _res;
16997|    700|}
parser.c:yield_expr_rule:
11762|    904|{
11763|    904|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.80k|#  define MAXSTACK 6000
  ------------------
  |  Branch (11763:9): [True: 0, False: 904]
  |  Branch (11763:35): [True: 0, False: 904]
  ------------------
11764|      0|        _Pypegen_stack_overflow(p);
11765|      0|    }
11766|    904|    if (p->error_indicator) {
  ------------------
  |  Branch (11766:9): [True: 0, False: 904]
  ------------------
11767|      0|        p->level--;
11768|      0|        return NULL;
11769|      0|    }
11770|    904|    expr_ty _res = NULL;
11771|    904|    int _mark = p->mark;
11772|    904|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (11772:9): [True: 0, False: 904]
  |  Branch (11772:31): [True: 0, False: 0]
  ------------------
11773|      0|        p->error_indicator = 1;
11774|      0|        p->level--;
11775|      0|        return NULL;
11776|      0|    }
11777|    904|    int _start_lineno = p->tokens[_mark]->lineno;
11778|    904|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|    904|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 904]
  |  |  ------------------
  ------------------
11779|    904|    int _start_col_offset = p->tokens[_mark]->col_offset;
11780|    904|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|    904|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 904]
  |  |  ------------------
  ------------------
11781|    904|    { // 'yield' 'from' expression
11782|    904|        if (p->error_indicator) {
  ------------------
  |  Branch (11782:13): [True: 0, False: 904]
  ------------------
11783|      0|            p->level--;
11784|      0|            return NULL;
11785|      0|        }
11786|    904|        D(fprintf(stderr, "%*c> yield_expr[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'yield' 'from' expression"));
11787|    904|        Token * _keyword;
11788|    904|        Token * _keyword_1;
11789|    904|        expr_ty a;
11790|    904|        if (
11791|    904|            (_keyword = _PyPegen_expect_token(p, 588))  // token='yield'
  ------------------
  |  Branch (11791:13): [True: 0, False: 904]
  ------------------
11792|      0|            &&
11793|      0|            (_keyword_1 = _PyPegen_expect_token(p, 650))  // token='from'
  ------------------
  |  Branch (11793:13): [True: 0, False: 0]
  ------------------
11794|      0|            &&
11795|      0|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (11795:13): [True: 0, False: 0]
  ------------------
11796|    904|        )
11797|      0|        {
11798|      0|            D(fprintf(stderr, "%*c+ yield_expr[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'yield' 'from' expression"));
11799|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
11800|      0|            if (_token == NULL) {
  ------------------
  |  Branch (11800:17): [True: 0, False: 0]
  ------------------
11801|      0|                p->level--;
11802|      0|                return NULL;
11803|      0|            }
11804|      0|            int _end_lineno = _token->end_lineno;
11805|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
11806|      0|            int _end_col_offset = _token->end_col_offset;
11807|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
11808|      0|            _res = _PyAST_YieldFrom ( a , EXTRA );
  ------------------
  |  |  307|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
11809|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11809:18): [True: 0, False: 0]
  |  Branch (11809:34): [True: 0, False: 0]
  |  Branch (11809:57): [True: 0, False: 0]
  ------------------
11810|      0|                p->error_indicator = 1;
11811|      0|                p->level--;
11812|      0|                return NULL;
11813|      0|            }
11814|      0|            goto done;
11815|      0|        }
11816|    904|        p->mark = _mark;
11817|    904|        D(fprintf(stderr, "%*c%s yield_expr[%d-%d]: %s failed!\n", p->level, ' ',
11818|    904|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'yield' 'from' expression"));
11819|    904|    }
11820|      0|    { // 'yield' star_expressions?
11821|    904|        if (p->error_indicator) {
  ------------------
  |  Branch (11821:13): [True: 0, False: 904]
  ------------------
11822|      0|            p->level--;
11823|      0|            return NULL;
11824|      0|        }
11825|    904|        D(fprintf(stderr, "%*c> yield_expr[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'yield' star_expressions?"));
11826|    904|        Token * _keyword;
11827|    904|        void *a;
11828|    904|        if (
11829|    904|            (_keyword = _PyPegen_expect_token(p, 588))  // token='yield'
  ------------------
  |  Branch (11829:13): [True: 0, False: 904]
  ------------------
11830|      0|            &&
11831|      0|            (a = star_expressions_rule(p), !p->error_indicator)  // star_expressions?
  ------------------
  |  Branch (11831:13): [True: 0, False: 0]
  ------------------
11832|    904|        )
11833|      0|        {
11834|      0|            D(fprintf(stderr, "%*c+ yield_expr[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'yield' star_expressions?"));
11835|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
11836|      0|            if (_token == NULL) {
  ------------------
  |  Branch (11836:17): [True: 0, False: 0]
  ------------------
11837|      0|                p->level--;
11838|      0|                return NULL;
11839|      0|            }
11840|      0|            int _end_lineno = _token->end_lineno;
11841|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
11842|      0|            int _end_col_offset = _token->end_col_offset;
11843|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
11844|      0|            _res = _PyAST_Yield ( a , EXTRA );
  ------------------
  |  |  307|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
11845|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11845:18): [True: 0, False: 0]
  |  Branch (11845:34): [True: 0, False: 0]
  |  Branch (11845:57): [True: 0, False: 0]
  ------------------
11846|      0|                p->error_indicator = 1;
11847|      0|                p->level--;
11848|      0|                return NULL;
11849|      0|            }
11850|      0|            goto done;
11851|      0|        }
11852|    904|        p->mark = _mark;
11853|    904|        D(fprintf(stderr, "%*c%s yield_expr[%d-%d]: %s failed!\n", p->level, ' ',
11854|    904|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'yield' star_expressions?"));
11855|    904|    }
11856|    904|    _res = NULL;
11857|    904|  done:
11858|    904|    p->level--;
11859|    904|    return _res;
11860|    904|}
parser.c:_tmp_154_rule:
36765|  2.19k|{
36766|  2.19k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  4.38k|#  define MAXSTACK 6000
  ------------------
  |  Branch (36766:9): [True: 0, False: 2.19k]
  |  Branch (36766:35): [True: 0, False: 2.19k]
  ------------------
36767|      0|        _Pypegen_stack_overflow(p);
36768|      0|    }
36769|  2.19k|    if (p->error_indicator) {
  ------------------
  |  Branch (36769:9): [True: 0, False: 2.19k]
  ------------------
36770|      0|        p->level--;
36771|      0|        return NULL;
36772|      0|    }
36773|  2.19k|    void * _res = NULL;
36774|  2.19k|    int _mark = p->mark;
36775|  2.19k|    { // fstring
36776|  2.19k|        if (p->error_indicator) {
  ------------------
  |  Branch (36776:13): [True: 0, False: 2.19k]
  ------------------
36777|      0|            p->level--;
36778|      0|            return NULL;
36779|      0|        }
36780|  2.19k|        D(fprintf(stderr, "%*c> _tmp_154[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "fstring"));
36781|  2.19k|        expr_ty fstring_var;
36782|  2.19k|        if (
36783|  2.19k|            (fstring_var = fstring_rule(p))  // fstring
  ------------------
  |  Branch (36783:13): [True: 0, False: 2.19k]
  ------------------
36784|  2.19k|        )
36785|      0|        {
36786|      0|            D(fprintf(stderr, "%*c+ _tmp_154[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "fstring"));
36787|      0|            _res = fstring_var;
36788|      0|            goto done;
36789|      0|        }
36790|  2.19k|        p->mark = _mark;
36791|  2.19k|        D(fprintf(stderr, "%*c%s _tmp_154[%d-%d]: %s failed!\n", p->level, ' ',
36792|  2.19k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "fstring"));
36793|  2.19k|    }
36794|      0|    { // string
36795|  2.19k|        if (p->error_indicator) {
  ------------------
  |  Branch (36795:13): [True: 1, False: 2.19k]
  ------------------
36796|      1|            p->level--;
36797|      1|            return NULL;
36798|      1|        }
36799|  2.19k|        D(fprintf(stderr, "%*c> _tmp_154[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "string"));
36800|  2.19k|        expr_ty string_var;
36801|  2.19k|        if (
36802|  2.19k|            (string_var = string_rule(p))  // string
  ------------------
  |  Branch (36802:13): [True: 1.10k, False: 1.08k]
  ------------------
36803|  2.19k|        )
36804|  1.10k|        {
36805|  1.10k|            D(fprintf(stderr, "%*c+ _tmp_154[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "string"));
36806|  1.10k|            _res = string_var;
36807|  1.10k|            goto done;
36808|  1.10k|        }
36809|  1.08k|        p->mark = _mark;
36810|  1.08k|        D(fprintf(stderr, "%*c%s _tmp_154[%d-%d]: %s failed!\n", p->level, ' ',
36811|  1.08k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "string"));
36812|  1.08k|    }
36813|  1.08k|    _res = NULL;
36814|  2.19k|  done:
36815|  2.19k|    p->level--;
36816|  2.19k|    return _res;
36817|  1.08k|}
parser.c:fstring_rule:
16517|  2.19k|{
16518|  2.19k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  4.38k|#  define MAXSTACK 6000
  ------------------
  |  Branch (16518:9): [True: 0, False: 2.19k]
  |  Branch (16518:35): [True: 0, False: 2.19k]
  ------------------
16519|      0|        _Pypegen_stack_overflow(p);
16520|      0|    }
16521|  2.19k|    if (p->error_indicator) {
  ------------------
  |  Branch (16521:9): [True: 0, False: 2.19k]
  ------------------
16522|      0|        p->level--;
16523|      0|        return NULL;
16524|      0|    }
16525|  2.19k|    expr_ty _res = NULL;
16526|  2.19k|    int _mark = p->mark;
16527|  2.19k|    { // FSTRING_START fstring_middle* FSTRING_END
16528|  2.19k|        if (p->error_indicator) {
  ------------------
  |  Branch (16528:13): [True: 0, False: 2.19k]
  ------------------
16529|      0|            p->level--;
16530|      0|            return NULL;
16531|      0|        }
16532|  2.19k|        D(fprintf(stderr, "%*c> fstring[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "FSTRING_START fstring_middle* FSTRING_END"));
16533|  2.19k|        Token * a;
16534|  2.19k|        asdl_seq * b;
16535|  2.19k|        Token * c;
16536|  2.19k|        if (
16537|  2.19k|            (a = _PyPegen_expect_token(p, FSTRING_START))  // token='FSTRING_START'
  ------------------
  |  |   75|  2.19k|#define FSTRING_START   59
  ------------------
  |  Branch (16537:13): [True: 0, False: 2.19k]
  ------------------
16538|      0|            &&
16539|      0|            (b = _loop0_77_rule(p))  // fstring_middle*
  ------------------
  |  Branch (16539:13): [True: 0, False: 0]
  ------------------
16540|      0|            &&
16541|      0|            (c = _PyPegen_expect_token(p, FSTRING_END))  // token='FSTRING_END'
  ------------------
  |  |   77|      0|#define FSTRING_END     61
  ------------------
  |  Branch (16541:13): [True: 0, False: 0]
  ------------------
16542|  2.19k|        )
16543|      0|        {
16544|      0|            D(fprintf(stderr, "%*c+ fstring[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "FSTRING_START fstring_middle* FSTRING_END"));
16545|      0|            _res = _PyPegen_joined_str ( p , a , ( asdl_expr_seq* ) b , c );
16546|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16546:18): [True: 0, False: 0]
  |  Branch (16546:34): [True: 0, False: 0]
  |  Branch (16546:57): [True: 0, False: 0]
  ------------------
16547|      0|                p->error_indicator = 1;
16548|      0|                p->level--;
16549|      0|                return NULL;
16550|      0|            }
16551|      0|            goto done;
16552|      0|        }
16553|  2.19k|        p->mark = _mark;
16554|  2.19k|        D(fprintf(stderr, "%*c%s fstring[%d-%d]: %s failed!\n", p->level, ' ',
16555|  2.19k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "FSTRING_START fstring_middle* FSTRING_END"));
16556|  2.19k|    }
16557|  2.19k|    _res = NULL;
16558|  2.19k|  done:
16559|  2.19k|    p->level--;
16560|  2.19k|    return _res;
16561|  2.19k|}
parser.c:string_rule:
17002|  2.19k|{
17003|  2.19k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  4.38k|#  define MAXSTACK 6000
  ------------------
  |  Branch (17003:9): [True: 0, False: 2.19k]
  |  Branch (17003:35): [True: 0, False: 2.19k]
  ------------------
17004|      0|        _Pypegen_stack_overflow(p);
17005|      0|    }
17006|  2.19k|    if (p->error_indicator) {
  ------------------
  |  Branch (17006:9): [True: 0, False: 2.19k]
  ------------------
17007|      0|        p->level--;
17008|      0|        return NULL;
17009|      0|    }
17010|  2.19k|    expr_ty _res = NULL;
17011|  2.19k|    int _mark = p->mark;
17012|  2.19k|    { // STRING
17013|  2.19k|        if (p->error_indicator) {
  ------------------
  |  Branch (17013:13): [True: 0, False: 2.19k]
  ------------------
17014|      0|            p->level--;
17015|      0|            return NULL;
17016|      0|        }
17017|  2.19k|        D(fprintf(stderr, "%*c> string[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "STRING"));
17018|  2.19k|        Token* s;
17019|  2.19k|        if (
17020|  2.19k|            (s = (Token*)_PyPegen_string_token(p))  // STRING
  ------------------
  |  Branch (17020:13): [True: 1.10k, False: 1.08k]
  ------------------
17021|  2.19k|        )
17022|  1.10k|        {
17023|  1.10k|            D(fprintf(stderr, "%*c+ string[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "STRING"));
17024|  1.10k|            _res = _PyPegen_constant_from_string ( p , s );
17025|  1.10k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17025:18): [True: 5, False: 1.10k]
  |  Branch (17025:34): [True: 0, False: 1.10k]
  |  Branch (17025:57): [True: 5, False: 0]
  ------------------
17026|      5|                p->error_indicator = 1;
17027|      5|                p->level--;
17028|      5|                return NULL;
17029|      5|            }
17030|  1.10k|            goto done;
17031|  1.10k|        }
17032|  1.08k|        p->mark = _mark;
17033|  1.08k|        D(fprintf(stderr, "%*c%s string[%d-%d]: %s failed!\n", p->level, ' ',
17034|  1.08k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "STRING"));
17035|  1.08k|    }
17036|  1.08k|    _res = NULL;
17037|  2.18k|  done:
17038|  2.18k|    p->level--;
17039|  2.18k|    return _res;
17040|  1.08k|}
parser.c:_loop1_80_rule:
32361|  1.08k|{
32362|  1.08k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  2.17k|#  define MAXSTACK 6000
  ------------------
  |  Branch (32362:9): [True: 0, False: 1.08k]
  |  Branch (32362:35): [True: 0, False: 1.08k]
  ------------------
32363|      0|        _Pypegen_stack_overflow(p);
32364|      0|    }
32365|  1.08k|    if (p->error_indicator) {
  ------------------
  |  Branch (32365:9): [True: 0, False: 1.08k]
  ------------------
32366|      0|        p->level--;
32367|      0|        return NULL;
32368|      0|    }
32369|  1.08k|    void *_res = NULL;
32370|  1.08k|    int _mark = p->mark;
32371|  1.08k|    void **_children = PyMem_Malloc(sizeof(void *));
32372|  1.08k|    if (!_children) {
  ------------------
  |  Branch (32372:9): [True: 0, False: 1.08k]
  ------------------
32373|      0|        p->error_indicator = 1;
32374|      0|        PyErr_NoMemory();
32375|      0|        p->level--;
32376|      0|        return NULL;
32377|      0|    }
32378|  1.08k|    Py_ssize_t _children_capacity = 1;
32379|  1.08k|    Py_ssize_t _n = 0;
32380|  1.08k|    { // (fstring | string)
32381|  1.08k|        if (p->error_indicator) {
  ------------------
  |  Branch (32381:13): [True: 0, False: 1.08k]
  ------------------
32382|      0|            p->level--;
32383|      0|            return NULL;
32384|      0|        }
32385|  1.08k|        D(fprintf(stderr, "%*c> _loop1_80[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(fstring | string)"));
32386|  1.08k|        void *_tmp_154_var;
32387|  1.08k|        while (
32388|  2.19k|            (_tmp_154_var = _tmp_154_rule(p))  // fstring | string
  ------------------
  |  Branch (32388:13): [True: 1.10k, False: 1.08k]
  ------------------
32389|  1.08k|        )
32390|  1.10k|        {
32391|  1.10k|            _res = _tmp_154_var;
32392|  1.10k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (32392:17): [True: 8, False: 1.09k]
  ------------------
32393|      8|                _children_capacity *= 2;
32394|      8|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
32395|      8|                if (!_new_children) {
  ------------------
  |  Branch (32395:21): [True: 0, False: 8]
  ------------------
32396|      0|                    PyMem_Free(_children);
32397|      0|                    p->error_indicator = 1;
32398|      0|                    PyErr_NoMemory();
32399|      0|                    p->level--;
32400|      0|                    return NULL;
32401|      0|                }
32402|      8|                _children = _new_children;
32403|      8|            }
32404|  1.10k|            _children[_n++] = _res;
32405|  1.10k|            _mark = p->mark;
32406|  1.10k|        }
32407|  1.08k|        p->mark = _mark;
32408|  1.08k|        D(fprintf(stderr, "%*c%s _loop1_80[%d-%d]: %s failed!\n", p->level, ' ',
32409|  1.08k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(fstring | string)"));
32410|  1.08k|    }
32411|  1.08k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (32411:9): [True: 5, False: 1.08k]
  |  Branch (32411:20): [True: 1, False: 1.08k]
  ------------------
32412|      6|        PyMem_Free(_children);
32413|      6|        p->level--;
32414|      6|        return NULL;
32415|      6|    }
32416|  1.08k|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
32417|  1.08k|    if (!_seq) {
  ------------------
  |  Branch (32417:9): [True: 0, False: 1.08k]
  ------------------
32418|      0|        PyMem_Free(_children);
32419|      0|        p->error_indicator = 1;
32420|      0|        PyErr_NoMemory();
32421|      0|        p->level--;
32422|      0|        return NULL;
32423|      0|    }
32424|  2.17k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  1.09k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  302|  2.17k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (32424:28): [True: 1.09k, False: 1.08k]
  ------------------
32425|  1.08k|    PyMem_Free(_children);
32426|  1.08k|    p->level--;
32427|  1.08k|    return _seq;
32428|  1.08k|}
parser.c:_loop1_81_rule:
32433|    350|{
32434|    350|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    700|#  define MAXSTACK 6000
  ------------------
  |  Branch (32434:9): [True: 0, False: 350]
  |  Branch (32434:35): [True: 0, False: 350]
  ------------------
32435|      0|        _Pypegen_stack_overflow(p);
32436|      0|    }
32437|    350|    if (p->error_indicator) {
  ------------------
  |  Branch (32437:9): [True: 0, False: 350]
  ------------------
32438|      0|        p->level--;
32439|      0|        return NULL;
32440|      0|    }
32441|    350|    void *_res = NULL;
32442|    350|    int _mark = p->mark;
32443|    350|    void **_children = PyMem_Malloc(sizeof(void *));
32444|    350|    if (!_children) {
  ------------------
  |  Branch (32444:9): [True: 0, False: 350]
  ------------------
32445|      0|        p->error_indicator = 1;
32446|      0|        PyErr_NoMemory();
32447|      0|        p->level--;
32448|      0|        return NULL;
32449|      0|    }
32450|    350|    Py_ssize_t _children_capacity = 1;
32451|    350|    Py_ssize_t _n = 0;
32452|    350|    { // tstring
32453|    350|        if (p->error_indicator) {
  ------------------
  |  Branch (32453:13): [True: 0, False: 350]
  ------------------
32454|      0|            p->level--;
32455|      0|            return NULL;
32456|      0|        }
32457|    350|        D(fprintf(stderr, "%*c> _loop1_81[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "tstring"));
32458|    350|        expr_ty tstring_var;
32459|    350|        while (
32460|    350|            (tstring_var = tstring_rule(p))  // tstring
  ------------------
  |  Branch (32460:13): [True: 0, False: 350]
  ------------------
32461|    350|        )
32462|      0|        {
32463|      0|            _res = tstring_var;
32464|      0|            if (_n == _children_capacity) {
  ------------------
  |  Branch (32464:17): [True: 0, False: 0]
  ------------------
32465|      0|                _children_capacity *= 2;
32466|      0|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
32467|      0|                if (!_new_children) {
  ------------------
  |  Branch (32467:21): [True: 0, False: 0]
  ------------------
32468|      0|                    PyMem_Free(_children);
32469|      0|                    p->error_indicator = 1;
32470|      0|                    PyErr_NoMemory();
32471|      0|                    p->level--;
32472|      0|                    return NULL;
32473|      0|                }
32474|      0|                _children = _new_children;
32475|      0|            }
32476|      0|            _children[_n++] = _res;
32477|      0|            _mark = p->mark;
32478|      0|        }
32479|    350|        p->mark = _mark;
32480|    350|        D(fprintf(stderr, "%*c%s _loop1_81[%d-%d]: %s failed!\n", p->level, ' ',
32481|    350|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "tstring"));
32482|    350|    }
32483|    350|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (32483:9): [True: 350, False: 0]
  |  Branch (32483:20): [True: 0, False: 0]
  ------------------
32484|    350|        PyMem_Free(_children);
32485|    350|        p->level--;
32486|    350|        return NULL;
32487|    350|    }
32488|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
32489|      0|    if (!_seq) {
  ------------------
  |  Branch (32489:9): [True: 0, False: 0]
  ------------------
32490|      0|        PyMem_Free(_children);
32491|      0|        p->error_indicator = 1;
32492|      0|        PyErr_NoMemory();
32493|      0|        p->level--;
32494|      0|        return NULL;
32495|      0|    }
32496|      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))
  |  |  ------------------
  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (32496:28): [True: 0, False: 0]
  ------------------
32497|      0|    PyMem_Free(_children);
32498|      0|    p->level--;
32499|      0|    return _seq;
32500|      0|}
parser.c:_tmp_66_rule:
31391|  1.04k|{
31392|  1.04k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  2.08k|#  define MAXSTACK 6000
  ------------------
  |  Branch (31392:9): [True: 0, False: 1.04k]
  |  Branch (31392:35): [True: 0, False: 1.04k]
  ------------------
31393|      0|        _Pypegen_stack_overflow(p);
31394|      0|    }
31395|  1.04k|    if (p->error_indicator) {
  ------------------
  |  Branch (31395:9): [True: 0, False: 1.04k]
  ------------------
31396|      0|        p->level--;
31397|      0|        return NULL;
31398|      0|    }
31399|  1.04k|    void * _res = NULL;
31400|  1.04k|    int _mark = p->mark;
31401|  1.04k|    { // genexp
31402|  1.04k|        if (p->error_indicator) {
  ------------------
  |  Branch (31402:13): [True: 0, False: 1.04k]
  ------------------
31403|      0|            p->level--;
31404|      0|            return NULL;
31405|      0|        }
31406|  1.04k|        D(fprintf(stderr, "%*c> _tmp_66[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "genexp"));
31407|  1.04k|        expr_ty genexp_var;
31408|  1.04k|        if (
31409|  1.04k|            (genexp_var = genexp_rule(p))  // genexp
  ------------------
  |  Branch (31409:13): [True: 0, False: 1.04k]
  ------------------
31410|  1.04k|        )
31411|      0|        {
31412|      0|            D(fprintf(stderr, "%*c+ _tmp_66[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "genexp"));
31413|      0|            _res = genexp_var;
31414|      0|            goto done;
31415|      0|        }
31416|  1.04k|        p->mark = _mark;
31417|  1.04k|        D(fprintf(stderr, "%*c%s _tmp_66[%d-%d]: %s failed!\n", p->level, ' ',
31418|  1.04k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "genexp"));
31419|  1.04k|    }
31420|      0|    { // tuple
31421|  1.04k|        if (p->error_indicator) {
  ------------------
  |  Branch (31421:13): [True: 136, False: 908]
  ------------------
31422|    136|            p->level--;
31423|    136|            return NULL;
31424|    136|        }
31425|    908|        D(fprintf(stderr, "%*c> _tmp_66[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "tuple"));
31426|    908|        expr_ty tuple_var;
31427|    908|        if (
31428|    908|            (tuple_var = tuple_rule(p))  // tuple
  ------------------
  |  Branch (31428:13): [True: 4, False: 904]
  ------------------
31429|    908|        )
31430|      4|        {
31431|      4|            D(fprintf(stderr, "%*c+ _tmp_66[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "tuple"));
31432|      4|            _res = tuple_var;
31433|      4|            goto done;
31434|      4|        }
31435|    904|        p->mark = _mark;
31436|    904|        D(fprintf(stderr, "%*c%s _tmp_66[%d-%d]: %s failed!\n", p->level, ' ',
31437|    904|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "tuple"));
31438|    904|    }
31439|      0|    { // group
31440|    904|        if (p->error_indicator) {
  ------------------
  |  Branch (31440:13): [True: 0, False: 904]
  ------------------
31441|      0|            p->level--;
31442|      0|            return NULL;
31443|      0|        }
31444|    904|        D(fprintf(stderr, "%*c> _tmp_66[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "group"));
31445|    904|        expr_ty group_var;
31446|    904|        if (
31447|    904|            (group_var = group_rule(p))  // group
  ------------------
  |  Branch (31447:13): [True: 0, False: 904]
  ------------------
31448|    904|        )
31449|      0|        {
31450|      0|            D(fprintf(stderr, "%*c+ _tmp_66[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "group"));
31451|      0|            _res = group_var;
31452|      0|            goto done;
31453|      0|        }
31454|    904|        p->mark = _mark;
31455|    904|        D(fprintf(stderr, "%*c%s _tmp_66[%d-%d]: %s failed!\n", p->level, ' ',
31456|    904|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "group"));
31457|    904|    }
31458|    904|    _res = NULL;
31459|    908|  done:
31460|    908|    p->level--;
31461|    908|    return _res;
31462|    904|}
parser.c:tuple_rule:
17334|  1.09k|{
17335|  1.09k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  2.18k|#  define MAXSTACK 6000
  ------------------
  |  Branch (17335:9): [True: 0, False: 1.09k]
  |  Branch (17335:35): [True: 0, False: 1.09k]
  ------------------
17336|      0|        _Pypegen_stack_overflow(p);
17337|      0|    }
17338|  1.09k|    if (p->error_indicator) {
  ------------------
  |  Branch (17338:9): [True: 0, False: 1.09k]
  ------------------
17339|      0|        p->level--;
17340|      0|        return NULL;
17341|      0|    }
17342|  1.09k|    expr_ty _res = NULL;
17343|  1.09k|    int _mark = p->mark;
17344|  1.09k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (17344:9): [True: 0, False: 1.09k]
  |  Branch (17344:31): [True: 0, False: 0]
  ------------------
17345|      0|        p->error_indicator = 1;
17346|      0|        p->level--;
17347|      0|        return NULL;
17348|      0|    }
17349|  1.09k|    int _start_lineno = p->tokens[_mark]->lineno;
17350|  1.09k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|  1.09k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 1.09k]
  |  |  ------------------
  ------------------
17351|  1.09k|    int _start_col_offset = p->tokens[_mark]->col_offset;
17352|  1.09k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|  1.09k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 1.09k]
  |  |  ------------------
  ------------------
17353|  1.09k|    { // '(' [display_item ',' display_items?] ')'
17354|  1.09k|        if (p->error_indicator) {
  ------------------
  |  Branch (17354:13): [True: 0, False: 1.09k]
  ------------------
17355|      0|            p->level--;
17356|      0|            return NULL;
17357|      0|        }
17358|  1.09k|        D(fprintf(stderr, "%*c> tuple[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' [display_item ',' display_items?] ')'"));
17359|  1.09k|        Token * _literal;
17360|  1.09k|        Token * _literal_1;
17361|  1.09k|        void *a;
17362|  1.09k|        if (
17363|  1.09k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (17363:13): [True: 974, False: 116]
  ------------------
17364|    974|            &&
17365|    974|            (a = _tmp_84_rule(p), !p->error_indicator)  // [display_item ',' display_items?]
  ------------------
  |  Branch (17365:13): [True: 974, False: 0]
  ------------------
17366|    974|            &&
17367|    974|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (17367:13): [True: 4, False: 970]
  ------------------
17368|  1.09k|        )
17369|      4|        {
17370|      4|            D(fprintf(stderr, "%*c+ tuple[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' [display_item ',' display_items?] ')'"));
17371|      4|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
17372|      4|            if (_token == NULL) {
  ------------------
  |  Branch (17372:17): [True: 0, False: 4]
  ------------------
17373|      0|                p->level--;
17374|      0|                return NULL;
17375|      0|            }
17376|      4|            int _end_lineno = _token->end_lineno;
17377|      4|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|      4|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 4]
  |  |  ------------------
  ------------------
17378|      4|            int _end_col_offset = _token->end_col_offset;
17379|      4|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|      4|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 4]
  |  |  ------------------
  ------------------
17380|      4|            _res = _PyAST_Tuple ( a , Load , EXTRA );
  ------------------
  |  |  307|      4|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
17381|      4|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17381:18): [True: 0, False: 4]
  |  Branch (17381:34): [True: 0, False: 4]
  |  Branch (17381:57): [True: 0, False: 0]
  ------------------
17382|      0|                p->error_indicator = 1;
17383|      0|                p->level--;
17384|      0|                return NULL;
17385|      0|            }
17386|      4|            goto done;
17387|      4|        }
17388|  1.08k|        p->mark = _mark;
17389|  1.08k|        D(fprintf(stderr, "%*c%s tuple[%d-%d]: %s failed!\n", p->level, ' ',
17390|  1.08k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' [display_item ',' display_items?] ')'"));
17391|  1.08k|    }
17392|  1.08k|    _res = NULL;
17393|  1.09k|  done:
17394|  1.09k|    p->level--;
17395|  1.09k|    return _res;
17396|  1.08k|}
parser.c:_tmp_84_rule:
32622|    974|{
32623|    974|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.94k|#  define MAXSTACK 6000
  ------------------
  |  Branch (32623:9): [True: 0, False: 974]
  |  Branch (32623:35): [True: 0, False: 974]
  ------------------
32624|      0|        _Pypegen_stack_overflow(p);
32625|      0|    }
32626|    974|    if (p->error_indicator) {
  ------------------
  |  Branch (32626:9): [True: 0, False: 974]
  ------------------
32627|      0|        p->level--;
32628|      0|        return NULL;
32629|      0|    }
32630|    974|    void * _res = NULL;
32631|    974|    int _mark = p->mark;
32632|    974|    { // display_item ',' display_items?
32633|    974|        if (p->error_indicator) {
  ------------------
  |  Branch (32633:13): [True: 0, False: 974]
  ------------------
32634|      0|            p->level--;
32635|      0|            return NULL;
32636|      0|        }
32637|    974|        D(fprintf(stderr, "%*c> _tmp_84[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "display_item ',' display_items?"));
32638|    974|        Token * _literal;
32639|    974|        expr_ty y;
32640|    974|        void *z;
32641|    974|        if (
32642|    974|            (y = display_item_rule(p))  // display_item
  ------------------
  |  Branch (32642:13): [True: 687, False: 287]
  ------------------
32643|    687|            &&
32644|    687|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (32644:13): [True: 4, False: 683]
  ------------------
32645|      4|            &&
32646|      4|            (z = display_items_rule(p), !p->error_indicator)  // display_items?
  ------------------
  |  Branch (32646:13): [True: 4, False: 0]
  ------------------
32647|    974|        )
32648|      4|        {
32649|      4|            D(fprintf(stderr, "%*c+ _tmp_84[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "display_item ',' display_items?"));
32650|      4|            _res = _PyPegen_seq_insert_in_front ( p , y , z );
32651|      4|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (32651:18): [True: 0, False: 4]
  |  Branch (32651:34): [True: 0, False: 4]
  |  Branch (32651:57): [True: 0, False: 0]
  ------------------
32652|      0|                p->error_indicator = 1;
32653|      0|                p->level--;
32654|      0|                return NULL;
32655|      0|            }
32656|      4|            goto done;
32657|      4|        }
32658|    970|        p->mark = _mark;
32659|    970|        D(fprintf(stderr, "%*c%s _tmp_84[%d-%d]: %s failed!\n", p->level, ' ',
32660|    970|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "display_item ',' display_items?"));
32661|    970|    }
32662|    970|    _res = NULL;
32663|    974|  done:
32664|    974|    p->level--;
32665|    974|    return _res;
32666|    970|}
parser.c:display_item_rule:
17210|  1.00k|{
17211|  1.00k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  2.01k|#  define MAXSTACK 6000
  ------------------
  |  Branch (17211:9): [True: 0, False: 1.00k]
  |  Branch (17211:35): [True: 0, False: 1.00k]
  ------------------
17212|      0|        _Pypegen_stack_overflow(p);
17213|      0|    }
17214|  1.00k|    if (p->error_indicator) {
  ------------------
  |  Branch (17214:9): [True: 0, False: 1.00k]
  ------------------
17215|      0|        p->level--;
17216|      0|        return NULL;
17217|      0|    }
17218|  1.00k|    expr_ty _res = NULL;
17219|  1.00k|    int _mark = p->mark;
17220|  1.00k|    if (p->call_invalid_rules) { // invalid_starred_expression_unpacking_sequence
  ------------------
  |  Branch (17220:9): [True: 238, False: 770]
  ------------------
17221|    238|        if (p->error_indicator) {
  ------------------
  |  Branch (17221:13): [True: 0, False: 238]
  ------------------
17222|      0|            p->level--;
17223|      0|            return NULL;
17224|      0|        }
17225|    238|        D(fprintf(stderr, "%*c> display_item[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_starred_expression_unpacking_sequence"));
17226|    238|        void *invalid_starred_expression_unpacking_sequence_var;
17227|    238|        if (
17228|    238|            (invalid_starred_expression_unpacking_sequence_var = invalid_starred_expression_unpacking_sequence_rule(p))  // invalid_starred_expression_unpacking_sequence
  ------------------
  |  Branch (17228:13): [True: 0, False: 238]
  ------------------
17229|    238|        )
17230|      0|        {
17231|      0|            D(fprintf(stderr, "%*c+ display_item[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_starred_expression_unpacking_sequence"));
17232|      0|            _res = invalid_starred_expression_unpacking_sequence_var;
17233|      0|            goto done;
17234|      0|        }
17235|    238|        p->mark = _mark;
17236|    238|        D(fprintf(stderr, "%*c%s display_item[%d-%d]: %s failed!\n", p->level, ' ',
17237|    238|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_starred_expression_unpacking_sequence"));
17238|    238|    }
17239|  1.00k|    { // star_named_expression
17240|  1.00k|        if (p->error_indicator) {
  ------------------
  |  Branch (17240:13): [True: 0, False: 1.00k]
  ------------------
17241|      0|            p->level--;
17242|      0|            return NULL;
17243|      0|        }
17244|  1.00k|        D(fprintf(stderr, "%*c> display_item[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_named_expression"));
17245|  1.00k|        expr_ty star_named_expression_var;
17246|  1.00k|        if (
17247|  1.00k|            (star_named_expression_var = star_named_expression_rule(p))  // star_named_expression
  ------------------
  |  Branch (17247:13): [True: 721, False: 287]
  ------------------
17248|  1.00k|        )
17249|    721|        {
17250|    721|            D(fprintf(stderr, "%*c+ display_item[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_named_expression"));
17251|    721|            _res = star_named_expression_var;
17252|    721|            goto done;
17253|    721|        }
17254|    287|        p->mark = _mark;
17255|    287|        D(fprintf(stderr, "%*c%s display_item[%d-%d]: %s failed!\n", p->level, ' ',
17256|    287|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_named_expression"));
17257|    287|    }
17258|    287|    _res = NULL;
17259|  1.00k|  done:
17260|  1.00k|    p->level--;
17261|  1.00k|    return _res;
17262|    287|}
parser.c:invalid_starred_expression_unpacking_sequence_rule:
25982|    238|{
25983|    238|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    476|#  define MAXSTACK 6000
  ------------------
  |  Branch (25983:9): [True: 0, False: 238]
  |  Branch (25983:35): [True: 0, False: 238]
  ------------------
25984|      0|        _Pypegen_stack_overflow(p);
25985|      0|    }
25986|    238|    if (p->error_indicator) {
  ------------------
  |  Branch (25986:9): [True: 0, False: 238]
  ------------------
25987|      0|        p->level--;
25988|      0|        return NULL;
25989|      0|    }
25990|    238|    void * _res = NULL;
25991|    238|    int _mark = p->mark;
25992|    238|    { // '**' bitwise_or
25993|    238|        if (p->error_indicator) {
  ------------------
  |  Branch (25993:13): [True: 0, False: 238]
  ------------------
25994|      0|            p->level--;
25995|      0|            return NULL;
25996|      0|        }
25997|    238|        D(fprintf(stderr, "%*c> invalid_starred_expression_unpacking_sequence[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' bitwise_or"));
25998|    238|        Token * a;
25999|    238|        expr_ty bitwise_or_var;
26000|    238|        if (
26001|    238|            (a = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (26001:13): [True: 0, False: 238]
  ------------------
26002|      0|            &&
26003|      0|            (bitwise_or_var = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (26003:13): [True: 0, False: 0]
  ------------------
26004|    238|        )
26005|      0|        {
26006|      0|            D(fprintf(stderr, "%*c+ invalid_starred_expression_unpacking_sequence[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' bitwise_or"));
26007|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "cannot use dict unpacking here" );
  ------------------
  |  |  239|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
26008|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (26008:18): [True: 0, False: 0]
  |  Branch (26008:34): [True: 0, False: 0]
  |  Branch (26008:57): [True: 0, False: 0]
  ------------------
26009|      0|                p->error_indicator = 1;
26010|      0|                p->level--;
26011|      0|                return NULL;
26012|      0|            }
26013|      0|            goto done;
26014|      0|        }
26015|    238|        p->mark = _mark;
26016|    238|        D(fprintf(stderr, "%*c%s invalid_starred_expression_unpacking_sequence[%d-%d]: %s failed!\n", p->level, ' ',
26017|    238|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' bitwise_or"));
26018|    238|    }
26019|    238|    if (p->call_invalid_rules) { // invalid_starred_expression_unpacking
  ------------------
  |  Branch (26019:9): [True: 238, False: 0]
  ------------------
26020|    238|        if (p->error_indicator) {
  ------------------
  |  Branch (26020:13): [True: 0, False: 238]
  ------------------
26021|      0|            p->level--;
26022|      0|            return NULL;
26023|      0|        }
26024|    238|        D(fprintf(stderr, "%*c> invalid_starred_expression_unpacking_sequence[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_starred_expression_unpacking"));
26025|    238|        void *invalid_starred_expression_unpacking_var;
26026|    238|        if (
26027|    238|            (invalid_starred_expression_unpacking_var = invalid_starred_expression_unpacking_rule(p))  // invalid_starred_expression_unpacking
  ------------------
  |  Branch (26027:13): [True: 0, False: 238]
  ------------------
26028|    238|        )
26029|      0|        {
26030|      0|            D(fprintf(stderr, "%*c+ invalid_starred_expression_unpacking_sequence[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_starred_expression_unpacking"));
26031|      0|            _res = invalid_starred_expression_unpacking_var;
26032|      0|            goto done;
26033|      0|        }
26034|    238|        p->mark = _mark;
26035|    238|        D(fprintf(stderr, "%*c%s invalid_starred_expression_unpacking_sequence[%d-%d]: %s failed!\n", p->level, ' ',
26036|    238|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_starred_expression_unpacking"));
26037|    238|    }
26038|    238|    _res = NULL;
26039|    238|  done:
26040|    238|    p->level--;
26041|    238|    return _res;
26042|    238|}
parser.c:display_items_rule:
17163|      8|{
17164|      8|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     16|#  define MAXSTACK 6000
  ------------------
  |  Branch (17164:9): [True: 0, False: 8]
  |  Branch (17164:35): [True: 0, False: 8]
  ------------------
17165|      0|        _Pypegen_stack_overflow(p);
17166|      0|    }
17167|      8|    if (p->error_indicator) {
  ------------------
  |  Branch (17167:9): [True: 0, False: 8]
  ------------------
17168|      0|        p->level--;
17169|      0|        return NULL;
17170|      0|    }
17171|      8|    asdl_expr_seq* _res = NULL;
17172|      8|    int _mark = p->mark;
17173|      8|    { // ','.display_item+ ','?
17174|      8|        if (p->error_indicator) {
  ------------------
  |  Branch (17174:13): [True: 0, False: 8]
  ------------------
17175|      0|            p->level--;
17176|      0|            return NULL;
17177|      0|        }
17178|      8|        D(fprintf(stderr, "%*c> display_items[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.display_item+ ','?"));
17179|      8|        void *_opt_var;
17180|      8|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  305|      8|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 8]
  |  |  ------------------
  ------------------
17181|      8|        asdl_expr_seq* a;
17182|      8|        if (
17183|      8|            (a = (asdl_expr_seq*)_gather_83_rule(p))  // ','.display_item+
  ------------------
  |  Branch (17183:13): [True: 8, False: 0]
  ------------------
17184|      8|            &&
17185|      8|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (17185:13): [True: 8, False: 0]
  ------------------
17186|      8|        )
17187|      8|        {
17188|      8|            D(fprintf(stderr, "%*c+ display_items[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.display_item+ ','?"));
17189|      8|            _res = a;
17190|      8|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17190:18): [True: 0, False: 8]
  |  Branch (17190:34): [True: 0, False: 8]
  |  Branch (17190:57): [True: 0, False: 0]
  ------------------
17191|      0|                p->error_indicator = 1;
17192|      0|                p->level--;
17193|      0|                return NULL;
17194|      0|            }
17195|      8|            goto done;
17196|      8|        }
17197|      0|        p->mark = _mark;
17198|      0|        D(fprintf(stderr, "%*c%s display_items[%d-%d]: %s failed!\n", p->level, ' ',
17199|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.display_item+ ','?"));
17200|      0|    }
17201|      0|    _res = NULL;
17202|      8|  done:
17203|      8|    p->level--;
17204|      8|    return _res;
17205|      0|}
parser.c:_gather_83_rule:
32581|      8|{
32582|      8|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     16|#  define MAXSTACK 6000
  ------------------
  |  Branch (32582:9): [True: 0, False: 8]
  |  Branch (32582:35): [True: 0, False: 8]
  ------------------
32583|      0|        _Pypegen_stack_overflow(p);
32584|      0|    }
32585|      8|    if (p->error_indicator) {
  ------------------
  |  Branch (32585:9): [True: 0, False: 8]
  ------------------
32586|      0|        p->level--;
32587|      0|        return NULL;
32588|      0|    }
32589|      8|    asdl_seq * _res = NULL;
32590|      8|    int _mark = p->mark;
32591|      8|    { // display_item _loop0_82
32592|      8|        if (p->error_indicator) {
  ------------------
  |  Branch (32592:13): [True: 0, False: 8]
  ------------------
32593|      0|            p->level--;
32594|      0|            return NULL;
32595|      0|        }
32596|      8|        D(fprintf(stderr, "%*c> _gather_83[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "display_item _loop0_82"));
32597|      8|        expr_ty elem;
32598|      8|        asdl_seq * seq;
32599|      8|        if (
32600|      8|            (elem = display_item_rule(p))  // display_item
  ------------------
  |  Branch (32600:13): [True: 8, False: 0]
  ------------------
32601|      8|            &&
32602|      8|            (seq = _loop0_82_rule(p))  // _loop0_82
  ------------------
  |  Branch (32602:13): [True: 8, False: 0]
  ------------------
32603|      8|        )
32604|      8|        {
32605|      8|            D(fprintf(stderr, "%*c+ _gather_83[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "display_item _loop0_82"));
32606|      8|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
32607|      8|            goto done;
32608|      8|        }
32609|      0|        p->mark = _mark;
32610|      0|        D(fprintf(stderr, "%*c%s _gather_83[%d-%d]: %s failed!\n", p->level, ' ',
32611|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "display_item _loop0_82"));
32612|      0|    }
32613|      0|    _res = NULL;
32614|      8|  done:
32615|      8|    p->level--;
32616|      8|    return _res;
32617|      0|}
parser.c:_loop0_82_rule:
32505|      8|{
32506|      8|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     16|#  define MAXSTACK 6000
  ------------------
  |  Branch (32506:9): [True: 0, False: 8]
  |  Branch (32506:35): [True: 0, False: 8]
  ------------------
32507|      0|        _Pypegen_stack_overflow(p);
32508|      0|    }
32509|      8|    if (p->error_indicator) {
  ------------------
  |  Branch (32509:9): [True: 0, False: 8]
  ------------------
32510|      0|        p->level--;
32511|      0|        return NULL;
32512|      0|    }
32513|      8|    void *_res = NULL;
32514|      8|    int _mark = p->mark;
32515|      8|    void **_children = PyMem_Malloc(sizeof(void *));
32516|      8|    if (!_children) {
  ------------------
  |  Branch (32516:9): [True: 0, False: 8]
  ------------------
32517|      0|        p->error_indicator = 1;
32518|      0|        PyErr_NoMemory();
32519|      0|        p->level--;
32520|      0|        return NULL;
32521|      0|    }
32522|      8|    Py_ssize_t _children_capacity = 1;
32523|      8|    Py_ssize_t _n = 0;
32524|      8|    { // ',' display_item
32525|      8|        if (p->error_indicator) {
  ------------------
  |  Branch (32525:13): [True: 0, False: 8]
  ------------------
32526|      0|            p->level--;
32527|      0|            return NULL;
32528|      0|        }
32529|      8|        D(fprintf(stderr, "%*c> _loop0_82[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' display_item"));
32530|      8|        Token * _literal;
32531|      8|        expr_ty elem;
32532|      8|        while (
32533|     34|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (32533:13): [True: 26, False: 8]
  ------------------
32534|     26|            &&
32535|     26|            (elem = display_item_rule(p))  // display_item
  ------------------
  |  Branch (32535:13): [True: 26, False: 0]
  ------------------
32536|      8|        )
32537|     26|        {
32538|     26|            _res = elem;
32539|     26|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (32539:18): [True: 0, False: 26]
  |  Branch (32539:34): [True: 0, False: 26]
  |  Branch (32539:57): [True: 0, False: 0]
  ------------------
32540|      0|                p->error_indicator = 1;
32541|      0|                PyMem_Free(_children);
32542|      0|                p->level--;
32543|      0|                return NULL;
32544|      0|            }
32545|     26|            if (_n == _children_capacity) {
  ------------------
  |  Branch (32545:17): [True: 14, False: 12]
  ------------------
32546|     14|                _children_capacity *= 2;
32547|     14|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
32548|     14|                if (!_new_children) {
  ------------------
  |  Branch (32548:21): [True: 0, False: 14]
  ------------------
32549|      0|                    PyMem_Free(_children);
32550|      0|                    p->error_indicator = 1;
32551|      0|                    PyErr_NoMemory();
32552|      0|                    p->level--;
32553|      0|                    return NULL;
32554|      0|                }
32555|     14|                _children = _new_children;
32556|     14|            }
32557|     26|            _children[_n++] = _res;
32558|     26|            _mark = p->mark;
32559|     26|        }
32560|      8|        p->mark = _mark;
32561|      8|        D(fprintf(stderr, "%*c%s _loop0_82[%d-%d]: %s failed!\n", p->level, ' ',
32562|      8|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' display_item"));
32563|      8|    }
32564|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
32565|      8|    if (!_seq) {
  ------------------
  |  Branch (32565:9): [True: 0, False: 8]
  ------------------
32566|      0|        PyMem_Free(_children);
32567|      0|        p->error_indicator = 1;
32568|      0|        PyErr_NoMemory();
32569|      0|        p->level--;
32570|      0|        return NULL;
32571|      0|    }
32572|     34|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|     26|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  302|     34|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (32572:28): [True: 26, False: 8]
  ------------------
32573|      8|    PyMem_Free(_children);
32574|      8|    p->level--;
32575|      8|    return _seq;
32576|      8|}
parser.c:group_rule:
15171|    904|{
15172|    904|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.80k|#  define MAXSTACK 6000
  ------------------
  |  Branch (15172:9): [True: 0, False: 904]
  |  Branch (15172:35): [True: 0, False: 904]
  ------------------
15173|      0|        _Pypegen_stack_overflow(p);
15174|      0|    }
15175|    904|    if (p->error_indicator) {
  ------------------
  |  Branch (15175:9): [True: 0, False: 904]
  ------------------
15176|      0|        p->level--;
15177|      0|        return NULL;
15178|      0|    }
15179|    904|    expr_ty _res = NULL;
15180|    904|    int _mark = p->mark;
15181|    904|    { // '(' (yield_expr | named_expression) ')'
15182|    904|        if (p->error_indicator) {
  ------------------
  |  Branch (15182:13): [True: 0, False: 904]
  ------------------
15183|      0|            p->level--;
15184|      0|            return NULL;
15185|      0|        }
15186|    904|        D(fprintf(stderr, "%*c> group[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' (yield_expr | named_expression) ')'"));
15187|    904|        Token * _literal;
15188|    904|        Token * _literal_1;
15189|    904|        void *a;
15190|    904|        if (
15191|    904|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (15191:13): [True: 904, False: 0]
  ------------------
15192|    904|            &&
15193|    904|            (a = _tmp_69_rule(p))  // yield_expr | named_expression
  ------------------
  |  Branch (15193:13): [True: 217, False: 687]
  ------------------
15194|    217|            &&
15195|    217|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (15195:13): [True: 0, False: 217]
  ------------------
15196|    904|        )
15197|      0|        {
15198|      0|            D(fprintf(stderr, "%*c+ group[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' (yield_expr | named_expression) ')'"));
15199|      0|            _res = a;
15200|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15200:18): [True: 0, False: 0]
  |  Branch (15200:34): [True: 0, False: 0]
  |  Branch (15200:57): [True: 0, False: 0]
  ------------------
15201|      0|                p->error_indicator = 1;
15202|      0|                p->level--;
15203|      0|                return NULL;
15204|      0|            }
15205|      0|            goto done;
15206|      0|        }
15207|    904|        p->mark = _mark;
15208|    904|        D(fprintf(stderr, "%*c%s group[%d-%d]: %s failed!\n", p->level, ' ',
15209|    904|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' (yield_expr | named_expression) ')'"));
15210|    904|    }
15211|    904|    if (p->call_invalid_rules) { // invalid_group
  ------------------
  |  Branch (15211:9): [True: 172, False: 732]
  ------------------
15212|    172|        if (p->error_indicator) {
  ------------------
  |  Branch (15212:13): [True: 0, False: 172]
  ------------------
15213|      0|            p->level--;
15214|      0|            return NULL;
15215|      0|        }
15216|    172|        D(fprintf(stderr, "%*c> group[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_group"));
15217|    172|        void *invalid_group_var;
15218|    172|        if (
15219|    172|            (invalid_group_var = invalid_group_rule(p))  // invalid_group
  ------------------
  |  Branch (15219:13): [True: 0, False: 172]
  ------------------
15220|    172|        )
15221|      0|        {
15222|      0|            D(fprintf(stderr, "%*c+ group[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_group"));
15223|      0|            _res = invalid_group_var;
15224|      0|            goto done;
15225|      0|        }
15226|    172|        p->mark = _mark;
15227|    172|        D(fprintf(stderr, "%*c%s group[%d-%d]: %s failed!\n", p->level, ' ',
15228|    172|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_group"));
15229|    172|    }
15230|    904|    _res = NULL;
15231|    904|  done:
15232|    904|    p->level--;
15233|    904|    return _res;
15234|    904|}
parser.c:_tmp_69_rule:
31619|    904|{
31620|    904|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.80k|#  define MAXSTACK 6000
  ------------------
  |  Branch (31620:9): [True: 0, False: 904]
  |  Branch (31620:35): [True: 0, False: 904]
  ------------------
31621|      0|        _Pypegen_stack_overflow(p);
31622|      0|    }
31623|    904|    if (p->error_indicator) {
  ------------------
  |  Branch (31623:9): [True: 0, False: 904]
  ------------------
31624|      0|        p->level--;
31625|      0|        return NULL;
31626|      0|    }
31627|    904|    void * _res = NULL;
31628|    904|    int _mark = p->mark;
31629|    904|    { // yield_expr
31630|    904|        if (p->error_indicator) {
  ------------------
  |  Branch (31630:13): [True: 0, False: 904]
  ------------------
31631|      0|            p->level--;
31632|      0|            return NULL;
31633|      0|        }
31634|    904|        D(fprintf(stderr, "%*c> _tmp_69[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "yield_expr"));
31635|    904|        expr_ty yield_expr_var;
31636|    904|        if (
31637|    904|            (yield_expr_var = yield_expr_rule(p))  // yield_expr
  ------------------
  |  Branch (31637:13): [True: 0, False: 904]
  ------------------
31638|    904|        )
31639|      0|        {
31640|      0|            D(fprintf(stderr, "%*c+ _tmp_69[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "yield_expr"));
31641|      0|            _res = yield_expr_var;
31642|      0|            goto done;
31643|      0|        }
31644|    904|        p->mark = _mark;
31645|    904|        D(fprintf(stderr, "%*c%s _tmp_69[%d-%d]: %s failed!\n", p->level, ' ',
31646|    904|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "yield_expr"));
31647|    904|    }
31648|      0|    { // named_expression
31649|    904|        if (p->error_indicator) {
  ------------------
  |  Branch (31649:13): [True: 0, False: 904]
  ------------------
31650|      0|            p->level--;
31651|      0|            return NULL;
31652|      0|        }
31653|    904|        D(fprintf(stderr, "%*c> _tmp_69[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "named_expression"));
31654|    904|        expr_ty named_expression_var;
31655|    904|        if (
31656|    904|            (named_expression_var = named_expression_rule(p))  // named_expression
  ------------------
  |  Branch (31656:13): [True: 217, False: 687]
  ------------------
31657|    904|        )
31658|    217|        {
31659|    217|            D(fprintf(stderr, "%*c+ _tmp_69[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "named_expression"));
31660|    217|            _res = named_expression_var;
31661|    217|            goto done;
31662|    217|        }
31663|    687|        p->mark = _mark;
31664|    687|        D(fprintf(stderr, "%*c%s _tmp_69[%d-%d]: %s failed!\n", p->level, ' ',
31665|    687|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "named_expression"));
31666|    687|    }
31667|    687|    _res = NULL;
31668|    904|  done:
31669|    904|    p->level--;
31670|    904|    return _res;
31671|    687|}
parser.c:invalid_group_rule:
22958|    172|{
22959|    172|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    344|#  define MAXSTACK 6000
  ------------------
  |  Branch (22959:9): [True: 0, False: 172]
  |  Branch (22959:35): [True: 0, False: 172]
  ------------------
22960|      0|        _Pypegen_stack_overflow(p);
22961|      0|    }
22962|    172|    if (p->error_indicator) {
  ------------------
  |  Branch (22962:9): [True: 0, False: 172]
  ------------------
22963|      0|        p->level--;
22964|      0|        return NULL;
22965|      0|    }
22966|    172|    void * _res = NULL;
22967|    172|    int _mark = p->mark;
22968|    172|    { // '(' starred_expression ')'
22969|    172|        if (p->error_indicator) {
  ------------------
  |  Branch (22969:13): [True: 0, False: 172]
  ------------------
22970|      0|            p->level--;
22971|      0|            return NULL;
22972|      0|        }
22973|    172|        D(fprintf(stderr, "%*c> invalid_group[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' starred_expression ')'"));
22974|    172|        Token * _literal;
22975|    172|        Token * _literal_1;
22976|    172|        expr_ty a;
22977|    172|        if (
22978|    172|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (22978:13): [True: 172, False: 0]
  ------------------
22979|    172|            &&
22980|    172|            (a = starred_expression_rule(p))  // starred_expression
  ------------------
  |  Branch (22980:13): [True: 59, False: 113]
  ------------------
22981|     59|            &&
22982|     59|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (22982:13): [True: 0, False: 59]
  ------------------
22983|    172|        )
22984|      0|        {
22985|      0|            D(fprintf(stderr, "%*c+ invalid_group[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' starred_expression ')'"));
22986|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "cannot use starred expression here" );
  ------------------
  |  |  239|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
22987|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (22987:18): [True: 0, False: 0]
  |  Branch (22987:34): [True: 0, False: 0]
  |  Branch (22987:57): [True: 0, False: 0]
  ------------------
22988|      0|                p->error_indicator = 1;
22989|      0|                p->level--;
22990|      0|                return NULL;
22991|      0|            }
22992|      0|            goto done;
22993|      0|        }
22994|    172|        p->mark = _mark;
22995|    172|        D(fprintf(stderr, "%*c%s invalid_group[%d-%d]: %s failed!\n", p->level, ' ',
22996|    172|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' starred_expression ')'"));
22997|    172|    }
22998|      0|    { // '(' '**' expression ')'
22999|    172|        if (p->error_indicator) {
  ------------------
  |  Branch (22999:13): [True: 0, False: 172]
  ------------------
23000|      0|            p->level--;
23001|      0|            return NULL;
23002|      0|        }
23003|    172|        D(fprintf(stderr, "%*c> invalid_group[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' '**' expression ')'"));
23004|    172|        Token * _literal;
23005|    172|        Token * _literal_1;
23006|    172|        Token * a;
23007|    172|        expr_ty expression_var;
23008|    172|        if (
23009|    172|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (23009:13): [True: 172, False: 0]
  ------------------
23010|    172|            &&
23011|    172|            (a = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (23011:13): [True: 0, False: 172]
  ------------------
23012|      0|            &&
23013|      0|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (23013:13): [True: 0, False: 0]
  ------------------
23014|      0|            &&
23015|      0|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (23015:13): [True: 0, False: 0]
  ------------------
23016|    172|        )
23017|      0|        {
23018|      0|            D(fprintf(stderr, "%*c+ invalid_group[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' '**' expression ')'"));
23019|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "cannot use double starred expression here" );
  ------------------
  |  |  239|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
23020|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (23020:18): [True: 0, False: 0]
  |  Branch (23020:34): [True: 0, False: 0]
  |  Branch (23020:57): [True: 0, False: 0]
  ------------------
23021|      0|                p->error_indicator = 1;
23022|      0|                p->level--;
23023|      0|                return NULL;
23024|      0|            }
23025|      0|            goto done;
23026|      0|        }
23027|    172|        p->mark = _mark;
23028|    172|        D(fprintf(stderr, "%*c%s invalid_group[%d-%d]: %s failed!\n", p->level, ' ',
23029|    172|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' '**' expression ')'"));
23030|    172|    }
23031|    172|    _res = NULL;
23032|    172|  done:
23033|    172|    p->level--;
23034|    172|    return _res;
23035|    172|}
parser.c:list_rule:
17267|    182|{
17268|    182|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    364|#  define MAXSTACK 6000
  ------------------
  |  Branch (17268:9): [True: 0, False: 182]
  |  Branch (17268:35): [True: 0, False: 182]
  ------------------
17269|      0|        _Pypegen_stack_overflow(p);
17270|      0|    }
17271|    182|    if (p->error_indicator) {
  ------------------
  |  Branch (17271:9): [True: 0, False: 182]
  ------------------
17272|      0|        p->level--;
17273|      0|        return NULL;
17274|      0|    }
17275|    182|    expr_ty _res = NULL;
17276|    182|    int _mark = p->mark;
17277|    182|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (17277:9): [True: 0, False: 182]
  |  Branch (17277:31): [True: 0, False: 0]
  ------------------
17278|      0|        p->error_indicator = 1;
17279|      0|        p->level--;
17280|      0|        return NULL;
17281|      0|    }
17282|    182|    int _start_lineno = p->tokens[_mark]->lineno;
17283|    182|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|    182|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 182]
  |  |  ------------------
  ------------------
17284|    182|    int _start_col_offset = p->tokens[_mark]->col_offset;
17285|    182|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|    182|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 182]
  |  |  ------------------
  ------------------
17286|    182|    { // '[' display_items? ']'
17287|    182|        if (p->error_indicator) {
  ------------------
  |  Branch (17287:13): [True: 0, False: 182]
  ------------------
17288|      0|            p->level--;
17289|      0|            return NULL;
17290|      0|        }
17291|    182|        D(fprintf(stderr, "%*c> list[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'[' display_items? ']'"));
17292|    182|        Token * _literal;
17293|    182|        Token * _literal_1;
17294|    182|        void *a;
17295|    182|        if (
17296|    182|            (_literal = _PyPegen_expect_token(p, 9))  // token='['
  ------------------
  |  Branch (17296:13): [True: 0, False: 182]
  ------------------
17297|      0|            &&
17298|      0|            (a = display_items_rule(p), !p->error_indicator)  // display_items?
  ------------------
  |  Branch (17298:13): [True: 0, False: 0]
  ------------------
17299|      0|            &&
17300|      0|            (_literal_1 = _PyPegen_expect_token(p, 10))  // token=']'
  ------------------
  |  Branch (17300:13): [True: 0, False: 0]
  ------------------
17301|    182|        )
17302|      0|        {
17303|      0|            D(fprintf(stderr, "%*c+ list[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'[' display_items? ']'"));
17304|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
17305|      0|            if (_token == NULL) {
  ------------------
  |  Branch (17305:17): [True: 0, False: 0]
  ------------------
17306|      0|                p->level--;
17307|      0|                return NULL;
17308|      0|            }
17309|      0|            int _end_lineno = _token->end_lineno;
17310|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
17311|      0|            int _end_col_offset = _token->end_col_offset;
17312|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
17313|      0|            _res = _PyAST_List ( a , Load , EXTRA );
  ------------------
  |  |  307|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
17314|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17314:18): [True: 0, False: 0]
  |  Branch (17314:34): [True: 0, False: 0]
  |  Branch (17314:57): [True: 0, False: 0]
  ------------------
17315|      0|                p->error_indicator = 1;
17316|      0|                p->level--;
17317|      0|                return NULL;
17318|      0|            }
17319|      0|            goto done;
17320|      0|        }
17321|    182|        p->mark = _mark;
17322|    182|        D(fprintf(stderr, "%*c%s list[%d-%d]: %s failed!\n", p->level, ' ',
17323|    182|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'[' display_items? ']'"));
17324|    182|    }
17325|    182|    _res = NULL;
17326|    182|  done:
17327|    182|    p->level--;
17328|    182|    return _res;
17329|    182|}
parser.c:_tmp_68_rule:
31524|      4|{
31525|      4|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      8|#  define MAXSTACK 6000
  ------------------
  |  Branch (31525:9): [True: 0, False: 4]
  |  Branch (31525:35): [True: 0, False: 4]
  ------------------
31526|      0|        _Pypegen_stack_overflow(p);
31527|      0|    }
31528|      4|    if (p->error_indicator) {
  ------------------
  |  Branch (31528:9): [True: 0, False: 4]
  ------------------
31529|      0|        p->level--;
31530|      0|        return NULL;
31531|      0|    }
31532|      4|    void * _res = NULL;
31533|      4|    int _mark = p->mark;
31534|      4|    { // dictcomp
31535|      4|        if (p->error_indicator) {
  ------------------
  |  Branch (31535:13): [True: 0, False: 4]
  ------------------
31536|      0|            p->level--;
31537|      0|            return NULL;
31538|      0|        }
31539|      4|        D(fprintf(stderr, "%*c> _tmp_68[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "dictcomp"));
31540|      4|        expr_ty dictcomp_var;
31541|      4|        if (
31542|      4|            (dictcomp_var = dictcomp_rule(p))  // dictcomp
  ------------------
  |  Branch (31542:13): [True: 0, False: 4]
  ------------------
31543|      4|        )
31544|      0|        {
31545|      0|            D(fprintf(stderr, "%*c+ _tmp_68[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "dictcomp"));
31546|      0|            _res = dictcomp_var;
31547|      0|            goto done;
31548|      0|        }
31549|      4|        p->mark = _mark;
31550|      4|        D(fprintf(stderr, "%*c%s _tmp_68[%d-%d]: %s failed!\n", p->level, ' ',
31551|      4|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "dictcomp"));
31552|      4|    }
31553|      0|    { // setcomp
31554|      4|        if (p->error_indicator) {
  ------------------
  |  Branch (31554:13): [True: 0, False: 4]
  ------------------
31555|      0|            p->level--;
31556|      0|            return NULL;
31557|      0|        }
31558|      4|        D(fprintf(stderr, "%*c> _tmp_68[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "setcomp"));
31559|      4|        expr_ty setcomp_var;
31560|      4|        if (
31561|      4|            (setcomp_var = setcomp_rule(p))  // setcomp
  ------------------
  |  Branch (31561:13): [True: 0, False: 4]
  ------------------
31562|      4|        )
31563|      0|        {
31564|      0|            D(fprintf(stderr, "%*c+ _tmp_68[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "setcomp"));
31565|      0|            _res = setcomp_var;
31566|      0|            goto done;
31567|      0|        }
31568|      4|        p->mark = _mark;
31569|      4|        D(fprintf(stderr, "%*c%s _tmp_68[%d-%d]: %s failed!\n", p->level, ' ',
31570|      4|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "setcomp"));
31571|      4|    }
31572|      0|    { // dict
31573|      4|        if (p->error_indicator) {
  ------------------
  |  Branch (31573:13): [True: 0, False: 4]
  ------------------
31574|      0|            p->level--;
31575|      0|            return NULL;
31576|      0|        }
31577|      4|        D(fprintf(stderr, "%*c> _tmp_68[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "dict"));
31578|      4|        expr_ty dict_var;
31579|      4|        if (
31580|      4|            (dict_var = dict_rule(p))  // dict
  ------------------
  |  Branch (31580:13): [True: 0, False: 4]
  ------------------
31581|      4|        )
31582|      0|        {
31583|      0|            D(fprintf(stderr, "%*c+ _tmp_68[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "dict"));
31584|      0|            _res = dict_var;
31585|      0|            goto done;
31586|      0|        }
31587|      4|        p->mark = _mark;
31588|      4|        D(fprintf(stderr, "%*c%s _tmp_68[%d-%d]: %s failed!\n", p->level, ' ',
31589|      4|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "dict"));
31590|      4|    }
31591|      0|    { // set
31592|      4|        if (p->error_indicator) {
  ------------------
  |  Branch (31592:13): [True: 0, False: 4]
  ------------------
31593|      0|            p->level--;
31594|      0|            return NULL;
31595|      0|        }
31596|      4|        D(fprintf(stderr, "%*c> _tmp_68[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "set"));
31597|      4|        expr_ty set_var;
31598|      4|        if (
31599|      4|            (set_var = set_rule(p))  // set
  ------------------
  |  Branch (31599:13): [True: 4, False: 0]
  ------------------
31600|      4|        )
31601|      4|        {
31602|      4|            D(fprintf(stderr, "%*c+ _tmp_68[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "set"));
31603|      4|            _res = set_var;
31604|      4|            goto done;
31605|      4|        }
31606|      0|        p->mark = _mark;
31607|      0|        D(fprintf(stderr, "%*c%s _tmp_68[%d-%d]: %s failed!\n", p->level, ' ',
31608|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "set"));
31609|      0|    }
31610|      0|    _res = NULL;
31611|      4|  done:
31612|      4|    p->level--;
31613|      4|    return _res;
31614|      0|}
parser.c:dictcomp_rule:
18183|      4|{
18184|      4|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      8|#  define MAXSTACK 6000
  ------------------
  |  Branch (18184:9): [True: 0, False: 4]
  |  Branch (18184:35): [True: 0, False: 4]
  ------------------
18185|      0|        _Pypegen_stack_overflow(p);
18186|      0|    }
18187|      4|    if (p->error_indicator) {
  ------------------
  |  Branch (18187:9): [True: 0, False: 4]
  ------------------
18188|      0|        p->level--;
18189|      0|        return NULL;
18190|      0|    }
18191|      4|    expr_ty _res = NULL;
18192|      4|    int _mark = p->mark;
18193|      4|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (18193:9): [True: 0, False: 4]
  |  Branch (18193:31): [True: 0, False: 0]
  ------------------
18194|      0|        p->error_indicator = 1;
18195|      0|        p->level--;
18196|      0|        return NULL;
18197|      0|    }
18198|      4|    int _start_lineno = p->tokens[_mark]->lineno;
18199|      4|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|      4|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 4]
  |  |  ------------------
  ------------------
18200|      4|    int _start_col_offset = p->tokens[_mark]->col_offset;
18201|      4|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|      4|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 4]
  |  |  ------------------
  ------------------
18202|      4|    { // '{' kvpair for_if_clauses '}'
18203|      4|        if (p->error_indicator) {
  ------------------
  |  Branch (18203:13): [True: 0, False: 4]
  ------------------
18204|      0|            p->level--;
18205|      0|            return NULL;
18206|      0|        }
18207|      4|        D(fprintf(stderr, "%*c> dictcomp[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' kvpair for_if_clauses '}'"));
18208|      4|        Token * _literal;
18209|      4|        Token * _literal_1;
18210|      4|        KeyValuePair* a;
18211|      4|        asdl_comprehension_seq* b;
18212|      4|        if (
18213|      4|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (18213:13): [True: 4, False: 0]
  ------------------
18214|      4|            &&
18215|      4|            (a = kvpair_rule(p))  // kvpair
  ------------------
  |  Branch (18215:13): [True: 0, False: 4]
  ------------------
18216|      0|            &&
18217|      0|            (b = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  Branch (18217:13): [True: 0, False: 0]
  ------------------
18218|      0|            &&
18219|      0|            (_literal_1 = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (18219:13): [True: 0, False: 0]
  ------------------
18220|      4|        )
18221|      0|        {
18222|      0|            D(fprintf(stderr, "%*c+ dictcomp[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' kvpair for_if_clauses '}'"));
18223|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
18224|      0|            if (_token == NULL) {
  ------------------
  |  Branch (18224:17): [True: 0, False: 0]
  ------------------
18225|      0|                p->level--;
18226|      0|                return NULL;
18227|      0|            }
18228|      0|            int _end_lineno = _token->end_lineno;
18229|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
18230|      0|            int _end_col_offset = _token->end_col_offset;
18231|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
18232|      0|            _res = _PyAST_DictComp ( a -> key , a -> value , b , EXTRA );
  ------------------
  |  |  307|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
18233|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18233:18): [True: 0, False: 0]
  |  Branch (18233:34): [True: 0, False: 0]
  |  Branch (18233:57): [True: 0, False: 0]
  ------------------
18234|      0|                p->error_indicator = 1;
18235|      0|                p->level--;
18236|      0|                return NULL;
18237|      0|            }
18238|      0|            goto done;
18239|      0|        }
18240|      4|        p->mark = _mark;
18241|      4|        D(fprintf(stderr, "%*c%s dictcomp[%d-%d]: %s failed!\n", p->level, ' ',
18242|      4|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' kvpair for_if_clauses '}'"));
18243|      4|    }
18244|      0|    { // '{' '**' expression for_if_clauses '}'
18245|      4|        if (p->error_indicator) {
  ------------------
  |  Branch (18245:13): [True: 0, False: 4]
  ------------------
18246|      0|            p->level--;
18247|      0|            return NULL;
18248|      0|        }
18249|      4|        D(fprintf(stderr, "%*c> dictcomp[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' '**' expression for_if_clauses '}'"));
18250|      4|        Token * _literal;
18251|      4|        Token * _literal_1;
18252|      4|        Token * _literal_2;
18253|      4|        expr_ty a;
18254|      4|        asdl_comprehension_seq* b;
18255|      4|        if (
18256|      4|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (18256:13): [True: 4, False: 0]
  ------------------
18257|      4|            &&
18258|      4|            (_literal_1 = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (18258:13): [True: 0, False: 4]
  ------------------
18259|      0|            &&
18260|      0|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (18260:13): [True: 0, False: 0]
  ------------------
18261|      0|            &&
18262|      0|            (b = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  Branch (18262:13): [True: 0, False: 0]
  ------------------
18263|      0|            &&
18264|      0|            (_literal_2 = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (18264:13): [True: 0, False: 0]
  ------------------
18265|      4|        )
18266|      0|        {
18267|      0|            D(fprintf(stderr, "%*c+ dictcomp[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' '**' expression for_if_clauses '}'"));
18268|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
18269|      0|            if (_token == NULL) {
  ------------------
  |  Branch (18269:17): [True: 0, False: 0]
  ------------------
18270|      0|                p->level--;
18271|      0|                return NULL;
18272|      0|            }
18273|      0|            int _end_lineno = _token->end_lineno;
18274|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
18275|      0|            int _end_col_offset = _token->end_col_offset;
18276|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
18277|      0|            _res = _PyAST_DictComp ( a , NULL , b , EXTRA );
  ------------------
  |  |  307|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
18278|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18278:18): [True: 0, False: 0]
  |  Branch (18278:34): [True: 0, False: 0]
  |  Branch (18278:57): [True: 0, False: 0]
  ------------------
18279|      0|                p->error_indicator = 1;
18280|      0|                p->level--;
18281|      0|                return NULL;
18282|      0|            }
18283|      0|            goto done;
18284|      0|        }
18285|      4|        p->mark = _mark;
18286|      4|        D(fprintf(stderr, "%*c%s dictcomp[%d-%d]: %s failed!\n", p->level, ' ',
18287|      4|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' '**' expression for_if_clauses '}'"));
18288|      4|    }
18289|      4|    _res = NULL;
18290|      4|  done:
18291|      4|    p->level--;
18292|      4|    return _res;
18293|      4|}
parser.c:kvpair_rule:
17672|     12|{
17673|     12|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     24|#  define MAXSTACK 6000
  ------------------
  |  Branch (17673:9): [True: 0, False: 12]
  |  Branch (17673:35): [True: 0, False: 12]
  ------------------
17674|      0|        _Pypegen_stack_overflow(p);
17675|      0|    }
17676|     12|    if (p->error_indicator) {
  ------------------
  |  Branch (17676:9): [True: 0, False: 12]
  ------------------
17677|      0|        p->level--;
17678|      0|        return NULL;
17679|      0|    }
17680|     12|    KeyValuePair* _res = NULL;
17681|     12|    int _mark = p->mark;
17682|     12|    { // expression ':' expression
17683|     12|        if (p->error_indicator) {
  ------------------
  |  Branch (17683:13): [True: 0, False: 12]
  ------------------
17684|      0|            p->level--;
17685|      0|            return NULL;
17686|      0|        }
17687|     12|        D(fprintf(stderr, "%*c> kvpair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression ':' expression"));
17688|     12|        Token * _literal;
17689|     12|        expr_ty a;
17690|     12|        expr_ty b;
17691|     12|        if (
17692|     12|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (17692:13): [True: 12, False: 0]
  ------------------
17693|     12|            &&
17694|     12|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (17694:13): [True: 0, False: 12]
  ------------------
17695|      0|            &&
17696|      0|            (b = expression_rule(p))  // expression
  ------------------
  |  Branch (17696:13): [True: 0, False: 0]
  ------------------
17697|     12|        )
17698|      0|        {
17699|      0|            D(fprintf(stderr, "%*c+ kvpair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression ':' expression"));
17700|      0|            _res = _PyPegen_key_value_pair ( p , a , b );
17701|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17701:18): [True: 0, False: 0]
  |  Branch (17701:34): [True: 0, False: 0]
  |  Branch (17701:57): [True: 0, False: 0]
  ------------------
17702|      0|                p->error_indicator = 1;
17703|      0|                p->level--;
17704|      0|                return NULL;
17705|      0|            }
17706|      0|            goto done;
17707|      0|        }
17708|     12|        p->mark = _mark;
17709|     12|        D(fprintf(stderr, "%*c%s kvpair[%d-%d]: %s failed!\n", p->level, ' ',
17710|     12|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression ':' expression"));
17711|     12|    }
17712|     12|    _res = NULL;
17713|     12|  done:
17714|     12|    p->level--;
17715|     12|    return _res;
17716|     12|}
parser.c:setcomp_rule:
18003|      4|{
18004|      4|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      8|#  define MAXSTACK 6000
  ------------------
  |  Branch (18004:9): [True: 0, False: 4]
  |  Branch (18004:35): [True: 0, False: 4]
  ------------------
18005|      0|        _Pypegen_stack_overflow(p);
18006|      0|    }
18007|      4|    if (p->error_indicator) {
  ------------------
  |  Branch (18007:9): [True: 0, False: 4]
  ------------------
18008|      0|        p->level--;
18009|      0|        return NULL;
18010|      0|    }
18011|      4|    expr_ty _res = NULL;
18012|      4|    int _mark = p->mark;
18013|      4|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (18013:9): [True: 0, False: 4]
  |  Branch (18013:31): [True: 0, False: 0]
  ------------------
18014|      0|        p->error_indicator = 1;
18015|      0|        p->level--;
18016|      0|        return NULL;
18017|      0|    }
18018|      4|    int _start_lineno = p->tokens[_mark]->lineno;
18019|      4|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|      4|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 4]
  |  |  ------------------
  ------------------
18020|      4|    int _start_col_offset = p->tokens[_mark]->col_offset;
18021|      4|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|      4|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 4]
  |  |  ------------------
  ------------------
18022|      4|    { // '{' star_named_expression for_if_clauses '}'
18023|      4|        if (p->error_indicator) {
  ------------------
  |  Branch (18023:13): [True: 0, False: 4]
  ------------------
18024|      0|            p->level--;
18025|      0|            return NULL;
18026|      0|        }
18027|      4|        D(fprintf(stderr, "%*c> setcomp[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' star_named_expression for_if_clauses '}'"));
18028|      4|        Token * _literal;
18029|      4|        Token * _literal_1;
18030|      4|        expr_ty a;
18031|      4|        asdl_comprehension_seq* b;
18032|      4|        if (
18033|      4|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (18033:13): [True: 4, False: 0]
  ------------------
18034|      4|            &&
18035|      4|            (a = star_named_expression_rule(p))  // star_named_expression
  ------------------
  |  Branch (18035:13): [True: 4, False: 0]
  ------------------
18036|      4|            &&
18037|      4|            (b = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  Branch (18037:13): [True: 0, False: 4]
  ------------------
18038|      0|            &&
18039|      0|            (_literal_1 = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (18039:13): [True: 0, False: 0]
  ------------------
18040|      4|        )
18041|      0|        {
18042|      0|            D(fprintf(stderr, "%*c+ setcomp[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' star_named_expression for_if_clauses '}'"));
18043|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
18044|      0|            if (_token == NULL) {
  ------------------
  |  Branch (18044:17): [True: 0, False: 0]
  ------------------
18045|      0|                p->level--;
18046|      0|                return NULL;
18047|      0|            }
18048|      0|            int _end_lineno = _token->end_lineno;
18049|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
18050|      0|            int _end_col_offset = _token->end_col_offset;
18051|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
18052|      0|            _res = _PyAST_SetComp ( a , b , EXTRA );
  ------------------
  |  |  307|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
18053|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18053:18): [True: 0, False: 0]
  |  Branch (18053:34): [True: 0, False: 0]
  |  Branch (18053:57): [True: 0, False: 0]
  ------------------
18054|      0|                p->error_indicator = 1;
18055|      0|                p->level--;
18056|      0|                return NULL;
18057|      0|            }
18058|      0|            goto done;
18059|      0|        }
18060|      4|        p->mark = _mark;
18061|      4|        D(fprintf(stderr, "%*c%s setcomp[%d-%d]: %s failed!\n", p->level, ' ',
18062|      4|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' star_named_expression for_if_clauses '}'"));
18063|      4|    }
18064|      4|    if (p->call_invalid_rules) { // invalid_comprehension
  ------------------
  |  Branch (18064:9): [True: 0, False: 4]
  ------------------
18065|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (18065:13): [True: 0, False: 0]
  ------------------
18066|      0|            p->level--;
18067|      0|            return NULL;
18068|      0|        }
18069|      0|        D(fprintf(stderr, "%*c> setcomp[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_comprehension"));
18070|      0|        void *invalid_comprehension_var;
18071|      0|        if (
18072|      0|            (invalid_comprehension_var = invalid_comprehension_rule(p))  // invalid_comprehension
  ------------------
  |  Branch (18072:13): [True: 0, False: 0]
  ------------------
18073|      0|        )
18074|      0|        {
18075|      0|            D(fprintf(stderr, "%*c+ setcomp[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_comprehension"));
18076|      0|            _res = invalid_comprehension_var;
18077|      0|            goto done;
18078|      0|        }
18079|      0|        p->mark = _mark;
18080|      0|        D(fprintf(stderr, "%*c%s setcomp[%d-%d]: %s failed!\n", p->level, ' ',
18081|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_comprehension"));
18082|      0|    }
18083|      4|    _res = NULL;
18084|      4|  done:
18085|      4|    p->level--;
18086|      4|    return _res;
18087|      4|}
parser.c:dict_rule:
17468|      4|{
17469|      4|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      8|#  define MAXSTACK 6000
  ------------------
  |  Branch (17469:9): [True: 0, False: 4]
  |  Branch (17469:35): [True: 0, False: 4]
  ------------------
17470|      0|        _Pypegen_stack_overflow(p);
17471|      0|    }
17472|      4|    if (p->error_indicator) {
  ------------------
  |  Branch (17472:9): [True: 0, False: 4]
  ------------------
17473|      0|        p->level--;
17474|      0|        return NULL;
17475|      0|    }
17476|      4|    expr_ty _res = NULL;
17477|      4|    int _mark = p->mark;
17478|      4|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (17478:9): [True: 0, False: 4]
  |  Branch (17478:31): [True: 0, False: 0]
  ------------------
17479|      0|        p->error_indicator = 1;
17480|      0|        p->level--;
17481|      0|        return NULL;
17482|      0|    }
17483|      4|    int _start_lineno = p->tokens[_mark]->lineno;
17484|      4|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|      4|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 4]
  |  |  ------------------
  ------------------
17485|      4|    int _start_col_offset = p->tokens[_mark]->col_offset;
17486|      4|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|      4|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 4]
  |  |  ------------------
  ------------------
17487|      4|    { // '{' double_starred_kvpairs? '}'
17488|      4|        if (p->error_indicator) {
  ------------------
  |  Branch (17488:13): [True: 0, False: 4]
  ------------------
17489|      0|            p->level--;
17490|      0|            return NULL;
17491|      0|        }
17492|      4|        D(fprintf(stderr, "%*c> dict[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' double_starred_kvpairs? '}'"));
17493|      4|        Token * _literal;
17494|      4|        Token * _literal_1;
17495|      4|        void *a;
17496|      4|        if (
17497|      4|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (17497:13): [True: 4, False: 0]
  ------------------
17498|      4|            &&
17499|      4|            (a = double_starred_kvpairs_rule(p), !p->error_indicator)  // double_starred_kvpairs?
  ------------------
  |  Branch (17499:13): [True: 4, False: 0]
  ------------------
17500|      4|            &&
17501|      4|            (_literal_1 = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (17501:13): [True: 0, False: 4]
  ------------------
17502|      4|        )
17503|      0|        {
17504|      0|            D(fprintf(stderr, "%*c+ dict[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' double_starred_kvpairs? '}'"));
17505|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
17506|      0|            if (_token == NULL) {
  ------------------
  |  Branch (17506:17): [True: 0, False: 0]
  ------------------
17507|      0|                p->level--;
17508|      0|                return NULL;
17509|      0|            }
17510|      0|            int _end_lineno = _token->end_lineno;
17511|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
17512|      0|            int _end_col_offset = _token->end_col_offset;
17513|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
17514|      0|            _res = _PyAST_Dict ( CHECK ( asdl_expr_seq* , _PyPegen_get_keys ( p , a ) ) , CHECK ( asdl_expr_seq* , _PyPegen_get_values ( p , a ) ) , EXTRA );
  ------------------
  |  |  271|      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 );
  ------------------
  |  |  271|      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 );
  ------------------
  |  |  307|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
17515|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17515:18): [True: 0, False: 0]
  |  Branch (17515:34): [True: 0, False: 0]
  |  Branch (17515:57): [True: 0, False: 0]
  ------------------
17516|      0|                p->error_indicator = 1;
17517|      0|                p->level--;
17518|      0|                return NULL;
17519|      0|            }
17520|      0|            goto done;
17521|      0|        }
17522|      4|        p->mark = _mark;
17523|      4|        D(fprintf(stderr, "%*c%s dict[%d-%d]: %s failed!\n", p->level, ' ',
17524|      4|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' double_starred_kvpairs? '}'"));
17525|      4|    }
17526|      0|    { // '{' invalid_double_starred_kvpairs '}'
17527|      4|        if (p->error_indicator) {
  ------------------
  |  Branch (17527:13): [True: 0, False: 4]
  ------------------
17528|      0|            p->level--;
17529|      0|            return NULL;
17530|      0|        }
17531|      4|        D(fprintf(stderr, "%*c> dict[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' invalid_double_starred_kvpairs '}'"));
17532|      4|        Token * _literal;
17533|      4|        Token * _literal_1;
17534|      4|        void *invalid_double_starred_kvpairs_var;
17535|      4|        if (
17536|      4|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (17536:13): [True: 4, False: 0]
  ------------------
17537|      4|            &&
17538|      4|            (invalid_double_starred_kvpairs_var = invalid_double_starred_kvpairs_rule(p))  // invalid_double_starred_kvpairs
  ------------------
  |  Branch (17538:13): [True: 0, False: 4]
  ------------------
17539|      0|            &&
17540|      0|            (_literal_1 = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (17540:13): [True: 0, False: 0]
  ------------------
17541|      4|        )
17542|      0|        {
17543|      0|            D(fprintf(stderr, "%*c+ dict[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' invalid_double_starred_kvpairs '}'"));
17544|      0|            _res = _PyPegen_dummy_name(p, _literal, invalid_double_starred_kvpairs_var, _literal_1);
17545|      0|            goto done;
17546|      0|        }
17547|      4|        p->mark = _mark;
17548|      4|        D(fprintf(stderr, "%*c%s dict[%d-%d]: %s failed!\n", p->level, ' ',
17549|      4|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' invalid_double_starred_kvpairs '}'"));
17550|      4|    }
17551|      4|    _res = NULL;
17552|      4|  done:
17553|      4|    p->level--;
17554|      4|    return _res;
17555|      4|}
parser.c:double_starred_kvpairs_rule:
17560|      4|{
17561|      4|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      8|#  define MAXSTACK 6000
  ------------------
  |  Branch (17561:9): [True: 0, False: 4]
  |  Branch (17561:35): [True: 0, False: 4]
  ------------------
17562|      0|        _Pypegen_stack_overflow(p);
17563|      0|    }
17564|      4|    if (p->error_indicator) {
  ------------------
  |  Branch (17564:9): [True: 0, False: 4]
  ------------------
17565|      0|        p->level--;
17566|      0|        return NULL;
17567|      0|    }
17568|      4|    asdl_seq* _res = NULL;
17569|      4|    int _mark = p->mark;
17570|      4|    { // ','.double_starred_kvpair+ ','?
17571|      4|        if (p->error_indicator) {
  ------------------
  |  Branch (17571:13): [True: 0, False: 4]
  ------------------
17572|      0|            p->level--;
17573|      0|            return NULL;
17574|      0|        }
17575|      4|        D(fprintf(stderr, "%*c> double_starred_kvpairs[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.double_starred_kvpair+ ','?"));
17576|      4|        void *_opt_var;
17577|      4|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  305|      4|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 4]
  |  |  ------------------
  ------------------
17578|      4|        asdl_seq * a;
17579|      4|        if (
17580|      4|            (a = _gather_86_rule(p))  // ','.double_starred_kvpair+
  ------------------
  |  Branch (17580:13): [True: 0, False: 4]
  ------------------
17581|      0|            &&
17582|      0|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (17582:13): [True: 0, False: 0]
  ------------------
17583|      4|        )
17584|      0|        {
17585|      0|            D(fprintf(stderr, "%*c+ double_starred_kvpairs[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.double_starred_kvpair+ ','?"));
17586|      0|            _res = a;
17587|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17587:18): [True: 0, False: 0]
  |  Branch (17587:34): [True: 0, False: 0]
  |  Branch (17587:57): [True: 0, False: 0]
  ------------------
17588|      0|                p->error_indicator = 1;
17589|      0|                p->level--;
17590|      0|                return NULL;
17591|      0|            }
17592|      0|            goto done;
17593|      0|        }
17594|      4|        p->mark = _mark;
17595|      4|        D(fprintf(stderr, "%*c%s double_starred_kvpairs[%d-%d]: %s failed!\n", p->level, ' ',
17596|      4|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.double_starred_kvpair+ ','?"));
17597|      4|    }
17598|      4|    _res = NULL;
17599|      4|  done:
17600|      4|    p->level--;
17601|      4|    return _res;
17602|      4|}
parser.c:_gather_86_rule:
32747|      8|{
32748|      8|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     16|#  define MAXSTACK 6000
  ------------------
  |  Branch (32748:9): [True: 0, False: 8]
  |  Branch (32748:35): [True: 0, False: 8]
  ------------------
32749|      0|        _Pypegen_stack_overflow(p);
32750|      0|    }
32751|      8|    if (p->error_indicator) {
  ------------------
  |  Branch (32751:9): [True: 0, False: 8]
  ------------------
32752|      0|        p->level--;
32753|      0|        return NULL;
32754|      0|    }
32755|      8|    asdl_seq * _res = NULL;
32756|      8|    int _mark = p->mark;
32757|      8|    { // double_starred_kvpair _loop0_85
32758|      8|        if (p->error_indicator) {
  ------------------
  |  Branch (32758:13): [True: 0, False: 8]
  ------------------
32759|      0|            p->level--;
32760|      0|            return NULL;
32761|      0|        }
32762|      8|        D(fprintf(stderr, "%*c> _gather_86[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "double_starred_kvpair _loop0_85"));
32763|      8|        KeyValuePair* elem;
32764|      8|        asdl_seq * seq;
32765|      8|        if (
32766|      8|            (elem = double_starred_kvpair_rule(p))  // double_starred_kvpair
  ------------------
  |  Branch (32766:13): [True: 0, False: 8]
  ------------------
32767|      0|            &&
32768|      0|            (seq = _loop0_85_rule(p))  // _loop0_85
  ------------------
  |  Branch (32768:13): [True: 0, False: 0]
  ------------------
32769|      8|        )
32770|      0|        {
32771|      0|            D(fprintf(stderr, "%*c+ _gather_86[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "double_starred_kvpair _loop0_85"));
32772|      0|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
32773|      0|            goto done;
32774|      0|        }
32775|      8|        p->mark = _mark;
32776|      8|        D(fprintf(stderr, "%*c%s _gather_86[%d-%d]: %s failed!\n", p->level, ' ',
32777|      8|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "double_starred_kvpair _loop0_85"));
32778|      8|    }
32779|      8|    _res = NULL;
32780|      8|  done:
32781|      8|    p->level--;
32782|      8|    return _res;
32783|      8|}
parser.c:double_starred_kvpair_rule:
17607|      8|{
17608|      8|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     16|#  define MAXSTACK 6000
  ------------------
  |  Branch (17608:9): [True: 0, False: 8]
  |  Branch (17608:35): [True: 0, False: 8]
  ------------------
17609|      0|        _Pypegen_stack_overflow(p);
17610|      0|    }
17611|      8|    if (p->error_indicator) {
  ------------------
  |  Branch (17611:9): [True: 0, False: 8]
  ------------------
17612|      0|        p->level--;
17613|      0|        return NULL;
17614|      0|    }
17615|      8|    KeyValuePair* _res = NULL;
17616|      8|    int _mark = p->mark;
17617|      8|    { // '**' bitwise_or
17618|      8|        if (p->error_indicator) {
  ------------------
  |  Branch (17618:13): [True: 0, False: 8]
  ------------------
17619|      0|            p->level--;
17620|      0|            return NULL;
17621|      0|        }
17622|      8|        D(fprintf(stderr, "%*c> double_starred_kvpair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' bitwise_or"));
17623|      8|        Token * _literal;
17624|      8|        expr_ty a;
17625|      8|        if (
17626|      8|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (17626:13): [True: 0, False: 8]
  ------------------
17627|      0|            &&
17628|      0|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (17628:13): [True: 0, False: 0]
  ------------------
17629|      8|        )
17630|      0|        {
17631|      0|            D(fprintf(stderr, "%*c+ double_starred_kvpair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' bitwise_or"));
17632|      0|            _res = _PyPegen_key_value_pair ( p , NULL , a );
17633|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17633:18): [True: 0, False: 0]
  |  Branch (17633:34): [True: 0, False: 0]
  |  Branch (17633:57): [True: 0, False: 0]
  ------------------
17634|      0|                p->error_indicator = 1;
17635|      0|                p->level--;
17636|      0|                return NULL;
17637|      0|            }
17638|      0|            goto done;
17639|      0|        }
17640|      8|        p->mark = _mark;
17641|      8|        D(fprintf(stderr, "%*c%s double_starred_kvpair[%d-%d]: %s failed!\n", p->level, ' ',
17642|      8|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' bitwise_or"));
17643|      8|    }
17644|      0|    { // kvpair
17645|      8|        if (p->error_indicator) {
  ------------------
  |  Branch (17645:13): [True: 0, False: 8]
  ------------------
17646|      0|            p->level--;
17647|      0|            return NULL;
17648|      0|        }
17649|      8|        D(fprintf(stderr, "%*c> double_starred_kvpair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "kvpair"));
17650|      8|        KeyValuePair* kvpair_var;
17651|      8|        if (
17652|      8|            (kvpair_var = kvpair_rule(p))  // kvpair
  ------------------
  |  Branch (17652:13): [True: 0, False: 8]
  ------------------
17653|      8|        )
17654|      0|        {
17655|      0|            D(fprintf(stderr, "%*c+ double_starred_kvpair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "kvpair"));
17656|      0|            _res = kvpair_var;
17657|      0|            goto done;
17658|      0|        }
17659|      8|        p->mark = _mark;
17660|      8|        D(fprintf(stderr, "%*c%s double_starred_kvpair[%d-%d]: %s failed!\n", p->level, ' ',
17661|      8|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "kvpair"));
17662|      8|    }
17663|      8|    _res = NULL;
17664|      8|  done:
17665|      8|    p->level--;
17666|      8|    return _res;
17667|      8|}
parser.c:invalid_double_starred_kvpairs_rule:
25474|      4|{
25475|      4|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      8|#  define MAXSTACK 6000
  ------------------
  |  Branch (25475:9): [True: 0, False: 4]
  |  Branch (25475:35): [True: 0, False: 4]
  ------------------
25476|      0|        _Pypegen_stack_overflow(p);
25477|      0|    }
25478|      4|    if (p->error_indicator) {
  ------------------
  |  Branch (25478:9): [True: 0, False: 4]
  ------------------
25479|      0|        p->level--;
25480|      0|        return NULL;
25481|      0|    }
25482|      4|    void * _res = NULL;
25483|      4|    int _mark = p->mark;
25484|      4|    { // invalid_kvpair_unpacking ','?
25485|      4|        if (p->error_indicator) {
  ------------------
  |  Branch (25485:13): [True: 0, False: 4]
  ------------------
25486|      0|            p->level--;
25487|      0|            return NULL;
25488|      0|        }
25489|      4|        D(fprintf(stderr, "%*c> invalid_double_starred_kvpairs[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_kvpair_unpacking ','?"));
25490|      4|        void *_opt_var;
25491|      4|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  305|      4|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 4]
  |  |  ------------------
  ------------------
25492|      4|        void *invalid_kvpair_unpacking_var;
25493|      4|        if (
25494|      4|            (invalid_kvpair_unpacking_var = invalid_kvpair_unpacking_rule(p))  // invalid_kvpair_unpacking
  ------------------
  |  Branch (25494:13): [True: 0, False: 4]
  ------------------
25495|      0|            &&
25496|      0|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (25496:13): [True: 0, False: 0]
  ------------------
25497|      4|        )
25498|      0|        {
25499|      0|            D(fprintf(stderr, "%*c+ invalid_double_starred_kvpairs[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_kvpair_unpacking ','?"));
25500|      0|            _res = _PyPegen_dummy_name(p, invalid_kvpair_unpacking_var, _opt_var);
25501|      0|            goto done;
25502|      0|        }
25503|      4|        p->mark = _mark;
25504|      4|        D(fprintf(stderr, "%*c%s invalid_double_starred_kvpairs[%d-%d]: %s failed!\n", p->level, ' ',
25505|      4|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_kvpair_unpacking ','?"));
25506|      4|    }
25507|      0|    { // ','.double_starred_kvpair+ ',' (invalid_kvpair | invalid_kvpair_unpacking)
25508|      4|        if (p->error_indicator) {
  ------------------
  |  Branch (25508:13): [True: 0, False: 4]
  ------------------
25509|      0|            p->level--;
25510|      0|            return NULL;
25511|      0|        }
25512|      4|        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)"));
25513|      4|        asdl_seq * _gather_86_var;
25514|      4|        Token * _literal;
25515|      4|        void *_tmp_148_var;
25516|      4|        if (
25517|      4|            (_gather_86_var = _gather_86_rule(p))  // ','.double_starred_kvpair+
  ------------------
  |  Branch (25517:13): [True: 0, False: 4]
  ------------------
25518|      0|            &&
25519|      0|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (25519:13): [True: 0, False: 0]
  ------------------
25520|      0|            &&
25521|      0|            (_tmp_148_var = _tmp_148_rule(p))  // invalid_kvpair | invalid_kvpair_unpacking
  ------------------
  |  Branch (25521:13): [True: 0, False: 0]
  ------------------
25522|      4|        )
25523|      0|        {
25524|      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)"));
25525|      0|            _res = _PyPegen_dummy_name(p, _gather_86_var, _literal, _tmp_148_var);
25526|      0|            goto done;
25527|      0|        }
25528|      4|        p->mark = _mark;
25529|      4|        D(fprintf(stderr, "%*c%s invalid_double_starred_kvpairs[%d-%d]: %s failed!\n", p->level, ' ',
25530|      4|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.double_starred_kvpair+ ',' (invalid_kvpair | invalid_kvpair_unpacking)"));
25531|      4|    }
25532|      0|    { // expression ':' &('}' | ',')
25533|      4|        if (p->error_indicator) {
  ------------------
  |  Branch (25533:13): [True: 0, False: 4]
  ------------------
25534|      0|            p->level--;
25535|      0|            return NULL;
25536|      0|        }
25537|      4|        D(fprintf(stderr, "%*c> invalid_double_starred_kvpairs[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression ':' &('}' | ',')"));
25538|      4|        Token * a;
25539|      4|        expr_ty expression_var;
25540|      4|        if (
25541|      4|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (25541:13): [True: 4, False: 0]
  ------------------
25542|      4|            &&
25543|      4|            (a = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (25543:13): [True: 0, False: 4]
  ------------------
25544|      0|            &&
25545|      0|            _PyPegen_lookahead(1, _tmp_149_rule, p)
  ------------------
  |  Branch (25545:13): [True: 0, False: 0]
  ------------------
25546|      4|        )
25547|      0|        {
25548|      0|            D(fprintf(stderr, "%*c+ invalid_double_starred_kvpairs[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression ':' &('}' | ',')"));
25549|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "expression expected after dictionary key and ':'" );
  ------------------
  |  |  239|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
25550|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (25550:18): [True: 0, False: 0]
  |  Branch (25550:34): [True: 0, False: 0]
  |  Branch (25550:57): [True: 0, False: 0]
  ------------------
25551|      0|                p->error_indicator = 1;
25552|      0|                p->level--;
25553|      0|                return NULL;
25554|      0|            }
25555|      0|            goto done;
25556|      0|        }
25557|      4|        p->mark = _mark;
25558|      4|        D(fprintf(stderr, "%*c%s invalid_double_starred_kvpairs[%d-%d]: %s failed!\n", p->level, ' ',
25559|      4|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression ':' &('}' | ',')"));
25560|      4|    }
25561|      4|    _res = NULL;
25562|      4|  done:
25563|      4|    p->level--;
25564|      4|    return _res;
25565|      4|}
parser.c:invalid_kvpair_unpacking_rule:
25575|      4|{
25576|      4|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      8|#  define MAXSTACK 6000
  ------------------
  |  Branch (25576:9): [True: 0, False: 4]
  |  Branch (25576:35): [True: 0, False: 4]
  ------------------
25577|      0|        _Pypegen_stack_overflow(p);
25578|      0|    }
25579|      4|    if (p->error_indicator) {
  ------------------
  |  Branch (25579:9): [True: 0, False: 4]
  ------------------
25580|      0|        p->level--;
25581|      0|        return NULL;
25582|      0|    }
25583|      4|    void * _res = NULL;
25584|      4|    int _mark = p->mark;
25585|      4|    expr_ty _prefix_14_result = NULL;
25586|      4|    int _prefix_14_end = 0, _prefix_14_valid = 0;
25587|      4|    { // '**' if_expression
25588|      4|        if (p->error_indicator) {
  ------------------
  |  Branch (25588:13): [True: 0, False: 4]
  ------------------
25589|      0|            p->level--;
25590|      0|            return NULL;
25591|      0|        }
25592|      4|        D(fprintf(stderr, "%*c> invalid_kvpair_unpacking[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' if_expression"));
25593|      4|        Token * a;
25594|      4|        expr_ty b;
25595|      4|        if (
25596|      4|            (a = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (25596:13): [True: 0, False: 4]
  ------------------
25597|      0|            &&
25598|      0|            (b = if_expression_rule(p))  // if_expression
  ------------------
  |  Branch (25598:13): [True: 0, False: 0]
  ------------------
25599|      4|        )
25600|      0|        {
25601|      0|            D(fprintf(stderr, "%*c+ invalid_kvpair_unpacking[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' if_expression"));
25602|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "invalid double starred expression. Did you forget to wrap the conditional expression in parentheses?" );
  ------------------
  |  |  237|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
25603|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (25603:18): [True: 0, False: 0]
  |  Branch (25603:34): [True: 0, False: 0]
  |  Branch (25603:57): [True: 0, False: 0]
  ------------------
25604|      0|                p->error_indicator = 1;
25605|      0|                p->level--;
25606|      0|                return NULL;
25607|      0|            }
25608|      0|            goto done;
25609|      0|        }
25610|      4|        p->mark = _mark;
25611|      4|        D(fprintf(stderr, "%*c%s invalid_kvpair_unpacking[%d-%d]: %s failed!\n", p->level, ' ',
25612|      4|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' if_expression"));
25613|      4|    }
25614|      0|    { // '*' bitwise_or ':' expression
25615|      4|        if (p->error_indicator) {
  ------------------
  |  Branch (25615:13): [True: 0, False: 4]
  ------------------
25616|      0|            p->level--;
25617|      0|            return NULL;
25618|      0|        }
25619|      4|        D(fprintf(stderr, "%*c> invalid_kvpair_unpacking[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' bitwise_or ':' expression"));
25620|      4|        Token * _literal;
25621|      4|        Token * a;
25622|      4|        expr_ty b;
25623|      4|        expr_ty expression_var;
25624|      4|        if (
25625|      4|            (a = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (25625:13): [True: 0, False: 4]
  ------------------
25626|      0|            &&
25627|      0|            (b = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (25627:13): [True: 0, False: 0]
  ------------------
25628|      0|            &&
25629|      0|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (25629:13): [True: 0, False: 0]
  ------------------
25630|      0|            &&
25631|      0|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (25631:13): [True: 0, False: 0]
  ------------------
25632|      4|        )
25633|      0|        {
25634|      0|            D(fprintf(stderr, "%*c+ invalid_kvpair_unpacking[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' bitwise_or ':' expression"));
25635|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "cannot use a starred expression in a dictionary key" );
  ------------------
  |  |  237|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
25636|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (25636:18): [True: 0, False: 0]
  |  Branch (25636:34): [True: 0, False: 0]
  |  Branch (25636:57): [True: 0, False: 0]
  ------------------
25637|      0|                p->error_indicator = 1;
25638|      0|                p->level--;
25639|      0|                return NULL;
25640|      0|            }
25641|      0|            goto done;
25642|      0|        }
25643|      4|        p->mark = _mark;
25644|      4|        D(fprintf(stderr, "%*c%s invalid_kvpair_unpacking[%d-%d]: %s failed!\n", p->level, ' ',
25645|      4|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' bitwise_or ':' expression"));
25646|      4|    }
25647|      0|    { // '**' bitwise_or ':' expression
25648|      4|        if (p->error_indicator) {
  ------------------
  |  Branch (25648:13): [True: 0, False: 4]
  ------------------
25649|      0|            p->level--;
25650|      0|            return NULL;
25651|      0|        }
25652|      4|        D(fprintf(stderr, "%*c> invalid_kvpair_unpacking[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' bitwise_or ':' expression"));
25653|      4|        Token * _literal;
25654|      4|        Token * a;
25655|      4|        expr_ty b;
25656|      4|        expr_ty expression_var;
25657|      4|        if (
25658|      4|            (a = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (25658:13): [True: 0, False: 4]
  ------------------
25659|      0|            &&
25660|      0|            (b = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (25660:13): [True: 0, False: 0]
  ------------------
25661|      0|            &&
25662|      0|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (25662:13): [True: 0, False: 0]
  ------------------
25663|      0|            &&
25664|      0|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (25664:13): [True: 0, False: 0]
  ------------------
25665|      4|        )
25666|      0|        {
25667|      0|            D(fprintf(stderr, "%*c+ invalid_kvpair_unpacking[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' bitwise_or ':' expression"));
25668|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "cannot use dict unpacking in a dictionary key" );
  ------------------
  |  |  237|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
25669|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (25669:18): [True: 0, False: 0]
  |  Branch (25669:34): [True: 0, False: 0]
  |  Branch (25669:57): [True: 0, False: 0]
  ------------------
25670|      0|                p->error_indicator = 1;
25671|      0|                p->level--;
25672|      0|                return NULL;
25673|      0|            }
25674|      0|            goto done;
25675|      0|        }
25676|      4|        p->mark = _mark;
25677|      4|        D(fprintf(stderr, "%*c%s invalid_kvpair_unpacking[%d-%d]: %s failed!\n", p->level, ' ',
25678|      4|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' bitwise_or ':' expression"));
25679|      4|    }
25680|      0|    { // expression ':' '*' bitwise_or
25681|      4|        if (p->error_indicator) {
  ------------------
  |  Branch (25681:13): [True: 0, False: 4]
  ------------------
25682|      0|            p->level--;
25683|      0|            return NULL;
25684|      0|        }
25685|      4|        D(fprintf(stderr, "%*c> invalid_kvpair_unpacking[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression ':' '*' bitwise_or"));
25686|      4|        Token * _literal;
25687|      4|        Token * a;
25688|      4|        expr_ty b;
25689|      4|        expr_ty expression_var;
25690|      4|        if (
25691|      4|            (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
  ------------------
  |  Branch (25691:13): [True: 4, False: 0]
  |  Branch (25691:33): [True: 4, False: 0]
  |  Branch (25691:59): [True: 0, False: 4]
  ------------------
25692|      4|            &&
25693|      4|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (25693:13): [True: 0, False: 4]
  ------------------
25694|      0|            &&
25695|      0|            (a = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (25695:13): [True: 0, False: 0]
  ------------------
25696|      0|            &&
25697|      0|            (b = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (25697:13): [True: 0, False: 0]
  ------------------
25698|      4|        )
25699|      0|        {
25700|      0|            D(fprintf(stderr, "%*c+ invalid_kvpair_unpacking[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression ':' '*' bitwise_or"));
25701|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "cannot use a starred expression in a dictionary value" );
  ------------------
  |  |  237|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
25702|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (25702:18): [True: 0, False: 0]
  |  Branch (25702:34): [True: 0, False: 0]
  |  Branch (25702:57): [True: 0, False: 0]
  ------------------
25703|      0|                p->error_indicator = 1;
25704|      0|                p->level--;
25705|      0|                return NULL;
25706|      0|            }
25707|      0|            goto done;
25708|      0|        }
25709|      4|        p->mark = _mark;
25710|      4|        D(fprintf(stderr, "%*c%s invalid_kvpair_unpacking[%d-%d]: %s failed!\n", p->level, ' ',
25711|      4|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression ':' '*' bitwise_or"));
25712|      4|    }
25713|      0|    { // expression ':' '**' bitwise_or
25714|      4|        if (p->error_indicator) {
  ------------------
  |  Branch (25714:13): [True: 0, False: 4]
  ------------------
25715|      0|            p->level--;
25716|      0|            return NULL;
25717|      0|        }
25718|      4|        D(fprintf(stderr, "%*c> invalid_kvpair_unpacking[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression ':' '**' bitwise_or"));
25719|      4|        Token * _literal;
25720|      4|        Token * a;
25721|      4|        expr_ty b;
25722|      4|        expr_ty expression_var;
25723|      4|        if (
25724|      4|            (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
  ------------------
  |  Branch (25724:13): [True: 4, False: 0]
  |  Branch (25724:33): [True: 4, False: 0]
  |  Branch (25724:59): [True: 4, False: 0]
  ------------------
25725|      4|            &&
25726|      4|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (25726:13): [True: 0, False: 4]
  ------------------
25727|      0|            &&
25728|      0|            (a = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (25728:13): [True: 0, False: 0]
  ------------------
25729|      0|            &&
25730|      0|            (b = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (25730:13): [True: 0, False: 0]
  ------------------
25731|      4|        )
25732|      0|        {
25733|      0|            D(fprintf(stderr, "%*c+ invalid_kvpair_unpacking[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression ':' '**' bitwise_or"));
25734|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "cannot use dict unpacking in a dictionary value" );
  ------------------
  |  |  237|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
25735|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (25735:18): [True: 0, False: 0]
  |  Branch (25735:34): [True: 0, False: 0]
  |  Branch (25735:57): [True: 0, False: 0]
  ------------------
25736|      0|                p->error_indicator = 1;
25737|      0|                p->level--;
25738|      0|                return NULL;
25739|      0|            }
25740|      0|            goto done;
25741|      0|        }
25742|      4|        p->mark = _mark;
25743|      4|        D(fprintf(stderr, "%*c%s invalid_kvpair_unpacking[%d-%d]: %s failed!\n", p->level, ' ',
25744|      4|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression ':' '**' bitwise_or"));
25745|      4|    }
25746|      4|    _res = NULL;
25747|      4|  done:
25748|      4|    p->level--;
25749|      4|    return _res;
25750|      4|}
parser.c:set_rule:
17401|      4|{
17402|      4|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      8|#  define MAXSTACK 6000
  ------------------
  |  Branch (17402:9): [True: 0, False: 4]
  |  Branch (17402:35): [True: 0, False: 4]
  ------------------
17403|      0|        _Pypegen_stack_overflow(p);
17404|      0|    }
17405|      4|    if (p->error_indicator) {
  ------------------
  |  Branch (17405:9): [True: 0, False: 4]
  ------------------
17406|      0|        p->level--;
17407|      0|        return NULL;
17408|      0|    }
17409|      4|    expr_ty _res = NULL;
17410|      4|    int _mark = p->mark;
17411|      4|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (17411:9): [True: 0, False: 4]
  |  Branch (17411:31): [True: 0, False: 0]
  ------------------
17412|      0|        p->error_indicator = 1;
17413|      0|        p->level--;
17414|      0|        return NULL;
17415|      0|    }
17416|      4|    int _start_lineno = p->tokens[_mark]->lineno;
17417|      4|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|      4|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 4]
  |  |  ------------------
  ------------------
17418|      4|    int _start_col_offset = p->tokens[_mark]->col_offset;
17419|      4|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|      4|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 4]
  |  |  ------------------
  ------------------
17420|      4|    { // '{' display_items '}'
17421|      4|        if (p->error_indicator) {
  ------------------
  |  Branch (17421:13): [True: 0, False: 4]
  ------------------
17422|      0|            p->level--;
17423|      0|            return NULL;
17424|      0|        }
17425|      4|        D(fprintf(stderr, "%*c> set[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' display_items '}'"));
17426|      4|        Token * _literal;
17427|      4|        Token * _literal_1;
17428|      4|        asdl_expr_seq* a;
17429|      4|        if (
17430|      4|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (17430:13): [True: 4, False: 0]
  ------------------
17431|      4|            &&
17432|      4|            (a = display_items_rule(p))  // display_items
  ------------------
  |  Branch (17432:13): [True: 4, False: 0]
  ------------------
17433|      4|            &&
17434|      4|            (_literal_1 = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (17434:13): [True: 4, False: 0]
  ------------------
17435|      4|        )
17436|      4|        {
17437|      4|            D(fprintf(stderr, "%*c+ set[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' display_items '}'"));
17438|      4|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
17439|      4|            if (_token == NULL) {
  ------------------
  |  Branch (17439:17): [True: 0, False: 4]
  ------------------
17440|      0|                p->level--;
17441|      0|                return NULL;
17442|      0|            }
17443|      4|            int _end_lineno = _token->end_lineno;
17444|      4|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|      4|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 4]
  |  |  ------------------
  ------------------
17445|      4|            int _end_col_offset = _token->end_col_offset;
17446|      4|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|      4|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 4]
  |  |  ------------------
  ------------------
17447|      4|            _res = _PyAST_Set ( a , EXTRA );
  ------------------
  |  |  307|      4|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
17448|      4|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17448:18): [True: 0, False: 4]
  |  Branch (17448:34): [True: 0, False: 4]
  |  Branch (17448:57): [True: 0, False: 0]
  ------------------
17449|      0|                p->error_indicator = 1;
17450|      0|                p->level--;
17451|      0|                return NULL;
17452|      0|            }
17453|      4|            goto done;
17454|      4|        }
17455|      0|        p->mark = _mark;
17456|      0|        D(fprintf(stderr, "%*c%s set[%d-%d]: %s failed!\n", p->level, ' ',
17457|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' display_items '}'"));
17458|      0|    }
17459|      0|    _res = NULL;
17460|      4|  done:
17461|      4|    p->level--;
17462|      4|    return _res;
17463|      0|}
parser.c:invalid_factor_rule:
27102|    743|{
27103|    743|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.48k|#  define MAXSTACK 6000
  ------------------
  |  Branch (27103:9): [True: 0, False: 743]
  |  Branch (27103:35): [True: 0, False: 743]
  ------------------
27104|      0|        _Pypegen_stack_overflow(p);
27105|      0|    }
27106|    743|    if (p->error_indicator) {
  ------------------
  |  Branch (27106:9): [True: 0, False: 743]
  ------------------
27107|      0|        p->level--;
27108|      0|        return NULL;
27109|      0|    }
27110|    743|    void * _res = NULL;
27111|    743|    int _mark = p->mark;
27112|    743|    { // ('+' | '-' | '~') 'not' factor
27113|    743|        if (p->error_indicator) {
  ------------------
  |  Branch (27113:13): [True: 0, False: 743]
  ------------------
27114|      0|            p->level--;
27115|      0|            return NULL;
27116|      0|        }
27117|    743|        D(fprintf(stderr, "%*c> invalid_factor[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "('+' | '-' | '~') 'not' factor"));
27118|    743|        void *_tmp_156_var;
27119|    743|        Token * a;
27120|    743|        expr_ty b;
27121|    743|        if (
27122|    743|            (_tmp_156_var = _tmp_156_rule(p))  // '+' | '-' | '~'
  ------------------
  |  Branch (27122:13): [True: 0, False: 743]
  ------------------
27123|      0|            &&
27124|      0|            (a = _PyPegen_expect_token(p, 721))  // token='not'
  ------------------
  |  Branch (27124:13): [True: 0, False: 0]
  ------------------
27125|      0|            &&
27126|      0|            (b = factor_rule(p))  // factor
  ------------------
  |  Branch (27126:13): [True: 0, False: 0]
  ------------------
27127|    743|        )
27128|      0|        {
27129|      0|            D(fprintf(stderr, "%*c+ invalid_factor[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "('+' | '-' | '~') 'not' factor"));
27130|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "'not' after an operator must be parenthesized" );
  ------------------
  |  |  237|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
27131|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (27131:18): [True: 0, False: 0]
  |  Branch (27131:34): [True: 0, False: 0]
  |  Branch (27131:57): [True: 0, False: 0]
  ------------------
27132|      0|                p->error_indicator = 1;
27133|      0|                p->level--;
27134|      0|                return NULL;
27135|      0|            }
27136|      0|            goto done;
27137|      0|        }
27138|    743|        p->mark = _mark;
27139|    743|        D(fprintf(stderr, "%*c%s invalid_factor[%d-%d]: %s failed!\n", p->level, ' ',
27140|    743|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "('+' | '-' | '~') 'not' factor"));
27141|    743|    }
27142|    743|    _res = NULL;
27143|    743|  done:
27144|    743|    p->level--;
27145|    743|    return _res;
27146|    743|}
parser.c:_tmp_156_rule:
36974|    743|{
36975|    743|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.48k|#  define MAXSTACK 6000
  ------------------
  |  Branch (36975:9): [True: 0, False: 743]
  |  Branch (36975:35): [True: 0, False: 743]
  ------------------
36976|      0|        _Pypegen_stack_overflow(p);
36977|      0|    }
36978|    743|    if (p->error_indicator) {
  ------------------
  |  Branch (36978:9): [True: 0, False: 743]
  ------------------
36979|      0|        p->level--;
36980|      0|        return NULL;
36981|      0|    }
36982|    743|    void * _res = NULL;
36983|    743|    int _mark = p->mark;
36984|    743|    { // '+'
36985|    743|        if (p->error_indicator) {
  ------------------
  |  Branch (36985:13): [True: 0, False: 743]
  ------------------
36986|      0|            p->level--;
36987|      0|            return NULL;
36988|      0|        }
36989|    743|        D(fprintf(stderr, "%*c> _tmp_156[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'+'"));
36990|    743|        Token * _literal;
36991|    743|        if (
36992|    743|            (_literal = _PyPegen_expect_token(p, 14))  // token='+'
  ------------------
  |  Branch (36992:13): [True: 0, False: 743]
  ------------------
36993|    743|        )
36994|      0|        {
36995|      0|            D(fprintf(stderr, "%*c+ _tmp_156[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'+'"));
36996|      0|            _res = _literal;
36997|      0|            goto done;
36998|      0|        }
36999|    743|        p->mark = _mark;
37000|    743|        D(fprintf(stderr, "%*c%s _tmp_156[%d-%d]: %s failed!\n", p->level, ' ',
37001|    743|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'+'"));
37002|    743|    }
37003|      0|    { // '-'
37004|    743|        if (p->error_indicator) {
  ------------------
  |  Branch (37004:13): [True: 0, False: 743]
  ------------------
37005|      0|            p->level--;
37006|      0|            return NULL;
37007|      0|        }
37008|    743|        D(fprintf(stderr, "%*c> _tmp_156[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'-'"));
37009|    743|        Token * _literal;
37010|    743|        if (
37011|    743|            (_literal = _PyPegen_expect_token(p, 15))  // token='-'
  ------------------
  |  Branch (37011:13): [True: 0, False: 743]
  ------------------
37012|    743|        )
37013|      0|        {
37014|      0|            D(fprintf(stderr, "%*c+ _tmp_156[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'-'"));
37015|      0|            _res = _literal;
37016|      0|            goto done;
37017|      0|        }
37018|    743|        p->mark = _mark;
37019|    743|        D(fprintf(stderr, "%*c%s _tmp_156[%d-%d]: %s failed!\n", p->level, ' ',
37020|    743|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'-'"));
37021|    743|    }
37022|      0|    { // '~'
37023|    743|        if (p->error_indicator) {
  ------------------
  |  Branch (37023:13): [True: 0, False: 743]
  ------------------
37024|      0|            p->level--;
37025|      0|            return NULL;
37026|      0|        }
37027|    743|        D(fprintf(stderr, "%*c> _tmp_156[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'~'"));
37028|    743|        Token * _literal;
37029|    743|        if (
37030|    743|            (_literal = _PyPegen_expect_token(p, 31))  // token='~'
  ------------------
  |  Branch (37030:13): [True: 0, False: 743]
  ------------------
37031|    743|        )
37032|      0|        {
37033|      0|            D(fprintf(stderr, "%*c+ _tmp_156[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'~'"));
37034|      0|            _res = _literal;
37035|      0|            goto done;
37036|      0|        }
37037|    743|        p->mark = _mark;
37038|    743|        D(fprintf(stderr, "%*c%s _tmp_156[%d-%d]: %s failed!\n", p->level, ' ',
37039|    743|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'~'"));
37040|    743|    }
37041|    743|    _res = NULL;
37042|    743|  done:
37043|    743|    p->level--;
37044|    743|    return _res;
37045|    743|}
parser.c:invalid_arithmetic_rule:
27050|  2.25k|{
27051|  2.25k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  4.50k|#  define MAXSTACK 6000
  ------------------
  |  Branch (27051:9): [True: 0, False: 2.25k]
  |  Branch (27051:35): [True: 0, False: 2.25k]
  ------------------
27052|      0|        _Pypegen_stack_overflow(p);
27053|      0|    }
27054|  2.25k|    if (p->error_indicator) {
  ------------------
  |  Branch (27054:9): [True: 0, False: 2.25k]
  ------------------
27055|      0|        p->level--;
27056|      0|        return NULL;
27057|      0|    }
27058|  2.25k|    void * _res = NULL;
27059|  2.25k|    int _mark = p->mark;
27060|  2.25k|    { // sum ('+' | '-' | '*' | '/' | '%' | '//' | '@') 'not' inversion
27061|  2.25k|        if (p->error_indicator) {
  ------------------
  |  Branch (27061:13): [True: 0, False: 2.25k]
  ------------------
27062|      0|            p->level--;
27063|      0|            return NULL;
27064|      0|        }
27065|  2.25k|        D(fprintf(stderr, "%*c> invalid_arithmetic[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "sum ('+' | '-' | '*' | '/' | '%' | '//' | '@') 'not' inversion"));
27066|  2.25k|        void *_tmp_155_var;
27067|  2.25k|        Token * a;
27068|  2.25k|        expr_ty b;
27069|  2.25k|        expr_ty sum_var;
27070|  2.25k|        if (
27071|  2.25k|            (sum_var = sum_rule(p))  // sum
  ------------------
  |  Branch (27071:13): [True: 523, False: 1.73k]
  ------------------
27072|    523|            &&
27073|    523|            (_tmp_155_var = _tmp_155_rule(p))  // '+' | '-' | '*' | '/' | '%' | '//' | '@'
  ------------------
  |  Branch (27073:13): [True: 0, False: 523]
  ------------------
27074|      0|            &&
27075|      0|            (a = _PyPegen_expect_token(p, 721))  // token='not'
  ------------------
  |  Branch (27075:13): [True: 0, False: 0]
  ------------------
27076|      0|            &&
27077|      0|            (b = inversion_rule(p))  // inversion
  ------------------
  |  Branch (27077:13): [True: 0, False: 0]
  ------------------
27078|  2.25k|        )
27079|      0|        {
27080|      0|            D(fprintf(stderr, "%*c+ invalid_arithmetic[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "sum ('+' | '-' | '*' | '/' | '%' | '//' | '@') 'not' inversion"));
27081|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "'not' after an operator must be parenthesized" );
  ------------------
  |  |  237|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
27082|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (27082:18): [True: 0, False: 0]
  |  Branch (27082:34): [True: 0, False: 0]
  |  Branch (27082:57): [True: 0, False: 0]
  ------------------
27083|      0|                p->error_indicator = 1;
27084|      0|                p->level--;
27085|      0|                return NULL;
27086|      0|            }
27087|      0|            goto done;
27088|      0|        }
27089|  2.25k|        p->mark = _mark;
27090|  2.25k|        D(fprintf(stderr, "%*c%s invalid_arithmetic[%d-%d]: %s failed!\n", p->level, ' ',
27091|  2.25k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "sum ('+' | '-' | '*' | '/' | '%' | '//' | '@') 'not' inversion"));
27092|  2.25k|    }
27093|  2.25k|    _res = NULL;
27094|  2.25k|  done:
27095|  2.25k|    p->level--;
27096|  2.25k|    return _res;
27097|  2.25k|}
parser.c:_tmp_155_rule:
36822|    523|{
36823|    523|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.04k|#  define MAXSTACK 6000
  ------------------
  |  Branch (36823:9): [True: 0, False: 523]
  |  Branch (36823:35): [True: 0, False: 523]
  ------------------
36824|      0|        _Pypegen_stack_overflow(p);
36825|      0|    }
36826|    523|    if (p->error_indicator) {
  ------------------
  |  Branch (36826:9): [True: 0, False: 523]
  ------------------
36827|      0|        p->level--;
36828|      0|        return NULL;
36829|      0|    }
36830|    523|    void * _res = NULL;
36831|    523|    int _mark = p->mark;
36832|    523|    { // '+'
36833|    523|        if (p->error_indicator) {
  ------------------
  |  Branch (36833:13): [True: 0, False: 523]
  ------------------
36834|      0|            p->level--;
36835|      0|            return NULL;
36836|      0|        }
36837|    523|        D(fprintf(stderr, "%*c> _tmp_155[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'+'"));
36838|    523|        Token * _literal;
36839|    523|        if (
36840|    523|            (_literal = _PyPegen_expect_token(p, 14))  // token='+'
  ------------------
  |  Branch (36840:13): [True: 0, False: 523]
  ------------------
36841|    523|        )
36842|      0|        {
36843|      0|            D(fprintf(stderr, "%*c+ _tmp_155[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'+'"));
36844|      0|            _res = _literal;
36845|      0|            goto done;
36846|      0|        }
36847|    523|        p->mark = _mark;
36848|    523|        D(fprintf(stderr, "%*c%s _tmp_155[%d-%d]: %s failed!\n", p->level, ' ',
36849|    523|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'+'"));
36850|    523|    }
36851|      0|    { // '-'
36852|    523|        if (p->error_indicator) {
  ------------------
  |  Branch (36852:13): [True: 0, False: 523]
  ------------------
36853|      0|            p->level--;
36854|      0|            return NULL;
36855|      0|        }
36856|    523|        D(fprintf(stderr, "%*c> _tmp_155[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'-'"));
36857|    523|        Token * _literal;
36858|    523|        if (
36859|    523|            (_literal = _PyPegen_expect_token(p, 15))  // token='-'
  ------------------
  |  Branch (36859:13): [True: 0, False: 523]
  ------------------
36860|    523|        )
36861|      0|        {
36862|      0|            D(fprintf(stderr, "%*c+ _tmp_155[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'-'"));
36863|      0|            _res = _literal;
36864|      0|            goto done;
36865|      0|        }
36866|    523|        p->mark = _mark;
36867|    523|        D(fprintf(stderr, "%*c%s _tmp_155[%d-%d]: %s failed!\n", p->level, ' ',
36868|    523|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'-'"));
36869|    523|    }
36870|      0|    { // '*'
36871|    523|        if (p->error_indicator) {
  ------------------
  |  Branch (36871:13): [True: 0, False: 523]
  ------------------
36872|      0|            p->level--;
36873|      0|            return NULL;
36874|      0|        }
36875|    523|        D(fprintf(stderr, "%*c> _tmp_155[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*'"));
36876|    523|        Token * _literal;
36877|    523|        if (
36878|    523|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (36878:13): [True: 0, False: 523]
  ------------------
36879|    523|        )
36880|      0|        {
36881|      0|            D(fprintf(stderr, "%*c+ _tmp_155[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*'"));
36882|      0|            _res = _literal;
36883|      0|            goto done;
36884|      0|        }
36885|    523|        p->mark = _mark;
36886|    523|        D(fprintf(stderr, "%*c%s _tmp_155[%d-%d]: %s failed!\n", p->level, ' ',
36887|    523|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*'"));
36888|    523|    }
36889|      0|    { // '/'
36890|    523|        if (p->error_indicator) {
  ------------------
  |  Branch (36890:13): [True: 0, False: 523]
  ------------------
36891|      0|            p->level--;
36892|      0|            return NULL;
36893|      0|        }
36894|    523|        D(fprintf(stderr, "%*c> _tmp_155[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'/'"));
36895|    523|        Token * _literal;
36896|    523|        if (
36897|    523|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (36897:13): [True: 0, False: 523]
  ------------------
36898|    523|        )
36899|      0|        {
36900|      0|            D(fprintf(stderr, "%*c+ _tmp_155[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'/'"));
36901|      0|            _res = _literal;
36902|      0|            goto done;
36903|      0|        }
36904|    523|        p->mark = _mark;
36905|    523|        D(fprintf(stderr, "%*c%s _tmp_155[%d-%d]: %s failed!\n", p->level, ' ',
36906|    523|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'/'"));
36907|    523|    }
36908|      0|    { // '%'
36909|    523|        if (p->error_indicator) {
  ------------------
  |  Branch (36909:13): [True: 0, False: 523]
  ------------------
36910|      0|            p->level--;
36911|      0|            return NULL;
36912|      0|        }
36913|    523|        D(fprintf(stderr, "%*c> _tmp_155[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'%'"));
36914|    523|        Token * _literal;
36915|    523|        if (
36916|    523|            (_literal = _PyPegen_expect_token(p, 24))  // token='%'
  ------------------
  |  Branch (36916:13): [True: 0, False: 523]
  ------------------
36917|    523|        )
36918|      0|        {
36919|      0|            D(fprintf(stderr, "%*c+ _tmp_155[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'%'"));
36920|      0|            _res = _literal;
36921|      0|            goto done;
36922|      0|        }
36923|    523|        p->mark = _mark;
36924|    523|        D(fprintf(stderr, "%*c%s _tmp_155[%d-%d]: %s failed!\n", p->level, ' ',
36925|    523|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'%'"));
36926|    523|    }
36927|      0|    { // '//'
36928|    523|        if (p->error_indicator) {
  ------------------
  |  Branch (36928:13): [True: 0, False: 523]
  ------------------
36929|      0|            p->level--;
36930|      0|            return NULL;
36931|      0|        }
36932|    523|        D(fprintf(stderr, "%*c> _tmp_155[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'//'"));
36933|    523|        Token * _literal;
36934|    523|        if (
36935|    523|            (_literal = _PyPegen_expect_token(p, 47))  // token='//'
  ------------------
  |  Branch (36935:13): [True: 0, False: 523]
  ------------------
36936|    523|        )
36937|      0|        {
36938|      0|            D(fprintf(stderr, "%*c+ _tmp_155[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'//'"));
36939|      0|            _res = _literal;
36940|      0|            goto done;
36941|      0|        }
36942|    523|        p->mark = _mark;
36943|    523|        D(fprintf(stderr, "%*c%s _tmp_155[%d-%d]: %s failed!\n", p->level, ' ',
36944|    523|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'//'"));
36945|    523|    }
36946|      0|    { // '@'
36947|    523|        if (p->error_indicator) {
  ------------------
  |  Branch (36947:13): [True: 0, False: 523]
  ------------------
36948|      0|            p->level--;
36949|      0|            return NULL;
36950|      0|        }
36951|    523|        D(fprintf(stderr, "%*c> _tmp_155[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'@'"));
36952|    523|        Token * _literal;
36953|    523|        if (
36954|    523|            (_literal = _PyPegen_expect_token(p, 49))  // token='@'
  ------------------
  |  Branch (36954:13): [True: 0, False: 523]
  ------------------
36955|    523|        )
36956|      0|        {
36957|      0|            D(fprintf(stderr, "%*c+ _tmp_155[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'@'"));
36958|      0|            _res = _literal;
36959|      0|            goto done;
36960|      0|        }
36961|    523|        p->mark = _mark;
36962|    523|        D(fprintf(stderr, "%*c%s _tmp_155[%d-%d]: %s failed!\n", p->level, ' ',
36963|    523|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'@'"));
36964|    523|    }
36965|    523|    _res = NULL;
36966|    523|  done:
36967|    523|    p->level--;
36968|    523|    return _res;
36969|    523|}
parser.c:invalid_bitwise_and_rule:
27198|  2.25k|{
27199|  2.25k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  4.50k|#  define MAXSTACK 6000
  ------------------
  |  Branch (27199:9): [True: 0, False: 2.25k]
  |  Branch (27199:35): [True: 0, False: 2.25k]
  ------------------
27200|      0|        _Pypegen_stack_overflow(p);
27201|      0|    }
27202|  2.25k|    if (p->error_indicator) {
  ------------------
  |  Branch (27202:9): [True: 0, False: 2.25k]
  ------------------
27203|      0|        p->level--;
27204|      0|        return NULL;
27205|      0|    }
27206|  2.25k|    void * _res = NULL;
27207|  2.25k|    int _mark = p->mark;
27208|  2.25k|    { // bitwise_and '&' '&'
27209|  2.25k|        if (p->error_indicator) {
  ------------------
  |  Branch (27209:13): [True: 0, False: 2.25k]
  ------------------
27210|      0|            p->level--;
27211|      0|            return NULL;
27212|      0|        }
27213|  2.25k|        D(fprintf(stderr, "%*c> invalid_bitwise_and[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_and '&' '&'"));
27214|  2.25k|        expr_ty a;
27215|  2.25k|        Token * b;
27216|  2.25k|        Token * c;
27217|  2.25k|        if (
27218|  2.25k|            (a = bitwise_and_rule(p))  // bitwise_and
  ------------------
  |  Branch (27218:13): [True: 523, False: 1.73k]
  ------------------
27219|    523|            &&
27220|    523|            (b = _PyPegen_expect_token(p, 19))  // token='&'
  ------------------
  |  Branch (27220:13): [True: 0, False: 523]
  ------------------
27221|      0|            &&
27222|      0|            (c = _PyPegen_expect_token(p, 19))  // token='&'
  ------------------
  |  Branch (27222:13): [True: 0, False: 0]
  ------------------
27223|  2.25k|        )
27224|      0|        {
27225|      0|            D(fprintf(stderr, "%*c+ invalid_bitwise_and[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_and '&' '&'"));
27226|      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;
  ------------------
  |  |  237|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
  |  Branch (27226:20): [True: 0, False: 0]
  ------------------
27227|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (27227:18): [True: 0, False: 0]
  |  Branch (27227:34): [True: 0, False: 0]
  |  Branch (27227:57): [True: 0, False: 0]
  ------------------
27228|      0|                p->error_indicator = 1;
27229|      0|                p->level--;
27230|      0|                return NULL;
27231|      0|            }
27232|      0|            goto done;
27233|      0|        }
27234|  2.25k|        p->mark = _mark;
27235|  2.25k|        D(fprintf(stderr, "%*c%s invalid_bitwise_and[%d-%d]: %s failed!\n", p->level, ' ',
27236|  2.25k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_and '&' '&'"));
27237|  2.25k|    }
27238|  2.25k|    _res = NULL;
27239|  2.25k|  done:
27240|  2.25k|    p->level--;
27241|  2.25k|    return _res;
27242|  2.25k|}
parser.c:invalid_bitwise_or_rule:
27248|  2.25k|{
27249|  2.25k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  4.50k|#  define MAXSTACK 6000
  ------------------
  |  Branch (27249:9): [True: 0, False: 2.25k]
  |  Branch (27249:35): [True: 0, False: 2.25k]
  ------------------
27250|      0|        _Pypegen_stack_overflow(p);
27251|      0|    }
27252|  2.25k|    if (p->error_indicator) {
  ------------------
  |  Branch (27252:9): [True: 0, False: 2.25k]
  ------------------
27253|      0|        p->level--;
27254|      0|        return NULL;
27255|      0|    }
27256|  2.25k|    void * _res = NULL;
27257|  2.25k|    int _mark = p->mark;
27258|  2.25k|    { // bitwise_or '|' '|'
27259|  2.25k|        if (p->error_indicator) {
  ------------------
  |  Branch (27259:13): [True: 0, False: 2.25k]
  ------------------
27260|      0|            p->level--;
27261|      0|            return NULL;
27262|      0|        }
27263|  2.25k|        D(fprintf(stderr, "%*c> invalid_bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_or '|' '|'"));
27264|  2.25k|        expr_ty a;
27265|  2.25k|        Token * b;
27266|  2.25k|        Token * c;
27267|  2.25k|        if (
27268|  2.25k|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (27268:13): [True: 523, False: 1.73k]
  ------------------
27269|    523|            &&
27270|    523|            (b = _PyPegen_expect_token(p, 18))  // token='|'
  ------------------
  |  Branch (27270:13): [True: 0, False: 523]
  ------------------
27271|      0|            &&
27272|      0|            (c = _PyPegen_expect_token(p, 18))  // token='|'
  ------------------
  |  Branch (27272:13): [True: 0, False: 0]
  ------------------
27273|  2.25k|        )
27274|      0|        {
27275|      0|            D(fprintf(stderr, "%*c+ invalid_bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_or '|' '|'"));
27276|      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;
  ------------------
  |  |  237|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
  |  Branch (27276:20): [True: 0, False: 0]
  ------------------
27277|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (27277:18): [True: 0, False: 0]
  |  Branch (27277:34): [True: 0, False: 0]
  |  Branch (27277:57): [True: 0, False: 0]
  ------------------
27278|      0|                p->error_indicator = 1;
27279|      0|                p->level--;
27280|      0|                return NULL;
27281|      0|            }
27282|      0|            goto done;
27283|      0|        }
27284|  2.25k|        p->mark = _mark;
27285|  2.25k|        D(fprintf(stderr, "%*c%s invalid_bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
27286|  2.25k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_or '|' '|'"));
27287|  2.25k|    }
27288|  2.25k|    _res = NULL;
27289|  2.25k|  done:
27290|  2.25k|    p->level--;
27291|  2.25k|    return _res;
27292|  2.25k|}
parser.c:_tmp_118_rule:
34604|    182|{
34605|    182|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    364|#  define MAXSTACK 6000
  ------------------
  |  Branch (34605:9): [True: 0, False: 182]
  |  Branch (34605:35): [True: 0, False: 182]
  ------------------
34606|      0|        _Pypegen_stack_overflow(p);
34607|      0|    }
34608|    182|    if (p->error_indicator) {
  ------------------
  |  Branch (34608:9): [True: 0, False: 182]
  ------------------
34609|      0|        p->level--;
34610|      0|        return NULL;
34611|      0|    }
34612|    182|    void * _res = NULL;
34613|    182|    int _mark = p->mark;
34614|    182|    { // list
34615|    182|        if (p->error_indicator) {
  ------------------
  |  Branch (34615:13): [True: 0, False: 182]
  ------------------
34616|      0|            p->level--;
34617|      0|            return NULL;
34618|      0|        }
34619|    182|        D(fprintf(stderr, "%*c> _tmp_118[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "list"));
34620|    182|        expr_ty list_var;
34621|    182|        if (
34622|    182|            (list_var = list_rule(p))  // list
  ------------------
  |  Branch (34622:13): [True: 0, False: 182]
  ------------------
34623|    182|        )
34624|      0|        {
34625|      0|            D(fprintf(stderr, "%*c+ _tmp_118[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "list"));
34626|      0|            _res = list_var;
34627|      0|            goto done;
34628|      0|        }
34629|    182|        p->mark = _mark;
34630|    182|        D(fprintf(stderr, "%*c%s _tmp_118[%d-%d]: %s failed!\n", p->level, ' ',
34631|    182|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "list"));
34632|    182|    }
34633|      0|    { // tuple
34634|    182|        if (p->error_indicator) {
  ------------------
  |  Branch (34634:13): [True: 0, False: 182]
  ------------------
34635|      0|            p->level--;
34636|      0|            return NULL;
34637|      0|        }
34638|    182|        D(fprintf(stderr, "%*c> _tmp_118[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "tuple"));
34639|    182|        expr_ty tuple_var;
34640|    182|        if (
34641|    182|            (tuple_var = tuple_rule(p))  // tuple
  ------------------
  |  Branch (34641:13): [True: 0, False: 182]
  ------------------
34642|    182|        )
34643|      0|        {
34644|      0|            D(fprintf(stderr, "%*c+ _tmp_118[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "tuple"));
34645|      0|            _res = tuple_var;
34646|      0|            goto done;
34647|      0|        }
34648|    182|        p->mark = _mark;
34649|    182|        D(fprintf(stderr, "%*c%s _tmp_118[%d-%d]: %s failed!\n", p->level, ' ',
34650|    182|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "tuple"));
34651|    182|    }
34652|      0|    { // genexp
34653|    182|        if (p->error_indicator) {
  ------------------
  |  Branch (34653:13): [True: 0, False: 182]
  ------------------
34654|      0|            p->level--;
34655|      0|            return NULL;
34656|      0|        }
34657|    182|        D(fprintf(stderr, "%*c> _tmp_118[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "genexp"));
34658|    182|        expr_ty genexp_var;
34659|    182|        if (
34660|    182|            (genexp_var = genexp_rule(p))  // genexp
  ------------------
  |  Branch (34660:13): [True: 0, False: 182]
  ------------------
34661|    182|        )
34662|      0|        {
34663|      0|            D(fprintf(stderr, "%*c+ _tmp_118[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "genexp"));
34664|      0|            _res = genexp_var;
34665|      0|            goto done;
34666|      0|        }
34667|    182|        p->mark = _mark;
34668|    182|        D(fprintf(stderr, "%*c%s _tmp_118[%d-%d]: %s failed!\n", p->level, ' ',
34669|    182|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "genexp"));
34670|    182|    }
34671|      0|    { // 'True'
34672|    182|        if (p->error_indicator) {
  ------------------
  |  Branch (34672:13): [True: 0, False: 182]
  ------------------
34673|      0|            p->level--;
34674|      0|            return NULL;
34675|      0|        }
34676|    182|        D(fprintf(stderr, "%*c> _tmp_118[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'True'"));
34677|    182|        Token * _keyword;
34678|    182|        if (
34679|    182|            (_keyword = _PyPegen_expect_token(p, 627))  // token='True'
  ------------------
  |  Branch (34679:13): [True: 0, False: 182]
  ------------------
34680|    182|        )
34681|      0|        {
34682|      0|            D(fprintf(stderr, "%*c+ _tmp_118[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'True'"));
34683|      0|            _res = _keyword;
34684|      0|            goto done;
34685|      0|        }
34686|    182|        p->mark = _mark;
34687|    182|        D(fprintf(stderr, "%*c%s _tmp_118[%d-%d]: %s failed!\n", p->level, ' ',
34688|    182|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'True'"));
34689|    182|    }
34690|      0|    { // 'None'
34691|    182|        if (p->error_indicator) {
  ------------------
  |  Branch (34691:13): [True: 0, False: 182]
  ------------------
34692|      0|            p->level--;
34693|      0|            return NULL;
34694|      0|        }
34695|    182|        D(fprintf(stderr, "%*c> _tmp_118[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'None'"));
34696|    182|        Token * _keyword;
34697|    182|        if (
34698|    182|            (_keyword = _PyPegen_expect_token(p, 628))  // token='None'
  ------------------
  |  Branch (34698:13): [True: 0, False: 182]
  ------------------
34699|    182|        )
34700|      0|        {
34701|      0|            D(fprintf(stderr, "%*c+ _tmp_118[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'None'"));
34702|      0|            _res = _keyword;
34703|      0|            goto done;
34704|      0|        }
34705|    182|        p->mark = _mark;
34706|    182|        D(fprintf(stderr, "%*c%s _tmp_118[%d-%d]: %s failed!\n", p->level, ' ',
34707|    182|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'None'"));
34708|    182|    }
34709|      0|    { // 'False'
34710|    182|        if (p->error_indicator) {
  ------------------
  |  Branch (34710:13): [True: 0, False: 182]
  ------------------
34711|      0|            p->level--;
34712|      0|            return NULL;
34713|      0|        }
34714|    182|        D(fprintf(stderr, "%*c> _tmp_118[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'False'"));
34715|    182|        Token * _keyword;
34716|    182|        if (
34717|    182|            (_keyword = _PyPegen_expect_token(p, 629))  // token='False'
  ------------------
  |  Branch (34717:13): [True: 0, False: 182]
  ------------------
34718|    182|        )
34719|      0|        {
34720|      0|            D(fprintf(stderr, "%*c+ _tmp_118[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'False'"));
34721|      0|            _res = _keyword;
34722|      0|            goto done;
34723|      0|        }
34724|    182|        p->mark = _mark;
34725|    182|        D(fprintf(stderr, "%*c%s _tmp_118[%d-%d]: %s failed!\n", p->level, ' ',
34726|    182|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'False'"));
34727|    182|    }
34728|    182|    _res = NULL;
34729|    182|  done:
34730|    182|    p->level--;
34731|    182|    return _res;
34732|    182|}
parser.c:expression_rule:
11551|  14.2k|{
11552|  14.2k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  28.5k|#  define MAXSTACK 6000
  ------------------
  |  Branch (11552:9): [True: 0, False: 14.2k]
  |  Branch (11552:35): [True: 0, False: 14.2k]
  ------------------
11553|      0|        _Pypegen_stack_overflow(p);
11554|      0|    }
11555|  14.2k|    if (p->error_indicator) {
  ------------------
  |  Branch (11555:9): [True: 0, False: 14.2k]
  ------------------
11556|      0|        p->level--;
11557|      0|        return NULL;
11558|      0|    }
11559|  14.2k|    expr_ty _res = NULL;
11560|  14.2k|    if (_PyPegen_is_memoized(p, expression_type, &_res)) {
  ------------------
  |  |  198|  14.2k|#define expression_type 1109
  ------------------
  |  Branch (11560:9): [True: 10.9k, False: 3.29k]
  ------------------
11561|  10.9k|        p->level--;
11562|  10.9k|        return _res;
11563|  10.9k|    }
11564|  3.29k|    int _mark = p->mark;
11565|  3.29k|    if (p->call_invalid_rules) { // invalid_if_expression
  ------------------
  |  Branch (11565:9): [True: 1.44k, False: 1.85k]
  ------------------
11566|  1.44k|        if (p->error_indicator) {
  ------------------
  |  Branch (11566:13): [True: 0, False: 1.44k]
  ------------------
11567|      0|            p->level--;
11568|      0|            return NULL;
11569|      0|        }
11570|  1.44k|        D(fprintf(stderr, "%*c> expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_if_expression"));
11571|  1.44k|        void *invalid_if_expression_var;
11572|  1.44k|        if (
11573|  1.44k|            (invalid_if_expression_var = invalid_if_expression_rule(p))  // invalid_if_expression
  ------------------
  |  Branch (11573:13): [True: 0, False: 1.44k]
  ------------------
11574|  1.44k|        )
11575|      0|        {
11576|      0|            D(fprintf(stderr, "%*c+ expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_if_expression"));
11577|      0|            _res = invalid_if_expression_var;
11578|      0|            goto done;
11579|      0|        }
11580|  1.44k|        p->mark = _mark;
11581|  1.44k|        D(fprintf(stderr, "%*c%s expression[%d-%d]: %s failed!\n", p->level, ' ',
11582|  1.44k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_if_expression"));
11583|  1.44k|    }
11584|  3.29k|    if (p->call_invalid_rules) { // invalid_expression
  ------------------
  |  Branch (11584:9): [True: 1.44k, False: 1.85k]
  ------------------
11585|  1.44k|        if (p->error_indicator) {
  ------------------
  |  Branch (11585:13): [True: 228, False: 1.21k]
  ------------------
11586|    228|            p->level--;
11587|    228|            return NULL;
11588|    228|        }
11589|  1.21k|        D(fprintf(stderr, "%*c> expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_expression"));
11590|  1.21k|        void *invalid_expression_var;
11591|  1.21k|        if (
11592|  1.21k|            (invalid_expression_var = invalid_expression_rule(p))  // invalid_expression
  ------------------
  |  Branch (11592:13): [True: 0, False: 1.21k]
  ------------------
11593|  1.21k|        )
11594|      0|        {
11595|      0|            D(fprintf(stderr, "%*c+ expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_expression"));
11596|      0|            _res = invalid_expression_var;
11597|      0|            goto done;
11598|      0|        }
11599|  1.21k|        p->mark = _mark;
11600|  1.21k|        D(fprintf(stderr, "%*c%s expression[%d-%d]: %s failed!\n", p->level, ' ',
11601|  1.21k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_expression"));
11602|  1.21k|    }
11603|  3.07k|    if (p->call_invalid_rules) { // invalid_legacy_expression
  ------------------
  |  Branch (11603:9): [True: 1.21k, False: 1.85k]
  ------------------
11604|  1.21k|        if (p->error_indicator) {
  ------------------
  |  Branch (11604:13): [True: 2, False: 1.21k]
  ------------------
11605|      2|            p->level--;
11606|      2|            return NULL;
11607|      2|        }
11608|  1.21k|        D(fprintf(stderr, "%*c> expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_legacy_expression"));
11609|  1.21k|        void *invalid_legacy_expression_var;
11610|  1.21k|        if (
11611|  1.21k|            (invalid_legacy_expression_var = invalid_legacy_expression_rule(p))  // invalid_legacy_expression
  ------------------
  |  Branch (11611:13): [True: 0, False: 1.21k]
  ------------------
11612|  1.21k|        )
11613|      0|        {
11614|      0|            D(fprintf(stderr, "%*c+ expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_legacy_expression"));
11615|      0|            _res = invalid_legacy_expression_var;
11616|      0|            goto done;
11617|      0|        }
11618|  1.21k|        p->mark = _mark;
11619|  1.21k|        D(fprintf(stderr, "%*c%s expression[%d-%d]: %s failed!\n", p->level, ' ',
11620|  1.21k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_legacy_expression"));
11621|  1.21k|    }
11622|  3.06k|    { // if_expression
11623|  3.06k|        if (p->error_indicator) {
  ------------------
  |  Branch (11623:13): [True: 1, False: 3.06k]
  ------------------
11624|      1|            p->level--;
11625|      1|            return NULL;
11626|      1|        }
11627|  3.06k|        D(fprintf(stderr, "%*c> expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "if_expression"));
11628|  3.06k|        expr_ty if_expression_var;
11629|  3.06k|        if (
11630|  3.06k|            (if_expression_var = if_expression_rule(p))  // if_expression
  ------------------
  |  Branch (11630:13): [True: 0, False: 3.06k]
  ------------------
11631|  3.06k|        )
11632|      0|        {
11633|      0|            D(fprintf(stderr, "%*c+ expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "if_expression"));
11634|      0|            _res = if_expression_var;
11635|      0|            goto done;
11636|      0|        }
11637|  3.06k|        p->mark = _mark;
11638|  3.06k|        D(fprintf(stderr, "%*c%s expression[%d-%d]: %s failed!\n", p->level, ' ',
11639|  3.06k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "if_expression"));
11640|  3.06k|    }
11641|      0|    { // disjunction
11642|  3.06k|        if (p->error_indicator) {
  ------------------
  |  Branch (11642:13): [True: 104, False: 2.96k]
  ------------------
11643|    104|            p->level--;
11644|    104|            return NULL;
11645|    104|        }
11646|  2.96k|        D(fprintf(stderr, "%*c> expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "disjunction"));
11647|  2.96k|        expr_ty disjunction_var;
11648|  2.96k|        if (
11649|  2.96k|            (disjunction_var = disjunction_rule(p))  // disjunction
  ------------------
  |  Branch (11649:13): [True: 1.31k, False: 1.64k]
  ------------------
11650|  2.96k|        )
11651|  1.31k|        {
11652|  1.31k|            D(fprintf(stderr, "%*c+ expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "disjunction"));
11653|  1.31k|            _res = disjunction_var;
11654|  1.31k|            goto done;
11655|  1.31k|        }
11656|  1.64k|        p->mark = _mark;
11657|  1.64k|        D(fprintf(stderr, "%*c%s expression[%d-%d]: %s failed!\n", p->level, ' ',
11658|  1.64k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "disjunction"));
11659|  1.64k|    }
11660|      0|    { // lambdef
11661|  1.64k|        if (p->error_indicator) {
  ------------------
  |  Branch (11661:13): [True: 0, False: 1.64k]
  ------------------
11662|      0|            p->level--;
11663|      0|            return NULL;
11664|      0|        }
11665|  1.64k|        D(fprintf(stderr, "%*c> expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambdef"));
11666|  1.64k|        expr_ty lambdef_var;
11667|  1.64k|        if (
11668|  1.64k|            (lambdef_var = lambdef_rule(p))  // lambdef
  ------------------
  |  Branch (11668:13): [True: 2, False: 1.64k]
  ------------------
11669|  1.64k|        )
11670|      2|        {
11671|      2|            D(fprintf(stderr, "%*c+ expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambdef"));
11672|      2|            _res = lambdef_var;
11673|      2|            goto done;
11674|      2|        }
11675|  1.64k|        p->mark = _mark;
11676|  1.64k|        D(fprintf(stderr, "%*c%s expression[%d-%d]: %s failed!\n", p->level, ' ',
11677|  1.64k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambdef"));
11678|  1.64k|    }
11679|  1.64k|    _res = NULL;
11680|  2.96k|  done:
11681|  2.96k|    _PyPegen_insert_memo(p, _mark, expression_type, _res);
  ------------------
  |  |  198|  2.96k|#define expression_type 1109
  ------------------
11682|  2.96k|    p->level--;
11683|  2.96k|    return _res;
11684|  1.64k|}
parser.c:invalid_if_expression_rule:
20633|  1.44k|{
20634|  1.44k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  2.89k|#  define MAXSTACK 6000
  ------------------
  |  Branch (20634:9): [True: 0, False: 1.44k]
  |  Branch (20634:35): [True: 0, False: 1.44k]
  ------------------
20635|      0|        _Pypegen_stack_overflow(p);
20636|      0|    }
20637|  1.44k|    if (p->error_indicator) {
  ------------------
  |  Branch (20637:9): [True: 0, False: 1.44k]
  ------------------
20638|      0|        p->level--;
20639|      0|        return NULL;
20640|      0|    }
20641|  1.44k|    void * _res = NULL;
20642|  1.44k|    int _mark = p->mark;
20643|  1.44k|    expr_ty _prefix_13_result = NULL;
20644|  1.44k|    int _prefix_13_end = 0, _prefix_13_valid = 0;
20645|  1.44k|    { // disjunction 'if' disjunction 'else' '*'
20646|  1.44k|        if (p->error_indicator) {
  ------------------
  |  Branch (20646:13): [True: 0, False: 1.44k]
  ------------------
20647|      0|            p->level--;
20648|      0|            return NULL;
20649|      0|        }
20650|  1.44k|        D(fprintf(stderr, "%*c> invalid_if_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction 'else' '*'"));
20651|  1.44k|        Token * _keyword;
20652|  1.44k|        Token * _keyword_1;
20653|  1.44k|        Token * a;
20654|  1.44k|        expr_ty b;
20655|  1.44k|        expr_ty disjunction_var;
20656|  1.44k|        if (
20657|  1.44k|            (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
  ------------------
  |  Branch (20657:13): [True: 474, False: 971]
  |  Branch (20657:34): [True: 0, False: 1.44k]
  |  Branch (20657:60): [True: 0, False: 0]
  ------------------
20658|    474|            &&
20659|    474|            (_keyword = _PyPegen_expect_token(p, 700))  // token='if'
  ------------------
  |  Branch (20659:13): [True: 0, False: 474]
  ------------------
20660|      0|            &&
20661|      0|            (b = disjunction_rule(p))  // disjunction
  ------------------
  |  Branch (20661:13): [True: 0, False: 0]
  ------------------
20662|      0|            &&
20663|      0|            (_keyword_1 = _PyPegen_expect_token(p, 704))  // token='else'
  ------------------
  |  Branch (20663:13): [True: 0, False: 0]
  ------------------
20664|      0|            &&
20665|      0|            (a = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (20665:13): [True: 0, False: 0]
  ------------------
20666|  1.44k|        )
20667|      0|        {
20668|      0|            D(fprintf(stderr, "%*c+ invalid_if_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction 'else' '*'"));
20669|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "cannot unpack only part of a conditional expression" );
  ------------------
  |  |  239|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
20670|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (20670:18): [True: 0, False: 0]
  |  Branch (20670:34): [True: 0, False: 0]
  |  Branch (20670:57): [True: 0, False: 0]
  ------------------
20671|      0|                p->error_indicator = 1;
20672|      0|                p->level--;
20673|      0|                return NULL;
20674|      0|            }
20675|      0|            goto done;
20676|      0|        }
20677|  1.44k|        p->mark = _mark;
20678|  1.44k|        D(fprintf(stderr, "%*c%s invalid_if_expression[%d-%d]: %s failed!\n", p->level, ' ',
20679|  1.44k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "disjunction 'if' disjunction 'else' '*'"));
20680|  1.44k|    }
20681|      0|    { // disjunction 'if' disjunction 'else' '**'
20682|  1.44k|        if (p->error_indicator) {
  ------------------
  |  Branch (20682:13): [True: 228, False: 1.21k]
  ------------------
20683|    228|            p->level--;
20684|    228|            return NULL;
20685|    228|        }
20686|  1.21k|        D(fprintf(stderr, "%*c> invalid_if_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction 'else' '**'"));
20687|  1.21k|        Token * _keyword;
20688|  1.21k|        Token * _keyword_1;
20689|  1.21k|        Token * a;
20690|  1.21k|        expr_ty b;
20691|  1.21k|        expr_ty disjunction_var;
20692|  1.21k|        if (
20693|  1.21k|            (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
  ------------------
  |  Branch (20693:13): [True: 474, False: 743]
  |  Branch (20693:34): [True: 0, False: 1.21k]
  |  Branch (20693:60): [True: 0, False: 0]
  ------------------
20694|    474|            &&
20695|    474|            (_keyword = _PyPegen_expect_token(p, 700))  // token='if'
  ------------------
  |  Branch (20695:13): [True: 0, False: 474]
  ------------------
20696|      0|            &&
20697|      0|            (b = disjunction_rule(p))  // disjunction
  ------------------
  |  Branch (20697:13): [True: 0, False: 0]
  ------------------
20698|      0|            &&
20699|      0|            (_keyword_1 = _PyPegen_expect_token(p, 704))  // token='else'
  ------------------
  |  Branch (20699:13): [True: 0, False: 0]
  ------------------
20700|      0|            &&
20701|      0|            (a = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (20701:13): [True: 0, False: 0]
  ------------------
20702|  1.21k|        )
20703|      0|        {
20704|      0|            D(fprintf(stderr, "%*c+ invalid_if_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction 'else' '**'"));
20705|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "cannot use dict unpacking on only part of a conditional expression" );
  ------------------
  |  |  239|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
20706|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (20706:18): [True: 0, False: 0]
  |  Branch (20706:34): [True: 0, False: 0]
  |  Branch (20706:57): [True: 0, False: 0]
  ------------------
20707|      0|                p->error_indicator = 1;
20708|      0|                p->level--;
20709|      0|                return NULL;
20710|      0|            }
20711|      0|            goto done;
20712|      0|        }
20713|  1.21k|        p->mark = _mark;
20714|  1.21k|        D(fprintf(stderr, "%*c%s invalid_if_expression[%d-%d]: %s failed!\n", p->level, ' ',
20715|  1.21k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "disjunction 'if' disjunction 'else' '**'"));
20716|  1.21k|    }
20717|  1.21k|    _res = NULL;
20718|  1.21k|  done:
20719|  1.21k|    p->level--;
20720|  1.21k|    return _res;
20721|  1.21k|}
parser.c:invalid_expression_rule:
20382|  1.21k|{
20383|  1.21k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  2.43k|#  define MAXSTACK 6000
  ------------------
  |  Branch (20383:9): [True: 0, False: 1.21k]
  |  Branch (20383:35): [True: 0, False: 1.21k]
  ------------------
20384|      0|        _Pypegen_stack_overflow(p);
20385|      0|    }
20386|  1.21k|    if (p->error_indicator) {
  ------------------
  |  Branch (20386:9): [True: 0, False: 1.21k]
  ------------------
20387|      0|        p->level--;
20388|      0|        return NULL;
20389|      0|    }
20390|  1.21k|    void * _res = NULL;
20391|  1.21k|    int _mark = p->mark;
20392|  1.21k|    expr_ty _prefix_12_result = NULL;
20393|  1.21k|    int _prefix_12_end = 0, _prefix_12_valid = 0;
20394|  1.21k|    { // STRING ((!STRING expression_without_invalid))+ STRING
20395|  1.21k|        if (p->error_indicator) {
  ------------------
  |  Branch (20395:13): [True: 0, False: 1.21k]
  ------------------
20396|      0|            p->level--;
20397|      0|            return NULL;
20398|      0|        }
20399|  1.21k|        D(fprintf(stderr, "%*c> invalid_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "STRING ((!STRING expression_without_invalid))+ STRING"));
20400|  1.21k|        asdl_seq * a;
20401|  1.21k|        expr_ty string_var;
20402|  1.21k|        expr_ty string_var_1;
20403|  1.21k|        if (
20404|  1.21k|            (string_var = _PyPegen_string_token(p))  // STRING
  ------------------
  |  Branch (20404:13): [True: 169, False: 1.04k]
  ------------------
20405|    169|            &&
20406|    169|            (a = _loop1_113_rule(p))  // ((!STRING expression_without_invalid))+
  ------------------
  |  Branch (20406:13): [True: 0, False: 169]
  ------------------
20407|      0|            &&
20408|      0|            (string_var_1 = _PyPegen_string_token(p))  // STRING
  ------------------
  |  Branch (20408:13): [True: 0, False: 0]
  ------------------
20409|  1.21k|        )
20410|      0|        {
20411|      0|            D(fprintf(stderr, "%*c+ invalid_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "STRING ((!STRING expression_without_invalid))+ STRING"));
20412|      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?" );
  ------------------
  |  |  237|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
20413|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (20413:18): [True: 0, False: 0]
  |  Branch (20413:34): [True: 0, False: 0]
  |  Branch (20413:57): [True: 0, False: 0]
  ------------------
20414|      0|                p->error_indicator = 1;
20415|      0|                p->level--;
20416|      0|                return NULL;
20417|      0|            }
20418|      0|            goto done;
20419|      0|        }
20420|  1.21k|        p->mark = _mark;
20421|  1.21k|        D(fprintf(stderr, "%*c%s invalid_expression[%d-%d]: %s failed!\n", p->level, ' ',
20422|  1.21k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "STRING ((!STRING expression_without_invalid))+ STRING"));
20423|  1.21k|    }
20424|      0|    { // !(NAME STRING | SOFT_KEYWORD) disjunction expression_without_invalid
20425|  1.21k|        if (p->error_indicator) {
  ------------------
  |  Branch (20425:13): [True: 1, False: 1.21k]
  ------------------
20426|      1|            p->level--;
20427|      1|            return NULL;
20428|      1|        }
20429|  1.21k|        D(fprintf(stderr, "%*c> invalid_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "!(NAME STRING | SOFT_KEYWORD) disjunction expression_without_invalid"));
20430|  1.21k|        expr_ty a;
20431|  1.21k|        expr_ty b;
20432|  1.21k|        if (
20433|  1.21k|            _PyPegen_lookahead(0, _tmp_114_rule, p)
  ------------------
  |  Branch (20433:13): [True: 1.21k, False: 1]
  ------------------
20434|  1.21k|            &&
20435|  1.21k|            (a = disjunction_rule(p))  // disjunction
  ------------------
  |  Branch (20435:13): [True: 472, False: 743]
  ------------------
20436|    472|            &&
20437|    472|            (b = expression_without_invalid_rule(p))  // expression_without_invalid
  ------------------
  |  Branch (20437:13): [True: 2, False: 470]
  ------------------
20438|  1.21k|        )
20439|      2|        {
20440|      2|            D(fprintf(stderr, "%*c+ invalid_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "!(NAME STRING | SOFT_KEYWORD) disjunction expression_without_invalid"));
20441|      2|            _res = _PyPegen_raise_error_for_missing_comma ( p , a , b );
20442|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (20442:18): [True: 2, False: 0]
  |  Branch (20442:34): [True: 0, False: 0]
  |  Branch (20442:57): [True: 0, False: 2]
  ------------------
20443|      0|                p->error_indicator = 1;
20444|      0|                p->level--;
20445|      0|                return NULL;
20446|      0|            }
20447|      2|            goto done;
20448|      2|        }
20449|  1.21k|        p->mark = _mark;
20450|  1.21k|        D(fprintf(stderr, "%*c%s invalid_expression[%d-%d]: %s failed!\n", p->level, ' ',
20451|  1.21k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "!(NAME STRING | SOFT_KEYWORD) disjunction expression_without_invalid"));
20452|  1.21k|    }
20453|      0|    { // disjunction 'if' disjunction !('else' | ':')
20454|  1.21k|        if (p->error_indicator) {
  ------------------
  |  Branch (20454:13): [True: 1, False: 1.21k]
  ------------------
20455|      1|            p->level--;
20456|      1|            return NULL;
20457|      1|        }
20458|  1.21k|        D(fprintf(stderr, "%*c> invalid_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction !('else' | ':')"));
20459|  1.21k|        Token * _keyword;
20460|  1.21k|        expr_ty a;
20461|  1.21k|        expr_ty b;
20462|  1.21k|        if (
20463|  1.21k|            (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
  ------------------
  |  Branch (20463:13): [True: 470, False: 743]
  |  Branch (20463:20): [True: 0, False: 1.21k]
  |  Branch (20463:46): [True: 0, False: 0]
  ------------------
20464|    470|            &&
20465|    470|            (_keyword = _PyPegen_expect_token(p, 700))  // token='if'
  ------------------
  |  Branch (20465:13): [True: 0, False: 470]
  ------------------
20466|      0|            &&
20467|      0|            (b = disjunction_rule(p))  // disjunction
  ------------------
  |  Branch (20467:13): [True: 0, False: 0]
  ------------------
20468|      0|            &&
20469|      0|            _PyPegen_lookahead(0, _tmp_115_rule, p)
  ------------------
  |  Branch (20469:13): [True: 0, False: 0]
  ------------------
20470|  1.21k|        )
20471|      0|        {
20472|      0|            D(fprintf(stderr, "%*c+ invalid_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction !('else' | ':')"));
20473|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "expected 'else' after 'if' expression" );
  ------------------
  |  |  237|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
20474|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (20474:18): [True: 0, False: 0]
  |  Branch (20474:34): [True: 0, False: 0]
  |  Branch (20474:57): [True: 0, False: 0]
  ------------------
20475|      0|                p->error_indicator = 1;
20476|      0|                p->level--;
20477|      0|                return NULL;
20478|      0|            }
20479|      0|            goto done;
20480|      0|        }
20481|  1.21k|        p->mark = _mark;
20482|  1.21k|        D(fprintf(stderr, "%*c%s invalid_expression[%d-%d]: %s failed!\n", p->level, ' ',
20483|  1.21k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "disjunction 'if' disjunction !('else' | ':')"));
20484|  1.21k|    }
20485|      0|    { // disjunction 'if' disjunction 'else' !expression
20486|  1.21k|        if (p->error_indicator) {
  ------------------
  |  Branch (20486:13): [True: 0, False: 1.21k]
  ------------------
20487|      0|            p->level--;
20488|      0|            return NULL;
20489|      0|        }
20490|  1.21k|        D(fprintf(stderr, "%*c> invalid_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction 'else' !expression"));
20491|  1.21k|        Token * _keyword;
20492|  1.21k|        Token * _keyword_1;
20493|  1.21k|        expr_ty a;
20494|  1.21k|        expr_ty b;
20495|  1.21k|        if (
20496|  1.21k|            (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
  ------------------
  |  Branch (20496:13): [True: 470, False: 743]
  |  Branch (20496:20): [True: 0, False: 1.21k]
  |  Branch (20496:46): [True: 0, False: 0]
  ------------------
20497|    470|            &&
20498|    470|            (_keyword = _PyPegen_expect_token(p, 700))  // token='if'
  ------------------
  |  Branch (20498:13): [True: 0, False: 470]
  ------------------
20499|      0|            &&
20500|      0|            (b = disjunction_rule(p))  // disjunction
  ------------------
  |  Branch (20500:13): [True: 0, False: 0]
  ------------------
20501|      0|            &&
20502|      0|            (_keyword_1 = _PyPegen_expect_token(p, 704))  // token='else'
  ------------------
  |  Branch (20502:13): [True: 0, False: 0]
  ------------------
20503|      0|            &&
20504|      0|            _PyPegen_lookahead_for_expr(0, expression_rule, p)
  ------------------
  |  Branch (20504:13): [True: 0, False: 0]
  ------------------
20505|  1.21k|        )
20506|      0|        {
20507|      0|            D(fprintf(stderr, "%*c+ invalid_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction 'else' !expression"));
20508|      0|            _res = RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN ( "expected expression after 'else', but statement is given" );
  ------------------
  |  |  235|      0|#define RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 1, msg, ##__VA_ARGS__)
  ------------------
20509|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (20509:18): [True: 0, False: 0]
  |  Branch (20509:34): [True: 0, False: 0]
  |  Branch (20509:57): [True: 0, False: 0]
  ------------------
20510|      0|                p->error_indicator = 1;
20511|      0|                p->level--;
20512|      0|                return NULL;
20513|      0|            }
20514|      0|            goto done;
20515|      0|        }
20516|  1.21k|        p->mark = _mark;
20517|  1.21k|        D(fprintf(stderr, "%*c%s invalid_expression[%d-%d]: %s failed!\n", p->level, ' ',
20518|  1.21k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "disjunction 'if' disjunction 'else' !expression"));
20519|  1.21k|    }
20520|      0|    { // (pass_stmt | break_stmt | continue_stmt) 'if' disjunction 'else' simple_stmt
20521|  1.21k|        if (p->error_indicator) {
  ------------------
  |  Branch (20521:13): [True: 0, False: 1.21k]
  ------------------
20522|      0|            p->level--;
20523|      0|            return NULL;
20524|      0|        }
20525|  1.21k|        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"));
20526|  1.21k|        Token * _keyword;
20527|  1.21k|        Token * _keyword_1;
20528|  1.21k|        stmt_ty a;
20529|  1.21k|        expr_ty b;
20530|  1.21k|        stmt_ty c;
20531|  1.21k|        if (
20532|  1.21k|            (a = (stmt_ty)_tmp_116_rule(p))  // pass_stmt | break_stmt | continue_stmt
  ------------------
  |  Branch (20532:13): [True: 0, False: 1.21k]
  ------------------
20533|      0|            &&
20534|      0|            (_keyword = _PyPegen_expect_token(p, 700))  // token='if'
  ------------------
  |  Branch (20534:13): [True: 0, False: 0]
  ------------------
20535|      0|            &&
20536|      0|            (b = disjunction_rule(p))  // disjunction
  ------------------
  |  Branch (20536:13): [True: 0, False: 0]
  ------------------
20537|      0|            &&
20538|      0|            (_keyword_1 = _PyPegen_expect_token(p, 704))  // token='else'
  ------------------
  |  Branch (20538:13): [True: 0, False: 0]
  ------------------
20539|      0|            &&
20540|      0|            (c = simple_stmt_rule(p))  // simple_stmt
  ------------------
  |  Branch (20540:13): [True: 0, False: 0]
  ------------------
20541|  1.21k|        )
20542|      0|        {
20543|      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"));
20544|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "expected expression before 'if', but statement is given" );
  ------------------
  |  |  239|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
20545|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (20545:18): [True: 0, False: 0]
  |  Branch (20545:34): [True: 0, False: 0]
  |  Branch (20545:57): [True: 0, False: 0]
  ------------------
20546|      0|                p->error_indicator = 1;
20547|      0|                p->level--;
20548|      0|                return NULL;
20549|      0|            }
20550|      0|            goto done;
20551|      0|        }
20552|  1.21k|        p->mark = _mark;
20553|  1.21k|        D(fprintf(stderr, "%*c%s invalid_expression[%d-%d]: %s failed!\n", p->level, ' ',
20554|  1.21k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(pass_stmt | break_stmt | continue_stmt) 'if' disjunction 'else' simple_stmt"));
20555|  1.21k|    }
20556|      0|    { // 'lambda' lambda_params? ':' &FSTRING_MIDDLE
20557|  1.21k|        if (p->error_indicator) {
  ------------------
  |  Branch (20557:13): [True: 0, False: 1.21k]
  ------------------
20558|      0|            p->level--;
20559|      0|            return NULL;
20560|      0|        }
20561|  1.21k|        D(fprintf(stderr, "%*c> invalid_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'lambda' lambda_params? ':' &FSTRING_MIDDLE"));
20562|  1.21k|        void *_opt_var;
20563|  1.21k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  305|  1.21k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 1.21k]
  |  |  ------------------
  ------------------
20564|  1.21k|        Token * a;
20565|  1.21k|        Token * b;
20566|  1.21k|        if (
20567|  1.21k|            (a = _PyPegen_expect_token(p, 622))  // token='lambda'
  ------------------
  |  Branch (20567:13): [True: 0, False: 1.21k]
  ------------------
20568|      0|            &&
20569|      0|            (_opt_var = lambda_params_rule(p), !p->error_indicator)  // lambda_params?
  ------------------
  |  Branch (20569:13): [True: 0, False: 0]
  ------------------
20570|      0|            &&
20571|      0|            (b = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (20571:13): [True: 0, False: 0]
  ------------------
20572|      0|            &&
20573|      0|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, FSTRING_MIDDLE)  // token=FSTRING_MIDDLE
  ------------------
  |  |   76|      0|#define FSTRING_MIDDLE  60
  ------------------
  |  Branch (20573:13): [True: 0, False: 0]
  ------------------
20574|  1.21k|        )
20575|      0|        {
20576|      0|            D(fprintf(stderr, "%*c+ invalid_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'lambda' lambda_params? ':' &FSTRING_MIDDLE"));
20577|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "f-string: lambda expressions are not allowed without parentheses" );
  ------------------
  |  |  237|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
20578|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (20578:18): [True: 0, False: 0]
  |  Branch (20578:34): [True: 0, False: 0]
  |  Branch (20578:57): [True: 0, False: 0]
  ------------------
20579|      0|                p->error_indicator = 1;
20580|      0|                p->level--;
20581|      0|                return NULL;
20582|      0|            }
20583|      0|            goto done;
20584|      0|        }
20585|  1.21k|        p->mark = _mark;
20586|  1.21k|        D(fprintf(stderr, "%*c%s invalid_expression[%d-%d]: %s failed!\n", p->level, ' ',
20587|  1.21k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'lambda' lambda_params? ':' &FSTRING_MIDDLE"));
20588|  1.21k|    }
20589|      0|    { // 'lambda' lambda_params? ':' &TSTRING_MIDDLE
20590|  1.21k|        if (p->error_indicator) {
  ------------------
  |  Branch (20590:13): [True: 0, False: 1.21k]
  ------------------
20591|      0|            p->level--;
20592|      0|            return NULL;
20593|      0|        }
20594|  1.21k|        D(fprintf(stderr, "%*c> invalid_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'lambda' lambda_params? ':' &TSTRING_MIDDLE"));
20595|  1.21k|        void *_opt_var;
20596|  1.21k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  305|  1.21k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 1.21k]
  |  |  ------------------
  ------------------
20597|  1.21k|        Token * a;
20598|  1.21k|        Token * b;
20599|  1.21k|        if (
20600|  1.21k|            (a = _PyPegen_expect_token(p, 622))  // token='lambda'
  ------------------
  |  Branch (20600:13): [True: 0, False: 1.21k]
  ------------------
20601|      0|            &&
20602|      0|            (_opt_var = lambda_params_rule(p), !p->error_indicator)  // lambda_params?
  ------------------
  |  Branch (20602:13): [True: 0, False: 0]
  ------------------
20603|      0|            &&
20604|      0|            (b = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (20604:13): [True: 0, False: 0]
  ------------------
20605|      0|            &&
20606|      0|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, TSTRING_MIDDLE)  // token=TSTRING_MIDDLE
  ------------------
  |  |   79|      0|#define TSTRING_MIDDLE  63
  ------------------
  |  Branch (20606:13): [True: 0, False: 0]
  ------------------
20607|  1.21k|        )
20608|      0|        {
20609|      0|            D(fprintf(stderr, "%*c+ invalid_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'lambda' lambda_params? ':' &TSTRING_MIDDLE"));
20610|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "t-string: lambda expressions are not allowed without parentheses" );
  ------------------
  |  |  237|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
20611|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (20611:18): [True: 0, False: 0]
  |  Branch (20611:34): [True: 0, False: 0]
  |  Branch (20611:57): [True: 0, False: 0]
  ------------------
20612|      0|                p->error_indicator = 1;
20613|      0|                p->level--;
20614|      0|                return NULL;
20615|      0|            }
20616|      0|            goto done;
20617|      0|        }
20618|  1.21k|        p->mark = _mark;
20619|  1.21k|        D(fprintf(stderr, "%*c%s invalid_expression[%d-%d]: %s failed!\n", p->level, ' ',
20620|  1.21k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'lambda' lambda_params? ':' &TSTRING_MIDDLE"));
20621|  1.21k|    }
20622|  1.21k|    _res = NULL;
20623|  1.21k|  done:
20624|  1.21k|    p->level--;
20625|  1.21k|    return _res;
20626|  1.21k|}
parser.c:_loop1_113_rule:
34282|    169|{
34283|    169|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    338|#  define MAXSTACK 6000
  ------------------
  |  Branch (34283:9): [True: 0, False: 169]
  |  Branch (34283:35): [True: 0, False: 169]
  ------------------
34284|      0|        _Pypegen_stack_overflow(p);
34285|      0|    }
34286|    169|    if (p->error_indicator) {
  ------------------
  |  Branch (34286:9): [True: 0, False: 169]
  ------------------
34287|      0|        p->level--;
34288|      0|        return NULL;
34289|      0|    }
34290|    169|    void *_res = NULL;
34291|    169|    int _mark = p->mark;
34292|    169|    void **_children = PyMem_Malloc(sizeof(void *));
34293|    169|    if (!_children) {
  ------------------
  |  Branch (34293:9): [True: 0, False: 169]
  ------------------
34294|      0|        p->error_indicator = 1;
34295|      0|        PyErr_NoMemory();
34296|      0|        p->level--;
34297|      0|        return NULL;
34298|      0|    }
34299|    169|    Py_ssize_t _children_capacity = 1;
34300|    169|    Py_ssize_t _n = 0;
34301|    169|    { // (!STRING expression_without_invalid)
34302|    169|        if (p->error_indicator) {
  ------------------
  |  Branch (34302:13): [True: 0, False: 169]
  ------------------
34303|      0|            p->level--;
34304|      0|            return NULL;
34305|      0|        }
34306|    169|        D(fprintf(stderr, "%*c> _loop1_113[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(!STRING expression_without_invalid)"));
34307|    169|        void *_tmp_169_var;
34308|    169|        while (
34309|    169|            (_tmp_169_var = _tmp_169_rule(p))  // !STRING expression_without_invalid
  ------------------
  |  Branch (34309:13): [True: 0, False: 169]
  ------------------
34310|    169|        )
34311|      0|        {
34312|      0|            _res = _tmp_169_var;
34313|      0|            if (_n == _children_capacity) {
  ------------------
  |  Branch (34313:17): [True: 0, False: 0]
  ------------------
34314|      0|                _children_capacity *= 2;
34315|      0|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
34316|      0|                if (!_new_children) {
  ------------------
  |  Branch (34316:21): [True: 0, False: 0]
  ------------------
34317|      0|                    PyMem_Free(_children);
34318|      0|                    p->error_indicator = 1;
34319|      0|                    PyErr_NoMemory();
34320|      0|                    p->level--;
34321|      0|                    return NULL;
34322|      0|                }
34323|      0|                _children = _new_children;
34324|      0|            }
34325|      0|            _children[_n++] = _res;
34326|      0|            _mark = p->mark;
34327|      0|        }
34328|    169|        p->mark = _mark;
34329|    169|        D(fprintf(stderr, "%*c%s _loop1_113[%d-%d]: %s failed!\n", p->level, ' ',
34330|    169|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(!STRING expression_without_invalid)"));
34331|    169|    }
34332|    169|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (34332:9): [True: 169, False: 0]
  |  Branch (34332:20): [True: 0, False: 0]
  ------------------
34333|    169|        PyMem_Free(_children);
34334|    169|        p->level--;
34335|    169|        return NULL;
34336|    169|    }
34337|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
34338|      0|    if (!_seq) {
  ------------------
  |  Branch (34338:9): [True: 0, False: 0]
  ------------------
34339|      0|        PyMem_Free(_children);
34340|      0|        p->error_indicator = 1;
34341|      0|        PyErr_NoMemory();
34342|      0|        p->level--;
34343|      0|        return NULL;
34344|      0|    }
34345|      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))
  |  |  ------------------
  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (34345:28): [True: 0, False: 0]
  ------------------
34346|      0|    PyMem_Free(_children);
34347|      0|    p->level--;
34348|      0|    return _seq;
34349|      0|}
parser.c:_tmp_169_rule:
37633|    169|{
37634|    169|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    338|#  define MAXSTACK 6000
  ------------------
  |  Branch (37634:9): [True: 0, False: 169]
  |  Branch (37634:35): [True: 0, False: 169]
  ------------------
37635|      0|        _Pypegen_stack_overflow(p);
37636|      0|    }
37637|    169|    if (p->error_indicator) {
  ------------------
  |  Branch (37637:9): [True: 0, False: 169]
  ------------------
37638|      0|        p->level--;
37639|      0|        return NULL;
37640|      0|    }
37641|    169|    void * _res = NULL;
37642|    169|    int _mark = p->mark;
37643|    169|    { // !STRING expression_without_invalid
37644|    169|        if (p->error_indicator) {
  ------------------
  |  Branch (37644:13): [True: 0, False: 169]
  ------------------
37645|      0|            p->level--;
37646|      0|            return NULL;
37647|      0|        }
37648|    169|        D(fprintf(stderr, "%*c> _tmp_169[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "!STRING expression_without_invalid"));
37649|    169|        expr_ty expression_without_invalid_var;
37650|    169|        if (
37651|    169|            _PyPegen_lookahead(0, _PyPegen_string_token, p)
  ------------------
  |  Branch (37651:13): [True: 169, False: 0]
  ------------------
37652|    169|            &&
37653|    169|            (expression_without_invalid_var = expression_without_invalid_rule(p))  // expression_without_invalid
  ------------------
  |  Branch (37653:13): [True: 0, False: 169]
  ------------------
37654|    169|        )
37655|      0|        {
37656|      0|            D(fprintf(stderr, "%*c+ _tmp_169[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "!STRING expression_without_invalid"));
37657|      0|            _res = expression_without_invalid_var;
37658|      0|            goto done;
37659|      0|        }
37660|    169|        p->mark = _mark;
37661|    169|        D(fprintf(stderr, "%*c%s _tmp_169[%d-%d]: %s failed!\n", p->level, ' ',
37662|    169|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "!STRING expression_without_invalid"));
37663|    169|    }
37664|    169|    _res = NULL;
37665|    169|  done:
37666|    169|    p->level--;
37667|    169|    return _res;
37668|    169|}
parser.c:_tmp_114_rule:
34354|  1.21k|{
34355|  1.21k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  2.43k|#  define MAXSTACK 6000
  ------------------
  |  Branch (34355:9): [True: 0, False: 1.21k]
  |  Branch (34355:35): [True: 0, False: 1.21k]
  ------------------
34356|      0|        _Pypegen_stack_overflow(p);
34357|      0|    }
34358|  1.21k|    if (p->error_indicator) {
  ------------------
  |  Branch (34358:9): [True: 0, False: 1.21k]
  ------------------
34359|      0|        p->level--;
34360|      0|        return NULL;
34361|      0|    }
34362|  1.21k|    void * _res = NULL;
34363|  1.21k|    int _mark = p->mark;
34364|  1.21k|    { // NAME STRING
34365|  1.21k|        if (p->error_indicator) {
  ------------------
  |  Branch (34365:13): [True: 0, False: 1.21k]
  ------------------
34366|      0|            p->level--;
34367|      0|            return NULL;
34368|      0|        }
34369|  1.21k|        D(fprintf(stderr, "%*c> _tmp_114[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME STRING"));
34370|  1.21k|        expr_ty name_var;
34371|  1.21k|        expr_ty string_var;
34372|  1.21k|        if (
34373|  1.21k|            (name_var = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (34373:13): [True: 244, False: 972]
  ------------------
34374|    244|            &&
34375|    244|            (string_var = _PyPegen_string_token(p))  // STRING
  ------------------
  |  Branch (34375:13): [True: 1, False: 243]
  ------------------
34376|  1.21k|        )
34377|      1|        {
34378|      1|            D(fprintf(stderr, "%*c+ _tmp_114[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME STRING"));
34379|      1|            _res = _PyPegen_dummy_name(p, name_var, string_var);
34380|      1|            goto done;
34381|      1|        }
34382|  1.21k|        p->mark = _mark;
34383|  1.21k|        D(fprintf(stderr, "%*c%s _tmp_114[%d-%d]: %s failed!\n", p->level, ' ',
34384|  1.21k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME STRING"));
34385|  1.21k|    }
34386|      0|    { // SOFT_KEYWORD
34387|  1.21k|        if (p->error_indicator) {
  ------------------
  |  Branch (34387:13): [True: 0, False: 1.21k]
  ------------------
34388|      0|            p->level--;
34389|      0|            return NULL;
34390|      0|        }
34391|  1.21k|        D(fprintf(stderr, "%*c> _tmp_114[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "SOFT_KEYWORD"));
34392|  1.21k|        expr_ty soft_keyword_var;
34393|  1.21k|        if (
34394|  1.21k|            (soft_keyword_var = _PyPegen_soft_keyword_token(p))  // SOFT_KEYWORD
  ------------------
  |  Branch (34394:13): [True: 0, False: 1.21k]
  ------------------
34395|  1.21k|        )
34396|      0|        {
34397|      0|            D(fprintf(stderr, "%*c+ _tmp_114[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "SOFT_KEYWORD"));
34398|      0|            _res = soft_keyword_var;
34399|      0|            goto done;
34400|      0|        }
34401|  1.21k|        p->mark = _mark;
34402|  1.21k|        D(fprintf(stderr, "%*c%s _tmp_114[%d-%d]: %s failed!\n", p->level, ' ',
34403|  1.21k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "SOFT_KEYWORD"));
34404|  1.21k|    }
34405|  1.21k|    _res = NULL;
34406|  1.21k|  done:
34407|  1.21k|    p->level--;
34408|  1.21k|    return _res;
34409|  1.21k|}
parser.c:expression_without_invalid_rule:
20119|    641|{
20120|    641|    int _prev_call_invalid = p->call_invalid_rules;
20121|    641|    p->call_invalid_rules = 0;
20122|    641|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.28k|#  define MAXSTACK 6000
  ------------------
  |  Branch (20122:9): [True: 0, False: 641]
  |  Branch (20122:35): [True: 0, False: 641]
  ------------------
20123|      0|        _Pypegen_stack_overflow(p);
20124|      0|    }
20125|    641|    if (p->error_indicator) {
  ------------------
  |  Branch (20125:9): [True: 0, False: 641]
  ------------------
20126|      0|        p->call_invalid_rules = _prev_call_invalid;
20127|      0|        p->level--;
20128|      0|        return NULL;
20129|      0|    }
20130|    641|    expr_ty _res = NULL;
20131|    641|    int _mark = p->mark;
20132|    641|    expr_ty _prefix_11_result = NULL;
20133|    641|    int _prefix_11_end = 0, _prefix_11_valid = 0;
20134|    641|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (20134:9): [True: 0, False: 641]
  |  Branch (20134:31): [True: 0, False: 0]
  ------------------
20135|      0|        p->error_indicator = 1;
20136|      0|        p->call_invalid_rules = _prev_call_invalid;
20137|      0|        p->level--;
20138|      0|        return NULL;
20139|      0|    }
20140|    641|    int _start_lineno = p->tokens[_mark]->lineno;
20141|    641|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|    641|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 641]
  |  |  ------------------
  ------------------
20142|    641|    int _start_col_offset = p->tokens[_mark]->col_offset;
20143|    641|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|    641|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 641]
  |  |  ------------------
  ------------------
20144|    641|    { // disjunction 'if' disjunction 'else' expression
20145|    641|        if (p->error_indicator) {
  ------------------
  |  Branch (20145:13): [True: 0, False: 641]
  ------------------
20146|      0|            p->call_invalid_rules = _prev_call_invalid;
20147|      0|            p->level--;
20148|      0|            return NULL;
20149|      0|        }
20150|    641|        D(fprintf(stderr, "%*c> expression_without_invalid[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction 'else' expression"));
20151|    641|        Token * _keyword;
20152|    641|        Token * _keyword_1;
20153|    641|        expr_ty a;
20154|    641|        expr_ty b;
20155|    641|        expr_ty c;
20156|    641|        if (
20157|    641|            (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
  ------------------
  |  Branch (20157:13): [True: 2, False: 639]
  |  Branch (20157:20): [True: 641, False: 0]
  |  Branch (20157:46): [True: 0, False: 641]
  ------------------
20158|      2|            &&
20159|      2|            (_keyword = _PyPegen_expect_token(p, 700))  // token='if'
  ------------------
  |  Branch (20159:13): [True: 0, False: 2]
  ------------------
20160|      0|            &&
20161|      0|            (b = disjunction_rule(p))  // disjunction
  ------------------
  |  Branch (20161:13): [True: 0, False: 0]
  ------------------
20162|      0|            &&
20163|      0|            (_keyword_1 = _PyPegen_expect_token(p, 704))  // token='else'
  ------------------
  |  Branch (20163:13): [True: 0, False: 0]
  ------------------
20164|      0|            &&
20165|      0|            (c = expression_rule(p))  // expression
  ------------------
  |  Branch (20165:13): [True: 0, False: 0]
  ------------------
20166|    641|        )
20167|      0|        {
20168|      0|            D(fprintf(stderr, "%*c+ expression_without_invalid[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction 'else' expression"));
20169|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
20170|      0|            if (_token == NULL) {
  ------------------
  |  Branch (20170:17): [True: 0, False: 0]
  ------------------
20171|      0|                p->call_invalid_rules = _prev_call_invalid;
20172|      0|                p->level--;
20173|      0|                return NULL;
20174|      0|            }
20175|      0|            int _end_lineno = _token->end_lineno;
20176|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
20177|      0|            int _end_col_offset = _token->end_col_offset;
20178|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
20179|      0|            _res = _PyAST_IfExp ( b , a , c , EXTRA );
  ------------------
  |  |  307|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
20180|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (20180:18): [True: 0, False: 0]
  |  Branch (20180:34): [True: 0, False: 0]
  |  Branch (20180:57): [True: 0, False: 0]
  ------------------
20181|      0|                p->error_indicator = 1;
20182|      0|                p->call_invalid_rules = _prev_call_invalid;
20183|      0|                p->level--;
20184|      0|                return NULL;
20185|      0|            }
20186|      0|            goto done;
20187|      0|        }
20188|    641|        p->mark = _mark;
20189|    641|        D(fprintf(stderr, "%*c%s expression_without_invalid[%d-%d]: %s failed!\n", p->level, ' ',
20190|    641|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "disjunction 'if' disjunction 'else' expression"));
20191|    641|    }
20192|      0|    { // disjunction
20193|    641|        if (p->error_indicator) {
  ------------------
  |  Branch (20193:13): [True: 2, False: 639]
  ------------------
20194|      2|            p->call_invalid_rules = _prev_call_invalid;
20195|      2|            p->level--;
20196|      2|            return NULL;
20197|      2|        }
20198|    639|        D(fprintf(stderr, "%*c> expression_without_invalid[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "disjunction"));
20199|    639|        expr_ty disjunction_var;
20200|    639|        if (
20201|    639|            (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
  ------------------
  |  Branch (20201:13): [True: 2, False: 637]
  |  Branch (20201:34): [True: 639, False: 0]
  |  Branch (20201:60): [True: 639, False: 0]
  ------------------
20202|    639|        )
20203|      2|        {
20204|      2|            D(fprintf(stderr, "%*c+ expression_without_invalid[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "disjunction"));
20205|      2|            _res = disjunction_var;
20206|      2|            goto done;
20207|      2|        }
20208|    637|        p->mark = _mark;
20209|    637|        D(fprintf(stderr, "%*c%s expression_without_invalid[%d-%d]: %s failed!\n", p->level, ' ',
20210|    637|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "disjunction"));
20211|    637|    }
20212|      0|    { // lambdef
20213|    637|        if (p->error_indicator) {
  ------------------
  |  Branch (20213:13): [True: 0, False: 637]
  ------------------
20214|      0|            p->call_invalid_rules = _prev_call_invalid;
20215|      0|            p->level--;
20216|      0|            return NULL;
20217|      0|        }
20218|    637|        D(fprintf(stderr, "%*c> expression_without_invalid[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambdef"));
20219|    637|        expr_ty lambdef_var;
20220|    637|        if (
20221|    637|            (lambdef_var = lambdef_rule(p))  // lambdef
  ------------------
  |  Branch (20221:13): [True: 0, False: 637]
  ------------------
20222|    637|        )
20223|      0|        {
20224|      0|            D(fprintf(stderr, "%*c+ expression_without_invalid[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambdef"));
20225|      0|            _res = lambdef_var;
20226|      0|            goto done;
20227|      0|        }
20228|    637|        p->mark = _mark;
20229|    637|        D(fprintf(stderr, "%*c%s expression_without_invalid[%d-%d]: %s failed!\n", p->level, ' ',
20230|    637|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambdef"));
20231|    637|    }
20232|    637|    _res = NULL;
20233|    639|  done:
20234|    639|    p->call_invalid_rules = _prev_call_invalid;
20235|    639|    p->level--;
20236|    639|    return _res;
20237|    637|}
parser.c:_tmp_116_rule:
34471|  1.21k|{
34472|  1.21k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  2.42k|#  define MAXSTACK 6000
  ------------------
  |  Branch (34472:9): [True: 0, False: 1.21k]
  |  Branch (34472:35): [True: 0, False: 1.21k]
  ------------------
34473|      0|        _Pypegen_stack_overflow(p);
34474|      0|    }
34475|  1.21k|    if (p->error_indicator) {
  ------------------
  |  Branch (34475:9): [True: 0, False: 1.21k]
  ------------------
34476|      0|        p->level--;
34477|      0|        return NULL;
34478|      0|    }
34479|  1.21k|    void * _res = NULL;
34480|  1.21k|    int _mark = p->mark;
34481|  1.21k|    { // pass_stmt
34482|  1.21k|        if (p->error_indicator) {
  ------------------
  |  Branch (34482:13): [True: 0, False: 1.21k]
  ------------------
34483|      0|            p->level--;
34484|      0|            return NULL;
34485|      0|        }
34486|  1.21k|        D(fprintf(stderr, "%*c> _tmp_116[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "pass_stmt"));
34487|  1.21k|        stmt_ty pass_stmt_var;
34488|  1.21k|        if (
34489|  1.21k|            (pass_stmt_var = pass_stmt_rule(p))  // pass_stmt
  ------------------
  |  Branch (34489:13): [True: 0, False: 1.21k]
  ------------------
34490|  1.21k|        )
34491|      0|        {
34492|      0|            D(fprintf(stderr, "%*c+ _tmp_116[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "pass_stmt"));
34493|      0|            _res = pass_stmt_var;
34494|      0|            goto done;
34495|      0|        }
34496|  1.21k|        p->mark = _mark;
34497|  1.21k|        D(fprintf(stderr, "%*c%s _tmp_116[%d-%d]: %s failed!\n", p->level, ' ',
34498|  1.21k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "pass_stmt"));
34499|  1.21k|    }
34500|      0|    { // break_stmt
34501|  1.21k|        if (p->error_indicator) {
  ------------------
  |  Branch (34501:13): [True: 0, False: 1.21k]
  ------------------
34502|      0|            p->level--;
34503|      0|            return NULL;
34504|      0|        }
34505|  1.21k|        D(fprintf(stderr, "%*c> _tmp_116[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "break_stmt"));
34506|  1.21k|        stmt_ty break_stmt_var;
34507|  1.21k|        if (
34508|  1.21k|            (break_stmt_var = break_stmt_rule(p))  // break_stmt
  ------------------
  |  Branch (34508:13): [True: 0, False: 1.21k]
  ------------------
34509|  1.21k|        )
34510|      0|        {
34511|      0|            D(fprintf(stderr, "%*c+ _tmp_116[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "break_stmt"));
34512|      0|            _res = break_stmt_var;
34513|      0|            goto done;
34514|      0|        }
34515|  1.21k|        p->mark = _mark;
34516|  1.21k|        D(fprintf(stderr, "%*c%s _tmp_116[%d-%d]: %s failed!\n", p->level, ' ',
34517|  1.21k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "break_stmt"));
34518|  1.21k|    }
34519|      0|    { // continue_stmt
34520|  1.21k|        if (p->error_indicator) {
  ------------------
  |  Branch (34520:13): [True: 0, False: 1.21k]
  ------------------
34521|      0|            p->level--;
34522|      0|            return NULL;
34523|      0|        }
34524|  1.21k|        D(fprintf(stderr, "%*c> _tmp_116[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "continue_stmt"));
34525|  1.21k|        stmt_ty continue_stmt_var;
34526|  1.21k|        if (
34527|  1.21k|            (continue_stmt_var = continue_stmt_rule(p))  // continue_stmt
  ------------------
  |  Branch (34527:13): [True: 0, False: 1.21k]
  ------------------
34528|  1.21k|        )
34529|      0|        {
34530|      0|            D(fprintf(stderr, "%*c+ _tmp_116[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "continue_stmt"));
34531|      0|            _res = continue_stmt_var;
34532|      0|            goto done;
34533|      0|        }
34534|  1.21k|        p->mark = _mark;
34535|  1.21k|        D(fprintf(stderr, "%*c%s _tmp_116[%d-%d]: %s failed!\n", p->level, ' ',
34536|  1.21k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "continue_stmt"));
34537|  1.21k|    }
34538|  1.21k|    _res = NULL;
34539|  1.21k|  done:
34540|  1.21k|    p->level--;
34541|  1.21k|    return _res;
34542|  1.21k|}
parser.c:pass_stmt_rule:
 2937|  1.21k|{
 2938|  1.21k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  2.42k|#  define MAXSTACK 6000
  ------------------
  |  Branch (2938:9): [True: 0, False: 1.21k]
  |  Branch (2938:35): [True: 0, False: 1.21k]
  ------------------
 2939|      0|        _Pypegen_stack_overflow(p);
 2940|      0|    }
 2941|  1.21k|    if (p->error_indicator) {
  ------------------
  |  Branch (2941:9): [True: 0, False: 1.21k]
  ------------------
 2942|      0|        p->level--;
 2943|      0|        return NULL;
 2944|      0|    }
 2945|  1.21k|    stmt_ty _res = NULL;
 2946|  1.21k|    int _mark = p->mark;
 2947|  1.21k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (2947:9): [True: 0, False: 1.21k]
  |  Branch (2947:31): [True: 0, False: 0]
  ------------------
 2948|      0|        p->error_indicator = 1;
 2949|      0|        p->level--;
 2950|      0|        return NULL;
 2951|      0|    }
 2952|  1.21k|    int _start_lineno = p->tokens[_mark]->lineno;
 2953|  1.21k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|  1.21k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 1.21k]
  |  |  ------------------
  ------------------
 2954|  1.21k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 2955|  1.21k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|  1.21k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 1.21k]
  |  |  ------------------
  ------------------
 2956|  1.21k|    { // 'pass'
 2957|  1.21k|        if (p->error_indicator) {
  ------------------
  |  Branch (2957:13): [True: 0, False: 1.21k]
  ------------------
 2958|      0|            p->level--;
 2959|      0|            return NULL;
 2960|      0|        }
 2961|  1.21k|        D(fprintf(stderr, "%*c> pass_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'pass'"));
 2962|  1.21k|        Token * _keyword;
 2963|  1.21k|        if (
 2964|  1.21k|            (_keyword = _PyPegen_expect_token(p, 527))  // token='pass'
  ------------------
  |  Branch (2964:13): [True: 0, False: 1.21k]
  ------------------
 2965|  1.21k|        )
 2966|      0|        {
 2967|      0|            D(fprintf(stderr, "%*c+ pass_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'pass'"));
 2968|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 2969|      0|            if (_token == NULL) {
  ------------------
  |  Branch (2969:17): [True: 0, False: 0]
  ------------------
 2970|      0|                p->level--;
 2971|      0|                return NULL;
 2972|      0|            }
 2973|      0|            int _end_lineno = _token->end_lineno;
 2974|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2975|      0|            int _end_col_offset = _token->end_col_offset;
 2976|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2977|      0|            _res = _PyAST_Pass ( EXTRA );
  ------------------
  |  |  307|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 2978|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2978:18): [True: 0, False: 0]
  |  Branch (2978:34): [True: 0, False: 0]
  |  Branch (2978:57): [True: 0, False: 0]
  ------------------
 2979|      0|                p->error_indicator = 1;
 2980|      0|                p->level--;
 2981|      0|                return NULL;
 2982|      0|            }
 2983|      0|            goto done;
 2984|      0|        }
 2985|  1.21k|        p->mark = _mark;
 2986|  1.21k|        D(fprintf(stderr, "%*c%s pass_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 2987|  1.21k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'pass'"));
 2988|  1.21k|    }
 2989|  1.21k|    _res = NULL;
 2990|  1.21k|  done:
 2991|  1.21k|    p->level--;
 2992|  1.21k|    return _res;
 2993|  1.21k|}
parser.c:break_stmt_rule:
 2998|  1.21k|{
 2999|  1.21k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  2.42k|#  define MAXSTACK 6000
  ------------------
  |  Branch (2999:9): [True: 0, False: 1.21k]
  |  Branch (2999:35): [True: 0, False: 1.21k]
  ------------------
 3000|      0|        _Pypegen_stack_overflow(p);
 3001|      0|    }
 3002|  1.21k|    if (p->error_indicator) {
  ------------------
  |  Branch (3002:9): [True: 0, False: 1.21k]
  ------------------
 3003|      0|        p->level--;
 3004|      0|        return NULL;
 3005|      0|    }
 3006|  1.21k|    stmt_ty _res = NULL;
 3007|  1.21k|    int _mark = p->mark;
 3008|  1.21k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (3008:9): [True: 0, False: 1.21k]
  |  Branch (3008:31): [True: 0, False: 0]
  ------------------
 3009|      0|        p->error_indicator = 1;
 3010|      0|        p->level--;
 3011|      0|        return NULL;
 3012|      0|    }
 3013|  1.21k|    int _start_lineno = p->tokens[_mark]->lineno;
 3014|  1.21k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|  1.21k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 1.21k]
  |  |  ------------------
  ------------------
 3015|  1.21k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 3016|  1.21k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|  1.21k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 1.21k]
  |  |  ------------------
  ------------------
 3017|  1.21k|    { // 'break'
 3018|  1.21k|        if (p->error_indicator) {
  ------------------
  |  Branch (3018:13): [True: 0, False: 1.21k]
  ------------------
 3019|      0|            p->level--;
 3020|      0|            return NULL;
 3021|      0|        }
 3022|  1.21k|        D(fprintf(stderr, "%*c> break_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'break'"));
 3023|  1.21k|        Token * _keyword;
 3024|  1.21k|        if (
 3025|  1.21k|            (_keyword = _PyPegen_expect_token(p, 528))  // token='break'
  ------------------
  |  Branch (3025:13): [True: 0, False: 1.21k]
  ------------------
 3026|  1.21k|        )
 3027|      0|        {
 3028|      0|            D(fprintf(stderr, "%*c+ break_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'break'"));
 3029|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 3030|      0|            if (_token == NULL) {
  ------------------
  |  Branch (3030:17): [True: 0, False: 0]
  ------------------
 3031|      0|                p->level--;
 3032|      0|                return NULL;
 3033|      0|            }
 3034|      0|            int _end_lineno = _token->end_lineno;
 3035|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3036|      0|            int _end_col_offset = _token->end_col_offset;
 3037|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3038|      0|            _res = _PyAST_Break ( EXTRA );
  ------------------
  |  |  307|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 3039|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3039:18): [True: 0, False: 0]
  |  Branch (3039:34): [True: 0, False: 0]
  |  Branch (3039:57): [True: 0, False: 0]
  ------------------
 3040|      0|                p->error_indicator = 1;
 3041|      0|                p->level--;
 3042|      0|                return NULL;
 3043|      0|            }
 3044|      0|            goto done;
 3045|      0|        }
 3046|  1.21k|        p->mark = _mark;
 3047|  1.21k|        D(fprintf(stderr, "%*c%s break_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 3048|  1.21k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'break'"));
 3049|  1.21k|    }
 3050|  1.21k|    _res = NULL;
 3051|  1.21k|  done:
 3052|  1.21k|    p->level--;
 3053|  1.21k|    return _res;
 3054|  1.21k|}
parser.c:continue_stmt_rule:
 3059|  1.21k|{
 3060|  1.21k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  2.42k|#  define MAXSTACK 6000
  ------------------
  |  Branch (3060:9): [True: 0, False: 1.21k]
  |  Branch (3060:35): [True: 0, False: 1.21k]
  ------------------
 3061|      0|        _Pypegen_stack_overflow(p);
 3062|      0|    }
 3063|  1.21k|    if (p->error_indicator) {
  ------------------
  |  Branch (3063:9): [True: 0, False: 1.21k]
  ------------------
 3064|      0|        p->level--;
 3065|      0|        return NULL;
 3066|      0|    }
 3067|  1.21k|    stmt_ty _res = NULL;
 3068|  1.21k|    int _mark = p->mark;
 3069|  1.21k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (3069:9): [True: 0, False: 1.21k]
  |  Branch (3069:31): [True: 0, False: 0]
  ------------------
 3070|      0|        p->error_indicator = 1;
 3071|      0|        p->level--;
 3072|      0|        return NULL;
 3073|      0|    }
 3074|  1.21k|    int _start_lineno = p->tokens[_mark]->lineno;
 3075|  1.21k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|  1.21k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 1.21k]
  |  |  ------------------
  ------------------
 3076|  1.21k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 3077|  1.21k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|  1.21k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 1.21k]
  |  |  ------------------
  ------------------
 3078|  1.21k|    { // 'continue'
 3079|  1.21k|        if (p->error_indicator) {
  ------------------
  |  Branch (3079:13): [True: 0, False: 1.21k]
  ------------------
 3080|      0|            p->level--;
 3081|      0|            return NULL;
 3082|      0|        }
 3083|  1.21k|        D(fprintf(stderr, "%*c> continue_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'continue'"));
 3084|  1.21k|        Token * _keyword;
 3085|  1.21k|        if (
 3086|  1.21k|            (_keyword = _PyPegen_expect_token(p, 529))  // token='continue'
  ------------------
  |  Branch (3086:13): [True: 0, False: 1.21k]
  ------------------
 3087|  1.21k|        )
 3088|      0|        {
 3089|      0|            D(fprintf(stderr, "%*c+ continue_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'continue'"));
 3090|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 3091|      0|            if (_token == NULL) {
  ------------------
  |  Branch (3091:17): [True: 0, False: 0]
  ------------------
 3092|      0|                p->level--;
 3093|      0|                return NULL;
 3094|      0|            }
 3095|      0|            int _end_lineno = _token->end_lineno;
 3096|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3097|      0|            int _end_col_offset = _token->end_col_offset;
 3098|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3099|      0|            _res = _PyAST_Continue ( EXTRA );
  ------------------
  |  |  307|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 3100|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3100:18): [True: 0, False: 0]
  |  Branch (3100:34): [True: 0, False: 0]
  |  Branch (3100:57): [True: 0, False: 0]
  ------------------
 3101|      0|                p->error_indicator = 1;
 3102|      0|                p->level--;
 3103|      0|                return NULL;
 3104|      0|            }
 3105|      0|            goto done;
 3106|      0|        }
 3107|  1.21k|        p->mark = _mark;
 3108|  1.21k|        D(fprintf(stderr, "%*c%s continue_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 3109|  1.21k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'continue'"));
 3110|  1.21k|    }
 3111|  1.21k|    _res = NULL;
 3112|  1.21k|  done:
 3113|  1.21k|    p->level--;
 3114|  1.21k|    return _res;
 3115|  1.21k|}
parser.c:_tmp_16_rule:
28282|     35|{
28283|     35|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     70|#  define MAXSTACK 6000
  ------------------
  |  Branch (28283:9): [True: 0, False: 35]
  |  Branch (28283:35): [True: 0, False: 35]
  ------------------
28284|      0|        _Pypegen_stack_overflow(p);
28285|      0|    }
28286|     35|    if (p->error_indicator) {
  ------------------
  |  Branch (28286:9): [True: 0, False: 35]
  ------------------
28287|      0|        p->level--;
28288|      0|        return NULL;
28289|      0|    }
28290|     35|    void * _res = NULL;
28291|     35|    int _mark = p->mark;
28292|     35|    { // ',' expression
28293|     35|        if (p->error_indicator) {
  ------------------
  |  Branch (28293:13): [True: 0, False: 35]
  ------------------
28294|      0|            p->level--;
28295|      0|            return NULL;
28296|      0|        }
28297|     35|        D(fprintf(stderr, "%*c> _tmp_16[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' expression"));
28298|     35|        Token * _literal;
28299|     35|        expr_ty z;
28300|     35|        if (
28301|     35|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (28301:13): [True: 1, False: 34]
  ------------------
28302|      1|            &&
28303|      1|            (z = expression_rule(p))  // expression
  ------------------
  |  Branch (28303:13): [True: 1, False: 0]
  ------------------
28304|     35|        )
28305|      1|        {
28306|      1|            D(fprintf(stderr, "%*c+ _tmp_16[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "',' expression"));
28307|      1|            _res = z;
28308|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (28308:18): [True: 0, False: 1]
  |  Branch (28308:34): [True: 0, False: 1]
  |  Branch (28308:57): [True: 0, False: 0]
  ------------------
28309|      0|                p->error_indicator = 1;
28310|      0|                p->level--;
28311|      0|                return NULL;
28312|      0|            }
28313|      1|            goto done;
28314|      1|        }
28315|     34|        p->mark = _mark;
28316|     34|        D(fprintf(stderr, "%*c%s _tmp_16[%d-%d]: %s failed!\n", p->level, ' ',
28317|     34|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' expression"));
28318|     34|    }
28319|     34|    _res = NULL;
28320|     35|  done:
28321|     35|    p->level--;
28322|     35|    return _res;
28323|     34|}
parser.c:lambda_params_rule:
15309|      3|{
15310|      3|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      6|#  define MAXSTACK 6000
  ------------------
  |  Branch (15310:9): [True: 0, False: 3]
  |  Branch (15310:35): [True: 0, False: 3]
  ------------------
15311|      0|        _Pypegen_stack_overflow(p);
15312|      0|    }
15313|      3|    if (p->error_indicator) {
  ------------------
  |  Branch (15313:9): [True: 0, False: 3]
  ------------------
15314|      0|        p->level--;
15315|      0|        return NULL;
15316|      0|    }
15317|      3|    arguments_ty _res = NULL;
15318|      3|    int _mark = p->mark;
15319|      3|    if (p->call_invalid_rules) { // invalid_lambda_parameters
  ------------------
  |  Branch (15319:9): [True: 0, False: 3]
  ------------------
15320|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (15320:13): [True: 0, False: 0]
  ------------------
15321|      0|            p->level--;
15322|      0|            return NULL;
15323|      0|        }
15324|      0|        D(fprintf(stderr, "%*c> lambda_params[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_lambda_parameters"));
15325|      0|        void *invalid_lambda_parameters_var;
15326|      0|        if (
15327|      0|            (invalid_lambda_parameters_var = invalid_lambda_parameters_rule(p))  // invalid_lambda_parameters
  ------------------
  |  Branch (15327:13): [True: 0, False: 0]
  ------------------
15328|      0|        )
15329|      0|        {
15330|      0|            D(fprintf(stderr, "%*c+ lambda_params[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_lambda_parameters"));
15331|      0|            _res = invalid_lambda_parameters_var;
15332|      0|            goto done;
15333|      0|        }
15334|      0|        p->mark = _mark;
15335|      0|        D(fprintf(stderr, "%*c%s lambda_params[%d-%d]: %s failed!\n", p->level, ' ',
15336|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_lambda_parameters"));
15337|      0|    }
15338|      3|    { // lambda_parameters
15339|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (15339:13): [True: 0, False: 3]
  ------------------
15340|      0|            p->level--;
15341|      0|            return NULL;
15342|      0|        }
15343|      3|        D(fprintf(stderr, "%*c> lambda_params[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_parameters"));
15344|      3|        arguments_ty lambda_parameters_var;
15345|      3|        if (
15346|      3|            (lambda_parameters_var = lambda_parameters_rule(p))  // lambda_parameters
  ------------------
  |  Branch (15346:13): [True: 2, False: 1]
  ------------------
15347|      3|        )
15348|      2|        {
15349|      2|            D(fprintf(stderr, "%*c+ lambda_params[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_parameters"));
15350|      2|            _res = lambda_parameters_var;
15351|      2|            goto done;
15352|      2|        }
15353|      1|        p->mark = _mark;
15354|      1|        D(fprintf(stderr, "%*c%s lambda_params[%d-%d]: %s failed!\n", p->level, ' ',
15355|      1|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_parameters"));
15356|      1|    }
15357|      1|    _res = NULL;
15358|      3|  done:
15359|      3|    p->level--;
15360|      3|    return _res;
15361|      1|}
parser.c:lambda_slash_with_default_rule:
15616|      2|{
15617|      2|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      4|#  define MAXSTACK 6000
  ------------------
  |  Branch (15617:9): [True: 0, False: 2]
  |  Branch (15617:35): [True: 0, False: 2]
  ------------------
15618|      0|        _Pypegen_stack_overflow(p);
15619|      0|    }
15620|      2|    if (p->error_indicator) {
  ------------------
  |  Branch (15620:9): [True: 0, False: 2]
  ------------------
15621|      0|        p->level--;
15622|      0|        return NULL;
15623|      0|    }
15624|      2|    SlashWithDefault* _res = NULL;
15625|      2|    int _mark = p->mark;
15626|      2|    { // lambda_param_no_default* lambda_param_with_default+ '/' ','
15627|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (15627:13): [True: 0, False: 2]
  ------------------
15628|      0|            p->level--;
15629|      0|            return NULL;
15630|      0|        }
15631|      2|        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+ '/' ','"));
15632|      2|        Token * _literal;
15633|      2|        Token * _literal_1;
15634|      2|        asdl_seq * a;
15635|      2|        asdl_seq * b;
15636|      2|        if (
15637|      2|            (a = _loop0_70_rule(p))  // lambda_param_no_default*
  ------------------
  |  Branch (15637:13): [True: 2, False: 0]
  ------------------
15638|      2|            &&
15639|      2|            (b = _loop1_73_rule(p))  // lambda_param_with_default+
  ------------------
  |  Branch (15639:13): [True: 0, False: 2]
  ------------------
15640|      0|            &&
15641|      0|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (15641:13): [True: 0, False: 0]
  ------------------
15642|      0|            &&
15643|      0|            (_literal_1 = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (15643:13): [True: 0, False: 0]
  ------------------
15644|      2|        )
15645|      0|        {
15646|      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+ '/' ','"));
15647|      0|            _res = _PyPegen_slash_with_default ( p , ( asdl_arg_seq* ) a , b );
15648|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15648:18): [True: 0, False: 0]
  |  Branch (15648:34): [True: 0, False: 0]
  |  Branch (15648:57): [True: 0, False: 0]
  ------------------
15649|      0|                p->error_indicator = 1;
15650|      0|                p->level--;
15651|      0|                return NULL;
15652|      0|            }
15653|      0|            goto done;
15654|      0|        }
15655|      2|        p->mark = _mark;
15656|      2|        D(fprintf(stderr, "%*c%s lambda_slash_with_default[%d-%d]: %s failed!\n", p->level, ' ',
15657|      2|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default* lambda_param_with_default+ '/' ','"));
15658|      2|    }
15659|      0|    { // lambda_param_no_default* lambda_param_with_default+ '/' &':'
15660|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (15660:13): [True: 0, False: 2]
  ------------------
15661|      0|            p->level--;
15662|      0|            return NULL;
15663|      0|        }
15664|      2|        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+ '/' &':'"));
15665|      2|        Token * _literal;
15666|      2|        asdl_seq * a;
15667|      2|        asdl_seq * b;
15668|      2|        if (
15669|      2|            (a = _loop0_70_rule(p))  // lambda_param_no_default*
  ------------------
  |  Branch (15669:13): [True: 2, False: 0]
  ------------------
15670|      2|            &&
15671|      2|            (b = _loop1_73_rule(p))  // lambda_param_with_default+
  ------------------
  |  Branch (15671:13): [True: 0, False: 2]
  ------------------
15672|      0|            &&
15673|      0|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (15673:13): [True: 0, False: 0]
  ------------------
15674|      0|            &&
15675|      0|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 11)  // token=':'
  ------------------
  |  Branch (15675:13): [True: 0, False: 0]
  ------------------
15676|      2|        )
15677|      0|        {
15678|      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+ '/' &':'"));
15679|      0|            _res = _PyPegen_slash_with_default ( p , ( asdl_arg_seq* ) a , b );
15680|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15680:18): [True: 0, False: 0]
  |  Branch (15680:34): [True: 0, False: 0]
  |  Branch (15680:57): [True: 0, False: 0]
  ------------------
15681|      0|                p->error_indicator = 1;
15682|      0|                p->level--;
15683|      0|                return NULL;
15684|      0|            }
15685|      0|            goto done;
15686|      0|        }
15687|      2|        p->mark = _mark;
15688|      2|        D(fprintf(stderr, "%*c%s lambda_slash_with_default[%d-%d]: %s failed!\n", p->level, ' ',
15689|      2|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default* lambda_param_with_default+ '/' &':'"));
15690|      2|    }
15691|      2|    _res = NULL;
15692|      2|  done:
15693|      2|    p->level--;
15694|      2|    return _res;
15695|      2|}
parser.c:_loop1_73_rule:
31882|      4|{
31883|      4|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      8|#  define MAXSTACK 6000
  ------------------
  |  Branch (31883:9): [True: 0, False: 4]
  |  Branch (31883:35): [True: 0, False: 4]
  ------------------
31884|      0|        _Pypegen_stack_overflow(p);
31885|      0|    }
31886|      4|    if (p->error_indicator) {
  ------------------
  |  Branch (31886:9): [True: 0, False: 4]
  ------------------
31887|      0|        p->level--;
31888|      0|        return NULL;
31889|      0|    }
31890|      4|    void *_res = NULL;
31891|      4|    int _mark = p->mark;
31892|      4|    void **_children = PyMem_Malloc(sizeof(void *));
31893|      4|    if (!_children) {
  ------------------
  |  Branch (31893:9): [True: 0, False: 4]
  ------------------
31894|      0|        p->error_indicator = 1;
31895|      0|        PyErr_NoMemory();
31896|      0|        p->level--;
31897|      0|        return NULL;
31898|      0|    }
31899|      4|    Py_ssize_t _children_capacity = 1;
31900|      4|    Py_ssize_t _n = 0;
31901|      4|    { // lambda_param_with_default
31902|      4|        if (p->error_indicator) {
  ------------------
  |  Branch (31902:13): [True: 0, False: 4]
  ------------------
31903|      0|            p->level--;
31904|      0|            return NULL;
31905|      0|        }
31906|      4|        D(fprintf(stderr, "%*c> _loop1_73[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_with_default"));
31907|      4|        NameDefaultPair* lambda_param_with_default_var;
31908|      4|        while (
31909|      4|            (lambda_param_with_default_var = lambda_param_with_default_rule(p))  // lambda_param_with_default
  ------------------
  |  Branch (31909:13): [True: 0, False: 4]
  ------------------
31910|      4|        )
31911|      0|        {
31912|      0|            _res = lambda_param_with_default_var;
31913|      0|            if (_n == _children_capacity) {
  ------------------
  |  Branch (31913:17): [True: 0, False: 0]
  ------------------
31914|      0|                _children_capacity *= 2;
31915|      0|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
31916|      0|                if (!_new_children) {
  ------------------
  |  Branch (31916:21): [True: 0, False: 0]
  ------------------
31917|      0|                    PyMem_Free(_children);
31918|      0|                    p->error_indicator = 1;
31919|      0|                    PyErr_NoMemory();
31920|      0|                    p->level--;
31921|      0|                    return NULL;
31922|      0|                }
31923|      0|                _children = _new_children;
31924|      0|            }
31925|      0|            _children[_n++] = _res;
31926|      0|            _mark = p->mark;
31927|      0|        }
31928|      4|        p->mark = _mark;
31929|      4|        D(fprintf(stderr, "%*c%s _loop1_73[%d-%d]: %s failed!\n", p->level, ' ',
31930|      4|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_with_default"));
31931|      4|    }
31932|      4|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (31932:9): [True: 4, False: 0]
  |  Branch (31932:20): [True: 0, False: 0]
  ------------------
31933|      4|        PyMem_Free(_children);
31934|      4|        p->level--;
31935|      4|        return NULL;
31936|      4|    }
31937|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
31938|      0|    if (!_seq) {
  ------------------
  |  Branch (31938:9): [True: 0, False: 0]
  ------------------
31939|      0|        PyMem_Free(_children);
31940|      0|        p->error_indicator = 1;
31941|      0|        PyErr_NoMemory();
31942|      0|        p->level--;
31943|      0|        return NULL;
31944|      0|    }
31945|      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))
  |  |  ------------------
  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (31945:28): [True: 0, False: 0]
  ------------------
31946|      0|    PyMem_Free(_children);
31947|      0|    p->level--;
31948|      0|    return _seq;
31949|      0|}
parser.c:lambda_param_with_default_rule:
15969|      6|{
15970|      6|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     12|#  define MAXSTACK 6000
  ------------------
  |  Branch (15970:9): [True: 0, False: 6]
  |  Branch (15970:35): [True: 0, False: 6]
  ------------------
15971|      0|        _Pypegen_stack_overflow(p);
15972|      0|    }
15973|      6|    if (p->error_indicator) {
  ------------------
  |  Branch (15973:9): [True: 0, False: 6]
  ------------------
15974|      0|        p->level--;
15975|      0|        return NULL;
15976|      0|    }
15977|      6|    NameDefaultPair* _res = NULL;
15978|      6|    int _mark = p->mark;
15979|      6|    { // lambda_param default ','
15980|      6|        if (p->error_indicator) {
  ------------------
  |  Branch (15980:13): [True: 0, False: 6]
  ------------------
15981|      0|            p->level--;
15982|      0|            return NULL;
15983|      0|        }
15984|      6|        D(fprintf(stderr, "%*c> lambda_param_with_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param default ','"));
15985|      6|        Token * _literal;
15986|      6|        arg_ty a;
15987|      6|        expr_ty c;
15988|      6|        if (
15989|      6|            (a = lambda_param_rule(p))  // lambda_param
  ------------------
  |  Branch (15989:13): [True: 0, False: 6]
  ------------------
15990|      0|            &&
15991|      0|            (c = default_rule(p))  // default
  ------------------
  |  Branch (15991:13): [True: 0, False: 0]
  ------------------
15992|      0|            &&
15993|      0|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (15993:13): [True: 0, False: 0]
  ------------------
15994|      6|        )
15995|      0|        {
15996|      0|            D(fprintf(stderr, "%*c+ lambda_param_with_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param default ','"));
15997|      0|            _res = _PyPegen_name_default_pair ( p , a , c , NULL );
15998|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15998:18): [True: 0, False: 0]
  |  Branch (15998:34): [True: 0, False: 0]
  |  Branch (15998:57): [True: 0, False: 0]
  ------------------
15999|      0|                p->error_indicator = 1;
16000|      0|                p->level--;
16001|      0|                return NULL;
16002|      0|            }
16003|      0|            goto done;
16004|      0|        }
16005|      6|        p->mark = _mark;
16006|      6|        D(fprintf(stderr, "%*c%s lambda_param_with_default[%d-%d]: %s failed!\n", p->level, ' ',
16007|      6|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param default ','"));
16008|      6|    }
16009|      0|    { // lambda_param default &':'
16010|      6|        if (p->error_indicator) {
  ------------------
  |  Branch (16010:13): [True: 0, False: 6]
  ------------------
16011|      0|            p->level--;
16012|      0|            return NULL;
16013|      0|        }
16014|      6|        D(fprintf(stderr, "%*c> lambda_param_with_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param default &':'"));
16015|      6|        arg_ty a;
16016|      6|        expr_ty c;
16017|      6|        if (
16018|      6|            (a = lambda_param_rule(p))  // lambda_param
  ------------------
  |  Branch (16018:13): [True: 0, False: 6]
  ------------------
16019|      0|            &&
16020|      0|            (c = default_rule(p))  // default
  ------------------
  |  Branch (16020:13): [True: 0, False: 0]
  ------------------
16021|      0|            &&
16022|      0|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 11)  // token=':'
  ------------------
  |  Branch (16022:13): [True: 0, False: 0]
  ------------------
16023|      6|        )
16024|      0|        {
16025|      0|            D(fprintf(stderr, "%*c+ lambda_param_with_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param default &':'"));
16026|      0|            _res = _PyPegen_name_default_pair ( p , a , c , NULL );
16027|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16027:18): [True: 0, False: 0]
  |  Branch (16027:34): [True: 0, False: 0]
  |  Branch (16027:57): [True: 0, False: 0]
  ------------------
16028|      0|                p->error_indicator = 1;
16029|      0|                p->level--;
16030|      0|                return NULL;
16031|      0|            }
16032|      0|            goto done;
16033|      0|        }
16034|      6|        p->mark = _mark;
16035|      6|        D(fprintf(stderr, "%*c%s lambda_param_with_default[%d-%d]: %s failed!\n", p->level, ' ',
16036|      6|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param default &':'"));
16037|      6|    }
16038|      6|    _res = NULL;
16039|      6|  done:
16040|      6|    p->level--;
16041|      6|    return _res;
16042|      6|}
parser.c:lambda_param_rule:
16125|    831|{
16126|    831|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.66k|#  define MAXSTACK 6000
  ------------------
  |  Branch (16126:9): [True: 0, False: 831]
  |  Branch (16126:35): [True: 0, False: 831]
  ------------------
16127|      0|        _Pypegen_stack_overflow(p);
16128|      0|    }
16129|    831|    if (p->error_indicator) {
  ------------------
  |  Branch (16129:9): [True: 0, False: 831]
  ------------------
16130|      0|        p->level--;
16131|      0|        return NULL;
16132|      0|    }
16133|    831|    arg_ty _res = NULL;
16134|    831|    int _mark = p->mark;
16135|    831|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (16135:9): [True: 745, False: 86]
  |  Branch (16135:31): [True: 1, False: 744]
  ------------------
16136|      1|        p->error_indicator = 1;
16137|      1|        p->level--;
16138|      1|        return NULL;
16139|      1|    }
16140|    830|    int _start_lineno = p->tokens[_mark]->lineno;
16141|    830|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|    830|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 830]
  |  |  ------------------
  ------------------
16142|    830|    int _start_col_offset = p->tokens[_mark]->col_offset;
16143|    830|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|    830|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 830]
  |  |  ------------------
  ------------------
16144|    830|    { // NAME
16145|    830|        if (p->error_indicator) {
  ------------------
  |  Branch (16145:13): [True: 0, False: 830]
  ------------------
16146|      0|            p->level--;
16147|      0|            return NULL;
16148|      0|        }
16149|    830|        D(fprintf(stderr, "%*c> lambda_param[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME"));
16150|    830|        expr_ty a;
16151|    830|        if (
16152|    830|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (16152:13): [True: 798, False: 32]
  ------------------
16153|    830|        )
16154|    798|        {
16155|    798|            D(fprintf(stderr, "%*c+ lambda_param[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME"));
16156|    798|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
16157|    798|            if (_token == NULL) {
  ------------------
  |  Branch (16157:17): [True: 0, False: 798]
  ------------------
16158|      0|                p->level--;
16159|      0|                return NULL;
16160|      0|            }
16161|    798|            int _end_lineno = _token->end_lineno;
16162|    798|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|    798|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 798]
  |  |  ------------------
  ------------------
16163|    798|            int _end_col_offset = _token->end_col_offset;
16164|    798|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|    798|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 798]
  |  |  ------------------
  ------------------
16165|    798|            _res = _PyAST_arg ( a -> v . Name . id , NULL , NULL , EXTRA );
  ------------------
  |  |  307|    798|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
16166|    798|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16166:18): [True: 0, False: 798]
  |  Branch (16166:34): [True: 0, False: 798]
  |  Branch (16166:57): [True: 0, False: 0]
  ------------------
16167|      0|                p->error_indicator = 1;
16168|      0|                p->level--;
16169|      0|                return NULL;
16170|      0|            }
16171|    798|            goto done;
16172|    798|        }
16173|     32|        p->mark = _mark;
16174|     32|        D(fprintf(stderr, "%*c%s lambda_param[%d-%d]: %s failed!\n", p->level, ' ',
16175|     32|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME"));
16176|     32|    }
16177|     32|    _res = NULL;
16178|    830|  done:
16179|    830|    p->level--;
16180|    830|    return _res;
16181|     32|}
parser.c:lambda_slash_no_default_rule:
15536|      3|{
15537|      3|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      6|#  define MAXSTACK 6000
  ------------------
  |  Branch (15537:9): [True: 0, False: 3]
  |  Branch (15537:35): [True: 0, False: 3]
  ------------------
15538|      0|        _Pypegen_stack_overflow(p);
15539|      0|    }
15540|      3|    if (p->error_indicator) {
  ------------------
  |  Branch (15540:9): [True: 0, False: 3]
  ------------------
15541|      0|        p->level--;
15542|      0|        return NULL;
15543|      0|    }
15544|      3|    asdl_arg_seq* _res = NULL;
15545|      3|    int _mark = p->mark;
15546|      3|    { // lambda_param_no_default+ '/' ','
15547|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (15547:13): [True: 0, False: 3]
  ------------------
15548|      0|            p->level--;
15549|      0|            return NULL;
15550|      0|        }
15551|      3|        D(fprintf(stderr, "%*c> lambda_slash_no_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default+ '/' ','"));
15552|      3|        Token * _literal;
15553|      3|        Token * _literal_1;
15554|      3|        asdl_arg_seq* a;
15555|      3|        if (
15556|      3|            (a = (asdl_arg_seq*)_loop1_72_rule(p))  // lambda_param_no_default+
  ------------------
  |  Branch (15556:13): [True: 2, False: 1]
  ------------------
15557|      2|            &&
15558|      2|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (15558:13): [True: 0, False: 2]
  ------------------
15559|      0|            &&
15560|      0|            (_literal_1 = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (15560:13): [True: 0, False: 0]
  ------------------
15561|      3|        )
15562|      0|        {
15563|      0|            D(fprintf(stderr, "%*c+ lambda_slash_no_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default+ '/' ','"));
15564|      0|            _res = a;
15565|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15565:18): [True: 0, False: 0]
  |  Branch (15565:34): [True: 0, False: 0]
  |  Branch (15565:57): [True: 0, False: 0]
  ------------------
15566|      0|                p->error_indicator = 1;
15567|      0|                p->level--;
15568|      0|                return NULL;
15569|      0|            }
15570|      0|            goto done;
15571|      0|        }
15572|      3|        p->mark = _mark;
15573|      3|        D(fprintf(stderr, "%*c%s lambda_slash_no_default[%d-%d]: %s failed!\n", p->level, ' ',
15574|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default+ '/' ','"));
15575|      3|    }
15576|      0|    { // lambda_param_no_default+ '/' &':'
15577|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (15577:13): [True: 1, False: 2]
  ------------------
15578|      1|            p->level--;
15579|      1|            return NULL;
15580|      1|        }
15581|      2|        D(fprintf(stderr, "%*c> lambda_slash_no_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default+ '/' &':'"));
15582|      2|        Token * _literal;
15583|      2|        asdl_arg_seq* a;
15584|      2|        if (
15585|      2|            (a = (asdl_arg_seq*)_loop1_72_rule(p))  // lambda_param_no_default+
  ------------------
  |  Branch (15585:13): [True: 2, False: 0]
  ------------------
15586|      2|            &&
15587|      2|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (15587:13): [True: 0, False: 2]
  ------------------
15588|      0|            &&
15589|      0|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 11)  // token=':'
  ------------------
  |  Branch (15589:13): [True: 0, False: 0]
  ------------------
15590|      2|        )
15591|      0|        {
15592|      0|            D(fprintf(stderr, "%*c+ lambda_slash_no_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default+ '/' &':'"));
15593|      0|            _res = a;
15594|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15594:18): [True: 0, False: 0]
  |  Branch (15594:34): [True: 0, False: 0]
  |  Branch (15594:57): [True: 0, False: 0]
  ------------------
15595|      0|                p->error_indicator = 1;
15596|      0|                p->level--;
15597|      0|                return NULL;
15598|      0|            }
15599|      0|            goto done;
15600|      0|        }
15601|      2|        p->mark = _mark;
15602|      2|        D(fprintf(stderr, "%*c%s lambda_slash_no_default[%d-%d]: %s failed!\n", p->level, ' ',
15603|      2|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default+ '/' &':'"));
15604|      2|    }
15605|      2|    _res = NULL;
15606|      2|  done:
15607|      2|    p->level--;
15608|      2|    return _res;
15609|      2|}
parser.c:_loop1_72_rule:
31810|      7|{
31811|      7|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     14|#  define MAXSTACK 6000
  ------------------
  |  Branch (31811:9): [True: 0, False: 7]
  |  Branch (31811:35): [True: 0, False: 7]
  ------------------
31812|      0|        _Pypegen_stack_overflow(p);
31813|      0|    }
31814|      7|    if (p->error_indicator) {
  ------------------
  |  Branch (31814:9): [True: 0, False: 7]
  ------------------
31815|      0|        p->level--;
31816|      0|        return NULL;
31817|      0|    }
31818|      7|    void *_res = NULL;
31819|      7|    int _mark = p->mark;
31820|      7|    void **_children = PyMem_Malloc(sizeof(void *));
31821|      7|    if (!_children) {
  ------------------
  |  Branch (31821:9): [True: 0, False: 7]
  ------------------
31822|      0|        p->error_indicator = 1;
31823|      0|        PyErr_NoMemory();
31824|      0|        p->level--;
31825|      0|        return NULL;
31826|      0|    }
31827|      7|    Py_ssize_t _children_capacity = 1;
31828|      7|    Py_ssize_t _n = 0;
31829|      7|    { // lambda_param_no_default
31830|      7|        if (p->error_indicator) {
  ------------------
  |  Branch (31830:13): [True: 0, False: 7]
  ------------------
31831|      0|            p->level--;
31832|      0|            return NULL;
31833|      0|        }
31834|      7|        D(fprintf(stderr, "%*c> _loop1_72[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default"));
31835|      7|        arg_ty lambda_param_no_default_var;
31836|      7|        while (
31837|    773|            (lambda_param_no_default_var = lambda_param_no_default_rule(p))  // lambda_param_no_default
  ------------------
  |  Branch (31837:13): [True: 766, False: 7]
  ------------------
31838|      7|        )
31839|    766|        {
31840|    766|            _res = lambda_param_no_default_var;
31841|    766|            if (_n == _children_capacity) {
  ------------------
  |  Branch (31841:17): [True: 28, False: 738]
  ------------------
31842|     28|                _children_capacity *= 2;
31843|     28|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
31844|     28|                if (!_new_children) {
  ------------------
  |  Branch (31844:21): [True: 0, False: 28]
  ------------------
31845|      0|                    PyMem_Free(_children);
31846|      0|                    p->error_indicator = 1;
31847|      0|                    PyErr_NoMemory();
31848|      0|                    p->level--;
31849|      0|                    return NULL;
31850|      0|                }
31851|     28|                _children = _new_children;
31852|     28|            }
31853|    766|            _children[_n++] = _res;
31854|    766|            _mark = p->mark;
31855|    766|        }
31856|      7|        p->mark = _mark;
31857|      7|        D(fprintf(stderr, "%*c%s _loop1_72[%d-%d]: %s failed!\n", p->level, ' ',
31858|      7|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default"));
31859|      7|    }
31860|      7|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (31860:9): [True: 0, False: 7]
  |  Branch (31860:20): [True: 1, False: 6]
  ------------------
31861|      1|        PyMem_Free(_children);
31862|      1|        p->level--;
31863|      1|        return NULL;
31864|      1|    }
31865|      6|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
31866|      6|    if (!_seq) {
  ------------------
  |  Branch (31866:9): [True: 0, False: 6]
  ------------------
31867|      0|        PyMem_Free(_children);
31868|      0|        p->error_indicator = 1;
31869|      0|        PyErr_NoMemory();
31870|      0|        p->level--;
31871|      0|        return NULL;
31872|      0|    }
31873|     39|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|     33|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  302|     39|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (31873:28): [True: 33, False: 6]
  ------------------
31874|      6|    PyMem_Free(_children);
31875|      6|    p->level--;
31876|      6|    return _seq;
31877|      6|}
parser.c:_loop0_70_rule:
31676|      4|{
31677|      4|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      8|#  define MAXSTACK 6000
  ------------------
  |  Branch (31677:9): [True: 0, False: 4]
  |  Branch (31677:35): [True: 0, False: 4]
  ------------------
31678|      0|        _Pypegen_stack_overflow(p);
31679|      0|    }
31680|      4|    if (p->error_indicator) {
  ------------------
  |  Branch (31680:9): [True: 0, False: 4]
  ------------------
31681|      0|        p->level--;
31682|      0|        return NULL;
31683|      0|    }
31684|      4|    void *_res = NULL;
31685|      4|    int _mark = p->mark;
31686|      4|    void **_children = PyMem_Malloc(sizeof(void *));
31687|      4|    if (!_children) {
  ------------------
  |  Branch (31687:9): [True: 0, False: 4]
  ------------------
31688|      0|        p->error_indicator = 1;
31689|      0|        PyErr_NoMemory();
31690|      0|        p->level--;
31691|      0|        return NULL;
31692|      0|    }
31693|      4|    Py_ssize_t _children_capacity = 1;
31694|      4|    Py_ssize_t _n = 0;
31695|      4|    { // lambda_param_no_default
31696|      4|        if (p->error_indicator) {
  ------------------
  |  Branch (31696:13): [True: 0, False: 4]
  ------------------
31697|      0|            p->level--;
31698|      0|            return NULL;
31699|      0|        }
31700|      4|        D(fprintf(stderr, "%*c> _loop0_70[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default"));
31701|      4|        arg_ty lambda_param_no_default_var;
31702|      4|        while (
31703|     26|            (lambda_param_no_default_var = lambda_param_no_default_rule(p))  // lambda_param_no_default
  ------------------
  |  Branch (31703:13): [True: 22, False: 4]
  ------------------
31704|      4|        )
31705|     22|        {
31706|     22|            _res = lambda_param_no_default_var;
31707|     22|            if (_n == _children_capacity) {
  ------------------
  |  Branch (31707:17): [True: 12, False: 10]
  ------------------
31708|     12|                _children_capacity *= 2;
31709|     12|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
31710|     12|                if (!_new_children) {
  ------------------
  |  Branch (31710:21): [True: 0, False: 12]
  ------------------
31711|      0|                    PyMem_Free(_children);
31712|      0|                    p->error_indicator = 1;
31713|      0|                    PyErr_NoMemory();
31714|      0|                    p->level--;
31715|      0|                    return NULL;
31716|      0|                }
31717|     12|                _children = _new_children;
31718|     12|            }
31719|     22|            _children[_n++] = _res;
31720|     22|            _mark = p->mark;
31721|     22|        }
31722|      4|        p->mark = _mark;
31723|      4|        D(fprintf(stderr, "%*c%s _loop0_70[%d-%d]: %s failed!\n", p->level, ' ',
31724|      4|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default"));
31725|      4|    }
31726|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
31727|      4|    if (!_seq) {
  ------------------
  |  Branch (31727:9): [True: 0, False: 4]
  ------------------
31728|      0|        PyMem_Free(_children);
31729|      0|        p->error_indicator = 1;
31730|      0|        PyErr_NoMemory();
31731|      0|        p->level--;
31732|      0|        return NULL;
31733|      0|    }
31734|     26|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|     22|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  302|     26|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (31734:28): [True: 22, False: 4]
  ------------------
31735|      4|    PyMem_Free(_children);
31736|      4|    p->level--;
31737|      4|    return _seq;
31738|      4|}
parser.c:lambda_param_no_default_rule:
15897|    799|{
15898|    799|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.59k|#  define MAXSTACK 6000
  ------------------
  |  Branch (15898:9): [True: 0, False: 799]
  |  Branch (15898:35): [True: 0, False: 799]
  ------------------
15899|      0|        _Pypegen_stack_overflow(p);
15900|      0|    }
15901|    799|    if (p->error_indicator) {
  ------------------
  |  Branch (15901:9): [True: 0, False: 799]
  ------------------
15902|      0|        p->level--;
15903|      0|        return NULL;
15904|      0|    }
15905|    799|    arg_ty _res = NULL;
15906|    799|    int _mark = p->mark;
15907|    799|    { // lambda_param ','
15908|    799|        if (p->error_indicator) {
  ------------------
  |  Branch (15908:13): [True: 0, False: 799]
  ------------------
15909|      0|            p->level--;
15910|      0|            return NULL;
15911|      0|        }
15912|    799|        D(fprintf(stderr, "%*c> lambda_param_no_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param ','"));
15913|    799|        Token * _literal;
15914|    799|        arg_ty a;
15915|    799|        if (
15916|    799|            (a = lambda_param_rule(p))  // lambda_param
  ------------------
  |  Branch (15916:13): [True: 788, False: 11]
  ------------------
15917|    788|            &&
15918|    788|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (15918:13): [True: 778, False: 10]
  ------------------
15919|    799|        )
15920|    778|        {
15921|    778|            D(fprintf(stderr, "%*c+ lambda_param_no_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param ','"));
15922|    778|            _res = a;
15923|    778|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15923:18): [True: 0, False: 778]
  |  Branch (15923:34): [True: 0, False: 778]
  |  Branch (15923:57): [True: 0, False: 0]
  ------------------
15924|      0|                p->error_indicator = 1;
15925|      0|                p->level--;
15926|      0|                return NULL;
15927|      0|            }
15928|    778|            goto done;
15929|    778|        }
15930|     21|        p->mark = _mark;
15931|     21|        D(fprintf(stderr, "%*c%s lambda_param_no_default[%d-%d]: %s failed!\n", p->level, ' ',
15932|     21|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param ','"));
15933|     21|    }
15934|      0|    { // lambda_param &':'
15935|     21|        if (p->error_indicator) {
  ------------------
  |  Branch (15935:13): [True: 1, False: 20]
  ------------------
15936|      1|            p->level--;
15937|      1|            return NULL;
15938|      1|        }
15939|     20|        D(fprintf(stderr, "%*c> lambda_param_no_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param &':'"));
15940|     20|        arg_ty a;
15941|     20|        if (
15942|     20|            (a = lambda_param_rule(p))  // lambda_param
  ------------------
  |  Branch (15942:13): [True: 10, False: 10]
  ------------------
15943|     10|            &&
15944|     10|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 11)  // token=':'
  ------------------
  |  Branch (15944:13): [True: 10, False: 0]
  ------------------
15945|     20|        )
15946|     10|        {
15947|     10|            D(fprintf(stderr, "%*c+ lambda_param_no_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param &':'"));
15948|     10|            _res = a;
15949|     10|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15949:18): [True: 0, False: 10]
  |  Branch (15949:34): [True: 0, False: 10]
  |  Branch (15949:57): [True: 0, False: 0]
  ------------------
15950|      0|                p->error_indicator = 1;
15951|      0|                p->level--;
15952|      0|                return NULL;
15953|      0|            }
15954|     10|            goto done;
15955|     10|        }
15956|     10|        p->mark = _mark;
15957|     10|        D(fprintf(stderr, "%*c%s lambda_param_no_default[%d-%d]: %s failed!\n", p->level, ' ',
15958|     10|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param &':'"));
15959|     10|    }
15960|     10|    _res = NULL;
15961|    798|  done:
15962|    798|    p->level--;
15963|    798|    return _res;
15964|     10|}
parser.c:lambda_parameters_rule:
15371|      3|{
15372|      3|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      6|#  define MAXSTACK 6000
  ------------------
  |  Branch (15372:9): [True: 0, False: 3]
  |  Branch (15372:35): [True: 0, False: 3]
  ------------------
15373|      0|        _Pypegen_stack_overflow(p);
15374|      0|    }
15375|      3|    if (p->error_indicator) {
  ------------------
  |  Branch (15375:9): [True: 0, False: 3]
  ------------------
15376|      0|        p->level--;
15377|      0|        return NULL;
15378|      0|    }
15379|      3|    arguments_ty _res = NULL;
15380|      3|    int _mark = p->mark;
15381|      3|    { // lambda_slash_no_default lambda_param_no_default* lambda_param_with_default* lambda_star_etc?
15382|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (15382:13): [True: 0, False: 3]
  ------------------
15383|      0|            p->level--;
15384|      0|            return NULL;
15385|      0|        }
15386|      3|        D(fprintf(stderr, "%*c> lambda_parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_slash_no_default lambda_param_no_default* lambda_param_with_default* lambda_star_etc?"));
15387|      3|        asdl_arg_seq* a;
15388|      3|        asdl_arg_seq* b;
15389|      3|        asdl_seq * c;
15390|      3|        void *d;
15391|      3|        if (
15392|      3|            (a = lambda_slash_no_default_rule(p))  // lambda_slash_no_default
  ------------------
  |  Branch (15392:13): [True: 0, False: 3]
  ------------------
15393|      0|            &&
15394|      0|            (b = (asdl_arg_seq*)_loop0_70_rule(p))  // lambda_param_no_default*
  ------------------
  |  Branch (15394:13): [True: 0, False: 0]
  ------------------
15395|      0|            &&
15396|      0|            (c = _loop0_71_rule(p))  // lambda_param_with_default*
  ------------------
  |  Branch (15396:13): [True: 0, False: 0]
  ------------------
15397|      0|            &&
15398|      0|            (d = lambda_star_etc_rule(p), !p->error_indicator)  // lambda_star_etc?
  ------------------
  |  Branch (15398:13): [True: 0, False: 0]
  ------------------
15399|      3|        )
15400|      0|        {
15401|      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?"));
15402|      0|            _res = CHECK_VERSION ( arguments_ty , 8 , "Positional-only parameters are" , _PyPegen_make_arguments ( p , a , NULL , b , c , d ) );
  ------------------
  |  |  345|      0|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
15403|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15403:18): [True: 0, False: 0]
  |  Branch (15403:34): [True: 0, False: 0]
  |  Branch (15403:57): [True: 0, False: 0]
  ------------------
15404|      0|                p->error_indicator = 1;
15405|      0|                p->level--;
15406|      0|                return NULL;
15407|      0|            }
15408|      0|            goto done;
15409|      0|        }
15410|      3|        p->mark = _mark;
15411|      3|        D(fprintf(stderr, "%*c%s lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
15412|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_slash_no_default lambda_param_no_default* lambda_param_with_default* lambda_star_etc?"));
15413|      3|    }
15414|      0|    { // lambda_slash_with_default lambda_param_with_default* lambda_star_etc?
15415|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (15415:13): [True: 1, False: 2]
  ------------------
15416|      1|            p->level--;
15417|      1|            return NULL;
15418|      1|        }
15419|      2|        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?"));
15420|      2|        SlashWithDefault* a;
15421|      2|        asdl_seq * b;
15422|      2|        void *c;
15423|      2|        if (
15424|      2|            (a = lambda_slash_with_default_rule(p))  // lambda_slash_with_default
  ------------------
  |  Branch (15424:13): [True: 0, False: 2]
  ------------------
15425|      0|            &&
15426|      0|            (b = _loop0_71_rule(p))  // lambda_param_with_default*
  ------------------
  |  Branch (15426:13): [True: 0, False: 0]
  ------------------
15427|      0|            &&
15428|      0|            (c = lambda_star_etc_rule(p), !p->error_indicator)  // lambda_star_etc?
  ------------------
  |  Branch (15428:13): [True: 0, False: 0]
  ------------------
15429|      2|        )
15430|      0|        {
15431|      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?"));
15432|      0|            _res = CHECK_VERSION ( arguments_ty , 8 , "Positional-only parameters are" , _PyPegen_make_arguments ( p , NULL , a , NULL , b , c ) );
  ------------------
  |  |  345|      0|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
15433|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15433:18): [True: 0, False: 0]
  |  Branch (15433:34): [True: 0, False: 0]
  |  Branch (15433:57): [True: 0, False: 0]
  ------------------
15434|      0|                p->error_indicator = 1;
15435|      0|                p->level--;
15436|      0|                return NULL;
15437|      0|            }
15438|      0|            goto done;
15439|      0|        }
15440|      2|        p->mark = _mark;
15441|      2|        D(fprintf(stderr, "%*c%s lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
15442|      2|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_slash_with_default lambda_param_with_default* lambda_star_etc?"));
15443|      2|    }
15444|      0|    { // lambda_param_no_default+ lambda_param_with_default* lambda_star_etc?
15445|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (15445:13): [True: 0, False: 2]
  ------------------
15446|      0|            p->level--;
15447|      0|            return NULL;
15448|      0|        }
15449|      2|        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?"));
15450|      2|        asdl_arg_seq* a;
15451|      2|        asdl_seq * b;
15452|      2|        void *c;
15453|      2|        if (
15454|      2|            (a = (asdl_arg_seq*)_loop1_72_rule(p))  // lambda_param_no_default+
  ------------------
  |  Branch (15454:13): [True: 2, False: 0]
  ------------------
15455|      2|            &&
15456|      2|            (b = _loop0_71_rule(p))  // lambda_param_with_default*
  ------------------
  |  Branch (15456:13): [True: 2, False: 0]
  ------------------
15457|      2|            &&
15458|      2|            (c = lambda_star_etc_rule(p), !p->error_indicator)  // lambda_star_etc?
  ------------------
  |  Branch (15458:13): [True: 2, False: 0]
  ------------------
15459|      2|        )
15460|      2|        {
15461|      2|            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?"));
15462|      2|            _res = _PyPegen_make_arguments ( p , NULL , NULL , a , b , c );
15463|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15463:18): [True: 0, False: 2]
  |  Branch (15463:34): [True: 0, False: 2]
  |  Branch (15463:57): [True: 0, False: 0]
  ------------------
15464|      0|                p->error_indicator = 1;
15465|      0|                p->level--;
15466|      0|                return NULL;
15467|      0|            }
15468|      2|            goto done;
15469|      2|        }
15470|      0|        p->mark = _mark;
15471|      0|        D(fprintf(stderr, "%*c%s lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
15472|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default+ lambda_param_with_default* lambda_star_etc?"));
15473|      0|    }
15474|      0|    { // lambda_param_with_default+ lambda_star_etc?
15475|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (15475:13): [True: 0, False: 0]
  ------------------
15476|      0|            p->level--;
15477|      0|            return NULL;
15478|      0|        }
15479|      0|        D(fprintf(stderr, "%*c> lambda_parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_with_default+ lambda_star_etc?"));
15480|      0|        asdl_seq * a;
15481|      0|        void *b;
15482|      0|        if (
15483|      0|            (a = _loop1_73_rule(p))  // lambda_param_with_default+
  ------------------
  |  Branch (15483:13): [True: 0, False: 0]
  ------------------
15484|      0|            &&
15485|      0|            (b = lambda_star_etc_rule(p), !p->error_indicator)  // lambda_star_etc?
  ------------------
  |  Branch (15485:13): [True: 0, False: 0]
  ------------------
15486|      0|        )
15487|      0|        {
15488|      0|            D(fprintf(stderr, "%*c+ lambda_parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param_with_default+ lambda_star_etc?"));
15489|      0|            _res = _PyPegen_make_arguments ( p , NULL , NULL , NULL , a , b );
15490|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15490:18): [True: 0, False: 0]
  |  Branch (15490:34): [True: 0, False: 0]
  |  Branch (15490:57): [True: 0, False: 0]
  ------------------
15491|      0|                p->error_indicator = 1;
15492|      0|                p->level--;
15493|      0|                return NULL;
15494|      0|            }
15495|      0|            goto done;
15496|      0|        }
15497|      0|        p->mark = _mark;
15498|      0|        D(fprintf(stderr, "%*c%s lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
15499|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_with_default+ lambda_star_etc?"));
15500|      0|    }
15501|      0|    { // lambda_star_etc
15502|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (15502:13): [True: 0, False: 0]
  ------------------
15503|      0|            p->level--;
15504|      0|            return NULL;
15505|      0|        }
15506|      0|        D(fprintf(stderr, "%*c> lambda_parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_star_etc"));
15507|      0|        StarEtc* a;
15508|      0|        if (
15509|      0|            (a = lambda_star_etc_rule(p))  // lambda_star_etc
  ------------------
  |  Branch (15509:13): [True: 0, False: 0]
  ------------------
15510|      0|        )
15511|      0|        {
15512|      0|            D(fprintf(stderr, "%*c+ lambda_parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_star_etc"));
15513|      0|            _res = _PyPegen_make_arguments ( p , NULL , NULL , NULL , NULL , a );
15514|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15514:18): [True: 0, False: 0]
  |  Branch (15514:34): [True: 0, False: 0]
  |  Branch (15514:57): [True: 0, False: 0]
  ------------------
15515|      0|                p->error_indicator = 1;
15516|      0|                p->level--;
15517|      0|                return NULL;
15518|      0|            }
15519|      0|            goto done;
15520|      0|        }
15521|      0|        p->mark = _mark;
15522|      0|        D(fprintf(stderr, "%*c%s lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
15523|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_star_etc"));
15524|      0|    }
15525|      0|    _res = NULL;
15526|      2|  done:
15527|      2|    p->level--;
15528|      2|    return _res;
15529|      0|}
parser.c:_loop0_71_rule:
31743|      2|{
31744|      2|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      4|#  define MAXSTACK 6000
  ------------------
  |  Branch (31744:9): [True: 0, False: 2]
  |  Branch (31744:35): [True: 0, False: 2]
  ------------------
31745|      0|        _Pypegen_stack_overflow(p);
31746|      0|    }
31747|      2|    if (p->error_indicator) {
  ------------------
  |  Branch (31747:9): [True: 0, False: 2]
  ------------------
31748|      0|        p->level--;
31749|      0|        return NULL;
31750|      0|    }
31751|      2|    void *_res = NULL;
31752|      2|    int _mark = p->mark;
31753|      2|    void **_children = PyMem_Malloc(sizeof(void *));
31754|      2|    if (!_children) {
  ------------------
  |  Branch (31754:9): [True: 0, False: 2]
  ------------------
31755|      0|        p->error_indicator = 1;
31756|      0|        PyErr_NoMemory();
31757|      0|        p->level--;
31758|      0|        return NULL;
31759|      0|    }
31760|      2|    Py_ssize_t _children_capacity = 1;
31761|      2|    Py_ssize_t _n = 0;
31762|      2|    { // lambda_param_with_default
31763|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (31763:13): [True: 0, False: 2]
  ------------------
31764|      0|            p->level--;
31765|      0|            return NULL;
31766|      0|        }
31767|      2|        D(fprintf(stderr, "%*c> _loop0_71[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_with_default"));
31768|      2|        NameDefaultPair* lambda_param_with_default_var;
31769|      2|        while (
31770|      2|            (lambda_param_with_default_var = lambda_param_with_default_rule(p))  // lambda_param_with_default
  ------------------
  |  Branch (31770:13): [True: 0, False: 2]
  ------------------
31771|      2|        )
31772|      0|        {
31773|      0|            _res = lambda_param_with_default_var;
31774|      0|            if (_n == _children_capacity) {
  ------------------
  |  Branch (31774:17): [True: 0, False: 0]
  ------------------
31775|      0|                _children_capacity *= 2;
31776|      0|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
31777|      0|                if (!_new_children) {
  ------------------
  |  Branch (31777:21): [True: 0, False: 0]
  ------------------
31778|      0|                    PyMem_Free(_children);
31779|      0|                    p->error_indicator = 1;
31780|      0|                    PyErr_NoMemory();
31781|      0|                    p->level--;
31782|      0|                    return NULL;
31783|      0|                }
31784|      0|                _children = _new_children;
31785|      0|            }
31786|      0|            _children[_n++] = _res;
31787|      0|            _mark = p->mark;
31788|      0|        }
31789|      2|        p->mark = _mark;
31790|      2|        D(fprintf(stderr, "%*c%s _loop0_71[%d-%d]: %s failed!\n", p->level, ' ',
31791|      2|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_with_default"));
31792|      2|    }
31793|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
31794|      2|    if (!_seq) {
  ------------------
  |  Branch (31794:9): [True: 0, False: 2]
  ------------------
31795|      0|        PyMem_Free(_children);
31796|      0|        p->error_indicator = 1;
31797|      0|        PyErr_NoMemory();
31798|      0|        p->level--;
31799|      0|        return NULL;
31800|      0|    }
31801|      2|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|      0|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  302|      2|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (31801:28): [True: 0, False: 2]
  ------------------
31802|      2|    PyMem_Free(_children);
31803|      2|    p->level--;
31804|      2|    return _seq;
31805|      2|}
parser.c:lambda_star_etc_rule:
15704|      2|{
15705|      2|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      4|#  define MAXSTACK 6000
  ------------------
  |  Branch (15705:9): [True: 0, False: 2]
  |  Branch (15705:35): [True: 0, False: 2]
  ------------------
15706|      0|        _Pypegen_stack_overflow(p);
15707|      0|    }
15708|      2|    if (p->error_indicator) {
  ------------------
  |  Branch (15708:9): [True: 0, False: 2]
  ------------------
15709|      0|        p->level--;
15710|      0|        return NULL;
15711|      0|    }
15712|      2|    StarEtc* _res = NULL;
15713|      2|    int _mark = p->mark;
15714|      2|    if (p->call_invalid_rules) { // invalid_lambda_star_etc
  ------------------
  |  Branch (15714:9): [True: 0, False: 2]
  ------------------
15715|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (15715:13): [True: 0, False: 0]
  ------------------
15716|      0|            p->level--;
15717|      0|            return NULL;
15718|      0|        }
15719|      0|        D(fprintf(stderr, "%*c> lambda_star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_lambda_star_etc"));
15720|      0|        void *invalid_lambda_star_etc_var;
15721|      0|        if (
15722|      0|            (invalid_lambda_star_etc_var = invalid_lambda_star_etc_rule(p))  // invalid_lambda_star_etc
  ------------------
  |  Branch (15722:13): [True: 0, False: 0]
  ------------------
15723|      0|        )
15724|      0|        {
15725|      0|            D(fprintf(stderr, "%*c+ lambda_star_etc[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_lambda_star_etc"));
15726|      0|            _res = invalid_lambda_star_etc_var;
15727|      0|            goto done;
15728|      0|        }
15729|      0|        p->mark = _mark;
15730|      0|        D(fprintf(stderr, "%*c%s lambda_star_etc[%d-%d]: %s failed!\n", p->level, ' ',
15731|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_lambda_star_etc"));
15732|      0|    }
15733|      2|    { // '*' lambda_param_no_default lambda_param_maybe_default* lambda_kwds?
15734|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (15734:13): [True: 0, False: 2]
  ------------------
15735|      0|            p->level--;
15736|      0|            return NULL;
15737|      0|        }
15738|      2|        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?"));
15739|      2|        Token * _literal;
15740|      2|        arg_ty a;
15741|      2|        asdl_seq * b;
15742|      2|        void *c;
15743|      2|        if (
15744|      2|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (15744:13): [True: 0, False: 2]
  ------------------
15745|      0|            &&
15746|      0|            (a = lambda_param_no_default_rule(p))  // lambda_param_no_default
  ------------------
  |  Branch (15746:13): [True: 0, False: 0]
  ------------------
15747|      0|            &&
15748|      0|            (b = _loop0_74_rule(p))  // lambda_param_maybe_default*
  ------------------
  |  Branch (15748:13): [True: 0, False: 0]
  ------------------
15749|      0|            &&
15750|      0|            (c = lambda_kwds_rule(p), !p->error_indicator)  // lambda_kwds?
  ------------------
  |  Branch (15750:13): [True: 0, False: 0]
  ------------------
15751|      2|        )
15752|      0|        {
15753|      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?"));
15754|      0|            _res = _PyPegen_star_etc ( p , a , b , c );
15755|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15755:18): [True: 0, False: 0]
  |  Branch (15755:34): [True: 0, False: 0]
  |  Branch (15755:57): [True: 0, False: 0]
  ------------------
15756|      0|                p->error_indicator = 1;
15757|      0|                p->level--;
15758|      0|                return NULL;
15759|      0|            }
15760|      0|            goto done;
15761|      0|        }
15762|      2|        p->mark = _mark;
15763|      2|        D(fprintf(stderr, "%*c%s lambda_star_etc[%d-%d]: %s failed!\n", p->level, ' ',
15764|      2|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' lambda_param_no_default lambda_param_maybe_default* lambda_kwds?"));
15765|      2|    }
15766|      0|    { // '*' ',' lambda_param_maybe_default+ lambda_kwds?
15767|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (15767:13): [True: 0, False: 2]
  ------------------
15768|      0|            p->level--;
15769|      0|            return NULL;
15770|      0|        }
15771|      2|        D(fprintf(stderr, "%*c> lambda_star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' ',' lambda_param_maybe_default+ lambda_kwds?"));
15772|      2|        Token * _literal;
15773|      2|        Token * _literal_1;
15774|      2|        asdl_seq * b;
15775|      2|        void *c;
15776|      2|        if (
15777|      2|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (15777:13): [True: 0, False: 2]
  ------------------
15778|      0|            &&
15779|      0|            (_literal_1 = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (15779:13): [True: 0, False: 0]
  ------------------
15780|      0|            &&
15781|      0|            (b = _loop1_75_rule(p))  // lambda_param_maybe_default+
  ------------------
  |  Branch (15781:13): [True: 0, False: 0]
  ------------------
15782|      0|            &&
15783|      0|            (c = lambda_kwds_rule(p), !p->error_indicator)  // lambda_kwds?
  ------------------
  |  Branch (15783:13): [True: 0, False: 0]
  ------------------
15784|      2|        )
15785|      0|        {
15786|      0|            D(fprintf(stderr, "%*c+ lambda_star_etc[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' ',' lambda_param_maybe_default+ lambda_kwds?"));
15787|      0|            _res = _PyPegen_star_etc ( p , NULL , b , c );
15788|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15788:18): [True: 0, False: 0]
  |  Branch (15788:34): [True: 0, False: 0]
  |  Branch (15788:57): [True: 0, False: 0]
  ------------------
15789|      0|                p->error_indicator = 1;
15790|      0|                p->level--;
15791|      0|                return NULL;
15792|      0|            }
15793|      0|            goto done;
15794|      0|        }
15795|      2|        p->mark = _mark;
15796|      2|        D(fprintf(stderr, "%*c%s lambda_star_etc[%d-%d]: %s failed!\n", p->level, ' ',
15797|      2|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' ',' lambda_param_maybe_default+ lambda_kwds?"));
15798|      2|    }
15799|      0|    { // lambda_kwds
15800|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (15800:13): [True: 0, False: 2]
  ------------------
15801|      0|            p->level--;
15802|      0|            return NULL;
15803|      0|        }
15804|      2|        D(fprintf(stderr, "%*c> lambda_star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_kwds"));
15805|      2|        arg_ty a;
15806|      2|        if (
15807|      2|            (a = lambda_kwds_rule(p))  // lambda_kwds
  ------------------
  |  Branch (15807:13): [True: 0, False: 2]
  ------------------
15808|      2|        )
15809|      0|        {
15810|      0|            D(fprintf(stderr, "%*c+ lambda_star_etc[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_kwds"));
15811|      0|            _res = _PyPegen_star_etc ( p , NULL , NULL , a );
15812|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15812:18): [True: 0, False: 0]
  |  Branch (15812:34): [True: 0, False: 0]
  |  Branch (15812:57): [True: 0, False: 0]
  ------------------
15813|      0|                p->error_indicator = 1;
15814|      0|                p->level--;
15815|      0|                return NULL;
15816|      0|            }
15817|      0|            goto done;
15818|      0|        }
15819|      2|        p->mark = _mark;
15820|      2|        D(fprintf(stderr, "%*c%s lambda_star_etc[%d-%d]: %s failed!\n", p->level, ' ',
15821|      2|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_kwds"));
15822|      2|    }
15823|      2|    _res = NULL;
15824|      2|  done:
15825|      2|    p->level--;
15826|      2|    return _res;
15827|      2|}
parser.c:lambda_kwds_rule:
15832|      2|{
15833|      2|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      4|#  define MAXSTACK 6000
  ------------------
  |  Branch (15833:9): [True: 0, False: 2]
  |  Branch (15833:35): [True: 0, False: 2]
  ------------------
15834|      0|        _Pypegen_stack_overflow(p);
15835|      0|    }
15836|      2|    if (p->error_indicator) {
  ------------------
  |  Branch (15836:9): [True: 0, False: 2]
  ------------------
15837|      0|        p->level--;
15838|      0|        return NULL;
15839|      0|    }
15840|      2|    arg_ty _res = NULL;
15841|      2|    int _mark = p->mark;
15842|      2|    if (p->call_invalid_rules) { // invalid_lambda_kwds
  ------------------
  |  Branch (15842:9): [True: 0, False: 2]
  ------------------
15843|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (15843:13): [True: 0, False: 0]
  ------------------
15844|      0|            p->level--;
15845|      0|            return NULL;
15846|      0|        }
15847|      0|        D(fprintf(stderr, "%*c> lambda_kwds[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_lambda_kwds"));
15848|      0|        void *invalid_lambda_kwds_var;
15849|      0|        if (
15850|      0|            (invalid_lambda_kwds_var = invalid_lambda_kwds_rule(p))  // invalid_lambda_kwds
  ------------------
  |  Branch (15850:13): [True: 0, False: 0]
  ------------------
15851|      0|        )
15852|      0|        {
15853|      0|            D(fprintf(stderr, "%*c+ lambda_kwds[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_lambda_kwds"));
15854|      0|            _res = invalid_lambda_kwds_var;
15855|      0|            goto done;
15856|      0|        }
15857|      0|        p->mark = _mark;
15858|      0|        D(fprintf(stderr, "%*c%s lambda_kwds[%d-%d]: %s failed!\n", p->level, ' ',
15859|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_lambda_kwds"));
15860|      0|    }
15861|      2|    { // '**' lambda_param_no_default
15862|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (15862:13): [True: 0, False: 2]
  ------------------
15863|      0|            p->level--;
15864|      0|            return NULL;
15865|      0|        }
15866|      2|        D(fprintf(stderr, "%*c> lambda_kwds[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' lambda_param_no_default"));
15867|      2|        Token * _literal;
15868|      2|        arg_ty a;
15869|      2|        if (
15870|      2|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (15870:13): [True: 0, False: 2]
  ------------------
15871|      0|            &&
15872|      0|            (a = lambda_param_no_default_rule(p))  // lambda_param_no_default
  ------------------
  |  Branch (15872:13): [True: 0, False: 0]
  ------------------
15873|      2|        )
15874|      0|        {
15875|      0|            D(fprintf(stderr, "%*c+ lambda_kwds[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' lambda_param_no_default"));
15876|      0|            _res = a;
15877|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15877:18): [True: 0, False: 0]
  |  Branch (15877:34): [True: 0, False: 0]
  |  Branch (15877:57): [True: 0, False: 0]
  ------------------
15878|      0|                p->error_indicator = 1;
15879|      0|                p->level--;
15880|      0|                return NULL;
15881|      0|            }
15882|      0|            goto done;
15883|      0|        }
15884|      2|        p->mark = _mark;
15885|      2|        D(fprintf(stderr, "%*c%s lambda_kwds[%d-%d]: %s failed!\n", p->level, ' ',
15886|      2|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' lambda_param_no_default"));
15887|      2|    }
15888|      2|    _res = NULL;
15889|      2|  done:
15890|      2|    p->level--;
15891|      2|    return _res;
15892|      2|}
parser.c:invalid_legacy_expression_rule:
20242|  1.21k|{
20243|  1.21k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  2.43k|#  define MAXSTACK 6000
  ------------------
  |  Branch (20243:9): [True: 0, False: 1.21k]
  |  Branch (20243:35): [True: 0, False: 1.21k]
  ------------------
20244|      0|        _Pypegen_stack_overflow(p);
20245|      0|    }
20246|  1.21k|    if (p->error_indicator) {
  ------------------
  |  Branch (20246:9): [True: 0, False: 1.21k]
  ------------------
20247|      0|        p->level--;
20248|      0|        return NULL;
20249|      0|    }
20250|  1.21k|    void * _res = NULL;
20251|  1.21k|    int _mark = p->mark;
20252|  1.21k|    { // NAME !'(' star_expressions
20253|  1.21k|        if (p->error_indicator) {
  ------------------
  |  Branch (20253:13): [True: 0, False: 1.21k]
  ------------------
20254|      0|            p->level--;
20255|      0|            return NULL;
20256|      0|        }
20257|  1.21k|        D(fprintf(stderr, "%*c> invalid_legacy_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME !'(' star_expressions"));
20258|  1.21k|        expr_ty a;
20259|  1.21k|        expr_ty b;
20260|  1.21k|        if (
20261|  1.21k|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (20261:13): [True: 243, False: 972]
  ------------------
20262|    243|            &&
20263|    243|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 7)  // token='('
  ------------------
  |  Branch (20263:13): [True: 61, False: 182]
  ------------------
20264|     61|            &&
20265|     61|            (b = star_expressions_rule(p))  // star_expressions
  ------------------
  |  Branch (20265:13): [True: 53, False: 8]
  ------------------
20266|  1.21k|        )
20267|     53|        {
20268|     53|            D(fprintf(stderr, "%*c+ invalid_legacy_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME !'(' star_expressions"));
20269|     53|            _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;
  ------------------
  |  |  237|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
  |  Branch (20269:20): [True: 0, False: 53]
  ------------------
20270|     53|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (20270:18): [True: 53, False: 0]
  |  Branch (20270:34): [True: 0, False: 0]
  |  Branch (20270:57): [True: 0, False: 53]
  ------------------
20271|      0|                p->error_indicator = 1;
20272|      0|                p->level--;
20273|      0|                return NULL;
20274|      0|            }
20275|     53|            goto done;
20276|     53|        }
20277|  1.16k|        p->mark = _mark;
20278|  1.16k|        D(fprintf(stderr, "%*c%s invalid_legacy_expression[%d-%d]: %s failed!\n", p->level, ' ',
20279|  1.16k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME !'(' star_expressions"));
20280|  1.16k|    }
20281|  1.16k|    _res = NULL;
20282|  1.21k|  done:
20283|  1.21k|    p->level--;
20284|  1.21k|    return _res;
20285|  1.16k|}
parser.c:lambdef_rule:
15239|  2.28k|{
15240|  2.28k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  4.56k|#  define MAXSTACK 6000
  ------------------
  |  Branch (15240:9): [True: 0, False: 2.28k]
  |  Branch (15240:35): [True: 0, False: 2.28k]
  ------------------
15241|      0|        _Pypegen_stack_overflow(p);
15242|      0|    }
15243|  2.28k|    if (p->error_indicator) {
  ------------------
  |  Branch (15243:9): [True: 0, False: 2.28k]
  ------------------
15244|      0|        p->level--;
15245|      0|        return NULL;
15246|      0|    }
15247|  2.28k|    expr_ty _res = NULL;
15248|  2.28k|    int _mark = p->mark;
15249|  2.28k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (15249:9): [True: 0, False: 2.28k]
  |  Branch (15249:31): [True: 0, False: 0]
  ------------------
15250|      0|        p->error_indicator = 1;
15251|      0|        p->level--;
15252|      0|        return NULL;
15253|      0|    }
15254|  2.28k|    int _start_lineno = p->tokens[_mark]->lineno;
15255|  2.28k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|  2.28k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 2.28k]
  |  |  ------------------
  ------------------
15256|  2.28k|    int _start_col_offset = p->tokens[_mark]->col_offset;
15257|  2.28k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|  2.28k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 2.28k]
  |  |  ------------------
  ------------------
15258|  2.28k|    { // 'lambda' lambda_params? ':' expression
15259|  2.28k|        if (p->error_indicator) {
  ------------------
  |  Branch (15259:13): [True: 0, False: 2.28k]
  ------------------
15260|      0|            p->level--;
15261|      0|            return NULL;
15262|      0|        }
15263|  2.28k|        D(fprintf(stderr, "%*c> lambdef[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'lambda' lambda_params? ':' expression"));
15264|  2.28k|        Token * _keyword;
15265|  2.28k|        Token * _literal;
15266|  2.28k|        void *a;
15267|  2.28k|        expr_ty b;
15268|  2.28k|        if (
15269|  2.28k|            (_keyword = _PyPegen_expect_token(p, 622))  // token='lambda'
  ------------------
  |  Branch (15269:13): [True: 3, False: 2.27k]
  ------------------
15270|      3|            &&
15271|      3|            (a = lambda_params_rule(p), !p->error_indicator)  // lambda_params?
  ------------------
  |  Branch (15271:13): [True: 2, False: 1]
  ------------------
15272|      2|            &&
15273|      2|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (15273:13): [True: 2, False: 0]
  ------------------
15274|      2|            &&
15275|      2|            (b = expression_rule(p))  // expression
  ------------------
  |  Branch (15275:13): [True: 2, False: 0]
  ------------------
15276|  2.28k|        )
15277|      2|        {
15278|      2|            D(fprintf(stderr, "%*c+ lambdef[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'lambda' lambda_params? ':' expression"));
15279|      2|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
15280|      2|            if (_token == NULL) {
  ------------------
  |  Branch (15280:17): [True: 0, False: 2]
  ------------------
15281|      0|                p->level--;
15282|      0|                return NULL;
15283|      0|            }
15284|      2|            int _end_lineno = _token->end_lineno;
15285|      2|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|      2|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 2]
  |  |  ------------------
  ------------------
15286|      2|            int _end_col_offset = _token->end_col_offset;
15287|      2|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|      2|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 2]
  |  |  ------------------
  ------------------
15288|      2|            _res = _PyAST_Lambda ( ( a ) ? a : CHECK ( arguments_ty , _PyPegen_empty_arguments ( p ) ) , b , EXTRA );
  ------------------
  |  |  271|      2|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_Lambda ( ( a ) ? a : CHECK ( arguments_ty , _PyPegen_empty_arguments ( p ) ) , b , EXTRA );
  ------------------
  |  |  307|      2|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
  |  Branch (15288:36): [True: 2, False: 0]
  ------------------
15289|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15289:18): [True: 0, False: 2]
  |  Branch (15289:34): [True: 0, False: 2]
  |  Branch (15289:57): [True: 0, False: 0]
  ------------------
15290|      0|                p->error_indicator = 1;
15291|      0|                p->level--;
15292|      0|                return NULL;
15293|      0|            }
15294|      2|            goto done;
15295|      2|        }
15296|  2.28k|        p->mark = _mark;
15297|  2.28k|        D(fprintf(stderr, "%*c%s lambdef[%d-%d]: %s failed!\n", p->level, ' ',
15298|  2.28k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'lambda' lambda_params? ':' expression"));
15299|  2.28k|    }
15300|  2.28k|    _res = NULL;
15301|  2.28k|  done:
15302|  2.28k|    p->level--;
15303|  2.28k|    return _res;
15304|  2.28k|}
parser.c:expressions_rule:
11420|     51|{
11421|     51|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    102|#  define MAXSTACK 6000
  ------------------
  |  Branch (11421:9): [True: 0, False: 51]
  |  Branch (11421:35): [True: 0, False: 51]
  ------------------
11422|      0|        _Pypegen_stack_overflow(p);
11423|      0|    }
11424|     51|    if (p->error_indicator) {
  ------------------
  |  Branch (11424:9): [True: 0, False: 51]
  ------------------
11425|      0|        p->level--;
11426|      0|        return NULL;
11427|      0|    }
11428|     51|    expr_ty _res = NULL;
11429|     51|    int _mark = p->mark;
11430|     51|    expr_ty _prefix_0_result = NULL;
11431|     51|    int _prefix_0_end = 0, _prefix_0_valid = 0;
11432|     51|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (11432:9): [True: 39, False: 12]
  |  Branch (11432:31): [True: 2, False: 37]
  ------------------
11433|      2|        p->error_indicator = 1;
11434|      2|        p->level--;
11435|      2|        return NULL;
11436|      2|    }
11437|     49|    int _start_lineno = p->tokens[_mark]->lineno;
11438|     49|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|     49|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 49]
  |  |  ------------------
  ------------------
11439|     49|    int _start_col_offset = p->tokens[_mark]->col_offset;
11440|     49|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|     49|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 49]
  |  |  ------------------
  ------------------
11441|     49|    { // expression ((',' expression))+ ','?
11442|     49|        if (p->error_indicator) {
  ------------------
  |  Branch (11442:13): [True: 0, False: 49]
  ------------------
11443|      0|            p->level--;
11444|      0|            return NULL;
11445|      0|        }
11446|     49|        D(fprintf(stderr, "%*c> expressions[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression ((',' expression))+ ','?"));
11447|     49|        void *_opt_var;
11448|     49|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  305|     49|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 49]
  |  |  ------------------
  ------------------
11449|     49|        expr_ty a;
11450|     49|        asdl_seq * b;
11451|     49|        if (
11452|     49|            (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
  ------------------
  |  Branch (11452:13): [True: 34, False: 15]
  |  Branch (11452:20): [True: 37, False: 12]
  |  Branch (11452:46): [True: 0, False: 37]
  ------------------
11453|     34|            &&
11454|     34|            (b = _loop1_55_rule(p))  // ((',' expression))+
  ------------------
  |  Branch (11454:13): [True: 1, False: 33]
  ------------------
11455|      1|            &&
11456|      1|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (11456:13): [True: 1, False: 0]
  ------------------
11457|     49|        )
11458|      1|        {
11459|      1|            D(fprintf(stderr, "%*c+ expressions[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression ((',' expression))+ ','?"));
11460|      1|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
11461|      1|            if (_token == NULL) {
  ------------------
  |  Branch (11461:17): [True: 0, False: 1]
  ------------------
11462|      0|                p->level--;
11463|      0|                return NULL;
11464|      0|            }
11465|      1|            int _end_lineno = _token->end_lineno;
11466|      1|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|      1|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 1]
  |  |  ------------------
  ------------------
11467|      1|            int _end_col_offset = _token->end_col_offset;
11468|      1|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|      1|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 1]
  |  |  ------------------
  ------------------
11469|      1|            _res = _PyAST_Tuple ( CHECK ( asdl_expr_seq* , _PyPegen_seq_insert_in_front ( p , a , b ) ) , Load , EXTRA );
  ------------------
  |  |  271|      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 );
  ------------------
  |  |  307|      1|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
11470|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11470:18): [True: 0, False: 1]
  |  Branch (11470:34): [True: 0, False: 1]
  |  Branch (11470:57): [True: 0, False: 0]
  ------------------
11471|      0|                p->error_indicator = 1;
11472|      0|                p->level--;
11473|      0|                return NULL;
11474|      0|            }
11475|      1|            goto done;
11476|      1|        }
11477|     48|        p->mark = _mark;
11478|     48|        D(fprintf(stderr, "%*c%s expressions[%d-%d]: %s failed!\n", p->level, ' ',
11479|     48|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression ((',' expression))+ ','?"));
11480|     48|    }
11481|      0|    { // expression ','
11482|     48|        if (p->error_indicator) {
  ------------------
  |  Branch (11482:13): [True: 15, False: 33]
  ------------------
11483|     15|            p->level--;
11484|     15|            return NULL;
11485|     15|        }
11486|     33|        D(fprintf(stderr, "%*c> expressions[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression ','"));
11487|     33|        Token * _literal;
11488|     33|        expr_ty a;
11489|     33|        if (
11490|     33|            (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
  ------------------
  |  Branch (11490:13): [True: 33, False: 0]
  |  Branch (11490:20): [True: 29, False: 4]
  |  Branch (11490:46): [True: 29, False: 0]
  ------------------
11491|     33|            &&
11492|     33|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (11492:13): [True: 0, False: 33]
  ------------------
11493|     33|        )
11494|      0|        {
11495|      0|            D(fprintf(stderr, "%*c+ expressions[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression ','"));
11496|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
11497|      0|            if (_token == NULL) {
  ------------------
  |  Branch (11497:17): [True: 0, False: 0]
  ------------------
11498|      0|                p->level--;
11499|      0|                return NULL;
11500|      0|            }
11501|      0|            int _end_lineno = _token->end_lineno;
11502|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
11503|      0|            int _end_col_offset = _token->end_col_offset;
11504|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  305|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (305:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
11505|      0|            _res = _PyAST_Tuple ( CHECK ( asdl_expr_seq* , _PyPegen_singleton_seq ( p , a ) ) , Load , EXTRA );
  ------------------
  |  |  271|      0|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_Tuple ( CHECK ( asdl_expr_seq* , _PyPegen_singleton_seq ( p , a ) ) , Load , EXTRA );
  ------------------
  |  |  307|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
11506|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11506:18): [True: 0, False: 0]
  |  Branch (11506:34): [True: 0, False: 0]
  |  Branch (11506:57): [True: 0, False: 0]
  ------------------
11507|      0|                p->error_indicator = 1;
11508|      0|                p->level--;
11509|      0|                return NULL;
11510|      0|            }
11511|      0|            goto done;
11512|      0|        }
11513|     33|        p->mark = _mark;
11514|     33|        D(fprintf(stderr, "%*c%s expressions[%d-%d]: %s failed!\n", p->level, ' ',
11515|     33|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression ','"));
11516|     33|    }
11517|      0|    { // expression
11518|     33|        if (p->error_indicator) {
  ------------------
  |  Branch (11518:13): [True: 0, False: 33]
  ------------------
11519|      0|            p->level--;
11520|      0|            return NULL;
11521|      0|        }
11522|     33|        D(fprintf(stderr, "%*c> expressions[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression"));
11523|     33|        expr_ty expression_var;
11524|     33|        if (
11525|     33|            (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
  ------------------
  |  Branch (11525:13): [True: 33, False: 0]
  |  Branch (11525:33): [True: 29, False: 4]
  |  Branch (11525:59): [True: 29, False: 0]
  ------------------
11526|     33|        )
11527|     33|        {
11528|     33|            D(fprintf(stderr, "%*c+ expressions[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression"));
11529|     33|            _res = expression_var;
11530|     33|            goto done;
11531|     33|        }
11532|      0|        p->mark = _mark;
11533|      0|        D(fprintf(stderr, "%*c%s expressions[%d-%d]: %s failed!\n", p->level, ' ',
11534|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression"));
11535|      0|    }
11536|      0|    _res = NULL;
11537|     34|  done:
11538|     34|    p->level--;
11539|     34|    return _res;
11540|      0|}
parser.c:_loop1_55_rule:
30708|     34|{
30709|     34|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     68|#  define MAXSTACK 6000
  ------------------
  |  Branch (30709:9): [True: 0, False: 34]
  |  Branch (30709:35): [True: 0, False: 34]
  ------------------
30710|      0|        _Pypegen_stack_overflow(p);
30711|      0|    }
30712|     34|    if (p->error_indicator) {
  ------------------
  |  Branch (30712:9): [True: 0, False: 34]
  ------------------
30713|      0|        p->level--;
30714|      0|        return NULL;
30715|      0|    }
30716|     34|    void *_res = NULL;
30717|     34|    int _mark = p->mark;
30718|     34|    void **_children = PyMem_Malloc(sizeof(void *));
30719|     34|    if (!_children) {
  ------------------
  |  Branch (30719:9): [True: 0, False: 34]
  ------------------
30720|      0|        p->error_indicator = 1;
30721|      0|        PyErr_NoMemory();
30722|      0|        p->level--;
30723|      0|        return NULL;
30724|      0|    }
30725|     34|    Py_ssize_t _children_capacity = 1;
30726|     34|    Py_ssize_t _n = 0;
30727|     34|    { // (',' expression)
30728|     34|        if (p->error_indicator) {
  ------------------
  |  Branch (30728:13): [True: 0, False: 34]
  ------------------
30729|      0|            p->level--;
30730|      0|            return NULL;
30731|      0|        }
30732|     34|        D(fprintf(stderr, "%*c> _loop1_55[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(',' expression)"));
30733|     34|        void *_tmp_16_var;
30734|     34|        while (
30735|     35|            (_tmp_16_var = _tmp_16_rule(p))  // ',' expression
  ------------------
  |  Branch (30735:13): [True: 1, False: 34]
  ------------------
30736|     34|        )
30737|      1|        {
30738|      1|            _res = _tmp_16_var;
30739|      1|            if (_n == _children_capacity) {
  ------------------
  |  Branch (30739:17): [True: 0, False: 1]
  ------------------
30740|      0|                _children_capacity *= 2;
30741|      0|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
30742|      0|                if (!_new_children) {
  ------------------
  |  Branch (30742:21): [True: 0, False: 0]
  ------------------
30743|      0|                    PyMem_Free(_children);
30744|      0|                    p->error_indicator = 1;
30745|      0|                    PyErr_NoMemory();
30746|      0|                    p->level--;
30747|      0|                    return NULL;
30748|      0|                }
30749|      0|                _children = _new_children;
30750|      0|            }
30751|      1|            _children[_n++] = _res;
30752|      1|            _mark = p->mark;
30753|      1|        }
30754|     34|        p->mark = _mark;
30755|     34|        D(fprintf(stderr, "%*c%s _loop1_55[%d-%d]: %s failed!\n", p->level, ' ',
30756|     34|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(',' expression)"));
30757|     34|    }
30758|     34|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (30758:9): [True: 33, False: 1]
  |  Branch (30758:20): [True: 0, False: 1]
  ------------------
30759|     33|        PyMem_Free(_children);
30760|     33|        p->level--;
30761|     33|        return NULL;
30762|     33|    }
30763|      1|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
30764|      1|    if (!_seq) {
  ------------------
  |  Branch (30764:9): [True: 0, False: 1]
  ------------------
30765|      0|        PyMem_Free(_children);
30766|      0|        p->error_indicator = 1;
30767|      0|        PyErr_NoMemory();
30768|      0|        p->level--;
30769|      0|        return NULL;
30770|      0|    }
30771|      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))
  |  |  ------------------
  |  |  |  |  302|      2|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (30771:28): [True: 1, False: 1]
  ------------------
30772|      1|    PyMem_Free(_children);
30773|      1|    p->level--;
30774|      1|    return _seq;
30775|      1|}
parser.c:eval_rule:
 1070|     60|{
 1071|     60|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    120|#  define MAXSTACK 6000
  ------------------
  |  Branch (1071:9): [True: 0, False: 60]
  |  Branch (1071:35): [True: 0, False: 60]
  ------------------
 1072|      0|        _Pypegen_stack_overflow(p);
 1073|      0|    }
 1074|     60|    if (p->error_indicator) {
  ------------------
  |  Branch (1074:9): [True: 9, False: 51]
  ------------------
 1075|      9|        p->level--;
 1076|      9|        return NULL;
 1077|      9|    }
 1078|     51|    mod_ty _res = NULL;
 1079|     51|    int _mark = p->mark;
 1080|     51|    { // expressions NEWLINE* $
 1081|     51|        if (p->error_indicator) {
  ------------------
  |  Branch (1081:13): [True: 0, False: 51]
  ------------------
 1082|      0|            p->level--;
 1083|      0|            return NULL;
 1084|      0|        }
 1085|     51|        D(fprintf(stderr, "%*c> eval[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expressions NEWLINE* $"));
 1086|     51|        asdl_seq * _loop0_1_var;
 1087|     51|        expr_ty a;
 1088|     51|        Token * endmarker_var;
 1089|     51|        if (
 1090|     51|            (a = expressions_rule(p))  // expressions
  ------------------
  |  Branch (1090:13): [True: 34, False: 17]
  ------------------
 1091|     34|            &&
 1092|     34|            (_loop0_1_var = _loop0_1_rule(p))  // NEWLINE*
  ------------------
  |  Branch (1092:13): [True: 34, False: 0]
  ------------------
 1093|     34|            &&
 1094|     34|            (endmarker_var = _PyPegen_expect_token(p, ENDMARKER))  // token='ENDMARKER'
  ------------------
  |  |   16|     34|#define ENDMARKER       0
  ------------------
  |  Branch (1094:13): [True: 18, False: 16]
  ------------------
 1095|     51|        )
 1096|     18|        {
 1097|     18|            D(fprintf(stderr, "%*c+ eval[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expressions NEWLINE* $"));
 1098|     18|            _res = _PyAST_Expression ( a , p -> arena );
 1099|     18|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1099:18): [True: 0, False: 18]
  |  Branch (1099:34): [True: 0, False: 18]
  |  Branch (1099:57): [True: 0, False: 0]
  ------------------
 1100|      0|                p->error_indicator = 1;
 1101|      0|                p->level--;
 1102|      0|                return NULL;
 1103|      0|            }
 1104|     18|            goto done;
 1105|     18|        }
 1106|     33|        p->mark = _mark;
 1107|     33|        D(fprintf(stderr, "%*c%s eval[%d-%d]: %s failed!\n", p->level, ' ',
 1108|     33|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expressions NEWLINE* $"));
 1109|     33|    }
 1110|     33|    _res = NULL;
 1111|     51|  done:
 1112|     51|    p->level--;
 1113|     51|    return _res;
 1114|     33|}
parser.c:_loop0_1_rule:
27343|     34|{
27344|     34|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     68|#  define MAXSTACK 6000
  ------------------
  |  Branch (27344:9): [True: 0, False: 34]
  |  Branch (27344:35): [True: 0, False: 34]
  ------------------
27345|      0|        _Pypegen_stack_overflow(p);
27346|      0|    }
27347|     34|    if (p->error_indicator) {
  ------------------
  |  Branch (27347:9): [True: 0, False: 34]
  ------------------
27348|      0|        p->level--;
27349|      0|        return NULL;
27350|      0|    }
27351|     34|    void *_res = NULL;
27352|     34|    int _mark = p->mark;
27353|     34|    void **_children = PyMem_Malloc(sizeof(void *));
27354|     34|    if (!_children) {
  ------------------
  |  Branch (27354:9): [True: 0, False: 34]
  ------------------
27355|      0|        p->error_indicator = 1;
27356|      0|        PyErr_NoMemory();
27357|      0|        p->level--;
27358|      0|        return NULL;
27359|      0|    }
27360|     34|    Py_ssize_t _children_capacity = 1;
27361|     34|    Py_ssize_t _n = 0;
27362|     34|    { // NEWLINE
27363|     34|        if (p->error_indicator) {
  ------------------
  |  Branch (27363:13): [True: 0, False: 34]
  ------------------
27364|      0|            p->level--;
27365|      0|            return NULL;
27366|      0|        }
27367|     34|        D(fprintf(stderr, "%*c> _loop0_1[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NEWLINE"));
27368|     34|        Token * newline_var;
27369|     34|        while (
27370|     34|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|     34|#define NEWLINE         4
  ------------------
  |  Branch (27370:13): [True: 0, False: 34]
  ------------------
27371|     34|        )
27372|      0|        {
27373|      0|            _res = newline_var;
27374|      0|            if (_n == _children_capacity) {
  ------------------
  |  Branch (27374:17): [True: 0, False: 0]
  ------------------
27375|      0|                _children_capacity *= 2;
27376|      0|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
27377|      0|                if (!_new_children) {
  ------------------
  |  Branch (27377:21): [True: 0, False: 0]
  ------------------
27378|      0|                    PyMem_Free(_children);
27379|      0|                    p->error_indicator = 1;
27380|      0|                    PyErr_NoMemory();
27381|      0|                    p->level--;
27382|      0|                    return NULL;
27383|      0|                }
27384|      0|                _children = _new_children;
27385|      0|            }
27386|      0|            _children[_n++] = _res;
27387|      0|            _mark = p->mark;
27388|      0|        }
27389|     34|        p->mark = _mark;
27390|     34|        D(fprintf(stderr, "%*c%s _loop0_1[%d-%d]: %s failed!\n", p->level, ' ',
27391|     34|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NEWLINE"));
27392|     34|    }
27393|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
27394|     34|    if (!_seq) {
  ------------------
  |  Branch (27394:9): [True: 0, False: 34]
  ------------------
27395|      0|        PyMem_Free(_children);
27396|      0|        p->error_indicator = 1;
27397|      0|        PyErr_NoMemory();
27398|      0|        p->level--;
27399|      0|        return NULL;
27400|      0|    }
27401|     34|    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))
  |  |  ------------------
  |  |  |  |  302|     34|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (27401:28): [True: 0, False: 34]
  ------------------
27402|     34|    PyMem_Free(_children);
27403|     34|    p->level--;
27404|     34|    return _seq;
27405|     34|}

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

_PyPegen_byte_offset_to_character_offset_raw:
   62|     29|{
   63|     29|    Py_ssize_t len = (Py_ssize_t)strlen(str);
   64|     29|    if (col_offset > len + 1) {
  ------------------
  |  Branch (64:9): [True: 0, False: 29]
  ------------------
   65|      0|        col_offset = len + 1;
   66|      0|    }
   67|     29|    assert(col_offset >= 0);
  ------------------
  |  Branch (67:5): [True: 29, False: 0]
  ------------------
   68|     29|    PyObject *text = PyUnicode_DecodeUTF8(str, col_offset, "replace");
   69|     29|    if (!text) {
  ------------------
  |  Branch (69:9): [True: 0, False: 29]
  ------------------
   70|      0|        return -1;
   71|      0|    }
   72|     29|    Py_ssize_t size = PyUnicode_GET_LENGTH(text);
  ------------------
  |  |  299|     29|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     29|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   73|     29|    Py_DECREF(text);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   74|     29|    return size;
   75|     29|}
_PyPegen_byte_offset_to_character_offset:
   79|     29|{
   80|     29|    const char *str = PyUnicode_AsUTF8(line);
   81|     29|    if (!str) {
  ------------------
  |  Branch (81:9): [True: 0, False: 29]
  ------------------
   82|      0|        return -1;
   83|      0|    }
   84|     29|    return _PyPegen_byte_offset_to_character_offset_raw(str, col_offset);
   85|     29|}
_PyPegen_insert_memo:
   91|  56.0k|{
   92|       |    // Insert in front
   93|  56.0k|    Memo *m = _PyArena_Malloc(p->arena, sizeof(Memo));
   94|  56.0k|    if (m == NULL) {
  ------------------
  |  Branch (94:9): [True: 0, False: 56.0k]
  ------------------
   95|      0|        return -1;
   96|      0|    }
   97|  56.0k|    m->type = type;
   98|  56.0k|    m->node = node;
   99|  56.0k|    m->mark = p->mark;
  100|  56.0k|    m->next = p->tokens[mark]->memo;
  101|  56.0k|    p->tokens[mark]->memo = m;
  102|  56.0k|    p->tokens[mark]->memo_mask |= 1ULL << (type & 63);
  103|  56.0k|    return 0;
  104|  56.0k|}
_PyPegen_insert_memo_direct:
  110|  28.7k|{
  111|  28.7k|    if (_PyPegen_insert_memo(p, mark, type, NULL) < 0) {
  ------------------
  |  Branch (111:9): [True: 0, False: 28.7k]
  ------------------
  112|      0|        return NULL;
  113|      0|    }
  114|  28.7k|    return p->tokens[mark]->memo;
  115|  28.7k|}
_PyPegen_fill_token:
  306|  4.76k|{
  307|  4.76k|    struct token new_token;
  308|  4.76k|    _PyToken_Init(&new_token);
  309|  4.76k|    _PyTokenizer_Get(p->tok, &new_token);
  310|       |
  311|       |    // Record and skip '# type: ignore' comments
  312|  4.76k|    while (new_token.type == TYPE_IGNORE) {
  ------------------
  |  |   72|  4.76k|#define TYPE_IGNORE     56
  ------------------
  |  Branch (312:12): [True: 0, False: 4.76k]
  ------------------
  313|      0|        Py_ssize_t len;
  314|      0|        const char *text = _PyToken_TextView(p->tok, &new_token, &len);
  315|      0|        char *tag = PyMem_Malloc((size_t)len + 1);
  316|      0|        if (tag == NULL) {
  ------------------
  |  Branch (316:13): [True: 0, False: 0]
  ------------------
  317|      0|            PyErr_NoMemory();
  318|      0|            goto error;
  319|      0|        }
  320|      0|        memcpy(tag, text, (size_t)len);
  321|      0|        tag[len] = '\0';
  322|       |        // Ownership of tag passes to the growable array
  323|      0|        if (!growable_comment_array_add(&p->type_ignore_comments, new_token.end_loc.lineno, tag)) {
  ------------------
  |  Branch (323:13): [True: 0, False: 0]
  ------------------
  324|      0|            PyErr_NoMemory();
  325|      0|            goto error;
  326|      0|        }
  327|      0|        _PyTokenizer_Get(p->tok, &new_token);
  328|      0|    }
  329|       |
  330|  4.76k|    int type = new_token.type;
  331|       |
  332|       |    // If we have reached the end and we are in single input mode we need to insert a newline and reset the parsing
  333|  4.76k|    if (p->start_rule == Py_single_input && type == ENDMARKER && p->parsing_started) {
  ------------------
  |  |    8|  9.52k|#define Py_single_input 256
  ------------------
                  if (p->start_rule == Py_single_input && type == ENDMARKER && p->parsing_started) {
  ------------------
  |  |   16|  4.76k|#define ENDMARKER       0
  ------------------
  |  Branch (333:9): [True: 0, False: 4.76k]
  |  Branch (333:45): [True: 0, False: 0]
  |  Branch (333:66): [True: 0, False: 0]
  ------------------
  334|      0|        type = NEWLINE; /* Add an extra newline */
  ------------------
  |  |   20|      0|#define NEWLINE         4
  ------------------
  335|      0|        p->parsing_started = 0;
  336|       |
  337|      0|        if (!(p->flags & PyPARSE_DONT_IMPLY_DEDENT)) {
  ------------------
  |  |   17|      0|#define PyPARSE_DONT_IMPLY_DEDENT       0x0002
  ------------------
  |  Branch (337:13): [True: 0, False: 0]
  ------------------
  338|      0|            _PyTokenizer_ImplyDedents(p->tok);
  339|      0|        }
  340|      0|    }
  341|  4.76k|    else {
  342|  4.76k|        p->parsing_started = 1;
  343|  4.76k|    }
  344|       |
  345|       |    // Check if we are at the limit of the token array capacity and resize if needed
  346|  4.76k|    if ((p->fill == p->size) && (_resize_tokens_array(p) != 0)) {
  ------------------
  |  Branch (346:9): [True: 141, False: 4.62k]
  |  Branch (346:33): [True: 0, False: 141]
  ------------------
  347|      0|        goto error;
  348|      0|    }
  349|       |
  350|  4.76k|    Token *t = p->tokens[p->fill];
  351|  4.76k|    int result = initialize_token(p, t, &new_token, type);
  352|  4.76k|    _PyToken_Free(&new_token);
  353|  4.76k|    return result;
  354|      0|error:
  355|      0|    _PyToken_Free(&new_token);
  356|      0|    return -1;
  357|  4.76k|}
_PyPegen_is_memoized:
  407|   167k|{
  408|   167k|    if (p->mark == p->fill) {
  ------------------
  |  Branch (408:9): [True: 847, False: 166k]
  ------------------
  409|    847|        if (_PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (409:13): [True: 1, False: 846]
  ------------------
  410|      1|            p->error_indicator = 1;
  411|      1|            return -1;
  412|      1|        }
  413|    847|    }
  414|       |
  415|   167k|    Token *t = p->tokens[p->mark];
  416|       |
  417|   167k|    if (!(t->memo_mask & (1ULL << (type & 63)))) {
  ------------------
  |  Branch (417:9): [True: 58.0k, False: 109k]
  ------------------
  418|  58.0k|        return 0;
  419|  58.0k|    }
  420|       |
  421|   287k|    for (Memo *m = t->memo; m != NULL; m = m->next) {
  ------------------
  |  Branch (421:29): [True: 287k, False: 0]
  ------------------
  422|   287k|        if (m->type == type) {
  ------------------
  |  Branch (422:13): [True: 109k, False: 178k]
  ------------------
  423|       |#if defined(Py_DEBUG)
  424|       |            if (0 <= type && type < NSTATISTICS) {
  425|       |                long count = m->mark - p->mark;
  426|       |                // A memoized negative result counts for one.
  427|       |                if (count <= 0) {
  428|       |                    count = 1;
  429|       |                }
  430|       |                PyMutex_Lock(&_PyRuntime.parser.mutex);
  431|       |                memo_statistics[type] += count;
  432|       |                PyMutex_Unlock(&_PyRuntime.parser.mutex);
  433|       |            }
  434|       |#endif
  435|   109k|            p->mark = m->mark;
  436|   109k|            *(void **)(pres) = m->node;
  437|   109k|            return 1;
  438|   109k|        }
  439|   287k|    }
  440|      0|    return 0;
  441|   109k|}
_PyPegen_expect_token:
  474|   217k|{
  475|   217k|    if (p->mark == p->fill) {
  ------------------
  |  Branch (475:9): [True: 1.92k, False: 215k]
  ------------------
  476|  1.92k|        if (_PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (476:13): [True: 3, False: 1.91k]
  ------------------
  477|      3|            p->error_indicator = 1;
  478|      3|            return NULL;
  479|      3|        }
  480|  1.92k|    }
  481|   217k|    Token *t = p->tokens[p->mark];
  482|   217k|    if (t->type != type) {
  ------------------
  |  Branch (482:9): [True: 189k, False: 27.7k]
  ------------------
  483|   189k|       return NULL;
  484|   189k|    }
  485|  27.7k|    p->mark += 1;
  486|  27.7k|    return t;
  487|   217k|}
_PyPegen_get_last_nonnwhitespace_token:
  550|  8.28k|{
  551|  8.28k|    assert(p->mark >= 0);
  ------------------
  |  Branch (551:5): [True: 8.28k, False: 0]
  ------------------
  552|  8.28k|    Token *token = NULL;
  553|  8.28k|    for (int m = p->mark - 1; m >= 0; m--) {
  ------------------
  |  Branch (553:31): [True: 8.28k, False: 0]
  ------------------
  554|  8.28k|        token = p->tokens[m];
  555|  8.28k|        if (token->type != ENDMARKER && (token->type < NEWLINE || token->type > DEDENT)) {
  ------------------
  |  |   16|  16.5k|#define ENDMARKER       0
  ------------------
                      if (token->type != ENDMARKER && (token->type < NEWLINE || token->type > DEDENT)) {
  ------------------
  |  |   20|  16.5k|#define NEWLINE         4
  ------------------
                      if (token->type != ENDMARKER && (token->type < NEWLINE || token->type > DEDENT)) {
  ------------------
  |  |   22|     14|#define DEDENT          6
  ------------------
  |  Branch (555:13): [True: 8.28k, False: 0]
  |  Branch (555:42): [True: 8.26k, False: 14]
  |  Branch (555:67): [True: 14, False: 0]
  ------------------
  556|  8.28k|            break;
  557|  8.28k|        }
  558|  8.28k|    }
  559|  8.28k|    return token;
  560|  8.28k|}
_PyPegen_new_identifier:
  564|    141|{
  565|    141|    PyObject *id = PyUnicode_DecodeUTF8(n, (Py_ssize_t)strlen(n), NULL);
  566|    141|    if (!id) {
  ------------------
  |  Branch (566:9): [True: 0, False: 141]
  ------------------
  567|      0|        goto error;
  568|      0|    }
  569|       |    /* Check whether there are non-ASCII characters in the
  570|       |       identifier; if so, normalize to NFKC. */
  571|    141|    if (!PyUnicode_IS_ASCII(id))
  ------------------
  |  |  227|    141|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    141|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    141|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (571:9): [True: 16, False: 125]
  ------------------
  572|     16|    {
  573|     16|        if (!init_normalization(p))
  ------------------
  |  Branch (573:13): [True: 0, False: 16]
  ------------------
  574|      0|        {
  575|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  576|      0|            goto error;
  577|      0|        }
  578|     16|        PyObject *form = PyUnicode_InternFromString("NFKC");
  579|     16|        if (form == NULL)
  ------------------
  |  Branch (579:13): [True: 0, False: 16]
  ------------------
  580|      0|        {
  581|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  582|      0|            goto error;
  583|      0|        }
  584|     16|        PyObject *args[2] = {form, id};
  585|     16|        PyObject *id2 = PyObject_Vectorcall(p->normalize, args, 2, NULL);
  586|     16|        Py_DECREF(id);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  587|     16|        Py_DECREF(form);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  588|     16|        if (!id2) {
  ------------------
  |  Branch (588:13): [True: 0, False: 16]
  ------------------
  589|      0|            goto error;
  590|      0|        }
  591|       |
  592|     16|        if (!PyUnicode_Check(id2))
  ------------------
  |  |  103|     16|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     16|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (592:13): [True: 0, False: 16]
  ------------------
  593|      0|        {
  594|      0|            PyErr_Format(PyExc_TypeError,
  595|      0|                         "unicodedata.normalize() must return a string, not "
  596|      0|                         "%.200s",
  597|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  598|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  599|      0|            goto error;
  600|      0|        }
  601|     16|        id = id2;
  602|     16|    }
  603|    141|    static const char * const forbidden[] = {
  604|    141|        "None",
  605|    141|        "True",
  606|    141|        "False",
  607|    141|        NULL
  608|    141|    };
  609|    564|    for (int i = 0; forbidden[i] != NULL; i++) {
  ------------------
  |  Branch (609:21): [True: 423, False: 141]
  ------------------
  610|    423|        if (_PyUnicode_EqualToASCIIString(id, forbidden[i])) {
  ------------------
  |  Branch (610:13): [True: 0, False: 423]
  ------------------
  611|      0|            PyErr_Format(PyExc_ValueError,
  612|      0|                         "identifier field can't represent '%s' constant",
  613|      0|                         forbidden[i]);
  614|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  615|      0|            goto error;
  616|      0|        }
  617|    423|    }
  618|    141|    PyInterpreterState *interp = _PyInterpreterState_GET();
  619|    141|    _PyUnicode_InternImmortal(interp, &id);
  620|    141|    if (_PyArena_AddPyObject(p->arena, id) < 0)
  ------------------
  |  Branch (620:9): [True: 0, False: 141]
  ------------------
  621|      0|    {
  622|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  623|      0|        goto error;
  624|      0|    }
  625|    141|    return id;
  626|       |
  627|      0|error:
  628|      0|    p->error_indicator = 1;
  629|       |    return NULL;
  630|    141|}
_PyPegen_name_token:
  721|  21.8k|{
  722|  21.8k|    Token *t = _PyPegen_expect_token(p, NAME);
  ------------------
  |  |   17|  21.8k|#define NAME            1
  ------------------
  723|  21.8k|    return _PyPegen_name_from_token(p, t);
  724|  21.8k|}
_PyPegen_string_token:
  728|  7.78k|{
  729|  7.78k|    return _PyPegen_expect_token(p, STRING);
  ------------------
  |  |   19|  7.78k|#define STRING          3
  ------------------
  730|  7.78k|}
_PyPegen_soft_keyword_token:
  732|  1.21k|expr_ty _PyPegen_soft_keyword_token(Parser *p) {
  733|  1.21k|    Token *t = _PyPegen_expect_token(p, NAME);
  ------------------
  |  |   17|  1.21k|#define NAME            1
  ------------------
  734|  1.21k|    if (t == NULL) {
  ------------------
  |  Branch (734:9): [True: 972, False: 243]
  ------------------
  735|    972|        return NULL;
  736|    972|    }
  737|    243|    char *the_token;
  738|    243|    Py_ssize_t size;
  739|    243|    PyBytes_AsStringAndSize(t->bytes, &the_token, &size);
  740|  1.45k|    for (char **keyword = p->soft_keywords; *keyword != NULL; keyword++) {
  ------------------
  |  Branch (740:45): [True: 1.21k, False: 243]
  ------------------
  741|  1.21k|        if (strlen(*keyword) == (size_t)size &&
  ------------------
  |  Branch (741:13): [True: 136, False: 1.07k]
  ------------------
  742|    136|            strncmp(*keyword, the_token, (size_t)size) == 0) {
  ------------------
  |  Branch (742:13): [True: 0, False: 136]
  ------------------
  743|      0|            return _PyPegen_name_from_token(p, t);
  744|      0|        }
  745|  1.21k|    }
  746|    243|    return NULL;
  747|    243|}
_PyPegen_number_token:
  824|  2.67k|{
  825|  2.67k|    int mark = p->mark;
  826|  2.67k|    Token *t = _PyPegen_expect_token(p, NUMBER);
  ------------------
  |  |   18|  2.67k|#define NUMBER          2
  ------------------
  827|  2.67k|    if (t == NULL) {
  ------------------
  |  Branch (827:9): [True: 2.25k, False: 415]
  ------------------
  828|  2.25k|        return NULL;
  829|  2.25k|    }
  830|       |
  831|       |    // Look up the node at the token's start, as for NAME tokens. A memo hit
  832|       |    // advances the mark; on a miss, restore the position after the token.
  833|    415|    p->mark = mark;
  834|    415|    expr_ty cached = NULL;
  835|    415|    if (_PyPegen_is_memoized(p, NUMBER, &cached)) {
  ------------------
  |  |   18|    415|#define NUMBER          2
  ------------------
  |  Branch (835:9): [True: 204, False: 211]
  ------------------
  836|    204|        return cached;
  837|    204|    }
  838|    211|    p->mark = mark + 1;
  839|       |
  840|    211|    const char *num_raw = PyBytes_AsString(t->bytes);
  841|    211|    if (num_raw == NULL) {
  ------------------
  |  Branch (841:9): [True: 0, False: 211]
  ------------------
  842|      0|        p->error_indicator = 1;
  843|      0|        return NULL;
  844|      0|    }
  845|       |
  846|    211|    if (p->feature_version < 6 && strchr(num_raw, '_') != NULL) {
  ------------------
  |  Branch (846:9): [True: 0, False: 211]
  |  Branch (846:35): [True: 0, False: 0]
  ------------------
  847|      0|        p->error_indicator = 1;
  848|      0|        return RAISE_SYNTAX_ERROR("Underscores in numeric literals are only supported "
  ------------------
  |  |  233|      0|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
  849|      0|                                  "in Python 3.6 and greater");
  850|      0|    }
  851|       |
  852|    211|    PyObject *c = parsenumber(num_raw);
  853|       |
  854|    211|    if (c == NULL) {
  ------------------
  |  Branch (854:9): [True: 0, False: 211]
  ------------------
  855|      0|        p->error_indicator = 1;
  856|      0|        PyThreadState *tstate = _PyThreadState_GET();
  857|       |        // The only way a ValueError should happen in _this_ code is via
  858|       |        // PyLong_FromString hitting a length limit.
  859|      0|        if (tstate->current_exception != NULL &&
  ------------------
  |  Branch (859:13): [True: 0, False: 0]
  ------------------
  860|      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 (860:13): [True: 0, False: 0]
  ------------------
  861|      0|        ) {
  862|      0|            PyObject *exc = PyErr_GetRaisedException();
  863|       |            /* Intentionally omitting columns to avoid a wall of 1000s of '^'s
  864|       |             * on the error message. Nobody is going to overlook their huge
  865|       |             * numeric literal once given the line. */
  866|      0|            RAISE_ERROR_KNOWN_LOCATION(
  867|      0|                p, PyExc_SyntaxError,
  868|      0|                t->lineno, -1 /* col_offset */,
  869|      0|                t->end_lineno, -1 /* end_col_offset */,
  870|      0|                "%S - Consider hexadecimal for huge integer literals "
  871|      0|                "to avoid decimal conversion limits.",
  872|      0|                exc);
  873|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  874|      0|        }
  875|      0|        return NULL;
  876|      0|    }
  877|       |
  878|    211|    if (_PyArena_AddPyObject(p->arena, c) < 0) {
  ------------------
  |  Branch (878:9): [True: 0, False: 211]
  ------------------
  879|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  880|      0|        p->error_indicator = 1;
  881|      0|        return NULL;
  882|      0|    }
  883|       |
  884|    211|    expr_ty result = _PyAST_Constant(c, NULL, t->lineno, t->col_offset,
  885|    211|                                    t->end_lineno, t->end_col_offset, p->arena);
  886|    211|    if (result != NULL && _PyPegen_insert_memo(p, mark, NUMBER, result) < 0) {
  ------------------
  |  |   18|    211|#define NUMBER          2
  ------------------
  |  Branch (886:9): [True: 211, False: 0]
  |  Branch (886:27): [True: 0, False: 211]
  ------------------
  887|      0|        p->error_indicator = 1;
  888|      0|        return NULL;
  889|      0|    }
  890|    211|    return result;
  891|    211|}
_PyPegen_Parser_New:
  925|     39|{
  926|     39|    Parser *p = PyMem_Malloc(sizeof(Parser));
  927|     39|    if (p == NULL) {
  ------------------
  |  Branch (927:9): [True: 0, False: 39]
  ------------------
  928|      0|        return (Parser *) PyErr_NoMemory();
  929|      0|    }
  930|     39|    assert(tok != NULL);
  ------------------
  |  Branch (930:5): [True: 39, False: 0]
  ------------------
  931|     39|    _PyTokenizer_SetOptions(tok, 0, (flags & PyPARSE_TYPE_COMMENTS) > 0);
  ------------------
  |  |   27|     39|#define PyPARSE_TYPE_COMMENTS 0x0040
  ------------------
  932|     39|    p->tok = tok;
  933|     39|    p->keywords = NULL;
  934|     39|    p->n_keyword_lists = -1;
  935|     39|    p->soft_keywords = NULL;
  936|     39|    p->tokens = PyMem_Malloc(sizeof(Token *));
  937|     39|    if (!p->tokens) {
  ------------------
  |  Branch (937:9): [True: 0, False: 39]
  ------------------
  938|      0|        PyMem_Free(p);
  939|      0|        return (Parser *) PyErr_NoMemory();
  940|      0|    }
  941|     39|    p->tokens[0] = PyMem_Calloc(1, sizeof(Token));
  942|     39|    if (!p->tokens[0]) {
  ------------------
  |  Branch (942:9): [True: 0, False: 39]
  ------------------
  943|      0|        PyMem_Free(p->tokens);
  944|      0|        PyMem_Free(p);
  945|      0|        return (Parser *) PyErr_NoMemory();
  946|      0|    }
  947|     39|    if (!growable_comment_array_init(&p->type_ignore_comments, 10)) {
  ------------------
  |  Branch (947:9): [True: 0, False: 39]
  ------------------
  948|      0|        PyMem_Free(p->tokens[0]);
  949|      0|        PyMem_Free(p->tokens);
  950|      0|        PyMem_Free(p);
  951|      0|        return (Parser *) PyErr_NoMemory();
  952|      0|    }
  953|       |
  954|     39|    p->mark = 0;
  955|     39|    p->fill = 0;
  956|     39|    p->size = 1;
  957|       |
  958|     39|    p->errcode = errcode;
  959|     39|    p->arena = arena;
  960|     39|    p->start_rule = start_rule;
  961|     39|    p->parsing_started = 0;
  962|     39|    p->normalize = NULL;
  963|     39|    p->error_indicator = 0;
  964|       |
  965|     39|    p->starting_lineno = 0;
  966|     39|    p->starting_col_offset = 0;
  967|     39|    p->flags = flags;
  968|     39|    p->feature_version = feature_version;
  969|     39|    p->known_err_token = NULL;
  970|     39|    p->identifier_cache = NULL;
  971|     39|    p->tstate = PyThreadState_Get();
  972|       |    // Stack limits are initialized when the thread state is attached.
  973|     39|    assert(((_PyThreadStateImpl *)p->tstate)->c_stack_hard_limit != 0);
  ------------------
  |  Branch (973:5): [True: 39, False: 0]
  ------------------
  974|     39|    p->stack_soft_limit = ((_PyThreadStateImpl *)p->tstate)->c_stack_soft_limit;
  975|     39|#if _Py_STACK_GROWS_DOWN
  976|     39|    p->stack_soft_limit += _PyOS_STACK_MARGIN_BYTES;
  ------------------
  |  |   57|     39|#define _PyOS_STACK_MARGIN_BYTES (_PyOS_STACK_MARGIN * sizeof(void *))
  |  |  ------------------
  |  |  |  |   56|     39|#define _PyOS_STACK_MARGIN (1 << _PyOS_LOG2_STACK_MARGIN)
  |  |  |  |  ------------------
  |  |  |  |  |  |   54|     39|#  define _PyOS_LOG2_STACK_MARGIN 11
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  977|       |#else
  978|       |    p->stack_soft_limit -= _PyOS_STACK_MARGIN_BYTES;
  979|       |#endif
  980|     39|    p->level = 0;
  981|     39|    p->call_invalid_rules = 0;
  982|     39|    p->last_stmt_location.lineno = 0;
  983|     39|    p->last_stmt_location.col_offset = 0;
  984|     39|    p->last_stmt_location.end_lineno = 0;
  985|     39|    p->last_stmt_location.end_col_offset = 0;
  986|       |#ifdef Py_DEBUG
  987|       |    p->debug = _Py_GetConfig()->parser_debug;
  988|       |#endif
  989|     39|    return p;
  990|     39|}
_PyPegen_Parser_Free:
  994|     39|{
  995|     39|    PyMem_Free(p->identifier_cache);
  996|     39|    Py_XDECREF(p->normalize);
  ------------------
  |  |  524|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  997|       |    // Resizes allocate blocks starting at indices 1, 2, 4, and so on.
  998|     39|    PyMem_Free(p->tokens[0]);
  999|    180|    for (int i = 1; i < p->size; i *= 2) {
  ------------------
  |  Branch (999:21): [True: 141, False: 39]
  ------------------
 1000|    141|        PyMem_Free(p->tokens[i]);
 1001|    141|    }
 1002|     39|    PyMem_Free(p->tokens);
 1003|     39|    growable_comment_array_deallocate(&p->type_ignore_comments);
 1004|     39|    PyMem_Free(p);
 1005|     39|}
_PyPegen_run_parser:
 1070|     39|{
 1071|     39|    void *res = _PyPegen_parse(p);
 1072|     39|    assert(p->level == 0);
  ------------------
  |  Branch (1072:5): [True: 39, False: 0]
  ------------------
 1073|     39|    if (res != NULL && PyErr_Occurred()) {
  ------------------
  |  Branch (1073:9): [True: 18, False: 21]
  |  Branch (1073:24): [True: 0, False: 18]
  ------------------
 1074|       |        // Discard a result returned with an exception still pending
 1075|       |        // (e.g. a MemoryError from a recovered-from allocation failure).
 1076|      0|        return NULL;
 1077|      0|    }
 1078|     39|    if (res == NULL) {
  ------------------
  |  Branch (1078:9): [True: 21, False: 18]
  ------------------
 1079|     21|        if ((p->flags & PyPARSE_ALLOW_INCOMPLETE_INPUT) &&  _is_end_of_source(p)) {
  ------------------
  |  |   28|     21|#define PyPARSE_ALLOW_INCOMPLETE_INPUT 0x0100
  ------------------
  |  Branch (1079:13): [True: 0, False: 21]
  |  Branch (1079:61): [True: 0, False: 0]
  ------------------
 1080|      0|            PyErr_Clear();
 1081|      0|            return _PyPegen_raise_error(p, PyExc_IncompleteInputError, 0, "incomplete input");
  ------------------
  |  |  205|      0|#define PyExc_IncompleteInputError ((PyObject *)(&_PyExc_IncompleteInputError))
  ------------------
 1082|      0|        }
 1083|     21|        if (PyErr_Occurred() && !PyErr_ExceptionMatches(PyExc_SyntaxError)) {
  ------------------
  |  Branch (1083:13): [True: 9, False: 12]
  |  Branch (1083:33): [True: 0, False: 9]
  ------------------
 1084|      0|            return NULL;
 1085|      0|        }
 1086|       |       // Make a second parser pass. In this pass we activate heavier and slower checks
 1087|       |        // to produce better error messages and more complete diagnostics. Extra "invalid_*"
 1088|       |        // rules will be active during parsing.
 1089|     21|        Token *last_token = p->tokens[p->fill - 1];
 1090|     21|        reset_parser_state_for_error_pass(p);
 1091|     21|        _PyPegen_parse(p);
 1092|       |
 1093|       |        // Set SyntaxErrors accordingly depending on the parser/tokenizer status at the failure
 1094|       |        // point.
 1095|     21|        _Pypegen_set_syntax_error(p, last_token);
 1096|       |
 1097|       |        // Set the metadata in the exception from p->last_stmt_location
 1098|     21|        if (PyErr_ExceptionMatches(PyExc_SyntaxError)) {
  ------------------
  |  Branch (1098:13): [True: 21, False: 0]
  ------------------
 1099|     21|            _PyPegen_set_syntax_error_metadata(p);
 1100|     21|        }
 1101|     21|       return NULL;
 1102|     21|    }
 1103|       |
 1104|     18|    if (p->start_rule == Py_single_input && _PyTokenizer_HasTrailingStatement(p->tok)) {
  ------------------
  |  |    8|     36|#define Py_single_input 256
  ------------------
  |  Branch (1104:9): [True: 0, False: 18]
  |  Branch (1104:45): [True: 0, False: 0]
  ------------------
 1105|      0|        return RAISE_SYNTAX_ERROR("multiple statements found while compiling a single statement");
  ------------------
  |  |  233|      0|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
 1106|      0|    }
 1107|       |
 1108|       |    // test_peg_generator defines _Py_TEST_PEGEN to not call PyAST_Validate()
 1109|       |#if defined(Py_DEBUG) && !defined(_Py_TEST_PEGEN)
 1110|       |    if (p->start_rule == Py_single_input ||
 1111|       |        p->start_rule == Py_file_input ||
 1112|       |        p->start_rule == Py_eval_input)
 1113|       |    {
 1114|       |        if (!_PyAST_Validate(res)) {
 1115|       |            return NULL;
 1116|       |        }
 1117|       |    }
 1118|       |#endif
 1119|     18|    return res;
 1120|     18|}
_PyPegen_run_parser_from_string:
 1179|     39|{
 1180|     39|    int exec_input = start_rule == Py_file_input;
  ------------------
  |  |    9|     39|#define Py_file_input 257
  ------------------
 1181|     39|    int parser_flags = compute_parser_flags(flags);
 1182|       |
 1183|     39|    struct tok_state *tok;
 1184|     39|    if (flags != NULL && flags->cf_flags & PyCF_IGNORE_COOKIE) {
  ------------------
  |  |   18|     39|#define PyCF_IGNORE_COOKIE 0x0800
  ------------------
  |  Branch (1184:9): [True: 39, False: 0]
  |  Branch (1184:26): [True: 39, False: 0]
  ------------------
 1185|     39|        tok = _PyTokenizer_FromUTF8(str, exec_input, 0);
 1186|     39|    } else {
 1187|      0|        tok = _PyTokenizer_FromString(str, exec_input, 0);
 1188|      0|    }
 1189|     39|    if (tok == NULL) {
  ------------------
  |  Branch (1189:9): [True: 0, False: 39]
  ------------------
 1190|      0|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (1190:13): [True: 0, False: 0]
  ------------------
 1191|      0|            _PyTokenizer_raise_init_error(filename_ob);
 1192|      0|        }
 1193|      0|        else {
 1194|       |            // The only silent tokenizer init failure is a failed allocation.
 1195|      0|            PyErr_NoMemory();
 1196|      0|        }
 1197|      0|        return NULL;
 1198|      0|    }
 1199|     39|    tok->barry_as_bdfl = parser_flags & PyPARSE_BARRY_AS_BDFL;
  ------------------
  |  |   26|     39|#define PyPARSE_BARRY_AS_BDFL 0x0020
  ------------------
 1200|       |
 1201|     39|    _PyTokenizer_SetContext(tok, filename_ob, module);
 1202|       |
 1203|       |    // We need to clear up from here on
 1204|     39|    mod_ty result = NULL;
 1205|       |
 1206|     39|    int feature_version = flags && (flags->cf_flags & PyCF_ONLY_AST) ?
  ------------------
  |  |   17|     39|#define PyCF_ONLY_AST 0x0400
  ------------------
  |  Branch (1206:27): [True: 39, False: 0]
  |  Branch (1206:36): [True: 37, False: 2]
  ------------------
 1207|     37|        flags->cf_feature_version : PY_MINOR_VERSION;
  ------------------
  |  |   24|      2|#define PY_MINOR_VERSION        16
  ------------------
 1208|     39|    Parser *p = _PyPegen_Parser_New(tok, start_rule, parser_flags, feature_version,
 1209|     39|                                    NULL, str, arena);
 1210|     39|    if (p == NULL) {
  ------------------
  |  Branch (1210:9): [True: 0, False: 39]
  ------------------
 1211|      0|        goto error;
 1212|      0|    }
 1213|       |
 1214|     39|    result = _PyPegen_run_parser(p);
 1215|     39|    _PyPegen_Parser_Free(p);
 1216|       |
 1217|     39|error:
 1218|     39|    _PyTokenizer_Free(tok);
 1219|     39|    return result;
 1220|     39|}
pegen.c:_resize_tokens_array:
  276|    141|_resize_tokens_array(Parser *p) {
  277|    141|    if (p->size > INT_MAX / 2 ||
  ------------------
  |  Branch (277:9): [True: 0, False: 141]
  ------------------
  278|    141|        (size_t)p->size > PY_SSIZE_T_MAX / (2 * sizeof(*p->tokens))) {
  ------------------
  |  |  137|    141|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (278:9): [True: 0, False: 141]
  ------------------
  279|      0|        PyErr_NoMemory();
  280|      0|        return -1;
  281|      0|    }
  282|    141|    int newsize = p->size * 2;
  283|    141|    Token **new_tokens = PyMem_Realloc(p->tokens, (size_t)newsize * sizeof(Token *));
  284|    141|    if (new_tokens == NULL) {
  ------------------
  |  Branch (284:9): [True: 0, False: 141]
  ------------------
  285|      0|        PyErr_NoMemory();
  286|      0|        return -1;
  287|      0|    }
  288|    141|    p->tokens = new_tokens;
  289|       |
  290|       |    // Allocate new tokens together without moving existing ones: parser rules
  291|       |    // may still hold pointers into earlier blocks. Parser_Free frees each block.
  292|    141|    Token *chunk = PyMem_Calloc((size_t)(newsize - p->size), sizeof(Token));
  293|    141|    if (chunk == NULL) {
  ------------------
  |  Branch (293:9): [True: 0, False: 141]
  ------------------
  294|      0|        PyErr_NoMemory();
  295|      0|        return -1;
  296|      0|    }
  297|  6.98k|    for (int i = p->size; i < newsize; i++) {
  ------------------
  |  Branch (297:27): [True: 6.84k, False: 141]
  ------------------
  298|  6.84k|        p->tokens[i] = &chunk[i - p->size];
  299|  6.84k|    }
  300|    141|    p->size = newsize;
  301|    141|    return 0;
  302|    141|}
pegen.c:initialize_token:
  225|  4.76k|initialize_token(Parser *p, Token *parser_token, struct token *new_token, int token_type) {
  226|  4.76k|    assert(parser_token != NULL);
  ------------------
  |  Branch (226:5): [True: 4.76k, False: 0]
  ------------------
  227|       |
  228|  4.76k|    Py_ssize_t length;
  229|  4.76k|    const char *text = _PyToken_TextView(p->tok, new_token, &length);
  230|  4.76k|    parser_token->type = token_type == NAME
  ------------------
  |  |   17|  4.76k|#define NAME            1
  ------------------
  |  Branch (230:26): [True: 1.39k, False: 3.36k]
  ------------------
  231|  4.76k|        ? _get_keyword_or_name_type(p, text, length) : token_type;
  232|  4.76k|    if (token_needs_text(parser_token->type)) {
  ------------------
  |  Branch (232:9): [True: 1.92k, False: 2.84k]
  ------------------
  233|  1.92k|        parser_token->bytes = PyBytes_FromStringAndSize(text, length);
  234|  1.92k|        if (parser_token->bytes == NULL) {
  ------------------
  |  Branch (234:13): [True: 0, False: 1.92k]
  ------------------
  235|      0|            return -1;
  236|      0|        }
  237|  1.92k|        if (_PyArena_AddPyObject(p->arena, parser_token->bytes) < 0) {
  ------------------
  |  Branch (237:13): [True: 0, False: 1.92k]
  ------------------
  238|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  239|      0|            return -1;
  240|      0|        }
  241|  1.92k|    }
  242|  2.84k|    else {
  243|  2.84k|        parser_token->bytes = NULL;
  244|  2.84k|    }
  245|       |
  246|  4.76k|    parser_token->metadata = NULL;
  247|  4.76k|    if (new_token->metadata != NULL) {
  ------------------
  |  Branch (247:9): [True: 0, False: 4.76k]
  ------------------
  248|      0|        if (_PyArena_AddPyObject(p->arena, new_token->metadata) < 0) {
  ------------------
  |  Branch (248:13): [True: 0, False: 0]
  ------------------
  249|      0|            return -1;
  250|      0|        }
  251|      0|        parser_token->metadata = new_token->metadata;
  252|      0|        new_token->metadata = NULL;
  253|      0|    }
  254|       |
  255|  4.76k|    parser_token->level = new_token->level;
  256|  4.76k|    parser_token->is_raw = new_token->is_raw;
  257|  4.76k|    parser_token->lineno = new_token->start_loc.lineno;
  258|  4.76k|    parser_token->col_offset = new_token->end_loc.lineno == p->starting_lineno
  ------------------
  |  Branch (258:32): [True: 0, False: 4.76k]
  ------------------
  259|  4.76k|        ? p->starting_col_offset + new_token->start_loc.byte_col
  260|  4.76k|        : new_token->start_loc.byte_col;
  261|  4.76k|    parser_token->end_lineno = new_token->end_loc.lineno;
  262|  4.76k|    parser_token->end_col_offset = new_token->end_loc.lineno == p->starting_lineno
  ------------------
  |  Branch (262:36): [True: 0, False: 4.76k]
  ------------------
  263|  4.76k|        ? p->starting_col_offset + new_token->end_loc.byte_col
  264|  4.76k|        : new_token->end_loc.byte_col;
  265|       |
  266|  4.76k|    p->fill += 1;
  267|       |
  268|  4.76k|    if (token_type == ERRORTOKEN && _PyTokenizer_GetInfo(p->tok).status == E_DECODE) {
  ------------------
  |  |   83|  9.52k|#define ERRORTOKEN      67
  ------------------
                  if (token_type == ERRORTOKEN && _PyTokenizer_GetInfo(p->tok).status == E_DECODE) {
  ------------------
  |  |   34|      7|#define E_DECODE         22      /* Error in decoding into Unicode */
  ------------------
  |  Branch (268:9): [True: 7, False: 4.75k]
  |  Branch (268:9): [True: 0, False: 4.76k]
  |  Branch (268:37): [True: 0, False: 7]
  ------------------
  269|      0|        return _Pypegen_raise_decode_error(p);
  270|      0|    }
  271|       |
  272|  4.76k|    return (token_type == ERRORTOKEN ? _Pypegen_tokenizer_error(p) : 0);
  ------------------
  |  |   83|  4.76k|#define ERRORTOKEN      67
  ------------------
  |  Branch (272:13): [True: 7, False: 4.75k]
  ------------------
  273|  4.76k|}
pegen.c:_get_keyword_or_name_type:
  185|  1.39k|{
  186|  1.39k|    assert(length > 0);
  ------------------
  |  Branch (186:5): [True: 1.39k, False: 0]
  ------------------
  187|       |
  188|  1.39k|    if (length >= p->n_keyword_lists ||
  ------------------
  |  Branch (188:9): [True: 59, False: 1.33k]
  ------------------
  189|  1.33k|        p->keywords[length] == NULL ||
  ------------------
  |  Branch (189:9): [True: 0, False: 1.33k]
  ------------------
  190|  1.33k|        p->keywords[length]->type == -1) {
  ------------------
  |  Branch (190:9): [True: 783, False: 554]
  ------------------
  191|    842|        return NAME;
  ------------------
  |  |   17|    842|#define NAME            1
  ------------------
  192|    842|    }
  193|  3.50k|    for (KeywordToken *k = p->keywords[length]; k != NULL && k->type != -1; k++) {
  ------------------
  |  Branch (193:49): [True: 3.50k, False: 0]
  |  Branch (193:62): [True: 2.95k, False: 551]
  ------------------
  194|  2.95k|        if (memcmp(k->str, text, (size_t)length) == 0) {
  ------------------
  |  Branch (194:13): [True: 3, False: 2.95k]
  ------------------
  195|      3|            return k->type;
  196|      3|        }
  197|  2.95k|    }
  198|    551|    return NAME;
  ------------------
  |  |   17|    551|#define NAME            1
  ------------------
  199|    554|}
pegen.c:token_needs_text:
  205|  4.76k|{
  206|  4.76k|    switch (type) {
  207|  1.39k|        case NAME:
  ------------------
  |  |   17|  1.39k|#define NAME            1
  ------------------
  |  Branch (207:9): [True: 1.39k, False: 3.36k]
  ------------------
  208|  1.51k|        case NUMBER:
  ------------------
  |  |   18|  1.51k|#define NUMBER          2
  ------------------
  |  Branch (208:9): [True: 119, False: 4.64k]
  ------------------
  209|  1.92k|        case STRING:
  ------------------
  |  |   19|  1.92k|#define STRING          3
  ------------------
  |  Branch (209:9): [True: 409, False: 4.35k]
  ------------------
  210|  1.92k|        case FSTRING_START:
  ------------------
  |  |   75|  1.92k|#define FSTRING_START   59
  ------------------
  |  Branch (210:9): [True: 0, False: 4.76k]
  ------------------
  211|  1.92k|        case FSTRING_MIDDLE:
  ------------------
  |  |   76|  1.92k|#define FSTRING_MIDDLE  60
  ------------------
  |  Branch (211:9): [True: 0, False: 4.76k]
  ------------------
  212|  1.92k|        case FSTRING_END:
  ------------------
  |  |   77|  1.92k|#define FSTRING_END     61
  ------------------
  |  Branch (212:9): [True: 0, False: 4.76k]
  ------------------
  213|  1.92k|        case TSTRING_START:
  ------------------
  |  |   78|  1.92k|#define TSTRING_START   62
  ------------------
  |  Branch (213:9): [True: 0, False: 4.76k]
  ------------------
  214|  1.92k|        case TSTRING_MIDDLE:
  ------------------
  |  |   79|  1.92k|#define TSTRING_MIDDLE  63
  ------------------
  |  Branch (214:9): [True: 0, False: 4.76k]
  ------------------
  215|  1.92k|        case TSTRING_END:
  ------------------
  |  |   80|  1.92k|#define TSTRING_END     64
  ------------------
  |  Branch (215:9): [True: 0, False: 4.76k]
  ------------------
  216|  1.92k|        case TYPE_COMMENT:
  ------------------
  |  |   73|  1.92k|#define TYPE_COMMENT    57
  ------------------
  |  Branch (216:9): [True: 0, False: 4.76k]
  ------------------
  217|  1.92k|        case NOTEQUAL:  // _PyPegen_check_barry_as_flufl() distinguishes != and <>.
  ------------------
  |  |   44|  1.92k|#define NOTEQUAL        28
  ------------------
  |  Branch (217:9): [True: 0, False: 4.76k]
  ------------------
  218|  1.92k|            return 1;
  219|  2.84k|        default:
  ------------------
  |  Branch (219:9): [True: 2.84k, False: 1.92k]
  ------------------
  220|  2.84k|            return 0;
  221|  4.76k|    }
  222|  4.76k|}
pegen.c:init_normalization:
  135|     16|{
  136|     16|    if (p->normalize) {
  ------------------
  |  Branch (136:9): [True: 1, False: 15]
  ------------------
  137|      1|        return 1;
  138|      1|    }
  139|     15|    p->normalize = PyImport_ImportModuleAttrString("unicodedata", "normalize");
  140|     15|    if (!p->normalize)
  ------------------
  |  Branch (140:9): [True: 0, False: 15]
  ------------------
  141|      0|    {
  142|      0|        return 0;
  143|      0|    }
  144|     15|    return 1;
  145|     15|}
pegen.c:_PyPegen_name_from_token:
  692|  21.8k|{
  693|  21.8k|    if (t == NULL) {
  ------------------
  |  Branch (693:9): [True: 15.9k, False: 5.90k]
  ------------------
  694|  15.9k|        return NULL;
  695|  15.9k|    }
  696|       |    // Reuse the AST node when backtracking revisits this token. Memo lookup
  697|       |    // starts before the token and restores the position after it on a hit.
  698|       |    // Token kinds can be memo keys: generated grammar rule IDs start at 1000.
  699|  5.90k|    int mark = p->mark - 1;
  700|  5.90k|    p->mark = mark;
  701|  5.90k|    expr_ty cached = NULL;
  702|  5.90k|    if (_PyPegen_is_memoized(p, NAME, &cached)) {
  ------------------
  |  |   17|  5.90k|#define NAME            1
  ------------------
  |  Branch (702:9): [True: 3.94k, False: 1.95k]
  ------------------
  703|  3.94k|        return cached;
  704|  3.94k|    }
  705|  1.95k|    p->mark = mark + 1;
  706|  1.95k|    PyObject *id = get_cached_identifier(p, t->bytes);
  707|  1.95k|    if (id == NULL) {
  ------------------
  |  Branch (707:9): [True: 0, False: 1.95k]
  ------------------
  708|      0|        return NULL;
  709|      0|    }
  710|  1.95k|    expr_ty result = _PyAST_Name(id, Load, t->lineno, t->col_offset,
  711|  1.95k|                                t->end_lineno, t->end_col_offset, p->arena);
  712|  1.95k|    if (result != NULL && _PyPegen_insert_memo(p, mark, NAME, result) < 0) {
  ------------------
  |  |   17|  1.95k|#define NAME            1
  ------------------
  |  Branch (712:9): [True: 1.95k, False: 0]
  |  Branch (712:27): [True: 0, False: 1.95k]
  ------------------
  713|      0|        p->error_indicator = 1;
  714|      0|        return NULL;
  715|      0|    }
  716|  1.95k|    return result;
  717|  1.95k|}
pegen.c:get_cached_identifier:
  635|  1.95k|{
  636|  1.95k|    const char *s = PyBytes_AsString(bytes);
  637|  1.95k|    if (!s) {
  ------------------
  |  Branch (637:9): [True: 0, False: 1.95k]
  ------------------
  638|      0|        p->error_indicator = 1;
  639|      0|        return NULL;
  640|      0|    }
  641|       |    // Identifiers repeat constantly; a small span-keyed cache skips the
  642|       |    // UTF-8 decode + intern for repeated occurrences. Keys point into
  643|       |    // arena-owned token bytes and values are arena-owned interned strings,
  644|       |    // so borrowed references are valid for the lifetime of the parse
  645|       |    // (including the second error pass, which reuses parser and arena).
  646|  1.95k|    Py_ssize_t len = PyBytes_GET_SIZE(bytes);
  ------------------
  |  |   33|  1.95k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  1.95k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.95k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  647|  1.95k|    Py_hash_t hash = PyObject_Hash(bytes);
  648|  1.95k|    if (hash == -1) {
  ------------------
  |  Branch (648:9): [True: 0, False: 1.95k]
  ------------------
  649|      0|        p->error_indicator = 1;
  650|      0|        return NULL;
  651|      0|    }
  652|       |    // Parses without identifiers do not need this cache.
  653|  1.95k|    if (p->identifier_cache == NULL) {
  ------------------
  |  Branch (653:9): [True: 32, False: 1.92k]
  ------------------
  654|     32|        p->identifier_cache = PyMem_Calloc(
  655|     32|            IDENTIFIER_CACHE_SIZE, sizeof(*p->identifier_cache));
  ------------------
  |  |   14|     32|#define IDENTIFIER_CACHE_SIZE 2048  // Must be a power of two.
  ------------------
  656|     32|        if (p->identifier_cache == NULL) {
  ------------------
  |  Branch (656:13): [True: 0, False: 32]
  ------------------
  657|      0|            p->error_indicator = 1;
  658|      0|            return PyErr_NoMemory();
  659|      0|        }
  660|     32|    }
  661|  1.95k|    IdentifierCacheEntry *free_slot = NULL;
  662|  1.95k|    size_t idx = (size_t)hash & (IDENTIFIER_CACHE_SIZE - 1);
  ------------------
  |  |   14|  1.95k|#define IDENTIFIER_CACHE_SIZE 2048  // Must be a power of two.
  ------------------
  663|  1.95k|    for (int probe = 0; probe < IDENTIFIER_CACHE_MAX_PROBES; probe++) {
  ------------------
  |  |   15|  1.95k|#define IDENTIFIER_CACHE_MAX_PROBES 8
  ------------------
  |  Branch (663:25): [True: 1.95k, False: 0]
  ------------------
  664|  1.95k|        IdentifierCacheEntry *entry = &p->identifier_cache[
  665|  1.95k|            (idx + probe) & (IDENTIFIER_CACHE_SIZE - 1)];
  ------------------
  |  |   14|  1.95k|#define IDENTIFIER_CACHE_SIZE 2048  // Must be a power of two.
  ------------------
  666|  1.95k|        if (entry->key == NULL) {
  ------------------
  |  Branch (666:13): [True: 141, False: 1.81k]
  ------------------
  667|    141|            free_slot = entry;
  668|    141|            break;
  669|    141|        }
  670|  1.81k|        if (entry->hash == hash && entry->len == len &&
  ------------------
  |  Branch (670:13): [True: 1.81k, False: 0]
  |  Branch (670:36): [True: 1.81k, False: 0]
  ------------------
  671|  1.81k|            memcmp(entry->key, s, len) == 0)
  ------------------
  |  Branch (671:13): [True: 1.81k, False: 0]
  ------------------
  672|  1.81k|        {
  673|  1.81k|            return entry->value;
  674|  1.81k|        }
  675|  1.81k|    }
  676|    141|    PyObject *id = _PyPegen_new_identifier(p, s);
  677|    141|    if (id == NULL) {
  ------------------
  |  Branch (677:9): [True: 0, False: 141]
  ------------------
  678|      0|        p->error_indicator = 1;
  679|      0|        return NULL;
  680|      0|    }
  681|    141|    if (free_slot != NULL) {
  ------------------
  |  Branch (681:9): [True: 141, False: 0]
  ------------------
  682|    141|        free_slot->key = s;
  683|    141|        free_slot->len = len;
  684|    141|        free_slot->hash = hash;
  685|    141|        free_slot->value = id;
  686|    141|    }
  687|    141|    return id;
  688|    141|}
pegen.c:parsenumber:
  795|    211|{
  796|    211|    char *dup;
  797|    211|    char *end;
  798|    211|    PyObject *res = NULL;
  799|       |
  800|    211|    assert(s != NULL);
  ------------------
  |  Branch (800:5): [True: 211, False: 0]
  ------------------
  801|       |
  802|    211|    if (strchr(s, '_') == NULL) {
  ------------------
  |  Branch (802:9): [True: 211, False: 0]
  ------------------
  803|    211|        return parsenumber_raw(s);
  804|    211|    }
  805|       |    /* Create a duplicate without underscores. */
  806|      0|    dup = PyMem_Malloc(strlen(s) + 1);
  807|      0|    if (dup == NULL) {
  ------------------
  |  Branch (807:9): [True: 0, False: 0]
  ------------------
  808|      0|        return PyErr_NoMemory();
  809|      0|    }
  810|      0|    end = dup;
  811|      0|    for (; *s; s++) {
  ------------------
  |  Branch (811:12): [True: 0, False: 0]
  ------------------
  812|      0|        if (*s != '_') {
  ------------------
  |  Branch (812:13): [True: 0, False: 0]
  ------------------
  813|      0|            *end++ = *s;
  814|      0|        }
  815|      0|    }
  816|      0|    *end = '\0';
  817|      0|    res = parsenumber_raw(dup);
  818|      0|    PyMem_Free(dup);
  819|      0|    return res;
  820|      0|}
pegen.c:parsenumber_raw:
  751|    211|{
  752|    211|    const char *end;
  753|    211|    long x;
  754|    211|    double dx;
  755|    211|    Py_complex compl;
  756|    211|    int imflag;
  757|       |
  758|    211|    assert(s != NULL);
  ------------------
  |  Branch (758:5): [True: 211, False: 0]
  ------------------
  759|    211|    errno = 0;
  760|    211|    end = s + strlen(s) - 1;
  761|    211|    imflag = *end == 'j' || *end == 'J';
  ------------------
  |  Branch (761:14): [True: 8, False: 203]
  |  Branch (761:29): [True: 0, False: 203]
  ------------------
  762|    211|    if (s[0] == '0') {
  ------------------
  |  Branch (762:9): [True: 177, False: 34]
  ------------------
  763|    177|        x = (long)PyOS_strtoul(s, (char **)&end, 0);
  764|    177|        if (x < 0 && errno == 0) {
  ------------------
  |  Branch (764:13): [True: 0, False: 177]
  |  Branch (764:22): [True: 0, False: 0]
  ------------------
  765|      0|            return PyLong_FromString(s, (char **)0, 0);
  766|      0|        }
  767|    177|    }
  768|     34|    else {
  769|     34|        x = PyOS_strtol(s, (char **)&end, 0);
  770|     34|    }
  771|    211|    if (*end == '\0') {
  ------------------
  |  Branch (771:9): [True: 203, False: 8]
  ------------------
  772|    203|        if (errno != 0) {
  ------------------
  |  Branch (772:13): [True: 0, False: 203]
  ------------------
  773|      0|            return PyLong_FromString(s, (char **)0, 0);
  774|      0|        }
  775|    203|        return PyLong_FromLong(x);
  776|    203|    }
  777|       |    /* XXX Huge floats may silently fail */
  778|      8|    if (imflag) {
  ------------------
  |  Branch (778:9): [True: 8, False: 0]
  ------------------
  779|      8|        compl.real = 0.;
  780|      8|        compl.imag = PyOS_string_to_double(s, (char **)&end, NULL);
  781|      8|        if (compl.imag == -1.0 && PyErr_Occurred()) {
  ------------------
  |  Branch (781:13): [True: 0, False: 8]
  |  Branch (781:35): [True: 0, False: 0]
  ------------------
  782|      0|            return NULL;
  783|      0|        }
  784|      8|        return PyComplex_FromCComplex(compl);
  785|      8|    }
  786|      0|    dx = PyOS_string_to_double(s, NULL, NULL);
  787|      0|    if (dx == -1.0 && PyErr_Occurred()) {
  ------------------
  |  Branch (787:9): [True: 0, False: 0]
  |  Branch (787:23): [True: 0, False: 0]
  ------------------
  788|      0|        return NULL;
  789|      0|    }
  790|      0|    return PyFloat_FromDouble(dx);
  791|      0|}
pegen.c:growable_comment_array_init:
  148|     39|growable_comment_array_init(growable_comment_array *arr, size_t initial_size) {
  149|     39|    assert(initial_size > 0);
  ------------------
  |  Branch (149:5): [True: 39, False: 0]
  ------------------
  150|     39|    arr->items = PyMem_Malloc(initial_size * sizeof(*arr->items));
  151|     39|    arr->size = initial_size;
  152|     39|    arr->num_items = 0;
  153|       |
  154|       |    return arr->items != NULL;
  155|     39|}
pegen.c:growable_comment_array_deallocate:
  176|     39|growable_comment_array_deallocate(growable_comment_array *arr) {
  177|     39|    for (unsigned i = 0; i < arr->num_items; i++) {
  ------------------
  |  Branch (177:26): [True: 0, False: 39]
  ------------------
  178|      0|        PyMem_Free(arr->items[i].comment);
  179|      0|    }
  180|     39|    PyMem_Free(arr->items);
  181|     39|}
pegen.c:reset_parser_state_for_error_pass:
 1009|     21|{
 1010|     21|    p->last_stmt_location.lineno = 0;
 1011|     21|    p->last_stmt_location.col_offset = 0;
 1012|     21|    p->last_stmt_location.end_lineno = 0;
 1013|     21|    p->last_stmt_location.end_col_offset = 0;
 1014|  4.61k|    for (int i = 0; i < p->fill; i++) {
  ------------------
  |  Branch (1014:21): [True: 4.59k, False: 21]
  ------------------
 1015|       |        p->tokens[i]->memo = NULL;
 1016|  4.59k|        p->tokens[i]->memo_mask = 0;
 1017|  4.59k|    }
 1018|     21|    p->mark = 0;
 1019|     21|    p->call_invalid_rules = 1;
 1020|     21|    _PyTokenizer_StopInteractive(p->tok);
 1021|     21|}
pegen.c:_PyPegen_set_syntax_error_metadata:
 1030|     21|_PyPegen_set_syntax_error_metadata(Parser *p) {
 1031|     21|    PyObject *exc = PyErr_GetRaisedException();
 1032|     21|    if (!exc || !PyObject_TypeCheck(exc, (PyTypeObject *)PyExc_SyntaxError)) {
  ------------------
  |  |  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 (1032:9): [True: 0, False: 21]
  |  Branch (1032:17): [True: 0, False: 21]
  ------------------
 1033|      0|        PyErr_SetRaisedException(exc);
 1034|      0|        return;
 1035|      0|    }
 1036|     21|    const char *source = _PyTokenizer_RetainedSource(p->tok);
 1037|     21|    const char *encoding = _PyTokenizer_GetInfo(p->tok).encoding;
 1038|     21|    PyObject* the_source = NULL;
 1039|     21|    if (source) {
  ------------------
  |  Branch (1039:9): [True: 21, False: 0]
  ------------------
 1040|     21|        if (encoding == NULL) {
  ------------------
  |  Branch (1040:13): [True: 0, False: 21]
  ------------------
 1041|      0|            the_source = PyUnicode_FromString(source);
 1042|     21|        } else {
 1043|     21|            the_source = PyUnicode_Decode(source, strlen(source), encoding, NULL);
 1044|     21|        }
 1045|     21|    }
 1046|     21|    if (!the_source) {
  ------------------
  |  Branch (1046:9): [True: 0, False: 21]
  ------------------
 1047|      0|        PyErr_Clear();
 1048|      0|        the_source = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1049|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1050|      0|    }
 1051|     21|    PyObject* metadata = Py_BuildValue(
 1052|     21|        "(iiN)",
 1053|     21|        p->last_stmt_location.lineno,
 1054|     21|        p->last_stmt_location.col_offset,
 1055|     21|        the_source // N gives ownership to metadata
 1056|     21|    );
 1057|     21|    if (!metadata) {
  ------------------
  |  Branch (1057:9): [True: 0, False: 21]
  ------------------
 1058|      0|        PyErr_Clear();
 1059|      0|        return;
 1060|      0|    }
 1061|     21|    PySyntaxErrorObject *syntax_error = (PySyntaxErrorObject *)exc;
 1062|       |
 1063|     21|    Py_XDECREF(syntax_error->metadata);
  ------------------
  |  |  524|     21|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     21|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1064|     21|    syntax_error->metadata = metadata;
 1065|     21|    PyErr_SetRaisedException(exc);
 1066|     21|}
pegen.c:compute_parser_flags:
  897|     39|{
  898|     39|    int parser_flags = 0;
  899|     39|    if (!flags) {
  ------------------
  |  Branch (899:9): [True: 0, False: 39]
  ------------------
  900|      0|        return 0;
  901|      0|    }
  902|     39|    if (flags->cf_flags & PyCF_DONT_IMPLY_DEDENT) {
  ------------------
  |  |   16|     39|#define PyCF_DONT_IMPLY_DEDENT 0x0200
  ------------------
  |  Branch (902:9): [True: 0, False: 39]
  ------------------
  903|      0|        parser_flags |= PyPARSE_DONT_IMPLY_DEDENT;
  ------------------
  |  |   17|      0|#define PyPARSE_DONT_IMPLY_DEDENT       0x0002
  ------------------
  904|      0|    }
  905|     39|    if (flags->cf_flags & PyCF_IGNORE_COOKIE) {
  ------------------
  |  |   18|     39|#define PyCF_IGNORE_COOKIE 0x0800
  ------------------
  |  Branch (905:9): [True: 39, False: 0]
  ------------------
  906|     39|        parser_flags |= PyPARSE_IGNORE_COOKIE;
  ------------------
  |  |   25|     39|#define PyPARSE_IGNORE_COOKIE 0x0010
  ------------------
  907|     39|    }
  908|     39|    if (flags->cf_flags & CO_FUTURE_BARRY_AS_BDFL) {
  ------------------
  |  |  145|     39|#define CO_FUTURE_BARRY_AS_BDFL  0x400000
  ------------------
  |  Branch (908:9): [True: 0, False: 39]
  ------------------
  909|      0|        parser_flags |= PyPARSE_BARRY_AS_BDFL;
  ------------------
  |  |   26|      0|#define PyPARSE_BARRY_AS_BDFL 0x0020
  ------------------
  910|      0|    }
  911|     39|    if (flags->cf_flags & PyCF_TYPE_COMMENTS) {
  ------------------
  |  |   19|     39|#define PyCF_TYPE_COMMENTS 0x1000
  ------------------
  |  Branch (911:9): [True: 0, False: 39]
  ------------------
  912|      0|        parser_flags |= PyPARSE_TYPE_COMMENTS;
  ------------------
  |  |   27|      0|#define PyPARSE_TYPE_COMMENTS 0x0040
  ------------------
  913|      0|    }
  914|     39|    if (flags->cf_flags & PyCF_ALLOW_INCOMPLETE_INPUT) {
  ------------------
  |  |   21|     39|#define PyCF_ALLOW_INCOMPLETE_INPUT 0x4000
  ------------------
  |  Branch (914:9): [True: 0, False: 39]
  ------------------
  915|      0|        parser_flags |= PyPARSE_ALLOW_INCOMPLETE_INPUT;
  ------------------
  |  |   28|      0|#define PyPARSE_ALLOW_INCOMPLETE_INPUT 0x0100
  ------------------
  916|      0|    }
  917|     39|    return parser_flags;
  918|     39|}

pegen_errors.c:RAISE_ERROR_KNOWN_LOCATION:
  224|      5|{
  225|      5|    va_list va;
  226|      5|    va_start(va, errmsg);
  227|      5|    Py_ssize_t _col_offset = (col_offset == CURRENT_POS ? CURRENT_POS : col_offset + 1);
  ------------------
  |  |   30|      5|#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 (227:31): [True: 0, False: 5]
  ------------------
  228|      5|    Py_ssize_t _end_col_offset = (end_col_offset == CURRENT_POS ? CURRENT_POS : end_col_offset + 1);
  ------------------
  |  |   30|      5|#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 (228:35): [True: 0, False: 5]
  ------------------
  229|      5|    _PyPegen_raise_error_known_location(p, errtype, lineno, _col_offset, end_lineno, _end_col_offset, errmsg, va);
  230|      5|    va_end(va);
  231|       |    return NULL;
  232|      5|}
parser.c:_PyPegen_stack_exhausted:
  114|   342k|{
  115|   342k|#if _Py_STACK_GROWS_DOWN
  116|   342k|    if (_Py_get_machine_stack_pointer() > p->stack_soft_limit) {
  ------------------
  |  Branch (116:9): [True: 342k, False: 0]
  ------------------
  117|       |#else
  118|       |    if (_Py_get_machine_stack_pointer() <= p->stack_soft_limit) {
  119|       |#endif
  120|   342k|        assert(!_Py_ReachedRecursionLimitWithMargin(p->tstate, 1));
  ------------------
  |  Branch (120:9): [True: 342k, False: 0]
  ------------------
  121|   342k|        return 0;
  122|   342k|    }
  123|      0|    return _Py_ReachedRecursionLimitWithMargin(p->tstate, 1);
  124|   342k|}
parser.c:CHECK_CALL:
  252|     51|{
  253|     51|    if (result == NULL) {
  ------------------
  |  Branch (253:9): [True: 0, False: 51]
  ------------------
  254|      0|        assert(PyErr_Occurred());
  ------------------
  |  Branch (254:9): [True: 0, False: 0]
  ------------------
  255|      0|        p->error_indicator = 1;
  256|      0|    }
  257|     51|    return result;
  258|     51|}
parser.c:CHECK_CALL_NULL_ALLOWED:
  264|     86|{
  265|     86|    if (result == NULL && PyErr_Occurred()) {
  ------------------
  |  Branch (265:9): [True: 43, False: 43]
  |  Branch (265:27): [True: 0, False: 43]
  ------------------
  266|      0|        p->error_indicator = 1;
  267|      0|    }
  268|     86|    return result;
  269|     86|}

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

_PyPegen_decode_string:
  239|  1.09k|{
  240|  1.09k|    if (raw) {
  ------------------
  |  Branch (240:9): [True: 1.06k, False: 29]
  ------------------
  241|  1.06k|        return PyUnicode_DecodeUTF8Stateful(s, (Py_ssize_t)len, NULL, NULL);
  242|  1.06k|    }
  243|     29|    return decode_unicode_with_escapes(p, s, len, t);
  244|  1.09k|}
_PyPegen_parse_string:
  251|  1.10k|{
  252|  1.10k|    const char *s = PyBytes_AsString(t->bytes);
  253|  1.10k|    if (s == NULL) {
  ------------------
  |  Branch (253:9): [True: 0, False: 1.10k]
  ------------------
  254|      0|        return NULL;
  255|      0|    }
  256|       |
  257|  1.10k|    size_t len;
  258|  1.10k|    int quote = Py_CHARMASK(*s);
  ------------------
  |  |  163|  1.10k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
  259|  1.10k|    int bytesmode = 0;
  260|  1.10k|    int rawmode = 0;
  261|       |
  262|  1.10k|    if (Py_ISALPHA(quote)) {
  ------------------
  |  |   23|  1.10k|#define Py_ISALPHA(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALPHA)
  |  |  ------------------
  |  |  |  |  163|  1.10k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISALPHA(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALPHA)
  |  |  ------------------
  |  |  |  |   10|  1.10k|#define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  ------------------
  |  |  |  |  |  |    8|  1.10k|#define PY_CTF_LOWER  0x01
  |  |  |  |  ------------------
  |  |  |  |               #define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  ------------------
  |  |  |  |  |  |    9|  1.10k|#define PY_CTF_UPPER  0x02
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (23:24): [True: 14, False: 1.09k]
  |  |  ------------------
  ------------------
  263|     28|        while (!bytesmode || !rawmode) {
  ------------------
  |  Branch (263:16): [True: 14, False: 14]
  |  Branch (263:30): [True: 14, False: 0]
  ------------------
  264|     28|            if (quote == 'b' || quote == 'B') {
  ------------------
  |  Branch (264:17): [True: 14, False: 14]
  |  Branch (264:33): [True: 0, False: 14]
  ------------------
  265|     14|                quote =(unsigned char)*++s;
  266|     14|                bytesmode = 1;
  267|     14|            }
  268|     14|            else if (quote == 'u' || quote == 'U') {
  ------------------
  |  Branch (268:22): [True: 0, False: 14]
  |  Branch (268:38): [True: 0, False: 14]
  ------------------
  269|      0|                quote = (unsigned char)*++s;
  270|      0|            }
  271|     14|            else if (quote == 'r' || quote == 'R') {
  ------------------
  |  Branch (271:22): [True: 0, False: 14]
  |  Branch (271:38): [True: 0, False: 14]
  ------------------
  272|      0|                quote = (unsigned char)*++s;
  273|      0|                rawmode = 1;
  274|      0|            }
  275|     14|            else {
  276|     14|                break;
  277|     14|            }
  278|     28|        }
  279|     14|    }
  280|       |
  281|  1.10k|    if (quote != '\'' && quote != '\"') {
  ------------------
  |  Branch (281:9): [True: 0, False: 1.10k]
  |  Branch (281:26): [True: 0, False: 0]
  ------------------
  282|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  283|      0|        return NULL;
  284|      0|    }
  285|       |
  286|       |    /* Skip the leading quote char. */
  287|  1.10k|    s++;
  288|  1.10k|    len = strlen(s);
  289|       |    // gh-120155: 's' contains at least the trailing quote,
  290|       |    // so the code '--len' below is safe.
  291|  1.10k|    assert(len >= 1);
  ------------------
  |  Branch (291:5): [True: 1.10k, False: 0]
  ------------------
  292|       |
  293|  1.10k|    if (len > INT_MAX) {
  ------------------
  |  Branch (293:9): [True: 0, False: 1.10k]
  ------------------
  294|      0|        PyErr_SetString(PyExc_OverflowError, "string to parse is too long");
  295|      0|        return NULL;
  296|      0|    }
  297|  1.10k|    if (s[--len] != quote) {
  ------------------
  |  Branch (297:9): [True: 0, False: 1.10k]
  ------------------
  298|       |        /* Last quote char must match the first. */
  299|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  300|      0|        return NULL;
  301|      0|    }
  302|  1.10k|    if (len >= 4 && s[0] == quote && s[1] == quote) {
  ------------------
  |  Branch (302:9): [True: 43, False: 1.06k]
  |  Branch (302:21): [True: 0, False: 43]
  |  Branch (302:38): [True: 0, False: 0]
  ------------------
  303|       |        /* A triple quoted string. We've already skipped one quote at
  304|       |           the start and one at the end of the string. Now skip the
  305|       |           two at the start. */
  306|      0|        s += 2;
  307|      0|        len -= 2;
  308|       |        /* And check that the last two match. */
  309|      0|        if (s[--len] != quote || s[--len] != quote) {
  ------------------
  |  Branch (309:13): [True: 0, False: 0]
  |  Branch (309:34): [True: 0, False: 0]
  ------------------
  310|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  311|      0|            return NULL;
  312|      0|        }
  313|      0|    }
  314|       |
  315|       |    /* Avoid invoking escape decoding routines if possible. */
  316|  1.10k|    rawmode = rawmode || strchr(s, '\\') == NULL;
  ------------------
  |  Branch (316:15): [True: 0, False: 1.10k]
  |  Branch (316:26): [True: 1.06k, False: 43]
  ------------------
  317|  1.10k|    if (bytesmode) {
  ------------------
  |  Branch (317:9): [True: 14, False: 1.09k]
  ------------------
  318|       |        /* Disallow non-ASCII characters. */
  319|     14|        const char *ch;
  320|  1.04M|        for (ch = s; *ch; ch++) {
  ------------------
  |  Branch (320:22): [True: 1.04M, False: 14]
  ------------------
  321|  1.04M|            if (Py_CHARMASK(*ch) >= 0x80) {
  ------------------
  |  |  163|  1.04M|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
  |  Branch (321:17): [True: 0, False: 1.04M]
  ------------------
  322|      0|                RAISE_SYNTAX_ERROR_KNOWN_LOCATION(
  ------------------
  |  |  239|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
  323|      0|                                   t,
  324|      0|                                   "bytes can only contain ASCII "
  325|      0|                                   "literal characters");
  326|      0|                return NULL;
  327|      0|            }
  328|  1.04M|        }
  329|     14|        if (rawmode) {
  ------------------
  |  Branch (329:13): [True: 0, False: 14]
  ------------------
  330|      0|            return PyBytes_FromStringAndSize(s, (Py_ssize_t)len);
  331|      0|        }
  332|     14|        return decode_bytes_with_escapes(p, s, (Py_ssize_t)len, t);
  333|     14|    }
  334|  1.09k|    return _PyPegen_decode_string(p, rawmode, s, len, t);
  335|  1.10k|}
string_parser.c:decode_unicode_with_escapes:
  136|     29|{
  137|     29|    PyObject *v;
  138|     29|    char *p;
  139|     29|    const char *end;
  140|       |
  141|       |    /* check for integer overflow */
  142|     29|    if (len > (size_t)PY_SSIZE_T_MAX / 6) {
  ------------------
  |  |  137|     29|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (142:9): [True: 0, False: 29]
  ------------------
  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|     29|    Py_ssize_t alloc = (Py_ssize_t)len * 6;
  148|     29|    char *buf = PyMem_Malloc(alloc);
  149|     29|    if (buf == NULL) {
  ------------------
  |  Branch (149:9): [True: 0, False: 29]
  ------------------
  150|      0|        return NULL;
  151|      0|    }
  152|     29|    p = buf;
  153|     29|    end = s + len;
  154|  24.0M|    while (s < end) {
  ------------------
  |  Branch (154:12): [True: 24.0M, False: 29]
  ------------------
  155|  24.0M|        if (*s == '\\') {
  ------------------
  |  Branch (155:13): [True: 5.31M, False: 18.7M]
  ------------------
  156|  5.31M|            *p++ = *s++;
  157|  5.31M|            if (s >= end || *s & 0x80) {
  ------------------
  |  Branch (157:17): [True: 0, False: 5.31M]
  |  Branch (157:29): [True: 3, False: 5.31M]
  ------------------
  158|      3|                memcpy(p, "u005c", 5);
  159|      3|                p += 5;
  160|      3|                if (s >= end) {
  ------------------
  |  Branch (160:21): [True: 0, False: 3]
  ------------------
  161|      0|                    break;
  162|      0|                }
  163|      3|            }
  164|  5.31M|        }
  165|  24.0M|        if (*s & 0x80) {
  ------------------
  |  Branch (165:13): [True: 277k, False: 23.7M]
  ------------------
  166|   277k|            PyObject *w;
  167|   277k|            int kind;
  168|   277k|            const void *data;
  169|   277k|            Py_ssize_t w_len;
  170|   277k|            Py_ssize_t i;
  171|   277k|            w = decode_utf8(&s, end);
  172|   277k|            if (w == NULL) {
  ------------------
  |  Branch (172:17): [True: 0, False: 277k]
  ------------------
  173|      0|                PyMem_Free(buf);
  174|      0|                return NULL;
  175|      0|            }
  176|   277k|            kind = PyUnicode_KIND(w);
  ------------------
  |  |  258|   277k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  302|   555k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 277k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  177|   277k|            data = PyUnicode_DATA(w);
  ------------------
  |  |  284|   277k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   277k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   277k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  178|   277k|            w_len = PyUnicode_GET_LENGTH(w);
  ------------------
  |  |  299|   277k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   277k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   277k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  179|   555k|            for (i = 0; i < w_len; i++) {
  ------------------
  |  Branch (179:25): [True: 277k, False: 277k]
  ------------------
  180|       |                // sprintf() writes a null byte: the buffer is large enough
  181|       |                // for that thanks to the overallocation.
  182|   277k|                assert((p + 11 - buf) <= alloc);
  ------------------
  |  Branch (182:17): [True: 277k, False: 0]
  ------------------
  183|   277k|                Py_UCS4 chr = PyUnicode_READ(kind, data, i);
  ------------------
  |  |  354|   277k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|   277k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|   277k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|   277k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|   277k|                   (index))
  ------------------
  184|   277k|                sprintf(p, "\\U%08x", chr);
  185|   277k|                p += 10;
  186|   277k|            }
  187|   277k|            Py_DECREF(w);
  ------------------
  |  |  430|   277k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   277k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   277k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  188|   277k|        }
  189|  23.7M|        else {
  190|  23.7M|            *p++ = *s++;
  191|  23.7M|        }
  192|  24.0M|    }
  193|     29|    len = (size_t)(p - buf);
  194|       |
  195|     29|    int first_invalid_escape_char;
  196|     29|    const char *first_invalid_escape_ptr;
  197|     29|    v = _PyUnicode_DecodeUnicodeEscapeInternal2(buf, (Py_ssize_t)len, NULL, NULL,
  198|     29|                                                &first_invalid_escape_char,
  199|     29|                                                &first_invalid_escape_ptr);
  200|       |
  201|       |    // HACK: later we can simply pass the line no, since we don't preserve the tokens
  202|       |    // when we are decoding the string but we preserve the line numbers.
  203|     29|    if (v != NULL && first_invalid_escape_ptr != NULL && t != NULL) {
  ------------------
  |  Branch (203:9): [True: 24, False: 5]
  |  Branch (203:22): [True: 24, False: 0]
  |  Branch (203:58): [True: 24, False: 0]
  ------------------
  204|     24|        if (warn_invalid_escape_sequence(parser, buf, first_invalid_escape_ptr, t) < 0) {
  ------------------
  |  Branch (204:13): [True: 0, False: 24]
  ------------------
  205|       |            /* We have not deallocated the buffer before because
  206|       |             * first_invalid_escape_ptr points inside buf. */
  207|      0|            PyMem_Free(buf);
  208|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  209|      0|            return NULL;
  210|      0|        }
  211|     24|    }
  212|     29|    PyMem_Free(buf);
  213|     29|    return v;
  214|     29|}
string_parser.c:decode_utf8:
  123|   277k|{
  124|   277k|    const char *s;
  125|   277k|    const char *t;
  126|   277k|    t = s = *sPtr;
  127|   949k|    while (s < end && (*s & 0x80)) {
  ------------------
  |  Branch (127:12): [True: 949k, False: 0]
  |  Branch (127:23): [True: 671k, False: 277k]
  ------------------
  128|   671k|        s++;
  129|   671k|    }
  130|   277k|    *sPtr = s;
  131|       |    return PyUnicode_DecodeUTF8(t, s - t, NULL);
  132|   277k|}
string_parser.c:warn_invalid_escape_sequence:
   14|     38|{
   15|     38|    if (p->call_invalid_rules) {
  ------------------
  |  Branch (15:9): [True: 16, False: 22]
  ------------------
   16|       |        // Do not report warnings if we are in the second pass of the parser
   17|       |        // to avoid showing the warning twice.
   18|     16|        return 0;
   19|     16|    }
   20|     22|    unsigned char c = (unsigned char)*first_invalid_escape;
   21|     22|    if ((t->type == FSTRING_MIDDLE || t->type == FSTRING_END || t->type == TSTRING_MIDDLE || t->type == TSTRING_END)
  ------------------
  |  |   76|     44|#define FSTRING_MIDDLE  60
  ------------------
                  if ((t->type == FSTRING_MIDDLE || t->type == FSTRING_END || t->type == TSTRING_MIDDLE || t->type == TSTRING_END)
  ------------------
  |  |   77|     44|#define FSTRING_END     61
  ------------------
                  if ((t->type == FSTRING_MIDDLE || t->type == FSTRING_END || t->type == TSTRING_MIDDLE || t->type == TSTRING_END)
  ------------------
  |  |   79|     44|#define TSTRING_MIDDLE  63
  ------------------
                  if ((t->type == FSTRING_MIDDLE || t->type == FSTRING_END || t->type == TSTRING_MIDDLE || t->type == TSTRING_END)
  ------------------
  |  |   80|     22|#define TSTRING_END     64
  ------------------
  |  Branch (21:10): [True: 0, False: 22]
  |  Branch (21:39): [True: 0, False: 22]
  |  Branch (21:65): [True: 0, False: 22]
  |  Branch (21:94): [True: 0, False: 22]
  ------------------
   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|     22|    int octal = ('4' <= c && c <= '7');
  ------------------
  |  Branch (28:18): [True: 8, False: 14]
  |  Branch (28:30): [True: 0, False: 8]
  ------------------
   29|     22|    PyObject *msg =
   30|     22|        octal
  ------------------
  |  Branch (30:9): [True: 0, False: 22]
  ------------------
   31|     22|        ? 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|     22|        : PyUnicode_FromFormat(
   37|     22|              "\"\\%c\" is an invalid escape sequence. "
   38|     22|              "Such sequences will not work in the future. "
   39|     22|              "Did you mean \"\\\\%c\"? A raw string is also an option.",
   40|     22|              c, c);
   41|     22|    if (msg == NULL) {
  ------------------
  |  Branch (41:9): [True: 0, False: 22]
  ------------------
   42|      0|        return -1;
   43|      0|    }
   44|     22|    PyObject *category;
   45|     22|    if (p->feature_version >= 12) {
  ------------------
  |  Branch (45:9): [True: 22, False: 0]
  ------------------
   46|     22|        category = PyExc_SyntaxWarning;
   47|     22|    }
   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|     22|    const char *start = buffer;
   54|     22|    const char *end = first_invalid_escape;
   55|     22|    int lineno = t->lineno;
   56|     22|    int col_offset = t->col_offset;
   57|    516|    while (start < end) {
  ------------------
  |  Branch (57:12): [True: 494, False: 22]
  ------------------
   58|    494|        if (*start == '\n') {
  ------------------
  |  Branch (58:13): [True: 0, False: 494]
  ------------------
   59|      0|            lineno++;
   60|      0|            col_offset = 0;
   61|      0|        }
   62|    494|        else {
   63|    494|            col_offset++;
   64|    494|        }
   65|    494|        start++;
   66|    494|    }
   67|       |
   68|       |    // Count the number of quotes in the token
   69|     22|    char first_quote = 0;
   70|     22|    if (lineno == t->lineno) {
  ------------------
  |  Branch (70:9): [True: 22, False: 0]
  ------------------
   71|     22|        int quote_count = 0;
   72|     22|        const char* tok = PyBytes_AsString(t->bytes);
   73|     38|        for (int i = 0; i < PyBytes_Size(t->bytes); i++) {
  ------------------
  |  Branch (73:25): [True: 38, False: 0]
  ------------------
   74|     38|            if (tok[i] == '\'' || tok[i] == '\"') {
  ------------------
  |  Branch (74:17): [True: 8, False: 30]
  |  Branch (74:35): [True: 8, False: 22]
  ------------------
   75|     16|                if (quote_count == 0) {
  ------------------
  |  Branch (75:21): [True: 8, False: 8]
  ------------------
   76|      8|                    first_quote = tok[i];
   77|      8|                }
   78|     16|                if (tok[i] == first_quote) {
  ------------------
  |  Branch (78:21): [True: 8, False: 8]
  ------------------
   79|      8|                    quote_count++;
   80|      8|                }
   81|     22|            } else {
   82|     22|                break;
   83|     22|            }
   84|     38|        }
   85|       |
   86|     22|        col_offset += quote_count;
   87|     22|    }
   88|       |
   89|     22|    _PyTokenizer_Info info = _PyTokenizer_GetInfo(p->tok);
   90|     22|    if (PyErr_WarnExplicitObject(category, msg, info.filename,
  ------------------
  |  Branch (90:9): [True: 0, False: 22]
  ------------------
   91|     22|                                 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|     22|    Py_DECREF(msg);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  118|     22|    return 0;
  119|     22|}
string_parser.c:decode_bytes_with_escapes:
  218|     14|{
  219|     14|    int first_invalid_escape_char;
  220|     14|    const char *first_invalid_escape_ptr;
  221|     14|    PyObject *result = _PyBytes_DecodeEscape2(s, len, NULL,
  222|     14|                                              &first_invalid_escape_char,
  223|     14|                                              &first_invalid_escape_ptr);
  224|     14|    if (result == NULL) {
  ------------------
  |  Branch (224:9): [True: 0, False: 14]
  ------------------
  225|      0|        return NULL;
  226|      0|    }
  227|       |
  228|     14|    if (first_invalid_escape_ptr != NULL) {
  ------------------
  |  Branch (228:9): [True: 14, False: 0]
  ------------------
  229|     14|        if (warn_invalid_escape_sequence(p, s, first_invalid_escape_ptr, t) < 0) {
  ------------------
  |  Branch (229:13): [True: 0, False: 14]
  ------------------
  230|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  231|      0|            return NULL;
  232|      0|        }
  233|     14|    }
  234|     14|    return result;
  235|     14|}

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

_PyTokenizer_GetInfo:
   11|    101|{
   12|    101|    _PyTokenizer_Info info = {
   13|    101|        .status = tok->done,
   14|    101|        .diagnostic = tok->diagnostic,
   15|    101|        .location = {tok->lineno, tok->line_start < 0
  ------------------
  |  Branch (15:35): [True: 0, False: 101]
  ------------------
   16|    101|            ? -1 : (int)(tok->cur - tok->line_start)},
   17|    101|        .cursor = tok->cur,
   18|    101|        .input_span = {tok->buf_offset, tok->inp},
   19|    101|        .line_span = {tok->line_start, tok->inp},
   20|    101|        .level = tok->level,
   21|    101|        .delimiter_loc = {-1, -1},
   22|    101|        .in_formatted_string = tok->ftstring_depth != 0,
   23|    101|        .is_interactive = _PyTok_ReaderIsInteractive(tok),
   24|    101|        .is_file = tok->fp != NULL && tok->fp != stdin,
  ------------------
  |  Branch (24:20): [True: 0, False: 101]
  |  Branch (24:39): [True: 0, False: 0]
  ------------------
   25|    101|        .filename = tok->filename,
   26|    101|        .module = tok->module,
   27|    101|        .encoding = tok->encoding,
   28|    101|    };
   29|    101|    if (tok->level > 0) {
  ------------------
  |  Branch (29:9): [True: 44, False: 57]
  ------------------
   30|     44|        int level = tok->level - 1;
   31|     44|        info.delimiter = tok->parenstack[level];
   32|     44|        info.delimiter_loc = (_PyTok_Loc){
   33|     44|            tok->parenlinenostack[level], tok->parencolstack[level]};
   34|     44|    }
   35|    101|    return info;
   36|    101|}
_PyToken_TextView:
   41|  4.76k|{
   42|  4.76k|    assert(length != NULL);
  ------------------
  |  Branch (42:5): [True: 4.76k, False: 0]
  ------------------
   43|  4.76k|    if (token->span.start < 0) {
  ------------------
  |  Branch (43:9): [True: 27, False: 4.73k]
  ------------------
   44|     27|        assert(token->span.start == -1 && token->span.end == -1);
  ------------------
  |  Branch (44:9): [True: 27, False: 0]
  |  Branch (44:9): [True: 27, False: 0]
  ------------------
   45|     27|        *length = 0;
   46|     27|        return "";
   47|     27|    }
   48|  4.73k|    return _PyLexer_BufferSpanView(tok, token->span, length);
   49|  4.76k|}
_PyTokenizer_SpanView:
   54|     15|{
   55|     15|    return _PyLexer_BufferSpanView(tok, span, length);
   56|     15|}
_PyTokenizer_SetContext:
   90|     39|{
   91|     39|    Py_XINCREF(filename);
  ------------------
  |  |  514|     39|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     39|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     39|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   92|     39|    Py_XINCREF(module);
  ------------------
  |  |  514|     39|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     39|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     39|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   93|     39|    Py_XSETREF(tok->filename, filename);
  ------------------
  |  |  376|     39|    do { \
  |  |  377|     39|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|     39|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|     39|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|     39|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|     39|        *_tmp_dst_ptr = (src); \
  |  |  380|     39|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|     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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|     39|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 39]
  |  |  ------------------
  ------------------
   94|     39|    Py_XSETREF(tok->module, module);
  ------------------
  |  |  376|     39|    do { \
  |  |  377|     39|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|     39|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|     39|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|     39|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|     39|        *_tmp_dst_ptr = (src); \
  |  |  380|     39|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|     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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|     39|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 39]
  |  |  ------------------
  ------------------
   95|     39|}
_PyTokenizer_SetOptions:
  100|     39|{
  101|     39|    tok->tok_extra_tokens = extra_tokens;
  102|     39|    tok->type_comments = type_comments;
  103|     39|}
_PyTokenizer_IsInteractive:
  134|     14|{
  135|     14|    return _PyTok_ReaderIsInteractive(tok);
  136|     14|}
_PyTokenizer_StopInteractive:
  140|     21|{
  141|     21|    _PyTok_ReaderStopInteractive(tok);
  142|     21|}

_PyTok_CopyBytes:
   13|     39|{
   14|     39|    if (len < 0 || len == PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|     39|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (14:9): [True: 0, False: 39]
  |  Branch (14:20): [True: 0, False: 39]
  ------------------
   15|      0|        PyErr_NoMemory();
   16|      0|        return NULL;
   17|      0|    }
   18|     39|    char *copy = PyMem_Malloc((size_t)len + 1);
   19|     39|    if (copy == NULL) {
  ------------------
  |  Branch (19:9): [True: 0, False: 39]
  ------------------
   20|      0|        PyErr_NoMemory();
   21|      0|        return NULL;
   22|      0|    }
   23|     39|    memcpy(copy, data, (size_t)len);
   24|     39|    copy[len] = '\0';
   25|     39|    return copy;
   26|     39|}
_PyTok_ChunkClear:
   45|    156|{
   46|    156|    chunk_release_data(chunk);
   47|    156|    *chunk = (_PyTok_Chunk){0};
   48|    156|}
_PyTok_SetEncoding:
  132|     39|{
  133|     39|    char *copy = _PyTok_CopyBytes(encoding, strlen(encoding));
  134|     39|    if (copy == NULL) {
  ------------------
  |  Branch (134:9): [True: 0, False: 39]
  ------------------
  135|      0|        tok->done = E_NOMEM;
  ------------------
  |  |   27|      0|#define E_NOMEM          15      /* Ran out of memory */
  ------------------
  136|      0|        return -1;
  137|      0|    }
  138|     39|    PyMem_Free(tok->encoding);
  139|     39|    tok->encoding = copy;
  140|     39|    return 0;
  141|     39|}
_PyTok_PrepareString:
  375|     39|{
  376|     39|    Py_ssize_t raw_len = strlen(input);
  377|     39|    char *raw = (char *)input;
  378|       |
  379|     39|    if (utf8_only) {
  ------------------
  |  Branch (379:9): [True: 39, False: 0]
  ------------------
  380|     39|        if (_PyTok_SetEncoding(tok, "utf-8") < 0) {
  ------------------
  |  Branch (380:13): [True: 0, False: 39]
  ------------------
  381|      0|            return -1;
  382|      0|        }
  383|     39|    }
  384|      0|    else {
  385|      0|        Py_ssize_t first_original_len = raw_line_length(raw, raw_len);
  386|      0|        _PyTok_Chunk first = {
  387|      0|            .data = raw,
  388|      0|            .len = first_original_len,
  389|      0|            .ownership = _PYTOK_CHUNK_BORROWED,
  390|      0|        };
  391|      0|        _PyTok_Chunk second = {0};
  392|      0|        int have_second = first_original_len < raw_len;
  393|      0|        if (have_second) {
  ------------------
  |  Branch (393:13): [True: 0, False: 0]
  ------------------
  394|      0|            second.data = raw + first_original_len;
  395|      0|            second.len = raw_line_length(second.data,
  396|      0|                                         raw_len - first_original_len);
  397|      0|        }
  398|      0|        Py_ssize_t bom_len;
  399|      0|        _PyTok_EncodingResult detection = _PyTok_DetectEncoding(
  400|      0|            tok, &first, have_second ? &second : NULL, 1, &bom_len);
  ------------------
  |  Branch (400:26): [True: 0, False: 0]
  ------------------
  401|      0|        if (detection == _PYTOK_ENCODING_ERROR) {
  ------------------
  |  Branch (401:13): [True: 0, False: 0]
  ------------------
  402|      0|            return -1;
  403|      0|        }
  404|      0|        raw += bom_len;
  405|      0|        raw_len -= bom_len;
  406|      0|    }
  407|       |
  408|     39|    _PyTok_Chunk decoded = {
  409|     39|        .data = raw,
  410|     39|        .len = raw_len,
  411|     39|        .ownership = _PYTOK_CHUNK_BORROWED,
  412|     39|    };
  413|     39|    if (tok->encoding != NULL && strcmp(tok->encoding, "utf-8") != 0) {
  ------------------
  |  Branch (413:9): [True: 39, False: 0]
  |  Branch (413:34): [True: 0, False: 39]
  ------------------
  414|      0|        if (_PyTok_DecodeOnce(
  ------------------
  |  Branch (414:13): [True: 0, False: 0]
  ------------------
  415|      0|                tok, &decoded, tok->encoding, NULL) < 0) {
  416|      0|            return -1;
  417|      0|        }
  418|      0|    }
  419|       |
  420|     39|    int stored = store_prepared_source(
  421|     39|        tok, decoded.data, decoded.len, preserve_crlf, exec_input);
  422|     39|    _PyTok_ChunkClear(&decoded);
  423|     39|    if (stored < 0) {
  ------------------
  |  Branch (423:9): [True: 0, False: 39]
  ------------------
  424|      0|        return -1;
  425|      0|    }
  426|     39|    if (!utf8_only &&
  ------------------
  |  Branch (426:9): [True: 0, False: 39]
  ------------------
  427|      0|            (tok->encoding == NULL || strcmp(tok->encoding, "utf-8") == 0) &&
  ------------------
  |  Branch (427:14): [True: 0, False: 0]
  |  Branch (427:39): [True: 0, False: 0]
  ------------------
  428|      0|            !_PyTokenizer_ensure_utf8(_PyTok_SourceData(&tok->source), tok, 1)) {
  ------------------
  |  Branch (428:13): [True: 0, False: 0]
  ------------------
  429|      0|        return -1;
  430|      0|    }
  431|     39|    return 0;
  432|     39|}
decoder.c:chunk_release_data:
   30|    156|{
   31|    156|    switch (chunk->ownership) {
  ------------------
  |  Branch (31:13): [True: 156, False: 0]
  ------------------
   32|    156|        case _PYTOK_CHUNK_BORROWED:
  ------------------
  |  Branch (32:9): [True: 156, False: 0]
  ------------------
   33|    156|            break;
   34|      0|        case _PYTOK_CHUNK_PYMEM:
  ------------------
  |  Branch (34:9): [True: 0, False: 156]
  ------------------
   35|      0|            PyMem_Free(chunk->data);
   36|      0|            break;
   37|      0|        case _PYTOK_CHUNK_PYOBJECT:
  ------------------
  |  Branch (37:9): [True: 0, False: 156]
  ------------------
   38|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   39|      0|            break;
   40|    156|    }
   41|    156|}
decoder.c:normalize_newlines_into:
   81|     48|{
   82|     48|    Py_ssize_t write = 0;
   83|     48|    if (preserve_crlf || memchr(data, '\r', len) == NULL) {
  ------------------
  |  Branch (83:9): [True: 0, False: 48]
  |  Branch (83:26): [True: 0, False: 48]
  ------------------
   84|       |        // No translation needed: copy verbatim.
   85|      0|        memcpy(result, data, len);
   86|      0|        write = len;
   87|      0|    }
   88|     48|    else {
   89|  8.36M|        for (Py_ssize_t read = 0; read < len; read++) {
  ------------------
  |  Branch (89:35): [True: 8.36M, False: 48]
  ------------------
   90|  8.36M|            char c = data[read];
   91|  8.36M|            if (c == '\r') {
  ------------------
  |  Branch (91:17): [True: 48, False: 8.36M]
  ------------------
   92|     48|                if (read + 1 < len && data[read + 1] == '\n') {
  ------------------
  |  Branch (92:21): [True: 16, False: 32]
  |  Branch (92:39): [True: 16, False: 0]
  ------------------
   93|     16|                    read++;
   94|     16|                }
   95|     48|                c = '\n';
   96|     48|            }
   97|  8.36M|            result[write++] = c;
   98|  8.36M|        }
   99|     48|    }
  100|     48|    int implicit = add_final_newline && write > 0 && result[write - 1] != '\n';
  ------------------
  |  Branch (100:20): [True: 0, False: 48]
  |  Branch (100:41): [True: 0, False: 0]
  |  Branch (100:54): [True: 0, False: 0]
  ------------------
  101|     48|    if (implicit) {
  ------------------
  |  Branch (101:9): [True: 0, False: 48]
  ------------------
  102|      0|        result[write++] = '\n';
  103|      0|    }
  104|     48|    result[write] = '\0';
  105|     48|    *out_len = write;
  106|     48|    if (implicit_newline != NULL) {
  ------------------
  |  Branch (106:9): [True: 48, False: 0]
  ------------------
  107|     48|        *implicit_newline = implicit;
  108|     48|    }
  109|     48|}
decoder.c:raw_line_length:
  296|     87|{
  297|  37.0M|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (297:28): [True: 37.0M, False: 39]
  ------------------
  298|  37.0M|        if (data[i] == '\n') {
  ------------------
  |  Branch (298:13): [True: 0, False: 37.0M]
  ------------------
  299|      0|            return i + 1;
  300|      0|        }
  301|  37.0M|        if (data[i] == '\r') {
  ------------------
  |  Branch (301:13): [True: 48, False: 37.0M]
  ------------------
  302|     48|            return i + 1 < len && data[i + 1] == '\n' ? i + 2 : i + 1;
  ------------------
  |  Branch (302:20): [True: 48, False: 0]
  |  Branch (302:35): [True: 16, False: 32]
  ------------------
  303|     48|        }
  304|  37.0M|    }
  305|     39|    return len;
  306|     87|}
decoder.c:store_prepared_source:
  311|     39|{
  312|     39|    Py_ssize_t pos = 0;
  313|       |    // SourceAppendLine copies the bytes, so reuse this buffer for each line.
  314|     39|    char *normalized = NULL;
  315|     39|    Py_ssize_t capacity = 0;
  316|    126|    while (pos < len) {
  ------------------
  |  Branch (316:12): [True: 87, False: 39]
  ------------------
  317|     87|        Py_ssize_t raw_line_len;
  318|     87|        if (preserve_crlf) {
  ------------------
  |  Branch (318:13): [True: 0, False: 87]
  ------------------
  319|      0|            const char *newline = memchr(data + pos, '\n', len - pos);
  320|      0|            raw_line_len = newline == NULL
  ------------------
  |  Branch (320:28): [True: 0, False: 0]
  ------------------
  321|      0|                ? len - pos : newline - data - pos + 1;
  322|      0|        }
  323|     87|        else {
  324|     87|            raw_line_len = raw_line_length(data + pos, len - pos);
  325|     87|        }
  326|     87|        int terminated = preserve_crlf
  ------------------
  |  Branch (326:26): [True: 0, False: 87]
  ------------------
  327|     87|            ? data[pos + raw_line_len - 1] == '\n'
  328|     87|            : data[pos + raw_line_len - 1] == '\n' ||
  ------------------
  |  Branch (328:15): [True: 16, False: 71]
  ------------------
  329|     71|              data[pos + raw_line_len - 1] == '\r';
  ------------------
  |  Branch (329:15): [True: 32, False: 39]
  ------------------
  330|     87|        int add_newline = add_final_newline &&
  ------------------
  |  Branch (330:27): [True: 0, False: 87]
  ------------------
  331|      0|            pos + raw_line_len == len && !terminated;
  ------------------
  |  Branch (331:13): [True: 0, False: 0]
  |  Branch (331:42): [True: 0, False: 0]
  ------------------
  332|     87|        int normalize = add_newline ||
  ------------------
  |  Branch (332:25): [True: 0, False: 87]
  ------------------
  333|     87|            (!preserve_crlf &&
  ------------------
  |  Branch (333:14): [True: 87, False: 0]
  ------------------
  334|     87|             memchr(data + pos, '\r', raw_line_len) != NULL);
  ------------------
  |  Branch (334:14): [True: 48, False: 39]
  ------------------
  335|       |
  336|     87|        const char *line = data + pos;
  337|     87|        Py_ssize_t line_len = raw_line_len;
  338|     87|        int implicit = 0;
  339|     87|        if (normalize) {
  ------------------
  |  Branch (339:13): [True: 48, False: 39]
  ------------------
  340|     48|            if (line_len > PY_SSIZE_T_MAX - 2) {
  ------------------
  |  |  137|     48|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (340:17): [True: 0, False: 48]
  ------------------
  341|      0|                PyErr_NoMemory();
  342|      0|                tok->done = E_NOMEM;
  ------------------
  |  |   27|      0|#define E_NOMEM          15      /* Ran out of memory */
  ------------------
  343|      0|                goto error;
  344|      0|            }
  345|       |            // Reserve space for an optional final '\n' and the NUL terminator.
  346|     48|            Py_ssize_t needed = line_len + 2;
  347|     48|            if (_PyTok_ReserveBuffer(&normalized, &capacity, needed, 256) < 0) {
  ------------------
  |  Branch (347:17): [True: 0, False: 48]
  ------------------
  348|      0|                tok->done = E_NOMEM;
  ------------------
  |  |   27|      0|#define E_NOMEM          15      /* Ran out of memory */
  ------------------
  349|      0|                goto error;
  350|      0|            }
  351|     48|            normalize_newlines_into(normalized, line, line_len,
  352|     48|                                    preserve_crlf, add_newline,
  353|     48|                                    &line_len, &implicit);
  354|     48|            line = normalized;
  355|     48|        }
  356|     87|        _PyTok_Off appended = _PyTok_SourceAppendLine(
  357|     87|            &tok->source, line, line_len, implicit);
  358|     87|        if (appended < 0) {
  ------------------
  |  Branch (358:13): [True: 0, False: 87]
  ------------------
  359|      0|            tok->done = PyErr_ExceptionMatches(PyExc_MemoryError)
  ------------------
  |  Branch (359:25): [True: 0, False: 0]
  ------------------
  360|      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 */
  ------------------
  361|      0|            goto error;
  362|      0|        }
  363|     87|        pos += raw_line_len;
  364|     87|    }
  365|     39|    PyMem_Free(normalized);
  366|     39|    return 0;
  367|      0|error:
  368|      0|    PyMem_Free(normalized);
  369|      0|    return -1;
  370|     39|}

_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(tok, _PyLexer_BufferPointer(tok, tok->line_start),
   95|      8|                                 tok->cur - tok->line_start, tok->lineno,
   96|      8|                                 format, -1, -1, vargs);
   97|       |    va_end(vargs);
   98|      8|    return ret;
   99|      8|}
_PyTokenizer_syntaxerror_at:
  120|     10|{
  121|     10|    va_list vargs;
  122|     10|    va_start(vargs, format);
  123|     10|    int ret = _syntaxerror_range(tok, line, cursor, lineno, format,
  124|     10|                                col_offset, end_col_offset, vargs);
  125|       |    va_end(vargs);
  126|     10|    return ret;
  127|     10|}
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: 18, False: 0]
  ------------------
   51|     18|        col_offset = (int)PyUnicode_GET_LENGTH(errtext);
  ------------------
  |  |  299|     18|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   52|     18|    }
   53|      0|    else if (col_offset > 0) {
  ------------------
  |  Branch (53:14): [True: 0, False: 0]
  ------------------
   54|      0|        col_offset = byte_col_to_char_col(line, col_offset);
   55|      0|    }
   56|     18|    if (end_col_offset == -1) {
  ------------------
  |  Branch (56:9): [True: 18, False: 0]
  ------------------
   57|     18|        end_col_offset = col_offset;
   58|     18|    }
   59|      0|    else if (end_col_offset > 0) {
  ------------------
  |  Branch (59:14): [True: 0, False: 0]
  ------------------
   60|      0|        end_col_offset = byte_col_to_char_col(line, end_col_offset);
   61|      0|    }
   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);
  ------------------
  |  |  524|     18|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   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|}

_PyTok_ReaderFree:
   23|     39|{
   24|     39|    _PyTok_Reader *reader = tok->reader;
   25|     39|    if (reader == NULL) {
  ------------------
  |  Branch (25:9): [True: 0, False: 39]
  ------------------
   26|      0|        return;
   27|      0|    }
   28|     39|    Py_XDECREF(reader->readline);
  ------------------
  |  |  524|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   29|     39|    Py_XDECREF(reader->decoder);
  ------------------
  |  |  524|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   30|     39|    for (int i = 0;
   31|    117|         i < (int)Py_ARRAY_LENGTH(reader->prefetched_lines); i++) {
  ------------------
  |  |  221|    117|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (31:10): [True: 78, False: 39]
  ------------------
   32|     78|        _PyTok_ChunkClear(&reader->prefetched_lines[i]);
   33|     78|    }
   34|     39|    PyMem_Free(reader->file_buffer);
   35|     39|    PyMem_Free(reader->decoded);
   36|     39|    PyMem_Free(reader);
   37|       |    tok->reader = NULL;
   38|     39|}
_PyTok_ReserveBuffer:
   43|     48|{
   44|     48|    assert(initial_capacity > 0);
  ------------------
  |  Branch (44:5): [True: 48, False: 0]
  ------------------
   45|     48|    if (needed <= *capacity) {
  ------------------
  |  Branch (45:9): [True: 40, False: 8]
  ------------------
   46|     40|        return 0;
   47|     40|    }
   48|       |    // Grow geometrically to avoid reallocating for every longer line.
   49|      8|    Py_ssize_t cap = *capacity > 0 ? *capacity : initial_capacity;
  ------------------
  |  Branch (49:22): [True: 0, False: 8]
  ------------------
   50|    104|    while (cap < needed) {
  ------------------
  |  Branch (50:12): [True: 96, False: 8]
  ------------------
   51|     96|        if (cap > PY_SSIZE_T_MAX / 2) {
  ------------------
  |  |  137|     96|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (51:13): [True: 0, False: 96]
  ------------------
   52|      0|            cap = needed;
   53|      0|            break;
   54|      0|        }
   55|     96|        cap *= 2;
   56|     96|    }
   57|      8|    char *resized = PyMem_Realloc(*buffer, cap);
   58|      8|    if (resized == NULL) {
  ------------------
  |  Branch (58:9): [True: 0, False: 8]
  ------------------
   59|      0|        PyErr_NoMemory();
   60|      0|        return -1;
   61|      0|    }
   62|      8|    *buffer = resized;
   63|      8|    *capacity = cap;
   64|      8|    return 0;
   65|      8|}
_PyTok_ReaderIsInteractive:
  521|    136|{
  522|    136|    return tok->reader->kind == _PYTOK_READER_INTERACTIVE;
  523|    136|}
_PyTokenizer_RetainedSource:
  527|     21|{
  528|     21|    if (tok->reader->kind == _PYTOK_READER_PREPARED) {
  ------------------
  |  Branch (528:9): [True: 21, False: 0]
  ------------------
  529|     21|        return _PyTok_SourceData(&tok->source);
  530|     21|    }
  531|      0|    if (tok->reader->kind == _PYTOK_READER_INTERACTIVE) {
  ------------------
  |  Branch (531:9): [True: 0, False: 0]
  ------------------
  532|      0|        return tok->source.bytes;
  533|      0|    }
  534|      0|    return NULL;
  535|      0|}
_PyTok_ReaderStopInteractive:
  539|     21|{
  540|     21|    if (_PyTok_ReaderIsInteractive(tok)) {
  ------------------
  |  Branch (540:9): [True: 0, False: 21]
  ------------------
  541|      0|        tok->reader->stop_interactive = 1;
  542|      0|    }
  543|     21|}
_PyTok_ReaderUnderflow:
  574|     68|{
  575|     68|    assert(tok->cur >= tok->buf_offset && tok->cur <= tok->inp);
  ------------------
  |  Branch (575:5): [True: 68, False: 0]
  |  Branch (575:5): [True: 68, False: 0]
  ------------------
  576|     68|    _PyTok_ReaderKind kind = tok->reader->kind;
  577|     68|    int prepared = kind == _PYTOK_READER_PREPARED;
  578|     68|    int streaming = reader_is_streaming(kind);
  579|     68|    int reset_buffer = !prepared && tok->start < 0 &&
  ------------------
  |  Branch (579:24): [True: 0, False: 68]
  |  Branch (579:37): [True: 0, False: 0]
  ------------------
  580|      0|        _PyLexer_CurrentFTString(tok) == NULL;
  ------------------
  |  Branch (580:9): [True: 0, False: 0]
  ------------------
  581|       |
  582|     68|    _PyTok_Chunk chunk;
  583|     68|    _PyTok_ReadResult result = reader_next(tok, &chunk);
  584|     68|    if (result != _PYTOK_READ_LINE) {
  ------------------
  |  Branch (584:9): [True: 29, False: 39]
  ------------------
  585|     29|        if (reset_buffer && streaming) {
  ------------------
  |  Branch (585:13): [True: 0, False: 29]
  |  Branch (585:29): [True: 0, False: 0]
  ------------------
  586|      0|            reset_streaming_buffer(tok);
  587|      0|        }
  588|     29|        if (result == _PYTOK_READ_EOF) {
  ------------------
  |  Branch (588:13): [True: 29, False: 0]
  ------------------
  589|     29|            tok->done = E_EOF;
  ------------------
  |  |   23|     29|#define E_EOF            11      /* End Of File */
  ------------------
  590|     29|        }
  591|      0|        else if (result == _PYTOK_READ_STOPPED) {
  ------------------
  |  Branch (591:18): [True: 0, False: 0]
  ------------------
  592|      0|            tok->done = E_INTERACT_STOP;
  ------------------
  |  |   39|      0|#define E_INTERACT_STOP  28      /* Interactive mode stopped tokenization */
  ------------------
  593|      0|        }
  594|      0|        else if (result == _PYTOK_READ_INTERRUPT) {
  ------------------
  |  Branch (594:18): [True: 0, False: 0]
  ------------------
  595|      0|            tok->done = E_INTR;
  ------------------
  |  |   24|      0|#define E_INTR           12      /* Interrupted */
  ------------------
  596|      0|        }
  597|      0|        else {
  598|      0|            if (tok->done == E_OK) {
  ------------------
  |  |   22|      0|#define E_OK             10      /* No error */
  ------------------
  |  Branch (598:17): [True: 0, False: 0]
  ------------------
  599|      0|                tok->done = PyErr_ExceptionMatches(PyExc_MemoryError)
  ------------------
  |  Branch (599:29): [True: 0, False: 0]
  ------------------
  600|      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 */
  ------------------
  601|      0|            }
  602|      0|        }
  603|     29|        if (kind == _PYTOK_READER_INTERACTIVE &&
  ------------------
  |  Branch (603:13): [True: 0, False: 29]
  ------------------
  604|      0|                result != _PYTOK_READ_STOPPED) {
  ------------------
  |  Branch (604:17): [True: 0, False: 0]
  ------------------
  605|      0|            PySys_WriteStderr("\n");
  606|      0|        }
  607|     29|        return 0;
  608|     29|    }
  609|     39|    if (tok->lineno == INT_MAX) {
  ------------------
  |  Branch (609:9): [True: 0, False: 39]
  ------------------
  610|      0|        PyErr_SetString(PyExc_OverflowError, "too many tokenizer source lines");
  611|      0|        tok->done = E_ERROR;
  ------------------
  |  |   29|      0|#define E_ERROR          17      /* Execution error */
  ------------------
  612|      0|        _PyTok_ChunkClear(&chunk);
  613|      0|        return 0;
  614|      0|    }
  615|       |
  616|     39|    if (!prepared) {
  ------------------
  |  Branch (616:9): [True: 0, False: 39]
  ------------------
  617|      0|        if (streaming && reset_buffer) {
  ------------------
  |  Branch (617:13): [True: 0, False: 0]
  |  Branch (617:26): [True: 0, False: 0]
  ------------------
  618|      0|            reset_streaming_buffer(tok);
  619|      0|        }
  620|      0|        _PyTok_Off source_start = _PyTok_SourceAppendLine(
  621|      0|            &tok->source, chunk.data, chunk.len,
  622|      0|            chunk.implicit_newline);
  623|      0|        if (source_start < 0) {
  ------------------
  |  Branch (623:13): [True: 0, False: 0]
  ------------------
  624|      0|            _PyTok_ChunkClear(&chunk);
  625|      0|            tok->done = PyErr_ExceptionMatches(PyExc_MemoryError)
  ------------------
  |  Branch (625:25): [True: 0, False: 0]
  ------------------
  626|      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 */
  ------------------
  627|      0|            return 0;
  628|      0|        }
  629|      0|        if (reset_buffer) {
  ------------------
  |  Branch (629:13): [True: 0, False: 0]
  ------------------
  630|      0|            tok->cur = source_start;
  631|      0|            tok->buf_offset = source_start;
  632|      0|            tok->line_start = tok->buf_offset;
  633|      0|            tok->start = -1;
  634|      0|        }
  635|      0|        tok->inp = source_start + chunk.len;
  636|      0|    }
  637|     39|    if (prepared) {
  ------------------
  |  Branch (637:9): [True: 39, False: 0]
  ------------------
  638|     39|        if (tok->start < 0 && _PyLexer_CurrentFTString(tok) == NULL) {
  ------------------
  |  Branch (638:13): [True: 39, False: 0]
  |  Branch (638:31): [True: 39, False: 0]
  ------------------
  639|     39|            tok->buf_offset = tok->source.base_offset +
  640|     39|                (chunk.data - tok->source.bytes);
  641|     39|        }
  642|     39|        tok->inp = _PyLexer_BufferOffset(tok, chunk.data) + chunk.len;
  643|     39|    }
  644|     39|    tok->implicit_newline = chunk.implicit_newline;
  645|       |
  646|     39|    tok->lineno++;
  647|     39|    if (kind == _PYTOK_READER_FILE &&
  ------------------
  |  Branch (647:9): [True: 0, False: 39]
  ------------------
  648|      0|            (tok->encoding == NULL || strcmp(tok->encoding, "utf-8") == 0) &&
  ------------------
  |  Branch (648:14): [True: 0, False: 0]
  |  Branch (648:39): [True: 0, False: 0]
  ------------------
  649|      0|            !_PyTokenizer_ensure_utf8(_PyLexer_BufferPointer(tok, tok->cur), tok, tok->lineno)) {
  ------------------
  |  Branch (649:13): [True: 0, False: 0]
  ------------------
  650|      0|        _PyTok_ChunkClear(&chunk);
  651|      0|        return 0;
  652|      0|    }
  653|     39|    _PyTok_ChunkClear(&chunk);
  654|     39|    return 1;
  655|     39|}
_PyTokenizer_FromUTF8:
  718|     39|{
  719|     39|    return tokenizer_from_string(input, 1, exec_input, preserve_crlf);
  720|     39|}
reader.c:reader_is_streaming:
   17|     68|{
   18|     68|    return kind == _PYTOK_READER_FILE || kind == _PYTOK_READER_READLINE;
  ------------------
  |  Branch (18:12): [True: 0, False: 68]
  |  Branch (18:42): [True: 0, False: 68]
  ------------------
   19|     68|}
reader.c:reader_next:
  547|     68|{
  548|     68|    *chunk = (_PyTok_Chunk){0};
  549|     68|    switch (tok->reader->kind) {
  ------------------
  |  Branch (549:13): [True: 68, False: 0]
  ------------------
  550|     68|        case _PYTOK_READER_PREPARED:
  ------------------
  |  Branch (550:9): [True: 68, False: 0]
  ------------------
  551|     68|            return next_prepared(tok, chunk);
  552|      0|        case _PYTOK_READER_FILE:
  ------------------
  |  Branch (552:9): [True: 0, False: 68]
  ------------------
  553|      0|            return next_file(tok, chunk);
  554|      0|        case _PYTOK_READER_READLINE:
  ------------------
  |  Branch (554:9): [True: 0, False: 68]
  ------------------
  555|      0|            return next_readline(tok, chunk);
  556|      0|        case _PYTOK_READER_INTERACTIVE:
  ------------------
  |  Branch (556:9): [True: 0, False: 68]
  ------------------
  557|      0|            return next_interactive(tok, chunk);
  558|     68|    }
  559|      0|    Py_UNREACHABLE();
  ------------------
  |  |  289|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  560|     68|}
reader.c:next_prepared:
  141|     68|{
  142|     68|    if (tok->lineno >= tok->source.nlines) {
  ------------------
  |  Branch (142:9): [True: 29, False: 39]
  ------------------
  143|     29|        return _PYTOK_READ_EOF;
  144|     29|    }
  145|     39|    int lineno = tok->lineno + 1;
  146|     39|    const char *start = _PyLexer_BufferPointer(tok, tok->inp);
  147|     39|    const char *newline = memchr(
  148|     39|        start, '\n', tok->source.bytes + tok->source.len - start);
  149|     39|    _PyTok_Off end = newline != NULL
  ------------------
  |  Branch (149:22): [True: 8, False: 31]
  ------------------
  150|     39|        ? newline - tok->source.bytes + 1 : tok->source.len;
  151|     39|    chunk->data = (char *)start;
  152|     39|    chunk->len = tok->source.bytes + end - start;
  153|     39|    chunk->ownership = _PYTOK_CHUNK_BORROWED;
  154|     39|    chunk->implicit_newline = _PyTok_SourceLineIsImplicit(
  155|     39|        &tok->source, lineno);
  156|     39|    return _PYTOK_READ_LINE;
  157|     68|}
reader.c:tokenizer_from_string:
  695|     39|{
  696|     39|    struct tok_state *tok = tokenizer_new_with_reader(_PYTOK_READER_PREPARED);
  697|     39|    if (tok == NULL) {
  ------------------
  |  Branch (697:9): [True: 0, False: 39]
  ------------------
  698|      0|        return NULL;
  699|      0|    }
  700|     39|    if (_PyTok_PrepareString(
  ------------------
  |  Branch (700:9): [True: 0, False: 39]
  ------------------
  701|     39|            tok, input, utf8_only, exec_input, preserve_crlf) < 0) {
  702|      0|        _PyTokenizer_Free(tok);
  703|      0|        return NULL;
  704|      0|    }
  705|     39|    tok->cur = tok->inp = tok->source.base_offset;
  706|     39|    tok->line_start = tok->source.base_offset;
  707|     39|    return tok;
  708|     39|}
reader.c:tokenizer_new_with_reader:
  659|     39|{
  660|     39|    struct tok_state *tok = PyMem_Calloc(1, sizeof(*tok));
  661|     39|    if (tok == NULL) {
  ------------------
  |  Branch (661:9): [True: 0, False: 39]
  ------------------
  662|      0|        PyErr_NoMemory();
  663|      0|        return NULL;
  664|      0|    }
  665|     39|    tok->start = tok->line_start = -1;
  666|     39|    _PyTok_SourceInit(&tok->source);
  667|     39|    tok->done = E_OK;
  ------------------
  |  |   22|     39|#define E_OK             10      /* No error */
  ------------------
  668|     39|    tok->layout.at_bol = 1;
  669|     39|    tok->start_loc = (_PyTok_Loc){-1, -1};
  670|     39|    tok->ftstring_stack = tok->ftstring_stack_inline;
  671|     39|    tok->ftstring_capacity = FTSTRING_STACK_INLINE_CAPACITY;
  ------------------
  |  |   11|     39|#define FTSTRING_STACK_INLINE_CAPACITY 1
  ------------------
  672|       |#ifdef Py_DEBUG
  673|       |    tok->debug = _Py_GetConfig()->parser_debug;
  674|       |#endif
  675|     39|    tok->reader = PyMem_Calloc(1, sizeof(*tok->reader));
  676|     39|    if (tok->reader == NULL) {
  ------------------
  |  Branch (676:9): [True: 0, False: 39]
  ------------------
  677|      0|        PyErr_NoMemory();
  678|      0|        _PyTokenizer_Free(tok);
  679|      0|        return NULL;
  680|      0|    }
  681|     39|    tok->reader->kind = kind;
  682|     39|    if (kind == _PYTOK_READER_PREPARED) {
  ------------------
  |  Branch (682:9): [True: 39, False: 0]
  ------------------
  683|     39|        return tok;
  684|     39|    }
  685|      0|    if (reader_is_streaming(kind)) {
  ------------------
  |  Branch (685:9): [True: 0, False: 0]
  ------------------
  686|      0|        tok->cur = tok->inp = tok->source.base_offset;
  687|      0|        tok->line_start = tok->buf_offset;
  688|      0|    }
  689|      0|    return tok;
  690|     39|}

_PyTok_SourceInit:
    7|     78|{
    8|     78|    *source = (_PyTok_SourceText){0};
    9|     78|}
_PyTok_SourceClear:
   13|     39|{
   14|     39|    PyMem_Free(source->bytes);
   15|     39|    PyMem_Free(source->implicit_lines);
   16|     39|    _PyTok_SourceInit(source);
   17|     39|}
_PyTok_SourceAppendLine:
  127|     87|{
  128|     87|    if (validate_line(source, bytes, len, implicit_newline) < 0) {
  ------------------
  |  Branch (128:9): [True: 0, False: 87]
  ------------------
  129|      0|        return -1;
  130|      0|    }
  131|     87|    if (source->len > PY_SSIZE_T_MAX - len - 1 ||
  ------------------
  |  |  137|     87|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (131:9): [True: 0, False: 87]
  ------------------
  132|     87|            source->base_offset > PY_SSIZE_T_MAX - source->len - len) {
  ------------------
  |  |  137|     87|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (132:13): [True: 0, False: 87]
  ------------------
  133|      0|        PyErr_NoMemory();
  134|      0|        return -1;
  135|      0|    }
  136|     87|    int nlines = source->nlines + 1;
  137|     87|    if ((implicit_newline && reserve_implicit_lines(source, nlines) < 0) ||
  ------------------
  |  Branch (137:10): [True: 0, False: 87]
  |  Branch (137:30): [True: 0, False: 0]
  ------------------
  138|     87|            reserve_bytes(source, source->len + len + 1) < 0) {
  ------------------
  |  Branch (138:13): [True: 0, False: 87]
  ------------------
  139|      0|        return -1;
  140|      0|    }
  141|       |
  142|     87|    _PyTok_Off start = source->len;
  143|     87|    memcpy(source->bytes + start, bytes, len);
  144|     87|    source->len += len;
  145|     87|    source->bytes[source->len] = '\0';
  146|     87|    if (implicit_newline) {
  ------------------
  |  Branch (146:9): [True: 0, False: 87]
  ------------------
  147|      0|        source->implicit_lines[(nlines - 1) / 8] |=
  148|      0|            (unsigned char)(1U << ((nlines - 1) & 7));
  149|      0|    }
  150|     87|    source->nlines = nlines;
  151|     87|    return source->base_offset + start;
  152|     87|}
_PyTok_SourceLineIsImplicit:
  176|     39|{
  177|     39|    if (lineno < 1 || lineno > source->nlines ||
  ------------------
  |  Branch (177:9): [True: 0, False: 39]
  |  Branch (177:23): [True: 0, False: 39]
  ------------------
  178|     39|            (lineno - 1) / 8 >= source->implicit_cap) {
  ------------------
  |  Branch (178:13): [True: 39, False: 0]
  ------------------
  179|     39|        return 0;
  180|     39|    }
  181|      0|    return (source->implicit_lines[(lineno - 1) / 8] >>
  182|      0|            ((lineno - 1) & 7)) & 1;
  183|     39|}
source.c:validate_line:
  103|     87|{
  104|     87|    if (len <= 0 || bytes == NULL ||
  ------------------
  |  Branch (104:9): [True: 0, False: 87]
  |  Branch (104:21): [True: 0, False: 87]
  ------------------
  105|     87|            (source->nlines > 0 &&
  ------------------
  |  Branch (105:14): [True: 48, False: 39]
  ------------------
  106|     48|             (source->len == 0 || source->bytes[source->len - 1] != '\n'))) {
  ------------------
  |  Branch (106:15): [True: 0, False: 48]
  |  Branch (106:35): [True: 0, False: 48]
  ------------------
  107|      0|        PyErr_SetString(PyExc_SystemError, "invalid tokenizer source line");
  108|      0|        return -1;
  109|      0|    }
  110|     87|    const char *newline = memchr(bytes, '\n', len);
  111|     87|    if ((newline != NULL && newline != bytes + len - 1) ||
  ------------------
  |  Branch (111:10): [True: 48, False: 39]
  |  Branch (111:29): [True: 0, False: 48]
  ------------------
  112|     87|            (implicit_newline && newline == NULL)) {
  ------------------
  |  Branch (112:14): [True: 0, False: 87]
  |  Branch (112:34): [True: 0, False: 0]
  ------------------
  113|      0|        PyErr_SetString(PyExc_SystemError, "invalid tokenizer source line");
  114|      0|        return -1;
  115|      0|    }
  116|     87|    if (source->nlines == INT_MAX ||
  ------------------
  |  Branch (116:9): [True: 0, False: 87]
  ------------------
  117|     87|            (source->nlines == INT_MAX - 1 && newline != NULL)) {
  ------------------
  |  Branch (117:14): [True: 0, False: 87]
  |  Branch (117:47): [True: 0, False: 0]
  ------------------
  118|      0|        PyErr_SetString(PyExc_OverflowError, "too many tokenizer source lines");
  119|      0|        return -1;
  120|      0|    }
  121|     87|    return 0;
  122|     87|}
source.c:reserve_bytes:
   37|     87|{
   38|     87|    if (needed <= source->cap) {
  ------------------
  |  Branch (38:9): [True: 48, False: 39]
  ------------------
   39|     48|        return 0;
   40|     48|    }
   41|     39|    Py_ssize_t cap = source->cap > 0 ? source->cap : BUFSIZ;
  ------------------
  |  Branch (41:22): [True: 0, False: 39]
  ------------------
   42|    298|    while (cap < needed) {
  ------------------
  |  Branch (42:12): [True: 259, False: 39]
  ------------------
   43|    259|        if (cap > PY_SSIZE_T_MAX / 2) {
  ------------------
  |  |  137|    259|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (43:13): [True: 0, False: 259]
  ------------------
   44|      0|            cap = needed;
   45|      0|            break;
   46|      0|        }
   47|    259|        cap *= 2;
   48|    259|    }
   49|     39|    char *bytes;
   50|       |#ifdef Py_DEBUG
   51|       |    /* Moving on growth makes stale interior pointers fail in debug builds. */
   52|       |    bytes = PyMem_Malloc(cap);
   53|       |    if (bytes != NULL && source->len > 0) {
   54|       |        memcpy(bytes, source->bytes, source->len);
   55|       |    }
   56|       |#else
   57|     39|    bytes = PyMem_Realloc(source->bytes, cap);
   58|     39|#endif
   59|     39|    if (bytes == NULL) {
  ------------------
  |  Branch (59:9): [True: 0, False: 39]
  ------------------
   60|      0|        PyErr_NoMemory();
   61|      0|        return -1;
   62|      0|    }
   63|       |#ifdef Py_DEBUG
   64|       |    if (source->bytes != NULL) {
   65|       |        memset(source->bytes, 0xDD, source->cap);
   66|       |        PyMem_Free(source->bytes);
   67|       |    }
   68|       |#endif
   69|     39|    source->bytes = bytes;
   70|     39|    source->cap = cap;
   71|     39|    return 0;
   72|     39|}

reader.c:_PyTok_SourceData:
   20|     99|{
   21|     99|    return source->bytes != NULL ? source->bytes : "";
  ------------------
  |  Branch (21:12): [True: 99, False: 0]
  ------------------
   22|     99|}
helpers.c:_PyTok_SourceData:
   20|      8|{
   21|      8|    return source->bytes != NULL ? source->bytes : "";
  ------------------
  |  Branch (21:12): [True: 8, False: 0]
  ------------------
   22|      8|}
lexer.c:_PyTok_SourceData:
   20|  10.0k|{
   21|  10.0k|    return source->bytes != NULL ? source->bytes : "";
  ------------------
  |  Branch (21:12): [True: 10.0k, False: 0]
  ------------------
   22|  10.0k|}
string.c:_PyTok_SourceData:
   20|      7|{
   21|      7|    return source->bytes != NULL ? source->bytes : "";
  ------------------
  |  Branch (21:12): [True: 7, False: 0]
  ------------------
   22|      7|}
api.c:_PyTok_SourceData:
   20|  9.49k|{
   21|  9.49k|    return source->bytes != NULL ? source->bytes : "";
  ------------------
  |  Branch (21:12): [True: 9.49k, False: 0]
  ------------------
   22|  9.49k|}

pegen.c:_PyToken_Free:
   65|  4.76k|{
   66|       |    Py_CLEAR(token->metadata);
  ------------------
  |  |  484|  4.76k|    do { \
  |  |  485|  4.76k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|  4.76k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  4.76k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|  4.76k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  4.76k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  4.76k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 4.76k]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|  4.76k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 4.76k]
  |  |  ------------------
  ------------------
   67|  4.76k|}
pegen_errors.c:_PyToken_Free:
   65|     14|{
   66|       |    Py_CLEAR(token->metadata);
  ------------------
  |  |  484|     14|    do { \
  |  |  485|     14|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|     14|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     14|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|     14|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     14|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     14|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 14]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|     14|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 14]
  |  |  ------------------
  ------------------
   67|     14|}
lexer.c:_PyToken_Free:
   65|  4.99k|{
   66|       |    Py_CLEAR(token->metadata);
  ------------------
  |  |  484|  4.99k|    do { \
  |  |  485|  4.99k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|  4.99k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  4.99k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|  4.99k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  4.99k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  4.99k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 4.99k]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|  4.99k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 4.99k]
  |  |  ------------------
  ------------------
   67|  4.99k|}

string.c:_PyTok_SpanFromBounds:
   23|      7|{
   24|      7|    return (_PyTok_Span){start, end};
   25|      7|}
api.c:_PyTok_SpanIsValid:
   29|  4.74k|{
   30|  4.74k|    return span.start >= 0 && span.end >= span.start;
  ------------------
  |  Branch (30:12): [True: 4.74k, False: 0]
  |  Branch (30:31): [True: 4.74k, False: 0]
  ------------------
   31|  4.74k|}

_PyAST_Expression:
 3284|     18|{
 3285|     18|    mod_ty p;
 3286|     18|    if (!body) {
  ------------------
  |  Branch (3286:9): [True: 0, False: 18]
  ------------------
 3287|      0|        PyErr_SetString(PyExc_ValueError,
 3288|      0|                        "field 'body' is required for Expression");
 3289|      0|        return NULL;
 3290|      0|    }
 3291|     18|    p = (mod_ty)_PyArena_Malloc(arena, sizeof(*p));
 3292|     18|    if (!p)
  ------------------
  |  Branch (3292:9): [True: 0, False: 18]
  ------------------
 3293|      0|        return NULL;
 3294|     18|    p->kind = Expression_kind;
 3295|     18|    p->v.Expression.body = body;
 3296|     18|    return p;
 3297|     18|}
_PyAST_BinOp:
 4030|    308|{
 4031|    308|    expr_ty p;
 4032|    308|    if (!left) {
  ------------------
  |  Branch (4032:9): [True: 0, False: 308]
  ------------------
 4033|      0|        PyErr_SetString(PyExc_ValueError,
 4034|      0|                        "field 'left' is required for BinOp");
 4035|      0|        return NULL;
 4036|      0|    }
 4037|    308|    if (!op) {
  ------------------
  |  Branch (4037:9): [True: 0, False: 308]
  ------------------
 4038|      0|        PyErr_SetString(PyExc_ValueError,
 4039|      0|                        "field 'op' is required for BinOp");
 4040|      0|        return NULL;
 4041|      0|    }
 4042|    308|    if (!right) {
  ------------------
  |  Branch (4042:9): [True: 0, False: 308]
  ------------------
 4043|      0|        PyErr_SetString(PyExc_ValueError,
 4044|      0|                        "field 'right' is required for BinOp");
 4045|      0|        return NULL;
 4046|      0|    }
 4047|    308|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 4048|    308|    if (!p)
  ------------------
  |  Branch (4048:9): [True: 0, False: 308]
  ------------------
 4049|      0|        return NULL;
 4050|    308|    p->kind = BinOp_kind;
 4051|    308|    p->v.BinOp.left = left;
 4052|    308|    p->v.BinOp.op = op;
 4053|    308|    p->v.BinOp.right = right;
 4054|    308|    p->lineno = lineno;
 4055|    308|    p->col_offset = col_offset;
 4056|    308|    p->end_lineno = end_lineno;
 4057|    308|    p->end_col_offset = end_col_offset;
 4058|    308|    return p;
 4059|    308|}
_PyAST_UnaryOp:
 4064|      8|{
 4065|      8|    expr_ty p;
 4066|      8|    if (!op) {
  ------------------
  |  Branch (4066:9): [True: 0, False: 8]
  ------------------
 4067|      0|        PyErr_SetString(PyExc_ValueError,
 4068|      0|                        "field 'op' is required for UnaryOp");
 4069|      0|        return NULL;
 4070|      0|    }
 4071|      8|    if (!operand) {
  ------------------
  |  Branch (4071:9): [True: 0, False: 8]
  ------------------
 4072|      0|        PyErr_SetString(PyExc_ValueError,
 4073|      0|                        "field 'operand' is required for UnaryOp");
 4074|      0|        return NULL;
 4075|      0|    }
 4076|      8|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 4077|      8|    if (!p)
  ------------------
  |  Branch (4077:9): [True: 0, False: 8]
  ------------------
 4078|      0|        return NULL;
 4079|      8|    p->kind = UnaryOp_kind;
 4080|      8|    p->v.UnaryOp.op = op;
 4081|      8|    p->v.UnaryOp.operand = operand;
 4082|      8|    p->lineno = lineno;
 4083|      8|    p->col_offset = col_offset;
 4084|      8|    p->end_lineno = end_lineno;
 4085|      8|    p->end_col_offset = end_col_offset;
 4086|      8|    return p;
 4087|      8|}
_PyAST_Lambda:
 4092|      2|{
 4093|      2|    expr_ty p;
 4094|      2|    if (!args) {
  ------------------
  |  Branch (4094:9): [True: 0, False: 2]
  ------------------
 4095|      0|        PyErr_SetString(PyExc_ValueError,
 4096|      0|                        "field 'args' is required for Lambda");
 4097|      0|        return NULL;
 4098|      0|    }
 4099|      2|    if (!body) {
  ------------------
  |  Branch (4099:9): [True: 0, False: 2]
  ------------------
 4100|      0|        PyErr_SetString(PyExc_ValueError,
 4101|      0|                        "field 'body' is required for Lambda");
 4102|      0|        return NULL;
 4103|      0|    }
 4104|      2|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 4105|      2|    if (!p)
  ------------------
  |  Branch (4105:9): [True: 0, False: 2]
  ------------------
 4106|      0|        return NULL;
 4107|      2|    p->kind = Lambda_kind;
 4108|      2|    p->v.Lambda.args = args;
 4109|      2|    p->v.Lambda.body = body;
 4110|      2|    p->lineno = lineno;
 4111|      2|    p->col_offset = col_offset;
 4112|      2|    p->end_lineno = end_lineno;
 4113|      2|    p->end_col_offset = end_col_offset;
 4114|      2|    return p;
 4115|      2|}
_PyAST_Set:
 4172|      4|{
 4173|      4|    expr_ty p;
 4174|      4|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 4175|      4|    if (!p)
  ------------------
  |  Branch (4175:9): [True: 0, False: 4]
  ------------------
 4176|      0|        return NULL;
 4177|      4|    p->kind = Set_kind;
 4178|      4|    p->v.Set.elts = elts;
 4179|      4|    p->lineno = lineno;
 4180|      4|    p->col_offset = col_offset;
 4181|      4|    p->end_lineno = end_lineno;
 4182|      4|    p->end_col_offset = end_col_offset;
 4183|      4|    return p;
 4184|      4|}
_PyAST_Call:
 4373|  2.37k|{
 4374|  2.37k|    expr_ty p;
 4375|  2.37k|    if (!func) {
  ------------------
  |  Branch (4375:9): [True: 0, False: 2.37k]
  ------------------
 4376|      0|        PyErr_SetString(PyExc_ValueError,
 4377|      0|                        "field 'func' is required for Call");
 4378|      0|        return NULL;
 4379|      0|    }
 4380|  2.37k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 4381|  2.37k|    if (!p)
  ------------------
  |  Branch (4381:9): [True: 0, False: 2.37k]
  ------------------
 4382|      0|        return NULL;
 4383|  2.37k|    p->kind = Call_kind;
 4384|  2.37k|    p->v.Call.func = func;
 4385|  2.37k|    p->v.Call.args = args;
 4386|  2.37k|    p->v.Call.keywords = keywords;
 4387|  2.37k|    p->lineno = lineno;
 4388|  2.37k|    p->col_offset = col_offset;
 4389|  2.37k|    p->end_lineno = end_lineno;
 4390|  2.37k|    p->end_col_offset = end_col_offset;
 4391|  2.37k|    return p;
 4392|  2.37k|}
_PyAST_Constant:
 4487|  1.31k|{
 4488|  1.31k|    expr_ty p;
 4489|  1.31k|    if (!value) {
  ------------------
  |  Branch (4489:9): [True: 0, False: 1.31k]
  ------------------
 4490|      0|        PyErr_SetString(PyExc_ValueError,
 4491|      0|                        "field 'value' is required for Constant");
 4492|      0|        return NULL;
 4493|      0|    }
 4494|  1.31k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 4495|  1.31k|    if (!p)
  ------------------
  |  Branch (4495:9): [True: 0, False: 1.31k]
  ------------------
 4496|      0|        return NULL;
 4497|  1.31k|    p->kind = Constant_kind;
 4498|  1.31k|    p->v.Constant.value = value;
 4499|  1.31k|    p->v.Constant.kind = kind;
 4500|  1.31k|    p->lineno = lineno;
 4501|  1.31k|    p->col_offset = col_offset;
 4502|  1.31k|    p->end_lineno = end_lineno;
 4503|  1.31k|    p->end_col_offset = end_col_offset;
 4504|  1.31k|    return p;
 4505|  1.31k|}
_PyAST_Starred:
 4580|  3.99k|{
 4581|  3.99k|    expr_ty p;
 4582|  3.99k|    if (!value) {
  ------------------
  |  Branch (4582:9): [True: 0, False: 3.99k]
  ------------------
 4583|      0|        PyErr_SetString(PyExc_ValueError,
 4584|      0|                        "field 'value' is required for Starred");
 4585|      0|        return NULL;
 4586|      0|    }
 4587|  3.99k|    if (!ctx) {
  ------------------
  |  Branch (4587:9): [True: 0, False: 3.99k]
  ------------------
 4588|      0|        PyErr_SetString(PyExc_ValueError,
 4589|      0|                        "field 'ctx' is required for Starred");
 4590|      0|        return NULL;
 4591|      0|    }
 4592|  3.99k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 4593|  3.99k|    if (!p)
  ------------------
  |  Branch (4593:9): [True: 0, False: 3.99k]
  ------------------
 4594|      0|        return NULL;
 4595|  3.99k|    p->kind = Starred_kind;
 4596|  3.99k|    p->v.Starred.value = value;
 4597|  3.99k|    p->v.Starred.ctx = ctx;
 4598|  3.99k|    p->lineno = lineno;
 4599|  3.99k|    p->col_offset = col_offset;
 4600|  3.99k|    p->end_lineno = end_lineno;
 4601|  3.99k|    p->end_col_offset = end_col_offset;
 4602|  3.99k|    return p;
 4603|  3.99k|}
_PyAST_Name:
 4608|  1.95k|{
 4609|  1.95k|    expr_ty p;
 4610|  1.95k|    if (!id) {
  ------------------
  |  Branch (4610:9): [True: 0, False: 1.95k]
  ------------------
 4611|      0|        PyErr_SetString(PyExc_ValueError,
 4612|      0|                        "field 'id' is required for Name");
 4613|      0|        return NULL;
 4614|      0|    }
 4615|  1.95k|    if (!ctx) {
  ------------------
  |  Branch (4615:9): [True: 0, False: 1.95k]
  ------------------
 4616|      0|        PyErr_SetString(PyExc_ValueError,
 4617|      0|                        "field 'ctx' is required for Name");
 4618|      0|        return NULL;
 4619|      0|    }
 4620|  1.95k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 4621|  1.95k|    if (!p)
  ------------------
  |  Branch (4621:9): [True: 0, False: 1.95k]
  ------------------
 4622|      0|        return NULL;
 4623|  1.95k|    p->kind = Name_kind;
 4624|  1.95k|    p->v.Name.id = id;
 4625|  1.95k|    p->v.Name.ctx = ctx;
 4626|  1.95k|    p->lineno = lineno;
 4627|  1.95k|    p->col_offset = col_offset;
 4628|  1.95k|    p->end_lineno = end_lineno;
 4629|  1.95k|    p->end_col_offset = end_col_offset;
 4630|  1.95k|    return p;
 4631|  1.95k|}
_PyAST_Tuple:
 4659|      5|{
 4660|      5|    expr_ty p;
 4661|      5|    if (!ctx) {
  ------------------
  |  Branch (4661:9): [True: 0, False: 5]
  ------------------
 4662|      0|        PyErr_SetString(PyExc_ValueError,
 4663|      0|                        "field 'ctx' is required for Tuple");
 4664|      0|        return NULL;
 4665|      0|    }
 4666|      5|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 4667|      5|    if (!p)
  ------------------
  |  Branch (4667:9): [True: 0, False: 5]
  ------------------
 4668|      0|        return NULL;
 4669|      5|    p->kind = Tuple_kind;
 4670|      5|    p->v.Tuple.elts = elts;
 4671|      5|    p->v.Tuple.ctx = ctx;
 4672|      5|    p->lineno = lineno;
 4673|      5|    p->col_offset = col_offset;
 4674|      5|    p->end_lineno = end_lineno;
 4675|      5|    p->end_col_offset = end_col_offset;
 4676|      5|    return p;
 4677|      5|}
_PyAST_arguments:
 4748|      2|{
 4749|      2|    arguments_ty p;
 4750|      2|    p = (arguments_ty)_PyArena_Malloc(arena, sizeof(*p));
 4751|      2|    if (!p)
  ------------------
  |  Branch (4751:9): [True: 0, False: 2]
  ------------------
 4752|      0|        return NULL;
 4753|      2|    p->posonlyargs = posonlyargs;
 4754|      2|    p->args = args;
 4755|      2|    p->vararg = vararg;
 4756|      2|    p->kwonlyargs = kwonlyargs;
 4757|      2|    p->kw_defaults = kw_defaults;
 4758|      2|    p->kwarg = kwarg;
 4759|      2|    p->defaults = defaults;
 4760|      2|    return p;
 4761|      2|}
_PyAST_arg:
 4766|    798|{
 4767|    798|    arg_ty p;
 4768|    798|    if (!arg) {
  ------------------
  |  Branch (4768:9): [True: 0, False: 798]
  ------------------
 4769|      0|        PyErr_SetString(PyExc_ValueError,
 4770|      0|                        "field 'arg' is required for arg");
 4771|      0|        return NULL;
 4772|      0|    }
 4773|    798|    p = (arg_ty)_PyArena_Malloc(arena, sizeof(*p));
 4774|    798|    if (!p)
  ------------------
  |  Branch (4774:9): [True: 0, False: 798]
  ------------------
 4775|      0|        return NULL;
 4776|    798|    p->arg = arg;
 4777|    798|    p->annotation = annotation;
 4778|    798|    p->type_comment = type_comment;
 4779|    798|    p->lineno = lineno;
 4780|    798|    p->col_offset = col_offset;
 4781|    798|    p->end_lineno = end_lineno;
 4782|    798|    p->end_col_offset = end_col_offset;
 4783|    798|    return p;
 4784|    798|}
_PyAST_keyword:
 4789|     50|{
 4790|     50|    keyword_ty p;
 4791|     50|    if (!value) {
  ------------------
  |  Branch (4791:9): [True: 0, False: 50]
  ------------------
 4792|      0|        PyErr_SetString(PyExc_ValueError,
 4793|      0|                        "field 'value' is required for keyword");
 4794|      0|        return NULL;
 4795|      0|    }
 4796|     50|    p = (keyword_ty)_PyArena_Malloc(arena, sizeof(*p));
 4797|     50|    if (!p)
  ------------------
  |  Branch (4797:9): [True: 0, False: 50]
  ------------------
 4798|      0|        return NULL;
 4799|     50|    p->arg = arg;
 4800|     50|    p->value = value;
 4801|     50|    p->lineno = lineno;
 4802|     50|    p->col_offset = col_offset;
 4803|     50|    p->end_lineno = end_lineno;
 4804|     50|    p->end_col_offset = end_col_offset;
 4805|     50|    return p;
 4806|     50|}
PyInit__ast:
14785|      1|{
14786|      1|    return PyModuleDef_Init(&_astmodule);
14787|      1|}
PyAST_mod2obj:
14791|     16|{
14792|     16|    struct ast_state *state = get_ast_state();
14793|     16|    if (state == NULL) {
  ------------------
  |  Branch (14793:9): [True: 0, False: 16]
  ------------------
14794|      0|        return NULL;
14795|      0|    }
14796|     16|    PyObject *result = ast2obj_mod(state, t);
14797|       |
14798|     16|    return result;
14799|     16|}
PyAST_Check:
14855|     37|{
14856|     37|    struct ast_state *state = get_ast_state();
14857|     37|    if (state == NULL) {
  ------------------
  |  Branch (14857:9): [True: 0, False: 37]
  ------------------
14858|      0|        return -1;
14859|      0|    }
14860|     37|    return PyObject_IsInstance(obj, state->AST_type);
14861|     37|}
Python-ast.c:astmodule_exec:
14355|      1|{
14356|      1|    struct ast_state *state = get_ast_state();
14357|      1|    if (state == NULL) {
  ------------------
  |  Branch (14357:9): [True: 0, False: 1]
  ------------------
14358|      0|        return -1;
14359|      0|    }
14360|      1|    if (PyModule_AddObjectRef(m, "AST", state->AST_type) < 0) {
  ------------------
  |  Branch (14360:9): [True: 0, False: 1]
  ------------------
14361|      0|        return -1;
14362|      0|    }
14363|      1|    if (PyModule_AddIntMacro(m, PyCF_ALLOW_TOP_LEVEL_AWAIT) < 0) {
  ------------------
  |  |   47|      1|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  ------------------
  |  Branch (14363:9): [True: 0, False: 1]
  ------------------
14364|      0|        return -1;
14365|      0|    }
14366|      1|    if (PyModule_AddIntMacro(m, PyCF_ONLY_AST) < 0) {
  ------------------
  |  |   47|      1|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  ------------------
  |  Branch (14366:9): [True: 0, False: 1]
  ------------------
14367|      0|        return -1;
14368|      0|    }
14369|      1|    if (PyModule_AddIntMacro(m, PyCF_TYPE_COMMENTS) < 0) {
  ------------------
  |  |   47|      1|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  ------------------
  |  Branch (14369:9): [True: 0, False: 1]
  ------------------
14370|      0|        return -1;
14371|      0|    }
14372|      1|    if (PyModule_AddIntMacro(m, PyCF_OPTIMIZED_AST) < 0) {
  ------------------
  |  |   47|      1|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  ------------------
  |  Branch (14372:9): [True: 0, False: 1]
  ------------------
14373|      0|        return -1;
14374|      0|    }
14375|      1|    if (PyModule_AddObjectRef(m, "mod", state->mod_type) < 0) {
  ------------------
  |  Branch (14375:9): [True: 0, False: 1]
  ------------------
14376|      0|        return -1;
14377|      0|    }
14378|      1|    if (PyModule_AddObjectRef(m, "Module", state->Module_type) < 0) {
  ------------------
  |  Branch (14378:9): [True: 0, False: 1]
  ------------------
14379|      0|        return -1;
14380|      0|    }
14381|      1|    if (PyModule_AddObjectRef(m, "Interactive", state->Interactive_type) < 0) {
  ------------------
  |  Branch (14381:9): [True: 0, False: 1]
  ------------------
14382|      0|        return -1;
14383|      0|    }
14384|      1|    if (PyModule_AddObjectRef(m, "Expression", state->Expression_type) < 0) {
  ------------------
  |  Branch (14384:9): [True: 0, False: 1]
  ------------------
14385|      0|        return -1;
14386|      0|    }
14387|      1|    if (PyModule_AddObjectRef(m, "FunctionType", state->FunctionType_type) < 0)
  ------------------
  |  Branch (14387:9): [True: 0, False: 1]
  ------------------
14388|      0|        {
14389|      0|        return -1;
14390|      0|    }
14391|      1|    if (PyModule_AddObjectRef(m, "stmt", state->stmt_type) < 0) {
  ------------------
  |  Branch (14391:9): [True: 0, False: 1]
  ------------------
14392|      0|        return -1;
14393|      0|    }
14394|      1|    if (PyModule_AddObjectRef(m, "FunctionDef", state->FunctionDef_type) < 0) {
  ------------------
  |  Branch (14394:9): [True: 0, False: 1]
  ------------------
14395|      0|        return -1;
14396|      0|    }
14397|      1|    if (PyModule_AddObjectRef(m, "AsyncFunctionDef",
  ------------------
  |  Branch (14397:9): [True: 0, False: 1]
  ------------------
14398|      1|        state->AsyncFunctionDef_type) < 0) {
14399|      0|        return -1;
14400|      0|    }
14401|      1|    if (PyModule_AddObjectRef(m, "ClassDef", state->ClassDef_type) < 0) {
  ------------------
  |  Branch (14401:9): [True: 0, False: 1]
  ------------------
14402|      0|        return -1;
14403|      0|    }
14404|      1|    if (PyModule_AddObjectRef(m, "Return", state->Return_type) < 0) {
  ------------------
  |  Branch (14404:9): [True: 0, False: 1]
  ------------------
14405|      0|        return -1;
14406|      0|    }
14407|      1|    if (PyModule_AddObjectRef(m, "Delete", state->Delete_type) < 0) {
  ------------------
  |  Branch (14407:9): [True: 0, False: 1]
  ------------------
14408|      0|        return -1;
14409|      0|    }
14410|      1|    if (PyModule_AddObjectRef(m, "Assign", state->Assign_type) < 0) {
  ------------------
  |  Branch (14410:9): [True: 0, False: 1]
  ------------------
14411|      0|        return -1;
14412|      0|    }
14413|      1|    if (PyModule_AddObjectRef(m, "TypeAlias", state->TypeAlias_type) < 0) {
  ------------------
  |  Branch (14413:9): [True: 0, False: 1]
  ------------------
14414|      0|        return -1;
14415|      0|    }
14416|      1|    if (PyModule_AddObjectRef(m, "AugAssign", state->AugAssign_type) < 0) {
  ------------------
  |  Branch (14416:9): [True: 0, False: 1]
  ------------------
14417|      0|        return -1;
14418|      0|    }
14419|      1|    if (PyModule_AddObjectRef(m, "AnnAssign", state->AnnAssign_type) < 0) {
  ------------------
  |  Branch (14419:9): [True: 0, False: 1]
  ------------------
14420|      0|        return -1;
14421|      0|    }
14422|      1|    if (PyModule_AddObjectRef(m, "For", state->For_type) < 0) {
  ------------------
  |  Branch (14422:9): [True: 0, False: 1]
  ------------------
14423|      0|        return -1;
14424|      0|    }
14425|      1|    if (PyModule_AddObjectRef(m, "AsyncFor", state->AsyncFor_type) < 0) {
  ------------------
  |  Branch (14425:9): [True: 0, False: 1]
  ------------------
14426|      0|        return -1;
14427|      0|    }
14428|      1|    if (PyModule_AddObjectRef(m, "While", state->While_type) < 0) {
  ------------------
  |  Branch (14428:9): [True: 0, False: 1]
  ------------------
14429|      0|        return -1;
14430|      0|    }
14431|      1|    if (PyModule_AddObjectRef(m, "If", state->If_type) < 0) {
  ------------------
  |  Branch (14431:9): [True: 0, False: 1]
  ------------------
14432|      0|        return -1;
14433|      0|    }
14434|      1|    if (PyModule_AddObjectRef(m, "With", state->With_type) < 0) {
  ------------------
  |  Branch (14434:9): [True: 0, False: 1]
  ------------------
14435|      0|        return -1;
14436|      0|    }
14437|      1|    if (PyModule_AddObjectRef(m, "AsyncWith", state->AsyncWith_type) < 0) {
  ------------------
  |  Branch (14437:9): [True: 0, False: 1]
  ------------------
14438|      0|        return -1;
14439|      0|    }
14440|      1|    if (PyModule_AddObjectRef(m, "Match", state->Match_type) < 0) {
  ------------------
  |  Branch (14440:9): [True: 0, False: 1]
  ------------------
14441|      0|        return -1;
14442|      0|    }
14443|      1|    if (PyModule_AddObjectRef(m, "Raise", state->Raise_type) < 0) {
  ------------------
  |  Branch (14443:9): [True: 0, False: 1]
  ------------------
14444|      0|        return -1;
14445|      0|    }
14446|      1|    if (PyModule_AddObjectRef(m, "Try", state->Try_type) < 0) {
  ------------------
  |  Branch (14446:9): [True: 0, False: 1]
  ------------------
14447|      0|        return -1;
14448|      0|    }
14449|      1|    if (PyModule_AddObjectRef(m, "TryStar", state->TryStar_type) < 0) {
  ------------------
  |  Branch (14449:9): [True: 0, False: 1]
  ------------------
14450|      0|        return -1;
14451|      0|    }
14452|      1|    if (PyModule_AddObjectRef(m, "Assert", state->Assert_type) < 0) {
  ------------------
  |  Branch (14452:9): [True: 0, False: 1]
  ------------------
14453|      0|        return -1;
14454|      0|    }
14455|      1|    if (PyModule_AddObjectRef(m, "Import", state->Import_type) < 0) {
  ------------------
  |  Branch (14455:9): [True: 0, False: 1]
  ------------------
14456|      0|        return -1;
14457|      0|    }
14458|      1|    if (PyModule_AddObjectRef(m, "ImportFrom", state->ImportFrom_type) < 0) {
  ------------------
  |  Branch (14458:9): [True: 0, False: 1]
  ------------------
14459|      0|        return -1;
14460|      0|    }
14461|      1|    if (PyModule_AddObjectRef(m, "Global", state->Global_type) < 0) {
  ------------------
  |  Branch (14461:9): [True: 0, False: 1]
  ------------------
14462|      0|        return -1;
14463|      0|    }
14464|      1|    if (PyModule_AddObjectRef(m, "Nonlocal", state->Nonlocal_type) < 0) {
  ------------------
  |  Branch (14464:9): [True: 0, False: 1]
  ------------------
14465|      0|        return -1;
14466|      0|    }
14467|      1|    if (PyModule_AddObjectRef(m, "Expr", state->Expr_type) < 0) {
  ------------------
  |  Branch (14467:9): [True: 0, False: 1]
  ------------------
14468|      0|        return -1;
14469|      0|    }
14470|      1|    if (PyModule_AddObjectRef(m, "Pass", state->Pass_type) < 0) {
  ------------------
  |  Branch (14470:9): [True: 0, False: 1]
  ------------------
14471|      0|        return -1;
14472|      0|    }
14473|      1|    if (PyModule_AddObjectRef(m, "Break", state->Break_type) < 0) {
  ------------------
  |  Branch (14473:9): [True: 0, False: 1]
  ------------------
14474|      0|        return -1;
14475|      0|    }
14476|      1|    if (PyModule_AddObjectRef(m, "Continue", state->Continue_type) < 0) {
  ------------------
  |  Branch (14476:9): [True: 0, False: 1]
  ------------------
14477|      0|        return -1;
14478|      0|    }
14479|      1|    if (PyModule_AddObjectRef(m, "expr", state->expr_type) < 0) {
  ------------------
  |  Branch (14479:9): [True: 0, False: 1]
  ------------------
14480|      0|        return -1;
14481|      0|    }
14482|      1|    if (PyModule_AddObjectRef(m, "BoolOp", state->BoolOp_type) < 0) {
  ------------------
  |  Branch (14482:9): [True: 0, False: 1]
  ------------------
14483|      0|        return -1;
14484|      0|    }
14485|      1|    if (PyModule_AddObjectRef(m, "NamedExpr", state->NamedExpr_type) < 0) {
  ------------------
  |  Branch (14485:9): [True: 0, False: 1]
  ------------------
14486|      0|        return -1;
14487|      0|    }
14488|      1|    if (PyModule_AddObjectRef(m, "BinOp", state->BinOp_type) < 0) {
  ------------------
  |  Branch (14488:9): [True: 0, False: 1]
  ------------------
14489|      0|        return -1;
14490|      0|    }
14491|      1|    if (PyModule_AddObjectRef(m, "UnaryOp", state->UnaryOp_type) < 0) {
  ------------------
  |  Branch (14491:9): [True: 0, False: 1]
  ------------------
14492|      0|        return -1;
14493|      0|    }
14494|      1|    if (PyModule_AddObjectRef(m, "Lambda", state->Lambda_type) < 0) {
  ------------------
  |  Branch (14494:9): [True: 0, False: 1]
  ------------------
14495|      0|        return -1;
14496|      0|    }
14497|      1|    if (PyModule_AddObjectRef(m, "IfExp", state->IfExp_type) < 0) {
  ------------------
  |  Branch (14497:9): [True: 0, False: 1]
  ------------------
14498|      0|        return -1;
14499|      0|    }
14500|      1|    if (PyModule_AddObjectRef(m, "Dict", state->Dict_type) < 0) {
  ------------------
  |  Branch (14500:9): [True: 0, False: 1]
  ------------------
14501|      0|        return -1;
14502|      0|    }
14503|      1|    if (PyModule_AddObjectRef(m, "Set", state->Set_type) < 0) {
  ------------------
  |  Branch (14503:9): [True: 0, False: 1]
  ------------------
14504|      0|        return -1;
14505|      0|    }
14506|      1|    if (PyModule_AddObjectRef(m, "ListComp", state->ListComp_type) < 0) {
  ------------------
  |  Branch (14506:9): [True: 0, False: 1]
  ------------------
14507|      0|        return -1;
14508|      0|    }
14509|      1|    if (PyModule_AddObjectRef(m, "SetComp", state->SetComp_type) < 0) {
  ------------------
  |  Branch (14509:9): [True: 0, False: 1]
  ------------------
14510|      0|        return -1;
14511|      0|    }
14512|      1|    if (PyModule_AddObjectRef(m, "DictComp", state->DictComp_type) < 0) {
  ------------------
  |  Branch (14512:9): [True: 0, False: 1]
  ------------------
14513|      0|        return -1;
14514|      0|    }
14515|      1|    if (PyModule_AddObjectRef(m, "GeneratorExp", state->GeneratorExp_type) < 0)
  ------------------
  |  Branch (14515:9): [True: 0, False: 1]
  ------------------
14516|      0|        {
14517|      0|        return -1;
14518|      0|    }
14519|      1|    if (PyModule_AddObjectRef(m, "Await", state->Await_type) < 0) {
  ------------------
  |  Branch (14519:9): [True: 0, False: 1]
  ------------------
14520|      0|        return -1;
14521|      0|    }
14522|      1|    if (PyModule_AddObjectRef(m, "Yield", state->Yield_type) < 0) {
  ------------------
  |  Branch (14522:9): [True: 0, False: 1]
  ------------------
14523|      0|        return -1;
14524|      0|    }
14525|      1|    if (PyModule_AddObjectRef(m, "YieldFrom", state->YieldFrom_type) < 0) {
  ------------------
  |  Branch (14525:9): [True: 0, False: 1]
  ------------------
14526|      0|        return -1;
14527|      0|    }
14528|      1|    if (PyModule_AddObjectRef(m, "Compare", state->Compare_type) < 0) {
  ------------------
  |  Branch (14528:9): [True: 0, False: 1]
  ------------------
14529|      0|        return -1;
14530|      0|    }
14531|      1|    if (PyModule_AddObjectRef(m, "Call", state->Call_type) < 0) {
  ------------------
  |  Branch (14531:9): [True: 0, False: 1]
  ------------------
14532|      0|        return -1;
14533|      0|    }
14534|      1|    if (PyModule_AddObjectRef(m, "FormattedValue", state->FormattedValue_type)
  ------------------
  |  Branch (14534:9): [True: 0, False: 1]
  ------------------
14535|      1|        < 0) {
14536|      0|        return -1;
14537|      0|    }
14538|      1|    if (PyModule_AddObjectRef(m, "Interpolation", state->Interpolation_type) <
  ------------------
  |  Branch (14538:9): [True: 0, False: 1]
  ------------------
14539|      1|        0) {
14540|      0|        return -1;
14541|      0|    }
14542|      1|    if (PyModule_AddObjectRef(m, "JoinedStr", state->JoinedStr_type) < 0) {
  ------------------
  |  Branch (14542:9): [True: 0, False: 1]
  ------------------
14543|      0|        return -1;
14544|      0|    }
14545|      1|    if (PyModule_AddObjectRef(m, "TemplateStr", state->TemplateStr_type) < 0) {
  ------------------
  |  Branch (14545:9): [True: 0, False: 1]
  ------------------
14546|      0|        return -1;
14547|      0|    }
14548|      1|    if (PyModule_AddObjectRef(m, "Constant", state->Constant_type) < 0) {
  ------------------
  |  Branch (14548:9): [True: 0, False: 1]
  ------------------
14549|      0|        return -1;
14550|      0|    }
14551|      1|    if (PyModule_AddObjectRef(m, "Attribute", state->Attribute_type) < 0) {
  ------------------
  |  Branch (14551:9): [True: 0, False: 1]
  ------------------
14552|      0|        return -1;
14553|      0|    }
14554|      1|    if (PyModule_AddObjectRef(m, "Subscript", state->Subscript_type) < 0) {
  ------------------
  |  Branch (14554:9): [True: 0, False: 1]
  ------------------
14555|      0|        return -1;
14556|      0|    }
14557|      1|    if (PyModule_AddObjectRef(m, "Starred", state->Starred_type) < 0) {
  ------------------
  |  Branch (14557:9): [True: 0, False: 1]
  ------------------
14558|      0|        return -1;
14559|      0|    }
14560|      1|    if (PyModule_AddObjectRef(m, "Name", state->Name_type) < 0) {
  ------------------
  |  Branch (14560:9): [True: 0, False: 1]
  ------------------
14561|      0|        return -1;
14562|      0|    }
14563|      1|    if (PyModule_AddObjectRef(m, "List", state->List_type) < 0) {
  ------------------
  |  Branch (14563:9): [True: 0, False: 1]
  ------------------
14564|      0|        return -1;
14565|      0|    }
14566|      1|    if (PyModule_AddObjectRef(m, "Tuple", state->Tuple_type) < 0) {
  ------------------
  |  Branch (14566:9): [True: 0, False: 1]
  ------------------
14567|      0|        return -1;
14568|      0|    }
14569|      1|    if (PyModule_AddObjectRef(m, "Slice", state->Slice_type) < 0) {
  ------------------
  |  Branch (14569:9): [True: 0, False: 1]
  ------------------
14570|      0|        return -1;
14571|      0|    }
14572|      1|    if (PyModule_AddObjectRef(m, "expr_context", state->expr_context_type) < 0)
  ------------------
  |  Branch (14572:9): [True: 0, False: 1]
  ------------------
14573|      0|        {
14574|      0|        return -1;
14575|      0|    }
14576|      1|    if (PyModule_AddObjectRef(m, "Load", state->Load_type) < 0) {
  ------------------
  |  Branch (14576:9): [True: 0, False: 1]
  ------------------
14577|      0|        return -1;
14578|      0|    }
14579|      1|    if (PyModule_AddObjectRef(m, "Store", state->Store_type) < 0) {
  ------------------
  |  Branch (14579:9): [True: 0, False: 1]
  ------------------
14580|      0|        return -1;
14581|      0|    }
14582|      1|    if (PyModule_AddObjectRef(m, "Del", state->Del_type) < 0) {
  ------------------
  |  Branch (14582:9): [True: 0, False: 1]
  ------------------
14583|      0|        return -1;
14584|      0|    }
14585|      1|    if (PyModule_AddObjectRef(m, "boolop", state->boolop_type) < 0) {
  ------------------
  |  Branch (14585:9): [True: 0, False: 1]
  ------------------
14586|      0|        return -1;
14587|      0|    }
14588|      1|    if (PyModule_AddObjectRef(m, "And", state->And_type) < 0) {
  ------------------
  |  Branch (14588:9): [True: 0, False: 1]
  ------------------
14589|      0|        return -1;
14590|      0|    }
14591|      1|    if (PyModule_AddObjectRef(m, "Or", state->Or_type) < 0) {
  ------------------
  |  Branch (14591:9): [True: 0, False: 1]
  ------------------
14592|      0|        return -1;
14593|      0|    }
14594|      1|    if (PyModule_AddObjectRef(m, "operator", state->operator_type) < 0) {
  ------------------
  |  Branch (14594:9): [True: 0, False: 1]
  ------------------
14595|      0|        return -1;
14596|      0|    }
14597|      1|    if (PyModule_AddObjectRef(m, "Add", state->Add_type) < 0) {
  ------------------
  |  Branch (14597:9): [True: 0, False: 1]
  ------------------
14598|      0|        return -1;
14599|      0|    }
14600|      1|    if (PyModule_AddObjectRef(m, "Sub", state->Sub_type) < 0) {
  ------------------
  |  Branch (14600:9): [True: 0, False: 1]
  ------------------
14601|      0|        return -1;
14602|      0|    }
14603|      1|    if (PyModule_AddObjectRef(m, "Mult", state->Mult_type) < 0) {
  ------------------
  |  Branch (14603:9): [True: 0, False: 1]
  ------------------
14604|      0|        return -1;
14605|      0|    }
14606|      1|    if (PyModule_AddObjectRef(m, "MatMult", state->MatMult_type) < 0) {
  ------------------
  |  Branch (14606:9): [True: 0, False: 1]
  ------------------
14607|      0|        return -1;
14608|      0|    }
14609|      1|    if (PyModule_AddObjectRef(m, "Div", state->Div_type) < 0) {
  ------------------
  |  Branch (14609:9): [True: 0, False: 1]
  ------------------
14610|      0|        return -1;
14611|      0|    }
14612|      1|    if (PyModule_AddObjectRef(m, "Mod", state->Mod_type) < 0) {
  ------------------
  |  Branch (14612:9): [True: 0, False: 1]
  ------------------
14613|      0|        return -1;
14614|      0|    }
14615|      1|    if (PyModule_AddObjectRef(m, "Pow", state->Pow_type) < 0) {
  ------------------
  |  Branch (14615:9): [True: 0, False: 1]
  ------------------
14616|      0|        return -1;
14617|      0|    }
14618|      1|    if (PyModule_AddObjectRef(m, "LShift", state->LShift_type) < 0) {
  ------------------
  |  Branch (14618:9): [True: 0, False: 1]
  ------------------
14619|      0|        return -1;
14620|      0|    }
14621|      1|    if (PyModule_AddObjectRef(m, "RShift", state->RShift_type) < 0) {
  ------------------
  |  Branch (14621:9): [True: 0, False: 1]
  ------------------
14622|      0|        return -1;
14623|      0|    }
14624|      1|    if (PyModule_AddObjectRef(m, "BitOr", state->BitOr_type) < 0) {
  ------------------
  |  Branch (14624:9): [True: 0, False: 1]
  ------------------
14625|      0|        return -1;
14626|      0|    }
14627|      1|    if (PyModule_AddObjectRef(m, "BitXor", state->BitXor_type) < 0) {
  ------------------
  |  Branch (14627:9): [True: 0, False: 1]
  ------------------
14628|      0|        return -1;
14629|      0|    }
14630|      1|    if (PyModule_AddObjectRef(m, "BitAnd", state->BitAnd_type) < 0) {
  ------------------
  |  Branch (14630:9): [True: 0, False: 1]
  ------------------
14631|      0|        return -1;
14632|      0|    }
14633|      1|    if (PyModule_AddObjectRef(m, "FloorDiv", state->FloorDiv_type) < 0) {
  ------------------
  |  Branch (14633:9): [True: 0, False: 1]
  ------------------
14634|      0|        return -1;
14635|      0|    }
14636|      1|    if (PyModule_AddObjectRef(m, "unaryop", state->unaryop_type) < 0) {
  ------------------
  |  Branch (14636:9): [True: 0, False: 1]
  ------------------
14637|      0|        return -1;
14638|      0|    }
14639|      1|    if (PyModule_AddObjectRef(m, "Invert", state->Invert_type) < 0) {
  ------------------
  |  Branch (14639:9): [True: 0, False: 1]
  ------------------
14640|      0|        return -1;
14641|      0|    }
14642|      1|    if (PyModule_AddObjectRef(m, "Not", state->Not_type) < 0) {
  ------------------
  |  Branch (14642:9): [True: 0, False: 1]
  ------------------
14643|      0|        return -1;
14644|      0|    }
14645|      1|    if (PyModule_AddObjectRef(m, "UAdd", state->UAdd_type) < 0) {
  ------------------
  |  Branch (14645:9): [True: 0, False: 1]
  ------------------
14646|      0|        return -1;
14647|      0|    }
14648|      1|    if (PyModule_AddObjectRef(m, "USub", state->USub_type) < 0) {
  ------------------
  |  Branch (14648:9): [True: 0, False: 1]
  ------------------
14649|      0|        return -1;
14650|      0|    }
14651|      1|    if (PyModule_AddObjectRef(m, "cmpop", state->cmpop_type) < 0) {
  ------------------
  |  Branch (14651:9): [True: 0, False: 1]
  ------------------
14652|      0|        return -1;
14653|      0|    }
14654|      1|    if (PyModule_AddObjectRef(m, "Eq", state->Eq_type) < 0) {
  ------------------
  |  Branch (14654:9): [True: 0, False: 1]
  ------------------
14655|      0|        return -1;
14656|      0|    }
14657|      1|    if (PyModule_AddObjectRef(m, "NotEq", state->NotEq_type) < 0) {
  ------------------
  |  Branch (14657:9): [True: 0, False: 1]
  ------------------
14658|      0|        return -1;
14659|      0|    }
14660|      1|    if (PyModule_AddObjectRef(m, "Lt", state->Lt_type) < 0) {
  ------------------
  |  Branch (14660:9): [True: 0, False: 1]
  ------------------
14661|      0|        return -1;
14662|      0|    }
14663|      1|    if (PyModule_AddObjectRef(m, "LtE", state->LtE_type) < 0) {
  ------------------
  |  Branch (14663:9): [True: 0, False: 1]
  ------------------
14664|      0|        return -1;
14665|      0|    }
14666|      1|    if (PyModule_AddObjectRef(m, "Gt", state->Gt_type) < 0) {
  ------------------
  |  Branch (14666:9): [True: 0, False: 1]
  ------------------
14667|      0|        return -1;
14668|      0|    }
14669|      1|    if (PyModule_AddObjectRef(m, "GtE", state->GtE_type) < 0) {
  ------------------
  |  Branch (14669:9): [True: 0, False: 1]
  ------------------
14670|      0|        return -1;
14671|      0|    }
14672|      1|    if (PyModule_AddObjectRef(m, "Is", state->Is_type) < 0) {
  ------------------
  |  Branch (14672:9): [True: 0, False: 1]
  ------------------
14673|      0|        return -1;
14674|      0|    }
14675|      1|    if (PyModule_AddObjectRef(m, "IsNot", state->IsNot_type) < 0) {
  ------------------
  |  Branch (14675:9): [True: 0, False: 1]
  ------------------
14676|      0|        return -1;
14677|      0|    }
14678|      1|    if (PyModule_AddObjectRef(m, "In", state->In_type) < 0) {
  ------------------
  |  Branch (14678:9): [True: 0, False: 1]
  ------------------
14679|      0|        return -1;
14680|      0|    }
14681|      1|    if (PyModule_AddObjectRef(m, "NotIn", state->NotIn_type) < 0) {
  ------------------
  |  Branch (14681:9): [True: 0, False: 1]
  ------------------
14682|      0|        return -1;
14683|      0|    }
14684|      1|    if (PyModule_AddObjectRef(m, "comprehension", state->comprehension_type) <
  ------------------
  |  Branch (14684:9): [True: 0, False: 1]
  ------------------
14685|      1|        0) {
14686|      0|        return -1;
14687|      0|    }
14688|      1|    if (PyModule_AddObjectRef(m, "excepthandler", state->excepthandler_type) <
  ------------------
  |  Branch (14688:9): [True: 0, False: 1]
  ------------------
14689|      1|        0) {
14690|      0|        return -1;
14691|      0|    }
14692|      1|    if (PyModule_AddObjectRef(m, "ExceptHandler", state->ExceptHandler_type) <
  ------------------
  |  Branch (14692:9): [True: 0, False: 1]
  ------------------
14693|      1|        0) {
14694|      0|        return -1;
14695|      0|    }
14696|      1|    if (PyModule_AddObjectRef(m, "arguments", state->arguments_type) < 0) {
  ------------------
  |  Branch (14696:9): [True: 0, False: 1]
  ------------------
14697|      0|        return -1;
14698|      0|    }
14699|      1|    if (PyModule_AddObjectRef(m, "arg", state->arg_type) < 0) {
  ------------------
  |  Branch (14699:9): [True: 0, False: 1]
  ------------------
14700|      0|        return -1;
14701|      0|    }
14702|      1|    if (PyModule_AddObjectRef(m, "keyword", state->keyword_type) < 0) {
  ------------------
  |  Branch (14702:9): [True: 0, False: 1]
  ------------------
14703|      0|        return -1;
14704|      0|    }
14705|      1|    if (PyModule_AddObjectRef(m, "alias", state->alias_type) < 0) {
  ------------------
  |  Branch (14705:9): [True: 0, False: 1]
  ------------------
14706|      0|        return -1;
14707|      0|    }
14708|      1|    if (PyModule_AddObjectRef(m, "withitem", state->withitem_type) < 0) {
  ------------------
  |  Branch (14708:9): [True: 0, False: 1]
  ------------------
14709|      0|        return -1;
14710|      0|    }
14711|      1|    if (PyModule_AddObjectRef(m, "match_case", state->match_case_type) < 0) {
  ------------------
  |  Branch (14711:9): [True: 0, False: 1]
  ------------------
14712|      0|        return -1;
14713|      0|    }
14714|      1|    if (PyModule_AddObjectRef(m, "pattern", state->pattern_type) < 0) {
  ------------------
  |  Branch (14714:9): [True: 0, False: 1]
  ------------------
14715|      0|        return -1;
14716|      0|    }
14717|      1|    if (PyModule_AddObjectRef(m, "MatchValue", state->MatchValue_type) < 0) {
  ------------------
  |  Branch (14717:9): [True: 0, False: 1]
  ------------------
14718|      0|        return -1;
14719|      0|    }
14720|      1|    if (PyModule_AddObjectRef(m, "MatchSingleton", state->MatchSingleton_type)
  ------------------
  |  Branch (14720:9): [True: 0, False: 1]
  ------------------
14721|      1|        < 0) {
14722|      0|        return -1;
14723|      0|    }
14724|      1|    if (PyModule_AddObjectRef(m, "MatchSequence", state->MatchSequence_type) <
  ------------------
  |  Branch (14724:9): [True: 0, False: 1]
  ------------------
14725|      1|        0) {
14726|      0|        return -1;
14727|      0|    }
14728|      1|    if (PyModule_AddObjectRef(m, "MatchMapping", state->MatchMapping_type) < 0)
  ------------------
  |  Branch (14728:9): [True: 0, False: 1]
  ------------------
14729|      0|        {
14730|      0|        return -1;
14731|      0|    }
14732|      1|    if (PyModule_AddObjectRef(m, "MatchClass", state->MatchClass_type) < 0) {
  ------------------
  |  Branch (14732:9): [True: 0, False: 1]
  ------------------
14733|      0|        return -1;
14734|      0|    }
14735|      1|    if (PyModule_AddObjectRef(m, "MatchStar", state->MatchStar_type) < 0) {
  ------------------
  |  Branch (14735:9): [True: 0, False: 1]
  ------------------
14736|      0|        return -1;
14737|      0|    }
14738|      1|    if (PyModule_AddObjectRef(m, "MatchAs", state->MatchAs_type) < 0) {
  ------------------
  |  Branch (14738:9): [True: 0, False: 1]
  ------------------
14739|      0|        return -1;
14740|      0|    }
14741|      1|    if (PyModule_AddObjectRef(m, "MatchOr", state->MatchOr_type) < 0) {
  ------------------
  |  Branch (14741:9): [True: 0, False: 1]
  ------------------
14742|      0|        return -1;
14743|      0|    }
14744|      1|    if (PyModule_AddObjectRef(m, "type_ignore", state->type_ignore_type) < 0) {
  ------------------
  |  Branch (14744:9): [True: 0, False: 1]
  ------------------
14745|      0|        return -1;
14746|      0|    }
14747|      1|    if (PyModule_AddObjectRef(m, "TypeIgnore", state->TypeIgnore_type) < 0) {
  ------------------
  |  Branch (14747:9): [True: 0, False: 1]
  ------------------
14748|      0|        return -1;
14749|      0|    }
14750|      1|    if (PyModule_AddObjectRef(m, "type_param", state->type_param_type) < 0) {
  ------------------
  |  Branch (14750:9): [True: 0, False: 1]
  ------------------
14751|      0|        return -1;
14752|      0|    }
14753|      1|    if (PyModule_AddObjectRef(m, "TypeVar", state->TypeVar_type) < 0) {
  ------------------
  |  Branch (14753:9): [True: 0, False: 1]
  ------------------
14754|      0|        return -1;
14755|      0|    }
14756|      1|    if (PyModule_AddObjectRef(m, "ParamSpec", state->ParamSpec_type) < 0) {
  ------------------
  |  Branch (14756:9): [True: 0, False: 1]
  ------------------
14757|      0|        return -1;
14758|      0|    }
14759|      1|    if (PyModule_AddObjectRef(m, "TypeVarTuple", state->TypeVarTuple_type) < 0)
  ------------------
  |  Branch (14759:9): [True: 0, False: 1]
  ------------------
14760|      0|        {
14761|      0|        return -1;
14762|      0|    }
14763|      1|    return 0;
14764|      1|}
Python-ast.c:get_ast_state:
   22|    100|{
   23|    100|    PyInterpreterState *interp = _PyInterpreterState_GET();
   24|    100|    struct ast_state *state = &interp->ast;
   25|    100|    assert(!state->finalized);
  ------------------
  |  Branch (25:5): [True: 100, False: 0]
  ------------------
   26|    100|    if (_PyOnceFlag_CallOnce(&state->once, (_Py_once_fn_t *)&init_types, state) < 0) {
  ------------------
  |  Branch (26:9): [True: 0, False: 100]
  ------------------
   27|      0|        return NULL;
   28|      0|    }
   29|    100|    return state;
   30|    100|}
Python-ast.c:init_types:
 2360|      1|{
 2361|      1|    struct ast_state *state = arg;
 2362|      1|    if (init_identifiers(state) < 0) {
  ------------------
  |  Branch (2362:9): [True: 0, False: 1]
  ------------------
 2363|      0|        return -1;
 2364|      0|    }
 2365|      1|    state->AST_type = PyType_FromSpec(&AST_type_spec);
 2366|      1|    if (!state->AST_type) {
  ------------------
  |  Branch (2366:9): [True: 0, False: 1]
  ------------------
 2367|      0|        return -1;
 2368|      0|    }
 2369|      1|    state->abstract_types = PySet_New(NULL);
 2370|      1|    if (!state->abstract_types) {
  ------------------
  |  Branch (2370:9): [True: 0, False: 1]
  ------------------
 2371|      0|        return -1;
 2372|      0|    }
 2373|      1|    if (PySet_Add(state->abstract_types, state->AST_type) < 0) {
  ------------------
  |  Branch (2373:9): [True: 0, False: 1]
  ------------------
 2374|      0|        return -1;
 2375|      0|    }
 2376|      1|    if (add_ast_fields(state) < 0) {
  ------------------
  |  Branch (2376:9): [True: 0, False: 1]
  ------------------
 2377|      0|        return -1;
 2378|      0|    }
 2379|      1|    state->mod_type = make_type(state, "mod", state->AST_type, NULL, 0,
 2380|      1|        "mod = Module(stmt* body, type_ignore* type_ignores)\n"
 2381|      1|        "    | Interactive(stmt* body)\n"
 2382|      1|        "    | Expression(expr body)\n"
 2383|      1|        "    | FunctionType(expr* argtypes, expr returns)");
 2384|      1|    if (!state->mod_type) return -1;
  ------------------
  |  Branch (2384:9): [True: 0, False: 1]
  ------------------
 2385|      1|    if (add_attributes(state, state->mod_type, NULL, 0) < 0) return -1;
  ------------------
  |  Branch (2385:9): [True: 0, False: 1]
  ------------------
 2386|      1|    if (PySet_Add(state->abstract_types, state->mod_type) < 0) return -1;
  ------------------
  |  Branch (2386:9): [True: 0, False: 1]
  ------------------
 2387|      1|    state->Module_type = make_type(state, "Module", state->mod_type,
 2388|      1|                                   Module_fields, 2,
 2389|      1|        "Module(stmt* body, type_ignore* type_ignores)");
 2390|      1|    if (!state->Module_type) return -1;
  ------------------
  |  Branch (2390:9): [True: 0, False: 1]
  ------------------
 2391|      1|    state->Interactive_type = make_type(state, "Interactive", state->mod_type,
 2392|      1|                                        Interactive_fields, 1,
 2393|      1|        "Interactive(stmt* body)");
 2394|      1|    if (!state->Interactive_type) return -1;
  ------------------
  |  Branch (2394:9): [True: 0, False: 1]
  ------------------
 2395|      1|    state->Expression_type = make_type(state, "Expression", state->mod_type,
 2396|      1|                                       Expression_fields, 1,
 2397|      1|        "Expression(expr body)");
 2398|      1|    if (!state->Expression_type) return -1;
  ------------------
  |  Branch (2398:9): [True: 0, False: 1]
  ------------------
 2399|      1|    state->FunctionType_type = make_type(state, "FunctionType",
 2400|      1|                                         state->mod_type, FunctionType_fields,
 2401|      1|                                         2,
 2402|      1|        "FunctionType(expr* argtypes, expr returns)");
 2403|      1|    if (!state->FunctionType_type) return -1;
  ------------------
  |  Branch (2403:9): [True: 0, False: 1]
  ------------------
 2404|      1|    state->stmt_type = make_type(state, "stmt", state->AST_type, NULL, 0,
 2405|      1|        "stmt = FunctionDef(identifier name, arguments args, stmt* body, expr* decorator_list, expr? returns, string? type_comment, type_param* type_params)\n"
 2406|      1|        "     | AsyncFunctionDef(identifier name, arguments args, stmt* body, expr* decorator_list, expr? returns, string? type_comment, type_param* type_params)\n"
 2407|      1|        "     | ClassDef(identifier name, expr* bases, keyword* keywords, stmt* body, expr* decorator_list, type_param* type_params)\n"
 2408|      1|        "     | Return(expr? value)\n"
 2409|      1|        "     | Delete(expr* targets)\n"
 2410|      1|        "     | Assign(expr* targets, expr value, string? type_comment)\n"
 2411|      1|        "     | TypeAlias(expr name, type_param* type_params, expr value)\n"
 2412|      1|        "     | AugAssign(expr target, operator op, expr value)\n"
 2413|      1|        "     | AnnAssign(expr target, expr annotation, expr? value, int simple)\n"
 2414|      1|        "     | For(expr target, expr iter, stmt* body, stmt* orelse, string? type_comment)\n"
 2415|      1|        "     | AsyncFor(expr target, expr iter, stmt* body, stmt* orelse, string? type_comment)\n"
 2416|      1|        "     | While(expr test, stmt* body, stmt* orelse)\n"
 2417|      1|        "     | If(expr test, stmt* body, stmt* orelse)\n"
 2418|      1|        "     | With(withitem* items, stmt* body, string? type_comment)\n"
 2419|      1|        "     | AsyncWith(withitem* items, stmt* body, string? type_comment)\n"
 2420|      1|        "     | Match(expr subject, match_case* cases)\n"
 2421|      1|        "     | Raise(expr? exc, expr? cause)\n"
 2422|      1|        "     | Try(stmt* body, excepthandler* handlers, stmt* orelse, stmt* finalbody)\n"
 2423|      1|        "     | TryStar(stmt* body, excepthandler* handlers, stmt* orelse, stmt* finalbody)\n"
 2424|      1|        "     | Assert(expr test, expr? msg)\n"
 2425|      1|        "     | Import(alias* names, int? is_lazy)\n"
 2426|      1|        "     | ImportFrom(identifier? module, alias* names, int? level, int? is_lazy)\n"
 2427|      1|        "     | Global(identifier* names)\n"
 2428|      1|        "     | Nonlocal(identifier* names)\n"
 2429|      1|        "     | Expr(expr value)\n"
 2430|      1|        "     | Pass\n"
 2431|      1|        "     | Break\n"
 2432|      1|        "     | Continue");
 2433|      1|    if (!state->stmt_type) return -1;
  ------------------
  |  Branch (2433:9): [True: 0, False: 1]
  ------------------
 2434|      1|    if (add_attributes(state, state->stmt_type, stmt_attributes, 4) < 0) return
  ------------------
  |  Branch (2434:9): [True: 0, False: 1]
  ------------------
 2435|      0|        -1;
 2436|      1|    if (PySet_Add(state->abstract_types, state->stmt_type) < 0) return -1;
  ------------------
  |  Branch (2436:9): [True: 0, False: 1]
  ------------------
 2437|      1|    if (PyObject_SetAttr(state->stmt_type, state->end_lineno, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2437:9): [True: 0, False: 1]
  ------------------
 2438|      0|        return -1;
 2439|      1|    if (PyObject_SetAttr(state->stmt_type, state->end_col_offset, Py_None) ==
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2439:9): [True: 0, False: 1]
  ------------------
 2440|      1|        -1)
 2441|      0|        return -1;
 2442|      1|    state->FunctionDef_type = make_type(state, "FunctionDef", state->stmt_type,
 2443|      1|                                        FunctionDef_fields, 7,
 2444|      1|        "FunctionDef(identifier name, arguments args, stmt* body, expr* decorator_list, expr? returns, string? type_comment, type_param* type_params)");
 2445|      1|    if (!state->FunctionDef_type) return -1;
  ------------------
  |  Branch (2445:9): [True: 0, False: 1]
  ------------------
 2446|      1|    if (PyObject_SetAttr(state->FunctionDef_type, state->returns, Py_None) ==
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2446:9): [True: 0, False: 1]
  ------------------
 2447|      1|        -1)
 2448|      0|        return -1;
 2449|      1|    if (PyObject_SetAttr(state->FunctionDef_type, state->type_comment, 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|    state->AsyncFunctionDef_type = make_type(state, "AsyncFunctionDef",
 2453|      1|                                             state->stmt_type,
 2454|      1|                                             AsyncFunctionDef_fields, 7,
 2455|      1|        "AsyncFunctionDef(identifier name, arguments args, stmt* body, expr* decorator_list, expr? returns, string? type_comment, type_param* type_params)");
 2456|      1|    if (!state->AsyncFunctionDef_type) return -1;
  ------------------
  |  Branch (2456:9): [True: 0, False: 1]
  ------------------
 2457|      1|    if (PyObject_SetAttr(state->AsyncFunctionDef_type, state->returns, Py_None)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2457:9): [True: 0, False: 1]
  ------------------
 2458|      1|        == -1)
 2459|      0|        return -1;
 2460|      1|    if (PyObject_SetAttr(state->AsyncFunctionDef_type, state->type_comment,
  ------------------
  |  Branch (2460:9): [True: 0, False: 1]
  ------------------
 2461|      1|        Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 2462|      0|        return -1;
 2463|      1|    state->ClassDef_type = make_type(state, "ClassDef", state->stmt_type,
 2464|      1|                                     ClassDef_fields, 6,
 2465|      1|        "ClassDef(identifier name, expr* bases, keyword* keywords, stmt* body, expr* decorator_list, type_param* type_params)");
 2466|      1|    if (!state->ClassDef_type) return -1;
  ------------------
  |  Branch (2466:9): [True: 0, False: 1]
  ------------------
 2467|      1|    state->Return_type = make_type(state, "Return", state->stmt_type,
 2468|      1|                                   Return_fields, 1,
 2469|      1|        "Return(expr? value)");
 2470|      1|    if (!state->Return_type) return -1;
  ------------------
  |  Branch (2470:9): [True: 0, False: 1]
  ------------------
 2471|      1|    if (PyObject_SetAttr(state->Return_type, state->value, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2471:9): [True: 0, False: 1]
  ------------------
 2472|      0|        return -1;
 2473|      1|    state->Delete_type = make_type(state, "Delete", state->stmt_type,
 2474|      1|                                   Delete_fields, 1,
 2475|      1|        "Delete(expr* targets)");
 2476|      1|    if (!state->Delete_type) return -1;
  ------------------
  |  Branch (2476:9): [True: 0, False: 1]
  ------------------
 2477|      1|    state->Assign_type = make_type(state, "Assign", state->stmt_type,
 2478|      1|                                   Assign_fields, 3,
 2479|      1|        "Assign(expr* targets, expr value, string? type_comment)");
 2480|      1|    if (!state->Assign_type) return -1;
  ------------------
  |  Branch (2480:9): [True: 0, False: 1]
  ------------------
 2481|      1|    if (PyObject_SetAttr(state->Assign_type, state->type_comment, Py_None) ==
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2481:9): [True: 0, False: 1]
  ------------------
 2482|      1|        -1)
 2483|      0|        return -1;
 2484|      1|    state->TypeAlias_type = make_type(state, "TypeAlias", state->stmt_type,
 2485|      1|                                      TypeAlias_fields, 3,
 2486|      1|        "TypeAlias(expr name, type_param* type_params, expr value)");
 2487|      1|    if (!state->TypeAlias_type) return -1;
  ------------------
  |  Branch (2487:9): [True: 0, False: 1]
  ------------------
 2488|      1|    state->AugAssign_type = make_type(state, "AugAssign", state->stmt_type,
 2489|      1|                                      AugAssign_fields, 3,
 2490|      1|        "AugAssign(expr target, operator op, expr value)");
 2491|      1|    if (!state->AugAssign_type) return -1;
  ------------------
  |  Branch (2491:9): [True: 0, False: 1]
  ------------------
 2492|      1|    state->AnnAssign_type = make_type(state, "AnnAssign", state->stmt_type,
 2493|      1|                                      AnnAssign_fields, 4,
 2494|      1|        "AnnAssign(expr target, expr annotation, expr? value, int simple)");
 2495|      1|    if (!state->AnnAssign_type) return -1;
  ------------------
  |  Branch (2495:9): [True: 0, False: 1]
  ------------------
 2496|      1|    if (PyObject_SetAttr(state->AnnAssign_type, state->value, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2496:9): [True: 0, False: 1]
  ------------------
 2497|      0|        return -1;
 2498|      1|    state->For_type = make_type(state, "For", state->stmt_type, For_fields, 5,
 2499|      1|        "For(expr target, expr iter, stmt* body, stmt* orelse, string? type_comment)");
 2500|      1|    if (!state->For_type) return -1;
  ------------------
  |  Branch (2500:9): [True: 0, False: 1]
  ------------------
 2501|      1|    if (PyObject_SetAttr(state->For_type, state->type_comment, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2501:9): [True: 0, False: 1]
  ------------------
 2502|      0|        return -1;
 2503|      1|    state->AsyncFor_type = make_type(state, "AsyncFor", state->stmt_type,
 2504|      1|                                     AsyncFor_fields, 5,
 2505|      1|        "AsyncFor(expr target, expr iter, stmt* body, stmt* orelse, string? type_comment)");
 2506|      1|    if (!state->AsyncFor_type) return -1;
  ------------------
  |  Branch (2506:9): [True: 0, False: 1]
  ------------------
 2507|      1|    if (PyObject_SetAttr(state->AsyncFor_type, state->type_comment, Py_None) ==
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2507:9): [True: 0, False: 1]
  ------------------
 2508|      1|        -1)
 2509|      0|        return -1;
 2510|      1|    state->While_type = make_type(state, "While", state->stmt_type,
 2511|      1|                                  While_fields, 3,
 2512|      1|        "While(expr test, stmt* body, stmt* orelse)");
 2513|      1|    if (!state->While_type) return -1;
  ------------------
  |  Branch (2513:9): [True: 0, False: 1]
  ------------------
 2514|      1|    state->If_type = make_type(state, "If", state->stmt_type, If_fields, 3,
 2515|      1|        "If(expr test, stmt* body, stmt* orelse)");
 2516|      1|    if (!state->If_type) return -1;
  ------------------
  |  Branch (2516:9): [True: 0, False: 1]
  ------------------
 2517|      1|    state->With_type = make_type(state, "With", state->stmt_type, With_fields,
 2518|      1|                                 3,
 2519|      1|        "With(withitem* items, stmt* body, string? type_comment)");
 2520|      1|    if (!state->With_type) return -1;
  ------------------
  |  Branch (2520:9): [True: 0, False: 1]
  ------------------
 2521|      1|    if (PyObject_SetAttr(state->With_type, state->type_comment, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2521:9): [True: 0, False: 1]
  ------------------
 2522|      0|        return -1;
 2523|      1|    state->AsyncWith_type = make_type(state, "AsyncWith", state->stmt_type,
 2524|      1|                                      AsyncWith_fields, 3,
 2525|      1|        "AsyncWith(withitem* items, stmt* body, string? type_comment)");
 2526|      1|    if (!state->AsyncWith_type) return -1;
  ------------------
  |  Branch (2526:9): [True: 0, False: 1]
  ------------------
 2527|      1|    if (PyObject_SetAttr(state->AsyncWith_type, state->type_comment, Py_None)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2527:9): [True: 0, False: 1]
  ------------------
 2528|      1|        == -1)
 2529|      0|        return -1;
 2530|      1|    state->Match_type = make_type(state, "Match", state->stmt_type,
 2531|      1|                                  Match_fields, 2,
 2532|      1|        "Match(expr subject, match_case* cases)");
 2533|      1|    if (!state->Match_type) return -1;
  ------------------
  |  Branch (2533:9): [True: 0, False: 1]
  ------------------
 2534|      1|    state->Raise_type = make_type(state, "Raise", state->stmt_type,
 2535|      1|                                  Raise_fields, 2,
 2536|      1|        "Raise(expr? exc, expr? cause)");
 2537|      1|    if (!state->Raise_type) return -1;
  ------------------
  |  Branch (2537:9): [True: 0, False: 1]
  ------------------
 2538|      1|    if (PyObject_SetAttr(state->Raise_type, state->exc, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2538:9): [True: 0, False: 1]
  ------------------
 2539|      0|        return -1;
 2540|      1|    if (PyObject_SetAttr(state->Raise_type, state->cause, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2540:9): [True: 0, False: 1]
  ------------------
 2541|      0|        return -1;
 2542|      1|    state->Try_type = make_type(state, "Try", state->stmt_type, Try_fields, 4,
 2543|      1|        "Try(stmt* body, excepthandler* handlers, stmt* orelse, stmt* finalbody)");
 2544|      1|    if (!state->Try_type) return -1;
  ------------------
  |  Branch (2544:9): [True: 0, False: 1]
  ------------------
 2545|      1|    state->TryStar_type = make_type(state, "TryStar", state->stmt_type,
 2546|      1|                                    TryStar_fields, 4,
 2547|      1|        "TryStar(stmt* body, excepthandler* handlers, stmt* orelse, stmt* finalbody)");
 2548|      1|    if (!state->TryStar_type) return -1;
  ------------------
  |  Branch (2548:9): [True: 0, False: 1]
  ------------------
 2549|      1|    state->Assert_type = make_type(state, "Assert", state->stmt_type,
 2550|      1|                                   Assert_fields, 2,
 2551|      1|        "Assert(expr test, expr? msg)");
 2552|      1|    if (!state->Assert_type) return -1;
  ------------------
  |  Branch (2552:9): [True: 0, False: 1]
  ------------------
 2553|      1|    if (PyObject_SetAttr(state->Assert_type, state->msg, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2553:9): [True: 0, False: 1]
  ------------------
 2554|      0|        return -1;
 2555|      1|    state->Import_type = make_type(state, "Import", state->stmt_type,
 2556|      1|                                   Import_fields, 2,
 2557|      1|        "Import(alias* names, int? is_lazy)");
 2558|      1|    if (!state->Import_type) return -1;
  ------------------
  |  Branch (2558:9): [True: 0, False: 1]
  ------------------
 2559|      1|    if (PyObject_SetAttr(state->Import_type, state->is_lazy, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2559:9): [True: 0, False: 1]
  ------------------
 2560|      0|        return -1;
 2561|      1|    state->ImportFrom_type = make_type(state, "ImportFrom", state->stmt_type,
 2562|      1|                                       ImportFrom_fields, 4,
 2563|      1|        "ImportFrom(identifier? module, alias* names, int? level, int? is_lazy)");
 2564|      1|    if (!state->ImportFrom_type) return -1;
  ------------------
  |  Branch (2564:9): [True: 0, False: 1]
  ------------------
 2565|      1|    if (PyObject_SetAttr(state->ImportFrom_type, state->module, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2565:9): [True: 0, False: 1]
  ------------------
 2566|      0|        return -1;
 2567|      1|    if (PyObject_SetAttr(state->ImportFrom_type, state->level, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2567:9): [True: 0, False: 1]
  ------------------
 2568|      0|        return -1;
 2569|      1|    if (PyObject_SetAttr(state->ImportFrom_type, state->is_lazy, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2569:9): [True: 0, False: 1]
  ------------------
 2570|      0|        return -1;
 2571|      1|    state->Global_type = make_type(state, "Global", state->stmt_type,
 2572|      1|                                   Global_fields, 1,
 2573|      1|        "Global(identifier* names)");
 2574|      1|    if (!state->Global_type) return -1;
  ------------------
  |  Branch (2574:9): [True: 0, False: 1]
  ------------------
 2575|      1|    state->Nonlocal_type = make_type(state, "Nonlocal", state->stmt_type,
 2576|      1|                                     Nonlocal_fields, 1,
 2577|      1|        "Nonlocal(identifier* names)");
 2578|      1|    if (!state->Nonlocal_type) return -1;
  ------------------
  |  Branch (2578:9): [True: 0, False: 1]
  ------------------
 2579|      1|    state->Expr_type = make_type(state, "Expr", state->stmt_type, Expr_fields,
 2580|      1|                                 1,
 2581|      1|        "Expr(expr value)");
 2582|      1|    if (!state->Expr_type) return -1;
  ------------------
  |  Branch (2582:9): [True: 0, False: 1]
  ------------------
 2583|      1|    state->Pass_type = make_type(state, "Pass", state->stmt_type, NULL, 0,
 2584|      1|        "Pass");
 2585|      1|    if (!state->Pass_type) return -1;
  ------------------
  |  Branch (2585:9): [True: 0, False: 1]
  ------------------
 2586|      1|    state->Break_type = make_type(state, "Break", state->stmt_type, NULL, 0,
 2587|      1|        "Break");
 2588|      1|    if (!state->Break_type) return -1;
  ------------------
  |  Branch (2588:9): [True: 0, False: 1]
  ------------------
 2589|      1|    state->Continue_type = make_type(state, "Continue", state->stmt_type, NULL,
 2590|      1|                                     0,
 2591|      1|        "Continue");
 2592|      1|    if (!state->Continue_type) return -1;
  ------------------
  |  Branch (2592:9): [True: 0, False: 1]
  ------------------
 2593|      1|    state->expr_type = make_type(state, "expr", state->AST_type, NULL, 0,
 2594|      1|        "expr = BoolOp(boolop op, expr* values)\n"
 2595|      1|        "     | NamedExpr(expr target, expr value)\n"
 2596|      1|        "     | BinOp(expr left, operator op, expr right)\n"
 2597|      1|        "     | UnaryOp(unaryop op, expr operand)\n"
 2598|      1|        "     | Lambda(arguments args, expr body)\n"
 2599|      1|        "     | IfExp(expr test, expr body, expr orelse)\n"
 2600|      1|        "     | Dict(expr?* keys, expr* values)\n"
 2601|      1|        "     | Set(expr* elts)\n"
 2602|      1|        "     | ListComp(expr elt, comprehension* generators)\n"
 2603|      1|        "     | SetComp(expr elt, comprehension* generators)\n"
 2604|      1|        "     | DictComp(expr key, expr? value, comprehension* generators)\n"
 2605|      1|        "     | GeneratorExp(expr elt, comprehension* generators)\n"
 2606|      1|        "     | Await(expr value)\n"
 2607|      1|        "     | Yield(expr? value)\n"
 2608|      1|        "     | YieldFrom(expr value)\n"
 2609|      1|        "     | Compare(expr left, cmpop* ops, expr* comparators)\n"
 2610|      1|        "     | Call(expr func, expr* args, keyword* keywords)\n"
 2611|      1|        "     | FormattedValue(expr value, int conversion, expr? format_spec)\n"
 2612|      1|        "     | Interpolation(expr value, constant str, int conversion, expr? format_spec)\n"
 2613|      1|        "     | JoinedStr(expr* values)\n"
 2614|      1|        "     | TemplateStr(expr* values)\n"
 2615|      1|        "     | Constant(constant value, string? kind)\n"
 2616|      1|        "     | Attribute(expr value, identifier attr, expr_context ctx)\n"
 2617|      1|        "     | Subscript(expr value, expr slice, expr_context ctx)\n"
 2618|      1|        "     | Starred(expr value, expr_context ctx)\n"
 2619|      1|        "     | Name(identifier id, expr_context ctx)\n"
 2620|      1|        "     | List(expr* elts, expr_context ctx)\n"
 2621|      1|        "     | Tuple(expr* elts, expr_context ctx)\n"
 2622|      1|        "     | Slice(expr? lower, expr? upper, expr? step)");
 2623|      1|    if (!state->expr_type) return -1;
  ------------------
  |  Branch (2623:9): [True: 0, False: 1]
  ------------------
 2624|      1|    if (add_attributes(state, state->expr_type, expr_attributes, 4) < 0) return
  ------------------
  |  Branch (2624:9): [True: 0, False: 1]
  ------------------
 2625|      0|        -1;
 2626|      1|    if (PySet_Add(state->abstract_types, state->expr_type) < 0) return -1;
  ------------------
  |  Branch (2626:9): [True: 0, False: 1]
  ------------------
 2627|      1|    if (PyObject_SetAttr(state->expr_type, state->end_lineno, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2627:9): [True: 0, False: 1]
  ------------------
 2628|      0|        return -1;
 2629|      1|    if (PyObject_SetAttr(state->expr_type, state->end_col_offset, Py_None) ==
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2629:9): [True: 0, False: 1]
  ------------------
 2630|      1|        -1)
 2631|      0|        return -1;
 2632|      1|    state->BoolOp_type = make_type(state, "BoolOp", state->expr_type,
 2633|      1|                                   BoolOp_fields, 2,
 2634|      1|        "BoolOp(boolop op, expr* values)");
 2635|      1|    if (!state->BoolOp_type) return -1;
  ------------------
  |  Branch (2635:9): [True: 0, False: 1]
  ------------------
 2636|      1|    state->NamedExpr_type = make_type(state, "NamedExpr", state->expr_type,
 2637|      1|                                      NamedExpr_fields, 2,
 2638|      1|        "NamedExpr(expr target, expr value)");
 2639|      1|    if (!state->NamedExpr_type) return -1;
  ------------------
  |  Branch (2639:9): [True: 0, False: 1]
  ------------------
 2640|      1|    state->BinOp_type = make_type(state, "BinOp", state->expr_type,
 2641|      1|                                  BinOp_fields, 3,
 2642|      1|        "BinOp(expr left, operator op, expr right)");
 2643|      1|    if (!state->BinOp_type) return -1;
  ------------------
  |  Branch (2643:9): [True: 0, False: 1]
  ------------------
 2644|      1|    state->UnaryOp_type = make_type(state, "UnaryOp", state->expr_type,
 2645|      1|                                    UnaryOp_fields, 2,
 2646|      1|        "UnaryOp(unaryop op, expr operand)");
 2647|      1|    if (!state->UnaryOp_type) return -1;
  ------------------
  |  Branch (2647:9): [True: 0, False: 1]
  ------------------
 2648|      1|    state->Lambda_type = make_type(state, "Lambda", state->expr_type,
 2649|      1|                                   Lambda_fields, 2,
 2650|      1|        "Lambda(arguments args, expr body)");
 2651|      1|    if (!state->Lambda_type) return -1;
  ------------------
  |  Branch (2651:9): [True: 0, False: 1]
  ------------------
 2652|      1|    state->IfExp_type = make_type(state, "IfExp", state->expr_type,
 2653|      1|                                  IfExp_fields, 3,
 2654|      1|        "IfExp(expr test, expr body, expr orelse)");
 2655|      1|    if (!state->IfExp_type) return -1;
  ------------------
  |  Branch (2655:9): [True: 0, False: 1]
  ------------------
 2656|      1|    state->Dict_type = make_type(state, "Dict", state->expr_type, Dict_fields,
 2657|      1|                                 2,
 2658|      1|        "Dict(expr?* keys, expr* values)");
 2659|      1|    if (!state->Dict_type) return -1;
  ------------------
  |  Branch (2659:9): [True: 0, False: 1]
  ------------------
 2660|      1|    state->Set_type = make_type(state, "Set", state->expr_type, Set_fields, 1,
 2661|      1|        "Set(expr* elts)");
 2662|      1|    if (!state->Set_type) return -1;
  ------------------
  |  Branch (2662:9): [True: 0, False: 1]
  ------------------
 2663|      1|    state->ListComp_type = make_type(state, "ListComp", state->expr_type,
 2664|      1|                                     ListComp_fields, 2,
 2665|      1|        "ListComp(expr elt, comprehension* generators)");
 2666|      1|    if (!state->ListComp_type) return -1;
  ------------------
  |  Branch (2666:9): [True: 0, False: 1]
  ------------------
 2667|      1|    state->SetComp_type = make_type(state, "SetComp", state->expr_type,
 2668|      1|                                    SetComp_fields, 2,
 2669|      1|        "SetComp(expr elt, comprehension* generators)");
 2670|      1|    if (!state->SetComp_type) return -1;
  ------------------
  |  Branch (2670:9): [True: 0, False: 1]
  ------------------
 2671|      1|    state->DictComp_type = make_type(state, "DictComp", state->expr_type,
 2672|      1|                                     DictComp_fields, 3,
 2673|      1|        "DictComp(expr key, expr? value, comprehension* generators)");
 2674|      1|    if (!state->DictComp_type) return -1;
  ------------------
  |  Branch (2674:9): [True: 0, False: 1]
  ------------------
 2675|      1|    if (PyObject_SetAttr(state->DictComp_type, state->value, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2675:9): [True: 0, False: 1]
  ------------------
 2676|      0|        return -1;
 2677|      1|    state->GeneratorExp_type = make_type(state, "GeneratorExp",
 2678|      1|                                         state->expr_type, GeneratorExp_fields,
 2679|      1|                                         2,
 2680|      1|        "GeneratorExp(expr elt, comprehension* generators)");
 2681|      1|    if (!state->GeneratorExp_type) return -1;
  ------------------
  |  Branch (2681:9): [True: 0, False: 1]
  ------------------
 2682|      1|    state->Await_type = make_type(state, "Await", state->expr_type,
 2683|      1|                                  Await_fields, 1,
 2684|      1|        "Await(expr value)");
 2685|      1|    if (!state->Await_type) return -1;
  ------------------
  |  Branch (2685:9): [True: 0, False: 1]
  ------------------
 2686|      1|    state->Yield_type = make_type(state, "Yield", state->expr_type,
 2687|      1|                                  Yield_fields, 1,
 2688|      1|        "Yield(expr? value)");
 2689|      1|    if (!state->Yield_type) return -1;
  ------------------
  |  Branch (2689:9): [True: 0, False: 1]
  ------------------
 2690|      1|    if (PyObject_SetAttr(state->Yield_type, state->value, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2690:9): [True: 0, False: 1]
  ------------------
 2691|      0|        return -1;
 2692|      1|    state->YieldFrom_type = make_type(state, "YieldFrom", state->expr_type,
 2693|      1|                                      YieldFrom_fields, 1,
 2694|      1|        "YieldFrom(expr value)");
 2695|      1|    if (!state->YieldFrom_type) return -1;
  ------------------
  |  Branch (2695:9): [True: 0, False: 1]
  ------------------
 2696|      1|    state->Compare_type = make_type(state, "Compare", state->expr_type,
 2697|      1|                                    Compare_fields, 3,
 2698|      1|        "Compare(expr left, cmpop* ops, expr* comparators)");
 2699|      1|    if (!state->Compare_type) return -1;
  ------------------
  |  Branch (2699:9): [True: 0, False: 1]
  ------------------
 2700|      1|    state->Call_type = make_type(state, "Call", state->expr_type, Call_fields,
 2701|      1|                                 3,
 2702|      1|        "Call(expr func, expr* args, keyword* keywords)");
 2703|      1|    if (!state->Call_type) return -1;
  ------------------
  |  Branch (2703:9): [True: 0, False: 1]
  ------------------
 2704|      1|    state->FormattedValue_type = make_type(state, "FormattedValue",
 2705|      1|                                           state->expr_type,
 2706|      1|                                           FormattedValue_fields, 3,
 2707|      1|        "FormattedValue(expr value, int conversion, expr? format_spec)");
 2708|      1|    if (!state->FormattedValue_type) return -1;
  ------------------
  |  Branch (2708:9): [True: 0, False: 1]
  ------------------
 2709|      1|    if (PyObject_SetAttr(state->FormattedValue_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->Interpolation_type = make_type(state, "Interpolation",
 2713|      1|                                          state->expr_type,
 2714|      1|                                          Interpolation_fields, 4,
 2715|      1|        "Interpolation(expr value, constant str, int conversion, expr? format_spec)");
 2716|      1|    if (!state->Interpolation_type) return -1;
  ------------------
  |  Branch (2716:9): [True: 0, False: 1]
  ------------------
 2717|      1|    if (PyObject_SetAttr(state->Interpolation_type, state->format_spec,
  ------------------
  |  Branch (2717:9): [True: 0, False: 1]
  ------------------
 2718|      1|        Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 2719|      0|        return -1;
 2720|      1|    state->JoinedStr_type = make_type(state, "JoinedStr", state->expr_type,
 2721|      1|                                      JoinedStr_fields, 1,
 2722|      1|        "JoinedStr(expr* values)");
 2723|      1|    if (!state->JoinedStr_type) return -1;
  ------------------
  |  Branch (2723:9): [True: 0, False: 1]
  ------------------
 2724|      1|    state->TemplateStr_type = make_type(state, "TemplateStr", state->expr_type,
 2725|      1|                                        TemplateStr_fields, 1,
 2726|      1|        "TemplateStr(expr* values)");
 2727|      1|    if (!state->TemplateStr_type) return -1;
  ------------------
  |  Branch (2727:9): [True: 0, False: 1]
  ------------------
 2728|      1|    state->Constant_type = make_type(state, "Constant", state->expr_type,
 2729|      1|                                     Constant_fields, 2,
 2730|      1|        "Constant(constant value, string? kind)");
 2731|      1|    if (!state->Constant_type) return -1;
  ------------------
  |  Branch (2731:9): [True: 0, False: 1]
  ------------------
 2732|      1|    if (PyObject_SetAttr(state->Constant_type, state->kind, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2732:9): [True: 0, False: 1]
  ------------------
 2733|      0|        return -1;
 2734|      1|    state->Attribute_type = make_type(state, "Attribute", state->expr_type,
 2735|      1|                                      Attribute_fields, 3,
 2736|      1|        "Attribute(expr value, identifier attr, expr_context ctx)");
 2737|      1|    if (!state->Attribute_type) return -1;
  ------------------
  |  Branch (2737:9): [True: 0, False: 1]
  ------------------
 2738|      1|    state->Subscript_type = make_type(state, "Subscript", state->expr_type,
 2739|      1|                                      Subscript_fields, 3,
 2740|      1|        "Subscript(expr value, expr slice, expr_context ctx)");
 2741|      1|    if (!state->Subscript_type) return -1;
  ------------------
  |  Branch (2741:9): [True: 0, False: 1]
  ------------------
 2742|      1|    state->Starred_type = make_type(state, "Starred", state->expr_type,
 2743|      1|                                    Starred_fields, 2,
 2744|      1|        "Starred(expr value, expr_context ctx)");
 2745|      1|    if (!state->Starred_type) return -1;
  ------------------
  |  Branch (2745:9): [True: 0, False: 1]
  ------------------
 2746|      1|    state->Name_type = make_type(state, "Name", state->expr_type, Name_fields,
 2747|      1|                                 2,
 2748|      1|        "Name(identifier id, expr_context ctx)");
 2749|      1|    if (!state->Name_type) return -1;
  ------------------
  |  Branch (2749:9): [True: 0, False: 1]
  ------------------
 2750|      1|    state->List_type = make_type(state, "List", state->expr_type, List_fields,
 2751|      1|                                 2,
 2752|      1|        "List(expr* elts, expr_context ctx)");
 2753|      1|    if (!state->List_type) return -1;
  ------------------
  |  Branch (2753:9): [True: 0, False: 1]
  ------------------
 2754|      1|    state->Tuple_type = make_type(state, "Tuple", state->expr_type,
 2755|      1|                                  Tuple_fields, 2,
 2756|      1|        "Tuple(expr* elts, expr_context ctx)");
 2757|      1|    if (!state->Tuple_type) return -1;
  ------------------
  |  Branch (2757:9): [True: 0, False: 1]
  ------------------
 2758|      1|    state->Slice_type = make_type(state, "Slice", state->expr_type,
 2759|      1|                                  Slice_fields, 3,
 2760|      1|        "Slice(expr? lower, expr? upper, expr? step)");
 2761|      1|    if (!state->Slice_type) return -1;
  ------------------
  |  Branch (2761:9): [True: 0, False: 1]
  ------------------
 2762|      1|    if (PyObject_SetAttr(state->Slice_type, state->lower, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2762:9): [True: 0, False: 1]
  ------------------
 2763|      0|        return -1;
 2764|      1|    if (PyObject_SetAttr(state->Slice_type, state->upper, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2764:9): [True: 0, False: 1]
  ------------------
 2765|      0|        return -1;
 2766|      1|    if (PyObject_SetAttr(state->Slice_type, state->step, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2766:9): [True: 0, False: 1]
  ------------------
 2767|      0|        return -1;
 2768|      1|    state->expr_context_type = make_type(state, "expr_context",
 2769|      1|                                         state->AST_type, NULL, 0,
 2770|      1|        "expr_context = Load | Store | Del");
 2771|      1|    if (!state->expr_context_type) return -1;
  ------------------
  |  Branch (2771:9): [True: 0, False: 1]
  ------------------
 2772|      1|    if (add_attributes(state, state->expr_context_type, NULL, 0) < 0) return -1;
  ------------------
  |  Branch (2772:9): [True: 0, False: 1]
  ------------------
 2773|      1|    if (PySet_Add(state->abstract_types, state->expr_context_type) < 0) return
  ------------------
  |  Branch (2773:9): [True: 0, False: 1]
  ------------------
 2774|      0|        -1;
 2775|      1|    state->Load_type = make_type(state, "Load", state->expr_context_type, NULL,
 2776|      1|                                 0,
 2777|      1|        "Load");
 2778|      1|    if (!state->Load_type) return -1;
  ------------------
  |  Branch (2778:9): [True: 0, False: 1]
  ------------------
 2779|      1|    state->Load_singleton = PyType_GenericNew((PyTypeObject *)state->Load_type,
 2780|      1|                                              NULL, NULL);
 2781|      1|    if (!state->Load_singleton) return -1;
  ------------------
  |  Branch (2781:9): [True: 0, False: 1]
  ------------------
 2782|      1|    state->Store_type = make_type(state, "Store", state->expr_context_type,
 2783|      1|                                  NULL, 0,
 2784|      1|        "Store");
 2785|      1|    if (!state->Store_type) return -1;
  ------------------
  |  Branch (2785:9): [True: 0, False: 1]
  ------------------
 2786|      1|    state->Store_singleton = PyType_GenericNew((PyTypeObject
 2787|      1|                                               *)state->Store_type, NULL, NULL);
 2788|      1|    if (!state->Store_singleton) return -1;
  ------------------
  |  Branch (2788:9): [True: 0, False: 1]
  ------------------
 2789|      1|    state->Del_type = make_type(state, "Del", state->expr_context_type, NULL, 0,
 2790|      1|        "Del");
 2791|      1|    if (!state->Del_type) return -1;
  ------------------
  |  Branch (2791:9): [True: 0, False: 1]
  ------------------
 2792|      1|    state->Del_singleton = PyType_GenericNew((PyTypeObject *)state->Del_type,
 2793|      1|                                             NULL, NULL);
 2794|      1|    if (!state->Del_singleton) return -1;
  ------------------
  |  Branch (2794:9): [True: 0, False: 1]
  ------------------
 2795|      1|    state->boolop_type = make_type(state, "boolop", state->AST_type, NULL, 0,
 2796|      1|        "boolop = And | Or");
 2797|      1|    if (!state->boolop_type) return -1;
  ------------------
  |  Branch (2797:9): [True: 0, False: 1]
  ------------------
 2798|      1|    if (add_attributes(state, state->boolop_type, NULL, 0) < 0) return -1;
  ------------------
  |  Branch (2798:9): [True: 0, False: 1]
  ------------------
 2799|      1|    if (PySet_Add(state->abstract_types, state->boolop_type) < 0) return -1;
  ------------------
  |  Branch (2799:9): [True: 0, False: 1]
  ------------------
 2800|      1|    state->And_type = make_type(state, "And", state->boolop_type, NULL, 0,
 2801|      1|        "And");
 2802|      1|    if (!state->And_type) return -1;
  ------------------
  |  Branch (2802:9): [True: 0, False: 1]
  ------------------
 2803|      1|    state->And_singleton = PyType_GenericNew((PyTypeObject *)state->And_type,
 2804|      1|                                             NULL, NULL);
 2805|      1|    if (!state->And_singleton) return -1;
  ------------------
  |  Branch (2805:9): [True: 0, False: 1]
  ------------------
 2806|      1|    state->Or_type = make_type(state, "Or", state->boolop_type, NULL, 0,
 2807|      1|        "Or");
 2808|      1|    if (!state->Or_type) return -1;
  ------------------
  |  Branch (2808:9): [True: 0, False: 1]
  ------------------
 2809|      1|    state->Or_singleton = PyType_GenericNew((PyTypeObject *)state->Or_type,
 2810|      1|                                            NULL, NULL);
 2811|      1|    if (!state->Or_singleton) return -1;
  ------------------
  |  Branch (2811:9): [True: 0, False: 1]
  ------------------
 2812|      1|    state->operator_type = make_type(state, "operator", state->AST_type, NULL,
 2813|      1|                                     0,
 2814|      1|        "operator = Add | Sub | Mult | MatMult | Div | Mod | Pow | LShift | RShift | BitOr | BitXor | BitAnd | FloorDiv");
 2815|      1|    if (!state->operator_type) return -1;
  ------------------
  |  Branch (2815:9): [True: 0, False: 1]
  ------------------
 2816|      1|    if (add_attributes(state, state->operator_type, NULL, 0) < 0) return -1;
  ------------------
  |  Branch (2816:9): [True: 0, False: 1]
  ------------------
 2817|      1|    if (PySet_Add(state->abstract_types, state->operator_type) < 0) return -1;
  ------------------
  |  Branch (2817:9): [True: 0, False: 1]
  ------------------
 2818|      1|    state->Add_type = make_type(state, "Add", state->operator_type, NULL, 0,
 2819|      1|        "Add");
 2820|      1|    if (!state->Add_type) return -1;
  ------------------
  |  Branch (2820:9): [True: 0, False: 1]
  ------------------
 2821|      1|    state->Add_singleton = PyType_GenericNew((PyTypeObject *)state->Add_type,
 2822|      1|                                             NULL, NULL);
 2823|      1|    if (!state->Add_singleton) return -1;
  ------------------
  |  Branch (2823:9): [True: 0, False: 1]
  ------------------
 2824|      1|    state->Sub_type = make_type(state, "Sub", state->operator_type, NULL, 0,
 2825|      1|        "Sub");
 2826|      1|    if (!state->Sub_type) return -1;
  ------------------
  |  Branch (2826:9): [True: 0, False: 1]
  ------------------
 2827|      1|    state->Sub_singleton = PyType_GenericNew((PyTypeObject *)state->Sub_type,
 2828|      1|                                             NULL, NULL);
 2829|      1|    if (!state->Sub_singleton) return -1;
  ------------------
  |  Branch (2829:9): [True: 0, False: 1]
  ------------------
 2830|      1|    state->Mult_type = make_type(state, "Mult", state->operator_type, NULL, 0,
 2831|      1|        "Mult");
 2832|      1|    if (!state->Mult_type) return -1;
  ------------------
  |  Branch (2832:9): [True: 0, False: 1]
  ------------------
 2833|      1|    state->Mult_singleton = PyType_GenericNew((PyTypeObject *)state->Mult_type,
 2834|      1|                                              NULL, NULL);
 2835|      1|    if (!state->Mult_singleton) return -1;
  ------------------
  |  Branch (2835:9): [True: 0, False: 1]
  ------------------
 2836|      1|    state->MatMult_type = make_type(state, "MatMult", state->operator_type,
 2837|      1|                                    NULL, 0,
 2838|      1|        "MatMult");
 2839|      1|    if (!state->MatMult_type) return -1;
  ------------------
  |  Branch (2839:9): [True: 0, False: 1]
  ------------------
 2840|      1|    state->MatMult_singleton = PyType_GenericNew((PyTypeObject
 2841|      1|                                                 *)state->MatMult_type, NULL,
 2842|      1|                                                 NULL);
 2843|      1|    if (!state->MatMult_singleton) return -1;
  ------------------
  |  Branch (2843:9): [True: 0, False: 1]
  ------------------
 2844|      1|    state->Div_type = make_type(state, "Div", state->operator_type, NULL, 0,
 2845|      1|        "Div");
 2846|      1|    if (!state->Div_type) return -1;
  ------------------
  |  Branch (2846:9): [True: 0, False: 1]
  ------------------
 2847|      1|    state->Div_singleton = PyType_GenericNew((PyTypeObject *)state->Div_type,
 2848|      1|                                             NULL, NULL);
 2849|      1|    if (!state->Div_singleton) return -1;
  ------------------
  |  Branch (2849:9): [True: 0, False: 1]
  ------------------
 2850|      1|    state->Mod_type = make_type(state, "Mod", state->operator_type, NULL, 0,
 2851|      1|        "Mod");
 2852|      1|    if (!state->Mod_type) return -1;
  ------------------
  |  Branch (2852:9): [True: 0, False: 1]
  ------------------
 2853|      1|    state->Mod_singleton = PyType_GenericNew((PyTypeObject *)state->Mod_type,
 2854|      1|                                             NULL, NULL);
 2855|      1|    if (!state->Mod_singleton) return -1;
  ------------------
  |  Branch (2855:9): [True: 0, False: 1]
  ------------------
 2856|      1|    state->Pow_type = make_type(state, "Pow", state->operator_type, NULL, 0,
 2857|      1|        "Pow");
 2858|      1|    if (!state->Pow_type) return -1;
  ------------------
  |  Branch (2858:9): [True: 0, False: 1]
  ------------------
 2859|      1|    state->Pow_singleton = PyType_GenericNew((PyTypeObject *)state->Pow_type,
 2860|      1|                                             NULL, NULL);
 2861|      1|    if (!state->Pow_singleton) return -1;
  ------------------
  |  Branch (2861:9): [True: 0, False: 1]
  ------------------
 2862|      1|    state->LShift_type = make_type(state, "LShift", state->operator_type, NULL,
 2863|      1|                                   0,
 2864|      1|        "LShift");
 2865|      1|    if (!state->LShift_type) return -1;
  ------------------
  |  Branch (2865:9): [True: 0, False: 1]
  ------------------
 2866|      1|    state->LShift_singleton = PyType_GenericNew((PyTypeObject
 2867|      1|                                                *)state->LShift_type, NULL,
 2868|      1|                                                NULL);
 2869|      1|    if (!state->LShift_singleton) return -1;
  ------------------
  |  Branch (2869:9): [True: 0, False: 1]
  ------------------
 2870|      1|    state->RShift_type = make_type(state, "RShift", state->operator_type, NULL,
 2871|      1|                                   0,
 2872|      1|        "RShift");
 2873|      1|    if (!state->RShift_type) return -1;
  ------------------
  |  Branch (2873:9): [True: 0, False: 1]
  ------------------
 2874|      1|    state->RShift_singleton = PyType_GenericNew((PyTypeObject
 2875|      1|                                                *)state->RShift_type, NULL,
 2876|      1|                                                NULL);
 2877|      1|    if (!state->RShift_singleton) return -1;
  ------------------
  |  Branch (2877:9): [True: 0, False: 1]
  ------------------
 2878|      1|    state->BitOr_type = make_type(state, "BitOr", state->operator_type, NULL, 0,
 2879|      1|        "BitOr");
 2880|      1|    if (!state->BitOr_type) return -1;
  ------------------
  |  Branch (2880:9): [True: 0, False: 1]
  ------------------
 2881|      1|    state->BitOr_singleton = PyType_GenericNew((PyTypeObject
 2882|      1|                                               *)state->BitOr_type, NULL, NULL);
 2883|      1|    if (!state->BitOr_singleton) return -1;
  ------------------
  |  Branch (2883:9): [True: 0, False: 1]
  ------------------
 2884|      1|    state->BitXor_type = make_type(state, "BitXor", state->operator_type, NULL,
 2885|      1|                                   0,
 2886|      1|        "BitXor");
 2887|      1|    if (!state->BitXor_type) return -1;
  ------------------
  |  Branch (2887:9): [True: 0, False: 1]
  ------------------
 2888|      1|    state->BitXor_singleton = PyType_GenericNew((PyTypeObject
 2889|      1|                                                *)state->BitXor_type, NULL,
 2890|      1|                                                NULL);
 2891|      1|    if (!state->BitXor_singleton) return -1;
  ------------------
  |  Branch (2891:9): [True: 0, False: 1]
  ------------------
 2892|      1|    state->BitAnd_type = make_type(state, "BitAnd", state->operator_type, NULL,
 2893|      1|                                   0,
 2894|      1|        "BitAnd");
 2895|      1|    if (!state->BitAnd_type) return -1;
  ------------------
  |  Branch (2895:9): [True: 0, False: 1]
  ------------------
 2896|      1|    state->BitAnd_singleton = PyType_GenericNew((PyTypeObject
 2897|      1|                                                *)state->BitAnd_type, NULL,
 2898|      1|                                                NULL);
 2899|      1|    if (!state->BitAnd_singleton) return -1;
  ------------------
  |  Branch (2899:9): [True: 0, False: 1]
  ------------------
 2900|      1|    state->FloorDiv_type = make_type(state, "FloorDiv", state->operator_type,
 2901|      1|                                     NULL, 0,
 2902|      1|        "FloorDiv");
 2903|      1|    if (!state->FloorDiv_type) return -1;
  ------------------
  |  Branch (2903:9): [True: 0, False: 1]
  ------------------
 2904|      1|    state->FloorDiv_singleton = PyType_GenericNew((PyTypeObject
 2905|      1|                                                  *)state->FloorDiv_type, NULL,
 2906|      1|                                                  NULL);
 2907|      1|    if (!state->FloorDiv_singleton) return -1;
  ------------------
  |  Branch (2907:9): [True: 0, False: 1]
  ------------------
 2908|      1|    state->unaryop_type = make_type(state, "unaryop", state->AST_type, NULL, 0,
 2909|      1|        "unaryop = Invert | Not | UAdd | USub");
 2910|      1|    if (!state->unaryop_type) return -1;
  ------------------
  |  Branch (2910:9): [True: 0, False: 1]
  ------------------
 2911|      1|    if (add_attributes(state, state->unaryop_type, NULL, 0) < 0) return -1;
  ------------------
  |  Branch (2911:9): [True: 0, False: 1]
  ------------------
 2912|      1|    if (PySet_Add(state->abstract_types, state->unaryop_type) < 0) return -1;
  ------------------
  |  Branch (2912:9): [True: 0, False: 1]
  ------------------
 2913|      1|    state->Invert_type = make_type(state, "Invert", state->unaryop_type, NULL,
 2914|      1|                                   0,
 2915|      1|        "Invert");
 2916|      1|    if (!state->Invert_type) return -1;
  ------------------
  |  Branch (2916:9): [True: 0, False: 1]
  ------------------
 2917|      1|    state->Invert_singleton = PyType_GenericNew((PyTypeObject
 2918|      1|                                                *)state->Invert_type, NULL,
 2919|      1|                                                NULL);
 2920|      1|    if (!state->Invert_singleton) return -1;
  ------------------
  |  Branch (2920:9): [True: 0, False: 1]
  ------------------
 2921|      1|    state->Not_type = make_type(state, "Not", state->unaryop_type, NULL, 0,
 2922|      1|        "Not");
 2923|      1|    if (!state->Not_type) return -1;
  ------------------
  |  Branch (2923:9): [True: 0, False: 1]
  ------------------
 2924|      1|    state->Not_singleton = PyType_GenericNew((PyTypeObject *)state->Not_type,
 2925|      1|                                             NULL, NULL);
 2926|      1|    if (!state->Not_singleton) return -1;
  ------------------
  |  Branch (2926:9): [True: 0, False: 1]
  ------------------
 2927|      1|    state->UAdd_type = make_type(state, "UAdd", state->unaryop_type, NULL, 0,
 2928|      1|        "UAdd");
 2929|      1|    if (!state->UAdd_type) return -1;
  ------------------
  |  Branch (2929:9): [True: 0, False: 1]
  ------------------
 2930|      1|    state->UAdd_singleton = PyType_GenericNew((PyTypeObject *)state->UAdd_type,
 2931|      1|                                              NULL, NULL);
 2932|      1|    if (!state->UAdd_singleton) return -1;
  ------------------
  |  Branch (2932:9): [True: 0, False: 1]
  ------------------
 2933|      1|    state->USub_type = make_type(state, "USub", state->unaryop_type, NULL, 0,
 2934|      1|        "USub");
 2935|      1|    if (!state->USub_type) return -1;
  ------------------
  |  Branch (2935:9): [True: 0, False: 1]
  ------------------
 2936|      1|    state->USub_singleton = PyType_GenericNew((PyTypeObject *)state->USub_type,
 2937|      1|                                              NULL, NULL);
 2938|      1|    if (!state->USub_singleton) return -1;
  ------------------
  |  Branch (2938:9): [True: 0, False: 1]
  ------------------
 2939|      1|    state->cmpop_type = make_type(state, "cmpop", state->AST_type, NULL, 0,
 2940|      1|        "cmpop = Eq | NotEq | Lt | LtE | Gt | GtE | Is | IsNot | In | NotIn");
 2941|      1|    if (!state->cmpop_type) return -1;
  ------------------
  |  Branch (2941:9): [True: 0, False: 1]
  ------------------
 2942|      1|    if (add_attributes(state, state->cmpop_type, NULL, 0) < 0) return -1;
  ------------------
  |  Branch (2942:9): [True: 0, False: 1]
  ------------------
 2943|      1|    if (PySet_Add(state->abstract_types, state->cmpop_type) < 0) return -1;
  ------------------
  |  Branch (2943:9): [True: 0, False: 1]
  ------------------
 2944|      1|    state->Eq_type = make_type(state, "Eq", state->cmpop_type, NULL, 0,
 2945|      1|        "Eq");
 2946|      1|    if (!state->Eq_type) return -1;
  ------------------
  |  Branch (2946:9): [True: 0, False: 1]
  ------------------
 2947|      1|    state->Eq_singleton = PyType_GenericNew((PyTypeObject *)state->Eq_type,
 2948|      1|                                            NULL, NULL);
 2949|      1|    if (!state->Eq_singleton) return -1;
  ------------------
  |  Branch (2949:9): [True: 0, False: 1]
  ------------------
 2950|      1|    state->NotEq_type = make_type(state, "NotEq", state->cmpop_type, NULL, 0,
 2951|      1|        "NotEq");
 2952|      1|    if (!state->NotEq_type) return -1;
  ------------------
  |  Branch (2952:9): [True: 0, False: 1]
  ------------------
 2953|      1|    state->NotEq_singleton = PyType_GenericNew((PyTypeObject
 2954|      1|                                               *)state->NotEq_type, NULL, NULL);
 2955|      1|    if (!state->NotEq_singleton) return -1;
  ------------------
  |  Branch (2955:9): [True: 0, False: 1]
  ------------------
 2956|      1|    state->Lt_type = make_type(state, "Lt", state->cmpop_type, NULL, 0,
 2957|      1|        "Lt");
 2958|      1|    if (!state->Lt_type) return -1;
  ------------------
  |  Branch (2958:9): [True: 0, False: 1]
  ------------------
 2959|      1|    state->Lt_singleton = PyType_GenericNew((PyTypeObject *)state->Lt_type,
 2960|      1|                                            NULL, NULL);
 2961|      1|    if (!state->Lt_singleton) return -1;
  ------------------
  |  Branch (2961:9): [True: 0, False: 1]
  ------------------
 2962|      1|    state->LtE_type = make_type(state, "LtE", state->cmpop_type, NULL, 0,
 2963|      1|        "LtE");
 2964|      1|    if (!state->LtE_type) return -1;
  ------------------
  |  Branch (2964:9): [True: 0, False: 1]
  ------------------
 2965|      1|    state->LtE_singleton = PyType_GenericNew((PyTypeObject *)state->LtE_type,
 2966|      1|                                             NULL, NULL);
 2967|      1|    if (!state->LtE_singleton) return -1;
  ------------------
  |  Branch (2967:9): [True: 0, False: 1]
  ------------------
 2968|      1|    state->Gt_type = make_type(state, "Gt", state->cmpop_type, NULL, 0,
 2969|      1|        "Gt");
 2970|      1|    if (!state->Gt_type) return -1;
  ------------------
  |  Branch (2970:9): [True: 0, False: 1]
  ------------------
 2971|      1|    state->Gt_singleton = PyType_GenericNew((PyTypeObject *)state->Gt_type,
 2972|      1|                                            NULL, NULL);
 2973|      1|    if (!state->Gt_singleton) return -1;
  ------------------
  |  Branch (2973:9): [True: 0, False: 1]
  ------------------
 2974|      1|    state->GtE_type = make_type(state, "GtE", state->cmpop_type, NULL, 0,
 2975|      1|        "GtE");
 2976|      1|    if (!state->GtE_type) return -1;
  ------------------
  |  Branch (2976:9): [True: 0, False: 1]
  ------------------
 2977|      1|    state->GtE_singleton = PyType_GenericNew((PyTypeObject *)state->GtE_type,
 2978|      1|                                             NULL, NULL);
 2979|      1|    if (!state->GtE_singleton) return -1;
  ------------------
  |  Branch (2979:9): [True: 0, False: 1]
  ------------------
 2980|      1|    state->Is_type = make_type(state, "Is", state->cmpop_type, NULL, 0,
 2981|      1|        "Is");
 2982|      1|    if (!state->Is_type) return -1;
  ------------------
  |  Branch (2982:9): [True: 0, False: 1]
  ------------------
 2983|      1|    state->Is_singleton = PyType_GenericNew((PyTypeObject *)state->Is_type,
 2984|      1|                                            NULL, NULL);
 2985|      1|    if (!state->Is_singleton) return -1;
  ------------------
  |  Branch (2985:9): [True: 0, False: 1]
  ------------------
 2986|      1|    state->IsNot_type = make_type(state, "IsNot", state->cmpop_type, NULL, 0,
 2987|      1|        "IsNot");
 2988|      1|    if (!state->IsNot_type) return -1;
  ------------------
  |  Branch (2988:9): [True: 0, False: 1]
  ------------------
 2989|      1|    state->IsNot_singleton = PyType_GenericNew((PyTypeObject
 2990|      1|                                               *)state->IsNot_type, NULL, NULL);
 2991|      1|    if (!state->IsNot_singleton) return -1;
  ------------------
  |  Branch (2991:9): [True: 0, False: 1]
  ------------------
 2992|      1|    state->In_type = make_type(state, "In", state->cmpop_type, NULL, 0,
 2993|      1|        "In");
 2994|      1|    if (!state->In_type) return -1;
  ------------------
  |  Branch (2994:9): [True: 0, False: 1]
  ------------------
 2995|      1|    state->In_singleton = PyType_GenericNew((PyTypeObject *)state->In_type,
 2996|      1|                                            NULL, NULL);
 2997|      1|    if (!state->In_singleton) return -1;
  ------------------
  |  Branch (2997:9): [True: 0, False: 1]
  ------------------
 2998|      1|    state->NotIn_type = make_type(state, "NotIn", state->cmpop_type, NULL, 0,
 2999|      1|        "NotIn");
 3000|      1|    if (!state->NotIn_type) return -1;
  ------------------
  |  Branch (3000:9): [True: 0, False: 1]
  ------------------
 3001|      1|    state->NotIn_singleton = PyType_GenericNew((PyTypeObject
 3002|      1|                                               *)state->NotIn_type, NULL, NULL);
 3003|      1|    if (!state->NotIn_singleton) return -1;
  ------------------
  |  Branch (3003:9): [True: 0, False: 1]
  ------------------
 3004|      1|    state->comprehension_type = make_type(state, "comprehension",
 3005|      1|                                          state->AST_type,
 3006|      1|                                          comprehension_fields, 4,
 3007|      1|        "comprehension(expr target, expr iter, expr* ifs, int is_async)");
 3008|      1|    if (!state->comprehension_type) return -1;
  ------------------
  |  Branch (3008:9): [True: 0, False: 1]
  ------------------
 3009|      1|    if (add_attributes(state, state->comprehension_type, NULL, 0) < 0) return
  ------------------
  |  Branch (3009:9): [True: 0, False: 1]
  ------------------
 3010|      0|        -1;
 3011|      1|    state->excepthandler_type = make_type(state, "excepthandler",
 3012|      1|                                          state->AST_type, NULL, 0,
 3013|      1|        "excepthandler = ExceptHandler(expr? type, identifier? name, stmt* body)");
 3014|      1|    if (!state->excepthandler_type) return -1;
  ------------------
  |  Branch (3014:9): [True: 0, False: 1]
  ------------------
 3015|      1|    if (add_attributes(state, state->excepthandler_type,
  ------------------
  |  Branch (3015:9): [True: 0, False: 1]
  ------------------
 3016|      1|        excepthandler_attributes, 4) < 0) return -1;
 3017|      1|    if (PySet_Add(state->abstract_types, state->excepthandler_type) < 0) return
  ------------------
  |  Branch (3017:9): [True: 0, False: 1]
  ------------------
 3018|      0|        -1;
 3019|      1|    if (PyObject_SetAttr(state->excepthandler_type, state->end_lineno, Py_None)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3019:9): [True: 0, False: 1]
  ------------------
 3020|      1|        == -1)
 3021|      0|        return -1;
 3022|      1|    if (PyObject_SetAttr(state->excepthandler_type, state->end_col_offset,
  ------------------
  |  Branch (3022:9): [True: 0, False: 1]
  ------------------
 3023|      1|        Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3024|      0|        return -1;
 3025|      1|    state->ExceptHandler_type = make_type(state, "ExceptHandler",
 3026|      1|                                          state->excepthandler_type,
 3027|      1|                                          ExceptHandler_fields, 3,
 3028|      1|        "ExceptHandler(expr? type, identifier? name, stmt* body)");
 3029|      1|    if (!state->ExceptHandler_type) return -1;
  ------------------
  |  Branch (3029:9): [True: 0, False: 1]
  ------------------
 3030|      1|    if (PyObject_SetAttr(state->ExceptHandler_type, state->type, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3030:9): [True: 0, False: 1]
  ------------------
 3031|      0|        return -1;
 3032|      1|    if (PyObject_SetAttr(state->ExceptHandler_type, state->name, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3032:9): [True: 0, False: 1]
  ------------------
 3033|      0|        return -1;
 3034|      1|    state->arguments_type = make_type(state, "arguments", state->AST_type,
 3035|      1|                                      arguments_fields, 7,
 3036|      1|        "arguments(arg* posonlyargs, arg* args, arg? vararg, arg* kwonlyargs, expr?* kw_defaults, arg? kwarg, expr* defaults)");
 3037|      1|    if (!state->arguments_type) return -1;
  ------------------
  |  Branch (3037:9): [True: 0, False: 1]
  ------------------
 3038|      1|    if (add_attributes(state, state->arguments_type, NULL, 0) < 0) return -1;
  ------------------
  |  Branch (3038:9): [True: 0, False: 1]
  ------------------
 3039|      1|    if (PyObject_SetAttr(state->arguments_type, state->vararg, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3039:9): [True: 0, False: 1]
  ------------------
 3040|      0|        return -1;
 3041|      1|    if (PyObject_SetAttr(state->arguments_type, state->kwarg, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3041:9): [True: 0, False: 1]
  ------------------
 3042|      0|        return -1;
 3043|      1|    state->arg_type = make_type(state, "arg", state->AST_type, arg_fields, 3,
 3044|      1|        "arg(identifier arg, expr? annotation, string? type_comment)");
 3045|      1|    if (!state->arg_type) return -1;
  ------------------
  |  Branch (3045:9): [True: 0, False: 1]
  ------------------
 3046|      1|    if (add_attributes(state, state->arg_type, arg_attributes, 4) < 0) return
  ------------------
  |  Branch (3046:9): [True: 0, False: 1]
  ------------------
 3047|      0|        -1;
 3048|      1|    if (PyObject_SetAttr(state->arg_type, state->annotation, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3048:9): [True: 0, False: 1]
  ------------------
 3049|      0|        return -1;
 3050|      1|    if (PyObject_SetAttr(state->arg_type, state->type_comment, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3050:9): [True: 0, False: 1]
  ------------------
 3051|      0|        return -1;
 3052|      1|    if (PyObject_SetAttr(state->arg_type, state->end_lineno, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3052:9): [True: 0, False: 1]
  ------------------
 3053|      0|        return -1;
 3054|      1|    if (PyObject_SetAttr(state->arg_type, state->end_col_offset, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3054:9): [True: 0, False: 1]
  ------------------
 3055|      0|        return -1;
 3056|      1|    state->keyword_type = make_type(state, "keyword", state->AST_type,
 3057|      1|                                    keyword_fields, 2,
 3058|      1|        "keyword(identifier? arg, expr value)");
 3059|      1|    if (!state->keyword_type) return -1;
  ------------------
  |  Branch (3059:9): [True: 0, False: 1]
  ------------------
 3060|      1|    if (add_attributes(state, state->keyword_type, keyword_attributes, 4) < 0)
  ------------------
  |  Branch (3060:9): [True: 0, False: 1]
  ------------------
 3061|      0|        return -1;
 3062|      1|    if (PyObject_SetAttr(state->keyword_type, state->arg, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3062:9): [True: 0, False: 1]
  ------------------
 3063|      0|        return -1;
 3064|      1|    if (PyObject_SetAttr(state->keyword_type, state->end_lineno, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3064:9): [True: 0, False: 1]
  ------------------
 3065|      0|        return -1;
 3066|      1|    if (PyObject_SetAttr(state->keyword_type, state->end_col_offset, Py_None)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3066:9): [True: 0, False: 1]
  ------------------
 3067|      1|        == -1)
 3068|      0|        return -1;
 3069|      1|    state->alias_type = make_type(state, "alias", state->AST_type,
 3070|      1|                                  alias_fields, 2,
 3071|      1|        "alias(identifier name, identifier? asname)");
 3072|      1|    if (!state->alias_type) return -1;
  ------------------
  |  Branch (3072:9): [True: 0, False: 1]
  ------------------
 3073|      1|    if (add_attributes(state, state->alias_type, alias_attributes, 4) < 0)
  ------------------
  |  Branch (3073:9): [True: 0, False: 1]
  ------------------
 3074|      0|        return -1;
 3075|      1|    if (PyObject_SetAttr(state->alias_type, state->asname, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3075:9): [True: 0, False: 1]
  ------------------
 3076|      0|        return -1;
 3077|      1|    if (PyObject_SetAttr(state->alias_type, state->end_lineno, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3077:9): [True: 0, False: 1]
  ------------------
 3078|      0|        return -1;
 3079|      1|    if (PyObject_SetAttr(state->alias_type, state->end_col_offset, 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->withitem_type = make_type(state, "withitem", state->AST_type,
 3083|      1|                                     withitem_fields, 2,
 3084|      1|        "withitem(expr context_expr, expr? optional_vars)");
 3085|      1|    if (!state->withitem_type) return -1;
  ------------------
  |  Branch (3085:9): [True: 0, False: 1]
  ------------------
 3086|      1|    if (add_attributes(state, state->withitem_type, NULL, 0) < 0) return -1;
  ------------------
  |  Branch (3086:9): [True: 0, False: 1]
  ------------------
 3087|      1|    if (PyObject_SetAttr(state->withitem_type, state->optional_vars, Py_None)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3087:9): [True: 0, False: 1]
  ------------------
 3088|      1|        == -1)
 3089|      0|        return -1;
 3090|      1|    state->match_case_type = make_type(state, "match_case", state->AST_type,
 3091|      1|                                       match_case_fields, 3,
 3092|      1|        "match_case(pattern pattern, expr? guard, stmt* body)");
 3093|      1|    if (!state->match_case_type) return -1;
  ------------------
  |  Branch (3093:9): [True: 0, False: 1]
  ------------------
 3094|      1|    if (add_attributes(state, state->match_case_type, NULL, 0) < 0) return -1;
  ------------------
  |  Branch (3094:9): [True: 0, False: 1]
  ------------------
 3095|      1|    if (PyObject_SetAttr(state->match_case_type, state->guard, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3095:9): [True: 0, False: 1]
  ------------------
 3096|      0|        return -1;
 3097|      1|    state->pattern_type = make_type(state, "pattern", state->AST_type, NULL, 0,
 3098|      1|        "pattern = MatchValue(expr value)\n"
 3099|      1|        "        | MatchSingleton(constant value)\n"
 3100|      1|        "        | MatchSequence(pattern* patterns)\n"
 3101|      1|        "        | MatchMapping(expr* keys, pattern* patterns, identifier? rest)\n"
 3102|      1|        "        | MatchClass(expr cls, pattern* patterns, identifier* kwd_attrs, pattern* kwd_patterns)\n"
 3103|      1|        "        | MatchStar(identifier? name)\n"
 3104|      1|        "        | MatchAs(pattern? pattern, identifier? name)\n"
 3105|      1|        "        | MatchOr(pattern* patterns)");
 3106|      1|    if (!state->pattern_type) return -1;
  ------------------
  |  Branch (3106:9): [True: 0, False: 1]
  ------------------
 3107|      1|    if (add_attributes(state, state->pattern_type, pattern_attributes, 4) < 0)
  ------------------
  |  Branch (3107:9): [True: 0, False: 1]
  ------------------
 3108|      0|        return -1;
 3109|      1|    if (PySet_Add(state->abstract_types, state->pattern_type) < 0) return -1;
  ------------------
  |  Branch (3109:9): [True: 0, False: 1]
  ------------------
 3110|      1|    state->MatchValue_type = make_type(state, "MatchValue",
 3111|      1|                                       state->pattern_type, MatchValue_fields,
 3112|      1|                                       1,
 3113|      1|        "MatchValue(expr value)");
 3114|      1|    if (!state->MatchValue_type) return -1;
  ------------------
  |  Branch (3114:9): [True: 0, False: 1]
  ------------------
 3115|      1|    state->MatchSingleton_type = make_type(state, "MatchSingleton",
 3116|      1|                                           state->pattern_type,
 3117|      1|                                           MatchSingleton_fields, 1,
 3118|      1|        "MatchSingleton(constant value)");
 3119|      1|    if (!state->MatchSingleton_type) return -1;
  ------------------
  |  Branch (3119:9): [True: 0, False: 1]
  ------------------
 3120|      1|    state->MatchSequence_type = make_type(state, "MatchSequence",
 3121|      1|                                          state->pattern_type,
 3122|      1|                                          MatchSequence_fields, 1,
 3123|      1|        "MatchSequence(pattern* patterns)");
 3124|      1|    if (!state->MatchSequence_type) return -1;
  ------------------
  |  Branch (3124:9): [True: 0, False: 1]
  ------------------
 3125|      1|    state->MatchMapping_type = make_type(state, "MatchMapping",
 3126|      1|                                         state->pattern_type,
 3127|      1|                                         MatchMapping_fields, 3,
 3128|      1|        "MatchMapping(expr* keys, pattern* patterns, identifier? rest)");
 3129|      1|    if (!state->MatchMapping_type) return -1;
  ------------------
  |  Branch (3129:9): [True: 0, False: 1]
  ------------------
 3130|      1|    if (PyObject_SetAttr(state->MatchMapping_type, state->rest, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3130:9): [True: 0, False: 1]
  ------------------
 3131|      0|        return -1;
 3132|      1|    state->MatchClass_type = make_type(state, "MatchClass",
 3133|      1|                                       state->pattern_type, MatchClass_fields,
 3134|      1|                                       4,
 3135|      1|        "MatchClass(expr cls, pattern* patterns, identifier* kwd_attrs, pattern* kwd_patterns)");
 3136|      1|    if (!state->MatchClass_type) return -1;
  ------------------
  |  Branch (3136:9): [True: 0, False: 1]
  ------------------
 3137|      1|    state->MatchStar_type = make_type(state, "MatchStar", state->pattern_type,
 3138|      1|                                      MatchStar_fields, 1,
 3139|      1|        "MatchStar(identifier? name)");
 3140|      1|    if (!state->MatchStar_type) return -1;
  ------------------
  |  Branch (3140:9): [True: 0, False: 1]
  ------------------
 3141|      1|    if (PyObject_SetAttr(state->MatchStar_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->MatchAs_type = make_type(state, "MatchAs", state->pattern_type,
 3144|      1|                                    MatchAs_fields, 2,
 3145|      1|        "MatchAs(pattern? pattern, identifier? name)");
 3146|      1|    if (!state->MatchAs_type) return -1;
  ------------------
  |  Branch (3146:9): [True: 0, False: 1]
  ------------------
 3147|      1|    if (PyObject_SetAttr(state->MatchAs_type, state->pattern, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3147:9): [True: 0, False: 1]
  ------------------
 3148|      0|        return -1;
 3149|      1|    if (PyObject_SetAttr(state->MatchAs_type, state->name, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3149:9): [True: 0, False: 1]
  ------------------
 3150|      0|        return -1;
 3151|      1|    state->MatchOr_type = make_type(state, "MatchOr", state->pattern_type,
 3152|      1|                                    MatchOr_fields, 1,
 3153|      1|        "MatchOr(pattern* patterns)");
 3154|      1|    if (!state->MatchOr_type) return -1;
  ------------------
  |  Branch (3154:9): [True: 0, False: 1]
  ------------------
 3155|      1|    state->type_ignore_type = make_type(state, "type_ignore", state->AST_type,
 3156|      1|                                        NULL, 0,
 3157|      1|        "type_ignore = TypeIgnore(int lineno, string tag)");
 3158|      1|    if (!state->type_ignore_type) return -1;
  ------------------
  |  Branch (3158:9): [True: 0, False: 1]
  ------------------
 3159|      1|    if (add_attributes(state, state->type_ignore_type, NULL, 0) < 0) return -1;
  ------------------
  |  Branch (3159:9): [True: 0, False: 1]
  ------------------
 3160|      1|    if (PySet_Add(state->abstract_types, state->type_ignore_type) < 0) return
  ------------------
  |  Branch (3160:9): [True: 0, False: 1]
  ------------------
 3161|      0|        -1;
 3162|      1|    state->TypeIgnore_type = make_type(state, "TypeIgnore",
 3163|      1|                                       state->type_ignore_type,
 3164|      1|                                       TypeIgnore_fields, 2,
 3165|      1|        "TypeIgnore(int lineno, string tag)");
 3166|      1|    if (!state->TypeIgnore_type) return -1;
  ------------------
  |  Branch (3166:9): [True: 0, False: 1]
  ------------------
 3167|      1|    state->type_param_type = make_type(state, "type_param", state->AST_type,
 3168|      1|                                       NULL, 0,
 3169|      1|        "type_param = TypeVar(identifier name, expr? bound, expr? default_value)\n"
 3170|      1|        "           | ParamSpec(identifier name, expr? default_value)\n"
 3171|      1|        "           | TypeVarTuple(identifier name, expr? default_value)");
 3172|      1|    if (!state->type_param_type) return -1;
  ------------------
  |  Branch (3172:9): [True: 0, False: 1]
  ------------------
 3173|      1|    if (add_attributes(state, state->type_param_type, type_param_attributes, 4)
  ------------------
  |  Branch (3173:9): [True: 0, False: 1]
  ------------------
 3174|      1|        < 0) return -1;
 3175|      1|    if (PySet_Add(state->abstract_types, state->type_param_type) < 0) return -1;
  ------------------
  |  Branch (3175:9): [True: 0, False: 1]
  ------------------
 3176|      1|    state->TypeVar_type = make_type(state, "TypeVar", state->type_param_type,
 3177|      1|                                    TypeVar_fields, 3,
 3178|      1|        "TypeVar(identifier name, expr? bound, expr? default_value)");
 3179|      1|    if (!state->TypeVar_type) return -1;
  ------------------
  |  Branch (3179:9): [True: 0, False: 1]
  ------------------
 3180|      1|    if (PyObject_SetAttr(state->TypeVar_type, state->bound, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3180:9): [True: 0, False: 1]
  ------------------
 3181|      0|        return -1;
 3182|      1|    if (PyObject_SetAttr(state->TypeVar_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->ParamSpec_type = make_type(state, "ParamSpec",
 3186|      1|                                      state->type_param_type, ParamSpec_fields,
 3187|      1|                                      2,
 3188|      1|        "ParamSpec(identifier name, expr? default_value)");
 3189|      1|    if (!state->ParamSpec_type) return -1;
  ------------------
  |  Branch (3189:9): [True: 0, False: 1]
  ------------------
 3190|      1|    if (PyObject_SetAttr(state->ParamSpec_type, state->default_value, Py_None)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3190:9): [True: 0, False: 1]
  ------------------
 3191|      1|        == -1)
 3192|      0|        return -1;
 3193|      1|    state->TypeVarTuple_type = make_type(state, "TypeVarTuple",
 3194|      1|                                         state->type_param_type,
 3195|      1|                                         TypeVarTuple_fields, 2,
 3196|      1|        "TypeVarTuple(identifier name, expr? default_value)");
 3197|      1|    if (!state->TypeVarTuple_type) return -1;
  ------------------
  |  Branch (3197:9): [True: 0, False: 1]
  ------------------
 3198|      1|    if (PyObject_SetAttr(state->TypeVarTuple_type, state->default_value,
  ------------------
  |  Branch (3198:9): [True: 0, False: 1]
  ------------------
 3199|      1|        Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3200|      0|        return -1;
 3201|       |
 3202|      1|    if (!add_ast_annotations(state)) {
  ------------------
  |  Branch (3202:9): [True: 0, False: 1]
  ------------------
 3203|      0|        return -1;
 3204|      0|    }
 3205|      1|    return 0;
 3206|      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:
 1422|     42|{
 1423|     42|    AST_object *self = (AST_object*)op;
 1424|       |    /* bpo-31095: UnTrack is needed before calling any callbacks */
 1425|     42|    PyTypeObject *tp = Py_TYPE(self);
  ------------------
  |  |  213|     42|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     42|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     42|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1426|     42|    PyObject_GC_UnTrack(self);
 1427|     42|    Py_CLEAR(self->dict);
  ------------------
  |  |  484|     42|    do { \
  |  |  485|     42|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|     42|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     42|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|     42|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     42|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     42|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 42, False: 0]
  |  |  ------------------
  |  |  488|     42|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     42|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     42|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|     42|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     42|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     42|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     42|        } \
  |  |  491|     42|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 42]
  |  |  ------------------
  ------------------
 1428|     42|    freefunc free_func = PyType_GetSlot(tp, Py_tp_free);
  ------------------
  |  |   82|     42|#define Py_tp_free 74
  ------------------
 1429|     42|    assert(free_func != NULL);
  ------------------
  |  Branch (1429:5): [True: 42, False: 0]
  ------------------
 1430|     42|    free_func(self);
 1431|     42|    Py_DECREF(tp);
  ------------------
  |  |  430|     42|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     42|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     42|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1432|     42|}
Python-ast.c:ast_repr:
 2161|     16|{
 2162|     16|    return ast_repr_max_depth((AST_object*)self, 3);
 2163|     16|}
Python-ast.c:ast_repr_max_depth:
 2039|     46|{
 2040|     46|    struct ast_state *state = get_ast_state();
 2041|     46|    if (state == NULL) {
  ------------------
  |  Branch (2041:9): [True: 0, False: 46]
  ------------------
 2042|      0|        return NULL;
 2043|      0|    }
 2044|       |
 2045|     46|    PyObject *fields = PyObject_GetAttr((PyObject *)Py_TYPE(self), state->_fields);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2046|     46|    if (!fields) {
  ------------------
  |  Branch (2046:9): [True: 0, False: 46]
  ------------------
 2047|      0|        return NULL;
 2048|      0|    }
 2049|       |
 2050|     46|    Py_ssize_t numfields = PySequence_Size(fields);
 2051|     46|    if (numfields < 0) {
  ------------------
  |  Branch (2051:9): [True: 0, False: 46]
  ------------------
 2052|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2053|      0|        return NULL;
 2054|      0|    }
 2055|       |
 2056|     46|    if (numfields == 0) {
  ------------------
  |  Branch (2056:9): [True: 22, False: 24]
  ------------------
 2057|     22|        Py_DECREF(fields);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2058|     22|        return PyUnicode_FromFormat("%s()", Py_TYPE(self)->tp_name);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2059|     22|    }
 2060|       |
 2061|     24|    if (depth <= 0) {
  ------------------
  |  Branch (2061:9): [True: 0, False: 24]
  ------------------
 2062|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2063|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2064|      0|    }
 2065|       |
 2066|     24|    int status = Py_ReprEnter((PyObject *)self);
 2067|     24|    if (status != 0) {
  ------------------
  |  Branch (2067:9): [True: 0, False: 24]
  ------------------
 2068|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2069|      0|        if (status < 0) {
  ------------------
  |  Branch (2069:13): [True: 0, False: 0]
  ------------------
 2070|      0|            return NULL;
 2071|      0|        }
 2072|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2073|      0|    }
 2074|       |
 2075|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2076|     24|    PyUnicodeWriter *writer = PyUnicodeWriter_Create(0);
 2077|     24|    if (writer == NULL) {
  ------------------
  |  Branch (2077:9): [True: 0, False: 24]
  ------------------
 2078|      0|        goto error;
 2079|      0|    }
 2080|       |
 2081|     24|    if (PyUnicodeWriter_WriteUTF8(writer, tp_name, -1) < 0) {
  ------------------
  |  Branch (2081:9): [True: 0, False: 24]
  ------------------
 2082|      0|        goto error;
 2083|      0|    }
 2084|     24|    if (PyUnicodeWriter_WriteChar(writer, '(') < 0) {
  ------------------
  |  Branch (2084:9): [True: 0, False: 24]
  ------------------
 2085|      0|        goto error;
 2086|      0|    }
 2087|       |
 2088|     76|    for (Py_ssize_t i = 0; i < numfields; i++) {
  ------------------
  |  Branch (2088:28): [True: 52, False: 24]
  ------------------
 2089|     52|        PyObject *name = PySequence_GetItem(fields, i);
 2090|     52|        if (!name) {
  ------------------
  |  Branch (2090:13): [True: 0, False: 52]
  ------------------
 2091|      0|            goto error;
 2092|      0|        }
 2093|       |
 2094|     52|        PyObject *value = PyObject_GetAttr((PyObject *)self, name);
 2095|     52|        if (!value) {
  ------------------
  |  Branch (2095:13): [True: 0, False: 52]
  ------------------
 2096|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2097|      0|            goto error;
 2098|      0|        }
 2099|       |
 2100|     52|        PyObject *value_repr;
 2101|     52|        if (PyList_Check(value) || PyTuple_Check(value)) {
  ------------------
  |  |   25|     52|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    104|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 52]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (PyList_Check(value) || PyTuple_Check(value)) {
  ------------------
  |  |   27|     52|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     52|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 52]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2102|      0|            value_repr = ast_repr_list(value, depth);
 2103|      0|        }
 2104|     52|        else if (PyType_IsSubtype(Py_TYPE(value), (PyTypeObject *)state->AST_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2104:18): [True: 30, False: 22]
  ------------------
 2105|     30|            value_repr = ast_repr_max_depth((AST_object*)value, depth - 1);
 2106|     30|        }
 2107|     22|        else {
 2108|     22|            value_repr = PyObject_Repr(value);
 2109|     22|        }
 2110|       |
 2111|     52|        Py_DECREF(value);
  ------------------
  |  |  430|     52|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     52|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     52|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2112|       |
 2113|     52|        if (!value_repr) {
  ------------------
  |  Branch (2113:13): [True: 0, False: 52]
  ------------------
 2114|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2115|      0|            goto error;
 2116|      0|        }
 2117|       |
 2118|     52|        if (i > 0) {
  ------------------
  |  Branch (2118:13): [True: 28, False: 24]
  ------------------
 2119|     28|            if (PyUnicodeWriter_WriteASCII(writer, ", ", 2) < 0) {
  ------------------
  |  Branch (2119:17): [True: 0, False: 28]
  ------------------
 2120|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2121|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2122|      0|                goto error;
 2123|      0|            }
 2124|     28|        }
 2125|     52|        if (PyUnicodeWriter_WriteStr(writer, name) < 0) {
  ------------------
  |  Branch (2125:13): [True: 0, False: 52]
  ------------------
 2126|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2127|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2128|      0|            goto error;
 2129|      0|        }
 2130|       |
 2131|     52|        Py_DECREF(name);
  ------------------
  |  |  430|     52|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     52|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     52|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2132|       |
 2133|     52|        if (PyUnicodeWriter_WriteChar(writer, '=') < 0) {
  ------------------
  |  Branch (2133:13): [True: 0, False: 52]
  ------------------
 2134|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2135|      0|            goto error;
 2136|      0|        }
 2137|     52|        if (PyUnicodeWriter_WriteStr(writer, value_repr) < 0) {
  ------------------
  |  Branch (2137:13): [True: 0, False: 52]
  ------------------
 2138|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2139|      0|            goto error;
 2140|      0|        }
 2141|       |
 2142|     52|        Py_DECREF(value_repr);
  ------------------
  |  |  430|     52|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     52|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     52|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2143|     52|    }
 2144|       |
 2145|     24|    if (PyUnicodeWriter_WriteChar(writer, ')') < 0) {
  ------------------
  |  Branch (2145:9): [True: 0, False: 24]
  ------------------
 2146|      0|        goto error;
 2147|      0|    }
 2148|     24|    Py_ReprLeave((PyObject *)self);
 2149|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2150|     24|    return PyUnicodeWriter_Finish(writer);
 2151|       |
 2152|      0|error:
 2153|      0|    Py_ReprLeave((PyObject *)self);
 2154|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2155|      0|    PyUnicodeWriter_Discard(writer);
 2156|       |    return NULL;
 2157|     24|}
Python-ast.c:ast_traverse:
 1436|     64|{
 1437|     64|    AST_object *self = (AST_object*)op;
 1438|     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]
  |  |  ------------------
  ------------------
 1439|     64|    Py_VISIT(self->dict);
  ------------------
  |  |  194|     64|    do {                                                                \
  |  |  195|     64|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 64]
  |  |  ------------------
  |  |  196|      0|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      0|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  198|      0|                return vret;                                            \
  |  |  199|      0|        }                                                               \
  |  |  200|     64|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 64]
  |  |  ------------------
  ------------------
 1440|     64|    return 0;
 1441|     64|}
Python-ast.c:add_ast_fields:
 2342|      1|{
 2343|      1|    PyObject *empty_tuple;
 2344|      1|    empty_tuple = PyTuple_New(0);
 2345|      1|    if (!empty_tuple ||
  ------------------
  |  Branch (2345:9): [True: 0, False: 1]
  ------------------
 2346|      1|        PyObject_SetAttrString(state->AST_type, "_fields", empty_tuple) < 0 ||
  ------------------
  |  Branch (2346:9): [True: 0, False: 1]
  ------------------
 2347|      1|        PyObject_SetAttrString(state->AST_type, "__match_args__", empty_tuple) < 0 ||
  ------------------
  |  Branch (2347:9): [True: 0, False: 1]
  ------------------
 2348|      1|        PyObject_SetAttrString(state->AST_type, "_attributes", empty_tuple) < 0) {
  ------------------
  |  Branch (2348:9): [True: 0, False: 1]
  ------------------
 2349|      0|        Py_XDECREF(empty_tuple);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2350|      0|        return -1;
 2351|      0|    }
 2352|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2353|      1|    return 0;
 2354|      1|}
Python-ast.c:make_type:
 2193|    125|{
 2194|    125|    PyObject *fnames, *result;
 2195|    125|    int i;
 2196|    125|    fnames = PyTuple_New(num_fields);
 2197|    125|    if (!fnames) return NULL;
  ------------------
  |  Branch (2197:9): [True: 0, False: 125]
  ------------------
 2198|    323|    for (i = 0; i < num_fields; i++) {
  ------------------
  |  Branch (2198:17): [True: 198, False: 125]
  ------------------
 2199|    198|        PyObject *field = PyUnicode_InternFromString(fields[i]);
 2200|    198|        if (!field) {
  ------------------
  |  Branch (2200:13): [True: 0, False: 198]
  ------------------
 2201|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2202|      0|            return NULL;
 2203|      0|        }
 2204|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2205|    198|    }
 2206|    125|    result = PyObject_CallFunction((PyObject*)&PyType_Type, "s(O){OOOOOOOs}",
 2207|    125|                    type, base,
 2208|    125|                    state->_fields, fnames,
 2209|    125|                    state->__match_args__, fnames,
 2210|    125|                    state->__module__,
 2211|    125|                    state->ast,
 2212|    125|                    state->__doc__, doc);
 2213|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2214|    125|    return result;
 2215|    125|}
Python-ast.c:add_attributes:
 2219|     19|{
 2220|     19|    int i, result;
 2221|     19|    PyObject *s, *l = PyTuple_New(num_fields);
 2222|     19|    if (!l)
  ------------------
  |  Branch (2222:9): [True: 0, False: 19]
  ------------------
 2223|      0|        return -1;
 2224|     51|    for (i = 0; i < num_fields; i++) {
  ------------------
  |  Branch (2224:17): [True: 32, False: 19]
  ------------------
 2225|     32|        s = PyUnicode_InternFromString(attrs[i]);
 2226|     32|        if (!s) {
  ------------------
  |  Branch (2226:13): [True: 0, False: 32]
  ------------------
 2227|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2228|      0|            return -1;
 2229|      0|        }
 2230|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2231|     32|    }
 2232|     19|    result = PyObject_SetAttr(type, state->_attributes, l);
 2233|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2234|     19|    return result;
 2235|     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++) {
  ------------------
  |  |  221|    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);
  ------------------
  |  |  484|    113|    do { \
  |  |  485|    113|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|    113|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    113|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|    113|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    113|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    113|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 113, False: 0]
  |  |  ------------------
  |  |  488|    113|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    113|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|    113|            Py_DECREF(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|    113|        } \
  |  |  491|    113|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 113]
  |  |  ------------------
  ------------------
 1406|    113|    }
 1407|      1|    return 1;
 1408|      0|error:
 1409|      0|    Py_XDECREF(annotations);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) 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:
 5119|     16|{
 5120|     16|    mod_ty o = (mod_ty)_o;
 5121|     16|    PyObject *result = NULL, *value = NULL;
 5122|     16|    PyTypeObject *tp;
 5123|     16|    if (!o) {
  ------------------
  |  Branch (5123:9): [True: 0, False: 16]
  ------------------
 5124|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 5125|      0|    }
 5126|     16|    if (Py_EnterRecursiveCall("during  ast construction")) {
  ------------------
  |  Branch (5126:9): [True: 0, False: 16]
  ------------------
 5127|      0|        return NULL;
 5128|      0|    }
 5129|     16|    switch (o->kind) {
  ------------------
  |  Branch (5129:13): [True: 16, False: 0]
  ------------------
 5130|      0|    case Module_kind:
  ------------------
  |  Branch (5130:5): [True: 0, False: 16]
  ------------------
 5131|      0|        tp = (PyTypeObject *)state->Module_type;
 5132|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 5133|      0|        if (!result) goto failed;
  ------------------
  |  Branch (5133:13): [True: 0, False: 0]
  ------------------
 5134|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.Module.body, ast2obj_stmt);
 5135|      0|        if (!value) goto failed;
  ------------------
  |  Branch (5135:13): [True: 0, False: 0]
  ------------------
 5136|      0|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (5136:13): [True: 0, False: 0]
  ------------------
 5137|      0|            goto failed;
 5138|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5139|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.Module.type_ignores,
 5140|      0|                             ast2obj_type_ignore);
 5141|      0|        if (!value) goto failed;
  ------------------
  |  Branch (5141:13): [True: 0, False: 0]
  ------------------
 5142|      0|        if (PyObject_SetAttr(result, state->type_ignores, value) == -1)
  ------------------
  |  Branch (5142:13): [True: 0, False: 0]
  ------------------
 5143|      0|            goto failed;
 5144|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5145|      0|        break;
 5146|      0|    case Interactive_kind:
  ------------------
  |  Branch (5146:5): [True: 0, False: 16]
  ------------------
 5147|      0|        tp = (PyTypeObject *)state->Interactive_type;
 5148|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 5149|      0|        if (!result) goto failed;
  ------------------
  |  Branch (5149:13): [True: 0, False: 0]
  ------------------
 5150|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.Interactive.body,
 5151|      0|                             ast2obj_stmt);
 5152|      0|        if (!value) goto failed;
  ------------------
  |  Branch (5152:13): [True: 0, False: 0]
  ------------------
 5153|      0|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (5153:13): [True: 0, False: 0]
  ------------------
 5154|      0|            goto failed;
 5155|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5156|      0|        break;
 5157|     16|    case Expression_kind:
  ------------------
  |  Branch (5157:5): [True: 16, False: 0]
  ------------------
 5158|     16|        tp = (PyTypeObject *)state->Expression_type;
 5159|     16|        result = PyType_GenericNew(tp, NULL, NULL);
 5160|     16|        if (!result) goto failed;
  ------------------
  |  Branch (5160:13): [True: 0, False: 16]
  ------------------
 5161|     16|        value = ast2obj_expr(state, o->v.Expression.body);
 5162|     16|        if (!value) goto failed;
  ------------------
  |  Branch (5162:13): [True: 0, False: 16]
  ------------------
 5163|     16|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (5163:13): [True: 0, False: 16]
  ------------------
 5164|      0|            goto failed;
 5165|     16|        Py_DECREF(value);
  ------------------
  |  |  430|     16|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5166|     16|        break;
 5167|      0|    case FunctionType_kind:
  ------------------
  |  Branch (5167:5): [True: 0, False: 16]
  ------------------
 5168|      0|        tp = (PyTypeObject *)state->FunctionType_type;
 5169|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 5170|      0|        if (!result) goto failed;
  ------------------
  |  Branch (5170:13): [True: 0, False: 0]
  ------------------
 5171|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.FunctionType.argtypes,
 5172|      0|                             ast2obj_expr);
 5173|      0|        if (!value) goto failed;
  ------------------
  |  Branch (5173:13): [True: 0, False: 0]
  ------------------
 5174|      0|        if (PyObject_SetAttr(result, state->argtypes, value) == -1)
  ------------------
  |  Branch (5174:13): [True: 0, False: 0]
  ------------------
 5175|      0|            goto failed;
 5176|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5177|      0|        value = ast2obj_expr(state, o->v.FunctionType.returns);
 5178|      0|        if (!value) goto failed;
  ------------------
  |  Branch (5178:13): [True: 0, False: 0]
  ------------------
 5179|      0|        if (PyObject_SetAttr(result, state->returns, value) == -1)
  ------------------
  |  Branch (5179:13): [True: 0, False: 0]
  ------------------
 5180|      0|            goto failed;
 5181|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5182|      0|        break;
 5183|     16|    }
 5184|     16|    Py_LeaveRecursiveCall();
 5185|     16|    return result;
 5186|      0|failed:
 5187|      0|    Py_LeaveRecursiveCall();
 5188|      0|    Py_XDECREF(value);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5189|      0|    Py_XDECREF(result);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5190|       |    return NULL;
 5191|     16|}
Python-ast.c:ast2obj_list:
 2241|      1|{
 2242|      1|    Py_ssize_t i, n = asdl_seq_LEN(seq);
  ------------------
  |  |   83|      1|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  302|      2|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2243|      1|    PyObject *result = PyList_New(n);
 2244|      1|    PyObject *value;
 2245|      1|    if (!result)
  ------------------
  |  Branch (2245:9): [True: 0, False: 1]
  ------------------
 2246|      0|        return NULL;
 2247|      3|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (2247:17): [True: 2, False: 1]
  ------------------
 2248|      2|        value = func(state, asdl_seq_GET_UNTYPED(seq, i));
  ------------------
  |  |   81|      2|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  302|      2|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2249|      2|        if (!value) {
  ------------------
  |  Branch (2249:13): [True: 0, False: 2]
  ------------------
 2250|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2251|      0|            return NULL;
 2252|      0|        }
 2253|      2|        PyList_SET_ITEM(result, i, value);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2254|      2|    }
 2255|      1|    return result;
 2256|      1|}
Python-ast.c:ast2obj_object:
 2259|     23|{
 2260|     23|    PyObject *op = (PyObject*)o;
 2261|     23|    if (!op) {
  ------------------
  |  Branch (2261:9): [True: 2, False: 21]
  ------------------
 2262|      2|        op = Py_None;
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 2263|      2|    }
 2264|     23|    return Py_NewRef(op);
  ------------------
  |  |  550|     23|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     23|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     23|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2265|     23|}
Python-ast.c:ast2obj_operator:
 6348|      4|{
 6349|      4|    switch(o) {
  ------------------
  |  Branch (6349:12): [True: 4, False: 0]
  ------------------
 6350|      0|        case Add:
  ------------------
  |  Branch (6350:9): [True: 0, False: 4]
  ------------------
 6351|      0|            return Py_NewRef(state->Add_singleton);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6352|      0|        case Sub:
  ------------------
  |  Branch (6352:9): [True: 0, False: 4]
  ------------------
 6353|      0|            return Py_NewRef(state->Sub_singleton);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6354|      1|        case Mult:
  ------------------
  |  Branch (6354:9): [True: 1, False: 3]
  ------------------
 6355|      1|            return Py_NewRef(state->Mult_singleton);
  ------------------
  |  |  550|      1|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6356|      0|        case MatMult:
  ------------------
  |  Branch (6356:9): [True: 0, False: 4]
  ------------------
 6357|      0|            return Py_NewRef(state->MatMult_singleton);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6358|      2|        case Div:
  ------------------
  |  Branch (6358:9): [True: 2, False: 2]
  ------------------
 6359|      2|            return Py_NewRef(state->Div_singleton);
  ------------------
  |  |  550|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6360|      0|        case Mod:
  ------------------
  |  Branch (6360:9): [True: 0, False: 4]
  ------------------
 6361|      0|            return Py_NewRef(state->Mod_singleton);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6362|      0|        case Pow:
  ------------------
  |  Branch (6362:9): [True: 0, False: 4]
  ------------------
 6363|      0|            return Py_NewRef(state->Pow_singleton);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6364|      0|        case LShift:
  ------------------
  |  Branch (6364:9): [True: 0, False: 4]
  ------------------
 6365|      0|            return Py_NewRef(state->LShift_singleton);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6366|      0|        case RShift:
  ------------------
  |  Branch (6366:9): [True: 0, False: 4]
  ------------------
 6367|      0|            return Py_NewRef(state->RShift_singleton);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6368|      0|        case BitOr:
  ------------------
  |  Branch (6368:9): [True: 0, False: 4]
  ------------------
 6369|      0|            return Py_NewRef(state->BitOr_singleton);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6370|      0|        case BitXor:
  ------------------
  |  Branch (6370:9): [True: 0, False: 4]
  ------------------
 6371|      0|            return Py_NewRef(state->BitXor_singleton);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6372|      1|        case BitAnd:
  ------------------
  |  Branch (6372:9): [True: 1, False: 3]
  ------------------
 6373|      1|            return Py_NewRef(state->BitAnd_singleton);
  ------------------
  |  |  550|      1|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6374|      0|        case FloorDiv:
  ------------------
  |  Branch (6374:9): [True: 0, False: 4]
  ------------------
 6375|      0|            return Py_NewRef(state->FloorDiv_singleton);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6376|      4|    }
 6377|      0|    Py_UNREACHABLE();
  ------------------
  |  |  289|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 6378|      4|}
Python-ast.c:ast2obj_int:
 2271|    104|{
 2272|    104|    return PyLong_FromLong(b);
 2273|    104|}
Python-ast.c:ast2obj_expr:
 5809|     26|{
 5810|     26|    expr_ty o = (expr_ty)_o;
 5811|     26|    PyObject *result = NULL, *value = NULL;
 5812|     26|    PyTypeObject *tp;
 5813|     26|    if (!o) {
  ------------------
  |  Branch (5813:9): [True: 0, False: 26]
  ------------------
 5814|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 5815|      0|    }
 5816|     26|    if (Py_EnterRecursiveCall("during  ast construction")) {
  ------------------
  |  Branch (5816:9): [True: 0, False: 26]
  ------------------
 5817|      0|        return NULL;
 5818|      0|    }
 5819|     26|    switch (o->kind) {
  ------------------
  |  Branch (5819:13): [True: 26, False: 0]
  ------------------
 5820|      0|    case BoolOp_kind:
  ------------------
  |  Branch (5820:5): [True: 0, False: 26]
  ------------------
 5821|      0|        tp = (PyTypeObject *)state->BoolOp_type;
 5822|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 5823|      0|        if (!result) goto failed;
  ------------------
  |  Branch (5823:13): [True: 0, False: 0]
  ------------------
 5824|      0|        value = ast2obj_boolop(state, o->v.BoolOp.op);
 5825|      0|        if (!value) goto failed;
  ------------------
  |  Branch (5825:13): [True: 0, False: 0]
  ------------------
 5826|      0|        if (PyObject_SetAttr(result, state->op, value) == -1)
  ------------------
  |  Branch (5826:13): [True: 0, False: 0]
  ------------------
 5827|      0|            goto failed;
 5828|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5829|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.BoolOp.values,
 5830|      0|                             ast2obj_expr);
 5831|      0|        if (!value) goto failed;
  ------------------
  |  Branch (5831:13): [True: 0, False: 0]
  ------------------
 5832|      0|        if (PyObject_SetAttr(result, state->values, value) == -1)
  ------------------
  |  Branch (5832:13): [True: 0, False: 0]
  ------------------
 5833|      0|            goto failed;
 5834|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5835|      0|        break;
 5836|      0|    case NamedExpr_kind:
  ------------------
  |  Branch (5836:5): [True: 0, False: 26]
  ------------------
 5837|      0|        tp = (PyTypeObject *)state->NamedExpr_type;
 5838|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 5839|      0|        if (!result) goto failed;
  ------------------
  |  Branch (5839:13): [True: 0, False: 0]
  ------------------
 5840|      0|        value = ast2obj_expr(state, o->v.NamedExpr.target);
 5841|      0|        if (!value) goto failed;
  ------------------
  |  Branch (5841:13): [True: 0, False: 0]
  ------------------
 5842|      0|        if (PyObject_SetAttr(result, state->target, value) == -1)
  ------------------
  |  Branch (5842:13): [True: 0, False: 0]
  ------------------
 5843|      0|            goto failed;
 5844|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5845|      0|        value = ast2obj_expr(state, o->v.NamedExpr.value);
 5846|      0|        if (!value) goto failed;
  ------------------
  |  Branch (5846:13): [True: 0, False: 0]
  ------------------
 5847|      0|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (5847:13): [True: 0, False: 0]
  ------------------
 5848|      0|            goto failed;
 5849|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5850|      0|        break;
 5851|      4|    case BinOp_kind:
  ------------------
  |  Branch (5851:5): [True: 4, False: 22]
  ------------------
 5852|      4|        tp = (PyTypeObject *)state->BinOp_type;
 5853|      4|        result = PyType_GenericNew(tp, NULL, NULL);
 5854|      4|        if (!result) goto failed;
  ------------------
  |  Branch (5854:13): [True: 0, False: 4]
  ------------------
 5855|      4|        value = ast2obj_expr(state, o->v.BinOp.left);
 5856|      4|        if (!value) goto failed;
  ------------------
  |  Branch (5856:13): [True: 0, False: 4]
  ------------------
 5857|      4|        if (PyObject_SetAttr(result, state->left, value) == -1)
  ------------------
  |  Branch (5857:13): [True: 0, False: 4]
  ------------------
 5858|      0|            goto failed;
 5859|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5860|      4|        value = ast2obj_operator(state, o->v.BinOp.op);
 5861|      4|        if (!value) goto failed;
  ------------------
  |  Branch (5861:13): [True: 0, False: 4]
  ------------------
 5862|      4|        if (PyObject_SetAttr(result, state->op, value) == -1)
  ------------------
  |  Branch (5862:13): [True: 0, False: 4]
  ------------------
 5863|      0|            goto failed;
 5864|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5865|      4|        value = ast2obj_expr(state, o->v.BinOp.right);
 5866|      4|        if (!value) goto failed;
  ------------------
  |  Branch (5866:13): [True: 0, False: 4]
  ------------------
 5867|      4|        if (PyObject_SetAttr(result, state->right, value) == -1)
  ------------------
  |  Branch (5867:13): [True: 0, False: 4]
  ------------------
 5868|      0|            goto failed;
 5869|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5870|      4|        break;
 5871|      0|    case UnaryOp_kind:
  ------------------
  |  Branch (5871:5): [True: 0, False: 26]
  ------------------
 5872|      0|        tp = (PyTypeObject *)state->UnaryOp_type;
 5873|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 5874|      0|        if (!result) goto failed;
  ------------------
  |  Branch (5874:13): [True: 0, False: 0]
  ------------------
 5875|      0|        value = ast2obj_unaryop(state, o->v.UnaryOp.op);
 5876|      0|        if (!value) goto failed;
  ------------------
  |  Branch (5876:13): [True: 0, False: 0]
  ------------------
 5877|      0|        if (PyObject_SetAttr(result, state->op, value) == -1)
  ------------------
  |  Branch (5877:13): [True: 0, False: 0]
  ------------------
 5878|      0|            goto failed;
 5879|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5880|      0|        value = ast2obj_expr(state, o->v.UnaryOp.operand);
 5881|      0|        if (!value) goto failed;
  ------------------
  |  Branch (5881:13): [True: 0, False: 0]
  ------------------
 5882|      0|        if (PyObject_SetAttr(result, state->operand, value) == -1)
  ------------------
  |  Branch (5882:13): [True: 0, False: 0]
  ------------------
 5883|      0|            goto failed;
 5884|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5885|      0|        break;
 5886|      0|    case Lambda_kind:
  ------------------
  |  Branch (5886:5): [True: 0, False: 26]
  ------------------
 5887|      0|        tp = (PyTypeObject *)state->Lambda_type;
 5888|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 5889|      0|        if (!result) goto failed;
  ------------------
  |  Branch (5889:13): [True: 0, False: 0]
  ------------------
 5890|      0|        value = ast2obj_arguments(state, o->v.Lambda.args);
 5891|      0|        if (!value) goto failed;
  ------------------
  |  Branch (5891:13): [True: 0, False: 0]
  ------------------
 5892|      0|        if (PyObject_SetAttr(result, state->args, value) == -1)
  ------------------
  |  Branch (5892:13): [True: 0, False: 0]
  ------------------
 5893|      0|            goto failed;
 5894|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5895|      0|        value = ast2obj_expr(state, o->v.Lambda.body);
 5896|      0|        if (!value) goto failed;
  ------------------
  |  Branch (5896:13): [True: 0, False: 0]
  ------------------
 5897|      0|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (5897:13): [True: 0, False: 0]
  ------------------
 5898|      0|            goto failed;
 5899|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5900|      0|        break;
 5901|      0|    case IfExp_kind:
  ------------------
  |  Branch (5901:5): [True: 0, False: 26]
  ------------------
 5902|      0|        tp = (PyTypeObject *)state->IfExp_type;
 5903|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 5904|      0|        if (!result) goto failed;
  ------------------
  |  Branch (5904:13): [True: 0, False: 0]
  ------------------
 5905|      0|        value = ast2obj_expr(state, o->v.IfExp.test);
 5906|      0|        if (!value) goto failed;
  ------------------
  |  Branch (5906:13): [True: 0, False: 0]
  ------------------
 5907|      0|        if (PyObject_SetAttr(result, state->test, value) == -1)
  ------------------
  |  Branch (5907:13): [True: 0, False: 0]
  ------------------
 5908|      0|            goto failed;
 5909|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5910|      0|        value = ast2obj_expr(state, o->v.IfExp.body);
 5911|      0|        if (!value) goto failed;
  ------------------
  |  Branch (5911:13): [True: 0, False: 0]
  ------------------
 5912|      0|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (5912:13): [True: 0, False: 0]
  ------------------
 5913|      0|            goto failed;
 5914|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5915|      0|        value = ast2obj_expr(state, o->v.IfExp.orelse);
 5916|      0|        if (!value) goto failed;
  ------------------
  |  Branch (5916:13): [True: 0, False: 0]
  ------------------
 5917|      0|        if (PyObject_SetAttr(result, state->orelse, value) == -1)
  ------------------
  |  Branch (5917:13): [True: 0, False: 0]
  ------------------
 5918|      0|            goto failed;
 5919|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5920|      0|        break;
 5921|      0|    case Dict_kind:
  ------------------
  |  Branch (5921:5): [True: 0, False: 26]
  ------------------
 5922|      0|        tp = (PyTypeObject *)state->Dict_type;
 5923|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 5924|      0|        if (!result) goto failed;
  ------------------
  |  Branch (5924:13): [True: 0, False: 0]
  ------------------
 5925|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.Dict.keys, ast2obj_expr);
 5926|      0|        if (!value) goto failed;
  ------------------
  |  Branch (5926:13): [True: 0, False: 0]
  ------------------
 5927|      0|        if (PyObject_SetAttr(result, state->keys, value) == -1)
  ------------------
  |  Branch (5927:13): [True: 0, False: 0]
  ------------------
 5928|      0|            goto failed;
 5929|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5930|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.Dict.values, ast2obj_expr);
 5931|      0|        if (!value) goto failed;
  ------------------
  |  Branch (5931:13): [True: 0, False: 0]
  ------------------
 5932|      0|        if (PyObject_SetAttr(result, state->values, value) == -1)
  ------------------
  |  Branch (5932:13): [True: 0, False: 0]
  ------------------
 5933|      0|            goto failed;
 5934|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5935|      0|        break;
 5936|      0|    case Set_kind:
  ------------------
  |  Branch (5936:5): [True: 0, False: 26]
  ------------------
 5937|      0|        tp = (PyTypeObject *)state->Set_type;
 5938|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 5939|      0|        if (!result) goto failed;
  ------------------
  |  Branch (5939:13): [True: 0, False: 0]
  ------------------
 5940|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.Set.elts, ast2obj_expr);
 5941|      0|        if (!value) goto failed;
  ------------------
  |  Branch (5941:13): [True: 0, False: 0]
  ------------------
 5942|      0|        if (PyObject_SetAttr(result, state->elts, value) == -1)
  ------------------
  |  Branch (5942:13): [True: 0, False: 0]
  ------------------
 5943|      0|            goto failed;
 5944|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5945|      0|        break;
 5946|      0|    case ListComp_kind:
  ------------------
  |  Branch (5946:5): [True: 0, False: 26]
  ------------------
 5947|      0|        tp = (PyTypeObject *)state->ListComp_type;
 5948|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 5949|      0|        if (!result) goto failed;
  ------------------
  |  Branch (5949:13): [True: 0, False: 0]
  ------------------
 5950|      0|        value = ast2obj_expr(state, o->v.ListComp.elt);
 5951|      0|        if (!value) goto failed;
  ------------------
  |  Branch (5951:13): [True: 0, False: 0]
  ------------------
 5952|      0|        if (PyObject_SetAttr(result, state->elt, value) == -1)
  ------------------
  |  Branch (5952:13): [True: 0, False: 0]
  ------------------
 5953|      0|            goto failed;
 5954|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5955|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.ListComp.generators,
 5956|      0|                             ast2obj_comprehension);
 5957|      0|        if (!value) goto failed;
  ------------------
  |  Branch (5957:13): [True: 0, False: 0]
  ------------------
 5958|      0|        if (PyObject_SetAttr(result, state->generators, value) == -1)
  ------------------
  |  Branch (5958:13): [True: 0, False: 0]
  ------------------
 5959|      0|            goto failed;
 5960|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5961|      0|        break;
 5962|      0|    case SetComp_kind:
  ------------------
  |  Branch (5962:5): [True: 0, False: 26]
  ------------------
 5963|      0|        tp = (PyTypeObject *)state->SetComp_type;
 5964|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 5965|      0|        if (!result) goto failed;
  ------------------
  |  Branch (5965:13): [True: 0, False: 0]
  ------------------
 5966|      0|        value = ast2obj_expr(state, o->v.SetComp.elt);
 5967|      0|        if (!value) goto failed;
  ------------------
  |  Branch (5967:13): [True: 0, False: 0]
  ------------------
 5968|      0|        if (PyObject_SetAttr(result, state->elt, value) == -1)
  ------------------
  |  Branch (5968:13): [True: 0, False: 0]
  ------------------
 5969|      0|            goto failed;
 5970|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5971|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.SetComp.generators,
 5972|      0|                             ast2obj_comprehension);
 5973|      0|        if (!value) goto failed;
  ------------------
  |  Branch (5973:13): [True: 0, False: 0]
  ------------------
 5974|      0|        if (PyObject_SetAttr(result, state->generators, value) == -1)
  ------------------
  |  Branch (5974:13): [True: 0, False: 0]
  ------------------
 5975|      0|            goto failed;
 5976|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5977|      0|        break;
 5978|      0|    case DictComp_kind:
  ------------------
  |  Branch (5978:5): [True: 0, False: 26]
  ------------------
 5979|      0|        tp = (PyTypeObject *)state->DictComp_type;
 5980|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 5981|      0|        if (!result) goto failed;
  ------------------
  |  Branch (5981:13): [True: 0, False: 0]
  ------------------
 5982|      0|        value = ast2obj_expr(state, o->v.DictComp.key);
 5983|      0|        if (!value) goto failed;
  ------------------
  |  Branch (5983:13): [True: 0, False: 0]
  ------------------
 5984|      0|        if (PyObject_SetAttr(result, state->key, value) == -1)
  ------------------
  |  Branch (5984:13): [True: 0, False: 0]
  ------------------
 5985|      0|            goto failed;
 5986|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5987|      0|        value = ast2obj_expr(state, o->v.DictComp.value);
 5988|      0|        if (!value) goto failed;
  ------------------
  |  Branch (5988:13): [True: 0, False: 0]
  ------------------
 5989|      0|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (5989:13): [True: 0, False: 0]
  ------------------
 5990|      0|            goto failed;
 5991|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5992|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.DictComp.generators,
 5993|      0|                             ast2obj_comprehension);
 5994|      0|        if (!value) goto failed;
  ------------------
  |  Branch (5994:13): [True: 0, False: 0]
  ------------------
 5995|      0|        if (PyObject_SetAttr(result, state->generators, value) == -1)
  ------------------
  |  Branch (5995:13): [True: 0, False: 0]
  ------------------
 5996|      0|            goto failed;
 5997|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5998|      0|        break;
 5999|      0|    case GeneratorExp_kind:
  ------------------
  |  Branch (5999:5): [True: 0, False: 26]
  ------------------
 6000|      0|        tp = (PyTypeObject *)state->GeneratorExp_type;
 6001|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 6002|      0|        if (!result) goto failed;
  ------------------
  |  Branch (6002:13): [True: 0, False: 0]
  ------------------
 6003|      0|        value = ast2obj_expr(state, o->v.GeneratorExp.elt);
 6004|      0|        if (!value) goto failed;
  ------------------
  |  Branch (6004:13): [True: 0, False: 0]
  ------------------
 6005|      0|        if (PyObject_SetAttr(result, state->elt, value) == -1)
  ------------------
  |  Branch (6005:13): [True: 0, False: 0]
  ------------------
 6006|      0|            goto failed;
 6007|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6008|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.GeneratorExp.generators,
 6009|      0|                             ast2obj_comprehension);
 6010|      0|        if (!value) goto failed;
  ------------------
  |  Branch (6010:13): [True: 0, False: 0]
  ------------------
 6011|      0|        if (PyObject_SetAttr(result, state->generators, value) == -1)
  ------------------
  |  Branch (6011:13): [True: 0, False: 0]
  ------------------
 6012|      0|            goto failed;
 6013|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6014|      0|        break;
 6015|      0|    case Await_kind:
  ------------------
  |  Branch (6015:5): [True: 0, False: 26]
  ------------------
 6016|      0|        tp = (PyTypeObject *)state->Await_type;
 6017|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 6018|      0|        if (!result) goto failed;
  ------------------
  |  Branch (6018:13): [True: 0, False: 0]
  ------------------
 6019|      0|        value = ast2obj_expr(state, o->v.Await.value);
 6020|      0|        if (!value) goto failed;
  ------------------
  |  Branch (6020:13): [True: 0, False: 0]
  ------------------
 6021|      0|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (6021:13): [True: 0, False: 0]
  ------------------
 6022|      0|            goto failed;
 6023|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6024|      0|        break;
 6025|      0|    case Yield_kind:
  ------------------
  |  Branch (6025:5): [True: 0, False: 26]
  ------------------
 6026|      0|        tp = (PyTypeObject *)state->Yield_type;
 6027|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 6028|      0|        if (!result) goto failed;
  ------------------
  |  Branch (6028:13): [True: 0, False: 0]
  ------------------
 6029|      0|        value = ast2obj_expr(state, o->v.Yield.value);
 6030|      0|        if (!value) goto failed;
  ------------------
  |  Branch (6030:13): [True: 0, False: 0]
  ------------------
 6031|      0|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (6031:13): [True: 0, False: 0]
  ------------------
 6032|      0|            goto failed;
 6033|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6034|      0|        break;
 6035|      0|    case YieldFrom_kind:
  ------------------
  |  Branch (6035:5): [True: 0, False: 26]
  ------------------
 6036|      0|        tp = (PyTypeObject *)state->YieldFrom_type;
 6037|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 6038|      0|        if (!result) goto failed;
  ------------------
  |  Branch (6038:13): [True: 0, False: 0]
  ------------------
 6039|      0|        value = ast2obj_expr(state, o->v.YieldFrom.value);
 6040|      0|        if (!value) goto failed;
  ------------------
  |  Branch (6040:13): [True: 0, False: 0]
  ------------------
 6041|      0|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (6041:13): [True: 0, False: 0]
  ------------------
 6042|      0|            goto failed;
 6043|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6044|      0|        break;
 6045|      0|    case Compare_kind:
  ------------------
  |  Branch (6045:5): [True: 0, False: 26]
  ------------------
 6046|      0|        tp = (PyTypeObject *)state->Compare_type;
 6047|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 6048|      0|        if (!result) goto failed;
  ------------------
  |  Branch (6048:13): [True: 0, False: 0]
  ------------------
 6049|      0|        value = ast2obj_expr(state, o->v.Compare.left);
 6050|      0|        if (!value) goto failed;
  ------------------
  |  Branch (6050:13): [True: 0, False: 0]
  ------------------
 6051|      0|        if (PyObject_SetAttr(result, state->left, value) == -1)
  ------------------
  |  Branch (6051:13): [True: 0, False: 0]
  ------------------
 6052|      0|            goto failed;
 6053|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6054|      0|        {
 6055|      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))
  |  |  ------------------
  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6056|      0|            value = PyList_New(n);
 6057|      0|            if (!value) goto failed;
  ------------------
  |  Branch (6057:17): [True: 0, False: 0]
  ------------------
 6058|      0|            for(i = 0; i < n; i++)
  ------------------
  |  Branch (6058:24): [True: 0, False: 0]
  ------------------
 6059|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6060|      0|        }
 6061|      0|        if (!value) goto failed;
  ------------------
  |  Branch (6061:13): [True: 0, False: 0]
  ------------------
 6062|      0|        if (PyObject_SetAttr(result, state->ops, value) == -1)
  ------------------
  |  Branch (6062:13): [True: 0, False: 0]
  ------------------
 6063|      0|            goto failed;
 6064|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6065|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.Compare.comparators,
 6066|      0|                             ast2obj_expr);
 6067|      0|        if (!value) goto failed;
  ------------------
  |  Branch (6067:13): [True: 0, False: 0]
  ------------------
 6068|      0|        if (PyObject_SetAttr(result, state->comparators, value) == -1)
  ------------------
  |  Branch (6068:13): [True: 0, False: 0]
  ------------------
 6069|      0|            goto failed;
 6070|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6071|      0|        break;
 6072|      0|    case Call_kind:
  ------------------
  |  Branch (6072:5): [True: 0, False: 26]
  ------------------
 6073|      0|        tp = (PyTypeObject *)state->Call_type;
 6074|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 6075|      0|        if (!result) goto failed;
  ------------------
  |  Branch (6075:13): [True: 0, False: 0]
  ------------------
 6076|      0|        value = ast2obj_expr(state, o->v.Call.func);
 6077|      0|        if (!value) goto failed;
  ------------------
  |  Branch (6077:13): [True: 0, False: 0]
  ------------------
 6078|      0|        if (PyObject_SetAttr(result, state->func, value) == -1)
  ------------------
  |  Branch (6078:13): [True: 0, False: 0]
  ------------------
 6079|      0|            goto failed;
 6080|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6081|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.Call.args, ast2obj_expr);
 6082|      0|        if (!value) goto failed;
  ------------------
  |  Branch (6082:13): [True: 0, False: 0]
  ------------------
 6083|      0|        if (PyObject_SetAttr(result, state->args, value) == -1)
  ------------------
  |  Branch (6083:13): [True: 0, False: 0]
  ------------------
 6084|      0|            goto failed;
 6085|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6086|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.Call.keywords,
 6087|      0|                             ast2obj_keyword);
 6088|      0|        if (!value) goto failed;
  ------------------
  |  Branch (6088:13): [True: 0, False: 0]
  ------------------
 6089|      0|        if (PyObject_SetAttr(result, state->keywords, value) == -1)
  ------------------
  |  Branch (6089:13): [True: 0, False: 0]
  ------------------
 6090|      0|            goto failed;
 6091|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6092|      0|        break;
 6093|      0|    case FormattedValue_kind:
  ------------------
  |  Branch (6093:5): [True: 0, False: 26]
  ------------------
 6094|      0|        tp = (PyTypeObject *)state->FormattedValue_type;
 6095|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 6096|      0|        if (!result) goto failed;
  ------------------
  |  Branch (6096:13): [True: 0, False: 0]
  ------------------
 6097|      0|        value = ast2obj_expr(state, o->v.FormattedValue.value);
 6098|      0|        if (!value) goto failed;
  ------------------
  |  Branch (6098:13): [True: 0, False: 0]
  ------------------
 6099|      0|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (6099:13): [True: 0, False: 0]
  ------------------
 6100|      0|            goto failed;
 6101|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6102|      0|        value = ast2obj_int(state, o->v.FormattedValue.conversion);
 6103|      0|        if (!value) goto failed;
  ------------------
  |  Branch (6103:13): [True: 0, False: 0]
  ------------------
 6104|      0|        if (PyObject_SetAttr(result, state->conversion, value) == -1)
  ------------------
  |  Branch (6104:13): [True: 0, False: 0]
  ------------------
 6105|      0|            goto failed;
 6106|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6107|      0|        value = ast2obj_expr(state, o->v.FormattedValue.format_spec);
 6108|      0|        if (!value) goto failed;
  ------------------
  |  Branch (6108:13): [True: 0, False: 0]
  ------------------
 6109|      0|        if (PyObject_SetAttr(result, state->format_spec, value) == -1)
  ------------------
  |  Branch (6109:13): [True: 0, False: 0]
  ------------------
 6110|      0|            goto failed;
 6111|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6112|      0|        break;
 6113|      0|    case Interpolation_kind:
  ------------------
  |  Branch (6113:5): [True: 0, False: 26]
  ------------------
 6114|      0|        tp = (PyTypeObject *)state->Interpolation_type;
 6115|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 6116|      0|        if (!result) goto failed;
  ------------------
  |  Branch (6116:13): [True: 0, False: 0]
  ------------------
 6117|      0|        value = ast2obj_expr(state, o->v.Interpolation.value);
 6118|      0|        if (!value) goto failed;
  ------------------
  |  Branch (6118:13): [True: 0, False: 0]
  ------------------
 6119|      0|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (6119:13): [True: 0, False: 0]
  ------------------
 6120|      0|            goto failed;
 6121|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6122|      0|        value = ast2obj_constant(state, o->v.Interpolation.str);
  ------------------
  |  | 2266|      0|#define ast2obj_constant ast2obj_object
  ------------------
 6123|      0|        if (!value) goto failed;
  ------------------
  |  Branch (6123:13): [True: 0, False: 0]
  ------------------
 6124|      0|        if (PyObject_SetAttr(result, state->str, value) == -1)
  ------------------
  |  Branch (6124:13): [True: 0, False: 0]
  ------------------
 6125|      0|            goto failed;
 6126|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6127|      0|        value = ast2obj_int(state, o->v.Interpolation.conversion);
 6128|      0|        if (!value) goto failed;
  ------------------
  |  Branch (6128:13): [True: 0, False: 0]
  ------------------
 6129|      0|        if (PyObject_SetAttr(result, state->conversion, value) == -1)
  ------------------
  |  Branch (6129:13): [True: 0, False: 0]
  ------------------
 6130|      0|            goto failed;
 6131|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6132|      0|        value = ast2obj_expr(state, o->v.Interpolation.format_spec);
 6133|      0|        if (!value) goto failed;
  ------------------
  |  Branch (6133:13): [True: 0, False: 0]
  ------------------
 6134|      0|        if (PyObject_SetAttr(result, state->format_spec, value) == -1)
  ------------------
  |  Branch (6134:13): [True: 0, False: 0]
  ------------------
 6135|      0|            goto failed;
 6136|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6137|      0|        break;
 6138|      0|    case JoinedStr_kind:
  ------------------
  |  Branch (6138:5): [True: 0, False: 26]
  ------------------
 6139|      0|        tp = (PyTypeObject *)state->JoinedStr_type;
 6140|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 6141|      0|        if (!result) goto failed;
  ------------------
  |  Branch (6141:13): [True: 0, False: 0]
  ------------------
 6142|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.JoinedStr.values,
 6143|      0|                             ast2obj_expr);
 6144|      0|        if (!value) goto failed;
  ------------------
  |  Branch (6144:13): [True: 0, False: 0]
  ------------------
 6145|      0|        if (PyObject_SetAttr(result, state->values, value) == -1)
  ------------------
  |  Branch (6145:13): [True: 0, False: 0]
  ------------------
 6146|      0|            goto failed;
 6147|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6148|      0|        break;
 6149|      0|    case TemplateStr_kind:
  ------------------
  |  Branch (6149:5): [True: 0, False: 26]
  ------------------
 6150|      0|        tp = (PyTypeObject *)state->TemplateStr_type;
 6151|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 6152|      0|        if (!result) goto failed;
  ------------------
  |  Branch (6152:13): [True: 0, False: 0]
  ------------------
 6153|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.TemplateStr.values,
 6154|      0|                             ast2obj_expr);
 6155|      0|        if (!value) goto failed;
  ------------------
  |  Branch (6155:13): [True: 0, False: 0]
  ------------------
 6156|      0|        if (PyObject_SetAttr(result, state->values, value) == -1)
  ------------------
  |  Branch (6156:13): [True: 0, False: 0]
  ------------------
 6157|      0|            goto failed;
 6158|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6159|      0|        break;
 6160|      2|    case Constant_kind:
  ------------------
  |  Branch (6160:5): [True: 2, False: 24]
  ------------------
 6161|      2|        tp = (PyTypeObject *)state->Constant_type;
 6162|      2|        result = PyType_GenericNew(tp, NULL, NULL);
 6163|      2|        if (!result) goto failed;
  ------------------
  |  Branch (6163:13): [True: 0, False: 2]
  ------------------
 6164|      2|        value = ast2obj_constant(state, o->v.Constant.value);
  ------------------
  |  | 2266|      2|#define ast2obj_constant ast2obj_object
  ------------------
 6165|      2|        if (!value) goto failed;
  ------------------
  |  Branch (6165:13): [True: 0, False: 2]
  ------------------
 6166|      2|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (6166:13): [True: 0, False: 2]
  ------------------
 6167|      0|            goto failed;
 6168|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6169|      2|        value = ast2obj_string(state, o->v.Constant.kind);
  ------------------
  |  | 2268|      2|#define ast2obj_string ast2obj_object
  ------------------
 6170|      2|        if (!value) goto failed;
  ------------------
  |  Branch (6170:13): [True: 0, False: 2]
  ------------------
 6171|      2|        if (PyObject_SetAttr(result, state->kind, value) == -1)
  ------------------
  |  Branch (6171:13): [True: 0, False: 2]
  ------------------
 6172|      0|            goto failed;
 6173|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6174|      2|        break;
 6175|      0|    case Attribute_kind:
  ------------------
  |  Branch (6175:5): [True: 0, False: 26]
  ------------------
 6176|      0|        tp = (PyTypeObject *)state->Attribute_type;
 6177|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 6178|      0|        if (!result) goto failed;
  ------------------
  |  Branch (6178:13): [True: 0, False: 0]
  ------------------
 6179|      0|        value = ast2obj_expr(state, o->v.Attribute.value);
 6180|      0|        if (!value) goto failed;
  ------------------
  |  Branch (6180:13): [True: 0, False: 0]
  ------------------
 6181|      0|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (6181:13): [True: 0, False: 0]
  ------------------
 6182|      0|            goto failed;
 6183|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6184|      0|        value = ast2obj_identifier(state, o->v.Attribute.attr);
  ------------------
  |  | 2267|      0|#define ast2obj_identifier ast2obj_object
  ------------------
 6185|      0|        if (!value) goto failed;
  ------------------
  |  Branch (6185:13): [True: 0, False: 0]
  ------------------
 6186|      0|        if (PyObject_SetAttr(result, state->attr, value) == -1)
  ------------------
  |  Branch (6186:13): [True: 0, False: 0]
  ------------------
 6187|      0|            goto failed;
 6188|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6189|      0|        value = ast2obj_expr_context(state, o->v.Attribute.ctx);
 6190|      0|        if (!value) goto failed;
  ------------------
  |  Branch (6190:13): [True: 0, False: 0]
  ------------------
 6191|      0|        if (PyObject_SetAttr(result, state->ctx, value) == -1)
  ------------------
  |  Branch (6191:13): [True: 0, False: 0]
  ------------------
 6192|      0|            goto failed;
 6193|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6194|      0|        break;
 6195|      0|    case Subscript_kind:
  ------------------
  |  Branch (6195:5): [True: 0, False: 26]
  ------------------
 6196|      0|        tp = (PyTypeObject *)state->Subscript_type;
 6197|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 6198|      0|        if (!result) goto failed;
  ------------------
  |  Branch (6198:13): [True: 0, False: 0]
  ------------------
 6199|      0|        value = ast2obj_expr(state, o->v.Subscript.value);
 6200|      0|        if (!value) goto failed;
  ------------------
  |  Branch (6200:13): [True: 0, False: 0]
  ------------------
 6201|      0|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (6201:13): [True: 0, False: 0]
  ------------------
 6202|      0|            goto failed;
 6203|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6204|      0|        value = ast2obj_expr(state, o->v.Subscript.slice);
 6205|      0|        if (!value) goto failed;
  ------------------
  |  Branch (6205:13): [True: 0, False: 0]
  ------------------
 6206|      0|        if (PyObject_SetAttr(result, state->slice, value) == -1)
  ------------------
  |  Branch (6206:13): [True: 0, False: 0]
  ------------------
 6207|      0|            goto failed;
 6208|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6209|      0|        value = ast2obj_expr_context(state, o->v.Subscript.ctx);
 6210|      0|        if (!value) goto failed;
  ------------------
  |  Branch (6210:13): [True: 0, False: 0]
  ------------------
 6211|      0|        if (PyObject_SetAttr(result, state->ctx, value) == -1)
  ------------------
  |  Branch (6211:13): [True: 0, False: 0]
  ------------------
 6212|      0|            goto failed;
 6213|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6214|      0|        break;
 6215|      0|    case Starred_kind:
  ------------------
  |  Branch (6215:5): [True: 0, False: 26]
  ------------------
 6216|      0|        tp = (PyTypeObject *)state->Starred_type;
 6217|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 6218|      0|        if (!result) goto failed;
  ------------------
  |  Branch (6218:13): [True: 0, False: 0]
  ------------------
 6219|      0|        value = ast2obj_expr(state, o->v.Starred.value);
 6220|      0|        if (!value) goto failed;
  ------------------
  |  Branch (6220:13): [True: 0, False: 0]
  ------------------
 6221|      0|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (6221:13): [True: 0, False: 0]
  ------------------
 6222|      0|            goto failed;
 6223|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6224|      0|        value = ast2obj_expr_context(state, o->v.Starred.ctx);
 6225|      0|        if (!value) goto failed;
  ------------------
  |  Branch (6225:13): [True: 0, False: 0]
  ------------------
 6226|      0|        if (PyObject_SetAttr(result, state->ctx, value) == -1)
  ------------------
  |  Branch (6226:13): [True: 0, False: 0]
  ------------------
 6227|      0|            goto failed;
 6228|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6229|      0|        break;
 6230|     19|    case Name_kind:
  ------------------
  |  Branch (6230:5): [True: 19, False: 7]
  ------------------
 6231|     19|        tp = (PyTypeObject *)state->Name_type;
 6232|     19|        result = PyType_GenericNew(tp, NULL, NULL);
 6233|     19|        if (!result) goto failed;
  ------------------
  |  Branch (6233:13): [True: 0, False: 19]
  ------------------
 6234|     19|        value = ast2obj_identifier(state, o->v.Name.id);
  ------------------
  |  | 2267|     19|#define ast2obj_identifier ast2obj_object
  ------------------
 6235|     19|        if (!value) goto failed;
  ------------------
  |  Branch (6235:13): [True: 0, False: 19]
  ------------------
 6236|     19|        if (PyObject_SetAttr(result, state->id, value) == -1)
  ------------------
  |  Branch (6236:13): [True: 0, False: 19]
  ------------------
 6237|      0|            goto failed;
 6238|     19|        Py_DECREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6239|     19|        value = ast2obj_expr_context(state, o->v.Name.ctx);
 6240|     19|        if (!value) goto failed;
  ------------------
  |  Branch (6240:13): [True: 0, False: 19]
  ------------------
 6241|     19|        if (PyObject_SetAttr(result, state->ctx, value) == -1)
  ------------------
  |  Branch (6241:13): [True: 0, False: 19]
  ------------------
 6242|      0|            goto failed;
 6243|     19|        Py_DECREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6244|     19|        break;
 6245|      0|    case List_kind:
  ------------------
  |  Branch (6245:5): [True: 0, False: 26]
  ------------------
 6246|      0|        tp = (PyTypeObject *)state->List_type;
 6247|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 6248|      0|        if (!result) goto failed;
  ------------------
  |  Branch (6248:13): [True: 0, False: 0]
  ------------------
 6249|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.List.elts, ast2obj_expr);
 6250|      0|        if (!value) goto failed;
  ------------------
  |  Branch (6250:13): [True: 0, False: 0]
  ------------------
 6251|      0|        if (PyObject_SetAttr(result, state->elts, value) == -1)
  ------------------
  |  Branch (6251:13): [True: 0, False: 0]
  ------------------
 6252|      0|            goto failed;
 6253|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6254|      0|        value = ast2obj_expr_context(state, o->v.List.ctx);
 6255|      0|        if (!value) goto failed;
  ------------------
  |  Branch (6255:13): [True: 0, False: 0]
  ------------------
 6256|      0|        if (PyObject_SetAttr(result, state->ctx, value) == -1)
  ------------------
  |  Branch (6256:13): [True: 0, False: 0]
  ------------------
 6257|      0|            goto failed;
 6258|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6259|      0|        break;
 6260|      1|    case Tuple_kind:
  ------------------
  |  Branch (6260:5): [True: 1, False: 25]
  ------------------
 6261|      1|        tp = (PyTypeObject *)state->Tuple_type;
 6262|      1|        result = PyType_GenericNew(tp, NULL, NULL);
 6263|      1|        if (!result) goto failed;
  ------------------
  |  Branch (6263:13): [True: 0, False: 1]
  ------------------
 6264|      1|        value = ast2obj_list(state, (asdl_seq*)o->v.Tuple.elts, ast2obj_expr);
 6265|      1|        if (!value) goto failed;
  ------------------
  |  Branch (6265:13): [True: 0, False: 1]
  ------------------
 6266|      1|        if (PyObject_SetAttr(result, state->elts, value) == -1)
  ------------------
  |  Branch (6266:13): [True: 0, False: 1]
  ------------------
 6267|      0|            goto failed;
 6268|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6269|      1|        value = ast2obj_expr_context(state, o->v.Tuple.ctx);
 6270|      1|        if (!value) goto failed;
  ------------------
  |  Branch (6270:13): [True: 0, False: 1]
  ------------------
 6271|      1|        if (PyObject_SetAttr(result, state->ctx, value) == -1)
  ------------------
  |  Branch (6271:13): [True: 0, False: 1]
  ------------------
 6272|      0|            goto failed;
 6273|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6274|      1|        break;
 6275|      0|    case Slice_kind:
  ------------------
  |  Branch (6275:5): [True: 0, False: 26]
  ------------------
 6276|      0|        tp = (PyTypeObject *)state->Slice_type;
 6277|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 6278|      0|        if (!result) goto failed;
  ------------------
  |  Branch (6278:13): [True: 0, False: 0]
  ------------------
 6279|      0|        value = ast2obj_expr(state, o->v.Slice.lower);
 6280|      0|        if (!value) goto failed;
  ------------------
  |  Branch (6280:13): [True: 0, False: 0]
  ------------------
 6281|      0|        if (PyObject_SetAttr(result, state->lower, value) == -1)
  ------------------
  |  Branch (6281:13): [True: 0, False: 0]
  ------------------
 6282|      0|            goto failed;
 6283|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6284|      0|        value = ast2obj_expr(state, o->v.Slice.upper);
 6285|      0|        if (!value) goto failed;
  ------------------
  |  Branch (6285:13): [True: 0, False: 0]
  ------------------
 6286|      0|        if (PyObject_SetAttr(result, state->upper, value) == -1)
  ------------------
  |  Branch (6286:13): [True: 0, False: 0]
  ------------------
 6287|      0|            goto failed;
 6288|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6289|      0|        value = ast2obj_expr(state, o->v.Slice.step);
 6290|      0|        if (!value) goto failed;
  ------------------
  |  Branch (6290:13): [True: 0, False: 0]
  ------------------
 6291|      0|        if (PyObject_SetAttr(result, state->step, value) == -1)
  ------------------
  |  Branch (6291:13): [True: 0, False: 0]
  ------------------
 6292|      0|            goto failed;
 6293|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6294|      0|        break;
 6295|     26|    }
 6296|     26|    value = ast2obj_int(state, o->lineno);
 6297|     26|    if (!value) goto failed;
  ------------------
  |  Branch (6297:9): [True: 0, False: 26]
  ------------------
 6298|     26|    if (PyObject_SetAttr(result, state->lineno, value) < 0)
  ------------------
  |  Branch (6298:9): [True: 0, False: 26]
  ------------------
 6299|      0|        goto failed;
 6300|     26|    Py_DECREF(value);
  ------------------
  |  |  430|     26|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     26|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     26|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6301|     26|    value = ast2obj_int(state, o->col_offset);
 6302|     26|    if (!value) goto failed;
  ------------------
  |  Branch (6302:9): [True: 0, False: 26]
  ------------------
 6303|     26|    if (PyObject_SetAttr(result, state->col_offset, value) < 0)
  ------------------
  |  Branch (6303:9): [True: 0, False: 26]
  ------------------
 6304|      0|        goto failed;
 6305|     26|    Py_DECREF(value);
  ------------------
  |  |  430|     26|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     26|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     26|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6306|     26|    value = ast2obj_int(state, o->end_lineno);
 6307|     26|    if (!value) goto failed;
  ------------------
  |  Branch (6307:9): [True: 0, False: 26]
  ------------------
 6308|     26|    if (PyObject_SetAttr(result, state->end_lineno, value) < 0)
  ------------------
  |  Branch (6308:9): [True: 0, False: 26]
  ------------------
 6309|      0|        goto failed;
 6310|     26|    Py_DECREF(value);
  ------------------
  |  |  430|     26|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     26|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     26|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6311|     26|    value = ast2obj_int(state, o->end_col_offset);
 6312|     26|    if (!value) goto failed;
  ------------------
  |  Branch (6312:9): [True: 0, False: 26]
  ------------------
 6313|     26|    if (PyObject_SetAttr(result, state->end_col_offset, value) < 0)
  ------------------
  |  Branch (6313:9): [True: 0, False: 26]
  ------------------
 6314|      0|        goto failed;
 6315|     26|    Py_DECREF(value);
  ------------------
  |  |  430|     26|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     26|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     26|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6316|     26|    Py_LeaveRecursiveCall();
 6317|     26|    return result;
 6318|      0|failed:
 6319|      0|    Py_LeaveRecursiveCall();
 6320|      0|    Py_XDECREF(value);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6321|      0|    Py_XDECREF(result);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6322|       |    return NULL;
 6323|     26|}
Python-ast.c:ast2obj_expr_context:
 6326|     20|{
 6327|     20|    switch(o) {
  ------------------
  |  Branch (6327:12): [True: 20, False: 0]
  ------------------
 6328|     20|        case Load:
  ------------------
  |  Branch (6328:9): [True: 20, False: 0]
  ------------------
 6329|     20|            return Py_NewRef(state->Load_singleton);
  ------------------
  |  |  550|     20|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6330|      0|        case Store:
  ------------------
  |  Branch (6330:9): [True: 0, False: 20]
  ------------------
 6331|      0|            return Py_NewRef(state->Store_singleton);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6332|      0|        case Del:
  ------------------
  |  Branch (6332:9): [True: 0, False: 20]
  ------------------
 6333|      0|            return Py_NewRef(state->Del_singleton);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6334|     20|    }
 6335|      0|    Py_UNREACHABLE();
  ------------------
  |  |  289|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 6336|     20|}

PyInit__tokenize:
  458|      1|{
  459|      1|    return PyModuleDef_Init(&_tokenizemodule);
  460|      1|}
Python-tokenize.c:tokenizemodule_exec:
  394|      1|{
  395|      1|    tokenize_state *state = get_tokenize_state(m);
  396|      1|    if (state == NULL) {
  ------------------
  |  Branch (396:9): [True: 0, False: 1]
  ------------------
  397|      0|        return -1;
  398|      0|    }
  399|       |
  400|      1|    state->TokenizerIter = (PyTypeObject *)PyType_FromModuleAndSpec(m, &tokenizeriter_spec, NULL);
  401|      1|    if (state->TokenizerIter == NULL) {
  ------------------
  |  Branch (401:9): [True: 0, False: 1]
  ------------------
  402|      0|        return -1;
  403|      0|    }
  404|      1|    if (PyModule_AddType(m, state->TokenizerIter) < 0) {
  ------------------
  |  Branch (404:9): [True: 0, False: 1]
  ------------------
  405|      0|        return -1;
  406|      0|    }
  407|       |
  408|      1|    return 0;
  409|      1|}
Python-tokenize.c:get_tokenize_state:
   15|      1|get_tokenize_state(PyObject *module) {
   16|      1|    return (tokenize_state *)PyModule_GetState(module);
   17|      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:
  136|      2|{
  137|      2|    WarningsState *st = &interp->warnings;
  138|       |
  139|      2|    if (st->filters == NULL) {
  ------------------
  |  Branch (139:9): [True: 2, False: 0]
  ------------------
  140|      2|        st->filters = init_filters(interp);
  141|      2|        if (st->filters == NULL) {
  ------------------
  |  Branch (141:13): [True: 0, False: 2]
  ------------------
  142|      0|            return -1;
  143|      0|        }
  144|      2|    }
  145|       |
  146|      2|    if (st->once_registry == NULL) {
  ------------------
  |  Branch (146:9): [True: 2, False: 0]
  ------------------
  147|      2|        st->once_registry = PyDict_New();
  148|      2|        if (st->once_registry == NULL) {
  ------------------
  |  Branch (148:13): [True: 0, False: 2]
  ------------------
  149|      0|            return -1;
  150|      0|        }
  151|      2|    }
  152|       |
  153|      2|    if (st->default_action == NULL) {
  ------------------
  |  Branch (153:9): [True: 2, False: 0]
  ------------------
  154|      2|        st->default_action = PyUnicode_FromString("default");
  155|      2|        if (st->default_action == NULL) {
  ------------------
  |  Branch (155:13): [True: 0, False: 2]
  ------------------
  156|      0|            return -1;
  157|      0|        }
  158|      2|    }
  159|       |
  160|      2|    if (st->context == NULL) {
  ------------------
  |  Branch (160:9): [True: 2, False: 0]
  ------------------
  161|      2|        st->context = PyContextVar_New("_warnings_context", NULL);
  162|      2|        if (st->context == NULL) {
  ------------------
  |  Branch (162:13): [True: 0, False: 2]
  ------------------
  163|      0|            return -1;
  164|      0|        }
  165|      2|    }
  166|       |
  167|      2|    st->filters_version = 0;
  168|      2|    return 0;
  169|      2|}
PyErr_WarnExplicitObject:
 1459|     22|{
 1460|     22|    PyObject *res;
 1461|     22|    if (category == NULL)
  ------------------
  |  Branch (1461:9): [True: 0, False: 22]
  ------------------
 1462|      0|        category = PyExc_RuntimeWarning;
 1463|     22|    PyThreadState *tstate = get_current_tstate();
 1464|     22|    if (tstate == NULL) {
  ------------------
  |  Branch (1464:9): [True: 0, False: 22]
  ------------------
 1465|      0|        return -1;
 1466|      0|    }
 1467|       |
 1468|     22|    warnings_lock(tstate->interp);
 1469|     22|    res = warn_explicit(tstate, category, message, filename, lineno,
 1470|     22|                        module, registry, NULL, NULL);
 1471|     22|    warnings_unlock(tstate->interp);
 1472|     22|    if (res == NULL)
  ------------------
  |  Branch (1472:9): [True: 0, False: 22]
  ------------------
 1473|      0|        return -1;
 1474|     22|    Py_DECREF(res);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1475|     22|    return 0;
 1476|     22|}
_PyWarnings_Init:
 1679|      2|{
 1680|      2|    return PyModuleDef_Init(&warnings_module);
 1681|      2|}
_warnings.c:init_filters:
  101|      2|{
  102|       |#ifdef Py_DEBUG
  103|       |    /* Py_DEBUG builds show all warnings by default */
  104|       |    return PyList_New(0);
  105|       |#else
  106|       |    /* Other builds ignore a number of warning categories by default */
  107|      2|    PyObject *filters = PyList_New(5);
  108|      2|    if (filters == NULL) {
  ------------------
  |  Branch (108:9): [True: 0, False: 2]
  ------------------
  109|      0|        return NULL;
  110|      0|    }
  111|       |
  112|      2|    size_t pos = 0;  /* Post-incremented in each use. */
  113|      2|#define ADD(TYPE, ACTION, MODNAME) \
  114|      2|    PyList_SET_ITEM(filters, pos++, \
  115|      2|                    create_filter(TYPE, &_Py_ID(ACTION), MODNAME));
  116|      2|    ADD(PyExc_DeprecationWarning, default, "__main__");
  ------------------
  |  |  114|      2|    PyList_SET_ITEM(filters, pos++, \
  |  |  ------------------
  |  |  |  |   50|      2|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  115|      2|                    create_filter(TYPE, &_Py_ID(ACTION), MODNAME));
  ------------------
  117|      2|    ADD(PyExc_DeprecationWarning, ignore, NULL);
  ------------------
  |  |  114|      2|    PyList_SET_ITEM(filters, pos++, \
  |  |  ------------------
  |  |  |  |   50|      2|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  115|      2|                    create_filter(TYPE, &_Py_ID(ACTION), MODNAME));
  ------------------
  118|      2|    ADD(PyExc_PendingDeprecationWarning, ignore, NULL);
  ------------------
  |  |  114|      2|    PyList_SET_ITEM(filters, pos++, \
  |  |  ------------------
  |  |  |  |   50|      2|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  115|      2|                    create_filter(TYPE, &_Py_ID(ACTION), MODNAME));
  ------------------
  119|      2|    ADD(PyExc_ImportWarning, ignore, NULL);
  ------------------
  |  |  114|      2|    PyList_SET_ITEM(filters, pos++, \
  |  |  ------------------
  |  |  |  |   50|      2|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  115|      2|                    create_filter(TYPE, &_Py_ID(ACTION), MODNAME));
  ------------------
  120|      2|    ADD(PyExc_ResourceWarning, ignore, NULL);
  ------------------
  |  |  114|      2|    PyList_SET_ITEM(filters, pos++, \
  |  |  ------------------
  |  |  |  |   50|      2|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  115|      2|                    create_filter(TYPE, &_Py_ID(ACTION), MODNAME));
  ------------------
  121|      2|#undef ADD
  122|       |
  123|     12|    for (size_t x = 0; x < pos; x++) {
  ------------------
  |  Branch (123:24): [True: 10, False: 2]
  ------------------
  124|     20|        if (PyList_GET_ITEM(filters, x) == NULL) {
  ------------------
  |  |   40|     10|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|     10|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (124:13): [True: 10, False: 0]
  |  Branch (124:13): [True: 0, False: 10]
  ------------------
  125|      0|            Py_DECREF(filters);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  126|      0|            return NULL;
  127|      0|        }
  128|     10|    }
  129|      2|    return filters;
  130|      2|#endif
  131|      2|}
_warnings.c:create_filter:
   78|     10|{
   79|     10|    PyObject *modname_obj = NULL;
   80|       |
   81|       |    /* Default to "no module name" for initial filter set */
   82|     10|    if (modname != NULL) {
  ------------------
  |  Branch (82:9): [True: 2, False: 8]
  ------------------
   83|      2|        modname_obj = PyUnicode_InternFromString(modname);
   84|      2|        if (modname_obj == NULL) {
  ------------------
  |  Branch (84:13): [True: 0, False: 2]
  ------------------
   85|      0|            return NULL;
   86|      0|        }
   87|      8|    } else {
   88|      8|        modname_obj = Py_NewRef(Py_None);
  ------------------
  |  |  550|      8|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   89|      8|    }
   90|       |
   91|       |    /* This assumes the line number is zero for now. */
   92|     10|    PyObject *filter = PyTuple_Pack(5, action_str, Py_None,
  ------------------
  |  |  616|     10|#  define Py_None (&_Py_NoneStruct)
  ------------------
   93|     10|                                    category, modname_obj, _PyLong_GetZero());
   94|     10|    Py_DECREF(modname_obj);
  ------------------
  |  |  430|     10|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   95|     10|    return filter;
   96|     10|}
_warnings.c:get_current_tstate:
   49|     22|{
   50|     22|    PyThreadState *tstate = _PyThreadState_GET();
   51|     22|    if (tstate == NULL) {
  ------------------
  |  Branch (51:9): [True: 0, False: 22]
  ------------------
   52|      0|        (void)check_interp(NULL);
   53|      0|        return NULL;
   54|      0|    }
   55|     22|    return check_interp(tstate->interp) ? tstate : NULL;
  ------------------
  |  Branch (55:12): [True: 22, False: 0]
  ------------------
   56|     22|}
_warnings.c:check_interp:
   30|     24|{
   31|     24|    if (interp == NULL) {
  ------------------
  |  Branch (31:9): [True: 0, False: 24]
  ------------------
   32|      0|        PyErr_SetString(PyExc_RuntimeError,
   33|      0|                        "warnings_get_state: could not identify "
   34|      0|                        "current interpreter");
   35|      0|        return 0;
   36|      0|    }
   37|     24|    return 1;
   38|     24|}
_warnings.c:warnings_lock:
  259|     22|{
  260|     22|    WarningsState *st = warnings_get_state(interp);
  261|     22|    assert(st != NULL);
  ------------------
  |  Branch (261:5): [True: 22, False: 0]
  ------------------
  262|     22|    _PyRecursiveMutex_Lock(&st->lock);
  263|     22|}
_warnings.c:warnings_get_state:
   61|    112|{
   62|    112|    return &interp->warnings;
   63|    112|}
_warnings.c:warn_explicit:
  778|     22|{
  779|     22|    PyObject *key = NULL, *text = NULL, *result = NULL, *lineno_obj = NULL;
  780|     22|    PyObject *item = NULL;
  781|     22|    PyObject *action;
  782|     22|    int rc;
  783|     22|    PyInterpreterState *interp = tstate->interp;
  784|       |
  785|       |    /* module can be None if a warning is emitted late during Python shutdown.
  786|       |       In this case, the Python warnings module was probably unloaded, filters
  787|       |       are no more available to choose as action. It is safer to ignore the
  788|       |       warning and do nothing. */
  789|     22|    if (module == Py_None)
  ------------------
  |  |  616|     22|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (789:9): [True: 0, False: 22]
  ------------------
  790|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  791|       |
  792|     22|    if (registry && !PyDict_Check(registry) && (registry != Py_None)) {
  ------------------
  |  |   18|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     22|#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 (792:9): [True: 0, False: 22]
  |  Branch (792:21): [True: 0, False: 0]
  |  Branch (792:48): [True: 0, False: 0]
  ------------------
  793|      0|        PyErr_SetString(PyExc_TypeError, "'registry' must be a dict or None");
  794|      0|        return NULL;
  795|      0|    }
  796|       |
  797|       |    /* Normalize message. */
  798|     22|    Py_INCREF(message);  /* DECREF'ed in cleanup. */
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  799|     22|    if (PyObject_TypeCheck(message, (PyTypeObject *)PyExc_Warning)) {
  ------------------
  |  |  378|     22|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (378:40): [True: 0, False: 22]
  |  |  ------------------
  ------------------
  800|      0|        text = PyObject_Str(message);
  801|      0|        if (text == NULL)
  ------------------
  |  Branch (801:13): [True: 0, False: 0]
  ------------------
  802|      0|            goto cleanup;
  803|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  804|      0|    }
  805|     22|    else {
  806|     22|        text = message;
  807|     22|        message = PyObject_CallOneArg(category, message);
  808|     22|        if (message == NULL)
  ------------------
  |  Branch (808:13): [True: 0, False: 22]
  ------------------
  809|      0|            goto cleanup;
  810|     22|    }
  811|       |
  812|     22|    lineno_obj = PyLong_FromLong(lineno);
  813|     22|    if (lineno_obj == NULL)
  ------------------
  |  Branch (813:9): [True: 0, False: 22]
  ------------------
  814|      0|        goto cleanup;
  815|       |
  816|     22|    if (source == Py_None) {
  ------------------
  |  |  616|     22|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (816:9): [True: 0, False: 22]
  ------------------
  817|      0|        source = NULL;
  818|      0|    }
  819|       |
  820|       |    /* Create key. */
  821|     22|    key = PyTuple_Pack(3, text, category, lineno_obj);
  822|     22|    if (key == NULL)
  ------------------
  |  Branch (822:9): [True: 0, False: 22]
  ------------------
  823|      0|        goto cleanup;
  824|       |
  825|     22|    if ((registry != NULL) && (registry != Py_None)) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (825:9): [True: 0, False: 22]
  |  Branch (825:31): [True: 0, False: 0]
  ------------------
  826|      0|        rc = already_warned(interp, registry, key, 0);
  827|      0|        if (rc == -1)
  ------------------
  |  Branch (827:13): [True: 0, False: 0]
  ------------------
  828|      0|            goto cleanup;
  829|      0|        else if (rc == 1)
  ------------------
  |  Branch (829:18): [True: 0, False: 0]
  ------------------
  830|      0|            goto return_none;
  831|       |        /* Else this warning hasn't been generated before. */
  832|      0|    }
  833|       |
  834|     22|    action = get_filter(interp, category, text, lineno, module, filename, &item);
  835|     22|    if (action == NULL)
  ------------------
  |  Branch (835:9): [True: 0, False: 22]
  ------------------
  836|      0|        goto cleanup;
  837|       |
  838|     22|    if (_PyUnicode_EqualToASCIIString(action, "error")) {
  ------------------
  |  Branch (838:9): [True: 0, False: 22]
  ------------------
  839|      0|        PyErr_SetObject(category, message);
  840|      0|        goto cleanup;
  841|      0|    }
  842|       |
  843|     22|    if (_PyUnicode_EqualToASCIIString(action, "ignore")) {
  ------------------
  |  Branch (843:9): [True: 0, False: 22]
  ------------------
  844|      0|        goto return_none;
  845|      0|    }
  846|       |
  847|       |    /* Store in the registry that we've been here, *except* when the action
  848|       |       is "always" or "all". */
  849|     22|    rc = 0;
  850|     22|    if (!_PyUnicode_EqualToASCIIString(action, "always") && !_PyUnicode_EqualToASCIIString(action, "all")) {
  ------------------
  |  Branch (850:9): [True: 22, False: 0]
  |  Branch (850:61): [True: 22, False: 0]
  ------------------
  851|     22|        if (registry != NULL && registry != Py_None &&
  ------------------
  |  |  616|     22|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (851:13): [True: 0, False: 22]
  |  Branch (851:33): [True: 0, False: 0]
  ------------------
  852|      0|            PyDict_SetItem(registry, key, Py_True) < 0)
  ------------------
  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (852:13): [True: 0, False: 0]
  ------------------
  853|      0|        {
  854|      0|            goto cleanup;
  855|      0|        }
  856|       |
  857|     22|        if (_PyUnicode_EqualToASCIIString(action, "once")) {
  ------------------
  |  Branch (857:13): [True: 0, False: 22]
  ------------------
  858|      0|            if (registry == NULL || registry == Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (858:17): [True: 0, False: 0]
  |  Branch (858:37): [True: 0, False: 0]
  ------------------
  859|      0|                registry = get_once_registry(interp);
  860|      0|                if (registry == NULL)
  ------------------
  |  Branch (860:21): [True: 0, False: 0]
  ------------------
  861|      0|                    goto cleanup;
  862|      0|            }
  863|       |            /* WarningsState.once_registry[(text, category)] = 1 */
  864|      0|            rc = update_registry(interp, registry, text, category, 0);
  865|      0|        }
  866|     22|        else if (_PyUnicode_EqualToASCIIString(action, "module")) {
  ------------------
  |  Branch (866:18): [True: 0, False: 22]
  ------------------
  867|       |            /* registry[(text, category, 0)] = 1 */
  868|      0|            if (registry != NULL && registry != Py_None)
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (868:17): [True: 0, False: 0]
  |  Branch (868:37): [True: 0, False: 0]
  ------------------
  869|      0|                rc = update_registry(interp, registry, text, category, 0);
  870|      0|        }
  871|     22|        else if (!_PyUnicode_EqualToASCIIString(action, "default")) {
  ------------------
  |  Branch (871:18): [True: 0, False: 22]
  ------------------
  872|      0|            PyErr_Format(PyExc_RuntimeError,
  873|      0|                        "Unrecognized action (%R) in warnings.filters:\n %R",
  874|      0|                        action, item);
  875|      0|            goto cleanup;
  876|      0|        }
  877|     22|    }
  878|       |
  879|     22|    if (rc == 1)  /* Already warned for this module. */
  ------------------
  |  Branch (879:9): [True: 0, False: 22]
  ------------------
  880|      0|        goto return_none;
  881|     22|    if (rc == 0) {
  ------------------
  |  Branch (881:9): [True: 22, False: 0]
  ------------------
  882|     22|        if (call_show_warning(tstate, category, text, message, filename,
  ------------------
  |  Branch (882:13): [True: 0, False: 22]
  ------------------
  883|     22|                              lineno, lineno_obj, sourceline, source, module) < 0)
  884|      0|            goto cleanup;
  885|     22|    }
  886|      0|    else /* if (rc == -1) */
  887|      0|        goto cleanup;
  888|       |
  889|     22| return_none:
  890|     22|    result = Py_NewRef(Py_None);
  ------------------
  |  |  550|     22|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  891|       |
  892|     22| cleanup:
  893|     22|    Py_XDECREF(item);
  ------------------
  |  |  524|     22|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  894|     22|    Py_XDECREF(key);
  ------------------
  |  |  524|     22|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  895|     22|    Py_XDECREF(text);
  ------------------
  |  |  524|     22|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  896|     22|    Py_XDECREF(lineno_obj);
  ------------------
  |  |  524|     22|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  897|     22|    Py_XDECREF(message);
  ------------------
  |  |  524|     22|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  898|     22|    return result;  /* Py_None or NULL. */
  899|     22|}
_warnings.c:warnings_lock_held:
  275|     22|{
  276|     22|    return PyMutex_IsLocked(&st->lock.mutex);
  ------------------
  |  |   78|     22|#define PyMutex_IsLocked _PyMutex_IsLocked
  ------------------
  277|     22|}
_warnings.c:get_filter:
  521|     22|{
  522|       |#ifdef Py_DEBUG
  523|       |    WarningsState *st = warnings_get_state(interp);
  524|       |    assert(st != NULL);
  525|       |    assert(warnings_lock_held(st));
  526|       |#endif
  527|       |
  528|       |    /* check _warning_context _filters list */
  529|     22|    PyObject *context_filters = get_warnings_context_filters(interp);
  530|     22|    if (context_filters == NULL) {
  ------------------
  |  Branch (530:9): [True: 0, False: 22]
  ------------------
  531|      0|        return NULL;
  532|      0|    }
  533|     22|    bool use_global_filters = false;
  534|     22|    if (context_filters == Py_None) {
  ------------------
  |  |  616|     22|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (534:9): [True: 22, False: 0]
  ------------------
  535|     22|        use_global_filters = true;
  536|     22|    } else {
  537|      0|        PyObject *context_action = NULL;
  538|      0|        if (!filter_search(interp, category, text, lineno, module, filename, "_warnings_context _filters",
  ------------------
  |  Branch (538:13): [True: 0, False: 0]
  ------------------
  539|      0|                           context_filters, item, &context_action)) {
  540|      0|            Py_DECREF(context_filters);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  541|      0|            return NULL;
  542|      0|        }
  543|      0|        Py_DECREF(context_filters);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  544|      0|        if (context_action != NULL) {
  ------------------
  |  Branch (544:13): [True: 0, False: 0]
  ------------------
  545|      0|            return context_action;
  546|      0|        }
  547|      0|    }
  548|       |
  549|     22|    PyObject *action;
  550|       |
  551|     22|    if (use_global_filters) {
  ------------------
  |  Branch (551:9): [True: 22, False: 0]
  ------------------
  552|       |        /* check warnings.filters list */
  553|     22|        PyObject *filters = get_warnings_filters(interp);
  554|     22|        if (filters == NULL) {
  ------------------
  |  Branch (554:13): [True: 0, False: 22]
  ------------------
  555|      0|            return NULL;
  556|      0|        }
  557|     22|        if (!filter_search(interp, category, text, lineno, module, filename, "filters",
  ------------------
  |  Branch (557:13): [True: 0, False: 22]
  ------------------
  558|     22|                           filters, item, &action)) {
  559|      0|            return NULL;
  560|      0|        }
  561|     22|        if (action != NULL) {
  ------------------
  |  Branch (561:13): [True: 0, False: 22]
  ------------------
  562|      0|            return action;
  563|      0|        }
  564|     22|    }
  565|       |
  566|     22|    action = get_default_action(interp);
  567|     22|    if (action != NULL) {
  ------------------
  |  Branch (567:9): [True: 22, False: 0]
  ------------------
  568|     22|        *item = Py_NewRef(Py_None);
  ------------------
  |  |  550|     22|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  569|     22|        return action;
  570|     22|    }
  571|       |
  572|      0|    return NULL;
  573|     22|}
_warnings.c:get_warnings_context_filters:
  296|     22|{
  297|     22|    PyObject *ctx = get_warnings_context(interp);
  298|     22|    if (ctx == NULL) {
  ------------------
  |  Branch (298:9): [True: 0, False: 22]
  ------------------
  299|      0|        return NULL;
  300|      0|    }
  301|     22|    if (ctx == Py_None) {
  ------------------
  |  |  616|     22|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (301:9): [True: 22, False: 0]
  ------------------
  302|     22|        Py_RETURN_NONE;
  ------------------
  |  |  628|     22|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     22|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  303|     22|    }
  304|      0|    PyObject *context_filters = PyObject_GetAttr(ctx, &_Py_ID(_filters));
  ------------------
  |  |  936|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  305|      0|    Py_DECREF(ctx);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  306|      0|    if (context_filters == NULL) {
  ------------------
  |  Branch (306:9): [True: 0, False: 0]
  ------------------
  307|      0|        return NULL;
  308|      0|    }
  309|      0|    if (!PyList_Check(context_filters)) {
  ------------------
  |  |   25|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (309:9): [True: 0, False: 0]
  ------------------
  310|      0|        PyErr_SetString(PyExc_ValueError,
  311|      0|                        "_filters of warnings._warnings_context must be a list");
  312|      0|        Py_DECREF(context_filters);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  313|      0|        return NULL;
  314|      0|    }
  315|      0|    return context_filters;
  316|      0|}
_warnings.c:get_warnings_context:
  281|     22|{
  282|     22|    WarningsState *st = warnings_get_state(interp);
  283|     22|    assert(PyContextVar_CheckExact(st->context));
  ------------------
  |  Branch (283:5): [True: 22, False: 0]
  ------------------
  284|     22|    PyObject *ctx;
  285|     22|    if (PyContextVar_Get(st->context, NULL, &ctx) < 0) {
  ------------------
  |  Branch (285:9): [True: 0, False: 22]
  ------------------
  286|      0|        return NULL;
  287|      0|    }
  288|     22|    if (ctx == NULL) {
  ------------------
  |  Branch (288:9): [True: 22, False: 0]
  ------------------
  289|     22|        Py_RETURN_NONE;
  ------------------
  |  |  628|     22|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     22|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  290|     22|    }
  291|      0|    return ctx;
  292|     22|}
_warnings.c:filter_search:
  440|     22|              PyObject **item, PyObject **matched_action) {
  441|     22|    bool result = true;
  442|     22|    *matched_action = NULL;
  443|       |    /* Avoid the filters list changing while we iterate over it. */
  444|     22|    Py_BEGIN_CRITICAL_SECTION(filters);
  ------------------
  |  |   51|     22|    {
  ------------------
  445|    132|    for (Py_ssize_t i = 0; i < PyList_GET_SIZE(filters); i++) {
  ------------------
  |  |   38|    132|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    132|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    132|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (445:28): [True: 110, False: 22]
  ------------------
  446|    110|        PyObject *tmp_item, *action, *msg, *cat, *mod, *ln_obj;
  447|    110|        Py_ssize_t ln;
  448|    110|        int is_subclass, good_msg, good_mod;
  449|       |
  450|    110|        tmp_item = PyList_GET_ITEM(filters, i);
  ------------------
  |  |   40|    110|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|    110|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    110|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (450:20): [True: 110, False: 0]
  ------------------
  451|    110|        if (!PyTuple_Check(tmp_item) || PyTuple_GET_SIZE(tmp_item) != 5) {
  ------------------
  |  |   27|    110|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    220|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                      if (!PyTuple_Check(tmp_item) || PyTuple_GET_SIZE(tmp_item) != 5) {
  ------------------
  |  |   27|    110|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    110|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    110|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (451:13): [True: 0, False: 110]
  |  Branch (451:41): [True: 0, False: 110]
  ------------------
  452|      0|            PyErr_Format(PyExc_ValueError,
  453|      0|                         "warnings.%s item %zd isn't a 5-tuple", list_name, i);
  454|      0|            result = false;
  455|      0|            break;
  456|      0|        }
  457|       |
  458|       |        /* Python code: action, msg, cat, mod, ln = item */
  459|    110|        Py_INCREF(tmp_item);
  ------------------
  |  |  310|    110|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    110|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    110|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  460|    110|        action = PyTuple_GET_ITEM(tmp_item, 0);
  ------------------
  |  |   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 (460:18): [True: 110, False: 0]
  ------------------
  461|    110|        msg = PyTuple_GET_ITEM(tmp_item, 1);
  ------------------
  |  |   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 (461:15): [True: 110, False: 0]
  ------------------
  462|    110|        cat = PyTuple_GET_ITEM(tmp_item, 2);
  ------------------
  |  |   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 (462:15): [True: 110, False: 0]
  ------------------
  463|    110|        mod = PyTuple_GET_ITEM(tmp_item, 3);
  ------------------
  |  |   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 (463:15): [True: 110, False: 0]
  ------------------
  464|    110|        ln_obj = PyTuple_GET_ITEM(tmp_item, 4);
  ------------------
  |  |   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 (464:18): [True: 110, False: 0]
  ------------------
  465|       |
  466|    110|        if (!PyUnicode_Check(action)) {
  ------------------
  |  |  103|    110|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    110|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (466:13): [True: 0, False: 110]
  ------------------
  467|      0|            PyErr_Format(PyExc_TypeError,
  468|      0|                         "action must be a string, not '%.200s'",
  469|      0|                         Py_TYPE(action)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  470|      0|            Py_DECREF(tmp_item);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  471|      0|            result = false;
  472|      0|            break;
  473|      0|        }
  474|       |
  475|    110|        good_msg = check_matched(interp, msg, text, NULL);
  476|    110|        if (good_msg == -1) {
  ------------------
  |  Branch (476:13): [True: 0, False: 110]
  ------------------
  477|      0|            Py_DECREF(tmp_item);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  478|      0|            result = false;
  479|      0|            break;
  480|      0|        }
  481|       |
  482|    110|        good_mod = check_matched(interp, mod, module, filename);
  483|    110|        if (good_mod == -1) {
  ------------------
  |  Branch (483:13): [True: 0, False: 110]
  ------------------
  484|      0|            Py_DECREF(tmp_item);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  485|      0|            result = false;
  486|      0|            break;
  487|      0|        }
  488|       |
  489|    110|        is_subclass = PyObject_IsSubclass(category, cat);
  490|    110|        if (is_subclass == -1) {
  ------------------
  |  Branch (490:13): [True: 0, False: 110]
  ------------------
  491|      0|            Py_DECREF(tmp_item);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  492|      0|            result = false;
  493|      0|            break;
  494|      0|        }
  495|       |
  496|    110|        ln = PyLong_AsSsize_t(ln_obj);
  497|    110|        if (ln == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (497:13): [True: 0, False: 110]
  |  Branch (497:25): [True: 0, False: 0]
  ------------------
  498|      0|            Py_DECREF(tmp_item);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  499|      0|            result = false;
  500|      0|            break;
  501|      0|        }
  502|       |
  503|    110|        if (good_msg && is_subclass && good_mod && (ln == 0 || lineno == ln)) {
  ------------------
  |  Branch (503:13): [True: 110, False: 0]
  |  Branch (503:25): [True: 0, False: 110]
  |  Branch (503:40): [True: 0, False: 0]
  |  Branch (503:53): [True: 0, False: 0]
  |  Branch (503:64): [True: 0, False: 0]
  ------------------
  504|      0|            *item = tmp_item;
  505|      0|            *matched_action = action;
  506|      0|            result = true;
  507|      0|            break;
  508|      0|        }
  509|       |
  510|    110|        Py_DECREF(tmp_item);
  ------------------
  |  |  430|    110|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    110|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    110|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|    110|    }
  512|     22|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     22|    }
  ------------------
  513|     22|    return result;
  514|     22|}
_warnings.c:check_matched:
  176|    220|{
  177|    220|    PyObject *result;
  178|    220|    int rc;
  179|       |
  180|       |    /* A 'None' filter always matches */
  181|    220|    if (obj == Py_None)
  ------------------
  |  |  616|    220|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (181:9): [True: 198, False: 22]
  ------------------
  182|    198|        return 1;
  183|       |
  184|       |    /* An internal plain text default filter must match exactly */
  185|     22|    if (PyUnicode_CheckExact(obj)) {
  ------------------
  |  |  104|     22|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|     22|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 22, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  186|     22|        if (arg == NULL) {
  ------------------
  |  Branch (186:13): [True: 22, False: 0]
  ------------------
  187|     22|            return 0;
  188|     22|        }
  189|      0|        int cmp_result = PyUnicode_Compare(obj, arg);
  190|      0|        if (cmp_result == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (190:13): [True: 0, False: 0]
  |  Branch (190:33): [True: 0, False: 0]
  ------------------
  191|      0|            return -1;
  192|      0|        }
  193|      0|        return !cmp_result;
  194|      0|    }
  195|       |
  196|       |    /* Otherwise assume a regex filter and call its match() method */
  197|      0|    if (arg != NULL) {
  ------------------
  |  Branch (197:9): [True: 0, False: 0]
  ------------------
  198|      0|        result = PyObject_CallMethodOneArg(obj, &_Py_ID(match), arg);
  ------------------
  |  |  936|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  199|      0|    }
  200|      0|    else {
  201|      0|        PyObject *match = PyImport_ImportModuleAttrString("_py_warnings", "_match_filename");
  202|      0|        if (match == NULL) {
  ------------------
  |  Branch (202:13): [True: 0, False: 0]
  ------------------
  203|      0|            return -1;
  204|      0|        }
  205|      0|        result = PyObject_CallFunctionObjArgs(match, obj, arg2, NULL);
  206|      0|        Py_DECREF(match);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  207|      0|    }
  208|      0|    if (result == NULL)
  ------------------
  |  Branch (208:9): [True: 0, False: 0]
  ------------------
  209|      0|        return -1;
  210|      0|    rc = PyObject_IsTrue(result);
  211|      0|    Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  212|      0|    return rc;
  213|      0|}
_warnings.c:get_warnings_filters:
  321|     22|{
  322|     22|    WarningsState *st = warnings_get_state(interp);
  323|     22|    PyObject *warnings_filters = GET_WARNINGS_ATTR(interp, filters, 0);
  ------------------
  |  |  216|     22|    get_warnings_attr(interp, &_Py_ID(ATTR), try_import)
  |  |  ------------------
  |  |  |  |  936|     22|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|     22|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|     22|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  324|     22|    if (warnings_filters == NULL) {
  ------------------
  |  Branch (324:9): [True: 1, False: 21]
  ------------------
  325|      1|        if (PyErr_Occurred())
  ------------------
  |  Branch (325:13): [True: 0, False: 1]
  ------------------
  326|      0|            return NULL;
  327|      1|    }
  328|     21|    else {
  329|     21|        Py_SETREF(st->filters, warnings_filters);
  ------------------
  |  |  354|     21|    do { \
  |  |  355|     21|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|     21|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|     21|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|     21|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|     21|        *_tmp_dst_ptr = (src); \
  |  |  358|     21|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|     21|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 21]
  |  |  ------------------
  ------------------
  330|     21|    }
  331|       |
  332|     22|    PyObject *filters = st->filters;
  333|     22|    if (filters == NULL || !PyList_Check(filters)) {
  ------------------
  |  |   25|     22|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     22|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (333:9): [True: 0, False: 22]
  |  Branch (333:28): [True: 0, False: 22]
  ------------------
  334|      0|        PyErr_SetString(PyExc_ValueError,
  335|      0|                        MODULE_NAME ".filters must be a list");
  ------------------
  |  |   17|      0|#define MODULE_NAME "_warnings"
  ------------------
  336|      0|        return NULL;
  337|      0|    }
  338|     22|    return filters;
  339|     22|}
_warnings.c:get_default_action:
  408|     22|{
  409|     22|    WarningsState *st = warnings_get_state(interp);
  410|     22|    assert(st != NULL);
  ------------------
  |  Branch (410:5): [True: 22, False: 0]
  ------------------
  411|       |
  412|     22|    assert(warnings_lock_held(st));
  ------------------
  |  Branch (412:5): [True: 22, False: 0]
  ------------------
  413|       |
  414|     22|    PyObject *default_action = GET_WARNINGS_ATTR(interp, defaultaction, 0);
  ------------------
  |  |  216|     22|    get_warnings_attr(interp, &_Py_ID(ATTR), try_import)
  |  |  ------------------
  |  |  |  |  936|     22|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|     22|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|     22|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  415|     22|    if (default_action == NULL) {
  ------------------
  |  Branch (415:9): [True: 1, False: 21]
  ------------------
  416|      1|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (416:13): [True: 0, False: 1]
  ------------------
  417|      0|            return NULL;
  418|      0|        }
  419|      1|        assert(st->default_action);
  ------------------
  |  Branch (419:9): [True: 1, False: 0]
  ------------------
  420|      1|        return st->default_action;
  421|      1|    }
  422|     21|    if (!PyUnicode_Check(default_action)) {
  ------------------
  |  |  103|     21|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     21|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (422:9): [True: 0, False: 21]
  ------------------
  423|      0|        PyErr_Format(PyExc_TypeError,
  424|      0|                     MODULE_NAME ".defaultaction must be a string, "
  ------------------
  |  |   17|      0|#define MODULE_NAME "_warnings"
  ------------------
  425|      0|                     "not '%.200s'",
  426|      0|                     Py_TYPE(default_action)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  427|      0|        Py_DECREF(default_action);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  428|      0|        return NULL;
  429|      0|    }
  430|     21|    Py_SETREF(st->default_action, default_action);
  ------------------
  |  |  354|     21|    do { \
  |  |  355|     21|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|     21|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|     21|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|     21|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|     21|        *_tmp_dst_ptr = (src); \
  |  |  358|     21|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|     21|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 21]
  |  |  ------------------
  ------------------
  431|     21|    return default_action;
  432|     21|}
_warnings.c:call_show_warning:
  720|     22|{
  721|     22|    PyObject *show_fn, *msg, *res, *warnmsg_cls = NULL;
  722|     22|    PyInterpreterState *interp = tstate->interp;
  723|       |
  724|       |    /* The Python implementation is able to log the traceback where the source
  725|       |       was allocated, whereas the C implementation doesn't. */
  726|     22|    show_fn = GET_WARNINGS_ATTR(interp, _showwarnmsg, 1);
  ------------------
  |  |  216|     22|    get_warnings_attr(interp, &_Py_ID(ATTR), try_import)
  |  |  ------------------
  |  |  |  |  936|     22|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|     22|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|     22|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|     22|    if (show_fn == NULL) {
  ------------------
  |  Branch (727:9): [True: 0, False: 22]
  ------------------
  728|      0|        if (PyErr_Occurred())
  ------------------
  |  Branch (728:13): [True: 0, False: 0]
  ------------------
  729|      0|            return -1;
  730|      0|        show_warning(tstate, filename, lineno, text, category, sourceline);
  731|      0|        return 0;
  732|      0|    }
  733|       |
  734|     22|    if (!PyCallable_Check(show_fn)) {
  ------------------
  |  Branch (734:9): [True: 0, False: 22]
  ------------------
  735|      0|        PyErr_SetString(PyExc_TypeError,
  736|      0|                "warnings._showwarnmsg() must be set to a callable");
  737|      0|        goto error;
  738|      0|    }
  739|       |
  740|     22|    warnmsg_cls = GET_WARNINGS_ATTR(interp, WarningMessage, 0);
  ------------------
  |  |  216|     22|    get_warnings_attr(interp, &_Py_ID(ATTR), try_import)
  |  |  ------------------
  |  |  |  |  936|     22|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|     22|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|     22|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  741|     22|    if (warnmsg_cls == NULL) {
  ------------------
  |  Branch (741:9): [True: 0, False: 22]
  ------------------
  742|      0|        if (!PyErr_Occurred()) {
  ------------------
  |  Branch (742:13): [True: 0, False: 0]
  ------------------
  743|      0|            PyErr_SetString(PyExc_RuntimeError,
  744|      0|                    "unable to get warnings.WarningMessage");
  745|      0|        }
  746|      0|        goto error;
  747|      0|    }
  748|       |
  749|     22|    msg = PyObject_CallFunctionObjArgs(warnmsg_cls, message, category,
  750|     22|            filename, lineno_obj, Py_None,
  ------------------
  |  |  616|     22|#  define Py_None (&_Py_NoneStruct)
  ------------------
  751|     22|            sourceline ? sourceline : Py_None,
  ------------------
  |  |  616|     22|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (751:13): [True: 0, False: 22]
  ------------------
  752|     22|            source ? source : Py_None, module,
  ------------------
  |  |  616|     22|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (752:13): [True: 0, False: 22]
  ------------------
  753|     22|            NULL);
  754|     22|    Py_DECREF(warnmsg_cls);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  755|     22|    if (msg == NULL)
  ------------------
  |  Branch (755:9): [True: 0, False: 22]
  ------------------
  756|      0|        goto error;
  757|       |
  758|     22|    res = PyObject_CallOneArg(show_fn, msg);
  759|     22|    Py_DECREF(show_fn);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  760|     22|    Py_DECREF(msg);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  761|       |
  762|     22|    if (res == NULL)
  ------------------
  |  Branch (762:9): [True: 0, False: 22]
  ------------------
  763|      0|        return -1;
  764|       |
  765|     22|    Py_DECREF(res);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  766|     22|    return 0;
  767|       |
  768|      0|error:
  769|      0|    Py_XDECREF(show_fn);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  770|      0|    return -1;
  771|     22|}
_warnings.c:warnings_unlock:
  267|     22|{
  268|     22|    WarningsState *st = warnings_get_state(interp);
  269|     22|    assert(st != NULL);
  ------------------
  |  Branch (269:5): [True: 22, False: 0]
  ------------------
  270|     22|    return _PyRecursiveMutex_TryUnlock(&st->lock);
  271|     22|}
_warnings.c:get_warnings_attr:
  224|     88|{
  225|     88|    PyObject *warnings_module, *obj;
  226|       |
  227|       |    /* don't try to import after the start of the Python finallization */
  228|     88|    if (try_import && !_Py_IsInterpreterFinalizing(interp)) {
  ------------------
  |  Branch (228:9): [True: 22, False: 66]
  |  Branch (228:23): [True: 22, False: 0]
  ------------------
  229|     22|        warnings_module = PyImport_Import(&_Py_ID(warnings));
  ------------------
  |  |  936|     22|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     22|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     22|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  230|     22|        if (warnings_module == NULL) {
  ------------------
  |  Branch (230:13): [True: 0, False: 22]
  ------------------
  231|       |            /* Fallback to the C implementation if we cannot get
  232|       |               the Python implementation */
  233|      0|            if (PyErr_ExceptionMatches(PyExc_ImportError)) {
  ------------------
  |  Branch (233:17): [True: 0, False: 0]
  ------------------
  234|      0|                PyErr_Clear();
  235|      0|            }
  236|      0|            return NULL;
  237|      0|        }
  238|     22|    }
  239|     66|    else {
  240|       |        /* if we're so late into Python finalization that the module dict is
  241|       |           gone, then we can't even use PyImport_GetModule without triggering
  242|       |           an interpreter abort.
  243|       |        */
  244|     66|        if (!_PyImport_GetModules(interp)) {
  ------------------
  |  Branch (244:13): [True: 0, False: 66]
  ------------------
  245|      0|            return NULL;
  246|      0|        }
  247|     66|        warnings_module = PyImport_GetModule(&_Py_ID(warnings));
  ------------------
  |  |  936|     66|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     66|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     66|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  248|     66|        if (warnings_module == NULL)
  ------------------
  |  Branch (248:13): [True: 2, False: 64]
  ------------------
  249|      2|            return NULL;
  250|     66|    }
  251|       |
  252|     86|    (void)PyObject_GetOptionalAttr(warnings_module, attr, &obj);
  253|     86|    Py_DECREF(warnings_module);
  ------------------
  |  |  430|     86|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     86|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     86|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  254|     86|    return obj;
  255|     88|}
_warnings.c:get_current_interp:
   42|      2|{
   43|      2|    PyInterpreterState *interp = _PyInterpreterState_GET();
   44|      2|    return check_interp(interp) ? interp : NULL;
  ------------------
  |  Branch (44:12): [True: 2, False: 0]
  ------------------
   45|      2|}
_warnings.c:warnings_module_exec:
 1634|      2|{
 1635|      2|    PyInterpreterState *interp = get_current_interp();
 1636|      2|    if (interp == NULL) {
  ------------------
  |  Branch (1636:9): [True: 0, False: 2]
  ------------------
 1637|      0|        return -1;
 1638|      0|    }
 1639|      2|    WarningsState *st = warnings_get_state(interp);
 1640|      2|    if (st == NULL) {
  ------------------
  |  Branch (1640:9): [True: 0, False: 2]
  ------------------
 1641|      0|        return -1;
 1642|      0|    }
 1643|      2|    if (PyModule_AddObjectRef(module, "filters", st->filters) < 0) {
  ------------------
  |  Branch (1643:9): [True: 0, False: 2]
  ------------------
 1644|      0|        return -1;
 1645|      0|    }
 1646|      2|    if (PyModule_AddObjectRef(module, "_onceregistry", st->once_registry) < 0) {
  ------------------
  |  Branch (1646:9): [True: 0, False: 2]
  ------------------
 1647|      0|        return -1;
 1648|      0|    }
 1649|      2|    if (PyModule_AddObjectRef(module, "_defaultaction", st->default_action) < 0) {
  ------------------
  |  Branch (1649:9): [True: 0, False: 2]
  ------------------
 1650|      0|        return -1;
 1651|      0|    }
 1652|      2|    if (PyModule_AddObjectRef(module, "_warnings_context", st->context) < 0) {
  ------------------
  |  Branch (1652:9): [True: 0, False: 2]
  ------------------
 1653|      0|        return -1;
 1654|      0|    }
 1655|      2|    return 0;
 1656|      2|}

_PyAssemble_MakeCodeObject:
  804|      4|{
  805|      4|    if (_PyInstructionSequence_ApplyLabelMap(instrs) < 0) {
  ------------------
  |  Branch (805:9): [True: 0, False: 4]
  ------------------
  806|      0|        return NULL;
  807|      0|    }
  808|      4|    if (resolve_unconditional_jumps(instrs) < 0) {
  ------------------
  |  Branch (808:9): [True: 0, False: 4]
  ------------------
  809|      0|        return NULL;
  810|      0|    }
  811|      4|    if (resolve_jump_offsets(instrs) < 0) {
  ------------------
  |  Branch (811:9): [True: 0, False: 4]
  ------------------
  812|      0|        return NULL;
  813|      0|    }
  814|      4|    PyCodeObject *co = NULL;
  815|       |
  816|      4|    struct assembler a;
  817|      4|    int res = assemble_emit(&a, instrs, umd->u_firstlineno, const_cache);
  818|      4|    if (res == SUCCESS) {
  ------------------
  |  |   17|      4|#define SUCCESS 0
  ------------------
  |  Branch (818:9): [True: 4, False: 0]
  ------------------
  819|      4|        co = makecode(umd, &a, const_cache, consts, maxdepth, nlocalsplus,
  820|      4|                      code_flags, filename);
  821|      4|    }
  822|      4|    assemble_free(&a);
  823|      4|    return co;
  824|      4|}
assemble.c:resolve_unconditional_jumps:
  772|      4|{
  773|       |    /* Resolve directions of unconditional jumps */
  774|       |
  775|     28|    for (int i = 0; i < instrs->s_used; i++) {
  ------------------
  |  Branch (775:21): [True: 24, False: 4]
  ------------------
  776|     24|        instruction *instr = &instrs->s_instrs[i];
  777|     24|        bool is_forward = (instr->i_oparg > i);
  778|     24|        switch(instr->i_opcode) {
  779|      0|            case JUMP:
  ------------------
  |  |  245|      0|#define JUMP                                   257
  ------------------
  |  Branch (779:13): [True: 0, False: 24]
  ------------------
  780|      0|                assert(is_pseudo_target(JUMP, JUMP_FORWARD));
  ------------------
  |  Branch (780:17): [True: 0, False: 0]
  ------------------
  781|      0|                assert(is_pseudo_target(JUMP, JUMP_BACKWARD));
  ------------------
  |  Branch (781:17): [True: 0, False: 0]
  ------------------
  782|      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 (782:35): [True: 0, False: 0]
  ------------------
  783|      0|                break;
  784|      0|            case JUMP_NO_INTERRUPT:
  ------------------
  |  |  248|      0|#define JUMP_NO_INTERRUPT                      260
  ------------------
  |  Branch (784:13): [True: 0, False: 24]
  ------------------
  785|      0|                assert(is_pseudo_target(JUMP_NO_INTERRUPT, JUMP_FORWARD));
  ------------------
  |  Branch (785:17): [True: 0, False: 0]
  ------------------
  786|      0|                assert(is_pseudo_target(JUMP_NO_INTERRUPT, JUMP_BACKWARD_NO_INTERRUPT));
  ------------------
  |  Branch (786:17): [True: 0, False: 0]
  ------------------
  787|      0|                instr->i_opcode = is_forward ?
  ------------------
  |  Branch (787:35): [True: 0, False: 0]
  ------------------
  788|      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
  ------------------
  789|      0|                break;
  790|     24|            default:
  ------------------
  |  Branch (790:13): [True: 24, False: 0]
  ------------------
  791|     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]
  |  |  ------------------
  ------------------
  792|      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]
  |  |  ------------------
  ------------------
  793|      0|                    Py_UNREACHABLE();
  ------------------
  |  |  289|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  794|      0|                }
  795|     24|        }
  796|     24|    }
  797|      4|    return SUCCESS;
  ------------------
  |  |   17|      4|#define SUCCESS 0
  ------------------
  798|      4|}
assemble.c:resolve_jump_offsets:
  698|      4|{
  699|       |    /* Compute the size of each instruction and fixup jump args.
  700|       |     * Replace instruction index with position in bytecode.
  701|       |     */
  702|       |
  703|     28|    for (int i = 0; i < instrs->s_used; i++) {
  ------------------
  |  Branch (703:21): [True: 24, False: 4]
  ------------------
  704|     24|        instruction *instr = &instrs->s_instrs[i];
  705|     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]
  |  |  ------------------
  ------------------
  706|      0|            instr->i_target = instr->i_oparg;
  707|      0|        }
  708|     24|    }
  709|       |
  710|      4|    int extended_arg_recompile;
  711|       |
  712|      4|    do {
  713|      4|        int totsize = 0;
  714|     28|        for (int i = 0; i < instrs->s_used; i++) {
  ------------------
  |  Branch (714:25): [True: 24, False: 4]
  ------------------
  715|     24|            instruction *instr = &instrs->s_instrs[i];
  716|     24|            instr->i_offset = totsize;
  717|     24|            int isize = instr_size(instr);
  718|     24|            totsize += isize;
  719|     24|        }
  720|      4|        extended_arg_recompile = 0;
  721|       |
  722|      4|        int offset = 0;
  723|     28|        for (int i = 0; i < instrs->s_used; i++) {
  ------------------
  |  Branch (723:25): [True: 24, False: 4]
  ------------------
  724|     24|            instruction *instr = &instrs->s_instrs[i];
  725|     24|            int isize = instr_size(instr);
  726|       |            /* jump offsets are computed relative to
  727|       |             * the instruction pointer after fetching
  728|       |             * the jump instruction.
  729|       |             */
  730|     24|            offset += isize;
  731|     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]
  |  |  ------------------
  ------------------
  732|      0|                instruction *target = &instrs->s_instrs[instr->i_target];
  733|      0|                instr->i_oparg = target->i_offset;
  734|      0|                if (instr->i_opcode == END_ASYNC_FOR) {
  ------------------
  |  |   76|      0|#define END_ASYNC_FOR                           63
  ------------------
  |  Branch (734:21): [True: 0, False: 0]
  ------------------
  735|       |                    // sys.monitoring needs to be able to find the matching END_SEND
  736|       |                    // but the target is the SEND, so we adjust it here.
  737|      0|                    instr->i_oparg = offset - instr->i_oparg - END_SEND_OFFSET;
  ------------------
  |  |  694|      0|#define END_SEND_OFFSET 6
  ------------------
  738|      0|                }
  739|      0|                else if (instr->i_oparg < offset) {
  ------------------
  |  Branch (739:26): [True: 0, False: 0]
  ------------------
  740|      0|                    assert(IS_BACKWARDS_JUMP_OPCODE(instr->i_opcode));
  ------------------
  |  Branch (740:21): [True: 0, False: 0]
  |  Branch (740:21): [True: 0, False: 0]
  ------------------
  741|      0|                    instr->i_oparg = offset - instr->i_oparg;
  742|      0|                }
  743|      0|                else {
  744|      0|                    assert(!IS_BACKWARDS_JUMP_OPCODE(instr->i_opcode));
  ------------------
  |  Branch (744:21): [True: 0, False: 0]
  |  Branch (744:21): [True: 0, False: 0]
  ------------------
  745|      0|                    instr->i_oparg = instr->i_oparg - offset;
  746|      0|                }
  747|      0|                if (instr_size(instr) != isize) {
  ------------------
  |  Branch (747:21): [True: 0, False: 0]
  ------------------
  748|      0|                    extended_arg_recompile = 1;
  749|      0|                }
  750|      0|            }
  751|     24|        }
  752|       |    /* XXX: This is an awful hack that could hurt performance, but
  753|       |        on the bright side it should work until we come up
  754|       |        with a better solution.
  755|       |
  756|       |        The issue is that in the first loop instr_size() is
  757|       |        called, and it requires i_oparg be set appropriately.
  758|       |        There is a bootstrap problem because i_oparg is
  759|       |        calculated in the second loop above.
  760|       |
  761|       |        So we loop until we stop seeing new EXTENDED_ARGs.
  762|       |        The only EXTENDED_ARGs that could be popping up are
  763|       |        ones in jump instructions.  So this should converge
  764|       |        fairly quickly.
  765|       |    */
  766|      4|    } while (extended_arg_recompile);
  ------------------
  |  Branch (766:14): [True: 0, False: 4]
  ------------------
  767|      4|    return SUCCESS;
  ------------------
  |  |   17|      4|#define SUCCESS 0
  ------------------
  768|      4|}
assemble.c:instr_size:
   40|    120|{
   41|    120|    int opcode = instr->i_opcode;
   42|    120|    int oparg = instr->i_oparg;
   43|    120|    assert(!IS_PSEUDO_INSTR(opcode));
  ------------------
  |  Branch (43:5): [True: 0, False: 120]
  |  Branch (43:5): [True: 0, False: 120]
  |  Branch (43:5): [True: 0, False: 120]
  |  Branch (43:5): [True: 0, False: 120]
  |  Branch (43:5): [True: 0, False: 120]
  |  Branch (43:5): [True: 0, False: 120]
  |  Branch (43:5): [True: 0, False: 120]
  |  Branch (43:5): [True: 0, False: 120]
  |  Branch (43:5): [True: 0, False: 120]
  |  Branch (43:5): [True: 0, False: 120]
  |  Branch (43:5): [True: 0, False: 120]
  |  Branch (43:5): [Folded, False: 0]
  ------------------
   44|    120|    assert(OPCODE_HAS_ARG(opcode) || oparg == 0);
  ------------------
  |  Branch (44:5): [True: 90, False: 30]
  |  Branch (44:5): [True: 30, False: 0]
  ------------------
   45|    120|    int extended_args = (0xFFFFFF < oparg) + (0xFFFF < oparg) + (0xFF < oparg);
   46|    120|    int caches = _PyOpcode_Caches[opcode];
   47|    120|    return extended_args + 1 + caches;
   48|    120|}
assemble.c:assemble_emit:
  439|      4|{
  440|      4|    RETURN_IF_ERROR(assemble_init(a, first_lineno));
  ------------------
  |  |   21|      4|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 4]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  441|       |
  442|     28|    for (int i = 0; i < instrs->s_used; i++) {
  ------------------
  |  Branch (442:21): [True: 24, False: 4]
  ------------------
  443|     24|        instruction *instr = &instrs->s_instrs[i];
  444|     24|        RETURN_IF_ERROR(assemble_emit_instr(a, instr));
  ------------------
  |  |   21|     24|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 24]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  445|     24|    }
  446|       |
  447|      4|    RETURN_IF_ERROR(assemble_location_info(a, instrs, a->a_lineno));
  ------------------
  |  |   21|      4|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 4]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  448|       |
  449|      4|    RETURN_IF_ERROR(assemble_exception_table(a, instrs));
  ------------------
  |  |   21|      4|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 4]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  450|       |
  451|      4|    a->a_except_table = PyBytesWriter_FinishWithSize(a->a_except_table_writer,
  452|      4|                                                     a->a_except_table_off);
  453|      4|    a->a_except_table_writer = NULL;
  454|      4|    if (a->a_except_table == NULL) {
  ------------------
  |  Branch (454:9): [True: 0, False: 4]
  ------------------
  455|      0|        return ERROR;
  ------------------
  |  |   18|      0|#define ERROR -1
  ------------------
  456|      0|    }
  457|      4|    RETURN_IF_ERROR(_PyCompile_ConstCacheMergeOne(const_cache, &a->a_except_table));
  ------------------
  |  |   21|      4|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 4]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  458|       |
  459|      4|    a->a_linetable = PyBytesWriter_FinishWithSize(a->a_linetable_writer,
  460|      4|                                                  a->a_location_off);
  461|      4|    a->a_linetable_writer = NULL;
  462|      4|    if (a->a_linetable == NULL) {
  ------------------
  |  Branch (462:9): [True: 0, False: 4]
  ------------------
  463|      0|        return ERROR;
  ------------------
  |  |   18|      0|#define ERROR -1
  ------------------
  464|      0|    }
  465|      4|    RETURN_IF_ERROR(_PyCompile_ConstCacheMergeOne(const_cache, &a->a_linetable));
  ------------------
  |  |   21|      4|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 4]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  466|       |
  467|      4|    a->a_bytecode = PyBytesWriter_FinishWithSize(a->a_bytecode_writer,
  468|      4|                                                 a->a_offset * sizeof(_Py_CODEUNIT));
  469|      4|    a->a_bytecode_writer = NULL;
  470|      4|    if (a->a_bytecode == NULL) {
  ------------------
  |  Branch (470:9): [True: 0, False: 4]
  ------------------
  471|      0|        return ERROR;
  ------------------
  |  |   18|      0|#define ERROR -1
  ------------------
  472|      0|    }
  473|      4|    RETURN_IF_ERROR(_PyCompile_ConstCacheMergeOne(const_cache, &a->a_bytecode));
  ------------------
  |  |   21|      4|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 4]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  474|      4|    return SUCCESS;
  ------------------
  |  |   17|      4|#define SUCCESS 0
  ------------------
  475|      4|}
assemble.c:assemble_init:
   66|      4|{
   67|      4|    memset(a, 0, sizeof(struct assembler));
   68|      4|    a->a_lineno = firstlineno;
   69|      4|    a->a_bytecode_writer = PyBytesWriter_Create(DEFAULT_CODE_SIZE);
  ------------------
  |  |   11|      4|#define DEFAULT_CODE_SIZE 128
  ------------------
   70|      4|    if (a->a_bytecode_writer == NULL) {
  ------------------
  |  Branch (70:9): [True: 0, False: 4]
  ------------------
   71|      0|        goto error;
   72|      0|    }
   73|      4|    a->a_linetable_writer = PyBytesWriter_Create(DEFAULT_CNOTAB_SIZE);
  ------------------
  |  |   13|      4|#define DEFAULT_CNOTAB_SIZE 32
  ------------------
   74|      4|    if (a->a_linetable_writer == NULL) {
  ------------------
  |  Branch (74:9): [True: 0, False: 4]
  ------------------
   75|      0|        goto error;
   76|      0|    }
   77|      4|    a->a_except_table_writer = PyBytesWriter_Create(DEFAULT_LNOTAB_SIZE);
  ------------------
  |  |   12|      4|#define DEFAULT_LNOTAB_SIZE 16
  ------------------
   78|      4|    if (a->a_except_table_writer == NULL) {
  ------------------
  |  Branch (78:9): [True: 0, False: 4]
  ------------------
   79|      0|        goto error;
   80|      0|    }
   81|      4|    return SUCCESS;
  ------------------
  |  |   17|      4|#define SUCCESS 0
  ------------------
   82|      0|error:
   83|      0|    PyBytesWriter_Discard(a->a_bytecode_writer);
   84|      0|    PyBytesWriter_Discard(a->a_linetable_writer);
   85|      0|    PyBytesWriter_Discard(a->a_except_table_writer);
   86|      0|    return ERROR;
  ------------------
  |  |   18|      0|#define ERROR -1
  ------------------
   87|      4|}
assemble.c:assemble_emit_instr:
  418|     24|{
  419|     24|    Py_ssize_t len = PyBytesWriter_GetSize(a->a_bytecode_writer);
  420|     24|    _Py_CODEUNIT *code;
  421|       |
  422|     24|    int size = instr_size(instr);
  423|     24|    if (a->a_offset + size >= len / (int)sizeof(_Py_CODEUNIT)) {
  ------------------
  |  Branch (423:9): [True: 0, False: 24]
  ------------------
  424|      0|        if (len > PY_SSIZE_T_MAX / 2) {
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (424:13): [True: 0, False: 0]
  ------------------
  425|      0|            PyErr_NoMemory();
  426|      0|            return ERROR;
  ------------------
  |  |   18|      0|#define ERROR -1
  ------------------
  427|      0|        }
  428|      0|        RETURN_IF_ERROR(PyBytesWriter_Resize(a->a_bytecode_writer, len * 2));
  ------------------
  |  |   21|      0|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  429|      0|    }
  430|     24|    code = (_Py_CODEUNIT *)PyBytesWriter_GetData(a->a_bytecode_writer) + a->a_offset;
  431|     24|    a->a_offset += size;
  432|     24|    write_instr(code, instr, size);
  433|     24|    return SUCCESS;
  ------------------
  |  |   17|     24|#define SUCCESS 0
  ------------------
  434|     24|}
assemble.c:write_instr:
  374|     24|{
  375|     24|    int opcode = instr->i_opcode;
  376|     24|    assert(!IS_PSEUDO_INSTR(opcode));
  ------------------
  |  Branch (376:5): [True: 0, False: 24]
  |  Branch (376:5): [True: 0, False: 24]
  |  Branch (376:5): [True: 0, False: 24]
  |  Branch (376:5): [True: 0, False: 24]
  |  Branch (376:5): [True: 0, False: 24]
  |  Branch (376:5): [True: 0, False: 24]
  |  Branch (376:5): [True: 0, False: 24]
  |  Branch (376:5): [True: 0, False: 24]
  |  Branch (376:5): [True: 0, False: 24]
  |  Branch (376:5): [True: 0, False: 24]
  |  Branch (376:5): [True: 0, False: 24]
  |  Branch (376:5): [Folded, False: 0]
  ------------------
  377|     24|    int oparg = instr->i_oparg;
  378|     24|    assert(OPCODE_HAS_ARG(opcode) || oparg == 0);
  ------------------
  |  Branch (378:5): [True: 18, False: 6]
  |  Branch (378:5): [True: 6, False: 0]
  ------------------
  379|     24|    int caches = _PyOpcode_Caches[opcode];
  380|     24|    switch (ilen - caches) {
  381|      0|        case 4:
  ------------------
  |  Branch (381:9): [True: 0, False: 24]
  ------------------
  382|      0|            codestr->op.code = EXTENDED_ARG;
  ------------------
  |  |   77|      0|#define EXTENDED_ARG                            64
  ------------------
  383|      0|            codestr->op.arg = (oparg >> 24) & 0xFF;
  384|      0|            codestr++;
  385|      0|            _Py_FALLTHROUGH;
  ------------------
  |  |  650|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  386|      0|        case 3:
  ------------------
  |  Branch (386:9): [True: 0, False: 24]
  ------------------
  387|      0|            codestr->op.code = EXTENDED_ARG;
  ------------------
  |  |   77|      0|#define EXTENDED_ARG                            64
  ------------------
  388|      0|            codestr->op.arg = (oparg >> 16) & 0xFF;
  389|      0|            codestr++;
  390|      0|            _Py_FALLTHROUGH;
  ------------------
  |  |  650|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  391|      0|        case 2:
  ------------------
  |  Branch (391:9): [True: 0, False: 24]
  ------------------
  392|      0|            codestr->op.code = EXTENDED_ARG;
  ------------------
  |  |   77|      0|#define EXTENDED_ARG                            64
  ------------------
  393|      0|            codestr->op.arg = (oparg >> 8) & 0xFF;
  394|      0|            codestr++;
  395|      0|            _Py_FALLTHROUGH;
  ------------------
  |  |  650|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  396|     24|        case 1:
  ------------------
  |  Branch (396:9): [True: 24, False: 0]
  ------------------
  397|     24|            codestr->op.code = opcode;
  398|     24|            codestr->op.arg = oparg & 0xFF;
  399|     24|            codestr++;
  400|     24|            break;
  401|      0|        default:
  ------------------
  |  Branch (401:9): [True: 0, False: 24]
  ------------------
  402|      0|            Py_UNREACHABLE();
  ------------------
  |  |  289|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  403|     24|    }
  404|     42|    while (caches--) {
  ------------------
  |  Branch (404:12): [True: 18, False: 24]
  ------------------
  405|     18|        codestr->op.code = CACHE;
  ------------------
  |  |   13|     18|#define CACHE                                    0
  ------------------
  406|     18|        codestr->op.arg = 0;
  407|     18|        codestr++;
  408|     18|    }
  409|     24|}
assemble.c:assemble_location_info:
  343|      4|{
  344|      4|    a->a_lineno = firstlineno;
  345|      4|    location loc = NO_LOCATION;
  346|     28|    for (int i = instrs->s_used-1; i >= 0; i--) {
  ------------------
  |  Branch (346:36): [True: 24, False: 4]
  ------------------
  347|     24|        instruction *instr = &instrs->s_instrs[i];
  348|     24|        if (same_location(instr->i_loc, NEXT_LOCATION)) {
  ------------------
  |  Branch (348:13): [True: 0, False: 24]
  ------------------
  349|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  350|      0|                instr->i_loc = NO_LOCATION;
  351|      0|            }
  352|      0|            else {
  353|      0|                assert(i < instrs->s_used-1);
  ------------------
  |  Branch (353:17): [True: 0, False: 0]
  ------------------
  354|      0|                instr->i_loc = instr[1].i_loc;
  355|      0|            }
  356|      0|        }
  357|     24|    }
  358|      4|    int size = 0;
  359|     28|    for (int i = 0; i < instrs->s_used; i++) {
  ------------------
  |  Branch (359:21): [True: 24, False: 4]
  ------------------
  360|     24|        instruction *instr = &instrs->s_instrs[i];
  361|     24|        if (!same_location(loc, instr->i_loc)) {
  ------------------
  |  Branch (361:13): [True: 18, False: 6]
  ------------------
  362|     18|                RETURN_IF_ERROR(assemble_emit_location(a, loc, size));
  ------------------
  |  |   21|     18|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 18]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  363|     18|                loc = instr->i_loc;
  364|     18|                size = 0;
  365|     18|        }
  366|     24|        size += instr_size(instr);
  367|     24|    }
  368|      4|    RETURN_IF_ERROR(assemble_emit_location(a, loc, size));
  ------------------
  |  |   21|      4|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 4]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  369|      4|    return SUCCESS;
  ------------------
  |  |   17|      4|#define SUCCESS 0
  ------------------
  370|      4|}
assemble.c:same_location:
   31|     48|{
   32|     48|    return a.lineno == b.lineno &&
  ------------------
  |  Branch (32:12): [True: 18, False: 30]
  ------------------
   33|     18|           a.end_lineno == b.end_lineno &&
  ------------------
  |  Branch (33:12): [True: 18, False: 0]
  ------------------
   34|     18|           a.col_offset == b.col_offset &&
  ------------------
  |  Branch (34:12): [True: 6, False: 12]
  ------------------
   35|      6|           a.end_col_offset == b.end_col_offset;
  ------------------
  |  Branch (35:12): [True: 6, False: 0]
  ------------------
   36|     48|}
assemble.c:assemble_emit_location:
  329|     22|{
  330|     22|    if (isize == 0) {
  ------------------
  |  Branch (330:9): [True: 4, False: 18]
  ------------------
  331|      4|        return SUCCESS;
  ------------------
  |  |   17|      4|#define SUCCESS 0
  ------------------
  332|      4|    }
  333|     18|    while (isize > 8) {
  ------------------
  |  Branch (333:12): [True: 0, False: 18]
  ------------------
  334|      0|        RETURN_IF_ERROR(write_location_info_entry(a, loc, 8));
  ------------------
  |  |   21|      0|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  335|      0|        isize -= 8;
  336|      0|    }
  337|     18|    return write_location_info_entry(a, loc, isize);
  338|     18|}
assemble.c:write_location_info_entry:
  291|     18|{
  292|     18|    Py_ssize_t len = PyBytesWriter_GetSize(a->a_linetable_writer);
  293|     18|    if (a->a_location_off + THEORETICAL_MAX_ENTRY_SIZE >= len) {
  ------------------
  |  |  286|     18|#define THEORETICAL_MAX_ENTRY_SIZE 25 /* 1 + 6 + 6 + 6 + 6 */
  ------------------
  |  Branch (293:9): [True: 2, False: 16]
  ------------------
  294|      2|        assert(len > THEORETICAL_MAX_ENTRY_SIZE);
  ------------------
  |  Branch (294:9): [True: 2, False: 0]
  ------------------
  295|      2|        RETURN_IF_ERROR(PyBytesWriter_Resize(a->a_linetable_writer, len * 2));
  ------------------
  |  |   21|      2|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 2]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  296|      2|    }
  297|     18|    if (loc.lineno == NO_LOCATION.lineno) {
  ------------------
  |  Branch (297:9): [True: 0, False: 18]
  ------------------
  298|      0|        write_location_info_none(a, isize);
  299|      0|        return SUCCESS;
  ------------------
  |  |   17|      0|#define SUCCESS 0
  ------------------
  300|      0|    }
  301|     18|    int line_delta = loc.lineno - a->a_lineno;
  302|     18|    int column = loc.col_offset;
  303|     18|    int end_column = loc.end_col_offset;
  304|     18|    if (column < 0 || end_column < 0) {
  ------------------
  |  Branch (304:9): [True: 0, False: 18]
  |  Branch (304:23): [True: 0, False: 18]
  ------------------
  305|      0|        if (loc.end_lineno == loc.lineno || loc.end_lineno < 0) {
  ------------------
  |  Branch (305:13): [True: 0, False: 0]
  |  Branch (305:45): [True: 0, False: 0]
  ------------------
  306|      0|            write_location_info_no_column(a, isize, line_delta);
  307|      0|            a->a_lineno = loc.lineno;
  308|      0|            return SUCCESS;
  ------------------
  |  |   17|      0|#define SUCCESS 0
  ------------------
  309|      0|        }
  310|      0|    }
  311|     18|    else if (loc.end_lineno == loc.lineno) {
  ------------------
  |  Branch (311:14): [True: 16, False: 2]
  ------------------
  312|     16|        if (line_delta == 0 && column < 80 && end_column - column < 16 && end_column >= column) {
  ------------------
  |  Branch (312:13): [True: 14, False: 2]
  |  Branch (312:32): [True: 12, False: 2]
  |  Branch (312:47): [True: 8, False: 4]
  |  Branch (312:75): [True: 8, False: 0]
  ------------------
  313|      8|            write_location_info_short_form(a, isize, column, end_column);
  314|      8|            return SUCCESS;
  ------------------
  |  |   17|      8|#define SUCCESS 0
  ------------------
  315|      8|        }
  316|      8|        if (line_delta >= 0 && line_delta < 3 && column < 128 && end_column < 128) {
  ------------------
  |  Branch (316:13): [True: 8, False: 0]
  |  Branch (316:32): [True: 8, False: 0]
  |  Branch (316:50): [True: 8, False: 0]
  |  Branch (316:66): [True: 8, False: 0]
  ------------------
  317|      8|            write_location_info_oneline_form(a, isize, line_delta, column, end_column);
  318|      8|            a->a_lineno = loc.lineno;
  319|      8|            return SUCCESS;
  ------------------
  |  |   17|      8|#define SUCCESS 0
  ------------------
  320|      8|        }
  321|      8|    }
  322|      2|    write_location_info_long_form(a, loc, isize);
  323|      2|    a->a_lineno = loc.lineno;
  324|      2|    return SUCCESS;
  ------------------
  |  |   17|      2|#define SUCCESS 0
  ------------------
  325|     18|}
assemble.c:write_location_first_byte:
  216|     18|{
  217|     18|    a->a_location_off += write_location_entry_start(
  218|     18|        location_pointer(a), code, length);
  219|     18|}
assemble.c:location_pointer:
  209|     26|{
  210|     26|    uint8_t *linetable = PyBytesWriter_GetData(a->a_linetable_writer);
  211|     26|    return linetable + a->a_location_off;
  212|     26|}
assemble.c:write_location_signed_varint:
  231|      2|{
  232|      2|    uint8_t *ptr = location_pointer(a);
  233|      2|    a->a_location_off += write_signed_varint(ptr, val);
  234|      2|}
assemble.c:write_location_info_short_form:
  238|      8|{
  239|      8|    assert(length > 0 &&  length <= 8);
  ------------------
  |  Branch (239:5): [True: 8, False: 0]
  |  Branch (239:5): [True: 8, False: 0]
  ------------------
  240|      8|    int column_low_bits = column & 7;
  241|      8|    int column_group = column >> 3;
  242|      8|    assert(column < 80);
  ------------------
  |  Branch (242:5): [True: 8, False: 0]
  ------------------
  243|      8|    assert(end_column >= column);
  ------------------
  |  Branch (243:5): [True: 8, False: 0]
  ------------------
  244|      8|    assert(end_column - column < 16);
  ------------------
  |  Branch (244:5): [True: 8, False: 0]
  ------------------
  245|      8|    write_location_first_byte(a, PY_CODE_LOCATION_INFO_SHORT0 + column_group, length);
  246|      8|    write_location_byte(a, (column_low_bits << 4) | (end_column - column));
  247|      8|}
assemble.c:write_location_byte:
  200|     24|{
  201|     24|    uint8_t *linetable = PyBytesWriter_GetData(a->a_linetable_writer);
  202|     24|    linetable[a->a_location_off] = val & 255;
  203|     24|    a->a_location_off++;
  204|     24|}
assemble.c:write_location_info_oneline_form:
  251|      8|{
  252|      8|    assert(length > 0 &&  length <= 8);
  ------------------
  |  Branch (252:5): [True: 8, False: 0]
  |  Branch (252:5): [True: 8, False: 0]
  ------------------
  253|      8|    assert(line_delta >= 0 && line_delta < 3);
  ------------------
  |  Branch (253:5): [True: 8, False: 0]
  |  Branch (253:5): [True: 8, False: 0]
  ------------------
  254|      8|    assert(column < 128);
  ------------------
  |  Branch (254:5): [True: 8, False: 0]
  ------------------
  255|      8|    assert(end_column < 128);
  ------------------
  |  Branch (255:5): [True: 8, False: 0]
  ------------------
  256|      8|    write_location_first_byte(a, PY_CODE_LOCATION_INFO_ONE_LINE0 + line_delta, length);
  257|      8|    write_location_byte(a, column);
  258|      8|    write_location_byte(a, end_column);
  259|      8|}
assemble.c:write_location_info_long_form:
  263|      2|{
  264|      2|    assert(length > 0 &&  length <= 8);
  ------------------
  |  Branch (264:5): [True: 2, False: 0]
  |  Branch (264:5): [True: 2, False: 0]
  ------------------
  265|      2|    write_location_first_byte(a, PY_CODE_LOCATION_INFO_LONG, length);
  266|      2|    write_location_signed_varint(a, loc.lineno - a->a_lineno);
  267|      2|    assert(loc.end_lineno >= loc.lineno);
  ------------------
  |  Branch (267:5): [True: 2, False: 0]
  ------------------
  268|      2|    write_location_varint(a, loc.end_lineno - loc.lineno);
  269|      2|    write_location_varint(a, loc.col_offset + 1);
  270|      2|    write_location_varint(a, loc.end_col_offset + 1);
  271|      2|}
assemble.c:write_location_varint:
  223|      6|{
  224|      6|    uint8_t *ptr = location_pointer(a);
  225|      6|    a->a_location_off += write_varint(ptr, val);
  226|      6|}
assemble.c:assemble_exception_table:
  162|      4|{
  163|      4|    int ioffset = 0;
  164|      4|    _PyExceptHandlerInfo handler;
  165|      4|    handler.h_label = -1;
  166|      4|    handler.h_startdepth = -1;
  167|      4|    handler.h_preserve_lasti = -1;
  168|      4|    int start = -1;
  169|     28|    for (int i = 0; i < instrs->s_used; i++) {
  ------------------
  |  Branch (169:21): [True: 24, False: 4]
  ------------------
  170|     24|        instruction *instr = &instrs->s_instrs[i];
  171|     24|        if (instr->i_except_handler_info.h_label != handler.h_label) {
  ------------------
  |  Branch (171:13): [True: 0, False: 24]
  ------------------
  172|      0|            if (handler.h_label >= 0) {
  ------------------
  |  Branch (172:17): [True: 0, False: 0]
  ------------------
  173|      0|                int handler_offset = instrs->s_instrs[handler.h_label].i_offset;
  174|      0|                RETURN_IF_ERROR(
  ------------------
  |  |   21|      0|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  175|      0|                    assemble_emit_exception_table_entry(a, start, ioffset,
  176|      0|                                                        handler_offset,
  177|      0|                                                        &handler));
  178|      0|            }
  179|      0|            start = ioffset;
  180|      0|            handler = instr->i_except_handler_info;
  181|      0|        }
  182|     24|        ioffset += instr_size(instr);
  183|     24|    }
  184|      4|    if (handler.h_label >= 0) {
  ------------------
  |  Branch (184:9): [True: 0, False: 4]
  ------------------
  185|      0|        int handler_offset = instrs->s_instrs[handler.h_label].i_offset;
  186|      0|        RETURN_IF_ERROR(assemble_emit_exception_table_entry(a, start, ioffset,
  ------------------
  |  |   21|      0|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  187|      0|                                                            handler_offset,
  188|      0|                                                            &handler));
  189|      0|    }
  190|      4|    return SUCCESS;
  ------------------
  |  |   17|      4|#define SUCCESS 0
  ------------------
  191|      4|}
assemble.c:makecode:
  600|      4|{
  601|      4|    PyCodeObject *co = NULL;
  602|      4|    PyObject *names = NULL;
  603|      4|    PyObject *consts = NULL;
  604|      4|    PyObject *localsplusnames = NULL;
  605|      4|    PyObject *localspluskinds = NULL;
  606|      4|    names = dict_keys_inorder(umd->u_names, 0);
  607|      4|    if (!names) {
  ------------------
  |  Branch (607:9): [True: 0, False: 4]
  ------------------
  608|      0|        goto error;
  609|      0|    }
  610|      4|    if (_PyCompile_ConstCacheMergeOne(const_cache, &names) < 0) {
  ------------------
  |  Branch (610:9): [True: 0, False: 4]
  ------------------
  611|      0|        goto error;
  612|      0|    }
  613|       |
  614|      4|    consts = PyList_AsTuple(constslist); /* PyCode_New requires a tuple */
  615|      4|    if (consts == NULL) {
  ------------------
  |  Branch (615:9): [True: 0, False: 4]
  ------------------
  616|      0|        goto error;
  617|      0|    }
  618|      4|    if (_PyCompile_ConstCacheMergeOne(const_cache, &consts) < 0) {
  ------------------
  |  Branch (618:9): [True: 0, False: 4]
  ------------------
  619|      0|        goto error;
  620|      0|    }
  621|       |
  622|      4|    assert(umd->u_posonlyargcount < INT_MAX);
  ------------------
  |  Branch (622:5): [True: 4, False: 0]
  ------------------
  623|      4|    assert(umd->u_argcount < INT_MAX);
  ------------------
  |  Branch (623:5): [True: 4, False: 0]
  ------------------
  624|      4|    assert(umd->u_kwonlyargcount < INT_MAX);
  ------------------
  |  Branch (624:5): [True: 4, False: 0]
  ------------------
  625|      4|    int posonlyargcount = (int)umd->u_posonlyargcount;
  626|      4|    int posorkwargcount = (int)umd->u_argcount;
  627|      4|    assert(INT_MAX - posonlyargcount - posorkwargcount > 0);
  ------------------
  |  Branch (627:5): [True: 4, False: 0]
  ------------------
  628|      4|    int kwonlyargcount = (int)umd->u_kwonlyargcount;
  629|       |
  630|      4|    localsplusnames = PyTuple_New(nlocalsplus);
  631|      4|    if (localsplusnames == NULL) {
  ------------------
  |  Branch (631:9): [True: 0, False: 4]
  ------------------
  632|      0|        goto error;
  633|      0|    }
  634|      4|    localspluskinds = PyBytes_FromStringAndSize(NULL, nlocalsplus);
  635|      4|    if (localspluskinds == NULL) {
  ------------------
  |  Branch (635:9): [True: 0, False: 4]
  ------------------
  636|      0|        goto error;
  637|      0|    }
  638|      4|    if (compute_localsplus_info(
  ------------------
  |  Branch (638:9): [True: 0, False: 4]
  ------------------
  639|      4|            umd, nlocalsplus, code_flags,
  640|      4|            localsplusnames, localspluskinds) == ERROR)
  ------------------
  |  |   18|      4|#define ERROR -1
  ------------------
  641|      0|    {
  642|      0|        goto error;
  643|      0|    }
  644|       |
  645|      4|    struct _PyCodeConstructor con = {
  646|      4|        .filename = filename,
  647|      4|        .name = umd->u_name,
  648|      4|        .qualname = umd->u_qualname ? umd->u_qualname : umd->u_name,
  ------------------
  |  Branch (648:21): [True: 2, False: 2]
  ------------------
  649|      4|        .flags = code_flags,
  650|       |
  651|      4|        .code = a->a_bytecode,
  652|      4|        .firstlineno = umd->u_firstlineno,
  653|      4|        .linetable = a->a_linetable,
  654|       |
  655|      4|        .consts = consts,
  656|      4|        .names = names,
  657|       |
  658|      4|        .localsplusnames = localsplusnames,
  659|      4|        .localspluskinds = localspluskinds,
  660|       |
  661|      4|        .argcount = posonlyargcount + posorkwargcount,
  662|      4|        .posonlyargcount = posonlyargcount,
  663|      4|        .kwonlyargcount = kwonlyargcount,
  664|       |
  665|      4|        .stacksize = maxdepth,
  666|       |
  667|      4|        .exceptiontable = a->a_except_table,
  668|      4|    };
  669|       |
  670|      4|   if (_PyCode_Validate(&con) < 0) {
  ------------------
  |  Branch (670:8): [True: 0, False: 4]
  ------------------
  671|      0|        goto error;
  672|      0|    }
  673|       |
  674|      4|    if (_PyCompile_ConstCacheMergeOne(const_cache, &localsplusnames) < 0) {
  ------------------
  |  Branch (674:9): [True: 0, False: 4]
  ------------------
  675|      0|        goto error;
  676|      0|    }
  677|      4|    con.localsplusnames = localsplusnames;
  678|       |
  679|      4|    co = _PyCode_New(&con);
  680|      4|    if (co == NULL) {
  ------------------
  |  Branch (680:9): [True: 0, False: 4]
  ------------------
  681|      0|        goto error;
  682|      0|    }
  683|       |
  684|      4|error:
  685|      4|    Py_XDECREF(names);
  ------------------
  |  |  524|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  686|      4|    Py_XDECREF(consts);
  ------------------
  |  |  524|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  687|      4|    Py_XDECREF(localsplusnames);
  ------------------
  |  |  524|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  688|      4|    Py_XDECREF(localspluskinds);
  ------------------
  |  |  524|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  689|      4|    return co;
  690|      4|}
assemble.c:dict_keys_inorder:
  479|      4|{
  480|      4|    PyObject *tuple, *k, *v;
  481|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  482|       |
  483|      4|    tuple = PyTuple_New(size);
  484|      4|    if (tuple == NULL)
  ------------------
  |  Branch (484:9): [True: 0, False: 4]
  ------------------
  485|      0|        return NULL;
  486|      6|    while (PyDict_Next(dict, &pos, &k, &v)) {
  ------------------
  |  Branch (486:12): [True: 2, False: 4]
  ------------------
  487|      2|        Py_ssize_t i = PyLong_AsSsize_t(v);
  488|      2|        if (i == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (488:13): [True: 0, False: 2]
  |  Branch (488:24): [True: 0, False: 0]
  ------------------
  489|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  490|      0|            return NULL;
  491|      0|        }
  492|      2|        assert((i - offset) < size);
  ------------------
  |  Branch (492:9): [True: 2, False: 0]
  ------------------
  493|      2|        assert((i - offset) >= 0);
  ------------------
  |  Branch (493:9): [True: 2, False: 0]
  ------------------
  494|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  495|      2|    }
  496|      4|    return tuple;
  497|      4|}
assemble.c:compute_localsplus_info:
  506|      4|{
  507|      4|    PyObject *k, *v;
  508|      4|    Py_ssize_t pos = 0;
  509|       |
  510|       |    // Set the locals kinds.  Arg vars fill the first portion of the list.
  511|      4|    struct {
  512|      4|        int count;
  513|      4|        _PyLocals_Kind kind;
  514|      4|    }  argvarkinds[6] = {
  515|      4|        {(int)umd->u_posonlyargcount, CO_FAST_ARG_POS},
  ------------------
  |  |  192|      4|#define CO_FAST_ARG_POS (0x02)  // pos-only, pos-or-kw, varargs
  ------------------
  516|      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
  ------------------
  517|      4|        {(int)umd->u_kwonlyargcount, CO_FAST_ARG_KW},
  ------------------
  |  |  193|      4|#define CO_FAST_ARG_KW  (0x04)  // kw-only, pos-or-kw, varkwargs
  ------------------
  518|      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
  ------------------
  519|      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
  ------------------
  520|      4|        {-1, 0},  // the remaining local vars
  521|      4|    };
  522|      4|    int max = 0;
  523|     28|    for (int i = 0; i < 6; i++) {
  ------------------
  |  Branch (523:21): [True: 24, False: 4]
  ------------------
  524|     24|        max = argvarkinds[i].count < 0
  ------------------
  |  Branch (524:15): [True: 4, False: 20]
  ------------------
  525|     24|            ? INT_MAX
  526|     24|            : max + argvarkinds[i].count;
  527|     35|        while (pos < max && PyDict_Next(umd->u_varnames, &pos, &k, &v)) {
  ------------------
  |  Branch (527:16): [True: 15, False: 20]
  |  Branch (527:29): [True: 11, False: 4]
  ------------------
  528|     11|            int offset = PyLong_AsInt(v);
  529|     11|            if (offset == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (529:17): [True: 0, False: 11]
  |  Branch (529:33): [True: 0, False: 0]
  ------------------
  530|      0|                return ERROR;
  ------------------
  |  |   18|      0|#define ERROR -1
  ------------------
  531|      0|            }
  532|     11|            assert(offset >= 0);
  ------------------
  |  Branch (532:13): [True: 11, False: 0]
  ------------------
  533|     11|            assert(offset < nlocalsplus);
  ------------------
  |  Branch (533:13): [True: 11, False: 0]
  ------------------
  534|       |
  535|     11|            _PyLocals_Kind kind = CO_FAST_LOCAL | argvarkinds[i].kind;
  ------------------
  |  |  197|     11|#define CO_FAST_LOCAL   (0x20)
  ------------------
  536|       |
  537|     11|            if (umd->u_fasthidden != NULL) {
  ------------------
  |  Branch (537:17): [True: 0, False: 11]
  ------------------
  538|      0|                int hidden = PySet_Contains(umd->u_fasthidden, k);
  539|      0|                RETURN_IF_ERROR(hidden);
  ------------------
  |  |   21|      0|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  540|      0|                if (hidden) {
  ------------------
  |  Branch (540:21): [True: 0, False: 0]
  ------------------
  541|      0|                    kind |= CO_FAST_HIDDEN;
  ------------------
  |  |  196|      0|#define CO_FAST_HIDDEN  (0x10)
  ------------------
  542|      0|                }
  543|      0|            }
  544|       |
  545|     11|            int has_key = PyDict_Contains(umd->u_cellvars, k);
  546|     11|            RETURN_IF_ERROR(has_key);
  ------------------
  |  |   21|     11|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 11]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  547|     11|            if (has_key) {
  ------------------
  |  Branch (547:17): [True: 0, False: 11]
  ------------------
  548|      0|                kind |= CO_FAST_CELL;
  ------------------
  |  |  198|      0|#define CO_FAST_CELL    (0x40)
  ------------------
  549|      0|            }
  550|       |
  551|     11|            _Py_set_localsplus_info(offset, k, kind, names, kinds);
  552|     11|        }
  553|     24|    }
  554|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  555|       |
  556|       |    // This counter mirrors the fix done in fix_cell_offsets().
  557|      4|    int numdropped = 0, cellvar_offset = -1;
  558|      4|    pos = 0;
  559|      4|    while (PyDict_Next(umd->u_cellvars, &pos, &k, &v)) {
  ------------------
  |  Branch (559:12): [True: 0, False: 4]
  ------------------
  560|      0|        int has_name = PyDict_Contains(umd->u_varnames, k);
  561|      0|        RETURN_IF_ERROR(has_name);
  ------------------
  |  |   21|      0|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  562|      0|        if (has_name) {
  ------------------
  |  Branch (562:13): [True: 0, False: 0]
  ------------------
  563|       |            // Skip cells that are already covered by locals.
  564|      0|            numdropped += 1;
  565|      0|            continue;
  566|      0|        }
  567|       |
  568|      0|        cellvar_offset = PyLong_AsInt(v);
  569|      0|        if (cellvar_offset == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (569:13): [True: 0, False: 0]
  |  Branch (569:37): [True: 0, False: 0]
  ------------------
  570|      0|            return ERROR;
  ------------------
  |  |   18|      0|#define ERROR -1
  ------------------
  571|      0|        }
  572|      0|        assert(cellvar_offset >= 0);
  ------------------
  |  Branch (572:9): [True: 0, False: 0]
  ------------------
  573|      0|        cellvar_offset += nlocals - numdropped;
  574|      0|        assert(cellvar_offset < nlocalsplus);
  ------------------
  |  Branch (574:9): [True: 0, False: 0]
  ------------------
  575|      0|        _Py_set_localsplus_info(cellvar_offset, k, CO_FAST_CELL, names, kinds);
  ------------------
  |  |  198|      0|#define CO_FAST_CELL    (0x40)
  ------------------
  576|      0|    }
  577|       |
  578|      4|    pos = 0;
  579|      4|    while (PyDict_Next(umd->u_freevars, &pos, &k, &v)) {
  ------------------
  |  Branch (579:12): [True: 0, False: 4]
  ------------------
  580|      0|        int offset = PyLong_AsInt(v);
  581|      0|        if (offset == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (581:13): [True: 0, False: 0]
  |  Branch (581:29): [True: 0, False: 0]
  ------------------
  582|      0|            return ERROR;
  ------------------
  |  |   18|      0|#define ERROR -1
  ------------------
  583|      0|        }
  584|      0|        assert(offset >= 0);
  ------------------
  |  Branch (584:9): [True: 0, False: 0]
  ------------------
  585|      0|        offset += nlocals - numdropped;
  586|      0|        assert(offset < nlocalsplus);
  ------------------
  |  Branch (586:9): [True: 0, False: 0]
  ------------------
  587|       |        /* XXX If the assertion below fails it is most likely because a freevar
  588|       |           was added to u_freevars with the wrong index due to not taking into
  589|       |           account cellvars already present, see gh-128632. */
  590|      0|        assert(offset > cellvar_offset);
  ------------------
  |  Branch (590:9): [True: 0, False: 0]
  ------------------
  591|      0|        _Py_set_localsplus_info(offset, k, CO_FAST_FREE, names, kinds);
  ------------------
  |  |  199|      0|#define CO_FAST_FREE    (0x80)
  ------------------
  592|      0|    }
  593|      4|    return SUCCESS;
  ------------------
  |  |   17|      4|#define SUCCESS 0
  ------------------
  594|      4|}
assemble.c:assemble_free:
   91|      4|{
   92|      4|    PyBytesWriter_Discard(a->a_bytecode_writer);
   93|      4|    PyBytesWriter_Discard(a->a_linetable_writer);
   94|      4|    PyBytesWriter_Discard(a->a_except_table_writer);
   95|      4|    Py_XDECREF(a->a_bytecode);
  ------------------
  |  |  524|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   96|      4|    Py_XDECREF(a->a_linetable);
  ------------------
  |  |  524|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   97|      4|    Py_XDECREF(a->a_except_table);
  ------------------
  |  |  524|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   98|      4|}

_PyAST_Preprocess:
  978|     18|{
  979|     18|    _PyASTPreprocessState state;
  980|     18|    memset(&state, 0, sizeof(_PyASTPreprocessState));
  981|     18|    state.filename = filename;
  982|     18|    state.module = module;
  983|     18|    state.optimize = optimize;
  984|     18|    state.ff_features = ff_features;
  985|     18|    state.syntax_check_only = syntax_check_only;
  986|     18|    state.enable_warnings = enable_warnings;
  987|     18|    if (_Py_CArray_Init(&state.cf_finally, sizeof(ControlFlowInFinallyContext), 20) < 0) {
  ------------------
  |  Branch (987:9): [True: 0, False: 18]
  ------------------
  988|      0|        return -1;
  989|      0|    }
  990|       |
  991|     18|    int ret = astfold_mod(mod, arena, &state);
  992|     18|    assert(ret || PyErr_Occurred());
  ------------------
  |  Branch (992:5): [True: 18, False: 0]
  |  Branch (992:5): [True: 0, False: 0]
  ------------------
  993|       |
  994|     18|    _Py_CArray_Fini(&state.cf_finally);
  995|     18|    return ret;
  996|     18|}
ast_preprocess.c:astfold_mod:
  498|     18|{
  499|     18|    switch (node_->kind) {
  ------------------
  |  Branch (499:13): [True: 18, False: 0]
  ------------------
  500|      0|    case Module_kind:
  ------------------
  |  Branch (500:5): [True: 0, False: 18]
  ------------------
  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: 18]
  ------------------
  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))
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (302: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)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      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|     18|    case Expression_kind:
  ------------------
  |  Branch (506:5): [True: 18, False: 0]
  ------------------
  507|     18|        CALL(astfold_expr, expr_ty, node_->v.Expression.body);
  ------------------
  |  |  409|     18|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 18]
  |  |  ------------------
  |  |  410|     18|        return 0;
  ------------------
  508|     18|        break;
  509|       |    // The following top level nodes don't participate in constant folding
  510|      0|    case FunctionType_kind:
  ------------------
  |  Branch (510:5): [True: 0, False: 18]
  ------------------
  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|     18|    }
  515|     18|    return 1;
  516|     18|}
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))
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (302: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)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      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))
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|     26|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (302: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)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|     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))
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (302: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)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      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))
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (302: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)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      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))
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (302: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)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      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|     45|{
  521|     45|    ENTER_RECURSIVE();
  ------------------
  |  |   29|     45|#define ENTER_RECURSIVE() \
  |  |   30|     45|if (Py_EnterRecursiveCall(" during compilation")) { \
  |  |  ------------------
  |  |  |  Branch (30:5): [True: 0, False: 45]
  |  |  ------------------
  |  |   31|      0|    return 0; \
  |  |   32|      0|}
  ------------------
  522|     45|    switch (node_->kind) {
  ------------------
  |  Branch (522:13): [True: 45, False: 0]
  ------------------
  523|      0|    case BoolOp_kind:
  ------------------
  |  Branch (523:5): [True: 0, False: 45]
  ------------------
  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))
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (302: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)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      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|      4|    case BinOp_kind:
  ------------------
  |  Branch (526:5): [True: 4, False: 41]
  ------------------
  527|      4|        CALL(astfold_expr, expr_ty, node_->v.BinOp.left);
  ------------------
  |  |  409|      4|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 4]
  |  |  ------------------
  |  |  410|      4|        return 0;
  ------------------
  528|      4|        CALL(astfold_expr, expr_ty, node_->v.BinOp.right);
  ------------------
  |  |  409|      4|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 4]
  |  |  ------------------
  |  |  410|      4|        return 0;
  ------------------
  529|      4|        CALL(fold_binop, expr_ty, node_);
  ------------------
  |  |  409|      4|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 4]
  |  |  ------------------
  |  |  410|      4|        return 0;
  ------------------
  530|      4|        break;
  531|      0|    case UnaryOp_kind:
  ------------------
  |  Branch (531:5): [True: 0, False: 45]
  ------------------
  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: 43]
  ------------------
  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: 45]
  ------------------
  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: 45]
  ------------------
  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))
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (302: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)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      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))
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (302: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)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      0|}
  ------------------
  546|      0|        break;
  547|      0|    case Set_kind:
  ------------------
  |  Branch (547:5): [True: 0, False: 45]
  ------------------
  548|      0|        CALL_SEQ(astfold_expr, expr, node_->v.Set.elts);
  ------------------
  |  |  416|      0|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      0|    Py_ssize_t i; \
  |  |  418|      0|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      0|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (302: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)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      0|}
  ------------------
  549|      0|        break;
  550|      0|    case ListComp_kind:
  ------------------
  |  Branch (550:5): [True: 0, False: 45]
  ------------------
  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))
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (302: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)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      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: 45]
  ------------------
  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))
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (302: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)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      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: 45]
  ------------------
  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))
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (302: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)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      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: 45]
  ------------------
  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))
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (302: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)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      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: 45]
  ------------------
  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: 45]
  ------------------
  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: 45]
  ------------------
  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: 45]
  ------------------
  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))
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (302: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)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      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: 43]
  ------------------
  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))
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|     12|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (302: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)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      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))
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (302: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)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      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: 45]
  ------------------
  588|      0|        CALL(astfold_expr, expr_ty, node_->v.FormattedValue.value);
  ------------------
  |  |  409|      0|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  410|      0|        return 0;
  ------------------
  589|      0|        CALL_OPT(astfold_expr, expr_ty, node_->v.FormattedValue.format_spec);
  ------------------
  |  |  413|      0|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 0, False: 0]
  |  |  |  Branch (413:26): [True: 0, False: 0]
  |  |  ------------------
  |  |  414|      0|        return 0;
  ------------------
  590|      0|        break;
  591|      0|    case Interpolation_kind:
  ------------------
  |  Branch (591:5): [True: 0, False: 45]
  ------------------
  592|      0|        CALL(astfold_expr, expr_ty, node_->v.Interpolation.value);
  ------------------
  |  |  409|      0|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  410|      0|        return 0;
  ------------------
  593|      0|        CALL_OPT(astfold_expr, expr_ty, node_->v.Interpolation.format_spec);
  ------------------
  |  |  413|      0|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 0, False: 0]
  |  |  |  Branch (413:26): [True: 0, False: 0]
  |  |  ------------------
  |  |  414|      0|        return 0;
  ------------------
  594|      0|        break;
  595|      0|    case JoinedStr_kind:
  ------------------
  |  Branch (595:5): [True: 0, False: 45]
  ------------------
  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))
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (302: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)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      0|}
  ------------------
  597|      0|        break;
  598|      0|    case TemplateStr_kind:
  ------------------
  |  Branch (598:5): [True: 0, False: 45]
  ------------------
  599|      0|        CALL_SEQ(astfold_expr, expr, node_->v.TemplateStr.values);
  ------------------
  |  |  416|      0|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      0|    Py_ssize_t i; \
  |  |  418|      0|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      0|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (302: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)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      0|}
  ------------------
  600|      0|        break;
  601|      0|    case Attribute_kind:
  ------------------
  |  Branch (601:5): [True: 0, False: 45]
  ------------------
  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: 45]
  ------------------
  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: 45]
  ------------------
  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: 45]
  ------------------
  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: 45]
  ------------------
  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))
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (302: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)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      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: 42]
  ------------------
  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))
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|     28|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (302: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)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|     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|     32|    case Name_kind:
  ------------------
  |  Branch (622:5): [True: 32, False: 13]
  ------------------
  623|     32|        if (state->syntax_check_only) {
  ------------------
  |  Branch (623:13): [True: 19, False: 13]
  ------------------
  624|     19|            break;
  625|     19|        }
  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: 45]
  ------------------
  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|      2|    case Constant_kind:
  ------------------
  |  Branch (635:5): [True: 2, False: 43]
  ------------------
  636|       |        // Already a constant, nothing further to do
  637|      2|        break;
  638|       |    // No default case, so the compiler will emit a warning if new expression
  639|       |    // kinds are added without being handled here
  640|     45|    }
  641|     45|    LEAVE_RECURSIVE();
  ------------------
  |  |   34|     45|#define LEAVE_RECURSIVE() Py_LeaveRecursiveCall();
  ------------------
  642|     45|    return 1;
  643|     45|}
ast_preprocess.c:fold_binop:
  372|      4|{
  373|      4|    if (state->syntax_check_only) {
  ------------------
  |  Branch (373:9): [True: 4, False: 0]
  ------------------
  374|      4|        return 1;
  375|      4|    }
  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:
 3504|      2|{
 3505|      2|    if (PyImport_ImportFrozenModule("_pybuiltins") <= 0) {
  ------------------
  |  Branch (3505:9): [True: 0, False: 2]
  ------------------
 3506|      0|        if (!PyErr_Occurred()) {
  ------------------
  |  Branch (3506:13): [True: 0, False: 0]
  ------------------
 3507|      0|            PyErr_SetString(PyExc_ImportError,
 3508|      0|                            "frozen module _pybuiltins not found");
 3509|      0|        }
 3510|      0|        return -1;
 3511|      0|    }
 3512|      2|    PyObject *mod = PyImport_AddModuleRef("_pybuiltins");
 3513|      2|    if (mod == NULL) {
  ------------------
  |  Branch (3513:9): [True: 0, False: 2]
  ------------------
 3514|      0|        return -1;
 3515|      0|    }
 3516|       |
 3517|      2|    int rc = -1;
 3518|      2|    PyObject *all = PyObject_GetAttr(mod, &_Py_ID(__all__));
  ------------------
  |  |  936|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3519|      2|    if (all == NULL) {
  ------------------
  |  Branch (3519:9): [True: 0, False: 2]
  ------------------
 3520|      0|        goto done;
 3521|      0|    }
 3522|      2|    Py_ssize_t n = PyList_Size(all);
 3523|      2|    if (n < 0) {
  ------------------
  |  Branch (3523:9): [True: 0, False: 2]
  ------------------
 3524|      0|        goto done;
 3525|      0|    }
 3526|      4|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (3526:28): [True: 2, False: 2]
  ------------------
 3527|      2|        PyObject *name = PyList_GET_ITEM(all, 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 (3527:26): [True: 2, False: 0]
  ------------------
 3528|      0|        PyObject *func = PyObject_GetAttr(mod, name);
 3529|      2|        if (func == NULL) {
  ------------------
  |  Branch (3529:13): [True: 0, False: 2]
  ------------------
 3530|      0|            goto done;
 3531|      0|        }
 3532|      2|        int r = PyDict_SetItem(dict, name, func);
 3533|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3534|      2|        if (r < 0) {
  ------------------
  |  Branch (3534:13): [True: 0, False: 2]
  ------------------
 3535|      0|            goto done;
 3536|      0|        }
 3537|      2|    }
 3538|      2|    rc = 0;
 3539|       |
 3540|      2|done:
 3541|      2|    Py_XDECREF(all);
  ------------------
  |  |  524|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3542|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3543|      2|    return rc;
 3544|      2|}
_PyBuiltin_Init:
 3548|      2|{
 3549|      2|    PyObject *mod, *dict, *debug;
 3550|       |
 3551|      2|    const PyConfig *config = _PyInterpreterState_GetConfig(interp);
 3552|       |
 3553|      2|    mod = _PyModule_CreateInitialized(&builtinsmodule, PYTHON_API_VERSION);
  ------------------
  |  |   59|      2|#define PYTHON_API_VERSION 1013
  ------------------
 3554|      2|    if (mod == NULL)
  ------------------
  |  Branch (3554:9): [True: 0, False: 2]
  ------------------
 3555|      0|        return NULL;
 3556|       |#ifdef Py_GIL_DISABLED
 3557|       |    PyUnstable_Module_SetGIL(mod, Py_MOD_GIL_NOT_USED);
 3558|       |#endif
 3559|      2|    dict = PyModule_GetDict(mod);
 3560|       |
 3561|       |#ifdef Py_TRACE_REFS
 3562|       |    /* "builtins" exposes a number of statically allocated objects
 3563|       |     * that, before this code was added in 2.3, never showed up in
 3564|       |     * the list of "all objects" maintained by Py_TRACE_REFS.  As a
 3565|       |     * result, programs leaking references to None and False (etc)
 3566|       |     * couldn't be diagnosed by examining sys.getobjects(0).
 3567|       |     */
 3568|       |#define ADD_TO_ALL(OBJECT) _Py_AddToAllObjects((PyObject *)(OBJECT))
 3569|       |#else
 3570|      2|#define ADD_TO_ALL(OBJECT) (void)0
 3571|      2|#endif
 3572|       |
 3573|      2|#define SETBUILTIN(NAME, OBJECT) \
 3574|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
 3575|      2|        return NULL;                                                    \
 3576|      2|    ADD_TO_ALL(OBJECT)
 3577|       |
 3578|      2|    SETBUILTIN("None",                  Py_None);
  ------------------
  |  | 3574|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3574:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3575|      2|        return NULL;                                                    \
  |  | 3576|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3570|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3579|      2|    SETBUILTIN("Ellipsis",              Py_Ellipsis);
  ------------------
  |  | 3574|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3574:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3575|      2|        return NULL;                                                    \
  |  | 3576|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3570|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3580|      2|    SETBUILTIN("NotImplemented",        Py_NotImplemented);
  ------------------
  |  | 3574|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3574:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3575|      2|        return NULL;                                                    \
  |  | 3576|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3570|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3581|      2|    SETBUILTIN("False",                 Py_False);
  ------------------
  |  | 3574|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3574:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3575|      2|        return NULL;                                                    \
  |  | 3576|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3570|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3582|      2|    SETBUILTIN("True",                  Py_True);
  ------------------
  |  | 3574|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3574:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3575|      2|        return NULL;                                                    \
  |  | 3576|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3570|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3583|      2|    SETBUILTIN("bool",                  &PyBool_Type);
  ------------------
  |  | 3574|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3574:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3575|      2|        return NULL;                                                    \
  |  | 3576|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3570|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3584|      2|    SETBUILTIN("memoryview",            &PyMemoryView_Type);
  ------------------
  |  | 3574|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3574:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3575|      2|        return NULL;                                                    \
  |  | 3576|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3570|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3585|      2|    SETBUILTIN("bytearray",             &PyByteArray_Type);
  ------------------
  |  | 3574|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3574:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3575|      2|        return NULL;                                                    \
  |  | 3576|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3570|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3586|      2|    SETBUILTIN("bytes",                 &PyBytes_Type);
  ------------------
  |  | 3574|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3574:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3575|      2|        return NULL;                                                    \
  |  | 3576|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3570|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3587|      2|    SETBUILTIN("classmethod",           &PyClassMethod_Type);
  ------------------
  |  | 3574|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3574:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3575|      2|        return NULL;                                                    \
  |  | 3576|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3570|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3588|      2|    SETBUILTIN("complex",               &PyComplex_Type);
  ------------------
  |  | 3574|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3574:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3575|      2|        return NULL;                                                    \
  |  | 3576|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3570|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3589|      2|    SETBUILTIN("dict",                  &PyDict_Type);
  ------------------
  |  | 3574|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3574:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3575|      2|        return NULL;                                                    \
  |  | 3576|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3570|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3590|      2|    SETBUILTIN("enumerate",             &PyEnum_Type);
  ------------------
  |  | 3574|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3574:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3575|      2|        return NULL;                                                    \
  |  | 3576|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3570|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3591|      2|    SETBUILTIN("filter",                &PyFilter_Type);
  ------------------
  |  | 3574|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3574:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3575|      2|        return NULL;                                                    \
  |  | 3576|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3570|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3592|      2|    SETBUILTIN("float",                 &PyFloat_Type);
  ------------------
  |  | 3574|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3574:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3575|      2|        return NULL;                                                    \
  |  | 3576|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3570|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3593|      2|    SETBUILTIN("frozendict",            &PyFrozenDict_Type);
  ------------------
  |  | 3574|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3574:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3575|      2|        return NULL;                                                    \
  |  | 3576|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3570|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3594|      2|    SETBUILTIN("frozenset",             &PyFrozenSet_Type);
  ------------------
  |  | 3574|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3574:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3575|      2|        return NULL;                                                    \
  |  | 3576|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3570|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3595|      2|    SETBUILTIN("property",              &PyProperty_Type);
  ------------------
  |  | 3574|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3574:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3575|      2|        return NULL;                                                    \
  |  | 3576|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3570|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3596|      2|    SETBUILTIN("int",                   &PyLong_Type);
  ------------------
  |  | 3574|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3574:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3575|      2|        return NULL;                                                    \
  |  | 3576|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3570|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3597|      2|    SETBUILTIN("list",                  &PyList_Type);
  ------------------
  |  | 3574|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3574:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3575|      2|        return NULL;                                                    \
  |  | 3576|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3570|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3598|      2|    SETBUILTIN("map",                   &PyMap_Type);
  ------------------
  |  | 3574|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3574:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3575|      2|        return NULL;                                                    \
  |  | 3576|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3570|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3599|      2|    SETBUILTIN("object",                &PyBaseObject_Type);
  ------------------
  |  | 3574|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3574:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3575|      2|        return NULL;                                                    \
  |  | 3576|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3570|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3600|      2|    SETBUILTIN("range",                 &PyRange_Type);
  ------------------
  |  | 3574|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3574:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3575|      2|        return NULL;                                                    \
  |  | 3576|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3570|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3601|      2|    SETBUILTIN("reversed",              &PyReversed_Type);
  ------------------
  |  | 3574|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3574:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3575|      2|        return NULL;                                                    \
  |  | 3576|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3570|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3602|      2|    SETBUILTIN("sentinel",              &PySentinel_Type);
  ------------------
  |  | 3574|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3574:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3575|      2|        return NULL;                                                    \
  |  | 3576|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3570|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3603|      2|    SETBUILTIN("set",                   &PySet_Type);
  ------------------
  |  | 3574|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3574:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3575|      2|        return NULL;                                                    \
  |  | 3576|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3570|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3604|      2|    SETBUILTIN("slice",                 &PySlice_Type);
  ------------------
  |  | 3574|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3574:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3575|      2|        return NULL;                                                    \
  |  | 3576|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3570|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3605|      2|    SETBUILTIN("staticmethod",          &PyStaticMethod_Type);
  ------------------
  |  | 3574|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3574:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3575|      2|        return NULL;                                                    \
  |  | 3576|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3570|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3606|      2|    SETBUILTIN("str",                   &PyUnicode_Type);
  ------------------
  |  | 3574|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3574:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3575|      2|        return NULL;                                                    \
  |  | 3576|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3570|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3607|      2|    SETBUILTIN("super",                 &PySuper_Type);
  ------------------
  |  | 3574|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3574:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3575|      2|        return NULL;                                                    \
  |  | 3576|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3570|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3608|      2|    SETBUILTIN("tuple",                 &PyTuple_Type);
  ------------------
  |  | 3574|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3574:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3575|      2|        return NULL;                                                    \
  |  | 3576|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3570|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3609|      2|    SETBUILTIN("type",                  &PyType_Type);
  ------------------
  |  | 3574|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3574:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3575|      2|        return NULL;                                                    \
  |  | 3576|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3570|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3610|      2|    SETBUILTIN("zip",                   &PyZip_Type);
  ------------------
  |  | 3574|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3574:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3575|      2|        return NULL;                                                    \
  |  | 3576|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3570|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3611|      2|    debug = PyBool_FromLong(config->optimization_level == 0);
 3612|      2|    if (PyDict_SetItemString(dict, "__debug__", debug) < 0) {
  ------------------
  |  Branch (3612:9): [True: 0, False: 2]
  ------------------
 3613|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3614|      0|        return NULL;
 3615|      0|    }
 3616|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3617|       |
 3618|      2|    return mod;
 3619|      2|#undef ADD_TO_ALL
 3620|      2|#undef SETBUILTIN
 3621|      2|}
bltinmodule.c:map_dealloc:
 1554|      6|{
 1555|      6|    mapobject *lz = _mapobject_CAST(self);
  ------------------
  |  | 1448|      6|#define _mapobject_CAST(op)     ((mapobject *)(op))
  ------------------
 1556|      6|    PyObject_GC_UnTrack(lz);
 1557|      6|    Py_XDECREF(lz->iters);
  ------------------
  |  |  524|      6|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1558|      6|    Py_XDECREF(lz->func);
  ------------------
  |  |  524|      6|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1559|      6|    Py_TYPE(lz)->tp_free(lz);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1560|      6|}
bltinmodule.c:map_next:
 1573|     72|{
 1574|     72|    mapobject *lz = _mapobject_CAST(self);
  ------------------
  |  | 1448|     72|#define _mapobject_CAST(op)     ((mapobject *)(op))
  ------------------
 1575|     72|    Py_ssize_t i;
 1576|     72|    PyObject *small_stack[_PY_FASTCALL_SMALL_STACK];
 1577|     72|    PyObject **stack;
 1578|     72|    PyObject *result = NULL;
 1579|     72|    PyThreadState *tstate = _PyThreadState_GET();
 1580|       |
 1581|     72|    const Py_ssize_t niters = PyTuple_GET_SIZE(lz->iters);
  ------------------
  |  |   27|     72|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     72|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     72|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1582|     72|    if (niters <= (Py_ssize_t)Py_ARRAY_LENGTH(small_stack)) {
  ------------------
  |  |  221|     72|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (1582:9): [True: 72, False: 0]
  ------------------
 1583|     72|        stack = small_stack;
 1584|     72|    }
 1585|      0|    else {
 1586|      0|        stack = PyMem_Malloc(niters * sizeof(stack[0]));
 1587|      0|        if (stack == NULL) {
  ------------------
  |  Branch (1587:13): [True: 0, False: 0]
  ------------------
 1588|      0|            _PyErr_NoMemory(tstate);
 1589|      0|            return NULL;
 1590|      0|        }
 1591|      0|    }
 1592|       |
 1593|     72|    Py_ssize_t nargs = 0;
 1594|    139|    for (i = 0; i < niters; i++) {
  ------------------
  |  Branch (1594:17): [True: 72, False: 67]
  ------------------
 1595|     72|        PyObject *it = PyTuple_GET_ITEM(lz->iters, i);
  ------------------
  |  |   29|     72|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     72|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     72|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1595:24): [True: 72, False: 0]
  ------------------
 1596|     72|        PyObject *val = Py_TYPE(it)->tp_iternext(it);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1597|     72|        if (val == NULL) {
  ------------------
  |  Branch (1597:13): [True: 5, False: 67]
  ------------------
 1598|      5|            if (lz->strict) {
  ------------------
  |  Branch (1598:17): [True: 0, False: 5]
  ------------------
 1599|      0|                goto check;
 1600|      0|            }
 1601|      5|            goto exit_no_result;
 1602|      5|        }
 1603|     67|        stack[i] = val;
 1604|     67|        nargs++;
 1605|     67|    }
 1606|       |
 1607|     67|    result = _PyObject_VectorcallTstate(tstate, lz->func, stack, nargs, NULL);
 1608|     67|    goto exit;
 1609|       |
 1610|      0|check:
 1611|      0|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (1611:9): [True: 0, False: 0]
  ------------------
 1612|      0|        if (!PyErr_ExceptionMatches(PyExc_StopIteration)) {
  ------------------
  |  Branch (1612:13): [True: 0, False: 0]
  ------------------
 1613|       |            // next() on argument i raised an exception (not StopIteration)
 1614|      0|            goto exit_no_result;
 1615|      0|        }
 1616|      0|        PyErr_Clear();
 1617|      0|    }
 1618|      0|    if (i) {
  ------------------
  |  Branch (1618:9): [True: 0, False: 0]
  ------------------
 1619|       |        // ValueError: map() argument 2 is shorter than argument 1
 1620|       |        // ValueError: map() argument 3 is shorter than arguments 1-2
 1621|      0|        const char* plural = i == 1 ? " " : "s 1-";
  ------------------
  |  Branch (1621:30): [True: 0, False: 0]
  ------------------
 1622|      0|        PyErr_Format(PyExc_ValueError,
 1623|      0|                     "map() argument %zd is shorter than argument%s%zd",
 1624|      0|                     i + 1, plural, i);
 1625|      0|        goto exit_no_result;
 1626|      0|    }
 1627|      0|    for (i = 1; i < niters; i++) {
  ------------------
  |  Branch (1627:17): [True: 0, False: 0]
  ------------------
 1628|      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 (1628:24): [True: 0, False: 0]
  ------------------
 1629|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1630|      0|        if (val) {
  ------------------
  |  Branch (1630:13): [True: 0, False: 0]
  ------------------
 1631|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1632|      0|            const char* plural = i == 1 ? " " : "s 1-";
  ------------------
  |  Branch (1632:34): [True: 0, False: 0]
  ------------------
 1633|      0|            PyErr_Format(PyExc_ValueError,
 1634|      0|                         "map() argument %zd is longer than argument%s%zd",
 1635|      0|                         i + 1, plural, i);
 1636|      0|            goto exit_no_result;
 1637|      0|        }
 1638|      0|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (1638:13): [True: 0, False: 0]
  ------------------
 1639|      0|            if (!PyErr_ExceptionMatches(PyExc_StopIteration)) {
  ------------------
  |  Branch (1639:17): [True: 0, False: 0]
  ------------------
 1640|       |                // next() on argument i raised an exception (not StopIteration)
 1641|      0|                goto exit_no_result;
 1642|      0|            }
 1643|      0|            PyErr_Clear();
 1644|      0|        }
 1645|       |        // Argument i is exhausted. So far so good...
 1646|      0|    }
 1647|       |    // All arguments are exhausted. Success!
 1648|       |
 1649|      5|exit_no_result:
 1650|      5|    assert(result == NULL);
  ------------------
  |  Branch (1650:5): [True: 5, False: 0]
  ------------------
 1651|       |
 1652|     72|exit:
 1653|    139|    for (i = 0; i < nargs; i++) {
  ------------------
  |  Branch (1653:17): [True: 67, False: 72]
  ------------------
 1654|     67|        Py_DECREF(stack[i]);
  ------------------
  |  |  430|     67|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     67|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     67|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1655|     67|    }
 1656|     72|    if (stack != small_stack) {
  ------------------
  |  Branch (1656:9): [True: 0, False: 72]
  ------------------
 1657|      0|        PyMem_Free(stack);
 1658|      0|    }
 1659|     72|    return result;
 1660|      5|}
bltinmodule.c:map_vectorcall:
 1510|      6|{
 1511|      6|    PyTypeObject *tp = _PyType_CAST(type);
  ------------------
  |  |  770|      6|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1511:24): [True: 6, False: 0]
  ------------------
 1512|       |
 1513|      6|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|      6|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
 1514|      6|    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 (1514:9): [True: 0, False: 6]
  |  Branch (1514:28): [True: 0, False: 0]
  ------------------
 1515|       |        // Fallback to map_new()
 1516|      0|        PyThreadState *tstate = _PyThreadState_GET();
 1517|      0|        return _PyObject_MakeTpCall(tstate, type, args, nargs, kwnames);
 1518|      0|    }
 1519|       |
 1520|      6|    if (nargs < 2) {
  ------------------
  |  Branch (1520:9): [True: 0, False: 6]
  ------------------
 1521|      0|        PyErr_SetString(PyExc_TypeError,
 1522|      0|           "map() must have at least two arguments.");
 1523|      0|        return NULL;
 1524|      0|    }
 1525|       |
 1526|      6|    PyObject *iters = PyTuple_New(nargs-1);
 1527|      6|    if (iters == NULL) {
  ------------------
  |  Branch (1527:9): [True: 0, False: 6]
  ------------------
 1528|      0|        return NULL;
 1529|      0|    }
 1530|       |
 1531|     12|    for (int i=1; i<nargs; i++) {
  ------------------
  |  Branch (1531:19): [True: 6, False: 6]
  ------------------
 1532|      6|        PyObject *it = PyObject_GetIter(args[i]);
 1533|      6|        if (it == NULL) {
  ------------------
  |  Branch (1533:13): [True: 0, False: 6]
  ------------------
 1534|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1535|      0|            return NULL;
 1536|      0|        }
 1537|      6|        PyTuple_SET_ITEM(iters, i-1, it);
  ------------------
  |  |   40|      6|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1538|      6|    }
 1539|       |
 1540|      6|    mapobject *lz = (mapobject *)tp->tp_alloc(tp, 0);
 1541|      6|    if (lz == NULL) {
  ------------------
  |  Branch (1541:9): [True: 0, False: 6]
  ------------------
 1542|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1543|      0|        return NULL;
 1544|      0|    }
 1545|      6|    lz->iters = iters;
 1546|      6|    lz->func = Py_NewRef(args[0]);
  ------------------
  |  |  550|      6|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1547|      6|    lz->strict = 0;
 1548|       |
 1549|      6|    return (PyObject *)lz;
 1550|      6|}
bltinmodule.c:zip_dealloc:
 3224|      3|{
 3225|      3|    zipobject *lz = _zipobject_CAST(self);
  ------------------
  |  | 3153|      3|#define _zipobject_CAST(op)     ((zipobject *)(op))
  ------------------
 3226|      3|    PyObject_GC_UnTrack(lz);
 3227|      3|    Py_XDECREF(lz->ittuple);
  ------------------
  |  |  524|      3|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3228|      3|    Py_XDECREF(lz->result);
  ------------------
  |  |  524|      3|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3229|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3230|      3|}
bltinmodule.c:zip_next:
 3243|     69|{
 3244|     69|    zipobject *lz = _zipobject_CAST(self);
  ------------------
  |  | 3153|     69|#define _zipobject_CAST(op)     ((zipobject *)(op))
  ------------------
 3245|       |
 3246|     69|    Py_ssize_t i;
 3247|     69|    Py_ssize_t tuplesize = lz->tuplesize;
 3248|     69|    PyObject *result = lz->result;
 3249|     69|    PyObject *it;
 3250|     69|    PyObject *item;
 3251|     69|    PyObject *olditem;
 3252|       |
 3253|     69|    if (tuplesize == 0)
  ------------------
  |  Branch (3253:9): [True: 0, False: 69]
  ------------------
 3254|      0|        return NULL;
 3255|       |
 3256|     69|    if (_PyObject_IsUniquelyReferenced(result)) {
  ------------------
  |  Branch (3256:9): [True: 69, False: 0]
  ------------------
 3257|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3258|    205|        for (i=0 ; i < tuplesize ; i++) {
  ------------------
  |  Branch (3258:20): [True: 137, False: 68]
  ------------------
 3259|    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 (3259:18): [True: 137, False: 0]
  ------------------
 3260|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3261|    137|            if (item == NULL) {
  ------------------
  |  Branch (3261:17): [True: 1, False: 136]
  ------------------
 3262|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3263|      1|                if (lz->strict) {
  ------------------
  |  Branch (3263:21): [True: 0, False: 1]
  ------------------
 3264|      0|                    goto check;
 3265|      0|                }
 3266|      1|                return NULL;
 3267|      1|            }
 3268|    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 (3268:23): [True: 136, False: 0]
  ------------------
 3269|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3270|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3271|    136|        }
 3272|       |        // bpo-42536: The GC may have untracked this result tuple. Since we're
 3273|       |        // recycling it, make sure it's tracked again:
 3274|     68|        _PyTuple_Recycle(result);
 3275|     68|    } else {
 3276|      0|        result = PyTuple_New(tuplesize);
 3277|      0|        if (result == NULL)
  ------------------
  |  Branch (3277:13): [True: 0, False: 0]
  ------------------
 3278|      0|            return NULL;
 3279|      0|        for (i=0 ; i < tuplesize ; i++) {
  ------------------
  |  Branch (3279:20): [True: 0, False: 0]
  ------------------
 3280|      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 (3280:18): [True: 0, False: 0]
  ------------------
 3281|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3282|      0|            if (item == NULL) {
  ------------------
  |  Branch (3282:17): [True: 0, False: 0]
  ------------------
 3283|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3284|      0|                if (lz->strict) {
  ------------------
  |  Branch (3284:21): [True: 0, False: 0]
  ------------------
 3285|      0|                    goto check;
 3286|      0|                }
 3287|      0|                return NULL;
 3288|      0|            }
 3289|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3290|      0|        }
 3291|      0|    }
 3292|     68|    return result;
 3293|      0|check:
 3294|      0|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (3294:9): [True: 0, False: 0]
  ------------------
 3295|      0|        if (!PyErr_ExceptionMatches(PyExc_StopIteration)) {
  ------------------
  |  Branch (3295:13): [True: 0, False: 0]
  ------------------
 3296|       |            // next() on argument i raised an exception (not StopIteration)
 3297|      0|            return NULL;
 3298|      0|        }
 3299|      0|        PyErr_Clear();
 3300|      0|    }
 3301|      0|    if (i) {
  ------------------
  |  Branch (3301:9): [True: 0, False: 0]
  ------------------
 3302|       |        // ValueError: zip() argument 2 is shorter than argument 1
 3303|       |        // ValueError: zip() argument 3 is shorter than arguments 1-2
 3304|      0|        const char* plural = i == 1 ? " " : "s 1-";
  ------------------
  |  Branch (3304:30): [True: 0, False: 0]
  ------------------
 3305|      0|        return PyErr_Format(PyExc_ValueError,
 3306|      0|                            "zip() argument %zd is shorter than argument%s%zd",
 3307|      0|                            i + 1, plural, i);
 3308|      0|    }
 3309|      0|    for (i = 1; i < tuplesize; i++) {
  ------------------
  |  Branch (3309:17): [True: 0, False: 0]
  ------------------
 3310|      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 (3310:14): [True: 0, False: 0]
  ------------------
 3311|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3312|      0|        if (item) {
  ------------------
  |  Branch (3312:13): [True: 0, False: 0]
  ------------------
 3313|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3314|      0|            const char* plural = i == 1 ? " " : "s 1-";
  ------------------
  |  Branch (3314:34): [True: 0, False: 0]
  ------------------
 3315|      0|            return PyErr_Format(PyExc_ValueError,
 3316|      0|                                "zip() argument %zd is longer than argument%s%zd",
 3317|      0|                                i + 1, plural, i);
 3318|      0|        }
 3319|      0|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (3319:13): [True: 0, False: 0]
  ------------------
 3320|      0|            if (!PyErr_ExceptionMatches(PyExc_StopIteration)) {
  ------------------
  |  Branch (3320:17): [True: 0, False: 0]
  ------------------
 3321|       |                // next() on argument i raised an exception (not StopIteration)
 3322|      0|                return NULL;
 3323|      0|            }
 3324|      0|            PyErr_Clear();
 3325|      0|        }
 3326|       |        // Argument i is exhausted. So far so good...
 3327|      0|    }
 3328|       |    // All arguments are exhausted. Success!
 3329|      0|    return NULL;
 3330|      0|}
bltinmodule.c:zip_new:
 3157|      3|{
 3158|      3|    zipobject *lz;
 3159|      3|    Py_ssize_t i;
 3160|      3|    PyObject *ittuple;  /* tuple of iterators */
 3161|      3|    PyObject *result;
 3162|      3|    Py_ssize_t tuplesize;
 3163|      3|    int strict = 0;
 3164|       |
 3165|      3|    if (kwds) {
  ------------------
  |  Branch (3165:9): [True: 0, False: 3]
  ------------------
 3166|      0|        PyObject *empty = PyTuple_New(0);
 3167|      0|        if (empty == NULL) {
  ------------------
  |  Branch (3167:13): [True: 0, False: 0]
  ------------------
 3168|      0|            return NULL;
 3169|      0|        }
 3170|      0|        static char *kwlist[] = {"strict", NULL};
 3171|      0|        int parsed = PyArg_ParseTupleAndKeywords(
 3172|      0|                empty, kwds, "|$p:zip", kwlist, &strict);
 3173|      0|        Py_DECREF(empty);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3174|      0|        if (!parsed) {
  ------------------
  |  Branch (3174:13): [True: 0, False: 0]
  ------------------
 3175|      0|            return NULL;
 3176|      0|        }
 3177|      0|    }
 3178|       |
 3179|       |    /* args must be a tuple */
 3180|      3|    assert(PyTuple_Check(args));
  ------------------
  |  Branch (3180:5): [True: 3, False: 0]
  ------------------
 3181|      3|    tuplesize = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|      3|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3182|       |
 3183|       |    /* obtain iterators */
 3184|      3|    ittuple = PyTuple_New(tuplesize);
 3185|      3|    if (ittuple == NULL)
  ------------------
  |  Branch (3185:9): [True: 0, False: 3]
  ------------------
 3186|      0|        return NULL;
 3187|      5|    for (i=0; i < tuplesize; ++i) {
  ------------------
  |  Branch (3187:15): [True: 2, False: 3]
  ------------------
 3188|      2|        PyObject *item = PyTuple_GET_ITEM(args, i);
  ------------------
  |  |   29|      2|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      2|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3188:26): [True: 2, False: 0]
  ------------------
 3189|      0|        PyObject *it = PyObject_GetIter(item);
 3190|      2|        if (it == NULL) {
  ------------------
  |  Branch (3190:13): [True: 0, False: 2]
  ------------------
 3191|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3192|      0|            return NULL;
 3193|      0|        }
 3194|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3195|      2|    }
 3196|       |
 3197|       |    /* create a result holder */
 3198|      3|    result = PyTuple_New(tuplesize);
 3199|      3|    if (result == NULL) {
  ------------------
  |  Branch (3199:9): [True: 0, False: 3]
  ------------------
 3200|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3201|      0|        return NULL;
 3202|      0|    }
 3203|      5|    for (i=0 ; i < tuplesize ; i++) {
  ------------------
  |  Branch (3203:16): [True: 2, False: 3]
  ------------------
 3204|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3205|      2|    }
 3206|       |
 3207|       |    /* create zipobject structure */
 3208|      3|    lz = (zipobject *)type->tp_alloc(type, 0);
 3209|      3|    if (lz == NULL) {
  ------------------
  |  Branch (3209:9): [True: 0, False: 3]
  ------------------
 3210|      0|        Py_DECREF(ittuple);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3211|      0|        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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3212|      0|        return NULL;
 3213|      0|    }
 3214|      3|    lz->ittuple = ittuple;
 3215|      3|    lz->tuplesize = tuplesize;
 3216|      3|    lz->result = result;
 3217|      3|    lz->strict = strict;
 3218|       |
 3219|      3|    return (PyObject *)lz;
 3220|      3|}
bltinmodule.c:builtin___build_class__:
  105|    241|{
  106|    241|    PyObject *func, *name, *winner, *prep;
  107|    241|    PyObject *cls = NULL, *cell = NULL, *ns = NULL, *meta = NULL, *orig_bases = NULL;
  108|    241|    PyObject *mkw = NULL, *bases = NULL;
  109|    241|    int isclass = 0;   /* initialize to prevent gcc warning */
  110|       |
  111|    241|    if (nargs < 2) {
  ------------------
  |  Branch (111:9): [True: 0, False: 241]
  ------------------
  112|      0|        PyErr_SetString(PyExc_TypeError,
  113|      0|                        "__build_class__: not enough arguments");
  114|      0|        return NULL;
  115|      0|    }
  116|    241|    func = args[0];   /* Better be callable */
  117|    241|    if (!PyFunction_Check(func)) {
  ------------------
  |  |   68|    241|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  ------------------
  |  |  |  |  215|    241|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    241|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    241|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (117:9): [True: 0, False: 241]
  ------------------
  118|      0|        PyErr_SetString(PyExc_TypeError,
  119|      0|                        "__build_class__: func must be a function");
  120|      0|        return NULL;
  121|      0|    }
  122|    241|    name = args[1];
  123|    241|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|    241|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    241|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (123:9): [True: 0, False: 241]
  ------------------
  124|      0|        PyErr_SetString(PyExc_TypeError,
  125|      0|                        "__build_class__: name is not a string");
  126|      0|        return NULL;
  127|      0|    }
  128|    241|    orig_bases = PyTuple_FromArray(args + 2, nargs - 2);
  129|    241|    if (orig_bases == NULL)
  ------------------
  |  Branch (129:9): [True: 0, False: 241]
  ------------------
  130|      0|        return NULL;
  131|       |
  132|    241|    bases = update_bases(orig_bases, args + 2, nargs - 2);
  133|    241|    if (bases == NULL) {
  ------------------
  |  Branch (133:9): [True: 0, False: 241]
  ------------------
  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|    241|    if (kwnames == NULL) {
  ------------------
  |  Branch (138:9): [True: 215, False: 26]
  ------------------
  139|    215|        meta = NULL;
  140|    215|        mkw = NULL;
  141|    215|    }
  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) {
  ------------------
  |  |  936|     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|    241|    if (meta == NULL) {
  ------------------
  |  Branch (156:9): [True: 217, False: 24]
  ------------------
  157|       |        /* if there are no bases, use type: */
  158|    217|        if (PyTuple_GET_SIZE(bases) == 0) {
  ------------------
  |  |   27|    217|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    217|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    217|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (158:13): [True: 75, False: 142]
  ------------------
  159|     75|            meta = (PyObject *) (&PyType_Type);
  160|     75|        }
  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|    217|        Py_INCREF(meta);
  ------------------
  |  |  310|    217|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    217|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    217|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  167|    217|        isclass = 1;  /* meta is really a class */
  168|    217|    }
  169|       |
  170|    241|    if (isclass) {
  ------------------
  |  Branch (170:9): [True: 241, False: 0]
  ------------------
  171|       |        /* meta is really a class, so check for a more derived
  172|       |           metaclass, or possible metaclass conflicts: */
  173|    241|        winner = (PyObject *)_PyType_CalculateMetaclass((PyTypeObject *)meta,
  174|    241|                                                        bases);
  175|    241|        if (winner == NULL) {
  ------------------
  |  Branch (175:13): [True: 0, False: 241]
  ------------------
  176|      0|            goto error;
  177|      0|        }
  178|    241|        if (winner != meta) {
  ------------------
  |  Branch (178:13): [True: 6, False: 235]
  ------------------
  179|      6|            Py_SETREF(meta, Py_NewRef(winner));
  ------------------
  |  |  354|      6|    do { \
  |  |  355|      6|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      6|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      6|        *_tmp_dst_ptr = (src); \
  |  |  358|      6|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
  180|      6|        }
  181|    241|    }
  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|    241|    if (PyObject_GetOptionalAttr(meta, &_Py_ID(__prepare__), &prep) < 0) {
  ------------------
  |  |  936|    241|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    241|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    241|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (184:9): [True: 0, False: 241]
  ------------------
  185|      0|        ns = NULL;
  186|      0|    }
  187|    241|    else if (prep == NULL) {
  ------------------
  |  Branch (187:14): [True: 0, False: 241]
  ------------------
  188|      0|        ns = PyDict_New();
  189|      0|    }
  190|    241|    else {
  191|    241|        PyObject *pargs[2] = {name, bases};
  192|    241|        ns = PyObject_VectorcallDict(prep, pargs, 2, mkw);
  193|    241|        Py_DECREF(prep);
  ------------------
  |  |  430|    241|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    241|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    241|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  194|    241|    }
  195|    241|    if (ns == NULL) {
  ------------------
  |  Branch (195:9): [True: 0, False: 241]
  ------------------
  196|      0|        goto error;
  197|      0|    }
  198|    241|    if (!PyMapping_Check(ns)) {
  ------------------
  |  Branch (198:9): [True: 0, False: 241]
  ------------------
  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|    241|    PyThreadState *tstate = _PyThreadState_GET();
  206|    241|    EVAL_CALL_STAT_INC(EVAL_CALL_BUILD_CLASS);
  ------------------
  |  |   79|    241|#define EVAL_CALL_STAT_INC(name) ((void)0)
  ------------------
  207|    241|    cell = _PyEval_Vector(tstate, (PyFunctionObject *)func, ns, NULL, 0, NULL);
  208|    241|    if (cell != NULL) {
  ------------------
  |  Branch (208:9): [True: 241, False: 0]
  ------------------
  209|    241|        if (bases != orig_bases) {
  ------------------
  |  Branch (209:13): [True: 0, False: 241]
  ------------------
  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|    241|        PyObject *margs[3] = {name, bases, ns};
  215|    241|        cls = PyObject_VectorcallDict(meta, margs, 3, mkw);
  216|    241|        if (cls != NULL && PyType_Check(cls) && PyCell_Check(cell)) {
  ------------------
  |  |  766|    482|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    241|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    241|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 241, False: 0]
  |  |  ------------------
  ------------------
                      if (cls != NULL && PyType_Check(cls) && PyCell_Check(cell)) {
  ------------------
  |  |   18|    241|#define PyCell_Check(op) Py_IS_TYPE((op), &PyCell_Type)
  |  |  ------------------
  |  |  |  |  215|    241|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    241|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    241|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 20, False: 221]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (216:13): [True: 241, 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);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) 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);
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  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|    241|    }
  238|    241|error:
  239|    241|    Py_XDECREF(cell);
  ------------------
  |  |  524|    241|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    241|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    241|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  240|    241|    Py_XDECREF(ns);
  ------------------
  |  |  524|    241|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    241|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    241|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  241|    241|    Py_XDECREF(meta);
  ------------------
  |  |  524|    241|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    241|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    241|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  242|    241|    Py_XDECREF(mkw);
  ------------------
  |  |  524|    241|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    241|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    241|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  243|    241|    if (bases != orig_bases) {
  ------------------
  |  Branch (243:9): [True: 0, False: 241]
  ------------------
  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|    241|    Py_DECREF(bases);
  ------------------
  |  |  430|    241|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    241|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    241|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  247|    241|    return cls;
  248|    241|}
bltinmodule.c:update_bases:
   31|    241|{
   32|    241|    Py_ssize_t i, j;
   33|    241|    PyObject *base, *meth, *new_base, *result, *new_bases = NULL;
   34|    241|    assert(PyTuple_Check(bases));
  ------------------
  |  Branch (34:5): [True: 241, False: 0]
  ------------------
   35|       |
   36|    413|    for (i = 0; i < nargs; i++) {
  ------------------
  |  Branch (36:17): [True: 172, False: 241]
  ------------------
   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) {
  ------------------
  |  |  936|      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|    241|    if (!new_bases) {
  ------------------
  |  Branch (89:9): [True: 241, False: 0]
  ------------------
   90|    241|        return bases;
   91|    241|    }
   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);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) 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|    241|}
bltinmodule.c:builtin___import___impl:
  286|     95|{
  287|     95|    return PyImport_ImportModuleLevelObject(name, globals, locals,
  288|     95|                                            fromlist, level);
  289|     95|}
bltinmodule.c:builtin_callable:
  530|      7|{
  531|      7|    return PyBool_FromLong((long)PyCallable_Check(obj));
  532|      7|}
bltinmodule.c:builtin_chr:
  793|     24|{
  794|     24|    int overflow;
  795|     24|    long v = PyLong_AsLongAndOverflow(i, &overflow);
  796|     24|    if (v == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (796:9): [True: 0, False: 24]
  |  Branch (796:20): [True: 0, False: 0]
  ------------------
  797|      0|        return NULL;
  798|      0|    }
  799|     24|    if (overflow) {
  ------------------
  |  Branch (799:9): [True: 0, False: 24]
  ------------------
  800|      0|        v = overflow < 0 ? INT_MIN : INT_MAX;
  ------------------
  |  Branch (800:13): [True: 0, False: 0]
  ------------------
  801|       |        /* Allow PyUnicode_FromOrdinal() to raise an exception */
  802|      0|    }
  803|     24|#if SIZEOF_INT < SIZEOF_LONG
  804|     24|    else if (v < INT_MIN) {
  ------------------
  |  Branch (804:14): [True: 0, False: 24]
  ------------------
  805|      0|        v = INT_MIN;
  806|      0|    }
  807|     24|    else if (v > INT_MAX) {
  ------------------
  |  Branch (807:14): [True: 0, False: 24]
  ------------------
  808|       |        v = INT_MAX;
  809|      0|    }
  810|     24|#endif
  811|     24|    return PyUnicode_FromOrdinal(v);
  812|     24|}
bltinmodule.c:builtin_compile_impl:
  849|     37|{
  850|     37|    PyObject *source_copy;
  851|     37|    const char *str;
  852|     37|    int compile_mode = -1;
  853|     37|    int is_ast;
  854|     37|    int start[] = {Py_file_input, Py_eval_input, Py_single_input, Py_func_type_input};
  ------------------
  |  |    9|     37|#define Py_file_input 257
  ------------------
                  int start[] = {Py_file_input, Py_eval_input, Py_single_input, Py_func_type_input};
  ------------------
  |  |   10|     37|#define Py_eval_input 258
  ------------------
                  int start[] = {Py_file_input, Py_eval_input, Py_single_input, Py_func_type_input};
  ------------------
  |  |    8|     37|#define Py_single_input 256
  ------------------
                  int start[] = {Py_file_input, Py_eval_input, Py_single_input, Py_func_type_input};
  ------------------
  |  |   11|     37|#define Py_func_type_input 345
  ------------------
  855|     37|    PyObject *result;
  856|       |
  857|     37|    PyCompilerFlags cf = _PyCompilerFlags_INIT;
  ------------------
  |  |   33|     37|    (PyCompilerFlags){.cf_flags = 0, .cf_feature_version = PY_MINOR_VERSION}
  |  |  ------------------
  |  |  |  |   24|     37|#define PY_MINOR_VERSION        16
  |  |  ------------------
  ------------------
  858|     37|    cf.cf_flags = flags | PyCF_SOURCE_IS_UTF8;
  ------------------
  |  |   15|     37|#define PyCF_SOURCE_IS_UTF8  0x0100
  ------------------
  859|     37|    if (feature_version >= 0 && (flags & PyCF_ONLY_AST)) {
  ------------------
  |  |   17|      0|#define PyCF_ONLY_AST 0x0400
  ------------------
  |  Branch (859:9): [True: 0, False: 37]
  |  Branch (859:33): [True: 0, False: 0]
  ------------------
  860|      0|        cf.cf_feature_version = feature_version;
  861|      0|    }
  862|       |
  863|     37|    if (flags &
  ------------------
  |  Branch (863:9): [True: 0, False: 37]
  ------------------
  864|     37|        ~(PyCF_MASK | PyCF_MASK_OBSOLETE | PyCF_COMPILE_MASK))
  ------------------
  |  |    6|     37|#define PyCF_MASK (CO_FUTURE_DIVISION | CO_FUTURE_ABSOLUTE_IMPORT | \
  |  |  ------------------
  |  |  |  |  139|     37|#define CO_FUTURE_DIVISION      0x20000
  |  |  ------------------
  |  |               #define PyCF_MASK (CO_FUTURE_DIVISION | CO_FUTURE_ABSOLUTE_IMPORT | \
  |  |  ------------------
  |  |  |  |  140|     37|#define CO_FUTURE_ABSOLUTE_IMPORT 0x40000 /* do absolute imports by default */
  |  |  ------------------
  |  |    7|     37|                   CO_FUTURE_WITH_STATEMENT | CO_FUTURE_PRINT_FUNCTION | \
  |  |  ------------------
  |  |  |  |  141|     37|#define CO_FUTURE_WITH_STATEMENT  0x80000
  |  |  ------------------
  |  |                                  CO_FUTURE_WITH_STATEMENT | CO_FUTURE_PRINT_FUNCTION | \
  |  |  ------------------
  |  |  |  |  142|     37|#define CO_FUTURE_PRINT_FUNCTION  0x100000
  |  |  ------------------
  |  |    8|     37|                   CO_FUTURE_UNICODE_LITERALS | CO_FUTURE_BARRY_AS_BDFL | \
  |  |  ------------------
  |  |  |  |  143|     37|#define CO_FUTURE_UNICODE_LITERALS 0x200000
  |  |  ------------------
  |  |                                  CO_FUTURE_UNICODE_LITERALS | CO_FUTURE_BARRY_AS_BDFL | \
  |  |  ------------------
  |  |  |  |  145|     37|#define CO_FUTURE_BARRY_AS_BDFL  0x400000
  |  |  ------------------
  |  |    9|     37|                   CO_FUTURE_GENERATOR_STOP | CO_FUTURE_ANNOTATIONS)
  |  |  ------------------
  |  |  |  |  146|     37|#define CO_FUTURE_GENERATOR_STOP  0x800000
  |  |  ------------------
  |  |                                  CO_FUTURE_GENERATOR_STOP | CO_FUTURE_ANNOTATIONS)
  |  |  ------------------
  |  |  |  |  147|     37|#define CO_FUTURE_ANNOTATIONS    0x1000000
  |  |  ------------------
  ------------------
                      ~(PyCF_MASK | PyCF_MASK_OBSOLETE | PyCF_COMPILE_MASK))
  ------------------
  |  |   10|     37|#define PyCF_MASK_OBSOLETE (CO_NESTED)
  |  |  ------------------
  |  |  |  |  126|     37|#define CO_NESTED       0x0010
  |  |  ------------------
  ------------------
                      ~(PyCF_MASK | PyCF_MASK_OBSOLETE | PyCF_COMPILE_MASK))
  ------------------
  |  |   23|     37|#define PyCF_COMPILE_MASK (PyCF_ONLY_AST | PyCF_ALLOW_TOP_LEVEL_AWAIT | \
  |  |  ------------------
  |  |  |  |   17|     37|#define PyCF_ONLY_AST 0x0400
  |  |  ------------------
  |  |               #define PyCF_COMPILE_MASK (PyCF_ONLY_AST | PyCF_ALLOW_TOP_LEVEL_AWAIT | \
  |  |  ------------------
  |  |  |  |   20|     37|#define PyCF_ALLOW_TOP_LEVEL_AWAIT 0x2000
  |  |  ------------------
  |  |   24|     37|                           PyCF_TYPE_COMMENTS | PyCF_DONT_IMPLY_DEDENT | \
  |  |  ------------------
  |  |  |  |   19|     37|#define PyCF_TYPE_COMMENTS 0x1000
  |  |  ------------------
  |  |                                          PyCF_TYPE_COMMENTS | PyCF_DONT_IMPLY_DEDENT | \
  |  |  ------------------
  |  |  |  |   16|     37|#define PyCF_DONT_IMPLY_DEDENT 0x0200
  |  |  ------------------
  |  |   25|     37|                           PyCF_ALLOW_INCOMPLETE_INPUT | PyCF_OPTIMIZED_AST)
  |  |  ------------------
  |  |  |  |   21|     37|#define PyCF_ALLOW_INCOMPLETE_INPUT 0x4000
  |  |  ------------------
  |  |                                          PyCF_ALLOW_INCOMPLETE_INPUT | PyCF_OPTIMIZED_AST)
  |  |  ------------------
  |  |  |  |   22|     37|#define PyCF_OPTIMIZED_AST (0x8000 | PyCF_ONLY_AST)
  |  |  |  |  ------------------
  |  |  |  |  |  |   17|     37|#define PyCF_ONLY_AST 0x0400
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  865|      0|    {
  866|      0|        PyErr_SetString(PyExc_ValueError,
  867|      0|                        "compile(): unrecognised flags");
  868|      0|        goto error;
  869|      0|    }
  870|       |    /* XXX Warn if (supplied_flags & PyCF_MASK_OBSOLETE) != 0? */
  871|       |
  872|     37|    if (optimize < -1 || optimize > 2) {
  ------------------
  |  Branch (872:9): [True: 0, False: 37]
  |  Branch (872:26): [True: 0, False: 37]
  ------------------
  873|      0|        PyErr_SetString(PyExc_ValueError,
  874|      0|                        "compile(): invalid optimize value");
  875|      0|        goto error;
  876|      0|    }
  877|     37|    if (modname == Py_None) {
  ------------------
  |  |  616|     37|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (877:9): [True: 37, False: 0]
  ------------------
  878|     37|        modname = NULL;
  879|     37|    }
  880|      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 (880:14): [True: 0, False: 0]
  ------------------
  881|      0|        PyErr_Format(PyExc_TypeError,
  882|      0|                     "compile() argument 'module' must be str or None, not %T",
  883|      0|                     modname);
  884|      0|        goto error;
  885|      0|    }
  886|       |
  887|     37|    if (!dont_inherit) {
  ------------------
  |  Branch (887:9): [True: 37, False: 0]
  ------------------
  888|     37|        PyEval_MergeCompilerFlags(&cf);
  889|     37|    }
  890|       |
  891|     37|    if (strcmp(mode, "exec") == 0)
  ------------------
  |  Branch (891:9): [True: 0, False: 37]
  ------------------
  892|      0|        compile_mode = 0;
  893|     37|    else if (strcmp(mode, "eval") == 0)
  ------------------
  |  Branch (893:14): [True: 37, False: 0]
  ------------------
  894|     37|        compile_mode = 1;
  895|      0|    else if (strcmp(mode, "single") == 0)
  ------------------
  |  Branch (895:14): [True: 0, False: 0]
  ------------------
  896|      0|        compile_mode = 2;
  897|      0|    else if (strcmp(mode, "func_type") == 0) {
  ------------------
  |  Branch (897:14): [True: 0, False: 0]
  ------------------
  898|      0|        if (!(flags & PyCF_ONLY_AST)) {
  ------------------
  |  |   17|      0|#define PyCF_ONLY_AST 0x0400
  ------------------
  |  Branch (898:13): [True: 0, False: 0]
  ------------------
  899|      0|            PyErr_SetString(PyExc_ValueError,
  900|      0|                            "compile() mode 'func_type' requires flag PyCF_ONLY_AST");
  901|      0|            goto error;
  902|      0|        }
  903|      0|        compile_mode = 3;
  904|      0|    }
  905|      0|    else {
  906|      0|        const char *msg;
  907|      0|        if (flags & PyCF_ONLY_AST)
  ------------------
  |  |   17|      0|#define PyCF_ONLY_AST 0x0400
  ------------------
  |  Branch (907:13): [True: 0, False: 0]
  ------------------
  908|      0|            msg = "compile() mode must be 'exec', 'eval', 'single' or 'func_type'";
  909|      0|        else
  910|      0|            msg = "compile() mode must be 'exec', 'eval' or 'single'";
  911|      0|        PyErr_SetString(PyExc_ValueError, msg);
  912|      0|        goto error;
  913|      0|    }
  914|       |
  915|     37|    is_ast = PyAST_Check(source);
  916|     37|    if (is_ast == -1)
  ------------------
  |  Branch (916:9): [True: 0, False: 37]
  ------------------
  917|      0|        goto error;
  918|     37|    if (is_ast) {
  ------------------
  |  Branch (918:9): [True: 0, False: 37]
  ------------------
  919|      0|        PyArena *arena = _PyArena_New();
  920|      0|        if (arena == NULL) {
  ------------------
  |  Branch (920:13): [True: 0, False: 0]
  ------------------
  921|      0|            goto error;
  922|      0|        }
  923|       |
  924|      0|        if (flags & PyCF_ONLY_AST) {
  ------------------
  |  |   17|      0|#define PyCF_ONLY_AST 0x0400
  ------------------
  |  Branch (924:13): [True: 0, False: 0]
  ------------------
  925|      0|            mod_ty mod = PyAST_obj2mod(source, arena, compile_mode);
  926|      0|            if (mod == NULL || !_PyAST_Validate(mod)) {
  ------------------
  |  Branch (926:17): [True: 0, False: 0]
  |  Branch (926:32): [True: 0, False: 0]
  ------------------
  927|      0|                _PyArena_Free(arena);
  928|      0|                goto error;
  929|      0|            }
  930|      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
  ------------------
  931|      0|            if (_PyCompile_AstPreprocess(mod, filename, &cf, optimize, arena,
  ------------------
  |  Branch (931:17): [True: 0, False: 0]
  ------------------
  932|      0|                                         syntax_check_only, modname) < 0)
  933|      0|            {
  934|      0|                _PyArena_Free(arena);
  935|      0|                goto error;
  936|      0|            }
  937|      0|            result = PyAST_mod2obj(mod);
  938|      0|        }
  939|      0|        else {
  940|      0|            mod_ty mod = PyAST_obj2mod(source, arena, compile_mode);
  941|      0|            if (mod == NULL || !_PyAST_Validate(mod)) {
  ------------------
  |  Branch (941:17): [True: 0, False: 0]
  |  Branch (941:32): [True: 0, False: 0]
  ------------------
  942|      0|                _PyArena_Free(arena);
  943|      0|                goto error;
  944|      0|            }
  945|      0|            result = (PyObject*)_PyAST_Compile(mod, filename,
  946|      0|                                               &cf, optimize, arena, modname);
  947|      0|        }
  948|      0|        _PyArena_Free(arena);
  949|      0|        goto finally;
  950|      0|    }
  951|       |
  952|     37|    str = _Py_SourceAsString(source, "compile", "string, bytes or AST", &cf, &source_copy);
  953|     37|    if (str == NULL)
  ------------------
  |  Branch (953:9): [True: 0, False: 37]
  ------------------
  954|      0|        goto error;
  955|       |
  956|       |#ifdef Py_GIL_DISABLED
  957|       |    // Disable immortalization of code constants for explicit
  958|       |    // compile() calls to get consistent frozen outputs between the default
  959|       |    // and free-threaded builds.
  960|       |    _PyThreadStateImpl *tstate = (_PyThreadStateImpl *)_PyThreadState_GET();
  961|       |    tstate->suppress_co_const_immortalization++;
  962|       |#endif
  963|       |
  964|     37|    result = _Py_CompileString(str, filename,
  965|     37|                               start[compile_mode], &cf,
  966|     37|                               optimize, modname);
  967|       |
  968|       |#ifdef Py_GIL_DISABLED
  969|       |    tstate->suppress_co_const_immortalization--;
  970|       |#endif
  971|       |
  972|     37|    Py_XDECREF(source_copy);
  ------------------
  |  |  524|     37|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     37|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     37|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  973|     37|    goto finally;
  974|       |
  975|      0|error:
  976|      0|    result = NULL;
  977|     37|finally:
  978|     37|    return result;
  979|      0|}
bltinmodule.c:builtin_delattr_impl:
 1842|     36|{
 1843|     36|    if (PyObject_DelAttr(obj, name) < 0) {
  ------------------
  |  Branch (1843:9): [True: 0, False: 36]
  ------------------
 1844|      0|        return NULL;
 1845|      0|    }
 1846|     36|    Py_RETURN_NONE;
  ------------------
  |  |  628|     36|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     36|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1847|     36|}
bltinmodule.c:builtin_dir:
  984|      2|{
  985|      2|    PyObject *arg = NULL;
  986|       |
  987|      2|    if (!PyArg_UnpackTuple(args, "dir", 0, 1, &arg))
  ------------------
  |  Branch (987:9): [True: 0, False: 2]
  ------------------
  988|      0|        return NULL;
  989|      2|    return PyObject_Dir(arg);
  990|      2|}
bltinmodule.c:builtin_eval_impl:
 1045|      2|{
 1046|      2|    PyThreadState *tstate = _PyThreadState_GET();
 1047|      2|    PyObject *result = NULL, *source_copy;
 1048|      2|    const char *str;
 1049|       |
 1050|      2|    if (locals != Py_None && !PyMapping_Check(locals)) {
  ------------------
  |  |  616|      4|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1050:9): [True: 0, False: 2]
  |  Branch (1050:30): [True: 0, False: 0]
  ------------------
 1051|      0|        PyErr_SetString(PyExc_TypeError, "locals must be a mapping");
 1052|      0|        return NULL;
 1053|      0|    }
 1054|      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 (1054:9): [True: 2, False: 0]
  ------------------
 1055|      0|        PyErr_SetString(PyExc_TypeError, PyMapping_Check(globals) ?
  ------------------
  |  Branch (1055:42): [True: 0, False: 0]
  ------------------
 1056|      0|            "globals must be a real dict or a frozendict; "
 1057|      0|            "try eval(expr, {}, mapping)"
 1058|      0|            : "globals must be a dict or a frozendict");
 1059|      0|        return NULL;
 1060|      0|    }
 1061|       |
 1062|      2|    int fromframe = 0;
 1063|      2|    if (globals != Py_None) {
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1063:9): [True: 2, False: 0]
  ------------------
 1064|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1065|      2|    }
 1066|      0|    else if (_PyEval_GetFrame() != NULL) {
  ------------------
  |  Branch (1066:14): [True: 0, False: 0]
  ------------------
 1067|      0|        fromframe = 1;
 1068|      0|        globals = PyEval_GetGlobals();
 1069|      0|        assert(globals != NULL);
  ------------------
  |  Branch (1069:9): [True: 0, False: 0]
  ------------------
 1070|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1071|      0|    }
 1072|      0|    else {
 1073|      0|        globals = _PyEval_GetGlobalsFromRunningMain(tstate);
 1074|      0|        if (globals == NULL) {
  ------------------
  |  Branch (1074:13): [True: 0, False: 0]
  ------------------
 1075|      0|            if (!_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (1075:17): [True: 0, False: 0]
  ------------------
 1076|      0|                PyErr_SetString(PyExc_TypeError,
 1077|      0|                    "eval must be given globals and locals "
 1078|      0|                    "when called without a frame");
 1079|      0|            }
 1080|      0|            return NULL;
 1081|      0|        }
 1082|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1083|      0|    }
 1084|       |
 1085|      2|    if (locals != Py_None) {
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1085:9): [True: 0, False: 2]
  ------------------
 1086|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1087|      0|    }
 1088|      2|    else if (fromframe) {
  ------------------
  |  Branch (1088:14): [True: 0, False: 2]
  ------------------
 1089|      0|        locals = _PyEval_GetFrameLocals();
 1090|      0|        if (locals == NULL) {
  ------------------
  |  Branch (1090:13): [True: 0, False: 0]
  ------------------
 1091|      0|            assert(PyErr_Occurred());
  ------------------
  |  Branch (1091:13): [True: 0, False: 0]
  ------------------
 1092|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1093|      0|            return NULL;
 1094|      0|        }
 1095|      0|    }
 1096|      2|    else {
 1097|      2|        locals = Py_NewRef(globals);
  ------------------
  |  |  550|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1098|      2|    }
 1099|       |
 1100|      2|    if (_PyEval_EnsureBuiltins(tstate, globals, NULL) < 0) {
  ------------------
  |  Branch (1100:9): [True: 0, False: 2]
  ------------------
 1101|      0|        goto error;
 1102|      0|    }
 1103|       |
 1104|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1105|      0|        if (PySys_Audit("exec", "O", source) < 0) {
  ------------------
  |  Branch (1105:13): [True: 0, False: 0]
  ------------------
 1106|      0|            goto error;
 1107|      0|        }
 1108|       |
 1109|      0|        if (PyCode_GetNumFree((PyCodeObject *)source) > 0) {
  ------------------
  |  Branch (1109:13): [True: 0, False: 0]
  ------------------
 1110|      0|            PyErr_SetString(PyExc_TypeError,
 1111|      0|                "code object passed to eval() may not contain free variables");
 1112|      0|            goto error;
 1113|      0|        }
 1114|      0|        result = PyEval_EvalCode(source, globals, locals);
 1115|      0|    }
 1116|      2|    else {
 1117|      2|        PyCompilerFlags cf = _PyCompilerFlags_INIT;
  ------------------
  |  |   33|      2|    (PyCompilerFlags){.cf_flags = 0, .cf_feature_version = PY_MINOR_VERSION}
  |  |  ------------------
  |  |  |  |   24|      2|#define PY_MINOR_VERSION        16
  |  |  ------------------
  ------------------
 1118|      2|        cf.cf_flags = PyCF_SOURCE_IS_UTF8;
  ------------------
  |  |   15|      2|#define PyCF_SOURCE_IS_UTF8  0x0100
  ------------------
 1119|      2|        str = _Py_SourceAsString(source, "eval", "string, bytes or code", &cf, &source_copy);
 1120|      2|        if (str == NULL)
  ------------------
  |  Branch (1120:13): [True: 0, False: 2]
  ------------------
 1121|      0|            goto error;
 1122|       |
 1123|      2|        while (*str == ' ' || *str == '\t')
  ------------------
  |  Branch (1123:16): [True: 0, False: 2]
  |  Branch (1123:31): [True: 0, False: 2]
  ------------------
 1124|      0|            str++;
 1125|       |
 1126|      2|        (void)PyEval_MergeCompilerFlags(&cf);
 1127|       |#ifdef Py_GIL_DISABLED
 1128|       |        // Don't immortalize code constants for explicit eval() calls
 1129|       |        // to avoid memory leaks.
 1130|       |        _PyThreadStateImpl *tstate = (_PyThreadStateImpl *)_PyThreadState_GET();
 1131|       |        tstate->suppress_co_const_immortalization++;
 1132|       |#endif
 1133|      2|        result = PyRun_StringFlags(str, Py_eval_input, globals, locals, &cf);
  ------------------
  |  |   10|      2|#define Py_eval_input 258
  ------------------
 1134|       |#ifdef Py_GIL_DISABLED
 1135|       |        tstate->suppress_co_const_immortalization--;
 1136|       |#endif
 1137|      2|        Py_XDECREF(source_copy);
  ------------------
  |  |  524|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1138|      2|    }
 1139|       |
 1140|      2|  error:
 1141|      2|    Py_XDECREF(globals);
  ------------------
  |  |  524|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1142|      2|    Py_XDECREF(locals);
  ------------------
  |  |  524|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1143|      2|    return result;
 1144|      2|}
bltinmodule.c:builtin_exec_impl:
 1171|     51|{
 1172|     51|    PyThreadState *tstate = _PyThreadState_GET();
 1173|     51|    PyObject *v;
 1174|       |
 1175|     51|    int fromframe = 0;
 1176|     51|    if (globals != Py_None) {
  ------------------
  |  |  616|     51|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1176:9): [True: 51, False: 0]
  ------------------
 1177|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1178|     51|    }
 1179|      0|    else if (_PyEval_GetFrame() != NULL) {
  ------------------
  |  Branch (1179:14): [True: 0, False: 0]
  ------------------
 1180|      0|        fromframe = 1;
 1181|      0|        globals = PyEval_GetGlobals();
 1182|      0|        assert(globals != NULL);
  ------------------
  |  Branch (1182:9): [True: 0, False: 0]
  ------------------
 1183|      0|        Py_INCREF(globals);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1184|      0|    }
 1185|      0|    else {
 1186|      0|        globals = _PyEval_GetGlobalsFromRunningMain(tstate);
 1187|      0|        if (globals == NULL) {
  ------------------
  |  Branch (1187:13): [True: 0, False: 0]
  ------------------
 1188|      0|            if (!_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (1188:17): [True: 0, False: 0]
  ------------------
 1189|      0|                PyErr_SetString(PyExc_SystemError,
 1190|      0|                                "globals and locals cannot be NULL");
 1191|      0|            }
 1192|      0|            goto error;
 1193|      0|        }
 1194|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1195|      0|    }
 1196|       |
 1197|     51|    if (locals != Py_None) {
  ------------------
  |  |  616|     51|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1197:9): [True: 0, False: 51]
  ------------------
 1198|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1199|      0|    }
 1200|     51|    else if (fromframe) {
  ------------------
  |  Branch (1200:14): [True: 0, False: 51]
  ------------------
 1201|      0|        locals = _PyEval_GetFrameLocals();
 1202|      0|        if (locals == NULL) {
  ------------------
  |  Branch (1202:13): [True: 0, False: 0]
  ------------------
 1203|      0|            assert(PyErr_Occurred());
  ------------------
  |  Branch (1203:13): [True: 0, False: 0]
  ------------------
 1204|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1205|      0|            return NULL;
 1206|      0|        }
 1207|      0|    }
 1208|     51|    else {
 1209|     51|        locals = Py_NewRef(globals);
  ------------------
  |  |  550|     51|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     51|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     51|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1210|     51|    }
 1211|       |
 1212|     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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1213|      0|        PyErr_Format(PyExc_TypeError,
 1214|      0|                     "exec() globals must be a dict or a frozendict, not %T",
 1215|      0|                     globals);
 1216|      0|        goto error;
 1217|      0|    }
 1218|     51|    if (!PyMapping_Check(locals)) {
  ------------------
  |  Branch (1218:9): [True: 0, False: 51]
  ------------------
 1219|      0|        PyErr_Format(PyExc_TypeError,
 1220|      0|            "locals must be a mapping or None, not %.100s",
 1221|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1222|      0|        goto error;
 1223|      0|    }
 1224|       |
 1225|     51|    if (_PyEval_EnsureBuiltins(tstate, globals, NULL) < 0) {
  ------------------
  |  Branch (1225:9): [True: 0, False: 51]
  ------------------
 1226|      0|        goto error;
 1227|      0|    }
 1228|       |
 1229|     51|    if (closure == Py_None) {
  ------------------
  |  |  616|     51|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1229:9): [True: 0, False: 51]
  ------------------
 1230|      0|        closure = NULL;
 1231|      0|    }
 1232|       |
 1233|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1234|     51|        Py_ssize_t num_free = PyCode_GetNumFree((PyCodeObject *)source);
 1235|     51|        if (num_free == 0) {
  ------------------
  |  Branch (1235:13): [True: 51, False: 0]
  ------------------
 1236|     51|            if (closure) {
  ------------------
  |  Branch (1236:17): [True: 0, False: 51]
  ------------------
 1237|      0|                PyErr_SetString(PyExc_TypeError,
 1238|      0|                    "cannot use a closure with this code object");
 1239|      0|                goto error;
 1240|      0|            }
 1241|     51|        } else {
 1242|      0|            int closure_is_ok =
 1243|      0|                closure
  ------------------
  |  Branch (1243:17): [True: 0, False: 0]
  ------------------
 1244|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1245|      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 (1245:20): [True: 0, False: 0]
  ------------------
 1246|      0|            if (closure_is_ok) {
  ------------------
  |  Branch (1246:17): [True: 0, False: 0]
  ------------------
 1247|      0|                for (Py_ssize_t i = 0; i < num_free; i++) {
  ------------------
  |  Branch (1247:40): [True: 0, False: 0]
  ------------------
 1248|      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 (1248:38): [True: 0, False: 0]
  ------------------
 1249|      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 (1249:25): [True: 0, False: 0]
  ------------------
 1250|      0|                        closure_is_ok = 0;
 1251|      0|                        break;
 1252|      0|                    }
 1253|      0|                }
 1254|      0|            }
 1255|      0|            if (!closure_is_ok) {
  ------------------
  |  Branch (1255:17): [True: 0, False: 0]
  ------------------
 1256|      0|                PyErr_Format(PyExc_TypeError,
 1257|      0|                    "code object requires a closure of exactly length %zd",
 1258|      0|                    num_free);
 1259|      0|                goto error;
 1260|      0|            }
 1261|      0|        }
 1262|       |
 1263|     51|        if (PySys_Audit("exec", "O", source) < 0) {
  ------------------
  |  Branch (1263:13): [True: 0, False: 51]
  ------------------
 1264|      0|            goto error;
 1265|      0|        }
 1266|       |
 1267|     51|        if (!closure) {
  ------------------
  |  Branch (1267:13): [True: 51, False: 0]
  ------------------
 1268|     51|            v = PyEval_EvalCode(source, globals, locals);
 1269|     51|        } else {
 1270|      0|            v = PyEval_EvalCodeEx(source, globals, locals,
 1271|      0|                NULL, 0,
 1272|      0|                NULL, 0,
 1273|      0|                NULL, 0,
 1274|      0|                NULL,
 1275|      0|                closure);
 1276|      0|        }
 1277|     51|    }
 1278|      0|    else {
 1279|      0|        if (closure != NULL) {
  ------------------
  |  Branch (1279:13): [True: 0, False: 0]
  ------------------
 1280|      0|            PyErr_SetString(PyExc_TypeError,
 1281|      0|                "closure can only be used when source is a code object");
 1282|      0|            goto error;
 1283|      0|        }
 1284|      0|        PyObject *source_copy;
 1285|      0|        const char *str;
 1286|      0|        PyCompilerFlags cf = _PyCompilerFlags_INIT;
  ------------------
  |  |   33|      0|    (PyCompilerFlags){.cf_flags = 0, .cf_feature_version = PY_MINOR_VERSION}
  |  |  ------------------
  |  |  |  |   24|      0|#define PY_MINOR_VERSION        16
  |  |  ------------------
  ------------------
 1287|      0|        cf.cf_flags = PyCF_SOURCE_IS_UTF8;
  ------------------
  |  |   15|      0|#define PyCF_SOURCE_IS_UTF8  0x0100
  ------------------
 1288|      0|        str = _Py_SourceAsString(source, "exec",
 1289|      0|                                       "string, bytes or code", &cf,
 1290|      0|                                       &source_copy);
 1291|      0|        if (str == NULL)
  ------------------
  |  Branch (1291:13): [True: 0, False: 0]
  ------------------
 1292|      0|            goto error;
 1293|      0|        if (PyEval_MergeCompilerFlags(&cf))
  ------------------
  |  Branch (1293:13): [True: 0, False: 0]
  ------------------
 1294|      0|            v = PyRun_StringFlags(str, Py_file_input, globals,
  ------------------
  |  |    9|      0|#define Py_file_input 257
  ------------------
 1295|      0|                                  locals, &cf);
 1296|      0|        else
 1297|      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)
  ------------------
 1298|      0|        Py_XDECREF(source_copy);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1299|      0|    }
 1300|     51|    if (v == NULL)
  ------------------
  |  Branch (1300:9): [True: 0, False: 51]
  ------------------
 1301|      0|        goto error;
 1302|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1303|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1304|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1305|     51|    Py_RETURN_NONE;
  ------------------
  |  |  628|     51|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     51|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1306|       |
 1307|      0|  error:
 1308|      0|    Py_XDECREF(globals);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1309|      0|    Py_XDECREF(locals);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1310|       |    return NULL;
 1311|     51|}
bltinmodule.c:builtin_getattr:
 1317|    982|{
 1318|    982|    PyObject *v, *name, *result;
 1319|       |
 1320|    982|    if (!_PyArg_CheckPositional("getattr", nargs, 2, 3))
  ------------------
  |  |   31|    982|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 982, False: 0]
  |  |  |  Branch (31:27): [True: 982, False: 0]
  |  |  ------------------
  |  |   32|    982|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1321|      0|        return NULL;
 1322|       |
 1323|    982|    v = args[0];
 1324|    982|    name = args[1];
 1325|    982|    if (nargs > 2) {
  ------------------
  |  Branch (1325:9): [True: 778, False: 204]
  ------------------
 1326|    778|        if (PyObject_GetOptionalAttr(v, name, &result) == 0) {
  ------------------
  |  Branch (1326:13): [True: 143, False: 635]
  ------------------
 1327|    143|            PyObject *dflt = args[2];
 1328|    143|            return Py_NewRef(dflt);
  ------------------
  |  |  550|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1329|    143|        }
 1330|    778|    }
 1331|    204|    else {
 1332|    204|        result = PyObject_GetAttr(v, name);
 1333|    204|    }
 1334|    839|    return result;
 1335|    982|}
bltinmodule.c:builtin_globals_impl:
 1359|     50|{
 1360|     50|    PyObject *globals;
 1361|     50|    if (_PyEval_GetFrame() != NULL) {
  ------------------
  |  Branch (1361:9): [True: 50, False: 0]
  ------------------
 1362|     50|        globals = PyEval_GetGlobals();
 1363|     50|        assert(globals != NULL);
  ------------------
  |  Branch (1363:9): [True: 50, False: 0]
  ------------------
 1364|     50|        return Py_NewRef(globals);
  ------------------
  |  |  550|     50|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1365|     50|    }
 1366|      0|    PyThreadState *tstate = _PyThreadState_GET();
 1367|      0|    globals = _PyEval_GetGlobalsFromRunningMain(tstate);
 1368|      0|    if (globals == NULL) {
  ------------------
  |  Branch (1368:9): [True: 0, False: 0]
  ------------------
 1369|      0|        if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (1369:13): [True: 0, False: 0]
  ------------------
 1370|      0|            return NULL;
 1371|      0|        }
 1372|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1373|      0|    }
 1374|      0|    return Py_NewRef(globals);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1375|      0|}
bltinmodule.c:builtin_hasattr_impl:
 1393|    292|{
 1394|    292|    PyObject *v;
 1395|       |
 1396|    292|    if (PyObject_GetOptionalAttr(obj, name, &v) < 0) {
  ------------------
  |  Branch (1396:9): [True: 0, False: 292]
  ------------------
 1397|      0|        return NULL;
 1398|      0|    }
 1399|    292|    if (v == NULL) {
  ------------------
  |  Branch (1399:9): [True: 82, False: 210]
  ------------------
 1400|     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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1401|     82|    }
 1402|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1403|    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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1404|    292|}
bltinmodule.c:builtin_isinstance_impl:
 3108|     67|{
 3109|     67|    int retval;
 3110|       |
 3111|     67|    retval = PyObject_IsInstance(obj, class_or_tuple);
 3112|     67|    if (retval < 0)
  ------------------
  |  Branch (3112:9): [True: 0, False: 67]
  ------------------
 3113|      0|        return NULL;
 3114|     67|    return PyBool_FromLong(retval);
 3115|     67|}
bltinmodule.c:builtin_issubclass_impl:
 3136|     10|{
 3137|     10|    int retval;
 3138|       |
 3139|     10|    retval = PyObject_IsSubclass(cls, class_or_tuple);
 3140|     10|    if (retval < 0)
  ------------------
  |  Branch (3140:9): [True: 0, False: 10]
  ------------------
 3141|      0|        return NULL;
 3142|     10|    return PyBool_FromLong(retval);
 3143|     10|}
bltinmodule.c:builtin_iter_impl:
 1918|     26|{
 1919|     26|    if (stop_value == NULL && stop_exception == NULL) {
  ------------------
  |  Branch (1919:9): [True: 26, False: 0]
  |  Branch (1919:31): [True: 26, False: 0]
  ------------------
 1920|     26|        return PyObject_GetIter(object);
 1921|     26|    }
 1922|      0|    if (!PyCallable_Check(object)) {
  ------------------
  |  Branch (1922:9): [True: 0, False: 0]
  ------------------
 1923|      0|        PyErr_SetString(PyExc_TypeError,
 1924|      0|                        "iter(): the first argument must be callable");
 1925|      0|        return NULL;
 1926|      0|    }
 1927|      0|    return _PyCallIter_NewEx(object, stop_value, stop_exception);
 1928|      0|}
bltinmodule.c:builtin_len:
 1975|     60|{
 1976|     60|    Py_ssize_t res;
 1977|       |
 1978|     60|    res = PyObject_Size(obj);
 1979|     60|    if (res < 0) {
  ------------------
  |  Branch (1979:9): [True: 0, False: 60]
  ------------------
 1980|      0|        assert(PyErr_Occurred());
  ------------------
  |  Branch (1980:9): [True: 0, False: 0]
  ------------------
 1981|      0|        return NULL;
 1982|      0|    }
 1983|     60|    return PyLong_FromSsize_t(res);
 1984|     60|}
bltinmodule.c:builtin_max:
 2158|     31|{
 2159|     31|    return min_max(args, nargs, kwnames, Py_GT);
  ------------------
  |  |  656|     31|#define Py_GT 4
  ------------------
 2160|     31|}
bltinmodule.c:min_max:
 2022|     57|{
 2023|     57|    PyObject *it = NULL, *item, *val, *maxitem, *maxval, *keyfunc=NULL;
 2024|     57|    PyObject *defaultval = NULL;
 2025|     57|    static const char * const keywords[] = {"key", "default", NULL};
 2026|     57|    static _PyArg_Parser _parser_min = {"|$OO:min", keywords, 0};
 2027|     57|    static _PyArg_Parser _parser_max = {"|$OO:max", keywords, 0};
 2028|     57|    const char *name = (op == Py_LT) ? "min" : "max";
  ------------------
  |  |  652|     57|#define Py_LT 0
  ------------------
  |  Branch (2028:24): [True: 26, False: 31]
  ------------------
 2029|     57|    _PyArg_Parser *_parser = (op == Py_LT) ? &_parser_min : &_parser_max;
  ------------------
  |  |  652|     57|#define Py_LT 0
  ------------------
  |  Branch (2029:30): [True: 26, False: 31]
  ------------------
 2030|       |
 2031|     57|    if (nargs == 0) {
  ------------------
  |  Branch (2031:9): [True: 0, False: 57]
  ------------------
 2032|      0|        PyErr_Format(PyExc_TypeError, "%s expected at least 1 argument, got 0", name);
 2033|      0|        return NULL;
 2034|      0|    }
 2035|       |
 2036|     57|    if (kwnames != NULL && !_PyArg_ParseStackAndKeywords(args + nargs, 0, kwnames, _parser,
  ------------------
  |  Branch (2036:9): [True: 0, False: 57]
  |  Branch (2036:28): [True: 0, False: 0]
  ------------------
 2037|      0|                                                         &keyfunc, &defaultval)) {
 2038|      0|        return NULL;
 2039|      0|    }
 2040|       |
 2041|     57|    const int positional = nargs > 1; // False iff nargs == 1
 2042|     57|    if (positional && defaultval != NULL) {
  ------------------
  |  Branch (2042:9): [True: 28, False: 29]
  |  Branch (2042:23): [True: 0, False: 28]
  ------------------
 2043|      0|        PyErr_Format(PyExc_TypeError,
 2044|      0|                        "Cannot specify a default for %s() with multiple "
 2045|      0|                        "positional arguments", name);
 2046|      0|        return NULL;
 2047|      0|    }
 2048|       |
 2049|     57|    if (!positional) {
  ------------------
  |  Branch (2049:9): [True: 29, False: 28]
  ------------------
 2050|     29|        it = PyObject_GetIter(args[0]);
 2051|     29|        if (it == NULL) {
  ------------------
  |  Branch (2051:13): [True: 0, False: 29]
  ------------------
 2052|      0|            return NULL;
 2053|      0|        }
 2054|     29|    }
 2055|       |
 2056|     57|    if (keyfunc == Py_None) {
  ------------------
  |  |  616|     57|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2056:9): [True: 0, False: 57]
  ------------------
 2057|      0|        keyfunc = NULL;
 2058|      0|    }
 2059|       |
 2060|     57|    maxitem = NULL; /* the result */
 2061|     57|    maxval = NULL;  /* the value associated with the result */
 2062|    142|    while (1) {
  ------------------
  |  Branch (2062:12): [True: 142, Folded]
  ------------------
 2063|    142|        if (it == NULL) {
  ------------------
  |  Branch (2063:13): [True: 84, False: 58]
  ------------------
 2064|     84|            if (nargs-- <= 0) {
  ------------------
  |  Branch (2064:17): [True: 28, False: 56]
  ------------------
 2065|     28|                break;
 2066|     28|            }
 2067|     56|            item = *args++;
 2068|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2069|     56|        }
 2070|     58|        else {
 2071|     58|            item = PyIter_Next(it);
 2072|     58|            if (item == NULL) {
  ------------------
  |  Branch (2072:17): [True: 29, False: 29]
  ------------------
 2073|     29|                if (PyErr_Occurred()) {
  ------------------
  |  Branch (2073:21): [True: 0, False: 29]
  ------------------
 2074|      0|                    goto Fail_it;
 2075|      0|                }
 2076|     29|                break;
 2077|     29|            }
 2078|     58|        }
 2079|       |
 2080|       |        /* get the value from the key function */
 2081|     85|        if (keyfunc != NULL) {
  ------------------
  |  Branch (2081:13): [True: 0, False: 85]
  ------------------
 2082|      0|            val = PyObject_CallOneArg(keyfunc, item);
 2083|      0|            if (val == NULL)
  ------------------
  |  Branch (2083:17): [True: 0, False: 0]
  ------------------
 2084|      0|                goto Fail_it_item;
 2085|      0|        }
 2086|       |        /* no key function; the value is the item */
 2087|     85|        else {
 2088|     85|            val = Py_NewRef(item);
  ------------------
  |  |  550|     85|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     85|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     85|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2089|     85|        }
 2090|       |
 2091|       |        /* maximum value and item are unset; set them */
 2092|     85|        if (maxval == NULL) {
  ------------------
  |  Branch (2092:13): [True: 57, False: 28]
  ------------------
 2093|     57|            maxitem = item;
 2094|     57|            maxval = val;
 2095|     57|        }
 2096|       |        /* maximum value and item are set; update them as necessary */
 2097|     28|        else {
 2098|     28|            int cmp = PyObject_RichCompareBool(val, maxval, op);
 2099|     28|            if (cmp < 0)
  ------------------
  |  Branch (2099:17): [True: 0, False: 28]
  ------------------
 2100|      0|                goto Fail_it_item_and_val;
 2101|     28|            else if (cmp > 0) {
  ------------------
  |  Branch (2101:22): [True: 5, False: 23]
  ------------------
 2102|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2103|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2104|      5|                maxval = val;
 2105|      5|                maxitem = item;
 2106|      5|            }
 2107|     23|            else {
 2108|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2109|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2110|     23|            }
 2111|     28|        }
 2112|     85|    }
 2113|     57|    if (maxval == NULL) {
  ------------------
  |  Branch (2113:9): [True: 0, False: 57]
  ------------------
 2114|      0|        assert(maxitem == NULL);
  ------------------
  |  Branch (2114:9): [True: 0, False: 0]
  ------------------
 2115|      0|        if (defaultval != NULL) {
  ------------------
  |  Branch (2115:13): [True: 0, False: 0]
  ------------------
 2116|      0|            maxitem = Py_NewRef(defaultval);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2117|      0|        } else {
 2118|      0|            PyErr_Format(PyExc_ValueError,
 2119|      0|                         "%s() iterable argument is empty", name);
 2120|      0|        }
 2121|      0|    }
 2122|     57|    else
 2123|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2124|     57|    Py_XDECREF(it);
  ------------------
  |  |  524|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2125|     57|    return maxitem;
 2126|       |
 2127|      0|Fail_it_item_and_val:
 2128|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2129|      0|Fail_it_item:
 2130|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2131|      0|Fail_it:
 2132|      0|    Py_XDECREF(maxval);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2133|      0|    Py_XDECREF(maxitem);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2134|      0|    Py_XDECREF(it);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2135|       |    return NULL;
 2136|      0|}
bltinmodule.c:builtin_min:
 2141|     26|{
 2142|     26|    return min_max(args, nargs, kwnames, Py_LT);
  ------------------
  |  |  652|     26|#define Py_LT 0
  ------------------
 2143|     26|}
bltinmodule.c:builtin_next:
 1763|      2|{
 1764|      2|    PyObject *it, *res;
 1765|       |
 1766|      2|    if (!_PyArg_CheckPositional("next", nargs, 1, 2))
  ------------------
  |  |   31|      2|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 2, False: 0]
  |  |  |  Branch (31:27): [True: 2, False: 0]
  |  |  ------------------
  |  |   32|      2|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1767|      0|        return NULL;
 1768|       |
 1769|      2|    it = args[0];
 1770|      2|    if (!PyIter_Check(it)) {
  ------------------
  |  Branch (1770:9): [True: 0, False: 2]
  ------------------
 1771|      0|        PyErr_Format(PyExc_TypeError,
 1772|      0|            "'%.200s' object is not an iterator",
 1773|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1774|      0|        return NULL;
 1775|      0|    }
 1776|       |
 1777|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1778|      2|    if (res != NULL) {
  ------------------
  |  Branch (1778:9): [True: 0, False: 2]
  ------------------
 1779|      0|        return res;
 1780|      2|    } else if (nargs > 1) {
  ------------------
  |  Branch (1780:16): [True: 2, False: 0]
  ------------------
 1781|      2|        PyObject *def = args[1];
 1782|      2|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (1782:13): [True: 0, False: 2]
  ------------------
 1783|      0|            if(!PyErr_ExceptionMatches(PyExc_StopIteration))
  ------------------
  |  Branch (1783:16): [True: 0, False: 0]
  ------------------
 1784|      0|                return NULL;
 1785|      0|            PyErr_Clear();
 1786|      0|        }
 1787|      2|        return Py_NewRef(def);
  ------------------
  |  |  550|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1788|      2|    } else if (PyErr_Occurred()) {
  ------------------
  |  Branch (1788:16): [True: 0, False: 0]
  ------------------
 1789|      0|        return NULL;
 1790|      0|    } else {
 1791|      0|        PyErr_SetNone(PyExc_StopIteration);
 1792|       |        return NULL;
 1793|      0|    }
 1794|      2|}
bltinmodule.c:builtin_ord:
 2210|     23|{
 2211|     23|    long ord;
 2212|     23|    Py_ssize_t size;
 2213|       |
 2214|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2215|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2216|      0|        if (size == 1) {
  ------------------
  |  Branch (2216:13): [True: 0, False: 0]
  ------------------
 2217|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2218|      0|            return PyLong_FromLong(ord);
 2219|      0|        }
 2220|      0|    }
 2221|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2222|     23|        size = PyUnicode_GET_LENGTH(c);
  ------------------
  |  |  299|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2223|     23|        if (size == 1) {
  ------------------
  |  Branch (2223:13): [True: 23, False: 0]
  ------------------
 2224|     23|            ord = (long)PyUnicode_READ_CHAR(c, 0);
  ------------------
  |  |  381|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2225|     23|            return PyLong_FromLong(ord);
 2226|     23|        }
 2227|     23|    }
 2228|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2229|       |        /* XXX Hopefully this is temporary */
 2230|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2231|      0|        if (size == 1) {
  ------------------
  |  Branch (2231:13): [True: 0, False: 0]
  ------------------
 2232|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2233|      0|            return PyLong_FromLong(ord);
 2234|      0|        }
 2235|      0|    }
 2236|      0|    else {
 2237|      0|        PyErr_Format(PyExc_TypeError,
 2238|      0|                     "ord() expected string of length 1, but " \
 2239|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2240|      0|        return NULL;
 2241|      0|    }
 2242|       |
 2243|      0|    PyErr_Format(PyExc_TypeError,
 2244|      0|                 "ord() expected a character, "
 2245|      0|                 "but string of length %zd found",
 2246|      0|                 size);
 2247|       |    return NULL;
 2248|     23|}
bltinmodule.c:builtin_setattr_impl:
 1820|    148|{
 1821|    148|    if (PyObject_SetAttr(obj, name, value) != 0)
  ------------------
  |  Branch (1821:9): [True: 0, False: 148]
  ------------------
 1822|      0|        return NULL;
 1823|    148|    Py_RETURN_NONE;
  ------------------
  |  |  628|    148|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    148|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1824|    148|}
bltinmodule.c:builtin_sorted:
 2721|      7|{
 2722|      7|    PyObject *newlist, *v, *seq, *callable;
 2723|       |
 2724|       |    /* Keyword arguments are passed through list.sort() which will check
 2725|       |       them. */
 2726|      7|    if (!_PyArg_UnpackStack(args, nargs, "sorted", 1, 1, &seq))
  ------------------
  |  Branch (2726:9): [True: 0, False: 7]
  ------------------
 2727|      0|        return NULL;
 2728|       |
 2729|      7|    newlist = PySequence_List(seq);
 2730|      7|    if (newlist == NULL)
  ------------------
  |  Branch (2730:9): [True: 0, False: 7]
  ------------------
 2731|      0|        return NULL;
 2732|       |
 2733|      7|    callable = PyObject_GetAttr(newlist, &_Py_ID(sort));
  ------------------
  |  |  936|      7|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      7|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      7|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2734|      7|    if (callable == NULL) {
  ------------------
  |  Branch (2734:9): [True: 0, False: 7]
  ------------------
 2735|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2736|      0|        return NULL;
 2737|      0|    }
 2738|       |
 2739|      7|    assert(nargs >= 1);
  ------------------
  |  Branch (2739:5): [True: 7, False: 0]
  ------------------
 2740|      7|    v = PyObject_Vectorcall(callable, args + 1, nargs - 1, kwnames);
 2741|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2742|      7|    if (v == NULL) {
  ------------------
  |  Branch (2742:9): [True: 0, False: 7]
  ------------------
 2743|      0|        Py_DECREF(newlist);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2744|      0|        return NULL;
 2745|      0|    }
 2746|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2747|      7|    return newlist;
 2748|      7|}
bltinmodule.c:builtin_vars:
 2754|      4|{
 2755|      4|    PyObject *v = NULL;
 2756|      4|    PyObject *d;
 2757|       |
 2758|      4|    if (!PyArg_UnpackTuple(args, "vars", 0, 1, &v))
  ------------------
  |  Branch (2758:9): [True: 0, False: 4]
  ------------------
 2759|      0|        return NULL;
 2760|      4|    if (v == NULL) {
  ------------------
  |  Branch (2760:9): [True: 0, False: 4]
  ------------------
 2761|      0|        if (_PyEval_GetFrame() != NULL) {
  ------------------
  |  Branch (2761:13): [True: 0, False: 0]
  ------------------
 2762|      0|            d = _PyEval_GetFrameLocals();
 2763|      0|        }
 2764|      0|        else {
 2765|      0|            PyThreadState *tstate = _PyThreadState_GET();
 2766|      0|            d = _PyEval_GetGlobalsFromRunningMain(tstate);
 2767|      0|            if (d == NULL) {
  ------------------
  |  Branch (2767:17): [True: 0, False: 0]
  ------------------
 2768|      0|                if (!_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (2768:21): [True: 0, False: 0]
  ------------------
 2769|      0|                    d = _PyEval_GetFrameLocals();
 2770|      0|                    assert(_PyErr_Occurred(tstate));
  ------------------
  |  Branch (2770:21): [True: 0, False: 0]
  ------------------
 2771|      0|                }
 2772|      0|            }
 2773|      0|            else {
 2774|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2775|      0|            }
 2776|      0|        }
 2777|      0|    }
 2778|      4|    else {
 2779|      4|        if (PyObject_GetOptionalAttr(v, &_Py_ID(__dict__), &d) == 0) {
  ------------------
  |  |  936|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2779:13): [True: 0, False: 4]
  ------------------
 2780|      0|            PyErr_SetString(PyExc_TypeError,
 2781|      0|                "vars() argument must have __dict__ attribute");
 2782|      0|        }
 2783|      4|    }
 2784|      4|    return d;
 2785|      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);
  ------------------
  |  |  120|      2|       __extension__ \
  |  |  121|      2|       ({ _Py_TYPEOF (x) _x = (x); \
  |  |  ------------------
  |  |  |  |  552|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  122|      2|          _Py_TYPEOF (y) _y = (y); \
  |  |  ------------------
  |  |  |  |  552|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  123|      2|          _x < _y ? _x : _y; })
  |  |  ------------------
  |  |  |  Branch (123: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:
   30|   342k|{
   31|   342k|    uintptr_t here_addr = _Py_get_machine_stack_pointer();
   32|   342k|    _PyThreadStateImpl *_tstate = (_PyThreadStateImpl *)tstate;
   33|   342k|#if _Py_STACK_GROWS_DOWN
   34|   342k|    if (here_addr > _tstate->c_stack_soft_limit + margin_count * _PyOS_STACK_MARGIN_BYTES) {
  ------------------
  |  |   57|   342k|#define _PyOS_STACK_MARGIN_BYTES (_PyOS_STACK_MARGIN * sizeof(void *))
  |  |  ------------------
  |  |  |  |   56|   342k|#define _PyOS_STACK_MARGIN (1 << _PyOS_LOG2_STACK_MARGIN)
  |  |  |  |  ------------------
  |  |  |  |  |  |   54|   342k|#  define _PyOS_LOG2_STACK_MARGIN 11
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (34:9): [True: 342k, False: 0]
  ------------------
   35|       |#else
   36|       |    if (here_addr <= _tstate->c_stack_soft_limit - margin_count * _PyOS_STACK_MARGIN_BYTES) {
   37|       |#endif
   38|   342k|        return 0;
   39|   342k|    }
   40|      0|    if (_tstate->c_stack_hard_limit == 0) {
  ------------------
  |  Branch (40:9): [True: 0, False: 0]
  ------------------
   41|      0|        _Py_InitializeRecursionLimits(tstate);
   42|      0|    }
   43|      0|#if _Py_STACK_GROWS_DOWN
   44|      0|    return here_addr <= _tstate->c_stack_soft_limit + margin_count * _PyOS_STACK_MARGIN_BYTES &&
  ------------------
  |  |   57|      0|#define _PyOS_STACK_MARGIN_BYTES (_PyOS_STACK_MARGIN * sizeof(void *))
  |  |  ------------------
  |  |  |  |   56|      0|#define _PyOS_STACK_MARGIN (1 << _PyOS_LOG2_STACK_MARGIN)
  |  |  |  |  ------------------
  |  |  |  |  |  |   54|      0|#  define _PyOS_LOG2_STACK_MARGIN 11
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (44:12): [True: 0, False: 0]
  ------------------
   45|      0|        here_addr >= _tstate->c_stack_soft_limit - 2 * _PyOS_STACK_MARGIN_BYTES;
  ------------------
  |  |   57|      0|#define _PyOS_STACK_MARGIN_BYTES (_PyOS_STACK_MARGIN * sizeof(void *))
  |  |  ------------------
  |  |  |  |   56|      0|#define _PyOS_STACK_MARGIN (1 << _PyOS_LOG2_STACK_MARGIN)
  |  |  |  |  ------------------
  |  |  |  |  |  |   54|      0|#  define _PyOS_LOG2_STACK_MARGIN 11
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (45:9): [True: 0, False: 0]
  ------------------
   46|       |#else
   47|       |    return here_addr > _tstate->c_stack_soft_limit - margin_count * _PyOS_STACK_MARGIN_BYTES &&
   48|       |        here_addr <= _tstate->c_stack_soft_limit + 2 * _PyOS_STACK_MARGIN_BYTES;
   49|       |#endif
   50|   342k|}
_Py_InitializeRecursionLimits:
  224|      2|{
  225|      2|    uintptr_t base, top;
  226|      2|    uintptr_t here_addr = _Py_get_machine_stack_pointer();
  227|      2|    hardware_stack_limits(&base, &top, here_addr);
  228|      2|    assert(top != 0);
  ------------------
  |  Branch (228:5): [True: 2, False: 0]
  ------------------
  229|       |
  230|      2|    tstate_set_stack(tstate, base, top);
  231|      2|    _PyThreadStateImpl *ts = (_PyThreadStateImpl *)tstate;
  232|      2|    ts->c_stack_init_base = base;
  233|      2|    ts->c_stack_init_top = top;
  234|      2|}
PyEval_EvalCode:
  656|     59|{
  657|     59|    PyThreadState *tstate = _PyThreadState_GET();
  658|     59|    if (locals == NULL) {
  ------------------
  |  Branch (658:9): [True: 0, False: 59]
  ------------------
  659|      0|        locals = globals;
  660|      0|    }
  661|     59|    PyObject *builtins = _PyDict_LoadBuiltinsFromGlobals(globals);
  662|     59|    if (builtins == NULL) {
  ------------------
  |  Branch (662:9): [True: 0, False: 59]
  ------------------
  663|      0|        return NULL;
  664|      0|    }
  665|     59|    PyFrameConstructor desc = {
  666|     59|        .fc_globals = globals,
  667|     59|        .fc_builtins = builtins,
  668|     59|        .fc_name = ((PyCodeObject *)co)->co_name,
  669|     59|        .fc_qualname = ((PyCodeObject *)co)->co_name,
  670|     59|        .fc_code = co,
  671|     59|        .fc_defaults = NULL,
  672|     59|        .fc_kwdefaults = NULL,
  673|     59|        .fc_closure = NULL
  674|     59|    };
  675|     59|    PyFunctionObject *func = _PyFunction_FromConstructor(&desc);
  676|     59|    _Py_DECREF_BUILTINS(builtins);
  ------------------
  |  |  399|     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); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  677|     59|    if (func == NULL) {
  ------------------
  |  Branch (677:9): [True: 0, False: 59]
  ------------------
  678|      0|        return NULL;
  679|      0|    }
  680|     59|    EVAL_CALL_STAT_INC(EVAL_CALL_LEGACY);
  ------------------
  |  |   79|     59|#define EVAL_CALL_STAT_INC(name) ((void)0)
  ------------------
  681|     59|    PyObject *res = _PyEval_Vector(tstate, func, locals, NULL, 0, NULL);
  682|       |    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); \
  |  |  ------------------
  |  |  |  |  112|     59|    do { \
  |  |  |  |  113|     59|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|     59|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 59]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|     59|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118: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]
  |  |  ------------------
  ------------------
  683|     59|    return res;
  684|     59|}
_Py_VectorCall_StackRefSteal:
  715|  2.48k|{
  716|  2.48k|    PyObject *res;
  717|  2.48k|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  522|  2.48k|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  523|  2.48k|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  718|  2.48k|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  529|  2.48k|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (529:33): [True: 0, False: 2.48k]
  |  |  ------------------
  ------------------
  719|      0|        res = NULL;
  720|      0|        goto cleanup;
  721|      0|    }
  722|  2.48k|    PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  723|  2.48k|    PyObject *kwnames_o = PyStackRef_AsPyObjectBorrow(kwnames);
  724|  2.48k|    int positional_args = total_args;
  725|  2.48k|    if (kwnames_o != NULL) {
  ------------------
  |  Branch (725:9): [True: 159, False: 2.32k]
  ------------------
  726|    159|        positional_args -= (int)PyTuple_GET_SIZE(kwnames_o);
  ------------------
  |  |   27|    159|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    159|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    159|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|    159|    }
  728|  2.48k|    res = PyObject_Vectorcall(
  729|  2.48k|        callable_o, args_o,
  730|  2.48k|        positional_args | PY_VECTORCALL_ARGUMENTS_OFFSET,
  ------------------
  |  |  287|  2.48k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  2.48k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  731|  2.48k|        kwnames_o);
  732|  2.48k|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  527|  2.48k|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  733|  2.48k|    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  ------------------
  |  Branch (733:5): [True: 2.48k, False: 0]
  ------------------
  734|  2.48k|cleanup:
  735|  2.48k|    PyStackRef_XCLOSE(kwnames);
  736|       |    // arguments is a pointer into the GC visible stack,
  737|       |    // so we must NULL out values as we clear them.
  738|  4.71k|    for (int i = total_args-1; i >= 0; i--) {
  ------------------
  |  Branch (738:32): [True: 2.23k, False: 2.48k]
  ------------------
  739|  2.23k|        _PyStackRef tmp = arguments[i];
  740|  2.23k|        arguments[i] = PyStackRef_NULL;
  741|  2.23k|        PyStackRef_CLOSE(tmp);
  742|  2.23k|    }
  743|  2.48k|    PyStackRef_CLOSE(callable);
  744|  2.48k|    return res;
  745|  2.48k|}
_Py_VectorCallInstrumentation_StackRefSteal:
  757|  1.99k|{
  758|  1.99k|    PyObject* res;
  759|  1.99k|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  522|  1.99k|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  523|  1.99k|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  760|  1.99k|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  529|  1.99k|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (529:33): [True: 0, False: 1.99k]
  |  |  ------------------
  ------------------
  761|      0|        res = NULL;
  762|      0|        goto cleanup;
  763|      0|    }
  764|  1.99k|    PyObject* callable_o = PyStackRef_AsPyObjectBorrow(callable);
  765|  1.99k|    PyObject* kwnames_o = PyStackRef_AsPyObjectBorrow(kwnames);
  766|  1.99k|    int positional_args = total_args;
  767|  1.99k|    if (kwnames_o != NULL) {
  ------------------
  |  Branch (767:9): [True: 49, False: 1.94k]
  ------------------
  768|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  769|     49|    }
  770|  1.99k|    res = PyObject_Vectorcall(
  771|  1.99k|        callable_o, args_o,
  772|  1.99k|        positional_args | PY_VECTORCALL_ARGUMENTS_OFFSET,
  ------------------
  |  |  287|  1.99k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  1.99k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  773|  1.99k|        kwnames_o);
  774|  1.99k|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  527|  1.99k|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  775|  1.99k|    if (call_instrumentation) {
  ------------------
  |  Branch (775:9): [True: 0, False: 1.99k]
  ------------------
  776|      0|        PyObject* arg = total_args == 0 ?
  ------------------
  |  Branch (776:25): [True: 0, False: 0]
  ------------------
  777|      0|            &_PyInstrumentation_MISSING : PyStackRef_AsPyObjectBorrow(arguments[0]);
  778|      0|        if (res == NULL) {
  ------------------
  |  Branch (778:13): [True: 0, False: 0]
  ------------------
  779|      0|            _Py_call_instrumentation_exc2(
  780|      0|                tstate, PY_MONITORING_EVENT_C_RAISE,
  ------------------
  |  |   45|      0|#define PY_MONITORING_EVENT_C_RAISE 17
  ------------------
  781|      0|                frame, this_instr, callable_o, arg);
  782|      0|        }
  783|      0|        else {
  784|      0|            int err = _Py_call_instrumentation_2args(
  785|      0|                tstate, PY_MONITORING_EVENT_C_RETURN,
  ------------------
  |  |   44|      0|#define PY_MONITORING_EVENT_C_RETURN 16
  ------------------
  786|      0|                frame, this_instr, callable_o, arg);
  787|      0|            if (err < 0) {
  ------------------
  |  Branch (787:17): [True: 0, False: 0]
  ------------------
  788|      0|                Py_CLEAR(res);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  789|      0|            }
  790|      0|        }
  791|      0|    }
  792|  1.99k|    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  ------------------
  |  Branch (792:5): [True: 1.99k, False: 0]
  ------------------
  793|  1.99k|cleanup:
  794|  1.99k|    PyStackRef_XCLOSE(kwnames);
  795|       |    // arguments is a pointer into the GC visible stack,
  796|       |    // so we must NULL out values as we clear them.
  797|  5.47k|    for (int i = total_args - 1; i >= 0; i--) {
  ------------------
  |  Branch (797:34): [True: 3.48k, False: 1.99k]
  ------------------
  798|  3.48k|        _PyStackRef tmp = arguments[i];
  799|  3.48k|        arguments[i] = PyStackRef_NULL;
  800|  3.48k|        PyStackRef_CLOSE(tmp);
  801|  3.48k|    }
  802|  1.99k|    PyStackRef_CLOSE(callable);
  803|  1.99k|    return res;
  804|  1.99k|}
_Py_BuiltinCallFast_StackRef:
  811|  1.78k|{
  812|  1.78k|    PyObject *res;
  813|  1.78k|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  522|  1.78k|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  523|  1.78k|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  814|  1.78k|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  529|  1.78k|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (529:33): [True: 0, False: 1.78k]
  |  |  ------------------
  ------------------
  815|      0|        return NULL;
  816|      0|    }
  817|  1.78k|    PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  818|  1.78k|    PyCFunction cfunc = PyCFunction_GET_FUNCTION(callable_o);
  ------------------
  |  |   43|  1.78k|#define PyCFunction_GET_FUNCTION(func) PyCFunction_GET_FUNCTION(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|  1.78k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.78k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  819|  1.78k|    res = _PyCFunctionFast_CAST(cfunc)(
  ------------------
  |  |   58|  1.78k|    _Py_FUNC_CAST(PyCFunctionFast, func)
  |  |  ------------------
  |  |  |  |   47|  1.78k|#define _Py_FUNC_CAST(T, func) _Py_CAST(T, _Py_CAST(void(*)(void), (func)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.78k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  820|  1.78k|        PyCFunction_GET_SELF(callable_o),
  ------------------
  |  |   52|  1.78k|#define PyCFunction_GET_SELF(func) PyCFunction_GET_SELF(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|  1.78k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.78k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  821|  1.78k|        args_o,
  822|  1.78k|        total_args
  823|  1.78k|    );
  824|  1.78k|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  527|  1.78k|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  825|  1.78k|    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  ------------------
  |  Branch (825:5): [True: 1.78k, False: 0]
  ------------------
  826|  1.78k|    return res;
  827|  1.78k|}
_Py_BuiltinCallFastWithKeywords_StackRef:
  834|    646|{
  835|    646|    PyObject *res;
  836|    646|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  522|    646|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  523|    646|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  837|    646|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  529|    646|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (529:33): [True: 0, False: 646]
  |  |  ------------------
  ------------------
  838|      0|        return NULL;
  839|      0|    }
  840|    646|    PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  841|    646|    PyCFunctionFastWithKeywords cfunc =
  842|    646|        _PyCFunctionFastWithKeywords_CAST(PyCFunction_GET_FUNCTION(callable_o));
  ------------------
  |  |   62|    646|    _Py_FUNC_CAST(PyCFunctionFastWithKeywords, func)
  |  |  ------------------
  |  |  |  |   47|    646|#define _Py_FUNC_CAST(T, func) _Py_CAST(T, _Py_CAST(void(*)(void), (func)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    646|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  843|    646|    res = cfunc(PyCFunction_GET_SELF(callable_o), args_o, total_args, NULL);
  ------------------
  |  |   52|    646|#define PyCFunction_GET_SELF(func) PyCFunction_GET_SELF(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|    646|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    646|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  844|    646|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  527|    646|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  845|    646|    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  ------------------
  |  Branch (845:5): [True: 646, False: 0]
  ------------------
  846|    646|    return res;
  847|    646|}
_PyCallMethodDescriptorFast_StackRef:
  856|  2.04k|{
  857|  2.04k|    PyObject *res;
  858|  2.04k|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  522|  2.04k|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  523|  2.04k|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  859|  2.04k|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  529|  2.04k|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (529:33): [True: 0, False: 2.04k]
  |  |  ------------------
  ------------------
  860|      0|        return NULL;
  861|      0|    }
  862|  2.04k|    assert(self == PyStackRef_AsPyObjectBorrow(arguments[0]));
  ------------------
  |  Branch (862:5): [True: 2.04k, False: 0]
  ------------------
  863|       |
  864|  2.04k|    res = cfunc(self, (args_o + 1), total_args - 1);
  865|  2.04k|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  527|  2.04k|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  866|  2.04k|    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  ------------------
  |  Branch (866:5): [True: 2.04k, False: 0]
  ------------------
  867|  2.04k|    return res;
  868|  2.04k|}
_PyCallMethodDescriptorFastWithKeywords_StackRef:
  877|     39|{
  878|     39|    PyObject *res;
  879|     39|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  522|     39|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  523|     39|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  880|     39|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  529|     39|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (529:33): [True: 0, False: 39]
  |  |  ------------------
  ------------------
  881|      0|        return NULL;
  882|      0|    }
  883|     39|    assert(self == PyStackRef_AsPyObjectBorrow(arguments[0]));
  ------------------
  |  Branch (883:5): [True: 39, False: 0]
  ------------------
  884|       |
  885|     39|    res = cfunc(self, (args_o + 1), total_args-1, NULL);
  886|     39|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  527|     39|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  887|     39|    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  ------------------
  |  Branch (887:5): [True: 39, False: 0]
  ------------------
  888|     39|    return res;
  889|     39|}
_Py_CallBuiltinClass_StackRef:
  896|    258|{
  897|    258|    PyObject *res;
  898|    258|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  522|    258|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  523|    258|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  899|    258|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  529|    258|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (529:33): [True: 0, False: 258]
  |  |  ------------------
  ------------------
  900|      0|        return NULL;
  901|      0|    }
  902|    258|    PyTypeObject *tp = (PyTypeObject *)PyStackRef_AsPyObjectBorrow(callable);
  903|    258|    res = tp->tp_vectorcall((PyObject *)tp, args_o, total_args | PY_VECTORCALL_ARGUMENTS_OFFSET, NULL);
  ------------------
  |  |  287|    258|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|    258|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  904|    258|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  527|    258|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  905|    258|    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  ------------------
  |  Branch (905:5): [True: 258, False: 0]
  ------------------
  906|    258|    return res;
  907|    258|}
_Py_BuildString_StackRefSteal:
  913|    258|{
  914|    258|    PyObject *res;
  915|    258|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  522|    258|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  523|    258|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  916|    258|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  529|    258|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (529:33): [True: 0, False: 258]
  |  |  ------------------
  ------------------
  917|      0|        res = NULL;
  918|      0|        goto cleanup;
  919|      0|    }
  920|    258|    res = _PyUnicode_JoinArray(&_Py_STR(empty), args_o, total_args);
  ------------------
  |  |  938|    258|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    258|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    258|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  921|    258|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  527|    258|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  922|    258|    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  ------------------
  |  Branch (922:5): [True: 258, False: 0]
  ------------------
  923|    258|cleanup:
  924|       |    // arguments is a pointer into the GC visible stack,
  925|       |    // so we must NULL out values as we clear them.
  926|  1.14k|    for (int i = total_args-1; i >= 0; i--) {
  ------------------
  |  Branch (926:32): [True: 883, False: 258]
  ------------------
  927|    883|        _PyStackRef tmp = arguments[i];
  928|    883|        arguments[i] = PyStackRef_NULL;
  929|    883|        PyStackRef_CLOSE(tmp);
  930|    883|    }
  931|    258|    return res;
  932|    258|}
_Py_BuildMap_StackRefSteal:
  938|    625|{
  939|    625|    PyObject *res;
  940|    625|    STACKREFS_TO_PYOBJECTS(arguments, half_args*2, args_o);
  ------------------
  |  |  522|    625|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  523|    625|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  941|    625|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  529|    625|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (529:33): [True: 0, False: 625]
  |  |  ------------------
  ------------------
  942|      0|        res = NULL;
  943|      0|        goto cleanup;
  944|      0|    }
  945|    625|    res = _PyDict_FromItems(
  946|    625|        args_o, 2,
  947|    625|        args_o+1, 2,
  948|    625|        half_args
  949|    625|    );
  950|    625|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  527|    625|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  951|    625|    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  ------------------
  |  Branch (951:5): [True: 625, False: 0]
  ------------------
  952|    625|cleanup:
  953|       |    // arguments is a pointer into the GC visible stack,
  954|       |    // so we must NULL out values as we clear them.
  955|  1.33k|    for (int i = half_args*2-1; i >= 0; i--) {
  ------------------
  |  Branch (955:33): [True: 708, False: 625]
  ------------------
  956|    708|        _PyStackRef tmp = arguments[i];
  957|    708|        arguments[i] = PyStackRef_NULL;
  958|    708|        PyStackRef_CLOSE(tmp);
  959|    708|    }
  960|    625|    return res;
  961|    625|}
_Py_LoadAttr_StackRefSteal:
  967|  1.16k|{
  968|       |    // Use _PyCStackRefs to ensure that both method and self are visible to
  969|       |    // the GC. Even though self_or_null is on the evaluation stack, it may be
  970|       |    // after the stackpointer and therefore not visible to the GC.
  971|  1.16k|    _PyCStackRef method, self;
  972|  1.16k|    _PyThreadState_PushCStackRef(tstate, &method);
  973|  1.16k|    _PyThreadState_PushCStackRef(tstate, &self);
  974|  1.16k|    self.ref = owner;  // steal reference to owner
  975|       |    // NOTE: method.ref is initialized to PyStackRef_NULL and remains null on
  976|       |    // error, so we don't need to explicitly use the return code from the call.
  977|  1.16k|    _PyObject_GetMethodStackRef(tstate, &self.ref, name, &method.ref);
  978|  1.16k|    *self_or_null = _PyThreadState_PopCStackRefSteal(tstate, &self);
  979|  1.16k|    return _PyThreadState_PopCStackRefSteal(tstate, &method);
  980|  1.16k|}
_PyObjectArray_FromStackRefArray:
 1055|  10.1k|{
 1056|  10.1k|    PyObject **result;
 1057|  10.1k|    if (nargs > MAX_STACKREF_SCRATCH) {
  ------------------
  |  |  518|  10.1k|#define MAX_STACKREF_SCRATCH 10
  ------------------
  |  Branch (1057:9): [True: 14, False: 10.1k]
  ------------------
 1058|       |        // +1 in case PY_VECTORCALL_ARGUMENTS_OFFSET is set.
 1059|     14|        result = PyMem_Malloc((nargs + 1) * sizeof(PyObject *));
 1060|     14|        if (result == NULL) {
  ------------------
  |  Branch (1060:13): [True: 0, False: 14]
  ------------------
 1061|      0|            PyErr_NoMemory();
 1062|      0|            return NULL;
 1063|      0|        }
 1064|     14|    }
 1065|  10.1k|    else {
 1066|  10.1k|        result = scratch;
 1067|  10.1k|    }
 1068|  10.1k|    result++;
 1069|  10.1k|    result[0] = NULL; /* Keep GCC happy */
 1070|  28.2k|    for (int i = 0; i < nargs; i++) {
  ------------------
  |  Branch (1070:21): [True: 18.1k, False: 10.1k]
  ------------------
 1071|  18.1k|        result[i] = PyStackRef_AsPyObjectBorrow(input[i]);
 1072|  18.1k|    }
 1073|  10.1k|    return result;
 1074|  10.1k|}
_PyObjectArray_Free:
 1078|  10.1k|{
 1079|  10.1k|    if (array != scratch) {
  ------------------
  |  Branch (1079:9): [True: 14, False: 10.1k]
  ------------------
 1080|     14|        PyMem_Free(array);
 1081|     14|    }
 1082|  10.1k|}
_PyEval_GetIter:
 1120|    193|{
 1121|    193|    PyTypeObject *tp = PyStackRef_TYPE(iterable);
 1122|    193|    if (tp->_tp_iteritem != NULL) {
  ------------------
  |  Branch (1122:9): [True: 123, False: 70]
  ------------------
 1123|       |        /* Leave iterable on stack and pushed tagged 0 */
 1124|    123|        *index_or_null = PyStackRef_TagInt(0);
 1125|    123|        return iterable;
 1126|    123|    }
 1127|     70|    *index_or_null = PyStackRef_NULL;
 1128|     70|    if (tp->tp_iter == PyObject_SelfIter) {
  ------------------
  |  Branch (1128:9): [True: 9, False: 61]
  ------------------
 1129|      9|        return iterable;
 1130|      9|    }
 1131|     61|    if (yield_from && tp == &PyCoro_Type) {
  ------------------
  |  Branch (1131:9): [True: 0, False: 61]
  |  Branch (1131:23): [True: 0, False: 0]
  ------------------
 1132|      0|        assert(yield_from != GET_ITER_YIELD_FROM);
  ------------------
  |  Branch (1132:9): [True: 0, False: 0]
  ------------------
 1133|      0|        if (yield_from == GET_ITER_YIELD_FROM_CORO_CHECK) {
  ------------------
  |  |   99|      0|#define GET_ITER_YIELD_FROM_CORO_CHECK 3
  ------------------
  |  Branch (1133:13): [True: 0, False: 0]
  ------------------
 1134|       |            /* `iterable` is a coroutine and it is used in a 'yield from'
 1135|       |            * expression of a regular generator. */
 1136|      0|            PyErr_SetString(PyExc_TypeError,
 1137|      0|                            "cannot 'yield from' a coroutine object "
 1138|      0|                            "in a non-coroutine generator");
 1139|      0|            PyStackRef_CLOSE(iterable);
 1140|      0|            return PyStackRef_ERROR;
 1141|      0|        }
 1142|      0|        return iterable;
 1143|      0|    }
 1144|       |    /* Pop iterable, and push iterator then NULL */
 1145|     61|    PyObject *iter_o = PyObject_GetIter(PyStackRef_AsPyObjectBorrow(iterable));
 1146|     61|    PyStackRef_CLOSE(iterable);
 1147|     61|    if (iter_o == NULL) {
  ------------------
  |  Branch (1147:9): [True: 0, False: 61]
  ------------------
 1148|      0|        return PyStackRef_ERROR;
 1149|      0|    }
 1150|     61|    return PyStackRef_FromPyObjectSteal(iter_o);
 1151|     61|}
_PyEval_StoreName:
 1154|  5.17k|{
 1155|  5.17k|    int deletion = PyStackRef_IsNull(v);
  ------------------
  |  |  482|  5.17k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  5.17k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  5.17k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1156|       |
 1157|  5.17k|    if (ns == NULL) {
  ------------------
  |  Branch (1157:9): [True: 0, False: 5.17k]
  ------------------
 1158|      0|        const char *msg = deletion
  ------------------
  |  Branch (1158:27): [True: 0, False: 0]
  ------------------
 1159|      0|            ? "no locals found when deleting %R"
 1160|      0|            : "no locals found when storing %R";
 1161|      0|        _PyErr_Format(tstate, PyExc_SystemError, msg, name);
 1162|      0|        return 1;
 1163|      0|    }
 1164|       |
 1165|  5.17k|    if (deletion) {
  ------------------
  |  Branch (1165:9): [True: 36, False: 5.13k]
  ------------------
 1166|     36|        int error = PyObject_DelItem(ns, name);
 1167|     36|        if (error) {
  ------------------
  |  Branch (1167:13): [True: 0, False: 36]
  ------------------
 1168|      0|            _PyEval_FormatExcCheckArg(tstate, PyExc_NameError,
 1169|      0|                                    NAME_ERROR_MSG,
  ------------------
  |  |  405|      0|#define NAME_ERROR_MSG "name '%.200s' is not defined"
  ------------------
 1170|      0|                                    name);
 1171|      0|        }
 1172|     36|        return error;
 1173|     36|    }
 1174|       |
 1175|  5.13k|    PyObject *v_o = PyStackRef_AsPyObjectBorrow(v);
 1176|  5.13k|    if (PyDict_CheckExact(ns)) {
  ------------------
  |  |   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 (65:5): [True: 5.05k, False: 79]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1177|  5.05k|        return PyDict_SetItem(ns, name, v_o);
 1178|  5.05k|    }
 1179|       |
 1180|     79|    return PyObject_SetItem(ns, name, v_o);
 1181|  5.13k|}
_PyEval_EvalFrameDefault:
 1232|  2.16k|{
 1233|  2.16k|    _Py_EnsureTstateNotNULL(tstate);
  ------------------
  |  |  214|  2.16k|    _Py_EnsureFuncTstateNotNULL(__func__, (tstate))
  ------------------
 1234|  2.16k|    check_invalid_reentrancy();
 1235|  2.16k|    CALL_STAT_INC(pyeval_calls);
  ------------------
  |  |   76|  2.16k|#define CALL_STAT_INC(name) ((void)0)
  ------------------
 1236|       |
 1237|  2.16k|#if USE_COMPUTED_GOTOS && !_Py_TAIL_CALL_INTERP
 1238|       |/* Import the static jump table */
 1239|  2.16k|#include "opcode_targets.h"
  ------------------
  |  |    1|  2.16k|#if !_Py_TAIL_CALL_INTERP
  |  |    2|  2.16k|static void *opcode_targets_table[256] = {
  |  |    3|  2.16k|    &&TARGET_CACHE,
  |  |    4|  2.16k|    &&TARGET_BINARY_SLICE,
  |  |    5|  2.16k|    &&TARGET_BUILD_TEMPLATE,
  |  |    6|  2.16k|    &&TARGET_BINARY_OP_INPLACE_ADD_UNICODE,
  |  |    7|  2.16k|    &&TARGET_CALL_FUNCTION_EX,
  |  |    8|  2.16k|    &&TARGET_CHECK_EG_MATCH,
  |  |    9|  2.16k|    &&TARGET_CHECK_EXC_MATCH,
  |  |   10|  2.16k|    &&TARGET_CLEANUP_THROW,
  |  |   11|  2.16k|    &&TARGET_DELETE_SUBSCR,
  |  |   12|  2.16k|    &&TARGET_END_FOR,
  |  |   13|  2.16k|    &&TARGET_END_SEND,
  |  |   14|  2.16k|    &&TARGET_EXIT_INIT_CHECK,
  |  |   15|  2.16k|    &&TARGET_FORMAT_SIMPLE,
  |  |   16|  2.16k|    &&TARGET_FORMAT_WITH_SPEC,
  |  |   17|  2.16k|    &&TARGET_GET_AITER,
  |  |   18|  2.16k|    &&TARGET_GET_ANEXT,
  |  |   19|  2.16k|    &&TARGET_GET_LEN,
  |  |   20|  2.16k|    &&TARGET_RESERVED,
  |  |   21|  2.16k|    &&TARGET_INTERPRETER_EXIT,
  |  |   22|  2.16k|    &&TARGET_LOAD_BUILD_CLASS,
  |  |   23|  2.16k|    &&TARGET_LOAD_LOCALS,
  |  |   24|  2.16k|    &&TARGET_MAKE_FUNCTION,
  |  |   25|  2.16k|    &&TARGET_MATCH_KEYS,
  |  |   26|  2.16k|    &&TARGET_MATCH_MAPPING,
  |  |   27|  2.16k|    &&TARGET_MATCH_SEQUENCE,
  |  |   28|  2.16k|    &&TARGET_NOP,
  |  |   29|  2.16k|    &&TARGET_NOT_TAKEN,
  |  |   30|  2.16k|    &&TARGET_POP_EXCEPT,
  |  |   31|  2.16k|    &&TARGET_POP_ITER,
  |  |   32|  2.16k|    &&TARGET_POP_TOP,
  |  |   33|  2.16k|    &&TARGET_PUSH_EXC_INFO,
  |  |   34|  2.16k|    &&TARGET_PUSH_NULL,
  |  |   35|  2.16k|    &&TARGET_RETURN_GENERATOR,
  |  |   36|  2.16k|    &&TARGET_RETURN_VALUE,
  |  |   37|  2.16k|    &&TARGET_SETUP_ANNOTATIONS,
  |  |   38|  2.16k|    &&TARGET_STORE_SLICE,
  |  |   39|  2.16k|    &&TARGET_STORE_SUBSCR,
  |  |   40|  2.16k|    &&TARGET_TO_BOOL,
  |  |   41|  2.16k|    &&TARGET_UNARY_INVERT,
  |  |   42|  2.16k|    &&TARGET_UNARY_NEGATIVE,
  |  |   43|  2.16k|    &&TARGET_UNARY_NOT,
  |  |   44|  2.16k|    &&TARGET_WITH_EXCEPT_START,
  |  |   45|  2.16k|    &&TARGET_BINARY_OP,
  |  |   46|  2.16k|    &&TARGET_BUILD_INTERPOLATION,
  |  |   47|  2.16k|    &&TARGET_BUILD_LIST,
  |  |   48|  2.16k|    &&TARGET_BUILD_MAP,
  |  |   49|  2.16k|    &&TARGET_BUILD_SET,
  |  |   50|  2.16k|    &&TARGET_BUILD_SLICE,
  |  |   51|  2.16k|    &&TARGET_BUILD_STRING,
  |  |   52|  2.16k|    &&TARGET_BUILD_TUPLE,
  |  |   53|  2.16k|    &&TARGET_CALL,
  |  |   54|  2.16k|    &&TARGET_CALL_INTRINSIC_1,
  |  |   55|  2.16k|    &&TARGET_CALL_INTRINSIC_2,
  |  |   56|  2.16k|    &&TARGET_CALL_KW,
  |  |   57|  2.16k|    &&TARGET_COMPARE_OP,
  |  |   58|  2.16k|    &&TARGET_CONTAINS_OP,
  |  |   59|  2.16k|    &&TARGET_CONVERT_VALUE,
  |  |   60|  2.16k|    &&TARGET_COPY,
  |  |   61|  2.16k|    &&TARGET_COPY_FREE_VARS,
  |  |   62|  2.16k|    &&TARGET_DELETE_DEREF,
  |  |   63|  2.16k|    &&TARGET_DELETE_FAST,
  |  |   64|  2.16k|    &&TARGET_DICT_MERGE,
  |  |   65|  2.16k|    &&TARGET_DICT_UPDATE,
  |  |   66|  2.16k|    &&TARGET_END_ASYNC_FOR,
  |  |   67|  2.16k|    &&TARGET_EXTENDED_ARG,
  |  |   68|  2.16k|    &&TARGET_FOR_ITER,
  |  |   69|  2.16k|    &&TARGET_GET_AWAITABLE,
  |  |   70|  2.16k|    &&TARGET_GET_ITER,
  |  |   71|  2.16k|    &&TARGET_IMPORT_FROM,
  |  |   72|  2.16k|    &&TARGET_IMPORT_NAME,
  |  |   73|  2.16k|    &&TARGET_IS_OP,
  |  |   74|  2.16k|    &&TARGET_JUMP_BACKWARD,
  |  |   75|  2.16k|    &&TARGET_JUMP_BACKWARD_NO_INTERRUPT,
  |  |   76|  2.16k|    &&TARGET_JUMP_FORWARD,
  |  |   77|  2.16k|    &&TARGET_LIST_APPEND,
  |  |   78|  2.16k|    &&TARGET_LIST_EXTEND,
  |  |   79|  2.16k|    &&TARGET_LOAD_ATTR,
  |  |   80|  2.16k|    &&TARGET_LOAD_COMMON_CONSTANT,
  |  |   81|  2.16k|    &&TARGET_LOAD_CONST,
  |  |   82|  2.16k|    &&TARGET_LOAD_DEREF,
  |  |   83|  2.16k|    &&TARGET_LOAD_FAST,
  |  |   84|  2.16k|    &&TARGET_LOAD_FAST_AND_CLEAR,
  |  |   85|  2.16k|    &&TARGET_LOAD_FAST_BORROW,
  |  |   86|  2.16k|    &&TARGET_LOAD_FAST_BORROW_LOAD_FAST_BORROW,
  |  |   87|  2.16k|    &&TARGET_LOAD_FAST_CHECK,
  |  |   88|  2.16k|    &&TARGET_LOAD_FAST_LOAD_FAST,
  |  |   89|  2.16k|    &&TARGET_LOAD_FROM_DICT_OR_DEREF,
  |  |   90|  2.16k|    &&TARGET_LOAD_FROM_DICT_OR_GLOBALS,
  |  |   91|  2.16k|    &&TARGET_LOAD_GLOBAL,
  |  |   92|  2.16k|    &&TARGET_LOAD_NAME,
  |  |   93|  2.16k|    &&TARGET_LOAD_SMALL_INT,
  |  |   94|  2.16k|    &&TARGET_LOAD_SPECIAL,
  |  |   95|  2.16k|    &&TARGET_LOAD_SUPER_ATTR,
  |  |   96|  2.16k|    &&TARGET_MAKE_CELL,
  |  |   97|  2.16k|    &&TARGET_MAP_ADD,
  |  |   98|  2.16k|    &&TARGET_MATCH_CLASS,
  |  |   99|  2.16k|    &&TARGET_POP_JUMP_IF_FALSE,
  |  |  100|  2.16k|    &&TARGET_POP_JUMP_IF_NONE,
  |  |  101|  2.16k|    &&TARGET_POP_JUMP_IF_NOT_NONE,
  |  |  102|  2.16k|    &&TARGET_POP_JUMP_IF_TRUE,
  |  |  103|  2.16k|    &&TARGET_RAISE_VARARGS,
  |  |  104|  2.16k|    &&TARGET_RERAISE,
  |  |  105|  2.16k|    &&TARGET_SEND,
  |  |  106|  2.16k|    &&TARGET_SET_ADD,
  |  |  107|  2.16k|    &&TARGET_SET_FUNCTION_ATTRIBUTE,
  |  |  108|  2.16k|    &&TARGET_SET_UPDATE,
  |  |  109|  2.16k|    &&TARGET_STORE_ATTR,
  |  |  110|  2.16k|    &&TARGET_STORE_DEREF,
  |  |  111|  2.16k|    &&TARGET_STORE_FAST,
  |  |  112|  2.16k|    &&TARGET_STORE_FAST_LOAD_FAST,
  |  |  113|  2.16k|    &&TARGET_STORE_FAST_STORE_FAST,
  |  |  114|  2.16k|    &&TARGET_STORE_GLOBAL,
  |  |  115|  2.16k|    &&TARGET_STORE_NAME,
  |  |  116|  2.16k|    &&TARGET_SWAP,
  |  |  117|  2.16k|    &&TARGET_UNPACK_EX,
  |  |  118|  2.16k|    &&TARGET_UNPACK_SEQUENCE,
  |  |  119|  2.16k|    &&TARGET_YIELD_VALUE,
  |  |  120|  2.16k|    &&_unknown_opcode,
  |  |  121|  2.16k|    &&_unknown_opcode,
  |  |  122|  2.16k|    &&_unknown_opcode,
  |  |  123|  2.16k|    &&_unknown_opcode,
  |  |  124|  2.16k|    &&_unknown_opcode,
  |  |  125|  2.16k|    &&_unknown_opcode,
  |  |  126|  2.16k|    &&_unknown_opcode,
  |  |  127|  2.16k|    &&_unknown_opcode,
  |  |  128|  2.16k|    &&_unknown_opcode,
  |  |  129|  2.16k|    &&_unknown_opcode,
  |  |  130|  2.16k|    &&_unknown_opcode,
  |  |  131|  2.16k|    &&TARGET_RESUME,
  |  |  132|  2.16k|    &&TARGET_BINARY_OP_ADD_FLOAT,
  |  |  133|  2.16k|    &&TARGET_BINARY_OP_ADD_INT,
  |  |  134|  2.16k|    &&TARGET_BINARY_OP_ADD_UNICODE,
  |  |  135|  2.16k|    &&TARGET_BINARY_OP_EXTEND,
  |  |  136|  2.16k|    &&TARGET_BINARY_OP_MULTIPLY_FLOAT,
  |  |  137|  2.16k|    &&TARGET_BINARY_OP_MULTIPLY_INT,
  |  |  138|  2.16k|    &&TARGET_BINARY_OP_SUBSCR_DICT,
  |  |  139|  2.16k|    &&TARGET_BINARY_OP_SUBSCR_GETITEM,
  |  |  140|  2.16k|    &&TARGET_BINARY_OP_SUBSCR_LIST_INT,
  |  |  141|  2.16k|    &&TARGET_BINARY_OP_SUBSCR_LIST_SLICE,
  |  |  142|  2.16k|    &&TARGET_BINARY_OP_SUBSCR_STR_INT,
  |  |  143|  2.16k|    &&TARGET_BINARY_OP_SUBSCR_TUPLE_INT,
  |  |  144|  2.16k|    &&TARGET_BINARY_OP_SUBSCR_USTR_INT,
  |  |  145|  2.16k|    &&TARGET_BINARY_OP_SUBTRACT_FLOAT,
  |  |  146|  2.16k|    &&TARGET_BINARY_OP_SUBTRACT_INT,
  |  |  147|  2.16k|    &&TARGET_CALL_ALLOC_AND_ENTER_INIT,
  |  |  148|  2.16k|    &&TARGET_CALL_BOUND_METHOD_EXACT_ARGS,
  |  |  149|  2.16k|    &&TARGET_CALL_BOUND_METHOD_GENERAL,
  |  |  150|  2.16k|    &&TARGET_CALL_BUILTIN_CLASS,
  |  |  151|  2.16k|    &&TARGET_CALL_BUILTIN_FAST,
  |  |  152|  2.16k|    &&TARGET_CALL_BUILTIN_FAST_WITH_KEYWORDS,
  |  |  153|  2.16k|    &&TARGET_CALL_BUILTIN_O,
  |  |  154|  2.16k|    &&TARGET_CALL_EX_NON_PY_GENERAL,
  |  |  155|  2.16k|    &&TARGET_CALL_EX_PY,
  |  |  156|  2.16k|    &&TARGET_CALL_ISINSTANCE,
  |  |  157|  2.16k|    &&TARGET_CALL_KW_BOUND_METHOD,
  |  |  158|  2.16k|    &&TARGET_CALL_KW_NON_PY,
  |  |  159|  2.16k|    &&TARGET_CALL_KW_PY,
  |  |  160|  2.16k|    &&TARGET_CALL_LEN,
  |  |  161|  2.16k|    &&TARGET_CALL_LIST_APPEND,
  |  |  162|  2.16k|    &&TARGET_CALL_METHOD_DESCRIPTOR_FAST,
  |  |  163|  2.16k|    &&TARGET_CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS,
  |  |  164|  2.16k|    &&TARGET_CALL_METHOD_DESCRIPTOR_NOARGS,
  |  |  165|  2.16k|    &&TARGET_CALL_METHOD_DESCRIPTOR_O,
  |  |  166|  2.16k|    &&TARGET_CALL_NON_PY_GENERAL,
  |  |  167|  2.16k|    &&TARGET_CALL_PY_EXACT_ARGS,
  |  |  168|  2.16k|    &&TARGET_CALL_PY_GENERAL,
  |  |  169|  2.16k|    &&TARGET_CALL_STR_1,
  |  |  170|  2.16k|    &&TARGET_CALL_TUPLE_1,
  |  |  171|  2.16k|    &&TARGET_CALL_TYPE_1,
  |  |  172|  2.16k|    &&TARGET_COMPARE_OP_FLOAT,
  |  |  173|  2.16k|    &&TARGET_COMPARE_OP_INT,
  |  |  174|  2.16k|    &&TARGET_COMPARE_OP_STR,
  |  |  175|  2.16k|    &&TARGET_CONTAINS_OP_DICT,
  |  |  176|  2.16k|    &&TARGET_CONTAINS_OP_SET,
  |  |  177|  2.16k|    &&TARGET_FOR_ITER_GEN,
  |  |  178|  2.16k|    &&TARGET_FOR_ITER_LIST,
  |  |  179|  2.16k|    &&TARGET_FOR_ITER_RANGE,
  |  |  180|  2.16k|    &&TARGET_FOR_ITER_TUPLE,
  |  |  181|  2.16k|    &&TARGET_FOR_ITER_VIRTUAL,
  |  |  182|  2.16k|    &&TARGET_GET_ITER_SELF,
  |  |  183|  2.16k|    &&TARGET_GET_ITER_VIRTUAL,
  |  |  184|  2.16k|    &&TARGET_JUMP_BACKWARD_JIT,
  |  |  185|  2.16k|    &&TARGET_JUMP_BACKWARD_NO_JIT,
  |  |  186|  2.16k|    &&TARGET_LOAD_ATTR_CLASS,
  |  |  187|  2.16k|    &&TARGET_LOAD_ATTR_CLASS_WITH_METACLASS_CHECK,
  |  |  188|  2.16k|    &&TARGET_LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN,
  |  |  189|  2.16k|    &&TARGET_LOAD_ATTR_INSTANCE_VALUE,
  |  |  190|  2.16k|    &&TARGET_LOAD_ATTR_METHOD_LAZY_DICT,
  |  |  191|  2.16k|    &&TARGET_LOAD_ATTR_METHOD_NO_DICT,
  |  |  192|  2.16k|    &&TARGET_LOAD_ATTR_METHOD_WITH_VALUES,
  |  |  193|  2.16k|    &&TARGET_LOAD_ATTR_MODULE,
  |  |  194|  2.16k|    &&TARGET_LOAD_ATTR_NONDESCRIPTOR_NO_DICT,
  |  |  195|  2.16k|    &&TARGET_LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES,
  |  |  196|  2.16k|    &&TARGET_LOAD_ATTR_PROPERTY,
  |  |  197|  2.16k|    &&TARGET_LOAD_ATTR_SLOT,
  |  |  198|  2.16k|    &&TARGET_LOAD_ATTR_WITH_HINT,
  |  |  199|  2.16k|    &&TARGET_LOAD_GLOBAL_BUILTIN,
  |  |  200|  2.16k|    &&TARGET_LOAD_GLOBAL_MODULE,
  |  |  201|  2.16k|    &&TARGET_LOAD_SUPER_ATTR_ATTR,
  |  |  202|  2.16k|    &&TARGET_LOAD_SUPER_ATTR_METHOD,
  |  |  203|  2.16k|    &&TARGET_RESUME_CHECK,
  |  |  204|  2.16k|    &&TARGET_RESUME_CHECK_JIT,
  |  |  205|  2.16k|    &&TARGET_SEND_ASYNC_GEN,
  |  |  206|  2.16k|    &&TARGET_SEND_GEN,
  |  |  207|  2.16k|    &&TARGET_SEND_VIRTUAL,
  |  |  208|  2.16k|    &&TARGET_STORE_ATTR_INSTANCE_VALUE,
  |  |  209|  2.16k|    &&TARGET_STORE_ATTR_SLOT,
  |  |  210|  2.16k|    &&TARGET_STORE_ATTR_WITH_HINT,
  |  |  211|  2.16k|    &&TARGET_STORE_SUBSCR_DICT,
  |  |  212|  2.16k|    &&TARGET_STORE_SUBSCR_LIST_INT,
  |  |  213|  2.16k|    &&TARGET_TO_BOOL_ALWAYS_TRUE,
  |  |  214|  2.16k|    &&TARGET_TO_BOOL_BOOL,
  |  |  215|  2.16k|    &&TARGET_TO_BOOL_INT,
  |  |  216|  2.16k|    &&TARGET_TO_BOOL_LIST,
  |  |  217|  2.16k|    &&TARGET_TO_BOOL_NONE,
  |  |  218|  2.16k|    &&TARGET_TO_BOOL_STR,
  |  |  219|  2.16k|    &&TARGET_UNPACK_SEQUENCE_LIST,
  |  |  220|  2.16k|    &&TARGET_UNPACK_SEQUENCE_TUPLE,
  |  |  221|  2.16k|    &&TARGET_UNPACK_SEQUENCE_TWO_TUPLE,
  |  |  222|  2.16k|    &&_unknown_opcode,
  |  |  223|  2.16k|    &&_unknown_opcode,
  |  |  224|  2.16k|    &&_unknown_opcode,
  |  |  225|  2.16k|    &&_unknown_opcode,
  |  |  226|  2.16k|    &&_unknown_opcode,
  |  |  227|  2.16k|    &&_unknown_opcode,
  |  |  228|  2.16k|    &&_unknown_opcode,
  |  |  229|  2.16k|    &&_unknown_opcode,
  |  |  230|  2.16k|    &&_unknown_opcode,
  |  |  231|  2.16k|    &&_unknown_opcode,
  |  |  232|  2.16k|    &&_unknown_opcode,
  |  |  233|  2.16k|    &&_unknown_opcode,
  |  |  234|  2.16k|    &&_unknown_opcode,
  |  |  235|  2.16k|    &&_unknown_opcode,
  |  |  236|  2.16k|    &&TARGET_INSTRUMENTED_END_FOR,
  |  |  237|  2.16k|    &&TARGET_INSTRUMENTED_POP_ITER,
  |  |  238|  2.16k|    &&TARGET_INSTRUMENTED_END_SEND,
  |  |  239|  2.16k|    &&TARGET_INSTRUMENTED_FOR_ITER,
  |  |  240|  2.16k|    &&TARGET_INSTRUMENTED_INSTRUCTION,
  |  |  241|  2.16k|    &&TARGET_INSTRUMENTED_JUMP_FORWARD,
  |  |  242|  2.16k|    &&TARGET_INSTRUMENTED_NOT_TAKEN,
  |  |  243|  2.16k|    &&TARGET_INSTRUMENTED_POP_JUMP_IF_TRUE,
  |  |  244|  2.16k|    &&TARGET_INSTRUMENTED_POP_JUMP_IF_FALSE,
  |  |  245|  2.16k|    &&TARGET_INSTRUMENTED_POP_JUMP_IF_NONE,
  |  |  246|  2.16k|    &&TARGET_INSTRUMENTED_POP_JUMP_IF_NOT_NONE,
  |  |  247|  2.16k|    &&TARGET_INSTRUMENTED_RESUME,
  |  |  248|  2.16k|    &&TARGET_INSTRUMENTED_RETURN_VALUE,
  |  |  249|  2.16k|    &&TARGET_INSTRUMENTED_YIELD_VALUE,
  |  |  250|  2.16k|    &&TARGET_INSTRUMENTED_END_ASYNC_FOR,
  |  |  251|  2.16k|    &&TARGET_INSTRUMENTED_LOAD_SUPER_ATTR,
  |  |  252|  2.16k|    &&TARGET_INSTRUMENTED_CALL,
  |  |  253|  2.16k|    &&TARGET_INSTRUMENTED_CALL_KW,
  |  |  254|  2.16k|    &&TARGET_INSTRUMENTED_CALL_FUNCTION_EX,
  |  |  255|  2.16k|    &&TARGET_INSTRUMENTED_JUMP_BACKWARD,
  |  |  256|  2.16k|    &&TARGET_INSTRUMENTED_LINE,
  |  |  257|  2.16k|    &&TARGET_ENTER_EXECUTOR,
  |  |  258|  2.16k|    &&TARGET_TRACE_RECORD,
  |  |  259|  2.16k|};
  |  |  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 */
  ------------------
 1240|  2.16k|    void **opcode_targets = opcode_targets_table;
 1241|  2.16k|#endif
 1242|       |
 1243|       |#ifdef Py_STATS
 1244|       |    int lastopcode = 0;
 1245|       |#endif
 1246|  2.16k|#if !_Py_TAIL_CALL_INTERP
 1247|  2.16k|    uint8_t opcode;    /* Current opcode */
 1248|  2.16k|    int oparg;         /* Current opcode argument, if any */
 1249|  2.16k|    assert(tstate->current_frame == NULL || tstate->current_frame->stackpointer != NULL);
  ------------------
  |  Branch (1249:5): [True: 0, False: 2.16k]
  |  Branch (1249:5): [True: 2.16k, False: 0]
  ------------------
 1250|       |#if !USE_COMPUTED_GOTOS
 1251|       |    uint8_t tracing_mode = 0;
 1252|       |    uint8_t dispatch_code;
 1253|       |#endif
 1254|  2.16k|#endif
 1255|  2.16k|    _PyEntryFrame entry;
 1256|       |
 1257|  2.16k|    if (_Py_EnterRecursiveCallTstate(tstate, "")) {
  ------------------
  |  Branch (1257:9): [True: 0, False: 2.16k]
  ------------------
 1258|      0|        assert(frame->owner != FRAME_OWNED_BY_INTERPRETER);
  ------------------
  |  Branch (1258:9): [True: 0, False: 0]
  ------------------
 1259|      0|        _PyEval_FrameClearAndPop(tstate, frame);
 1260|      0|        return NULL;
 1261|      0|    }
 1262|       |
 1263|       |    /* Local "register" variables.
 1264|       |     * These are cached values from the frame and code object.  */
 1265|  2.16k|    _Py_CODEUNIT *next_instr;
 1266|  2.16k|    _PyStackRef *stack_pointer;
 1267|  2.16k|    entry.stack[0] = PyStackRef_NULL;
 1268|       |#ifdef Py_STACKREF_DEBUG
 1269|       |    entry.frame.f_funcobj = PyStackRef_None;
 1270|       |#elif defined(Py_DEBUG)
 1271|       |    /* Set these to invalid but identifiable values for debugging. */
 1272|       |    entry.frame.f_funcobj = (_PyStackRef){.bits = 0xaaa0};
 1273|       |    entry.frame.f_locals = (PyObject*)0xaaa1;
 1274|       |    entry.frame.frame_obj = (PyFrameObject*)0xaaa2;
 1275|       |    entry.frame.f_globals = (PyObject*)0xaaa3;
 1276|       |    entry.frame.f_builtins = (PyObject*)0xaaa4;
 1277|       |#endif
 1278|  2.16k|    entry.frame.f_executable = PyStackRef_None;
  ------------------
  |  |  485|  2.16k|#define PyStackRef_None ((_PyStackRef){.bits = ((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT })
  |  |  ------------------
  |  |  |  |   55|  2.16k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
 1279|  2.16k|    entry.frame.instr_ptr = (_Py_CODEUNIT *)_Py_INTERPRETER_TRAMPOLINE_INSTRUCTIONS + 1;
 1280|  2.16k|    entry.frame.stackpointer = entry.stack;
 1281|  2.16k|    entry.frame.owner = FRAME_OWNED_BY_INTERPRETER;
 1282|  2.16k|    entry.frame.visited = 0;
 1283|  2.16k|    entry.frame.return_offset = 0;
 1284|       |#ifdef Py_DEBUG
 1285|       |    entry.frame.lltrace = 0;
 1286|       |    entry.frame.stackpointer_valid = 1;
 1287|       |#endif
 1288|       |    /* Push frame */
 1289|  2.16k|    entry.frame.previous = tstate->current_frame;
 1290|  2.16k|    frame->previous = &entry.frame;
 1291|  2.16k|    tstate->current_frame = frame;
 1292|  2.16k|    entry.frame.localsplus[0] = PyStackRef_NULL;
 1293|       |#ifdef _Py_TIER2
 1294|       |    if (tstate->current_executor != NULL) {
 1295|       |        assert(Py_TYPE(tstate->current_executor) == &_PyUOpExecutor_Type);
 1296|       |        entry.frame.localsplus[0] = PyStackRef_FromPyObjectNew(tstate->current_executor);
 1297|       |        tstate->current_executor = NULL;
 1298|       |    }
 1299|       |#endif
 1300|       |
 1301|       |    /* support for generator.throw() */
 1302|  2.16k|    if (throwflag) {
  ------------------
  |  Branch (1302:9): [True: 0, False: 2.16k]
  ------------------
 1303|      0|        if (_Py_EnterRecursivePy(tstate)) {
  ------------------
  |  Branch (1303:13): [True: 0, False: 0]
  ------------------
 1304|      0|            goto early_exit;
 1305|      0|        }
 1306|       |#ifdef Py_GIL_DISABLED
 1307|       |        /* Load thread-local bytecode */
 1308|       |        if (frame->tlbc_index != ((_PyThreadStateImpl *)tstate)->tlbc_index) {
 1309|       |            _Py_CODEUNIT *bytecode =
 1310|       |                _PyEval_GetExecutableCode(tstate, _PyFrame_GetCode(frame));
 1311|       |            if (bytecode == NULL) {
 1312|       |                goto early_exit;
 1313|       |            }
 1314|       |            ptrdiff_t off = frame->instr_ptr - _PyFrame_GetBytecode(frame);
 1315|       |            frame->tlbc_index = ((_PyThreadStateImpl *)tstate)->tlbc_index;
 1316|       |            frame->instr_ptr = bytecode + off;
 1317|       |        }
 1318|       |#endif
 1319|       |        /* Because this avoids the RESUME, we need to update instrumentation */
 1320|      0|        _Py_Instrument(_PyFrame_GetCode(frame), tstate->interp);
 1321|      0|        next_instr = frame->instr_ptr;
 1322|      0|        monitor_throw(tstate, frame, next_instr);
 1323|      0|        stack_pointer = _PyFrame_GetStackPointer(frame);
 1324|      0|        _PyFrame_StackPointerInvalidate(frame);
 1325|       |#if _Py_TAIL_CALL_INTERP
 1326|       |#   if Py_STATS
 1327|       |        return _TAIL_CALL_error(frame, stack_pointer, tstate, next_instr, instruction_funcptr_handler_table, 0, lastopcode);
 1328|       |#   else
 1329|       |        return _TAIL_CALL_error(frame, stack_pointer, tstate, next_instr, instruction_funcptr_handler_table, 0);
 1330|       |#   endif
 1331|       |#else
 1332|      0|        goto error;
 1333|      0|#endif
 1334|      0|    }
 1335|       |
 1336|       |#if _Py_TAIL_CALL_INTERP
 1337|       |#   if Py_STATS
 1338|       |        return _TAIL_CALL_start_frame(frame, NULL, tstate, NULL, instruction_funcptr_handler_table, 0, lastopcode);
 1339|       |#   else
 1340|       |        return _TAIL_CALL_start_frame(frame, NULL, tstate, NULL, instruction_funcptr_handler_table, 0);
 1341|       |#   endif
 1342|       |#else
 1343|  2.16k|    goto start_frame;
 1344|  2.16k|#   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: 214, False: 925]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   46|    214|                    next_instr = this_instr;
  |  |   47|    214|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |   48|    214|                    _PyFrame_StackPointerValidate(frame);
  |  |   49|    214|                    _Py_Specialize_BinaryOp(lhs, rhs, next_instr, oparg, LOCALS_ARRAY);
  |  |  ------------------
  |  |  |  |  284|    214|#define LOCALS_ARRAY    (frame->localsplus)
  |  |  ------------------
  |  |   50|    214|                    _PyFrame_StackPointerInvalidate(frame);
  |  |   51|    214|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|    214|    { \
  |  |  |  |  217|    214|        opcode = next_instr->op.code; \
  |  |  |  |  218|    214|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    214|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|    214|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|    214|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|    214|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|    214|    }
  |  |  ------------------
  |  |   52|    214|                }
  |  |   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: 925, False: 214]
  |  |  ------------------
  |  |   57|  1.13k|                assert(oparg <= NB_OPARG_LAST);
  |  |  ------------------
  |  |  |  Branch (57:17): [True: 925, False: 0]
  |  |  ------------------
  |  |   58|    925|            }
  |  |   59|       |            /* Skip 4 cache entries */
  |  |   60|       |            // _BINARY_OP
  |  |   61|    925|            {
  |  |   62|    925|                PyObject *lhs_o = PyStackRef_AsPyObjectBorrow(lhs);
  |  |   63|    925|                PyObject *rhs_o = PyStackRef_AsPyObjectBorrow(rhs);
  |  |   64|    925|                assert(_PyEval_BinaryOps[oparg]);
  |  |  ------------------
  |  |  |  Branch (64:17): [True: 925, False: 0]
  |  |  ------------------
  |  |   65|    925|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |   66|    925|                _PyFrame_StackPointerValidate(frame);
  |  |   67|    925|                PyObject *res_o = _PyEval_BinaryOps[oparg](lhs_o, rhs_o);
  |  |   68|    925|                _PyFrame_StackPointerInvalidate(frame);
  |  |   69|    925|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (69:21): [True: 25, False: 900]
  |  |  ------------------
  |  |   70|     25|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|     25|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |   71|      0|                }
  |  |   72|    900|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  |   73|    900|                l = lhs;
  |  |   74|    900|                r = rhs;
  |  |   75|    900|            }
  |  |   76|       |            // _POP_TOP
  |  |   77|      0|            {
  |  |   78|    900|                value = r;
  |  |   79|    900|                stack_pointer[-2] = res;
  |  |   80|    900|                stack_pointer[-1] = l;
  |  |   81|    900|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (81:17): [True: 900, False: 0]
  |  |  ------------------
  |  |   82|    900|                _PyFrame_StackPointerValidate(frame);
  |  |   83|    900|                PyStackRef_XCLOSE(value);
  |  |   84|    900|                _PyFrame_StackPointerInvalidate(frame);
  |  |   85|    900|            }
  |  |   86|       |            // _POP_TOP
  |  |   87|      0|            {
  |  |   88|    900|                value = l;
  |  |   89|    900|                stack_pointer += -1;
  |  |   90|    900|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    900|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |   91|    900|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |   92|    900|                _PyFrame_StackPointerValidate(frame);
  |  |   93|    900|                PyStackRef_XCLOSE(value);
  |  |   94|    900|                _PyFrame_StackPointerInvalidate(frame);
  |  |   95|    900|            }
  |  |   96|    900|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    900|    { \
  |  |  |  |  201|    900|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    900|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    900|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    900|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    900|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    900|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    900|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    900|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 900]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    900|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    900|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    900|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    900|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    900|    }
  |  |  ------------------
  |  |   97|    900|        }
  |  |   98|       |
  |  |   99|      0|        TARGET(BINARY_OP_ADD_FLOAT) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  100|       |            #if _Py_TAIL_CALL_INTERP
  |  |  101|       |            int opcode = BINARY_OP_ADD_FLOAT;
  |  |  102|       |            (void)(opcode);
  |  |  103|       |            #endif
  |  |  104|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  105|      0|            (void)this_instr;
  |  |  106|      0|            frame->instr_ptr = next_instr;
  |  |  107|      0|            next_instr += 6;
  |  |  108|      0|            INSTRUCTION_STATS(BINARY_OP_ADD_FLOAT);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  109|      0|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  110|      0|            _PyStackRef value;
  |  |  111|      0|            _PyStackRef left;
  |  |  112|      0|            _PyStackRef right;
  |  |  113|      0|            _PyStackRef res;
  |  |  114|      0|            _PyStackRef l;
  |  |  115|      0|            _PyStackRef r;
  |  |  116|       |            // _GUARD_TOS_FLOAT
  |  |  117|      0|            {
  |  |  118|      0|                value = stack_pointer[-1];
  |  |  119|      0|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |  120|      0|                if (!PyFloat_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |   17|      0|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (120:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  121|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  122|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (122:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  123|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  124|      0|                }
  |  |  125|      0|            }
  |  |  126|       |            // _GUARD_NOS_FLOAT
  |  |  127|      0|            {
  |  |  128|      0|                left = stack_pointer[-2];
  |  |  129|      0|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  130|      0|                if (!PyFloat_CheckExact(left_o)) {
  |  |  ------------------
  |  |  |  |   17|      0|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (130:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  131|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  132|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (132:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  133|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  134|      0|                }
  |  |  135|      0|            }
  |  |  136|       |            /* Skip 5 cache entries */
  |  |  137|       |            // _BINARY_OP_ADD_FLOAT
  |  |  138|      0|            {
  |  |  139|      0|                right = value;
  |  |  140|      0|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  141|      0|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  |  142|      0|                assert(PyFloat_CheckExact(left_o));
  |  |  ------------------
  |  |  |  Branch (142:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  143|      0|                assert(PyFloat_CheckExact(right_o));
  |  |  ------------------
  |  |  |  Branch (143:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  144|      0|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|      0|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  145|      0|                double dres =
  |  |  146|      0|                ((PyFloatObject *)left_o)->ob_fval +
  |  |  147|      0|                ((PyFloatObject *)right_o)->ob_fval;
  |  |  148|      0|                PyObject *d = PyFloat_FromDouble(dres);
  |  |  149|      0|                if (d == NULL) {
  |  |  ------------------
  |  |  |  Branch (149:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  150|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |  151|      0|                }
  |  |  152|      0|                res = PyStackRef_FromPyObjectSteal(d);
  |  |  153|      0|                l = left;
  |  |  154|      0|                r = right;
  |  |  155|      0|            }
  |  |  156|       |            // _POP_TOP_FLOAT
  |  |  157|      0|            {
  |  |  158|      0|                value = r;
  |  |  159|      0|                assert(PyFloat_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (159:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  160|      0|                PyStackRef_CLOSE_SPECIALIZED(value, _PyFloat_ExactDealloc);
  |  |  161|      0|            }
  |  |  162|       |            // _POP_TOP_FLOAT
  |  |  163|      0|            {
  |  |  164|      0|                value = l;
  |  |  165|      0|                assert(PyFloat_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (165:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  166|      0|                PyStackRef_CLOSE_SPECIALIZED(value, _PyFloat_ExactDealloc);
  |  |  167|      0|            }
  |  |  168|      0|            stack_pointer[-2] = res;
  |  |  169|      0|            stack_pointer += -1;
  |  |  170|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  171|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  |  172|      0|        }
  |  |  173|       |
  |  |  174|    144|        TARGET(BINARY_OP_ADD_INT) {
  |  |  ------------------
  |  |  |  |  132|    144|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  175|       |            #if _Py_TAIL_CALL_INTERP
  |  |  176|       |            int opcode = BINARY_OP_ADD_INT;
  |  |  177|       |            (void)(opcode);
  |  |  178|       |            #endif
  |  |  179|    144|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  180|    144|            (void)this_instr;
  |  |  181|    144|            frame->instr_ptr = next_instr;
  |  |  182|    144|            next_instr += 6;
  |  |  183|    144|            INSTRUCTION_STATS(BINARY_OP_ADD_INT);
  |  |  ------------------
  |  |  |  |   71|    144|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  184|    144|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  185|    144|            _PyStackRef value;
  |  |  186|    144|            _PyStackRef left;
  |  |  187|    144|            _PyStackRef right;
  |  |  188|    144|            _PyStackRef res;
  |  |  189|    144|            _PyStackRef l;
  |  |  190|    144|            _PyStackRef r;
  |  |  191|       |            // _GUARD_TOS_INT
  |  |  192|    144|            {
  |  |  193|    144|                value = stack_pointer[-1];
  |  |  194|    144|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |  195|    144|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (195:21): [True: 0, False: 144]
  |  |  ------------------
  |  |  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|    144|            }
  |  |  201|       |            // _GUARD_NOS_INT
  |  |  202|    144|            {
  |  |  203|    144|                left = stack_pointer[-2];
  |  |  204|    144|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  205|    144|                if (!_PyLong_CheckExactAndCompact(left_o)) {
  |  |  ------------------
  |  |  |  Branch (205:21): [True: 8, False: 136]
  |  |  ------------------
  |  |  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|    144|            }
  |  |  211|       |            /* Skip 5 cache entries */
  |  |  212|       |            // _BINARY_OP_ADD_INT
  |  |  213|    136|            {
  |  |  214|    136|                right = value;
  |  |  215|    136|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  216|    136|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  |  217|    136|                assert(PyLong_CheckExact(left_o));
  |  |  ------------------
  |  |  |  Branch (217:17): [True: 136, False: 0]
  |  |  ------------------
  |  |  218|    136|                assert(PyLong_CheckExact(right_o));
  |  |  ------------------
  |  |  |  Branch (218:17): [True: 136, False: 0]
  |  |  ------------------
  |  |  219|    136|                assert(_PyLong_BothAreCompact((PyLongObject *)left_o, (PyLongObject *)right_o));
  |  |  ------------------
  |  |  |  Branch (219:17): [True: 136, False: 0]
  |  |  ------------------
  |  |  220|    136|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|    136|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  221|    136|                res = _PyCompactLong_Add((PyLongObject *)left_o, (PyLongObject *)right_o);
  |  |  222|    136|                if (PyStackRef_IsNull(res)) {
  |  |  ------------------
  |  |  |  |  482|    136|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    136|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    136|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 136]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  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|    136|                l = left;
  |  |  228|    136|                r = right;
  |  |  229|    136|            }
  |  |  230|       |            // _POP_TOP_INT
  |  |  231|      0|            {
  |  |  232|    136|                value = r;
  |  |  233|    136|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (233:17): [True: 136, False: 0]
  |  |  ------------------
  |  |  234|    136|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  |  235|    136|            }
  |  |  236|       |            // _POP_TOP_INT
  |  |  237|      0|            {
  |  |  238|    136|                value = l;
  |  |  239|    136|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (239:17): [True: 136, False: 0]
  |  |  ------------------
  |  |  240|    136|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  |  241|    136|            }
  |  |  242|      0|            stack_pointer[-2] = res;
  |  |  243|    136|            stack_pointer += -1;
  |  |  244|    136|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    136|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  245|    136|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    136|    { \
  |  |  |  |  201|    136|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    136|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    136|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    136|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    136|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    136|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    136|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    136|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 136]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    136|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    136|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    136|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    136|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    136|    }
  |  |  ------------------
  |  |  246|    136|        }
  |  |  247|       |
  |  |  248|    954|        TARGET(BINARY_OP_ADD_UNICODE) {
  |  |  ------------------
  |  |  |  |  132|    954|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  249|       |            #if _Py_TAIL_CALL_INTERP
  |  |  250|       |            int opcode = BINARY_OP_ADD_UNICODE;
  |  |  251|       |            (void)(opcode);
  |  |  252|       |            #endif
  |  |  253|    954|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  254|    954|            (void)this_instr;
  |  |  255|    954|            frame->instr_ptr = next_instr;
  |  |  256|    954|            next_instr += 6;
  |  |  257|    954|            INSTRUCTION_STATS(BINARY_OP_ADD_UNICODE);
  |  |  ------------------
  |  |  |  |   71|    954|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  258|    954|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  259|    954|            _PyStackRef value;
  |  |  260|    954|            _PyStackRef nos;
  |  |  261|    954|            _PyStackRef left;
  |  |  262|    954|            _PyStackRef right;
  |  |  263|    954|            _PyStackRef res;
  |  |  264|    954|            _PyStackRef l;
  |  |  265|    954|            _PyStackRef r;
  |  |  266|       |            // _GUARD_TOS_UNICODE
  |  |  267|    954|            {
  |  |  268|    954|                value = stack_pointer[-1];
  |  |  269|    954|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |  270|    954|                if (!PyUnicode_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |  104|    954|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    954|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    954|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    954|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (270:21): [True: 0, False: 954]
  |  |  ------------------
  |  |  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|    954|            }
  |  |  276|       |            // _GUARD_NOS_UNICODE
  |  |  277|    954|            {
  |  |  278|    954|                nos = stack_pointer[-2];
  |  |  279|    954|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  |  280|    954|                if (!PyUnicode_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |  104|    954|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    954|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    954|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    954|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (280:21): [True: 0, False: 954]
  |  |  ------------------
  |  |  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|    954|            }
  |  |  286|       |            /* Skip 5 cache entries */
  |  |  287|       |            // _BINARY_OP_ADD_UNICODE
  |  |  288|    954|            {
  |  |  289|    954|                right = value;
  |  |  290|    954|                left = nos;
  |  |  291|    954|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  292|    954|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  |  293|    954|                assert(PyUnicode_CheckExact(left_o));
  |  |  ------------------
  |  |  |  Branch (293:17): [True: 954, False: 0]
  |  |  ------------------
  |  |  294|    954|                assert(PyUnicode_CheckExact(right_o));
  |  |  ------------------
  |  |  |  Branch (294:17): [True: 954, False: 0]
  |  |  ------------------
  |  |  295|    954|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|    954|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  296|    954|                PyObject *res_o = PyUnicode_Concat(left_o, right_o);
  |  |  297|    954|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (297:21): [True: 0, False: 954]
  |  |  ------------------
  |  |  298|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |  299|      0|                }
  |  |  300|    954|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  |  301|    954|                l = left;
  |  |  302|    954|                r = right;
  |  |  303|    954|            }
  |  |  304|       |            // _POP_TOP_UNICODE
  |  |  305|      0|            {
  |  |  306|    954|                value = r;
  |  |  307|    954|                assert(PyUnicode_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (307:17): [True: 954, False: 0]
  |  |  ------------------
  |  |  308|    954|                PyStackRef_CLOSE_SPECIALIZED(value, _PyUnicode_ExactDealloc);
  |  |  309|    954|            }
  |  |  310|       |            // _POP_TOP_UNICODE
  |  |  311|      0|            {
  |  |  312|    954|                value = l;
  |  |  313|    954|                assert(PyUnicode_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (313:17): [True: 954, False: 0]
  |  |  ------------------
  |  |  314|    954|                PyStackRef_CLOSE_SPECIALIZED(value, _PyUnicode_ExactDealloc);
  |  |  315|    954|            }
  |  |  316|      0|            stack_pointer[-2] = res;
  |  |  317|    954|            stack_pointer += -1;
  |  |  318|    954|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    954|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  319|    954|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    954|    { \
  |  |  |  |  201|    954|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    954|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    954|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    954|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    954|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    954|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    954|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    954|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 954]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    954|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    954|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    954|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    954|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    954|    }
  |  |  ------------------
  |  |  320|    954|        }
  |  |  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__);
  |  |  ------------------
  |  |  |  |  511|    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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    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|     46|        TARGET(BINARY_OP_INPLACE_ADD_UNICODE) {
  |  |  ------------------
  |  |  |  |  132|     46|#  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|     46|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  414|     46|            (void)this_instr;
  |  |  415|     46|            frame->instr_ptr = next_instr;
  |  |  416|     46|            next_instr += 6;
  |  |  417|     46|            INSTRUCTION_STATS(BINARY_OP_INPLACE_ADD_UNICODE);
  |  |  ------------------
  |  |  |  |   71|     46|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  418|     46|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  419|     46|            _PyStackRef value;
  |  |  420|     46|            _PyStackRef nos;
  |  |  421|     46|            _PyStackRef left;
  |  |  422|     46|            _PyStackRef right;
  |  |  423|     46|            _PyStackRef res;
  |  |  424|       |            // _GUARD_TOS_UNICODE
  |  |  425|     46|            {
  |  |  426|     46|                value = stack_pointer[-1];
  |  |  427|     46|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |  428|     46|                if (!PyUnicode_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |  104|     46|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|     46|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     46|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     46|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (428:21): [True: 0, False: 46]
  |  |  ------------------
  |  |  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|     46|            }
  |  |  434|       |            // _GUARD_NOS_UNICODE
  |  |  435|     46|            {
  |  |  436|     46|                nos = stack_pointer[-2];
  |  |  437|     46|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  |  438|     46|                if (!PyUnicode_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |  104|     46|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|     46|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     46|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     46|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (438:21): [True: 0, False: 46]
  |  |  ------------------
  |  |  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|     46|            }
  |  |  444|       |            /* Skip 5 cache entries */
  |  |  445|       |            // _BINARY_OP_INPLACE_ADD_UNICODE
  |  |  446|     46|            {
  |  |  447|     46|                right = value;
  |  |  448|     46|                left = nos;
  |  |  449|     46|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  450|     46|                assert(PyUnicode_CheckExact(left_o));
  |  |  ------------------
  |  |  |  Branch (450:17): [True: 46, False: 0]
  |  |  ------------------
  |  |  451|     46|                assert(PyUnicode_CheckExact(PyStackRef_AsPyObjectBorrow(right)));
  |  |  ------------------
  |  |  |  Branch (451:17): [True: 46, False: 0]
  |  |  ------------------
  |  |  452|     46|                int next_oparg;
  |  |  453|     46|                #if TIER_ONE
  |  |  454|     46|                assert(next_instr->op.code == STORE_FAST);
  |  |  ------------------
  |  |  |  Branch (454:17): [True: 46, False: 0]
  |  |  ------------------
  |  |  455|     46|                next_oparg = next_instr->op.arg;
  |  |  456|       |                #else
  |  |  457|       |                next_oparg = (int)CURRENT_OPERAND0_16();
  |  |  458|       |                #endif
  |  |  459|     46|                _PyStackRef *target_local = &GETLOCAL(next_oparg);
  |  |  ------------------
  |  |  |  |  285|     46|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |  460|     46|                assert(PyUnicode_CheckExact(left_o));
  |  |  ------------------
  |  |  |  Branch (460:17): [True: 46, False: 0]
  |  |  ------------------
  |  |  461|     46|                if (PyStackRef_AsPyObjectBorrow(*target_local) != left_o) {
  |  |  ------------------
  |  |  |  Branch (461:21): [True: 0, False: 46]
  |  |  ------------------
  |  |  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|     46|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|     46|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  467|     46|                assert(Py_REFCNT(left_o) >= 2 || !PyStackRef_IsHeapSafe(left));
  |  |  ------------------
  |  |  |  Branch (467:17): [True: 27, False: 19]
  |  |  |  Branch (467:17): [True: 19, False: 0]
  |  |  ------------------
  |  |  468|     46|                PyObject *temp = PyStackRef_AsPyObjectSteal(*target_local);
  |  |  469|     46|                PyObject *right_o = PyStackRef_AsPyObjectSteal(right);
  |  |  470|     46|                PyStackRef_CLOSE_SPECIALIZED(left, _PyUnicode_ExactDealloc);
  |  |  471|     46|                stack_pointer += -2;
  |  |  472|     46|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     46|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  473|     46|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  474|     46|                _PyFrame_StackPointerValidate(frame);
  |  |  475|     46|                PyUnicode_Append(&temp, right_o);
  |  |  476|     46|                _PyFrame_StackPointerInvalidate(frame);
  |  |  477|     46|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (477:17): [True: 46, False: 0]
  |  |  ------------------
  |  |  478|     46|                _PyFrame_StackPointerValidate(frame);
  |  |  479|     46|                _Py_DECREF_SPECIALIZED(right_o, _PyUnicode_ExactDealloc);
  |  |  ------------------
  |  |  |  |   96|     46|    do { \
  |  |  |  |   97|     46|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     46|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     46|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   98|     46|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|     46|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     46|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     46|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 7, False: 39]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   99|      7|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      7|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  100|      7|            break; \
  |  |  |  |  101|      7|        } \
  |  |  |  |  102|     46|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|     39|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  103|     39|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (103:13): [True: 39, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  104|     39|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|     39|    do { \
  |  |  |  |  |  |  113|     39|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|     39|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 39]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|     39|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 39]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  105|     39|            destructor d = (destructor)(dealloc); \
  |  |  |  |  106|     39|            d(op); \
  |  |  |  |  107|     39|        } \
  |  |  |  |  108|     39|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (108:14): [Folded, False: 39]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  480|     46|                _PyFrame_StackPointerInvalidate(frame);
  |  |  481|     46|                *target_local = PyStackRef_NULL;
  |  |  482|     46|                if (temp == NULL) {
  |  |  ------------------
  |  |  |  Branch (482:21): [True: 0, False: 46]
  |  |  ------------------
  |  |  483|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |  484|      0|                }
  |  |  485|     46|                res = PyStackRef_FromPyObjectSteal(temp);
  |  |  486|     46|            }
  |  |  487|      0|            stack_pointer[0] = res;
  |  |  488|     46|            stack_pointer += 1;
  |  |  489|     46|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     46|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  490|     46|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     46|    { \
  |  |  |  |  201|     46|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     46|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     46|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     46|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     46|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     46|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     46|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     46|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 46]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     46|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     46|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     46|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     46|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     46|    }
  |  |  ------------------
  |  |  491|     46|        }
  |  |  492|       |
  |  |  493|      0|        TARGET(BINARY_OP_MULTIPLY_FLOAT) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  494|       |            #if _Py_TAIL_CALL_INTERP
  |  |  495|       |            int opcode = BINARY_OP_MULTIPLY_FLOAT;
  |  |  496|       |            (void)(opcode);
  |  |  497|       |            #endif
  |  |  498|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  499|      0|            (void)this_instr;
  |  |  500|      0|            frame->instr_ptr = next_instr;
  |  |  501|      0|            next_instr += 6;
  |  |  502|      0|            INSTRUCTION_STATS(BINARY_OP_MULTIPLY_FLOAT);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  503|      0|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  504|      0|            _PyStackRef value;
  |  |  505|      0|            _PyStackRef left;
  |  |  506|      0|            _PyStackRef right;
  |  |  507|      0|            _PyStackRef res;
  |  |  508|      0|            _PyStackRef l;
  |  |  509|      0|            _PyStackRef r;
  |  |  510|       |            // _GUARD_TOS_FLOAT
  |  |  511|      0|            {
  |  |  512|      0|                value = stack_pointer[-1];
  |  |  513|      0|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |  514|      0|                if (!PyFloat_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |   17|      0|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (514:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  515|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  516|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (516:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  517|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  518|      0|                }
  |  |  519|      0|            }
  |  |  520|       |            // _GUARD_NOS_FLOAT
  |  |  521|      0|            {
  |  |  522|      0|                left = stack_pointer[-2];
  |  |  523|      0|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  524|      0|                if (!PyFloat_CheckExact(left_o)) {
  |  |  ------------------
  |  |  |  |   17|      0|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (524:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  525|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  526|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (526:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  527|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  528|      0|                }
  |  |  529|      0|            }
  |  |  530|       |            /* Skip 5 cache entries */
  |  |  531|       |            // _BINARY_OP_MULTIPLY_FLOAT
  |  |  532|      0|            {
  |  |  533|      0|                right = value;
  |  |  534|      0|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  535|      0|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  |  536|      0|                assert(PyFloat_CheckExact(left_o));
  |  |  ------------------
  |  |  |  Branch (536:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  537|      0|                assert(PyFloat_CheckExact(right_o));
  |  |  ------------------
  |  |  |  Branch (537:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  538|      0|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|      0|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  539|      0|                double dres =
  |  |  540|      0|                ((PyFloatObject *)left_o)->ob_fval *
  |  |  541|      0|                ((PyFloatObject *)right_o)->ob_fval;
  |  |  542|      0|                PyObject *d = PyFloat_FromDouble(dres);
  |  |  543|      0|                if (d == NULL) {
  |  |  ------------------
  |  |  |  Branch (543:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  544|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |  545|      0|                }
  |  |  546|      0|                res = PyStackRef_FromPyObjectSteal(d);
  |  |  547|      0|                l = left;
  |  |  548|      0|                r = right;
  |  |  549|      0|            }
  |  |  550|       |            // _POP_TOP_FLOAT
  |  |  551|      0|            {
  |  |  552|      0|                value = r;
  |  |  553|      0|                assert(PyFloat_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (553:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  554|      0|                PyStackRef_CLOSE_SPECIALIZED(value, _PyFloat_ExactDealloc);
  |  |  555|      0|            }
  |  |  556|       |            // _POP_TOP_FLOAT
  |  |  557|      0|            {
  |  |  558|      0|                value = l;
  |  |  559|      0|                assert(PyFloat_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (559:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  560|      0|                PyStackRef_CLOSE_SPECIALIZED(value, _PyFloat_ExactDealloc);
  |  |  561|      0|            }
  |  |  562|      0|            stack_pointer[-2] = res;
  |  |  563|      0|            stack_pointer += -1;
  |  |  564|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  565|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  |  566|      0|        }
  |  |  567|       |
  |  |  568|      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__);
  |  |  ------------------
  |  |  |  |  511|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      4|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      4|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      4|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      4|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 4]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      4|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      4|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      4|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      4|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      4|    }
  |  |  ------------------
  |  |  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__);
  |  |  ------------------
  |  |  |  |  511|    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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    256|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    256|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    256|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    256|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 256]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    256|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    256|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    256|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    256|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    256|    }
  |  |  ------------------
  |  |  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);
  |  |  ------------------
  |  |  |  |  150|     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);
  |  |  ------------------
  |  |  |  |  159|     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__);
  |  |  ------------------
  |  |  |  |  511|     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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     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__);
  |  |  ------------------
  |  |  |  |  511|     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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     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__);
  |  |  ------------------
  |  |  |  |  511|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      7|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      7|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      7|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      7|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 7]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      7|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      7|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      7|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      7|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      7|    }
  |  |  ------------------
  |  |  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)) {
  |  |  ------------------
  |  |  |  |  241|  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) {
  |  |  ------------------
  |  |  |  |  299|  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];
  |  |  ------------------
  |  |  |  |  291|  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__);
  |  |  ------------------
  |  |  |  |  511|  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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  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|    304|        TARGET(BINARY_OP_SUBSCR_TUPLE_INT) {
  |  |  ------------------
  |  |  |  |  132|    304|#  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|    304|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 1082|    304|            (void)this_instr;
  |  | 1083|    304|            frame->instr_ptr = next_instr;
  |  | 1084|    304|            next_instr += 6;
  |  | 1085|    304|            INSTRUCTION_STATS(BINARY_OP_SUBSCR_TUPLE_INT);
  |  |  ------------------
  |  |  |  |   71|    304|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1086|    304|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  | 1087|    304|            _PyStackRef value;
  |  | 1088|    304|            _PyStackRef nos;
  |  | 1089|    304|            _PyStackRef tuple_st;
  |  | 1090|    304|            _PyStackRef sub_st;
  |  | 1091|    304|            _PyStackRef res;
  |  | 1092|    304|            _PyStackRef ts;
  |  | 1093|    304|            _PyStackRef ss;
  |  | 1094|       |            // _GUARD_TOS_INT
  |  | 1095|    304|            {
  |  | 1096|    304|                value = stack_pointer[-1];
  |  | 1097|    304|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 1098|    304|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (1098:21): [True: 0, False: 304]
  |  |  ------------------
  |  | 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|    304|            }
  |  | 1104|       |            // _GUARD_NOS_TUPLE
  |  | 1105|    304|            {
  |  | 1106|    304|                nos = stack_pointer[-2];
  |  | 1107|    304|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  | 1108|    304|                if (!PyTuple_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   28|    304|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    304|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    304|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    304|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1108:21): [True: 0, False: 304]
  |  |  ------------------
  |  | 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|    304|            }
  |  | 1114|       |            // _GUARD_BINARY_OP_SUBSCR_TUPLE_INT_BOUNDS
  |  | 1115|    304|            {
  |  | 1116|    304|                sub_st = value;
  |  | 1117|    304|                tuple_st = nos;
  |  | 1118|    304|                PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
  |  | 1119|    304|                PyObject *tuple = PyStackRef_AsPyObjectBorrow(tuple_st);
  |  | 1120|    304|                assert(PyLong_CheckExact(sub));
  |  |  ------------------
  |  |  |  Branch (1120:17): [True: 304, False: 0]
  |  |  ------------------
  |  | 1121|    304|                assert(PyTuple_CheckExact(tuple));
  |  |  ------------------
  |  |  |  Branch (1121:17): [True: 304, False: 0]
  |  |  ------------------
  |  | 1122|    304|                if (!_PyLong_IsNonNegativeCompact((PyLongObject *)sub)) {
  |  |  ------------------
  |  |  |  Branch (1122:21): [True: 0, False: 304]
  |  |  ------------------
  |  | 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|    304|                Py_ssize_t index = ((PyLongObject*)sub)->long_value.ob_digit[0];
  |  | 1128|    304|                if (index >= PyTuple_GET_SIZE(tuple)) {
  |  |  ------------------
  |  |  |  |   27|    304|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    304|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    304|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1128:21): [True: 0, False: 304]
  |  |  ------------------
  |  | 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|    304|            }
  |  | 1134|       |            /* Skip 5 cache entries */
  |  | 1135|       |            // _BINARY_OP_SUBSCR_TUPLE_INT
  |  | 1136|    304|            {
  |  | 1137|    304|                PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
  |  | 1138|    304|                PyObject *tuple = PyStackRef_AsPyObjectBorrow(tuple_st);
  |  | 1139|    304|                assert(PyLong_CheckExact(sub));
  |  |  ------------------
  |  |  |  Branch (1139:17): [True: 304, False: 0]
  |  |  ------------------
  |  | 1140|    304|                assert(PyTuple_CheckExact(tuple));
  |  |  ------------------
  |  |  |  Branch (1140:17): [True: 304, False: 0]
  |  |  ------------------
  |  | 1141|    304|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|    304|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 1142|    304|                Py_ssize_t index = ((PyLongObject*)sub)->long_value.ob_digit[0];
  |  | 1143|    304|                PyObject *res_o = PyTuple_GET_ITEM(tuple, index);
  |  |  ------------------
  |  |  |  |   29|    304|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   19|    304|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    304|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1143:35): [True: 304, False: 0]
  |  |  ------------------
  |  | 1144|    304|                assert(res_o != NULL);
  |  |  ------------------
  |  |  |  Branch (1144:17): [True: 304, False: 0]
  |  |  ------------------
  |  | 1145|    304|                res = PyStackRef_FromPyObjectNew(res_o);
  |  |  ------------------
  |  |  |  |  611|    304|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    304|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    304|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1146|    304|                ts = tuple_st;
  |  | 1147|    304|                ss = sub_st;
  |  | 1148|    304|            }
  |  | 1149|       |            // _POP_TOP_INT
  |  | 1150|      0|            {
  |  | 1151|    304|                value = ss;
  |  | 1152|    304|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (1152:17): [True: 304, False: 0]
  |  |  ------------------
  |  | 1153|    304|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  | 1154|    304|            }
  |  | 1155|       |            // _POP_TOP
  |  | 1156|      0|            {
  |  | 1157|    304|                value = ts;
  |  | 1158|    304|                stack_pointer[-2] = res;
  |  | 1159|    304|                stack_pointer += -1;
  |  | 1160|    304|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    304|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1161|    304|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1162|    304|                _PyFrame_StackPointerValidate(frame);
  |  | 1163|    304|                PyStackRef_XCLOSE(value);
  |  | 1164|    304|                _PyFrame_StackPointerInvalidate(frame);
  |  | 1165|    304|            }
  |  | 1166|    304|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    304|    { \
  |  |  |  |  201|    304|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    304|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    304|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    304|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    304|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    304|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    304|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    304|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 304]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    304|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    304|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    304|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    304|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    304|    }
  |  |  ------------------
  |  | 1167|    304|        }
  |  | 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) {
  |  |  ------------------
  |  |  |  |  299|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (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);
  |  |  ------------------
  |  |  |  |  381|      0|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1228|      0|                if (Py_ARRAY_LENGTH(_Py_SINGLETON(strings).ascii) <= c) {
  |  |  ------------------
  |  |  |  |  221|      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__);
  |  |  ------------------
  |  |  |  |  511|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 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__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1329|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 1330|      0|        }
  |  | 1331|       |
  |  | 1332|     66|        TARGET(BINARY_OP_SUBTRACT_INT) {
  |  |  ------------------
  |  |  |  |  132|     66|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1333|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1334|       |            int opcode = BINARY_OP_SUBTRACT_INT;
  |  | 1335|       |            (void)(opcode);
  |  | 1336|       |            #endif
  |  | 1337|     66|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 1338|     66|            (void)this_instr;
  |  | 1339|     66|            frame->instr_ptr = next_instr;
  |  | 1340|     66|            next_instr += 6;
  |  | 1341|     66|            INSTRUCTION_STATS(BINARY_OP_SUBTRACT_INT);
  |  |  ------------------
  |  |  |  |   71|     66|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1342|     66|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  | 1343|     66|            _PyStackRef value;
  |  | 1344|     66|            _PyStackRef left;
  |  | 1345|     66|            _PyStackRef right;
  |  | 1346|     66|            _PyStackRef res;
  |  | 1347|     66|            _PyStackRef l;
  |  | 1348|     66|            _PyStackRef r;
  |  | 1349|       |            // _GUARD_TOS_INT
  |  | 1350|     66|            {
  |  | 1351|     66|                value = stack_pointer[-1];
  |  | 1352|     66|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 1353|     66|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (1353:21): [True: 0, False: 66]
  |  |  ------------------
  |  | 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|     66|            }
  |  | 1359|       |            // _GUARD_NOS_INT
  |  | 1360|     66|            {
  |  | 1361|     66|                left = stack_pointer[-2];
  |  | 1362|     66|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 1363|     66|                if (!_PyLong_CheckExactAndCompact(left_o)) {
  |  |  ------------------
  |  |  |  Branch (1363:21): [True: 0, False: 66]
  |  |  ------------------
  |  | 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|     66|            }
  |  | 1369|       |            /* Skip 5 cache entries */
  |  | 1370|       |            // _BINARY_OP_SUBTRACT_INT
  |  | 1371|     66|            {
  |  | 1372|     66|                right = value;
  |  | 1373|     66|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 1374|     66|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 1375|     66|                assert(PyLong_CheckExact(left_o));
  |  |  ------------------
  |  |  |  Branch (1375:17): [True: 66, False: 0]
  |  |  ------------------
  |  | 1376|     66|                assert(PyLong_CheckExact(right_o));
  |  |  ------------------
  |  |  |  Branch (1376:17): [True: 66, False: 0]
  |  |  ------------------
  |  | 1377|     66|                assert(_PyLong_BothAreCompact((PyLongObject *)left_o, (PyLongObject *)right_o));
  |  |  ------------------
  |  |  |  Branch (1377:17): [True: 66, False: 0]
  |  |  ------------------
  |  | 1378|     66|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|     66|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 1379|     66|                res = _PyCompactLong_Subtract((PyLongObject *)left_o, (PyLongObject *)right_o);
  |  | 1380|     66|                if (PyStackRef_IsNull(res)) {
  |  |  ------------------
  |  |  |  |  482|     66|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|     66|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|     66|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 66]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 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|     66|                l = left;
  |  | 1386|     66|                r = right;
  |  | 1387|     66|            }
  |  | 1388|       |            // _POP_TOP_INT
  |  | 1389|      0|            {
  |  | 1390|     66|                value = r;
  |  | 1391|     66|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (1391:17): [True: 66, False: 0]
  |  |  ------------------
  |  | 1392|     66|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  | 1393|     66|            }
  |  | 1394|       |            // _POP_TOP_INT
  |  | 1395|      0|            {
  |  | 1396|     66|                value = l;
  |  | 1397|     66|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (1397:17): [True: 66, False: 0]
  |  |  ------------------
  |  | 1398|     66|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  | 1399|     66|            }
  |  | 1400|      0|            stack_pointer[-2] = res;
  |  | 1401|     66|            stack_pointer += -1;
  |  | 1402|     66|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     66|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1403|     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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     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|    }
  |  |  ------------------
  |  | 1404|     66|        }
  |  | 1405|       |
  |  | 1406|    203|        TARGET(BINARY_SLICE) {
  |  |  ------------------
  |  |  |  |  132|    203|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1407|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1408|       |            int opcode = BINARY_SLICE;
  |  | 1409|       |            (void)(opcode);
  |  | 1410|       |            #endif
  |  | 1411|    203|            frame->instr_ptr = next_instr;
  |  | 1412|    203|            next_instr += 1;
  |  | 1413|    203|            INSTRUCTION_STATS(BINARY_SLICE);
  |  |  ------------------
  |  |  |  |   71|    203|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1414|    203|            _PyStackRef container;
  |  | 1415|    203|            _PyStackRef start;
  |  | 1416|    203|            _PyStackRef stop;
  |  | 1417|    203|            _PyStackRef res;
  |  | 1418|       |            // _SPECIALIZE_BINARY_SLICE
  |  | 1419|    203|            {
  |  | 1420|    203|                #if ENABLE_SPECIALIZATION
  |  | 1421|    203|                OPCODE_DEFERRED_INC(BINARY_SLICE);
  |  |  ------------------
  |  |  |  |   90|    203|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 1422|    203|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 1423|    203|            }
  |  | 1424|       |            // _BINARY_SLICE
  |  | 1425|    203|            {
  |  | 1426|    203|                stop = stack_pointer[-1];
  |  | 1427|    203|                start = stack_pointer[-2];
  |  | 1428|    203|                container = stack_pointer[-3];
  |  | 1429|    203|                PyObject *container_o = PyStackRef_AsPyObjectBorrow(container);
  |  | 1430|    203|                PyObject *start_o = PyStackRef_AsPyObjectBorrow(start);
  |  | 1431|    203|                PyObject *stop_o = PyStackRef_AsPyObjectBorrow(stop);
  |  | 1432|    203|                PyObject *res_o;
  |  | 1433|    203|                if (PyList_CheckExact(container_o)) {
  |  |  ------------------
  |  |  |  |   26|    203|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    203|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    203|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    203|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 22, False: 181]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1434|     22|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1435|     22|                    _PyFrame_StackPointerValidate(frame);
  |  | 1436|     22|                    res_o = _PyList_BinarySlice(container_o, start_o, stop_o);
  |  | 1437|     22|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 1438|     22|                }
  |  | 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); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|     29|    do { \
  |  |  |  |  |  |  113|     29|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|     29|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 29]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|     29|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118: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|    203|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1468|    203|                _PyFrame_StackPointerValidate(frame);
  |  | 1469|    203|                _PyStackRef tmp = stop;
  |  | 1470|    203|                stop = PyStackRef_NULL;
  |  | 1471|    203|                stack_pointer[-1] = stop;
  |  | 1472|    203|                PyStackRef_CLOSE(tmp);
  |  | 1473|    203|                _PyFrame_StackPointerInvalidate(frame);
  |  | 1474|    203|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (1474:17): [True: 203, False: 0]
  |  |  ------------------
  |  | 1475|    203|                _PyFrame_StackPointerValidate(frame);
  |  | 1476|    203|                tmp = start;
  |  | 1477|    203|                start = PyStackRef_NULL;
  |  | 1478|    203|                stack_pointer[-2] = start;
  |  | 1479|    203|                PyStackRef_CLOSE(tmp);
  |  | 1480|    203|                _PyFrame_StackPointerInvalidate(frame);
  |  | 1481|    203|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (1481:17): [True: 203, False: 0]
  |  |  ------------------
  |  | 1482|    203|                _PyFrame_StackPointerValidate(frame);
  |  | 1483|    203|                tmp = container;
  |  | 1484|    203|                container = PyStackRef_NULL;
  |  | 1485|    203|                stack_pointer[-3] = container;
  |  | 1486|    203|                PyStackRef_CLOSE(tmp);
  |  | 1487|    203|                _PyFrame_StackPointerInvalidate(frame);
  |  | 1488|    203|                stack_pointer += -3;
  |  | 1489|    203|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    203|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1490|    203|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1490:21): [True: 0, False: 203]
  |  |  ------------------
  |  | 1491|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1492|      0|                }
  |  | 1493|    203|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 1494|    203|            }
  |  | 1495|      0|            stack_pointer[0] = res;
  |  | 1496|    203|            stack_pointer += 1;
  |  | 1497|    203|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    203|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1498|    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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    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|    }
  |  |  ------------------
  |  | 1499|    203|        }
  |  | 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);
  |  |  ------------------
  |  |  |  |  938|      0|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1525|      0|            }
  |  | 1526|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1527|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 1528|      0|            PyObject *interpolation_o = _PyInterpolation_Build(value_o, str_o, conversion, format_o);
  |  | 1529|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 1530|      0|            if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (1530:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1531|      0|                stack_pointer += -(oparg & 1);
  |  | 1532|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1533|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1534|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 1535|      0|                PyStackRef_CLOSE(format[0]);
  |  | 1536|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 1537|      0|            }
  |  | 1538|      0|            else {
  |  | 1539|      0|                stack_pointer += -(oparg & 1);
  |  | 1540|      0|            }
  |  | 1541|      0|            stack_pointer += -1;
  |  | 1542|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1543|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1544|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 1545|      0|            PyStackRef_CLOSE(str);
  |  | 1546|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 1547|      0|            stack_pointer += -1;
  |  | 1548|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1549|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1550|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 1551|      0|            PyStackRef_CLOSE(value);
  |  | 1552|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 1553|      0|            if (interpolation_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1553:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1554|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1555|      0|            }
  |  | 1556|      0|            interpolation = PyStackRef_FromPyObjectSteal(interpolation_o);
  |  | 1557|      0|            stack_pointer[0] = interpolation;
  |  | 1558|      0|            stack_pointer += 1;
  |  | 1559|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1560|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 1561|      0|        }
  |  | 1562|       |
  |  | 1563|  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__);
  |  |  ------------------
  |  |  |  |  511|  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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.21k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.21k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.21k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.21k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.21k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.21k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.21k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.21k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.21k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.21k|    }
  |  |  ------------------
  |  | 1586|  1.21k|        }
  |  | 1587|       |
  |  | 1588|    625|        TARGET(BUILD_MAP) {
  |  |  ------------------
  |  |  |  |  132|    625|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1589|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1590|       |            int opcode = BUILD_MAP;
  |  | 1591|       |            (void)(opcode);
  |  | 1592|       |            #endif
  |  | 1593|    625|            frame->instr_ptr = next_instr;
  |  | 1594|    625|            next_instr += 1;
  |  | 1595|    625|            INSTRUCTION_STATS(BUILD_MAP);
  |  |  ------------------
  |  |  |  |   71|    625|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1596|    625|            _PyStackRef *values;
  |  | 1597|    625|            _PyStackRef map;
  |  | 1598|    625|            values = &stack_pointer[-oparg*2];
  |  | 1599|    625|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1600|    625|            _PyFrame_StackPointerValidate(frame);
  |  | 1601|    625|            PyObject *map_o = _Py_BuildMap_StackRefSteal(values, oparg);
  |  | 1602|    625|            _PyFrame_StackPointerInvalidate(frame);
  |  | 1603|    625|            if (map_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1603:17): [True: 0, False: 625]
  |  |  ------------------
  |  | 1604|      0|                stack_pointer += -oparg*2;
  |  | 1605|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1606|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1607|      0|            }
  |  | 1608|    625|            map = PyStackRef_FromPyObjectStealMortal(map_o);
  |  | 1609|    625|            stack_pointer[-oparg*2] = map;
  |  | 1610|    625|            stack_pointer += 1 - oparg*2;
  |  | 1611|    625|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    625|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1612|    625|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    625|    { \
  |  |  |  |  201|    625|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    625|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    625|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    625|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    625|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    625|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    625|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    625|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 625]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    625|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    625|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    625|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    625|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    625|    }
  |  |  ------------------
  |  | 1613|    625|        }
  |  | 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__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1642|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1643|      0|            }
  |  | 1644|     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__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1664|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1665|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 1666|      0|                Py_DECREF(set_o);
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1667|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 1668|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1669|      0|            }
  |  | 1670|     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__);
  |  |  ------------------
  |  |  |  |  511|     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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     40|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     40|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     40|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     40|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 40]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     40|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     40|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     40|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     40|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     40|    }
  |  |  ------------------
  |  | 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__);
  |  |  ------------------
  |  |  |  |  511|     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__);
  |  |  ------------------
  |  |  |  |  511|     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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     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|    258|        TARGET(BUILD_STRING) {
  |  |  ------------------
  |  |  |  |  132|    258|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1714|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1715|       |            int opcode = BUILD_STRING;
  |  | 1716|       |            (void)(opcode);
  |  | 1717|       |            #endif
  |  | 1718|    258|            frame->instr_ptr = next_instr;
  |  | 1719|    258|            next_instr += 1;
  |  | 1720|    258|            INSTRUCTION_STATS(BUILD_STRING);
  |  |  ------------------
  |  |  |  |   71|    258|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1721|    258|            _PyStackRef *pieces;
  |  | 1722|    258|            _PyStackRef str;
  |  | 1723|    258|            pieces = &stack_pointer[-oparg];
  |  | 1724|    258|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1725|    258|            _PyFrame_StackPointerValidate(frame);
  |  | 1726|    258|            PyObject *str_o = _Py_BuildString_StackRefSteal(pieces, oparg);
  |  | 1727|    258|            _PyFrame_StackPointerInvalidate(frame);
  |  | 1728|    258|            if (str_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1728:17): [True: 0, False: 258]
  |  |  ------------------
  |  | 1729|      0|                stack_pointer += -oparg;
  |  | 1730|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1731|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1732|      0|            }
  |  | 1733|    258|            str = PyStackRef_FromPyObjectSteal(str_o);
  |  | 1734|    258|            stack_pointer[-oparg] = str;
  |  | 1735|    258|            stack_pointer += 1 - oparg;
  |  | 1736|    258|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    258|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1737|    258|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    258|    { \
  |  |  |  |  201|    258|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    258|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    258|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    258|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    258|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    258|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    258|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    258|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 258]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    258|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    258|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    258|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    258|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    258|    }
  |  |  ------------------
  |  | 1738|    258|        }
  |  | 1739|       |
  |  | 1740|      0|        TARGET(BUILD_TEMPLATE) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1741|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1742|       |            int opcode = BUILD_TEMPLATE;
  |  | 1743|       |            (void)(opcode);
  |  | 1744|       |            #endif
  |  | 1745|      0|            frame->instr_ptr = next_instr;
  |  | 1746|      0|            next_instr += 1;
  |  | 1747|      0|            INSTRUCTION_STATS(BUILD_TEMPLATE);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1748|      0|            _PyStackRef strings;
  |  | 1749|      0|            _PyStackRef interpolations;
  |  | 1750|      0|            _PyStackRef template;
  |  | 1751|      0|            interpolations = stack_pointer[-1];
  |  | 1752|      0|            strings = stack_pointer[-2];
  |  | 1753|      0|            PyObject *strings_o = PyStackRef_AsPyObjectBorrow(strings);
  |  | 1754|      0|            PyObject *interpolations_o = PyStackRef_AsPyObjectBorrow(interpolations);
  |  | 1755|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1756|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 1757|      0|            PyObject *template_o = _PyTemplate_Build(strings_o, interpolations_o);
  |  | 1758|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 1759|      0|            stack_pointer += -1;
  |  | 1760|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1761|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1762|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 1763|      0|            PyStackRef_CLOSE(interpolations);
  |  | 1764|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 1765|      0|            stack_pointer += -1;
  |  | 1766|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1767|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1768|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 1769|      0|            PyStackRef_CLOSE(strings);
  |  | 1770|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 1771|      0|            if (template_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1771:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1772|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1773|      0|            }
  |  | 1774|      0|            template = PyStackRef_FromPyObjectSteal(template_o);
  |  | 1775|      0|            stack_pointer[0] = template;
  |  | 1776|      0|            stack_pointer += 1;
  |  | 1777|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1778|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 1779|      0|        }
  |  | 1780|       |
  |  | 1781|  1.07k|        TARGET(BUILD_TUPLE) {
  |  |  ------------------
  |  |  |  |  132|  1.07k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1782|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1783|       |            int opcode = BUILD_TUPLE;
  |  | 1784|       |            (void)(opcode);
  |  | 1785|       |            #endif
  |  | 1786|  1.07k|            frame->instr_ptr = next_instr;
  |  | 1787|  1.07k|            next_instr += 1;
  |  | 1788|  1.07k|            INSTRUCTION_STATS(BUILD_TUPLE);
  |  |  ------------------
  |  |  |  |   71|  1.07k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1789|  1.07k|            _PyStackRef *values;
  |  | 1790|  1.07k|            _PyStackRef tup;
  |  | 1791|  1.07k|            values = &stack_pointer[-oparg];
  |  | 1792|  1.07k|            PyObject *tup_o = _PyTuple_FromStackRefStealOnSuccess(values, oparg);
  |  | 1793|  1.07k|            if (tup_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1793:17): [True: 0, False: 1.07k]
  |  |  ------------------
  |  | 1794|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1795|      0|            }
  |  | 1796|  1.07k|            tup = PyStackRef_FromPyObjectStealMortal(tup_o);
  |  | 1797|  1.07k|            stack_pointer[-oparg] = tup;
  |  | 1798|  1.07k|            stack_pointer += 1 - oparg;
  |  | 1799|  1.07k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.07k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1800|  1.07k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.07k|    { \
  |  |  |  |  201|  1.07k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.07k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.07k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.07k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.07k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.07k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.07k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.07k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.07k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.07k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.07k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.07k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.07k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.07k|    }
  |  |  ------------------
  |  | 1801|  1.07k|        }
  |  | 1802|       |
  |  | 1803|      0|        TARGET(CACHE) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1804|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1805|       |            int opcode = CACHE;
  |  | 1806|       |            (void)(opcode);
  |  | 1807|       |            #endif
  |  | 1808|      0|            frame->instr_ptr = next_instr;
  |  | 1809|      0|            next_instr += 1;
  |  | 1810|      0|            INSTRUCTION_STATS(CACHE);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1811|      0|            assert(0 && "Executing a cache.");
  |  |  ------------------
  |  |  |  Branch (1811:13): [Folded, False: 0]
  |  |  |  Branch (1811:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1812|      0|            Py_FatalError("Executing a cache.");
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  |  | 1813|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded - Ignored]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 1814|      0|        }
  |  | 1815|       |
  |  | 1816|  3.18k|        TARGET(CALL) {
  |  |  ------------------
  |  |  |  |  132|  3.18k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1817|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1818|       |            int opcode = CALL;
  |  | 1819|       |            (void)(opcode);
  |  | 1820|       |            #endif
  |  | 1821|  3.18k|            frame->instr_ptr = next_instr;
  |  | 1822|  3.18k|            next_instr += 4;
  |  | 1823|  3.18k|            INSTRUCTION_STATS(CALL);
  |  |  ------------------
  |  |  |  |   71|  3.18k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1824|  3.84k|            PREDICTED_CALL:;
  |  | 1825|  3.84k|            _Py_CODEUNIT* const this_instr = next_instr - 4;
  |  | 1826|  3.84k|            (void)this_instr;
  |  | 1827|  3.84k|            opcode = CALL;
  |  |  ------------------
  |  |  |  |   63|  3.84k|#define CALL                                    50
  |  |  ------------------
  |  | 1828|  3.84k|            _PyStackRef callable;
  |  | 1829|  3.84k|            _PyStackRef self_or_null;
  |  | 1830|  3.84k|            _PyStackRef *args;
  |  | 1831|  3.84k|            _PyStackRef res;
  |  | 1832|       |            // _SPECIALIZE_CALL
  |  | 1833|  3.84k|            {
  |  | 1834|  3.84k|                self_or_null = stack_pointer[-1 - oparg];
  |  | 1835|  3.84k|                callable = stack_pointer[-2 - oparg];
  |  | 1836|  3.84k|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 1837|  3.84k|                (void)counter;
  |  | 1838|  3.84k|                #if ENABLE_SPECIALIZATION
  |  | 1839|  3.84k|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|  3.84k|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 905, False: 2.94k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1840|    905|                    next_instr = this_instr;
  |  | 1841|    905|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1842|    905|                    _PyFrame_StackPointerValidate(frame);
  |  | 1843|    905|                    _Py_Specialize_Call(callable, self_or_null, next_instr, oparg + !PyStackRef_IsNull(self_or_null));
  |  |  ------------------
  |  |  |  |  482|    905|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    905|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    905|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1844|    905|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 1845|    905|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|    905|    { \
  |  |  |  |  217|    905|        opcode = next_instr->op.code; \
  |  |  |  |  218|    905|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    905|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|    905|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|    905|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|    905|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|    905|    }
  |  |  ------------------
  |  | 1846|    905|                }
  |  | 1847|  3.84k|                OPCODE_DEFERRED_INC(CALL);
  |  |  ------------------
  |  |  |  |   90|  3.84k|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 1848|  3.84k|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|  3.84k|    do { \
  |  |  |  |  378|  3.84k|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|  3.84k|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 3.84k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1849|  3.84k|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 1850|  3.84k|            }
  |  | 1851|       |            /* Skip 2 cache entries */
  |  | 1852|       |            // _MAYBE_EXPAND_METHOD
  |  | 1853|  3.84k|            {
  |  | 1854|  3.84k|                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.69k]
  |  |  ------------------
  |  | 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.84k|            }
  |  | 1869|       |            // _DO_CALL
  |  | 1870|  3.84k|            {
  |  | 1871|  3.84k|                args = &stack_pointer[-oparg];
  |  | 1872|  3.84k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 1873|  3.84k|                int total_args = oparg;
  |  | 1874|  3.84k|                _PyStackRef *arguments = args;
  |  | 1875|  3.84k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  3.84k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  3.84k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  3.84k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1875:21): [True: 1.28k, False: 2.56k]
  |  |  ------------------
  |  | 1876|  1.28k|                    arguments--;
  |  | 1877|  1.28k|                    total_args++;
  |  | 1878|  1.28k|                }
  |  | 1879|  3.84k|                if (Py_TYPE(callable_o) == &PyFunction_Type &&
  |  |  ------------------
  |  |  |  |  213|  3.84k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.84k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.84k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1879:21): [True: 995, False: 2.85k]
  |  |  ------------------
  |  | 1880|    995|                    !IS_PEP523_HOOKED(tstate) &&
  |  |  ------------------
  |  |  |  |  539|  4.84k|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  ------------------
  |  |  |  Branch (1880:21): [True: 995, False: 0]
  |  |  ------------------
  |  | 1881|    995|                    ((PyFunctionObject *)callable_o)->vectorcall == _PyFunction_Vectorcall)
  |  |  ------------------
  |  |  |  Branch (1881:21): [True: 995, False: 0]
  |  |  ------------------
  |  | 1882|    995|                {
  |  | 1883|    995|                    int code_flags = ((PyCodeObject*)PyFunction_GET_CODE(callable_o))->co_flags;
  |  |  ------------------
  |  |  |  |   93|    995|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    995|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    995|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1884|    995|                    PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  122|    995|#define CO_OPTIMIZED    0x0001
  |  |  ------------------
  |  |                                   PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1884:40): [True: 995, False: 0]
  |  |  ------------------
  |  | 1885|    995|                    stack_pointer[-2 - oparg] = callable;
  |  | 1886|    995|                    stack_pointer[-1 - oparg] = self_or_null;
  |  | 1887|    995|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1888|    995|                    _PyFrame_StackPointerValidate(frame);
  |  | 1889|    995|                    _PyInterpreterFrame *new_frame = _PyEvalFramePushAndInit(
  |  | 1890|    995|                        tstate, callable, locals,
  |  | 1891|    995|                        arguments, total_args, NULL, frame
  |  | 1892|    995|                    );
  |  | 1893|    995|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 1894|    995|                    stack_pointer += -2 - oparg;
  |  | 1895|    995|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    995|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1896|    995|                    if (new_frame == NULL) {
  |  |  ------------------
  |  |  |  Branch (1896:25): [True: 0, False: 995]
  |  |  ------------------
  |  | 1897|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1898|      0|                    }
  |  | 1899|    995|                    frame->return_offset = 4u ;
  |  | 1900|    995|                    DISPATCH_INLINED(new_frame);
  |  |  ------------------
  |  |  |  |  223|    995|    do {                                                         \
  |  |  |  |  224|    995|        assert(!IS_PEP523_HOOKED(tstate));                       \
  |  |  |  |  225|    995|        _PyFrame_SetStackPointer(frame, stack_pointer);          \
  |  |  |  |  226|    995|        _PyFrame_StackPointerValidate(frame);                    \
  |  |  |  |  227|    995|        assert((NEW_FRAME)->previous == frame);                  \
  |  |  |  |  228|    995|        frame = tstate->current_frame = (NEW_FRAME);             \
  |  |  |  |  229|    995|        CALL_STAT_INC(inlined_py_calls);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  |   76|    995|#define CALL_STAT_INC(name) ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  230|    995|        JUMP_TO_LABEL(start_frame);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|    995|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  231|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (231:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1900:21): [True: 995, False: 0]
  |  |  |  Branch (1900:21): [True: 995, False: 0]
  |  |  ------------------
  |  | 1901|    995|                }
  |  | 1902|  2.85k|                stack_pointer[-2 - oparg] = callable;
  |  | 1903|  2.85k|                stack_pointer[-1 - oparg] = self_or_null;
  |  | 1904|  2.85k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1905|  2.85k|                _PyFrame_StackPointerValidate(frame);
  |  | 1906|  2.85k|                PyObject* res_o = _Py_VectorCallInstrumentation_StackRefSteal(
  |  | 1907|  2.85k|                    callable,
  |  | 1908|  2.85k|                    arguments,
  |  | 1909|  2.85k|                    total_args,
  |  | 1910|  2.85k|                    PyStackRef_NULL,
  |  | 1911|  2.85k|                    opcode == INSTRUMENTED_CALL,
  |  |  ------------------
  |  |  |  |  237|  2.85k|#define INSTRUMENTED_CALL                      249
  |  |  ------------------
  |  | 1912|  2.85k|                    frame,
  |  | 1913|  2.85k|                    this_instr,
  |  | 1914|  2.85k|                    tstate);
  |  | 1915|  2.85k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 1916|  2.85k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1916:21): [True: 26, False: 2.82k]
  |  |  ------------------
  |  | 1917|     26|                    stack_pointer += -2 - oparg;
  |  | 1918|     26|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     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.82k|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 1922|  2.82k|            }
  |  | 1923|       |            // _CHECK_PERIODIC_AT_END
  |  | 1924|      0|            {
  |  | 1925|  2.82k|                stack_pointer[-2 - oparg] = res;
  |  | 1926|  2.82k|                stack_pointer += -1 - oparg;
  |  | 1927|  2.82k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.82k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1928|  2.82k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1929|  2.82k|                _PyFrame_StackPointerValidate(frame);
  |  | 1930|  2.82k|                int err = check_periodics_at_end(tstate, frame);
  |  | 1931|  2.82k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 1932|  2.82k|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (1932:21): [True: 0, False: 2.82k]
  |  |  ------------------
  |  | 1933|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1934|      0|                }
  |  | 1935|  2.82k|            }
  |  | 1936|  2.82k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.82k|    { \
  |  |  |  |  201|  2.82k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.82k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.82k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.82k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  2.82k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.82k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.82k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.82k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.82k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.82k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.82k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.82k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.82k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.82k|    }
  |  |  ------------------
  |  | 1937|  2.82k|        }
  |  | 1938|       |
  |  | 1939|    311|        TARGET(CALL_ALLOC_AND_ENTER_INIT) {
  |  |  ------------------
  |  |  |  |  132|    311|#  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|    311|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 1945|    311|            (void)this_instr;
  |  | 1946|    311|            frame->instr_ptr = next_instr;
  |  | 1947|    311|            next_instr += 4;
  |  | 1948|    311|            INSTRUCTION_STATS(CALL_ALLOC_AND_ENTER_INIT);
  |  |  ------------------
  |  |  |  |   71|    311|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1949|    311|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 1950|    311|            _PyStackRef callable;
  |  | 1951|    311|            _PyStackRef self_or_null;
  |  | 1952|    311|            _PyStackRef init;
  |  | 1953|    311|            _PyStackRef self;
  |  | 1954|    311|            _PyStackRef *args;
  |  | 1955|    311|            _PyStackRef init_frame;
  |  | 1956|    311|            _PyStackRef new_frame;
  |  | 1957|       |            /* Skip 1 cache entry */
  |  | 1958|       |            // _CHECK_PEP_523
  |  | 1959|    311|            {
  |  | 1960|    311|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  539|    311|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (539:34): [True: 0, False: 311]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 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|    311|            }
  |  | 1966|       |            // _CHECK_OBJECT
  |  | 1967|    311|            {
  |  | 1968|    311|                self_or_null = stack_pointer[-1 - oparg];
  |  | 1969|    311|                callable = stack_pointer[-2 - oparg];
  |  | 1970|    311|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 1971|    311|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 1972|    311|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|    311|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    311|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    311|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1972:21): [True: 0, False: 311]
  |  |  ------------------
  |  | 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|    311|                if (!PyType_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |  766|    311|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    311|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    311|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1977:21): [True: 0, False: 311]
  |  |  ------------------
  |  | 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|    311|                PyTypeObject *tp = (PyTypeObject *)callable_o;
  |  | 1983|    311|                if (FT_ATOMIC_LOAD_UINT32_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  159|    311|#define FT_ATOMIC_LOAD_UINT32_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (1983:21): [True: 1, False: 310]
  |  |  ------------------
  |  | 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|    311|            }
  |  | 1989|       |            // _CHECK_RECURSION_REMAINING
  |  | 1990|    310|            {
  |  | 1991|    310|                if (tstate->py_recursion_remaining <= 1) {
  |  |  ------------------
  |  |  |  Branch (1991:21): [True: 0, False: 310]
  |  |  ------------------
  |  | 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|    310|            }
  |  | 1997|       |            // _ALLOCATE_OBJECT
  |  | 1998|    310|            {
  |  | 1999|    310|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2000|    310|                assert(PyStackRef_IsNull(self_or_null));
  |  |  ------------------
  |  |  |  Branch (2000:17): [True: 310, False: 0]
  |  |  ------------------
  |  | 2001|    310|                assert(PyType_Check(callable_o));
  |  |  ------------------
  |  |  |  Branch (2001:17): [True: 310, False: 0]
  |  |  ------------------
  |  | 2002|    310|                PyTypeObject *tp = (PyTypeObject *)callable_o;
  |  | 2003|    310|                assert(tp->tp_new == PyBaseObject_Type.tp_new);
  |  |  ------------------
  |  |  |  Branch (2003:17): [True: 310, False: 0]
  |  |  ------------------
  |  | 2004|    310|                assert(tp->tp_flags & Py_TPFLAGS_HEAPTYPE);
  |  |  ------------------
  |  |  |  Branch (2004:17): [True: 310, False: 0]
  |  |  ------------------
  |  | 2005|    310|                assert(tp->tp_alloc == PyType_GenericAlloc);
  |  |  ------------------
  |  |  |  Branch (2005:17): [True: 310, False: 0]
  |  |  ------------------
  |  | 2006|    310|                PyHeapTypeObject *cls = (PyHeapTypeObject *)callable_o;
  |  | 2007|    310|                PyFunctionObject *init_func = (PyFunctionObject *)FT_ATOMIC_LOAD_PTR_ACQUIRE(cls->_spec_cache.init);
  |  |  ------------------
  |  |  |  |  150|    310|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  | 2008|    310|                PyCodeObject *code = (PyCodeObject *)init_func->func_code;
  |  | 2009|    310|                if (!_PyThreadState_HasStackSpace(tstate, code->co_framesize + _Py_InitCleanup.co_framesize)) {
  |  |  ------------------
  |  |  |  Branch (2009:21): [True: 0, False: 310]
  |  |  ------------------
  |  | 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|    310|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|    310|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 2015|    310|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2016|    310|                _PyFrame_StackPointerValidate(frame);
  |  | 2017|    310|                PyObject *self_o = PyType_GenericAlloc(tp, 0);
  |  | 2018|    310|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2019|    310|                if (self_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (2019:21): [True: 0, False: 310]
  |  |  ------------------
  |  | 2020|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2021|      0|                }
  |  | 2022|    310|                self_or_null = PyStackRef_FromPyObjectSteal(self_o);
  |  | 2023|    310|                _PyStackRef temp = callable;
  |  | 2024|    310|                callable = PyStackRef_FromPyObjectNew(init_func);
  |  |  ------------------
  |  |  |  |  611|    310|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    310|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    310|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2025|    310|                stack_pointer[-2 - oparg] = callable;
  |  | 2026|    310|                stack_pointer[-1 - oparg] = self_or_null;
  |  | 2027|    310|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2027:17): [True: 310, False: 0]
  |  |  ------------------
  |  | 2028|    310|                _PyFrame_StackPointerValidate(frame);
  |  | 2029|    310|                PyStackRef_CLOSE(temp);
  |  | 2030|    310|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2031|    310|            }
  |  | 2032|       |            // _CREATE_INIT_FRAME
  |  | 2033|      0|            {
  |  | 2034|    310|                args = &stack_pointer[-oparg];
  |  | 2035|    310|                self = self_or_null;
  |  | 2036|    310|                init = callable;
  |  | 2037|    310|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2037:17): [True: 310, False: 0]
  |  |  ------------------
  |  | 2038|    310|                _PyFrame_StackPointerValidate(frame);
  |  | 2039|    310|                _PyInterpreterFrame *shim = _PyFrame_PushTrampolineUnchecked(
  |  | 2040|    310|                    tstate, (PyCodeObject *)&_Py_InitCleanup, 1, frame);
  |  | 2041|    310|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2042|    310|                assert(_PyFrame_GetBytecode(shim)[0].op.code == EXIT_INIT_CHECK);
  |  |  ------------------
  |  |  |  Branch (2042:17): [True: 310, False: 0]
  |  |  ------------------
  |  | 2043|    310|                assert(_PyFrame_GetBytecode(shim)[1].op.code == RETURN_VALUE);
  |  |  ------------------
  |  |  |  Branch (2043:17): [True: 310, False: 0]
  |  |  ------------------
  |  | 2044|    310|                shim->localsplus[0] = PyStackRef_DUP(self);
  |  | 2045|    310|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2045:17): [True: 310, False: 0]
  |  |  ------------------
  |  | 2046|    310|                _PyFrame_StackPointerValidate(frame);
  |  | 2047|    310|                _PyInterpreterFrame *temp = _PyEvalFramePushAndInit(
  |  | 2048|    310|                    tstate, init, NULL, args-1, oparg+1, NULL, shim);
  |  | 2049|    310|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2050|    310|                stack_pointer += -2 - oparg;
  |  | 2051|    310|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    310|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2052|    310|                if (temp == NULL) {
  |  |  ------------------
  |  |  |  Branch (2052:21): [True: 0, False: 310]
  |  |  ------------------
  |  | 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|    310|                frame->return_offset = 1 + INLINE_CACHE_ENTRIES_CALL;
  |  |  ------------------
  |  |  |  |  129|    310|#define INLINE_CACHE_ENTRIES_CALL CACHE_ENTRIES(_PyCallCache)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    310|#define CACHE_ENTRIES(cache) (sizeof(cache)/sizeof(_Py_CODEUNIT))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2060|    310|                tstate->py_recursion_remaining--;
  |  | 2061|    310|                init_frame = PyStackRef_Wrap(temp);
  |  | 2062|    310|            }
  |  | 2063|       |            // _PUSH_FRAME
  |  | 2064|      0|            {
  |  | 2065|    310|                new_frame = init_frame;
  |  | 2066|    310|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (2066:17): [True: 310, False: 0]
  |  |  ------------------
  |  | 2067|    310|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 2068|    310|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2069|    310|                _PyFrame_StackPointerValidate(frame);
  |  | 2070|    310|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (2070:17): [True: 0, False: 310]
  |  |  |  Branch (2070:17): [True: 310, False: 0]
  |  |  ------------------
  |  | 2071|    310|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|    310|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 2072|    310|                frame = tstate->current_frame = temp;
  |  | 2073|    310|                tstate->py_recursion_remaining--;
  |  | 2074|    310|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2075|    310|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2076|    310|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  441|    310|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|    310|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|    310|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 310]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2077|       |                #ifdef Py_DEBUG
  |  | 2078|       |                assert(frame->previous->stackpointer_valid == 1);
  |  | 2079|       |                #endif
  |  | 2080|    310|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|    310|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 2081|    310|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|    310|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 2082|    310|            }
  |  | 2083|    310|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    310|    { \
  |  |  |  |  201|    310|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    310|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    310|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    310|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    310|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    310|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    310|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    310|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 310]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    310|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    310|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    310|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    310|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    310|    }
  |  |  ------------------
  |  | 2084|    310|        }
  |  | 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__);
  |  |  ------------------
  |  |  |  |  511|    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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    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));
  |  |  ------------------
  |  |  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2326:36): [True: 4, False: 0]
  |  |  ------------------
  |  | 2327|      4|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2327:17): [True: 4, False: 0]
  |  |  ------------------
  |  | 2328|      4|                _PyFrame_StackPointerValidate(frame);
  |  | 2329|      4|                _PyInterpreterFrame *temp = _PyEvalFramePushAndInit(
  |  | 2330|      4|                    tstate, callable, locals,
  |  | 2331|      4|                    args, total_args, NULL, frame
  |  | 2332|      4|                );
  |  | 2333|      4|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2334|      4|                stack_pointer += -2 - oparg;
  |  | 2335|      4|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      4|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2336|      4|                if (temp == NULL) {
  |  |  ------------------
  |  |  |  Branch (2336:21): [True: 0, False: 4]
  |  |  ------------------
  |  | 2337|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2338|      0|                }
  |  | 2339|      4|                new_frame = PyStackRef_Wrap(temp);
  |  | 2340|      4|            }
  |  | 2341|       |            // _SAVE_RETURN_OFFSET
  |  | 2342|      0|            {
  |  | 2343|      4|                #if TIER_ONE
  |  | 2344|      4|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 2345|      4|                #endif
  |  | 2346|       |                #if TIER_TWO
  |  | 2347|       |                frame->return_offset = oparg;
  |  | 2348|       |                #endif
  |  | 2349|      4|            }
  |  | 2350|       |            // _PUSH_FRAME
  |  | 2351|      4|            {
  |  | 2352|      4|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (2352:17): [True: 4, False: 0]
  |  |  ------------------
  |  | 2353|      4|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 2354|      4|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2355|      4|                _PyFrame_StackPointerValidate(frame);
  |  | 2356|      4|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (2356:17): [True: 4, False: 0]
  |  |  |  Branch (2356:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2357|      4|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|      4|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 2358|      4|                frame = tstate->current_frame = temp;
  |  | 2359|      4|                tstate->py_recursion_remaining--;
  |  | 2360|      4|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2361|      4|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2362|      4|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  441|      4|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|      4|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2363|       |                #ifdef Py_DEBUG
  |  | 2364|       |                assert(frame->previous->stackpointer_valid == 1);
  |  | 2365|       |                #endif
  |  | 2366|      4|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|      4|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 2367|      4|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|      4|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 2368|      4|            }
  |  | 2369|      4|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      4|    { \
  |  |  |  |  201|      4|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      4|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      4|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      4|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      4|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      4|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      4|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      4|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 4]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      4|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      4|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      4|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      4|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      4|    }
  |  |  ------------------
  |  | 2370|      4|        }
  |  | 2371|       |
  |  | 2372|    258|        TARGET(CALL_BUILTIN_CLASS) {
  |  |  ------------------
  |  |  |  |  132|    258|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 2373|       |            #if _Py_TAIL_CALL_INTERP
  |  | 2374|       |            int opcode = CALL_BUILTIN_CLASS;
  |  | 2375|       |            (void)(opcode);
  |  | 2376|       |            #endif
  |  | 2377|    258|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 2378|    258|            (void)this_instr;
  |  | 2379|    258|            frame->instr_ptr = next_instr;
  |  | 2380|    258|            next_instr += 4;
  |  | 2381|    258|            INSTRUCTION_STATS(CALL_BUILTIN_CLASS);
  |  |  ------------------
  |  |  |  |   71|    258|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 2382|    258|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 2383|    258|            _PyStackRef callable;
  |  | 2384|    258|            _PyStackRef self_or_null;
  |  | 2385|    258|            _PyStackRef *args;
  |  | 2386|    258|            _PyStackRef value;
  |  | 2387|       |            /* Skip 1 cache entry */
  |  | 2388|       |            /* Skip 2 cache entries */
  |  | 2389|       |            // _GUARD_CALLABLE_BUILTIN_CLASS
  |  | 2390|    258|            {
  |  | 2391|    258|                callable = stack_pointer[-2 - oparg];
  |  | 2392|    258|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2393|    258|                if (!PyType_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |  766|    258|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    258|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    258|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2393:21): [True: 0, False: 258]
  |  |  ------------------
  |  | 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|    258|                PyTypeObject *tp = (PyTypeObject *)callable_o;
  |  | 2399|    258|                if (tp->tp_vectorcall == NULL) {
  |  |  ------------------
  |  |  |  Branch (2399:21): [True: 0, False: 258]
  |  |  ------------------
  |  | 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|    258|            }
  |  | 2405|       |            // _CALL_BUILTIN_CLASS
  |  | 2406|    258|            {
  |  | 2407|    258|                args = &stack_pointer[-oparg];
  |  | 2408|    258|                self_or_null = stack_pointer[-1 - oparg];
  |  | 2409|    258|                int total_args = oparg;
  |  | 2410|    258|                _PyStackRef *arguments = args;
  |  | 2411|    258|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|    258|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    258|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    258|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2411:21): [True: 0, False: 258]
  |  |  ------------------
  |  | 2412|      0|                    arguments--;
  |  | 2413|      0|                    total_args++;
  |  | 2414|      0|                }
  |  | 2415|    258|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|    258|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 2416|    258|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2417|    258|                _PyFrame_StackPointerValidate(frame);
  |  | 2418|    258|                PyObject *res_o = _Py_CallBuiltinClass_StackRef(
  |  | 2419|    258|                    callable,
  |  | 2420|    258|                    arguments,
  |  | 2421|    258|                    total_args);
  |  | 2422|    258|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2423|    258|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (2423:21): [True: 0, False: 258]
  |  |  ------------------
  |  | 2424|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2425|      0|                }
  |  | 2426|    258|                _PyStackRef temp = callable;
  |  | 2427|    258|                callable = PyStackRef_FromPyObjectSteal(res_o);
  |  | 2428|    258|                stack_pointer[-2 - oparg] = callable;
  |  | 2429|    258|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2429:17): [True: 258, False: 0]
  |  |  ------------------
  |  | 2430|    258|                _PyFrame_StackPointerValidate(frame);
  |  | 2431|    258|                PyStackRef_CLOSE(temp);
  |  | 2432|    258|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2433|    258|            }
  |  | 2434|       |            // _POP_TOP_OPARG
  |  | 2435|      0|            {
  |  | 2436|    258|                args = &stack_pointer[-oparg];
  |  | 2437|    258|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2437:17): [True: 258, False: 0]
  |  |  ------------------
  |  | 2438|    258|                _PyFrame_StackPointerValidate(frame);
  |  | 2439|    258|                _PyStackRef_CloseStack(args, oparg);
  |  | 2440|    258|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2441|    258|            }
  |  | 2442|       |            // _POP_TOP
  |  | 2443|      0|            {
  |  | 2444|    258|                value = self_or_null;
  |  | 2445|    258|                stack_pointer += -1 - oparg;
  |  | 2446|    258|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    258|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2447|    258|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2448|    258|                _PyFrame_StackPointerValidate(frame);
  |  | 2449|    258|                PyStackRef_XCLOSE(value);
  |  | 2450|    258|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2451|    258|            }
  |  | 2452|       |            // _CHECK_PERIODIC_AT_END
  |  | 2453|    258|            {
  |  | 2454|    258|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2454:17): [True: 258, False: 0]
  |  |  ------------------
  |  | 2455|    258|                _PyFrame_StackPointerValidate(frame);
  |  | 2456|    258|                int err = check_periodics_at_end(tstate, frame);
  |  | 2457|    258|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2458|    258|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (2458:21): [True: 0, False: 258]
  |  |  ------------------
  |  | 2459|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2460|      0|                }
  |  | 2461|    258|            }
  |  | 2462|    258|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    258|    { \
  |  |  |  |  201|    258|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    258|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    258|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    258|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    258|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    258|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    258|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    258|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 258]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    258|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    258|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    258|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    258|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    258|    }
  |  |  ------------------
  |  | 2463|    258|        }
  |  | 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) != METH_FASTCALL) {
  |  |  ------------------
  |  |  |  |   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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               if (PyCFunction_GET_FLAGS(callable_o) != METH_FASTCALL) {
  |  |  ------------------
  |  |  |  |  115|  1.79k|#  define METH_FASTCALL  0x0080
  |  |  ------------------
  |  |  |  Branch (2491:21): [True: 5, False: 1.78k]
  |  |  ------------------
  |  | 2492|      5|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      5|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2493|      5|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2493:21): [True: 5, False: 0]
  |  |  ------------------
  |  | 2494|      5|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      5|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2495|      0|                }
  |  | 2496|  1.79k|            }
  |  | 2497|       |            // _CALL_BUILTIN_FAST
  |  | 2498|  1.78k|            {
  |  | 2499|  1.78k|                args = &stack_pointer[-oparg];
  |  | 2500|  1.78k|                self_or_null = stack_pointer[-1 - oparg];
  |  | 2501|  1.78k|                int total_args = oparg;
  |  | 2502|  1.78k|                _PyStackRef *arguments = args;
  |  | 2503|  1.78k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  1.78k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  1.78k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  1.78k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2503:21): [True: 0, False: 1.78k]
  |  |  ------------------
  |  | 2504|      0|                    arguments--;
  |  | 2505|      0|                    total_args++;
  |  | 2506|      0|                }
  |  | 2507|  1.78k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  1.78k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 2508|  1.78k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2509|  1.78k|                _PyFrame_StackPointerValidate(frame);
  |  | 2510|  1.78k|                PyObject *res_o = _Py_BuiltinCallFast_StackRef(
  |  | 2511|  1.78k|                    callable,
  |  | 2512|  1.78k|                    arguments,
  |  | 2513|  1.78k|                    total_args
  |  | 2514|  1.78k|                );
  |  | 2515|  1.78k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2516|  1.78k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (2516:21): [True: 0, False: 1.78k]
  |  |  ------------------
  |  | 2517|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2518|      0|                }
  |  | 2519|  1.78k|                _PyStackRef temp = callable;
  |  | 2520|  1.78k|                callable = PyStackRef_FromPyObjectSteal(res_o);
  |  | 2521|  1.78k|                stack_pointer[-2 - oparg] = callable;
  |  | 2522|  1.78k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2522:17): [True: 1.78k, False: 0]
  |  |  ------------------
  |  | 2523|  1.78k|                _PyFrame_StackPointerValidate(frame);
  |  | 2524|  1.78k|                PyStackRef_CLOSE(temp);
  |  | 2525|  1.78k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2526|  1.78k|            }
  |  | 2527|       |            // _POP_TOP_OPARG
  |  | 2528|      0|            {
  |  | 2529|  1.78k|                args = &stack_pointer[-oparg];
  |  | 2530|  1.78k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2530:17): [True: 1.78k, False: 0]
  |  |  ------------------
  |  | 2531|  1.78k|                _PyFrame_StackPointerValidate(frame);
  |  | 2532|  1.78k|                _PyStackRef_CloseStack(args, oparg);
  |  | 2533|  1.78k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2534|  1.78k|            }
  |  | 2535|       |            // _POP_TOP
  |  | 2536|      0|            {
  |  | 2537|  1.78k|                value = self_or_null;
  |  | 2538|  1.78k|                stack_pointer += -1 - oparg;
  |  | 2539|  1.78k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.78k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2540|  1.78k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2541|  1.78k|                _PyFrame_StackPointerValidate(frame);
  |  | 2542|  1.78k|                PyStackRef_XCLOSE(value);
  |  | 2543|  1.78k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2544|  1.78k|            }
  |  | 2545|       |            // _CHECK_PERIODIC_AT_END
  |  | 2546|  1.78k|            {
  |  | 2547|  1.78k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2547:17): [True: 1.78k, False: 0]
  |  |  ------------------
  |  | 2548|  1.78k|                _PyFrame_StackPointerValidate(frame);
  |  | 2549|  1.78k|                int err = check_periodics_at_end(tstate, frame);
  |  | 2550|  1.78k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2551|  1.78k|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (2551:21): [True: 0, False: 1.78k]
  |  |  ------------------
  |  | 2552|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2553|      0|                }
  |  | 2554|  1.78k|            }
  |  | 2555|  1.78k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.78k|    { \
  |  |  |  |  201|  1.78k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.78k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.78k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.78k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.78k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.78k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.78k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.78k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.78k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.78k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.78k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.78k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.78k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.78k|    }
  |  |  ------------------
  |  | 2556|  1.78k|        }
  |  | 2557|       |
  |  | 2558|    726|        TARGET(CALL_BUILTIN_FAST_WITH_KEYWORDS) {
  |  |  ------------------
  |  |  |  |  132|    726|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 2559|       |            #if _Py_TAIL_CALL_INTERP
  |  | 2560|       |            int opcode = CALL_BUILTIN_FAST_WITH_KEYWORDS;
  |  | 2561|       |            (void)(opcode);
  |  | 2562|       |            #endif
  |  | 2563|    726|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 2564|    726|            (void)this_instr;
  |  | 2565|    726|            frame->instr_ptr = next_instr;
  |  | 2566|    726|            next_instr += 4;
  |  | 2567|    726|            INSTRUCTION_STATS(CALL_BUILTIN_FAST_WITH_KEYWORDS);
  |  |  ------------------
  |  |  |  |   71|    726|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 2568|    726|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 2569|    726|            _PyStackRef callable;
  |  | 2570|    726|            _PyStackRef self_or_null;
  |  | 2571|    726|            _PyStackRef *args;
  |  | 2572|    726|            _PyStackRef value;
  |  | 2573|       |            /* Skip 1 cache entry */
  |  | 2574|       |            /* Skip 2 cache entries */
  |  | 2575|       |            // _GUARD_CALLABLE_BUILTIN_FAST_WITH_KEYWORDS
  |  | 2576|    726|            {
  |  | 2577|    726|                callable = stack_pointer[-2 - oparg];
  |  | 2578|    726|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2579|    726|                if (!PyCFunction_CheckExact(callable_o)) {
  |  |  ------------------
  |  |  |  |   16|    726|#define PyCFunction_CheckExact(op) Py_IS_TYPE((op), &PyCFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    726|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    726|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    726|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2579:21): [True: 0, False: 726]
  |  |  ------------------
  |  | 2580|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2581|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2581:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2582|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2583|      0|                }
  |  | 2584|    726|                if (PyCFunction_GET_FLAGS(callable_o) != (METH_FASTCALL | METH_KEYWORDS)) {
  |  |  ------------------
  |  |  |  |   57|    726|#define PyCFunction_GET_FLAGS(func) PyCFunction_GET_FLAGS(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    726|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    726|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               if (PyCFunction_GET_FLAGS(callable_o) != (METH_FASTCALL | METH_KEYWORDS)) {
  |  |  ------------------
  |  |  |  |  115|    726|#  define METH_FASTCALL  0x0080
  |  |  ------------------
  |  |                               if (PyCFunction_GET_FLAGS(callable_o) != (METH_FASTCALL | METH_KEYWORDS)) {
  |  |  ------------------
  |  |  |  |   96|    726|#define METH_KEYWORDS 0x0002
  |  |  ------------------
  |  |  |  Branch (2584:21): [True: 80, False: 646]
  |  |  ------------------
  |  | 2585|     80|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|     80|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2586|     80|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2586:21): [True: 80, False: 0]
  |  |  ------------------
  |  | 2587|     80|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|     80|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2588|      0|                }
  |  | 2589|    726|            }
  |  | 2590|       |            // _CALL_BUILTIN_FAST_WITH_KEYWORDS
  |  | 2591|    646|            {
  |  | 2592|    646|                args = &stack_pointer[-oparg];
  |  | 2593|    646|                self_or_null = stack_pointer[-1 - oparg];
  |  | 2594|    646|                int total_args = oparg;
  |  | 2595|    646|                _PyStackRef *arguments = args;
  |  | 2596|    646|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|    646|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    646|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    646|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2596:21): [True: 0, False: 646]
  |  |  ------------------
  |  | 2597|      0|                    arguments--;
  |  | 2598|      0|                    total_args++;
  |  | 2599|      0|                }
  |  | 2600|    646|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|    646|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 2601|    646|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2602|    646|                _PyFrame_StackPointerValidate(frame);
  |  | 2603|    646|                PyObject *res_o = _Py_BuiltinCallFastWithKeywords_StackRef(callable, arguments, total_args);
  |  | 2604|    646|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2605|    646|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (2605:21): [True: 28, False: 618]
  |  |  ------------------
  |  | 2606|     28|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|     28|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2607|      0|                }
  |  | 2608|    618|                _PyStackRef temp = callable;
  |  | 2609|    618|                callable = PyStackRef_FromPyObjectSteal(res_o);
  |  | 2610|    618|                stack_pointer[-2 - oparg] = callable;
  |  | 2611|    618|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2611:17): [True: 618, False: 0]
  |  |  ------------------
  |  | 2612|    618|                _PyFrame_StackPointerValidate(frame);
  |  | 2613|    618|                PyStackRef_CLOSE(temp);
  |  | 2614|    618|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2615|    618|            }
  |  | 2616|       |            // _POP_TOP_OPARG
  |  | 2617|      0|            {
  |  | 2618|    618|                args = &stack_pointer[-oparg];
  |  | 2619|    618|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2619:17): [True: 618, False: 0]
  |  |  ------------------
  |  | 2620|    618|                _PyFrame_StackPointerValidate(frame);
  |  | 2621|    618|                _PyStackRef_CloseStack(args, oparg);
  |  | 2622|    618|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2623|    618|            }
  |  | 2624|       |            // _POP_TOP
  |  | 2625|      0|            {
  |  | 2626|    618|                value = self_or_null;
  |  | 2627|    618|                stack_pointer += -1 - oparg;
  |  | 2628|    618|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    618|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2629|    618|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2630|    618|                _PyFrame_StackPointerValidate(frame);
  |  | 2631|    618|                PyStackRef_XCLOSE(value);
  |  | 2632|    618|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2633|    618|            }
  |  | 2634|       |            // _CHECK_PERIODIC_AT_END
  |  | 2635|    618|            {
  |  | 2636|    618|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2636:17): [True: 618, False: 0]
  |  |  ------------------
  |  | 2637|    618|                _PyFrame_StackPointerValidate(frame);
  |  | 2638|    618|                int err = check_periodics_at_end(tstate, frame);
  |  | 2639|    618|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2640|    618|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (2640:21): [True: 0, False: 618]
  |  |  ------------------
  |  | 2641|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2642|      0|                }
  |  | 2643|    618|            }
  |  | 2644|    618|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    618|    { \
  |  |  |  |  201|    618|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    618|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    618|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    618|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    618|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    618|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    618|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    618|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 618]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    618|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    618|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    618|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    618|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    618|    }
  |  |  ------------------
  |  | 2645|    618|        }
  |  | 2646|       |
  |  | 2647|    304|        TARGET(CALL_BUILTIN_O) {
  |  |  ------------------
  |  |  |  |  132|    304|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 2648|       |            #if _Py_TAIL_CALL_INTERP
  |  | 2649|       |            int opcode = CALL_BUILTIN_O;
  |  | 2650|       |            (void)(opcode);
  |  | 2651|       |            #endif
  |  | 2652|    304|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 2653|    304|            (void)this_instr;
  |  | 2654|    304|            frame->instr_ptr = next_instr;
  |  | 2655|    304|            next_instr += 4;
  |  | 2656|    304|            INSTRUCTION_STATS(CALL_BUILTIN_O);
  |  |  ------------------
  |  |  |  |   71|    304|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 2657|    304|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 2658|    304|            _PyStackRef callable;
  |  | 2659|    304|            _PyStackRef self_or_null;
  |  | 2660|    304|            _PyStackRef *args;
  |  | 2661|    304|            _PyStackRef res;
  |  | 2662|    304|            _PyStackRef c;
  |  | 2663|    304|            _PyStackRef s;
  |  | 2664|    304|            _PyStackRef value;
  |  | 2665|       |            /* Skip 1 cache entry */
  |  | 2666|       |            /* Skip 2 cache entries */
  |  | 2667|       |            // _GUARD_CALLABLE_BUILTIN_O
  |  | 2668|    304|            {
  |  | 2669|    304|                self_or_null = stack_pointer[-1 - oparg];
  |  | 2670|    304|                callable = stack_pointer[-2 - oparg];
  |  | 2671|    304|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2672|    304|                if (!PyCFunction_CheckExact(callable_o)) {
  |  |  ------------------
  |  |  |  |   16|    304|#define PyCFunction_CheckExact(op) Py_IS_TYPE((op), &PyCFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    304|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    304|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    304|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2672:21): [True: 0, False: 304]
  |  |  ------------------
  |  | 2673|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2674|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2674:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2675|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2676|      0|                }
  |  | 2677|    304|                if (PyCFunction_GET_FLAGS(callable_o) != METH_O) {
  |  |  ------------------
  |  |  |  |   57|    304|#define PyCFunction_GET_FLAGS(func) PyCFunction_GET_FLAGS(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    304|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    304|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               if (PyCFunction_GET_FLAGS(callable_o) != METH_O) {
  |  |  ------------------
  |  |  |  |   99|    304|#define METH_O        0x0008
  |  |  ------------------
  |  |  |  Branch (2677:21): [True: 10, False: 294]
  |  |  ------------------
  |  | 2678|     10|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|     10|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2679|     10|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2679:21): [True: 10, False: 0]
  |  |  ------------------
  |  | 2680|     10|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|     10|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2681|      0|                }
  |  | 2682|    294|                int total_args = oparg;
  |  | 2683|    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 (2683:21): [True: 0, False: 294]
  |  |  ------------------
  |  | 2684|      0|                    total_args++;
  |  | 2685|      0|                }
  |  | 2686|    294|                if (total_args != 1) {
  |  |  ------------------
  |  |  |  Branch (2686:21): [True: 0, False: 294]
  |  |  ------------------
  |  | 2687|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2688|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2688:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2689|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2690|      0|                }
  |  | 2691|    294|            }
  |  | 2692|       |            // _CHECK_RECURSION_LIMIT
  |  | 2693|    294|            {
  |  | 2694|    294|                if (_Py_ReachedRecursionLimit(tstate)) {
  |  |  ------------------
  |  |  |  Branch (2694:21): [True: 0, False: 294]
  |  |  ------------------
  |  | 2695|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2696|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2696:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2697|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2698|      0|                }
  |  | 2699|    294|            }
  |  | 2700|       |            // _CALL_BUILTIN_O
  |  | 2701|    294|            {
  |  | 2702|    294|                args = &stack_pointer[-oparg];
  |  | 2703|    294|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2704|    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 (2704:21): [True: 0, False: 294]
  |  |  ------------------
  |  | 2705|      0|                    args--;
  |  | 2706|      0|                }
  |  | 2707|    294|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|    294|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 2708|    294|                PyCFunction cfunc = PyCFunction_GET_FUNCTION(callable_o);
  |  |  ------------------
  |  |  |  |   43|    294|#define PyCFunction_GET_FUNCTION(func) PyCFunction_GET_FUNCTION(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    294|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    294|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2709|    294|                _PyStackRef arg = args[0];
  |  | 2710|    294|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2711|    294|                _PyFrame_StackPointerValidate(frame);
  |  | 2712|    294|                PyObject *res_o = _PyCFunction_TrampolineCall(cfunc, PyCFunction_GET_SELF(callable_o), PyStackRef_AsPyObjectBorrow(arg));
  |  |  ------------------
  |  |  |  |  996|    294|    (meth)((self), (args))
  |  |  ------------------
  |  | 2713|    294|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2714|    294|                _Py_LeaveRecursiveCallTstate(tstate);
  |  | 2715|    294|                assert((res_o != NULL) ^ (_PyErr_Occurred(tstate) != NULL));
  |  |  ------------------
  |  |  |  Branch (2715:17): [True: 294, False: 0]
  |  |  ------------------
  |  | 2716|    294|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (2716:21): [True: 0, False: 294]
  |  |  ------------------
  |  | 2717|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2718|      0|                }
  |  | 2719|    294|                c = callable;
  |  | 2720|    294|                s = args[0];
  |  | 2721|    294|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 2722|    294|            }
  |  | 2723|       |            // _POP_TOP
  |  | 2724|      0|            {
  |  | 2725|    294|                value = s;
  |  | 2726|    294|                stack_pointer[-2 - oparg] = res;
  |  | 2727|    294|                stack_pointer[-1 - oparg] = c;
  |  | 2728|    294|                stack_pointer += -oparg;
  |  | 2729|    294|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    294|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2730|    294|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2731|    294|                _PyFrame_StackPointerValidate(frame);
  |  | 2732|    294|                PyStackRef_XCLOSE(value);
  |  | 2733|    294|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2734|    294|            }
  |  | 2735|       |            // _POP_TOP
  |  | 2736|    294|            {
  |  | 2737|    294|                value = c;
  |  | 2738|    294|                stack_pointer += -1;
  |  | 2739|    294|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    294|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2740|    294|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2741|    294|                _PyFrame_StackPointerValidate(frame);
  |  | 2742|    294|                PyStackRef_XCLOSE(value);
  |  | 2743|    294|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2744|    294|            }
  |  | 2745|       |            // _CHECK_PERIODIC_AT_END
  |  | 2746|    294|            {
  |  | 2747|    294|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2747:17): [True: 294, False: 0]
  |  |  ------------------
  |  | 2748|    294|                _PyFrame_StackPointerValidate(frame);
  |  | 2749|    294|                int err = check_periodics_at_end(tstate, frame);
  |  | 2750|    294|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2751|    294|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (2751:21): [True: 0, False: 294]
  |  |  ------------------
  |  | 2752|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2753|      0|                }
  |  | 2754|    294|            }
  |  | 2755|    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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    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|    }
  |  |  ------------------
  |  | 2756|    294|        }
  |  | 2757|       |
  |  | 2758|    320|        TARGET(CALL_EX_NON_PY_GENERAL) {
  |  |  ------------------
  |  |  |  |  132|    320|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 2759|       |            #if _Py_TAIL_CALL_INTERP
  |  | 2760|       |            int opcode = CALL_EX_NON_PY_GENERAL;
  |  | 2761|       |            (void)(opcode);
  |  | 2762|       |            #endif
  |  | 2763|    320|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 2764|    320|            (void)this_instr;
  |  | 2765|    320|            frame->instr_ptr = next_instr;
  |  | 2766|    320|            next_instr += 2;
  |  | 2767|    320|            INSTRUCTION_STATS(CALL_EX_NON_PY_GENERAL);
  |  |  ------------------
  |  |  |  |   71|    320|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 2768|    320|            static_assert(INLINE_CACHE_ENTRIES_CALL_FUNCTION_EX == 1, "incorrect cache size");
  |  | 2769|    320|            _PyStackRef func_st;
  |  | 2770|    320|            _PyStackRef func;
  |  | 2771|    320|            _PyStackRef callargs;
  |  | 2772|    320|            _PyStackRef null;
  |  | 2773|    320|            _PyStackRef callargs_st;
  |  | 2774|    320|            _PyStackRef kwargs_st;
  |  | 2775|    320|            _PyStackRef result;
  |  | 2776|       |            /* Skip 1 cache entry */
  |  | 2777|       |            // _CHECK_IS_NOT_PY_CALLABLE_EX
  |  | 2778|    320|            {
  |  | 2779|    320|                func_st = stack_pointer[-4];
  |  | 2780|    320|                PyObject *func = PyStackRef_AsPyObjectBorrow(func_st);
  |  | 2781|    320|                if (Py_TYPE(func) == &PyFunction_Type && ((PyFunctionObject *)func)->vectorcall == _PyFunction_Vectorcall) {
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2781:21): [True: 0, False: 320]
  |  |  |  Branch (2781:58): [True: 0, False: 0]
  |  |  ------------------
  |  | 2782|      0|                    UPDATE_MISS_STATS(CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2783|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_FUNCTION_EX));
  |  |  ------------------
  |  |  |  Branch (2783:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2784|      0|                    JUMP_TO_PREDICTED(CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2785|      0|                }
  |  | 2786|    320|            }
  |  | 2787|       |            // _MAKE_CALLARGS_A_TUPLE
  |  | 2788|    320|            {
  |  | 2789|    320|                callargs = stack_pointer[-2];
  |  | 2790|    320|                func = func_st;
  |  | 2791|    320|                PyObject *callargs_o = PyStackRef_AsPyObjectBorrow(callargs);
  |  | 2792|    320|                if (!PyTuple_CheckExact(callargs_o)) {
  |  |  ------------------
  |  |  |  |   28|    320|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    320|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    320|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    320|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2792:21): [True: 32, False: 288]
  |  |  ------------------
  |  | 2793|     32|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2794|     32|                    _PyFrame_StackPointerValidate(frame);
  |  | 2795|     32|                    int err = _Py_Check_ArgsIterable(tstate, PyStackRef_AsPyObjectBorrow(func), callargs_o);
  |  | 2796|     32|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 2797|     32|                    if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (2797:25): [True: 0, False: 32]
  |  |  ------------------
  |  | 2798|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2799|      0|                    }
  |  | 2800|     32|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2800:21): [True: 32, False: 0]
  |  |  ------------------
  |  | 2801|     32|                    _PyFrame_StackPointerValidate(frame);
  |  | 2802|     32|                    PyObject *tuple_o = PySequence_Tuple(callargs_o);
  |  | 2803|     32|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 2804|     32|                    if (tuple_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (2804:25): [True: 0, False: 32]
  |  |  ------------------
  |  | 2805|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2806|      0|                    }
  |  | 2807|     32|                    _PyStackRef temp = callargs;
  |  | 2808|     32|                    callargs = PyStackRef_FromPyObjectSteal(tuple_o);
  |  | 2809|     32|                    stack_pointer[-2] = callargs;
  |  | 2810|     32|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2810:21): [True: 32, False: 0]
  |  |  ------------------
  |  | 2811|     32|                    _PyFrame_StackPointerValidate(frame);
  |  | 2812|     32|                    PyStackRef_CLOSE(temp);
  |  | 2813|     32|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 2814|     32|                }
  |  | 2815|    320|            }
  |  | 2816|       |            // _CALL_FUNCTION_EX_NON_PY_GENERAL
  |  | 2817|    320|            {
  |  | 2818|    320|                kwargs_st = stack_pointer[-1];
  |  | 2819|    320|                callargs_st = callargs;
  |  | 2820|    320|                null = stack_pointer[-3];
  |  | 2821|    320|                func_st = func;
  |  | 2822|    320|                PyObject *func = PyStackRef_AsPyObjectBorrow(func_st);
  |  | 2823|    320|                PyObject *callargs = PyStackRef_AsPyObjectBorrow(callargs_st);
  |  | 2824|    320|                (void)null;
  |  | 2825|    320|                assert(PyTuple_CheckExact(callargs));
  |  |  ------------------
  |  |  |  Branch (2825:17): [True: 320, False: 0]
  |  |  ------------------
  |  | 2826|    320|                PyObject *kwargs = PyStackRef_AsPyObjectBorrow(kwargs_st);
  |  | 2827|    320|                assert(kwargs == NULL || PyDict_CheckExact(kwargs));
  |  |  ------------------
  |  |  |  Branch (2827:17): [True: 62, False: 258]
  |  |  |  Branch (2827:17): [True: 258, False: 0]
  |  |  ------------------
  |  | 2828|    320|                stack_pointer[-2] = callargs_st;
  |  | 2829|    320|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2830|    320|                _PyFrame_StackPointerValidate(frame);
  |  | 2831|    320|                PyObject *result_o = PyObject_Call(func, callargs, kwargs);
  |  | 2832|    320|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2833|    320|                stack_pointer += -1;
  |  | 2834|    320|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    320|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2835|    320|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2836|    320|                _PyFrame_StackPointerValidate(frame);
  |  | 2837|    320|                PyStackRef_XCLOSE(kwargs_st);
  |  | 2838|    320|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2839|    320|                stack_pointer += -1;
  |  | 2840|    320|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    320|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2841|    320|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2842|    320|                _PyFrame_StackPointerValidate(frame);
  |  | 2843|    320|                PyStackRef_CLOSE(callargs_st);
  |  | 2844|    320|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2845|    320|                stack_pointer += -2;
  |  | 2846|    320|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    320|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2847|    320|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2848|    320|                _PyFrame_StackPointerValidate(frame);
  |  | 2849|    320|                PyStackRef_CLOSE(func_st);
  |  | 2850|    320|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2851|    320|                if (result_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (2851:21): [True: 0, False: 320]
  |  |  ------------------
  |  | 2852|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2853|      0|                }
  |  | 2854|    320|                result = PyStackRef_FromPyObjectSteal(result_o);
  |  | 2855|    320|            }
  |  | 2856|       |            // _CHECK_PERIODIC_AT_END
  |  | 2857|      0|            {
  |  | 2858|    320|                stack_pointer[0] = result;
  |  | 2859|    320|                stack_pointer += 1;
  |  | 2860|    320|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    320|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2861|    320|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2862|    320|                _PyFrame_StackPointerValidate(frame);
  |  | 2863|    320|                int err = check_periodics_at_end(tstate, frame);
  |  | 2864|    320|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2865|    320|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (2865:21): [True: 0, False: 320]
  |  |  ------------------
  |  | 2866|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2867|      0|                }
  |  | 2868|    320|            }
  |  | 2869|    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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    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|    }
  |  |  ------------------
  |  | 2870|    320|        }
  |  | 2871|       |
  |  | 2872|     35|        TARGET(CALL_EX_PY) {
  |  |  ------------------
  |  |  |  |  132|     35|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 2873|       |            #if _Py_TAIL_CALL_INTERP
  |  | 2874|       |            int opcode = CALL_EX_PY;
  |  | 2875|       |            (void)(opcode);
  |  | 2876|       |            #endif
  |  | 2877|     35|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 2878|     35|            (void)this_instr;
  |  | 2879|     35|            frame->instr_ptr = next_instr;
  |  | 2880|     35|            next_instr += 2;
  |  | 2881|     35|            INSTRUCTION_STATS(CALL_EX_PY);
  |  |  ------------------
  |  |  |  |   71|     35|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 2882|     35|            static_assert(INLINE_CACHE_ENTRIES_CALL_FUNCTION_EX == 1, "incorrect cache size");
  |  | 2883|     35|            _PyStackRef func;
  |  | 2884|     35|            _PyStackRef callargs;
  |  | 2885|     35|            _PyStackRef func_st;
  |  | 2886|     35|            _PyStackRef callargs_st;
  |  | 2887|     35|            _PyStackRef kwargs_st;
  |  | 2888|     35|            _PyStackRef ex_frame;
  |  | 2889|     35|            _PyStackRef new_frame;
  |  | 2890|       |            /* Skip 1 cache entry */
  |  | 2891|       |            // _CHECK_PEP_523
  |  | 2892|     35|            {
  |  | 2893|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2894|      0|                    UPDATE_MISS_STATS(CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2895|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_FUNCTION_EX));
  |  |  ------------------
  |  |  |  Branch (2895:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2896|      0|                    JUMP_TO_PREDICTED(CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2897|      0|                }
  |  | 2898|     35|            }
  |  | 2899|       |            // _MAKE_CALLARGS_A_TUPLE
  |  | 2900|     35|            {
  |  | 2901|     35|                callargs = stack_pointer[-2];
  |  | 2902|     35|                func = stack_pointer[-4];
  |  | 2903|     35|                PyObject *callargs_o = PyStackRef_AsPyObjectBorrow(callargs);
  |  | 2904|     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 (2904:21): [True: 0, False: 35]
  |  |  ------------------
  |  | 2905|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2906|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 2907|      0|                    int err = _Py_Check_ArgsIterable(tstate, PyStackRef_AsPyObjectBorrow(func), callargs_o);
  |  | 2908|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 2909|      0|                    if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (2909:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 2910|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2911|      0|                    }
  |  | 2912|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2912:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2913|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 2914|      0|                    PyObject *tuple_o = PySequence_Tuple(callargs_o);
  |  | 2915|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 2916|      0|                    if (tuple_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (2916:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 2917|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2918|      0|                    }
  |  | 2919|      0|                    _PyStackRef temp = callargs;
  |  | 2920|      0|                    callargs = PyStackRef_FromPyObjectSteal(tuple_o);
  |  | 2921|      0|                    stack_pointer[-2] = callargs;
  |  | 2922|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2922:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2923|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 2924|      0|                    PyStackRef_CLOSE(temp);
  |  | 2925|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 2926|      0|                }
  |  | 2927|     35|            }
  |  | 2928|       |            // _CHECK_IS_PY_CALLABLE_EX
  |  | 2929|     35|            {
  |  | 2930|     35|                func_st = func;
  |  | 2931|     35|                PyObject *func = PyStackRef_AsPyObjectBorrow(func_st);
  |  | 2932|     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 (2932:21): [True: 0, False: 35]
  |  |  ------------------
  |  | 2933|      0|                    UPDATE_MISS_STATS(CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2934|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_FUNCTION_EX));
  |  |  ------------------
  |  |  |  Branch (2934:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2935|      0|                    JUMP_TO_PREDICTED(CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2936|      0|                }
  |  | 2937|     35|                if (((PyFunctionObject *)func)->vectorcall != _PyFunction_Vectorcall) {
  |  |  ------------------
  |  |  |  Branch (2937:21): [True: 0, False: 35]
  |  |  ------------------
  |  | 2938|      0|                    UPDATE_MISS_STATS(CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2939|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_FUNCTION_EX));
  |  |  ------------------
  |  |  |  Branch (2939:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2940|      0|                    JUMP_TO_PREDICTED(CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2941|      0|                }
  |  | 2942|     35|            }
  |  | 2943|       |            // _PY_FRAME_EX
  |  | 2944|     35|            {
  |  | 2945|     35|                kwargs_st = stack_pointer[-1];
  |  | 2946|     35|                callargs_st = callargs;
  |  | 2947|     35|                PyObject *func = PyStackRef_AsPyObjectBorrow(func_st);
  |  | 2948|     35|                PyObject *callargs = PyStackRef_AsPyObjectSteal(callargs_st);
  |  | 2949|     35|                assert(PyTuple_CheckExact(callargs));
  |  |  ------------------
  |  |  |  Branch (2949:17): [True: 35, False: 0]
  |  |  ------------------
  |  | 2950|     35|                assert(Py_TYPE(func) == &PyFunction_Type);
  |  |  ------------------
  |  |  |  Branch (2950:17): [True: 35, False: 0]
  |  |  ------------------
  |  | 2951|     35|                assert(((PyFunctionObject *)func)->vectorcall == _PyFunction_Vectorcall);
  |  |  ------------------
  |  |  |  Branch (2951:17): [True: 35, False: 0]
  |  |  ------------------
  |  | 2952|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2953|     35|                assert(kwargs == NULL || PyDict_CheckExact(kwargs));
  |  |  ------------------
  |  |  |  Branch (2953:17): [True: 10, False: 25]
  |  |  |  Branch (2953:17): [True: 25, False: 0]
  |  |  ------------------
  |  | 2954|     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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2955|     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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2956|     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));
  |  |  ------------------
  |  |  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2956:36): [True: 35, False: 0]
  |  |  ------------------
  |  | 2957|     35|                stack_pointer += -3;
  |  | 2958|     35|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     35|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2959|     35|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2960|     35|                _PyFrame_StackPointerValidate(frame);
  |  | 2961|     35|                _PyInterpreterFrame *new_frame = _PyEvalFramePushAndInit_Ex(
  |  | 2962|     35|                    tstate, func_st, locals,
  |  | 2963|     35|                    nargs, callargs, kwargs, frame);
  |  | 2964|     35|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2965|     35|                stack_pointer += -1;
  |  | 2966|     35|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     35|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2967|     35|                if (new_frame == NULL) {
  |  |  ------------------
  |  |  |  Branch (2967:21): [True: 0, False: 35]
  |  |  ------------------
  |  | 2968|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2969|      0|                }
  |  | 2970|     35|                ex_frame = PyStackRef_Wrap(new_frame);
  |  | 2971|     35|            }
  |  | 2972|       |            // _SAVE_RETURN_OFFSET
  |  | 2973|      0|            {
  |  | 2974|     35|                #if TIER_ONE
  |  | 2975|     35|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 2976|     35|                #endif
  |  | 2977|       |                #if TIER_TWO
  |  | 2978|       |                frame->return_offset = oparg;
  |  | 2979|       |                #endif
  |  | 2980|     35|            }
  |  | 2981|       |            // _PUSH_FRAME
  |  | 2982|     35|            {
  |  | 2983|     35|                new_frame = ex_frame;
  |  | 2984|     35|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (2984:17): [True: 35, False: 0]
  |  |  ------------------
  |  | 2985|     35|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 2986|     35|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2987|     35|                _PyFrame_StackPointerValidate(frame);
  |  | 2988|     35|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (2988:17): [True: 35, False: 0]
  |  |  |  Branch (2988:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2989|     35|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|     35|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 2990|     35|                frame = tstate->current_frame = temp;
  |  | 2991|     35|                tstate->py_recursion_remaining--;
  |  | 2992|     35|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2993|     35|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2994|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2995|       |                #ifdef Py_DEBUG
  |  | 2996|       |                assert(frame->previous->stackpointer_valid == 1);
  |  | 2997|       |                #endif
  |  | 2998|     35|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|     35|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 2999|     35|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|     35|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 3000|     35|            }
  |  | 3001|     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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     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|    }
  |  |  ------------------
  |  | 3002|     35|        }
  |  | 3003|       |
  |  | 3004|     51|        TARGET(CALL_FUNCTION_EX) {
  |  |  ------------------
  |  |  |  |  132|     51|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3005|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3006|       |            int opcode = CALL_FUNCTION_EX;
  |  | 3007|       |            (void)(opcode);
  |  | 3008|       |            #endif
  |  | 3009|     51|            frame->instr_ptr = next_instr;
  |  | 3010|     51|            next_instr += 2;
  |  | 3011|     51|            INSTRUCTION_STATS(CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  |   71|     51|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3012|     51|            PREDICTED_CALL_FUNCTION_EX:;
  |  | 3013|     51|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  | 3014|     51|            (void)this_instr;
  |  | 3015|     51|            opcode = CALL_FUNCTION_EX;
  |  |  ------------------
  |  |  |  |   17|     51|#define CALL_FUNCTION_EX                         4
  |  |  ------------------
  |  | 3016|     51|            _PyStackRef func;
  |  | 3017|     51|            _PyStackRef callargs;
  |  | 3018|     51|            _PyStackRef func_st;
  |  | 3019|     51|            _PyStackRef null;
  |  | 3020|     51|            _PyStackRef callargs_st;
  |  | 3021|     51|            _PyStackRef kwargs_st;
  |  | 3022|     51|            _PyStackRef result;
  |  | 3023|       |            // _SPECIALIZE_CALL_FUNCTION_EX
  |  | 3024|     51|            {
  |  | 3025|     51|                func = stack_pointer[-4];
  |  | 3026|     51|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 3027|     51|                (void)counter;
  |  | 3028|     51|                #if ENABLE_SPECIALIZATION
  |  | 3029|     51|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|     51|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 19, False: 32]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3030|     19|                    next_instr = this_instr;
  |  | 3031|     19|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3032|     19|                    _PyFrame_StackPointerValidate(frame);
  |  | 3033|     19|                    _Py_Specialize_CallFunctionEx(func, next_instr);
  |  | 3034|     19|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 3035|     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|    }
  |  |  ------------------
  |  | 3036|     19|                }
  |  | 3037|     51|                OPCODE_DEFERRED_INC(CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  |   90|     51|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 3038|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3039|     51|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 3040|     51|            }
  |  | 3041|       |            // _MAKE_CALLARGS_A_TUPLE
  |  | 3042|     51|            {
  |  | 3043|     51|                callargs = stack_pointer[-2];
  |  | 3044|     51|                PyObject *callargs_o = PyStackRef_AsPyObjectBorrow(callargs);
  |  | 3045|     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 (3045:21): [True: 5, False: 46]
  |  |  ------------------
  |  | 3046|      5|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3047|      5|                    _PyFrame_StackPointerValidate(frame);
  |  | 3048|      5|                    int err = _Py_Check_ArgsIterable(tstate, PyStackRef_AsPyObjectBorrow(func), callargs_o);
  |  | 3049|      5|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 3050|      5|                    if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (3050:25): [True: 0, False: 5]
  |  |  ------------------
  |  | 3051|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3052|      0|                    }
  |  | 3053|      5|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (3053:21): [True: 5, False: 0]
  |  |  ------------------
  |  | 3054|      5|                    _PyFrame_StackPointerValidate(frame);
  |  | 3055|      5|                    PyObject *tuple_o = PySequence_Tuple(callargs_o);
  |  | 3056|      5|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 3057|      5|                    if (tuple_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (3057:25): [True: 0, False: 5]
  |  |  ------------------
  |  | 3058|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3059|      0|                    }
  |  | 3060|      5|                    _PyStackRef temp = callargs;
  |  | 3061|      5|                    callargs = PyStackRef_FromPyObjectSteal(tuple_o);
  |  | 3062|      5|                    stack_pointer[-2] = callargs;
  |  | 3063|      5|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (3063:21): [True: 5, False: 0]
  |  |  ------------------
  |  | 3064|      5|                    _PyFrame_StackPointerValidate(frame);
  |  | 3065|      5|                    PyStackRef_CLOSE(temp);
  |  | 3066|      5|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 3067|      5|                }
  |  | 3068|     51|            }
  |  | 3069|       |            // _DO_CALL_FUNCTION_EX
  |  | 3070|     51|            {
  |  | 3071|     51|                kwargs_st = stack_pointer[-1];
  |  | 3072|     51|                callargs_st = callargs;
  |  | 3073|     51|                null = stack_pointer[-3];
  |  | 3074|     51|                func_st = func;
  |  | 3075|     51|                (void)null;
  |  | 3076|     51|                PyObject *func = PyStackRef_AsPyObjectBorrow(func_st);
  |  | 3077|     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)
  |  |  ------------------
  |  | 3078|     51|                PyObject *result_o;
  |  | 3079|     51|                assert(!_PyErr_Occurred(tstate));
  |  |  ------------------
  |  |  |  Branch (3079:17): [True: 32, False: 19]
  |  |  ------------------
  |  | 3080|     32|                if (opcode == INSTRUMENTED_CALL_FUNCTION_EX) {
  |  |  ------------------
  |  |  |  |  239|     32|#define INSTRUMENTED_CALL_FUNCTION_EX          251
  |  |  ------------------
  |  |  |  Branch (3080:21): [True: 0, False: 32]
  |  |  ------------------
  |  | 3081|      0|                    PyObject *callargs = PyStackRef_AsPyObjectBorrow(callargs_st);
  |  | 3082|      0|                    PyObject *kwargs = PyStackRef_AsPyObjectBorrow(kwargs_st);
  |  | 3083|      0|                    assert(kwargs == NULL || PyDict_CheckExact(kwargs));
  |  |  ------------------
  |  |  |  Branch (3083:21): [True: 0, False: 0]
  |  |  |  Branch (3083:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3084|      0|                    assert(PyTuple_CheckExact(callargs));
  |  |  ------------------
  |  |  |  Branch (3084:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3085|      0|                    PyObject *arg = PyTuple_GET_SIZE(callargs) > 0 ?
  |  |  ------------------
  |  |  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3085:37): [True: 0, False: 0]
  |  |  ------------------
  |  | 3086|      0|                    PyTuple_GET_ITEM(callargs, 0) : &_PyInstrumentation_MISSING;
  |  |  ------------------
  |  |  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3086:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3087|      0|                    stack_pointer[-2] = callargs_st;
  |  | 3088|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3089|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 3090|      0|                    int err = _Py_call_instrumentation_2args(
  |  | 3091|      0|                        tstate, PY_MONITORING_EVENT_CALL,
  |  |  ------------------
  |  |  |  |   18|      0|#define PY_MONITORING_EVENT_CALL 4
  |  |  ------------------
  |  | 3092|      0|                        frame, this_instr, func, arg);
  |  | 3093|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 3094|      0|                    if (err) {
  |  |  ------------------
  |  |  |  Branch (3094:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 3095|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3096|      0|                    }
  |  | 3097|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (3097:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3098|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 3099|      0|                    result_o = PyObject_Call(func, callargs, kwargs);
  |  | 3100|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 3101|      0|                    if (!PyFunction_Check(func) && !PyMethod_Check(func)) {
  |  |  ------------------
  |  |  |  |   68|      0|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                                   if (!PyFunction_Check(func) && !PyMethod_Check(func)) {
  |  |  ------------------
  |  |  |  |   22|      0|#define PyMethod_Check(op) Py_IS_TYPE((op), &PyMethod_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3101:25): [True: 0, False: 0]
  |  |  |  Branch (3101:52): [True: 0, False: 0]
  |  |  ------------------
  |  | 3102|      0|                        if (result_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (3102:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 3103|      0|                            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (3103:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 3104|      0|                            _PyFrame_StackPointerValidate(frame);
  |  | 3105|      0|                            _Py_call_instrumentation_exc2(
  |  | 3106|      0|                                tstate, PY_MONITORING_EVENT_C_RAISE,
  |  |  ------------------
  |  |  |  |   45|      0|#define PY_MONITORING_EVENT_C_RAISE 17
  |  |  ------------------
  |  | 3107|      0|                                frame, this_instr, func, arg);
  |  | 3108|      0|                            _PyFrame_StackPointerInvalidate(frame);
  |  | 3109|      0|                        }
  |  | 3110|      0|                        else {
  |  | 3111|      0|                            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (3111:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 3112|      0|                            _PyFrame_StackPointerValidate(frame);
  |  | 3113|      0|                            int err = _Py_call_instrumentation_2args(
  |  | 3114|      0|                                tstate, PY_MONITORING_EVENT_C_RETURN,
  |  |  ------------------
  |  |  |  |   44|      0|#define PY_MONITORING_EVENT_C_RETURN 16
  |  |  ------------------
  |  | 3115|      0|                                frame, this_instr, func, arg);
  |  | 3116|      0|                            _PyFrame_StackPointerInvalidate(frame);
  |  | 3117|      0|                            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (3117:33): [True: 0, False: 0]
  |  |  ------------------
  |  | 3118|      0|                                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (3118:33): [True: 0, False: 0]
  |  |  ------------------
  |  | 3119|      0|                                _PyFrame_StackPointerValidate(frame);
  |  | 3120|      0|                                Py_CLEAR(result_o);
  |  |  ------------------
  |  |  |  |  484|      0|    do { \
  |  |  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   80|      0|    do { \
  |  |  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   84|      0|            break; \
  |  |  |  |  |  |   85|      0|        } \
  |  |  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |  |  |   91|      0|        } \
  |  |  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  490|      0|        } \
  |  |  |  |  491|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3121|      0|                                _PyFrame_StackPointerInvalidate(frame);
  |  | 3122|      0|                            }
  |  | 3123|      0|                        }
  |  | 3124|      0|                    }
  |  | 3125|      0|                }
  |  | 3126|     32|                else {
  |  | 3127|     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 (3127:25): [True: 17, False: 15]
  |  |  ------------------
  |  | 3128|     17|                        !IS_PEP523_HOOKED(tstate) &&
  |  |  ------------------
  |  |  |  |  539|     49|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  ------------------
  |  |  |  Branch (3128:25): [True: 17, False: 0]
  |  |  ------------------
  |  | 3129|     17|                        ((PyFunctionObject *)func)->vectorcall == _PyFunction_Vectorcall) {
  |  |  ------------------
  |  |  |  Branch (3129:25): [True: 17, False: 0]
  |  |  ------------------
  |  | 3130|     17|                        PyObject *callargs = PyStackRef_AsPyObjectSteal(callargs_st);
  |  | 3131|     17|                        assert(PyTuple_CheckExact(callargs));
  |  |  ------------------
  |  |  |  Branch (3131:25): [True: 17, False: 0]
  |  |  ------------------
  |  | 3132|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3133|     17|                        assert(kwargs == NULL || PyDict_CheckExact(kwargs));
  |  |  ------------------
  |  |  |  Branch (3133:25): [True: 13, False: 4]
  |  |  |  Branch (3133:25): [True: 4, False: 0]
  |  |  ------------------
  |  | 3134|     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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3135|     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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3136|     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));
  |  |  ------------------
  |  |  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3136:44): [True: 17, False: 0]
  |  |  ------------------
  |  | 3137|     17|                        stack_pointer += -2;
  |  | 3138|     17|                        ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     17|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3139|     17|                        _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3140|     17|                        _PyFrame_StackPointerValidate(frame);
  |  | 3141|     17|                        _PyInterpreterFrame *new_frame = _PyEvalFramePushAndInit_Ex(
  |  | 3142|     17|                            tstate, func_st, locals,
  |  | 3143|     17|                            nargs, callargs, kwargs, frame);
  |  | 3144|     17|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 3145|     17|                        stack_pointer += -2;
  |  | 3146|     17|                        ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     17|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3147|     17|                        if (new_frame == NULL) {
  |  |  ------------------
  |  |  |  Branch (3147:29): [True: 0, False: 17]
  |  |  ------------------
  |  | 3148|      0|                            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3149|      0|                        }
  |  | 3150|     17|                        assert( 2u == 1 + INLINE_CACHE_ENTRIES_CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  Branch (3150:25): [True: 17, Folded]
  |  |  ------------------
  |  | 3151|     17|                        frame->return_offset = 2u ;
  |  | 3152|     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 (3152:25): [True: 17, False: 0]
  |  |  |  Branch (3152:25): [True: 17, False: 0]
  |  |  ------------------
  |  | 3153|     17|                    }
  |  | 3154|     15|                    PyObject *callargs = PyStackRef_AsPyObjectBorrow(callargs_st);
  |  | 3155|     15|                    assert(PyTuple_CheckExact(callargs));
  |  |  ------------------
  |  |  |  Branch (3155:21): [True: 15, False: 0]
  |  |  ------------------
  |  | 3156|     15|                    PyObject *kwargs = PyStackRef_AsPyObjectBorrow(kwargs_st);
  |  | 3157|     15|                    assert(kwargs == NULL || PyDict_CheckExact(kwargs));
  |  |  ------------------
  |  |  |  Branch (3157:21): [True: 9, False: 6]
  |  |  |  Branch (3157:21): [True: 6, False: 0]
  |  |  ------------------
  |  | 3158|     15|                    stack_pointer[-2] = callargs_st;
  |  | 3159|     15|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3160|     15|                    _PyFrame_StackPointerValidate(frame);
  |  | 3161|     15|                    result_o = PyObject_Call(func, callargs, kwargs);
  |  | 3162|     15|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 3163|     15|                }
  |  | 3164|     15|                stack_pointer += -1;
  |  | 3165|     15|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     15|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3166|     15|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3167|     15|                _PyFrame_StackPointerValidate(frame);
  |  | 3168|     15|                PyStackRef_XCLOSE(kwargs_st);
  |  | 3169|     15|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3170|     15|                stack_pointer += -1;
  |  | 3171|     15|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     15|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3172|     15|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3173|     15|                _PyFrame_StackPointerValidate(frame);
  |  | 3174|     15|                PyStackRef_CLOSE(callargs_st);
  |  | 3175|     15|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3176|     15|                stack_pointer += -2;
  |  | 3177|     15|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     15|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3178|     15|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3179|     15|                _PyFrame_StackPointerValidate(frame);
  |  | 3180|     15|                PyStackRef_CLOSE(func_st);
  |  | 3181|     15|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3182|     15|                if (result_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (3182:21): [True: 0, False: 15]
  |  |  ------------------
  |  | 3183|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3184|      0|                }
  |  | 3185|     15|                result = PyStackRef_FromPyObjectSteal(result_o);
  |  | 3186|     15|            }
  |  | 3187|       |            // _CHECK_PERIODIC_AT_END
  |  | 3188|      0|            {
  |  | 3189|     15|                stack_pointer[0] = result;
  |  | 3190|     15|                stack_pointer += 1;
  |  | 3191|     15|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     15|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3192|     15|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3193|     15|                _PyFrame_StackPointerValidate(frame);
  |  | 3194|     15|                int err = check_periodics_at_end(tstate, frame);
  |  | 3195|     15|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3196|     15|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (3196:21): [True: 0, False: 15]
  |  |  ------------------
  |  | 3197|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3198|      0|                }
  |  | 3199|     15|            }
  |  | 3200|     15|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     15|    { \
  |  |  |  |  201|     15|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     15|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     15|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     15|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     15|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     15|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     15|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     15|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 15]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     15|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     15|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     15|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     15|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     15|    }
  |  |  ------------------
  |  | 3201|     15|        }
  |  | 3202|       |
  |  | 3203|     82|        TARGET(CALL_INTRINSIC_1) {
  |  |  ------------------
  |  |  |  |  132|     82|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3204|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3205|       |            int opcode = CALL_INTRINSIC_1;
  |  | 3206|       |            (void)(opcode);
  |  | 3207|       |            #endif
  |  | 3208|     82|            frame->instr_ptr = next_instr;
  |  | 3209|     82|            next_instr += 1;
  |  | 3210|     82|            INSTRUCTION_STATS(CALL_INTRINSIC_1);
  |  |  ------------------
  |  |  |  |   71|     82|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3211|     82|            _PyStackRef value;
  |  | 3212|     82|            _PyStackRef res;
  |  | 3213|     82|            _PyStackRef v;
  |  | 3214|       |            // _CALL_INTRINSIC_1
  |  | 3215|     82|            {
  |  | 3216|     82|                value = stack_pointer[-1];
  |  | 3217|     82|                assert(oparg <= MAX_INTRINSIC_1);
  |  |  ------------------
  |  |  |  Branch (3217:17): [True: 82, False: 0]
  |  |  ------------------
  |  | 3218|     82|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3219|     82|                _PyFrame_StackPointerValidate(frame);
  |  | 3220|     82|                PyObject *res_o = _PyIntrinsics_UnaryFunctions[oparg].func(tstate, PyStackRef_AsPyObjectBorrow(value));
  |  | 3221|     82|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3222|     82|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (3222:21): [True: 0, False: 82]
  |  |  ------------------
  |  | 3223|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3224|      0|                }
  |  | 3225|     82|                v = value;
  |  | 3226|     82|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 3227|     82|            }
  |  | 3228|       |            // _POP_TOP
  |  | 3229|      0|            {
  |  | 3230|     82|                value = v;
  |  | 3231|     82|                stack_pointer[-1] = res;
  |  | 3232|     82|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (3232:17): [True: 82, False: 0]
  |  |  ------------------
  |  | 3233|     82|                _PyFrame_StackPointerValidate(frame);
  |  | 3234|     82|                PyStackRef_XCLOSE(value);
  |  | 3235|     82|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3236|     82|            }
  |  | 3237|     82|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     82|    { \
  |  |  |  |  201|     82|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     82|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     82|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     82|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     82|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     82|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     82|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     82|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 82]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     82|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     82|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     82|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     82|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     82|    }
  |  |  ------------------
  |  | 3238|     82|        }
  |  | 3239|       |
  |  | 3240|      0|        TARGET(CALL_INTRINSIC_2) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3241|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3242|       |            int opcode = CALL_INTRINSIC_2;
  |  | 3243|       |            (void)(opcode);
  |  | 3244|       |            #endif
  |  | 3245|      0|            frame->instr_ptr = next_instr;
  |  | 3246|      0|            next_instr += 1;
  |  | 3247|      0|            INSTRUCTION_STATS(CALL_INTRINSIC_2);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3248|      0|            _PyStackRef value2_st;
  |  | 3249|      0|            _PyStackRef value1_st;
  |  | 3250|      0|            _PyStackRef res;
  |  | 3251|      0|            _PyStackRef vs1;
  |  | 3252|      0|            _PyStackRef vs2;
  |  | 3253|      0|            _PyStackRef value;
  |  | 3254|       |            // _CALL_INTRINSIC_2
  |  | 3255|      0|            {
  |  | 3256|      0|                value1_st = stack_pointer[-1];
  |  | 3257|      0|                value2_st = stack_pointer[-2];
  |  | 3258|      0|                assert(oparg <= MAX_INTRINSIC_2);
  |  |  ------------------
  |  |  |  Branch (3258:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 3259|      0|                PyObject *value1 = PyStackRef_AsPyObjectBorrow(value1_st);
  |  | 3260|      0|                PyObject *value2 = PyStackRef_AsPyObjectBorrow(value2_st);
  |  | 3261|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3262|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 3263|      0|                PyObject *res_o = _PyIntrinsics_BinaryFunctions[oparg].func(tstate, value2, value1);
  |  | 3264|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3265|      0|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (3265:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3266|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3267|      0|                }
  |  | 3268|      0|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 3269|      0|                vs1 = value1_st;
  |  | 3270|      0|                vs2 = value2_st;
  |  | 3271|      0|            }
  |  | 3272|       |            // _POP_TOP
  |  | 3273|      0|            {
  |  | 3274|      0|                value = vs2;
  |  | 3275|      0|                stack_pointer[-2] = res;
  |  | 3276|      0|                stack_pointer[-1] = vs1;
  |  | 3277|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (3277:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 3278|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 3279|      0|                PyStackRef_XCLOSE(value);
  |  | 3280|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3281|      0|            }
  |  | 3282|       |            // _POP_TOP
  |  | 3283|      0|            {
  |  | 3284|      0|                value = vs1;
  |  | 3285|      0|                stack_pointer += -1;
  |  | 3286|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3287|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3288|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 3289|      0|                PyStackRef_XCLOSE(value);
  |  | 3290|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3291|      0|            }
  |  | 3292|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 3293|      0|        }
  |  | 3294|       |
  |  | 3295|    688|        TARGET(CALL_ISINSTANCE) {
  |  |  ------------------
  |  |  |  |  132|    688|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3296|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3297|       |            int opcode = CALL_ISINSTANCE;
  |  | 3298|       |            (void)(opcode);
  |  | 3299|       |            #endif
  |  | 3300|    688|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 3301|    688|            (void)this_instr;
  |  | 3302|    688|            frame->instr_ptr = next_instr;
  |  | 3303|    688|            next_instr += 4;
  |  | 3304|    688|            INSTRUCTION_STATS(CALL_ISINSTANCE);
  |  |  ------------------
  |  |  |  |   71|    688|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3305|    688|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 3306|    688|            _PyStackRef null;
  |  | 3307|    688|            _PyStackRef callable;
  |  | 3308|    688|            _PyStackRef instance;
  |  | 3309|    688|            _PyStackRef cls;
  |  | 3310|    688|            _PyStackRef res;
  |  | 3311|       |            /* Skip 1 cache entry */
  |  | 3312|       |            /* Skip 2 cache entries */
  |  | 3313|       |            // _GUARD_THIRD_NULL
  |  | 3314|    688|            {
  |  | 3315|    688|                null = stack_pointer[-3];
  |  | 3316|    688|                if (!PyStackRef_IsNull(null)) {
  |  |  ------------------
  |  |  |  |  482|    688|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    688|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    688|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3316:21): [True: 0, False: 688]
  |  |  ------------------
  |  | 3317|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3318|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (3318:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3319|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3320|      0|                }
  |  | 3321|    688|            }
  |  | 3322|       |            // _GUARD_CALLABLE_ISINSTANCE
  |  | 3323|    688|            {
  |  | 3324|    688|                callable = stack_pointer[-4];
  |  | 3325|    688|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3326|    688|                PyInterpreterState *interp = tstate->interp;
  |  | 3327|    688|                if (callable_o != interp->callable_cache.isinstance) {
  |  |  ------------------
  |  |  |  Branch (3327:21): [True: 0, False: 688]
  |  |  ------------------
  |  | 3328|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3329|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (3329:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3330|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3331|      0|                }
  |  | 3332|    688|            }
  |  | 3333|       |            // _CALL_ISINSTANCE
  |  | 3334|    688|            {
  |  | 3335|    688|                cls = stack_pointer[-1];
  |  | 3336|    688|                instance = stack_pointer[-2];
  |  | 3337|    688|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|    688|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 3338|    688|                PyObject *inst_o = PyStackRef_AsPyObjectBorrow(instance);
  |  | 3339|    688|                PyObject *cls_o = PyStackRef_AsPyObjectBorrow(cls);
  |  | 3340|    688|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3341|    688|                _PyFrame_StackPointerValidate(frame);
  |  | 3342|    688|                int retval = PyObject_IsInstance(inst_o, cls_o);
  |  | 3343|    688|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3344|    688|                if (retval < 0) {
  |  |  ------------------
  |  |  |  Branch (3344:21): [True: 0, False: 688]
  |  |  ------------------
  |  | 3345|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3346|      0|                }
  |  | 3347|    688|                (void)null;
  |  | 3348|    688|                stack_pointer += -1;
  |  | 3349|    688|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    688|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3350|    688|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3351|    688|                _PyFrame_StackPointerValidate(frame);
  |  | 3352|    688|                PyStackRef_CLOSE(cls);
  |  | 3353|    688|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3354|    688|                stack_pointer += -1;
  |  | 3355|    688|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    688|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3356|    688|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3357|    688|                _PyFrame_StackPointerValidate(frame);
  |  | 3358|    688|                PyStackRef_CLOSE(instance);
  |  | 3359|    688|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3360|    688|                stack_pointer += -2;
  |  | 3361|    688|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    688|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3362|    688|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3363|    688|                _PyFrame_StackPointerValidate(frame);
  |  | 3364|    688|                PyStackRef_CLOSE(callable);
  |  | 3365|    688|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3366|    688|                res = retval ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|    372|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    372|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = retval ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  1.00k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    316|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3366:23): [True: 372, False: 316]
  |  |  ------------------
  |  | 3367|    688|                assert((!PyStackRef_IsNull(res)) ^ (_PyErr_Occurred(tstate) != NULL));
  |  |  ------------------
  |  |  |  Branch (3367:17): [True: 688, False: 0]
  |  |  ------------------
  |  | 3368|    688|            }
  |  | 3369|    688|            stack_pointer[0] = res;
  |  | 3370|    688|            stack_pointer += 1;
  |  | 3371|    688|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    688|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3372|    688|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    688|    { \
  |  |  |  |  201|    688|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    688|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    688|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    688|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    688|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    688|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    688|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    688|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 688]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    688|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    688|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    688|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    688|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    688|    }
  |  |  ------------------
  |  | 3373|    688|        }
  |  | 3374|       |
  |  | 3375|     96|        TARGET(CALL_KW) {
  |  |  ------------------
  |  |  |  |  132|     96|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3376|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3377|       |            int opcode = CALL_KW;
  |  | 3378|       |            (void)(opcode);
  |  | 3379|       |            #endif
  |  | 3380|     96|            frame->instr_ptr = next_instr;
  |  | 3381|     96|            next_instr += 4;
  |  | 3382|     96|            INSTRUCTION_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |   71|     96|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3383|     96|            PREDICTED_CALL_KW:;
  |  | 3384|     96|            _Py_CODEUNIT* const this_instr = next_instr - 4;
  |  | 3385|     96|            (void)this_instr;
  |  | 3386|     96|            opcode = CALL_KW;
  |  |  ------------------
  |  |  |  |   66|     96|#define CALL_KW                                 53
  |  |  ------------------
  |  | 3387|     96|            _PyStackRef callable;
  |  | 3388|     96|            _PyStackRef self_or_null;
  |  | 3389|     96|            _PyStackRef *args;
  |  | 3390|     96|            _PyStackRef kwnames;
  |  | 3391|     96|            _PyStackRef res;
  |  | 3392|       |            // _SPECIALIZE_CALL_KW
  |  | 3393|     96|            {
  |  | 3394|     96|                self_or_null = stack_pointer[-2 - oparg];
  |  | 3395|     96|                callable = stack_pointer[-3 - oparg];
  |  | 3396|     96|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 3397|     96|                (void)counter;
  |  | 3398|     96|                #if ENABLE_SPECIALIZATION
  |  | 3399|     96|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|     96|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 29, False: 67]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3400|     29|                    next_instr = this_instr;
  |  | 3401|     29|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3402|     29|                    _PyFrame_StackPointerValidate(frame);
  |  | 3403|     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
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3404|     29|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 3405|     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|    }
  |  |  ------------------
  |  | 3406|     29|                }
  |  | 3407|     96|                OPCODE_DEFERRED_INC(CALL_KW);
  |  |  ------------------
  |  |  |  |   90|     96|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 3408|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3409|     96|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 3410|     96|            }
  |  | 3411|       |            /* Skip 2 cache entries */
  |  | 3412|       |            // _MAYBE_EXPAND_METHOD_KW
  |  | 3413|     96|            {
  |  | 3414|     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 (3414:21): [True: 0, False: 96]
  |  |  ------------------
  |  | 3415|      0|                    PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3416|      0|                    PyObject *self = ((PyMethodObject *)callable_o)->im_self;
  |  | 3417|      0|                    self_or_null = PyStackRef_FromPyObjectNew(self);
  |  |  ------------------
  |  |  |  |  611|      0|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3418|      0|                    PyObject *method = ((PyMethodObject *)callable_o)->im_func;
  |  | 3419|      0|                    _PyStackRef temp = callable;
  |  | 3420|      0|                    callable = PyStackRef_FromPyObjectNew(method);
  |  |  ------------------
  |  |  |  |  611|      0|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3421|      0|                    stack_pointer[-3 - oparg] = callable;
  |  | 3422|      0|                    stack_pointer[-2 - oparg] = self_or_null;
  |  | 3423|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3424|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 3425|      0|                    PyStackRef_CLOSE(temp);
  |  | 3426|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 3427|      0|                }
  |  | 3428|     96|            }
  |  | 3429|       |            // _DO_CALL_KW
  |  | 3430|     96|            {
  |  | 3431|     96|                kwnames = stack_pointer[-1];
  |  | 3432|     96|                args = &stack_pointer[-1 - oparg];
  |  | 3433|     96|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3434|     96|                PyObject *kwnames_o = PyStackRef_AsPyObjectBorrow(kwnames);
  |  | 3435|     96|                int total_args = oparg;
  |  | 3436|     96|                _PyStackRef *arguments = args;
  |  | 3437|     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 (3437:21): [True: 4, False: 92]
  |  |  ------------------
  |  | 3438|      4|                    arguments--;
  |  | 3439|      4|                    total_args++;
  |  | 3440|      4|                }
  |  | 3441|     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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3442|     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 (3442:21): [True: 18, False: 78]
  |  |  ------------------
  |  | 3443|     18|                    !IS_PEP523_HOOKED(tstate) &&
  |  |  ------------------
  |  |  |  |  539|    114|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  ------------------
  |  |  |  Branch (3443:21): [True: 18, False: 0]
  |  |  ------------------
  |  | 3444|     18|                    ((PyFunctionObject *)callable_o)->vectorcall == _PyFunction_Vectorcall)
  |  |  ------------------
  |  |  |  Branch (3444:21): [True: 18, False: 0]
  |  |  ------------------
  |  | 3445|     18|                {
  |  | 3446|     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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3447|     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));
  |  |  ------------------
  |  |  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3447:40): [True: 18, False: 0]
  |  |  ------------------
  |  | 3448|     18|                    stack_pointer[-3 - oparg] = callable;
  |  | 3449|     18|                    stack_pointer[-2 - oparg] = self_or_null;
  |  | 3450|     18|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3451|     18|                    _PyFrame_StackPointerValidate(frame);
  |  | 3452|     18|                    _PyInterpreterFrame *new_frame = _PyEvalFramePushAndInit(
  |  | 3453|     18|                        tstate, callable, locals,
  |  | 3454|     18|                        arguments, positional_args, kwnames_o, frame
  |  | 3455|     18|                    );
  |  | 3456|     18|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 3457|     18|                    stack_pointer += -3 - oparg;
  |  | 3458|     18|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     18|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3459|     18|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3460|     18|                    _PyFrame_StackPointerValidate(frame);
  |  | 3461|     18|                    PyStackRef_CLOSE(kwnames);
  |  | 3462|     18|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 3463|     18|                    if (new_frame == NULL) {
  |  |  ------------------
  |  |  |  Branch (3463:25): [True: 0, False: 18]
  |  |  ------------------
  |  | 3464|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3465|      0|                    }
  |  | 3466|     18|                    assert( 4u == 1 + INLINE_CACHE_ENTRIES_CALL_KW);
  |  |  ------------------
  |  |  |  Branch (3466:21): [True: 18, Folded]
  |  |  ------------------
  |  | 3467|     18|                    frame->return_offset = 4u ;
  |  | 3468|     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 (3468:21): [True: 18, False: 0]
  |  |  |  Branch (3468:21): [True: 18, False: 0]
  |  |  ------------------
  |  | 3469|     18|                }
  |  | 3470|     78|                stack_pointer[-3 - oparg] = callable;
  |  | 3471|     78|                stack_pointer[-2 - oparg] = self_or_null;
  |  | 3472|     78|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3473|     78|                _PyFrame_StackPointerValidate(frame);
  |  | 3474|     78|                PyObject* res_o = _Py_VectorCallInstrumentation_StackRefSteal(
  |  | 3475|     78|                    callable,
  |  | 3476|     78|                    arguments,
  |  | 3477|     78|                    total_args,
  |  | 3478|     78|                    kwnames,
  |  | 3479|     78|                    opcode == INSTRUMENTED_CALL_KW,
  |  |  ------------------
  |  |  |  |  238|     78|#define INSTRUMENTED_CALL_KW                   250
  |  |  ------------------
  |  | 3480|     78|                    frame,
  |  | 3481|     78|                    this_instr,
  |  | 3482|     78|                    tstate);
  |  | 3483|     78|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3484|     78|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (3484:21): [True: 1, False: 77]
  |  |  ------------------
  |  | 3485|      1|                    stack_pointer += -3 - oparg;
  |  | 3486|      1|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      1|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3487|      1|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      1|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3488|      0|                }
  |  | 3489|     77|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 3490|     77|            }
  |  | 3491|      0|            stack_pointer[-3 - oparg] = res;
  |  | 3492|     77|            stack_pointer += -2 - oparg;
  |  | 3493|     77|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     77|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3494|     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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     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|    }
  |  |  ------------------
  |  | 3495|     77|        }
  |  | 3496|       |
  |  | 3497|      0|        TARGET(CALL_KW_BOUND_METHOD) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3498|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3499|       |            int opcode = CALL_KW_BOUND_METHOD;
  |  | 3500|       |            (void)(opcode);
  |  | 3501|       |            #endif
  |  | 3502|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 3503|      0|            (void)this_instr;
  |  | 3504|      0|            frame->instr_ptr = next_instr;
  |  | 3505|      0|            next_instr += 4;
  |  | 3506|      0|            INSTRUCTION_STATS(CALL_KW_BOUND_METHOD);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3507|      0|            static_assert(INLINE_CACHE_ENTRIES_CALL_KW == 3, "incorrect cache size");
  |  | 3508|      0|            _PyStackRef callable;
  |  | 3509|      0|            _PyStackRef null;
  |  | 3510|      0|            _PyStackRef self_or_null;
  |  | 3511|      0|            _PyStackRef *args;
  |  | 3512|      0|            _PyStackRef kwnames;
  |  | 3513|      0|            _PyStackRef new_frame;
  |  | 3514|       |            /* Skip 1 cache entry */
  |  | 3515|       |            // _CHECK_PEP_523
  |  | 3516|      0|            {
  |  | 3517|      0|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  539|      0|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (539:34): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3518|      0|                    UPDATE_MISS_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3519|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_KW));
  |  |  ------------------
  |  |  |  Branch (3519:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3520|      0|                    JUMP_TO_PREDICTED(CALL_KW);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3521|      0|                }
  |  | 3522|      0|            }
  |  | 3523|       |            // _CHECK_METHOD_VERSION_KW
  |  | 3524|      0|            {
  |  | 3525|      0|                null = stack_pointer[-2 - oparg];
  |  | 3526|      0|                callable = stack_pointer[-3 - oparg];
  |  | 3527|      0|                uint32_t func_version = read_u32(&this_instr[2].cache);
  |  | 3528|      0|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3529|      0|                if (Py_TYPE(callable_o) != &PyMethod_Type) {
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3529:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3530|      0|                    UPDATE_MISS_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3531|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_KW));
  |  |  ------------------
  |  |  |  Branch (3531:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3532|      0|                    JUMP_TO_PREDICTED(CALL_KW);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3533|      0|                }
  |  | 3534|      0|                PyObject *func = ((PyMethodObject *)callable_o)->im_func;
  |  | 3535|      0|                if (!PyFunction_Check(func)) {
  |  |  ------------------
  |  |  |  |   68|      0|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3535:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3536|      0|                    UPDATE_MISS_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3537|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_KW));
  |  |  ------------------
  |  |  |  Branch (3537:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3538|      0|                    JUMP_TO_PREDICTED(CALL_KW);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3539|      0|                }
  |  | 3540|      0|                if (((PyFunctionObject *)func)->func_version != func_version) {
  |  |  ------------------
  |  |  |  Branch (3540:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3541|      0|                    UPDATE_MISS_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3542|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_KW));
  |  |  ------------------
  |  |  |  Branch (3542:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3543|      0|                    JUMP_TO_PREDICTED(CALL_KW);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3544|      0|                }
  |  | 3545|      0|                if (!PyStackRef_IsNull(null)) {
  |  |  ------------------
  |  |  |  |  482|      0|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|      0|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3545:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3546|      0|                    UPDATE_MISS_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3547|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_KW));
  |  |  ------------------
  |  |  |  Branch (3547:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3548|      0|                    JUMP_TO_PREDICTED(CALL_KW);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3549|      0|                }
  |  | 3550|      0|            }
  |  | 3551|       |            // _EXPAND_METHOD_KW
  |  | 3552|      0|            {
  |  | 3553|      0|                self_or_null = null;
  |  | 3554|      0|                assert(PyStackRef_IsNull(self_or_null));
  |  |  ------------------
  |  |  |  Branch (3554:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 3555|      0|                _PyStackRef callable_s = callable;
  |  | 3556|      0|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3557|      0|                assert(Py_TYPE(callable_o) == &PyMethod_Type);
  |  |  ------------------
  |  |  |  Branch (3557:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 3558|      0|                self_or_null = PyStackRef_FromPyObjectNew(((PyMethodObject *)callable_o)->im_self);
  |  |  ------------------
  |  |  |  |  611|      0|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3559|      0|                callable = PyStackRef_FromPyObjectNew(((PyMethodObject *)callable_o)->im_func);
  |  |  ------------------
  |  |  |  |  611|      0|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3560|      0|                assert(PyStackRef_FunctionCheck(callable));
  |  |  ------------------
  |  |  |  Branch (3560:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 3561|      0|                stack_pointer[-3 - oparg] = callable;
  |  | 3562|      0|                stack_pointer[-2 - oparg] = self_or_null;
  |  | 3563|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3564|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 3565|      0|                PyStackRef_CLOSE(callable_s);
  |  | 3566|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3567|      0|            }
  |  | 3568|       |            // flush
  |  | 3569|       |            // _PY_FRAME_KW
  |  | 3570|      0|            {
  |  | 3571|      0|                kwnames = stack_pointer[-1];
  |  | 3572|      0|                args = &stack_pointer[-1 - oparg];
  |  | 3573|      0|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3574|      0|                int total_args = oparg;
  |  | 3575|      0|                _PyStackRef *arguments = args;
  |  | 3576|      0|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|      0|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|      0|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3576:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3577|      0|                    arguments--;
  |  | 3578|      0|                    total_args++;
  |  | 3579|      0|                }
  |  | 3580|      0|                PyObject *kwnames_o = PyStackRef_AsPyObjectBorrow(kwnames);
  |  | 3581|      0|                int positional_args = total_args - (int)PyTuple_GET_SIZE(kwnames_o);
  |  |  ------------------
  |  |  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3582|      0|                assert(Py_TYPE(callable_o) == &PyFunction_Type);
  |  |  ------------------
  |  |  |  Branch (3582:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 3583|      0|                int code_flags = ((PyCodeObject*)PyFunction_GET_CODE(callable_o))->co_flags;
  |  |  ------------------
  |  |  |  |   93|      0|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3584|      0|                PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  122|      0|#define CO_OPTIMIZED    0x0001
  |  |  ------------------
  |  |                               PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3584:36): [True: 0, False: 0]
  |  |  ------------------
  |  | 3585|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (3585:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 3586|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 3587|      0|                _PyInterpreterFrame *temp = _PyEvalFramePushAndInit(
  |  | 3588|      0|                    tstate, callable, locals,
  |  | 3589|      0|                    arguments, positional_args, kwnames_o, frame
  |  | 3590|      0|                );
  |  | 3591|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3592|      0|                stack_pointer += -1;
  |  | 3593|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3594|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3595|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 3596|      0|                PyStackRef_CLOSE(kwnames);
  |  | 3597|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3598|      0|                stack_pointer += -2 - oparg;
  |  | 3599|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3600|      0|                if (temp == NULL) {
  |  |  ------------------
  |  |  |  Branch (3600:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3601|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3602|      0|                }
  |  | 3603|      0|                new_frame = PyStackRef_Wrap(temp);
  |  | 3604|      0|            }
  |  | 3605|       |            // _SAVE_RETURN_OFFSET
  |  | 3606|      0|            {
  |  | 3607|      0|                #if TIER_ONE
  |  | 3608|      0|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 3609|      0|                #endif
  |  | 3610|       |                #if TIER_TWO
  |  | 3611|       |                frame->return_offset = oparg;
  |  | 3612|       |                #endif
  |  | 3613|      0|            }
  |  | 3614|       |            // _PUSH_FRAME
  |  | 3615|      0|            {
  |  | 3616|      0|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (3616:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 3617|      0|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 3618|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3619|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 3620|      0|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (3620:17): [True: 0, False: 0]
  |  |  |  Branch (3620:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 3621|      0|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|      0|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 3622|      0|                frame = tstate->current_frame = temp;
  |  | 3623|      0|                tstate->py_recursion_remaining--;
  |  | 3624|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3625|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3626|      0|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  441|      0|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|      0|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3627|       |                #ifdef Py_DEBUG
  |  | 3628|       |                assert(frame->previous->stackpointer_valid == 1);
  |  | 3629|       |                #endif
  |  | 3630|      0|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|      0|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 3631|      0|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|      0|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 3632|      0|            }
  |  | 3633|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 3634|      0|        }
  |  | 3635|       |
  |  | 3636|    159|        TARGET(CALL_KW_NON_PY) {
  |  |  ------------------
  |  |  |  |  132|    159|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3637|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3638|       |            int opcode = CALL_KW_NON_PY;
  |  | 3639|       |            (void)(opcode);
  |  | 3640|       |            #endif
  |  | 3641|    159|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 3642|    159|            (void)this_instr;
  |  | 3643|    159|            frame->instr_ptr = next_instr;
  |  | 3644|    159|            next_instr += 4;
  |  | 3645|    159|            INSTRUCTION_STATS(CALL_KW_NON_PY);
  |  |  ------------------
  |  |  |  |   71|    159|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3646|    159|            opcode = CALL_KW_NON_PY;
  |  |  ------------------
  |  |  |  |  157|    159|#define CALL_KW_NON_PY                         155
  |  |  ------------------
  |  | 3647|    159|            static_assert(INLINE_CACHE_ENTRIES_CALL_KW == 3, "incorrect cache size");
  |  | 3648|    159|            _PyStackRef callable;
  |  | 3649|    159|            _PyStackRef self_or_null;
  |  | 3650|    159|            _PyStackRef *args;
  |  | 3651|    159|            _PyStackRef kwnames;
  |  | 3652|    159|            _PyStackRef res;
  |  | 3653|       |            /* Skip 1 cache entry */
  |  | 3654|       |            /* Skip 2 cache entries */
  |  | 3655|       |            // _CHECK_IS_NOT_PY_CALLABLE_KW
  |  | 3656|    159|            {
  |  | 3657|    159|                callable = stack_pointer[-3 - oparg];
  |  | 3658|    159|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3659|    159|                if (PyFunction_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |   68|    159|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    159|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    159|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    159|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 0, False: 159]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3660|      0|                    UPDATE_MISS_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3661|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_KW));
  |  |  ------------------
  |  |  |  Branch (3661:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3662|      0|                    JUMP_TO_PREDICTED(CALL_KW);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3663|      0|                }
  |  | 3664|    159|                if (Py_TYPE(callable_o) == &PyMethod_Type) {
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3664:21): [True: 0, False: 159]
  |  |  ------------------
  |  | 3665|      0|                    UPDATE_MISS_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3666|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_KW));
  |  |  ------------------
  |  |  |  Branch (3666:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3667|      0|                    JUMP_TO_PREDICTED(CALL_KW);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3668|      0|                }
  |  | 3669|    159|            }
  |  | 3670|       |            // _CALL_KW_NON_PY
  |  | 3671|    159|            {
  |  | 3672|    159|                kwnames = stack_pointer[-1];
  |  | 3673|    159|                args = &stack_pointer[-1 - oparg];
  |  | 3674|    159|                self_or_null = stack_pointer[-2 - oparg];
  |  | 3675|    159|                #if TIER_ONE
  |  | 3676|    159|                assert(opcode != INSTRUMENTED_CALL);
  |  |  ------------------
  |  |  |  Branch (3676:17): [True: 159, False: 0]
  |  |  ------------------
  |  | 3677|    159|                #endif
  |  | 3678|    159|                int total_args = oparg;
  |  | 3679|    159|                _PyStackRef *arguments = args;
  |  | 3680|    159|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|    159|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    159|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    159|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3680:21): [True: 0, False: 159]
  |  |  ------------------
  |  | 3681|      0|                    arguments--;
  |  | 3682|      0|                    total_args++;
  |  | 3683|      0|                }
  |  | 3684|    159|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3685|    159|                _PyFrame_StackPointerValidate(frame);
  |  | 3686|    159|                PyObject *res_o = _Py_VectorCall_StackRefSteal(
  |  | 3687|    159|                    callable,
  |  | 3688|    159|                    arguments,
  |  | 3689|    159|                    total_args,
  |  | 3690|    159|                    kwnames);
  |  | 3691|    159|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3692|    159|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (3692:21): [True: 20, False: 139]
  |  |  ------------------
  |  | 3693|     20|                    stack_pointer += -3 - oparg;
  |  | 3694|     20|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     20|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3695|     20|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|     20|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3696|      0|                }
  |  | 3697|    139|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 3698|    139|            }
  |  | 3699|       |            // _CHECK_PERIODIC_AT_END
  |  | 3700|      0|            {
  |  | 3701|    139|                stack_pointer[-3 - oparg] = res;
  |  | 3702|    139|                stack_pointer += -2 - oparg;
  |  | 3703|    139|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    139|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3704|    139|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3705|    139|                _PyFrame_StackPointerValidate(frame);
  |  | 3706|    139|                int err = check_periodics_at_end(tstate, frame);
  |  | 3707|    139|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3708|    139|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (3708:21): [True: 0, False: 139]
  |  |  ------------------
  |  | 3709|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3710|      0|                }
  |  | 3711|    139|            }
  |  | 3712|    139|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    139|    { \
  |  |  |  |  201|    139|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    139|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    139|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    139|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    139|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    139|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    139|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    139|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 139]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    139|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    139|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    139|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    139|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    139|    }
  |  |  ------------------
  |  | 3713|    139|        }
  |  | 3714|       |
  |  | 3715|    481|        TARGET(CALL_KW_PY) {
  |  |  ------------------
  |  |  |  |  132|    481|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3716|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3717|       |            int opcode = CALL_KW_PY;
  |  | 3718|       |            (void)(opcode);
  |  | 3719|       |            #endif
  |  | 3720|    481|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 3721|    481|            (void)this_instr;
  |  | 3722|    481|            frame->instr_ptr = next_instr;
  |  | 3723|    481|            next_instr += 4;
  |  | 3724|    481|            INSTRUCTION_STATS(CALL_KW_PY);
  |  |  ------------------
  |  |  |  |   71|    481|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3725|    481|            static_assert(INLINE_CACHE_ENTRIES_CALL_KW == 3, "incorrect cache size");
  |  | 3726|    481|            _PyStackRef callable;
  |  | 3727|    481|            _PyStackRef self_or_null;
  |  | 3728|    481|            _PyStackRef *args;
  |  | 3729|    481|            _PyStackRef kwnames;
  |  | 3730|    481|            _PyStackRef new_frame;
  |  | 3731|       |            /* Skip 1 cache entry */
  |  | 3732|       |            // _CHECK_PEP_523
  |  | 3733|    481|            {
  |  | 3734|    481|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  539|    481|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (539:34): [True: 0, False: 481]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3735|      0|                    UPDATE_MISS_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3736|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_KW));
  |  |  ------------------
  |  |  |  Branch (3736:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3737|      0|                    JUMP_TO_PREDICTED(CALL_KW);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3738|      0|                }
  |  | 3739|    481|            }
  |  | 3740|       |            // _CHECK_FUNCTION_VERSION_KW
  |  | 3741|    481|            {
  |  | 3742|    481|                callable = stack_pointer[-3 - oparg];
  |  | 3743|    481|                uint32_t func_version = read_u32(&this_instr[2].cache);
  |  | 3744|    481|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3745|    481|                if (!PyFunction_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |   68|    481|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    481|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    481|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    481|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3745:21): [True: 0, False: 481]
  |  |  ------------------
  |  | 3746|      0|                    UPDATE_MISS_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3747|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_KW));
  |  |  ------------------
  |  |  |  Branch (3747:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3748|      0|                    JUMP_TO_PREDICTED(CALL_KW);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3749|      0|                }
  |  | 3750|    481|                PyFunctionObject *func = (PyFunctionObject *)callable_o;
  |  | 3751|    481|                if (func->func_version != func_version) {
  |  |  ------------------
  |  |  |  Branch (3751:21): [True: 0, False: 481]
  |  |  ------------------
  |  | 3752|      0|                    UPDATE_MISS_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3753|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_KW));
  |  |  ------------------
  |  |  |  Branch (3753:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3754|      0|                    JUMP_TO_PREDICTED(CALL_KW);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3755|      0|                }
  |  | 3756|    481|            }
  |  | 3757|       |            // _CHECK_RECURSION_REMAINING
  |  | 3758|    481|            {
  |  | 3759|    481|                if (tstate->py_recursion_remaining <= 1) {
  |  |  ------------------
  |  |  |  Branch (3759:21): [True: 0, False: 481]
  |  |  ------------------
  |  | 3760|      0|                    UPDATE_MISS_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3761|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_KW));
  |  |  ------------------
  |  |  |  Branch (3761:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3762|      0|                    JUMP_TO_PREDICTED(CALL_KW);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3763|      0|                }
  |  | 3764|    481|            }
  |  | 3765|       |            // _PY_FRAME_KW
  |  | 3766|    481|            {
  |  | 3767|    481|                kwnames = stack_pointer[-1];
  |  | 3768|    481|                args = &stack_pointer[-1 - oparg];
  |  | 3769|    481|                self_or_null = stack_pointer[-2 - oparg];
  |  | 3770|    481|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3771|    481|                int total_args = oparg;
  |  | 3772|    481|                _PyStackRef *arguments = args;
  |  | 3773|    481|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|    481|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    481|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    481|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3773:21): [True: 0, False: 481]
  |  |  ------------------
  |  | 3774|      0|                    arguments--;
  |  | 3775|      0|                    total_args++;
  |  | 3776|      0|                }
  |  | 3777|    481|                PyObject *kwnames_o = PyStackRef_AsPyObjectBorrow(kwnames);
  |  | 3778|    481|                int positional_args = total_args - (int)PyTuple_GET_SIZE(kwnames_o);
  |  |  ------------------
  |  |  |  |   27|    481|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    481|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    481|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3779|    481|                assert(Py_TYPE(callable_o) == &PyFunction_Type);
  |  |  ------------------
  |  |  |  Branch (3779:17): [True: 481, False: 0]
  |  |  ------------------
  |  | 3780|    481|                int code_flags = ((PyCodeObject*)PyFunction_GET_CODE(callable_o))->co_flags;
  |  |  ------------------
  |  |  |  |   93|    481|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    481|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    481|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3781|    481|                PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  122|    481|#define CO_OPTIMIZED    0x0001
  |  |  ------------------
  |  |                               PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3781:36): [True: 481, False: 0]
  |  |  ------------------
  |  | 3782|    481|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3783|    481|                _PyFrame_StackPointerValidate(frame);
  |  | 3784|    481|                _PyInterpreterFrame *temp = _PyEvalFramePushAndInit(
  |  | 3785|    481|                    tstate, callable, locals,
  |  | 3786|    481|                    arguments, positional_args, kwnames_o, frame
  |  | 3787|    481|                );
  |  | 3788|    481|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3789|    481|                stack_pointer += -1;
  |  | 3790|    481|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    481|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3791|    481|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3792|    481|                _PyFrame_StackPointerValidate(frame);
  |  | 3793|    481|                PyStackRef_CLOSE(kwnames);
  |  | 3794|    481|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3795|    481|                stack_pointer += -2 - oparg;
  |  | 3796|    481|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    481|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3797|    481|                if (temp == NULL) {
  |  |  ------------------
  |  |  |  Branch (3797:21): [True: 0, False: 481]
  |  |  ------------------
  |  | 3798|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3799|      0|                }
  |  | 3800|    481|                new_frame = PyStackRef_Wrap(temp);
  |  | 3801|    481|            }
  |  | 3802|       |            // _SAVE_RETURN_OFFSET
  |  | 3803|      0|            {
  |  | 3804|    481|                #if TIER_ONE
  |  | 3805|    481|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 3806|    481|                #endif
  |  | 3807|       |                #if TIER_TWO
  |  | 3808|       |                frame->return_offset = oparg;
  |  | 3809|       |                #endif
  |  | 3810|    481|            }
  |  | 3811|       |            // _PUSH_FRAME
  |  | 3812|    481|            {
  |  | 3813|    481|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (3813:17): [True: 481, False: 0]
  |  |  ------------------
  |  | 3814|    481|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 3815|    481|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3816|    481|                _PyFrame_StackPointerValidate(frame);
  |  | 3817|    481|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (3817:17): [True: 481, False: 0]
  |  |  |  Branch (3817:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 3818|    481|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|    481|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 3819|    481|                frame = tstate->current_frame = temp;
  |  | 3820|    481|                tstate->py_recursion_remaining--;
  |  | 3821|    481|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3822|    481|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3823|    481|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  441|    481|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|    481|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|    481|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 481]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3824|       |                #ifdef Py_DEBUG
  |  | 3825|       |                assert(frame->previous->stackpointer_valid == 1);
  |  | 3826|       |                #endif
  |  | 3827|    481|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|    481|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 3828|    481|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|    481|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 3829|    481|            }
  |  | 3830|    481|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    481|    { \
  |  |  |  |  201|    481|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    481|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    481|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    481|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    481|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    481|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    481|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    481|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 481]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    481|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    481|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    481|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    481|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    481|    }
  |  |  ------------------
  |  | 3831|    481|        }
  |  | 3832|       |
  |  | 3833|  1.00k|        TARGET(CALL_LEN) {
  |  |  ------------------
  |  |  |  |  132|  1.00k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3834|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3835|       |            int opcode = CALL_LEN;
  |  | 3836|       |            (void)(opcode);
  |  | 3837|       |            #endif
  |  | 3838|  1.00k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 3839|  1.00k|            (void)this_instr;
  |  | 3840|  1.00k|            frame->instr_ptr = next_instr;
  |  | 3841|  1.00k|            next_instr += 4;
  |  | 3842|  1.00k|            INSTRUCTION_STATS(CALL_LEN);
  |  |  ------------------
  |  |  |  |   71|  1.00k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3843|  1.00k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 3844|  1.00k|            _PyStackRef null;
  |  | 3845|  1.00k|            _PyStackRef callable;
  |  | 3846|  1.00k|            _PyStackRef arg;
  |  | 3847|  1.00k|            _PyStackRef res;
  |  | 3848|  1.00k|            _PyStackRef a;
  |  | 3849|  1.00k|            _PyStackRef c;
  |  | 3850|  1.00k|            _PyStackRef value;
  |  | 3851|       |            /* Skip 1 cache entry */
  |  | 3852|       |            /* Skip 2 cache entries */
  |  | 3853|       |            // _GUARD_NOS_NULL
  |  | 3854|  1.00k|            {
  |  | 3855|  1.00k|                null = stack_pointer[-2];
  |  | 3856|  1.00k|                if (!PyStackRef_IsNull(null)) {
  |  |  ------------------
  |  |  |  |  482|  1.00k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  1.00k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  1.00k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3856:21): [True: 0, False: 1.00k]
  |  |  ------------------
  |  | 3857|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3858|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (3858:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3859|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3860|      0|                }
  |  | 3861|  1.00k|            }
  |  | 3862|       |            // _GUARD_CALLABLE_LEN
  |  | 3863|  1.00k|            {
  |  | 3864|  1.00k|                callable = stack_pointer[-3];
  |  | 3865|  1.00k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3866|  1.00k|                PyInterpreterState *interp = tstate->interp;
  |  | 3867|  1.00k|                if (callable_o != interp->callable_cache.len) {
  |  |  ------------------
  |  |  |  Branch (3867:21): [True: 0, False: 1.00k]
  |  |  ------------------
  |  | 3868|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3869|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (3869:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3870|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3871|      0|                }
  |  | 3872|  1.00k|            }
  |  | 3873|       |            // _CALL_LEN
  |  | 3874|  1.00k|            {
  |  | 3875|  1.00k|                arg = stack_pointer[-1];
  |  | 3876|  1.00k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  1.00k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 3877|  1.00k|                PyObject *arg_o = PyStackRef_AsPyObjectBorrow(arg);
  |  | 3878|  1.00k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3879|  1.00k|                _PyFrame_StackPointerValidate(frame);
  |  | 3880|  1.00k|                Py_ssize_t len_i = PyObject_Length(arg_o);
  |  |  ------------------
  |  |  |  |  353|  1.00k|#define PyObject_Length PyObject_Size
  |  |  ------------------
  |  | 3881|  1.00k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3882|  1.00k|                if (len_i < 0) {
  |  |  ------------------
  |  |  |  Branch (3882:21): [True: 0, False: 1.00k]
  |  |  ------------------
  |  | 3883|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3884|      0|                }
  |  | 3885|  1.00k|                PyObject *res_o = PyLong_FromSsize_t(len_i);
  |  | 3886|  1.00k|                assert((res_o != NULL) ^ (_PyErr_Occurred(tstate) != NULL));
  |  |  ------------------
  |  |  |  Branch (3886:17): [True: 1.00k, False: 0]
  |  |  ------------------
  |  | 3887|  1.00k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (3887:21): [True: 0, False: 1.00k]
  |  |  ------------------
  |  | 3888|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3889|      0|                }
  |  | 3890|  1.00k|                a = arg;
  |  | 3891|  1.00k|                c = callable;
  |  | 3892|  1.00k|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 3893|  1.00k|            }
  |  | 3894|       |            // _POP_TOP
  |  | 3895|      0|            {
  |  | 3896|  1.00k|                value = c;
  |  | 3897|  1.00k|                stack_pointer[-3] = res;
  |  | 3898|  1.00k|                stack_pointer[-2] = a;
  |  | 3899|  1.00k|                stack_pointer += -1;
  |  | 3900|  1.00k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.00k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3901|  1.00k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3902|  1.00k|                _PyFrame_StackPointerValidate(frame);
  |  | 3903|  1.00k|                PyStackRef_XCLOSE(value);
  |  | 3904|  1.00k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3905|  1.00k|            }
  |  | 3906|       |            // _POP_TOP
  |  | 3907|  1.00k|            {
  |  | 3908|  1.00k|                value = a;
  |  | 3909|  1.00k|                stack_pointer += -1;
  |  | 3910|  1.00k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.00k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3911|  1.00k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3912|  1.00k|                _PyFrame_StackPointerValidate(frame);
  |  | 3913|  1.00k|                PyStackRef_XCLOSE(value);
  |  | 3914|  1.00k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3915|  1.00k|            }
  |  | 3916|  1.00k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.00k|    { \
  |  |  |  |  201|  1.00k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.00k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.00k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.00k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.00k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.00k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.00k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.00k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.00k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.00k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.00k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.00k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.00k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.00k|    }
  |  |  ------------------
  |  | 3917|  1.00k|        }
  |  | 3918|       |
  |  | 3919|    248|        TARGET(CALL_LIST_APPEND) {
  |  |  ------------------
  |  |  |  |  132|    248|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3920|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3921|       |            int opcode = CALL_LIST_APPEND;
  |  | 3922|       |            (void)(opcode);
  |  | 3923|       |            #endif
  |  | 3924|    248|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 3925|    248|            (void)this_instr;
  |  | 3926|    248|            frame->instr_ptr = next_instr;
  |  | 3927|    248|            next_instr += 4;
  |  | 3928|    248|            INSTRUCTION_STATS(CALL_LIST_APPEND);
  |  |  ------------------
  |  |  |  |   71|    248|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3929|    248|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 3930|    248|            _PyStackRef callable;
  |  | 3931|    248|            _PyStackRef nos;
  |  | 3932|    248|            _PyStackRef self;
  |  | 3933|    248|            _PyStackRef arg;
  |  | 3934|    248|            _PyStackRef none;
  |  | 3935|    248|            _PyStackRef c;
  |  | 3936|    248|            _PyStackRef s;
  |  | 3937|    248|            _PyStackRef value;
  |  | 3938|       |            /* Skip 1 cache entry */
  |  | 3939|       |            /* Skip 2 cache entries */
  |  | 3940|       |            // _GUARD_CALLABLE_LIST_APPEND
  |  | 3941|    248|            {
  |  | 3942|    248|                callable = stack_pointer[-3];
  |  | 3943|    248|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3944|    248|                PyInterpreterState *interp = tstate->interp;
  |  | 3945|    248|                if (callable_o != interp->callable_cache.list_append) {
  |  |  ------------------
  |  |  |  Branch (3945:21): [True: 0, False: 248]
  |  |  ------------------
  |  | 3946|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3947|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (3947:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3948|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3949|      0|                }
  |  | 3950|    248|            }
  |  | 3951|       |            // _GUARD_NOS_NOT_NULL
  |  | 3952|    248|            {
  |  | 3953|    248|                nos = stack_pointer[-2];
  |  | 3954|    248|                if (PyStackRef_IsNull(nos)) {
  |  |  ------------------
  |  |  |  |  482|    248|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    248|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    248|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 248]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3955|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3956|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (3956:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3957|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3958|      0|                }
  |  | 3959|    248|            }
  |  | 3960|       |            // _GUARD_NOS_LIST
  |  | 3961|    248|            {
  |  | 3962|    248|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  | 3963|    248|                if (!PyList_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   26|    248|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    248|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    248|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    248|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3963:21): [True: 0, False: 248]
  |  |  ------------------
  |  | 3964|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3965|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (3965:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3966|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3967|      0|                }
  |  | 3968|    248|            }
  |  | 3969|       |            // _CALL_LIST_APPEND
  |  | 3970|    248|            {
  |  | 3971|    248|                arg = stack_pointer[-1];
  |  | 3972|    248|                self = nos;
  |  | 3973|    248|                assert(oparg == 1);
  |  |  ------------------
  |  |  |  Branch (3973:17): [True: 248, False: 0]
  |  |  ------------------
  |  | 3974|    248|                PyObject *self_o = PyStackRef_AsPyObjectBorrow(self);
  |  | 3975|    248|                if (!LOCK_OBJECT(self_o)) {
  |  |  ------------------
  |  |  |  |  322|    248|#  define LOCK_OBJECT(op) (1)
  |  |  ------------------
  |  |  |  Branch (3975:21): [Folded, False: 248]
  |  |  ------------------
  |  | 3976|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3977|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (3977:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3978|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3979|      0|                }
  |  | 3980|    248|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|    248|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 3981|    248|                int err = _PyList_AppendTakeRef((PyListObject *)self_o, PyStackRef_AsPyObjectSteal(arg));
  |  | 3982|    248|                UNLOCK_OBJECT(self_o);
  |  |  ------------------
  |  |  |  |  323|    248|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  | 3983|    248|                if (err) {
  |  |  ------------------
  |  |  |  Branch (3983:21): [True: 0, False: 248]
  |  |  ------------------
  |  | 3984|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3985|      0|                }
  |  | 3986|    248|                c = callable;
  |  | 3987|    248|                s = self;
  |  | 3988|    248|                none = PyStackRef_None;
  |  |  ------------------
  |  |  |  |  485|    248|#define PyStackRef_None ((_PyStackRef){.bits = ((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    248|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3989|    248|            }
  |  | 3990|       |            // _POP_TOP
  |  | 3991|      0|            {
  |  | 3992|    248|                value = s;
  |  | 3993|    248|                stack_pointer[-3] = none;
  |  | 3994|    248|                stack_pointer[-2] = c;
  |  | 3995|    248|                stack_pointer += -1;
  |  | 3996|    248|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    248|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3997|    248|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3998|    248|                _PyFrame_StackPointerValidate(frame);
  |  | 3999|    248|                PyStackRef_XCLOSE(value);
  |  | 4000|    248|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4001|    248|            }
  |  | 4002|       |            // _POP_TOP
  |  | 4003|    248|            {
  |  | 4004|    248|                value = c;
  |  | 4005|    248|                stack_pointer += -1;
  |  | 4006|    248|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    248|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4007|    248|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4008|    248|                _PyFrame_StackPointerValidate(frame);
  |  | 4009|    248|                PyStackRef_XCLOSE(value);
  |  | 4010|    248|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4011|    248|            }
  |  | 4012|    248|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    248|    { \
  |  |  |  |  201|    248|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    248|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    248|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    248|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    248|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    248|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    248|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    248|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 248]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    248|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    248|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    248|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    248|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    248|    }
  |  |  ------------------
  |  | 4013|    248|        }
  |  | 4014|       |
  |  | 4015|  2.08k|        TARGET(CALL_METHOD_DESCRIPTOR_FAST) {
  |  |  ------------------
  |  |  |  |  132|  2.08k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4016|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4017|       |            int opcode = CALL_METHOD_DESCRIPTOR_FAST;
  |  | 4018|       |            (void)(opcode);
  |  | 4019|       |            #endif
  |  | 4020|  2.08k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4021|  2.08k|            (void)this_instr;
  |  | 4022|  2.08k|            frame->instr_ptr = next_instr;
  |  | 4023|  2.08k|            next_instr += 4;
  |  | 4024|  2.08k|            INSTRUCTION_STATS(CALL_METHOD_DESCRIPTOR_FAST);
  |  |  ------------------
  |  |  |  |   71|  2.08k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4025|  2.08k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4026|  2.08k|            _PyStackRef callable;
  |  | 4027|  2.08k|            _PyStackRef self_or_null;
  |  | 4028|  2.08k|            _PyStackRef *args;
  |  | 4029|  2.08k|            _PyStackRef value;
  |  | 4030|       |            /* Skip 1 cache entry */
  |  | 4031|       |            /* Skip 2 cache entries */
  |  | 4032|       |            // _GUARD_CALLABLE_METHOD_DESCRIPTOR_FAST
  |  | 4033|  2.08k|            {
  |  | 4034|  2.08k|                args = &stack_pointer[-oparg];
  |  | 4035|  2.08k|                self_or_null = stack_pointer[-1 - oparg];
  |  | 4036|  2.08k|                callable = stack_pointer[-2 - oparg];
  |  | 4037|  2.08k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4038|  2.08k|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 4039|  2.08k|                if (!Py_IS_TYPE(method, &PyMethodDescr_Type)) {
  |  |  ------------------
  |  |  |  |   65|  2.08k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.08k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.08k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4039:21): [True: 0, False: 2.08k]
  |  |  ------------------
  |  | 4040|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4041|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4041:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4042|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4043|      0|                }
  |  | 4044|  2.08k|                if (method->d_method->ml_flags != METH_FASTCALL) {
  |  |  ------------------
  |  |  |  |  115|  2.08k|#  define METH_FASTCALL  0x0080
  |  |  ------------------
  |  |  |  Branch (4044:21): [True: 0, False: 2.08k]
  |  |  ------------------
  |  | 4045|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4046|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4046:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4047|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4048|      0|                }
  |  | 4049|  2.08k|                int total_args = oparg;
  |  | 4050|  2.08k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  2.08k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  2.08k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  2.08k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4050:21): [True: 2.08k, False: 0]
  |  |  ------------------
  |  | 4051|  2.08k|                    total_args++;
  |  | 4052|  2.08k|                }
  |  | 4053|  2.08k|                if (total_args == 0) {
  |  |  ------------------
  |  |  |  Branch (4053:21): [True: 0, False: 2.08k]
  |  |  ------------------
  |  | 4054|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4055|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4055:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4056|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4057|      0|                }
  |  | 4058|  2.08k|                PyObject *self = PyStackRef_AsPyObjectBorrow(
  |  | 4059|  2.08k|                    PyStackRef_IsNull(self_or_null) ? args[0] : self_or_null);
  |  |  ------------------
  |  |  |  |  482|  2.08k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  2.08k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  2.08k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 2.08k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4060|  2.08k|                if (!Py_IS_TYPE(self, method->d_common.d_type)) {
  |  |  ------------------
  |  |  |  |   65|  2.08k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.08k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.08k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4060:21): [True: 49, False: 2.04k]
  |  |  ------------------
  |  | 4061|     49|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|     49|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4062|     49|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4062:21): [True: 49, False: 0]
  |  |  ------------------
  |  | 4063|     49|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|     49|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4064|      0|                }
  |  | 4065|  2.08k|            }
  |  | 4066|       |            // _CALL_METHOD_DESCRIPTOR_FAST
  |  | 4067|  2.04k|            {
  |  | 4068|  2.04k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4069|  2.04k|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 4070|  2.04k|                int total_args = oparg;
  |  | 4071|  2.04k|                _PyStackRef *arguments = args;
  |  | 4072|  2.04k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  2.04k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  2.04k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  2.04k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4072:21): [True: 2.04k, False: 0]
  |  |  ------------------
  |  | 4073|  2.04k|                    arguments--;
  |  | 4074|  2.04k|                    total_args++;
  |  | 4075|  2.04k|                }
  |  | 4076|  2.04k|                PyObject *self = PyStackRef_AsPyObjectBorrow(arguments[0]);
  |  | 4077|  2.04k|                assert(self != NULL);
  |  |  ------------------
  |  |  |  Branch (4077:17): [True: 2.04k, False: 0]
  |  |  ------------------
  |  | 4078|  2.04k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  2.04k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 4079|  2.04k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4080|  2.04k|                _PyFrame_StackPointerValidate(frame);
  |  | 4081|  2.04k|                PyCFunctionFast cfunc = _PyCFunctionFast_CAST(method->d_method->ml_meth);
  |  |  ------------------
  |  |  |  |   58|  2.04k|    _Py_FUNC_CAST(PyCFunctionFast, func)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  2.04k|#define _Py_FUNC_CAST(T, func) _Py_CAST(T, _Py_CAST(void(*)(void), (func)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4082|  2.04k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4083|  2.04k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4083:17): [True: 2.04k, False: 0]
  |  |  ------------------
  |  | 4084|  2.04k|                _PyFrame_StackPointerValidate(frame);
  |  | 4085|  2.04k|                PyObject *res_o = _PyCallMethodDescriptorFast_StackRef(
  |  | 4086|  2.04k|                    callable,
  |  | 4087|  2.04k|                    cfunc,
  |  | 4088|  2.04k|                    self,
  |  | 4089|  2.04k|                    arguments,
  |  | 4090|  2.04k|                    total_args
  |  | 4091|  2.04k|                );
  |  | 4092|  2.04k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4093|  2.04k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (4093:21): [True: 0, False: 2.04k]
  |  |  ------------------
  |  | 4094|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4095|      0|                }
  |  | 4096|  2.04k|                _PyStackRef temp = callable;
  |  | 4097|  2.04k|                callable = PyStackRef_FromPyObjectSteal(res_o);
  |  | 4098|  2.04k|                stack_pointer[-2 - oparg] = callable;
  |  | 4099|  2.04k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4099:17): [True: 2.04k, False: 0]
  |  |  ------------------
  |  | 4100|  2.04k|                _PyFrame_StackPointerValidate(frame);
  |  | 4101|  2.04k|                PyStackRef_CLOSE(temp);
  |  | 4102|  2.04k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4103|  2.04k|            }
  |  | 4104|       |            // _POP_TOP_OPARG
  |  | 4105|      0|            {
  |  | 4106|  2.04k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4106:17): [True: 2.04k, False: 0]
  |  |  ------------------
  |  | 4107|  2.04k|                _PyFrame_StackPointerValidate(frame);
  |  | 4108|  2.04k|                _PyStackRef_CloseStack(args, oparg);
  |  | 4109|  2.04k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4110|  2.04k|            }
  |  | 4111|       |            // _POP_TOP
  |  | 4112|      0|            {
  |  | 4113|  2.04k|                value = self_or_null;
  |  | 4114|  2.04k|                stack_pointer += -1 - oparg;
  |  | 4115|  2.04k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.04k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4116|  2.04k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4117|  2.04k|                _PyFrame_StackPointerValidate(frame);
  |  | 4118|  2.04k|                PyStackRef_XCLOSE(value);
  |  | 4119|  2.04k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4120|  2.04k|            }
  |  | 4121|       |            // _CHECK_PERIODIC_AT_END
  |  | 4122|  2.04k|            {
  |  | 4123|  2.04k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4123:17): [True: 2.04k, False: 0]
  |  |  ------------------
  |  | 4124|  2.04k|                _PyFrame_StackPointerValidate(frame);
  |  | 4125|  2.04k|                int err = check_periodics_at_end(tstate, frame);
  |  | 4126|  2.04k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4127|  2.04k|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (4127:21): [True: 0, False: 2.04k]
  |  |  ------------------
  |  | 4128|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4129|      0|                }
  |  | 4130|  2.04k|            }
  |  | 4131|  2.04k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.04k|    { \
  |  |  |  |  201|  2.04k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.04k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.04k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.04k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  2.04k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.04k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.04k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.04k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.04k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.04k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.04k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.04k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.04k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.04k|    }
  |  |  ------------------
  |  | 4132|  2.04k|        }
  |  | 4133|       |
  |  | 4134|     39|        TARGET(CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS) {
  |  |  ------------------
  |  |  |  |  132|     39|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4135|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4136|       |            int opcode = CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS;
  |  | 4137|       |            (void)(opcode);
  |  | 4138|       |            #endif
  |  | 4139|     39|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4140|     39|            (void)this_instr;
  |  | 4141|     39|            frame->instr_ptr = next_instr;
  |  | 4142|     39|            next_instr += 4;
  |  | 4143|     39|            INSTRUCTION_STATS(CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS);
  |  |  ------------------
  |  |  |  |   71|     39|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4144|     39|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4145|     39|            _PyStackRef callable;
  |  | 4146|     39|            _PyStackRef self_or_null;
  |  | 4147|     39|            _PyStackRef *args;
  |  | 4148|     39|            _PyStackRef value;
  |  | 4149|       |            /* Skip 1 cache entry */
  |  | 4150|       |            /* Skip 2 cache entries */
  |  | 4151|       |            // _GUARD_CALLABLE_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS
  |  | 4152|     39|            {
  |  | 4153|     39|                args = &stack_pointer[-oparg];
  |  | 4154|     39|                self_or_null = stack_pointer[-1 - oparg];
  |  | 4155|     39|                callable = stack_pointer[-2 - oparg];
  |  | 4156|     39|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4157|     39|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 4158|     39|                if (!Py_IS_TYPE(method, &PyMethodDescr_Type)) {
  |  |  ------------------
  |  |  |  |   65|     39|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     39|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     39|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4158:21): [True: 0, False: 39]
  |  |  ------------------
  |  | 4159|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4160|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4160:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4161|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4162|      0|                }
  |  | 4163|     39|                if (method->d_method->ml_flags != (METH_FASTCALL|METH_KEYWORDS)) {
  |  |  ------------------
  |  |  |  |  115|     39|#  define METH_FASTCALL  0x0080
  |  |  ------------------
  |  |                               if (method->d_method->ml_flags != (METH_FASTCALL|METH_KEYWORDS)) {
  |  |  ------------------
  |  |  |  |   96|     39|#define METH_KEYWORDS 0x0002
  |  |  ------------------
  |  |  |  Branch (4163:21): [True: 0, False: 39]
  |  |  ------------------
  |  | 4164|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4165|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4165:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4166|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4167|      0|                }
  |  | 4168|     39|                int total_args = oparg;
  |  | 4169|     39|                _PyStackRef *arguments = args;
  |  | 4170|     39|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|     39|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|     39|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|     39|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4170:21): [True: 39, False: 0]
  |  |  ------------------
  |  | 4171|     39|                    arguments--;
  |  | 4172|     39|                    total_args++;
  |  | 4173|     39|                }
  |  | 4174|     39|                if (total_args == 0) {
  |  |  ------------------
  |  |  |  Branch (4174:21): [True: 0, False: 39]
  |  |  ------------------
  |  | 4175|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4176|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4176:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4177|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4178|      0|                }
  |  | 4179|     39|                PyObject *self = PyStackRef_AsPyObjectBorrow(arguments[0]);
  |  | 4180|     39|                if (!Py_IS_TYPE(self, method->d_common.d_type)) {
  |  |  ------------------
  |  |  |  |   65|     39|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     39|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     39|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4180:21): [True: 0, False: 39]
  |  |  ------------------
  |  | 4181|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4182|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4182:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4183|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4184|      0|                }
  |  | 4185|     39|            }
  |  | 4186|       |            // _CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS
  |  | 4187|     39|            {
  |  | 4188|     39|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4189|     39|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 4190|     39|                int total_args = oparg;
  |  | 4191|     39|                _PyStackRef *arguments = args;
  |  | 4192|     39|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|     39|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|     39|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|     39|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4192:21): [True: 39, False: 0]
  |  |  ------------------
  |  | 4193|     39|                    arguments--;
  |  | 4194|     39|                    total_args++;
  |  | 4195|     39|                }
  |  | 4196|     39|                PyObject *self = PyStackRef_AsPyObjectBorrow(arguments[0]);
  |  | 4197|     39|                assert(self != NULL);
  |  |  ------------------
  |  |  |  Branch (4197:17): [True: 39, False: 0]
  |  |  ------------------
  |  | 4198|     39|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|     39|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 4199|     39|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4200|     39|                _PyFrame_StackPointerValidate(frame);
  |  | 4201|     39|                PyCFunctionFastWithKeywords cfunc = _PyCFunctionFastWithKeywords_CAST(method->d_method->ml_meth);
  |  |  ------------------
  |  |  |  |   62|     39|    _Py_FUNC_CAST(PyCFunctionFastWithKeywords, func)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|     39|#define _Py_FUNC_CAST(T, func) _Py_CAST(T, _Py_CAST(void(*)(void), (func)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     39|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4202|     39|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4203|     39|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4203:17): [True: 39, False: 0]
  |  |  ------------------
  |  | 4204|     39|                _PyFrame_StackPointerValidate(frame);
  |  | 4205|     39|                PyObject *res_o = _PyCallMethodDescriptorFastWithKeywords_StackRef(
  |  | 4206|     39|                    callable,
  |  | 4207|     39|                    cfunc,
  |  | 4208|     39|                    self,
  |  | 4209|     39|                    arguments,
  |  | 4210|     39|                    total_args
  |  | 4211|     39|                );
  |  | 4212|     39|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4213|     39|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (4213:21): [True: 0, False: 39]
  |  |  ------------------
  |  | 4214|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4215|      0|                }
  |  | 4216|     39|                _PyStackRef temp = callable;
  |  | 4217|     39|                callable = PyStackRef_FromPyObjectSteal(res_o);
  |  | 4218|     39|                stack_pointer[-2 - oparg] = callable;
  |  | 4219|     39|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4219:17): [True: 39, False: 0]
  |  |  ------------------
  |  | 4220|     39|                _PyFrame_StackPointerValidate(frame);
  |  | 4221|     39|                PyStackRef_CLOSE(temp);
  |  | 4222|     39|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4223|     39|            }
  |  | 4224|       |            // _POP_TOP_OPARG
  |  | 4225|      0|            {
  |  | 4226|     39|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4226:17): [True: 39, False: 0]
  |  |  ------------------
  |  | 4227|     39|                _PyFrame_StackPointerValidate(frame);
  |  | 4228|     39|                _PyStackRef_CloseStack(args, oparg);
  |  | 4229|     39|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4230|     39|            }
  |  | 4231|       |            // _POP_TOP
  |  | 4232|      0|            {
  |  | 4233|     39|                value = self_or_null;
  |  | 4234|     39|                stack_pointer += -1 - oparg;
  |  | 4235|     39|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     39|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4236|     39|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4237|     39|                _PyFrame_StackPointerValidate(frame);
  |  | 4238|     39|                PyStackRef_XCLOSE(value);
  |  | 4239|     39|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4240|     39|            }
  |  | 4241|       |            // _CHECK_PERIODIC_AT_END
  |  | 4242|     39|            {
  |  | 4243|     39|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4243:17): [True: 39, False: 0]
  |  |  ------------------
  |  | 4244|     39|                _PyFrame_StackPointerValidate(frame);
  |  | 4245|     39|                int err = check_periodics_at_end(tstate, frame);
  |  | 4246|     39|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4247|     39|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (4247:21): [True: 0, False: 39]
  |  |  ------------------
  |  | 4248|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4249|      0|                }
  |  | 4250|     39|            }
  |  | 4251|     39|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     39|    { \
  |  |  |  |  201|     39|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     39|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     39|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     39|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     39|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     39|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     39|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     39|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 39]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     39|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     39|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     39|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     39|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     39|    }
  |  |  ------------------
  |  | 4252|     39|        }
  |  | 4253|       |
  |  | 4254|    334|        TARGET(CALL_METHOD_DESCRIPTOR_NOARGS) {
  |  |  ------------------
  |  |  |  |  132|    334|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4255|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4256|       |            int opcode = CALL_METHOD_DESCRIPTOR_NOARGS;
  |  | 4257|       |            (void)(opcode);
  |  | 4258|       |            #endif
  |  | 4259|    334|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4260|    334|            (void)this_instr;
  |  | 4261|    334|            frame->instr_ptr = next_instr;
  |  | 4262|    334|            next_instr += 4;
  |  | 4263|    334|            INSTRUCTION_STATS(CALL_METHOD_DESCRIPTOR_NOARGS);
  |  |  ------------------
  |  |  |  |   71|    334|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4264|    334|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4265|    334|            _PyStackRef callable;
  |  | 4266|    334|            _PyStackRef self_or_null;
  |  | 4267|    334|            _PyStackRef *args;
  |  | 4268|    334|            _PyStackRef res;
  |  | 4269|    334|            _PyStackRef c;
  |  | 4270|    334|            _PyStackRef s;
  |  | 4271|    334|            _PyStackRef value;
  |  | 4272|       |            /* Skip 1 cache entry */
  |  | 4273|       |            /* Skip 2 cache entries */
  |  | 4274|       |            // _GUARD_CALLABLE_METHOD_DESCRIPTOR_NOARGS
  |  | 4275|    334|            {
  |  | 4276|    334|                args = &stack_pointer[-oparg];
  |  | 4277|    334|                self_or_null = stack_pointer[-1 - oparg];
  |  | 4278|    334|                callable = stack_pointer[-2 - oparg];
  |  | 4279|    334|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4280|    334|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 4281|    334|                if (!Py_IS_TYPE(method, &PyMethodDescr_Type)) {
  |  |  ------------------
  |  |  |  |   65|    334|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    334|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    334|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4281:21): [True: 0, False: 334]
  |  |  ------------------
  |  | 4282|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4283|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4283:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4284|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4285|      0|                }
  |  | 4286|    334|                if (method->d_method->ml_flags != METH_NOARGS) {
  |  |  ------------------
  |  |  |  |   98|    334|#define METH_NOARGS   0x0004
  |  |  ------------------
  |  |  |  Branch (4286:21): [True: 0, False: 334]
  |  |  ------------------
  |  | 4287|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4288|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4288:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4289|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4290|      0|                }
  |  | 4291|    334|                int total_args = oparg;
  |  | 4292|    334|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|    334|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    334|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    334|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4292:21): [True: 334, False: 0]
  |  |  ------------------
  |  | 4293|    334|                    total_args++;
  |  | 4294|    334|                }
  |  | 4295|    334|                if (total_args != 1) {
  |  |  ------------------
  |  |  |  Branch (4295:21): [True: 0, False: 334]
  |  |  ------------------
  |  | 4296|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4297|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4297:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4298|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4299|      0|                }
  |  | 4300|    334|                PyObject *self = PyStackRef_AsPyObjectBorrow(
  |  | 4301|    334|                    PyStackRef_IsNull(self_or_null) ? args[0] : self_or_null);
  |  |  ------------------
  |  |  |  |  482|    334|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    334|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    334|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 334]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4302|    334|                if (!Py_IS_TYPE(self, method->d_common.d_type)) {
  |  |  ------------------
  |  |  |  |   65|    334|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    334|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    334|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4302:21): [True: 31, False: 303]
  |  |  ------------------
  |  | 4303|     31|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|     31|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4304|     31|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4304:21): [True: 31, False: 0]
  |  |  ------------------
  |  | 4305|     31|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|     31|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4306|      0|                }
  |  | 4307|    334|            }
  |  | 4308|       |            // _CHECK_RECURSION_LIMIT
  |  | 4309|    303|            {
  |  | 4310|    303|                if (_Py_ReachedRecursionLimit(tstate)) {
  |  |  ------------------
  |  |  |  Branch (4310:21): [True: 0, False: 303]
  |  |  ------------------
  |  | 4311|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4312|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4312:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4313|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4314|      0|                }
  |  | 4315|    303|            }
  |  | 4316|       |            // _CALL_METHOD_DESCRIPTOR_NOARGS
  |  | 4317|    303|            {
  |  | 4318|    303|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4319|    303|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 4320|    303|                assert(oparg == 1 || !PyStackRef_IsNull(self_or_null));
  |  |  ------------------
  |  |  |  Branch (4320:17): [True: 0, False: 303]
  |  |  |  Branch (4320:17): [True: 303, False: 0]
  |  |  ------------------
  |  | 4321|    303|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|    303|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    303|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    303|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4321:21): [True: 303, False: 0]
  |  |  ------------------
  |  | 4322|    303|                    args--;
  |  | 4323|    303|                }
  |  | 4324|    303|                _PyStackRef self_stackref = args[0];
  |  | 4325|    303|                PyObject *self = PyStackRef_AsPyObjectBorrow(self_stackref);
  |  | 4326|    303|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|    303|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 4327|    303|                PyCFunction cfunc = method->d_method->ml_meth;
  |  | 4328|    303|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4329|    303|                _PyFrame_StackPointerValidate(frame);
  |  | 4330|    303|                PyObject *res_o = _PyCFunction_TrampolineCall(cfunc, self, NULL);
  |  |  ------------------
  |  |  |  |  996|    303|    (meth)((self), (args))
  |  |  ------------------
  |  | 4331|    303|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4332|    303|                _Py_LeaveRecursiveCallTstate(tstate);
  |  | 4333|    303|                assert((res_o != NULL) ^ (_PyErr_Occurred(tstate) != NULL));
  |  |  ------------------
  |  |  |  Branch (4333:17): [True: 303, False: 0]
  |  |  ------------------
  |  | 4334|    303|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (4334:21): [True: 0, False: 303]
  |  |  ------------------
  |  | 4335|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4336|      0|                }
  |  | 4337|    303|                c = callable;
  |  | 4338|    303|                s = args[0];
  |  | 4339|    303|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 4340|    303|            }
  |  | 4341|       |            // _POP_TOP
  |  | 4342|      0|            {
  |  | 4343|    303|                value = s;
  |  | 4344|    303|                stack_pointer[-2 - oparg] = res;
  |  | 4345|    303|                stack_pointer[-1 - oparg] = c;
  |  | 4346|    303|                stack_pointer += -oparg;
  |  | 4347|    303|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    303|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4348|    303|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4349|    303|                _PyFrame_StackPointerValidate(frame);
  |  | 4350|    303|                PyStackRef_XCLOSE(value);
  |  | 4351|    303|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4352|    303|            }
  |  | 4353|       |            // _POP_TOP
  |  | 4354|    303|            {
  |  | 4355|    303|                value = c;
  |  | 4356|    303|                stack_pointer += -1;
  |  | 4357|    303|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    303|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4358|    303|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4359|    303|                _PyFrame_StackPointerValidate(frame);
  |  | 4360|    303|                PyStackRef_XCLOSE(value);
  |  | 4361|    303|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4362|    303|            }
  |  | 4363|       |            // _CHECK_PERIODIC_AT_END
  |  | 4364|    303|            {
  |  | 4365|    303|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4365:17): [True: 303, False: 0]
  |  |  ------------------
  |  | 4366|    303|                _PyFrame_StackPointerValidate(frame);
  |  | 4367|    303|                int err = check_periodics_at_end(tstate, frame);
  |  | 4368|    303|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4369|    303|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (4369:21): [True: 0, False: 303]
  |  |  ------------------
  |  | 4370|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4371|      0|                }
  |  | 4372|    303|            }
  |  | 4373|    303|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    303|    { \
  |  |  |  |  201|    303|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    303|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    303|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    303|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    303|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    303|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    303|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    303|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 303]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    303|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    303|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    303|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    303|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    303|    }
  |  |  ------------------
  |  | 4374|    303|        }
  |  | 4375|       |
  |  | 4376|  1.42k|        TARGET(CALL_METHOD_DESCRIPTOR_O) {
  |  |  ------------------
  |  |  |  |  132|  1.42k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4377|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4378|       |            int opcode = CALL_METHOD_DESCRIPTOR_O;
  |  | 4379|       |            (void)(opcode);
  |  | 4380|       |            #endif
  |  | 4381|  1.42k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4382|  1.42k|            (void)this_instr;
  |  | 4383|  1.42k|            frame->instr_ptr = next_instr;
  |  | 4384|  1.42k|            next_instr += 4;
  |  | 4385|  1.42k|            INSTRUCTION_STATS(CALL_METHOD_DESCRIPTOR_O);
  |  |  ------------------
  |  |  |  |   71|  1.42k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4386|  1.42k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4387|  1.42k|            _PyStackRef callable;
  |  | 4388|  1.42k|            _PyStackRef self_or_null;
  |  | 4389|  1.42k|            _PyStackRef *args;
  |  | 4390|  1.42k|            _PyStackRef res;
  |  | 4391|  1.42k|            _PyStackRef c;
  |  | 4392|  1.42k|            _PyStackRef s;
  |  | 4393|  1.42k|            _PyStackRef a;
  |  | 4394|  1.42k|            _PyStackRef value;
  |  | 4395|       |            /* Skip 1 cache entry */
  |  | 4396|       |            /* Skip 2 cache entries */
  |  | 4397|       |            // _GUARD_CALLABLE_METHOD_DESCRIPTOR_O
  |  | 4398|  1.42k|            {
  |  | 4399|  1.42k|                args = &stack_pointer[-oparg];
  |  | 4400|  1.42k|                self_or_null = stack_pointer[-1 - oparg];
  |  | 4401|  1.42k|                callable = stack_pointer[-2 - oparg];
  |  | 4402|  1.42k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4403|  1.42k|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 4404|  1.42k|                if (!Py_IS_TYPE(method, &PyMethodDescr_Type)) {
  |  |  ------------------
  |  |  |  |   65|  1.42k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.42k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.42k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4404:21): [True: 0, False: 1.42k]
  |  |  ------------------
  |  | 4405|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4406|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4406:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4407|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4408|      0|                }
  |  | 4409|  1.42k|                if (method->d_method->ml_flags != METH_O) {
  |  |  ------------------
  |  |  |  |   99|  1.42k|#define METH_O        0x0008
  |  |  ------------------
  |  |  |  Branch (4409:21): [True: 0, False: 1.42k]
  |  |  ------------------
  |  | 4410|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4411|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4411:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4412|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4413|      0|                }
  |  | 4414|  1.42k|                int total_args = oparg;
  |  | 4415|  1.42k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  1.42k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  1.42k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  1.42k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4415:21): [True: 1.42k, False: 0]
  |  |  ------------------
  |  | 4416|  1.42k|                    total_args++;
  |  | 4417|  1.42k|                }
  |  | 4418|  1.42k|                if (total_args != 2) {
  |  |  ------------------
  |  |  |  Branch (4418:21): [True: 0, False: 1.42k]
  |  |  ------------------
  |  | 4419|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4420|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4420:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4421|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4422|      0|                }
  |  | 4423|  1.42k|                PyObject *self = PyStackRef_AsPyObjectBorrow(
  |  | 4424|  1.42k|                    PyStackRef_IsNull(self_or_null) ? args[0] : self_or_null);
  |  |  ------------------
  |  |  |  |  482|  1.42k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  1.42k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  1.42k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 1.42k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4425|  1.42k|                if (!Py_IS_TYPE(self, method->d_common.d_type)) {
  |  |  ------------------
  |  |  |  |   65|  1.42k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.42k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.42k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4425:21): [True: 222, False: 1.20k]
  |  |  ------------------
  |  | 4426|    222|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|    222|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4427|    222|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4427:21): [True: 222, False: 0]
  |  |  ------------------
  |  | 4428|    222|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|    222|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4429|      0|                }
  |  | 4430|  1.42k|            }
  |  | 4431|       |            // _CHECK_RECURSION_LIMIT
  |  | 4432|  1.20k|            {
  |  | 4433|  1.20k|                if (_Py_ReachedRecursionLimit(tstate)) {
  |  |  ------------------
  |  |  |  Branch (4433:21): [True: 0, False: 1.20k]
  |  |  ------------------
  |  | 4434|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4435|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4435:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4436|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4437|      0|                }
  |  | 4438|  1.20k|            }
  |  | 4439|       |            // _CALL_METHOD_DESCRIPTOR_O
  |  | 4440|  1.20k|            {
  |  | 4441|  1.20k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4442|  1.20k|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 4443|  1.20k|                _PyStackRef *arguments = args;
  |  | 4444|  1.20k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  1.20k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  1.20k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  1.20k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4444:21): [True: 1.20k, False: 0]
  |  |  ------------------
  |  | 4445|  1.20k|                    arguments--;
  |  | 4446|  1.20k|                }
  |  | 4447|  1.20k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  1.20k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 4448|  1.20k|                PyCFunction cfunc = method->d_method->ml_meth;
  |  | 4449|  1.20k|                PyObject *self = PyStackRef_AsPyObjectBorrow(arguments[0]);
  |  | 4450|  1.20k|                PyObject *arg = PyStackRef_AsPyObjectBorrow(arguments[1]);
  |  | 4451|  1.20k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4452|  1.20k|                _PyFrame_StackPointerValidate(frame);
  |  | 4453|  1.20k|                PyObject *res_o = _PyCFunction_TrampolineCall(cfunc, self, arg);
  |  |  ------------------
  |  |  |  |  996|  1.20k|    (meth)((self), (args))
  |  |  ------------------
  |  | 4454|  1.20k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4455|  1.20k|                _Py_LeaveRecursiveCallTstate(tstate);
  |  | 4456|  1.20k|                assert((res_o != NULL) ^ (_PyErr_Occurred(tstate) != NULL));
  |  |  ------------------
  |  |  |  Branch (4456:17): [True: 1.20k, False: 0]
  |  |  ------------------
  |  | 4457|  1.20k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (4457:21): [True: 0, False: 1.20k]
  |  |  ------------------
  |  | 4458|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4459|      0|                }
  |  | 4460|  1.20k|                c = callable;
  |  | 4461|  1.20k|                s = arguments[0];
  |  | 4462|  1.20k|                a = arguments[1];
  |  | 4463|  1.20k|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 4464|  1.20k|            }
  |  | 4465|       |            // _POP_TOP
  |  | 4466|      0|            {
  |  | 4467|  1.20k|                value = a;
  |  | 4468|  1.20k|                stack_pointer[-2 - oparg] = res;
  |  | 4469|  1.20k|                stack_pointer[-1 - oparg] = c;
  |  | 4470|  1.20k|                stack_pointer[-oparg] = s;
  |  | 4471|  1.20k|                stack_pointer += 1 - oparg;
  |  | 4472|  1.20k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.20k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4473|  1.20k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4474|  1.20k|                _PyFrame_StackPointerValidate(frame);
  |  | 4475|  1.20k|                PyStackRef_XCLOSE(value);
  |  | 4476|  1.20k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4477|  1.20k|            }
  |  | 4478|       |            // _POP_TOP
  |  | 4479|  1.20k|            {
  |  | 4480|  1.20k|                value = s;
  |  | 4481|  1.20k|                stack_pointer += -1;
  |  | 4482|  1.20k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.20k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4483|  1.20k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4484|  1.20k|                _PyFrame_StackPointerValidate(frame);
  |  | 4485|  1.20k|                PyStackRef_XCLOSE(value);
  |  | 4486|  1.20k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4487|  1.20k|            }
  |  | 4488|       |            // _POP_TOP
  |  | 4489|  1.20k|            {
  |  | 4490|  1.20k|                value = c;
  |  | 4491|  1.20k|                stack_pointer += -1;
  |  | 4492|  1.20k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.20k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4493|  1.20k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4494|  1.20k|                _PyFrame_StackPointerValidate(frame);
  |  | 4495|  1.20k|                PyStackRef_XCLOSE(value);
  |  | 4496|  1.20k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4497|  1.20k|            }
  |  | 4498|       |            // _CHECK_PERIODIC_AT_END
  |  | 4499|  1.20k|            {
  |  | 4500|  1.20k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4500:17): [True: 1.20k, False: 0]
  |  |  ------------------
  |  | 4501|  1.20k|                _PyFrame_StackPointerValidate(frame);
  |  | 4502|  1.20k|                int err = check_periodics_at_end(tstate, frame);
  |  | 4503|  1.20k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4504|  1.20k|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (4504:21): [True: 0, False: 1.20k]
  |  |  ------------------
  |  | 4505|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4506|      0|                }
  |  | 4507|  1.20k|            }
  |  | 4508|  1.20k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.20k|    { \
  |  |  |  |  201|  1.20k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.20k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.20k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.20k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.20k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.20k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.20k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.20k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.20k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.20k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.20k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.20k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.20k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.20k|    }
  |  |  ------------------
  |  | 4509|  1.20k|        }
  |  | 4510|       |
  |  | 4511|  2.32k|        TARGET(CALL_NON_PY_GENERAL) {
  |  |  ------------------
  |  |  |  |  132|  2.32k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4512|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4513|       |            int opcode = CALL_NON_PY_GENERAL;
  |  | 4514|       |            (void)(opcode);
  |  | 4515|       |            #endif
  |  | 4516|  2.32k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4517|  2.32k|            (void)this_instr;
  |  | 4518|  2.32k|            frame->instr_ptr = next_instr;
  |  | 4519|  2.32k|            next_instr += 4;
  |  | 4520|  2.32k|            INSTRUCTION_STATS(CALL_NON_PY_GENERAL);
  |  |  ------------------
  |  |  |  |   71|  2.32k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4521|  2.32k|            opcode = CALL_NON_PY_GENERAL;
  |  |  ------------------
  |  |  |  |  165|  2.32k|#define CALL_NON_PY_GENERAL                    163
  |  |  ------------------
  |  | 4522|  2.32k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4523|  2.32k|            _PyStackRef callable;
  |  | 4524|  2.32k|            _PyStackRef self_or_null;
  |  | 4525|  2.32k|            _PyStackRef *args;
  |  | 4526|  2.32k|            _PyStackRef res;
  |  | 4527|       |            /* Skip 1 cache entry */
  |  | 4528|       |            /* Skip 2 cache entries */
  |  | 4529|       |            // _CHECK_IS_NOT_PY_CALLABLE
  |  | 4530|  2.32k|            {
  |  | 4531|  2.32k|                callable = stack_pointer[-2 - oparg];
  |  | 4532|  2.32k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4533|  2.32k|                if (PyFunction_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |   68|  2.32k|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  2.32k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  2.32k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  2.32k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 0, False: 2.32k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4534|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4535|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4535:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4536|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4537|      0|                }
  |  | 4538|  2.32k|                if (Py_TYPE(callable_o) == &PyMethod_Type) {
  |  |  ------------------
  |  |  |  |  213|  2.32k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.32k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.32k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4538:21): [True: 0, False: 2.32k]
  |  |  ------------------
  |  | 4539|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4540|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4540:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4541|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4542|      0|                }
  |  | 4543|  2.32k|            }
  |  | 4544|       |            // _CALL_NON_PY_GENERAL
  |  | 4545|  2.32k|            {
  |  | 4546|  2.32k|                args = &stack_pointer[-oparg];
  |  | 4547|  2.32k|                self_or_null = stack_pointer[-1 - oparg];
  |  | 4548|  2.32k|                #if TIER_ONE
  |  | 4549|  2.32k|                assert(opcode != INSTRUMENTED_CALL);
  |  |  ------------------
  |  |  |  Branch (4549:17): [True: 2.32k, False: 0]
  |  |  ------------------
  |  | 4550|  2.32k|                #endif
  |  | 4551|  2.32k|                int total_args = oparg;
  |  | 4552|  2.32k|                _PyStackRef *arguments = args;
  |  | 4553|  2.32k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  2.32k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  2.32k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  2.32k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4553:21): [True: 234, False: 2.08k]
  |  |  ------------------
  |  | 4554|    234|                    arguments--;
  |  | 4555|    234|                    total_args++;
  |  | 4556|    234|                }
  |  | 4557|  2.32k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4558|  2.32k|                _PyFrame_StackPointerValidate(frame);
  |  | 4559|  2.32k|                PyObject *res_o = _Py_VectorCall_StackRefSteal(
  |  | 4560|  2.32k|                    callable,
  |  | 4561|  2.32k|                    arguments,
  |  | 4562|  2.32k|                    total_args,
  |  | 4563|  2.32k|                    PyStackRef_NULL);
  |  | 4564|  2.32k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4565|  2.32k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (4565:21): [True: 2, False: 2.32k]
  |  |  ------------------
  |  | 4566|      2|                    stack_pointer += -2 - oparg;
  |  | 4567|      2|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      2|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4568|      2|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      2|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4569|      0|                }
  |  | 4570|  2.32k|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 4571|  2.32k|            }
  |  | 4572|       |            // _CHECK_PERIODIC_AT_END
  |  | 4573|      0|            {
  |  | 4574|  2.32k|                stack_pointer[-2 - oparg] = res;
  |  | 4575|  2.32k|                stack_pointer += -1 - oparg;
  |  | 4576|  2.32k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.32k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4577|  2.32k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4578|  2.32k|                _PyFrame_StackPointerValidate(frame);
  |  | 4579|  2.32k|                int err = check_periodics_at_end(tstate, frame);
  |  | 4580|  2.32k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4581|  2.32k|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (4581:21): [True: 0, False: 2.32k]
  |  |  ------------------
  |  | 4582|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4583|      0|                }
  |  | 4584|  2.32k|            }
  |  | 4585|  2.32k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.32k|    { \
  |  |  |  |  201|  2.32k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.32k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.32k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.32k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  2.32k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.32k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.32k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.32k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.32k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.32k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.32k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.32k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.32k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.32k|    }
  |  |  ------------------
  |  | 4586|  2.32k|        }
  |  | 4587|       |
  |  | 4588|  2.94k|        TARGET(CALL_PY_EXACT_ARGS) {
  |  |  ------------------
  |  |  |  |  132|  2.94k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4589|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4590|       |            int opcode = CALL_PY_EXACT_ARGS;
  |  | 4591|       |            (void)(opcode);
  |  | 4592|       |            #endif
  |  | 4593|  2.94k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4594|  2.94k|            (void)this_instr;
  |  | 4595|  2.94k|            frame->instr_ptr = next_instr;
  |  | 4596|  2.94k|            next_instr += 4;
  |  | 4597|  2.94k|            INSTRUCTION_STATS(CALL_PY_EXACT_ARGS);
  |  |  ------------------
  |  |  |  |   71|  2.94k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4598|  2.94k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4599|  2.94k|            _PyStackRef callable;
  |  | 4600|  2.94k|            _PyStackRef self_or_null;
  |  | 4601|  2.94k|            _PyStackRef *args;
  |  | 4602|  2.94k|            _PyStackRef new_frame;
  |  | 4603|       |            /* Skip 1 cache entry */
  |  | 4604|       |            // _CHECK_PEP_523
  |  | 4605|  2.94k|            {
  |  | 4606|  2.94k|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  539|  2.94k|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (539:34): [True: 0, False: 2.94k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4607|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4608|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4608:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4609|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4610|      0|                }
  |  | 4611|  2.94k|            }
  |  | 4612|       |            // _CHECK_FUNCTION_VERSION
  |  | 4613|  2.94k|            {
  |  | 4614|  2.94k|                callable = stack_pointer[-2 - oparg];
  |  | 4615|  2.94k|                uint32_t func_version = read_u32(&this_instr[2].cache);
  |  | 4616|  2.94k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4617|  2.94k|                if (!PyFunction_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |   68|  2.94k|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  2.94k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  2.94k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  2.94k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4617:21): [True: 50, False: 2.89k]
  |  |  ------------------
  |  | 4618|     50|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|     50|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4619|     50|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4619:21): [True: 50, False: 0]
  |  |  ------------------
  |  | 4620|     50|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|     50|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4621|      0|                }
  |  | 4622|  2.89k|                PyFunctionObject *func = (PyFunctionObject *)callable_o;
  |  | 4623|  2.89k|                if (func->func_version != func_version) {
  |  |  ------------------
  |  |  |  Branch (4623:21): [True: 115, False: 2.77k]
  |  |  ------------------
  |  | 4624|    115|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|    115|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4625|    115|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4625:21): [True: 115, False: 0]
  |  |  ------------------
  |  | 4626|    115|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|    115|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4627|      0|                }
  |  | 4628|  2.89k|            }
  |  | 4629|       |            // _CHECK_FUNCTION_EXACT_ARGS
  |  | 4630|  2.77k|            {
  |  | 4631|  2.77k|                self_or_null = stack_pointer[-1 - oparg];
  |  | 4632|  2.77k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4633|  2.77k|                assert(PyFunction_Check(callable_o));
  |  |  ------------------
  |  |  |  Branch (4633:17): [True: 2.77k, False: 0]
  |  |  ------------------
  |  | 4634|  2.77k|                PyFunctionObject *func = (PyFunctionObject *)callable_o;
  |  | 4635|  2.77k|                PyCodeObject *code = (PyCodeObject *)func->func_code;
  |  | 4636|  2.77k|                if (code->co_argcount != oparg + (!PyStackRef_IsNull(self_or_null))) {
  |  |  ------------------
  |  |  |  |  482|  2.77k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  2.77k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  2.77k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4636:21): [True: 0, False: 2.77k]
  |  |  ------------------
  |  | 4637|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4638|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4638:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4639|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4640|      0|                }
  |  | 4641|  2.77k|            }
  |  | 4642|       |            // _CHECK_STACK_SPACE
  |  | 4643|  2.77k|            {
  |  | 4644|  2.77k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4645|  2.77k|                PyFunctionObject *func = (PyFunctionObject *)callable_o;
  |  | 4646|  2.77k|                PyCodeObject *code = (PyCodeObject *)func->func_code;
  |  | 4647|  2.77k|                if (!_PyThreadState_HasStackSpace(tstate, code->co_framesize)) {
  |  |  ------------------
  |  |  |  Branch (4647:21): [True: 0, False: 2.77k]
  |  |  ------------------
  |  | 4648|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4649|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4649:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4650|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4651|      0|                }
  |  | 4652|  2.77k|            }
  |  | 4653|       |            // _CHECK_RECURSION_REMAINING
  |  | 4654|  2.77k|            {
  |  | 4655|  2.77k|                if (tstate->py_recursion_remaining <= 1) {
  |  |  ------------------
  |  |  |  Branch (4655:21): [True: 0, False: 2.77k]
  |  |  ------------------
  |  | 4656|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4657|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4657:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4658|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4659|      0|                }
  |  | 4660|  2.77k|            }
  |  | 4661|       |            // _INIT_CALL_PY_EXACT_ARGS
  |  | 4662|  2.77k|            {
  |  | 4663|  2.77k|                args = &stack_pointer[-oparg];
  |  | 4664|  2.77k|                int has_self = !PyStackRef_IsNull(self_or_null);
  |  |  ------------------
  |  |  |  |  482|  2.77k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  2.77k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  2.77k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4665|  2.77k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  2.77k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 4666|  2.77k|                _PyInterpreterFrame *pushed_frame = _PyFrame_PushUnchecked(tstate, callable, oparg + has_self, frame);
  |  | 4667|  2.77k|                _PyStackRef *first_non_self_local = pushed_frame->localsplus + has_self;
  |  | 4668|  2.77k|                pushed_frame->localsplus[0] = self_or_null;
  |  | 4669|  5.95k|                for (int i = 0; i < oparg; i++) {
  |  |  ------------------
  |  |  |  Branch (4669:33): [True: 3.17k, False: 2.77k]
  |  |  ------------------
  |  | 4670|  3.17k|                    first_non_self_local[i] = args[i];
  |  | 4671|  3.17k|                }
  |  | 4672|  2.77k|                new_frame = PyStackRef_Wrap(pushed_frame);
  |  | 4673|  2.77k|            }
  |  | 4674|       |            // _SAVE_RETURN_OFFSET
  |  | 4675|  2.77k|            {
  |  | 4676|  2.77k|                #if TIER_ONE
  |  | 4677|  2.77k|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 4678|  2.77k|                #endif
  |  | 4679|       |                #if TIER_TWO
  |  | 4680|       |                frame->return_offset = oparg;
  |  | 4681|       |                #endif
  |  | 4682|  2.77k|            }
  |  | 4683|       |            // _PUSH_FRAME
  |  | 4684|  2.77k|            {
  |  | 4685|  2.77k|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (4685:17): [True: 2.77k, False: 0]
  |  |  ------------------
  |  | 4686|  2.77k|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 4687|  2.77k|                stack_pointer += -2 - oparg;
  |  | 4688|  2.77k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.77k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4689|  2.77k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4690|  2.77k|                _PyFrame_StackPointerValidate(frame);
  |  | 4691|  2.77k|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (4691:17): [True: 2.77k, False: 0]
  |  |  |  Branch (4691:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 4692|  2.77k|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|  2.77k|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 4693|  2.77k|                frame = tstate->current_frame = temp;
  |  | 4694|  2.77k|                tstate->py_recursion_remaining--;
  |  | 4695|  2.77k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4696|  2.77k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4697|  2.77k|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  441|  2.77k|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|  2.77k|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|  2.77k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 2.77k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4698|       |                #ifdef Py_DEBUG
  |  | 4699|       |                assert(frame->previous->stackpointer_valid == 1);
  |  | 4700|       |                #endif
  |  | 4701|  2.77k|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|  2.77k|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 4702|  2.77k|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  2.77k|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 4703|  2.77k|            }
  |  | 4704|  2.77k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.77k|    { \
  |  |  |  |  201|  2.77k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.77k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.77k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.77k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  2.77k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.77k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.77k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.77k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.77k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.77k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.77k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.77k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.77k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.77k|    }
  |  |  ------------------
  |  | 4705|  2.77k|        }
  |  | 4706|       |
  |  | 4707|  1.09k|        TARGET(CALL_PY_GENERAL) {
  |  |  ------------------
  |  |  |  |  132|  1.09k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4708|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4709|       |            int opcode = CALL_PY_GENERAL;
  |  | 4710|       |            (void)(opcode);
  |  | 4711|       |            #endif
  |  | 4712|  1.09k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4713|  1.09k|            (void)this_instr;
  |  | 4714|  1.09k|            frame->instr_ptr = next_instr;
  |  | 4715|  1.09k|            next_instr += 4;
  |  | 4716|  1.09k|            INSTRUCTION_STATS(CALL_PY_GENERAL);
  |  |  ------------------
  |  |  |  |   71|  1.09k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4717|  1.09k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4718|  1.09k|            _PyStackRef callable;
  |  | 4719|  1.09k|            _PyStackRef self_or_null;
  |  | 4720|  1.09k|            _PyStackRef *args;
  |  | 4721|  1.09k|            _PyStackRef new_frame;
  |  | 4722|       |            /* Skip 1 cache entry */
  |  | 4723|       |            // _CHECK_PEP_523
  |  | 4724|  1.09k|            {
  |  | 4725|  1.09k|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  539|  1.09k|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (539:34): [True: 0, False: 1.09k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4726|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4727|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4727:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4728|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4729|      0|                }
  |  | 4730|  1.09k|            }
  |  | 4731|       |            // _CHECK_FUNCTION_VERSION
  |  | 4732|  1.09k|            {
  |  | 4733|  1.09k|                callable = stack_pointer[-2 - oparg];
  |  | 4734|  1.09k|                uint32_t func_version = read_u32(&this_instr[2].cache);
  |  | 4735|  1.09k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4736|  1.09k|                if (!PyFunction_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |   68|  1.09k|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_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 (4736:21): [True: 0, False: 1.09k]
  |  |  ------------------
  |  | 4737|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4738|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4738:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4739|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4740|      0|                }
  |  | 4741|  1.09k|                PyFunctionObject *func = (PyFunctionObject *)callable_o;
  |  | 4742|  1.09k|                if (func->func_version != func_version) {
  |  |  ------------------
  |  |  |  Branch (4742:21): [True: 11, False: 1.08k]
  |  |  ------------------
  |  | 4743|     11|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|     11|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4744|     11|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4744:21): [True: 11, False: 0]
  |  |  ------------------
  |  | 4745|     11|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|     11|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4746|      0|                }
  |  | 4747|  1.09k|            }
  |  | 4748|       |            // _CHECK_RECURSION_REMAINING
  |  | 4749|  1.08k|            {
  |  | 4750|  1.08k|                if (tstate->py_recursion_remaining <= 1) {
  |  |  ------------------
  |  |  |  Branch (4750:21): [True: 0, False: 1.08k]
  |  |  ------------------
  |  | 4751|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4752|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4752:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4753|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4754|      0|                }
  |  | 4755|  1.08k|            }
  |  | 4756|       |            // _PY_FRAME_GENERAL
  |  | 4757|  1.08k|            {
  |  | 4758|  1.08k|                args = &stack_pointer[-oparg];
  |  | 4759|  1.08k|                self_or_null = stack_pointer[-1 - oparg];
  |  | 4760|  1.08k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4761|  1.08k|                int total_args = oparg;
  |  | 4762|  1.08k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  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 (4762:21): [True: 199, False: 886]
  |  |  ------------------
  |  | 4763|    199|                    args--;
  |  | 4764|    199|                    total_args++;
  |  | 4765|    199|                }
  |  | 4766|  1.08k|                assert(Py_TYPE(callable_o) == &PyFunction_Type);
  |  |  ------------------
  |  |  |  Branch (4766:17): [True: 1.08k, False: 0]
  |  |  ------------------
  |  | 4767|  1.08k|                int code_flags = ((PyCodeObject*)PyFunction_GET_CODE(callable_o))->co_flags;
  |  |  ------------------
  |  |  |  |   93|  1.08k|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.08k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.08k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4768|  1.08k|                PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  122|  1.08k|#define CO_OPTIMIZED    0x0001
  |  |  ------------------
  |  |                               PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4768:36): [True: 1.08k, False: 0]
  |  |  ------------------
  |  | 4769|  1.08k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4770|  1.08k|                _PyFrame_StackPointerValidate(frame);
  |  | 4771|  1.08k|                _PyInterpreterFrame *temp = _PyEvalFramePushAndInit(
  |  | 4772|  1.08k|                    tstate, callable, locals,
  |  | 4773|  1.08k|                    args, total_args, NULL, frame
  |  | 4774|  1.08k|                );
  |  | 4775|  1.08k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4776|  1.08k|                stack_pointer += -2 - oparg;
  |  | 4777|  1.08k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.08k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4778|  1.08k|                if (temp == NULL) {
  |  |  ------------------
  |  |  |  Branch (4778:21): [True: 0, False: 1.08k]
  |  |  ------------------
  |  | 4779|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4780|      0|                }
  |  | 4781|  1.08k|                new_frame = PyStackRef_Wrap(temp);
  |  | 4782|  1.08k|            }
  |  | 4783|       |            // _SAVE_RETURN_OFFSET
  |  | 4784|      0|            {
  |  | 4785|  1.08k|                #if TIER_ONE
  |  | 4786|  1.08k|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 4787|  1.08k|                #endif
  |  | 4788|       |                #if TIER_TWO
  |  | 4789|       |                frame->return_offset = oparg;
  |  | 4790|       |                #endif
  |  | 4791|  1.08k|            }
  |  | 4792|       |            // _PUSH_FRAME
  |  | 4793|  1.08k|            {
  |  | 4794|  1.08k|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (4794:17): [True: 1.08k, False: 0]
  |  |  ------------------
  |  | 4795|  1.08k|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 4796|  1.08k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4797|  1.08k|                _PyFrame_StackPointerValidate(frame);
  |  | 4798|  1.08k|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (4798:17): [True: 1.08k, False: 0]
  |  |  |  Branch (4798:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 4799|  1.08k|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|  1.08k|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 4800|  1.08k|                frame = tstate->current_frame = temp;
  |  | 4801|  1.08k|                tstate->py_recursion_remaining--;
  |  | 4802|  1.08k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4803|  1.08k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4804|  1.08k|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  441|  1.08k|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|  1.08k|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|  1.08k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 1.08k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4805|       |                #ifdef Py_DEBUG
  |  | 4806|       |                assert(frame->previous->stackpointer_valid == 1);
  |  | 4807|       |                #endif
  |  | 4808|  1.08k|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|  1.08k|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 4809|  1.08k|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  1.08k|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 4810|  1.08k|            }
  |  | 4811|  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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  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|    }
  |  |  ------------------
  |  | 4812|  1.08k|        }
  |  | 4813|       |
  |  | 4814|     51|        TARGET(CALL_STR_1) {
  |  |  ------------------
  |  |  |  |  132|     51|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4815|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4816|       |            int opcode = CALL_STR_1;
  |  | 4817|       |            (void)(opcode);
  |  | 4818|       |            #endif
  |  | 4819|     51|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4820|     51|            (void)this_instr;
  |  | 4821|     51|            frame->instr_ptr = next_instr;
  |  | 4822|     51|            next_instr += 4;
  |  | 4823|     51|            INSTRUCTION_STATS(CALL_STR_1);
  |  |  ------------------
  |  |  |  |   71|     51|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4824|     51|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4825|     51|            _PyStackRef null;
  |  | 4826|     51|            _PyStackRef callable;
  |  | 4827|     51|            _PyStackRef arg;
  |  | 4828|     51|            _PyStackRef res;
  |  | 4829|     51|            _PyStackRef a;
  |  | 4830|     51|            _PyStackRef value;
  |  | 4831|       |            /* Skip 1 cache entry */
  |  | 4832|       |            /* Skip 2 cache entries */
  |  | 4833|       |            // _GUARD_NOS_NULL
  |  | 4834|     51|            {
  |  | 4835|     51|                null = stack_pointer[-2];
  |  | 4836|     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 (4836:21): [True: 0, False: 51]
  |  |  ------------------
  |  | 4837|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4838|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4838:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4839|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4840|      0|                }
  |  | 4841|     51|            }
  |  | 4842|       |            // _GUARD_CALLABLE_STR_1
  |  | 4843|     51|            {
  |  | 4844|     51|                callable = stack_pointer[-3];
  |  | 4845|     51|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4846|     51|                if (callable_o != (PyObject *)&PyUnicode_Type) {
  |  |  ------------------
  |  |  |  Branch (4846:21): [True: 0, False: 51]
  |  |  ------------------
  |  | 4847|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4848|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4848:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4849|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4850|      0|                }
  |  | 4851|     51|            }
  |  | 4852|       |            // _CALL_STR_1
  |  | 4853|     51|            {
  |  | 4854|     51|                arg = stack_pointer[-1];
  |  | 4855|     51|                PyObject *arg_o = PyStackRef_AsPyObjectBorrow(arg);
  |  | 4856|     51|                assert(oparg == 1);
  |  |  ------------------
  |  |  |  Branch (4856:17): [True: 51, False: 0]
  |  |  ------------------
  |  | 4857|     51|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|     51|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 4858|     51|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4859|     51|                _PyFrame_StackPointerValidate(frame);
  |  | 4860|     51|                PyObject *res_o = PyObject_Str(arg_o);
  |  | 4861|     51|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4862|     51|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (4862:21): [True: 0, False: 51]
  |  |  ------------------
  |  | 4863|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4864|      0|                }
  |  | 4865|     51|                a = arg;
  |  | 4866|     51|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 4867|     51|            }
  |  | 4868|       |            // _POP_TOP
  |  | 4869|      0|            {
  |  | 4870|     51|                value = a;
  |  | 4871|     51|                stack_pointer[-3] = res;
  |  | 4872|     51|                stack_pointer += -2;
  |  | 4873|     51|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     51|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4874|     51|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4875|     51|                _PyFrame_StackPointerValidate(frame);
  |  | 4876|     51|                PyStackRef_XCLOSE(value);
  |  | 4877|     51|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4878|     51|            }
  |  | 4879|       |            // _CHECK_PERIODIC_AT_END
  |  | 4880|     51|            {
  |  | 4881|     51|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4881:17): [True: 51, False: 0]
  |  |  ------------------
  |  | 4882|     51|                _PyFrame_StackPointerValidate(frame);
  |  | 4883|     51|                int err = check_periodics_at_end(tstate, frame);
  |  | 4884|     51|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4885|     51|                if (err != 0) {
  |  |  ------------------
  |  |  |  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|            }
  |  | 4889|     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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     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|    }
  |  |  ------------------
  |  | 4890|     51|        }
  |  | 4891|       |
  |  | 4892|      4|        TARGET(CALL_TUPLE_1) {
  |  |  ------------------
  |  |  |  |  132|      4|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4893|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4894|       |            int opcode = CALL_TUPLE_1;
  |  | 4895|       |            (void)(opcode);
  |  | 4896|       |            #endif
  |  | 4897|      4|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4898|      4|            (void)this_instr;
  |  | 4899|      4|            frame->instr_ptr = next_instr;
  |  | 4900|      4|            next_instr += 4;
  |  | 4901|      4|            INSTRUCTION_STATS(CALL_TUPLE_1);
  |  |  ------------------
  |  |  |  |   71|      4|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4902|      4|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4903|      4|            _PyStackRef null;
  |  | 4904|      4|            _PyStackRef callable;
  |  | 4905|      4|            _PyStackRef arg;
  |  | 4906|      4|            _PyStackRef res;
  |  | 4907|      4|            _PyStackRef a;
  |  | 4908|      4|            _PyStackRef value;
  |  | 4909|       |            /* Skip 1 cache entry */
  |  | 4910|       |            /* Skip 2 cache entries */
  |  | 4911|       |            // _GUARD_NOS_NULL
  |  | 4912|      4|            {
  |  | 4913|      4|                null = stack_pointer[-2];
  |  | 4914|      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 (4914:21): [True: 0, False: 4]
  |  |  ------------------
  |  | 4915|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4916|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4916:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4917|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4918|      0|                }
  |  | 4919|      4|            }
  |  | 4920|       |            // _GUARD_CALLABLE_TUPLE_1
  |  | 4921|      4|            {
  |  | 4922|      4|                callable = stack_pointer[-3];
  |  | 4923|      4|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4924|      4|                if (callable_o != (PyObject *)&PyTuple_Type) {
  |  |  ------------------
  |  |  |  Branch (4924:21): [True: 0, False: 4]
  |  |  ------------------
  |  | 4925|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4926|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4926:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4927|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4928|      0|                }
  |  | 4929|      4|            }
  |  | 4930|       |            // _CALL_TUPLE_1
  |  | 4931|      4|            {
  |  | 4932|      4|                arg = stack_pointer[-1];
  |  | 4933|      4|                PyObject *arg_o = PyStackRef_AsPyObjectBorrow(arg);
  |  | 4934|      4|                assert(oparg == 1);
  |  |  ------------------
  |  |  |  Branch (4934:17): [True: 4, False: 0]
  |  |  ------------------
  |  | 4935|      4|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|      4|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 4936|      4|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4937|      4|                _PyFrame_StackPointerValidate(frame);
  |  | 4938|      4|                PyObject *res_o = PySequence_Tuple(arg_o);
  |  | 4939|      4|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4940|      4|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (4940:21): [True: 0, False: 4]
  |  |  ------------------
  |  | 4941|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4942|      0|                }
  |  | 4943|      4|                a = arg;
  |  | 4944|      4|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 4945|      4|            }
  |  | 4946|       |            // _POP_TOP
  |  | 4947|      0|            {
  |  | 4948|      4|                value = a;
  |  | 4949|      4|                stack_pointer[-3] = res;
  |  | 4950|      4|                stack_pointer += -2;
  |  | 4951|      4|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      4|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4952|      4|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4953|      4|                _PyFrame_StackPointerValidate(frame);
  |  | 4954|      4|                PyStackRef_XCLOSE(value);
  |  | 4955|      4|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4956|      4|            }
  |  | 4957|       |            // _CHECK_PERIODIC_AT_END
  |  | 4958|      4|            {
  |  | 4959|      4|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4959:17): [True: 4, False: 0]
  |  |  ------------------
  |  | 4960|      4|                _PyFrame_StackPointerValidate(frame);
  |  | 4961|      4|                int err = check_periodics_at_end(tstate, frame);
  |  | 4962|      4|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4963|      4|                if (err != 0) {
  |  |  ------------------
  |  |  |  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|            }
  |  | 4967|      4|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      4|    { \
  |  |  |  |  201|      4|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      4|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      4|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      4|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      4|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      4|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      4|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      4|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 4]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      4|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      4|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      4|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      4|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      4|    }
  |  |  ------------------
  |  | 4968|      4|        }
  |  | 4969|       |
  |  | 4970|     95|        TARGET(CALL_TYPE_1) {
  |  |  ------------------
  |  |  |  |  132|     95|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4971|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4972|       |            int opcode = CALL_TYPE_1;
  |  | 4973|       |            (void)(opcode);
  |  | 4974|       |            #endif
  |  | 4975|     95|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4976|     95|            (void)this_instr;
  |  | 4977|     95|            frame->instr_ptr = next_instr;
  |  | 4978|     95|            next_instr += 4;
  |  | 4979|     95|            INSTRUCTION_STATS(CALL_TYPE_1);
  |  |  ------------------
  |  |  |  |   71|     95|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4980|     95|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4981|     95|            _PyStackRef null;
  |  | 4982|     95|            _PyStackRef callable;
  |  | 4983|     95|            _PyStackRef arg;
  |  | 4984|     95|            _PyStackRef res;
  |  | 4985|     95|            _PyStackRef a;
  |  | 4986|     95|            _PyStackRef value;
  |  | 4987|       |            /* Skip 1 cache entry */
  |  | 4988|       |            /* Skip 2 cache entries */
  |  | 4989|       |            // _GUARD_NOS_NULL
  |  | 4990|     95|            {
  |  | 4991|     95|                null = stack_pointer[-2];
  |  | 4992|     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 (4992:21): [True: 0, False: 95]
  |  |  ------------------
  |  | 4993|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4994|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4994:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4995|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4996|      0|                }
  |  | 4997|     95|            }
  |  | 4998|       |            // _GUARD_CALLABLE_TYPE_1
  |  | 4999|     95|            {
  |  | 5000|     95|                callable = stack_pointer[-3];
  |  | 5001|     95|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 5002|     95|                if (callable_o != (PyObject *)&PyType_Type) {
  |  |  ------------------
  |  |  |  Branch (5002:21): [True: 0, False: 95]
  |  |  ------------------
  |  | 5003|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 5004|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (5004:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 5005|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 5006|      0|                }
  |  | 5007|     95|            }
  |  | 5008|       |            // _CALL_TYPE_1
  |  | 5009|     95|            {
  |  | 5010|     95|                arg = stack_pointer[-1];
  |  | 5011|     95|                PyObject *arg_o = PyStackRef_AsPyObjectBorrow(arg);
  |  | 5012|     95|                assert(oparg == 1);
  |  |  ------------------
  |  |  |  Branch (5012:17): [True: 95, False: 0]
  |  |  ------------------
  |  | 5013|     95|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|     95|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 5014|     95|                a = arg;
  |  | 5015|     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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5016|     95|            }
  |  | 5017|       |            // _POP_TOP
  |  | 5018|      0|            {
  |  | 5019|     95|                value = a;
  |  | 5020|     95|                stack_pointer[-3] = res;
  |  | 5021|     95|                stack_pointer += -2;
  |  | 5022|     95|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     95|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5023|     95|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5024|     95|                _PyFrame_StackPointerValidate(frame);
  |  | 5025|     95|                PyStackRef_XCLOSE(value);
  |  | 5026|     95|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5027|     95|            }
  |  | 5028|     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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     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|    }
  |  |  ------------------
  |  | 5029|     95|        }
  |  | 5030|       |
  |  | 5031|      0|        TARGET(CHECK_EG_MATCH) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5032|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5033|       |            int opcode = CHECK_EG_MATCH;
  |  | 5034|       |            (void)(opcode);
  |  | 5035|       |            #endif
  |  | 5036|      0|            frame->instr_ptr = next_instr;
  |  | 5037|      0|            next_instr += 1;
  |  | 5038|      0|            INSTRUCTION_STATS(CHECK_EG_MATCH);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5039|      0|            _PyStackRef exc_value_st;
  |  | 5040|      0|            _PyStackRef match_type_st;
  |  | 5041|      0|            _PyStackRef rest;
  |  | 5042|      0|            _PyStackRef match;
  |  | 5043|      0|            match_type_st = stack_pointer[-1];
  |  | 5044|      0|            exc_value_st = stack_pointer[-2];
  |  | 5045|      0|            PyObject *exc_value = PyStackRef_AsPyObjectBorrow(exc_value_st);
  |  | 5046|      0|            PyObject *match_type = PyStackRef_AsPyObjectBorrow(match_type_st);
  |  | 5047|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5048|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 5049|      0|            int err = _PyEval_CheckExceptStarTypeValid(tstate, match_type);
  |  | 5050|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5051|      0|            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (5051:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5052|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5052:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5053|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 5054|      0|                _PyStackRef tmp = match_type_st;
  |  | 5055|      0|                match_type_st = PyStackRef_NULL;
  |  | 5056|      0|                stack_pointer[-1] = match_type_st;
  |  | 5057|      0|                PyStackRef_CLOSE(tmp);
  |  | 5058|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5059|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5059:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5060|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 5061|      0|                tmp = exc_value_st;
  |  | 5062|      0|                exc_value_st = PyStackRef_NULL;
  |  | 5063|      0|                stack_pointer[-2] = exc_value_st;
  |  | 5064|      0|                PyStackRef_CLOSE(tmp);
  |  | 5065|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5066|      0|                stack_pointer += -2;
  |  | 5067|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5068|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5069|      0|            }
  |  | 5070|      0|            PyObject *match_o = NULL;
  |  | 5071|      0|            PyObject *rest_o = NULL;
  |  | 5072|      0|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5072:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5073|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 5074|      0|            int res = _PyEval_ExceptionGroupMatch(frame, exc_value, match_type,
  |  | 5075|      0|                &match_o, &rest_o);
  |  | 5076|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5077|      0|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5077:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5078|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 5079|      0|            _PyStackRef tmp = match_type_st;
  |  | 5080|      0|            match_type_st = PyStackRef_NULL;
  |  | 5081|      0|            stack_pointer[-1] = match_type_st;
  |  | 5082|      0|            PyStackRef_CLOSE(tmp);
  |  | 5083|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5084|      0|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5084:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5085|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 5086|      0|            tmp = exc_value_st;
  |  | 5087|      0|            exc_value_st = PyStackRef_NULL;
  |  | 5088|      0|            stack_pointer[-2] = exc_value_st;
  |  | 5089|      0|            PyStackRef_CLOSE(tmp);
  |  | 5090|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5091|      0|            stack_pointer += -2;
  |  | 5092|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5093|      0|            if (res < 0) {
  |  |  ------------------
  |  |  |  Branch (5093:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5094|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5095|      0|            }
  |  | 5096|      0|            assert((match_o == NULL) == (rest_o == NULL));
  |  |  ------------------
  |  |  |  Branch (5096:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5097|      0|            if (match_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (5097:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5098|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5099|      0|            }
  |  | 5100|      0|            if (!Py_IsNone(match_o)) {
  |  |  ------------------
  |  |  |  |  621|      0|#define Py_IsNone(x) Py_Is((x), Py_None)
  |  |  |  |  ------------------
  |  |  |  |  |  |  187|      0|#define Py_Is(x, y) ((x) == (y))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5100:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5101|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5102|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 5103|      0|                PyErr_SetHandledException(match_o);
  |  | 5104|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5105|      0|            }
  |  | 5106|      0|            rest = PyStackRef_FromPyObjectSteal(rest_o);
  |  | 5107|      0|            match = PyStackRef_FromPyObjectSteal(match_o);
  |  | 5108|      0|            stack_pointer[0] = rest;
  |  | 5109|      0|            stack_pointer[1] = match;
  |  | 5110|      0|            stack_pointer += 2;
  |  | 5111|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5112|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 5113|      0|        }
  |  | 5114|       |
  |  | 5115|    312|        TARGET(CHECK_EXC_MATCH) {
  |  |  ------------------
  |  |  |  |  132|    312|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5116|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5117|       |            int opcode = CHECK_EXC_MATCH;
  |  | 5118|       |            (void)(opcode);
  |  | 5119|       |            #endif
  |  | 5120|    312|            frame->instr_ptr = next_instr;
  |  | 5121|    312|            next_instr += 1;
  |  | 5122|    312|            INSTRUCTION_STATS(CHECK_EXC_MATCH);
  |  |  ------------------
  |  |  |  |   71|    312|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5123|    312|            _PyStackRef left;
  |  | 5124|    312|            _PyStackRef right;
  |  | 5125|    312|            _PyStackRef b;
  |  | 5126|    312|            right = stack_pointer[-1];
  |  | 5127|    312|            left = stack_pointer[-2];
  |  | 5128|    312|            PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5129|    312|            PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 5130|    312|            assert(PyExceptionInstance_Check(left_o));
  |  |  ------------------
  |  |  |  Branch (5130:13): [True: 312, False: 0]
  |  |  ------------------
  |  | 5131|    312|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5132|    312|            _PyFrame_StackPointerValidate(frame);
  |  | 5133|    312|            int err = _PyEval_CheckExceptTypeValid(tstate, right_o);
  |  | 5134|    312|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5135|    312|            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (5135:17): [True: 0, False: 312]
  |  |  ------------------
  |  | 5136|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5137|      0|            }
  |  | 5138|    312|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5138:13): [True: 312, False: 0]
  |  |  ------------------
  |  | 5139|    312|            _PyFrame_StackPointerValidate(frame);
  |  | 5140|    312|            int res = PyErr_GivenExceptionMatches(left_o, right_o);
  |  | 5141|    312|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5142|    312|            stack_pointer += -1;
  |  | 5143|    312|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    312|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5144|    312|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5145|    312|            _PyFrame_StackPointerValidate(frame);
  |  | 5146|    312|            PyStackRef_CLOSE(right);
  |  | 5147|    312|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5148|    312|            b = res ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|    306|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    306|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                           b = res ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|    318|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      6|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5148:17): [True: 306, False: 6]
  |  |  ------------------
  |  | 5149|    312|            stack_pointer[0] = b;
  |  | 5150|    312|            stack_pointer += 1;
  |  | 5151|    312|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    312|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5152|    312|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    312|    { \
  |  |  |  |  201|    312|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    312|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    312|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    312|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    312|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    312|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    312|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    312|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 312]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    312|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    312|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    312|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    312|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    312|    }
  |  |  ------------------
  |  | 5153|    312|        }
  |  | 5154|       |
  |  | 5155|      0|        TARGET(CLEANUP_THROW) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5156|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5157|       |            int opcode = CLEANUP_THROW;
  |  | 5158|       |            (void)(opcode);
  |  | 5159|       |            #endif
  |  | 5160|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 5161|      0|            (void)this_instr;
  |  | 5162|      0|            frame->instr_ptr = next_instr;
  |  | 5163|      0|            next_instr += 1;
  |  | 5164|      0|            INSTRUCTION_STATS(CLEANUP_THROW);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5165|      0|            _PyStackRef sub_iter;
  |  | 5166|      0|            _PyStackRef null_in;
  |  | 5167|      0|            _PyStackRef last_sent_val;
  |  | 5168|      0|            _PyStackRef exc_value_st;
  |  | 5169|      0|            _PyStackRef none;
  |  | 5170|      0|            _PyStackRef null_out;
  |  | 5171|      0|            _PyStackRef value;
  |  | 5172|      0|            exc_value_st = stack_pointer[-1];
  |  | 5173|      0|            last_sent_val = stack_pointer[-2];
  |  | 5174|      0|            null_in = stack_pointer[-3];
  |  | 5175|      0|            sub_iter = stack_pointer[-4];
  |  | 5176|      0|            PyObject *exc_value = PyStackRef_AsPyObjectBorrow(exc_value_st);
  |  | 5177|      0|            #if !_Py_TAIL_CALL_INTERP
  |  | 5178|      0|            assert(throwflag);
  |  |  ------------------
  |  |  |  Branch (5178:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5179|      0|            #endif
  |  | 5180|      0|            assert(exc_value && PyExceptionInstance_Check(exc_value));
  |  |  ------------------
  |  |  |  Branch (5180:13): [True: 0, False: 0]
  |  |  |  Branch (5180:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5181|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5182|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 5183|      0|            int matches = PyErr_GivenExceptionMatches(exc_value, PyExc_StopIteration);
  |  | 5184|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5185|      0|            if (matches) {
  |  |  ------------------
  |  |  |  Branch (5185:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5186|      0|                value = PyStackRef_FromPyObjectNew(((PyStopIterationObject *)exc_value)->value);
  |  |  ------------------
  |  |  |  |  611|      0|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5187|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5187:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5188|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 5189|      0|                _PyStackRef tmp = sub_iter;
  |  | 5190|      0|                sub_iter = value;
  |  | 5191|      0|                stack_pointer[-4] = sub_iter;
  |  | 5192|      0|                PyStackRef_CLOSE(tmp);
  |  | 5193|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5194|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5194:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5195|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 5196|      0|                tmp = exc_value_st;
  |  | 5197|      0|                exc_value_st = PyStackRef_NULL;
  |  | 5198|      0|                stack_pointer[-1] = exc_value_st;
  |  | 5199|      0|                PyStackRef_CLOSE(tmp);
  |  | 5200|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5201|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5201:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5202|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 5203|      0|                tmp = last_sent_val;
  |  | 5204|      0|                last_sent_val = PyStackRef_NULL;
  |  | 5205|      0|                stack_pointer[-2] = last_sent_val;
  |  | 5206|      0|                PyStackRef_CLOSE(tmp);
  |  | 5207|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5208|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5208:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5209|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 5210|      0|                tmp = null_in;
  |  | 5211|      0|                null_in = PyStackRef_NULL;
  |  | 5212|      0|                stack_pointer[-3] = null_in;
  |  | 5213|      0|                PyStackRef_XCLOSE(tmp);
  |  | 5214|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5215|      0|                stack_pointer += -4;
  |  | 5216|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5217|      0|                null_out = null_in;
  |  | 5218|      0|                none = PyStackRef_None;
  |  |  ------------------
  |  |  |  |  485|      0|#define PyStackRef_None ((_PyStackRef){.bits = ((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5219|      0|            }
  |  | 5220|      0|            else {
  |  | 5221|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5221:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5222|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 5223|      0|                _PyErr_SetRaisedException(tstate, Py_NewRef(exc_value));
  |  |  ------------------
  |  |  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5224|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5225|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5225:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5226|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 5227|      0|                monitor_reraise(tstate, frame, this_instr);
  |  | 5228|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5229|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5229:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5230|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 5231|      0|                JUMP_TO_LABEL(exception_unwind);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5232|      0|            }
  |  | 5233|      0|            stack_pointer[0] = none;
  |  | 5234|      0|            stack_pointer[1] = null_out;
  |  | 5235|      0|            stack_pointer[2] = value;
  |  | 5236|      0|            stack_pointer += 3;
  |  | 5237|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5238|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 5239|      0|        }
  |  | 5240|       |
  |  | 5241|    700|        TARGET(COMPARE_OP) {
  |  |  ------------------
  |  |  |  |  132|    700|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5242|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5243|       |            int opcode = COMPARE_OP;
  |  | 5244|       |            (void)(opcode);
  |  | 5245|       |            #endif
  |  | 5246|    700|            frame->instr_ptr = next_instr;
  |  | 5247|    700|            next_instr += 2;
  |  | 5248|    700|            INSTRUCTION_STATS(COMPARE_OP);
  |  |  ------------------
  |  |  |  |   71|    700|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5249|    703|            PREDICTED_COMPARE_OP:;
  |  | 5250|    703|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  | 5251|    703|            (void)this_instr;
  |  | 5252|    703|            _PyStackRef left;
  |  | 5253|    703|            _PyStackRef right;
  |  | 5254|    703|            _PyStackRef res;
  |  | 5255|       |            // _SPECIALIZE_COMPARE_OP
  |  | 5256|    703|            {
  |  | 5257|    703|                right = stack_pointer[-1];
  |  | 5258|    703|                left = stack_pointer[-2];
  |  | 5259|    703|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 5260|    703|                (void)counter;
  |  | 5261|    703|                #if ENABLE_SPECIALIZATION
  |  | 5262|    703|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|    703|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 128, False: 575]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5263|    128|                    next_instr = this_instr;
  |  | 5264|    128|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5265|    128|                    _PyFrame_StackPointerValidate(frame);
  |  | 5266|    128|                    _Py_Specialize_CompareOp(left, right, next_instr, oparg);
  |  | 5267|    128|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 5268|    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|    }
  |  |  ------------------
  |  | 5269|    128|                }
  |  | 5270|    703|                OPCODE_DEFERRED_INC(COMPARE_OP);
  |  |  ------------------
  |  |  |  |   90|    703|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 5271|    703|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|    703|    do { \
  |  |  |  |  378|    703|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|    703|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 703]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5272|    703|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 5273|    703|            }
  |  | 5274|       |            // _COMPARE_OP
  |  | 5275|    703|            {
  |  | 5276|    703|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5277|    703|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 5278|    703|                assert((oparg >> 5) <= Py_GE);
  |  |  ------------------
  |  |  |  Branch (5278:17): [True: 575, False: 128]
  |  |  ------------------
  |  | 5279|    575|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5280|    575|                _PyFrame_StackPointerValidate(frame);
  |  | 5281|    575|                PyObject *res_o = PyObject_RichCompare(left_o, right_o, oparg >> 5);
  |  | 5282|    575|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5283|    575|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5283:17): [True: 575, False: 0]
  |  |  ------------------
  |  | 5284|    575|                _PyFrame_StackPointerValidate(frame);
  |  | 5285|    575|                _PyStackRef tmp = right;
  |  | 5286|    575|                right = PyStackRef_NULL;
  |  | 5287|    575|                stack_pointer[-1] = right;
  |  | 5288|    575|                PyStackRef_CLOSE(tmp);
  |  | 5289|    575|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5290|    575|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5290:17): [True: 575, False: 0]
  |  |  ------------------
  |  | 5291|    575|                _PyFrame_StackPointerValidate(frame);
  |  | 5292|    575|                tmp = left;
  |  | 5293|    575|                left = PyStackRef_NULL;
  |  | 5294|    575|                stack_pointer[-2] = left;
  |  | 5295|    575|                PyStackRef_CLOSE(tmp);
  |  | 5296|    575|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5297|    575|                stack_pointer += -2;
  |  | 5298|    575|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    575|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5299|    575|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (5299:21): [True: 0, False: 575]
  |  |  ------------------
  |  | 5300|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5301|      0|                }
  |  | 5302|    575|                if (oparg & 16) {
  |  |  ------------------
  |  |  |  Branch (5302:21): [True: 551, False: 24]
  |  |  ------------------
  |  | 5303|    551|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5304|    551|                    _PyFrame_StackPointerValidate(frame);
  |  | 5305|    551|                    int res_bool = PyObject_IsTrue(res_o);
  |  | 5306|    551|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 5307|    551|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5307:21): [True: 551, False: 0]
  |  |  ------------------
  |  | 5308|    551|                    _PyFrame_StackPointerValidate(frame);
  |  | 5309|    551|                    Py_DECREF(res_o);
  |  |  ------------------
  |  |  |  |   80|    551|    do { \
  |  |  |  |   81|    551|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    551|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    551|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|    551|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|    551|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    551|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    551|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 551, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|    551|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|    551|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|    551|            break; \
  |  |  |  |   85|    551|        } \
  |  |  |  |   86|    551|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5310|    551|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 5311|    551|                    if (res_bool < 0) {
  |  |  ------------------
  |  |  |  Branch (5311:25): [True: 0, False: 551]
  |  |  ------------------
  |  | 5312|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5313|      0|                    }
  |  | 5314|    551|                    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|    909|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    358|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5314:27): [True: 193, False: 358]
  |  |  ------------------
  |  | 5315|    551|                }
  |  | 5316|     24|                else {
  |  | 5317|     24|                    res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 5318|     24|                }
  |  | 5319|    575|            }
  |  | 5320|    575|            stack_pointer[0] = res;
  |  | 5321|    575|            stack_pointer += 1;
  |  | 5322|    575|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    575|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5323|    575|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    575|    { \
  |  |  |  |  201|    575|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    575|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    575|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    575|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    575|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    575|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    575|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    575|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 575]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    575|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    575|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    575|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    575|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    575|    }
  |  |  ------------------
  |  | 5324|    575|        }
  |  | 5325|       |
  |  | 5326|     27|        TARGET(COMPARE_OP_FLOAT) {
  |  |  ------------------
  |  |  |  |  132|     27|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5327|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5328|       |            int opcode = COMPARE_OP_FLOAT;
  |  | 5329|       |            (void)(opcode);
  |  | 5330|       |            #endif
  |  | 5331|     27|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 5332|     27|            (void)this_instr;
  |  | 5333|     27|            frame->instr_ptr = next_instr;
  |  | 5334|     27|            next_instr += 2;
  |  | 5335|     27|            INSTRUCTION_STATS(COMPARE_OP_FLOAT);
  |  |  ------------------
  |  |  |  |   71|     27|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5336|     27|            static_assert(INLINE_CACHE_ENTRIES_COMPARE_OP == 1, "incorrect cache size");
  |  | 5337|     27|            _PyStackRef value;
  |  | 5338|     27|            _PyStackRef left;
  |  | 5339|     27|            _PyStackRef right;
  |  | 5340|     27|            _PyStackRef res;
  |  | 5341|     27|            _PyStackRef l;
  |  | 5342|     27|            _PyStackRef r;
  |  | 5343|       |            // _GUARD_TOS_FLOAT
  |  | 5344|     27|            {
  |  | 5345|     27|                value = stack_pointer[-1];
  |  | 5346|     27|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 5347|     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 (5347:21): [True: 1, False: 26]
  |  |  ------------------
  |  | 5348|      1|                    UPDATE_MISS_STATS(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  299|      1|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 5349|      1|                    assert(_PyOpcode_Deopt[opcode] == (COMPARE_OP));
  |  |  ------------------
  |  |  |  Branch (5349:21): [True: 1, False: 0]
  |  |  ------------------
  |  | 5350|      1|                    JUMP_TO_PREDICTED(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  136|      1|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 5351|      0|                }
  |  | 5352|     27|            }
  |  | 5353|       |            // _GUARD_NOS_FLOAT
  |  | 5354|     26|            {
  |  | 5355|     26|                left = stack_pointer[-2];
  |  | 5356|     26|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5357|     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 (5357:21): [True: 0, False: 26]
  |  |  ------------------
  |  | 5358|      0|                    UPDATE_MISS_STATS(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 5359|      0|                    assert(_PyOpcode_Deopt[opcode] == (COMPARE_OP));
  |  |  ------------------
  |  |  |  Branch (5359:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 5360|      0|                    JUMP_TO_PREDICTED(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 5361|      0|                }
  |  | 5362|     26|            }
  |  | 5363|       |            /* Skip 1 cache entry */
  |  | 5364|       |            // _COMPARE_OP_FLOAT
  |  | 5365|     26|            {
  |  | 5366|     26|                right = value;
  |  | 5367|     26|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5368|     26|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 5369|     26|                STAT_INC(COMPARE_OP, hit);
  |  |  ------------------
  |  |  |  |   73|     26|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 5370|     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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5371|     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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5372|     26|                int sign_ish = COMPARISON_BIT(dleft, dright);
  |  |  ------------------
  |  |  |  |  523|     26|#define COMPARISON_BIT(x, y) (1 << (2 * ((x) >= (y)) + ((x) <= (y))))
  |  |  ------------------
  |  | 5373|     26|                l = left;
  |  | 5374|     26|                r = right;
  |  | 5375|     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 (5375:23): [True: 0, False: 26]
  |  |  ------------------
  |  | 5376|     26|            }
  |  | 5377|       |            // _POP_TOP_FLOAT
  |  | 5378|     26|            {
  |  | 5379|     26|                value = r;
  |  | 5380|     26|                assert(PyFloat_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (5380:17): [True: 26, False: 0]
  |  |  ------------------
  |  | 5381|     26|                PyStackRef_CLOSE_SPECIALIZED(value, _PyFloat_ExactDealloc);
  |  | 5382|     26|            }
  |  | 5383|       |            // _POP_TOP_FLOAT
  |  | 5384|      0|            {
  |  | 5385|     26|                value = l;
  |  | 5386|     26|                assert(PyFloat_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (5386:17): [True: 26, False: 0]
  |  |  ------------------
  |  | 5387|     26|                PyStackRef_CLOSE_SPECIALIZED(value, _PyFloat_ExactDealloc);
  |  | 5388|     26|            }
  |  | 5389|      0|            stack_pointer[-2] = res;
  |  | 5390|     26|            stack_pointer += -1;
  |  | 5391|     26|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     26|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5392|     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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     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|    }
  |  |  ------------------
  |  | 5393|     26|        }
  |  | 5394|       |
  |  | 5395|  1.33k|        TARGET(COMPARE_OP_INT) {
  |  |  ------------------
  |  |  |  |  132|  1.33k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5396|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5397|       |            int opcode = COMPARE_OP_INT;
  |  | 5398|       |            (void)(opcode);
  |  | 5399|       |            #endif
  |  | 5400|  1.33k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 5401|  1.33k|            (void)this_instr;
  |  | 5402|  1.33k|            frame->instr_ptr = next_instr;
  |  | 5403|  1.33k|            next_instr += 2;
  |  | 5404|  1.33k|            INSTRUCTION_STATS(COMPARE_OP_INT);
  |  |  ------------------
  |  |  |  |   71|  1.33k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5405|  1.33k|            static_assert(INLINE_CACHE_ENTRIES_COMPARE_OP == 1, "incorrect cache size");
  |  | 5406|  1.33k|            _PyStackRef value;
  |  | 5407|  1.33k|            _PyStackRef left;
  |  | 5408|  1.33k|            _PyStackRef right;
  |  | 5409|  1.33k|            _PyStackRef res;
  |  | 5410|  1.33k|            _PyStackRef l;
  |  | 5411|  1.33k|            _PyStackRef r;
  |  | 5412|       |            // _GUARD_TOS_INT
  |  | 5413|  1.33k|            {
  |  | 5414|  1.33k|                value = stack_pointer[-1];
  |  | 5415|  1.33k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 5416|  1.33k|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (5416:21): [True: 0, False: 1.33k]
  |  |  ------------------
  |  | 5417|      0|                    UPDATE_MISS_STATS(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 5418|      0|                    assert(_PyOpcode_Deopt[opcode] == (COMPARE_OP));
  |  |  ------------------
  |  |  |  Branch (5418:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 5419|      0|                    JUMP_TO_PREDICTED(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 5420|      0|                }
  |  | 5421|  1.33k|            }
  |  | 5422|       |            // _GUARD_NOS_INT
  |  | 5423|  1.33k|            {
  |  | 5424|  1.33k|                left = stack_pointer[-2];
  |  | 5425|  1.33k|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5426|  1.33k|                if (!_PyLong_CheckExactAndCompact(left_o)) {
  |  |  ------------------
  |  |  |  Branch (5426:21): [True: 0, False: 1.33k]
  |  |  ------------------
  |  | 5427|      0|                    UPDATE_MISS_STATS(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 5428|      0|                    assert(_PyOpcode_Deopt[opcode] == (COMPARE_OP));
  |  |  ------------------
  |  |  |  Branch (5428:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 5429|      0|                    JUMP_TO_PREDICTED(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 5430|      0|                }
  |  | 5431|  1.33k|            }
  |  | 5432|       |            /* Skip 1 cache entry */
  |  | 5433|       |            // _COMPARE_OP_INT
  |  | 5434|  1.33k|            {
  |  | 5435|  1.33k|                right = value;
  |  | 5436|  1.33k|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5437|  1.33k|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 5438|  1.33k|                assert(_PyLong_IsCompact((PyLongObject *)left_o));
  |  |  ------------------
  |  |  |  Branch (5438:17): [True: 1.33k, False: 0]
  |  |  ------------------
  |  | 5439|  1.33k|                assert(_PyLong_IsCompact((PyLongObject *)right_o));
  |  |  ------------------
  |  |  |  Branch (5439:17): [True: 1.33k, False: 0]
  |  |  ------------------
  |  | 5440|  1.33k|                STAT_INC(COMPARE_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  1.33k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 5441|  1.33k|                assert(_PyLong_DigitCount((PyLongObject *)left_o) <= 1 &&
  |  |  ------------------
  |  |  |  Branch (5441:17): [True: 1.33k, False: 0]
  |  |  |  Branch (5441:17): [True: 1.33k, False: 0]
  |  |  ------------------
  |  | 5442|  1.33k|                   _PyLong_DigitCount((PyLongObject *)right_o) <= 1);
  |  | 5443|  1.33k|                Py_ssize_t ileft = _PyLong_CompactValue((PyLongObject *)left_o);
  |  | 5444|  1.33k|                Py_ssize_t iright = _PyLong_CompactValue((PyLongObject *)right_o);
  |  | 5445|  1.33k|                int sign_ish = COMPARISON_BIT(ileft, iright);
  |  |  ------------------
  |  |  |  |  523|  1.33k|#define COMPARISON_BIT(x, y) (1 << (2 * ((x) >= (y)) + ((x) <= (y))))
  |  |  ------------------
  |  | 5446|  1.33k|                l = left;
  |  | 5447|  1.33k|                r = right;
  |  | 5448|  1.33k|                res =  (sign_ish & oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|    552|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    552|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res =  (sign_ish & oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  2.12k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    784|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5448:24): [True: 552, False: 784]
  |  |  ------------------
  |  | 5449|  1.33k|            }
  |  | 5450|       |            // _POP_TOP_INT
  |  | 5451|      0|            {
  |  | 5452|  1.33k|                value = r;
  |  | 5453|  1.33k|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (5453:17): [True: 1.33k, False: 0]
  |  |  ------------------
  |  | 5454|  1.33k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  | 5455|  1.33k|            }
  |  | 5456|       |            // _POP_TOP_INT
  |  | 5457|      0|            {
  |  | 5458|  1.33k|                value = l;
  |  | 5459|  1.33k|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (5459:17): [True: 1.33k, False: 0]
  |  |  ------------------
  |  | 5460|  1.33k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  | 5461|  1.33k|            }
  |  | 5462|      0|            stack_pointer[-2] = res;
  |  | 5463|  1.33k|            stack_pointer += -1;
  |  | 5464|  1.33k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.33k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5465|  1.33k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.33k|    { \
  |  |  |  |  201|  1.33k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.33k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.33k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.33k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.33k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.33k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.33k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.33k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.33k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.33k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.33k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.33k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.33k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.33k|    }
  |  |  ------------------
  |  | 5466|  1.33k|        }
  |  | 5467|       |
  |  | 5468|  1.73k|        TARGET(COMPARE_OP_STR) {
  |  |  ------------------
  |  |  |  |  132|  1.73k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5469|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5470|       |            int opcode = COMPARE_OP_STR;
  |  | 5471|       |            (void)(opcode);
  |  | 5472|       |            #endif
  |  | 5473|  1.73k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 5474|  1.73k|            (void)this_instr;
  |  | 5475|  1.73k|            frame->instr_ptr = next_instr;
  |  | 5476|  1.73k|            next_instr += 2;
  |  | 5477|  1.73k|            INSTRUCTION_STATS(COMPARE_OP_STR);
  |  |  ------------------
  |  |  |  |   71|  1.73k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5478|  1.73k|            static_assert(INLINE_CACHE_ENTRIES_COMPARE_OP == 1, "incorrect cache size");
  |  | 5479|  1.73k|            _PyStackRef value;
  |  | 5480|  1.73k|            _PyStackRef nos;
  |  | 5481|  1.73k|            _PyStackRef left;
  |  | 5482|  1.73k|            _PyStackRef right;
  |  | 5483|  1.73k|            _PyStackRef res;
  |  | 5484|  1.73k|            _PyStackRef l;
  |  | 5485|  1.73k|            _PyStackRef r;
  |  | 5486|       |            // _GUARD_TOS_UNICODE
  |  | 5487|  1.73k|            {
  |  | 5488|  1.73k|                value = stack_pointer[-1];
  |  | 5489|  1.73k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 5490|  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 (5490:21): [True: 2, False: 1.73k]
  |  |  ------------------
  |  | 5491|      2|                    UPDATE_MISS_STATS(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  299|      2|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 5492|      2|                    assert(_PyOpcode_Deopt[opcode] == (COMPARE_OP));
  |  |  ------------------
  |  |  |  Branch (5492:21): [True: 2, False: 0]
  |  |  ------------------
  |  | 5493|      2|                    JUMP_TO_PREDICTED(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  136|      2|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 5494|      0|                }
  |  | 5495|  1.73k|            }
  |  | 5496|       |            // _GUARD_NOS_UNICODE
  |  | 5497|  1.73k|            {
  |  | 5498|  1.73k|                nos = stack_pointer[-2];
  |  | 5499|  1.73k|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  | 5500|  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 (5500:21): [True: 0, False: 1.73k]
  |  |  ------------------
  |  | 5501|      0|                    UPDATE_MISS_STATS(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 5502|      0|                    assert(_PyOpcode_Deopt[opcode] == (COMPARE_OP));
  |  |  ------------------
  |  |  |  Branch (5502:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 5503|      0|                    JUMP_TO_PREDICTED(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 5504|      0|                }
  |  | 5505|  1.73k|            }
  |  | 5506|       |            /* Skip 1 cache entry */
  |  | 5507|       |            // _COMPARE_OP_STR
  |  | 5508|  1.73k|            {
  |  | 5509|  1.73k|                right = value;
  |  | 5510|  1.73k|                left = nos;
  |  | 5511|  1.73k|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5512|  1.73k|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 5513|  1.73k|                STAT_INC(COMPARE_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  1.73k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 5514|  1.73k|                int eq = _PyUnicode_Equal(left_o, right_o);
  |  | 5515|  1.73k|                assert((oparg >> 5) == Py_EQ || (oparg >> 5) == Py_NE);
  |  |  ------------------
  |  |  |  Branch (5515:17): [True: 668, False: 1.06k]
  |  |  |  Branch (5515:17): [True: 1.06k, False: 0]
  |  |  ------------------
  |  | 5516|  1.73k|                l = left;
  |  | 5517|  1.73k|                r = right;
  |  | 5518|  1.73k|                assert(eq == 0 || eq == 1);
  |  |  ------------------
  |  |  |  Branch (5518:17): [True: 1.22k, False: 502]
  |  |  |  Branch (5518:17): [True: 502, False: 0]
  |  |  ------------------
  |  | 5519|  1.73k|                assert((oparg & 0xf) == COMPARISON_NOT_EQUALS || (oparg & 0xf) == COMPARISON_EQUALS);
  |  |  ------------------
  |  |  |  Branch (5519:17): [True: 1.06k, False: 668]
  |  |  |  Branch (5519:17): [True: 668, False: 0]
  |  |  ------------------
  |  | 5520|  1.73k|                assert(COMPARISON_NOT_EQUALS + 1 == COMPARISON_EQUALS);
  |  |  ------------------
  |  |  |  Branch (5520:17): [True: 1.73k, Folded]
  |  |  ------------------
  |  | 5521|  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 (5521:23): [True: 1.24k, False: 484]
  |  |  ------------------
  |  | 5522|  1.73k|            }
  |  | 5523|       |            // _POP_TOP_UNICODE
  |  | 5524|      0|            {
  |  | 5525|  1.73k|                value = r;
  |  | 5526|  1.73k|                assert(PyUnicode_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (5526:17): [True: 1.73k, False: 0]
  |  |  ------------------
  |  | 5527|  1.73k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyUnicode_ExactDealloc);
  |  | 5528|  1.73k|            }
  |  | 5529|       |            // _POP_TOP_UNICODE
  |  | 5530|      0|            {
  |  | 5531|  1.73k|                value = l;
  |  | 5532|  1.73k|                assert(PyUnicode_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (5532:17): [True: 1.73k, False: 0]
  |  |  ------------------
  |  | 5533|  1.73k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyUnicode_ExactDealloc);
  |  | 5534|  1.73k|            }
  |  | 5535|      0|            stack_pointer[-2] = res;
  |  | 5536|  1.73k|            stack_pointer += -1;
  |  | 5537|  1.73k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.73k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5538|  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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  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|    }
  |  |  ------------------
  |  | 5539|  1.73k|        }
  |  | 5540|       |
  |  | 5541|    732|        TARGET(CONTAINS_OP) {
  |  |  ------------------
  |  |  |  |  132|    732|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5542|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5543|       |            int opcode = CONTAINS_OP;
  |  | 5544|       |            (void)(opcode);
  |  | 5545|       |            #endif
  |  | 5546|    732|            frame->instr_ptr = next_instr;
  |  | 5547|    732|            next_instr += 2;
  |  | 5548|    732|            INSTRUCTION_STATS(CONTAINS_OP);
  |  |  ------------------
  |  |  |  |   71|    732|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5549|    732|            PREDICTED_CONTAINS_OP:;
  |  | 5550|    732|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  | 5551|    732|            (void)this_instr;
  |  | 5552|    732|            _PyStackRef right;
  |  | 5553|    732|            _PyStackRef left;
  |  | 5554|    732|            _PyStackRef b;
  |  | 5555|    732|            _PyStackRef l;
  |  | 5556|    732|            _PyStackRef r;
  |  | 5557|    732|            _PyStackRef value;
  |  | 5558|       |            // _SPECIALIZE_CONTAINS_OP
  |  | 5559|    732|            {
  |  | 5560|    732|                right = stack_pointer[-1];
  |  | 5561|    732|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 5562|    732|                (void)counter;
  |  | 5563|    732|                #if ENABLE_SPECIALIZATION
  |  | 5564|    732|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|    732|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 101, False: 631]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5565|    101|                    next_instr = this_instr;
  |  | 5566|    101|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5567|    101|                    _PyFrame_StackPointerValidate(frame);
  |  | 5568|    101|                    _Py_Specialize_ContainsOp(right, next_instr);
  |  | 5569|    101|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 5570|    101|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|    101|    { \
  |  |  |  |  217|    101|        opcode = next_instr->op.code; \
  |  |  |  |  218|    101|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    101|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|    101|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|    101|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|    101|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|    101|    }
  |  |  ------------------
  |  | 5571|    101|                }
  |  | 5572|    732|                OPCODE_DEFERRED_INC(CONTAINS_OP);
  |  |  ------------------
  |  |  |  |   90|    732|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 5573|    732|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|    732|    do { \
  |  |  |  |  378|    732|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|    732|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 732]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5574|    732|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 5575|    732|            }
  |  | 5576|       |            // _CONTAINS_OP
  |  | 5577|    732|            {
  |  | 5578|    732|                left = stack_pointer[-2];
  |  | 5579|    732|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5580|    732|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 5581|    732|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5582|    732|                _PyFrame_StackPointerValidate(frame);
  |  | 5583|    732|                int res = PySequence_Contains(right_o, left_o);
  |  | 5584|    732|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5585|    732|                if (res < 0) {
  |  |  ------------------
  |  |  |  Branch (5585:21): [True: 0, False: 732]
  |  |  ------------------
  |  | 5586|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5587|      0|                }
  |  | 5588|    732|                b = (res ^ oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|    268|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    268|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               b = (res ^ oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  1.19k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    464|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5588:21): [True: 268, False: 464]
  |  |  ------------------
  |  | 5589|    732|                l = left;
  |  | 5590|    732|                r = right;
  |  | 5591|    732|            }
  |  | 5592|       |            // _POP_TOP
  |  | 5593|      0|            {
  |  | 5594|    732|                value = r;
  |  | 5595|    732|                stack_pointer[-2] = b;
  |  | 5596|    732|                stack_pointer[-1] = l;
  |  | 5597|    732|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5597:17): [True: 631, False: 101]
  |  |  ------------------
  |  | 5598|    631|                _PyFrame_StackPointerValidate(frame);
  |  | 5599|    631|                PyStackRef_XCLOSE(value);
  |  | 5600|    631|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5601|    631|            }
  |  | 5602|       |            // _POP_TOP
  |  | 5603|      0|            {
  |  | 5604|    631|                value = l;
  |  | 5605|    631|                stack_pointer += -1;
  |  | 5606|    631|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    631|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5607|    631|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5608|    631|                _PyFrame_StackPointerValidate(frame);
  |  | 5609|    631|                PyStackRef_XCLOSE(value);
  |  | 5610|    631|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5611|    631|            }
  |  | 5612|    631|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    631|    { \
  |  |  |  |  201|    631|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    631|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    631|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    631|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    631|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    631|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    631|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    631|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 631]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    631|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    631|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    631|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    631|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    631|    }
  |  |  ------------------
  |  | 5613|    631|        }
  |  | 5614|       |
  |  | 5615|    443|        TARGET(CONTAINS_OP_DICT) {
  |  |  ------------------
  |  |  |  |  132|    443|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5616|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5617|       |            int opcode = CONTAINS_OP_DICT;
  |  | 5618|       |            (void)(opcode);
  |  | 5619|       |            #endif
  |  | 5620|    443|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 5621|    443|            (void)this_instr;
  |  | 5622|    443|            frame->instr_ptr = next_instr;
  |  | 5623|    443|            next_instr += 2;
  |  | 5624|    443|            INSTRUCTION_STATS(CONTAINS_OP_DICT);
  |  |  ------------------
  |  |  |  |   71|    443|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5625|    443|            static_assert(INLINE_CACHE_ENTRIES_CONTAINS_OP == 1, "incorrect cache size");
  |  | 5626|    443|            _PyStackRef tos;
  |  | 5627|    443|            _PyStackRef left;
  |  | 5628|    443|            _PyStackRef right;
  |  | 5629|    443|            _PyStackRef b;
  |  | 5630|    443|            _PyStackRef l;
  |  | 5631|    443|            _PyStackRef r;
  |  | 5632|    443|            _PyStackRef value;
  |  | 5633|       |            // _GUARD_TOS_ANY_DICT
  |  | 5634|    443|            {
  |  | 5635|    443|                tos = stack_pointer[-1];
  |  | 5636|    443|                PyObject *o = PyStackRef_AsPyObjectBorrow(tos);
  |  | 5637|    443|                if (!PyAnyDict_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   41|    443|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |   19|    443|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   65|    886|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|    443|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|    443|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (65:5): [True: 443, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |   38|      0|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_Type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (65:5): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5638|      0|                    UPDATE_MISS_STATS(CONTAINS_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 5639|      0|                    assert(_PyOpcode_Deopt[opcode] == (CONTAINS_OP));
  |  |  ------------------
  |  |  |  Branch (5639:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 5640|      0|                    JUMP_TO_PREDICTED(CONTAINS_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 5641|      0|                }
  |  | 5642|    443|            }
  |  | 5643|       |            /* Skip 1 cache entry */
  |  | 5644|       |            // _CONTAINS_OP_DICT
  |  | 5645|    443|            {
  |  | 5646|    443|                right = tos;
  |  | 5647|    443|                left = stack_pointer[-2];
  |  | 5648|    443|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5649|    443|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 5650|    443|                assert(PyAnyDict_CheckExact(right_o));
  |  |  ------------------
  |  |  |  Branch (5650:17): [True: 443, False: 0]
  |  |  |  Branch (5650:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5651|    443|                STAT_INC(CONTAINS_OP, hit);
  |  |  ------------------
  |  |  |  |   73|    443|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 5652|    443|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5653|    443|                _PyFrame_StackPointerValidate(frame);
  |  | 5654|    443|                int res = PyDict_Contains(right_o, left_o);
  |  | 5655|    443|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5656|    443|                if (res < 0) {
  |  |  ------------------
  |  |  |  Branch (5656:21): [True: 0, False: 443]
  |  |  ------------------
  |  | 5657|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5658|      0|                }
  |  | 5659|    443|                b = (res ^ oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|    151|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    151|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               b = (res ^ oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|    735|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    292|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5659:21): [True: 151, False: 292]
  |  |  ------------------
  |  | 5660|    443|                l = left;
  |  | 5661|    443|                r = right;
  |  | 5662|    443|            }
  |  | 5663|       |            // _POP_TOP
  |  | 5664|      0|            {
  |  | 5665|    443|                value = r;
  |  | 5666|    443|                stack_pointer[-2] = b;
  |  | 5667|    443|                stack_pointer[-1] = l;
  |  | 5668|    443|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5668:17): [True: 443, False: 0]
  |  |  ------------------
  |  | 5669|    443|                _PyFrame_StackPointerValidate(frame);
  |  | 5670|    443|                PyStackRef_XCLOSE(value);
  |  | 5671|    443|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5672|    443|            }
  |  | 5673|       |            // _POP_TOP
  |  | 5674|      0|            {
  |  | 5675|    443|                value = l;
  |  | 5676|    443|                stack_pointer += -1;
  |  | 5677|    443|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    443|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5678|    443|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5679|    443|                _PyFrame_StackPointerValidate(frame);
  |  | 5680|    443|                PyStackRef_XCLOSE(value);
  |  | 5681|    443|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5682|    443|            }
  |  | 5683|    443|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    443|    { \
  |  |  |  |  201|    443|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    443|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    443|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    443|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    443|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    443|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    443|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    443|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 443]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    443|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    443|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    443|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    443|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    443|    }
  |  |  ------------------
  |  | 5684|    443|        }
  |  | 5685|       |
  |  | 5686|    408|        TARGET(CONTAINS_OP_SET) {
  |  |  ------------------
  |  |  |  |  132|    408|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5687|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5688|       |            int opcode = CONTAINS_OP_SET;
  |  | 5689|       |            (void)(opcode);
  |  | 5690|       |            #endif
  |  | 5691|    408|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 5692|    408|            (void)this_instr;
  |  | 5693|    408|            frame->instr_ptr = next_instr;
  |  | 5694|    408|            next_instr += 2;
  |  | 5695|    408|            INSTRUCTION_STATS(CONTAINS_OP_SET);
  |  |  ------------------
  |  |  |  |   71|    408|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5696|    408|            static_assert(INLINE_CACHE_ENTRIES_CONTAINS_OP == 1, "incorrect cache size");
  |  | 5697|    408|            _PyStackRef tos;
  |  | 5698|    408|            _PyStackRef left;
  |  | 5699|    408|            _PyStackRef right;
  |  | 5700|    408|            _PyStackRef b;
  |  | 5701|    408|            _PyStackRef l;
  |  | 5702|    408|            _PyStackRef r;
  |  | 5703|    408|            _PyStackRef value;
  |  | 5704|       |            // _GUARD_TOS_ANY_SET
  |  | 5705|    408|            {
  |  | 5706|    408|                tos = stack_pointer[-1];
  |  | 5707|    408|                PyObject *o = PyStackRef_AsPyObjectBorrow(tos);
  |  | 5708|    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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5709|      0|                    UPDATE_MISS_STATS(CONTAINS_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 5710|      0|                    assert(_PyOpcode_Deopt[opcode] == (CONTAINS_OP));
  |  |  ------------------
  |  |  |  Branch (5710:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 5711|      0|                    JUMP_TO_PREDICTED(CONTAINS_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 5712|      0|                }
  |  | 5713|    408|            }
  |  | 5714|       |            /* Skip 1 cache entry */
  |  | 5715|       |            // _CONTAINS_OP_SET
  |  | 5716|    408|            {
  |  | 5717|    408|                right = tos;
  |  | 5718|    408|                left = stack_pointer[-2];
  |  | 5719|    408|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5720|    408|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 5721|    408|                assert(PyAnySet_CheckExact(right_o));
  |  |  ------------------
  |  |  |  Branch (5721:17): [True: 365, False: 43]
  |  |  |  Branch (5721:17): [True: 43, False: 0]
  |  |  ------------------
  |  | 5722|    408|                STAT_INC(CONTAINS_OP, hit);
  |  |  ------------------
  |  |  |  |   73|    408|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 5723|    408|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5724|    408|                _PyFrame_StackPointerValidate(frame);
  |  | 5725|    408|                int res = _PySet_Contains((PySetObject *)right_o, left_o);
  |  | 5726|    408|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5727|    408|                if (res < 0) {
  |  |  ------------------
  |  |  |  Branch (5727:21): [True: 0, False: 408]
  |  |  ------------------
  |  | 5728|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5729|      0|                }
  |  | 5730|    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 (5730:21): [True: 63, False: 345]
  |  |  ------------------
  |  | 5731|    408|                l = left;
  |  | 5732|    408|                r = right;
  |  | 5733|    408|            }
  |  | 5734|       |            // _POP_TOP
  |  | 5735|      0|            {
  |  | 5736|    408|                value = r;
  |  | 5737|    408|                stack_pointer[-2] = b;
  |  | 5738|    408|                stack_pointer[-1] = l;
  |  | 5739|    408|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5739:17): [True: 408, False: 0]
  |  |  ------------------
  |  | 5740|    408|                _PyFrame_StackPointerValidate(frame);
  |  | 5741|    408|                PyStackRef_XCLOSE(value);
  |  | 5742|    408|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5743|    408|            }
  |  | 5744|       |            // _POP_TOP
  |  | 5745|      0|            {
  |  | 5746|    408|                value = l;
  |  | 5747|    408|                stack_pointer += -1;
  |  | 5748|    408|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    408|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5749|    408|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5750|    408|                _PyFrame_StackPointerValidate(frame);
  |  | 5751|    408|                PyStackRef_XCLOSE(value);
  |  | 5752|    408|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5753|    408|            }
  |  | 5754|    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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    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|    }
  |  |  ------------------
  |  | 5755|    408|        }
  |  | 5756|       |
  |  | 5757|    132|        TARGET(CONVERT_VALUE) {
  |  |  ------------------
  |  |  |  |  132|    132|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5758|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5759|       |            int opcode = CONVERT_VALUE;
  |  | 5760|       |            (void)(opcode);
  |  | 5761|       |            #endif
  |  | 5762|    132|            frame->instr_ptr = next_instr;
  |  | 5763|    132|            next_instr += 1;
  |  | 5764|    132|            INSTRUCTION_STATS(CONVERT_VALUE);
  |  |  ------------------
  |  |  |  |   71|    132|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5765|    132|            _PyStackRef value;
  |  | 5766|    132|            _PyStackRef result;
  |  | 5767|    132|            value = stack_pointer[-1];
  |  | 5768|    132|            conversion_func conv_fn;
  |  | 5769|    132|            assert(oparg >= FVC_STR && oparg <= FVC_ASCII);
  |  |  ------------------
  |  |  |  Branch (5769:13): [True: 132, False: 0]
  |  |  |  Branch (5769:13): [True: 132, False: 0]
  |  |  ------------------
  |  | 5770|    132|            conv_fn = _PyEval_ConversionFuncs[oparg];
  |  | 5771|    132|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5772|    132|            _PyFrame_StackPointerValidate(frame);
  |  | 5773|    132|            PyObject *result_o = conv_fn(PyStackRef_AsPyObjectBorrow(value));
  |  | 5774|    132|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5775|    132|            stack_pointer += -1;
  |  | 5776|    132|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    132|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5777|    132|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5778|    132|            _PyFrame_StackPointerValidate(frame);
  |  | 5779|    132|            PyStackRef_CLOSE(value);
  |  | 5780|    132|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5781|    132|            if (result_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (5781:17): [True: 0, False: 132]
  |  |  ------------------
  |  | 5782|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5783|      0|            }
  |  | 5784|    132|            result = PyStackRef_FromPyObjectSteal(result_o);
  |  | 5785|    132|            stack_pointer[0] = result;
  |  | 5786|    132|            stack_pointer += 1;
  |  | 5787|    132|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    132|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5788|    132|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    132|    { \
  |  |  |  |  201|    132|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    132|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    132|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    132|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    132|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    132|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    132|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    132|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 132]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    132|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    132|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    132|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    132|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    132|    }
  |  |  ------------------
  |  | 5789|    132|        }
  |  | 5790|       |
  |  | 5791|  1.93k|        TARGET(COPY) {
  |  |  ------------------
  |  |  |  |  132|  1.93k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5792|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5793|       |            int opcode = COPY;
  |  | 5794|       |            (void)(opcode);
  |  | 5795|       |            #endif
  |  | 5796|  1.93k|            frame->instr_ptr = next_instr;
  |  | 5797|  1.93k|            next_instr += 1;
  |  | 5798|  1.93k|            INSTRUCTION_STATS(COPY);
  |  |  ------------------
  |  |  |  |   71|  1.93k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5799|  1.93k|            _PyStackRef bottom;
  |  | 5800|  1.93k|            _PyStackRef top;
  |  | 5801|  1.93k|            bottom = stack_pointer[-1 - (oparg-1)];
  |  | 5802|  1.93k|            top = PyStackRef_DUP(bottom);
  |  | 5803|  1.93k|            stack_pointer[0] = top;
  |  | 5804|  1.93k|            stack_pointer += 1;
  |  | 5805|  1.93k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.93k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5806|  1.93k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.93k|    { \
  |  |  |  |  201|  1.93k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.93k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.93k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.93k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.93k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.93k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.93k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.93k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.93k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.93k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.93k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.93k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.93k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.93k|    }
  |  |  ------------------
  |  | 5807|  1.93k|        }
  |  | 5808|       |
  |  | 5809|  1.93k|        TARGET(COPY_FREE_VARS) {
  |  |  ------------------
  |  |  |  |  132|    901|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5810|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5811|       |            int opcode = COPY_FREE_VARS;
  |  | 5812|       |            (void)(opcode);
  |  | 5813|       |            #endif
  |  | 5814|    901|            frame->instr_ptr = next_instr;
  |  | 5815|    901|            next_instr += 1;
  |  | 5816|    901|            INSTRUCTION_STATS(COPY_FREE_VARS);
  |  |  ------------------
  |  |  |  |   71|    901|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5817|    901|            PyCodeObject *co = _PyFrame_GetCode(frame);
  |  | 5818|    901|            assert(PyStackRef_FunctionCheck(frame->f_funcobj));
  |  |  ------------------
  |  |  |  Branch (5818:13): [True: 901, False: 0]
  |  |  ------------------
  |  | 5819|    901|            PyFunctionObject *func = (PyFunctionObject *)PyStackRef_AsPyObjectBorrow(frame->f_funcobj);
  |  | 5820|    901|            PyObject *closure = func->func_closure;
  |  | 5821|    901|            assert(oparg == co->co_nfreevars);
  |  |  ------------------
  |  |  |  Branch (5821:13): [True: 901, False: 0]
  |  |  ------------------
  |  | 5822|    901|            int offset = co->co_nlocalsplus - oparg;
  |  | 5823|  1.85k|            for (int i = 0; i < oparg; ++i) {
  |  |  ------------------
  |  |  |  Branch (5823:29): [True: 957, False: 901]
  |  |  ------------------
  |  | 5824|    957|                PyObject *o = PyTuple_GET_ITEM(closure, i);
  |  |  ------------------
  |  |  |  |   29|    957|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   19|    957|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    957|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5824:31): [True: 957, False: 0]
  |  |  ------------------
  |  | 5825|    957|                frame->localsplus[offset + i] = PyStackRef_FromPyObjectNew(o);
  |  |  ------------------
  |  |  |  |  611|    957|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    957|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    957|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5826|    957|            }
  |  | 5827|    901|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    901|    { \
  |  |  |  |  201|    901|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    901|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    901|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    901|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    901|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    901|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    901|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    901|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 901]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    901|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    901|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    901|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    901|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    901|    }
  |  |  ------------------
  |  | 5828|    901|        }
  |  | 5829|       |
  |  | 5830|      0|        TARGET(DELETE_DEREF) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5831|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5832|       |            int opcode = DELETE_DEREF;
  |  | 5833|       |            (void)(opcode);
  |  | 5834|       |            #endif
  |  | 5835|      0|            frame->instr_ptr = next_instr;
  |  | 5836|      0|            next_instr += 1;
  |  | 5837|      0|            INSTRUCTION_STATS(DELETE_DEREF);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5838|      0|            PyObject *cell = PyStackRef_AsPyObjectBorrow(GETLOCAL(oparg));
  |  |  ------------------
  |  |  |  |  285|      0|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 5839|      0|            PyObject *oldobj = PyCell_SwapTakeRef((PyCellObject *)cell, NULL);
  |  | 5840|      0|            if (oldobj == NULL) {
  |  |  ------------------
  |  |  |  Branch (5840:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5841|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5842|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 5843|      0|                _PyEval_FormatExcUnbound(tstate, _PyFrame_GetCode(frame), oparg);
  |  | 5844|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5845|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5846|      0|            }
  |  | 5847|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5848|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 5849|      0|            Py_DECREF(oldobj);
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5850|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5851|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 5852|      0|        }
  |  | 5853|       |
  |  | 5854|      4|        TARGET(DELETE_FAST) {
  |  |  ------------------
  |  |  |  |  132|      4|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5855|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5856|       |            int opcode = DELETE_FAST;
  |  | 5857|       |            (void)(opcode);
  |  | 5858|       |            #endif
  |  | 5859|      4|            frame->instr_ptr = next_instr;
  |  | 5860|      4|            next_instr += 1;
  |  | 5861|      4|            INSTRUCTION_STATS(DELETE_FAST);
  |  |  ------------------
  |  |  |  |   71|      4|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5862|      4|            _PyStackRef v = GETLOCAL(oparg);
  |  |  ------------------
  |  |  |  |  285|      4|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 5863|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5864|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5865|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 5866|      0|                _PyEval_FormatExcCheckArg(tstate, PyExc_UnboundLocalError,
  |  | 5867|      0|                    UNBOUNDLOCAL_ERROR_MSG,
  |  |  ------------------
  |  |  |  |  401|      0|    "cannot access local variable '%s' where it is not associated with a value"
  |  |  ------------------
  |  | 5868|      0|                    PyTuple_GetItem(_PyFrame_GetCode(frame)->co_localsplusnames, oparg)
  |  | 5869|      0|                );
  |  | 5870|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5871|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5872|      0|            }
  |  | 5873|      4|            _PyStackRef tmp = GETLOCAL(oparg);
  |  |  ------------------
  |  |  |  |  285|      4|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 5874|      4|            GETLOCAL(oparg) = PyStackRef_NULL;
  |  |  ------------------
  |  |  |  |  285|      4|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 5875|      4|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5876|      4|            _PyFrame_StackPointerValidate(frame);
  |  | 5877|      4|            PyStackRef_XCLOSE(tmp);
  |  | 5878|      4|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5879|      4|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      4|    { \
  |  |  |  |  201|      4|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      4|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      4|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      4|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      4|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      4|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      4|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      4|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 4]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      4|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      4|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      4|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      4|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      4|    }
  |  |  ------------------
  |  | 5880|      4|        }
  |  | 5881|       |
  |  | 5882|     82|        TARGET(DELETE_SUBSCR) {
  |  |  ------------------
  |  |  |  |  132|     82|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5883|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5884|       |            int opcode = DELETE_SUBSCR;
  |  | 5885|       |            (void)(opcode);
  |  | 5886|       |            #endif
  |  | 5887|     82|            frame->instr_ptr = next_instr;
  |  | 5888|     82|            next_instr += 1;
  |  | 5889|     82|            INSTRUCTION_STATS(DELETE_SUBSCR);
  |  |  ------------------
  |  |  |  |   71|     82|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5890|     82|            _PyStackRef container;
  |  | 5891|     82|            _PyStackRef sub;
  |  | 5892|     82|            sub = stack_pointer[-1];
  |  | 5893|     82|            container = stack_pointer[-2];
  |  | 5894|     82|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5895|     82|            _PyFrame_StackPointerValidate(frame);
  |  | 5896|     82|            int err = PyObject_DelItem(PyStackRef_AsPyObjectBorrow(container),
  |  | 5897|     82|                                       PyStackRef_AsPyObjectBorrow(sub));
  |  | 5898|     82|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5899|     82|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5899:13): [True: 82, False: 0]
  |  |  ------------------
  |  | 5900|     82|            _PyFrame_StackPointerValidate(frame);
  |  | 5901|     82|            _PyStackRef tmp = sub;
  |  | 5902|     82|            sub = PyStackRef_NULL;
  |  | 5903|     82|            stack_pointer[-1] = sub;
  |  | 5904|     82|            PyStackRef_CLOSE(tmp);
  |  | 5905|     82|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5906|     82|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5906:13): [True: 82, False: 0]
  |  |  ------------------
  |  | 5907|     82|            _PyFrame_StackPointerValidate(frame);
  |  | 5908|     82|            tmp = container;
  |  | 5909|     82|            container = PyStackRef_NULL;
  |  | 5910|     82|            stack_pointer[-2] = container;
  |  | 5911|     82|            PyStackRef_CLOSE(tmp);
  |  | 5912|     82|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5913|     82|            stack_pointer += -2;
  |  | 5914|     82|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     82|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5915|     82|            if (err) {
  |  |  ------------------
  |  |  |  Branch (5915:17): [True: 0, False: 82]
  |  |  ------------------
  |  | 5916|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5917|      0|            }
  |  | 5918|     82|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     82|    { \
  |  |  |  |  201|     82|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     82|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     82|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     82|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     82|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     82|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     82|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     82|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 82]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     82|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     82|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     82|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     82|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     82|    }
  |  |  ------------------
  |  | 5919|     82|        }
  |  | 5920|       |
  |  | 5921|    293|        TARGET(DICT_MERGE) {
  |  |  ------------------
  |  |  |  |  132|    293|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5922|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5923|       |            int opcode = DICT_MERGE;
  |  | 5924|       |            (void)(opcode);
  |  | 5925|       |            #endif
  |  | 5926|    293|            frame->instr_ptr = next_instr;
  |  | 5927|    293|            next_instr += 1;
  |  | 5928|    293|            INSTRUCTION_STATS(DICT_MERGE);
  |  |  ------------------
  |  |  |  |   71|    293|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5929|    293|            _PyStackRef callable;
  |  | 5930|    293|            _PyStackRef dict;
  |  | 5931|    293|            _PyStackRef update;
  |  | 5932|    293|            _PyStackRef u;
  |  | 5933|    293|            _PyStackRef value;
  |  | 5934|       |            // _DICT_MERGE
  |  | 5935|    293|            {
  |  | 5936|    293|                update = stack_pointer[-1];
  |  | 5937|    293|                dict = stack_pointer[-2 - (oparg - 1)];
  |  | 5938|    293|                callable = stack_pointer[-5 - (oparg - 1)];
  |  | 5939|    293|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 5940|    293|                PyObject *dict_o = PyStackRef_AsPyObjectBorrow(dict);
  |  | 5941|    293|                PyObject *update_o = PyStackRef_AsPyObjectBorrow(update);
  |  | 5942|    293|                PyObject *dupkey = NULL;
  |  | 5943|    293|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5944|    293|                _PyFrame_StackPointerValidate(frame);
  |  | 5945|    293|                int err = _PyDict_MergeUniq(dict_o, update_o, &dupkey);
  |  | 5946|    293|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5947|    293|                if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (5947:21): [True: 0, False: 293]
  |  |  ------------------
  |  | 5948|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5948:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 5949|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 5950|      0|                    _PyEval_FormatKwargsError(tstate, callable_o, update_o, dupkey);
  |  | 5951|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 5952|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5952:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 5953|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 5954|      0|                    Py_XDECREF(dupkey);
  |  |  ------------------
  |  |  |  |   69|      0|    do { \
  |  |  |  |   70|      0|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   71|      0|        if (xop != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (71:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   72|      0|            Py_DECREF(xop); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   80|      0|    do { \
  |  |  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   84|      0|            break; \
  |  |  |  |  |  |   85|      0|        } \
  |  |  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |  |  |   91|      0|        } \
  |  |  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   73|      0|        } \
  |  |  |  |   74|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (74:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5955|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 5956|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5957|      0|                }
  |  | 5958|    293|                u = update;
  |  | 5959|    293|            }
  |  | 5960|       |            // _POP_TOP
  |  | 5961|      0|            {
  |  | 5962|    293|                value = u;
  |  | 5963|    293|                stack_pointer += -1;
  |  | 5964|    293|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    293|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5965|    293|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5966|    293|                _PyFrame_StackPointerValidate(frame);
  |  | 5967|    293|                PyStackRef_XCLOSE(value);
  |  | 5968|    293|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5969|    293|            }
  |  | 5970|    293|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    293|    { \
  |  |  |  |  201|    293|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    293|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    293|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    293|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    293|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    293|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    293|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    293|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 293]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    293|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    293|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    293|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    293|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    293|    }
  |  |  ------------------
  |  | 5971|    293|        }
  |  | 5972|       |
  |  | 5973|     50|        TARGET(DICT_UPDATE) {
  |  |  ------------------
  |  |  |  |  132|     50|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5974|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5975|       |            int opcode = DICT_UPDATE;
  |  | 5976|       |            (void)(opcode);
  |  | 5977|       |            #endif
  |  | 5978|     50|            frame->instr_ptr = next_instr;
  |  | 5979|     50|            next_instr += 1;
  |  | 5980|     50|            INSTRUCTION_STATS(DICT_UPDATE);
  |  |  ------------------
  |  |  |  |   71|     50|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5981|     50|            _PyStackRef dict;
  |  | 5982|     50|            _PyStackRef update;
  |  | 5983|     50|            _PyStackRef upd;
  |  | 5984|     50|            _PyStackRef value;
  |  | 5985|       |            // _DICT_UPDATE
  |  | 5986|     50|            {
  |  | 5987|     50|                update = stack_pointer[-1];
  |  | 5988|     50|                dict = stack_pointer[-2 - (oparg - 1)];
  |  | 5989|     50|                PyObject *dict_o = PyStackRef_AsPyObjectBorrow(dict);
  |  | 5990|     50|                PyObject *update_o = PyStackRef_AsPyObjectBorrow(update);
  |  | 5991|     50|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5992|     50|                _PyFrame_StackPointerValidate(frame);
  |  | 5993|     50|                int err = PyDict_Update(dict_o, update_o);
  |  | 5994|     50|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5995|     50|                if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (5995:21): [True: 0, False: 50]
  |  |  ------------------
  |  | 5996|      0|                    int matches = _PyErr_ExceptionMatches(tstate, PyExc_AttributeError);
  |  | 5997|      0|                    if (matches) {
  |  |  ------------------
  |  |  |  Branch (5997:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 5998|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5998:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 5999|      0|                        _PyFrame_StackPointerValidate(frame);
  |  | 6000|      0|                        PyObject *exc = _PyErr_GetRaisedException(tstate);
  |  | 6001|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 6002|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (6002:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 6003|      0|                        _PyFrame_StackPointerValidate(frame);
  |  | 6004|      0|                        int has_keys = PyObject_HasAttrWithError(update_o, &_Py_ID(keys));
  |  |  ------------------
  |  |  |  |  936|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6005|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 6006|      0|                        if (has_keys == 0) {
  |  |  ------------------
  |  |  |  Branch (6006:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 6007|      0|                            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (6007:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 6008|      0|                            _PyFrame_StackPointerValidate(frame);
  |  | 6009|      0|                            _PyErr_Format(tstate, PyExc_TypeError,
  |  | 6010|      0|                                      "'%T' object is not a mapping",
  |  | 6011|      0|                                      update_o);
  |  | 6012|      0|                            _PyFrame_StackPointerInvalidate(frame);
  |  | 6013|      0|                            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (6013:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 6014|      0|                            _PyFrame_StackPointerValidate(frame);
  |  | 6015|      0|                            Py_DECREF(exc);
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6016|      0|                            _PyFrame_StackPointerInvalidate(frame);
  |  | 6017|      0|                        }
  |  | 6018|      0|                        else {
  |  | 6019|      0|                            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (6019:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 6020|      0|                            _PyFrame_StackPointerValidate(frame);
  |  | 6021|      0|                            _PyErr_ChainExceptions1(exc);
  |  | 6022|      0|                            _PyFrame_StackPointerInvalidate(frame);
  |  | 6023|      0|                        }
  |  | 6024|      0|                    }
  |  | 6025|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6026|      0|                }
  |  | 6027|     50|                upd = update;
  |  | 6028|     50|            }
  |  | 6029|       |            // _POP_TOP
  |  | 6030|      0|            {
  |  | 6031|     50|                value = upd;
  |  | 6032|     50|                stack_pointer += -1;
  |  | 6033|     50|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     50|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6034|     50|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6035|     50|                _PyFrame_StackPointerValidate(frame);
  |  | 6036|     50|                PyStackRef_XCLOSE(value);
  |  | 6037|     50|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6038|     50|            }
  |  | 6039|     50|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     50|    { \
  |  |  |  |  201|     50|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     50|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     50|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     50|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     50|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     50|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     50|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     50|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 50]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     50|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     50|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     50|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     50|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     50|    }
  |  |  ------------------
  |  | 6040|     50|        }
  |  | 6041|       |
  |  | 6042|      0|        TARGET(END_ASYNC_FOR) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6043|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6044|       |            int opcode = END_ASYNC_FOR;
  |  | 6045|       |            (void)(opcode);
  |  | 6046|       |            #endif
  |  | 6047|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6048|      0|            (void)this_instr;
  |  | 6049|      0|            frame->instr_ptr = next_instr;
  |  | 6050|      0|            next_instr += 1;
  |  | 6051|      0|            INSTRUCTION_STATS(END_ASYNC_FOR);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6052|      0|            _PyStackRef awaitable_st;
  |  | 6053|      0|            _PyStackRef exc_st;
  |  | 6054|      0|            exc_st = stack_pointer[-1];
  |  | 6055|      0|            awaitable_st = stack_pointer[-2];
  |  | 6056|      0|            JUMPBY(0);
  |  |  ------------------
  |  |  |  |  261|      0|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 6057|      0|            (void)oparg;
  |  | 6058|      0|            PyObject *exc = PyStackRef_AsPyObjectBorrow(exc_st);
  |  | 6059|      0|            assert(exc && PyExceptionInstance_Check(exc));
  |  |  ------------------
  |  |  |  Branch (6059:13): [True: 0, False: 0]
  |  |  |  Branch (6059:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 6060|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6061|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 6062|      0|            int matches = PyErr_GivenExceptionMatches(exc, PyExc_StopAsyncIteration);
  |  | 6063|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 6064|      0|            if (matches) {
  |  |  ------------------
  |  |  |  Branch (6064:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6065|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (6065:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6066|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 6067|      0|                _PyStackRef tmp = exc_st;
  |  | 6068|      0|                exc_st = PyStackRef_NULL;
  |  | 6069|      0|                stack_pointer[-1] = exc_st;
  |  | 6070|      0|                PyStackRef_CLOSE(tmp);
  |  | 6071|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6072|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (6072:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6073|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 6074|      0|                tmp = awaitable_st;
  |  | 6075|      0|                awaitable_st = PyStackRef_NULL;
  |  | 6076|      0|                stack_pointer[-2] = awaitable_st;
  |  | 6077|      0|                PyStackRef_CLOSE(tmp);
  |  | 6078|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6079|      0|                stack_pointer += -2;
  |  | 6080|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6081|      0|            }
  |  | 6082|      0|            else {
  |  | 6083|      0|                Py_INCREF(exc);
  |  |  ------------------
  |  |  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6084|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (6084:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6085|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 6086|      0|                _PyErr_SetRaisedException(tstate, exc);
  |  | 6087|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6088|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (6088:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6089|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 6090|      0|                monitor_reraise(tstate, frame, this_instr);
  |  | 6091|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6092|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (6092:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6093|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 6094|      0|                JUMP_TO_LABEL(exception_unwind);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6095|      0|            }
  |  | 6096|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 6097|      0|        }
  |  | 6098|       |
  |  | 6099|     33|        TARGET(END_FOR) {
  |  |  ------------------
  |  |  |  |  132|     33|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6100|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6101|       |            int opcode = END_FOR;
  |  | 6102|       |            (void)(opcode);
  |  | 6103|       |            #endif
  |  | 6104|     33|            next_instr += 1;
  |  | 6105|     33|            INSTRUCTION_STATS(END_FOR);
  |  |  ------------------
  |  |  |  |   71|     33|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6106|     33|            _PyStackRef value;
  |  | 6107|     33|            value = stack_pointer[-1];
  |  | 6108|     33|            stack_pointer += -1;
  |  | 6109|     33|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     33|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6110|     33|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6111|     33|            _PyFrame_StackPointerValidate(frame);
  |  | 6112|     33|            PyStackRef_CLOSE(value);
  |  | 6113|     33|            _PyFrame_StackPointerInvalidate(frame);
  |  | 6114|     33|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     33|    { \
  |  |  |  |  201|     33|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     33|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     33|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     33|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     33|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     33|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     33|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     33|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 33]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     33|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     33|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     33|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     33|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     33|    }
  |  |  ------------------
  |  | 6115|     33|        }
  |  | 6116|       |
  |  | 6117|     33|        TARGET(END_SEND) {
  |  |  ------------------
  |  |  |  |  132|      1|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6118|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6119|       |            int opcode = END_SEND;
  |  | 6120|       |            (void)(opcode);
  |  | 6121|       |            #endif
  |  | 6122|      1|            frame->instr_ptr = next_instr;
  |  | 6123|      1|            next_instr += 1;
  |  | 6124|      1|            INSTRUCTION_STATS(END_SEND);
  |  |  ------------------
  |  |  |  |   71|      1|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6125|      1|            _PyStackRef receiver;
  |  | 6126|      1|            _PyStackRef index_or_null;
  |  | 6127|      1|            _PyStackRef value;
  |  | 6128|      1|            _PyStackRef val;
  |  | 6129|      1|            value = stack_pointer[-1];
  |  | 6130|      1|            index_or_null = stack_pointer[-2];
  |  | 6131|      1|            receiver = stack_pointer[-3];
  |  | 6132|      1|            val = value;
  |  | 6133|      1|            (void)index_or_null;
  |  | 6134|      1|            stack_pointer[-3] = val;
  |  | 6135|      1|            stack_pointer += -2;
  |  | 6136|      1|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      1|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6137|      1|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6138|      1|            _PyFrame_StackPointerValidate(frame);
  |  | 6139|      1|            PyStackRef_CLOSE(receiver);
  |  | 6140|      1|            _PyFrame_StackPointerInvalidate(frame);
  |  | 6141|      1|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      1|    { \
  |  |  |  |  201|      1|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      1|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      1|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      1|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      1|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      1|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      1|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      1|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      1|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      1|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      1|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      1|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      1|    }
  |  |  ------------------
  |  | 6142|      1|        }
  |  | 6143|       |
  |  | 6144|      1|        TARGET(ENTER_EXECUTOR) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6145|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6146|       |            int opcode = ENTER_EXECUTOR;
  |  | 6147|       |            (void)(opcode);
  |  | 6148|       |            #endif
  |  | 6149|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6150|      0|            (void)this_instr;
  |  | 6151|      0|            frame->instr_ptr = next_instr;
  |  | 6152|      0|            next_instr += 1;
  |  | 6153|      0|            INSTRUCTION_STATS(ENTER_EXECUTOR);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6154|      0|            opcode = ENTER_EXECUTOR;
  |  |  ------------------
  |  |  |  |  242|      0|#define ENTER_EXECUTOR                         254
  |  |  ------------------
  |  | 6155|       |            #ifdef _Py_TIER2
  |  | 6156|       |            PyCodeObject *code = _PyFrame_GetCode(frame);
  |  | 6157|       |            _PyExecutorObject *executor = code->co_executors->executors[oparg & 255];
  |  | 6158|       |            if (IS_JIT_TRACING()) {
  |  | 6159|       |                int og_opcode = executor->vm_data.opcode;
  |  | 6160|       |                int og_oparg = (oparg & ~255) | executor->vm_data.oparg;
  |  | 6161|       |                next_instr = this_instr;
  |  | 6162|       |                if (_PyJit_EnterExecutorShouldStopTracing(og_opcode)) {
  |  | 6163|       |                    if (_PyOpcode_Caches[_PyOpcode_Deopt[og_opcode]]) {
  |  | 6164|       |                        PAUSE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  | 6165|       |                    }
  |  | 6166|       |                    opcode = og_opcode;
  |  | 6167|       |                    oparg = og_oparg;
  |  | 6168|       |                    DISPATCH_GOTO_NON_TRACING();
  |  | 6169|       |                }
  |  | 6170|       |                JUMP_TO_LABEL(stop_tracing);
  |  | 6171|       |            }
  |  | 6172|       |            assert(executor->vm_data.index == INSTR_OFFSET() - 1);
  |  | 6173|       |            assert(executor->vm_data.code == code);
  |  | 6174|       |            assert(executor->vm_data.valid);
  |  | 6175|       |            assert(tstate->current_executor == NULL);
  |  | 6176|       |            uintptr_t iversion = FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(code->_co_instrumentation_version);
  |  | 6177|       |            if (_Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker) != iversion) {
  |  | 6178|       |                opcode = executor->vm_data.opcode;
  |  | 6179|       |                oparg = (oparg & ~255) | executor->vm_data.oparg;
  |  | 6180|       |                next_instr = this_instr;
  |  | 6181|       |                if (_PyOpcode_Caches[_PyOpcode_Deopt[opcode]]) {
  |  | 6182|       |                    PAUSE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  | 6183|       |                }
  |  | 6184|       |                DISPATCH_GOTO();
  |  | 6185|       |            }
  |  | 6186|       |            assert(executor != tstate->interp->cold_executor);
  |  | 6187|       |            tstate->jit_exit = NULL;
  |  | 6188|       |            TIER1_TO_TIER2(executor);
  |  | 6189|       |            #else
  |  | 6190|      0|            Py_FatalError("ENTER_EXECUTOR is not supported in this build");
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  |  | 6191|      0|            #endif /* _Py_TIER2 */
  |  | 6192|      0|        }
  |  | 6193|       |
  |  | 6194|    310|        TARGET(EXIT_INIT_CHECK) {
  |  |  ------------------
  |  |  |  |  132|    310|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6195|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6196|       |            int opcode = EXIT_INIT_CHECK;
  |  | 6197|       |            (void)(opcode);
  |  | 6198|       |            #endif
  |  | 6199|    310|            frame->instr_ptr = next_instr;
  |  | 6200|    310|            next_instr += 1;
  |  | 6201|    310|            INSTRUCTION_STATS(EXIT_INIT_CHECK);
  |  |  ------------------
  |  |  |  |   71|    310|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6202|    310|            _PyStackRef should_be_none;
  |  | 6203|    310|            should_be_none = stack_pointer[-1];
  |  | 6204|    310|            if (!PyStackRef_IsNone(should_be_none)) {
  |  |  ------------------
  |  |  |  |  495|    310|#define PyStackRef_IsNone(REF) ((REF).bits == (((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    310|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6204:17): [True: 0, False: 310]
  |  |  ------------------
  |  | 6205|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6206|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 6207|      0|                PyErr_Format(PyExc_TypeError,
  |  | 6208|      0|                             "__init__() should return None, not '%.200s'",
  |  | 6209|      0|                             Py_TYPE(PyStackRef_AsPyObjectBorrow(should_be_none))->tp_name);
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6210|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6211|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6212|      0|            }
  |  | 6213|    310|            stack_pointer += -1;
  |  | 6214|    310|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    310|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6215|    310|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    310|    { \
  |  |  |  |  201|    310|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    310|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    310|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    310|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    310|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    310|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    310|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    310|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 310]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    310|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    310|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    310|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    310|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    310|    }
  |  |  ------------------
  |  | 6216|    310|        }
  |  | 6217|       |
  |  | 6218|  1.32k|        TARGET(EXTENDED_ARG) {
  |  |  ------------------
  |  |  |  |  132|  1.32k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6219|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6220|       |            int opcode = EXTENDED_ARG;
  |  | 6221|       |            (void)(opcode);
  |  | 6222|       |            #endif
  |  | 6223|  1.32k|            frame->instr_ptr = next_instr;
  |  | 6224|  1.32k|            next_instr += 1;
  |  | 6225|  1.32k|            INSTRUCTION_STATS(EXTENDED_ARG);
  |  |  ------------------
  |  |  |  |   71|  1.32k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6226|  1.32k|            opcode = EXTENDED_ARG;
  |  |  ------------------
  |  |  |  |   77|  1.32k|#define EXTENDED_ARG                            64
  |  |  ------------------
  |  | 6227|  1.32k|            assert(oparg);
  |  |  ------------------
  |  |  |  Branch (6227:13): [True: 1.32k, False: 0]
  |  |  ------------------
  |  | 6228|  1.32k|            opcode = next_instr->op.code;
  |  | 6229|  1.32k|            oparg = oparg << 8 | next_instr->op.arg;
  |  | 6230|  1.32k|            PRE_DISPATCH_GOTO();
  |  |  ------------------
  |  |  |  |  176|  1.32k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  ------------------
  |  | 6231|  1.32k|            DISPATCH_GOTO();
  |  |  ------------------
  |  |  |  |  133|  1.32k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  ------------------
  |  | 6232|  1.32k|        }
  |  | 6233|       |
  |  | 6234|    430|        TARGET(FORMAT_SIMPLE) {
  |  |  ------------------
  |  |  |  |  132|    430|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6235|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6236|       |            int opcode = FORMAT_SIMPLE;
  |  | 6237|       |            (void)(opcode);
  |  | 6238|       |            #endif
  |  | 6239|    430|            frame->instr_ptr = next_instr;
  |  | 6240|    430|            next_instr += 1;
  |  | 6241|    430|            INSTRUCTION_STATS(FORMAT_SIMPLE);
  |  |  ------------------
  |  |  |  |   71|    430|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6242|    430|            _PyStackRef value;
  |  | 6243|    430|            _PyStackRef res;
  |  | 6244|    430|            value = stack_pointer[-1];
  |  | 6245|    430|            PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 6246|    430|            if (!PyUnicode_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |  104|    430|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    430|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    430|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    430|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6246:17): [True: 91, False: 339]
  |  |  ------------------
  |  | 6247|     91|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6248|     91|                _PyFrame_StackPointerValidate(frame);
  |  | 6249|     91|                PyObject *res_o = PyObject_Format(value_o, NULL);
  |  | 6250|     91|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6251|     91|                stack_pointer += -1;
  |  | 6252|     91|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     91|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6253|     91|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6254|     91|                _PyFrame_StackPointerValidate(frame);
  |  | 6255|     91|                PyStackRef_CLOSE(value);
  |  | 6256|     91|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6257|     91|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (6257:21): [True: 0, False: 91]
  |  |  ------------------
  |  | 6258|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6259|      0|                }
  |  | 6260|     91|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 6261|     91|            }
  |  | 6262|    339|            else {
  |  | 6263|    339|                res = value;
  |  | 6264|    339|                stack_pointer += -1;
  |  | 6265|    339|            }
  |  | 6266|    430|            stack_pointer[0] = res;
  |  | 6267|    430|            stack_pointer += 1;
  |  | 6268|    430|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    430|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6269|    430|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    430|    { \
  |  |  |  |  201|    430|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    430|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    430|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    430|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    430|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    430|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    430|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    430|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 430]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    430|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    430|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    430|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    430|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    430|    }
  |  |  ------------------
  |  | 6270|    430|        }
  |  | 6271|       |
  |  | 6272|      0|        TARGET(FORMAT_WITH_SPEC) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6273|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6274|       |            int opcode = FORMAT_WITH_SPEC;
  |  | 6275|       |            (void)(opcode);
  |  | 6276|       |            #endif
  |  | 6277|      0|            frame->instr_ptr = next_instr;
  |  | 6278|      0|            next_instr += 1;
  |  | 6279|      0|            INSTRUCTION_STATS(FORMAT_WITH_SPEC);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6280|      0|            _PyStackRef value;
  |  | 6281|      0|            _PyStackRef fmt_spec;
  |  | 6282|      0|            _PyStackRef res;
  |  | 6283|      0|            fmt_spec = stack_pointer[-1];
  |  | 6284|      0|            value = stack_pointer[-2];
  |  | 6285|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6286|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 6287|      0|            PyObject *res_o = PyObject_Format(PyStackRef_AsPyObjectBorrow(value), PyStackRef_AsPyObjectBorrow(fmt_spec));
  |  | 6288|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 6289|      0|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (6289:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 6290|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 6291|      0|            _PyStackRef tmp = fmt_spec;
  |  | 6292|      0|            fmt_spec = PyStackRef_NULL;
  |  | 6293|      0|            stack_pointer[-1] = fmt_spec;
  |  | 6294|      0|            PyStackRef_CLOSE(tmp);
  |  | 6295|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 6296|      0|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (6296:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 6297|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 6298|      0|            tmp = value;
  |  | 6299|      0|            value = PyStackRef_NULL;
  |  | 6300|      0|            stack_pointer[-2] = value;
  |  | 6301|      0|            PyStackRef_CLOSE(tmp);
  |  | 6302|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 6303|      0|            stack_pointer += -2;
  |  | 6304|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6305|      0|            if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (6305:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6306|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6307|      0|            }
  |  | 6308|      0|            res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 6309|      0|            stack_pointer[0] = res;
  |  | 6310|      0|            stack_pointer += 1;
  |  | 6311|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6312|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 6313|      0|        }
  |  | 6314|       |
  |  | 6315|  1.00k|        TARGET(FOR_ITER) {
  |  |  ------------------
  |  |  |  |  132|  1.00k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6316|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6317|       |            int opcode = FOR_ITER;
  |  | 6318|       |            (void)(opcode);
  |  | 6319|       |            #endif
  |  | 6320|  1.00k|            frame->instr_ptr = next_instr;
  |  | 6321|  1.00k|            next_instr += 2;
  |  | 6322|  1.00k|            INSTRUCTION_STATS(FOR_ITER);
  |  |  ------------------
  |  |  |  |   71|  1.00k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6323|  1.03k|            PREDICTED_FOR_ITER:;
  |  | 6324|  1.03k|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  | 6325|  1.03k|            (void)this_instr;
  |  | 6326|  1.03k|            _PyStackRef iter;
  |  | 6327|  1.03k|            _PyStackRef null_or_index;
  |  | 6328|  1.03k|            _PyStackRef next;
  |  | 6329|       |            // _SPECIALIZE_FOR_ITER
  |  | 6330|  1.03k|            {
  |  | 6331|  1.03k|                null_or_index = stack_pointer[-1];
  |  | 6332|  1.03k|                iter = stack_pointer[-2];
  |  | 6333|  1.03k|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 6334|  1.03k|                (void)counter;
  |  | 6335|  1.03k|                #if ENABLE_SPECIALIZATION
  |  | 6336|  1.03k|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|  1.03k|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 163, False: 868]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6337|    163|                    next_instr = this_instr;
  |  | 6338|    163|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6339|    163|                    _PyFrame_StackPointerValidate(frame);
  |  | 6340|    163|                    _Py_Specialize_ForIter(iter, null_or_index, next_instr, oparg);
  |  | 6341|    163|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 6342|    163|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|    163|    { \
  |  |  |  |  217|    163|        opcode = next_instr->op.code; \
  |  |  |  |  218|    163|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    163|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|    163|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|    163|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|    163|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|    163|    }
  |  |  ------------------
  |  | 6343|    163|                }
  |  | 6344|  1.03k|                OPCODE_DEFERRED_INC(FOR_ITER);
  |  |  ------------------
  |  |  |  |   90|  1.03k|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 6345|  1.03k|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|  1.03k|    do { \
  |  |  |  |  378|  1.03k|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|  1.03k|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 1.03k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6346|  1.03k|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 6347|  1.03k|            }
  |  | 6348|       |            // _FOR_ITER
  |  | 6349|  1.03k|            {
  |  | 6350|  1.03k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6351|  1.03k|                _PyFrame_StackPointerValidate(frame);
  |  | 6352|  1.03k|                _PyStackRef item = _PyForIter_VirtualIteratorNext(tstate, frame, iter, &null_or_index);
  |  | 6353|  1.03k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6354|  1.03k|                if (!PyStackRef_IsValid(item)) {
  |  |  ------------------
  |  |  |  Branch (6354:21): [True: 152, False: 879]
  |  |  ------------------
  |  | 6355|    152|                    if (PyStackRef_IsError(item)) {
  |  |  ------------------
  |  |  |  Branch (6355:25): [True: 0, False: 152]
  |  |  ------------------
  |  | 6356|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6357|      0|                    }
  |  | 6358|    152|                    JUMPBY(oparg + 1);
  |  |  ------------------
  |  |  |  |  261|    152|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 6359|    152|                    stack_pointer[-1] = null_or_index;
  |  | 6360|    152|                    DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    152|    { \
  |  |  |  |  201|    152|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    152|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    152|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    152|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    152|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    152|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    152|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    152|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 152]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    152|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    152|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    152|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    152|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    152|    }
  |  |  ------------------
  |  | 6361|    152|                }
  |  | 6362|  1.03k|                next = item;
  |  | 6363|  1.03k|            }
  |  | 6364|      0|            stack_pointer[-1] = null_or_index;
  |  | 6365|  1.03k|            stack_pointer[0] = next;
  |  | 6366|  1.03k|            stack_pointer += 1;
  |  | 6367|  1.03k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.03k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6368|  1.03k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.03k|    { \
  |  |  |  |  201|  1.03k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.03k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.03k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.03k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.03k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.03k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.03k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.03k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.03k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.03k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.03k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.03k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.03k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.03k|    }
  |  |  ------------------
  |  | 6369|  1.03k|        }
  |  | 6370|       |
  |  | 6371|     59|        TARGET(FOR_ITER_GEN) {
  |  |  ------------------
  |  |  |  |  132|     59|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6372|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6373|       |            int opcode = FOR_ITER_GEN;
  |  | 6374|       |            (void)(opcode);
  |  | 6375|       |            #endif
  |  | 6376|     59|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6377|     59|            (void)this_instr;
  |  | 6378|     59|            frame->instr_ptr = next_instr;
  |  | 6379|     59|            next_instr += 2;
  |  | 6380|     59|            INSTRUCTION_STATS(FOR_ITER_GEN);
  |  |  ------------------
  |  |  |  |   71|     59|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6381|     59|            static_assert(INLINE_CACHE_ENTRIES_FOR_ITER == 1, "incorrect cache size");
  |  | 6382|     59|            _PyStackRef iter;
  |  | 6383|     59|            _PyStackRef gen_frame;
  |  | 6384|     59|            _PyStackRef new_frame;
  |  | 6385|       |            /* Skip 1 cache entry */
  |  | 6386|       |            // _CHECK_PEP_523
  |  | 6387|     59|            {
  |  | 6388|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6389|      0|                    UPDATE_MISS_STATS(FOR_ITER);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 6390|      0|                    assert(_PyOpcode_Deopt[opcode] == (FOR_ITER));
  |  |  ------------------
  |  |  |  Branch (6390:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 6391|      0|                    JUMP_TO_PREDICTED(FOR_ITER);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 6392|      0|                }
  |  | 6393|     59|            }
  |  | 6394|       |            // _FOR_ITER_GEN_FRAME
  |  | 6395|     59|            {
  |  | 6396|     59|                iter = stack_pointer[-2];
  |  | 6397|     59|                PyGenObject *gen = (PyGenObject *)PyStackRef_AsPyObjectBorrow(iter);
  |  | 6398|     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 (6398:21): [True: 0, False: 59]
  |  |  ------------------
  |  | 6399|      0|                    UPDATE_MISS_STATS(FOR_ITER);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 6400|      0|                    assert(_PyOpcode_Deopt[opcode] == (FOR_ITER));
  |  |  ------------------
  |  |  |  Branch (6400:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 6401|      0|                    JUMP_TO_PREDICTED(FOR_ITER);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 6402|      0|                }
  |  | 6403|     59|                if (!gen_try_set_executing((PyGenObject *)gen)) {
  |  |  ------------------
  |  |  |  Branch (6403:21): [True: 0, False: 59]
  |  |  ------------------
  |  | 6404|      0|                    UPDATE_MISS_STATS(FOR_ITER);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 6405|      0|                    assert(_PyOpcode_Deopt[opcode] == (FOR_ITER));
  |  |  ------------------
  |  |  |  Branch (6405:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 6406|      0|                    JUMP_TO_PREDICTED(FOR_ITER);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 6407|      0|                }
  |  | 6408|     59|                STAT_INC(FOR_ITER, hit);
  |  |  ------------------
  |  |  |  |   73|     59|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 6409|     59|                _PyInterpreterFrame *pushed_frame = &gen->gi_iframe;
  |  | 6410|     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
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6411|     59|                gen->gi_exc_state.previous_item = tstate->exc_info;
  |  | 6412|     59|                tstate->exc_info = &gen->gi_exc_state;
  |  | 6413|     59|                pushed_frame->previous = frame;
  |  | 6414|     59|                frame->return_offset = (uint16_t)( 2u + oparg);
  |  | 6415|     59|                gen_frame = PyStackRef_Wrap(pushed_frame);
  |  | 6416|     59|            }
  |  | 6417|       |            // _PUSH_FRAME
  |  | 6418|      0|            {
  |  | 6419|     59|                new_frame = gen_frame;
  |  | 6420|     59|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (6420:17): [True: 59, False: 0]
  |  |  ------------------
  |  | 6421|     59|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 6422|     59|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6423|     59|                _PyFrame_StackPointerValidate(frame);
  |  | 6424|     59|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (6424:17): [True: 59, False: 0]
  |  |  |  Branch (6424:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6425|     59|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|     59|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 6426|     59|                frame = tstate->current_frame = temp;
  |  | 6427|     59|                tstate->py_recursion_remaining--;
  |  | 6428|     59|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 6429|     59|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6430|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6431|       |                #ifdef Py_DEBUG
  |  | 6432|       |                assert(frame->previous->stackpointer_valid == 1);
  |  | 6433|       |                #endif
  |  | 6434|     59|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|     59|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 6435|     59|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|     59|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 6436|     59|            }
  |  | 6437|     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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     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|    }
  |  |  ------------------
  |  | 6438|     59|        }
  |  | 6439|       |
  |  | 6440|  1.85k|        TARGET(FOR_ITER_LIST) {
  |  |  ------------------
  |  |  |  |  132|  1.85k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6441|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6442|       |            int opcode = FOR_ITER_LIST;
  |  | 6443|       |            (void)(opcode);
  |  | 6444|       |            #endif
  |  | 6445|  1.85k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6446|  1.85k|            (void)this_instr;
  |  | 6447|  1.85k|            frame->instr_ptr = next_instr;
  |  | 6448|  1.85k|            next_instr += 2;
  |  | 6449|  1.85k|            INSTRUCTION_STATS(FOR_ITER_LIST);
  |  |  ------------------
  |  |  |  |   71|  1.85k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6450|  1.85k|            static_assert(INLINE_CACHE_ENTRIES_FOR_ITER == 1, "incorrect cache size");
  |  | 6451|  1.85k|            _PyStackRef iter;
  |  | 6452|  1.85k|            _PyStackRef null_or_index;
  |  | 6453|  1.85k|            _PyStackRef next;
  |  | 6454|       |            /* Skip 1 cache entry */
  |  | 6455|       |            // _ITER_CHECK_LIST
  |  | 6456|  1.85k|            {
  |  | 6457|  1.85k|                null_or_index = stack_pointer[-1];
  |  | 6458|  1.85k|                iter = stack_pointer[-2];
  |  | 6459|  1.85k|                PyObject *iter_o = PyStackRef_AsPyObjectBorrow(iter);
  |  | 6460|  1.85k|                if (Py_TYPE(iter_o) != &PyList_Type) {
  |  |  ------------------
  |  |  |  |  213|  1.85k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.85k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.85k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6460:21): [True: 16, False: 1.84k]
  |  |  ------------------
  |  | 6461|     16|                    UPDATE_MISS_STATS(FOR_ITER);
  |  |  ------------------
  |  |  |  |  299|     16|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 6462|     16|                    assert(_PyOpcode_Deopt[opcode] == (FOR_ITER));
  |  |  ------------------
  |  |  |  Branch (6462:21): [True: 16, False: 0]
  |  |  ------------------
  |  | 6463|     16|                    JUMP_TO_PREDICTED(FOR_ITER);
  |  |  ------------------
  |  |  |  |  136|     16|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 6464|      0|                }
  |  | 6465|  1.85k|                assert(PyStackRef_IsTaggedInt(null_or_index));
  |  |  ------------------
  |  |  |  Branch (6465:17): [True: 1.84k, False: 0]
  |  |  ------------------
  |  | 6466|       |                #ifdef Py_GIL_DISABLED
  |  | 6467|       |                if (!_Py_IsOwnedByCurrentThread(iter_o) && !_PyObject_GC_IS_SHARED(iter_o)) {
  |  | 6468|       |                    UPDATE_MISS_STATS(FOR_ITER);
  |  | 6469|       |                    assert(_PyOpcode_Deopt[opcode] == (FOR_ITER));
  |  | 6470|       |                    JUMP_TO_PREDICTED(FOR_ITER);
  |  | 6471|       |                }
  |  | 6472|       |                #endif
  |  | 6473|  1.84k|            }
  |  | 6474|       |            // _ITER_JUMP_LIST
  |  | 6475|  1.84k|            {
  |  | 6476|       |                #ifdef Py_GIL_DISABLED
  |  | 6477|       |
  |  | 6478|       |                #else
  |  | 6479|  1.84k|                PyObject *list_o = PyStackRef_AsPyObjectBorrow(iter);
  |  | 6480|  1.84k|                assert(Py_TYPE(list_o) == &PyList_Type);
  |  |  ------------------
  |  |  |  Branch (6480:17): [True: 1.84k, False: 0]
  |  |  ------------------
  |  | 6481|  1.84k|                STAT_INC(FOR_ITER, hit);
  |  |  ------------------
  |  |  |  |   73|  1.84k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 6482|  1.84k|                if ((size_t)PyStackRef_UntagInt(null_or_index) >= (size_t)PyList_GET_SIZE(list_o)) {
  |  |  ------------------
  |  |  |  |   38|  1.84k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.84k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.84k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6482:21): [True: 157, False: 1.68k]
  |  |  ------------------
  |  | 6483|    157|                    null_or_index = PyStackRef_TagInt(-1);
  |  | 6484|    157|                    JUMPBY(oparg + 1);
  |  |  ------------------
  |  |  |  |  261|    157|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 6485|    157|                    stack_pointer[-1] = null_or_index;
  |  | 6486|    157|                    DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    157|    { \
  |  |  |  |  201|    157|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    157|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    157|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    157|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    157|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    157|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    157|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    157|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 157]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    157|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    157|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    157|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    157|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    157|    }
  |  |  ------------------
  |  | 6487|    157|                }
  |  | 6488|  1.84k|                #endif
  |  | 6489|  1.84k|            }
  |  | 6490|       |            // _ITER_NEXT_LIST
  |  | 6491|      0|            {
  |  | 6492|  1.84k|                PyObject *list_o = PyStackRef_AsPyObjectBorrow(iter);
  |  | 6493|  1.84k|                assert(PyList_CheckExact(list_o));
  |  |  ------------------
  |  |  |  Branch (6493:17): [True: 1.68k, False: 157]
  |  |  ------------------
  |  | 6494|       |                #ifdef Py_GIL_DISABLED
  |  | 6495|       |                assert(_Py_IsOwnedByCurrentThread(list_o) ||
  |  | 6496|       |                  _PyObject_GC_IS_SHARED(list_o));
  |  | 6497|       |                STAT_INC(FOR_ITER, hit);
  |  | 6498|       |                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6499|       |                _PyFrame_StackPointerValidate(frame);
  |  | 6500|       |                int result = _PyList_GetItemRefNoLock((PyListObject *)list_o, PyStackRef_UntagInt(null_or_index), &next);
  |  | 6501|       |                _PyFrame_StackPointerInvalidate(frame);
  |  | 6502|       |                if (result < 0) {
  |  | 6503|       |                    UPDATE_MISS_STATS(FOR_ITER);
  |  | 6504|       |                    assert(_PyOpcode_Deopt[opcode] == (FOR_ITER));
  |  | 6505|       |                    JUMP_TO_PREDICTED(FOR_ITER);
  |  | 6506|       |                }
  |  | 6507|       |                if (result == 0) {
  |  | 6508|       |                    null_or_index = PyStackRef_TagInt(-1);
  |  | 6509|       |                    JUMPBY(oparg + 1);
  |  | 6510|       |                    stack_pointer[-1] = null_or_index;
  |  | 6511|       |                    DISPATCH();
  |  | 6512|       |                }
  |  | 6513|       |                #else
  |  | 6514|  1.68k|                next = PyStackRef_FromPyObjectNew(PyList_GET_ITEM(list_o, PyStackRef_UntagInt(null_or_index)));
  |  |  ------------------
  |  |  |  |  611|  1.68k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.68k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (37:38): [True: 1.68k, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6515|      0|                #endif
  |  | 6516|      0|                null_or_index = PyStackRef_IncrementTaggedIntNoOverflow(null_or_index);
  |  | 6517|  1.68k|            }
  |  | 6518|      0|            stack_pointer[-1] = null_or_index;
  |  | 6519|  1.68k|            stack_pointer[0] = next;
  |  | 6520|  1.68k|            stack_pointer += 1;
  |  | 6521|  1.68k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.68k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6522|  1.68k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.68k|    { \
  |  |  |  |  201|  1.68k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.68k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.68k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.68k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.68k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.68k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.68k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.68k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.68k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.68k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.68k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.68k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.68k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.68k|    }
  |  |  ------------------
  |  | 6523|  1.68k|        }
  |  | 6524|       |
  |  | 6525|     82|        TARGET(FOR_ITER_RANGE) {
  |  |  ------------------
  |  |  |  |  132|     82|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6526|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6527|       |            int opcode = FOR_ITER_RANGE;
  |  | 6528|       |            (void)(opcode);
  |  | 6529|       |            #endif
  |  | 6530|     82|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6531|     82|            (void)this_instr;
  |  | 6532|     82|            frame->instr_ptr = next_instr;
  |  | 6533|     82|            next_instr += 2;
  |  | 6534|     82|            INSTRUCTION_STATS(FOR_ITER_RANGE);
  |  |  ------------------
  |  |  |  |   71|     82|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6535|     82|            static_assert(INLINE_CACHE_ENTRIES_FOR_ITER == 1, "incorrect cache size");
  |  | 6536|     82|            _PyStackRef iter;
  |  | 6537|     82|            _PyStackRef next;
  |  | 6538|       |            /* Skip 1 cache entry */
  |  | 6539|       |            // _ITER_CHECK_RANGE
  |  | 6540|     82|            {
  |  | 6541|     82|                iter = stack_pointer[-2];
  |  | 6542|     82|                _PyRangeIterObject *r = (_PyRangeIterObject *)PyStackRef_AsPyObjectBorrow(iter);
  |  | 6543|     82|                if (Py_TYPE(r) != &PyRangeIter_Type) {
  |  |  ------------------
  |  |  |  |  213|     82|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     82|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     82|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6543:21): [True: 0, False: 82]
  |  |  ------------------
  |  | 6544|      0|                    UPDATE_MISS_STATS(FOR_ITER);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 6545|      0|                    assert(_PyOpcode_Deopt[opcode] == (FOR_ITER));
  |  |  ------------------
  |  |  |  Branch (6545:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 6546|      0|                    JUMP_TO_PREDICTED(FOR_ITER);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 6547|      0|                }
  |  | 6548|       |                #ifdef Py_GIL_DISABLED
  |  | 6549|       |                if (!_PyObject_IsUniquelyReferenced((PyObject *)r)) {
  |  | 6550|       |                    UPDATE_MISS_STATS(FOR_ITER);
  |  | 6551|       |                    assert(_PyOpcode_Deopt[opcode] == (FOR_ITER));
  |  | 6552|       |                    JUMP_TO_PREDICTED(FOR_ITER);
  |  | 6553|       |                }
  |  | 6554|       |                #endif
  |  | 6555|     82|            }
  |  | 6556|       |            // _ITER_JUMP_RANGE
  |  | 6557|     82|            {
  |  | 6558|     82|                _PyRangeIterObject *r = (_PyRangeIterObject *)PyStackRef_AsPyObjectBorrow(iter);
  |  | 6559|     82|                assert(Py_TYPE(r) == &PyRangeIter_Type);
  |  |  ------------------
  |  |  |  Branch (6559:17): [True: 82, False: 0]
  |  |  ------------------
  |  | 6560|       |                #ifdef Py_GIL_DISABLED
  |  | 6561|       |                assert(_PyObject_IsUniquelyReferenced((PyObject *)r));
  |  | 6562|       |                #endif
  |  | 6563|     82|                STAT_INC(FOR_ITER, hit);
  |  |  ------------------
  |  |  |  |   73|     82|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 6564|     82|                if (r->len <= 0) {
  |  |  ------------------
  |  |  |  Branch (6564:21): [True: 20, False: 62]
  |  |  ------------------
  |  | 6565|     20|                    JUMPBY(oparg + 1);
  |  |  ------------------
  |  |  |  |  261|     20|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 6566|     20|                    DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     20|    { \
  |  |  |  |  201|     20|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     20|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     20|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     20|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     20|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     20|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     20|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     20|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 20]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     20|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     20|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     20|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     20|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     20|    }
  |  |  ------------------
  |  | 6567|     20|                }
  |  | 6568|     82|            }
  |  | 6569|       |            // _ITER_NEXT_RANGE
  |  | 6570|      0|            {
  |  | 6571|     82|                _PyRangeIterObject *r = (_PyRangeIterObject *)PyStackRef_AsPyObjectBorrow(iter);
  |  | 6572|     82|                assert(Py_TYPE(r) == &PyRangeIter_Type);
  |  |  ------------------
  |  |  |  Branch (6572:17): [True: 62, False: 20]
  |  |  ------------------
  |  | 6573|       |                #ifdef Py_GIL_DISABLED
  |  | 6574|       |                assert(_PyObject_IsUniquelyReferenced((PyObject *)r));
  |  | 6575|       |                #endif
  |  | 6576|     82|                assert(r->len > 0);
  |  |  ------------------
  |  |  |  Branch (6576:17): [True: 62, False: 0]
  |  |  ------------------
  |  | 6577|     62|                long value = r->start;
  |  | 6578|     62|                r->start = value + r->step;
  |  | 6579|     62|                r->len--;
  |  | 6580|     62|                PyObject *res = PyLong_FromLong(value);
  |  | 6581|     62|                if (res == NULL) {
  |  |  ------------------
  |  |  |  Branch (6581:21): [True: 0, False: 62]
  |  |  ------------------
  |  | 6582|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6583|      0|                }
  |  | 6584|     62|                next = PyStackRef_FromPyObjectSteal(res);
  |  | 6585|     62|            }
  |  | 6586|      0|            stack_pointer[0] = next;
  |  | 6587|     62|            stack_pointer += 1;
  |  | 6588|     62|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     62|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6589|     62|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     62|    { \
  |  |  |  |  201|     62|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     62|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     62|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     62|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     62|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     62|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     62|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     62|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 62]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     62|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     62|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     62|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     62|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     62|    }
  |  |  ------------------
  |  | 6590|     62|        }
  |  | 6591|       |
  |  | 6592|  2.10k|        TARGET(FOR_ITER_TUPLE) {
  |  |  ------------------
  |  |  |  |  132|  2.10k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6593|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6594|       |            int opcode = FOR_ITER_TUPLE;
  |  | 6595|       |            (void)(opcode);
  |  | 6596|       |            #endif
  |  | 6597|  2.10k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6598|  2.10k|            (void)this_instr;
  |  | 6599|  2.10k|            frame->instr_ptr = next_instr;
  |  | 6600|  2.10k|            next_instr += 2;
  |  | 6601|  2.10k|            INSTRUCTION_STATS(FOR_ITER_TUPLE);
  |  |  ------------------
  |  |  |  |   71|  2.10k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6602|  2.10k|            static_assert(INLINE_CACHE_ENTRIES_FOR_ITER == 1, "incorrect cache size");
  |  | 6603|  2.10k|            _PyStackRef iter;
  |  | 6604|  2.10k|            _PyStackRef null_or_index;
  |  | 6605|  2.10k|            _PyStackRef next;
  |  | 6606|       |            /* Skip 1 cache entry */
  |  | 6607|       |            // _ITER_CHECK_TUPLE
  |  | 6608|  2.10k|            {
  |  | 6609|  2.10k|                null_or_index = stack_pointer[-1];
  |  | 6610|  2.10k|                iter = stack_pointer[-2];
  |  | 6611|  2.10k|                PyObject *iter_o = PyStackRef_AsPyObjectBorrow(iter);
  |  | 6612|  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 (6612:21): [True: 8, False: 2.09k]
  |  |  ------------------
  |  | 6613|      8|                    UPDATE_MISS_STATS(FOR_ITER);
  |  |  ------------------
  |  |  |  |  299|      8|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 6614|      8|                    assert(_PyOpcode_Deopt[opcode] == (FOR_ITER));
  |  |  ------------------
  |  |  |  Branch (6614:21): [True: 8, False: 0]
  |  |  ------------------
  |  | 6615|      8|                    JUMP_TO_PREDICTED(FOR_ITER);
  |  |  ------------------
  |  |  |  |  136|      8|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 6616|      0|                }
  |  | 6617|  2.10k|                assert(PyStackRef_IsTaggedInt(null_or_index));
  |  |  ------------------
  |  |  |  Branch (6617:17): [True: 2.09k, False: 0]
  |  |  ------------------
  |  | 6618|  2.09k|            }
  |  | 6619|       |            // _ITER_JUMP_TUPLE
  |  | 6620|  2.09k|            {
  |  | 6621|  2.09k|                PyObject *tuple_o = PyStackRef_AsPyObjectBorrow(iter);
  |  | 6622|  2.09k|                (void)tuple_o;
  |  | 6623|  2.09k|                assert(Py_TYPE(tuple_o) == &PyTuple_Type);
  |  |  ------------------
  |  |  |  Branch (6623:17): [True: 2.09k, False: 0]
  |  |  ------------------
  |  | 6624|  2.09k|                STAT_INC(FOR_ITER, hit);
  |  |  ------------------
  |  |  |  |   73|  2.09k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 6625|  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 (6625:21): [True: 619, False: 1.47k]
  |  |  ------------------
  |  | 6626|    619|                    null_or_index = PyStackRef_TagInt(-1);
  |  | 6627|    619|                    JUMPBY(oparg + 1);
  |  |  ------------------
  |  |  |  |  261|    619|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 6628|    619|                    stack_pointer[-1] = null_or_index;
  |  | 6629|    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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    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|    }
  |  |  ------------------
  |  | 6630|    619|                }
  |  | 6631|  2.09k|            }
  |  | 6632|       |            // _ITER_NEXT_TUPLE
  |  | 6633|      0|            {
  |  | 6634|  2.09k|                PyObject *tuple_o = PyStackRef_AsPyObjectBorrow(iter);
  |  | 6635|  2.09k|                assert(Py_TYPE(tuple_o) == &PyTuple_Type);
  |  |  ------------------
  |  |  |  Branch (6635:17): [True: 1.47k, False: 619]
  |  |  ------------------
  |  | 6636|  1.47k|                uintptr_t i = PyStackRef_UntagInt(null_or_index);
  |  | 6637|  1.47k|                assert((size_t)i < (size_t)PyTuple_GET_SIZE(tuple_o));
  |  |  ------------------
  |  |  |  Branch (6637:17): [True: 1.47k, False: 0]
  |  |  ------------------
  |  | 6638|  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]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6639|      0|                null_or_index = PyStackRef_IncrementTaggedIntNoOverflow(null_or_index);
  |  | 6640|  1.47k|            }
  |  | 6641|      0|            stack_pointer[-1] = null_or_index;
  |  | 6642|  1.47k|            stack_pointer[0] = next;
  |  | 6643|  1.47k|            stack_pointer += 1;
  |  | 6644|  1.47k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.47k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6645|  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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  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|    }
  |  |  ------------------
  |  | 6646|  1.47k|        }
  |  | 6647|       |
  |  | 6648|     82|        TARGET(FOR_ITER_VIRTUAL) {
  |  |  ------------------
  |  |  |  |  132|     82|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6649|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6650|       |            int opcode = FOR_ITER_VIRTUAL;
  |  | 6651|       |            (void)(opcode);
  |  | 6652|       |            #endif
  |  | 6653|     82|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6654|     82|            (void)this_instr;
  |  | 6655|     82|            frame->instr_ptr = next_instr;
  |  | 6656|     82|            next_instr += 2;
  |  | 6657|     82|            INSTRUCTION_STATS(FOR_ITER_VIRTUAL);
  |  |  ------------------
  |  |  |  |   71|     82|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6658|     82|            static_assert(INLINE_CACHE_ENTRIES_FOR_ITER == 1, "incorrect cache size");
  |  | 6659|     82|            _PyStackRef null_or_index;
  |  | 6660|     82|            _PyStackRef iter;
  |  | 6661|     82|            _PyStackRef next;
  |  | 6662|       |            /* Skip 1 cache entry */
  |  | 6663|       |            // _GUARD_TOS_NOT_NULL
  |  | 6664|     82|            {
  |  | 6665|     82|                null_or_index = stack_pointer[-1];
  |  | 6666|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6667|      0|                    UPDATE_MISS_STATS(FOR_ITER);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 6668|      0|                    assert(_PyOpcode_Deopt[opcode] == (FOR_ITER));
  |  |  ------------------
  |  |  |  Branch (6668:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 6669|      0|                    JUMP_TO_PREDICTED(FOR_ITER);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 6670|      0|                }
  |  | 6671|     82|            }
  |  | 6672|       |            // _FOR_ITER_VIRTUAL
  |  | 6673|     82|            {
  |  | 6674|     82|                iter = stack_pointer[-2];
  |  | 6675|     82|                PyObject *iter_o = PyStackRef_AsPyObjectBorrow(iter);
  |  | 6676|     82|                Py_ssize_t index = PyStackRef_UntagInt(null_or_index);
  |  | 6677|     82|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6678|     82|                _PyFrame_StackPointerValidate(frame);
  |  | 6679|     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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6680|     82|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6681|     82|                PyObject *next_o = next_index.object;
  |  | 6682|     82|                index = next_index.index;
  |  | 6683|     82|                if (next_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (6683:21): [True: 32, False: 50]
  |  |  ------------------
  |  | 6684|     32|                    if (index < 0) {
  |  |  ------------------
  |  |  |  Branch (6684:25): [True: 0, False: 32]
  |  |  ------------------
  |  | 6685|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6686|      0|                    }
  |  | 6687|     32|                    JUMPBY(oparg + 1);
  |  |  ------------------
  |  |  |  |  261|     32|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 6688|     32|                    DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     32|    { \
  |  |  |  |  201|     32|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     32|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     32|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     32|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     32|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     32|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     32|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     32|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 32]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     32|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     32|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     32|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     32|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     32|    }
  |  |  ------------------
  |  | 6689|     32|                }
  |  | 6690|     82|                null_or_index = PyStackRef_TagInt(index);
  |  | 6691|     82|                next = PyStackRef_FromPyObjectSteal(next_o);
  |  | 6692|     82|            }
  |  | 6693|      0|            stack_pointer[-1] = null_or_index;
  |  | 6694|     82|            stack_pointer[0] = next;
  |  | 6695|     82|            stack_pointer += 1;
  |  | 6696|     82|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     82|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6697|     82|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     82|    { \
  |  |  |  |  201|     82|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     82|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     82|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     82|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     82|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     82|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     82|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     82|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 82]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     82|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     82|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     82|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     82|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     82|    }
  |  |  ------------------
  |  | 6698|     82|        }
  |  | 6699|       |
  |  | 6700|      0|        TARGET(GET_AITER) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6701|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6702|       |            int opcode = GET_AITER;
  |  | 6703|       |            (void)(opcode);
  |  | 6704|       |            #endif
  |  | 6705|      0|            frame->instr_ptr = next_instr;
  |  | 6706|      0|            next_instr += 1;
  |  | 6707|      0|            INSTRUCTION_STATS(GET_AITER);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6708|      0|            _PyStackRef obj;
  |  | 6709|      0|            _PyStackRef iter;
  |  | 6710|      0|            obj = stack_pointer[-1];
  |  | 6711|      0|            unaryfunc getter = NULL;
  |  | 6712|      0|            PyObject *obj_o = PyStackRef_AsPyObjectBorrow(obj);
  |  | 6713|      0|            PyObject *iter_o;
  |  | 6714|      0|            PyTypeObject *type = Py_TYPE(obj_o);
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6715|      0|            if (type->tp_as_async != NULL) {
  |  |  ------------------
  |  |  |  Branch (6715:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6716|      0|                getter = type->tp_as_async->am_aiter;
  |  | 6717|      0|            }
  |  | 6718|      0|            if (getter == NULL) {
  |  |  ------------------
  |  |  |  Branch (6718:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6719|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6720|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 6721|      0|                _PyErr_Format(tstate, PyExc_TypeError,
  |  | 6722|      0|                              "'async for' requires an object with "
  |  | 6723|      0|                              "__aiter__ method, got %.100s",
  |  | 6724|      0|                              type->tp_name);
  |  | 6725|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6726|      0|                stack_pointer += -1;
  |  | 6727|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6728|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6729|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 6730|      0|                PyStackRef_CLOSE(obj);
  |  | 6731|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6732|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6733|      0|            }
  |  | 6734|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6735|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 6736|      0|            iter_o = (*getter)(obj_o);
  |  | 6737|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 6738|      0|            stack_pointer += -1;
  |  | 6739|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6740|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6741|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 6742|      0|            PyStackRef_CLOSE(obj);
  |  | 6743|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 6744|      0|            if (iter_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (6744:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6745|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6746|      0|            }
  |  | 6747|      0|            if (Py_TYPE(iter_o)->tp_as_async == NULL ||
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6747:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6748|      0|                Py_TYPE(iter_o)->tp_as_async->am_anext == NULL) {
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6748:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6749|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (6749:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6750|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 6751|      0|                _PyErr_Format(tstate, PyExc_TypeError,
  |  | 6752|      0|                              "'async for' received an object from __aiter__ "
  |  | 6753|      0|                              "that does not implement __anext__: %.100s",
  |  | 6754|      0|                              Py_TYPE(iter_o)->tp_name);
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6755|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6756|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (6756:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6757|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 6758|      0|                Py_DECREF(iter_o);
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6759|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6760|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6761|      0|            }
  |  | 6762|      0|            iter = PyStackRef_FromPyObjectSteal(iter_o);
  |  | 6763|      0|            stack_pointer[0] = iter;
  |  | 6764|      0|            stack_pointer += 1;
  |  | 6765|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6766|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 6767|      0|        }
  |  | 6768|       |
  |  | 6769|      0|        TARGET(GET_ANEXT) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6770|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6771|       |            int opcode = GET_ANEXT;
  |  | 6772|       |            (void)(opcode);
  |  | 6773|       |            #endif
  |  | 6774|      0|            frame->instr_ptr = next_instr;
  |  | 6775|      0|            next_instr += 1;
  |  | 6776|      0|            INSTRUCTION_STATS(GET_ANEXT);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6777|      0|            _PyStackRef aiter;
  |  | 6778|      0|            _PyStackRef awaitable;
  |  | 6779|      0|            aiter = stack_pointer[-1];
  |  | 6780|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6781|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 6782|      0|            PyObject *awaitable_o = _PyEval_GetANext(PyStackRef_AsPyObjectBorrow(aiter));
  |  | 6783|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 6784|      0|            if (awaitable_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (6784:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6785|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6786|      0|            }
  |  | 6787|      0|            awaitable = PyStackRef_FromPyObjectSteal(awaitable_o);
  |  | 6788|      0|            stack_pointer[0] = awaitable;
  |  | 6789|      0|            stack_pointer += 1;
  |  | 6790|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6791|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 6792|      0|        }
  |  | 6793|       |
  |  | 6794|      0|        TARGET(GET_AWAITABLE) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6795|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6796|       |            int opcode = GET_AWAITABLE;
  |  | 6797|       |            (void)(opcode);
  |  | 6798|       |            #endif
  |  | 6799|      0|            frame->instr_ptr = next_instr;
  |  | 6800|      0|            next_instr += 1;
  |  | 6801|      0|            INSTRUCTION_STATS(GET_AWAITABLE);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6802|      0|            _PyStackRef iterable;
  |  | 6803|      0|            _PyStackRef iter;
  |  | 6804|      0|            iterable = stack_pointer[-1];
  |  | 6805|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6806|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 6807|      0|            PyObject *iter_o = _PyEval_GetAwaitable(PyStackRef_AsPyObjectBorrow(iterable), oparg);
  |  | 6808|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 6809|      0|            stack_pointer += -1;
  |  | 6810|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6811|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6812|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 6813|      0|            PyStackRef_CLOSE(iterable);
  |  | 6814|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 6815|      0|            if (iter_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (6815:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6816|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6817|      0|            }
  |  | 6818|      0|            iter = PyStackRef_FromPyObjectSteal(iter_o);
  |  | 6819|      0|            stack_pointer[0] = iter;
  |  | 6820|      0|            stack_pointer += 1;
  |  | 6821|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6822|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 6823|      0|        }
  |  | 6824|       |
  |  | 6825|    272|        TARGET(GET_ITER) {
  |  |  ------------------
  |  |  |  |  132|    272|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6826|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6827|       |            int opcode = GET_ITER;
  |  | 6828|       |            (void)(opcode);
  |  | 6829|       |            #endif
  |  | 6830|    272|            frame->instr_ptr = next_instr;
  |  | 6831|    272|            next_instr += 2;
  |  | 6832|    272|            INSTRUCTION_STATS(GET_ITER);
  |  |  ------------------
  |  |  |  |   71|    272|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6833|    280|            PREDICTED_GET_ITER:;
  |  | 6834|    280|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  | 6835|    280|            (void)this_instr;
  |  | 6836|    280|            _PyStackRef iterable;
  |  | 6837|    280|            _PyStackRef iter;
  |  | 6838|    280|            _PyStackRef index_or_null;
  |  | 6839|       |            // _SPECIALIZE_GET_ITER
  |  | 6840|    280|            {
  |  | 6841|    280|                iterable = stack_pointer[-1];
  |  | 6842|    280|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 6843|    280|                (void)counter;
  |  | 6844|    280|                #if ENABLE_SPECIALIZATION
  |  | 6845|    280|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|    280|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 87, False: 193]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6846|     87|                    next_instr = this_instr;
  |  | 6847|     87|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6848|     87|                    _PyFrame_StackPointerValidate(frame);
  |  | 6849|     87|                    _Py_Specialize_GetIter(iterable, next_instr);
  |  | 6850|     87|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 6851|     87|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|     87|    { \
  |  |  |  |  217|     87|        opcode = next_instr->op.code; \
  |  |  |  |  218|     87|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     87|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|     87|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|     87|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|     87|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|     87|    }
  |  |  ------------------
  |  | 6852|     87|                }
  |  | 6853|    280|                OPCODE_DEFERRED_INC(GET_ITER);
  |  |  ------------------
  |  |  |  |   90|    280|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 6854|    280|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|    280|    do { \
  |  |  |  |  378|    280|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|    280|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 280]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6855|    280|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 6856|    280|            }
  |  | 6857|       |            // _GET_ITER
  |  | 6858|    280|            {
  |  | 6859|    280|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6860|    280|                _PyFrame_StackPointerValidate(frame);
  |  | 6861|    280|                _PyStackRef result = _PyEval_GetIter(iterable, &index_or_null, oparg);
  |  | 6862|    280|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6863|    280|                if (PyStackRef_IsError(result)) {
  |  |  ------------------
  |  |  |  Branch (6863:21): [True: 0, False: 280]
  |  |  ------------------
  |  | 6864|      0|                    JUMP_TO_LABEL(pop_1_error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6865|      0|                }
  |  | 6866|    280|                iter = result;
  |  | 6867|    280|            }
  |  | 6868|      0|            stack_pointer[-1] = iter;
  |  | 6869|    280|            stack_pointer[0] = index_or_null;
  |  | 6870|    280|            stack_pointer += 1;
  |  | 6871|    280|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    280|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6872|    280|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    280|    { \
  |  |  |  |  201|    280|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    280|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    280|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    280|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    280|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    280|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    280|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    280|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 280]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    280|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    280|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    280|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    280|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    280|    }
  |  |  ------------------
  |  | 6873|    280|        }
  |  | 6874|       |
  |  | 6875|    106|        TARGET(GET_ITER_SELF) {
  |  |  ------------------
  |  |  |  |  132|    106|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6876|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6877|       |            int opcode = GET_ITER_SELF;
  |  | 6878|       |            (void)(opcode);
  |  | 6879|       |            #endif
  |  | 6880|    106|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6881|    106|            (void)this_instr;
  |  | 6882|    106|            frame->instr_ptr = next_instr;
  |  | 6883|    106|            next_instr += 2;
  |  | 6884|    106|            INSTRUCTION_STATS(GET_ITER_SELF);
  |  |  ------------------
  |  |  |  |   71|    106|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6885|    106|            static_assert(INLINE_CACHE_ENTRIES_GET_ITER == 1, "incorrect cache size");
  |  | 6886|    106|            _PyStackRef iterable;
  |  | 6887|    106|            _PyStackRef res;
  |  | 6888|       |            /* Skip 1 cache entry */
  |  | 6889|       |            // _GUARD_ITERATOR
  |  | 6890|    106|            {
  |  | 6891|    106|                iterable = stack_pointer[-1];
  |  | 6892|    106|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(iterable));
  |  |  ------------------
  |  |  |  |  213|    106|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    106|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    106|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6893|    106|                if (tp->tp_iter != PyObject_SelfIter) {
  |  |  ------------------
  |  |  |  Branch (6893:21): [True: 0, False: 106]
  |  |  ------------------
  |  | 6894|      0|                    UPDATE_MISS_STATS(GET_ITER);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 6895|      0|                    assert(_PyOpcode_Deopt[opcode] == (GET_ITER));
  |  |  ------------------
  |  |  |  Branch (6895:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 6896|      0|                    JUMP_TO_PREDICTED(GET_ITER);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 6897|      0|                }
  |  | 6898|    106|                STAT_INC(GET_ITER, hit);
  |  |  ------------------
  |  |  |  |   73|    106|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 6899|    106|            }
  |  | 6900|       |            // _PUSH_NULL
  |  | 6901|      0|            {
  |  | 6902|    106|                res = PyStackRef_NULL;
  |  | 6903|    106|            }
  |  | 6904|    106|            stack_pointer[0] = res;
  |  | 6905|    106|            stack_pointer += 1;
  |  | 6906|    106|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    106|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6907|    106|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    106|    { \
  |  |  |  |  201|    106|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    106|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    106|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    106|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    106|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    106|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    106|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    106|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 106]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    106|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    106|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    106|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    106|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    106|    }
  |  |  ------------------
  |  | 6908|    106|        }
  |  | 6909|       |
  |  | 6910|    974|        TARGET(GET_ITER_VIRTUAL) {
  |  |  ------------------
  |  |  |  |  132|    974|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6911|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6912|       |            int opcode = GET_ITER_VIRTUAL;
  |  | 6913|       |            (void)(opcode);
  |  | 6914|       |            #endif
  |  | 6915|    974|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6916|    974|            (void)this_instr;
  |  | 6917|    974|            frame->instr_ptr = next_instr;
  |  | 6918|    974|            next_instr += 2;
  |  | 6919|    974|            INSTRUCTION_STATS(GET_ITER_VIRTUAL);
  |  |  ------------------
  |  |  |  |   71|    974|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6920|    974|            static_assert(INLINE_CACHE_ENTRIES_GET_ITER == 1, "incorrect cache size");
  |  | 6921|    974|            _PyStackRef iterable;
  |  | 6922|    974|            _PyStackRef zero;
  |  | 6923|       |            /* Skip 1 cache entry */
  |  | 6924|       |            // _GUARD_ITER_VIRTUAL
  |  | 6925|    974|            {
  |  | 6926|    974|                iterable = stack_pointer[-1];
  |  | 6927|    974|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(iterable));
  |  |  ------------------
  |  |  |  |  213|    974|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    974|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    974|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6928|    974|                if (tp->_tp_iteritem == NULL) {
  |  |  ------------------
  |  |  |  Branch (6928:21): [True: 8, False: 966]
  |  |  ------------------
  |  | 6929|      8|                    UPDATE_MISS_STATS(GET_ITER);
  |  |  ------------------
  |  |  |  |  299|      8|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 6930|      8|                    assert(_PyOpcode_Deopt[opcode] == (GET_ITER));
  |  |  ------------------
  |  |  |  Branch (6930:21): [True: 8, False: 0]
  |  |  ------------------
  |  | 6931|      8|                    JUMP_TO_PREDICTED(GET_ITER);
  |  |  ------------------
  |  |  |  |  136|      8|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 6932|      0|                }
  |  | 6933|    966|                STAT_INC(GET_ITER, hit);
  |  |  ------------------
  |  |  |  |   73|    966|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 6934|    966|            }
  |  | 6935|       |            // _PUSH_TAGGED_ZERO
  |  | 6936|      0|            {
  |  | 6937|    966|                zero = PyStackRef_TagInt(0);
  |  | 6938|    966|            }
  |  | 6939|    966|            stack_pointer[0] = zero;
  |  | 6940|    966|            stack_pointer += 1;
  |  | 6941|    966|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    966|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6942|    966|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    966|    { \
  |  |  |  |  201|    966|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    966|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    966|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    966|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    966|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    966|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    966|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    966|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 966]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    966|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    966|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    966|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    966|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    966|    }
  |  |  ------------------
  |  | 6943|    966|        }
  |  | 6944|       |
  |  | 6945|      0|        TARGET(GET_LEN) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6946|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6947|       |            int opcode = GET_LEN;
  |  | 6948|       |            (void)(opcode);
  |  | 6949|       |            #endif
  |  | 6950|      0|            frame->instr_ptr = next_instr;
  |  | 6951|      0|            next_instr += 1;
  |  | 6952|      0|            INSTRUCTION_STATS(GET_LEN);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6953|      0|            _PyStackRef obj;
  |  | 6954|      0|            _PyStackRef len;
  |  | 6955|      0|            obj = stack_pointer[-1];
  |  | 6956|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6957|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 6958|      0|            Py_ssize_t len_i = PyObject_Length(PyStackRef_AsPyObjectBorrow(obj));
  |  |  ------------------
  |  |  |  |  353|      0|#define PyObject_Length PyObject_Size
  |  |  ------------------
  |  | 6959|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 6960|      0|            if (len_i < 0) {
  |  |  ------------------
  |  |  |  Branch (6960:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6961|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6962|      0|            }
  |  | 6963|      0|            PyObject *len_o = PyLong_FromSsize_t(len_i);
  |  | 6964|      0|            if (len_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (6964:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6965|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6966|      0|            }
  |  | 6967|      0|            len = PyStackRef_FromPyObjectSteal(len_o);
  |  | 6968|      0|            stack_pointer[0] = len;
  |  | 6969|      0|            stack_pointer += 1;
  |  | 6970|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6971|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 6972|      0|        }
  |  | 6973|       |
  |  | 6974|    197|        TARGET(IMPORT_FROM) {
  |  |  ------------------
  |  |  |  |  132|    197|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6975|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6976|       |            int opcode = IMPORT_FROM;
  |  | 6977|       |            (void)(opcode);
  |  | 6978|       |            #endif
  |  | 6979|    197|            frame->instr_ptr = next_instr;
  |  | 6980|    197|            next_instr += 1;
  |  | 6981|    197|            INSTRUCTION_STATS(IMPORT_FROM);
  |  |  ------------------
  |  |  |  |   71|    197|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6982|    197|            _PyStackRef from;
  |  | 6983|    197|            _PyStackRef res;
  |  | 6984|    197|            from = stack_pointer[-1];
  |  | 6985|    197|            PyObject *name = GETITEM(FRAME_CO_NAMES, oparg);
  |  |  ------------------
  |  |  |  |  236|    197|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|    197|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|    197|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    197|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6985:30): [True: 197, False: 0]
  |  |  ------------------
  |  | 6986|      0|            PyObject *res_o;
  |  | 6987|    197|            if (PyLazyImport_CheckExact(PyStackRef_AsPyObjectBorrow(from))) {
  |  |  ------------------
  |  |  |  |   15|    197|#define PyLazyImport_CheckExact(op) Py_IS_TYPE((op), &PyLazyImport_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    197|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    197|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    197|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 2, False: 195]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6988|      2|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6989|      2|                _PyFrame_StackPointerValidate(frame);
  |  | 6990|      2|                res_o = _PyEval_LazyImportFrom(
  |  | 6991|      2|                    tstate, frame, PyStackRef_AsPyObjectBorrow(from), name);
  |  | 6992|      2|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6993|      2|            }
  |  | 6994|    195|            else {
  |  | 6995|    195|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6996|    195|                _PyFrame_StackPointerValidate(frame);
  |  | 6997|    195|                res_o = _PyEval_ImportFrom(
  |  | 6998|    195|                    tstate, PyStackRef_AsPyObjectBorrow(from), name);
  |  | 6999|    195|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7000|    195|            }
  |  | 7001|    197|            if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (7001:17): [True: 1, False: 196]
  |  |  ------------------
  |  | 7002|      1|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      1|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7003|      0|            }
  |  | 7004|    196|            res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 7005|    196|            stack_pointer[0] = res;
  |  | 7006|    196|            stack_pointer += 1;
  |  | 7007|    196|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    196|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7008|    196|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    196|    { \
  |  |  |  |  201|    196|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    196|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    196|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    196|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    196|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    196|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    196|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    196|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 196]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    196|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    196|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    196|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    196|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    196|    }
  |  |  ------------------
  |  | 7009|    196|        }
  |  | 7010|       |
  |  | 7011|    305|        TARGET(IMPORT_NAME) {
  |  |  ------------------
  |  |  |  |  132|    305|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7012|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7013|       |            int opcode = IMPORT_NAME;
  |  | 7014|       |            (void)(opcode);
  |  | 7015|       |            #endif
  |  | 7016|    305|            frame->instr_ptr = next_instr;
  |  | 7017|    305|            next_instr += 1;
  |  | 7018|    305|            INSTRUCTION_STATS(IMPORT_NAME);
  |  |  ------------------
  |  |  |  |   71|    305|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7019|    305|            _PyStackRef level;
  |  | 7020|    305|            _PyStackRef fromlist;
  |  | 7021|    305|            _PyStackRef res;
  |  | 7022|    305|            fromlist = stack_pointer[-1];
  |  | 7023|    305|            level = stack_pointer[-2];
  |  | 7024|    305|            PyObject *name = GETITEM(FRAME_CO_NAMES, oparg >> 2);
  |  |  ------------------
  |  |  |  |  236|    305|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|    305|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|    305|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    305|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (7024:30): [True: 305, False: 0]
  |  |  ------------------
  |  | 7025|      0|            PyObject *res_o;
  |  | 7026|    305|            if (!(oparg & 0x02)) {
  |  |  ------------------
  |  |  |  Branch (7026:17): [True: 162, False: 143]
  |  |  ------------------
  |  | 7027|    162|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7028|    162|                _PyFrame_StackPointerValidate(frame);
  |  | 7029|    162|                res_o = _PyEval_LazyImportName(tstate, BUILTINS(), GLOBALS(),
  |  |  ------------------
  |  |  |  |  327|    162|#define BUILTINS() frame->f_builtins
  |  |  ------------------
  |  |                               res_o = _PyEval_LazyImportName(tstate, BUILTINS(), GLOBALS(),
  |  |  ------------------
  |  |  |  |  326|    162|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  | 7030|    162|                    LOCALS(), name,
  |  |  ------------------
  |  |  |  |  328|    162|#define LOCALS() frame->f_locals
  |  |  ------------------
  |  | 7031|    162|                    PyStackRef_AsPyObjectBorrow(fromlist),
  |  | 7032|    162|                    PyStackRef_AsPyObjectBorrow(level),
  |  | 7033|    162|                    oparg & 0x01);
  |  | 7034|    162|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7035|    162|            }
  |  | 7036|    143|            else {
  |  | 7037|    143|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7038|    143|                _PyFrame_StackPointerValidate(frame);
  |  | 7039|    143|                res_o = _PyEval_ImportName(tstate, BUILTINS(), GLOBALS(),
  |  |  ------------------
  |  |  |  |  327|    143|#define BUILTINS() frame->f_builtins
  |  |  ------------------
  |  |                               res_o = _PyEval_ImportName(tstate, BUILTINS(), GLOBALS(),
  |  |  ------------------
  |  |  |  |  326|    143|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  | 7040|    143|                    LOCALS(), name,
  |  |  ------------------
  |  |  |  |  328|    143|#define LOCALS() frame->f_locals
  |  |  ------------------
  |  | 7041|    143|                    PyStackRef_AsPyObjectBorrow(fromlist),
  |  | 7042|    143|                    PyStackRef_AsPyObjectBorrow(level));
  |  | 7043|    143|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7044|    143|            }
  |  | 7045|    305|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7045:13): [True: 305, False: 0]
  |  |  ------------------
  |  | 7046|    305|            _PyFrame_StackPointerValidate(frame);
  |  | 7047|    305|            _PyStackRef tmp = fromlist;
  |  | 7048|    305|            fromlist = PyStackRef_NULL;
  |  | 7049|    305|            stack_pointer[-1] = fromlist;
  |  | 7050|    305|            PyStackRef_CLOSE(tmp);
  |  | 7051|    305|            _PyFrame_StackPointerInvalidate(frame);
  |  | 7052|    305|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7052:13): [True: 305, False: 0]
  |  |  ------------------
  |  | 7053|    305|            _PyFrame_StackPointerValidate(frame);
  |  | 7054|    305|            tmp = level;
  |  | 7055|    305|            level = PyStackRef_NULL;
  |  | 7056|    305|            stack_pointer[-2] = level;
  |  | 7057|    305|            PyStackRef_CLOSE(tmp);
  |  | 7058|    305|            _PyFrame_StackPointerInvalidate(frame);
  |  | 7059|    305|            stack_pointer += -2;
  |  | 7060|    305|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    305|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7061|    305|            if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (7061:17): [True: 4, False: 301]
  |  |  ------------------
  |  | 7062|      4|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      4|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7063|      0|            }
  |  | 7064|    301|            res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 7065|    301|            stack_pointer[0] = res;
  |  | 7066|    301|            stack_pointer += 1;
  |  | 7067|    301|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    301|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7068|    301|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    301|    { \
  |  |  |  |  201|    301|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    301|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    301|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    301|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    301|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    301|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    301|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    301|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 301]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    301|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    301|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    301|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    301|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    301|    }
  |  |  ------------------
  |  | 7069|    301|        }
  |  | 7070|       |
  |  | 7071|      0|        TARGET(INSTRUMENTED_CALL) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7072|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7073|       |            int opcode = INSTRUMENTED_CALL;
  |  | 7074|       |            (void)(opcode);
  |  | 7075|       |            #endif
  |  | 7076|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7077|      0|            (void)this_instr;
  |  | 7078|      0|            frame->instr_ptr = next_instr;
  |  | 7079|      0|            next_instr += 4;
  |  | 7080|      0|            INSTRUCTION_STATS(INSTRUMENTED_CALL);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7081|      0|            opcode = INSTRUMENTED_CALL;
  |  |  ------------------
  |  |  |  |  237|      0|#define INSTRUMENTED_CALL                      249
  |  |  ------------------
  |  | 7082|      0|            _PyStackRef callable;
  |  | 7083|      0|            _PyStackRef self_or_null;
  |  | 7084|      0|            _PyStackRef func;
  |  | 7085|      0|            _PyStackRef maybe_self;
  |  | 7086|      0|            _PyStackRef *args;
  |  | 7087|      0|            _PyStackRef res;
  |  | 7088|       |            /* Skip 3 cache entries */
  |  | 7089|       |            // _MAYBE_EXPAND_METHOD
  |  | 7090|      0|            {
  |  | 7091|      0|                self_or_null = stack_pointer[-1 - oparg];
  |  | 7092|      0|                callable = stack_pointer[-2 - oparg];
  |  | 7093|      0|                if (PyStackRef_TYPE(callable) == &PyMethod_Type && PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|      0|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|      0|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (7093:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7094|      0|                    PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 7095|      0|                    PyObject *self = ((PyMethodObject *)callable_o)->im_self;
  |  | 7096|      0|                    self_or_null = PyStackRef_FromPyObjectNew(self);
  |  |  ------------------
  |  |  |  |  611|      0|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7097|      0|                    PyObject *method = ((PyMethodObject *)callable_o)->im_func;
  |  | 7098|      0|                    _PyStackRef temp = callable;
  |  | 7099|      0|                    callable = PyStackRef_FromPyObjectNew(method);
  |  |  ------------------
  |  |  |  |  611|      0|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7100|      0|                    stack_pointer[-2 - oparg] = callable;
  |  | 7101|      0|                    stack_pointer[-1 - oparg] = self_or_null;
  |  | 7102|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7103|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7104|      0|                    PyStackRef_CLOSE(temp);
  |  | 7105|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7106|      0|                }
  |  | 7107|      0|            }
  |  | 7108|       |            // _MONITOR_CALL
  |  | 7109|      0|            {
  |  | 7110|      0|                args = &stack_pointer[-oparg];
  |  | 7111|      0|                maybe_self = self_or_null;
  |  | 7112|      0|                func = callable;
  |  | 7113|      0|                int is_meth = !PyStackRef_IsNull(maybe_self);
  |  |  ------------------
  |  |  |  |  482|      0|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|      0|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7114|      0|                PyObject *function = PyStackRef_AsPyObjectBorrow(func);
  |  | 7115|      0|                PyObject *arg0;
  |  | 7116|      0|                if (is_meth) {
  |  |  ------------------
  |  |  |  Branch (7116:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7117|      0|                    arg0 = PyStackRef_AsPyObjectBorrow(maybe_self);
  |  | 7118|      0|                }
  |  | 7119|      0|                else if (oparg) {
  |  |  ------------------
  |  |  |  Branch (7119:26): [True: 0, False: 0]
  |  |  ------------------
  |  | 7120|      0|                    arg0 = PyStackRef_AsPyObjectBorrow(args[0]);
  |  | 7121|      0|                }
  |  | 7122|      0|                else {
  |  | 7123|      0|                    arg0 = &_PyInstrumentation_MISSING;
  |  | 7124|      0|                }
  |  | 7125|      0|                stack_pointer[-2 - oparg] = func;
  |  | 7126|      0|                stack_pointer[-1 - oparg] = maybe_self;
  |  | 7127|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7128|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7129|      0|                int err = _Py_call_instrumentation_2args(
  |  | 7130|      0|                    tstate, PY_MONITORING_EVENT_CALL,
  |  |  ------------------
  |  |  |  |   18|      0|#define PY_MONITORING_EVENT_CALL 4
  |  |  ------------------
  |  | 7131|      0|                    frame, this_instr, function, arg0
  |  | 7132|      0|                );
  |  | 7133|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7134|      0|                if (err) {
  |  |  ------------------
  |  |  |  Branch (7134:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7135|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7136|      0|                }
  |  | 7137|      0|            }
  |  | 7138|       |            // _DO_CALL
  |  | 7139|      0|            {
  |  | 7140|      0|                args = &stack_pointer[-oparg];
  |  | 7141|      0|                self_or_null = stack_pointer[-1 - oparg];
  |  | 7142|      0|                callable = stack_pointer[-2 - oparg];
  |  | 7143|      0|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 7144|      0|                int total_args = oparg;
  |  | 7145|      0|                _PyStackRef *arguments = args;
  |  | 7146|      0|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|      0|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|      0|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (7146:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7147|      0|                    arguments--;
  |  | 7148|      0|                    total_args++;
  |  | 7149|      0|                }
  |  | 7150|      0|                if (Py_TYPE(callable_o) == &PyFunction_Type &&
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (7150:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7151|      0|                    !IS_PEP523_HOOKED(tstate) &&
  |  |  ------------------
  |  |  |  |  539|      0|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  ------------------
  |  |  |  Branch (7151:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7152|      0|                    ((PyFunctionObject *)callable_o)->vectorcall == _PyFunction_Vectorcall)
  |  |  ------------------
  |  |  |  Branch (7152:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7153|      0|                {
  |  | 7154|      0|                    int code_flags = ((PyCodeObject*)PyFunction_GET_CODE(callable_o))->co_flags;
  |  |  ------------------
  |  |  |  |   93|      0|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7155|      0|                    PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  122|      0|#define CO_OPTIMIZED    0x0001
  |  |  ------------------
  |  |                                   PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (7155:40): [True: 0, False: 0]
  |  |  ------------------
  |  | 7156|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7156:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7157|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7158|      0|                    _PyInterpreterFrame *new_frame = _PyEvalFramePushAndInit(
  |  | 7159|      0|                        tstate, callable, locals,
  |  | 7160|      0|                        arguments, total_args, NULL, frame
  |  | 7161|      0|                    );
  |  | 7162|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7163|      0|                    stack_pointer += -2 - oparg;
  |  | 7164|      0|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7165|      0|                    if (new_frame == NULL) {
  |  |  ------------------
  |  |  |  Branch (7165:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7166|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7167|      0|                    }
  |  | 7168|      0|                    frame->return_offset = 4u ;
  |  | 7169|      0|                    DISPATCH_INLINED(new_frame);
  |  |  ------------------
  |  |  |  |  223|      0|    do {                                                         \
  |  |  |  |  224|      0|        assert(!IS_PEP523_HOOKED(tstate));                       \
  |  |  |  |  225|      0|        _PyFrame_SetStackPointer(frame, stack_pointer);          \
  |  |  |  |  226|      0|        _PyFrame_StackPointerValidate(frame);                    \
  |  |  |  |  227|      0|        assert((NEW_FRAME)->previous == frame);                  \
  |  |  |  |  228|      0|        frame = tstate->current_frame = (NEW_FRAME);             \
  |  |  |  |  229|      0|        CALL_STAT_INC(inlined_py_calls);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  |   76|      0|#define CALL_STAT_INC(name) ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  230|      0|        JUMP_TO_LABEL(start_frame);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  231|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (231:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (7169:21): [True: 0, False: 0]
  |  |  |  Branch (7169:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7170|      0|                }
  |  | 7171|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7171:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7172|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7173|      0|                PyObject* res_o = _Py_VectorCallInstrumentation_StackRefSteal(
  |  | 7174|      0|                    callable,
  |  | 7175|      0|                    arguments,
  |  | 7176|      0|                    total_args,
  |  | 7177|      0|                    PyStackRef_NULL,
  |  | 7178|      0|                    opcode == INSTRUMENTED_CALL,
  |  |  ------------------
  |  |  |  |  237|      0|#define INSTRUMENTED_CALL                      249
  |  |  ------------------
  |  | 7179|      0|                    frame,
  |  | 7180|      0|                    this_instr,
  |  | 7181|      0|                    tstate);
  |  | 7182|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7183|      0|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (7183:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7184|      0|                    stack_pointer += -2 - oparg;
  |  | 7185|      0|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7186|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7187|      0|                }
  |  | 7188|      0|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 7189|      0|            }
  |  | 7190|       |            // _CHECK_PERIODIC_AT_END
  |  | 7191|      0|            {
  |  | 7192|      0|                stack_pointer[-2 - oparg] = res;
  |  | 7193|      0|                stack_pointer += -1 - oparg;
  |  | 7194|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7195|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7196|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7197|      0|                int err = check_periodics_at_end(tstate, frame);
  |  | 7198|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7199|      0|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (7199:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7200|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7201|      0|                }
  |  | 7202|      0|            }
  |  | 7203|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 7204|      0|        }
  |  | 7205|       |
  |  | 7206|      0|        TARGET(INSTRUMENTED_CALL_FUNCTION_EX) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7207|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7208|       |            int opcode = INSTRUMENTED_CALL_FUNCTION_EX;
  |  | 7209|       |            (void)(opcode);
  |  | 7210|       |            #endif
  |  | 7211|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7212|      0|            (void)this_instr;
  |  | 7213|      0|            frame->instr_ptr = next_instr;
  |  | 7214|      0|            next_instr += 2;
  |  | 7215|      0|            INSTRUCTION_STATS(INSTRUMENTED_CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7216|      0|            opcode = INSTRUMENTED_CALL_FUNCTION_EX;
  |  |  ------------------
  |  |  |  |  239|      0|#define INSTRUMENTED_CALL_FUNCTION_EX          251
  |  |  ------------------
  |  | 7217|      0|            _PyStackRef func;
  |  | 7218|      0|            _PyStackRef callargs;
  |  | 7219|      0|            _PyStackRef func_st;
  |  | 7220|      0|            _PyStackRef null;
  |  | 7221|      0|            _PyStackRef callargs_st;
  |  | 7222|      0|            _PyStackRef kwargs_st;
  |  | 7223|      0|            _PyStackRef result;
  |  | 7224|       |            /* Skip 1 cache entry */
  |  | 7225|       |            // _MAKE_CALLARGS_A_TUPLE
  |  | 7226|      0|            {
  |  | 7227|      0|                callargs = stack_pointer[-2];
  |  | 7228|      0|                func = stack_pointer[-4];
  |  | 7229|      0|                PyObject *callargs_o = PyStackRef_AsPyObjectBorrow(callargs);
  |  | 7230|      0|                if (!PyTuple_CheckExact(callargs_o)) {
  |  |  ------------------
  |  |  |  |   28|      0|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (7230:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7231|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7232|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7233|      0|                    int err = _Py_Check_ArgsIterable(tstate, PyStackRef_AsPyObjectBorrow(func), callargs_o);
  |  | 7234|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7235|      0|                    if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (7235:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7236|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7237|      0|                    }
  |  | 7238|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7238:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7239|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7240|      0|                    PyObject *tuple_o = PySequence_Tuple(callargs_o);
  |  | 7241|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7242|      0|                    if (tuple_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (7242:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7243|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7244|      0|                    }
  |  | 7245|      0|                    _PyStackRef temp = callargs;
  |  | 7246|      0|                    callargs = PyStackRef_FromPyObjectSteal(tuple_o);
  |  | 7247|      0|                    stack_pointer[-2] = callargs;
  |  | 7248|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7248:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7249|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7250|      0|                    PyStackRef_CLOSE(temp);
  |  | 7251|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7252|      0|                }
  |  | 7253|      0|            }
  |  | 7254|       |            // _DO_CALL_FUNCTION_EX
  |  | 7255|      0|            {
  |  | 7256|      0|                kwargs_st = stack_pointer[-1];
  |  | 7257|      0|                callargs_st = callargs;
  |  | 7258|      0|                null = stack_pointer[-3];
  |  | 7259|      0|                func_st = func;
  |  | 7260|      0|                (void)null;
  |  | 7261|      0|                PyObject *func = PyStackRef_AsPyObjectBorrow(func_st);
  |  | 7262|      0|                EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_FUNCTION_EX, func);
  |  |  ------------------
  |  |  |  |   80|      0|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  |  |  ------------------
  |  | 7263|      0|                PyObject *result_o;
  |  | 7264|      0|                assert(!_PyErr_Occurred(tstate));
  |  |  ------------------
  |  |  |  Branch (7264:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7265|      0|                if (opcode == INSTRUMENTED_CALL_FUNCTION_EX) {
  |  |  ------------------
  |  |  |  |  239|      0|#define INSTRUMENTED_CALL_FUNCTION_EX          251
  |  |  ------------------
  |  |  |  Branch (7265:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7266|      0|                    PyObject *callargs = PyStackRef_AsPyObjectBorrow(callargs_st);
  |  | 7267|      0|                    PyObject *kwargs = PyStackRef_AsPyObjectBorrow(kwargs_st);
  |  | 7268|      0|                    assert(kwargs == NULL || PyDict_CheckExact(kwargs));
  |  |  ------------------
  |  |  |  Branch (7268:21): [True: 0, False: 0]
  |  |  |  Branch (7268:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7269|      0|                    assert(PyTuple_CheckExact(callargs));
  |  |  ------------------
  |  |  |  Branch (7269:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7270|      0|                    PyObject *arg = PyTuple_GET_SIZE(callargs) > 0 ?
  |  |  ------------------
  |  |  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (7270:37): [True: 0, False: 0]
  |  |  ------------------
  |  | 7271|      0|                    PyTuple_GET_ITEM(callargs, 0) : &_PyInstrumentation_MISSING;
  |  |  ------------------
  |  |  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (7271:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7272|      0|                    stack_pointer[-2] = callargs_st;
  |  | 7273|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7274|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7275|      0|                    int err = _Py_call_instrumentation_2args(
  |  | 7276|      0|                        tstate, PY_MONITORING_EVENT_CALL,
  |  |  ------------------
  |  |  |  |   18|      0|#define PY_MONITORING_EVENT_CALL 4
  |  |  ------------------
  |  | 7277|      0|                        frame, this_instr, func, arg);
  |  | 7278|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7279|      0|                    if (err) {
  |  |  ------------------
  |  |  |  Branch (7279:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7280|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7281|      0|                    }
  |  | 7282|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7282:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7283|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7284|      0|                    result_o = PyObject_Call(func, callargs, kwargs);
  |  | 7285|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7286|      0|                    if (!PyFunction_Check(func) && !PyMethod_Check(func)) {
  |  |  ------------------
  |  |  |  |   68|      0|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                                   if (!PyFunction_Check(func) && !PyMethod_Check(func)) {
  |  |  ------------------
  |  |  |  |   22|      0|#define PyMethod_Check(op) Py_IS_TYPE((op), &PyMethod_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (7286:25): [True: 0, False: 0]
  |  |  |  Branch (7286:52): [True: 0, False: 0]
  |  |  ------------------
  |  | 7287|      0|                        if (result_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (7287:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 7288|      0|                            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7288:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 7289|      0|                            _PyFrame_StackPointerValidate(frame);
  |  | 7290|      0|                            _Py_call_instrumentation_exc2(
  |  | 7291|      0|                                tstate, PY_MONITORING_EVENT_C_RAISE,
  |  |  ------------------
  |  |  |  |   45|      0|#define PY_MONITORING_EVENT_C_RAISE 17
  |  |  ------------------
  |  | 7292|      0|                                frame, this_instr, func, arg);
  |  | 7293|      0|                            _PyFrame_StackPointerInvalidate(frame);
  |  | 7294|      0|                        }
  |  | 7295|      0|                        else {
  |  | 7296|      0|                            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7296:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 7297|      0|                            _PyFrame_StackPointerValidate(frame);
  |  | 7298|      0|                            int err = _Py_call_instrumentation_2args(
  |  | 7299|      0|                                tstate, PY_MONITORING_EVENT_C_RETURN,
  |  |  ------------------
  |  |  |  |   44|      0|#define PY_MONITORING_EVENT_C_RETURN 16
  |  |  ------------------
  |  | 7300|      0|                                frame, this_instr, func, arg);
  |  | 7301|      0|                            _PyFrame_StackPointerInvalidate(frame);
  |  | 7302|      0|                            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (7302:33): [True: 0, False: 0]
  |  |  ------------------
  |  | 7303|      0|                                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7303:33): [True: 0, False: 0]
  |  |  ------------------
  |  | 7304|      0|                                _PyFrame_StackPointerValidate(frame);
  |  | 7305|      0|                                Py_CLEAR(result_o);
  |  |  ------------------
  |  |  |  |  484|      0|    do { \
  |  |  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   80|      0|    do { \
  |  |  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   84|      0|            break; \
  |  |  |  |  |  |   85|      0|        } \
  |  |  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |  |  |   91|      0|        } \
  |  |  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  490|      0|        } \
  |  |  |  |  491|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7306|      0|                                _PyFrame_StackPointerInvalidate(frame);
  |  | 7307|      0|                            }
  |  | 7308|      0|                        }
  |  | 7309|      0|                    }
  |  | 7310|      0|                }
  |  | 7311|      0|                else {
  |  | 7312|      0|                    if (Py_TYPE(func) == &PyFunction_Type &&
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (7312:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7313|      0|                        !IS_PEP523_HOOKED(tstate) &&
  |  |  ------------------
  |  |  |  |  539|      0|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  ------------------
  |  |  |  Branch (7313:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7314|      0|                        ((PyFunctionObject *)func)->vectorcall == _PyFunction_Vectorcall) {
  |  |  ------------------
  |  |  |  Branch (7314:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7315|      0|                        PyObject *callargs = PyStackRef_AsPyObjectSteal(callargs_st);
  |  | 7316|      0|                        assert(PyTuple_CheckExact(callargs));
  |  |  ------------------
  |  |  |  Branch (7316:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7317|      0|                        PyObject *kwargs = PyStackRef_IsNull(kwargs_st) ? NULL : PyStackRef_AsPyObjectSteal(kwargs_st);
  |  |  ------------------
  |  |  |  |  482|      0|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|      0|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7318|      0|                        assert(kwargs == NULL || PyDict_CheckExact(kwargs));
  |  |  ------------------
  |  |  |  Branch (7318:25): [True: 0, False: 0]
  |  |  |  Branch (7318:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7319|      0|                        Py_ssize_t nargs = PyTuple_GET_SIZE(callargs);
  |  |  ------------------
  |  |  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7320|      0|                        int code_flags = ((PyCodeObject *)PyFunction_GET_CODE(func))->co_flags;
  |  |  ------------------
  |  |  |  |   93|      0|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7321|      0|                        PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(func));
  |  |  ------------------
  |  |  |  |  122|      0|#define CO_OPTIMIZED    0x0001
  |  |  ------------------
  |  |                                       PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(func));
  |  |  ------------------
  |  |  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (7321:44): [True: 0, False: 0]
  |  |  ------------------
  |  | 7322|      0|                        stack_pointer += -2;
  |  | 7323|      0|                        ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7324|      0|                        _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7325|      0|                        _PyFrame_StackPointerValidate(frame);
  |  | 7326|      0|                        _PyInterpreterFrame *new_frame = _PyEvalFramePushAndInit_Ex(
  |  | 7327|      0|                            tstate, func_st, locals,
  |  | 7328|      0|                            nargs, callargs, kwargs, frame);
  |  | 7329|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 7330|      0|                        stack_pointer += -2;
  |  | 7331|      0|                        ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7332|      0|                        if (new_frame == NULL) {
  |  |  ------------------
  |  |  |  Branch (7332:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 7333|      0|                            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7334|      0|                        }
  |  | 7335|      0|                        assert( 2u == 1 + INLINE_CACHE_ENTRIES_CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  Branch (7335:25): [True: 0, Folded]
  |  |  ------------------
  |  | 7336|      0|                        frame->return_offset = 2u ;
  |  | 7337|      0|                        DISPATCH_INLINED(new_frame);
  |  |  ------------------
  |  |  |  |  223|      0|    do {                                                         \
  |  |  |  |  224|      0|        assert(!IS_PEP523_HOOKED(tstate));                       \
  |  |  |  |  225|      0|        _PyFrame_SetStackPointer(frame, stack_pointer);          \
  |  |  |  |  226|      0|        _PyFrame_StackPointerValidate(frame);                    \
  |  |  |  |  227|      0|        assert((NEW_FRAME)->previous == frame);                  \
  |  |  |  |  228|      0|        frame = tstate->current_frame = (NEW_FRAME);             \
  |  |  |  |  229|      0|        CALL_STAT_INC(inlined_py_calls);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  |   76|      0|#define CALL_STAT_INC(name) ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  230|      0|        JUMP_TO_LABEL(start_frame);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  231|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (231:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (7337:25): [True: 0, False: 0]
  |  |  |  Branch (7337:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7338|      0|                    }
  |  | 7339|      0|                    PyObject *callargs = PyStackRef_AsPyObjectBorrow(callargs_st);
  |  | 7340|      0|                    assert(PyTuple_CheckExact(callargs));
  |  |  ------------------
  |  |  |  Branch (7340:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7341|      0|                    PyObject *kwargs = PyStackRef_AsPyObjectBorrow(kwargs_st);
  |  | 7342|      0|                    assert(kwargs == NULL || PyDict_CheckExact(kwargs));
  |  |  ------------------
  |  |  |  Branch (7342:21): [True: 0, False: 0]
  |  |  |  Branch (7342:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7343|      0|                    stack_pointer[-2] = callargs_st;
  |  | 7344|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7345|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7346|      0|                    result_o = PyObject_Call(func, callargs, kwargs);
  |  | 7347|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7348|      0|                }
  |  | 7349|      0|                stack_pointer += -1;
  |  | 7350|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7351|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7352|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7353|      0|                PyStackRef_XCLOSE(kwargs_st);
  |  | 7354|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7355|      0|                stack_pointer += -1;
  |  | 7356|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7357|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7358|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7359|      0|                PyStackRef_CLOSE(callargs_st);
  |  | 7360|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7361|      0|                stack_pointer += -2;
  |  | 7362|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7363|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7364|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7365|      0|                PyStackRef_CLOSE(func_st);
  |  | 7366|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7367|      0|                if (result_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (7367:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7368|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7369|      0|                }
  |  | 7370|      0|                result = PyStackRef_FromPyObjectSteal(result_o);
  |  | 7371|      0|            }
  |  | 7372|       |            // _CHECK_PERIODIC_AT_END
  |  | 7373|      0|            {
  |  | 7374|      0|                stack_pointer[0] = result;
  |  | 7375|      0|                stack_pointer += 1;
  |  | 7376|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7377|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7378|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7379|      0|                int err = check_periodics_at_end(tstate, frame);
  |  | 7380|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7381|      0|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (7381:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7382|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7383|      0|                }
  |  | 7384|      0|            }
  |  | 7385|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 7386|      0|        }
  |  | 7387|       |
  |  | 7388|      0|        TARGET(INSTRUMENTED_CALL_KW) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7389|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7390|       |            int opcode = INSTRUMENTED_CALL_KW;
  |  | 7391|       |            (void)(opcode);
  |  | 7392|       |            #endif
  |  | 7393|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7394|      0|            (void)this_instr;
  |  | 7395|      0|            frame->instr_ptr = next_instr;
  |  | 7396|      0|            next_instr += 4;
  |  | 7397|      0|            INSTRUCTION_STATS(INSTRUMENTED_CALL_KW);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7398|      0|            opcode = INSTRUMENTED_CALL_KW;
  |  |  ------------------
  |  |  |  |  238|      0|#define INSTRUMENTED_CALL_KW                   250
  |  |  ------------------
  |  | 7399|      0|            _PyStackRef callable;
  |  | 7400|      0|            _PyStackRef self_or_null;
  |  | 7401|      0|            _PyStackRef *args;
  |  | 7402|      0|            _PyStackRef kwnames;
  |  | 7403|      0|            _PyStackRef res;
  |  | 7404|       |            /* Skip 1 cache entry */
  |  | 7405|       |            /* Skip 2 cache entries */
  |  | 7406|       |            // _MAYBE_EXPAND_METHOD_KW
  |  | 7407|      0|            {
  |  | 7408|      0|                self_or_null = stack_pointer[-2 - oparg];
  |  | 7409|      0|                callable = stack_pointer[-3 - oparg];
  |  | 7410|      0|                if (PyStackRef_TYPE(callable) == &PyMethod_Type && PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|      0|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|      0|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (7410:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7411|      0|                    PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 7412|      0|                    PyObject *self = ((PyMethodObject *)callable_o)->im_self;
  |  | 7413|      0|                    self_or_null = PyStackRef_FromPyObjectNew(self);
  |  |  ------------------
  |  |  |  |  611|      0|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7414|      0|                    PyObject *method = ((PyMethodObject *)callable_o)->im_func;
  |  | 7415|      0|                    _PyStackRef temp = callable;
  |  | 7416|      0|                    callable = PyStackRef_FromPyObjectNew(method);
  |  |  ------------------
  |  |  |  |  611|      0|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7417|      0|                    stack_pointer[-3 - oparg] = callable;
  |  | 7418|      0|                    stack_pointer[-2 - oparg] = self_or_null;
  |  | 7419|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7420|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7421|      0|                    PyStackRef_CLOSE(temp);
  |  | 7422|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7423|      0|                }
  |  | 7424|      0|            }
  |  | 7425|       |            // _MONITOR_CALL_KW
  |  | 7426|      0|            {
  |  | 7427|      0|                args = &stack_pointer[-1 - oparg];
  |  | 7428|      0|                int is_meth = !PyStackRef_IsNull(self_or_null);
  |  |  ------------------
  |  |  |  |  482|      0|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|      0|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7429|      0|                PyObject *arg;
  |  | 7430|      0|                if (is_meth) {
  |  |  ------------------
  |  |  |  Branch (7430:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7431|      0|                    arg = PyStackRef_AsPyObjectBorrow(self_or_null);
  |  | 7432|      0|                }
  |  | 7433|      0|                else if (args) {
  |  |  ------------------
  |  |  |  Branch (7433:26): [True: 0, False: 0]
  |  |  ------------------
  |  | 7434|      0|                    arg = PyStackRef_AsPyObjectBorrow(args[0]);
  |  | 7435|      0|                }
  |  | 7436|      0|                else {
  |  | 7437|      0|                    arg = &_PyInstrumentation_MISSING;
  |  | 7438|      0|                }
  |  | 7439|      0|                PyObject *function = PyStackRef_AsPyObjectBorrow(callable);
  |  | 7440|      0|                stack_pointer[-3 - oparg] = callable;
  |  | 7441|      0|                stack_pointer[-2 - oparg] = self_or_null;
  |  | 7442|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7443|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7444|      0|                int err = _Py_call_instrumentation_2args(
  |  | 7445|      0|                    tstate, PY_MONITORING_EVENT_CALL,
  |  |  ------------------
  |  |  |  |   18|      0|#define PY_MONITORING_EVENT_CALL 4
  |  |  ------------------
  |  | 7446|      0|                    frame, this_instr, function, arg);
  |  | 7447|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7448|      0|                if (err) {
  |  |  ------------------
  |  |  |  Branch (7448:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7449|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7450|      0|                }
  |  | 7451|      0|            }
  |  | 7452|       |            // _DO_CALL_KW
  |  | 7453|      0|            {
  |  | 7454|      0|                kwnames = stack_pointer[-1];
  |  | 7455|      0|                args = &stack_pointer[-1 - oparg];
  |  | 7456|      0|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 7457|      0|                PyObject *kwnames_o = PyStackRef_AsPyObjectBorrow(kwnames);
  |  | 7458|      0|                int total_args = oparg;
  |  | 7459|      0|                _PyStackRef *arguments = args;
  |  | 7460|      0|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|      0|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|      0|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (7460:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7461|      0|                    arguments--;
  |  | 7462|      0|                    total_args++;
  |  | 7463|      0|                }
  |  | 7464|      0|                int positional_args = total_args - (int)PyTuple_GET_SIZE(kwnames_o);
  |  |  ------------------
  |  |  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7465|      0|                if (Py_TYPE(callable_o) == &PyFunction_Type &&
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (7465:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7466|      0|                    !IS_PEP523_HOOKED(tstate) &&
  |  |  ------------------
  |  |  |  |  539|      0|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  ------------------
  |  |  |  Branch (7466:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7467|      0|                    ((PyFunctionObject *)callable_o)->vectorcall == _PyFunction_Vectorcall)
  |  |  ------------------
  |  |  |  Branch (7467:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7468|      0|                {
  |  | 7469|      0|                    int code_flags = ((PyCodeObject*)PyFunction_GET_CODE(callable_o))->co_flags;
  |  |  ------------------
  |  |  |  |   93|      0|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7470|      0|                    PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  122|      0|#define CO_OPTIMIZED    0x0001
  |  |  ------------------
  |  |                                   PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (7470:40): [True: 0, False: 0]
  |  |  ------------------
  |  | 7471|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7471:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7472|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7473|      0|                    _PyInterpreterFrame *new_frame = _PyEvalFramePushAndInit(
  |  | 7474|      0|                        tstate, callable, locals,
  |  | 7475|      0|                        arguments, positional_args, kwnames_o, frame
  |  | 7476|      0|                    );
  |  | 7477|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7478|      0|                    stack_pointer += -3 - oparg;
  |  | 7479|      0|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7480|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7481|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7482|      0|                    PyStackRef_CLOSE(kwnames);
  |  | 7483|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7484|      0|                    if (new_frame == NULL) {
  |  |  ------------------
  |  |  |  Branch (7484:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7485|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7486|      0|                    }
  |  | 7487|      0|                    assert( 4u == 1 + INLINE_CACHE_ENTRIES_CALL_KW);
  |  |  ------------------
  |  |  |  Branch (7487:21): [True: 0, Folded]
  |  |  ------------------
  |  | 7488|      0|                    frame->return_offset = 4u ;
  |  | 7489|      0|                    DISPATCH_INLINED(new_frame);
  |  |  ------------------
  |  |  |  |  223|      0|    do {                                                         \
  |  |  |  |  224|      0|        assert(!IS_PEP523_HOOKED(tstate));                       \
  |  |  |  |  225|      0|        _PyFrame_SetStackPointer(frame, stack_pointer);          \
  |  |  |  |  226|      0|        _PyFrame_StackPointerValidate(frame);                    \
  |  |  |  |  227|      0|        assert((NEW_FRAME)->previous == frame);                  \
  |  |  |  |  228|      0|        frame = tstate->current_frame = (NEW_FRAME);             \
  |  |  |  |  229|      0|        CALL_STAT_INC(inlined_py_calls);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  |   76|      0|#define CALL_STAT_INC(name) ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  230|      0|        JUMP_TO_LABEL(start_frame);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  231|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (231:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (7489:21): [True: 0, False: 0]
  |  |  |  Branch (7489:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7490|      0|                }
  |  | 7491|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7491:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7492|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7493|      0|                PyObject* res_o = _Py_VectorCallInstrumentation_StackRefSteal(
  |  | 7494|      0|                    callable,
  |  | 7495|      0|                    arguments,
  |  | 7496|      0|                    total_args,
  |  | 7497|      0|                    kwnames,
  |  | 7498|      0|                    opcode == INSTRUMENTED_CALL_KW,
  |  |  ------------------
  |  |  |  |  238|      0|#define INSTRUMENTED_CALL_KW                   250
  |  |  ------------------
  |  | 7499|      0|                    frame,
  |  | 7500|      0|                    this_instr,
  |  | 7501|      0|                    tstate);
  |  | 7502|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7503|      0|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (7503:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7504|      0|                    stack_pointer += -3 - oparg;
  |  | 7505|      0|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7506|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7507|      0|                }
  |  | 7508|      0|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 7509|      0|            }
  |  | 7510|      0|            stack_pointer[-3 - oparg] = res;
  |  | 7511|      0|            stack_pointer += -2 - oparg;
  |  | 7512|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7513|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 7514|      0|        }
  |  | 7515|       |
  |  | 7516|      0|        TARGET(INSTRUMENTED_END_ASYNC_FOR) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7517|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7518|       |            int opcode = INSTRUMENTED_END_ASYNC_FOR;
  |  | 7519|       |            (void)(opcode);
  |  | 7520|       |            #endif
  |  | 7521|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7522|      0|            (void)this_instr;
  |  | 7523|      0|            frame->instr_ptr = next_instr;
  |  | 7524|      0|            next_instr += 1;
  |  | 7525|      0|            INSTRUCTION_STATS(INSTRUMENTED_END_ASYNC_FOR);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7526|      0|            _PyStackRef awaitable_st;
  |  | 7527|      0|            _PyStackRef exc_st;
  |  | 7528|       |            // _MONITOR_END_ASYNC_FOR
  |  | 7529|      0|            {
  |  | 7530|      0|                assert((next_instr-oparg)->op.code == END_SEND || (next_instr-oparg)->op.code >= MIN_INSTRUMENTED_OPCODE);
  |  |  ------------------
  |  |  |  Branch (7530:17): [True: 0, False: 0]
  |  |  |  Branch (7530:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7531|      0|                INSTRUMENTED_JUMP(next_instr-oparg, this_instr+1, PY_MONITORING_EVENT_BRANCH_RIGHT);
  |  |  ------------------
  |  |  |  |  410|      0|#define INSTRUMENTED_JUMP(src, dest, event) \
  |  |  |  |  411|      0|do { \
  |  |  |  |  412|      0|    _Py_CODEUNIT *_dest = (dest); \
  |  |  |  |  413|      0|    if (tstate->tracing) {\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (413:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  414|      0|        next_instr = _dest; \
  |  |  |  |  415|      0|    } else { \
  |  |  |  |  416|      0|        _PyFrame_SetStackPointer(frame, stack_pointer); \
  |  |  |  |  417|      0|        next_instr = _Py_call_instrumentation_jump(this_instr, tstate, event, frame, src, _dest); \
  |  |  |  |  418|      0|        stack_pointer = _PyFrame_GetStackPointer(frame); \
  |  |  |  |  419|      0|        if (next_instr == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (419:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  420|      0|            next_instr = _dest + 1; \
  |  |  |  |  421|      0|            JUMP_TO_LABEL(error); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  422|      0|        } \
  |  |  |  |  423|      0|    } \
  |  |  |  |  424|      0|} while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (424:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7532|      0|            }
  |  | 7533|       |            // _END_ASYNC_FOR
  |  | 7534|      0|            {
  |  | 7535|      0|                exc_st = stack_pointer[-1];
  |  | 7536|      0|                awaitable_st = stack_pointer[-2];
  |  | 7537|      0|                JUMPBY(0);
  |  |  ------------------
  |  |  |  |  261|      0|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 7538|      0|                (void)oparg;
  |  | 7539|      0|                PyObject *exc = PyStackRef_AsPyObjectBorrow(exc_st);
  |  | 7540|      0|                assert(exc && PyExceptionInstance_Check(exc));
  |  |  ------------------
  |  |  |  Branch (7540:17): [True: 0, False: 0]
  |  |  |  Branch (7540:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7541|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7542|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7543|      0|                int matches = PyErr_GivenExceptionMatches(exc, PyExc_StopAsyncIteration);
  |  | 7544|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7545|      0|                if (matches) {
  |  |  ------------------
  |  |  |  Branch (7545:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7546|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7546:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7547|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7548|      0|                    _PyStackRef tmp = exc_st;
  |  | 7549|      0|                    exc_st = PyStackRef_NULL;
  |  | 7550|      0|                    stack_pointer[-1] = exc_st;
  |  | 7551|      0|                    PyStackRef_CLOSE(tmp);
  |  | 7552|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7553|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7553:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7554|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7555|      0|                    tmp = awaitable_st;
  |  | 7556|      0|                    awaitable_st = PyStackRef_NULL;
  |  | 7557|      0|                    stack_pointer[-2] = awaitable_st;
  |  | 7558|      0|                    PyStackRef_CLOSE(tmp);
  |  | 7559|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7560|      0|                    stack_pointer += -2;
  |  | 7561|      0|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7562|      0|                }
  |  | 7563|      0|                else {
  |  | 7564|      0|                    Py_INCREF(exc);
  |  |  ------------------
  |  |  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7565|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7565:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7566|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7567|      0|                    _PyErr_SetRaisedException(tstate, exc);
  |  | 7568|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7569|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7569:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7570|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7571|      0|                    monitor_reraise(tstate, frame, this_instr);
  |  | 7572|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7573|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7573:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7574|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7575|      0|                    JUMP_TO_LABEL(exception_unwind);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7576|      0|                }
  |  | 7577|      0|            }
  |  | 7578|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 7579|      0|        }
  |  | 7580|       |
  |  | 7581|      0|        TARGET(INSTRUMENTED_END_FOR) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7582|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7583|       |            int opcode = INSTRUMENTED_END_FOR;
  |  | 7584|       |            (void)(opcode);
  |  | 7585|       |            #endif
  |  | 7586|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7587|      0|            (void)this_instr;
  |  | 7588|      0|            next_instr += 1;
  |  | 7589|      0|            INSTRUCTION_STATS(INSTRUMENTED_END_FOR);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7590|      0|            _PyStackRef receiver;
  |  | 7591|      0|            _PyStackRef value;
  |  | 7592|      0|            value = stack_pointer[-1];
  |  | 7593|      0|            receiver = stack_pointer[-3];
  |  | 7594|      0|            if (PyStackRef_GenCheck(receiver)) {
  |  |  ------------------
  |  |  |  Branch (7594:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7595|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7596|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7597|      0|                int err = monitor_stop_iteration(tstate, frame, this_instr, PyStackRef_AsPyObjectBorrow(value));
  |  | 7598|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7599|      0|                if (err) {
  |  |  ------------------
  |  |  |  Branch (7599:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7600|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7601|      0|                }
  |  | 7602|      0|            }
  |  | 7603|      0|            stack_pointer += -1;
  |  | 7604|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7605|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7606|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 7607|      0|            PyStackRef_CLOSE(value);
  |  | 7608|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 7609|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 7610|      0|        }
  |  | 7611|       |
  |  | 7612|      0|        TARGET(INSTRUMENTED_END_SEND) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7613|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7614|       |            int opcode = INSTRUMENTED_END_SEND;
  |  | 7615|       |            (void)(opcode);
  |  | 7616|       |            #endif
  |  | 7617|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7618|      0|            (void)this_instr;
  |  | 7619|      0|            frame->instr_ptr = next_instr;
  |  | 7620|      0|            next_instr += 1;
  |  | 7621|      0|            INSTRUCTION_STATS(INSTRUMENTED_END_SEND);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7622|      0|            _PyStackRef receiver;
  |  | 7623|      0|            _PyStackRef index_or_null;
  |  | 7624|      0|            _PyStackRef value;
  |  | 7625|      0|            _PyStackRef val;
  |  | 7626|      0|            value = stack_pointer[-1];
  |  | 7627|      0|            index_or_null = stack_pointer[-2];
  |  | 7628|      0|            receiver = stack_pointer[-3];
  |  | 7629|      0|            PyObject *receiver_o = PyStackRef_AsPyObjectBorrow(receiver);
  |  | 7630|      0|            if (PyGen_Check(receiver_o) || PyCoro_CheckExact(receiver_o)) {
  |  |  ------------------
  |  |  |  |   16|      0|#define PyGen_Check(op) PyObject_TypeCheck((op), &PyGen_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                           if (PyGen_Check(receiver_o) || PyCoro_CheckExact(receiver_o)) {
  |  |  ------------------
  |  |  |  |   31|      0|#define PyCoro_CheckExact(op) Py_IS_TYPE((op), &PyCoro_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7631|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7632|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7633|      0|                int err = monitor_stop_iteration(tstate, frame, this_instr, PyStackRef_AsPyObjectBorrow(value));
  |  | 7634|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7635|      0|                if (err) {
  |  |  ------------------
  |  |  |  Branch (7635:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7636|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7637|      0|                }
  |  | 7638|      0|            }
  |  | 7639|      0|            val = value;
  |  | 7640|      0|            (void)index_or_null;
  |  | 7641|      0|            stack_pointer[-3] = val;
  |  | 7642|      0|            stack_pointer += -2;
  |  | 7643|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7644|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7645|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 7646|      0|            PyStackRef_CLOSE(receiver);
  |  | 7647|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 7648|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 7649|      0|        }
  |  | 7650|       |
  |  | 7651|      0|        TARGET(INSTRUMENTED_FOR_ITER) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7652|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7653|       |            int opcode = INSTRUMENTED_FOR_ITER;
  |  | 7654|       |            (void)(opcode);
  |  | 7655|       |            #endif
  |  | 7656|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7657|      0|            (void)this_instr;
  |  | 7658|      0|            frame->instr_ptr = next_instr;
  |  | 7659|      0|            next_instr += 2;
  |  | 7660|      0|            INSTRUCTION_STATS(INSTRUMENTED_FOR_ITER);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7661|      0|            _PyStackRef iter;
  |  | 7662|      0|            _PyStackRef null_or_index;
  |  | 7663|      0|            _PyStackRef next;
  |  | 7664|       |            /* Skip 1 cache entry */
  |  | 7665|      0|            null_or_index = stack_pointer[-1];
  |  | 7666|      0|            iter = stack_pointer[-2];
  |  | 7667|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7668|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 7669|      0|            _PyStackRef item = _PyForIter_VirtualIteratorNext(tstate, frame, iter, &null_or_index);
  |  | 7670|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 7671|      0|            if (!PyStackRef_IsValid(item)) {
  |  |  ------------------
  |  |  |  Branch (7671:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7672|      0|                if (PyStackRef_IsError(item)) {
  |  |  ------------------
  |  |  |  Branch (7672:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7673|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7674|      0|                }
  |  | 7675|      0|                JUMPBY(oparg + 1);
  |  |  ------------------
  |  |  |  |  261|      0|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 7676|      0|                stack_pointer[-1] = null_or_index;
  |  | 7677|      0|                DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 7678|      0|            }
  |  | 7679|      0|            next = item;
  |  | 7680|      0|            INSTRUMENTED_JUMP(this_instr, next_instr, PY_MONITORING_EVENT_BRANCH_LEFT);
  |  |  ------------------
  |  |  |  |  410|      0|#define INSTRUMENTED_JUMP(src, dest, event) \
  |  |  |  |  411|      0|do { \
  |  |  |  |  412|      0|    _Py_CODEUNIT *_dest = (dest); \
  |  |  |  |  413|      0|    if (tstate->tracing) {\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (413:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  414|      0|        next_instr = _dest; \
  |  |  |  |  415|      0|    } else { \
  |  |  |  |  416|      0|        _PyFrame_SetStackPointer(frame, stack_pointer); \
  |  |  |  |  417|      0|        next_instr = _Py_call_instrumentation_jump(this_instr, tstate, event, frame, src, _dest); \
  |  |  |  |  418|      0|        stack_pointer = _PyFrame_GetStackPointer(frame); \
  |  |  |  |  419|      0|        if (next_instr == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (419:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  420|      0|            next_instr = _dest + 1; \
  |  |  |  |  421|      0|            JUMP_TO_LABEL(error); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  422|      0|        } \
  |  |  |  |  423|      0|    } \
  |  |  |  |  424|      0|} while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (424:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7681|      0|            stack_pointer[-1] = null_or_index;
  |  | 7682|      0|            stack_pointer[0] = next;
  |  | 7683|      0|            stack_pointer += 1;
  |  | 7684|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7685|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 7686|      0|        }
  |  | 7687|       |
  |  | 7688|      0|        TARGET(INSTRUMENTED_INSTRUCTION) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7689|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7690|       |            int opcode = INSTRUMENTED_INSTRUCTION;
  |  | 7691|       |            (void)(opcode);
  |  | 7692|       |            #endif
  |  | 7693|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7694|      0|            (void)this_instr;
  |  | 7695|      0|            frame->instr_ptr = next_instr;
  |  | 7696|      0|            next_instr += 1;
  |  | 7697|      0|            INSTRUCTION_STATS(INSTRUMENTED_INSTRUCTION);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7698|      0|            opcode = INSTRUMENTED_INSTRUCTION;
  |  |  ------------------
  |  |  |  |  225|      0|#define INSTRUMENTED_INSTRUCTION               237
  |  |  ------------------
  |  | 7699|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7700|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 7701|      0|            int next_opcode = _Py_call_instrumentation_instruction(
  |  | 7702|      0|                tstate, frame, this_instr);
  |  | 7703|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 7704|      0|            if (next_opcode < 0) {
  |  |  ------------------
  |  |  |  Branch (7704:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7705|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7706|      0|            }
  |  | 7707|      0|            next_instr = this_instr;
  |  | 7708|      0|            if (_PyOpcode_Caches[next_opcode]) {
  |  |  ------------------
  |  |  |  Branch (7708:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7709|      0|                PAUSE_ADAPTIVE_COUNTER(next_instr[1].counter);
  |  |  ------------------
  |  |  |  |  382|      0|    do { \
  |  |  |  |  383|      0|        (COUNTER) = pause_backoff_counter((COUNTER)); \
  |  |  |  |  384|      0|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (384:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7710|      0|            }
  |  | 7711|      0|            assert(next_opcode > 0 && next_opcode < 256);
  |  |  ------------------
  |  |  |  Branch (7711:13): [True: 0, False: 0]
  |  |  |  Branch (7711:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 7712|      0|            opcode = next_opcode;
  |  | 7713|      0|            DISPATCH_GOTO();
  |  |  ------------------
  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  ------------------
  |  | 7714|      0|        }
  |  | 7715|       |
  |  | 7716|      0|        TARGET(INSTRUMENTED_JUMP_BACKWARD) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7717|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7718|       |            int opcode = INSTRUMENTED_JUMP_BACKWARD;
  |  | 7719|       |            (void)(opcode);
  |  | 7720|       |            #endif
  |  | 7721|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7722|      0|            (void)this_instr;
  |  | 7723|      0|            frame->instr_ptr = next_instr;
  |  | 7724|      0|            next_instr += 2;
  |  | 7725|      0|            INSTRUCTION_STATS(INSTRUMENTED_JUMP_BACKWARD);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7726|       |            /* Skip 1 cache entry */
  |  | 7727|       |            // _CHECK_PERIODIC
  |  | 7728|      0|            {
  |  | 7729|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7730|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7731|      0|                int err = check_periodics(tstate);
  |  | 7732|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7733|      0|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (7733:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7734|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7735|      0|                }
  |  | 7736|      0|            }
  |  | 7737|       |            // _MONITOR_JUMP_BACKWARD
  |  | 7738|      0|            {
  |  | 7739|      0|                INSTRUMENTED_JUMP(this_instr, next_instr - oparg, PY_MONITORING_EVENT_JUMP);
  |  |  ------------------
  |  |  |  |  410|      0|#define INSTRUMENTED_JUMP(src, dest, event) \
  |  |  |  |  411|      0|do { \
  |  |  |  |  412|      0|    _Py_CODEUNIT *_dest = (dest); \
  |  |  |  |  413|      0|    if (tstate->tracing) {\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (413:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  414|      0|        next_instr = _dest; \
  |  |  |  |  415|      0|    } else { \
  |  |  |  |  416|      0|        _PyFrame_SetStackPointer(frame, stack_pointer); \
  |  |  |  |  417|      0|        next_instr = _Py_call_instrumentation_jump(this_instr, tstate, event, frame, src, _dest); \
  |  |  |  |  418|      0|        stack_pointer = _PyFrame_GetStackPointer(frame); \
  |  |  |  |  419|      0|        if (next_instr == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (419:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  420|      0|            next_instr = _dest + 1; \
  |  |  |  |  421|      0|            JUMP_TO_LABEL(error); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  422|      0|        } \
  |  |  |  |  423|      0|    } \
  |  |  |  |  424|      0|} while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (424:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7740|      0|            }
  |  | 7741|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 7742|      0|        }
  |  | 7743|       |
  |  | 7744|      0|        TARGET(INSTRUMENTED_JUMP_FORWARD) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7745|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7746|       |            int opcode = INSTRUMENTED_JUMP_FORWARD;
  |  | 7747|       |            (void)(opcode);
  |  | 7748|       |            #endif
  |  | 7749|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7750|      0|            (void)this_instr;
  |  | 7751|      0|            frame->instr_ptr = next_instr;
  |  | 7752|      0|            next_instr += 1;
  |  | 7753|      0|            INSTRUCTION_STATS(INSTRUMENTED_JUMP_FORWARD);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7754|      0|            INSTRUMENTED_JUMP(this_instr, next_instr + oparg, PY_MONITORING_EVENT_JUMP);
  |  |  ------------------
  |  |  |  |  410|      0|#define INSTRUMENTED_JUMP(src, dest, event) \
  |  |  |  |  411|      0|do { \
  |  |  |  |  412|      0|    _Py_CODEUNIT *_dest = (dest); \
  |  |  |  |  413|      0|    if (tstate->tracing) {\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (413:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  414|      0|        next_instr = _dest; \
  |  |  |  |  415|      0|    } else { \
  |  |  |  |  416|      0|        _PyFrame_SetStackPointer(frame, stack_pointer); \
  |  |  |  |  417|      0|        next_instr = _Py_call_instrumentation_jump(this_instr, tstate, event, frame, src, _dest); \
  |  |  |  |  418|      0|        stack_pointer = _PyFrame_GetStackPointer(frame); \
  |  |  |  |  419|      0|        if (next_instr == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (419:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  420|      0|            next_instr = _dest + 1; \
  |  |  |  |  421|      0|            JUMP_TO_LABEL(error); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  422|      0|        } \
  |  |  |  |  423|      0|    } \
  |  |  |  |  424|      0|} while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (424:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7755|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 7756|      0|        }
  |  | 7757|       |
  |  | 7758|      0|        TARGET(INSTRUMENTED_LINE) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7759|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7760|       |            int opcode = INSTRUMENTED_LINE;
  |  | 7761|       |            (void)(opcode);
  |  | 7762|       |            #endif
  |  | 7763|      0|            _Py_CODEUNIT* const prev_instr = frame->instr_ptr;
  |  | 7764|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7765|      0|            (void)this_instr;
  |  | 7766|      0|            frame->instr_ptr = next_instr;
  |  | 7767|      0|            next_instr += 1;
  |  | 7768|      0|            INSTRUCTION_STATS(INSTRUMENTED_LINE);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7769|      0|            opcode = INSTRUMENTED_LINE;
  |  |  ------------------
  |  |  |  |  241|      0|#define INSTRUMENTED_LINE                      253
  |  |  ------------------
  |  | 7770|      0|            int original_opcode = 0;
  |  | 7771|      0|            if (tstate->tracing) {
  |  |  ------------------
  |  |  |  Branch (7771:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7772|      0|                PyCodeObject *code = _PyFrame_GetCode(frame);
  |  | 7773|      0|                int index = (int)(this_instr - _PyFrame_GetBytecode(frame));
  |  | 7774|      0|                original_opcode = code->_co_monitoring->lines->data[index*code->_co_monitoring->lines->bytes_per_entry];
  |  | 7775|      0|                next_instr = this_instr;
  |  | 7776|      0|            } else {
  |  | 7777|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7778|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7779|      0|                original_opcode = _Py_call_instrumentation_line(
  |  | 7780|      0|                    tstate, frame, this_instr, prev_instr);
  |  | 7781|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7782|       |                // Explicit stack reload
  |  | 7783|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 7784|      0|                _PyFrame_StackAssertInvalid(frame);
  |  | 7785|      0|                if (original_opcode < 0) {
  |  |  ------------------
  |  |  |  Branch (7785:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7786|      0|                    next_instr = this_instr+1;
  |  | 7787|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7788|      0|                }
  |  | 7789|      0|                next_instr = frame->instr_ptr;
  |  | 7790|      0|                if (next_instr != this_instr) {
  |  |  ------------------
  |  |  |  Branch (7790:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7791|      0|                    DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 7792|      0|                }
  |  | 7793|      0|            }
  |  | 7794|      0|            if (_PyOpcode_Caches[original_opcode]) {
  |  |  ------------------
  |  |  |  Branch (7794:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7795|      0|                _PyBinaryOpCache *cache = (_PyBinaryOpCache *)(next_instr+1);
  |  | 7796|      0|                PAUSE_ADAPTIVE_COUNTER(cache->counter);
  |  |  ------------------
  |  |  |  |  382|      0|    do { \
  |  |  |  |  383|      0|        (COUNTER) = pause_backoff_counter((COUNTER)); \
  |  |  |  |  384|      0|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (384:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7797|      0|            }
  |  | 7798|      0|            opcode = original_opcode;
  |  | 7799|      0|            PRE_DISPATCH_GOTO();
  |  |  ------------------
  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  ------------------
  |  | 7800|      0|            DISPATCH_GOTO();
  |  |  ------------------
  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  ------------------
  |  | 7801|      0|        }
  |  | 7802|       |
  |  | 7803|      0|        TARGET(INSTRUMENTED_LOAD_SUPER_ATTR) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7804|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7805|       |            int opcode = INSTRUMENTED_LOAD_SUPER_ATTR;
  |  | 7806|       |            (void)(opcode);
  |  | 7807|       |            #endif
  |  | 7808|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7809|      0|            (void)this_instr;
  |  | 7810|      0|            frame->instr_ptr = next_instr;
  |  | 7811|      0|            next_instr += 2;
  |  | 7812|      0|            INSTRUCTION_STATS(INSTRUMENTED_LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7813|      0|            opcode = INSTRUMENTED_LOAD_SUPER_ATTR;
  |  |  ------------------
  |  |  |  |  236|      0|#define INSTRUMENTED_LOAD_SUPER_ATTR           248
  |  |  ------------------
  |  | 7814|      0|            _PyStackRef global_super_st;
  |  | 7815|      0|            _PyStackRef class_st;
  |  | 7816|      0|            _PyStackRef self_st;
  |  | 7817|      0|            _PyStackRef attr;
  |  | 7818|      0|            _PyStackRef *null;
  |  | 7819|       |            /* Skip 1 cache entry */
  |  | 7820|       |            // _LOAD_SUPER_ATTR
  |  | 7821|      0|            {
  |  | 7822|      0|                self_st = stack_pointer[-1];
  |  | 7823|      0|                class_st = stack_pointer[-2];
  |  | 7824|      0|                global_super_st = stack_pointer[-3];
  |  | 7825|      0|                PyObject *global_super = PyStackRef_AsPyObjectBorrow(global_super_st);
  |  | 7826|      0|                PyObject *class = PyStackRef_AsPyObjectBorrow(class_st);
  |  | 7827|      0|                PyObject *self = PyStackRef_AsPyObjectBorrow(self_st);
  |  | 7828|      0|                if (opcode == INSTRUMENTED_LOAD_SUPER_ATTR) {
  |  |  ------------------
  |  |  |  |  236|      0|#define INSTRUMENTED_LOAD_SUPER_ATTR           248
  |  |  ------------------
  |  |  |  Branch (7828:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7829|      0|                    PyObject *arg = oparg & 2 ? class : &_PyInstrumentation_MISSING;
  |  |  ------------------
  |  |  |  Branch (7829:37): [True: 0, False: 0]
  |  |  ------------------
  |  | 7830|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7831|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7832|      0|                    int err = _Py_call_instrumentation_2args(
  |  | 7833|      0|                        tstate, PY_MONITORING_EVENT_CALL,
  |  |  ------------------
  |  |  |  |   18|      0|#define PY_MONITORING_EVENT_CALL 4
  |  |  ------------------
  |  | 7834|      0|                        frame, this_instr, global_super, arg);
  |  | 7835|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7836|      0|                    if (err) {
  |  |  ------------------
  |  |  |  Branch (7836:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7837|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7837:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7838|      0|                        _PyFrame_StackPointerValidate(frame);
  |  | 7839|      0|                        _PyStackRef tmp = self_st;
  |  | 7840|      0|                        self_st = PyStackRef_NULL;
  |  | 7841|      0|                        stack_pointer[-1] = self_st;
  |  | 7842|      0|                        PyStackRef_CLOSE(tmp);
  |  | 7843|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 7844|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7844:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7845|      0|                        _PyFrame_StackPointerValidate(frame);
  |  | 7846|      0|                        tmp = class_st;
  |  | 7847|      0|                        class_st = PyStackRef_NULL;
  |  | 7848|      0|                        stack_pointer[-2] = class_st;
  |  | 7849|      0|                        PyStackRef_CLOSE(tmp);
  |  | 7850|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 7851|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7851:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7852|      0|                        _PyFrame_StackPointerValidate(frame);
  |  | 7853|      0|                        tmp = global_super_st;
  |  | 7854|      0|                        global_super_st = PyStackRef_NULL;
  |  | 7855|      0|                        stack_pointer[-3] = global_super_st;
  |  | 7856|      0|                        PyStackRef_CLOSE(tmp);
  |  | 7857|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 7858|      0|                        stack_pointer += -3;
  |  | 7859|      0|                        ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7860|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7861|      0|                    }
  |  | 7862|      0|                }
  |  | 7863|      0|                PyObject *super;
  |  | 7864|      0|                {
  |  | 7865|      0|                    PyObject *stack[] = {class, self};
  |  | 7866|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7867|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7868|      0|                    super = PyObject_Vectorcall(global_super, stack, oparg & 2, NULL);
  |  | 7869|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7870|      0|                }
  |  | 7871|      0|                if (opcode == INSTRUMENTED_LOAD_SUPER_ATTR) {
  |  |  ------------------
  |  |  |  |  236|      0|#define INSTRUMENTED_LOAD_SUPER_ATTR           248
  |  |  ------------------
  |  |  |  Branch (7871:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7872|      0|                    PyObject *arg = oparg & 2 ? class : &_PyInstrumentation_MISSING;
  |  |  ------------------
  |  |  |  Branch (7872:37): [True: 0, False: 0]
  |  |  ------------------
  |  | 7873|      0|                    if (super == NULL) {
  |  |  ------------------
  |  |  |  Branch (7873:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7874|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7874:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7875|      0|                        _PyFrame_StackPointerValidate(frame);
  |  | 7876|      0|                        _Py_call_instrumentation_exc2(
  |  | 7877|      0|                            tstate, PY_MONITORING_EVENT_C_RAISE,
  |  |  ------------------
  |  |  |  |   45|      0|#define PY_MONITORING_EVENT_C_RAISE 17
  |  |  ------------------
  |  | 7878|      0|                            frame, this_instr, global_super, arg);
  |  | 7879|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 7880|      0|                    }
  |  | 7881|      0|                    else {
  |  | 7882|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7882:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7883|      0|                        _PyFrame_StackPointerValidate(frame);
  |  | 7884|      0|                        int err = _Py_call_instrumentation_2args(
  |  | 7885|      0|                            tstate, PY_MONITORING_EVENT_C_RETURN,
  |  |  ------------------
  |  |  |  |   44|      0|#define PY_MONITORING_EVENT_C_RETURN 16
  |  |  ------------------
  |  | 7886|      0|                            frame, this_instr, global_super, arg);
  |  | 7887|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 7888|      0|                        if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (7888:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 7889|      0|                            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7889:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 7890|      0|                            _PyFrame_StackPointerValidate(frame);
  |  | 7891|      0|                            Py_CLEAR(super);
  |  |  ------------------
  |  |  |  |  484|      0|    do { \
  |  |  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   80|      0|    do { \
  |  |  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   84|      0|            break; \
  |  |  |  |  |  |   85|      0|        } \
  |  |  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |  |  |   91|      0|        } \
  |  |  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  490|      0|        } \
  |  |  |  |  491|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7892|      0|                            _PyFrame_StackPointerInvalidate(frame);
  |  | 7893|      0|                        }
  |  | 7894|      0|                    }
  |  | 7895|      0|                }
  |  | 7896|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7896:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7897|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7898|      0|                _PyStackRef tmp = self_st;
  |  | 7899|      0|                self_st = PyStackRef_NULL;
  |  | 7900|      0|                stack_pointer[-1] = self_st;
  |  | 7901|      0|                PyStackRef_CLOSE(tmp);
  |  | 7902|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7903|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7903:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7904|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7905|      0|                tmp = class_st;
  |  | 7906|      0|                class_st = PyStackRef_NULL;
  |  | 7907|      0|                stack_pointer[-2] = class_st;
  |  | 7908|      0|                PyStackRef_CLOSE(tmp);
  |  | 7909|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7910|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7910:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7911|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7912|      0|                tmp = global_super_st;
  |  | 7913|      0|                global_super_st = PyStackRef_NULL;
  |  | 7914|      0|                stack_pointer[-3] = global_super_st;
  |  | 7915|      0|                PyStackRef_CLOSE(tmp);
  |  | 7916|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7917|      0|                stack_pointer += -3;
  |  | 7918|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7919|      0|                if (super == NULL) {
  |  |  ------------------
  |  |  |  Branch (7919:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7920|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7921|      0|                }
  |  | 7922|      0|                PyObject *name = GETITEM(FRAME_CO_NAMES, oparg >> 2);
  |  |  ------------------
  |  |  |  |  236|      0|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (7922:34): [True: 0, False: 0]
  |  |  ------------------
  |  | 7923|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7924|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7925|      0|                PyObject *attr_o = PyObject_GetAttr(super, name);
  |  | 7926|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7927|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7927:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7928|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7929|      0|                Py_DECREF(super);
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7930|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7931|      0|                if (attr_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (7931:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7932|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7933|      0|                }
  |  | 7934|      0|                attr = PyStackRef_FromPyObjectSteal(attr_o);
  |  | 7935|      0|            }
  |  | 7936|       |            // _PUSH_NULL_CONDITIONAL
  |  | 7937|      0|            {
  |  | 7938|      0|                null = &stack_pointer[1];
  |  | 7939|      0|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (7939:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7940|      0|                    null[0] = PyStackRef_NULL;
  |  | 7941|      0|                }
  |  | 7942|      0|            }
  |  | 7943|      0|            stack_pointer[0] = attr;
  |  | 7944|      0|            stack_pointer += 1 + (oparg & 1);
  |  | 7945|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7946|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 7947|      0|        }
  |  | 7948|       |
  |  | 7949|      0|        TARGET(INSTRUMENTED_NOT_TAKEN) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7950|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7951|       |            int opcode = INSTRUMENTED_NOT_TAKEN;
  |  | 7952|       |            (void)(opcode);
  |  | 7953|       |            #endif
  |  | 7954|      0|            _Py_CODEUNIT* const prev_instr = frame->instr_ptr;
  |  | 7955|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7956|      0|            (void)this_instr;
  |  | 7957|      0|            frame->instr_ptr = next_instr;
  |  | 7958|      0|            next_instr += 1;
  |  | 7959|      0|            INSTRUCTION_STATS(INSTRUMENTED_NOT_TAKEN);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7960|      0|            (void)this_instr;
  |  | 7961|      0|            INSTRUMENTED_JUMP(prev_instr, next_instr, PY_MONITORING_EVENT_BRANCH_LEFT);
  |  |  ------------------
  |  |  |  |  410|      0|#define INSTRUMENTED_JUMP(src, dest, event) \
  |  |  |  |  411|      0|do { \
  |  |  |  |  412|      0|    _Py_CODEUNIT *_dest = (dest); \
  |  |  |  |  413|      0|    if (tstate->tracing) {\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (413:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  414|      0|        next_instr = _dest; \
  |  |  |  |  415|      0|    } else { \
  |  |  |  |  416|      0|        _PyFrame_SetStackPointer(frame, stack_pointer); \
  |  |  |  |  417|      0|        next_instr = _Py_call_instrumentation_jump(this_instr, tstate, event, frame, src, _dest); \
  |  |  |  |  418|      0|        stack_pointer = _PyFrame_GetStackPointer(frame); \
  |  |  |  |  419|      0|        if (next_instr == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (419:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  420|      0|            next_instr = _dest + 1; \
  |  |  |  |  421|      0|            JUMP_TO_LABEL(error); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  422|      0|        } \
  |  |  |  |  423|      0|    } \
  |  |  |  |  424|      0|} while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (424:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7962|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 7963|      0|        }
  |  | 7964|       |
  |  | 7965|      0|        TARGET(INSTRUMENTED_POP_ITER) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7966|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7967|       |            int opcode = INSTRUMENTED_POP_ITER;
  |  | 7968|       |            (void)(opcode);
  |  | 7969|       |            #endif
  |  | 7970|      0|            _Py_CODEUNIT* const prev_instr = frame->instr_ptr;
  |  | 7971|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7972|      0|            (void)this_instr;
  |  | 7973|      0|            frame->instr_ptr = next_instr;
  |  | 7974|      0|            next_instr += 1;
  |  | 7975|      0|            INSTRUCTION_STATS(INSTRUMENTED_POP_ITER);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7976|      0|            _PyStackRef iter;
  |  | 7977|      0|            _PyStackRef index_or_null;
  |  | 7978|      0|            index_or_null = stack_pointer[-1];
  |  | 7979|      0|            iter = stack_pointer[-2];
  |  | 7980|      0|            (void)index_or_null;
  |  | 7981|      0|            INSTRUMENTED_JUMP(prev_instr, this_instr+1, PY_MONITORING_EVENT_BRANCH_RIGHT);
  |  |  ------------------
  |  |  |  |  410|      0|#define INSTRUMENTED_JUMP(src, dest, event) \
  |  |  |  |  411|      0|do { \
  |  |  |  |  412|      0|    _Py_CODEUNIT *_dest = (dest); \
  |  |  |  |  413|      0|    if (tstate->tracing) {\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (413:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  414|      0|        next_instr = _dest; \
  |  |  |  |  415|      0|    } else { \
  |  |  |  |  416|      0|        _PyFrame_SetStackPointer(frame, stack_pointer); \
  |  |  |  |  417|      0|        next_instr = _Py_call_instrumentation_jump(this_instr, tstate, event, frame, src, _dest); \
  |  |  |  |  418|      0|        stack_pointer = _PyFrame_GetStackPointer(frame); \
  |  |  |  |  419|      0|        if (next_instr == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (419:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  420|      0|            next_instr = _dest + 1; \
  |  |  |  |  421|      0|            JUMP_TO_LABEL(error); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  422|      0|        } \
  |  |  |  |  423|      0|    } \
  |  |  |  |  424|      0|} while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (424:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7982|      0|            stack_pointer += -2;
  |  | 7983|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7984|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7985|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 7986|      0|            PyStackRef_CLOSE(iter);
  |  | 7987|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 7988|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 7989|      0|        }
  |  | 7990|       |
  |  | 7991|      0|        TARGET(INSTRUMENTED_POP_JUMP_IF_FALSE) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7992|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7993|       |            int opcode = INSTRUMENTED_POP_JUMP_IF_FALSE;
  |  | 7994|       |            (void)(opcode);
  |  | 7995|       |            #endif
  |  | 7996|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7997|      0|            (void)this_instr;
  |  | 7998|      0|            frame->instr_ptr = next_instr;
  |  | 7999|      0|            next_instr += 2;
  |  | 8000|      0|            INSTRUCTION_STATS(INSTRUMENTED_POP_JUMP_IF_FALSE);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8001|      0|            _PyStackRef cond;
  |  | 8002|       |            /* Skip 1 cache entry */
  |  | 8003|      0|            cond = stack_pointer[-1];
  |  | 8004|      0|            assert(PyStackRef_BoolCheck(cond));
  |  |  ------------------
  |  |  |  Branch (8004:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 8005|      0|            int jump = PyStackRef_IsFalse(cond);
  |  |  ------------------
  |  |  |  |  494|      0|#define PyStackRef_IsFalse(REF) ((REF).bits == (((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8006|      0|            RECORD_BRANCH_TAKEN(this_instr[1].cache, jump);
  |  |  ------------------
  |  |  |  |  394|      0|    FT_ATOMIC_STORE_UINT16_RELAXED(       \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define FT_ATOMIC_STORE_UINT16_RELAXED(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  395|      0|        bitset, (FT_ATOMIC_LOAD_UINT16_RELAXED(bitset) << 1) | (flag))
  |  |  ------------------
  |  | 8007|      0|            if (jump) {
  |  |  ------------------
  |  |  |  Branch (8007:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8008|      0|                INSTRUMENTED_JUMP(this_instr, next_instr + oparg, PY_MONITORING_EVENT_BRANCH_RIGHT);
  |  |  ------------------
  |  |  |  |  410|      0|#define INSTRUMENTED_JUMP(src, dest, event) \
  |  |  |  |  411|      0|do { \
  |  |  |  |  412|      0|    _Py_CODEUNIT *_dest = (dest); \
  |  |  |  |  413|      0|    if (tstate->tracing) {\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (413:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  414|      0|        next_instr = _dest; \
  |  |  |  |  415|      0|    } else { \
  |  |  |  |  416|      0|        _PyFrame_SetStackPointer(frame, stack_pointer); \
  |  |  |  |  417|      0|        next_instr = _Py_call_instrumentation_jump(this_instr, tstate, event, frame, src, _dest); \
  |  |  |  |  418|      0|        stack_pointer = _PyFrame_GetStackPointer(frame); \
  |  |  |  |  419|      0|        if (next_instr == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (419:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  420|      0|            next_instr = _dest + 1; \
  |  |  |  |  421|      0|            JUMP_TO_LABEL(error); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  422|      0|        } \
  |  |  |  |  423|      0|    } \
  |  |  |  |  424|      0|} while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (424:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8009|      0|            }
  |  | 8010|      0|            stack_pointer += -1;
  |  | 8011|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8012|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 8013|      0|        }
  |  | 8014|       |
  |  | 8015|      0|        TARGET(INSTRUMENTED_POP_JUMP_IF_NONE) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8016|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8017|       |            int opcode = INSTRUMENTED_POP_JUMP_IF_NONE;
  |  | 8018|       |            (void)(opcode);
  |  | 8019|       |            #endif
  |  | 8020|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8021|      0|            (void)this_instr;
  |  | 8022|      0|            frame->instr_ptr = next_instr;
  |  | 8023|      0|            next_instr += 2;
  |  | 8024|      0|            INSTRUCTION_STATS(INSTRUMENTED_POP_JUMP_IF_NONE);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8025|      0|            _PyStackRef value;
  |  | 8026|       |            /* Skip 1 cache entry */
  |  | 8027|      0|            value = stack_pointer[-1];
  |  | 8028|      0|            int jump = PyStackRef_IsNone(value);
  |  |  ------------------
  |  |  |  |  495|      0|#define PyStackRef_IsNone(REF) ((REF).bits == (((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8029|      0|            RECORD_BRANCH_TAKEN(this_instr[1].cache, jump);
  |  |  ------------------
  |  |  |  |  394|      0|    FT_ATOMIC_STORE_UINT16_RELAXED(       \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define FT_ATOMIC_STORE_UINT16_RELAXED(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  395|      0|        bitset, (FT_ATOMIC_LOAD_UINT16_RELAXED(bitset) << 1) | (flag))
  |  |  ------------------
  |  | 8030|      0|            if (jump) {
  |  |  ------------------
  |  |  |  Branch (8030:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8031|      0|                INSTRUMENTED_JUMP(this_instr, next_instr + oparg, PY_MONITORING_EVENT_BRANCH_RIGHT);
  |  |  ------------------
  |  |  |  |  410|      0|#define INSTRUMENTED_JUMP(src, dest, event) \
  |  |  |  |  411|      0|do { \
  |  |  |  |  412|      0|    _Py_CODEUNIT *_dest = (dest); \
  |  |  |  |  413|      0|    if (tstate->tracing) {\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (413:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  414|      0|        next_instr = _dest; \
  |  |  |  |  415|      0|    } else { \
  |  |  |  |  416|      0|        _PyFrame_SetStackPointer(frame, stack_pointer); \
  |  |  |  |  417|      0|        next_instr = _Py_call_instrumentation_jump(this_instr, tstate, event, frame, src, _dest); \
  |  |  |  |  418|      0|        stack_pointer = _PyFrame_GetStackPointer(frame); \
  |  |  |  |  419|      0|        if (next_instr == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (419:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  420|      0|            next_instr = _dest + 1; \
  |  |  |  |  421|      0|            JUMP_TO_LABEL(error); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  422|      0|        } \
  |  |  |  |  423|      0|    } \
  |  |  |  |  424|      0|} while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (424:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8032|      0|            }
  |  | 8033|      0|            else {
  |  | 8034|      0|                stack_pointer += -1;
  |  | 8035|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8036|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8037|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 8038|      0|                PyStackRef_CLOSE(value);
  |  | 8039|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8040|      0|                stack_pointer += 1;
  |  | 8041|      0|            }
  |  | 8042|      0|            stack_pointer += -1;
  |  | 8043|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8044|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 8045|      0|        }
  |  | 8046|       |
  |  | 8047|      0|        TARGET(INSTRUMENTED_POP_JUMP_IF_NOT_NONE) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8048|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8049|       |            int opcode = INSTRUMENTED_POP_JUMP_IF_NOT_NONE;
  |  | 8050|       |            (void)(opcode);
  |  | 8051|       |            #endif
  |  | 8052|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8053|      0|            (void)this_instr;
  |  | 8054|      0|            frame->instr_ptr = next_instr;
  |  | 8055|      0|            next_instr += 2;
  |  | 8056|      0|            INSTRUCTION_STATS(INSTRUMENTED_POP_JUMP_IF_NOT_NONE);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8057|      0|            _PyStackRef value;
  |  | 8058|       |            /* Skip 1 cache entry */
  |  | 8059|      0|            value = stack_pointer[-1];
  |  | 8060|      0|            int jump = !PyStackRef_IsNone(value);
  |  |  ------------------
  |  |  |  |  495|      0|#define PyStackRef_IsNone(REF) ((REF).bits == (((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8061|      0|            RECORD_BRANCH_TAKEN(this_instr[1].cache, jump);
  |  |  ------------------
  |  |  |  |  394|      0|    FT_ATOMIC_STORE_UINT16_RELAXED(       \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define FT_ATOMIC_STORE_UINT16_RELAXED(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  395|      0|        bitset, (FT_ATOMIC_LOAD_UINT16_RELAXED(bitset) << 1) | (flag))
  |  |  ------------------
  |  | 8062|      0|            if (jump) {
  |  |  ------------------
  |  |  |  Branch (8062:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8063|      0|                stack_pointer += -1;
  |  | 8064|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8065|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8066|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 8067|      0|                PyStackRef_CLOSE(value);
  |  | 8068|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8069|      0|                INSTRUMENTED_JUMP(this_instr, next_instr + oparg, PY_MONITORING_EVENT_BRANCH_RIGHT);
  |  |  ------------------
  |  |  |  |  410|      0|#define INSTRUMENTED_JUMP(src, dest, event) \
  |  |  |  |  411|      0|do { \
  |  |  |  |  412|      0|    _Py_CODEUNIT *_dest = (dest); \
  |  |  |  |  413|      0|    if (tstate->tracing) {\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (413:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  414|      0|        next_instr = _dest; \
  |  |  |  |  415|      0|    } else { \
  |  |  |  |  416|      0|        _PyFrame_SetStackPointer(frame, stack_pointer); \
  |  |  |  |  417|      0|        next_instr = _Py_call_instrumentation_jump(this_instr, tstate, event, frame, src, _dest); \
  |  |  |  |  418|      0|        stack_pointer = _PyFrame_GetStackPointer(frame); \
  |  |  |  |  419|      0|        if (next_instr == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (419:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  420|      0|            next_instr = _dest + 1; \
  |  |  |  |  421|      0|            JUMP_TO_LABEL(error); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  422|      0|        } \
  |  |  |  |  423|      0|    } \
  |  |  |  |  424|      0|} while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (424:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8070|      0|            }
  |  | 8071|      0|            else {
  |  | 8072|      0|                stack_pointer += -1;
  |  | 8073|      0|            }
  |  | 8074|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 8075|      0|        }
  |  | 8076|       |
  |  | 8077|      0|        TARGET(INSTRUMENTED_POP_JUMP_IF_TRUE) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8078|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8079|       |            int opcode = INSTRUMENTED_POP_JUMP_IF_TRUE;
  |  | 8080|       |            (void)(opcode);
  |  | 8081|       |            #endif
  |  | 8082|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8083|      0|            (void)this_instr;
  |  | 8084|      0|            frame->instr_ptr = next_instr;
  |  | 8085|      0|            next_instr += 2;
  |  | 8086|      0|            INSTRUCTION_STATS(INSTRUMENTED_POP_JUMP_IF_TRUE);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8087|      0|            _PyStackRef cond;
  |  | 8088|       |            /* Skip 1 cache entry */
  |  | 8089|      0|            cond = stack_pointer[-1];
  |  | 8090|      0|            assert(PyStackRef_BoolCheck(cond));
  |  |  ------------------
  |  |  |  Branch (8090:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 8091|      0|            int jump = PyStackRef_IsTrue(cond);
  |  |  ------------------
  |  |  |  |  493|      0|#define PyStackRef_IsTrue(REF) ((REF).bits == (((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8092|      0|            RECORD_BRANCH_TAKEN(this_instr[1].cache, jump);
  |  |  ------------------
  |  |  |  |  394|      0|    FT_ATOMIC_STORE_UINT16_RELAXED(       \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define FT_ATOMIC_STORE_UINT16_RELAXED(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  395|      0|        bitset, (FT_ATOMIC_LOAD_UINT16_RELAXED(bitset) << 1) | (flag))
  |  |  ------------------
  |  | 8093|      0|            if (jump) {
  |  |  ------------------
  |  |  |  Branch (8093:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8094|      0|                INSTRUMENTED_JUMP(this_instr, next_instr + oparg, PY_MONITORING_EVENT_BRANCH_RIGHT);
  |  |  ------------------
  |  |  |  |  410|      0|#define INSTRUMENTED_JUMP(src, dest, event) \
  |  |  |  |  411|      0|do { \
  |  |  |  |  412|      0|    _Py_CODEUNIT *_dest = (dest); \
  |  |  |  |  413|      0|    if (tstate->tracing) {\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (413:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  414|      0|        next_instr = _dest; \
  |  |  |  |  415|      0|    } else { \
  |  |  |  |  416|      0|        _PyFrame_SetStackPointer(frame, stack_pointer); \
  |  |  |  |  417|      0|        next_instr = _Py_call_instrumentation_jump(this_instr, tstate, event, frame, src, _dest); \
  |  |  |  |  418|      0|        stack_pointer = _PyFrame_GetStackPointer(frame); \
  |  |  |  |  419|      0|        if (next_instr == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (419:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  420|      0|            next_instr = _dest + 1; \
  |  |  |  |  421|      0|            JUMP_TO_LABEL(error); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  422|      0|        } \
  |  |  |  |  423|      0|    } \
  |  |  |  |  424|      0|} while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (424:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8095|      0|            }
  |  | 8096|      0|            stack_pointer += -1;
  |  | 8097|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8098|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 8099|      0|        }
  |  | 8100|       |
  |  | 8101|      0|        TARGET(INSTRUMENTED_RESUME) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8102|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8103|       |            int opcode = INSTRUMENTED_RESUME;
  |  | 8104|       |            (void)(opcode);
  |  | 8105|       |            #endif
  |  | 8106|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8107|      0|            (void)this_instr;
  |  | 8108|      0|            frame->instr_ptr = next_instr;
  |  | 8109|      0|            next_instr += 2;
  |  | 8110|      0|            INSTRUCTION_STATS(INSTRUMENTED_RESUME);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8111|       |            /* Skip 1 cache entry */
  |  | 8112|       |            // _LOAD_BYTECODE
  |  | 8113|      0|            {
  |  | 8114|       |                #ifdef Py_GIL_DISABLED
  |  | 8115|       |                if (frame->tlbc_index !=
  |  | 8116|       |                    ((_PyThreadStateImpl *)tstate)->tlbc_index) {
  |  | 8117|       |                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8118|       |                    _PyFrame_StackPointerValidate(frame);
  |  | 8119|       |                    _Py_CODEUNIT *bytecode =
  |  | 8120|       |                    _PyEval_GetExecutableCode(tstate, _PyFrame_GetCode(frame));
  |  | 8121|       |                    _PyFrame_StackPointerInvalidate(frame);
  |  | 8122|       |                    if (bytecode == NULL) {
  |  | 8123|       |                        JUMP_TO_LABEL(error);
  |  | 8124|       |                    }
  |  | 8125|       |                    ptrdiff_t off = this_instr - _PyFrame_GetBytecode(frame);
  |  | 8126|       |                    frame->tlbc_index = ((_PyThreadStateImpl *)tstate)->tlbc_index;
  |  | 8127|       |                    frame->instr_ptr = bytecode + off;
  |  | 8128|       |                    next_instr = frame->instr_ptr;
  |  | 8129|       |                    DISPATCH();
  |  | 8130|       |                }
  |  | 8131|       |                #endif
  |  | 8132|      0|            }
  |  | 8133|       |            // _MAYBE_INSTRUMENT
  |  | 8134|      0|            {
  |  | 8135|       |                #ifdef Py_GIL_DISABLED
  |  | 8136|       |
  |  | 8137|       |                int check_instrumentation = 1;
  |  | 8138|       |                #else
  |  | 8139|      0|                int check_instrumentation = (tstate->tracing == 0);
  |  | 8140|      0|                #endif
  |  | 8141|      0|                if (check_instrumentation) {
  |  |  ------------------
  |  |  |  Branch (8141:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8142|      0|                    uintptr_t global_version = _Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker) & ~_PY_EVAL_EVENTS_MASK;
  |  |  ------------------
  |  |  |  |  356|      0|#define _PY_EVAL_EVENTS_MASK ((1 << _PY_EVAL_EVENTS_BITS)-1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  355|      0|#define _PY_EVAL_EVENTS_BITS 8
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8143|      0|                    uintptr_t code_version = FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(_PyFrame_GetCode(frame)->_co_instrumentation_version);
  |  |  ------------------
  |  |  |  |  152|      0|#define FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(value) value
  |  |  ------------------
  |  | 8144|      0|                    if (code_version != global_version) {
  |  |  ------------------
  |  |  |  Branch (8144:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 8145|      0|                        _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8146|      0|                        _PyFrame_StackPointerValidate(frame);
  |  | 8147|      0|                        int err = _Py_Instrument(_PyFrame_GetCode(frame), tstate->interp);
  |  | 8148|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 8149|      0|                        if (err) {
  |  |  ------------------
  |  |  |  Branch (8149:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 8150|      0|                            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8151|      0|                        }
  |  | 8152|      0|                        next_instr = this_instr;
  |  | 8153|      0|                        DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 8154|      0|                    }
  |  | 8155|      0|                }
  |  | 8156|      0|            }
  |  | 8157|       |            // _CHECK_PERIODIC_IF_NOT_YIELD_FROM
  |  | 8158|      0|            {
  |  | 8159|      0|                if ((oparg & RESUME_OPARG_LOCATION_MASK) < RESUME_AFTER_YIELD_FROM) {
  |  |  ------------------
  |  |  |  |   94|      0|#define RESUME_OPARG_LOCATION_MASK 0x7
  |  |  ------------------
  |  |                               if ((oparg & RESUME_OPARG_LOCATION_MASK) < RESUME_AFTER_YIELD_FROM) {
  |  |  ------------------
  |  |  |  |   90|      0|#define RESUME_AFTER_YIELD_FROM 2
  |  |  ------------------
  |  |  |  Branch (8159:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8160|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8161|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 8162|      0|                    int err = check_periodics(tstate);
  |  | 8163|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 8164|      0|                    if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (8164:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 8165|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8166|      0|                    }
  |  | 8167|      0|                }
  |  | 8168|      0|            }
  |  | 8169|       |            // _MONITOR_RESUME
  |  | 8170|      0|            {
  |  | 8171|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8172|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 8173|      0|                int err = _Py_call_instrumentation(
  |  | 8174|      0|                    tstate, oparg == 0 ? PY_MONITORING_EVENT_PY_START : PY_MONITORING_EVENT_PY_RESUME, frame, this_instr);
  |  |  ------------------
  |  |  |  |   14|      0|#define PY_MONITORING_EVENT_PY_START 0
  |  |  ------------------
  |  |                                   tstate, oparg == 0 ? PY_MONITORING_EVENT_PY_START : PY_MONITORING_EVENT_PY_RESUME, frame, this_instr);
  |  |  ------------------
  |  |  |  |   15|      0|#define PY_MONITORING_EVENT_PY_RESUME 1
  |  |  ------------------
  |  |  |  Branch (8174:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 8175|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8176|       |                // Explicit stack reload
  |  | 8177|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 8178|      0|                _PyFrame_StackAssertInvalid(frame);
  |  | 8179|      0|                if (err) {
  |  |  ------------------
  |  |  |  Branch (8179:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8180|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8181|      0|                }
  |  | 8182|      0|                if (frame->instr_ptr != this_instr) {
  |  |  ------------------
  |  |  |  Branch (8182:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8183|      0|                    next_instr = frame->instr_ptr;
  |  | 8184|      0|                }
  |  | 8185|      0|            }
  |  | 8186|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 8187|      0|        }
  |  | 8188|       |
  |  | 8189|      0|        TARGET(INSTRUMENTED_RETURN_VALUE) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8190|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8191|       |            int opcode = INSTRUMENTED_RETURN_VALUE;
  |  | 8192|       |            (void)(opcode);
  |  | 8193|       |            #endif
  |  | 8194|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8195|      0|            (void)this_instr;
  |  | 8196|      0|            frame->instr_ptr = next_instr;
  |  | 8197|      0|            next_instr += 1;
  |  | 8198|      0|            INSTRUCTION_STATS(INSTRUMENTED_RETURN_VALUE);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8199|      0|            _PyStackRef val;
  |  | 8200|      0|            _PyStackRef value;
  |  | 8201|      0|            _PyStackRef retval;
  |  | 8202|      0|            _PyStackRef res;
  |  | 8203|       |            // _RETURN_VALUE_EVENT
  |  | 8204|      0|            {
  |  | 8205|      0|                val = stack_pointer[-1];
  |  | 8206|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8207|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 8208|      0|                int err = _Py_call_instrumentation_arg(
  |  | 8209|      0|                    tstate, PY_MONITORING_EVENT_PY_RETURN,
  |  |  ------------------
  |  |  |  |   16|      0|#define PY_MONITORING_EVENT_PY_RETURN 2
  |  |  ------------------
  |  | 8210|      0|                    frame, this_instr, PyStackRef_AsPyObjectBorrow(val));
  |  | 8211|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8212|      0|                if (err) {
  |  |  ------------------
  |  |  |  Branch (8212:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8213|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8214|      0|                }
  |  | 8215|      0|            }
  |  | 8216|       |            // _MAKE_HEAP_SAFE
  |  | 8217|      0|            {
  |  | 8218|      0|                value = val;
  |  | 8219|      0|                value = PyStackRef_MakeHeapSafe(value);
  |  | 8220|      0|            }
  |  | 8221|       |            // _RETURN_VALUE
  |  | 8222|      0|            {
  |  | 8223|      0|                retval = value;
  |  | 8224|      0|                assert(frame->owner != FRAME_OWNED_BY_INTERPRETER);
  |  |  ------------------
  |  |  |  Branch (8224:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8225|      0|                _PyStackRef temp = retval;
  |  | 8226|      0|                stack_pointer += -1;
  |  | 8227|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8228|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8229|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 8230|      0|                assert(STACK_LEVEL() == 0);
  |  |  ------------------
  |  |  |  Branch (8230:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8231|      0|                DTRACE_FUNCTION_RETURN();
  |  |  ------------------
  |  |  |  |  347|      0|#define DTRACE_FUNCTION_RETURN() ((void)0)
  |  |  ------------------
  |  | 8232|      0|                _Py_LeaveRecursiveCallPy(tstate);
  |  | 8233|      0|                _PyInterpreterFrame *dying = frame;
  |  | 8234|      0|                frame = tstate->current_frame = dying->previous;
  |  | 8235|      0|                _PyEval_FrameClearAndPop(tstate, dying);
  |  | 8236|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 8237|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8238|      0|                LOAD_IP(frame->return_offset);
  |  |  ------------------
  |  |  |  |  441|      0|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|      0|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8239|      0|                res = temp;
  |  | 8240|      0|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|      0|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 8241|      0|            }
  |  | 8242|      0|            stack_pointer[0] = res;
  |  | 8243|      0|            stack_pointer += 1;
  |  | 8244|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8245|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 8246|      0|        }
  |  | 8247|       |
  |  | 8248|      0|        TARGET(INSTRUMENTED_YIELD_VALUE) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8249|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8250|       |            int opcode = INSTRUMENTED_YIELD_VALUE;
  |  | 8251|       |            (void)(opcode);
  |  | 8252|       |            #endif
  |  | 8253|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8254|      0|            (void)this_instr;
  |  | 8255|      0|            frame->instr_ptr = next_instr;
  |  | 8256|      0|            next_instr += 1;
  |  | 8257|      0|            INSTRUCTION_STATS(INSTRUMENTED_YIELD_VALUE);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8258|      0|            opcode = INSTRUMENTED_YIELD_VALUE;
  |  |  ------------------
  |  |  |  |  234|      0|#define INSTRUMENTED_YIELD_VALUE               246
  |  |  ------------------
  |  | 8259|      0|            _PyStackRef val;
  |  | 8260|      0|            _PyStackRef value;
  |  | 8261|      0|            _PyStackRef retval;
  |  | 8262|       |            // _YIELD_VALUE_EVENT
  |  | 8263|      0|            {
  |  | 8264|      0|                val = stack_pointer[-1];
  |  | 8265|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8266|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 8267|      0|                int err = _Py_call_instrumentation_arg(
  |  | 8268|      0|                    tstate, PY_MONITORING_EVENT_PY_YIELD,
  |  |  ------------------
  |  |  |  |   17|      0|#define PY_MONITORING_EVENT_PY_YIELD 3
  |  |  ------------------
  |  | 8269|      0|                    frame, this_instr, PyStackRef_AsPyObjectBorrow(val));
  |  | 8270|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8271|      0|                if (err) {
  |  |  ------------------
  |  |  |  Branch (8271:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8272|       |                    // Explicit stack reload
  |  | 8273|      0|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 8274|      0|                    _PyFrame_StackAssertInvalid(frame);
  |  | 8275|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8276|      0|                }
  |  | 8277|      0|                if (frame->instr_ptr != this_instr) {
  |  |  ------------------
  |  |  |  Branch (8277:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8278|       |                    // Explicit stack reload
  |  | 8279|      0|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 8280|      0|                    _PyFrame_StackAssertInvalid(frame);
  |  | 8281|      0|                    next_instr = frame->instr_ptr;
  |  | 8282|      0|                    DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 8283|      0|                }
  |  | 8284|      0|            }
  |  | 8285|       |            // _MAKE_HEAP_SAFE
  |  | 8286|      0|            {
  |  | 8287|      0|                value = val;
  |  | 8288|      0|                value = PyStackRef_MakeHeapSafe(value);
  |  | 8289|      0|            }
  |  | 8290|       |            // _YIELD_VALUE
  |  | 8291|      0|            {
  |  | 8292|      0|                retval = value;
  |  | 8293|      0|                assert(frame->owner != FRAME_OWNED_BY_INTERPRETER);
  |  |  ------------------
  |  |  |  Branch (8293:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8294|      0|                frame->instr_ptr++;
  |  | 8295|      0|                PyGenObject *gen = _PyGen_GetGeneratorFromFrame(frame);
  |  | 8296|      0|                assert(FRAME_SUSPENDED_YIELD_FROM == FRAME_SUSPENDED + 1);
  |  |  ------------------
  |  |  |  Branch (8296:17): [True: 0, Folded]
  |  |  ------------------
  |  | 8297|      0|                assert(oparg == 0 || oparg == 1);
  |  |  ------------------
  |  |  |  Branch (8297:17): [True: 0, False: 0]
  |  |  |  Branch (8297:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8298|      0|                _PyStackRef temp = retval;
  |  | 8299|      0|                stack_pointer += -1;
  |  | 8300|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8301|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8302|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 8303|      0|                DTRACE_FUNCTION_RETURN();
  |  |  ------------------
  |  |  |  |  347|      0|#define DTRACE_FUNCTION_RETURN() ((void)0)
  |  |  ------------------
  |  | 8304|      0|                tstate->exc_info = gen->gi_exc_state.previous_item;
  |  | 8305|      0|                gen->gi_exc_state.previous_item = NULL;
  |  | 8306|      0|                _Py_LeaveRecursiveCallPy(tstate);
  |  | 8307|      0|                _PyInterpreterFrame *gen_frame = frame;
  |  | 8308|      0|                _PyThreadState_UpdateLastProfiledFrame(tstate, gen_frame, gen_frame->previous);
  |  |  ------------------
  |  |  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8309|      0|                frame = tstate->current_frame = frame->previous;
  |  | 8310|      0|                gen_frame->previous = NULL;
  |  | 8311|      0|                ((_PyThreadStateImpl *)tstate)->generator_return_kind = GENERATOR_YIELD;
  |  | 8312|      0|                FT_ATOMIC_STORE_INT8_RELEASE(gen->gi_frame_state, FRAME_SUSPENDED + oparg);
  |  |  ------------------
  |  |  |  |  167|      0|#define FT_ATOMIC_STORE_INT8_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  |  | 8313|      0|                assert(INLINE_CACHE_ENTRIES_SEND == INLINE_CACHE_ENTRIES_FOR_ITER);
  |  |  ------------------
  |  |  |  Branch (8313:17): [True: 0, Folded]
  |  |  ------------------
  |  | 8314|       |                #if TIER_ONE && defined(Py_DEBUG)
  |  | 8315|       |                if (!PyStackRef_IsNone(frame->f_executable)) {
  |  | 8316|       |                    Py_ssize_t i = frame->instr_ptr - _PyFrame_GetBytecode(frame);
  |  | 8317|       |                    assert(i >= 0 && i <= INT_MAX);
  |  | 8318|       |                    int opcode = _Py_GetBaseCodeUnit(_PyFrame_GetCode(frame), (int)i).op.code;
  |  | 8319|       |                    assert(opcode == SEND || opcode == FOR_ITER);
  |  | 8320|       |                }
  |  | 8321|       |                #endif
  |  | 8322|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 8323|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8324|      0|                LOAD_IP(1 + INLINE_CACHE_ENTRIES_SEND);
  |  |  ------------------
  |  |  |  |  441|      0|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|      0|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8325|      0|                value = temp;
  |  | 8326|      0|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|      0|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 8327|      0|            }
  |  | 8328|      0|            stack_pointer[0] = value;
  |  | 8329|      0|            stack_pointer += 1;
  |  | 8330|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8331|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 8332|      0|        }
  |  | 8333|       |
  |  | 8334|  2.09k|        TARGET(INTERPRETER_EXIT) {
  |  |  ------------------
  |  |  |  |  132|  2.09k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8335|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8336|       |            int opcode = INTERPRETER_EXIT;
  |  | 8337|       |            (void)(opcode);
  |  | 8338|       |            #endif
  |  | 8339|  2.09k|            frame->instr_ptr = next_instr;
  |  | 8340|  2.09k|            next_instr += 1;
  |  | 8341|  2.09k|            INSTRUCTION_STATS(INTERPRETER_EXIT);
  |  |  ------------------
  |  |  |  |   71|  2.09k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8342|  2.09k|            _PyStackRef retval;
  |  | 8343|  2.09k|            retval = stack_pointer[-1];
  |  | 8344|  2.09k|            assert(frame->owner == FRAME_OWNED_BY_INTERPRETER);
  |  |  ------------------
  |  |  |  Branch (8344:13): [True: 2.09k, False: 0]
  |  |  ------------------
  |  | 8345|  2.09k|            assert(_PyFrame_IsIncomplete(frame));
  |  |  ------------------
  |  |  |  Branch (8345:13): [True: 2.09k, False: 0]
  |  |  ------------------
  |  | 8346|  2.09k|            tstate->current_frame = frame->previous;
  |  | 8347|  2.09k|            assert(!_PyErr_Occurred(tstate));
  |  |  ------------------
  |  |  |  Branch (8347:13): [True: 2.09k, False: 0]
  |  |  ------------------
  |  | 8348|  2.09k|            PyObject *result = PyStackRef_AsPyObjectSteal(retval);
  |  | 8349|  2.09k|            #if !_Py_TAIL_CALL_INTERP
  |  | 8350|  2.09k|            assert(frame == &entry.frame);
  |  |  ------------------
  |  |  |  Branch (8350:13): [True: 2.09k, False: 0]
  |  |  ------------------
  |  | 8351|  2.09k|            #endif
  |  | 8352|       |            #ifdef _Py_TIER2
  |  | 8353|       |            _PyStackRef executor = frame->localsplus[0];
  |  | 8354|       |            assert(tstate->current_executor == NULL);
  |  | 8355|       |            if (!PyStackRef_IsNull(executor)) {
  |  | 8356|       |                assert(PyStackRef_TYPE(executor) == &_PyUOpExecutor_Type);
  |  | 8357|       |                tstate->current_executor = PyStackRef_AsPyObjectBorrow(executor);
  |  | 8358|       |                stack_pointer += -1;
  |  | 8359|       |                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  | 8360|       |                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8361|       |                _PyFrame_StackPointerValidate(frame);
  |  | 8362|       |                PyStackRef_CLOSE(executor);
  |  | 8363|       |                _PyFrame_StackPointerInvalidate(frame);
  |  | 8364|       |                stack_pointer += 1;
  |  | 8365|       |            }
  |  | 8366|       |            #endif
  |  | 8367|  2.09k|            LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  2.09k|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 8368|  2.09k|            return result;
  |  | 8369|  2.09k|        }
  |  | 8370|       |
  |  | 8371|    924|        TARGET(IS_OP) {
  |  |  ------------------
  |  |  |  |  132|    924|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8372|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8373|       |            int opcode = IS_OP;
  |  | 8374|       |            (void)(opcode);
  |  | 8375|       |            #endif
  |  | 8376|    924|            frame->instr_ptr = next_instr;
  |  | 8377|    924|            next_instr += 1;
  |  | 8378|    924|            INSTRUCTION_STATS(IS_OP);
  |  |  ------------------
  |  |  |  |   71|    924|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8379|    924|            _PyStackRef left;
  |  | 8380|    924|            _PyStackRef right;
  |  | 8381|    924|            _PyStackRef b;
  |  | 8382|    924|            _PyStackRef l;
  |  | 8383|    924|            _PyStackRef r;
  |  | 8384|    924|            _PyStackRef value;
  |  | 8385|       |            // _IS_OP
  |  | 8386|    924|            {
  |  | 8387|    924|                right = stack_pointer[-1];
  |  | 8388|    924|                left = stack_pointer[-2];
  |  | 8389|    924|                int res = Py_Is(PyStackRef_AsPyObjectBorrow(left), PyStackRef_AsPyObjectBorrow(right)) ^ oparg;
  |  |  ------------------
  |  |  |  |  187|    924|#define Py_Is(x, y) ((x) == (y))
  |  |  ------------------
  |  | 8390|    924|                b = res ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|    379|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    379|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               b = res ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  1.46k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    545|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8390:21): [True: 379, False: 545]
  |  |  ------------------
  |  | 8391|    924|                l = left;
  |  | 8392|    924|                r = right;
  |  | 8393|    924|            }
  |  | 8394|       |            // _POP_TOP
  |  | 8395|    924|            {
  |  | 8396|    924|                value = r;
  |  | 8397|    924|                stack_pointer[-2] = b;
  |  | 8398|    924|                stack_pointer[-1] = l;
  |  | 8399|    924|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8400|    924|                _PyFrame_StackPointerValidate(frame);
  |  | 8401|    924|                PyStackRef_XCLOSE(value);
  |  | 8402|    924|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8403|    924|            }
  |  | 8404|       |            // _POP_TOP
  |  | 8405|    924|            {
  |  | 8406|    924|                value = l;
  |  | 8407|    924|                stack_pointer += -1;
  |  | 8408|    924|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    924|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8409|    924|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8410|    924|                _PyFrame_StackPointerValidate(frame);
  |  | 8411|    924|                PyStackRef_XCLOSE(value);
  |  | 8412|    924|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8413|    924|            }
  |  | 8414|    924|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    924|    { \
  |  |  |  |  201|    924|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    924|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    924|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    924|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    924|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    924|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    924|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    924|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 924]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    924|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    924|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    924|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    924|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    924|    }
  |  |  ------------------
  |  | 8415|    924|        }
  |  | 8416|       |
  |  | 8417|    924|        TARGET(JUMP_BACKWARD) {
  |  |  ------------------
  |  |  |  |  132|    192|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8418|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8419|       |            int opcode = JUMP_BACKWARD;
  |  | 8420|       |            (void)(opcode);
  |  | 8421|       |            #endif
  |  | 8422|    192|            frame->instr_ptr = next_instr;
  |  | 8423|    192|            next_instr += 2;
  |  | 8424|    192|            INSTRUCTION_STATS(JUMP_BACKWARD);
  |  |  ------------------
  |  |  |  |   71|    192|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8425|    192|            PREDICTED_JUMP_BACKWARD:;
  |  | 8426|    192|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  | 8427|    192|            (void)this_instr;
  |  | 8428|       |            /* Skip 1 cache entry */
  |  | 8429|       |            // _SPECIALIZE_JUMP_BACKWARD
  |  | 8430|    192|            {
  |  | 8431|    192|                #if ENABLE_SPECIALIZATION
  |  | 8432|    192|                if (this_instr->op.code == JUMP_BACKWARD) {
  |  |  ------------------
  |  |  |  |   84|    192|#define JUMP_BACKWARD                           71
  |  |  ------------------
  |  |  |  Branch (8432:21): [True: 192, False: 0]
  |  |  ------------------
  |  | 8433|    192|                    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|    384|#define JUMP_BACKWARD_NO_JIT                   182
  |  |  ------------------
  |  |  |  Branch (8433:39): [True: 0, False: 192]
  |  |  ------------------
  |  | 8434|    192|                    FT_ATOMIC_STORE_UINT8_RELAXED(this_instr->op.code, desired);
  |  |  ------------------
  |  |  |  |  170|    192|#define FT_ATOMIC_STORE_UINT8_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  |  | 8435|    192|                    next_instr = this_instr;
  |  | 8436|    192|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|    192|    { \
  |  |  |  |  217|    192|        opcode = next_instr->op.code; \
  |  |  |  |  218|    192|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    192|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|    192|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|    192|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|    192|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|    192|    }
  |  |  ------------------
  |  | 8437|    192|                }
  |  | 8438|    192|                #endif
  |  | 8439|    192|            }
  |  | 8440|       |            // _CHECK_PERIODIC
  |  | 8441|    192|            {
  |  | 8442|    192|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8443|    192|                _PyFrame_StackPointerValidate(frame);
  |  | 8444|    192|                int err = check_periodics(tstate);
  |  | 8445|    192|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8446|    192|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (8446:21): [True: 0, False: 192]
  |  |  ------------------
  |  | 8447|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8448|      0|                }
  |  | 8449|    192|            }
  |  | 8450|       |            // _JUMP_BACKWARD_NO_INTERRUPT
  |  | 8451|    192|            {
  |  | 8452|    192|                assert(oparg <= INSTR_OFFSET());
  |  |  ------------------
  |  |  |  Branch (8452:17): [True: 0, False: 192]
  |  |  ------------------
  |  | 8453|      0|                JUMPBY(-oparg);
  |  |  ------------------
  |  |  |  |  261|      0|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 8454|      0|            }
  |  | 8455|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 8456|      0|        }
  |  | 8457|       |
  |  | 8458|      0|        TARGET(JUMP_BACKWARD_JIT) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8459|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8460|       |            int opcode = JUMP_BACKWARD_JIT;
  |  | 8461|       |            (void)(opcode);
  |  | 8462|       |            #endif
  |  | 8463|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8464|      0|            (void)this_instr;
  |  | 8465|      0|            frame->instr_ptr = next_instr;
  |  | 8466|      0|            next_instr += 2;
  |  | 8467|      0|            INSTRUCTION_STATS(JUMP_BACKWARD_JIT);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8468|      0|            static_assert(1 == 1, "incorrect cache size");
  |  | 8469|       |            /* Skip 1 cache entry */
  |  | 8470|       |            // _CHECK_PERIODIC
  |  | 8471|      0|            {
  |  | 8472|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8473|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 8474|      0|                int err = check_periodics(tstate);
  |  | 8475|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8476|      0|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (8476:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8477|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8478|      0|                }
  |  | 8479|      0|            }
  |  | 8480|       |            // _JUMP_BACKWARD_NO_INTERRUPT
  |  | 8481|      0|            {
  |  | 8482|      0|                assert(oparg <= INSTR_OFFSET());
  |  |  ------------------
  |  |  |  Branch (8482:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8483|      0|                JUMPBY(-oparg);
  |  |  ------------------
  |  |  |  |  261|      0|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 8484|      0|            }
  |  | 8485|       |            // _JIT
  |  | 8486|      0|            {
  |  | 8487|       |                #ifdef _Py_TIER2
  |  | 8488|       |                bool is_resume = this_instr->op.code == RESUME_CHECK_JIT;
  |  | 8489|       |                _Py_BackoffCounter counter = this_instr[1].counter;
  |  | 8490|       |                if ((backoff_counter_triggers(counter) &&
  |  | 8491|       |                        !IS_JIT_TRACING() &&
  |  | 8492|       |                        (this_instr->op.code == JUMP_BACKWARD_JIT || is_resume)) &&
  |  | 8493|       |                    next_instr->op.code != ENTER_EXECUTOR) {
  |  | 8494|       |                    _Py_CODEUNIT *insert_exec_at = this_instr;
  |  | 8495|       |                    for (int tmp = oparg; tmp > 255; tmp >>= 8) {
  |  | 8496|       |                        insert_exec_at--;
  |  | 8497|       |                    }
  |  | 8498|       |                    int succ = _PyJit_TryInitializeTracing(tstate, frame, this_instr, insert_exec_at,
  |  | 8499|       |                        is_resume ? insert_exec_at : next_instr, stack_pointer, 0, NULL, oparg, NULL);
  |  | 8500|       |                    if (succ) {
  |  | 8501|       |                        ENTER_TRACING();
  |  | 8502|       |                    }
  |  | 8503|       |                    else {
  |  | 8504|       |                        this_instr[1].counter = restart_backoff_counter(counter);
  |  | 8505|       |                    }
  |  | 8506|       |                }
  |  | 8507|       |                else {
  |  | 8508|       |                    ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  | 8509|       |                }
  |  | 8510|       |                #endif
  |  | 8511|      0|            }
  |  | 8512|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 8513|      0|        }
  |  | 8514|       |
  |  | 8515|    226|        TARGET(JUMP_BACKWARD_NO_INTERRUPT) {
  |  |  ------------------
  |  |  |  |  132|    226|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8516|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8517|       |            int opcode = JUMP_BACKWARD_NO_INTERRUPT;
  |  | 8518|       |            (void)(opcode);
  |  | 8519|       |            #endif
  |  | 8520|    226|            frame->instr_ptr = next_instr;
  |  | 8521|    226|            next_instr += 1;
  |  | 8522|    226|            INSTRUCTION_STATS(JUMP_BACKWARD_NO_INTERRUPT);
  |  |  ------------------
  |  |  |  |   71|    226|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8523|    226|            assert(oparg <= INSTR_OFFSET());
  |  |  ------------------
  |  |  |  Branch (8523:13): [True: 226, False: 0]
  |  |  ------------------
  |  | 8524|    226|            JUMPBY(-oparg);
  |  |  ------------------
  |  |  |  |  261|    226|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 8525|    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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    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|    }
  |  |  ------------------
  |  | 8526|    226|        }
  |  | 8527|       |
  |  | 8528|  3.81k|        TARGET(JUMP_BACKWARD_NO_JIT) {
  |  |  ------------------
  |  |  |  |  132|  3.81k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8529|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8530|       |            int opcode = JUMP_BACKWARD_NO_JIT;
  |  | 8531|       |            (void)(opcode);
  |  | 8532|       |            #endif
  |  | 8533|  3.81k|            frame->instr_ptr = next_instr;
  |  | 8534|  3.81k|            next_instr += 2;
  |  | 8535|  3.81k|            INSTRUCTION_STATS(JUMP_BACKWARD_NO_JIT);
  |  |  ------------------
  |  |  |  |   71|  3.81k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8536|  3.81k|            static_assert(1 == 1, "incorrect cache size");
  |  | 8537|       |            /* Skip 1 cache entry */
  |  | 8538|       |            // _CHECK_PERIODIC
  |  | 8539|  3.81k|            {
  |  | 8540|  3.81k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8541|  3.81k|                _PyFrame_StackPointerValidate(frame);
  |  | 8542|  3.81k|                int err = check_periodics(tstate);
  |  | 8543|  3.81k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8544|  3.81k|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (8544:21): [True: 0, False: 3.81k]
  |  |  ------------------
  |  | 8545|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8546|      0|                }
  |  | 8547|  3.81k|            }
  |  | 8548|       |            // _JUMP_BACKWARD_NO_INTERRUPT
  |  | 8549|  3.81k|            {
  |  | 8550|  3.81k|                assert(oparg <= INSTR_OFFSET());
  |  |  ------------------
  |  |  |  Branch (8550:17): [True: 3.81k, False: 0]
  |  |  ------------------
  |  | 8551|  3.81k|                JUMPBY(-oparg);
  |  |  ------------------
  |  |  |  |  261|  3.81k|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 8552|  3.81k|            }
  |  | 8553|  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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  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|    }
  |  |  ------------------
  |  | 8554|  3.81k|        }
  |  | 8555|       |
  |  | 8556|    703|        TARGET(JUMP_FORWARD) {
  |  |  ------------------
  |  |  |  |  132|    703|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8557|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8558|       |            int opcode = JUMP_FORWARD;
  |  | 8559|       |            (void)(opcode);
  |  | 8560|       |            #endif
  |  | 8561|    703|            frame->instr_ptr = next_instr;
  |  | 8562|    703|            next_instr += 1;
  |  | 8563|    703|            INSTRUCTION_STATS(JUMP_FORWARD);
  |  |  ------------------
  |  |  |  |   71|    703|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8564|    703|            JUMPBY(oparg);
  |  |  ------------------
  |  |  |  |  261|    703|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 8565|    703|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    703|    { \
  |  |  |  |  201|    703|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    703|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    703|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    703|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    703|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    703|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    703|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    703|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 703]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    703|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    703|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    703|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    703|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    703|    }
  |  |  ------------------
  |  | 8566|    703|        }
  |  | 8567|       |
  |  | 8568|  2.31k|        TARGET(LIST_APPEND) {
  |  |  ------------------
  |  |  |  |  132|  2.31k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8569|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8570|       |            int opcode = LIST_APPEND;
  |  | 8571|       |            (void)(opcode);
  |  | 8572|       |            #endif
  |  | 8573|  2.31k|            frame->instr_ptr = next_instr;
  |  | 8574|  2.31k|            next_instr += 1;
  |  | 8575|  2.31k|            INSTRUCTION_STATS(LIST_APPEND);
  |  |  ------------------
  |  |  |  |   71|  2.31k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8576|  2.31k|            _PyStackRef list;
  |  | 8577|  2.31k|            _PyStackRef v;
  |  | 8578|  2.31k|            v = stack_pointer[-1];
  |  | 8579|  2.31k|            list = stack_pointer[-2 - (oparg-1)];
  |  | 8580|  2.31k|            int err = _PyList_AppendTakeRef((PyListObject *)PyStackRef_AsPyObjectBorrow(list),
  |  | 8581|  2.31k|                PyStackRef_AsPyObjectSteal(v));
  |  | 8582|  2.31k|            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (8582:17): [True: 0, False: 2.31k]
  |  |  ------------------
  |  | 8583|      0|                JUMP_TO_LABEL(pop_1_error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8584|      0|            }
  |  | 8585|  2.31k|            stack_pointer += -1;
  |  | 8586|  2.31k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.31k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8587|  2.31k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.31k|    { \
  |  |  |  |  201|  2.31k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.31k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.31k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.31k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  2.31k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.31k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.31k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.31k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.31k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.31k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.31k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.31k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.31k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.31k|    }
  |  |  ------------------
  |  | 8588|  2.31k|        }
  |  | 8589|       |
  |  | 8590|     92|        TARGET(LIST_EXTEND) {
  |  |  ------------------
  |  |  |  |  132|     92|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8591|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8592|       |            int opcode = LIST_EXTEND;
  |  | 8593|       |            (void)(opcode);
  |  | 8594|       |            #endif
  |  | 8595|     92|            frame->instr_ptr = next_instr;
  |  | 8596|     92|            next_instr += 1;
  |  | 8597|     92|            INSTRUCTION_STATS(LIST_EXTEND);
  |  |  ------------------
  |  |  |  |   71|     92|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8598|     92|            _PyStackRef list_st;
  |  | 8599|     92|            _PyStackRef iterable_st;
  |  | 8600|     92|            _PyStackRef i;
  |  | 8601|     92|            _PyStackRef value;
  |  | 8602|       |            // _LIST_EXTEND
  |  | 8603|     92|            {
  |  | 8604|     92|                iterable_st = stack_pointer[-1];
  |  | 8605|     92|                list_st = stack_pointer[-2 - (oparg-1)];
  |  | 8606|     92|                PyObject *list = PyStackRef_AsPyObjectBorrow(list_st);
  |  | 8607|     92|                PyObject *iterable = PyStackRef_AsPyObjectBorrow(iterable_st);
  |  | 8608|     92|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8609|     92|                _PyFrame_StackPointerValidate(frame);
  |  | 8610|     92|                PyObject *none_val = _PyList_Extend((PyListObject *)list, iterable);
  |  | 8611|     92|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8612|     92|                if (none_val == NULL) {
  |  |  ------------------
  |  |  |  Branch (8612:21): [True: 0, False: 92]
  |  |  ------------------
  |  | 8613|      0|                    int matches = _PyErr_ExceptionMatches(tstate, PyExc_TypeError);
  |  | 8614|      0|                    if (matches &&
  |  |  ------------------
  |  |  |  Branch (8614:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 8615|      0|                        (Py_TYPE(iterable)->tp_iter == NULL && !PySequence_Check(iterable)))
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8615:26): [True: 0, False: 0]
  |  |  |  Branch (8615:64): [True: 0, False: 0]
  |  |  ------------------
  |  | 8616|      0|                    {
  |  | 8617|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (8617:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 8618|      0|                        _PyFrame_StackPointerValidate(frame);
  |  | 8619|      0|                        _PyErr_Clear(tstate);
  |  | 8620|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 8621|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (8621:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 8622|      0|                        _PyFrame_StackPointerValidate(frame);
  |  | 8623|      0|                        _PyErr_Format(tstate, PyExc_TypeError,
  |  | 8624|      0|                                  "Value after * must be an iterable, not %.200s",
  |  | 8625|      0|                                  Py_TYPE(iterable)->tp_name);
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8626|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 8627|      0|                    }
  |  | 8628|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8629|      0|                }
  |  | 8630|     92|                assert(Py_IsNone(none_val));
  |  |  ------------------
  |  |  |  Branch (8630:17): [True: 92, False: 0]
  |  |  ------------------
  |  | 8631|     92|                i = iterable_st;
  |  | 8632|     92|            }
  |  | 8633|       |            // _POP_TOP
  |  | 8634|      0|            {
  |  | 8635|     92|                value = i;
  |  | 8636|     92|                stack_pointer += -1;
  |  | 8637|     92|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     92|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8638|     92|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8639|     92|                _PyFrame_StackPointerValidate(frame);
  |  | 8640|     92|                PyStackRef_XCLOSE(value);
  |  | 8641|     92|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8642|     92|            }
  |  | 8643|     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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     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|    }
  |  |  ------------------
  |  | 8644|     92|        }
  |  | 8645|       |
  |  | 8646|  4.07k|        TARGET(LOAD_ATTR) {
  |  |  ------------------
  |  |  |  |  132|  4.07k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8647|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8648|       |            int opcode = LOAD_ATTR;
  |  | 8649|       |            (void)(opcode);
  |  | 8650|       |            #endif
  |  | 8651|  4.07k|            frame->instr_ptr = next_instr;
  |  | 8652|  4.07k|            next_instr += 10;
  |  | 8653|  4.07k|            INSTRUCTION_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |   71|  4.07k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8654|  5.84k|            PREDICTED_LOAD_ATTR:;
  |  | 8655|  5.84k|            _Py_CODEUNIT* const this_instr = next_instr - 10;
  |  | 8656|  5.84k|            (void)this_instr;
  |  | 8657|  5.84k|            _PyStackRef owner;
  |  | 8658|  5.84k|            _PyStackRef attr;
  |  | 8659|  5.84k|            _PyStackRef *self_or_null;
  |  | 8660|       |            // _SPECIALIZE_LOAD_ATTR
  |  | 8661|  5.84k|            {
  |  | 8662|  5.84k|                owner = stack_pointer[-1];
  |  | 8663|  5.84k|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 8664|  5.84k|                (void)counter;
  |  | 8665|  5.84k|                #if ENABLE_SPECIALIZATION
  |  | 8666|  5.84k|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|  5.84k|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 884, False: 4.96k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8667|    884|                    PyObject *name = GETITEM(FRAME_CO_NAMES, oparg>>1);
  |  |  ------------------
  |  |  |  |  236|    884|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|    884|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|    884|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    884|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8667:38): [True: 884, False: 0]
  |  |  ------------------
  |  | 8668|      0|                    next_instr = this_instr;
  |  | 8669|    884|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8670|    884|                    _PyFrame_StackPointerValidate(frame);
  |  | 8671|    884|                    _Py_Specialize_LoadAttr(owner, next_instr, name);
  |  | 8672|    884|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 8673|    884|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|    884|    { \
  |  |  |  |  217|    884|        opcode = next_instr->op.code; \
  |  |  |  |  218|    884|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    884|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|    884|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|    884|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|    884|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|    884|    }
  |  |  ------------------
  |  | 8674|    884|                }
  |  | 8675|  5.84k|                OPCODE_DEFERRED_INC(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |   90|  5.84k|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 8676|  5.84k|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|  5.84k|    do { \
  |  |  |  |  378|  5.84k|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|  5.84k|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 5.84k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8677|  5.84k|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 8678|  5.84k|            }
  |  | 8679|       |            /* Skip 8 cache entries */
  |  | 8680|       |            // _LOAD_ATTR
  |  | 8681|      0|            {
  |  | 8682|  5.84k|                self_or_null = &stack_pointer[0];
  |  | 8683|  5.84k|                PyObject *name = GETITEM(FRAME_CO_NAMES, oparg >> 1);
  |  |  ------------------
  |  |  |  |  236|  5.84k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  5.84k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  5.84k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  4.96k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8683:34): [True: 4.96k, False: 884]
  |  |  ------------------
  |  | 8684|  4.96k|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (8684:21): [True: 1.16k, False: 3.79k]
  |  |  ------------------
  |  | 8685|  1.16k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8686|  1.16k|                    _PyFrame_StackPointerValidate(frame);
  |  | 8687|  1.16k|                    attr = _Py_LoadAttr_StackRefSteal(tstate, owner, name, self_or_null);
  |  | 8688|  1.16k|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 8689|  1.16k|                    if (PyStackRef_IsNull(attr)) {
  |  |  ------------------
  |  |  |  |  482|  1.16k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  1.16k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  1.16k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 2, False: 1.16k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8690|      2|                        JUMP_TO_LABEL(pop_1_error);
  |  |  ------------------
  |  |  |  |  135|      2|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8691|      0|                    }
  |  | 8692|  1.16k|                }
  |  | 8693|  3.79k|                else {
  |  | 8694|  3.79k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8695|  3.79k|                    _PyFrame_StackPointerValidate(frame);
  |  | 8696|  3.79k|                    attr = _PyObject_GetAttrStackRef(PyStackRef_AsPyObjectBorrow(owner), name);
  |  | 8697|  3.79k|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 8698|  3.79k|                    stack_pointer[-1] = attr;
  |  | 8699|  3.79k|                    stack_pointer += (oparg&1);
  |  | 8700|  3.79k|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  3.79k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8701|  3.79k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8702|  3.79k|                    _PyFrame_StackPointerValidate(frame);
  |  | 8703|  3.79k|                    PyStackRef_CLOSE(owner);
  |  | 8704|  3.79k|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 8705|  3.79k|                    if (PyStackRef_IsNull(attr)) {
  |  |  ------------------
  |  |  |  |  482|  3.79k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  3.79k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  3.79k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 24, False: 3.76k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8706|     24|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|     24|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8707|      0|                    }
  |  | 8708|  3.76k|                    stack_pointer += -(oparg&1);
  |  | 8709|  3.76k|                }
  |  | 8710|  4.96k|            }
  |  | 8711|  4.93k|            stack_pointer[-1] = attr;
  |  | 8712|  4.93k|            stack_pointer += (oparg&1);
  |  | 8713|  4.93k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  4.93k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8714|  4.93k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  4.93k|    { \
  |  |  |  |  201|  4.93k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  4.93k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  4.93k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  4.93k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  4.93k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  4.93k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  4.93k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  4.93k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 4.93k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  4.93k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  4.93k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  4.93k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  4.93k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  4.93k|    }
  |  |  ------------------
  |  | 8715|  4.93k|        }
  |  | 8716|       |
  |  | 8717|    106|        TARGET(LOAD_ATTR_CLASS) {
  |  |  ------------------
  |  |  |  |  132|    106|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8718|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8719|       |            int opcode = LOAD_ATTR_CLASS;
  |  | 8720|       |            (void)(opcode);
  |  | 8721|       |            #endif
  |  | 8722|    106|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8723|    106|            (void)this_instr;
  |  | 8724|    106|            frame->instr_ptr = next_instr;
  |  | 8725|    106|            next_instr += 10;
  |  | 8726|    106|            INSTRUCTION_STATS(LOAD_ATTR_CLASS);
  |  |  ------------------
  |  |  |  |   71|    106|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8727|    106|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 8728|    106|            _PyStackRef owner;
  |  | 8729|    106|            _PyStackRef attr;
  |  | 8730|    106|            _PyStackRef *null;
  |  | 8731|       |            /* Skip 1 cache entry */
  |  | 8732|       |            // _CHECK_ATTR_CLASS
  |  | 8733|    106|            {
  |  | 8734|    106|                owner = stack_pointer[-1];
  |  | 8735|    106|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 8736|    106|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 8737|    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 (8737:21): [True: 0, False: 106]
  |  |  ------------------
  |  | 8738|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8739|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (8739:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8740|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8741|      0|                }
  |  | 8742|    106|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (8742:17): [True: 106, False: 0]
  |  |  ------------------
  |  | 8743|    106|                if (FT_ATOMIC_LOAD_UINT_RELAXED(((PyTypeObject *)owner_o)->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|    106|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (8743:21): [True: 2, False: 104]
  |  |  ------------------
  |  | 8744|      2|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      2|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8745|      2|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (8745:21): [True: 2, False: 0]
  |  |  ------------------
  |  | 8746|      2|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      2|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8747|      0|                }
  |  | 8748|    106|            }
  |  | 8749|       |            /* Skip 2 cache entries */
  |  | 8750|       |            // _LOAD_ATTR_CLASS
  |  | 8751|    104|            {
  |  | 8752|    104|                PyObject *descr = read_obj(&this_instr[6].cache);
  |  | 8753|    104|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|    104|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 8754|    104|                assert(descr != NULL);
  |  |  ------------------
  |  |  |  Branch (8754:17): [True: 104, False: 0]
  |  |  ------------------
  |  | 8755|    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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8756|    104|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8757|    104|                _PyFrame_StackPointerValidate(frame);
  |  | 8758|    104|                _PyStackRef tmp = owner;
  |  | 8759|    104|                owner = attr;
  |  | 8760|    104|                stack_pointer[-1] = owner;
  |  | 8761|    104|                PyStackRef_CLOSE(tmp);
  |  | 8762|    104|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8763|    104|            }
  |  | 8764|       |            // _PUSH_NULL_CONDITIONAL
  |  | 8765|      0|            {
  |  | 8766|    104|                null = &stack_pointer[0];
  |  | 8767|    104|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (8767:21): [True: 3, False: 101]
  |  |  ------------------
  |  | 8768|      3|                    null[0] = PyStackRef_NULL;
  |  | 8769|      3|                }
  |  | 8770|    104|            }
  |  | 8771|    104|            stack_pointer += (oparg & 1);
  |  | 8772|    104|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    104|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8773|    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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    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|    }
  |  |  ------------------
  |  | 8774|    104|        }
  |  | 8775|       |
  |  | 8776|    148|        TARGET(LOAD_ATTR_CLASS_WITH_METACLASS_CHECK) {
  |  |  ------------------
  |  |  |  |  132|    148|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8777|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8778|       |            int opcode = LOAD_ATTR_CLASS_WITH_METACLASS_CHECK;
  |  | 8779|       |            (void)(opcode);
  |  | 8780|       |            #endif
  |  | 8781|    148|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8782|    148|            (void)this_instr;
  |  | 8783|    148|            frame->instr_ptr = next_instr;
  |  | 8784|    148|            next_instr += 10;
  |  | 8785|    148|            INSTRUCTION_STATS(LOAD_ATTR_CLASS_WITH_METACLASS_CHECK);
  |  |  ------------------
  |  |  |  |   71|    148|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8786|    148|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 8787|    148|            _PyStackRef owner;
  |  | 8788|    148|            _PyStackRef attr;
  |  | 8789|    148|            _PyStackRef *null;
  |  | 8790|       |            /* Skip 1 cache entry */
  |  | 8791|       |            // _GUARD_TYPE_VERSION
  |  | 8792|    148|            {
  |  | 8793|    148|                owner = stack_pointer[-1];
  |  | 8794|    148|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 8795|    148|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|    148|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    148|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    148|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8796|    148|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (8796:17): [True: 148, False: 0]
  |  |  ------------------
  |  | 8797|    148|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|    148|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (8797:21): [True: 0, False: 148]
  |  |  ------------------
  |  | 8798|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8799|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (8799:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8800|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8801|      0|                }
  |  | 8802|    148|            }
  |  | 8803|       |            // _CHECK_ATTR_CLASS
  |  | 8804|    148|            {
  |  | 8805|    148|                uint32_t type_version = read_u32(&this_instr[4].cache);
  |  | 8806|    148|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 8807|    148|                if (!PyType_Check(owner_o)) {
  |  |  ------------------
  |  |  |  |  766|    148|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    148|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    148|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8807:21): [True: 0, False: 148]
  |  |  ------------------
  |  | 8808|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8809|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (8809:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8810|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8811|      0|                }
  |  | 8812|    148|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (8812:17): [True: 148, False: 0]
  |  |  ------------------
  |  | 8813|    148|                if (FT_ATOMIC_LOAD_UINT_RELAXED(((PyTypeObject *)owner_o)->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|    148|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (8813:21): [True: 105, False: 43]
  |  |  ------------------
  |  | 8814|    105|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|    105|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8815|    105|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (8815:21): [True: 105, False: 0]
  |  |  ------------------
  |  | 8816|    105|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|    105|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8817|      0|                }
  |  | 8818|    148|            }
  |  | 8819|       |            // _LOAD_ATTR_CLASS
  |  | 8820|     43|            {
  |  | 8821|     43|                PyObject *descr = read_obj(&this_instr[6].cache);
  |  | 8822|     43|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|     43|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 8823|     43|                assert(descr != NULL);
  |  |  ------------------
  |  |  |  Branch (8823:17): [True: 43, False: 0]
  |  |  ------------------
  |  | 8824|     43|                attr = PyStackRef_FromPyObjectNew(descr);
  |  |  ------------------
  |  |  |  |  611|     43|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     43|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     43|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8825|     43|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8826|     43|                _PyFrame_StackPointerValidate(frame);
  |  | 8827|     43|                _PyStackRef tmp = owner;
  |  | 8828|     43|                owner = attr;
  |  | 8829|     43|                stack_pointer[-1] = owner;
  |  | 8830|     43|                PyStackRef_CLOSE(tmp);
  |  | 8831|     43|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8832|     43|            }
  |  | 8833|       |            // _PUSH_NULL_CONDITIONAL
  |  | 8834|      0|            {
  |  | 8835|     43|                null = &stack_pointer[0];
  |  | 8836|     43|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (8836:21): [True: 1, False: 42]
  |  |  ------------------
  |  | 8837|      1|                    null[0] = PyStackRef_NULL;
  |  | 8838|      1|                }
  |  | 8839|     43|            }
  |  | 8840|     43|            stack_pointer += (oparg & 1);
  |  | 8841|     43|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     43|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8842|     43|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     43|    { \
  |  |  |  |  201|     43|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     43|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     43|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     43|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     43|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     43|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     43|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     43|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 43]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     43|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     43|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     43|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     43|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     43|    }
  |  |  ------------------
  |  | 8843|     43|        }
  |  | 8844|       |
  |  | 8845|      0|        TARGET(LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8846|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8847|       |            int opcode = LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN;
  |  | 8848|       |            (void)(opcode);
  |  | 8849|       |            #endif
  |  | 8850|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8851|      0|            (void)this_instr;
  |  | 8852|      0|            frame->instr_ptr = next_instr;
  |  | 8853|      0|            next_instr += 10;
  |  | 8854|      0|            INSTRUCTION_STATS(LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8855|      0|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 8856|      0|            _PyStackRef owner;
  |  | 8857|      0|            _PyStackRef new_frame;
  |  | 8858|       |            /* Skip 1 cache entry */
  |  | 8859|       |            // _GUARD_TYPE_VERSION
  |  | 8860|      0|            {
  |  | 8861|      0|                owner = stack_pointer[-1];
  |  | 8862|      0|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 8863|      0|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8864|      0|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (8864:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8865|      0|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|      0|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (8865:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8866|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8867|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (8867:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8868|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8869|      0|                }
  |  | 8870|      0|            }
  |  | 8871|       |            // _CHECK_PEP_523
  |  | 8872|      0|            {
  |  | 8873|      0|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  539|      0|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (539:34): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8874|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8875|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (8875:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8876|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8877|      0|                }
  |  | 8878|      0|            }
  |  | 8879|       |            // _LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN_FRAME
  |  | 8880|      0|            {
  |  | 8881|      0|                uint32_t func_version = read_u32(&this_instr[4].cache);
  |  | 8882|      0|                PyObject *getattribute = read_obj(&this_instr[6].cache);
  |  | 8883|      0|                assert((oparg & 1) == 0);
  |  |  ------------------
  |  |  |  Branch (8883:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8884|      0|                assert(Py_IS_TYPE(getattribute, &PyFunction_Type));
  |  |  ------------------
  |  |  |  Branch (8884:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8885|      0|                PyFunctionObject *f = (PyFunctionObject *)getattribute;
  |  | 8886|      0|                assert(func_version != 0);
  |  |  ------------------
  |  |  |  Branch (8886:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8887|      0|                if (f->func_version != func_version) {
  |  |  ------------------
  |  |  |  Branch (8887:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8888|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8889|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (8889:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8890|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8891|      0|                }
  |  | 8892|      0|                PyCodeObject *code = (PyCodeObject *)f->func_code;
  |  | 8893|      0|                assert(code->co_argcount == 2);
  |  |  ------------------
  |  |  |  Branch (8893:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8894|      0|                if (!_PyThreadState_HasStackSpace(tstate, code->co_framesize)) {
  |  |  ------------------
  |  |  |  Branch (8894:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8895|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8896|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (8896:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8897|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8898|      0|                }
  |  | 8899|      0|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|      0|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 8900|      0|                PyObject *name = GETITEM(FRAME_CO_NAMES, oparg >> 1);
  |  |  ------------------
  |  |  |  |  236|      0|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8900:34): [True: 0, False: 0]
  |  |  ------------------
  |  | 8901|      0|                _PyInterpreterFrame *pushed_frame = _PyFrame_PushUnchecked(
  |  | 8902|      0|                    tstate, PyStackRef_FromPyObjectNew(f), 2, frame);
  |  |  ------------------
  |  |  |  |  611|      0|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8903|      0|                pushed_frame->localsplus[0] = owner;
  |  | 8904|      0|                pushed_frame->localsplus[1] = PyStackRef_FromPyObjectNew(name);
  |  |  ------------------
  |  |  |  |  611|      0|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8905|      0|                new_frame = PyStackRef_Wrap(pushed_frame);
  |  | 8906|      0|            }
  |  | 8907|       |            // _SAVE_RETURN_OFFSET
  |  | 8908|      0|            {
  |  | 8909|      0|                #if TIER_ONE
  |  | 8910|      0|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 8911|      0|                #endif
  |  | 8912|       |                #if TIER_TWO
  |  | 8913|       |                frame->return_offset = oparg;
  |  | 8914|       |                #endif
  |  | 8915|      0|            }
  |  | 8916|       |            // _PUSH_FRAME
  |  | 8917|      0|            {
  |  | 8918|      0|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (8918:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8919|      0|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 8920|      0|                stack_pointer += -1;
  |  | 8921|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8922|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8923|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 8924|      0|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (8924:17): [True: 0, False: 0]
  |  |  |  Branch (8924:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8925|      0|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|      0|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 8926|      0|                frame = tstate->current_frame = temp;
  |  | 8927|      0|                tstate->py_recursion_remaining--;
  |  | 8928|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 8929|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8930|      0|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  441|      0|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|      0|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8931|       |                #ifdef Py_DEBUG
  |  | 8932|       |                assert(frame->previous->stackpointer_valid == 1);
  |  | 8933|       |                #endif
  |  | 8934|      0|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|      0|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 8935|      0|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|      0|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 8936|      0|            }
  |  | 8937|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 8938|      0|        }
  |  | 8939|       |
  |  | 8940|  5.33k|        TARGET(LOAD_ATTR_INSTANCE_VALUE) {
  |  |  ------------------
  |  |  |  |  132|  5.33k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8941|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8942|       |            int opcode = LOAD_ATTR_INSTANCE_VALUE;
  |  | 8943|       |            (void)(opcode);
  |  | 8944|       |            #endif
  |  | 8945|  5.33k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8946|  5.33k|            (void)this_instr;
  |  | 8947|  5.33k|            frame->instr_ptr = next_instr;
  |  | 8948|  5.33k|            next_instr += 10;
  |  | 8949|  5.33k|            INSTRUCTION_STATS(LOAD_ATTR_INSTANCE_VALUE);
  |  |  ------------------
  |  |  |  |   71|  5.33k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8950|  5.33k|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 8951|  5.33k|            _PyStackRef owner;
  |  | 8952|  5.33k|            _PyStackRef attr;
  |  | 8953|  5.33k|            _PyStackRef o;
  |  | 8954|  5.33k|            _PyStackRef value;
  |  | 8955|  5.33k|            _PyStackRef *null;
  |  | 8956|       |            /* Skip 1 cache entry */
  |  | 8957|       |            // _GUARD_TYPE_VERSION
  |  | 8958|  5.33k|            {
  |  | 8959|  5.33k|                owner = stack_pointer[-1];
  |  | 8960|  5.33k|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 8961|  5.33k|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|  5.33k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.33k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.33k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8962|  5.33k|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (8962:17): [True: 5.33k, False: 0]
  |  |  ------------------
  |  | 8963|  5.33k|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|  5.33k|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (8963:21): [True: 502, False: 4.83k]
  |  |  ------------------
  |  | 8964|    502|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|    502|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8965|    502|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (8965:21): [True: 502, False: 0]
  |  |  ------------------
  |  | 8966|    502|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|    502|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8967|      0|                }
  |  | 8968|  5.33k|            }
  |  | 8969|       |            // _CHECK_MANAGED_OBJECT_HAS_VALUES
  |  | 8970|  4.83k|            {
  |  | 8971|  4.83k|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 8972|  4.83k|                assert(Py_TYPE(owner_o)->tp_dictoffset < 0);
  |  |  ------------------
  |  |  |  Branch (8972:17): [True: 4.83k, False: 0]
  |  |  ------------------
  |  | 8973|  4.83k|                assert(Py_TYPE(owner_o)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  |  |  ------------------
  |  |  |  Branch (8973:17): [True: 4.83k, False: 0]
  |  |  ------------------
  |  | 8974|  4.83k|                if (!FT_ATOMIC_LOAD_UINT8(_PyObject_InlineValues(owner_o)->valid)) {
  |  |  ------------------
  |  |  |  |  154|  4.83k|#define FT_ATOMIC_LOAD_UINT8(value) value
  |  |  ------------------
  |  |  |  Branch (8974:21): [True: 0, False: 4.83k]
  |  |  ------------------
  |  | 8975|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8976|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (8976:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8977|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8978|      0|                }
  |  | 8979|  4.83k|            }
  |  | 8980|       |            // _LOAD_ATTR_INSTANCE_VALUE
  |  | 8981|  4.83k|            {
  |  | 8982|  4.83k|                uint16_t offset = read_u16(&this_instr[4].cache);
  |  | 8983|  4.83k|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 8984|  4.83k|                PyObject **value_ptr = (PyObject**)(((char *)owner_o) + offset);
  |  | 8985|  4.83k|                PyObject *attr_o = FT_ATOMIC_LOAD_PTR_ACQUIRE(*value_ptr);
  |  |  ------------------
  |  |  |  |  150|  4.83k|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  | 8986|  4.83k|                if (attr_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (8986:21): [True: 0, False: 4.83k]
  |  |  ------------------
  |  | 8987|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8988|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (8988:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8989|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8990|      0|                }
  |  | 8991|       |                #ifdef Py_GIL_DISABLED
  |  | 8992|       |                int increfed = _Py_TryIncrefCompareStackRef(value_ptr, attr_o, &attr);
  |  | 8993|       |                if (!increfed) {
  |  | 8994|       |                    if (true) {
  |  | 8995|       |                        UPDATE_MISS_STATS(LOAD_ATTR);
  |  | 8996|       |                        assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 8997|       |                        JUMP_TO_PREDICTED(LOAD_ATTR);
  |  | 8998|       |                    }
  |  | 8999|       |                }
  |  | 9000|       |                #else
  |  | 9001|  4.83k|                attr = PyStackRef_FromPyObjectNew(attr_o);
  |  |  ------------------
  |  |  |  |  611|  4.83k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.83k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.83k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9002|  4.83k|                #endif
  |  | 9003|  4.83k|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|  4.83k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9004|  4.83k|                o = owner;
  |  | 9005|  4.83k|            }
  |  | 9006|       |            // _POP_TOP
  |  | 9007|      0|            {
  |  | 9008|  4.83k|                value = o;
  |  | 9009|  4.83k|                stack_pointer[-1] = attr;
  |  | 9010|  4.83k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9011|  4.83k|                _PyFrame_StackPointerValidate(frame);
  |  | 9012|  4.83k|                PyStackRef_XCLOSE(value);
  |  | 9013|  4.83k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 9014|  4.83k|            }
  |  | 9015|       |            /* Skip 5 cache entries */
  |  | 9016|       |            // _PUSH_NULL_CONDITIONAL
  |  | 9017|  4.83k|            {
  |  | 9018|  4.83k|                null = &stack_pointer[0];
  |  | 9019|  4.83k|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (9019:21): [True: 120, False: 4.71k]
  |  |  ------------------
  |  | 9020|    120|                    null[0] = PyStackRef_NULL;
  |  | 9021|    120|                }
  |  | 9022|  4.83k|            }
  |  | 9023|  4.83k|            stack_pointer += (oparg & 1);
  |  | 9024|  4.83k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  4.83k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9025|  4.83k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  4.83k|    { \
  |  |  |  |  201|  4.83k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  4.83k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  4.83k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  4.83k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  4.83k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  4.83k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  4.83k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  4.83k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 4.83k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  4.83k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  4.83k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  4.83k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  4.83k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  4.83k|    }
  |  |  ------------------
  |  | 9026|  4.83k|        }
  |  | 9027|       |
  |  | 9028|     25|        TARGET(LOAD_ATTR_METHOD_LAZY_DICT) {
  |  |  ------------------
  |  |  |  |  132|     25|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9029|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9030|       |            int opcode = LOAD_ATTR_METHOD_LAZY_DICT;
  |  | 9031|       |            (void)(opcode);
  |  | 9032|       |            #endif
  |  | 9033|     25|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 9034|     25|            (void)this_instr;
  |  | 9035|     25|            frame->instr_ptr = next_instr;
  |  | 9036|     25|            next_instr += 10;
  |  | 9037|     25|            INSTRUCTION_STATS(LOAD_ATTR_METHOD_LAZY_DICT);
  |  |  ------------------
  |  |  |  |   71|     25|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9038|     25|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 9039|     25|            _PyStackRef owner;
  |  | 9040|     25|            _PyStackRef attr;
  |  | 9041|     25|            _PyStackRef self;
  |  | 9042|       |            /* Skip 1 cache entry */
  |  | 9043|       |            // _GUARD_TYPE_VERSION
  |  | 9044|     25|            {
  |  | 9045|     25|                owner = stack_pointer[-1];
  |  | 9046|     25|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 9047|     25|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|     25|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     25|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     25|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9048|     25|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (9048:17): [True: 25, False: 0]
  |  |  ------------------
  |  | 9049|     25|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|     25|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9049:21): [True: 0, False: 25]
  |  |  ------------------
  |  | 9050|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9051|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9051:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9052|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9053|      0|                }
  |  | 9054|     25|            }
  |  | 9055|       |            // _CHECK_ATTR_METHOD_LAZY_DICT
  |  | 9056|     25|            {
  |  | 9057|     25|                uint16_t dictoffset = read_u16(&this_instr[4].cache);
  |  | 9058|     25|                char *ptr = ((char *)PyStackRef_AsPyObjectBorrow(owner)) + MANAGED_DICT_OFFSET + dictoffset;
  |  |  ------------------
  |  |  |  |  923|     25|#  define MANAGED_DICT_OFFSET    (((Py_ssize_t)sizeof(PyObject *))*-3)
  |  |  ------------------
  |  | 9059|     25|                PyObject *dict = FT_ATOMIC_LOAD_PTR_ACQUIRE(*(PyObject **)ptr);
  |  |  ------------------
  |  |  |  |  150|     25|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  | 9060|     25|                if (dict != NULL) {
  |  |  ------------------
  |  |  |  Branch (9060:21): [True: 0, False: 25]
  |  |  ------------------
  |  | 9061|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9062|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9062:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9063|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9064|      0|                }
  |  | 9065|     25|            }
  |  | 9066|       |            /* Skip 1 cache entry */
  |  | 9067|       |            // _LOAD_ATTR_METHOD_LAZY_DICT
  |  | 9068|     25|            {
  |  | 9069|     25|                PyObject *descr = read_obj(&this_instr[6].cache);
  |  | 9070|     25|                assert(oparg & 1);
  |  |  ------------------
  |  |  |  Branch (9070:17): [True: 25, False: 0]
  |  |  ------------------
  |  | 9071|     25|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|     25|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9072|     25|                assert(descr != NULL);
  |  |  ------------------
  |  |  |  Branch (9072:17): [True: 25, False: 0]
  |  |  ------------------
  |  | 9073|     25|                assert(_PyType_HasFeature(Py_TYPE(descr), Py_TPFLAGS_METHOD_DESCRIPTOR));
  |  |  ------------------
  |  |  |  Branch (9073:17): [True: 25, False: 0]
  |  |  ------------------
  |  | 9074|     25|                attr = PyStackRef_FromPyObjectNew(descr);
  |  |  ------------------
  |  |  |  |  611|     25|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     25|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     25|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9075|     25|                self = owner;
  |  | 9076|     25|            }
  |  | 9077|      0|            stack_pointer[-1] = attr;
  |  | 9078|     25|            stack_pointer[0] = self;
  |  | 9079|     25|            stack_pointer += 1;
  |  | 9080|     25|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     25|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9081|     25|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     25|    { \
  |  |  |  |  201|     25|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     25|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     25|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     25|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     25|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     25|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     25|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     25|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 25]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     25|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     25|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     25|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     25|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     25|    }
  |  |  ------------------
  |  | 9082|     25|        }
  |  | 9083|       |
  |  | 9084|  3.58k|        TARGET(LOAD_ATTR_METHOD_NO_DICT) {
  |  |  ------------------
  |  |  |  |  132|  3.58k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9085|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9086|       |            int opcode = LOAD_ATTR_METHOD_NO_DICT;
  |  | 9087|       |            (void)(opcode);
  |  | 9088|       |            #endif
  |  | 9089|  3.58k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 9090|  3.58k|            (void)this_instr;
  |  | 9091|  3.58k|            frame->instr_ptr = next_instr;
  |  | 9092|  3.58k|            next_instr += 10;
  |  | 9093|  3.58k|            INSTRUCTION_STATS(LOAD_ATTR_METHOD_NO_DICT);
  |  |  ------------------
  |  |  |  |   71|  3.58k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9094|  3.58k|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 9095|  3.58k|            _PyStackRef owner;
  |  | 9096|  3.58k|            _PyStackRef attr;
  |  | 9097|  3.58k|            _PyStackRef self;
  |  | 9098|       |            /* Skip 1 cache entry */
  |  | 9099|       |            // _GUARD_TYPE_VERSION
  |  | 9100|  3.58k|            {
  |  | 9101|  3.58k|                owner = stack_pointer[-1];
  |  | 9102|  3.58k|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 9103|  3.58k|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|  3.58k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.58k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9104|  3.58k|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (9104:17): [True: 3.58k, False: 0]
  |  |  ------------------
  |  | 9105|  3.58k|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|  3.58k|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9105:21): [True: 0, False: 3.58k]
  |  |  ------------------
  |  | 9106|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9107|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9107:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9108|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9109|      0|                }
  |  | 9110|  3.58k|            }
  |  | 9111|       |            /* Skip 2 cache entries */
  |  | 9112|       |            // _LOAD_ATTR_METHOD_NO_DICT
  |  | 9113|  3.58k|            {
  |  | 9114|  3.58k|                PyObject *descr = read_obj(&this_instr[6].cache);
  |  | 9115|  3.58k|                assert(oparg & 1);
  |  |  ------------------
  |  |  |  Branch (9115:17): [True: 3.58k, False: 0]
  |  |  ------------------
  |  | 9116|  3.58k|                assert(Py_TYPE(PyStackRef_AsPyObjectBorrow(owner))->tp_dictoffset == 0);
  |  |  ------------------
  |  |  |  Branch (9116:17): [True: 3.58k, False: 0]
  |  |  ------------------
  |  | 9117|  3.58k|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|  3.58k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9118|  3.58k|                assert(descr != NULL);
  |  |  ------------------
  |  |  |  Branch (9118:17): [True: 3.58k, False: 0]
  |  |  ------------------
  |  | 9119|  3.58k|                assert(_PyType_HasFeature(Py_TYPE(descr), Py_TPFLAGS_METHOD_DESCRIPTOR));
  |  |  ------------------
  |  |  |  Branch (9119:17): [True: 3.58k, False: 0]
  |  |  ------------------
  |  | 9120|  3.58k|                attr = PyStackRef_FromPyObjectNew(descr);
  |  |  ------------------
  |  |  |  |  611|  3.58k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.58k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9121|  3.58k|                self = owner;
  |  | 9122|  3.58k|            }
  |  | 9123|      0|            stack_pointer[-1] = attr;
  |  | 9124|  3.58k|            stack_pointer[0] = self;
  |  | 9125|  3.58k|            stack_pointer += 1;
  |  | 9126|  3.58k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  3.58k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9127|  3.58k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.58k|    { \
  |  |  |  |  201|  3.58k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  3.58k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  3.58k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  3.58k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  3.58k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  3.58k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  3.58k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  3.58k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 3.58k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.58k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.58k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.58k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.58k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.58k|    }
  |  |  ------------------
  |  | 9128|  3.58k|        }
  |  | 9129|       |
  |  | 9130|    601|        TARGET(LOAD_ATTR_METHOD_WITH_VALUES) {
  |  |  ------------------
  |  |  |  |  132|    601|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9131|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9132|       |            int opcode = LOAD_ATTR_METHOD_WITH_VALUES;
  |  | 9133|       |            (void)(opcode);
  |  | 9134|       |            #endif
  |  | 9135|    601|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 9136|    601|            (void)this_instr;
  |  | 9137|    601|            frame->instr_ptr = next_instr;
  |  | 9138|    601|            next_instr += 10;
  |  | 9139|    601|            INSTRUCTION_STATS(LOAD_ATTR_METHOD_WITH_VALUES);
  |  |  ------------------
  |  |  |  |   71|    601|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9140|    601|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 9141|    601|            _PyStackRef owner;
  |  | 9142|    601|            _PyStackRef attr;
  |  | 9143|    601|            _PyStackRef self;
  |  | 9144|       |            /* Skip 1 cache entry */
  |  | 9145|       |            // _GUARD_TYPE_VERSION
  |  | 9146|    601|            {
  |  | 9147|    601|                owner = stack_pointer[-1];
  |  | 9148|    601|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 9149|    601|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|    601|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    601|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    601|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9150|    601|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (9150:17): [True: 601, False: 0]
  |  |  ------------------
  |  | 9151|    601|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|    601|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9151:21): [True: 1, False: 600]
  |  |  ------------------
  |  | 9152|      1|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      1|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9153|      1|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9153:21): [True: 1, False: 0]
  |  |  ------------------
  |  | 9154|      1|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      1|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9155|      0|                }
  |  | 9156|    601|            }
  |  | 9157|       |            // _CHECK_MANAGED_OBJECT_HAS_VALUES
  |  | 9158|    600|            {
  |  | 9159|    600|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 9160|    600|                assert(Py_TYPE(owner_o)->tp_dictoffset < 0);
  |  |  ------------------
  |  |  |  Branch (9160:17): [True: 600, False: 0]
  |  |  ------------------
  |  | 9161|    600|                assert(Py_TYPE(owner_o)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  |  |  ------------------
  |  |  |  Branch (9161:17): [True: 600, False: 0]
  |  |  ------------------
  |  | 9162|    600|                if (!FT_ATOMIC_LOAD_UINT8(_PyObject_InlineValues(owner_o)->valid)) {
  |  |  ------------------
  |  |  |  |  154|    600|#define FT_ATOMIC_LOAD_UINT8(value) value
  |  |  ------------------
  |  |  |  Branch (9162:21): [True: 0, False: 600]
  |  |  ------------------
  |  | 9163|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9164|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9164:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9165|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9166|      0|                }
  |  | 9167|    600|            }
  |  | 9168|       |            /* Skip 2 cache entries */
  |  | 9169|       |            // _LOAD_ATTR_METHOD_WITH_VALUES
  |  | 9170|    600|            {
  |  | 9171|    600|                PyObject *descr = read_obj(&this_instr[6].cache);
  |  | 9172|    600|                assert(oparg & 1);
  |  |  ------------------
  |  |  |  Branch (9172:17): [True: 600, False: 0]
  |  |  ------------------
  |  | 9173|    600|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|    600|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9174|    600|                assert(descr != NULL);
  |  |  ------------------
  |  |  |  Branch (9174:17): [True: 600, False: 0]
  |  |  ------------------
  |  | 9175|    600|                assert(_PyType_HasFeature(Py_TYPE(descr), Py_TPFLAGS_METHOD_DESCRIPTOR));
  |  |  ------------------
  |  |  |  Branch (9175:17): [True: 600, False: 0]
  |  |  ------------------
  |  | 9176|    600|                attr = PyStackRef_FromPyObjectNew(descr);
  |  |  ------------------
  |  |  |  |  611|    600|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    600|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    600|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9177|    600|                self = owner;
  |  | 9178|    600|            }
  |  | 9179|      0|            stack_pointer[-1] = attr;
  |  | 9180|    600|            stack_pointer[0] = self;
  |  | 9181|    600|            stack_pointer += 1;
  |  | 9182|    600|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    600|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9183|    600|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    600|    { \
  |  |  |  |  201|    600|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    600|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    600|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    600|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    600|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    600|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    600|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    600|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 600]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    600|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    600|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    600|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    600|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    600|    }
  |  |  ------------------
  |  | 9184|    600|        }
  |  | 9185|       |
  |  | 9186|  4.20k|        TARGET(LOAD_ATTR_MODULE) {
  |  |  ------------------
  |  |  |  |  132|  4.20k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9187|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9188|       |            int opcode = LOAD_ATTR_MODULE;
  |  | 9189|       |            (void)(opcode);
  |  | 9190|       |            #endif
  |  | 9191|  4.20k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 9192|  4.20k|            (void)this_instr;
  |  | 9193|  4.20k|            frame->instr_ptr = next_instr;
  |  | 9194|  4.20k|            next_instr += 10;
  |  | 9195|  4.20k|            INSTRUCTION_STATS(LOAD_ATTR_MODULE);
  |  |  ------------------
  |  |  |  |   71|  4.20k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9196|  4.20k|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 9197|  4.20k|            _PyStackRef owner;
  |  | 9198|  4.20k|            _PyStackRef attr;
  |  | 9199|  4.20k|            _PyStackRef o;
  |  | 9200|  4.20k|            _PyStackRef value;
  |  | 9201|  4.20k|            _PyStackRef *null;
  |  | 9202|       |            /* Skip 1 cache entry */
  |  | 9203|       |            // _LOAD_ATTR_MODULE
  |  | 9204|  4.20k|            {
  |  | 9205|  4.20k|                owner = stack_pointer[-1];
  |  | 9206|  4.20k|                uint32_t dict_version = read_u32(&this_instr[2].cache);
  |  | 9207|  4.20k|                uint16_t index = read_u16(&this_instr[4].cache);
  |  | 9208|  4.20k|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 9209|  4.20k|                if (Py_TYPE(owner_o)->tp_getattro != PyModule_Type.tp_getattro) {
  |  |  ------------------
  |  |  |  |  213|  4.20k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.20k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.20k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (9209:21): [True: 0, False: 4.20k]
  |  |  ------------------
  |  | 9210|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9211|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9211:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9212|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9213|      0|                }
  |  | 9214|  4.20k|                PyDictObject *dict = (PyDictObject *)((PyModuleObject *)owner_o)->md_dict;
  |  | 9215|  4.20k|                assert(dict != NULL);
  |  |  ------------------
  |  |  |  Branch (9215:17): [True: 4.20k, False: 0]
  |  |  ------------------
  |  | 9216|  4.20k|                PyDictKeysObject *keys = FT_ATOMIC_LOAD_PTR_ACQUIRE(dict->ma_keys);
  |  |  ------------------
  |  |  |  |  150|  4.20k|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  | 9217|  4.20k|                if (FT_ATOMIC_LOAD_UINT32_RELAXED(keys->dk_version) != dict_version) {
  |  |  ------------------
  |  |  |  |  159|  4.20k|#define FT_ATOMIC_LOAD_UINT32_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9217:21): [True: 1.00k, False: 3.19k]
  |  |  ------------------
  |  | 9218|  1.00k|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|  1.00k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9219|  1.00k|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9219:21): [True: 1.00k, False: 0]
  |  |  ------------------
  |  | 9220|  1.00k|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|  1.00k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9221|      0|                }
  |  | 9222|  4.20k|                assert(keys->dk_kind == DICT_KEYS_UNICODE);
  |  |  ------------------
  |  |  |  Branch (9222:17): [True: 3.19k, False: 0]
  |  |  ------------------
  |  | 9223|  3.19k|                assert(index < FT_ATOMIC_LOAD_SSIZE_RELAXED(keys->dk_nentries));
  |  |  ------------------
  |  |  |  Branch (9223:17): [True: 3.19k, False: 0]
  |  |  ------------------
  |  | 9224|  3.19k|                PyDictUnicodeEntry *ep = DK_UNICODE_ENTRIES(keys) + index;
  |  | 9225|  3.19k|                PyObject *attr_o = FT_ATOMIC_LOAD_PTR_CONSUME(ep->me_value);
  |  |  ------------------
  |  |  |  |  151|  3.19k|#define FT_ATOMIC_LOAD_PTR_CONSUME(value) value
  |  |  ------------------
  |  | 9226|  3.19k|                if (attr_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9226:21): [True: 0, False: 3.19k]
  |  |  ------------------
  |  | 9227|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9228|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9228:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9229|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9230|      0|                }
  |  | 9231|       |                #ifdef Py_GIL_DISABLED
  |  | 9232|       |                int increfed = _Py_TryIncrefCompareStackRef(&ep->me_value, attr_o, &attr);
  |  | 9233|       |                if (!increfed) {
  |  | 9234|       |                    if (true) {
  |  | 9235|       |                        UPDATE_MISS_STATS(LOAD_ATTR);
  |  | 9236|       |                        assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 9237|       |                        JUMP_TO_PREDICTED(LOAD_ATTR);
  |  | 9238|       |                    }
  |  | 9239|       |                }
  |  | 9240|       |                #else
  |  | 9241|  3.19k|                attr = PyStackRef_FromPyObjectNew(attr_o);
  |  |  ------------------
  |  |  |  |  611|  3.19k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.19k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.19k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9242|  3.19k|                #endif
  |  | 9243|  3.19k|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|  3.19k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9244|  3.19k|                o = owner;
  |  | 9245|  3.19k|            }
  |  | 9246|       |            // _POP_TOP
  |  | 9247|      0|            {
  |  | 9248|  3.19k|                value = o;
  |  | 9249|  3.19k|                stack_pointer[-1] = attr;
  |  | 9250|  3.19k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9251|  3.19k|                _PyFrame_StackPointerValidate(frame);
  |  | 9252|  3.19k|                PyStackRef_XCLOSE(value);
  |  | 9253|  3.19k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 9254|  3.19k|            }
  |  | 9255|       |            /* Skip 5 cache entries */
  |  | 9256|       |            // _PUSH_NULL_CONDITIONAL
  |  | 9257|  3.19k|            {
  |  | 9258|  3.19k|                null = &stack_pointer[0];
  |  | 9259|  3.19k|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (9259:21): [True: 1.96k, False: 1.23k]
  |  |  ------------------
  |  | 9260|  1.96k|                    null[0] = PyStackRef_NULL;
  |  | 9261|  1.96k|                }
  |  | 9262|  3.19k|            }
  |  | 9263|  3.19k|            stack_pointer += (oparg & 1);
  |  | 9264|  3.19k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  3.19k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9265|  3.19k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.19k|    { \
  |  |  |  |  201|  3.19k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  3.19k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  3.19k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  3.19k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  3.19k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  3.19k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  3.19k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  3.19k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 3.19k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.19k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.19k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.19k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.19k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.19k|    }
  |  |  ------------------
  |  | 9266|  3.19k|        }
  |  | 9267|       |
  |  | 9268|     15|        TARGET(LOAD_ATTR_NONDESCRIPTOR_NO_DICT) {
  |  |  ------------------
  |  |  |  |  132|     15|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9269|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9270|       |            int opcode = LOAD_ATTR_NONDESCRIPTOR_NO_DICT;
  |  | 9271|       |            (void)(opcode);
  |  | 9272|       |            #endif
  |  | 9273|     15|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 9274|     15|            (void)this_instr;
  |  | 9275|     15|            frame->instr_ptr = next_instr;
  |  | 9276|     15|            next_instr += 10;
  |  | 9277|     15|            INSTRUCTION_STATS(LOAD_ATTR_NONDESCRIPTOR_NO_DICT);
  |  |  ------------------
  |  |  |  |   71|     15|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9278|     15|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 9279|     15|            _PyStackRef owner;
  |  | 9280|     15|            _PyStackRef attr;
  |  | 9281|       |            /* Skip 1 cache entry */
  |  | 9282|       |            // _GUARD_TYPE_VERSION
  |  | 9283|     15|            {
  |  | 9284|     15|                owner = stack_pointer[-1];
  |  | 9285|     15|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 9286|     15|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|     15|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     15|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     15|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9287|     15|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (9287:17): [True: 15, False: 0]
  |  |  ------------------
  |  | 9288|     15|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|     15|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9288:21): [True: 0, False: 15]
  |  |  ------------------
  |  | 9289|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9290|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9290:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9291|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9292|      0|                }
  |  | 9293|     15|            }
  |  | 9294|       |            /* Skip 2 cache entries */
  |  | 9295|       |            // _LOAD_ATTR_NONDESCRIPTOR_NO_DICT
  |  | 9296|     15|            {
  |  | 9297|     15|                PyObject *descr = read_obj(&this_instr[6].cache);
  |  | 9298|     15|                assert((oparg & 1) == 0);
  |  |  ------------------
  |  |  |  Branch (9298:17): [True: 15, False: 0]
  |  |  ------------------
  |  | 9299|     15|                assert(Py_TYPE(PyStackRef_AsPyObjectBorrow(owner))->tp_dictoffset == 0);
  |  |  ------------------
  |  |  |  Branch (9299:17): [True: 15, False: 0]
  |  |  ------------------
  |  | 9300|     15|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|     15|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9301|     15|                assert(descr != NULL);
  |  |  ------------------
  |  |  |  Branch (9301:17): [True: 15, False: 0]
  |  |  ------------------
  |  | 9302|     15|                stack_pointer += -1;
  |  | 9303|     15|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     15|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9304|     15|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9305|     15|                _PyFrame_StackPointerValidate(frame);
  |  | 9306|     15|                PyStackRef_CLOSE(owner);
  |  | 9307|     15|                _PyFrame_StackPointerInvalidate(frame);
  |  | 9308|     15|                attr = PyStackRef_FromPyObjectNew(descr);
  |  |  ------------------
  |  |  |  |  611|     15|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     15|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     15|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9309|     15|            }
  |  | 9310|      0|            stack_pointer[0] = attr;
  |  | 9311|     15|            stack_pointer += 1;
  |  | 9312|     15|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     15|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9313|     15|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     15|    { \
  |  |  |  |  201|     15|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     15|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     15|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     15|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     15|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     15|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     15|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     15|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 15]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     15|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     15|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     15|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     15|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     15|    }
  |  |  ------------------
  |  | 9314|     15|        }
  |  | 9315|       |
  |  | 9316|      0|        TARGET(LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9317|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9318|       |            int opcode = LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES;
  |  | 9319|       |            (void)(opcode);
  |  | 9320|       |            #endif
  |  | 9321|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 9322|      0|            (void)this_instr;
  |  | 9323|      0|            frame->instr_ptr = next_instr;
  |  | 9324|      0|            next_instr += 10;
  |  | 9325|      0|            INSTRUCTION_STATS(LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9326|      0|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 9327|      0|            _PyStackRef owner;
  |  | 9328|      0|            _PyStackRef attr;
  |  | 9329|       |            /* Skip 1 cache entry */
  |  | 9330|       |            // _GUARD_TYPE_VERSION
  |  | 9331|      0|            {
  |  | 9332|      0|                owner = stack_pointer[-1];
  |  | 9333|      0|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 9334|      0|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9335|      0|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (9335:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9336|      0|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|      0|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9336:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9337|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9338|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9338:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9339|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9340|      0|                }
  |  | 9341|      0|            }
  |  | 9342|       |            // _CHECK_MANAGED_OBJECT_HAS_VALUES
  |  | 9343|      0|            {
  |  | 9344|      0|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 9345|      0|                assert(Py_TYPE(owner_o)->tp_dictoffset < 0);
  |  |  ------------------
  |  |  |  Branch (9345:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9346|      0|                assert(Py_TYPE(owner_o)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  |  |  ------------------
  |  |  |  Branch (9346:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9347|      0|                if (!FT_ATOMIC_LOAD_UINT8(_PyObject_InlineValues(owner_o)->valid)) {
  |  |  ------------------
  |  |  |  |  154|      0|#define FT_ATOMIC_LOAD_UINT8(value) value
  |  |  ------------------
  |  |  |  Branch (9347:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9348|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9349|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9349:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9350|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9351|      0|                }
  |  | 9352|      0|            }
  |  | 9353|       |            /* Skip 2 cache entries */
  |  | 9354|       |            // _LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES
  |  | 9355|      0|            {
  |  | 9356|      0|                PyObject *descr = read_obj(&this_instr[6].cache);
  |  | 9357|      0|                assert((oparg & 1) == 0);
  |  |  ------------------
  |  |  |  Branch (9357:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9358|      0|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|      0|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9359|      0|                assert(descr != NULL);
  |  |  ------------------
  |  |  |  Branch (9359:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9360|      0|                stack_pointer += -1;
  |  | 9361|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9362|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9363|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 9364|      0|                PyStackRef_CLOSE(owner);
  |  | 9365|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 9366|      0|                attr = PyStackRef_FromPyObjectNew(descr);
  |  |  ------------------
  |  |  |  |  611|      0|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9367|      0|            }
  |  | 9368|      0|            stack_pointer[0] = attr;
  |  | 9369|      0|            stack_pointer += 1;
  |  | 9370|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9371|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 9372|      0|        }
  |  | 9373|       |
  |  | 9374|    192|        TARGET(LOAD_ATTR_PROPERTY) {
  |  |  ------------------
  |  |  |  |  132|    192|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9375|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9376|       |            int opcode = LOAD_ATTR_PROPERTY;
  |  | 9377|       |            (void)(opcode);
  |  | 9378|       |            #endif
  |  | 9379|    192|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 9380|    192|            (void)this_instr;
  |  | 9381|    192|            frame->instr_ptr = next_instr;
  |  | 9382|    192|            next_instr += 10;
  |  | 9383|    192|            INSTRUCTION_STATS(LOAD_ATTR_PROPERTY);
  |  |  ------------------
  |  |  |  |   71|    192|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9384|    192|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 9385|    192|            _PyStackRef owner;
  |  | 9386|    192|            _PyStackRef new_frame;
  |  | 9387|       |            /* Skip 1 cache entry */
  |  | 9388|       |            // _GUARD_TYPE_VERSION
  |  | 9389|    192|            {
  |  | 9390|    192|                owner = stack_pointer[-1];
  |  | 9391|    192|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 9392|    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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9393|    192|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (9393:17): [True: 192, False: 0]
  |  |  ------------------
  |  | 9394|    192|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|    192|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9394:21): [True: 156, False: 36]
  |  |  ------------------
  |  | 9395|    156|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|    156|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9396|    156|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9396:21): [True: 156, False: 0]
  |  |  ------------------
  |  | 9397|    156|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|    156|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9398|      0|                }
  |  | 9399|    192|            }
  |  | 9400|       |            // _CHECK_PEP_523
  |  | 9401|     36|            {
  |  | 9402|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9403|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9404|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9404:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9405|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9406|      0|                }
  |  | 9407|     36|            }
  |  | 9408|       |            // _LOAD_ATTR_PROPERTY_FRAME
  |  | 9409|     36|            {
  |  | 9410|     36|                uint32_t func_version = read_u32(&this_instr[4].cache);
  |  | 9411|     36|                PyObject *fget = read_obj(&this_instr[6].cache);
  |  | 9412|     36|                assert((oparg & 1) == 0);
  |  |  ------------------
  |  |  |  Branch (9412:17): [True: 36, False: 0]
  |  |  ------------------
  |  | 9413|     36|                assert(Py_IS_TYPE(fget, &PyFunction_Type));
  |  |  ------------------
  |  |  |  Branch (9413:17): [True: 36, False: 0]
  |  |  ------------------
  |  | 9414|     36|                PyFunctionObject *f = (PyFunctionObject *)fget;
  |  | 9415|     36|                if (f->func_version != func_version) {
  |  |  ------------------
  |  |  |  Branch (9415:21): [True: 0, False: 36]
  |  |  ------------------
  |  | 9416|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9417|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9417:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9418|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9419|      0|                }
  |  | 9420|     36|                PyCodeObject *code = (PyCodeObject *)f->func_code;
  |  | 9421|     36|                if (!_PyThreadState_HasStackSpace(tstate, code->co_framesize)) {
  |  |  ------------------
  |  |  |  Branch (9421:21): [True: 0, False: 36]
  |  |  ------------------
  |  | 9422|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9423|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9423:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9424|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9425|      0|                }
  |  | 9426|     36|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|     36|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9427|     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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9428|     36|                pushed_frame->localsplus[0] = owner;
  |  | 9429|     36|                new_frame = PyStackRef_Wrap(pushed_frame);
  |  | 9430|     36|            }
  |  | 9431|       |            // _SAVE_RETURN_OFFSET
  |  | 9432|      0|            {
  |  | 9433|     36|                #if TIER_ONE
  |  | 9434|     36|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 9435|     36|                #endif
  |  | 9436|       |                #if TIER_TWO
  |  | 9437|       |                frame->return_offset = oparg;
  |  | 9438|       |                #endif
  |  | 9439|     36|            }
  |  | 9440|       |            // _PUSH_FRAME
  |  | 9441|     36|            {
  |  | 9442|     36|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (9442:17): [True: 36, False: 0]
  |  |  ------------------
  |  | 9443|     36|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 9444|     36|                stack_pointer += -1;
  |  | 9445|     36|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     36|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9446|     36|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9447|     36|                _PyFrame_StackPointerValidate(frame);
  |  | 9448|     36|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (9448:17): [True: 36, False: 0]
  |  |  |  Branch (9448:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9449|     36|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|     36|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 9450|     36|                frame = tstate->current_frame = temp;
  |  | 9451|     36|                tstate->py_recursion_remaining--;
  |  | 9452|     36|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9453|     36|                _PyFrame_StackPointerInvalidate(frame);
  |  | 9454|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9455|       |                #ifdef Py_DEBUG
  |  | 9456|       |                assert(frame->previous->stackpointer_valid == 1);
  |  | 9457|       |                #endif
  |  | 9458|     36|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|     36|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 9459|     36|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|     36|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 9460|     36|            }
  |  | 9461|     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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     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|    }
  |  |  ------------------
  |  | 9462|     36|        }
  |  | 9463|       |
  |  | 9464|    685|        TARGET(LOAD_ATTR_SLOT) {
  |  |  ------------------
  |  |  |  |  132|    685|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9465|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9466|       |            int opcode = LOAD_ATTR_SLOT;
  |  | 9467|       |            (void)(opcode);
  |  | 9468|       |            #endif
  |  | 9469|    685|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 9470|    685|            (void)this_instr;
  |  | 9471|    685|            frame->instr_ptr = next_instr;
  |  | 9472|    685|            next_instr += 10;
  |  | 9473|    685|            INSTRUCTION_STATS(LOAD_ATTR_SLOT);
  |  |  ------------------
  |  |  |  |   71|    685|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9474|    685|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 9475|    685|            _PyStackRef owner;
  |  | 9476|    685|            _PyStackRef attr;
  |  | 9477|    685|            _PyStackRef o;
  |  | 9478|    685|            _PyStackRef value;
  |  | 9479|    685|            _PyStackRef *null;
  |  | 9480|       |            /* Skip 1 cache entry */
  |  | 9481|       |            // _GUARD_TYPE_VERSION
  |  | 9482|    685|            {
  |  | 9483|    685|                owner = stack_pointer[-1];
  |  | 9484|    685|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 9485|    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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9486|    685|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (9486:17): [True: 685, False: 0]
  |  |  ------------------
  |  | 9487|    685|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|    685|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9487:21): [True: 5, False: 680]
  |  |  ------------------
  |  | 9488|      5|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      5|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9489|      5|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9489:21): [True: 5, False: 0]
  |  |  ------------------
  |  | 9490|      5|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      5|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9491|      0|                }
  |  | 9492|    685|            }
  |  | 9493|       |            // _LOAD_ATTR_SLOT
  |  | 9494|    680|            {
  |  | 9495|    680|                uint16_t index = read_u16(&this_instr[4].cache);
  |  | 9496|    680|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 9497|    680|                PyObject **addr = (PyObject **)((char *)owner_o + index);
  |  | 9498|    680|                PyObject *attr_o = FT_ATOMIC_LOAD_PTR(*addr);
  |  |  ------------------
  |  |  |  |  145|    680|#define FT_ATOMIC_LOAD_PTR(value) value
  |  |  ------------------
  |  | 9499|    680|                if (attr_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9499:21): [True: 0, False: 680]
  |  |  ------------------
  |  | 9500|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9501|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9501:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9502|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9503|      0|                }
  |  | 9504|       |                #ifdef Py_GIL_DISABLED
  |  | 9505|       |                int increfed = _Py_TryIncrefCompareStackRef(addr, attr_o, &attr);
  |  | 9506|       |                if (!increfed) {
  |  | 9507|       |                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  | 9508|       |                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 9509|       |                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  | 9510|       |                }
  |  | 9511|       |                #else
  |  | 9512|    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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9513|    680|                #endif
  |  | 9514|    680|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|    680|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9515|    680|                o = owner;
  |  | 9516|    680|            }
  |  | 9517|       |            // _POP_TOP
  |  | 9518|      0|            {
  |  | 9519|    680|                value = o;
  |  | 9520|    680|                stack_pointer[-1] = attr;
  |  | 9521|    680|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9522|    680|                _PyFrame_StackPointerValidate(frame);
  |  | 9523|    680|                PyStackRef_XCLOSE(value);
  |  | 9524|    680|                _PyFrame_StackPointerInvalidate(frame);
  |  | 9525|    680|            }
  |  | 9526|       |            /* Skip 5 cache entries */
  |  | 9527|       |            // _PUSH_NULL_CONDITIONAL
  |  | 9528|    680|            {
  |  | 9529|    680|                null = &stack_pointer[0];
  |  | 9530|    680|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (9530:21): [True: 1, False: 679]
  |  |  ------------------
  |  | 9531|      1|                    null[0] = PyStackRef_NULL;
  |  | 9532|      1|                }
  |  | 9533|    680|            }
  |  | 9534|    680|            stack_pointer += (oparg & 1);
  |  | 9535|    680|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    680|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9536|    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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    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|    }
  |  |  ------------------
  |  | 9537|    680|        }
  |  | 9538|       |
  |  | 9539|      0|        TARGET(LOAD_ATTR_WITH_HINT) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9540|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9541|       |            int opcode = LOAD_ATTR_WITH_HINT;
  |  | 9542|       |            (void)(opcode);
  |  | 9543|       |            #endif
  |  | 9544|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 9545|      0|            (void)this_instr;
  |  | 9546|      0|            frame->instr_ptr = next_instr;
  |  | 9547|      0|            next_instr += 10;
  |  | 9548|      0|            INSTRUCTION_STATS(LOAD_ATTR_WITH_HINT);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9549|      0|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 9550|      0|            _PyStackRef owner;
  |  | 9551|      0|            _PyStackRef attr;
  |  | 9552|      0|            _PyStackRef o;
  |  | 9553|      0|            _PyStackRef value;
  |  | 9554|      0|            _PyStackRef *null;
  |  | 9555|       |            /* Skip 1 cache entry */
  |  | 9556|       |            // _GUARD_TYPE_VERSION
  |  | 9557|      0|            {
  |  | 9558|      0|                owner = stack_pointer[-1];
  |  | 9559|      0|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 9560|      0|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9561|      0|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (9561:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9562|      0|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|      0|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9562:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9563|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9564|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9564:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9565|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9566|      0|                }
  |  | 9567|      0|            }
  |  | 9568|       |            // _LOAD_ATTR_WITH_HINT
  |  | 9569|      0|            {
  |  | 9570|      0|                uint16_t hint = read_u16(&this_instr[4].cache);
  |  | 9571|      0|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 9572|      0|                assert(Py_TYPE(owner_o)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  |  |  ------------------
  |  |  |  Branch (9572:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9573|      0|                PyDictObject *dict = _PyObject_GetManagedDict(owner_o);
  |  | 9574|      0|                if (dict == NULL) {
  |  |  ------------------
  |  |  |  Branch (9574:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9575|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9576|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9576:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9577|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9578|      0|                }
  |  | 9579|      0|                PyDictKeysObject *dk = FT_ATOMIC_LOAD_PTR(dict->ma_keys);
  |  |  ------------------
  |  |  |  |  145|      0|#define FT_ATOMIC_LOAD_PTR(value) value
  |  |  ------------------
  |  | 9580|      0|                assert(PyDict_CheckExact((PyObject *)dict));
  |  |  ------------------
  |  |  |  Branch (9580:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9581|       |                #ifdef Py_GIL_DISABLED
  |  | 9582|       |                if (!_Py_IsOwnedByCurrentThread((PyObject *)dict) && !_PyObject_GC_IS_SHARED(dict)) {
  |  | 9583|       |                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  | 9584|       |                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 9585|       |                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  | 9586|       |                }
  |  | 9587|       |                #endif
  |  | 9588|      0|                PyObject *attr_o;
  |  | 9589|      0|                if (hint >= (size_t)FT_ATOMIC_LOAD_SSIZE_RELAXED(dk->dk_nentries)) {
  |  |  ------------------
  |  |  |  |  149|      0|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9589:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9590|      0|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (9590:25): [True: 0, Folded]
  |  |  ------------------
  |  | 9591|      0|                        UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9592|      0|                        assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9592:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 9593|      0|                        JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9594|      0|                    }
  |  | 9595|      0|                }
  |  | 9596|      0|                PyObject *name = GETITEM(FRAME_CO_NAMES, oparg>>1);
  |  |  ------------------
  |  |  |  |  236|      0|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (9596:34): [True: 0, False: 0]
  |  |  ------------------
  |  | 9597|      0|                if (dk->dk_kind != DICT_KEYS_UNICODE) {
  |  |  ------------------
  |  |  |  Branch (9597:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9598|      0|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (9598:25): [True: 0, Folded]
  |  |  ------------------
  |  | 9599|      0|                        UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9600|      0|                        assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9600:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 9601|      0|                        JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9602|      0|                    }
  |  | 9603|      0|                }
  |  | 9604|      0|                PyDictUnicodeEntry *ep = DK_UNICODE_ENTRIES(dk) + hint;
  |  | 9605|      0|                if (FT_ATOMIC_LOAD_PTR_RELAXED(ep->me_key) != name) {
  |  |  ------------------
  |  |  |  |  153|      0|#define FT_ATOMIC_LOAD_PTR_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9605:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9606|      0|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (9606:25): [True: 0, Folded]
  |  |  ------------------
  |  | 9607|      0|                        UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9608|      0|                        assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9608:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 9609|      0|                        JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9610|      0|                    }
  |  | 9611|      0|                }
  |  | 9612|      0|                attr_o = FT_ATOMIC_LOAD_PTR(ep->me_value);
  |  |  ------------------
  |  |  |  |  145|      0|#define FT_ATOMIC_LOAD_PTR(value) value
  |  |  ------------------
  |  | 9613|      0|                if (attr_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9613:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9614|      0|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (9614:25): [True: 0, Folded]
  |  |  ------------------
  |  | 9615|      0|                        UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9616|      0|                        assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9616:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 9617|      0|                        JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9618|      0|                    }
  |  | 9619|      0|                }
  |  | 9620|      0|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|      0|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9621|       |                #ifdef Py_GIL_DISABLED
  |  | 9622|       |                int increfed = _Py_TryIncrefCompareStackRef(&ep->me_value, attr_o, &attr);
  |  | 9623|       |                if (!increfed) {
  |  | 9624|       |                    if (true) {
  |  | 9625|       |                        UPDATE_MISS_STATS(LOAD_ATTR);
  |  | 9626|       |                        assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 9627|       |                        JUMP_TO_PREDICTED(LOAD_ATTR);
  |  | 9628|       |                    }
  |  | 9629|       |                }
  |  | 9630|       |                #else
  |  | 9631|      0|                attr = PyStackRef_FromPyObjectNew(attr_o);
  |  |  ------------------
  |  |  |  |  611|      0|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9632|      0|                #endif
  |  | 9633|      0|                o = owner;
  |  | 9634|      0|            }
  |  | 9635|       |            // _POP_TOP
  |  | 9636|      0|            {
  |  | 9637|      0|                value = o;
  |  | 9638|      0|                stack_pointer[-1] = attr;
  |  | 9639|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9640|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 9641|      0|                PyStackRef_XCLOSE(value);
  |  | 9642|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 9643|      0|            }
  |  | 9644|       |            /* Skip 5 cache entries */
  |  | 9645|       |            // _PUSH_NULL_CONDITIONAL
  |  | 9646|      0|            {
  |  | 9647|      0|                null = &stack_pointer[0];
  |  | 9648|      0|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (9648:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9649|      0|                    null[0] = PyStackRef_NULL;
  |  | 9650|      0|                }
  |  | 9651|      0|            }
  |  | 9652|      0|            stack_pointer += (oparg & 1);
  |  | 9653|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9654|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 9655|      0|        }
  |  | 9656|       |
  |  | 9657|    241|        TARGET(LOAD_BUILD_CLASS) {
  |  |  ------------------
  |  |  |  |  132|    241|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9658|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9659|       |            int opcode = LOAD_BUILD_CLASS;
  |  | 9660|       |            (void)(opcode);
  |  | 9661|       |            #endif
  |  | 9662|    241|            frame->instr_ptr = next_instr;
  |  | 9663|    241|            next_instr += 1;
  |  | 9664|    241|            INSTRUCTION_STATS(LOAD_BUILD_CLASS);
  |  |  ------------------
  |  |  |  |   71|    241|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9665|    241|            _PyStackRef bc;
  |  | 9666|    241|            int err;
  |  | 9667|    241|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9668|    241|            _PyFrame_StackPointerValidate(frame);
  |  | 9669|    241|            PyObject *bc_o = _PyMapping_GetOptionalItem2(BUILTINS(), &_Py_ID(__build_class__), &err);
  |  |  ------------------
  |  |  |  |  327|    241|#define BUILTINS() frame->f_builtins
  |  |  ------------------
  |  |                           PyObject *bc_o = _PyMapping_GetOptionalItem2(BUILTINS(), &_Py_ID(__build_class__), &err);
  |  |  ------------------
  |  |  |  |  936|    241|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|    241|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|    241|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9670|    241|            _PyFrame_StackPointerInvalidate(frame);
  |  | 9671|    241|            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (9671:17): [True: 0, False: 241]
  |  |  ------------------
  |  | 9672|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9673|      0|            }
  |  | 9674|    241|            if (bc_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9674:17): [True: 0, False: 241]
  |  |  ------------------
  |  | 9675|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (9675:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9676|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 9677|      0|                _PyErr_SetString(tstate, PyExc_NameError,
  |  | 9678|      0|                                 "__build_class__ not found");
  |  | 9679|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 9680|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9681|      0|            }
  |  | 9682|    241|            bc = PyStackRef_FromPyObjectSteal(bc_o);
  |  | 9683|    241|            stack_pointer[0] = bc;
  |  | 9684|    241|            stack_pointer += 1;
  |  | 9685|    241|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    241|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9686|    241|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    241|    { \
  |  |  |  |  201|    241|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    241|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    241|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    241|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    241|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    241|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    241|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    241|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 241]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    241|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    241|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    241|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    241|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    241|    }
  |  |  ------------------
  |  | 9687|    241|        }
  |  | 9688|       |
  |  | 9689|  9.73k|        TARGET(LOAD_COMMON_CONSTANT) {
  |  |  ------------------
  |  |  |  |  132|  9.73k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9690|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9691|       |            int opcode = LOAD_COMMON_CONSTANT;
  |  | 9692|       |            (void)(opcode);
  |  | 9693|       |            #endif
  |  | 9694|  9.73k|            frame->instr_ptr = next_instr;
  |  | 9695|  9.73k|            next_instr += 1;
  |  | 9696|  9.73k|            INSTRUCTION_STATS(LOAD_COMMON_CONSTANT);
  |  |  ------------------
  |  |  |  |   71|  9.73k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9697|  9.73k|            _PyStackRef value;
  |  | 9698|  9.73k|            assert(oparg < NUM_COMMON_CONSTANTS);
  |  |  ------------------
  |  |  |  Branch (9698:13): [True: 9.73k, False: 0]
  |  |  ------------------
  |  | 9699|  9.73k|            value = PyStackRef_DupImmortal(tstate->interp->common_consts[oparg]);
  |  | 9700|  9.73k|            stack_pointer[0] = value;
  |  | 9701|  9.73k|            stack_pointer += 1;
  |  | 9702|  9.73k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  9.73k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9703|  9.73k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  9.73k|    { \
  |  |  |  |  201|  9.73k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  9.73k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  9.73k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  9.73k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  9.73k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  9.73k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  9.73k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  9.73k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 9.73k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  9.73k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  9.73k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  9.73k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  9.73k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  9.73k|    }
  |  |  ------------------
  |  | 9704|  9.73k|        }
  |  | 9705|       |
  |  | 9706|  13.5k|        TARGET(LOAD_CONST) {
  |  |  ------------------
  |  |  |  |  132|  13.5k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9707|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9708|       |            int opcode = LOAD_CONST;
  |  | 9709|       |            (void)(opcode);
  |  | 9710|       |            #endif
  |  | 9711|  13.5k|            frame->instr_ptr = next_instr;
  |  | 9712|  13.5k|            next_instr += 1;
  |  | 9713|  13.5k|            INSTRUCTION_STATS(LOAD_CONST);
  |  |  ------------------
  |  |  |  |   71|  13.5k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9714|  13.5k|            _PyStackRef value;
  |  | 9715|  13.5k|            PyObject *obj = GETITEM(FRAME_CO_CONSTS, oparg);
  |  |  ------------------
  |  |  |  |  236|  13.5k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  13.5k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  13.5k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  13.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (9715:29): [True: 13.5k, False: 0]
  |  |  ------------------
  |  | 9716|      0|            value = PyStackRef_FromPyObjectBorrow(obj);
  |  | 9717|  13.5k|            stack_pointer[0] = value;
  |  | 9718|  13.5k|            stack_pointer += 1;
  |  | 9719|  13.5k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  13.5k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9720|  13.5k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  13.5k|    { \
  |  |  |  |  201|  13.5k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  13.5k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  13.5k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  13.5k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  13.5k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  13.5k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  13.5k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  13.5k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 13.5k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  13.5k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  13.5k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  13.5k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  13.5k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  13.5k|    }
  |  |  ------------------
  |  | 9721|  13.5k|        }
  |  | 9722|       |
  |  | 9723|  1.09k|        TARGET(LOAD_DEREF) {
  |  |  ------------------
  |  |  |  |  132|  1.09k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9724|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9725|       |            int opcode = LOAD_DEREF;
  |  | 9726|       |            (void)(opcode);
  |  | 9727|       |            #endif
  |  | 9728|  1.09k|            frame->instr_ptr = next_instr;
  |  | 9729|  1.09k|            next_instr += 1;
  |  | 9730|  1.09k|            INSTRUCTION_STATS(LOAD_DEREF);
  |  |  ------------------
  |  |  |  |   71|  1.09k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9731|  1.09k|            _PyStackRef value;
  |  | 9732|  1.09k|            PyCellObject *cell = (PyCellObject *)PyStackRef_AsPyObjectBorrow(GETLOCAL(oparg));
  |  |  ------------------
  |  |  |  |  285|  1.09k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9733|  1.09k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9734|  1.09k|            _PyFrame_StackPointerValidate(frame);
  |  | 9735|  1.09k|            value = _PyCell_GetStackRef(cell);
  |  | 9736|  1.09k|            _PyFrame_StackPointerInvalidate(frame);
  |  | 9737|  1.09k|            if (PyStackRef_IsNull(value)) {
  |  |  ------------------
  |  |  |  |  482|  1.09k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  1.09k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  1.09k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 1.09k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9738|      0|                stack_pointer[0] = value;
  |  | 9739|      0|                stack_pointer += 1;
  |  | 9740|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9741|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9742|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 9743|      0|                _PyEval_FormatExcUnbound(tstate, _PyFrame_GetCode(frame), oparg);
  |  | 9744|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 9745|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9746|      0|            }
  |  | 9747|  1.09k|            stack_pointer[0] = value;
  |  | 9748|  1.09k|            stack_pointer += 1;
  |  | 9749|  1.09k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.09k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9750|  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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  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|    }
  |  |  ------------------
  |  | 9751|  1.09k|        }
  |  | 9752|       |
  |  | 9753|  1.93k|        TARGET(LOAD_FAST) {
  |  |  ------------------
  |  |  |  |  132|  1.93k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9754|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9755|       |            int opcode = LOAD_FAST;
  |  | 9756|       |            (void)(opcode);
  |  | 9757|       |            #endif
  |  | 9758|  1.93k|            frame->instr_ptr = next_instr;
  |  | 9759|  1.93k|            next_instr += 1;
  |  | 9760|  1.93k|            INSTRUCTION_STATS(LOAD_FAST);
  |  |  ------------------
  |  |  |  |   71|  1.93k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9761|  1.93k|            _PyStackRef value;
  |  | 9762|  1.93k|            assert(!PyStackRef_IsNull(GETLOCAL(oparg)));
  |  |  ------------------
  |  |  |  Branch (9762:13): [True: 1.93k, False: 0]
  |  |  ------------------
  |  | 9763|  1.93k|            value = PyStackRef_DUP(GETLOCAL(oparg));
  |  |  ------------------
  |  |  |  |  285|  1.93k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9764|  1.93k|            stack_pointer[0] = value;
  |  | 9765|  1.93k|            stack_pointer += 1;
  |  | 9766|  1.93k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.93k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9767|  1.93k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.93k|    { \
  |  |  |  |  201|  1.93k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.93k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.93k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.93k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.93k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.93k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.93k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.93k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.93k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.93k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.93k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.93k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.93k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.93k|    }
  |  |  ------------------
  |  | 9768|  1.93k|        }
  |  | 9769|       |
  |  | 9770|    421|        TARGET(LOAD_FAST_AND_CLEAR) {
  |  |  ------------------
  |  |  |  |  132|    421|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9771|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9772|       |            int opcode = LOAD_FAST_AND_CLEAR;
  |  | 9773|       |            (void)(opcode);
  |  | 9774|       |            #endif
  |  | 9775|    421|            frame->instr_ptr = next_instr;
  |  | 9776|    421|            next_instr += 1;
  |  | 9777|    421|            INSTRUCTION_STATS(LOAD_FAST_AND_CLEAR);
  |  |  ------------------
  |  |  |  |   71|    421|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9778|    421|            _PyStackRef value;
  |  | 9779|    421|            value = GETLOCAL(oparg);
  |  |  ------------------
  |  |  |  |  285|    421|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9780|    421|            GETLOCAL(oparg) = PyStackRef_NULL;
  |  |  ------------------
  |  |  |  |  285|    421|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9781|    421|            stack_pointer[0] = value;
  |  | 9782|    421|            stack_pointer += 1;
  |  | 9783|    421|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    421|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9784|    421|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    421|    { \
  |  |  |  |  201|    421|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    421|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    421|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    421|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    421|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    421|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    421|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    421|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 421]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    421|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    421|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    421|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    421|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    421|    }
  |  |  ------------------
  |  | 9785|    421|        }
  |  | 9786|       |
  |  | 9787|  33.3k|        TARGET(LOAD_FAST_BORROW) {
  |  |  ------------------
  |  |  |  |  132|  33.3k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9788|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9789|       |            int opcode = LOAD_FAST_BORROW;
  |  | 9790|       |            (void)(opcode);
  |  | 9791|       |            #endif
  |  | 9792|  33.3k|            frame->instr_ptr = next_instr;
  |  | 9793|  33.3k|            next_instr += 1;
  |  | 9794|  33.3k|            INSTRUCTION_STATS(LOAD_FAST_BORROW);
  |  |  ------------------
  |  |  |  |   71|  33.3k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9795|  33.3k|            _PyStackRef value;
  |  | 9796|  33.3k|            assert(!PyStackRef_IsNull(GETLOCAL(oparg)));
  |  |  ------------------
  |  |  |  Branch (9796:13): [True: 33.3k, False: 0]
  |  |  ------------------
  |  | 9797|  33.3k|            value = PyStackRef_Borrow(GETLOCAL(oparg));
  |  |  ------------------
  |  |  |  |  285|  33.3k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9798|  33.3k|            stack_pointer[0] = value;
  |  | 9799|  33.3k|            stack_pointer += 1;
  |  | 9800|  33.3k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  33.3k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9801|  33.3k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  33.3k|    { \
  |  |  |  |  201|  33.3k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  33.3k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  33.3k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  33.3k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  33.3k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  33.3k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  33.3k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  33.3k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 33.3k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  33.3k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  33.3k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  33.3k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  33.3k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  33.3k|    }
  |  |  ------------------
  |  | 9802|  33.3k|        }
  |  | 9803|       |
  |  | 9804|  6.35k|        TARGET(LOAD_FAST_BORROW_LOAD_FAST_BORROW) {
  |  |  ------------------
  |  |  |  |  132|  6.35k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9805|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9806|       |            int opcode = LOAD_FAST_BORROW_LOAD_FAST_BORROW;
  |  | 9807|       |            (void)(opcode);
  |  | 9808|       |            #endif
  |  | 9809|  6.35k|            frame->instr_ptr = next_instr;
  |  | 9810|  6.35k|            next_instr += 1;
  |  | 9811|  6.35k|            INSTRUCTION_STATS(LOAD_FAST_BORROW_LOAD_FAST_BORROW);
  |  |  ------------------
  |  |  |  |   71|  6.35k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9812|  6.35k|            _PyStackRef value1;
  |  | 9813|  6.35k|            _PyStackRef value2;
  |  | 9814|  6.35k|            uint32_t oparg1 = oparg >> 4;
  |  | 9815|  6.35k|            uint32_t oparg2 = oparg & 15;
  |  | 9816|  6.35k|            value1 = PyStackRef_Borrow(GETLOCAL(oparg1));
  |  |  ------------------
  |  |  |  |  285|  6.35k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9817|  6.35k|            value2 = PyStackRef_Borrow(GETLOCAL(oparg2));
  |  |  ------------------
  |  |  |  |  285|  6.35k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9818|  6.35k|            stack_pointer[0] = value1;
  |  | 9819|  6.35k|            stack_pointer[1] = value2;
  |  | 9820|  6.35k|            stack_pointer += 2;
  |  | 9821|  6.35k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  6.35k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9822|  6.35k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  6.35k|    { \
  |  |  |  |  201|  6.35k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  6.35k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  6.35k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  6.35k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  6.35k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  6.35k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  6.35k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  6.35k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 6.35k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  6.35k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  6.35k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  6.35k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  6.35k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  6.35k|    }
  |  |  ------------------
  |  | 9823|  6.35k|        }
  |  | 9824|       |
  |  | 9825|  6.35k|        TARGET(LOAD_FAST_CHECK) {
  |  |  ------------------
  |  |  |  |  132|    193|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9826|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9827|       |            int opcode = LOAD_FAST_CHECK;
  |  | 9828|       |            (void)(opcode);
  |  | 9829|       |            #endif
  |  | 9830|    193|            frame->instr_ptr = next_instr;
  |  | 9831|    193|            next_instr += 1;
  |  | 9832|    193|            INSTRUCTION_STATS(LOAD_FAST_CHECK);
  |  |  ------------------
  |  |  |  |   71|    193|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9833|    193|            _PyStackRef value;
  |  | 9834|    193|            _PyStackRef value_s = GETLOCAL(oparg);
  |  |  ------------------
  |  |  |  |  285|    193|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9835|    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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9836|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9837|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 9838|      0|                _PyEval_FormatExcCheckArg(tstate, PyExc_UnboundLocalError,
  |  | 9839|      0|                    UNBOUNDLOCAL_ERROR_MSG,
  |  |  ------------------
  |  |  |  |  401|      0|    "cannot access local variable '%s' where it is not associated with a value"
  |  |  ------------------
  |  | 9840|      0|                    PyTuple_GetItem(_PyFrame_GetCode(frame)->co_localsplusnames, oparg)
  |  | 9841|      0|                );
  |  | 9842|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 9843|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9844|      0|            }
  |  | 9845|    193|            value = PyStackRef_DUP(value_s);
  |  | 9846|    193|            stack_pointer[0] = value;
  |  | 9847|    193|            stack_pointer += 1;
  |  | 9848|    193|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    193|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9849|    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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    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|    }
  |  |  ------------------
  |  | 9850|    193|        }
  |  | 9851|       |
  |  | 9852|     20|        TARGET(LOAD_FAST_LOAD_FAST) {
  |  |  ------------------
  |  |  |  |  132|     20|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9853|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9854|       |            int opcode = LOAD_FAST_LOAD_FAST;
  |  | 9855|       |            (void)(opcode);
  |  | 9856|       |            #endif
  |  | 9857|     20|            frame->instr_ptr = next_instr;
  |  | 9858|     20|            next_instr += 1;
  |  | 9859|     20|            INSTRUCTION_STATS(LOAD_FAST_LOAD_FAST);
  |  |  ------------------
  |  |  |  |   71|     20|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9860|     20|            _PyStackRef value1;
  |  | 9861|     20|            _PyStackRef value2;
  |  | 9862|     20|            uint32_t oparg1 = oparg >> 4;
  |  | 9863|     20|            uint32_t oparg2 = oparg & 15;
  |  | 9864|     20|            value1 = PyStackRef_DUP(GETLOCAL(oparg1));
  |  |  ------------------
  |  |  |  |  285|     20|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9865|     20|            value2 = PyStackRef_DUP(GETLOCAL(oparg2));
  |  |  ------------------
  |  |  |  |  285|     20|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9866|     20|            stack_pointer[0] = value1;
  |  | 9867|     20|            stack_pointer[1] = value2;
  |  | 9868|     20|            stack_pointer += 2;
  |  | 9869|     20|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     20|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9870|     20|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     20|    { \
  |  |  |  |  201|     20|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     20|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     20|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     20|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     20|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     20|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     20|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     20|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 20]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     20|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     20|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     20|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     20|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     20|    }
  |  |  ------------------
  |  | 9871|     20|        }
  |  | 9872|       |
  |  | 9873|     20|        TARGET(LOAD_FROM_DICT_OR_DEREF) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9874|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9875|       |            int opcode = LOAD_FROM_DICT_OR_DEREF;
  |  | 9876|       |            (void)(opcode);
  |  | 9877|       |            #endif
  |  | 9878|      0|            frame->instr_ptr = next_instr;
  |  | 9879|      0|            next_instr += 1;
  |  | 9880|      0|            INSTRUCTION_STATS(LOAD_FROM_DICT_OR_DEREF);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9881|      0|            _PyStackRef class_dict_st;
  |  | 9882|      0|            _PyStackRef value;
  |  | 9883|      0|            class_dict_st = stack_pointer[-1];
  |  | 9884|      0|            PyObject *name;
  |  | 9885|      0|            PyObject *class_dict = PyStackRef_AsPyObjectBorrow(class_dict_st);
  |  | 9886|      0|            assert(class_dict);
  |  |  ------------------
  |  |  |  Branch (9886:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 9887|      0|            assert(oparg >= 0 && oparg < _PyFrame_GetCode(frame)->co_nlocalsplus);
  |  |  ------------------
  |  |  |  Branch (9887:13): [True: 0, False: 0]
  |  |  |  Branch (9887:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 9888|      0|            name = PyTuple_GET_ITEM(_PyFrame_GetCode(frame)->co_localsplusnames, oparg);
  |  |  ------------------
  |  |  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (9888:20): [True: 0, False: 0]
  |  |  ------------------
  |  | 9889|      0|            int err;
  |  | 9890|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9891|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 9892|      0|            PyObject* value_o = _PyMapping_GetOptionalItem2(class_dict, name, &err);
  |  | 9893|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 9894|      0|            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (9894:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9895|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9896|      0|            }
  |  | 9897|      0|            if (!value_o) {
  |  |  ------------------
  |  |  |  Branch (9897:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9898|      0|                PyCellObject *cell = (PyCellObject *)PyStackRef_AsPyObjectBorrow(GETLOCAL(oparg));
  |  |  ------------------
  |  |  |  |  285|      0|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9899|      0|                value_o = PyCell_GetRef(cell);
  |  | 9900|      0|                if (value_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9900:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9901|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (9901:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9902|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 9903|      0|                    _PyEval_FormatExcUnbound(tstate, _PyFrame_GetCode(frame), oparg);
  |  | 9904|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 9905|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9906|      0|                }
  |  | 9907|      0|            }
  |  | 9908|      0|            stack_pointer += -1;
  |  | 9909|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9910|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9911|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 9912|      0|            PyStackRef_CLOSE(class_dict_st);
  |  | 9913|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 9914|      0|            value = PyStackRef_FromPyObjectSteal(value_o);
  |  | 9915|      0|            stack_pointer[0] = value;
  |  | 9916|      0|            stack_pointer += 1;
  |  | 9917|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9918|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 9919|      0|        }
  |  | 9920|       |
  |  | 9921|      0|        TARGET(LOAD_FROM_DICT_OR_GLOBALS) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9922|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9923|       |            int opcode = LOAD_FROM_DICT_OR_GLOBALS;
  |  | 9924|       |            (void)(opcode);
  |  | 9925|       |            #endif
  |  | 9926|      0|            frame->instr_ptr = next_instr;
  |  | 9927|      0|            next_instr += 1;
  |  | 9928|      0|            INSTRUCTION_STATS(LOAD_FROM_DICT_OR_GLOBALS);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9929|      0|            _PyStackRef mod_or_class_dict;
  |  | 9930|      0|            _PyStackRef v;
  |  | 9931|      0|            mod_or_class_dict = stack_pointer[-1];
  |  | 9932|      0|            PyObject *name = GETITEM(FRAME_CO_NAMES, oparg);
  |  |  ------------------
  |  |  |  |  236|      0|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (9932:30): [True: 0, False: 0]
  |  |  ------------------
  |  | 9933|      0|            int err;
  |  | 9934|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9935|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 9936|      0|            PyObject *v_o = _PyMapping_GetOptionalItem2(PyStackRef_AsPyObjectBorrow(mod_or_class_dict), name, &err);
  |  | 9937|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 9938|      0|            stack_pointer += -1;
  |  | 9939|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9940|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9941|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 9942|      0|            PyStackRef_CLOSE(mod_or_class_dict);
  |  | 9943|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 9944|      0|            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (9944:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9945|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9946|      0|            }
  |  | 9947|      0|            if (v_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9947:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9948|      0|                if (PyDict_CheckExact(GLOBALS())
  |  |  ------------------
  |  |  |  |   19|      0|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9949|      0|                    && PyDict_CheckExact(BUILTINS()))
  |  |  ------------------
  |  |  |  |   19|      0|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9950|      0|                {
  |  | 9951|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (9951:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9952|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 9953|      0|                    v_o = _PyDict_LoadGlobal((PyDictObject *)GLOBALS(),
  |  |  ------------------
  |  |  |  |  326|      0|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  | 9954|      0|                        (PyDictObject *)BUILTINS(),
  |  |  ------------------
  |  |  |  |  327|      0|#define BUILTINS() frame->f_builtins
  |  |  ------------------
  |  | 9955|      0|                        name);
  |  | 9956|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 9957|      0|                    if (v_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9957:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 9958|      0|                        if (!_PyErr_Occurred(tstate)) {
  |  |  ------------------
  |  |  |  Branch (9958:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 9959|      0|                            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (9959:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 9960|      0|                            _PyFrame_StackPointerValidate(frame);
  |  | 9961|      0|                            _PyEval_FormatExcCheckArg(tstate, PyExc_NameError,
  |  | 9962|      0|                                NAME_ERROR_MSG, name);
  |  |  ------------------
  |  |  |  |  405|      0|#define NAME_ERROR_MSG "name '%.200s' is not defined"
  |  |  ------------------
  |  | 9963|      0|                            _PyFrame_StackPointerInvalidate(frame);
  |  | 9964|      0|                        }
  |  | 9965|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9966|      0|                    }
  |  | 9967|      0|                    if (PyLazyImport_CheckExact(v_o)) {
  |  |  ------------------
  |  |  |  |   15|      0|#define PyLazyImport_CheckExact(op) Py_IS_TYPE((op), &PyLazyImport_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9968|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (9968:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 9969|      0|                        _PyFrame_StackPointerValidate(frame);
  |  | 9970|      0|                        PyObject *l_v = _PyImport_LoadLazyImportTstate(tstate, v_o);
  |  | 9971|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 9972|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (9972:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 9973|      0|                        _PyFrame_StackPointerValidate(frame);
  |  | 9974|      0|                        Py_SETREF(v_o, l_v);
  |  |  ------------------
  |  |  |  |  354|      0|    do { \
  |  |  |  |  355|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  |  |  358|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   80|      0|    do { \
  |  |  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   84|      0|            break; \
  |  |  |  |  |  |   85|      0|        } \
  |  |  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |  |  |   91|      0|        } \
  |  |  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  359|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (359:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9975|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 9976|      0|                        if (v_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9976:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 9977|      0|                            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9978|      0|                        }
  |  | 9979|      0|                    }
  |  | 9980|      0|                }
  |  | 9981|      0|                else {
  |  | 9982|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (9982:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9983|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 9984|      0|                    v_o = _PyMapping_GetOptionalItem2(GLOBALS(), name, &err);
  |  |  ------------------
  |  |  |  |  326|      0|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  | 9985|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 9986|      0|                    if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (9986:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 9987|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9988|      0|                    }
  |  | 9989|      0|                    if (v_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9989:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 9990|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (9990:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 9991|      0|                        _PyFrame_StackPointerValidate(frame);
  |  | 9992|      0|                        v_o = _PyMapping_GetOptionalItem2(BUILTINS(), name, &err);
  |  |  ------------------
  |  |  |  |  327|      0|#define BUILTINS() frame->f_builtins
  |  |  ------------------
  |  | 9993|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 9994|      0|                        if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (9994:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 9995|      0|                            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9996|      0|                        }
  |  | 9997|      0|                        if (v_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9997:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 9998|      0|                            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (9998:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 9999|      0|                            _PyFrame_StackPointerValidate(frame);
  |  |10000|      0|                            _PyEval_FormatExcCheckArg(
  |  |10001|      0|                                tstate, PyExc_NameError,
  |  |10002|      0|                                NAME_ERROR_MSG, name);
  |  |  ------------------
  |  |  |  |  405|      0|#define NAME_ERROR_MSG "name '%.200s' is not defined"
  |  |  ------------------
  |  |10003|      0|                            _PyFrame_StackPointerInvalidate(frame);
  |  |10004|      0|                            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10005|      0|                        }
  |  |10006|      0|                    }
  |  |10007|      0|                    if (PyLazyImport_CheckExact(v_o)) {
  |  |  ------------------
  |  |  |  |   15|      0|#define PyLazyImport_CheckExact(op) Py_IS_TYPE((op), &PyLazyImport_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10008|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10008:25): [True: 0, False: 0]
  |  |  ------------------
  |  |10009|      0|                        _PyFrame_StackPointerValidate(frame);
  |  |10010|      0|                        PyObject *l_v = _PyImport_LoadLazyImportTstate(tstate, v_o);
  |  |10011|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  |10012|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10012:25): [True: 0, False: 0]
  |  |  ------------------
  |  |10013|      0|                        _PyFrame_StackPointerValidate(frame);
  |  |10014|      0|                        Py_SETREF(v_o, l_v);
  |  |  ------------------
  |  |  |  |  354|      0|    do { \
  |  |  |  |  355|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  |  |  358|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   80|      0|    do { \
  |  |  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   84|      0|            break; \
  |  |  |  |  |  |   85|      0|        } \
  |  |  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |  |  |   91|      0|        } \
  |  |  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  359|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (359:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10015|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  |10016|      0|                        if (v_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (10016:29): [True: 0, False: 0]
  |  |  ------------------
  |  |10017|      0|                            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10018|      0|                        }
  |  |10019|      0|                    }
  |  |10020|      0|                }
  |  |10021|      0|            }
  |  |10022|      0|            v = PyStackRef_FromPyObjectSteal(v_o);
  |  |10023|      0|            stack_pointer[0] = v;
  |  |10024|      0|            stack_pointer += 1;
  |  |10025|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10026|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  |10027|      0|        }
  |  |10028|       |
  |  |10029|  2.49k|        TARGET(LOAD_GLOBAL) {
  |  |  ------------------
  |  |  |  |  132|  2.49k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10030|       |            #if _Py_TAIL_CALL_INTERP
  |  |10031|       |            int opcode = LOAD_GLOBAL;
  |  |10032|       |            (void)(opcode);
  |  |10033|       |            #endif
  |  |10034|  2.49k|            frame->instr_ptr = next_instr;
  |  |10035|  2.49k|            next_instr += 5;
  |  |10036|  2.49k|            INSTRUCTION_STATS(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |   71|  2.49k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10037|  5.83k|            PREDICTED_LOAD_GLOBAL:;
  |  |10038|  5.83k|            _Py_CODEUNIT* const this_instr = next_instr - 5;
  |  |10039|  5.83k|            (void)this_instr;
  |  |10040|  5.83k|            _PyStackRef *res;
  |  |10041|  5.83k|            _PyStackRef *null;
  |  |10042|       |            // _SPECIALIZE_LOAD_GLOBAL
  |  |10043|  5.83k|            {
  |  |10044|  5.83k|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |10045|  5.83k|                (void)counter;
  |  |10046|  5.83k|                #if ENABLE_SPECIALIZATION
  |  |10047|  5.83k|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|  5.83k|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 1.01k, False: 4.82k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10048|  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 (10048:38): [True: 1.01k, False: 0]
  |  |  ------------------
  |  |10049|      0|                    next_instr = this_instr;
  |  |10050|  1.01k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10051|  1.01k|                    _PyFrame_StackPointerValidate(frame);
  |  |10052|  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
  |  |  ------------------
  |  |10053|  1.01k|                    _PyFrame_StackPointerInvalidate(frame);
  |  |10054|  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|    }
  |  |  ------------------
  |  |10055|  1.01k|                }
  |  |10056|  5.83k|                OPCODE_DEFERRED_INC(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |   90|  5.83k|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |10057|  5.83k|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|  5.83k|    do { \
  |  |  |  |  378|  5.83k|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|  5.83k|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 5.83k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10058|  5.83k|                #endif  /* ENABLE_SPECIALIZATION */
  |  |10059|  5.83k|            }
  |  |10060|       |            /* Skip 1 cache entry */
  |  |10061|       |            /* Skip 1 cache entry */
  |  |10062|       |            /* Skip 1 cache entry */
  |  |10063|       |            // _LOAD_GLOBAL
  |  |10064|      0|            {
  |  |10065|  5.83k|                res = &stack_pointer[0];
  |  |10066|  5.83k|                PyObject *name = GETITEM(FRAME_CO_NAMES, oparg>>1);
  |  |  ------------------
  |  |  |  |  236|  5.83k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  5.83k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  5.83k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  4.82k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10066:34): [True: 4.82k, False: 1.01k]
  |  |  ------------------
  |  |10067|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10068|  4.82k|                _PyFrame_StackPointerValidate(frame);
  |  |10069|  4.82k|                _PyEval_LoadGlobalStackRef(GLOBALS(), BUILTINS(), name, res);
  |  |  ------------------
  |  |  |  |  326|  4.82k|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  |                               _PyEval_LoadGlobalStackRef(GLOBALS(), BUILTINS(), name, res);
  |  |  ------------------
  |  |  |  |  327|  4.82k|#define BUILTINS() frame->f_builtins
  |  |  ------------------
  |  |10070|  4.82k|                _PyFrame_StackPointerInvalidate(frame);
  |  |10071|  4.82k|                if (PyStackRef_IsNull(*res)) {
  |  |  ------------------
  |  |  |  |  482|  4.82k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  4.82k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  4.82k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 4.82k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10072|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10073|      0|                }
  |  |10074|  4.82k|            }
  |  |10075|       |            // _PUSH_NULL_CONDITIONAL
  |  |10076|  4.82k|            {
  |  |10077|  4.82k|                null = &stack_pointer[1];
  |  |10078|  4.82k|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (10078:21): [True: 2.80k, False: 2.01k]
  |  |  ------------------
  |  |10079|  2.80k|                    null[0] = PyStackRef_NULL;
  |  |10080|  2.80k|                }
  |  |10081|  4.82k|            }
  |  |10082|  4.82k|            stack_pointer += 1 + (oparg & 1);
  |  |10083|  4.82k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  4.82k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10084|  4.82k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  4.82k|    { \
  |  |  |  |  201|  4.82k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  4.82k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  4.82k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  4.82k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  4.82k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  4.82k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  4.82k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  4.82k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 4.82k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  4.82k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  4.82k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  4.82k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  4.82k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  4.82k|    }
  |  |  ------------------
  |  |10085|  4.82k|        }
  |  |10086|       |
  |  |10087|  5.05k|        TARGET(LOAD_GLOBAL_BUILTIN) {
  |  |  ------------------
  |  |  |  |  132|  5.05k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10088|       |            #if _Py_TAIL_CALL_INTERP
  |  |10089|       |            int opcode = LOAD_GLOBAL_BUILTIN;
  |  |10090|       |            (void)(opcode);
  |  |10091|       |            #endif
  |  |10092|  5.05k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |10093|  5.05k|            (void)this_instr;
  |  |10094|  5.05k|            frame->instr_ptr = next_instr;
  |  |10095|  5.05k|            next_instr += 5;
  |  |10096|  5.05k|            INSTRUCTION_STATS(LOAD_GLOBAL_BUILTIN);
  |  |  ------------------
  |  |  |  |   71|  5.05k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10097|  5.05k|            static_assert(INLINE_CACHE_ENTRIES_LOAD_GLOBAL == 4, "incorrect cache size");
  |  |10098|  5.05k|            _PyStackRef res;
  |  |10099|  5.05k|            _PyStackRef *null;
  |  |10100|       |            /* Skip 1 cache entry */
  |  |10101|       |            // _GUARD_GLOBALS_VERSION
  |  |10102|  5.05k|            {
  |  |10103|  5.05k|                uint16_t version = read_u16(&this_instr[2].cache);
  |  |10104|  5.05k|                PyDictObject *dict = (PyDictObject *)GLOBALS();
  |  |  ------------------
  |  |  |  |  326|  5.05k|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  |10105|  5.05k|                if (!PyDict_CheckExact(dict)) {
  |  |  ------------------
  |  |  |  |   19|  5.05k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  5.05k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  5.05k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  5.05k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10105:21): [True: 0, False: 5.05k]
  |  |  ------------------
  |  |10106|      0|                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10107|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  |  ------------------
  |  |  |  Branch (10107:21): [True: 0, False: 0]
  |  |  ------------------
  |  |10108|      0|                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10109|      0|                }
  |  |10110|  5.05k|                PyDictKeysObject *keys = FT_ATOMIC_LOAD_PTR_ACQUIRE(dict->ma_keys);
  |  |  ------------------
  |  |  |  |  150|  5.05k|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  |10111|  5.05k|                if (FT_ATOMIC_LOAD_UINT32_RELAXED(keys->dk_version) != version) {
  |  |  ------------------
  |  |  |  |  159|  5.05k|#define FT_ATOMIC_LOAD_UINT32_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (10111:21): [True: 1.27k, False: 3.77k]
  |  |  ------------------
  |  |10112|  1.27k|                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  299|  1.27k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10113|  1.27k|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  |  ------------------
  |  |  |  Branch (10113:21): [True: 1.27k, False: 0]
  |  |  ------------------
  |  |10114|  1.27k|                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  136|  1.27k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10115|      0|                }
  |  |10116|  5.05k|                assert(keys->dk_kind == DICT_KEYS_UNICODE);
  |  |  ------------------
  |  |  |  Branch (10116:17): [True: 3.77k, False: 0]
  |  |  ------------------
  |  |10117|  3.77k|            }
  |  |10118|       |            // _LOAD_GLOBAL_BUILTINS
  |  |10119|  3.77k|            {
  |  |10120|  3.77k|                uint16_t version = read_u16(&this_instr[3].cache);
  |  |10121|  3.77k|                uint16_t index = read_u16(&this_instr[4].cache);
  |  |10122|  3.77k|                PyDictObject *dict = (PyDictObject *)BUILTINS();
  |  |  ------------------
  |  |  |  |  327|  3.77k|#define BUILTINS() frame->f_builtins
  |  |  ------------------
  |  |10123|  3.77k|                if (!PyDict_CheckExact(dict)) {
  |  |  ------------------
  |  |  |  |   19|  3.77k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  3.77k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  3.77k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  3.77k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10123:21): [True: 0, False: 3.77k]
  |  |  ------------------
  |  |10124|      0|                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10125|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  |  ------------------
  |  |  |  Branch (10125:21): [True: 0, False: 0]
  |  |  ------------------
  |  |10126|      0|                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10127|      0|                }
  |  |10128|  3.77k|                PyDictKeysObject *keys = FT_ATOMIC_LOAD_PTR_ACQUIRE(dict->ma_keys);
  |  |  ------------------
  |  |  |  |  150|  3.77k|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  |10129|  3.77k|                if (FT_ATOMIC_LOAD_UINT32_RELAXED(keys->dk_version) != version) {
  |  |  ------------------
  |  |  |  |  159|  3.77k|#define FT_ATOMIC_LOAD_UINT32_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (10129:21): [True: 1.36k, False: 2.41k]
  |  |  ------------------
  |  |10130|  1.36k|                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  299|  1.36k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10131|  1.36k|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  |  ------------------
  |  |  |  Branch (10131:21): [True: 1.36k, False: 0]
  |  |  ------------------
  |  |10132|  1.36k|                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  136|  1.36k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10133|      0|                }
  |  |10134|  3.77k|                assert(keys->dk_kind == DICT_KEYS_UNICODE);
  |  |  ------------------
  |  |  |  Branch (10134:17): [True: 2.41k, False: 0]
  |  |  ------------------
  |  |10135|  2.41k|                PyDictUnicodeEntry *entries = DK_UNICODE_ENTRIES(keys);
  |  |10136|  2.41k|                PyObject *res_o = FT_ATOMIC_LOAD_PTR_CONSUME(entries[index].me_value);
  |  |  ------------------
  |  |  |  |  151|  2.41k|#define FT_ATOMIC_LOAD_PTR_CONSUME(value) value
  |  |  ------------------
  |  |10137|  2.41k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (10137:21): [True: 0, False: 2.41k]
  |  |  ------------------
  |  |10138|      0|                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10139|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  |  ------------------
  |  |  |  Branch (10139:21): [True: 0, False: 0]
  |  |  ------------------
  |  |10140|      0|                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10141|      0|                }
  |  |10142|       |                #if Py_GIL_DISABLED
  |  |10143|       |                int increfed = _Py_TryIncrefCompareStackRef(&entries[index].me_value, res_o, &res);
  |  |10144|       |                if (!increfed) {
  |  |10145|       |                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  |10146|       |                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  |10147|       |                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  |10148|       |                }
  |  |10149|       |                #else
  |  |10150|  2.41k|                res = PyStackRef_FromPyObjectNew(res_o);
  |  |  ------------------
  |  |  |  |  611|  2.41k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10151|  2.41k|                #endif
  |  |10152|  2.41k|                STAT_INC(LOAD_GLOBAL, hit);
  |  |  ------------------
  |  |  |  |   73|  2.41k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |10153|  2.41k|            }
  |  |10154|       |            // _PUSH_NULL_CONDITIONAL
  |  |10155|      0|            {
  |  |10156|  2.41k|                null = &stack_pointer[1];
  |  |10157|  2.41k|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (10157:21): [True: 1.62k, False: 784]
  |  |  ------------------
  |  |10158|  1.62k|                    null[0] = PyStackRef_NULL;
  |  |10159|  1.62k|                }
  |  |10160|  2.41k|            }
  |  |10161|  2.41k|            stack_pointer[0] = res;
  |  |10162|  2.41k|            stack_pointer += 1 + (oparg & 1);
  |  |10163|  2.41k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.41k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10164|  2.41k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.41k|    { \
  |  |  |  |  201|  2.41k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.41k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.41k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.41k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  2.41k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.41k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.41k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.41k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.41k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.41k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.41k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.41k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.41k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.41k|    }
  |  |  ------------------
  |  |10165|  2.41k|        }
  |  |10166|       |
  |  |10167|  11.6k|        TARGET(LOAD_GLOBAL_MODULE) {
  |  |  ------------------
  |  |  |  |  132|  11.6k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10168|       |            #if _Py_TAIL_CALL_INTERP
  |  |10169|       |            int opcode = LOAD_GLOBAL_MODULE;
  |  |10170|       |            (void)(opcode);
  |  |10171|       |            #endif
  |  |10172|  11.6k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |10173|  11.6k|            (void)this_instr;
  |  |10174|  11.6k|            frame->instr_ptr = next_instr;
  |  |10175|  11.6k|            next_instr += 5;
  |  |10176|  11.6k|            INSTRUCTION_STATS(LOAD_GLOBAL_MODULE);
  |  |  ------------------
  |  |  |  |   71|  11.6k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10177|  11.6k|            static_assert(INLINE_CACHE_ENTRIES_LOAD_GLOBAL == 4, "incorrect cache size");
  |  |10178|  11.6k|            _PyStackRef res;
  |  |10179|  11.6k|            _PyStackRef *null;
  |  |10180|       |            /* Skip 1 cache entry */
  |  |10181|       |            // _NOP
  |  |10182|  11.6k|            {
  |  |10183|  11.6k|            }
  |  |10184|       |            // _LOAD_GLOBAL_MODULE
  |  |10185|  11.6k|            {
  |  |10186|  11.6k|                uint16_t version = read_u16(&this_instr[2].cache);
  |  |10187|  11.6k|                uint16_t index = read_u16(&this_instr[4].cache);
  |  |10188|  11.6k|                PyDictObject *dict = (PyDictObject *)GLOBALS();
  |  |  ------------------
  |  |  |  |  326|  11.6k|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  |10189|  11.6k|                if (!PyDict_CheckExact(dict)) {
  |  |  ------------------
  |  |  |  |   19|  11.6k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  11.6k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  11.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  11.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10189:21): [True: 0, False: 11.6k]
  |  |  ------------------
  |  |10190|      0|                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10191|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  |  ------------------
  |  |  |  Branch (10191:21): [True: 0, False: 0]
  |  |  ------------------
  |  |10192|      0|                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10193|      0|                }
  |  |10194|  11.6k|                PyDictKeysObject *keys = FT_ATOMIC_LOAD_PTR_ACQUIRE(dict->ma_keys);
  |  |  ------------------
  |  |  |  |  150|  11.6k|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  |10195|  11.6k|                if (FT_ATOMIC_LOAD_UINT32_RELAXED(keys->dk_version) != version) {
  |  |  ------------------
  |  |  |  |  159|  11.6k|#define FT_ATOMIC_LOAD_UINT32_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (10195:21): [True: 692, False: 10.9k]
  |  |  ------------------
  |  |10196|    692|                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  299|    692|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10197|    692|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  |  ------------------
  |  |  |  Branch (10197:21): [True: 692, False: 0]
  |  |  ------------------
  |  |10198|    692|                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  136|    692|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10199|      0|                }
  |  |10200|  11.6k|                assert(keys->dk_kind == DICT_KEYS_UNICODE);
  |  |  ------------------
  |  |  |  Branch (10200:17): [True: 10.9k, False: 0]
  |  |  ------------------
  |  |10201|  10.9k|                PyDictUnicodeEntry *entries = DK_UNICODE_ENTRIES(keys);
  |  |10202|  10.9k|                assert(index < DK_SIZE(keys));
  |  |  ------------------
  |  |  |  Branch (10202:17): [True: 10.9k, False: 0]
  |  |  ------------------
  |  |10203|  10.9k|                PyObject *res_o = FT_ATOMIC_LOAD_PTR_CONSUME(entries[index].me_value);
  |  |  ------------------
  |  |  |  |  151|  10.9k|#define FT_ATOMIC_LOAD_PTR_CONSUME(value) value
  |  |  ------------------
  |  |10204|  10.9k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (10204:21): [True: 0, False: 10.9k]
  |  |  ------------------
  |  |10205|      0|                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10206|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  |  ------------------
  |  |  |  Branch (10206:21): [True: 0, False: 0]
  |  |  ------------------
  |  |10207|      0|                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10208|      0|                }
  |  |10209|       |                #if Py_GIL_DISABLED
  |  |10210|       |                int increfed = _Py_TryIncrefCompareStackRef(&entries[index].me_value, res_o, &res);
  |  |10211|       |                if (!increfed) {
  |  |10212|       |                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  |10213|       |                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  |10214|       |                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  |10215|       |                }
  |  |10216|       |                #else
  |  |10217|  10.9k|                res = PyStackRef_FromPyObjectNew(res_o);
  |  |  ------------------
  |  |  |  |  611|  10.9k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  10.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  10.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10218|  10.9k|                #endif
  |  |10219|  10.9k|                STAT_INC(LOAD_GLOBAL, hit);
  |  |  ------------------
  |  |  |  |   73|  10.9k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |10220|  10.9k|            }
  |  |10221|       |            // _PUSH_NULL_CONDITIONAL
  |  |10222|      0|            {
  |  |10223|  10.9k|                null = &stack_pointer[1];
  |  |10224|  10.9k|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (10224:21): [True: 3.12k, False: 7.85k]
  |  |  ------------------
  |  |10225|  3.12k|                    null[0] = PyStackRef_NULL;
  |  |10226|  3.12k|                }
  |  |10227|  10.9k|            }
  |  |10228|  10.9k|            stack_pointer[0] = res;
  |  |10229|  10.9k|            stack_pointer += 1 + (oparg & 1);
  |  |10230|  10.9k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  10.9k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10231|  10.9k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  10.9k|    { \
  |  |  |  |  201|  10.9k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  10.9k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  10.9k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  10.9k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  10.9k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  10.9k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  10.9k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  10.9k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 10.9k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  10.9k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  10.9k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  10.9k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  10.9k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  10.9k|    }
  |  |  ------------------
  |  |10232|  10.9k|        }
  |  |10233|       |
  |  |10234|    204|        TARGET(LOAD_LOCALS) {
  |  |  ------------------
  |  |  |  |  132|    204|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10235|       |            #if _Py_TAIL_CALL_INTERP
  |  |10236|       |            int opcode = LOAD_LOCALS;
  |  |10237|       |            (void)(opcode);
  |  |10238|       |            #endif
  |  |10239|    204|            frame->instr_ptr = next_instr;
  |  |10240|    204|            next_instr += 1;
  |  |10241|    204|            INSTRUCTION_STATS(LOAD_LOCALS);
  |  |  ------------------
  |  |  |  |   71|    204|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10242|    204|            _PyStackRef locals;
  |  |10243|    204|            PyObject *l = LOCALS();
  |  |  ------------------
  |  |  |  |  328|    204|#define LOCALS() frame->f_locals
  |  |  ------------------
  |  |10244|    204|            if (l == NULL) {
  |  |  ------------------
  |  |  |  Branch (10244:17): [True: 0, False: 204]
  |  |  ------------------
  |  |10245|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10246|      0|                _PyFrame_StackPointerValidate(frame);
  |  |10247|      0|                _PyErr_SetString(tstate, PyExc_SystemError,
  |  |10248|      0|                                 "no locals found");
  |  |10249|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |10250|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10251|      0|            }
  |  |10252|    204|            locals = PyStackRef_FromPyObjectNew(l);
  |  |  ------------------
  |  |  |  |  611|    204|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    204|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    204|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10253|    204|            stack_pointer[0] = locals;
  |  |10254|    204|            stack_pointer += 1;
  |  |10255|    204|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    204|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10256|    204|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    204|    { \
  |  |  |  |  201|    204|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    204|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    204|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    204|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    204|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    204|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    204|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    204|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 204]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    204|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    204|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    204|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    204|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    204|    }
  |  |  ------------------
  |  |10257|    204|        }
  |  |10258|       |
  |  |10259|  3.78k|        TARGET(LOAD_NAME) {
  |  |  ------------------
  |  |  |  |  132|  3.78k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10260|       |            #if _Py_TAIL_CALL_INTERP
  |  |10261|       |            int opcode = LOAD_NAME;
  |  |10262|       |            (void)(opcode);
  |  |10263|       |            #endif
  |  |10264|  3.78k|            frame->instr_ptr = next_instr;
  |  |10265|  3.78k|            next_instr += 1;
  |  |10266|  3.78k|            INSTRUCTION_STATS(LOAD_NAME);
  |  |  ------------------
  |  |  |  |   71|  3.78k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10267|  3.78k|            _PyStackRef v;
  |  |10268|  3.78k|            PyObject *name = GETITEM(FRAME_CO_NAMES, oparg);
  |  |  ------------------
  |  |  |  |  236|  3.78k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  3.78k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  3.78k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  3.78k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10268:30): [True: 3.78k, False: 0]
  |  |  ------------------
  |  |10269|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10270|  3.78k|            _PyFrame_StackPointerValidate(frame);
  |  |10271|  3.78k|            PyObject *v_o = _PyEval_LoadName(tstate, frame, name);
  |  |10272|  3.78k|            _PyFrame_StackPointerInvalidate(frame);
  |  |10273|  3.78k|            if (v_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (10273:17): [True: 0, False: 3.78k]
  |  |  ------------------
  |  |10274|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10275|      0|            }
  |  |10276|  3.78k|            if (PyLazyImport_CheckExact(v_o)) {
  |  |  ------------------
  |  |  |  |   15|  3.78k|#define PyLazyImport_CheckExact(op) Py_IS_TYPE((op), &PyLazyImport_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  3.78k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  3.78k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  3.78k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 0, False: 3.78k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10277|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10277:17): [True: 0, False: 0]
  |  |  ------------------
  |  |10278|      0|                _PyFrame_StackPointerValidate(frame);
  |  |10279|      0|                PyObject *l_v = _PyImport_LoadLazyImportTstate(tstate, v_o);
  |  |10280|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |10281|      0|                if (l_v == NULL) {
  |  |  ------------------
  |  |  |  Branch (10281:21): [True: 0, False: 0]
  |  |  ------------------
  |  |10282|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10282:21): [True: 0, False: 0]
  |  |  ------------------
  |  |10283|      0|                    _PyFrame_StackPointerValidate(frame);
  |  |10284|      0|                    Py_DECREF(v_o);
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10285|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  |10286|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10287|      0|                }
  |  |10288|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10288:17): [True: 0, False: 0]
  |  |  ------------------
  |  |10289|      0|                _PyFrame_StackPointerValidate(frame);
  |  |10290|      0|                int err = PyDict_SetItem(GLOBALS(), name, l_v);
  |  |  ------------------
  |  |  |  |  326|      0|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  |10291|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |10292|      0|                if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (10292:21): [True: 0, False: 0]
  |  |  ------------------
  |  |10293|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10293:21): [True: 0, False: 0]
  |  |  ------------------
  |  |10294|      0|                    _PyFrame_StackPointerValidate(frame);
  |  |10295|      0|                    Py_DECREF(v_o);
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10296|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  |10297|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10297:21): [True: 0, False: 0]
  |  |  ------------------
  |  |10298|      0|                    _PyFrame_StackPointerValidate(frame);
  |  |10299|      0|                    Py_DECREF(l_v);
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10300|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  |10301|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10302|      0|                }
  |  |10303|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10303:17): [True: 0, False: 0]
  |  |  ------------------
  |  |10304|      0|                _PyFrame_StackPointerValidate(frame);
  |  |10305|      0|                Py_SETREF(v_o, l_v);
  |  |  ------------------
  |  |  |  |  354|      0|    do { \
  |  |  |  |  355|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  |  |  358|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   80|      0|    do { \
  |  |  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   84|      0|            break; \
  |  |  |  |  |  |   85|      0|        } \
  |  |  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |  |  |   91|      0|        } \
  |  |  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  359|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (359:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10306|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |10307|      0|            }
  |  |10308|  3.78k|            v = PyStackRef_FromPyObjectSteal(v_o);
  |  |10309|  3.78k|            stack_pointer[0] = v;
  |  |10310|  3.78k|            stack_pointer += 1;
  |  |10311|  3.78k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  3.78k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10312|  3.78k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.78k|    { \
  |  |  |  |  201|  3.78k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  3.78k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  3.78k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  3.78k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  3.78k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  3.78k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  3.78k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  3.78k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 3.78k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.78k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.78k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.78k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.78k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.78k|    }
  |  |  ------------------
  |  |10313|  3.78k|        }
  |  |10314|       |
  |  |10315|  3.53k|        TARGET(LOAD_SMALL_INT) {
  |  |  ------------------
  |  |  |  |  132|  3.53k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10316|       |            #if _Py_TAIL_CALL_INTERP
  |  |10317|       |            int opcode = LOAD_SMALL_INT;
  |  |10318|       |            (void)(opcode);
  |  |10319|       |            #endif
  |  |10320|  3.53k|            frame->instr_ptr = next_instr;
  |  |10321|  3.53k|            next_instr += 1;
  |  |10322|  3.53k|            INSTRUCTION_STATS(LOAD_SMALL_INT);
  |  |  ------------------
  |  |  |  |   71|  3.53k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10323|  3.53k|            _PyStackRef value;
  |  |10324|  3.53k|            assert(oparg < _PY_NSMALLPOSINTS);
  |  |  ------------------
  |  |  |  Branch (10324:13): [True: 3.53k, False: 0]
  |  |  ------------------
  |  |10325|  3.53k|            PyObject *obj = (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS + oparg];
  |  |  ------------------
  |  |  |  |   59|  3.53k|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|  3.53k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|  3.53k|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                           PyObject *obj = (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS + oparg];
  |  |  ------------------
  |  |  |  |   98|  3.53k|#define _PY_NSMALLNEGINTS           5
  |  |  ------------------
  |  |10326|  3.53k|            value = PyStackRef_FromPyObjectBorrow(obj);
  |  |10327|  3.53k|            stack_pointer[0] = value;
  |  |10328|  3.53k|            stack_pointer += 1;
  |  |10329|  3.53k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  3.53k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10330|  3.53k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.53k|    { \
  |  |  |  |  201|  3.53k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  3.53k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  3.53k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  3.53k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  3.53k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  3.53k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  3.53k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  3.53k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 3.53k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.53k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.53k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.53k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.53k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.53k|    }
  |  |  ------------------
  |  |10331|  3.53k|        }
  |  |10332|       |
  |  |10333|  1.22k|        TARGET(LOAD_SPECIAL) {
  |  |  ------------------
  |  |  |  |  132|  1.22k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10334|       |            #if _Py_TAIL_CALL_INTERP
  |  |10335|       |            int opcode = LOAD_SPECIAL;
  |  |10336|       |            (void)(opcode);
  |  |10337|       |            #endif
  |  |10338|  1.22k|            frame->instr_ptr = next_instr;
  |  |10339|  1.22k|            next_instr += 1;
  |  |10340|  1.22k|            INSTRUCTION_STATS(LOAD_SPECIAL);
  |  |  ------------------
  |  |  |  |   71|  1.22k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10341|  1.22k|            _PyStackRef self;
  |  |10342|  1.22k|            _PyStackRef *method_and_self;
  |  |10343|       |            // _INSERT_NULL
  |  |10344|  1.22k|            {
  |  |10345|  1.22k|                self = stack_pointer[-1];
  |  |10346|  1.22k|                method_and_self = &stack_pointer[-1];
  |  |10347|  1.22k|                method_and_self[1] = self;
  |  |10348|  1.22k|                method_and_self[0] = PyStackRef_NULL;
  |  |10349|  1.22k|            }
  |  |10350|       |            // _LOAD_SPECIAL
  |  |10351|  1.22k|            {
  |  |10352|  1.22k|                method_and_self = &stack_pointer[-1];
  |  |10353|  1.22k|                PyObject *name = _Py_SpecialMethods[oparg].name;
  |  |10354|  1.22k|                stack_pointer += 1;
  |  |10355|  1.22k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.22k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10356|  1.22k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10357|  1.22k|                _PyFrame_StackPointerValidate(frame);
  |  |10358|  1.22k|                int err = _PyObject_LookupSpecialMethod(name, &method_and_self[0],
  |  |10359|  1.22k|                    &method_and_self[1]);
  |  |10360|  1.22k|                _PyFrame_StackPointerInvalidate(frame);
  |  |10361|  1.22k|                if (err <= 0) {
  |  |  ------------------
  |  |  |  Branch (10361:21): [True: 0, False: 1.22k]
  |  |  ------------------
  |  |10362|      0|                    if (err == 0) {
  |  |  ------------------
  |  |  |  Branch (10362:25): [True: 0, False: 0]
  |  |  ------------------
  |  |10363|      0|                        PyObject *owner = PyStackRef_AsPyObjectBorrow(method_and_self[1]);
  |  |10364|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10364:25): [True: 0, False: 0]
  |  |  ------------------
  |  |10365|      0|                        _PyFrame_StackPointerValidate(frame);
  |  |10366|      0|                        const char *errfmt = _PyEval_SpecialMethodCanSuggest(owner, oparg)
  |  |  ------------------
  |  |  |  Branch (10366:46): [True: 0, False: 0]
  |  |  ------------------
  |  |10367|      0|                        ? _Py_SpecialMethods[oparg].error_suggestion
  |  |10368|      0|                    : _Py_SpecialMethods[oparg].error;
  |  |10369|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  |10370|      0|                        assert(!_PyErr_Occurred(tstate));
  |  |  ------------------
  |  |  |  Branch (10370:25): [True: 0, False: 0]
  |  |  ------------------
  |  |10371|      0|                        assert(errfmt != NULL);
  |  |  ------------------
  |  |  |  Branch (10371:25): [True: 0, False: 0]
  |  |  ------------------
  |  |10372|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10372:25): [True: 0, False: 0]
  |  |  ------------------
  |  |10373|      0|                        _PyFrame_StackPointerValidate(frame);
  |  |10374|      0|                        _PyErr_Format(tstate, PyExc_TypeError, errfmt, owner);
  |  |10375|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  |10376|      0|                    }
  |  |10377|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10378|      0|                }
  |  |10379|  1.22k|            }
  |  |10380|  1.22k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.22k|    { \
  |  |  |  |  201|  1.22k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.22k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.22k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.22k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.22k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.22k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.22k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.22k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.22k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.22k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.22k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.22k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.22k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.22k|    }
  |  |  ------------------
  |  |10381|  1.22k|        }
  |  |10382|       |
  |  |10383|     28|        TARGET(LOAD_SUPER_ATTR) {
  |  |  ------------------
  |  |  |  |  132|     28|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10384|       |            #if _Py_TAIL_CALL_INTERP
  |  |10385|       |            int opcode = LOAD_SUPER_ATTR;
  |  |10386|       |            (void)(opcode);
  |  |10387|       |            #endif
  |  |10388|     28|            frame->instr_ptr = next_instr;
  |  |10389|     28|            next_instr += 2;
  |  |10390|     28|            INSTRUCTION_STATS(LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |   71|     28|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10391|     28|            PREDICTED_LOAD_SUPER_ATTR:;
  |  |10392|     28|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  |10393|     28|            (void)this_instr;
  |  |10394|     28|            opcode = LOAD_SUPER_ATTR;
  |  |  ------------------
  |  |  |  |  105|     28|#define LOAD_SUPER_ATTR                         92
  |  |  ------------------
  |  |10395|     28|            _PyStackRef global_super_st;
  |  |10396|     28|            _PyStackRef class_st;
  |  |10397|     28|            _PyStackRef self_st;
  |  |10398|     28|            _PyStackRef attr;
  |  |10399|     28|            _PyStackRef *null;
  |  |10400|       |            // _SPECIALIZE_LOAD_SUPER_ATTR
  |  |10401|     28|            {
  |  |10402|     28|                class_st = stack_pointer[-2];
  |  |10403|     28|                global_super_st = stack_pointer[-3];
  |  |10404|     28|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |10405|     28|                (void)counter;
  |  |10406|     28|                #if ENABLE_SPECIALIZATION
  |  |10407|     28|                int load_method = oparg & 1;
  |  |10408|     28|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|     28|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 13, False: 15]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10409|     13|                    next_instr = this_instr;
  |  |10410|     13|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10411|     13|                    _PyFrame_StackPointerValidate(frame);
  |  |10412|     13|                    _Py_Specialize_LoadSuperAttr(global_super_st, class_st, next_instr, load_method);
  |  |10413|     13|                    _PyFrame_StackPointerInvalidate(frame);
  |  |10414|     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|    }
  |  |  ------------------
  |  |10415|     13|                }
  |  |10416|     28|                OPCODE_DEFERRED_INC(LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |   90|     28|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |10417|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10418|     28|                #endif  /* ENABLE_SPECIALIZATION */
  |  |10419|     28|            }
  |  |10420|       |            // _LOAD_SUPER_ATTR
  |  |10421|     28|            {
  |  |10422|     28|                self_st = stack_pointer[-1];
  |  |10423|     28|                PyObject *global_super = PyStackRef_AsPyObjectBorrow(global_super_st);
  |  |10424|     28|                PyObject *class = PyStackRef_AsPyObjectBorrow(class_st);
  |  |10425|     28|                PyObject *self = PyStackRef_AsPyObjectBorrow(self_st);
  |  |10426|     28|                if (opcode == INSTRUMENTED_LOAD_SUPER_ATTR) {
  |  |  ------------------
  |  |  |  |  236|     28|#define INSTRUMENTED_LOAD_SUPER_ATTR           248
  |  |  ------------------
  |  |  |  Branch (10426:21): [True: 0, False: 28]
  |  |  ------------------
  |  |10427|      0|                    PyObject *arg = oparg & 2 ? class : &_PyInstrumentation_MISSING;
  |  |  ------------------
  |  |  |  Branch (10427:37): [True: 0, False: 0]
  |  |  ------------------
  |  |10428|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10429|      0|                    _PyFrame_StackPointerValidate(frame);
  |  |10430|      0|                    int err = _Py_call_instrumentation_2args(
  |  |10431|      0|                        tstate, PY_MONITORING_EVENT_CALL,
  |  |  ------------------
  |  |  |  |   18|      0|#define PY_MONITORING_EVENT_CALL 4
  |  |  ------------------
  |  |10432|      0|                        frame, this_instr, global_super, arg);
  |  |10433|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  |10434|      0|                    if (err) {
  |  |  ------------------
  |  |  |  Branch (10434:25): [True: 0, False: 0]
  |  |  ------------------
  |  |10435|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10435:25): [True: 0, False: 0]
  |  |  ------------------
  |  |10436|      0|                        _PyFrame_StackPointerValidate(frame);
  |  |10437|      0|                        _PyStackRef tmp = self_st;
  |  |10438|      0|                        self_st = PyStackRef_NULL;
  |  |10439|      0|                        stack_pointer[-1] = self_st;
  |  |10440|      0|                        PyStackRef_CLOSE(tmp);
  |  |10441|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  |10442|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10442:25): [True: 0, False: 0]
  |  |  ------------------
  |  |10443|      0|                        _PyFrame_StackPointerValidate(frame);
  |  |10444|      0|                        tmp = class_st;
  |  |10445|      0|                        class_st = PyStackRef_NULL;
  |  |10446|      0|                        stack_pointer[-2] = class_st;
  |  |10447|      0|                        PyStackRef_CLOSE(tmp);
  |  |10448|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  |10449|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10449:25): [True: 0, False: 0]
  |  |  ------------------
  |  |10450|      0|                        _PyFrame_StackPointerValidate(frame);
  |  |10451|      0|                        tmp = global_super_st;
  |  |10452|      0|                        global_super_st = PyStackRef_NULL;
  |  |10453|      0|                        stack_pointer[-3] = global_super_st;
  |  |10454|      0|                        PyStackRef_CLOSE(tmp);
  |  |10455|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  |10456|      0|                        stack_pointer += -3;
  |  |10457|      0|                        ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10458|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10459|      0|                    }
  |  |10460|      0|                }
  |  |10461|     28|                PyObject *super;
  |  |10462|     28|                {
  |  |10463|     28|                    PyObject *stack[] = {class, self};
  |  |10464|     28|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10465|     28|                    _PyFrame_StackPointerValidate(frame);
  |  |10466|     28|                    super = PyObject_Vectorcall(global_super, stack, oparg & 2, NULL);
  |  |10467|     28|                    _PyFrame_StackPointerInvalidate(frame);
  |  |10468|     28|                }
  |  |10469|     28|                if (opcode == INSTRUMENTED_LOAD_SUPER_ATTR) {
  |  |  ------------------
  |  |  |  |  236|     28|#define INSTRUMENTED_LOAD_SUPER_ATTR           248
  |  |  ------------------
  |  |  |  Branch (10469:21): [True: 0, False: 28]
  |  |  ------------------
  |  |10470|      0|                    PyObject *arg = oparg & 2 ? class : &_PyInstrumentation_MISSING;
  |  |  ------------------
  |  |  |  Branch (10470:37): [True: 0, False: 0]
  |  |  ------------------
  |  |10471|      0|                    if (super == NULL) {
  |  |  ------------------
  |  |  |  Branch (10471:25): [True: 0, False: 0]
  |  |  ------------------
  |  |10472|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10472:25): [True: 0, False: 0]
  |  |  ------------------
  |  |10473|      0|                        _PyFrame_StackPointerValidate(frame);
  |  |10474|      0|                        _Py_call_instrumentation_exc2(
  |  |10475|      0|                            tstate, PY_MONITORING_EVENT_C_RAISE,
  |  |  ------------------
  |  |  |  |   45|      0|#define PY_MONITORING_EVENT_C_RAISE 17
  |  |  ------------------
  |  |10476|      0|                            frame, this_instr, global_super, arg);
  |  |10477|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  |10478|      0|                    }
  |  |10479|      0|                    else {
  |  |10480|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10480:25): [True: 0, False: 0]
  |  |  ------------------
  |  |10481|      0|                        _PyFrame_StackPointerValidate(frame);
  |  |10482|      0|                        int err = _Py_call_instrumentation_2args(
  |  |10483|      0|                            tstate, PY_MONITORING_EVENT_C_RETURN,
  |  |  ------------------
  |  |  |  |   44|      0|#define PY_MONITORING_EVENT_C_RETURN 16
  |  |  ------------------
  |  |10484|      0|                            frame, this_instr, global_super, arg);
  |  |10485|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  |10486|      0|                        if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (10486:29): [True: 0, False: 0]
  |  |  ------------------
  |  |10487|      0|                            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10487:29): [True: 0, False: 0]
  |  |  ------------------
  |  |10488|      0|                            _PyFrame_StackPointerValidate(frame);
  |  |10489|      0|                            Py_CLEAR(super);
  |  |  ------------------
  |  |  |  |  484|      0|    do { \
  |  |  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   80|      0|    do { \
  |  |  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   84|      0|            break; \
  |  |  |  |  |  |   85|      0|        } \
  |  |  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |  |  |   91|      0|        } \
  |  |  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  490|      0|        } \
  |  |  |  |  491|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10490|      0|                            _PyFrame_StackPointerInvalidate(frame);
  |  |10491|      0|                        }
  |  |10492|      0|                    }
  |  |10493|      0|                }
  |  |10494|     28|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10494:17): [True: 15, False: 13]
  |  |  ------------------
  |  |10495|     15|                _PyFrame_StackPointerValidate(frame);
  |  |10496|     15|                _PyStackRef tmp = self_st;
  |  |10497|     15|                self_st = PyStackRef_NULL;
  |  |10498|     15|                stack_pointer[-1] = self_st;
  |  |10499|     15|                PyStackRef_CLOSE(tmp);
  |  |10500|     15|                _PyFrame_StackPointerInvalidate(frame);
  |  |10501|     15|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10501:17): [True: 15, False: 0]
  |  |  ------------------
  |  |10502|     15|                _PyFrame_StackPointerValidate(frame);
  |  |10503|     15|                tmp = class_st;
  |  |10504|     15|                class_st = PyStackRef_NULL;
  |  |10505|     15|                stack_pointer[-2] = class_st;
  |  |10506|     15|                PyStackRef_CLOSE(tmp);
  |  |10507|     15|                _PyFrame_StackPointerInvalidate(frame);
  |  |10508|     15|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10508:17): [True: 15, False: 0]
  |  |  ------------------
  |  |10509|     15|                _PyFrame_StackPointerValidate(frame);
  |  |10510|     15|                tmp = global_super_st;
  |  |10511|     15|                global_super_st = PyStackRef_NULL;
  |  |10512|     15|                stack_pointer[-3] = global_super_st;
  |  |10513|     15|                PyStackRef_CLOSE(tmp);
  |  |10514|     15|                _PyFrame_StackPointerInvalidate(frame);
  |  |10515|     15|                stack_pointer += -3;
  |  |10516|     15|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     15|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10517|     15|                if (super == NULL) {
  |  |  ------------------
  |  |  |  Branch (10517:21): [True: 0, False: 15]
  |  |  ------------------
  |  |10518|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10519|      0|                }
  |  |10520|     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 (10520:34): [True: 15, False: 0]
  |  |  ------------------
  |  |10521|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10522|     15|                _PyFrame_StackPointerValidate(frame);
  |  |10523|     15|                PyObject *attr_o = PyObject_GetAttr(super, name);
  |  |10524|     15|                _PyFrame_StackPointerInvalidate(frame);
  |  |10525|     15|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10525:17): [True: 15, False: 0]
  |  |  ------------------
  |  |10526|     15|                _PyFrame_StackPointerValidate(frame);
  |  |10527|     15|                Py_DECREF(super);
  |  |  ------------------
  |  |  |  |   80|     15|    do { \
  |  |  |  |   81|     15|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     15|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     15|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|     15|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|     15|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     15|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     15|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 15]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|     15|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|     15|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|     15|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 15, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|     15|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|     15|    do { \
  |  |  |  |  |  |  113|     15|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|     15|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 15]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|     15|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 15]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|     15|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|     15|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     15|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     15|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|     15|            (*dealloc)(op); \
  |  |  |  |   91|     15|        } \
  |  |  |  |   92|     15|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 15]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10528|     15|                _PyFrame_StackPointerInvalidate(frame);
  |  |10529|     15|                if (attr_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (10529:21): [True: 0, False: 15]
  |  |  ------------------
  |  |10530|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10531|      0|                }
  |  |10532|     15|                attr = PyStackRef_FromPyObjectSteal(attr_o);
  |  |10533|     15|            }
  |  |10534|       |            // _PUSH_NULL_CONDITIONAL
  |  |10535|      0|            {
  |  |10536|     15|                null = &stack_pointer[1];
  |  |10537|     15|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (10537:21): [True: 9, False: 6]
  |  |  ------------------
  |  |10538|      9|                    null[0] = PyStackRef_NULL;
  |  |10539|      9|                }
  |  |10540|     15|            }
  |  |10541|     15|            stack_pointer[0] = attr;
  |  |10542|     15|            stack_pointer += 1 + (oparg & 1);
  |  |10543|     15|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     15|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10544|     15|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     15|    { \
  |  |  |  |  201|     15|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     15|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     15|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     15|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     15|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     15|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     15|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     15|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 15]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     15|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     15|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     15|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     15|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     15|    }
  |  |  ------------------
  |  |10545|     15|        }
  |  |10546|       |
  |  |10547|     76|        TARGET(LOAD_SUPER_ATTR_ATTR) {
  |  |  ------------------
  |  |  |  |  132|     76|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10548|       |            #if _Py_TAIL_CALL_INTERP
  |  |10549|       |            int opcode = LOAD_SUPER_ATTR_ATTR;
  |  |10550|       |            (void)(opcode);
  |  |10551|       |            #endif
  |  |10552|     76|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |10553|     76|            (void)this_instr;
  |  |10554|     76|            frame->instr_ptr = next_instr;
  |  |10555|     76|            next_instr += 2;
  |  |10556|     76|            INSTRUCTION_STATS(LOAD_SUPER_ATTR_ATTR);
  |  |  ------------------
  |  |  |  |   71|     76|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10557|     76|            static_assert(INLINE_CACHE_ENTRIES_LOAD_SUPER_ATTR == 1, "incorrect cache size");
  |  |10558|     76|            _PyStackRef global_super_st;
  |  |10559|     76|            _PyStackRef class_st;
  |  |10560|     76|            _PyStackRef self_st;
  |  |10561|     76|            _PyStackRef attr_st;
  |  |10562|       |            /* Skip 1 cache entry */
  |  |10563|     76|            self_st = stack_pointer[-1];
  |  |10564|     76|            class_st = stack_pointer[-2];
  |  |10565|     76|            global_super_st = stack_pointer[-3];
  |  |10566|     76|            PyObject *global_super = PyStackRef_AsPyObjectBorrow(global_super_st);
  |  |10567|     76|            PyObject *class = PyStackRef_AsPyObjectBorrow(class_st);
  |  |10568|     76|            PyObject *self = PyStackRef_AsPyObjectBorrow(self_st);
  |  |10569|     76|            assert(!(oparg & 1));
  |  |  ------------------
  |  |  |  Branch (10569:13): [True: 76, False: 0]
  |  |  ------------------
  |  |10570|     76|            if (global_super != (PyObject *)&PySuper_Type) {
  |  |  ------------------
  |  |  |  Branch (10570:17): [True: 0, False: 76]
  |  |  ------------------
  |  |10571|      0|                UPDATE_MISS_STATS(LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10572|      0|                assert(_PyOpcode_Deopt[opcode] == (LOAD_SUPER_ATTR));
  |  |  ------------------
  |  |  |  Branch (10572:17): [True: 0, False: 0]
  |  |  ------------------
  |  |10573|      0|                JUMP_TO_PREDICTED(LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10574|      0|            }
  |  |10575|     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 (10575:17): [True: 0, False: 76]
  |  |  ------------------
  |  |10576|      0|                UPDATE_MISS_STATS(LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10577|      0|                assert(_PyOpcode_Deopt[opcode] == (LOAD_SUPER_ATTR));
  |  |  ------------------
  |  |  |  Branch (10577:17): [True: 0, False: 0]
  |  |  ------------------
  |  |10578|      0|                JUMP_TO_PREDICTED(LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10579|      0|            }
  |  |10580|     76|            STAT_INC(LOAD_SUPER_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|     76|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |10581|     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 (10581:30): [True: 76, False: 0]
  |  |  ------------------
  |  |10582|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10583|     76|            _PyFrame_StackPointerValidate(frame);
  |  |10584|     76|            PyObject *attr = _PySuper_Lookup((PyTypeObject *)class, self, name, NULL);
  |  |10585|     76|            _PyFrame_StackPointerInvalidate(frame);
  |  |10586|     76|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10586:13): [True: 76, False: 0]
  |  |  ------------------
  |  |10587|     76|            _PyFrame_StackPointerValidate(frame);
  |  |10588|     76|            _PyStackRef tmp = self_st;
  |  |10589|     76|            self_st = PyStackRef_NULL;
  |  |10590|     76|            stack_pointer[-1] = self_st;
  |  |10591|     76|            PyStackRef_CLOSE(tmp);
  |  |10592|     76|            _PyFrame_StackPointerInvalidate(frame);
  |  |10593|     76|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10593:13): [True: 76, False: 0]
  |  |  ------------------
  |  |10594|     76|            _PyFrame_StackPointerValidate(frame);
  |  |10595|     76|            tmp = class_st;
  |  |10596|     76|            class_st = PyStackRef_NULL;
  |  |10597|     76|            stack_pointer[-2] = class_st;
  |  |10598|     76|            PyStackRef_CLOSE(tmp);
  |  |10599|     76|            _PyFrame_StackPointerInvalidate(frame);
  |  |10600|     76|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10600:13): [True: 76, False: 0]
  |  |  ------------------
  |  |10601|     76|            _PyFrame_StackPointerValidate(frame);
  |  |10602|     76|            tmp = global_super_st;
  |  |10603|     76|            global_super_st = PyStackRef_NULL;
  |  |10604|     76|            stack_pointer[-3] = global_super_st;
  |  |10605|     76|            PyStackRef_CLOSE(tmp);
  |  |10606|     76|            _PyFrame_StackPointerInvalidate(frame);
  |  |10607|     76|            stack_pointer += -3;
  |  |10608|     76|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     76|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10609|     76|            if (attr == NULL) {
  |  |  ------------------
  |  |  |  Branch (10609:17): [True: 0, False: 76]
  |  |  ------------------
  |  |10610|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10611|      0|            }
  |  |10612|     76|            attr_st = PyStackRef_FromPyObjectSteal(attr);
  |  |10613|     76|            stack_pointer[0] = attr_st;
  |  |10614|     76|            stack_pointer += 1;
  |  |10615|     76|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     76|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10616|     76|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     76|    { \
  |  |  |  |  201|     76|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     76|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     76|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     76|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     76|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     76|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     76|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     76|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 76]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     76|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     76|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     76|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     76|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     76|    }
  |  |  ------------------
  |  |10617|     76|        }
  |  |10618|       |
  |  |10619|    527|        TARGET(LOAD_SUPER_ATTR_METHOD) {
  |  |  ------------------
  |  |  |  |  132|    527|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10620|       |            #if _Py_TAIL_CALL_INTERP
  |  |10621|       |            int opcode = LOAD_SUPER_ATTR_METHOD;
  |  |10622|       |            (void)(opcode);
  |  |10623|       |            #endif
  |  |10624|    527|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |10625|    527|            (void)this_instr;
  |  |10626|    527|            frame->instr_ptr = next_instr;
  |  |10627|    527|            next_instr += 2;
  |  |10628|    527|            INSTRUCTION_STATS(LOAD_SUPER_ATTR_METHOD);
  |  |  ------------------
  |  |  |  |   71|    527|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10629|    527|            static_assert(INLINE_CACHE_ENTRIES_LOAD_SUPER_ATTR == 1, "incorrect cache size");
  |  |10630|    527|            _PyStackRef global_super_st;
  |  |10631|    527|            _PyStackRef class_st;
  |  |10632|    527|            _PyStackRef self_st;
  |  |10633|    527|            _PyStackRef attr;
  |  |10634|    527|            _PyStackRef self_or_null;
  |  |10635|       |            /* Skip 1 cache entry */
  |  |10636|       |            // _GUARD_LOAD_SUPER_ATTR_METHOD
  |  |10637|    527|            {
  |  |10638|    527|                class_st = stack_pointer[-2];
  |  |10639|    527|                global_super_st = stack_pointer[-3];
  |  |10640|    527|                PyObject *global_super = PyStackRef_AsPyObjectBorrow(global_super_st);
  |  |10641|    527|                PyObject *class = PyStackRef_AsPyObjectBorrow(class_st);
  |  |10642|    527|                assert(oparg & 1);
  |  |  ------------------
  |  |  |  Branch (10642:17): [True: 527, False: 0]
  |  |  ------------------
  |  |10643|    527|                if (global_super != (PyObject *)&PySuper_Type) {
  |  |  ------------------
  |  |  |  Branch (10643:21): [True: 0, False: 527]
  |  |  ------------------
  |  |10644|      0|                    UPDATE_MISS_STATS(LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10645|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_SUPER_ATTR));
  |  |  ------------------
  |  |  |  Branch (10645:21): [True: 0, False: 0]
  |  |  ------------------
  |  |10646|      0|                    JUMP_TO_PREDICTED(LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10647|      0|                }
  |  |10648|    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 (10648:21): [True: 0, False: 527]
  |  |  ------------------
  |  |10649|      0|                    UPDATE_MISS_STATS(LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10650|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_SUPER_ATTR));
  |  |  ------------------
  |  |  |  Branch (10650:21): [True: 0, False: 0]
  |  |  ------------------
  |  |10651|      0|                    JUMP_TO_PREDICTED(LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10652|      0|                }
  |  |10653|    527|            }
  |  |10654|       |            // _LOAD_SUPER_ATTR_METHOD
  |  |10655|    527|            {
  |  |10656|    527|                self_st = stack_pointer[-1];
  |  |10657|    527|                PyObject *class = PyStackRef_AsPyObjectBorrow(class_st);
  |  |10658|    527|                PyObject *self = PyStackRef_AsPyObjectBorrow(self_st);
  |  |10659|    527|                STAT_INC(LOAD_SUPER_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|    527|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |10660|    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 (10660:34): [True: 527, False: 0]
  |  |  ------------------
  |  |10661|      0|                PyTypeObject *cls = (PyTypeObject *)class;
  |  |10662|    527|                int method_found = 0;
  |  |10663|    527|                PyObject *attr_o;
  |  |10664|    527|                {
  |  |10665|    527|                    int *method_found_ptr = &method_found;
  |  |10666|    527|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10667|    527|                    _PyFrame_StackPointerValidate(frame);
  |  |10668|    527|                    attr_o = _PySuper_Lookup(cls, self, name,
  |  |10669|    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 (10669:25): [True: 200, False: 327]
  |  |  ------------------
  |  |10670|    527|                    _PyFrame_StackPointerInvalidate(frame);
  |  |10671|    527|                }
  |  |10672|    527|                if (attr_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (10672:21): [True: 0, False: 527]
  |  |  ------------------
  |  |10673|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10674|      0|                }
  |  |10675|    527|                if (method_found) {
  |  |  ------------------
  |  |  |  Branch (10675:21): [True: 200, False: 327]
  |  |  ------------------
  |  |10676|    200|                    self_or_null = self_st;
  |  |10677|    327|                } else {
  |  |10678|    327|                    stack_pointer += -1;
  |  |10679|    327|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    327|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10680|    327|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10681|    327|                    _PyFrame_StackPointerValidate(frame);
  |  |10682|    327|                    PyStackRef_CLOSE(self_st);
  |  |10683|    327|                    _PyFrame_StackPointerInvalidate(frame);
  |  |10684|    327|                    self_or_null = PyStackRef_NULL;
  |  |10685|    327|                    stack_pointer += 1;
  |  |10686|    327|                }
  |  |10687|    527|                stack_pointer += -1;
  |  |10688|    527|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    527|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10689|    527|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10690|    527|                _PyFrame_StackPointerValidate(frame);
  |  |10691|    527|                _PyStackRef tmp = global_super_st;
  |  |10692|    527|                global_super_st = self_or_null;
  |  |10693|    527|                stack_pointer[-2] = global_super_st;
  |  |10694|    527|                PyStackRef_CLOSE(tmp);
  |  |10695|    527|                _PyFrame_StackPointerInvalidate(frame);
  |  |10696|    527|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10696:17): [True: 527, False: 0]
  |  |  ------------------
  |  |10697|    527|                _PyFrame_StackPointerValidate(frame);
  |  |10698|    527|                tmp = class_st;
  |  |10699|    527|                class_st = PyStackRef_NULL;
  |  |10700|    527|                stack_pointer[-1] = class_st;
  |  |10701|    527|                PyStackRef_CLOSE(tmp);
  |  |10702|    527|                _PyFrame_StackPointerInvalidate(frame);
  |  |10703|    527|                stack_pointer += -2;
  |  |10704|    527|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    527|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10705|    527|                attr = PyStackRef_FromPyObjectSteal(attr_o);
  |  |10706|    527|            }
  |  |10707|      0|            stack_pointer[0] = attr;
  |  |10708|    527|            stack_pointer[1] = self_or_null;
  |  |10709|    527|            stack_pointer += 2;
  |  |10710|    527|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    527|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10711|    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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    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|    }
  |  |  ------------------
  |  |10712|    527|        }
  |  |10713|       |
  |  |10714|    363|        TARGET(MAKE_CELL) {
  |  |  ------------------
  |  |  |  |  132|    363|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10715|       |            #if _Py_TAIL_CALL_INTERP
  |  |10716|       |            int opcode = MAKE_CELL;
  |  |10717|       |            (void)(opcode);
  |  |10718|       |            #endif
  |  |10719|    363|            frame->instr_ptr = next_instr;
  |  |10720|    363|            next_instr += 1;
  |  |10721|    363|            INSTRUCTION_STATS(MAKE_CELL);
  |  |  ------------------
  |  |  |  |   71|    363|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10722|    363|            PyObject *initial = PyStackRef_AsPyObjectBorrow(GETLOCAL(oparg));
  |  |  ------------------
  |  |  |  |  285|    363|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |10723|    363|            PyObject *cell = PyCell_New(initial);
  |  |10724|    363|            if (cell == NULL) {
  |  |  ------------------
  |  |  |  Branch (10724:17): [True: 0, False: 363]
  |  |  ------------------
  |  |10725|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10726|      0|            }
  |  |10727|    363|            _PyStackRef tmp = GETLOCAL(oparg);
  |  |  ------------------
  |  |  |  |  285|    363|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |10728|    363|            GETLOCAL(oparg) = PyStackRef_FromPyObjectSteal(cell);
  |  |  ------------------
  |  |  |  |  285|    363|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |10729|    363|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10730|    363|            _PyFrame_StackPointerValidate(frame);
  |  |10731|    363|            PyStackRef_XCLOSE(tmp);
  |  |10732|    363|            _PyFrame_StackPointerInvalidate(frame);
  |  |10733|    363|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    363|    { \
  |  |  |  |  201|    363|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    363|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    363|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    363|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    363|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    363|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    363|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    363|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 363]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    363|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    363|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    363|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    363|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    363|    }
  |  |  ------------------
  |  |10734|    363|        }
  |  |10735|       |
  |  |10736|  2.35k|        TARGET(MAKE_FUNCTION) {
  |  |  ------------------
  |  |  |  |  132|  2.35k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10737|       |            #if _Py_TAIL_CALL_INTERP
  |  |10738|       |            int opcode = MAKE_FUNCTION;
  |  |10739|       |            (void)(opcode);
  |  |10740|       |            #endif
  |  |10741|  2.35k|            frame->instr_ptr = next_instr;
  |  |10742|  2.35k|            next_instr += 1;
  |  |10743|  2.35k|            INSTRUCTION_STATS(MAKE_FUNCTION);
  |  |  ------------------
  |  |  |  |   71|  2.35k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10744|  2.35k|            _PyStackRef codeobj_st;
  |  |10745|  2.35k|            _PyStackRef func;
  |  |10746|  2.35k|            _PyStackRef co;
  |  |10747|  2.35k|            _PyStackRef value;
  |  |10748|       |            // _MAKE_FUNCTION
  |  |10749|  2.35k|            {
  |  |10750|  2.35k|                codeobj_st = stack_pointer[-1];
  |  |10751|  2.35k|                PyObject *codeobj = PyStackRef_AsPyObjectBorrow(codeobj_st);
  |  |10752|  2.35k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10753|  2.35k|                _PyFrame_StackPointerValidate(frame);
  |  |10754|  2.35k|                PyFunctionObject *func_obj = (PyFunctionObject *)
  |  |10755|  2.35k|                PyFunction_New(codeobj, GLOBALS());
  |  |  ------------------
  |  |  |  |  326|  2.35k|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  |10756|  2.35k|                _PyFrame_StackPointerInvalidate(frame);
  |  |10757|  2.35k|                if (func_obj == NULL) {
  |  |  ------------------
  |  |  |  Branch (10757:21): [True: 0, False: 2.35k]
  |  |  ------------------
  |  |10758|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10759|      0|                }
  |  |10760|  2.35k|                co = codeobj_st;
  |  |10761|  2.35k|                _PyFunction_SetVersion(
  |  |10762|  2.35k|                                   func_obj, ((PyCodeObject *)codeobj)->co_version);
  |  |10763|  2.35k|                func = PyStackRef_FromPyObjectSteal((PyObject *)func_obj);
  |  |10764|  2.35k|            }
  |  |10765|       |            // _POP_TOP
  |  |10766|      0|            {
  |  |10767|  2.35k|                value = co;
  |  |10768|  2.35k|                stack_pointer[-1] = func;
  |  |10769|  2.35k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10769:17): [True: 2.35k, False: 0]
  |  |  ------------------
  |  |10770|  2.35k|                _PyFrame_StackPointerValidate(frame);
  |  |10771|  2.35k|                PyStackRef_XCLOSE(value);
  |  |10772|  2.35k|                _PyFrame_StackPointerInvalidate(frame);
  |  |10773|  2.35k|            }
  |  |10774|  2.35k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.35k|    { \
  |  |  |  |  201|  2.35k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.35k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.35k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.35k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  2.35k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.35k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.35k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.35k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.35k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.35k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.35k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.35k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.35k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.35k|    }
  |  |  ------------------
  |  |10775|  2.35k|        }
  |  |10776|       |
  |  |10777|  1.08k|        TARGET(MAP_ADD) {
  |  |  ------------------
  |  |  |  |  132|  1.08k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10778|       |            #if _Py_TAIL_CALL_INTERP
  |  |10779|       |            int opcode = MAP_ADD;
  |  |10780|       |            (void)(opcode);
  |  |10781|       |            #endif
  |  |10782|  1.08k|            frame->instr_ptr = next_instr;
  |  |10783|  1.08k|            next_instr += 1;
  |  |10784|  1.08k|            INSTRUCTION_STATS(MAP_ADD);
  |  |  ------------------
  |  |  |  |   71|  1.08k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10785|  1.08k|            _PyStackRef dict_st;
  |  |10786|  1.08k|            _PyStackRef key;
  |  |10787|  1.08k|            _PyStackRef value;
  |  |10788|  1.08k|            value = stack_pointer[-1];
  |  |10789|  1.08k|            key = stack_pointer[-2];
  |  |10790|  1.08k|            dict_st = stack_pointer[-3 - (oparg - 1)];
  |  |10791|  1.08k|            PyObject *dict = PyStackRef_AsPyObjectBorrow(dict_st);
  |  |10792|  1.08k|            assert(PyDict_CheckExact(dict));
  |  |  ------------------
  |  |  |  Branch (10792:13): [True: 1.08k, False: 0]
  |  |  ------------------
  |  |10793|  1.08k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10794|  1.08k|            _PyFrame_StackPointerValidate(frame);
  |  |10795|  1.08k|            int err = _PyDict_SetItem_Take2(
  |  |10796|  1.08k|                (PyDictObject *)dict,
  |  |10797|  1.08k|                PyStackRef_AsPyObjectSteal(key),
  |  |10798|  1.08k|                PyStackRef_AsPyObjectSteal(value)
  |  |10799|  1.08k|            );
  |  |10800|  1.08k|            _PyFrame_StackPointerInvalidate(frame);
  |  |10801|  1.08k|            if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (10801:17): [True: 0, False: 1.08k]
  |  |  ------------------
  |  |10802|      0|                JUMP_TO_LABEL(pop_2_error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10803|      0|            }
  |  |10804|  1.08k|            stack_pointer += -2;
  |  |10805|  1.08k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.08k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10806|  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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  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|    }
  |  |  ------------------
  |  |10807|  1.08k|        }
  |  |10808|       |
  |  |10809|      0|        TARGET(MATCH_CLASS) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10810|       |            #if _Py_TAIL_CALL_INTERP
  |  |10811|       |            int opcode = MATCH_CLASS;
  |  |10812|       |            (void)(opcode);
  |  |10813|       |            #endif
  |  |10814|      0|            frame->instr_ptr = next_instr;
  |  |10815|      0|            next_instr += 1;
  |  |10816|      0|            INSTRUCTION_STATS(MATCH_CLASS);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10817|      0|            _PyStackRef subject;
  |  |10818|      0|            _PyStackRef type;
  |  |10819|      0|            _PyStackRef names;
  |  |10820|      0|            _PyStackRef attrs;
  |  |10821|      0|            _PyStackRef s;
  |  |10822|      0|            _PyStackRef tp;
  |  |10823|      0|            _PyStackRef n;
  |  |10824|      0|            _PyStackRef value;
  |  |10825|       |            // _MATCH_CLASS
  |  |10826|      0|            {
  |  |10827|      0|                names = stack_pointer[-1];
  |  |10828|      0|                type = stack_pointer[-2];
  |  |10829|      0|                subject = stack_pointer[-3];
  |  |10830|      0|                assert(PyTuple_CheckExact(PyStackRef_AsPyObjectBorrow(names)));
  |  |  ------------------
  |  |  |  Branch (10830:17): [True: 0, False: 0]
  |  |  ------------------
  |  |10831|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10832|      0|                _PyFrame_StackPointerValidate(frame);
  |  |10833|      0|                PyObject *attrs_o = _PyEval_MatchClass(tstate,
  |  |10834|      0|                    PyStackRef_AsPyObjectBorrow(subject),
  |  |10835|      0|                    PyStackRef_AsPyObjectBorrow(type), oparg,
  |  |10836|      0|                    PyStackRef_AsPyObjectBorrow(names));
  |  |10837|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |10838|      0|                if (attrs_o) {
  |  |  ------------------
  |  |  |  Branch (10838:21): [True: 0, False: 0]
  |  |  ------------------
  |  |10839|      0|                    assert(PyTuple_CheckExact(attrs_o));
  |  |  ------------------
  |  |  |  Branch (10839:21): [True: 0, False: 0]
  |  |  ------------------
  |  |10840|      0|                    attrs = PyStackRef_FromPyObjectSteal(attrs_o);
  |  |10841|      0|                }
  |  |10842|      0|                else {
  |  |10843|      0|                    if (_PyErr_Occurred(tstate)) {
  |  |  ------------------
  |  |  |  Branch (10843:25): [True: 0, False: 0]
  |  |  ------------------
  |  |10844|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10845|      0|                    }
  |  |10846|      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
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10847|      0|                }
  |  |10848|      0|                s = subject;
  |  |10849|      0|                tp = type;
  |  |10850|      0|                n = names;
  |  |10851|      0|            }
  |  |10852|       |            // _POP_TOP
  |  |10853|      0|            {
  |  |10854|      0|                value = n;
  |  |10855|      0|                stack_pointer[-3] = attrs;
  |  |10856|      0|                stack_pointer[-2] = s;
  |  |10857|      0|                stack_pointer[-1] = tp;
  |  |10858|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10858:17): [True: 0, False: 0]
  |  |  ------------------
  |  |10859|      0|                _PyFrame_StackPointerValidate(frame);
  |  |10860|      0|                PyStackRef_XCLOSE(value);
  |  |10861|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |10862|      0|            }
  |  |10863|       |            // _POP_TOP
  |  |10864|      0|            {
  |  |10865|      0|                value = tp;
  |  |10866|      0|                stack_pointer += -1;
  |  |10867|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10868|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10869|      0|                _PyFrame_StackPointerValidate(frame);
  |  |10870|      0|                PyStackRef_XCLOSE(value);
  |  |10871|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |10872|      0|            }
  |  |10873|       |            // _POP_TOP
  |  |10874|      0|            {
  |  |10875|      0|                value = s;
  |  |10876|      0|                stack_pointer += -1;
  |  |10877|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10878|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10879|      0|                _PyFrame_StackPointerValidate(frame);
  |  |10880|      0|                PyStackRef_XCLOSE(value);
  |  |10881|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |10882|      0|            }
  |  |10883|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  |10884|      0|        }
  |  |10885|       |
  |  |10886|      0|        TARGET(MATCH_KEYS) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10887|       |            #if _Py_TAIL_CALL_INTERP
  |  |10888|       |            int opcode = MATCH_KEYS;
  |  |10889|       |            (void)(opcode);
  |  |10890|       |            #endif
  |  |10891|      0|            frame->instr_ptr = next_instr;
  |  |10892|      0|            next_instr += 1;
  |  |10893|      0|            INSTRUCTION_STATS(MATCH_KEYS);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10894|      0|            _PyStackRef subject;
  |  |10895|      0|            _PyStackRef keys;
  |  |10896|      0|            _PyStackRef values_or_none;
  |  |10897|      0|            keys = stack_pointer[-1];
  |  |10898|      0|            subject = stack_pointer[-2];
  |  |10899|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10900|      0|            _PyFrame_StackPointerValidate(frame);
  |  |10901|      0|            PyObject *values_or_none_o = _PyEval_MatchKeys(tstate,
  |  |10902|      0|                PyStackRef_AsPyObjectBorrow(subject), PyStackRef_AsPyObjectBorrow(keys));
  |  |10903|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  |10904|      0|            if (values_or_none_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (10904:17): [True: 0, False: 0]
  |  |  ------------------
  |  |10905|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10906|      0|            }
  |  |10907|      0|            values_or_none = PyStackRef_FromPyObjectSteal(values_or_none_o);
  |  |10908|      0|            stack_pointer[0] = values_or_none;
  |  |10909|      0|            stack_pointer += 1;
  |  |10910|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10911|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  |10912|      0|        }
  |  |10913|       |
  |  |10914|      0|        TARGET(MATCH_MAPPING) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10915|       |            #if _Py_TAIL_CALL_INTERP
  |  |10916|       |            int opcode = MATCH_MAPPING;
  |  |10917|       |            (void)(opcode);
  |  |10918|       |            #endif
  |  |10919|      0|            frame->instr_ptr = next_instr;
  |  |10920|      0|            next_instr += 1;
  |  |10921|      0|            INSTRUCTION_STATS(MATCH_MAPPING);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10922|      0|            _PyStackRef subject;
  |  |10923|      0|            _PyStackRef res;
  |  |10924|      0|            subject = stack_pointer[-1];
  |  |10925|      0|            int match = PyStackRef_TYPE(subject)->tp_flags & Py_TPFLAGS_MAPPING;
  |  |  ------------------
  |  |  |  |  492|      0|#define Py_TPFLAGS_MAPPING (1 << 6)
  |  |  ------------------
  |  |10926|      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 (10926:19): [True: 0, False: 0]
  |  |  ------------------
  |  |10927|      0|            stack_pointer[0] = res;
  |  |10928|      0|            stack_pointer += 1;
  |  |10929|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  |10931|      0|        }
  |  |10932|       |
  |  |10933|      0|        TARGET(MATCH_SEQUENCE) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10934|       |            #if _Py_TAIL_CALL_INTERP
  |  |10935|       |            int opcode = MATCH_SEQUENCE;
  |  |10936|       |            (void)(opcode);
  |  |10937|       |            #endif
  |  |10938|      0|            frame->instr_ptr = next_instr;
  |  |10939|      0|            next_instr += 1;
  |  |10940|      0|            INSTRUCTION_STATS(MATCH_SEQUENCE);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10941|      0|            _PyStackRef subject;
  |  |10942|      0|            _PyStackRef res;
  |  |10943|      0|            subject = stack_pointer[-1];
  |  |10944|      0|            int match = PyStackRef_TYPE(subject)->tp_flags & Py_TPFLAGS_SEQUENCE;
  |  |  ------------------
  |  |  |  |  490|      0|#define Py_TPFLAGS_SEQUENCE (1 << 5)
  |  |  ------------------
  |  |10945|      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 (10945:19): [True: 0, False: 0]
  |  |  ------------------
  |  |10946|      0|            stack_pointer[0] = res;
  |  |10947|      0|            stack_pointer += 1;
  |  |10948|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10949|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  |10950|      0|        }
  |  |10951|       |
  |  |10952|  3.04k|        TARGET(NOP) {
  |  |  ------------------
  |  |  |  |  132|  3.04k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10953|       |            #if _Py_TAIL_CALL_INTERP
  |  |10954|       |            int opcode = NOP;
  |  |10955|       |            (void)(opcode);
  |  |10956|       |            #endif
  |  |10957|  3.04k|            frame->instr_ptr = next_instr;
  |  |10958|  3.04k|            next_instr += 1;
  |  |10959|  3.04k|            INSTRUCTION_STATS(NOP);
  |  |  ------------------
  |  |  |  |   71|  3.04k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10960|  3.04k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.04k|    { \
  |  |  |  |  201|  3.04k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  3.04k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  3.04k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  3.04k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  3.04k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  3.04k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  3.04k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  3.04k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 3.04k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.04k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.04k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.04k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.04k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.04k|    }
  |  |  ------------------
  |  |10961|  3.04k|        }
  |  |10962|       |
  |  |10963|  3.04k|        TARGET(NOT_TAKEN) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10964|       |            #if _Py_TAIL_CALL_INTERP
  |  |10965|       |            int opcode = NOT_TAKEN;
  |  |10966|       |            (void)(opcode);
  |  |10967|       |            #endif
  |  |10968|      0|            frame->instr_ptr = next_instr;
  |  |10969|      0|            next_instr += 1;
  |  |10970|      0|            INSTRUCTION_STATS(NOT_TAKEN);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10971|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  |10972|      0|        }
  |  |10973|       |
  |  |10974|    314|        TARGET(POP_EXCEPT) {
  |  |  ------------------
  |  |  |  |  132|    314|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10975|       |            #if _Py_TAIL_CALL_INTERP
  |  |10976|       |            int opcode = POP_EXCEPT;
  |  |10977|       |            (void)(opcode);
  |  |10978|       |            #endif
  |  |10979|    314|            frame->instr_ptr = next_instr;
  |  |10980|    314|            next_instr += 1;
  |  |10981|    314|            INSTRUCTION_STATS(POP_EXCEPT);
  |  |  ------------------
  |  |  |  |   71|    314|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10982|    314|            _PyStackRef exc_value;
  |  |10983|    314|            exc_value = stack_pointer[-1];
  |  |10984|    314|            _PyErr_StackItem *exc_info = tstate->exc_info;
  |  |10985|    314|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10986|    314|            _PyFrame_StackPointerValidate(frame);
  |  |10987|    314|            Py_XSETREF(exc_info->exc_value,
  |  |  ------------------
  |  |  |  |  376|    314|    do { \
  |  |  |  |  377|    314|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|    314|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  378|    314|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|    314|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  379|    628|        *_tmp_dst_ptr = (src); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:26): [True: 297, False: 17]
  |  |  |  |  ------------------
  |  |  |  |  380|    314|        Py_XDECREF(_tmp_old_dst); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   69|    314|    do { \
  |  |  |  |  |  |   70|    314|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    314|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    314|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   71|    314|        if (xop != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (71:13): [True: 314, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   72|    314|            Py_DECREF(xop); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   80|    314|    do { \
  |  |  |  |  |  |  |  |   81|    314|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|    314|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|    314|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   82|    314|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  137|    314|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  171|    314|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |   37|    314|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 314]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   84|      0|            break; \
  |  |  |  |  |  |  |  |   85|      0|        } \
  |  |  |  |  |  |  |  |   86|    314|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   20|    314|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   87|    314|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (87:13): [True: 298, False: 16]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   88|    298|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  112|    298|    do { \
  |  |  |  |  |  |  |  |  |  |  113|    298|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  |  |  |  |  114|    298|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 298]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  |  |  |  |  118|    298|    } while(0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 298]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   89|    298|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  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))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   90|    298|            (*dealloc)(op); \
  |  |  |  |  |  |  |  |   91|    298|        } \
  |  |  |  |  |  |  |  |   92|    314|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (92:14): [Folded, False: 314]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   73|    314|        } \
  |  |  |  |  |  |   74|    314|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (74:14): [Folded, False: 314]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  381|    314|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (381:14): [Folded, False: 314]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10988|    314|                       PyStackRef_IsNone(exc_value)
  |  |10989|    314|                       ? NULL : PyStackRef_AsPyObjectSteal(exc_value));
  |  |10990|    314|            _PyFrame_StackPointerInvalidate(frame);
  |  |10991|    314|            stack_pointer += -1;
  |  |10992|    314|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    314|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10993|    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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    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|    }
  |  |  ------------------
  |  |10994|    314|        }
  |  |10995|       |
  |  |10996|  1.01k|        TARGET(POP_ITER) {
  |  |  ------------------
  |  |  |  |  132|  1.01k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10997|       |            #if _Py_TAIL_CALL_INTERP
  |  |10998|       |            int opcode = POP_ITER;
  |  |10999|       |            (void)(opcode);
  |  |11000|       |            #endif
  |  |11001|  1.01k|            frame->instr_ptr = next_instr;
  |  |11002|  1.01k|            next_instr += 1;
  |  |11003|  1.01k|            INSTRUCTION_STATS(POP_ITER);
  |  |  ------------------
  |  |  |  |   71|  1.01k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11004|  1.01k|            _PyStackRef iter;
  |  |11005|  1.01k|            _PyStackRef index_or_null;
  |  |11006|  1.01k|            index_or_null = stack_pointer[-1];
  |  |11007|  1.01k|            iter = stack_pointer[-2];
  |  |11008|  1.01k|            (void)index_or_null;
  |  |11009|  1.01k|            stack_pointer += -2;
  |  |11010|  1.01k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.01k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11011|  1.01k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11012|  1.01k|            _PyFrame_StackPointerValidate(frame);
  |  |11013|  1.01k|            PyStackRef_CLOSE(iter);
  |  |11014|  1.01k|            _PyFrame_StackPointerInvalidate(frame);
  |  |11015|  1.01k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.01k|    { \
  |  |  |  |  201|  1.01k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.01k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.01k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.01k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.01k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.01k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.01k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.01k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.01k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.01k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.01k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.01k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.01k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.01k|    }
  |  |  ------------------
  |  |11016|  1.01k|        }
  |  |11017|       |
  |  |11018|  7.32k|        TARGET(POP_JUMP_IF_FALSE) {
  |  |  ------------------
  |  |  |  |  132|  7.32k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11019|       |            #if _Py_TAIL_CALL_INTERP
  |  |11020|       |            int opcode = POP_JUMP_IF_FALSE;
  |  |11021|       |            (void)(opcode);
  |  |11022|       |            #endif
  |  |11023|  7.32k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11024|  7.32k|            (void)this_instr;
  |  |11025|  7.32k|            frame->instr_ptr = next_instr;
  |  |11026|  7.32k|            next_instr += 2;
  |  |11027|  7.32k|            INSTRUCTION_STATS(POP_JUMP_IF_FALSE);
  |  |  ------------------
  |  |  |  |   71|  7.32k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11028|  7.32k|            _PyStackRef cond;
  |  |11029|       |            /* Skip 1 cache entry */
  |  |11030|  7.32k|            cond = stack_pointer[-1];
  |  |11031|  7.32k|            assert(PyStackRef_BoolCheck(cond));
  |  |  ------------------
  |  |  |  Branch (11031:13): [True: 7.32k, False: 0]
  |  |  ------------------
  |  |11032|  7.32k|            int flag = PyStackRef_IsFalse(cond);
  |  |  ------------------
  |  |  |  |  494|  7.32k|#define PyStackRef_IsFalse(REF) ((REF).bits == (((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  7.32k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11033|  7.32k|            RECORD_BRANCH_TAKEN(this_instr[1].cache, flag);
  |  |  ------------------
  |  |  |  |  394|  7.32k|    FT_ATOMIC_STORE_UINT16_RELAXED(       \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  7.32k|#define FT_ATOMIC_STORE_UINT16_RELAXED(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  395|  7.32k|        bitset, (FT_ATOMIC_LOAD_UINT16_RELAXED(bitset) << 1) | (flag))
  |  |  ------------------
  |  |11034|  7.32k|            JUMPBY(flag ? oparg : next_instr->op.code == NOT_TAKEN);
  |  |  ------------------
  |  |  |  |  261|  14.6k|#define JUMPBY(x)       (next_instr += (x))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (261:41): [True: 4.66k, False: 2.65k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11035|  7.32k|            stack_pointer += -1;
  |  |11036|  7.32k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  7.32k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11037|  7.32k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  7.32k|    { \
  |  |  |  |  201|  7.32k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  7.32k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  7.32k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  7.32k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  7.32k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  7.32k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  7.32k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  7.32k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 7.32k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  7.32k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  7.32k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  7.32k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  7.32k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  7.32k|    }
  |  |  ------------------
  |  |11038|  7.32k|        }
  |  |11039|       |
  |  |11040|    732|        TARGET(POP_JUMP_IF_NONE) {
  |  |  ------------------
  |  |  |  |  132|    732|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11041|       |            #if _Py_TAIL_CALL_INTERP
  |  |11042|       |            int opcode = POP_JUMP_IF_NONE;
  |  |11043|       |            (void)(opcode);
  |  |11044|       |            #endif
  |  |11045|    732|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11046|    732|            (void)this_instr;
  |  |11047|    732|            frame->instr_ptr = next_instr;
  |  |11048|    732|            next_instr += 2;
  |  |11049|    732|            INSTRUCTION_STATS(POP_JUMP_IF_NONE);
  |  |  ------------------
  |  |  |  |   71|    732|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11050|    732|            _PyStackRef value;
  |  |11051|    732|            _PyStackRef b;
  |  |11052|    732|            _PyStackRef cond;
  |  |11053|       |            /* Skip 1 cache entry */
  |  |11054|       |            // _IS_NONE
  |  |11055|    732|            {
  |  |11056|    732|                value = stack_pointer[-1];
  |  |11057|    732|                if (PyStackRef_IsNone(value)) {
  |  |  ------------------
  |  |  |  |  495|    732|#define PyStackRef_IsNone(REF) ((REF).bits == (((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    732|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (495:32): [True: 349, False: 383]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11058|    349|                    b = PyStackRef_True;
  |  |  ------------------
  |  |  |  |  483|    349|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    349|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11059|    349|                }
  |  |11060|    383|                else {
  |  |11061|    383|                    b = PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|    383|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    383|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11062|    383|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11063|    383|                    _PyFrame_StackPointerValidate(frame);
  |  |11064|    383|                    _PyStackRef tmp = value;
  |  |11065|    383|                    value = b;
  |  |11066|    383|                    stack_pointer[-1] = value;
  |  |11067|    383|                    PyStackRef_CLOSE(tmp);
  |  |11068|    383|                    _PyFrame_StackPointerInvalidate(frame);
  |  |11069|    383|                }
  |  |11070|    732|            }
  |  |11071|       |            // _POP_JUMP_IF_TRUE
  |  |11072|    732|            {
  |  |11073|    732|                cond = b;
  |  |11074|    732|                assert(PyStackRef_BoolCheck(cond));
  |  |  ------------------
  |  |  |  Branch (11074:17): [True: 732, False: 0]
  |  |  ------------------
  |  |11075|    732|                int flag = PyStackRef_IsTrue(cond);
  |  |  ------------------
  |  |  |  |  493|    732|#define PyStackRef_IsTrue(REF) ((REF).bits == (((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    732|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11076|    732|                RECORD_BRANCH_TAKEN(this_instr[1].cache, flag);
  |  |  ------------------
  |  |  |  |  394|    732|    FT_ATOMIC_STORE_UINT16_RELAXED(       \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    732|#define FT_ATOMIC_STORE_UINT16_RELAXED(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  395|    732|        bitset, (FT_ATOMIC_LOAD_UINT16_RELAXED(bitset) << 1) | (flag))
  |  |  ------------------
  |  |11077|    732|                JUMPBY(flag ? oparg : next_instr->op.code == NOT_TAKEN);
  |  |  ------------------
  |  |  |  |  261|  1.46k|#define JUMPBY(x)       (next_instr += (x))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (261:41): [True: 349, False: 383]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11078|    732|            }
  |  |11079|      0|            stack_pointer += -1;
  |  |11080|    732|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    732|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11081|    732|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    732|    { \
  |  |  |  |  201|    732|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    732|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    732|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    732|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    732|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    732|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    732|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    732|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 732]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    732|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    732|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    732|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    732|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    732|    }
  |  |  ------------------
  |  |11082|    732|        }
  |  |11083|       |
  |  |11084|  2.36k|        TARGET(POP_JUMP_IF_NOT_NONE) {
  |  |  ------------------
  |  |  |  |  132|  2.36k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11085|       |            #if _Py_TAIL_CALL_INTERP
  |  |11086|       |            int opcode = POP_JUMP_IF_NOT_NONE;
  |  |11087|       |            (void)(opcode);
  |  |11088|       |            #endif
  |  |11089|  2.36k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11090|  2.36k|            (void)this_instr;
  |  |11091|  2.36k|            frame->instr_ptr = next_instr;
  |  |11092|  2.36k|            next_instr += 2;
  |  |11093|  2.36k|            INSTRUCTION_STATS(POP_JUMP_IF_NOT_NONE);
  |  |  ------------------
  |  |  |  |   71|  2.36k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11094|  2.36k|            _PyStackRef value;
  |  |11095|  2.36k|            _PyStackRef b;
  |  |11096|  2.36k|            _PyStackRef cond;
  |  |11097|       |            /* Skip 1 cache entry */
  |  |11098|       |            // _IS_NONE
  |  |11099|  2.36k|            {
  |  |11100|  2.36k|                value = stack_pointer[-1];
  |  |11101|  2.36k|                if (PyStackRef_IsNone(value)) {
  |  |  ------------------
  |  |  |  |  495|  2.36k|#define PyStackRef_IsNone(REF) ((REF).bits == (((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  2.36k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (495:32): [True: 1.11k, False: 1.25k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11102|  1.11k|                    b = PyStackRef_True;
  |  |  ------------------
  |  |  |  |  483|  1.11k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.11k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11103|  1.11k|                }
  |  |11104|  1.25k|                else {
  |  |11105|  1.25k|                    b = PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  1.25k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.25k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11106|  1.25k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11107|  1.25k|                    _PyFrame_StackPointerValidate(frame);
  |  |11108|  1.25k|                    _PyStackRef tmp = value;
  |  |11109|  1.25k|                    value = b;
  |  |11110|  1.25k|                    stack_pointer[-1] = value;
  |  |11111|  1.25k|                    PyStackRef_CLOSE(tmp);
  |  |11112|  1.25k|                    _PyFrame_StackPointerInvalidate(frame);
  |  |11113|  1.25k|                }
  |  |11114|  2.36k|            }
  |  |11115|       |            // _POP_JUMP_IF_FALSE
  |  |11116|  2.36k|            {
  |  |11117|  2.36k|                cond = b;
  |  |11118|  2.36k|                assert(PyStackRef_BoolCheck(cond));
  |  |  ------------------
  |  |  |  Branch (11118:17): [True: 2.36k, False: 0]
  |  |  ------------------
  |  |11119|  2.36k|                int flag = PyStackRef_IsFalse(cond);
  |  |  ------------------
  |  |  |  |  494|  2.36k|#define PyStackRef_IsFalse(REF) ((REF).bits == (((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  2.36k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11120|  2.36k|                RECORD_BRANCH_TAKEN(this_instr[1].cache, flag);
  |  |  ------------------
  |  |  |  |  394|  2.36k|    FT_ATOMIC_STORE_UINT16_RELAXED(       \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.36k|#define FT_ATOMIC_STORE_UINT16_RELAXED(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  395|  2.36k|        bitset, (FT_ATOMIC_LOAD_UINT16_RELAXED(bitset) << 1) | (flag))
  |  |  ------------------
  |  |11121|  2.36k|                JUMPBY(flag ? oparg : next_instr->op.code == NOT_TAKEN);
  |  |  ------------------
  |  |  |  |  261|  4.73k|#define JUMPBY(x)       (next_instr += (x))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (261:41): [True: 1.25k, False: 1.11k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11122|  2.36k|            }
  |  |11123|      0|            stack_pointer += -1;
  |  |11124|  2.36k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.36k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11125|  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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  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|    }
  |  |  ------------------
  |  |11126|  2.36k|        }
  |  |11127|       |
  |  |11128|  4.21k|        TARGET(POP_JUMP_IF_TRUE) {
  |  |  ------------------
  |  |  |  |  132|  4.21k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11129|       |            #if _Py_TAIL_CALL_INTERP
  |  |11130|       |            int opcode = POP_JUMP_IF_TRUE;
  |  |11131|       |            (void)(opcode);
  |  |11132|       |            #endif
  |  |11133|  4.21k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11134|  4.21k|            (void)this_instr;
  |  |11135|  4.21k|            frame->instr_ptr = next_instr;
  |  |11136|  4.21k|            next_instr += 2;
  |  |11137|  4.21k|            INSTRUCTION_STATS(POP_JUMP_IF_TRUE);
  |  |  ------------------
  |  |  |  |   71|  4.21k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11138|  4.21k|            _PyStackRef cond;
  |  |11139|       |            /* Skip 1 cache entry */
  |  |11140|  4.21k|            cond = stack_pointer[-1];
  |  |11141|  4.21k|            assert(PyStackRef_BoolCheck(cond));
  |  |  ------------------
  |  |  |  Branch (11141:13): [True: 4.21k, False: 0]
  |  |  ------------------
  |  |11142|  4.21k|            int flag = PyStackRef_IsTrue(cond);
  |  |  ------------------
  |  |  |  |  493|  4.21k|#define PyStackRef_IsTrue(REF) ((REF).bits == (((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  4.21k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11143|  4.21k|            RECORD_BRANCH_TAKEN(this_instr[1].cache, flag);
  |  |  ------------------
  |  |  |  |  394|  4.21k|    FT_ATOMIC_STORE_UINT16_RELAXED(       \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.21k|#define FT_ATOMIC_STORE_UINT16_RELAXED(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  395|  4.21k|        bitset, (FT_ATOMIC_LOAD_UINT16_RELAXED(bitset) << 1) | (flag))
  |  |  ------------------
  |  |11144|  4.21k|            JUMPBY(flag ? oparg : next_instr->op.code == NOT_TAKEN);
  |  |  ------------------
  |  |  |  |  261|  8.42k|#define JUMPBY(x)       (next_instr += (x))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (261:41): [True: 2.80k, False: 1.40k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11145|  4.21k|            stack_pointer += -1;
  |  |11146|  4.21k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  4.21k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11147|  4.21k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  4.21k|    { \
  |  |  |  |  201|  4.21k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  4.21k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  4.21k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  4.21k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  4.21k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  4.21k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  4.21k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  4.21k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 4.21k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  4.21k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  4.21k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  4.21k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  4.21k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  4.21k|    }
  |  |  ------------------
  |  |11148|  4.21k|        }
  |  |11149|       |
  |  |11150|  7.42k|        TARGET(POP_TOP) {
  |  |  ------------------
  |  |  |  |  132|  7.42k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11151|       |            #if _Py_TAIL_CALL_INTERP
  |  |11152|       |            int opcode = POP_TOP;
  |  |11153|       |            (void)(opcode);
  |  |11154|       |            #endif
  |  |11155|  7.42k|            frame->instr_ptr = next_instr;
  |  |11156|  7.42k|            next_instr += 1;
  |  |11157|  7.42k|            INSTRUCTION_STATS(POP_TOP);
  |  |  ------------------
  |  |  |  |   71|  7.42k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11158|  7.42k|            _PyStackRef value;
  |  |11159|  7.42k|            value = stack_pointer[-1];
  |  |11160|  7.42k|            stack_pointer += -1;
  |  |11161|  7.42k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  7.42k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11162|  7.42k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11163|  7.42k|            _PyFrame_StackPointerValidate(frame);
  |  |11164|  7.42k|            PyStackRef_XCLOSE(value);
  |  |11165|  7.42k|            _PyFrame_StackPointerInvalidate(frame);
  |  |11166|  7.42k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  7.42k|    { \
  |  |  |  |  201|  7.42k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  7.42k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  7.42k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  7.42k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  7.42k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  7.42k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  7.42k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  7.42k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 7.42k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  7.42k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  7.42k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  7.42k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  7.42k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  7.42k|    }
  |  |  ------------------
  |  |11167|  7.42k|        }
  |  |11168|       |
  |  |11169|  7.42k|        TARGET(PUSH_EXC_INFO) {
  |  |  ------------------
  |  |  |  |  132|    314|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11170|       |            #if _Py_TAIL_CALL_INTERP
  |  |11171|       |            int opcode = PUSH_EXC_INFO;
  |  |11172|       |            (void)(opcode);
  |  |11173|       |            #endif
  |  |11174|    314|            frame->instr_ptr = next_instr;
  |  |11175|    314|            next_instr += 1;
  |  |11176|    314|            INSTRUCTION_STATS(PUSH_EXC_INFO);
  |  |  ------------------
  |  |  |  |   71|    314|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11177|    314|            _PyStackRef exc;
  |  |11178|    314|            _PyStackRef prev_exc;
  |  |11179|    314|            _PyStackRef new_exc;
  |  |11180|    314|            exc = stack_pointer[-1];
  |  |11181|    314|            _PyErr_StackItem *exc_info = tstate->exc_info;
  |  |11182|    314|            if (exc_info->exc_value != NULL) {
  |  |  ------------------
  |  |  |  Branch (11182:17): [True: 17, False: 297]
  |  |  ------------------
  |  |11183|     17|                prev_exc = PyStackRef_FromPyObjectSteal(exc_info->exc_value);
  |  |11184|     17|            }
  |  |11185|    297|            else {
  |  |11186|    297|                prev_exc = PyStackRef_None;
  |  |  ------------------
  |  |  |  |  485|    297|#define PyStackRef_None ((_PyStackRef){.bits = ((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    297|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11187|    297|            }
  |  |11188|    314|            assert(PyStackRef_ExceptionInstanceCheck(exc));
  |  |  ------------------
  |  |  |  Branch (11188:13): [True: 314, False: 0]
  |  |  ------------------
  |  |11189|    314|            exc_info->exc_value = PyStackRef_AsPyObjectNew(exc);
  |  |  ------------------
  |  |  |  |  757|    314|#define PyStackRef_AsPyObjectNew(stackref) Py_NewRef(PyStackRef_AsPyObjectBorrow(stackref))
  |  |  |  |  ------------------
  |  |  |  |  |  |  550|    314|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    314|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    314|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11190|    314|            new_exc = exc;
  |  |11191|    314|            stack_pointer[-1] = prev_exc;
  |  |11192|    314|            stack_pointer[0] = new_exc;
  |  |11193|    314|            stack_pointer += 1;
  |  |11194|    314|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    314|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11195|    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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    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|    }
  |  |  ------------------
  |  |11196|    314|        }
  |  |11197|       |
  |  |11198|  2.58k|        TARGET(PUSH_NULL) {
  |  |  ------------------
  |  |  |  |  132|  2.58k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11199|       |            #if _Py_TAIL_CALL_INTERP
  |  |11200|       |            int opcode = PUSH_NULL;
  |  |11201|       |            (void)(opcode);
  |  |11202|       |            #endif
  |  |11203|  2.58k|            frame->instr_ptr = next_instr;
  |  |11204|  2.58k|            next_instr += 1;
  |  |11205|  2.58k|            INSTRUCTION_STATS(PUSH_NULL);
  |  |  ------------------
  |  |  |  |   71|  2.58k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11206|  2.58k|            _PyStackRef res;
  |  |11207|  2.58k|            res = PyStackRef_NULL;
  |  |11208|  2.58k|            stack_pointer[0] = res;
  |  |11209|  2.58k|            stack_pointer += 1;
  |  |11210|  2.58k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.58k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11211|  2.58k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.58k|    { \
  |  |  |  |  201|  2.58k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.58k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.58k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.58k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  2.58k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.58k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.58k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.58k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.58k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.58k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.58k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.58k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.58k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.58k|    }
  |  |  ------------------
  |  |11212|  2.58k|        }
  |  |11213|       |
  |  |11214|  2.58k|        TARGET(RAISE_VARARGS) {
  |  |  ------------------
  |  |  |  |  132|     40|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11215|       |            #if _Py_TAIL_CALL_INTERP
  |  |11216|       |            int opcode = RAISE_VARARGS;
  |  |11217|       |            (void)(opcode);
  |  |11218|       |            #endif
  |  |11219|     40|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11220|     40|            (void)this_instr;
  |  |11221|     40|            frame->instr_ptr = next_instr;
  |  |11222|     40|            next_instr += 1;
  |  |11223|     40|            INSTRUCTION_STATS(RAISE_VARARGS);
  |  |  ------------------
  |  |  |  |   71|     40|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11224|     40|            _PyStackRef *args;
  |  |11225|     40|            args = &stack_pointer[-oparg];
  |  |11226|     40|            assert(oparg < 3);
  |  |  ------------------
  |  |  |  Branch (11226:13): [True: 40, False: 0]
  |  |  ------------------
  |  |11227|     40|            PyObject *cause = oparg == 2 ? PyStackRef_AsPyObjectSteal(args[1]) : NULL;
  |  |  ------------------
  |  |  |  Branch (11227:31): [True: 2, False: 38]
  |  |  ------------------
  |  |11228|     40|            PyObject *exc = oparg > 0 ? PyStackRef_AsPyObjectSteal(args[0]) : NULL;
  |  |  ------------------
  |  |  |  Branch (11228:29): [True: 40, False: 0]
  |  |  ------------------
  |  |11229|     40|            stack_pointer += -oparg;
  |  |11230|     40|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     40|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11231|     40|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11232|     40|            _PyFrame_StackPointerValidate(frame);
  |  |11233|     40|            int err = do_raise(tstate, exc, cause);
  |  |11234|     40|            _PyFrame_StackPointerInvalidate(frame);
  |  |11235|     40|            if (err) {
  |  |  ------------------
  |  |  |  Branch (11235:17): [True: 0, False: 40]
  |  |  ------------------
  |  |11236|      0|                assert(oparg == 0);
  |  |  ------------------
  |  |  |  Branch (11236:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11237|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (11237:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11238|      0|                _PyFrame_StackPointerValidate(frame);
  |  |11239|      0|                monitor_reraise(tstate, frame, this_instr);
  |  |11240|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |11241|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (11241:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11242|      0|                _PyFrame_StackPointerValidate(frame);
  |  |11243|      0|                JUMP_TO_LABEL(exception_unwind);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11244|      0|            }
  |  |11245|     40|            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|     40|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11246|      0|        }
  |  |11247|       |
  |  |11248|     20|        TARGET(RERAISE) {
  |  |  ------------------
  |  |  |  |  132|     20|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11249|       |            #if _Py_TAIL_CALL_INTERP
  |  |11250|       |            int opcode = RERAISE;
  |  |11251|       |            (void)(opcode);
  |  |11252|       |            #endif
  |  |11253|     20|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11254|     20|            (void)this_instr;
  |  |11255|     20|            frame->instr_ptr = next_instr;
  |  |11256|     20|            next_instr += 1;
  |  |11257|     20|            INSTRUCTION_STATS(RERAISE);
  |  |  ------------------
  |  |  |  |   71|     20|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11258|     20|            _PyStackRef *values;
  |  |11259|     20|            _PyStackRef exc_st;
  |  |11260|     20|            exc_st = stack_pointer[-1];
  |  |11261|     20|            values = &stack_pointer[-1 - oparg];
  |  |11262|     20|            PyObject *exc = PyStackRef_AsPyObjectSteal(exc_st);
  |  |11263|     20|            assert(oparg >= 0 && oparg <= 2);
  |  |  ------------------
  |  |  |  Branch (11263:13): [True: 20, False: 0]
  |  |  |  Branch (11263:13): [True: 20, False: 0]
  |  |  ------------------
  |  |11264|     20|            if (oparg) {
  |  |  ------------------
  |  |  |  Branch (11264:17): [True: 16, False: 4]
  |  |  ------------------
  |  |11265|     16|                frame->instr_ptr = _PyFrame_GetBytecode(frame) + PyStackRef_UntagInt(values[0]);
  |  |11266|     16|            }
  |  |11267|     20|            assert(exc && PyExceptionInstance_Check(exc));
  |  |  ------------------
  |  |  |  Branch (11267:13): [True: 20, False: 0]
  |  |  |  Branch (11267:13): [True: 20, False: 0]
  |  |  ------------------
  |  |11268|     20|            stack_pointer += -1;
  |  |11269|     20|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     20|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11270|     20|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11271|     20|            _PyFrame_StackPointerValidate(frame);
  |  |11272|     20|            _PyErr_SetRaisedException(tstate, exc);
  |  |11273|     20|            _PyFrame_StackPointerInvalidate(frame);
  |  |11274|     20|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (11274:13): [True: 20, False: 0]
  |  |  ------------------
  |  |11275|     20|            _PyFrame_StackPointerValidate(frame);
  |  |11276|     20|            monitor_reraise(tstate, frame, this_instr);
  |  |11277|     20|            _PyFrame_StackPointerInvalidate(frame);
  |  |11278|     20|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (11278:13): [True: 20, False: 0]
  |  |  ------------------
  |  |11279|     20|            _PyFrame_StackPointerValidate(frame);
  |  |11280|     20|            JUMP_TO_LABEL(exception_unwind);
  |  |  ------------------
  |  |  |  |  135|     20|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11281|      0|        }
  |  |11282|       |
  |  |11283|      0|        TARGET(RESERVED) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11284|       |            #if _Py_TAIL_CALL_INTERP
  |  |11285|       |            int opcode = RESERVED;
  |  |11286|       |            (void)(opcode);
  |  |11287|       |            #endif
  |  |11288|      0|            frame->instr_ptr = next_instr;
  |  |11289|      0|            next_instr += 1;
  |  |11290|      0|            INSTRUCTION_STATS(RESERVED);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11291|      0|            assert(0 && "Executing RESERVED instruction.");
  |  |  ------------------
  |  |  |  Branch (11291:13): [Folded, False: 0]
  |  |  |  Branch (11291:13): [True: 0, False: 0]
  |  |  ------------------
  |  |11292|      0|            Py_FatalError("Executing RESERVED instruction.");
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  |  |11293|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded - Ignored]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  |11294|      0|        }
  |  |11295|       |
  |  |11296|    810|        TARGET(RESUME) {
  |  |  ------------------
  |  |  |  |  132|    810|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11297|       |            #if _Py_TAIL_CALL_INTERP
  |  |11298|       |            int opcode = RESUME;
  |  |11299|       |            (void)(opcode);
  |  |11300|       |            #endif
  |  |11301|    810|            frame->instr_ptr = next_instr;
  |  |11302|    810|            next_instr += 2;
  |  |11303|    810|            INSTRUCTION_STATS(RESUME);
  |  |  ------------------
  |  |  |  |   71|    810|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11304|    810|            PREDICTED_RESUME:;
  |  |11305|    810|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  |11306|    810|            (void)this_instr;
  |  |11307|       |            // _LOAD_BYTECODE
  |  |11308|    810|            {
  |  |11309|       |                #ifdef Py_GIL_DISABLED
  |  |11310|       |                if (frame->tlbc_index !=
  |  |11311|       |                    ((_PyThreadStateImpl *)tstate)->tlbc_index) {
  |  |11312|       |                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11313|       |                    _PyFrame_StackPointerValidate(frame);
  |  |11314|       |                    _Py_CODEUNIT *bytecode =
  |  |11315|       |                    _PyEval_GetExecutableCode(tstate, _PyFrame_GetCode(frame));
  |  |11316|       |                    _PyFrame_StackPointerInvalidate(frame);
  |  |11317|       |                    if (bytecode == NULL) {
  |  |11318|       |                        JUMP_TO_LABEL(error);
  |  |11319|       |                    }
  |  |11320|       |                    ptrdiff_t off = this_instr - _PyFrame_GetBytecode(frame);
  |  |11321|       |                    frame->tlbc_index = ((_PyThreadStateImpl *)tstate)->tlbc_index;
  |  |11322|       |                    frame->instr_ptr = bytecode + off;
  |  |11323|       |                    next_instr = frame->instr_ptr;
  |  |11324|       |                    DISPATCH();
  |  |11325|       |                }
  |  |11326|       |                #endif
  |  |11327|    810|            }
  |  |11328|       |            // _MAYBE_INSTRUMENT
  |  |11329|    810|            {
  |  |11330|       |                #ifdef Py_GIL_DISABLED
  |  |11331|       |
  |  |11332|       |                int check_instrumentation = 1;
  |  |11333|       |                #else
  |  |11334|    810|                int check_instrumentation = (tstate->tracing == 0);
  |  |11335|    810|                #endif
  |  |11336|    810|                if (check_instrumentation) {
  |  |  ------------------
  |  |  |  Branch (11336:21): [True: 810, False: 0]
  |  |  ------------------
  |  |11337|    810|                    uintptr_t global_version = _Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker) & ~_PY_EVAL_EVENTS_MASK;
  |  |  ------------------
  |  |  |  |  356|    810|#define _PY_EVAL_EVENTS_MASK ((1 << _PY_EVAL_EVENTS_BITS)-1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  355|    810|#define _PY_EVAL_EVENTS_BITS 8
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11338|    810|                    uintptr_t code_version = FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(_PyFrame_GetCode(frame)->_co_instrumentation_version);
  |  |  ------------------
  |  |  |  |  152|    810|#define FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(value) value
  |  |  ------------------
  |  |11339|    810|                    if (code_version != global_version) {
  |  |  ------------------
  |  |  |  Branch (11339:25): [True: 0, False: 810]
  |  |  ------------------
  |  |11340|      0|                        _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11341|      0|                        _PyFrame_StackPointerValidate(frame);
  |  |11342|      0|                        int err = _Py_Instrument(_PyFrame_GetCode(frame), tstate->interp);
  |  |11343|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  |11344|      0|                        if (err) {
  |  |  ------------------
  |  |  |  Branch (11344:29): [True: 0, False: 0]
  |  |  ------------------
  |  |11345|      0|                            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11346|      0|                        }
  |  |11347|      0|                        next_instr = this_instr;
  |  |11348|      0|                        DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  |11349|      0|                    }
  |  |11350|    810|                }
  |  |11351|    810|            }
  |  |11352|       |            // _QUICKEN_RESUME
  |  |11353|    810|            {
  |  |11354|    810|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |11355|    810|                (void)counter;
  |  |11356|    810|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11357|    810|                _PyFrame_StackPointerValidate(frame);
  |  |11358|    810|                _Py_Specialize_Resume(this_instr, tstate, frame);
  |  |11359|    810|                _PyFrame_StackPointerInvalidate(frame);
  |  |11360|    810|            }
  |  |11361|       |            // _CHECK_PERIODIC_IF_NOT_YIELD_FROM
  |  |11362|    810|            {
  |  |11363|    810|                if ((oparg & RESUME_OPARG_LOCATION_MASK) < RESUME_AFTER_YIELD_FROM) {
  |  |  ------------------
  |  |  |  |   94|    810|#define RESUME_OPARG_LOCATION_MASK 0x7
  |  |  ------------------
  |  |                               if ((oparg & RESUME_OPARG_LOCATION_MASK) < RESUME_AFTER_YIELD_FROM) {
  |  |  ------------------
  |  |  |  |   90|    810|#define RESUME_AFTER_YIELD_FROM 2
  |  |  ------------------
  |  |  |  Branch (11363:21): [True: 791, False: 19]
  |  |  ------------------
  |  |11364|    791|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (11364:21): [True: 791, False: 0]
  |  |  ------------------
  |  |11365|    791|                    _PyFrame_StackPointerValidate(frame);
  |  |11366|    791|                    int err = check_periodics(tstate);
  |  |11367|    791|                    _PyFrame_StackPointerInvalidate(frame);
  |  |11368|    791|                    if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (11368:25): [True: 0, False: 791]
  |  |  ------------------
  |  |11369|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11370|      0|                    }
  |  |11371|    791|                }
  |  |11372|    810|            }
  |  |11373|    810|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    810|    { \
  |  |  |  |  201|    810|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    810|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    810|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    810|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    810|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    810|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    810|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    810|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 810]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    810|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    810|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    810|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    810|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    810|    }
  |  |  ------------------
  |  |11374|    810|        }
  |  |11375|       |
  |  |11376|  7.50k|        TARGET(RESUME_CHECK) {
  |  |  ------------------
  |  |  |  |  132|  7.50k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11377|       |            #if _Py_TAIL_CALL_INTERP
  |  |11378|       |            int opcode = RESUME_CHECK;
  |  |11379|       |            (void)(opcode);
  |  |11380|       |            #endif
  |  |11381|  7.50k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11382|  7.50k|            (void)this_instr;
  |  |11383|  7.50k|            frame->instr_ptr = next_instr;
  |  |11384|  7.50k|            next_instr += 2;
  |  |11385|  7.50k|            INSTRUCTION_STATS(RESUME_CHECK);
  |  |  ------------------
  |  |  |  |   71|  7.50k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11386|  7.50k|            static_assert(1 == 1, "incorrect cache size");
  |  |11387|       |            /* Skip 1 cache entry */
  |  |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|  7.50k|            uintptr_t eval_breaker = _Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker);
  |  |11397|  7.50k|            uintptr_t version = FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(_PyFrame_GetCode(frame)->_co_instrumentation_version);
  |  |  ------------------
  |  |  |  |  152|  7.50k|#define FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(value) value
  |  |  ------------------
  |  |11398|  7.50k|            assert((version & _PY_EVAL_EVENTS_MASK) == 0);
  |  |  ------------------
  |  |  |  Branch (11398:13): [True: 7.50k, False: 0]
  |  |  ------------------
  |  |11399|  7.50k|            if (eval_breaker != version) {
  |  |  ------------------
  |  |  |  Branch (11399:17): [True: 0, False: 7.50k]
  |  |  ------------------
  |  |11400|      0|                UPDATE_MISS_STATS(RESUME);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11401|      0|                assert(_PyOpcode_Deopt[opcode] == (RESUME));
  |  |  ------------------
  |  |  |  Branch (11401:17): [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|  7.50k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  7.50k|    { \
  |  |  |  |  201|  7.50k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  7.50k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  7.50k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  7.50k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  7.50k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  7.50k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  7.50k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  7.50k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 7.50k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  7.50k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  7.50k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  7.50k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  7.50k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  7.50k|    }
  |  |  ------------------
  |  |11413|  7.50k|        }
  |  |11414|       |
  |  |11415|      0|        TARGET(RESUME_CHECK_JIT) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11416|       |            #if _Py_TAIL_CALL_INTERP
  |  |11417|       |            int opcode = RESUME_CHECK_JIT;
  |  |11418|       |            (void)(opcode);
  |  |11419|       |            #endif
  |  |11420|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11421|      0|            (void)this_instr;
  |  |11422|      0|            frame->instr_ptr = next_instr;
  |  |11423|      0|            next_instr += 2;
  |  |11424|      0|            INSTRUCTION_STATS(RESUME_CHECK_JIT);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11425|      0|            static_assert(1 == 1, "incorrect cache size");
  |  |11426|       |            /* Skip 1 cache entry */
  |  |11427|       |            // _RESUME_CHECK
  |  |11428|      0|            {
  |  |11429|       |                #if defined(__EMSCRIPTEN__)
  |  |11430|       |                if (_Py_emscripten_signal_clock == 0) {
  |  |11431|       |                    UPDATE_MISS_STATS(RESUME);
  |  |11432|       |                    assert(_PyOpcode_Deopt[opcode] == (RESUME));
  |  |11433|       |                    JUMP_TO_PREDICTED(RESUME);
  |  |11434|       |                }
  |  |11435|       |                _Py_emscripten_signal_clock -= Py_EMSCRIPTEN_SIGNAL_HANDLING;
  |  |11436|       |                #endif
  |  |11437|      0|                uintptr_t eval_breaker = _Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker);
  |  |11438|      0|                uintptr_t version = FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(_PyFrame_GetCode(frame)->_co_instrumentation_version);
  |  |  ------------------
  |  |  |  |  152|      0|#define FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(value) value
  |  |  ------------------
  |  |11439|      0|                assert((version & _PY_EVAL_EVENTS_MASK) == 0);
  |  |  ------------------
  |  |  |  Branch (11439:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11440|      0|                if (eval_breaker != version) {
  |  |  ------------------
  |  |  |  Branch (11440:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11441|      0|                    UPDATE_MISS_STATS(RESUME);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11442|      0|                    assert(_PyOpcode_Deopt[opcode] == (RESUME));
  |  |  ------------------
  |  |  |  Branch (11442:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11443|      0|                    JUMP_TO_PREDICTED(RESUME);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11444|      0|                }
  |  |11445|       |                #ifdef Py_GIL_DISABLED
  |  |11446|       |                if (frame->tlbc_index !=
  |  |11447|       |                    ((_PyThreadStateImpl *)tstate)->tlbc_index) {
  |  |11448|       |                    UPDATE_MISS_STATS(RESUME);
  |  |11449|       |                    assert(_PyOpcode_Deopt[opcode] == (RESUME));
  |  |11450|       |                    JUMP_TO_PREDICTED(RESUME);
  |  |11451|       |                }
  |  |11452|       |                #endif
  |  |11453|      0|            }
  |  |11454|       |            // _JIT
  |  |11455|      0|            {
  |  |11456|       |                #ifdef _Py_TIER2
  |  |11457|       |                bool is_resume = this_instr->op.code == RESUME_CHECK_JIT;
  |  |11458|       |                _Py_BackoffCounter counter = this_instr[1].counter;
  |  |11459|       |                if ((backoff_counter_triggers(counter) &&
  |  |11460|       |                        !IS_JIT_TRACING() &&
  |  |11461|       |                        (this_instr->op.code == JUMP_BACKWARD_JIT || is_resume)) &&
  |  |11462|       |                    next_instr->op.code != ENTER_EXECUTOR) {
  |  |11463|       |                    _Py_CODEUNIT *insert_exec_at = this_instr;
  |  |11464|       |                    for (int tmp = oparg; tmp > 255; tmp >>= 8) {
  |  |11465|       |                        insert_exec_at--;
  |  |11466|       |                    }
  |  |11467|       |                    int succ = _PyJit_TryInitializeTracing(tstate, frame, this_instr, insert_exec_at,
  |  |11468|       |                        is_resume ? insert_exec_at : next_instr, stack_pointer, 0, NULL, oparg, NULL);
  |  |11469|       |                    if (succ) {
  |  |11470|       |                        ENTER_TRACING();
  |  |11471|       |                    }
  |  |11472|       |                    else {
  |  |11473|       |                        this_instr[1].counter = restart_backoff_counter(counter);
  |  |11474|       |                    }
  |  |11475|       |                }
  |  |11476|       |                else {
  |  |11477|       |                    ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |11478|       |                }
  |  |11479|       |                #endif
  |  |11480|      0|            }
  |  |11481|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  |11482|      0|        }
  |  |11483|       |
  |  |11484|    113|        TARGET(RETURN_GENERATOR) {
  |  |  ------------------
  |  |  |  |  132|    113|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11485|       |            #if _Py_TAIL_CALL_INTERP
  |  |11486|       |            int opcode = RETURN_GENERATOR;
  |  |11487|       |            (void)(opcode);
  |  |11488|       |            #endif
  |  |11489|    113|            frame->instr_ptr = next_instr;
  |  |11490|    113|            next_instr += 1;
  |  |11491|    113|            INSTRUCTION_STATS(RETURN_GENERATOR);
  |  |  ------------------
  |  |  |  |   71|    113|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11492|    113|            _PyStackRef res;
  |  |11493|    113|            assert(PyStackRef_FunctionCheck(frame->f_funcobj));
  |  |  ------------------
  |  |  |  Branch (11493:13): [True: 113, False: 0]
  |  |  ------------------
  |  |11494|    113|            PyFunctionObject *func = (PyFunctionObject *)PyStackRef_AsPyObjectBorrow(frame->f_funcobj);
  |  |11495|    113|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11496|    113|            _PyFrame_StackPointerValidate(frame);
  |  |11497|    113|            PyGenObject *gen = (PyGenObject *)_Py_MakeCoro(func);
  |  |11498|    113|            _PyFrame_StackPointerInvalidate(frame);
  |  |11499|    113|            if (gen == NULL) {
  |  |  ------------------
  |  |  |  Branch (11499:17): [True: 0, False: 113]
  |  |  ------------------
  |  |11500|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11501|      0|            }
  |  |11502|    113|            assert(STACK_LEVEL() <= 2);
  |  |  ------------------
  |  |  |  Branch (11502:13): [True: 113, False: 0]
  |  |  ------------------
  |  |11503|    113|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (11503:13): [True: 113, False: 0]
  |  |  ------------------
  |  |11504|    113|            _PyFrame_StackPointerValidate(frame);
  |  |11505|    113|            _PyInterpreterFrame *gen_frame = &gen->gi_iframe;
  |  |11506|    113|            frame->instr_ptr++;
  |  |11507|    113|            _PyFrame_Copy(frame, gen_frame);
  |  |11508|    113|            assert(frame->frame_obj == NULL);
  |  |  ------------------
  |  |  |  Branch (11508:13): [True: 113, False: 0]
  |  |  ------------------
  |  |11509|    113|            gen->gi_frame_state = FRAME_CREATED;
  |  |11510|    113|            gen_frame->owner = FRAME_OWNED_BY_GENERATOR;
  |  |11511|    113|            _Py_LeaveRecursiveCallPy(tstate);
  |  |11512|    113|            _PyInterpreterFrame *prev = frame->previous;
  |  |11513|    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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11514|    113|            _PyThreadState_PopFrame(tstate, frame);
  |  |11515|    113|            frame = tstate->current_frame = prev;
  |  |11516|    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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11517|    113|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11518|    113|            _PyFrame_StackPointerInvalidate(frame);
  |  |11519|    113|            res = PyStackRef_FromPyObjectStealMortal((PyObject *)gen);
  |  |11520|    113|            LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|    113|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  |11521|    113|            stack_pointer[0] = res;
  |  |11522|    113|            stack_pointer += 1;
  |  |11523|    113|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    113|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11524|    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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    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|    }
  |  |  ------------------
  |  |11525|    113|        }
  |  |11526|       |
  |  |11527|  8.25k|        TARGET(RETURN_VALUE) {
  |  |  ------------------
  |  |  |  |  132|  8.25k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11528|       |            #if _Py_TAIL_CALL_INTERP
  |  |11529|       |            int opcode = RETURN_VALUE;
  |  |11530|       |            (void)(opcode);
  |  |11531|       |            #endif
  |  |11532|  8.25k|            frame->instr_ptr = next_instr;
  |  |11533|  8.25k|            next_instr += 1;
  |  |11534|  8.25k|            INSTRUCTION_STATS(RETURN_VALUE);
  |  |  ------------------
  |  |  |  |   71|  8.25k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11535|  8.25k|            _PyStackRef value;
  |  |11536|  8.25k|            _PyStackRef retval;
  |  |11537|  8.25k|            _PyStackRef res;
  |  |11538|       |            // _MAKE_HEAP_SAFE
  |  |11539|  8.25k|            {
  |  |11540|  8.25k|                value = stack_pointer[-1];
  |  |11541|  8.25k|                value = PyStackRef_MakeHeapSafe(value);
  |  |11542|  8.25k|            }
  |  |11543|       |            // _RETURN_VALUE
  |  |11544|  8.25k|            {
  |  |11545|  8.25k|                retval = value;
  |  |11546|  8.25k|                assert(frame->owner != FRAME_OWNED_BY_INTERPRETER);
  |  |  ------------------
  |  |  |  Branch (11546:17): [True: 8.25k, False: 0]
  |  |  ------------------
  |  |11547|  8.25k|                _PyStackRef temp = retval;
  |  |11548|  8.25k|                stack_pointer += -1;
  |  |11549|  8.25k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  8.25k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11550|  8.25k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11551|  8.25k|                _PyFrame_StackPointerValidate(frame);
  |  |11552|  8.25k|                assert(STACK_LEVEL() == 0);
  |  |  ------------------
  |  |  |  Branch (11552:17): [True: 8.25k, False: 0]
  |  |  ------------------
  |  |11553|  8.25k|                DTRACE_FUNCTION_RETURN();
  |  |  ------------------
  |  |  |  |  347|  8.25k|#define DTRACE_FUNCTION_RETURN() ((void)0)
  |  |  ------------------
  |  |11554|  8.25k|                _Py_LeaveRecursiveCallPy(tstate);
  |  |11555|  8.25k|                _PyInterpreterFrame *dying = frame;
  |  |11556|  8.25k|                frame = tstate->current_frame = dying->previous;
  |  |11557|  8.25k|                _PyEval_FrameClearAndPop(tstate, dying);
  |  |11558|  8.25k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11559|  8.25k|                _PyFrame_StackPointerInvalidate(frame);
  |  |11560|  8.25k|                LOAD_IP(frame->return_offset);
  |  |  ------------------
  |  |  |  |  441|  8.25k|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|  8.25k|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|  8.25k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 8.25k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11561|  8.25k|                res = temp;
  |  |11562|  8.25k|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  8.25k|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  |11563|  8.25k|            }
  |  |11564|      0|            stack_pointer[0] = res;
  |  |11565|  8.25k|            stack_pointer += 1;
  |  |11566|  8.25k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  8.25k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11567|  8.25k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  8.25k|    { \
  |  |  |  |  201|  8.25k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  8.25k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  8.25k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  8.25k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  8.25k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  8.25k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  8.25k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  8.25k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 8.25k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  8.25k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  8.25k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  8.25k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  8.25k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  8.25k|    }
  |  |  ------------------
  |  |11568|  8.25k|        }
  |  |11569|       |
  |  |11570|      2|        TARGET(SEND) {
  |  |  ------------------
  |  |  |  |  132|      2|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11571|       |            #if _Py_TAIL_CALL_INTERP
  |  |11572|       |            int opcode = SEND;
  |  |11573|       |            (void)(opcode);
  |  |11574|       |            #endif
  |  |11575|      2|            frame->instr_ptr = next_instr;
  |  |11576|      2|            next_instr += 2;
  |  |11577|      2|            INSTRUCTION_STATS(SEND);
  |  |  ------------------
  |  |  |  |   71|      2|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11578|      2|            PREDICTED_SEND:;
  |  |11579|      2|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  |11580|      2|            (void)this_instr;
  |  |11581|      2|            _PyStackRef receiver;
  |  |11582|      2|            _PyStackRef null_or_index;
  |  |11583|      2|            _PyStackRef v;
  |  |11584|      2|            _PyStackRef retval;
  |  |11585|       |            // _SPECIALIZE_SEND
  |  |11586|      2|            {
  |  |11587|      2|                receiver = stack_pointer[-3];
  |  |11588|      2|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |11589|      2|                (void)counter;
  |  |11590|      2|                #if ENABLE_SPECIALIZATION
  |  |11591|      2|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|      2|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 1, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11592|      1|                    next_instr = this_instr;
  |  |11593|      1|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11594|      1|                    _PyFrame_StackPointerValidate(frame);
  |  |11595|      1|                    _Py_Specialize_Send(receiver, next_instr);
  |  |11596|      1|                    _PyFrame_StackPointerInvalidate(frame);
  |  |11597|      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|    }
  |  |  ------------------
  |  |11598|      1|                }
  |  |11599|      2|                OPCODE_DEFERRED_INC(SEND);
  |  |  ------------------
  |  |  |  |   90|      2|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |11600|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11601|      2|                #endif  /* ENABLE_SPECIALIZATION */
  |  |11602|      2|            }
  |  |11603|       |            // _SEND
  |  |11604|      2|            {
  |  |11605|      2|                v = stack_pointer[-1];
  |  |11606|      2|                null_or_index = stack_pointer[-2];
  |  |11607|      2|                PyObject *receiver_o = PyStackRef_AsPyObjectBorrow(receiver);
  |  |11608|      2|                assert(frame->owner != FRAME_OWNED_BY_INTERPRETER);
  |  |  ------------------
  |  |  |  Branch (11608:17): [True: 1, False: 1]
  |  |  ------------------
  |  |11609|      1|                if (!IS_PEP523_HOOKED(tstate) &&
  |  |  ------------------
  |  |  |  |  539|      2|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  ------------------
  |  |  |  Branch (11609:21): [True: 1, False: 0]
  |  |  ------------------
  |  |11610|      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 (11610:22): [True: 0, False: 1]
  |  |  |  Branch (11610:60): [True: 0, False: 1]
  |  |  ------------------
  |  |11611|      0|                    gen_try_set_executing((PyGenObject *)receiver_o))
  |  |  ------------------
  |  |  |  Branch (11611:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11612|      0|                {
  |  |11613|      0|                    PyGenObject *gen = (PyGenObject *)receiver_o;
  |  |11614|      0|                    _PyInterpreterFrame *gen_frame = &gen->gi_iframe;
  |  |11615|      0|                    _PyFrame_StackPush(gen_frame, PyStackRef_MakeHeapSafe(v));
  |  |11616|      0|                    stack_pointer += -1;
  |  |11617|      0|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11618|      0|                    gen->gi_exc_state.previous_item = tstate->exc_info;
  |  |11619|      0|                    tstate->exc_info = &gen->gi_exc_state;
  |  |11620|      0|                    assert( 2u + oparg <= UINT16_MAX);
  |  |  ------------------
  |  |  |  Branch (11620:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11621|      0|                    frame->return_offset = (uint16_t)( 2u + oparg);
  |  |11622|      0|                    assert(gen_frame->previous == NULL);
  |  |  ------------------
  |  |  |  Branch (11622:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11623|      0|                    gen_frame->previous = frame;
  |  |11624|      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 (11624:21): [True: 0, False: 0]
  |  |  |  Branch (11624:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11625|      0|                }
  |  |11626|      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 (11626:21): [True: 1, False: 0]
  |  |  ------------------
  |  |11627|      1|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11628|      1|                    _PyFrame_StackPointerValidate(frame);
  |  |11629|      1|                    _PyStackRef item = _PyForIter_VirtualIteratorNext(tstate, frame, receiver, &null_or_index);
  |  |11630|      1|                    _PyFrame_StackPointerInvalidate(frame);
  |  |11631|      1|                    if (!PyStackRef_IsValid(item)) {
  |  |  ------------------
  |  |  |  Branch (11631:25): [True: 0, False: 1]
  |  |  ------------------
  |  |11632|      0|                        if (PyStackRef_IsError(item)) {
  |  |  ------------------
  |  |  |  Branch (11632:29): [True: 0, False: 0]
  |  |  ------------------
  |  |11633|      0|                            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11634|      0|                        }
  |  |11635|      0|                        JUMPBY(oparg);
  |  |  ------------------
  |  |  |  |  261|      0|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  |11636|      0|                        stack_pointer[-2] = null_or_index;
  |  |11637|      0|                        DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  |11638|      0|                    }
  |  |11639|      1|                    retval = item;
  |  |11640|      1|                }
  |  |11641|      0|                else {
  |  |11642|      0|                    PyObject *v_o = PyStackRef_AsPyObjectBorrow(v);
  |  |11643|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11644|      0|                    _PyFrame_StackPointerValidate(frame);
  |  |11645|      0|                    PySendResultPair res = _PyIter_Send(receiver_o, v_o);
  |  |11646|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  |11647|      0|                    if (res.kind == PYGEN_ERROR) {
  |  |  ------------------
  |  |  |  Branch (11647:25): [True: 0, False: 0]
  |  |  ------------------
  |  |11648|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11649|      0|                    }
  |  |11650|      0|                    stack_pointer += -1;
  |  |11651|      0|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11652|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11653|      0|                    _PyFrame_StackPointerValidate(frame);
  |  |11654|      0|                    PyStackRef_CLOSE(v);
  |  |11655|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  |11656|      0|                    retval = PyStackRef_FromPyObjectSteal(res.object);
  |  |11657|      0|                    if (res.kind == PYGEN_RETURN) {
  |  |  ------------------
  |  |  |  Branch (11657:25): [True: 0, False: 0]
  |  |  ------------------
  |  |11658|      0|                        JUMPBY(oparg);
  |  |  ------------------
  |  |  |  |  261|      0|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  |11659|      0|                    }
  |  |11660|      0|                    stack_pointer += 1;
  |  |11661|      0|                }
  |  |11662|      1|            }
  |  |11663|      1|            stack_pointer[-2] = null_or_index;
  |  |11664|      1|            stack_pointer[-1] = retval;
  |  |11665|      1|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      1|    { \
  |  |  |  |  201|      1|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      1|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      1|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      1|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      1|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      1|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      1|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      1|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      1|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      1|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      1|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      1|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      1|    }
  |  |  ------------------
  |  |11666|      1|        }
  |  |11667|       |
  |  |11668|      0|        TARGET(SEND_ASYNC_GEN) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11669|       |            #if _Py_TAIL_CALL_INTERP
  |  |11670|       |            int opcode = SEND_ASYNC_GEN;
  |  |11671|       |            (void)(opcode);
  |  |11672|       |            #endif
  |  |11673|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11674|      0|            (void)this_instr;
  |  |11675|      0|            frame->instr_ptr = next_instr;
  |  |11676|      0|            next_instr += 2;
  |  |11677|      0|            INSTRUCTION_STATS(SEND_ASYNC_GEN);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11678|      0|            static_assert(INLINE_CACHE_ENTRIES_SEND == 1, "incorrect cache size");
  |  |11679|      0|            _PyStackRef iter;
  |  |11680|      0|            _PyStackRef null_in;
  |  |11681|      0|            _PyStackRef v;
  |  |11682|      0|            _PyStackRef asend;
  |  |11683|      0|            _PyStackRef null_out;
  |  |11684|      0|            _PyStackRef retval;
  |  |11685|       |            /* Skip 1 cache entry */
  |  |11686|       |            // _GUARD_3OS_ASYNC_GEN_ASEND
  |  |11687|      0|            {
  |  |11688|      0|                iter = stack_pointer[-3];
  |  |11689|      0|                PyObject *iter_o = PyStackRef_AsPyObjectBorrow(iter);
  |  |11690|      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 (11690:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11691|      0|                    UPDATE_MISS_STATS(SEND);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11692|      0|                    assert(_PyOpcode_Deopt[opcode] == (SEND));
  |  |  ------------------
  |  |  |  Branch (11692:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11693|      0|                    JUMP_TO_PREDICTED(SEND);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11694|      0|                }
  |  |11695|      0|            }
  |  |11696|       |            // _SEND_ASYNC_GEN
  |  |11697|      0|            {
  |  |11698|      0|                v = stack_pointer[-1];
  |  |11699|      0|                null_in = stack_pointer[-2];
  |  |11700|      0|                PyObject *iter_o = PyStackRef_AsPyObjectBorrow(iter);
  |  |11701|      0|                assert(PyAsyncGenASend_CheckExact(iter_o));
  |  |  ------------------
  |  |  |  Branch (11701:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11702|      0|                PyObject *val = PyStackRef_AsPyObjectBorrow(v);
  |  |11703|      0|                PyObject *retval_o;
  |  |11704|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11705|      0|                _PyFrame_StackPointerValidate(frame);
  |  |11706|      0|                PySendResult what = _PyAsyncGenASend_Send(iter_o, val, &retval_o);
  |  |11707|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |11708|      0|                if (what == PYGEN_ERROR) {
  |  |  ------------------
  |  |  |  Branch (11708:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11709|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11710|      0|                }
  |  |11711|      0|                stack_pointer += -1;
  |  |11712|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11713|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11714|      0|                _PyFrame_StackPointerValidate(frame);
  |  |11715|      0|                PyStackRef_CLOSE(v);
  |  |11716|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |11717|      0|                asend = iter;
  |  |11718|      0|                null_out = null_in;
  |  |11719|      0|                retval = PyStackRef_FromPyObjectSteal(retval_o);
  |  |11720|      0|                if (what == PYGEN_RETURN) {
  |  |  ------------------
  |  |  |  Branch (11720:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11721|      0|                    JUMPBY(oparg);
  |  |  ------------------
  |  |  |  |  261|      0|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  |11722|      0|                }
  |  |11723|      0|            }
  |  |11724|      0|            stack_pointer[-2] = asend;
  |  |11725|      0|            stack_pointer[-1] = null_out;
  |  |11726|      0|            stack_pointer[0] = retval;
  |  |11727|      0|            stack_pointer += 1;
  |  |11728|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11729|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  |11730|      0|        }
  |  |11731|       |
  |  |11732|      0|        TARGET(SEND_GEN) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11733|       |            #if _Py_TAIL_CALL_INTERP
  |  |11734|       |            int opcode = SEND_GEN;
  |  |11735|       |            (void)(opcode);
  |  |11736|       |            #endif
  |  |11737|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11738|      0|            (void)this_instr;
  |  |11739|      0|            frame->instr_ptr = next_instr;
  |  |11740|      0|            next_instr += 2;
  |  |11741|      0|            INSTRUCTION_STATS(SEND_GEN);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11742|      0|            static_assert(INLINE_CACHE_ENTRIES_SEND == 1, "incorrect cache size");
  |  |11743|      0|            _PyStackRef receiver;
  |  |11744|      0|            _PyStackRef v;
  |  |11745|      0|            _PyStackRef gen_frame;
  |  |11746|      0|            _PyStackRef new_frame;
  |  |11747|       |            /* Skip 1 cache entry */
  |  |11748|       |            // _CHECK_PEP_523
  |  |11749|      0|            {
  |  |11750|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11751|      0|                    UPDATE_MISS_STATS(SEND);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11752|      0|                    assert(_PyOpcode_Deopt[opcode] == (SEND));
  |  |  ------------------
  |  |  |  Branch (11752:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11753|      0|                    JUMP_TO_PREDICTED(SEND);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11754|      0|                }
  |  |11755|      0|            }
  |  |11756|       |            // _SEND_GEN_FRAME
  |  |11757|      0|            {
  |  |11758|      0|                v = stack_pointer[-1];
  |  |11759|      0|                receiver = stack_pointer[-3];
  |  |11760|      0|                PyGenObject *gen = (PyGenObject *)PyStackRef_AsPyObjectBorrow(receiver);
  |  |11761|      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 (11761:21): [True: 0, False: 0]
  |  |  |  Branch (11761:52): [True: 0, False: 0]
  |  |  ------------------
  |  |11762|      0|                    UPDATE_MISS_STATS(SEND);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11763|      0|                    assert(_PyOpcode_Deopt[opcode] == (SEND));
  |  |  ------------------
  |  |  |  Branch (11763:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11764|      0|                    JUMP_TO_PREDICTED(SEND);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11765|      0|                }
  |  |11766|      0|                if (!gen_try_set_executing((PyGenObject *)gen)) {
  |  |  ------------------
  |  |  |  Branch (11766:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11767|      0|                    UPDATE_MISS_STATS(SEND);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11768|      0|                    assert(_PyOpcode_Deopt[opcode] == (SEND));
  |  |  ------------------
  |  |  |  Branch (11768:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11769|      0|                    JUMP_TO_PREDICTED(SEND);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11770|      0|                }
  |  |11771|      0|                STAT_INC(SEND, hit);
  |  |  ------------------
  |  |  |  |   73|      0|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |11772|      0|                _PyInterpreterFrame *pushed_frame = &gen->gi_iframe;
  |  |11773|      0|                _PyFrame_StackPush(pushed_frame, PyStackRef_MakeHeapSafe(v));
  |  |11774|      0|                gen->gi_exc_state.previous_item = tstate->exc_info;
  |  |11775|      0|                tstate->exc_info = &gen->gi_exc_state;
  |  |11776|      0|                assert( 2u + oparg <= UINT16_MAX);
  |  |  ------------------
  |  |  |  Branch (11776:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11777|      0|                frame->return_offset = (uint16_t)( 2u + oparg);
  |  |11778|      0|                pushed_frame->previous = frame;
  |  |11779|      0|                gen_frame = PyStackRef_Wrap(pushed_frame);
  |  |11780|      0|            }
  |  |11781|       |            // _PUSH_FRAME
  |  |11782|      0|            {
  |  |11783|      0|                new_frame = gen_frame;
  |  |11784|      0|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (11784:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11785|      0|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  |11786|      0|                stack_pointer += -1;
  |  |11787|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11788|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11789|      0|                _PyFrame_StackPointerValidate(frame);
  |  |11790|      0|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (11790:17): [True: 0, False: 0]
  |  |  |  Branch (11790:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11791|      0|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|      0|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  |11792|      0|                frame = tstate->current_frame = temp;
  |  |11793|      0|                tstate->py_recursion_remaining--;
  |  |11794|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11795|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |11796|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11797|       |                #ifdef Py_DEBUG
  |  |11798|       |                assert(frame->previous->stackpointer_valid == 1);
  |  |11799|       |                #endif
  |  |11800|      0|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|      0|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  |11801|      0|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|      0|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  |11802|      0|            }
  |  |11803|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  |11804|      0|        }
  |  |11805|       |
  |  |11806|      2|        TARGET(SEND_VIRTUAL) {
  |  |  ------------------
  |  |  |  |  132|      2|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11807|       |            #if _Py_TAIL_CALL_INTERP
  |  |11808|       |            int opcode = SEND_VIRTUAL;
  |  |11809|       |            (void)(opcode);
  |  |11810|       |            #endif
  |  |11811|      2|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11812|      2|            (void)this_instr;
  |  |11813|      2|            frame->instr_ptr = next_instr;
  |  |11814|      2|            next_instr += 2;
  |  |11815|      2|            INSTRUCTION_STATS(SEND_VIRTUAL);
  |  |  ------------------
  |  |  |  |   71|      2|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11816|      2|            static_assert(INLINE_CACHE_ENTRIES_SEND == 1, "incorrect cache size");
  |  |11817|      2|            _PyStackRef val;
  |  |11818|      2|            _PyStackRef nos;
  |  |11819|      2|            _PyStackRef iter;
  |  |11820|      2|            _PyStackRef null_or_index;
  |  |11821|      2|            _PyStackRef none;
  |  |11822|      2|            _PyStackRef next;
  |  |11823|       |            /* Skip 1 cache entry */
  |  |11824|       |            // _GUARD_TOS_IS_NONE
  |  |11825|      2|            {
  |  |11826|      2|                val = stack_pointer[-1];
  |  |11827|      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 (11827:21): [True: 0, False: 2]
  |  |  ------------------
  |  |11828|      0|                    UPDATE_MISS_STATS(SEND);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11829|      0|                    assert(_PyOpcode_Deopt[opcode] == (SEND));
  |  |  ------------------
  |  |  |  Branch (11829:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11830|      0|                    JUMP_TO_PREDICTED(SEND);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11831|      0|                }
  |  |11832|      2|            }
  |  |11833|       |            // _GUARD_NOS_NOT_NULL
  |  |11834|      2|            {
  |  |11835|      2|                nos = stack_pointer[-2];
  |  |11836|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11837|      0|                    UPDATE_MISS_STATS(SEND);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11838|      0|                    assert(_PyOpcode_Deopt[opcode] == (SEND));
  |  |  ------------------
  |  |  |  Branch (11838:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11839|      0|                    JUMP_TO_PREDICTED(SEND);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11840|      0|                }
  |  |11841|      2|            }
  |  |11842|       |            // _SEND_VIRTUAL
  |  |11843|      2|            {
  |  |11844|      2|                none = val;
  |  |11845|      2|                null_or_index = nos;
  |  |11846|      2|                iter = stack_pointer[-3];
  |  |11847|      2|                PyObject *iter_o = PyStackRef_AsPyObjectBorrow(iter);
  |  |11848|      2|                Py_ssize_t index = PyStackRef_UntagInt(null_or_index);
  |  |11849|      2|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11850|      2|                _PyFrame_StackPointerValidate(frame);
  |  |11851|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11852|      2|                _PyFrame_StackPointerInvalidate(frame);
  |  |11853|      2|                PyObject *next_o = next_index.object;
  |  |11854|      2|                index = next_index.index;
  |  |11855|      2|                if (next_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (11855:21): [True: 1, False: 1]
  |  |  ------------------
  |  |11856|      1|                    if (index < 0) {
  |  |  ------------------
  |  |  |  Branch (11856:25): [True: 0, False: 1]
  |  |  ------------------
  |  |11857|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11858|      0|                    }
  |  |11859|      1|                    next = none;
  |  |11860|      1|                    JUMPBY(oparg);
  |  |  ------------------
  |  |  |  |  261|      1|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  |11861|      1|                    DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      1|    { \
  |  |  |  |  201|      1|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      1|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      1|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      1|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      1|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      1|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      1|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      1|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      1|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      1|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      1|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      1|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      1|    }
  |  |  ------------------
  |  |11862|      1|                }
  |  |11863|      2|                next = PyStackRef_FromPyObjectSteal(next_o);
  |  |11864|      2|                null_or_index = PyStackRef_TagInt(index);
  |  |11865|      2|            }
  |  |11866|      0|            stack_pointer[-2] = null_or_index;
  |  |11867|      2|            stack_pointer[-1] = next;
  |  |11868|      2|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      2|    { \
  |  |  |  |  201|      2|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      2|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      2|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      2|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      2|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      2|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      2|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      2|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      2|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      2|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      2|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      2|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      2|    }
  |  |  ------------------
  |  |11869|      2|        }
  |  |11870|       |
  |  |11871|      0|        TARGET(SETUP_ANNOTATIONS) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11872|       |            #if _Py_TAIL_CALL_INTERP
  |  |11873|       |            int opcode = SETUP_ANNOTATIONS;
  |  |11874|       |            (void)(opcode);
  |  |11875|       |            #endif
  |  |11876|      0|            frame->instr_ptr = next_instr;
  |  |11877|      0|            next_instr += 1;
  |  |11878|      0|            INSTRUCTION_STATS(SETUP_ANNOTATIONS);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11879|      0|            if (LOCALS() == NULL) {
  |  |  ------------------
  |  |  |  |  328|      0|#define LOCALS() frame->f_locals
  |  |  ------------------
  |  |  |  Branch (11879:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11880|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11881|      0|                _PyFrame_StackPointerValidate(frame);
  |  |11882|      0|                _PyErr_Format(tstate, PyExc_SystemError,
  |  |11883|      0|                              "no locals found when setting up annotations");
  |  |11884|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |11885|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11886|      0|            }
  |  |11887|      0|            int err;
  |  |11888|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11889|      0|            _PyFrame_StackPointerValidate(frame);
  |  |11890|      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);
  |  |  ------------------
  |  |  |  |  936|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11891|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  |11892|      0|            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (11892:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11893|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11894|      0|            }
  |  |11895|      0|            if (ann_dict == NULL) {
  |  |  ------------------
  |  |  |  Branch (11895:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11896|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (11896:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11897|      0|                _PyFrame_StackPointerValidate(frame);
  |  |11898|      0|                ann_dict = PyDict_New();
  |  |11899|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |11900|      0|                if (ann_dict == NULL) {
  |  |  ------------------
  |  |  |  Branch (11900:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11901|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11902|      0|                }
  |  |11903|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (11903:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11904|      0|                _PyFrame_StackPointerValidate(frame);
  |  |11905|      0|                err = PyObject_SetItem(LOCALS(), &_Py_ID(__annotations__),
  |  |  ------------------
  |  |  |  |  328|      0|#define LOCALS() frame->f_locals
  |  |  ------------------
  |  |                               err = PyObject_SetItem(LOCALS(), &_Py_ID(__annotations__),
  |  |  ------------------
  |  |  |  |  936|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11906|      0|                                       ann_dict);
  |  |11907|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |11908|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (11908:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11909|      0|                _PyFrame_StackPointerValidate(frame);
  |  |11910|      0|                Py_DECREF(ann_dict);
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11911|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |11912|      0|                if (err) {
  |  |  ------------------
  |  |  |  Branch (11912:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11913|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11914|      0|                }
  |  |11915|      0|            }
  |  |11916|      0|            else {
  |  |11917|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (11917:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11918|      0|                _PyFrame_StackPointerValidate(frame);
  |  |11919|      0|                Py_DECREF(ann_dict);
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11920|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |11921|      0|            }
  |  |11922|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  |11923|      0|        }
  |  |11924|       |
  |  |11925|      2|        TARGET(SET_ADD) {
  |  |  ------------------
  |  |  |  |  132|      2|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11926|       |            #if _Py_TAIL_CALL_INTERP
  |  |11927|       |            int opcode = SET_ADD;
  |  |11928|       |            (void)(opcode);
  |  |11929|       |            #endif
  |  |11930|      2|            frame->instr_ptr = next_instr;
  |  |11931|      2|            next_instr += 1;
  |  |11932|      2|            INSTRUCTION_STATS(SET_ADD);
  |  |  ------------------
  |  |  |  |   71|      2|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11933|      2|            _PyStackRef set;
  |  |11934|      2|            _PyStackRef v;
  |  |11935|      2|            v = stack_pointer[-1];
  |  |11936|      2|            set = stack_pointer[-2 - (oparg-1)];
  |  |11937|      2|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11938|      2|            _PyFrame_StackPointerValidate(frame);
  |  |11939|      2|            int err = _PySet_AddTakeRef((PySetObject *)PyStackRef_AsPyObjectBorrow(set),
  |  |11940|      2|                                        PyStackRef_AsPyObjectSteal(v));
  |  |11941|      2|            _PyFrame_StackPointerInvalidate(frame);
  |  |11942|      2|            if (err) {
  |  |  ------------------
  |  |  |  Branch (11942:17): [True: 0, False: 2]
  |  |  ------------------
  |  |11943|      0|                JUMP_TO_LABEL(pop_1_error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11944|      0|            }
  |  |11945|      2|            stack_pointer += -1;
  |  |11946|      2|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      2|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11947|      2|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      2|    { \
  |  |  |  |  201|      2|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      2|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      2|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      2|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      2|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      2|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      2|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      2|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      2|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      2|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      2|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      2|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      2|    }
  |  |  ------------------
  |  |11948|      2|        }
  |  |11949|       |
  |  |11950|    604|        TARGET(SET_FUNCTION_ATTRIBUTE) {
  |  |  ------------------
  |  |  |  |  132|    604|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11951|       |            #if _Py_TAIL_CALL_INTERP
  |  |11952|       |            int opcode = SET_FUNCTION_ATTRIBUTE;
  |  |11953|       |            (void)(opcode);
  |  |11954|       |            #endif
  |  |11955|    604|            frame->instr_ptr = next_instr;
  |  |11956|    604|            next_instr += 1;
  |  |11957|    604|            INSTRUCTION_STATS(SET_FUNCTION_ATTRIBUTE);
  |  |  ------------------
  |  |  |  |   71|    604|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11958|    604|            _PyStackRef attr_st;
  |  |11959|    604|            _PyStackRef func_in;
  |  |11960|    604|            _PyStackRef func_out;
  |  |11961|    604|            func_in = stack_pointer[-1];
  |  |11962|    604|            attr_st = stack_pointer[-2];
  |  |11963|    604|            PyObject *func = PyStackRef_AsPyObjectBorrow(func_in);
  |  |11964|    604|            PyObject *attr = PyStackRef_AsPyObjectSteal(attr_st);
  |  |11965|    604|            func_out = func_in;
  |  |11966|    604|            assert(PyFunction_Check(func));
  |  |  ------------------
  |  |  |  Branch (11966:13): [True: 604, False: 0]
  |  |  ------------------
  |  |11967|    604|            size_t offset = _Py_FunctionAttributeOffsets[oparg];
  |  |11968|    604|            assert(offset != 0);
  |  |  ------------------
  |  |  |  Branch (11968:13): [True: 604, False: 0]
  |  |  ------------------
  |  |11969|    604|            PyObject **ptr = (PyObject **)(((char *)func) + offset);
  |  |11970|    604|            assert(*ptr == NULL);
  |  |  ------------------
  |  |  |  Branch (11970:13): [True: 604, False: 0]
  |  |  ------------------
  |  |11971|    604|            *ptr = attr;
  |  |11972|    604|            stack_pointer[-2] = func_out;
  |  |11973|    604|            stack_pointer += -1;
  |  |11974|    604|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    604|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11975|    604|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    604|    { \
  |  |  |  |  201|    604|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    604|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    604|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    604|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    604|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    604|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    604|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    604|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 604]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    604|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    604|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    604|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    604|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    604|    }
  |  |  ------------------
  |  |11976|    604|        }
  |  |11977|       |
  |  |11978|      0|        TARGET(SET_UPDATE) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11979|       |            #if _Py_TAIL_CALL_INTERP
  |  |11980|       |            int opcode = SET_UPDATE;
  |  |11981|       |            (void)(opcode);
  |  |11982|       |            #endif
  |  |11983|      0|            frame->instr_ptr = next_instr;
  |  |11984|      0|            next_instr += 1;
  |  |11985|      0|            INSTRUCTION_STATS(SET_UPDATE);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11986|      0|            _PyStackRef set;
  |  |11987|      0|            _PyStackRef iterable;
  |  |11988|      0|            _PyStackRef i;
  |  |11989|      0|            _PyStackRef value;
  |  |11990|       |            // _SET_UPDATE
  |  |11991|      0|            {
  |  |11992|      0|                iterable = stack_pointer[-1];
  |  |11993|      0|                set = stack_pointer[-2 - (oparg-1)];
  |  |11994|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11995|      0|                _PyFrame_StackPointerValidate(frame);
  |  |11996|      0|                int err = _PySet_Update(PyStackRef_AsPyObjectBorrow(set),
  |  |11997|      0|                                    PyStackRef_AsPyObjectBorrow(iterable));
  |  |11998|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |11999|      0|                if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (11999:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12000|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |12001|      0|                }
  |  |12002|      0|                i = iterable;
  |  |12003|      0|            }
  |  |12004|       |            // _POP_TOP
  |  |12005|      0|            {
  |  |12006|      0|                value = i;
  |  |12007|      0|                stack_pointer += -1;
  |  |12008|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12009|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12010|      0|                _PyFrame_StackPointerValidate(frame);
  |  |12011|      0|                PyStackRef_XCLOSE(value);
  |  |12012|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |12013|      0|            }
  |  |12014|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  |12015|      0|        }
  |  |12016|       |
  |  |12017|  1.12k|        TARGET(STORE_ATTR) {
  |  |  ------------------
  |  |  |  |  132|  1.12k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12018|       |            #if _Py_TAIL_CALL_INTERP
  |  |12019|       |            int opcode = STORE_ATTR;
  |  |12020|       |            (void)(opcode);
  |  |12021|       |            #endif
  |  |12022|  1.12k|            frame->instr_ptr = next_instr;
  |  |12023|  1.12k|            next_instr += 5;
  |  |12024|  1.12k|            INSTRUCTION_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |   71|  1.12k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12025|  1.77k|            PREDICTED_STORE_ATTR:;
  |  |12026|  1.77k|            _Py_CODEUNIT* const this_instr = next_instr - 5;
  |  |12027|  1.77k|            (void)this_instr;
  |  |12028|  1.77k|            _PyStackRef v;
  |  |12029|  1.77k|            _PyStackRef owner;
  |  |12030|       |            // _SPECIALIZE_STORE_ATTR
  |  |12031|  1.77k|            {
  |  |12032|  1.77k|                owner = stack_pointer[-1];
  |  |12033|  1.77k|                v = stack_pointer[-2];
  |  |12034|  1.77k|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |12035|  1.77k|                (void)counter;
  |  |12036|  1.77k|                #if ENABLE_SPECIALIZATION
  |  |12037|  1.77k|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|  1.77k|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 237, False: 1.53k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12038|    237|                    if (!PyStackRef_IsNull(v)) {
  |  |  ------------------
  |  |  |  |  482|    237|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    237|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    237|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12038:25): [True: 237, False: 0]
  |  |  ------------------
  |  |12039|    237|                        PyObject *name = GETITEM(FRAME_CO_NAMES, oparg);
  |  |  ------------------
  |  |  |  |  236|    237|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|    237|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|    237|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    237|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12039:42): [True: 237, False: 0]
  |  |  ------------------
  |  |12040|      0|                        next_instr = this_instr;
  |  |12041|    237|                        _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12042|    237|                        _PyFrame_StackPointerValidate(frame);
  |  |12043|    237|                        _Py_Specialize_StoreAttr(owner, next_instr, name);
  |  |12044|    237|                        _PyFrame_StackPointerInvalidate(frame);
  |  |12045|    237|                        DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|    237|    { \
  |  |  |  |  217|    237|        opcode = next_instr->op.code; \
  |  |  |  |  218|    237|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    237|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|    237|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|    237|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|    237|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|    237|    }
  |  |  ------------------
  |  |12046|    237|                    }
  |  |12047|    237|                }
  |  |12048|  1.77k|                OPCODE_DEFERRED_INC(STORE_ATTR);
  |  |  ------------------
  |  |  |  |   90|  1.77k|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |12049|  1.77k|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|  1.77k|    do { \
  |  |  |  |  378|  1.77k|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|  1.77k|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 1.77k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12050|  1.77k|                #endif  /* ENABLE_SPECIALIZATION */
  |  |12051|  1.77k|            }
  |  |12052|       |            /* Skip 3 cache entries */
  |  |12053|       |            // _STORE_ATTR
  |  |12054|      0|            {
  |  |12055|  1.77k|                PyObject *name = GETITEM(FRAME_CO_NAMES, oparg);
  |  |  ------------------
  |  |  |  |  236|  1.77k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  1.77k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  1.77k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.53k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12055:34): [True: 1.53k, False: 237]
  |  |  ------------------
  |  |12056|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12057|  1.53k|                _PyFrame_StackPointerValidate(frame);
  |  |12058|  1.53k|                int err = PyObject_SetAttr(PyStackRef_AsPyObjectBorrow(owner),
  |  |12059|  1.53k|                                       name, PyStackRef_AsPyObjectBorrow(v));
  |  |12060|  1.53k|                _PyFrame_StackPointerInvalidate(frame);
  |  |12061|  1.53k|                stack_pointer += -1;
  |  |12062|  1.53k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.53k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12063|  1.53k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12064|  1.53k|                _PyFrame_StackPointerValidate(frame);
  |  |12065|  1.53k|                PyStackRef_CLOSE(owner);
  |  |12066|  1.53k|                _PyFrame_StackPointerInvalidate(frame);
  |  |12067|  1.53k|                stack_pointer += -1;
  |  |12068|  1.53k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.53k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12069|  1.53k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12070|  1.53k|                _PyFrame_StackPointerValidate(frame);
  |  |12071|  1.53k|                PyStackRef_XCLOSE(v);
  |  |12072|  1.53k|                _PyFrame_StackPointerInvalidate(frame);
  |  |12073|  1.53k|                if (err) {
  |  |  ------------------
  |  |  |  Branch (12073:21): [True: 0, False: 1.53k]
  |  |  ------------------
  |  |12074|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |12075|      0|                }
  |  |12076|  1.53k|            }
  |  |12077|  1.53k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.53k|    { \
  |  |  |  |  201|  1.53k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.53k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.53k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.53k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.53k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.53k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.53k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.53k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.53k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.53k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.53k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.53k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.53k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.53k|    }
  |  |  ------------------
  |  |12078|  1.53k|        }
  |  |12079|       |
  |  |12080|  2.85k|        TARGET(STORE_ATTR_INSTANCE_VALUE) {
  |  |  ------------------
  |  |  |  |  132|  2.85k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12081|       |            #if _Py_TAIL_CALL_INTERP
  |  |12082|       |            int opcode = STORE_ATTR_INSTANCE_VALUE;
  |  |12083|       |            (void)(opcode);
  |  |12084|       |            #endif
  |  |12085|  2.85k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12086|  2.85k|            (void)this_instr;
  |  |12087|  2.85k|            frame->instr_ptr = next_instr;
  |  |12088|  2.85k|            next_instr += 5;
  |  |12089|  2.85k|            INSTRUCTION_STATS(STORE_ATTR_INSTANCE_VALUE);
  |  |  ------------------
  |  |  |  |   71|  2.85k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12090|  2.85k|            static_assert(INLINE_CACHE_ENTRIES_STORE_ATTR == 4, "incorrect cache size");
  |  |12091|  2.85k|            _PyStackRef value;
  |  |12092|  2.85k|            _PyStackRef owner;
  |  |12093|  2.85k|            _PyStackRef o;
  |  |12094|       |            /* Skip 1 cache entry */
  |  |12095|       |            // _LOCK_OBJECT
  |  |12096|  2.85k|            {
  |  |12097|  2.85k|                value = stack_pointer[-1];
  |  |12098|  2.85k|                if (!LOCK_OBJECT(PyStackRef_AsPyObjectBorrow(value))) {
  |  |  ------------------
  |  |  |  |  322|  2.85k|#  define LOCK_OBJECT(op) (1)
  |  |  ------------------
  |  |  |  Branch (12098:21): [Folded, False: 2.85k]
  |  |  ------------------
  |  |12099|      0|                    UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12100|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |  ------------------
  |  |  |  Branch (12100:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12101|      0|                    JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12102|      0|                }
  |  |12103|  2.85k|            }
  |  |12104|       |            // _GUARD_TYPE_VERSION_LOCKED
  |  |12105|  2.85k|            {
  |  |12106|  2.85k|                owner = value;
  |  |12107|  2.85k|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  |12108|  2.85k|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  |12109|  2.85k|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (12109:17): [True: 2.85k, False: 0]
  |  |  ------------------
  |  |12110|  2.85k|                PyTypeObject *tp = Py_TYPE(owner_o);
  |  |  ------------------
  |  |  |  |  213|  2.85k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.85k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.85k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12111|  2.85k|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|  2.85k|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (12111:21): [True: 652, False: 2.20k]
  |  |  ------------------
  |  |12112|    652|                    UNLOCK_OBJECT(owner_o);
  |  |  ------------------
  |  |  |  |  323|    652|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |12113|    652|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (12113:25): [True: 652, Folded]
  |  |  ------------------
  |  |12114|    652|                        UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  299|    652|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12115|    652|                        assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |  ------------------
  |  |  |  Branch (12115:25): [True: 652, False: 0]
  |  |  ------------------
  |  |12116|    652|                        JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|    652|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12117|      0|                    }
  |  |12118|    652|                }
  |  |12119|  2.85k|            }
  |  |12120|       |            // _GUARD_DORV_NO_DICT
  |  |12121|  2.20k|            {
  |  |12122|  2.20k|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  |12123|  2.20k|                assert(Py_TYPE(owner_o)->tp_dictoffset < 0);
  |  |  ------------------
  |  |  |  Branch (12123:17): [True: 2.20k, False: 0]
  |  |  ------------------
  |  |12124|  2.20k|                assert(Py_TYPE(owner_o)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  |  |  ------------------
  |  |  |  Branch (12124:17): [True: 2.20k, False: 0]
  |  |  ------------------
  |  |12125|  2.20k|                if (_PyObject_GetManagedDict(owner_o) ||
  |  |  ------------------
  |  |  |  Branch (12125:21): [True: 0, False: 2.20k]
  |  |  ------------------
  |  |12126|  2.20k|                    !FT_ATOMIC_LOAD_UINT8(_PyObject_InlineValues(owner_o)->valid)) {
  |  |  ------------------
  |  |  |  |  154|  2.20k|#define FT_ATOMIC_LOAD_UINT8(value) value
  |  |  ------------------
  |  |  |  Branch (12126:21): [True: 0, False: 2.20k]
  |  |  ------------------
  |  |12127|      0|                    UNLOCK_OBJECT(owner_o);
  |  |  ------------------
  |  |  |  |  323|      0|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |12128|      0|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (12128:25): [True: 0, Folded]
  |  |  ------------------
  |  |12129|      0|                        UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12130|      0|                        assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |  ------------------
  |  |  |  Branch (12130:25): [True: 0, False: 0]
  |  |  ------------------
  |  |12131|      0|                        JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12132|      0|                    }
  |  |12133|      0|                }
  |  |12134|  2.20k|            }
  |  |12135|       |            // _STORE_ATTR_INSTANCE_VALUE
  |  |12136|  2.20k|            {
  |  |12137|  2.20k|                value = stack_pointer[-2];
  |  |12138|  2.20k|                uint16_t offset = read_u16(&this_instr[4].cache);
  |  |12139|  2.20k|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  |12140|  2.20k|                STAT_INC(STORE_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|  2.20k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |12141|  2.20k|                assert(_PyObject_GetManagedDict(owner_o) == NULL);
  |  |  ------------------
  |  |  |  Branch (12141:17): [True: 2.20k, False: 0]
  |  |  ------------------
  |  |12142|  2.20k|                PyObject **value_ptr = (PyObject**)(((char *)owner_o) + offset);
  |  |12143|  2.20k|                PyObject *old_value = *value_ptr;
  |  |12144|  2.20k|                FT_ATOMIC_STORE_PTR_RELEASE(*value_ptr, PyStackRef_AsPyObjectSteal(value));
  |  |  ------------------
  |  |  |  |  164|  2.20k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  |  |12145|  2.20k|                if (old_value == NULL) {
  |  |  ------------------
  |  |  |  Branch (12145:21): [True: 1.61k, False: 582]
  |  |  ------------------
  |  |12146|  1.61k|                    PyDictValues *values = _PyObject_InlineValues(owner_o);
  |  |12147|  1.61k|                    Py_ssize_t index = value_ptr - values->values;
  |  |12148|  1.61k|                    _PyDictValues_AddToInsertionOrder(values, index);
  |  |12149|  1.61k|                }
  |  |12150|  2.20k|                UNLOCK_OBJECT(owner_o);
  |  |  ------------------
  |  |  |  |  323|  2.20k|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |12151|  2.20k|                o = owner;
  |  |12152|  2.20k|                stack_pointer[-2] = o;
  |  |12153|  2.20k|                stack_pointer += -1;
  |  |12154|  2.20k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.20k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12155|  2.20k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12156|  2.20k|                _PyFrame_StackPointerValidate(frame);
  |  |12157|  2.20k|                Py_XDECREF(old_value);
  |  |  ------------------
  |  |  |  |   69|  2.20k|    do { \
  |  |  |  |   70|  2.20k|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.20k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.20k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   71|  2.20k|        if (xop != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (71:13): [True: 582, False: 1.61k]
  |  |  |  |  ------------------
  |  |  |  |   72|    582|            Py_DECREF(xop); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   80|    582|    do { \
  |  |  |  |  |  |   81|    582|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    582|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    582|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   82|    582|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  137|    582|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|    582|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|    582|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (137:28): [True: 454, False: 128]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   83|    454|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   22|    454|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   84|    454|            break; \
  |  |  |  |  |  |   85|    454|        } \
  |  |  |  |  |  |   86|    582|        _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); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  112|    117|    do { \
  |  |  |  |  |  |  |  |  113|    117|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  |  |  114|    117|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 117]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  |  |  118|    117|    } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (118: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|    582|        } \
  |  |  |  |   74|  2.20k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (74:14): [Folded, False: 2.20k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12158|  2.20k|                _PyFrame_StackPointerInvalidate(frame);
  |  |12159|  2.20k|            }
  |  |12160|       |            // _POP_TOP
  |  |12161|      0|            {
  |  |12162|  2.20k|                value = o;
  |  |12163|  2.20k|                stack_pointer += -1;
  |  |12164|  2.20k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.20k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12165|  2.20k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12166|  2.20k|                _PyFrame_StackPointerValidate(frame);
  |  |12167|  2.20k|                PyStackRef_XCLOSE(value);
  |  |12168|  2.20k|                _PyFrame_StackPointerInvalidate(frame);
  |  |12169|  2.20k|            }
  |  |12170|  2.20k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.20k|    { \
  |  |  |  |  201|  2.20k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.20k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.20k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.20k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  2.20k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.20k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.20k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.20k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.20k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.20k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.20k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.20k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.20k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.20k|    }
  |  |  ------------------
  |  |12171|  2.20k|        }
  |  |12172|       |
  |  |12173|    110|        TARGET(STORE_ATTR_SLOT) {
  |  |  ------------------
  |  |  |  |  132|    110|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12174|       |            #if _Py_TAIL_CALL_INTERP
  |  |12175|       |            int opcode = STORE_ATTR_SLOT;
  |  |12176|       |            (void)(opcode);
  |  |12177|       |            #endif
  |  |12178|    110|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12179|    110|            (void)this_instr;
  |  |12180|    110|            frame->instr_ptr = next_instr;
  |  |12181|    110|            next_instr += 5;
  |  |12182|    110|            INSTRUCTION_STATS(STORE_ATTR_SLOT);
  |  |  ------------------
  |  |  |  |   71|    110|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12183|    110|            static_assert(INLINE_CACHE_ENTRIES_STORE_ATTR == 4, "incorrect cache size");
  |  |12184|    110|            _PyStackRef owner;
  |  |12185|    110|            _PyStackRef value;
  |  |12186|    110|            _PyStackRef o;
  |  |12187|       |            /* Skip 1 cache entry */
  |  |12188|       |            // _GUARD_TYPE_VERSION
  |  |12189|    110|            {
  |  |12190|    110|                owner = stack_pointer[-1];
  |  |12191|    110|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  |12192|    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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12193|    110|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (12193:17): [True: 110, False: 0]
  |  |  ------------------
  |  |12194|    110|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|    110|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (12194:21): [True: 0, False: 110]
  |  |  ------------------
  |  |12195|      0|                    UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12196|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |  ------------------
  |  |  |  Branch (12196:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12197|      0|                    JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12198|      0|                }
  |  |12199|    110|            }
  |  |12200|       |            // _STORE_ATTR_SLOT
  |  |12201|    110|            {
  |  |12202|    110|                value = stack_pointer[-2];
  |  |12203|    110|                uint16_t index = read_u16(&this_instr[4].cache);
  |  |12204|    110|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  |12205|    110|                if (!LOCK_OBJECT(owner_o)) {
  |  |  ------------------
  |  |  |  |  322|    110|#  define LOCK_OBJECT(op) (1)
  |  |  ------------------
  |  |  |  Branch (12205:21): [Folded, False: 110]
  |  |  ------------------
  |  |12206|      0|                    UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12207|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |  ------------------
  |  |  |  Branch (12207:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12208|      0|                    JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12209|      0|                }
  |  |12210|    110|                char *addr = (char *)owner_o + index;
  |  |12211|    110|                STAT_INC(STORE_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|    110|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |12212|    110|                PyObject *old_value = *(PyObject **)addr;
  |  |12213|    110|                FT_ATOMIC_STORE_PTR_RELEASE(*(PyObject **)addr, PyStackRef_AsPyObjectSteal(value));
  |  |  ------------------
  |  |  |  |  164|    110|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  |  |12214|    110|                UNLOCK_OBJECT(owner_o);
  |  |  ------------------
  |  |  |  |  323|    110|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |12215|    110|                o = owner;
  |  |12216|    110|                stack_pointer[-2] = o;
  |  |12217|    110|                stack_pointer += -1;
  |  |12218|    110|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    110|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12219|    110|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12220|    110|                _PyFrame_StackPointerValidate(frame);
  |  |12221|    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); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12222|    110|                _PyFrame_StackPointerInvalidate(frame);
  |  |12223|    110|            }
  |  |12224|       |            // _POP_TOP
  |  |12225|      0|            {
  |  |12226|    110|                value = o;
  |  |12227|    110|                stack_pointer += -1;
  |  |12228|    110|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    110|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12229|    110|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12230|    110|                _PyFrame_StackPointerValidate(frame);
  |  |12231|    110|                PyStackRef_XCLOSE(value);
  |  |12232|    110|                _PyFrame_StackPointerInvalidate(frame);
  |  |12233|    110|            }
  |  |12234|    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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    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|    }
  |  |  ------------------
  |  |12235|    110|        }
  |  |12236|       |
  |  |12237|      0|        TARGET(STORE_ATTR_WITH_HINT) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12238|       |            #if _Py_TAIL_CALL_INTERP
  |  |12239|       |            int opcode = STORE_ATTR_WITH_HINT;
  |  |12240|       |            (void)(opcode);
  |  |12241|       |            #endif
  |  |12242|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12243|      0|            (void)this_instr;
  |  |12244|      0|            frame->instr_ptr = next_instr;
  |  |12245|      0|            next_instr += 5;
  |  |12246|      0|            INSTRUCTION_STATS(STORE_ATTR_WITH_HINT);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12247|      0|            static_assert(INLINE_CACHE_ENTRIES_STORE_ATTR == 4, "incorrect cache size");
  |  |12248|      0|            _PyStackRef owner;
  |  |12249|      0|            _PyStackRef value;
  |  |12250|      0|            _PyStackRef o;
  |  |12251|       |            /* Skip 1 cache entry */
  |  |12252|       |            // _GUARD_TYPE_VERSION
  |  |12253|      0|            {
  |  |12254|      0|                owner = stack_pointer[-1];
  |  |12255|      0|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  |12256|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12257|      0|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (12257:17): [True: 0, False: 0]
  |  |  ------------------
  |  |12258|      0|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|      0|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (12258:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12259|      0|                    UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12260|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |  ------------------
  |  |  |  Branch (12260:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12261|      0|                    JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12262|      0|                }
  |  |12263|      0|            }
  |  |12264|       |            // _STORE_ATTR_WITH_HINT
  |  |12265|      0|            {
  |  |12266|      0|                value = stack_pointer[-2];
  |  |12267|      0|                uint16_t hint = read_u16(&this_instr[4].cache);
  |  |12268|      0|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  |12269|      0|                assert(Py_TYPE(owner_o)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  |  |  ------------------
  |  |  |  Branch (12269:17): [True: 0, False: 0]
  |  |  ------------------
  |  |12270|      0|                PyDictObject *dict = _PyObject_GetManagedDict(owner_o);
  |  |12271|      0|                if (dict == NULL) {
  |  |  ------------------
  |  |  |  Branch (12271:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12272|      0|                    UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12273|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |  ------------------
  |  |  |  Branch (12273:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12274|      0|                    JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12275|      0|                }
  |  |12276|      0|                if (!LOCK_OBJECT(dict)) {
  |  |  ------------------
  |  |  |  |  322|      0|#  define LOCK_OBJECT(op) (1)
  |  |  ------------------
  |  |  |  Branch (12276:21): [Folded, False: 0]
  |  |  ------------------
  |  |12277|      0|                    UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12278|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |  ------------------
  |  |  |  Branch (12278:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12279|      0|                    JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12280|      0|                }
  |  |12281|      0|                assert(PyDict_CheckExact((PyObject *)dict));
  |  |  ------------------
  |  |  |  Branch (12281:17): [True: 0, False: 0]
  |  |  ------------------
  |  |12282|      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 (12282:34): [True: 0, False: 0]
  |  |  ------------------
  |  |12283|      0|                if (hint >= (size_t)dict->ma_keys->dk_nentries ||
  |  |  ------------------
  |  |  |  Branch (12283:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12284|      0|                    dict->ma_keys->dk_kind != DICT_KEYS_UNICODE) {
  |  |  ------------------
  |  |  |  Branch (12284:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12285|      0|                    UNLOCK_OBJECT(dict);
  |  |  ------------------
  |  |  |  |  323|      0|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |12286|      0|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (12286:25): [True: 0, Folded]
  |  |  ------------------
  |  |12287|      0|                        UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12288|      0|                        assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |  ------------------
  |  |  |  Branch (12288:25): [True: 0, False: 0]
  |  |  ------------------
  |  |12289|      0|                        JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12290|      0|                    }
  |  |12291|      0|                }
  |  |12292|      0|                PyDictUnicodeEntry *ep = DK_UNICODE_ENTRIES(dict->ma_keys) + hint;
  |  |12293|      0|                if (ep->me_key != name) {
  |  |  ------------------
  |  |  |  Branch (12293:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12294|      0|                    UNLOCK_OBJECT(dict);
  |  |  ------------------
  |  |  |  |  323|      0|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |12295|      0|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (12295:25): [True: 0, Folded]
  |  |  ------------------
  |  |12296|      0|                        UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12297|      0|                        assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |  ------------------
  |  |  |  Branch (12297:25): [True: 0, False: 0]
  |  |  ------------------
  |  |12298|      0|                        JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12299|      0|                    }
  |  |12300|      0|                }
  |  |12301|      0|                PyObject *old_value = ep->me_value;
  |  |12302|      0|                if (old_value == NULL) {
  |  |  ------------------
  |  |  |  Branch (12302:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12303|      0|                    UNLOCK_OBJECT(dict);
  |  |  ------------------
  |  |  |  |  323|      0|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |12304|      0|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (12304:25): [True: 0, Folded]
  |  |  ------------------
  |  |12305|      0|                        UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12306|      0|                        assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |  ------------------
  |  |  |  Branch (12306:25): [True: 0, False: 0]
  |  |  ------------------
  |  |12307|      0|                        JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12308|      0|                    }
  |  |12309|      0|                }
  |  |12310|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12311|      0|                _PyFrame_StackPointerValidate(frame);
  |  |12312|      0|                _PyDict_NotifyEvent(PyDict_EVENT_MODIFIED, dict, name, PyStackRef_AsPyObjectBorrow(value));
  |  |12313|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |12314|      0|                FT_ATOMIC_STORE_PTR_RELEASE(ep->me_value, PyStackRef_AsPyObjectSteal(value));
  |  |  ------------------
  |  |  |  |  164|      0|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  |  |12315|      0|                UNLOCK_OBJECT(dict);
  |  |  ------------------
  |  |  |  |  323|      0|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |12316|      0|                STAT_INC(STORE_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|      0|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |12317|      0|                o = owner;
  |  |12318|      0|                stack_pointer[-2] = o;
  |  |12319|      0|                stack_pointer += -1;
  |  |12320|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12321|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12322|      0|                _PyFrame_StackPointerValidate(frame);
  |  |12323|      0|                Py_XDECREF(old_value);
  |  |  ------------------
  |  |  |  |   69|      0|    do { \
  |  |  |  |   70|      0|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   71|      0|        if (xop != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (71:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   72|      0|            Py_DECREF(xop); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   80|      0|    do { \
  |  |  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   84|      0|            break; \
  |  |  |  |  |  |   85|      0|        } \
  |  |  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |  |  |   91|      0|        } \
  |  |  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   73|      0|        } \
  |  |  |  |   74|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (74:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12324|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |12325|      0|            }
  |  |12326|       |            // _POP_TOP
  |  |12327|      0|            {
  |  |12328|      0|                value = o;
  |  |12329|      0|                stack_pointer += -1;
  |  |12330|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12331|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12332|      0|                _PyFrame_StackPointerValidate(frame);
  |  |12333|      0|                PyStackRef_XCLOSE(value);
  |  |12334|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |12335|      0|            }
  |  |12336|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  |12337|      0|        }
  |  |12338|       |
  |  |12339|    292|        TARGET(STORE_DEREF) {
  |  |  ------------------
  |  |  |  |  132|    292|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12340|       |            #if _Py_TAIL_CALL_INTERP
  |  |12341|       |            int opcode = STORE_DEREF;
  |  |12342|       |            (void)(opcode);
  |  |12343|       |            #endif
  |  |12344|    292|            frame->instr_ptr = next_instr;
  |  |12345|    292|            next_instr += 1;
  |  |12346|    292|            INSTRUCTION_STATS(STORE_DEREF);
  |  |  ------------------
  |  |  |  |   71|    292|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12347|    292|            _PyStackRef v;
  |  |12348|    292|            v = stack_pointer[-1];
  |  |12349|    292|            PyCellObject *cell = (PyCellObject *)PyStackRef_AsPyObjectBorrow(GETLOCAL(oparg));
  |  |  ------------------
  |  |  |  |  285|    292|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |12350|    292|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12351|    292|            _PyFrame_StackPointerValidate(frame);
  |  |12352|    292|            PyCell_SetTakeRef(cell, PyStackRef_AsPyObjectSteal(v));
  |  |12353|    292|            _PyFrame_StackPointerInvalidate(frame);
  |  |12354|    292|            stack_pointer += -1;
  |  |12355|    292|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    292|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12356|    292|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    292|    { \
  |  |  |  |  201|    292|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    292|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    292|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    292|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    292|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    292|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    292|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    292|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 292]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    292|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    292|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    292|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    292|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    292|    }
  |  |  ------------------
  |  |12357|    292|        }
  |  |12358|       |
  |  |12359|  9.48k|        TARGET(STORE_FAST) {
  |  |  ------------------
  |  |  |  |  132|  9.48k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12360|       |            #if _Py_TAIL_CALL_INTERP
  |  |12361|       |            int opcode = STORE_FAST;
  |  |12362|       |            (void)(opcode);
  |  |12363|       |            #endif
  |  |12364|  9.48k|            frame->instr_ptr = next_instr;
  |  |12365|  9.48k|            next_instr += 1;
  |  |12366|  9.48k|            INSTRUCTION_STATS(STORE_FAST);
  |  |  ------------------
  |  |  |  |   71|  9.48k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12367|  9.48k|            _PyStackRef value;
  |  |12368|  9.48k|            _PyStackRef trash;
  |  |12369|       |            // _SWAP_FAST
  |  |12370|  9.48k|            {
  |  |12371|  9.48k|                value = stack_pointer[-1];
  |  |12372|  9.48k|                _PyStackRef tmp = GETLOCAL(oparg);
  |  |  ------------------
  |  |  |  |  285|  9.48k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |12373|  9.48k|                GETLOCAL(oparg) = value;
  |  |  ------------------
  |  |  |  |  285|  9.48k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |12374|  9.48k|                trash = tmp;
  |  |12375|  9.48k|            }
  |  |12376|       |            // _POP_TOP
  |  |12377|  9.48k|            {
  |  |12378|  9.48k|                value = trash;
  |  |12379|  9.48k|                stack_pointer += -1;
  |  |12380|  9.48k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  9.48k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12381|  9.48k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12382|  9.48k|                _PyFrame_StackPointerValidate(frame);
  |  |12383|  9.48k|                PyStackRef_XCLOSE(value);
  |  |12384|  9.48k|                _PyFrame_StackPointerInvalidate(frame);
  |  |12385|  9.48k|            }
  |  |12386|  9.48k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  9.48k|    { \
  |  |  |  |  201|  9.48k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  9.48k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  9.48k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  9.48k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  9.48k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  9.48k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  9.48k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  9.48k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 9.48k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  9.48k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  9.48k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  9.48k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  9.48k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  9.48k|    }
  |  |  ------------------
  |  |12387|  9.48k|        }
  |  |12388|       |
  |  |12389|  9.48k|        TARGET(STORE_FAST_LOAD_FAST) {
  |  |  ------------------
  |  |  |  |  132|  1.77k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12390|       |            #if _Py_TAIL_CALL_INTERP
  |  |12391|       |            int opcode = STORE_FAST_LOAD_FAST;
  |  |12392|       |            (void)(opcode);
  |  |12393|       |            #endif
  |  |12394|  1.77k|            frame->instr_ptr = next_instr;
  |  |12395|  1.77k|            next_instr += 1;
  |  |12396|  1.77k|            INSTRUCTION_STATS(STORE_FAST_LOAD_FAST);
  |  |  ------------------
  |  |  |  |   71|  1.77k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12397|  1.77k|            _PyStackRef value1;
  |  |12398|  1.77k|            _PyStackRef value2;
  |  |12399|  1.77k|            value1 = stack_pointer[-1];
  |  |12400|  1.77k|            uint32_t oparg1 = oparg >> 4;
  |  |12401|  1.77k|            uint32_t oparg2 = oparg & 15;
  |  |12402|  1.77k|            _PyStackRef tmp = GETLOCAL(oparg1);
  |  |  ------------------
  |  |  |  |  285|  1.77k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |12403|  1.77k|            GETLOCAL(oparg1) = value1;
  |  |  ------------------
  |  |  |  |  285|  1.77k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |12404|  1.77k|            value2 = PyStackRef_DUP(GETLOCAL(oparg2));
  |  |  ------------------
  |  |  |  |  285|  1.77k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |12405|  1.77k|            stack_pointer[-1] = value2;
  |  |12406|  1.77k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12407|  1.77k|            _PyFrame_StackPointerValidate(frame);
  |  |12408|  1.77k|            PyStackRef_XCLOSE(tmp);
  |  |12409|  1.77k|            _PyFrame_StackPointerInvalidate(frame);
  |  |12410|  1.77k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.77k|    { \
  |  |  |  |  201|  1.77k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.77k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.77k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.77k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.77k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.77k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.77k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.77k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.77k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.77k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.77k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.77k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.77k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.77k|    }
  |  |  ------------------
  |  |12411|  1.77k|        }
  |  |12412|       |
  |  |12413|  1.77k|        TARGET(STORE_FAST_STORE_FAST) {
  |  |  ------------------
  |  |  |  |  132|    910|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12414|       |            #if _Py_TAIL_CALL_INTERP
  |  |12415|       |            int opcode = STORE_FAST_STORE_FAST;
  |  |12416|       |            (void)(opcode);
  |  |12417|       |            #endif
  |  |12418|    910|            frame->instr_ptr = next_instr;
  |  |12419|    910|            next_instr += 1;
  |  |12420|    910|            INSTRUCTION_STATS(STORE_FAST_STORE_FAST);
  |  |  ------------------
  |  |  |  |   71|    910|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12421|    910|            _PyStackRef value2;
  |  |12422|    910|            _PyStackRef value1;
  |  |12423|    910|            value1 = stack_pointer[-1];
  |  |12424|    910|            value2 = stack_pointer[-2];
  |  |12425|    910|            uint32_t oparg1 = oparg >> 4;
  |  |12426|    910|            uint32_t oparg2 = oparg & 15;
  |  |12427|    910|            _PyStackRef tmp = GETLOCAL(oparg1);
  |  |  ------------------
  |  |  |  |  285|    910|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |12428|    910|            GETLOCAL(oparg1) = value1;
  |  |  ------------------
  |  |  |  |  285|    910|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |12429|    910|            stack_pointer += -1;
  |  |12430|    910|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    910|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12431|    910|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12432|    910|            _PyFrame_StackPointerValidate(frame);
  |  |12433|    910|            PyStackRef_XCLOSE(tmp);
  |  |12434|    910|            _PyFrame_StackPointerInvalidate(frame);
  |  |12435|    910|            tmp = GETLOCAL(oparg2);
  |  |  ------------------
  |  |  |  |  285|    910|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |12436|    910|            GETLOCAL(oparg2) = value2;
  |  |  ------------------
  |  |  |  |  285|    910|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |12437|    910|            stack_pointer += -1;
  |  |12438|    910|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    910|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12439|    910|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12440|    910|            _PyFrame_StackPointerValidate(frame);
  |  |12441|    910|            PyStackRef_XCLOSE(tmp);
  |  |12442|    910|            _PyFrame_StackPointerInvalidate(frame);
  |  |12443|    910|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    910|    { \
  |  |  |  |  201|    910|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    910|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    910|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    910|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    910|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    910|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    910|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    910|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 910]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    910|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    910|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    910|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    910|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    910|    }
  |  |  ------------------
  |  |12444|    910|        }
  |  |12445|       |
  |  |12446|    910|        TARGET(STORE_GLOBAL) {
  |  |  ------------------
  |  |  |  |  132|     45|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12447|       |            #if _Py_TAIL_CALL_INTERP
  |  |12448|       |            int opcode = STORE_GLOBAL;
  |  |12449|       |            (void)(opcode);
  |  |12450|       |            #endif
  |  |12451|     45|            frame->instr_ptr = next_instr;
  |  |12452|     45|            next_instr += 1;
  |  |12453|     45|            INSTRUCTION_STATS(STORE_GLOBAL);
  |  |  ------------------
  |  |  |  |   71|     45|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12454|     45|            _PyStackRef v;
  |  |12455|     45|            v = stack_pointer[-1];
  |  |12456|     45|            PyObject *name = GETITEM(FRAME_CO_NAMES, oparg);
  |  |  ------------------
  |  |  |  |  236|     45|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|     45|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|     45|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     45|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12456:30): [True: 45, False: 0]
  |  |  ------------------
  |  |12457|      0|            int err;
  |  |12458|     45|            if (PyStackRef_IsNull(v)) {
  |  |  ------------------
  |  |  |  |  482|     45|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|     45|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|     45|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 45]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12459|      0|                stack_pointer += -1;
  |  |12460|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12461|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12462|      0|                _PyFrame_StackPointerValidate(frame);
  |  |12463|      0|                err = PyDict_Pop(GLOBALS(), name, NULL);
  |  |  ------------------
  |  |  |  |  326|      0|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  |12464|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |12465|      0|                if (err == 0) {
  |  |  ------------------
  |  |  |  Branch (12465:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12466|      0|                    err = -1;
  |  |12467|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (12467:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12468|      0|                    _PyFrame_StackPointerValidate(frame);
  |  |12469|      0|                    _PyEval_FormatExcCheckArg(tstate, PyExc_NameError,
  |  |12470|      0|                        NAME_ERROR_MSG, name);
  |  |  ------------------
  |  |  |  |  405|      0|#define NAME_ERROR_MSG "name '%.200s' is not defined"
  |  |  ------------------
  |  |12471|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  |12472|      0|                }
  |  |12473|      0|            }
  |  |12474|     45|            else {
  |  |12475|     45|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12476|     45|                _PyFrame_StackPointerValidate(frame);
  |  |12477|     45|                err = PyDict_SetItem(GLOBALS(), name, PyStackRef_AsPyObjectBorrow(v));
  |  |  ------------------
  |  |  |  |  326|     45|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  |12478|     45|                _PyFrame_StackPointerInvalidate(frame);
  |  |12479|     45|                stack_pointer += -1;
  |  |12480|     45|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     45|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12481|     45|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12482|     45|                _PyFrame_StackPointerValidate(frame);
  |  |12483|     45|                PyStackRef_CLOSE(v);
  |  |12484|     45|                _PyFrame_StackPointerInvalidate(frame);
  |  |12485|     45|            }
  |  |12486|     45|            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (12486:17): [True: 0, False: 45]
  |  |  ------------------
  |  |12487|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |12488|      0|            }
  |  |12489|     45|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     45|    { \
  |  |  |  |  201|     45|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     45|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     45|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     45|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     45|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     45|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     45|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     45|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 45]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     45|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     45|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     45|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     45|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     45|    }
  |  |  ------------------
  |  |12490|     45|        }
  |  |12491|       |
  |  |12492|  5.17k|        TARGET(STORE_NAME) {
  |  |  ------------------
  |  |  |  |  132|  5.17k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12493|       |            #if _Py_TAIL_CALL_INTERP
  |  |12494|       |            int opcode = STORE_NAME;
  |  |12495|       |            (void)(opcode);
  |  |12496|       |            #endif
  |  |12497|  5.17k|            frame->instr_ptr = next_instr;
  |  |12498|  5.17k|            next_instr += 1;
  |  |12499|  5.17k|            INSTRUCTION_STATS(STORE_NAME);
  |  |  ------------------
  |  |  |  |   71|  5.17k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12500|  5.17k|            _PyStackRef v;
  |  |12501|  5.17k|            v = stack_pointer[-1];
  |  |12502|  5.17k|            PyObject *name = GETITEM(FRAME_CO_NAMES, oparg);
  |  |  ------------------
  |  |  |  |  236|  5.17k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  5.17k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  5.17k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  5.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12502:30): [True: 5.17k, False: 0]
  |  |  ------------------
  |  |12503|  5.17k|            PyObject *ns = LOCALS();
  |  |  ------------------
  |  |  |  |  328|  5.17k|#define LOCALS() frame->f_locals
  |  |  ------------------
  |  |12504|  5.17k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12505|  5.17k|            _PyFrame_StackPointerValidate(frame);
  |  |12506|  5.17k|            int error = _PyEval_StoreName(tstate, v, name, ns);
  |  |12507|  5.17k|            _PyFrame_StackPointerInvalidate(frame);
  |  |12508|  5.17k|            if (PyStackRef_IsNull(v)) {
  |  |  ------------------
  |  |  |  |  482|  5.17k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  5.17k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  5.17k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 36, False: 5.13k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12509|     36|            }
  |  |12510|  5.13k|            else {
  |  |12511|  5.13k|                stack_pointer += -1;
  |  |12512|  5.13k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  5.13k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12513|  5.13k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12514|  5.13k|                _PyFrame_StackPointerValidate(frame);
  |  |12515|  5.13k|                PyStackRef_CLOSE(v);
  |  |12516|  5.13k|                _PyFrame_StackPointerInvalidate(frame);
  |  |12517|  5.13k|                stack_pointer += 1;
  |  |12518|  5.13k|            }
  |  |12519|  5.17k|            if (error) {
  |  |  ------------------
  |  |  |  Branch (12519:17): [True: 0, False: 5.17k]
  |  |  ------------------
  |  |12520|      0|                JUMP_TO_LABEL(pop_1_error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |12521|      0|            }
  |  |12522|  5.17k|            stack_pointer += -1;
  |  |12523|  5.17k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  5.17k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12524|  5.17k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  5.17k|    { \
  |  |  |  |  201|  5.17k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  5.17k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  5.17k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  5.17k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  5.17k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  5.17k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  5.17k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  5.17k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 5.17k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  5.17k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  5.17k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  5.17k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  5.17k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  5.17k|    }
  |  |  ------------------
  |  |12525|  5.17k|        }
  |  |12526|       |
  |  |12527|      1|        TARGET(STORE_SLICE) {
  |  |  ------------------
  |  |  |  |  132|      1|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12528|       |            #if _Py_TAIL_CALL_INTERP
  |  |12529|       |            int opcode = STORE_SLICE;
  |  |12530|       |            (void)(opcode);
  |  |12531|       |            #endif
  |  |12532|      1|            frame->instr_ptr = next_instr;
  |  |12533|      1|            next_instr += 1;
  |  |12534|      1|            INSTRUCTION_STATS(STORE_SLICE);
  |  |  ------------------
  |  |  |  |   71|      1|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12535|      1|            _PyStackRef v;
  |  |12536|      1|            _PyStackRef container;
  |  |12537|      1|            _PyStackRef start;
  |  |12538|      1|            _PyStackRef stop;
  |  |12539|       |            // _SPECIALIZE_STORE_SLICE
  |  |12540|      1|            {
  |  |12541|      1|                #if ENABLE_SPECIALIZATION
  |  |12542|      1|                OPCODE_DEFERRED_INC(STORE_SLICE);
  |  |  ------------------
  |  |  |  |   90|      1|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |12543|      1|                #endif  /* ENABLE_SPECIALIZATION */
  |  |12544|      1|            }
  |  |12545|       |            // _STORE_SLICE
  |  |12546|      1|            {
  |  |12547|      1|                stop = stack_pointer[-1];
  |  |12548|      1|                start = stack_pointer[-2];
  |  |12549|      1|                container = stack_pointer[-3];
  |  |12550|      1|                v = stack_pointer[-4];
  |  |12551|      1|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12552|      1|                _PyFrame_StackPointerValidate(frame);
  |  |12553|      1|                PyObject *slice = _PyBuildSlice_ConsumeRefs(PyStackRef_AsPyObjectSteal(start),
  |  |12554|      1|                    PyStackRef_AsPyObjectSteal(stop),
  |  |12555|      1|                    Py_None);
  |  |  ------------------
  |  |  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  |  |12556|      1|                _PyFrame_StackPointerInvalidate(frame);
  |  |12557|      1|                int err;
  |  |12558|      1|                if (slice == NULL) {
  |  |  ------------------
  |  |  |  Branch (12558:21): [True: 0, False: 1]
  |  |  ------------------
  |  |12559|      0|                    err = 1;
  |  |12560|      0|                }
  |  |12561|      1|                else {
  |  |12562|      1|                    stack_pointer += -2;
  |  |12563|      1|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      1|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12564|      1|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12565|      1|                    _PyFrame_StackPointerValidate(frame);
  |  |12566|      1|                    err = PyObject_SetItem(PyStackRef_AsPyObjectBorrow(container), slice, PyStackRef_AsPyObjectBorrow(v));
  |  |12567|      1|                    _PyFrame_StackPointerInvalidate(frame);
  |  |12568|      1|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (12568:21): [True: 1, False: 0]
  |  |  ------------------
  |  |12569|      1|                    _PyFrame_StackPointerValidate(frame);
  |  |12570|      1|                    Py_DECREF(slice);
  |  |  ------------------
  |  |  |  |   80|      1|    do { \
  |  |  |  |   81|      1|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      1|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      1|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      1|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      1|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      1|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 1, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      1|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      1|    do { \
  |  |  |  |  |  |  113|      1|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|      1|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|      1|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      1|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      1|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      1|            (*dealloc)(op); \
  |  |  |  |   91|      1|        } \
  |  |  |  |   92|      1|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12571|      1|                    _PyFrame_StackPointerInvalidate(frame);
  |  |12572|      1|                    stack_pointer += 2;
  |  |12573|      1|                }
  |  |12574|      1|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12575|      1|                _PyFrame_StackPointerValidate(frame);
  |  |12576|      1|                _PyStackRef tmp = container;
  |  |12577|      1|                container = PyStackRef_NULL;
  |  |12578|      1|                stack_pointer[-3] = container;
  |  |12579|      1|                PyStackRef_CLOSE(tmp);
  |  |12580|      1|                _PyFrame_StackPointerInvalidate(frame);
  |  |12581|      1|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (12581:17): [True: 1, False: 0]
  |  |  ------------------
  |  |12582|      1|                _PyFrame_StackPointerValidate(frame);
  |  |12583|      1|                tmp = v;
  |  |12584|      1|                v = PyStackRef_NULL;
  |  |12585|      1|                stack_pointer[-4] = v;
  |  |12586|      1|                PyStackRef_CLOSE(tmp);
  |  |12587|      1|                _PyFrame_StackPointerInvalidate(frame);
  |  |12588|      1|                stack_pointer += -4;
  |  |12589|      1|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      1|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12590|      1|                if (err) {
  |  |  ------------------
  |  |  |  Branch (12590:21): [True: 0, False: 1]
  |  |  ------------------
  |  |12591|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |12592|      0|                }
  |  |12593|      1|            }
  |  |12594|      1|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      1|    { \
  |  |  |  |  201|      1|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      1|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      1|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      1|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      1|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      1|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      1|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      1|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      1|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      1|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      1|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      1|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      1|    }
  |  |  ------------------
  |  |12595|      1|        }
  |  |12596|       |
  |  |12597|    227|        TARGET(STORE_SUBSCR) {
  |  |  ------------------
  |  |  |  |  132|    227|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12598|       |            #if _Py_TAIL_CALL_INTERP
  |  |12599|       |            int opcode = STORE_SUBSCR;
  |  |12600|       |            (void)(opcode);
  |  |12601|       |            #endif
  |  |12602|    227|            frame->instr_ptr = next_instr;
  |  |12603|    227|            next_instr += 2;
  |  |12604|    227|            INSTRUCTION_STATS(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |   71|    227|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12605|    227|            PREDICTED_STORE_SUBSCR:;
  |  |12606|    227|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  |12607|    227|            (void)this_instr;
  |  |12608|    227|            _PyStackRef container;
  |  |12609|    227|            _PyStackRef sub;
  |  |12610|    227|            _PyStackRef v;
  |  |12611|       |            // _SPECIALIZE_STORE_SUBSCR
  |  |12612|    227|            {
  |  |12613|    227|                sub = stack_pointer[-1];
  |  |12614|    227|                container = stack_pointer[-2];
  |  |12615|    227|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |12616|    227|                (void)counter;
  |  |12617|    227|                #if ENABLE_SPECIALIZATION
  |  |12618|    227|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|    227|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 71, False: 156]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12619|     71|                    next_instr = this_instr;
  |  |12620|     71|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12621|     71|                    _PyFrame_StackPointerValidate(frame);
  |  |12622|     71|                    _Py_Specialize_StoreSubscr(container, sub, next_instr);
  |  |12623|     71|                    _PyFrame_StackPointerInvalidate(frame);
  |  |12624|     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|    }
  |  |  ------------------
  |  |12625|     71|                }
  |  |12626|    227|                OPCODE_DEFERRED_INC(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |   90|    227|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |12627|    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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12628|    227|                #endif  /* ENABLE_SPECIALIZATION */
  |  |12629|    227|            }
  |  |12630|       |            // _STORE_SUBSCR
  |  |12631|    227|            {
  |  |12632|    227|                v = stack_pointer[-3];
  |  |12633|    227|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12634|    227|                _PyFrame_StackPointerValidate(frame);
  |  |12635|    227|                int err = PyObject_SetItem(PyStackRef_AsPyObjectBorrow(container), PyStackRef_AsPyObjectBorrow(sub), PyStackRef_AsPyObjectBorrow(v));
  |  |12636|    227|                _PyFrame_StackPointerInvalidate(frame);
  |  |12637|    227|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (12637:17): [True: 156, False: 71]
  |  |  ------------------
  |  |12638|    156|                _PyFrame_StackPointerValidate(frame);
  |  |12639|    156|                _PyStackRef tmp = sub;
  |  |12640|    156|                sub = PyStackRef_NULL;
  |  |12641|    156|                stack_pointer[-1] = sub;
  |  |12642|    156|                PyStackRef_CLOSE(tmp);
  |  |12643|    156|                _PyFrame_StackPointerInvalidate(frame);
  |  |12644|    156|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (12644:17): [True: 156, False: 0]
  |  |  ------------------
  |  |12645|    156|                _PyFrame_StackPointerValidate(frame);
  |  |12646|    156|                tmp = container;
  |  |12647|    156|                container = PyStackRef_NULL;
  |  |12648|    156|                stack_pointer[-2] = container;
  |  |12649|    156|                PyStackRef_CLOSE(tmp);
  |  |12650|    156|                _PyFrame_StackPointerInvalidate(frame);
  |  |12651|    156|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (12651:17): [True: 156, False: 0]
  |  |  ------------------
  |  |12652|    156|                _PyFrame_StackPointerValidate(frame);
  |  |12653|    156|                tmp = v;
  |  |12654|    156|                v = PyStackRef_NULL;
  |  |12655|    156|                stack_pointer[-3] = v;
  |  |12656|    156|                PyStackRef_CLOSE(tmp);
  |  |12657|    156|                _PyFrame_StackPointerInvalidate(frame);
  |  |12658|    156|                stack_pointer += -3;
  |  |12659|    156|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    156|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12660|    156|                if (err) {
  |  |  ------------------
  |  |  |  Branch (12660:21): [True: 0, False: 156]
  |  |  ------------------
  |  |12661|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |12662|      0|                }
  |  |12663|    156|            }
  |  |12664|    156|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    156|    { \
  |  |  |  |  201|    156|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    156|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    156|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    156|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    156|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    156|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    156|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    156|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 156]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    156|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    156|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    156|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    156|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    156|    }
  |  |  ------------------
  |  |12665|    156|        }
  |  |12666|       |
  |  |12667|    797|        TARGET(STORE_SUBSCR_DICT) {
  |  |  ------------------
  |  |  |  |  132|    797|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12668|       |            #if _Py_TAIL_CALL_INTERP
  |  |12669|       |            int opcode = STORE_SUBSCR_DICT;
  |  |12670|       |            (void)(opcode);
  |  |12671|       |            #endif
  |  |12672|    797|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12673|    797|            (void)this_instr;
  |  |12674|    797|            frame->instr_ptr = next_instr;
  |  |12675|    797|            next_instr += 2;
  |  |12676|    797|            INSTRUCTION_STATS(STORE_SUBSCR_DICT);
  |  |  ------------------
  |  |  |  |   71|    797|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12677|    797|            static_assert(INLINE_CACHE_ENTRIES_STORE_SUBSCR == 1, "incorrect cache size");
  |  |12678|    797|            _PyStackRef nos;
  |  |12679|    797|            _PyStackRef value;
  |  |12680|    797|            _PyStackRef dict_st;
  |  |12681|    797|            _PyStackRef sub;
  |  |12682|    797|            _PyStackRef st;
  |  |12683|       |            // _GUARD_NOS_DICT_STORE_SUBSCRIPT
  |  |12684|    797|            {
  |  |12685|    797|                nos = stack_pointer[-2];
  |  |12686|    797|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  |12687|    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 (12687:21): [True: 0, False: 797]
  |  |  ------------------
  |  |12688|      0|                    UPDATE_MISS_STATS(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12689|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_SUBSCR));
  |  |  ------------------
  |  |  |  Branch (12689:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12690|      0|                    JUMP_TO_PREDICTED(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12691|      0|                }
  |  |12692|    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 (12692:21): [True: 0, False: 797]
  |  |  ------------------
  |  |12693|      0|                    UPDATE_MISS_STATS(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12694|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_SUBSCR));
  |  |  ------------------
  |  |  |  Branch (12694:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12695|      0|                    JUMP_TO_PREDICTED(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12696|      0|                }
  |  |12697|    797|            }
  |  |12698|       |            /* Skip 1 cache entry */
  |  |12699|       |            // _STORE_SUBSCR_DICT
  |  |12700|    797|            {
  |  |12701|    797|                sub = stack_pointer[-1];
  |  |12702|    797|                dict_st = nos;
  |  |12703|    797|                value = stack_pointer[-3];
  |  |12704|    797|                PyObject *dict = PyStackRef_AsPyObjectBorrow(dict_st);
  |  |12705|    797|                assert(Py_TYPE(dict)->tp_as_mapping->mp_ass_subscript == _PyDict_StoreSubscript);
  |  |  ------------------
  |  |  |  Branch (12705:17): [True: 797, False: 0]
  |  |  ------------------
  |  |12706|    797|                STAT_INC(STORE_SUBSCR, hit);
  |  |  ------------------
  |  |  |  |   73|    797|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |12707|    797|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12708|    797|                _PyFrame_StackPointerValidate(frame);
  |  |12709|    797|                int err = _PyDict_SetItem_Take2((PyDictObject *)dict,
  |  |12710|    797|                    PyStackRef_AsPyObjectSteal(sub),
  |  |12711|    797|                    PyStackRef_AsPyObjectSteal(value));
  |  |12712|    797|                _PyFrame_StackPointerInvalidate(frame);
  |  |12713|    797|                if (err) {
  |  |  ------------------
  |  |  |  Branch (12713:21): [True: 0, False: 797]
  |  |  ------------------
  |  |12714|      0|                    stack_pointer += -3;
  |  |12715|      0|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12716|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12717|      0|                    _PyFrame_StackPointerValidate(frame);
  |  |12718|      0|                    PyStackRef_CLOSE(dict_st);
  |  |12719|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  |12720|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |12721|      0|                }
  |  |12722|    797|                st = dict_st;
  |  |12723|    797|            }
  |  |12724|       |            // _POP_TOP
  |  |12725|      0|            {
  |  |12726|    797|                value = st;
  |  |12727|    797|                stack_pointer += -3;
  |  |12728|    797|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    797|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12729|    797|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12730|    797|                _PyFrame_StackPointerValidate(frame);
  |  |12731|    797|                PyStackRef_XCLOSE(value);
  |  |12732|    797|                _PyFrame_StackPointerInvalidate(frame);
  |  |12733|    797|            }
  |  |12734|    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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    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|    }
  |  |  ------------------
  |  |12735|    797|        }
  |  |12736|       |
  |  |12737|     11|        TARGET(STORE_SUBSCR_LIST_INT) {
  |  |  ------------------
  |  |  |  |  132|     11|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12738|       |            #if _Py_TAIL_CALL_INTERP
  |  |12739|       |            int opcode = STORE_SUBSCR_LIST_INT;
  |  |12740|       |            (void)(opcode);
  |  |12741|       |            #endif
  |  |12742|     11|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12743|     11|            (void)this_instr;
  |  |12744|     11|            frame->instr_ptr = next_instr;
  |  |12745|     11|            next_instr += 2;
  |  |12746|     11|            INSTRUCTION_STATS(STORE_SUBSCR_LIST_INT);
  |  |  ------------------
  |  |  |  |   71|     11|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12747|     11|            static_assert(INLINE_CACHE_ENTRIES_STORE_SUBSCR == 1, "incorrect cache size");
  |  |12748|     11|            _PyStackRef value;
  |  |12749|     11|            _PyStackRef nos;
  |  |12750|     11|            _PyStackRef list_st;
  |  |12751|     11|            _PyStackRef sub_st;
  |  |12752|     11|            _PyStackRef ls;
  |  |12753|     11|            _PyStackRef ss;
  |  |12754|       |            // _GUARD_TOS_INT
  |  |12755|     11|            {
  |  |12756|     11|                value = stack_pointer[-1];
  |  |12757|     11|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |12758|     11|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (12758:21): [True: 0, False: 11]
  |  |  ------------------
  |  |12759|      0|                    UPDATE_MISS_STATS(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12760|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_SUBSCR));
  |  |  ------------------
  |  |  |  Branch (12760:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12761|      0|                    JUMP_TO_PREDICTED(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12762|      0|                }
  |  |12763|     11|            }
  |  |12764|       |            // _GUARD_NOS_LIST
  |  |12765|     11|            {
  |  |12766|     11|                nos = stack_pointer[-2];
  |  |12767|     11|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  |12768|     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 (12768:21): [True: 0, False: 11]
  |  |  ------------------
  |  |12769|      0|                    UPDATE_MISS_STATS(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12770|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_SUBSCR));
  |  |  ------------------
  |  |  |  Branch (12770:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12771|      0|                    JUMP_TO_PREDICTED(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12772|      0|                }
  |  |12773|     11|            }
  |  |12774|       |            /* Skip 1 cache entry */
  |  |12775|       |            // _STORE_SUBSCR_LIST_INT
  |  |12776|     11|            {
  |  |12777|     11|                sub_st = value;
  |  |12778|     11|                list_st = nos;
  |  |12779|     11|                value = stack_pointer[-3];
  |  |12780|     11|                PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
  |  |12781|     11|                PyObject *list = PyStackRef_AsPyObjectBorrow(list_st);
  |  |12782|     11|                assert(PyLong_CheckExact(sub));
  |  |  ------------------
  |  |  |  Branch (12782:17): [True: 11, False: 0]
  |  |  ------------------
  |  |12783|     11|                assert(PyList_CheckExact(list));
  |  |  ------------------
  |  |  |  Branch (12783:17): [True: 11, False: 0]
  |  |  ------------------
  |  |12784|     11|                Py_ssize_t index = _PyLong_CompactValue((PyLongObject *)sub);
  |  |12785|     11|                if (!LOCK_OBJECT(list)) {
  |  |  ------------------
  |  |  |  |  322|     11|#  define LOCK_OBJECT(op) (1)
  |  |  ------------------
  |  |  |  Branch (12785:21): [Folded, False: 11]
  |  |  ------------------
  |  |12786|      0|                    UPDATE_MISS_STATS(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12787|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_SUBSCR));
  |  |  ------------------
  |  |  |  Branch (12787:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12788|      0|                    JUMP_TO_PREDICTED(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12789|      0|                }
  |  |12790|     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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12791|     11|                if (index < 0) {
  |  |  ------------------
  |  |  |  Branch (12791:21): [True: 0, False: 11]
  |  |  ------------------
  |  |12792|      0|                    index += len;
  |  |12793|      0|                }
  |  |12794|     11|                if (index < 0 || index >= len) {
  |  |  ------------------
  |  |  |  Branch (12794:21): [True: 0, False: 11]
  |  |  |  Branch (12794:34): [True: 0, False: 11]
  |  |  ------------------
  |  |12795|      0|                    UNLOCK_OBJECT(list);
  |  |  ------------------
  |  |  |  |  323|      0|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |12796|      0|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (12796:25): [True: 0, Folded]
  |  |  ------------------
  |  |12797|      0|                        UPDATE_MISS_STATS(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12798|      0|                        assert(_PyOpcode_Deopt[opcode] == (STORE_SUBSCR));
  |  |  ------------------
  |  |  |  Branch (12798:25): [True: 0, False: 0]
  |  |  ------------------
  |  |12799|      0|                        JUMP_TO_PREDICTED(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12800|      0|                    }
  |  |12801|      0|                }
  |  |12802|     11|                STAT_INC(STORE_SUBSCR, hit);
  |  |  ------------------
  |  |  |  |   73|     11|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |12803|     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 (12803:39): [True: 11, False: 0]
  |  |  ------------------
  |  |12804|     11|                FT_ATOMIC_STORE_PTR_RELEASE(_PyList_ITEMS(list)[index],
  |  |  ------------------
  |  |  |  |  164|     22|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:55): [True: 11, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12805|     11|                                        PyStackRef_AsPyObjectSteal(value));
  |  |12806|     11|                assert(old_value != NULL);
  |  |  ------------------
  |  |  |  Branch (12806:17): [True: 11, False: 0]
  |  |  ------------------
  |  |12807|     11|                UNLOCK_OBJECT(list);
  |  |  ------------------
  |  |  |  |  323|     11|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |12808|     11|                ls = list_st;
  |  |12809|     11|                ss = sub_st;
  |  |12810|     11|                stack_pointer[-3] = ls;
  |  |12811|     11|                stack_pointer[-2] = ss;
  |  |12812|     11|                stack_pointer += -1;
  |  |12813|     11|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     11|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12814|     11|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12815|     11|                _PyFrame_StackPointerValidate(frame);
  |  |12816|     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); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12817|     11|                _PyFrame_StackPointerInvalidate(frame);
  |  |12818|     11|            }
  |  |12819|       |            // _POP_TOP_INT
  |  |12820|      0|            {
  |  |12821|     11|                value = ss;
  |  |12822|     11|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (12822:17): [True: 11, False: 0]
  |  |  ------------------
  |  |12823|     11|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  |12824|     11|            }
  |  |12825|       |            // _POP_TOP
  |  |12826|      0|            {
  |  |12827|     11|                value = ls;
  |  |12828|     11|                stack_pointer += -2;
  |  |12829|     11|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     11|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12830|     11|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12831|     11|                _PyFrame_StackPointerValidate(frame);
  |  |12832|     11|                PyStackRef_XCLOSE(value);
  |  |12833|     11|                _PyFrame_StackPointerInvalidate(frame);
  |  |12834|     11|            }
  |  |12835|     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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     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|    }
  |  |  ------------------
  |  |12836|     11|        }
  |  |12837|       |
  |  |12838|  3.02k|        TARGET(SWAP) {
  |  |  ------------------
  |  |  |  |  132|  3.02k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12839|       |            #if _Py_TAIL_CALL_INTERP
  |  |12840|       |            int opcode = SWAP;
  |  |12841|       |            (void)(opcode);
  |  |12842|       |            #endif
  |  |12843|  3.02k|            frame->instr_ptr = next_instr;
  |  |12844|  3.02k|            next_instr += 1;
  |  |12845|  3.02k|            INSTRUCTION_STATS(SWAP);
  |  |  ------------------
  |  |  |  |   71|  3.02k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12846|  3.02k|            _PyStackRef bottom;
  |  |12847|  3.02k|            _PyStackRef top;
  |  |12848|  3.02k|            top = stack_pointer[-1];
  |  |12849|  3.02k|            bottom = stack_pointer[-2 - (oparg-2)];
  |  |12850|  3.02k|            _PyStackRef temp = bottom;
  |  |12851|  3.02k|            bottom = top;
  |  |12852|  3.02k|            top = temp;
  |  |12853|  3.02k|            stack_pointer[-2 - (oparg-2)] = bottom;
  |  |12854|  3.02k|            stack_pointer[-1] = top;
  |  |12855|  3.02k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.02k|    { \
  |  |  |  |  201|  3.02k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  3.02k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  3.02k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  3.02k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  3.02k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  3.02k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  3.02k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  3.02k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 3.02k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.02k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.02k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.02k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.02k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.02k|    }
  |  |  ------------------
  |  |12856|  3.02k|        }
  |  |12857|       |
  |  |12858|  3.02k|        TARGET(TO_BOOL) {
  |  |  ------------------
  |  |  |  |  132|  1.14k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12859|       |            #if _Py_TAIL_CALL_INTERP
  |  |12860|       |            int opcode = TO_BOOL;
  |  |12861|       |            (void)(opcode);
  |  |12862|       |            #endif
  |  |12863|  1.14k|            frame->instr_ptr = next_instr;
  |  |12864|  1.14k|            next_instr += 4;
  |  |12865|  1.14k|            INSTRUCTION_STATS(TO_BOOL);
  |  |  ------------------
  |  |  |  |   71|  1.14k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12866|  1.25k|            PREDICTED_TO_BOOL:;
  |  |12867|  1.25k|            _Py_CODEUNIT* const this_instr = next_instr - 4;
  |  |12868|  1.25k|            (void)this_instr;
  |  |12869|  1.25k|            _PyStackRef value;
  |  |12870|  1.25k|            _PyStackRef res;
  |  |12871|       |            // _SPECIALIZE_TO_BOOL
  |  |12872|  1.25k|            {
  |  |12873|  1.25k|                value = stack_pointer[-1];
  |  |12874|  1.25k|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |12875|  1.25k|                (void)counter;
  |  |12876|  1.25k|                #if ENABLE_SPECIALIZATION
  |  |12877|  1.25k|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|  1.25k|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 323, False: 930]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12878|    323|                    next_instr = this_instr;
  |  |12879|    323|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12880|    323|                    _PyFrame_StackPointerValidate(frame);
  |  |12881|    323|                    _Py_Specialize_ToBool(value, next_instr);
  |  |12882|    323|                    _PyFrame_StackPointerInvalidate(frame);
  |  |12883|    323|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|    323|    { \
  |  |  |  |  217|    323|        opcode = next_instr->op.code; \
  |  |  |  |  218|    323|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    323|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|    323|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|    323|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|    323|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|    323|    }
  |  |  ------------------
  |  |12884|    323|                }
  |  |12885|  1.25k|                OPCODE_DEFERRED_INC(TO_BOOL);
  |  |  ------------------
  |  |  |  |   90|  1.25k|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |12886|  1.25k|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|  1.25k|    do { \
  |  |  |  |  378|  1.25k|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|  1.25k|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 1.25k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12887|  1.25k|                #endif  /* ENABLE_SPECIALIZATION */
  |  |12888|  1.25k|            }
  |  |12889|       |            /* Skip 2 cache entries */
  |  |12890|       |            // _TO_BOOL
  |  |12891|  1.25k|            {
  |  |12892|  1.25k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12893|  1.25k|                _PyFrame_StackPointerValidate(frame);
  |  |12894|  1.25k|                int err = PyObject_IsTrue(PyStackRef_AsPyObjectBorrow(value));
  |  |12895|  1.25k|                _PyFrame_StackPointerInvalidate(frame);
  |  |12896|  1.25k|                stack_pointer += -1;
  |  |12897|  1.25k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.25k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12898|  1.25k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12899|  1.25k|                _PyFrame_StackPointerValidate(frame);
  |  |12900|  1.25k|                PyStackRef_CLOSE(value);
  |  |12901|  1.25k|                _PyFrame_StackPointerInvalidate(frame);
  |  |12902|  1.25k|                if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (12902:21): [True: 0, False: 1.25k]
  |  |  ------------------
  |  |12903|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |12904|      0|                }
  |  |12905|  1.25k|                res = err ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|    420|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    420|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = err ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  2.08k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    833|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12905:23): [True: 420, False: 833]
  |  |  ------------------
  |  |12906|  1.25k|            }
  |  |12907|      0|            stack_pointer[0] = res;
  |  |12908|  1.25k|            stack_pointer += 1;
  |  |12909|  1.25k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.25k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12910|  1.25k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.25k|    { \
  |  |  |  |  201|  1.25k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.25k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.25k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.25k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.25k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.25k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.25k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.25k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.25k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.25k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.25k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.25k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.25k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.25k|    }
  |  |  ------------------
  |  |12911|  1.25k|        }
  |  |12912|       |
  |  |12913|      0|        TARGET(TO_BOOL_ALWAYS_TRUE) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12914|       |            #if _Py_TAIL_CALL_INTERP
  |  |12915|       |            int opcode = TO_BOOL_ALWAYS_TRUE;
  |  |12916|       |            (void)(opcode);
  |  |12917|       |            #endif
  |  |12918|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12919|      0|            (void)this_instr;
  |  |12920|      0|            frame->instr_ptr = next_instr;
  |  |12921|      0|            next_instr += 4;
  |  |12922|      0|            INSTRUCTION_STATS(TO_BOOL_ALWAYS_TRUE);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12923|      0|            static_assert(INLINE_CACHE_ENTRIES_TO_BOOL == 3, "incorrect cache size");
  |  |12924|      0|            _PyStackRef owner;
  |  |12925|      0|            _PyStackRef value;
  |  |12926|      0|            _PyStackRef res;
  |  |12927|      0|            _PyStackRef v;
  |  |12928|       |            /* Skip 1 cache entry */
  |  |12929|       |            // _GUARD_TYPE_VERSION
  |  |12930|      0|            {
  |  |12931|      0|                owner = stack_pointer[-1];
  |  |12932|      0|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  |12933|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12934|      0|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (12934:17): [True: 0, False: 0]
  |  |  ------------------
  |  |12935|      0|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|      0|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (12935:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12936|      0|                    UPDATE_MISS_STATS(TO_BOOL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12937|      0|                    assert(_PyOpcode_Deopt[opcode] == (TO_BOOL));
  |  |  ------------------
  |  |  |  Branch (12937:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12938|      0|                    JUMP_TO_PREDICTED(TO_BOOL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12939|      0|                }
  |  |12940|      0|            }
  |  |12941|       |            // _REPLACE_WITH_TRUE
  |  |12942|      0|            {
  |  |12943|      0|                value = owner;
  |  |12944|      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
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12945|      0|                v = value;
  |  |12946|      0|            }
  |  |12947|       |            // _POP_TOP
  |  |12948|      0|            {
  |  |12949|      0|                value = v;
  |  |12950|      0|                stack_pointer[-1] = res;
  |  |12951|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12952|      0|                _PyFrame_StackPointerValidate(frame);
  |  |12953|      0|                PyStackRef_XCLOSE(value);
  |  |12954|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |12955|      0|            }
  |  |12956|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  |12957|      0|        }
  |  |12958|       |
  |  |12959|  3.29k|        TARGET(TO_BOOL_BOOL) {
  |  |  ------------------
  |  |  |  |  132|  3.29k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12960|       |            #if _Py_TAIL_CALL_INTERP
  |  |12961|       |            int opcode = TO_BOOL_BOOL;
  |  |12962|       |            (void)(opcode);
  |  |12963|       |            #endif
  |  |12964|  3.29k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12965|  3.29k|            (void)this_instr;
  |  |12966|  3.29k|            frame->instr_ptr = next_instr;
  |  |12967|  3.29k|            next_instr += 4;
  |  |12968|  3.29k|            INSTRUCTION_STATS(TO_BOOL_BOOL);
  |  |  ------------------
  |  |  |  |   71|  3.29k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12969|  3.29k|            static_assert(INLINE_CACHE_ENTRIES_TO_BOOL == 3, "incorrect cache size");
  |  |12970|  3.29k|            _PyStackRef value;
  |  |12971|       |            /* Skip 1 cache entry */
  |  |12972|       |            /* Skip 2 cache entries */
  |  |12973|  3.29k|            value = stack_pointer[-1];
  |  |12974|  3.29k|            if (!PyStackRef_BoolCheck(value)) {
  |  |  ------------------
  |  |  |  Branch (12974:17): [True: 0, False: 3.29k]
  |  |  ------------------
  |  |12975|      0|                UPDATE_MISS_STATS(TO_BOOL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12976|      0|                assert(_PyOpcode_Deopt[opcode] == (TO_BOOL));
  |  |  ------------------
  |  |  |  Branch (12976:17): [True: 0, False: 0]
  |  |  ------------------
  |  |12977|      0|                JUMP_TO_PREDICTED(TO_BOOL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12978|      0|            }
  |  |12979|  3.29k|            STAT_INC(TO_BOOL, hit);
  |  |  ------------------
  |  |  |  |   73|  3.29k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |12980|  3.29k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.29k|    { \
  |  |  |  |  201|  3.29k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  3.29k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  3.29k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  3.29k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  3.29k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  3.29k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  3.29k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  3.29k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 3.29k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.29k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.29k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.29k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.29k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.29k|    }
  |  |  ------------------
  |  |12981|  3.29k|        }
  |  |12982|       |
  |  |12983|    332|        TARGET(TO_BOOL_INT) {
  |  |  ------------------
  |  |  |  |  132|    332|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12984|       |            #if _Py_TAIL_CALL_INTERP
  |  |12985|       |            int opcode = TO_BOOL_INT;
  |  |12986|       |            (void)(opcode);
  |  |12987|       |            #endif
  |  |12988|    332|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12989|    332|            (void)this_instr;
  |  |12990|    332|            frame->instr_ptr = next_instr;
  |  |12991|    332|            next_instr += 4;
  |  |12992|    332|            INSTRUCTION_STATS(TO_BOOL_INT);
  |  |  ------------------
  |  |  |  |   71|    332|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12993|    332|            static_assert(INLINE_CACHE_ENTRIES_TO_BOOL == 3, "incorrect cache size");
  |  |12994|    332|            _PyStackRef value;
  |  |12995|    332|            _PyStackRef res;
  |  |12996|    332|            _PyStackRef v;
  |  |12997|       |            // _GUARD_TOS_EXACT_INT
  |  |12998|    332|            {
  |  |12999|    332|                value = stack_pointer[-1];
  |  |13000|    332|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |13001|    332|                if (!PyLong_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |   14|    332|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    332|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    332|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    332|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (13001:21): [True: 0, False: 332]
  |  |  ------------------
  |  |13002|      0|                    UPDATE_MISS_STATS(TO_BOOL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |13003|      0|                    assert(_PyOpcode_Deopt[opcode] == (TO_BOOL));
  |  |  ------------------
  |  |  |  Branch (13003:21): [True: 0, False: 0]
  |  |  ------------------
  |  |13004|      0|                    JUMP_TO_PREDICTED(TO_BOOL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |13005|      0|                }
  |  |13006|    332|            }
  |  |13007|       |            /* Skip 1 cache entry */
  |  |13008|       |            /* Skip 2 cache entries */
  |  |13009|       |            // _TO_BOOL_INT
  |  |13010|    332|            {
  |  |13011|    332|                STAT_INC(TO_BOOL, hit);
  |  |  ------------------
  |  |  |  |   73|    332|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |13012|    332|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |13013|    332|                res = (_PyLong_IsZero((PyLongObject *)value_o)) ? PyStackRef_False : PyStackRef_True;
  |  |  ------------------
  |  |  |  |  484|    250|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    250|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = (_PyLong_IsZero((PyLongObject *)value_o)) ? PyStackRef_False : PyStackRef_True;
  |  |  ------------------
  |  |  |  |  483|    414|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|     82|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (13013:23): [True: 250, False: 82]
  |  |  ------------------
  |  |13014|    332|                v = value;
  |  |13015|    332|            }
  |  |13016|       |            // _POP_TOP_INT
  |  |13017|    332|            {
  |  |13018|    332|                value = v;
  |  |13019|    332|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (13019:17): [True: 332, False: 0]
  |  |  ------------------
  |  |13020|    332|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  |13021|    332|            }
  |  |13022|      0|            stack_pointer[-1] = res;
  |  |13023|    332|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    332|    { \
  |  |  |  |  201|    332|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    332|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    332|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    332|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    332|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    332|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    332|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    332|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 332]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    332|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    332|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    332|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    332|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    332|    }
  |  |  ------------------
  |  |13024|    332|        }
  |  |13025|       |
  |  |13026|    256|        TARGET(TO_BOOL_LIST) {
  |  |  ------------------
  |  |  |  |  132|    256|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13027|       |            #if _Py_TAIL_CALL_INTERP
  |  |13028|       |            int opcode = TO_BOOL_LIST;
  |  |13029|       |            (void)(opcode);
  |  |13030|       |            #endif
  |  |13031|    256|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |13032|    256|            (void)this_instr;
  |  |13033|    256|            frame->instr_ptr = next_instr;
  |  |13034|    256|            next_instr += 4;
  |  |13035|    256|            INSTRUCTION_STATS(TO_BOOL_LIST);
  |  |  ------------------
  |  |  |  |   71|    256|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13036|    256|            static_assert(INLINE_CACHE_ENTRIES_TO_BOOL == 3, "incorrect cache size");
  |  |13037|    256|            _PyStackRef tos;
  |  |13038|    256|            _PyStackRef value;
  |  |13039|    256|            _PyStackRef res;
  |  |13040|    256|            _PyStackRef v;
  |  |13041|       |            // _GUARD_TOS_LIST
  |  |13042|    256|            {
  |  |13043|    256|                tos = stack_pointer[-1];
  |  |13044|    256|                PyObject *o = PyStackRef_AsPyObjectBorrow(tos);
  |  |13045|    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 (13045:21): [True: 0, False: 256]
  |  |  ------------------
  |  |13046|      0|                    UPDATE_MISS_STATS(TO_BOOL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |13047|      0|                    assert(_PyOpcode_Deopt[opcode] == (TO_BOOL));
  |  |  ------------------
  |  |  |  Branch (13047:21): [True: 0, False: 0]
  |  |  ------------------
  |  |13048|      0|                    JUMP_TO_PREDICTED(TO_BOOL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |13049|      0|                }
  |  |13050|    256|            }
  |  |13051|       |            /* Skip 1 cache entry */
  |  |13052|       |            /* Skip 2 cache entries */
  |  |13053|       |            // _TO_BOOL_LIST
  |  |13054|    256|            {
  |  |13055|    256|                value = tos;
  |  |13056|    256|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |13057|    256|                assert(PyList_CheckExact(value_o));
  |  |  ------------------
  |  |  |  Branch (13057:17): [True: 256, False: 0]
  |  |  ------------------
  |  |13058|    256|                STAT_INC(TO_BOOL, hit);
  |  |  ------------------
  |  |  |  |   73|    256|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |13059|    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
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13060|    256|                v = value;
  |  |13061|    256|            }
  |  |13062|       |            // _POP_TOP
  |  |13063|      0|            {
  |  |13064|    256|                value = v;
  |  |13065|    256|                stack_pointer[-1] = res;
  |  |13066|    256|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13067|    256|                _PyFrame_StackPointerValidate(frame);
  |  |13068|    256|                PyStackRef_XCLOSE(value);
  |  |13069|    256|                _PyFrame_StackPointerInvalidate(frame);
  |  |13070|    256|            }
  |  |13071|    256|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    256|    { \
  |  |  |  |  201|    256|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    256|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    256|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    256|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    256|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    256|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    256|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    256|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 256]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    256|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    256|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    256|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    256|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    256|    }
  |  |  ------------------
  |  |13072|    256|        }
  |  |13073|       |
  |  |13074|    352|        TARGET(TO_BOOL_NONE) {
  |  |  ------------------
  |  |  |  |  132|    352|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13075|       |            #if _Py_TAIL_CALL_INTERP
  |  |13076|       |            int opcode = TO_BOOL_NONE;
  |  |13077|       |            (void)(opcode);
  |  |13078|       |            #endif
  |  |13079|    352|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |13080|    352|            (void)this_instr;
  |  |13081|    352|            frame->instr_ptr = next_instr;
  |  |13082|    352|            next_instr += 4;
  |  |13083|    352|            INSTRUCTION_STATS(TO_BOOL_NONE);
  |  |  ------------------
  |  |  |  |   71|    352|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13084|    352|            static_assert(INLINE_CACHE_ENTRIES_TO_BOOL == 3, "incorrect cache size");
  |  |13085|    352|            _PyStackRef value;
  |  |13086|    352|            _PyStackRef res;
  |  |13087|       |            /* Skip 1 cache entry */
  |  |13088|       |            /* Skip 2 cache entries */
  |  |13089|    352|            value = stack_pointer[-1];
  |  |13090|    352|            if (!PyStackRef_IsNone(value)) {
  |  |  ------------------
  |  |  |  |  495|    352|#define PyStackRef_IsNone(REF) ((REF).bits == (((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    352|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (13090:17): [True: 111, False: 241]
  |  |  ------------------
  |  |13091|    111|                UPDATE_MISS_STATS(TO_BOOL);
  |  |  ------------------
  |  |  |  |  299|    111|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |13092|    111|                assert(_PyOpcode_Deopt[opcode] == (TO_BOOL));
  |  |  ------------------
  |  |  |  Branch (13092:17): [True: 111, False: 0]
  |  |  ------------------
  |  |13093|    111|                JUMP_TO_PREDICTED(TO_BOOL);
  |  |  ------------------
  |  |  |  |  136|    111|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |13094|      0|            }
  |  |13095|    241|            STAT_INC(TO_BOOL, hit);
  |  |  ------------------
  |  |  |  |   73|    241|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |13096|    241|            res = PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|    241|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    241|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13097|    241|            stack_pointer[-1] = res;
  |  |13098|    241|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    241|    { \
  |  |  |  |  201|    241|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    241|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    241|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    241|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    241|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    241|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    241|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    241|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 241]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    241|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    241|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    241|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    241|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    241|    }
  |  |  ------------------
  |  |13099|    241|        }
  |  |13100|       |
  |  |13101|  1.14k|        TARGET(TO_BOOL_STR) {
  |  |  ------------------
  |  |  |  |  132|  1.14k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13102|       |            #if _Py_TAIL_CALL_INTERP
  |  |13103|       |            int opcode = TO_BOOL_STR;
  |  |13104|       |            (void)(opcode);
  |  |13105|       |            #endif
  |  |13106|  1.14k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |13107|  1.14k|            (void)this_instr;
  |  |13108|  1.14k|            frame->instr_ptr = next_instr;
  |  |13109|  1.14k|            next_instr += 4;
  |  |13110|  1.14k|            INSTRUCTION_STATS(TO_BOOL_STR);
  |  |  ------------------
  |  |  |  |   71|  1.14k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13111|  1.14k|            static_assert(INLINE_CACHE_ENTRIES_TO_BOOL == 3, "incorrect cache size");
  |  |13112|  1.14k|            _PyStackRef value;
  |  |13113|  1.14k|            _PyStackRef res;
  |  |13114|  1.14k|            _PyStackRef v;
  |  |13115|       |            // _GUARD_TOS_UNICODE
  |  |13116|  1.14k|            {
  |  |13117|  1.14k|                value = stack_pointer[-1];
  |  |13118|  1.14k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |13119|  1.14k|                if (!PyUnicode_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |  104|  1.14k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  1.14k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.14k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.14k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (13119:21): [True: 0, False: 1.14k]
  |  |  ------------------
  |  |13120|      0|                    UPDATE_MISS_STATS(TO_BOOL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |13121|      0|                    assert(_PyOpcode_Deopt[opcode] == (TO_BOOL));
  |  |  ------------------
  |  |  |  Branch (13121:21): [True: 0, False: 0]
  |  |  ------------------
  |  |13122|      0|                    JUMP_TO_PREDICTED(TO_BOOL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |13123|      0|                }
  |  |13124|  1.14k|            }
  |  |13125|       |            /* Skip 1 cache entry */
  |  |13126|       |            /* Skip 2 cache entries */
  |  |13127|       |            // _TO_BOOL_STR
  |  |13128|  1.14k|            {
  |  |13129|  1.14k|                STAT_INC(TO_BOOL, hit);
  |  |  ------------------
  |  |  |  |   73|  1.14k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |13130|  1.14k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |13131|  1.14k|                res = value_o == &_Py_STR(empty) ? PyStackRef_False : PyStackRef_True;
  |  |  ------------------
  |  |  |  |  938|  1.14k|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|  1.14k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|  1.14k|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = value_o == &_Py_STR(empty) ? PyStackRef_False : PyStackRef_True;
  |  |  ------------------
  |  |  |  |  484|    164|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    164|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = value_o == &_Py_STR(empty) ? PyStackRef_False : PyStackRef_True;
  |  |  ------------------
  |  |  |  |  483|  2.11k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    976|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (13131:23): [True: 164, False: 976]
  |  |  ------------------
  |  |13132|  1.14k|                v = value;
  |  |13133|  1.14k|            }
  |  |13134|       |            // _POP_TOP_UNICODE
  |  |13135|  1.14k|            {
  |  |13136|  1.14k|                value = v;
  |  |13137|  1.14k|                assert(PyUnicode_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (13137:17): [True: 1.14k, False: 0]
  |  |  ------------------
  |  |13138|  1.14k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyUnicode_ExactDealloc);
  |  |13139|  1.14k|            }
  |  |13140|      0|            stack_pointer[-1] = res;
  |  |13141|  1.14k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.14k|    { \
  |  |  |  |  201|  1.14k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.14k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.14k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.14k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.14k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.14k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.14k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.14k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.14k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.14k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.14k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.14k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.14k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.14k|    }
  |  |  ------------------
  |  |13142|  1.14k|        }
  |  |13143|       |
  |  |13144|      0|        TARGET(TRACE_RECORD) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13145|       |            #if _Py_TAIL_CALL_INTERP
  |  |13146|       |            int opcode = TRACE_RECORD;
  |  |13147|       |            (void)(opcode);
  |  |13148|       |            #endif
  |  |13149|      0|            _Py_CODEUNIT* const prev_instr = frame->instr_ptr;
  |  |13150|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |13151|      0|            (void)this_instr;
  |  |13152|      0|            frame->instr_ptr = next_instr;
  |  |13153|      0|            next_instr += 1;
  |  |13154|      0|            INSTRUCTION_STATS(TRACE_RECORD);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13155|      0|            opcode = TRACE_RECORD;
  |  |  ------------------
  |  |  |  |  243|      0|#define TRACE_RECORD                           255
  |  |  ------------------
  |  |13156|       |            #if _Py_TIER2
  |  |13157|       |            assert(IS_JIT_TRACING());
  |  |13158|       |            next_instr = this_instr;
  |  |13159|       |            frame->instr_ptr = prev_instr;
  |  |13160|       |            opcode = next_instr->op.code;
  |  |13161|       |            bool stop_tracing = (
  |  |13162|       |                                 opcode == WITH_EXCEPT_START ||
  |  |13163|       |                                 opcode == RERAISE ||
  |  |13164|       |                                 opcode == CLEANUP_THROW ||
  |  |13165|       |                                 opcode == PUSH_EXC_INFO ||
  |  |13166|       |                                 opcode == INTERPRETER_EXIT ||
  |  |13167|       |                                 (opcode >= MIN_INSTRUMENTED_OPCODE && opcode != ENTER_EXECUTOR)
  |  |13168|       |            );
  |  |13169|       |            _PyThreadStateImpl *_tstate = (_PyThreadStateImpl *)tstate;
  |  |13170|       |            _PyJitTracerState *tracer = _tstate->jit_tracer_state;
  |  |13171|       |            assert(tracer != NULL);
  |  |13172|       |            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13173|       |            _PyFrame_StackPointerValidate(frame);
  |  |13174|       |            int full = !_PyJit_translate_single_bytecode_to_trace(tstate, frame, next_instr, stop_tracing ? _DEOPT : 0);
  |  |13175|       |            _PyFrame_StackPointerInvalidate(frame);
  |  |13176|       |            if (full) {
  |  |13177|       |                LEAVE_TRACING();
  |  |13178|       |                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |13179|       |                _PyFrame_StackPointerValidate(frame);
  |  |13180|       |                int err = stop_tracing_and_jit(tstate, frame);
  |  |13181|       |                _PyFrame_StackPointerInvalidate(frame);
  |  |13182|       |                if (err < 0) {
  |  |13183|       |                    JUMP_TO_LABEL(error);
  |  |13184|       |                }
  |  |13185|       |                DISPATCH();
  |  |13186|       |            }
  |  |13187|       |            for (int i = 0; i < tracer->prev_state.recorded_count; i++) {
  |  |13188|       |                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |13189|       |                _PyFrame_StackPointerValidate(frame);
  |  |13190|       |                Py_CLEAR(tracer->prev_state.recorded_values[i]);
  |  |13191|       |                _PyFrame_StackPointerInvalidate(frame);
  |  |13192|       |            }
  |  |13193|       |            tracer->prev_state.recorded_count = 0;
  |  |13194|       |            tracer->prev_state.instr = next_instr;
  |  |13195|       |            PyObject *prev_code = PyStackRef_AsPyObjectBorrow(frame->f_executable);
  |  |13196|       |            if (tracer->prev_state.instr_code != (PyCodeObject *)prev_code) {
  |  |13197|       |                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |13198|       |                _PyFrame_StackPointerValidate(frame);
  |  |13199|       |                Py_SETREF(tracer->prev_state.instr_code, (PyCodeObject*)Py_NewRef((prev_code)));
  |  |13200|       |                _PyFrame_StackPointerInvalidate(frame);
  |  |13201|       |            }
  |  |13202|       |            tracer->prev_state.instr_frame = frame;
  |  |13203|       |            tracer->prev_state.instr_oparg = oparg;
  |  |13204|       |            tracer->prev_state.instr_stacklevel = PyStackRef_IsNone(frame->f_executable) ? 2 : STACK_LEVEL();
  |  |13205|       |            if (_PyOpcode_Caches[_PyOpcode_Deopt[opcode]]
  |  |13206|       |                // Branch opcodes use the cache for branch history, not
  |  |13207|       |                // specialization counters.  Don't reset it.
  |  |13208|       |                && !IS_CONDITIONAL_JUMP_OPCODE(opcode)) {
  |  |13209|       |                (&next_instr[1])->counter = trigger_backoff_counter();
  |  |13210|       |            }
  |  |13211|       |            const _PyOpcodeRecordEntry *record_entry = &_PyOpcode_RecordEntries[opcode];
  |  |13212|       |            for (int i = 0; i < record_entry->count; i++) {
  |  |13213|       |                _Py_RecordFuncPtr doesnt_escape = _PyOpcode_RecordFunctions[record_entry->indices[i]];
  |  |13214|       |                doesnt_escape(frame, stack_pointer, oparg, &tracer->prev_state.recorded_values[i]);
  |  |13215|       |            }
  |  |13216|       |            tracer->prev_state.recorded_count = record_entry->count;
  |  |13217|       |            DISPATCH_GOTO_NON_TRACING();
  |  |13218|       |            #else
  |  |13219|      0|            (void)prev_instr;
  |  |13220|      0|            Py_FatalError("JIT instruction executed in non-jit build.");
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  |  |13221|      0|            #endif
  |  |13222|      0|        }
  |  |13223|       |
  |  |13224|      1|        TARGET(UNARY_INVERT) {
  |  |  ------------------
  |  |  |  |  132|      1|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13225|       |            #if _Py_TAIL_CALL_INTERP
  |  |13226|       |            int opcode = UNARY_INVERT;
  |  |13227|       |            (void)(opcode);
  |  |13228|       |            #endif
  |  |13229|      1|            frame->instr_ptr = next_instr;
  |  |13230|      1|            next_instr += 1;
  |  |13231|      1|            INSTRUCTION_STATS(UNARY_INVERT);
  |  |  ------------------
  |  |  |  |   71|      1|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13232|      1|            _PyStackRef value;
  |  |13233|      1|            _PyStackRef res;
  |  |13234|      1|            _PyStackRef v;
  |  |13235|       |            // _UNARY_INVERT
  |  |13236|      1|            {
  |  |13237|      1|                value = stack_pointer[-1];
  |  |13238|      1|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13239|      1|                _PyFrame_StackPointerValidate(frame);
  |  |13240|      1|                PyObject *res_o = PyNumber_Invert(PyStackRef_AsPyObjectBorrow(value));
  |  |13241|      1|                _PyFrame_StackPointerInvalidate(frame);
  |  |13242|      1|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (13242:21): [True: 0, False: 1]
  |  |  ------------------
  |  |13243|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13244|      0|                }
  |  |13245|      1|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  |13246|      1|                v = value;
  |  |13247|      1|            }
  |  |13248|       |            // _POP_TOP
  |  |13249|      0|            {
  |  |13250|      1|                value = v;
  |  |13251|      1|                stack_pointer[-1] = res;
  |  |13252|      1|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (13252:17): [True: 1, False: 0]
  |  |  ------------------
  |  |13253|      1|                _PyFrame_StackPointerValidate(frame);
  |  |13254|      1|                PyStackRef_XCLOSE(value);
  |  |13255|      1|                _PyFrame_StackPointerInvalidate(frame);
  |  |13256|      1|            }
  |  |13257|      1|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      1|    { \
  |  |  |  |  201|      1|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      1|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      1|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      1|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      1|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      1|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      1|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      1|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      1|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      1|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      1|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      1|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      1|    }
  |  |  ------------------
  |  |13258|      1|        }
  |  |13259|       |
  |  |13260|      3|        TARGET(UNARY_NEGATIVE) {
  |  |  ------------------
  |  |  |  |  132|      3|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13261|       |            #if _Py_TAIL_CALL_INTERP
  |  |13262|       |            int opcode = UNARY_NEGATIVE;
  |  |13263|       |            (void)(opcode);
  |  |13264|       |            #endif
  |  |13265|      3|            frame->instr_ptr = next_instr;
  |  |13266|      3|            next_instr += 1;
  |  |13267|      3|            INSTRUCTION_STATS(UNARY_NEGATIVE);
  |  |  ------------------
  |  |  |  |   71|      3|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13268|      3|            _PyStackRef value;
  |  |13269|      3|            _PyStackRef res;
  |  |13270|      3|            _PyStackRef v;
  |  |13271|       |            // _UNARY_NEGATIVE
  |  |13272|      3|            {
  |  |13273|      3|                value = stack_pointer[-1];
  |  |13274|      3|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13275|      3|                _PyFrame_StackPointerValidate(frame);
  |  |13276|      3|                PyObject *res_o = PyNumber_Negative(PyStackRef_AsPyObjectBorrow(value));
  |  |13277|      3|                _PyFrame_StackPointerInvalidate(frame);
  |  |13278|      3|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (13278:21): [True: 0, False: 3]
  |  |  ------------------
  |  |13279|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13280|      0|                }
  |  |13281|      3|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  |13282|      3|                v = value;
  |  |13283|      3|            }
  |  |13284|       |            // _POP_TOP
  |  |13285|      0|            {
  |  |13286|      3|                value = v;
  |  |13287|      3|                stack_pointer[-1] = res;
  |  |13288|      3|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (13288:17): [True: 3, False: 0]
  |  |  ------------------
  |  |13289|      3|                _PyFrame_StackPointerValidate(frame);
  |  |13290|      3|                PyStackRef_XCLOSE(value);
  |  |13291|      3|                _PyFrame_StackPointerInvalidate(frame);
  |  |13292|      3|            }
  |  |13293|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      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|    }
  |  |  ------------------
  |  |13294|      3|        }
  |  |13295|       |
  |  |13296|     55|        TARGET(UNARY_NOT) {
  |  |  ------------------
  |  |  |  |  132|     55|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13297|       |            #if _Py_TAIL_CALL_INTERP
  |  |13298|       |            int opcode = UNARY_NOT;
  |  |13299|       |            (void)(opcode);
  |  |13300|       |            #endif
  |  |13301|     55|            frame->instr_ptr = next_instr;
  |  |13302|     55|            next_instr += 1;
  |  |13303|     55|            INSTRUCTION_STATS(UNARY_NOT);
  |  |  ------------------
  |  |  |  |   71|     55|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13304|     55|            _PyStackRef value;
  |  |13305|     55|            _PyStackRef res;
  |  |13306|     55|            value = stack_pointer[-1];
  |  |13307|     55|            assert(PyStackRef_BoolCheck(value));
  |  |  ------------------
  |  |  |  Branch (13307:13): [True: 55, False: 0]
  |  |  ------------------
  |  |13308|     55|            res = PyStackRef_IsFalse(value)
  |  |  ------------------
  |  |  |  |  494|     55|#define PyStackRef_IsFalse(REF) ((REF).bits == (((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|     55|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (494:33): [True: 30, False: 25]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13309|     55|            ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|     30|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|     30|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                           ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|     80|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|     25|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13310|     55|            stack_pointer[-1] = res;
  |  |13311|     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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     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|    }
  |  |  ------------------
  |  |13312|     55|        }
  |  |13313|       |
  |  |13314|      0|        TARGET(UNPACK_EX) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13315|       |            #if _Py_TAIL_CALL_INTERP
  |  |13316|       |            int opcode = UNPACK_EX;
  |  |13317|       |            (void)(opcode);
  |  |13318|       |            #endif
  |  |13319|      0|            frame->instr_ptr = next_instr;
  |  |13320|      0|            next_instr += 1;
  |  |13321|      0|            INSTRUCTION_STATS(UNPACK_EX);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13322|      0|            _PyStackRef seq;
  |  |13323|      0|            _PyStackRef *top;
  |  |13324|      0|            seq = stack_pointer[-1];
  |  |13325|      0|            top = &stack_pointer[(oparg & 0xFF) + (oparg >> 8)];
  |  |13326|      0|            PyObject *seq_o = PyStackRef_AsPyObjectSteal(seq);
  |  |13327|      0|            stack_pointer += -1;
  |  |13328|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |13329|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13330|      0|            _PyFrame_StackPointerValidate(frame);
  |  |13331|      0|            int res = _PyEval_UnpackIterableStackRef(tstate, seq_o, oparg & 0xFF, oparg >> 8, top);
  |  |13332|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  |13333|      0|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (13333:13): [True: 0, False: 0]
  |  |  ------------------
  |  |13334|      0|            _PyFrame_StackPointerValidate(frame);
  |  |13335|      0|            Py_DECREF(seq_o);
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13336|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  |13337|      0|            if (res == 0) {
  |  |  ------------------
  |  |  |  Branch (13337:17): [True: 0, False: 0]
  |  |  ------------------
  |  |13338|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13339|      0|            }
  |  |13340|      0|            stack_pointer += 1 + (oparg & 0xFF) + (oparg >> 8);
  |  |13341|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |13342|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  |13343|      0|        }
  |  |13344|       |
  |  |13345|    121|        TARGET(UNPACK_SEQUENCE) {
  |  |  ------------------
  |  |  |  |  132|    121|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13346|       |            #if _Py_TAIL_CALL_INTERP
  |  |13347|       |            int opcode = UNPACK_SEQUENCE;
  |  |13348|       |            (void)(opcode);
  |  |13349|       |            #endif
  |  |13350|    121|            frame->instr_ptr = next_instr;
  |  |13351|    121|            next_instr += 2;
  |  |13352|    121|            INSTRUCTION_STATS(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |   71|    121|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13353|    121|            PREDICTED_UNPACK_SEQUENCE:;
  |  |13354|    121|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  |13355|    121|            (void)this_instr;
  |  |13356|    121|            _PyStackRef seq;
  |  |13357|    121|            _PyStackRef *top;
  |  |13358|       |            // _SPECIALIZE_UNPACK_SEQUENCE
  |  |13359|    121|            {
  |  |13360|    121|                seq = stack_pointer[-1];
  |  |13361|    121|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |13362|    121|                (void)counter;
  |  |13363|    121|                #if ENABLE_SPECIALIZATION
  |  |13364|    121|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|    121|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 53, False: 68]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13365|     53|                    next_instr = this_instr;
  |  |13366|     53|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13367|     53|                    _PyFrame_StackPointerValidate(frame);
  |  |13368|     53|                    _Py_Specialize_UnpackSequence(seq, next_instr, oparg);
  |  |13369|     53|                    _PyFrame_StackPointerInvalidate(frame);
  |  |13370|     53|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|     53|    { \
  |  |  |  |  217|     53|        opcode = next_instr->op.code; \
  |  |  |  |  218|     53|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     53|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|     53|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|     53|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|     53|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|     53|    }
  |  |  ------------------
  |  |13371|     53|                }
  |  |13372|    121|                OPCODE_DEFERRED_INC(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |   90|    121|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |13373|    121|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|    121|    do { \
  |  |  |  |  378|    121|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|    121|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 121]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13374|    121|                #endif  /* ENABLE_SPECIALIZATION */
  |  |13375|    121|                (void)seq;
  |  |13376|    121|                (void)counter;
  |  |13377|    121|            }
  |  |13378|       |            // _UNPACK_SEQUENCE
  |  |13379|    121|            {
  |  |13380|    121|                top = &stack_pointer[-1 + oparg];
  |  |13381|    121|                PyObject *seq_o = PyStackRef_AsPyObjectSteal(seq);
  |  |13382|    121|                stack_pointer += -1;
  |  |13383|    121|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    121|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |13384|    121|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13385|    121|                _PyFrame_StackPointerValidate(frame);
  |  |13386|    121|                int res = _PyEval_UnpackIterableStackRef(tstate, seq_o, oparg, -1, top);
  |  |13387|    121|                _PyFrame_StackPointerInvalidate(frame);
  |  |13388|    121|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (13388:17): [True: 68, False: 53]
  |  |  ------------------
  |  |13389|     68|                _PyFrame_StackPointerValidate(frame);
  |  |13390|     68|                Py_DECREF(seq_o);
  |  |  ------------------
  |  |  |  |   80|     68|    do { \
  |  |  |  |   81|     68|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     68|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     68|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|     68|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|     68|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     68|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     68|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 68]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|     68|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|     68|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|     68|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 21, False: 47]
  |  |  |  |  ------------------
  |  |  |  |   88|     21|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|     21|    do { \
  |  |  |  |  |  |  113|     21|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|     21|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 21]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|     21|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118: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|     68|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 68]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13391|     68|                _PyFrame_StackPointerInvalidate(frame);
  |  |13392|     68|                if (res == 0) {
  |  |  ------------------
  |  |  |  Branch (13392:21): [True: 0, False: 68]
  |  |  ------------------
  |  |13393|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13394|      0|                }
  |  |13395|     68|            }
  |  |13396|     68|            stack_pointer += oparg;
  |  |13397|     68|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     68|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |13398|     68|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     68|    { \
  |  |  |  |  201|     68|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     68|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     68|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     68|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     68|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     68|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     68|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     68|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 68]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     68|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     68|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     68|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     68|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     68|    }
  |  |  ------------------
  |  |13399|     68|        }
  |  |13400|       |
  |  |13401|      0|        TARGET(UNPACK_SEQUENCE_LIST) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13402|       |            #if _Py_TAIL_CALL_INTERP
  |  |13403|       |            int opcode = UNPACK_SEQUENCE_LIST;
  |  |13404|       |            (void)(opcode);
  |  |13405|       |            #endif
  |  |13406|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |13407|      0|            (void)this_instr;
  |  |13408|      0|            frame->instr_ptr = next_instr;
  |  |13409|      0|            next_instr += 2;
  |  |13410|      0|            INSTRUCTION_STATS(UNPACK_SEQUENCE_LIST);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13411|      0|            static_assert(INLINE_CACHE_ENTRIES_UNPACK_SEQUENCE == 1, "incorrect cache size");
  |  |13412|      0|            _PyStackRef tos;
  |  |13413|      0|            _PyStackRef seq;
  |  |13414|      0|            _PyStackRef *values;
  |  |13415|       |            // _GUARD_TOS_LIST
  |  |13416|      0|            {
  |  |13417|      0|                tos = stack_pointer[-1];
  |  |13418|      0|                PyObject *o = PyStackRef_AsPyObjectBorrow(tos);
  |  |13419|      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 (13419:21): [True: 0, False: 0]
  |  |  ------------------
  |  |13420|      0|                    UPDATE_MISS_STATS(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |13421|      0|                    assert(_PyOpcode_Deopt[opcode] == (UNPACK_SEQUENCE));
  |  |  ------------------
  |  |  |  Branch (13421:21): [True: 0, False: 0]
  |  |  ------------------
  |  |13422|      0|                    JUMP_TO_PREDICTED(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |13423|      0|                }
  |  |13424|      0|            }
  |  |13425|       |            /* Skip 1 cache entry */
  |  |13426|       |            // _UNPACK_SEQUENCE_LIST
  |  |13427|      0|            {
  |  |13428|      0|                seq = tos;
  |  |13429|      0|                values = &stack_pointer[-1];
  |  |13430|      0|                PyObject *seq_o = PyStackRef_AsPyObjectBorrow(seq);
  |  |13431|      0|                assert(PyList_CheckExact(seq_o));
  |  |  ------------------
  |  |  |  Branch (13431:17): [True: 0, False: 0]
  |  |  ------------------
  |  |13432|      0|                if (!LOCK_OBJECT(seq_o)) {
  |  |  ------------------
  |  |  |  |  322|      0|#  define LOCK_OBJECT(op) (1)
  |  |  ------------------
  |  |  |  Branch (13432:21): [Folded, False: 0]
  |  |  ------------------
  |  |13433|      0|                    UPDATE_MISS_STATS(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |13434|      0|                    assert(_PyOpcode_Deopt[opcode] == (UNPACK_SEQUENCE));
  |  |  ------------------
  |  |  |  Branch (13434:21): [True: 0, False: 0]
  |  |  ------------------
  |  |13435|      0|                    JUMP_TO_PREDICTED(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |13436|      0|                }
  |  |13437|      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 (13437:21): [True: 0, False: 0]
  |  |  ------------------
  |  |13438|      0|                    UNLOCK_OBJECT(seq_o);
  |  |  ------------------
  |  |  |  |  323|      0|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |13439|      0|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (13439:25): [True: 0, Folded]
  |  |  ------------------
  |  |13440|      0|                        UPDATE_MISS_STATS(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |13441|      0|                        assert(_PyOpcode_Deopt[opcode] == (UNPACK_SEQUENCE));
  |  |  ------------------
  |  |  |  Branch (13441:25): [True: 0, False: 0]
  |  |  ------------------
  |  |13442|      0|                        JUMP_TO_PREDICTED(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |13443|      0|                    }
  |  |13444|      0|                }
  |  |13445|      0|                STAT_INC(UNPACK_SEQUENCE, hit);
  |  |  ------------------
  |  |  |  |   73|      0|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |13446|      0|                PyObject **items = _PyList_ITEMS(seq_o);
  |  |  ------------------
  |  |  |  |   30|      0|#define _PyList_ITEMS(op) _Py_RVALUE(_PyList_CAST(op)->ob_item)
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (302:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13447|      0|                for (int i = oparg; --i >= 0; ) {
  |  |  ------------------
  |  |  |  Branch (13447:37): [True: 0, False: 0]
  |  |  ------------------
  |  |13448|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13449|      0|                }
  |  |13450|      0|                UNLOCK_OBJECT(seq_o);
  |  |  ------------------
  |  |  |  |  323|      0|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |13451|      0|                stack_pointer += -1 + oparg;
  |  |13452|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |13453|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13454|      0|                _PyFrame_StackPointerValidate(frame);
  |  |13455|      0|                PyStackRef_CLOSE(seq);
  |  |13456|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |13457|      0|            }
  |  |13458|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  |13459|      0|        }
  |  |13460|       |
  |  |13461|     55|        TARGET(UNPACK_SEQUENCE_TUPLE) {
  |  |  ------------------
  |  |  |  |  132|     55|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13462|       |            #if _Py_TAIL_CALL_INTERP
  |  |13463|       |            int opcode = UNPACK_SEQUENCE_TUPLE;
  |  |13464|       |            (void)(opcode);
  |  |13465|       |            #endif
  |  |13466|     55|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |13467|     55|            (void)this_instr;
  |  |13468|     55|            frame->instr_ptr = next_instr;
  |  |13469|     55|            next_instr += 2;
  |  |13470|     55|            INSTRUCTION_STATS(UNPACK_SEQUENCE_TUPLE);
  |  |  ------------------
  |  |  |  |   71|     55|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13471|     55|            static_assert(INLINE_CACHE_ENTRIES_UNPACK_SEQUENCE == 1, "incorrect cache size");
  |  |13472|     55|            _PyStackRef tos;
  |  |13473|     55|            _PyStackRef seq;
  |  |13474|     55|            _PyStackRef *values;
  |  |13475|       |            // _GUARD_TOS_TUPLE
  |  |13476|     55|            {
  |  |13477|     55|                tos = stack_pointer[-1];
  |  |13478|     55|                PyObject *o = PyStackRef_AsPyObjectBorrow(tos);
  |  |13479|     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 (13479:21): [True: 0, False: 55]
  |  |  ------------------
  |  |13480|      0|                    UPDATE_MISS_STATS(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |13481|      0|                    assert(_PyOpcode_Deopt[opcode] == (UNPACK_SEQUENCE));
  |  |  ------------------
  |  |  |  Branch (13481:21): [True: 0, False: 0]
  |  |  ------------------
  |  |13482|      0|                    JUMP_TO_PREDICTED(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |13483|      0|                }
  |  |13484|     55|            }
  |  |13485|       |            /* Skip 1 cache entry */
  |  |13486|       |            // _UNPACK_SEQUENCE_TUPLE
  |  |13487|     55|            {
  |  |13488|     55|                seq = tos;
  |  |13489|     55|                values = &stack_pointer[-1];
  |  |13490|     55|                PyObject *seq_o = PyStackRef_AsPyObjectBorrow(seq);
  |  |13491|     55|                assert(PyTuple_CheckExact(seq_o));
  |  |  ------------------
  |  |  |  Branch (13491:17): [True: 55, False: 0]
  |  |  ------------------
  |  |13492|     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 (13492:21): [True: 0, False: 55]
  |  |  ------------------
  |  |13493|      0|                    UPDATE_MISS_STATS(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |13494|      0|                    assert(_PyOpcode_Deopt[opcode] == (UNPACK_SEQUENCE));
  |  |  ------------------
  |  |  |  Branch (13494:21): [True: 0, False: 0]
  |  |  ------------------
  |  |13495|      0|                    JUMP_TO_PREDICTED(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |13496|      0|                }
  |  |13497|     55|                STAT_INC(UNPACK_SEQUENCE, hit);
  |  |  ------------------
  |  |  |  |   73|     55|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |13498|     55|                PyObject **items = _PyTuple_ITEMS(seq_o);
  |  |  ------------------
  |  |  |  |   26|     55|#define _PyTuple_ITEMS(op) _Py_RVALUE(_PyTuple_CAST(op)->ob_item)
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|    110|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (302:37): [True: 55, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13499|    223|                for (int i = oparg; --i >= 0; ) {
  |  |  ------------------
  |  |  |  Branch (13499:37): [True: 168, False: 55]
  |  |  ------------------
  |  |13500|    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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13501|    168|                }
  |  |13502|     55|                stack_pointer += -1 + oparg;
  |  |13503|     55|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     55|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |13504|     55|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13505|     55|                _PyFrame_StackPointerValidate(frame);
  |  |13506|     55|                PyStackRef_CLOSE(seq);
  |  |13507|     55|                _PyFrame_StackPointerInvalidate(frame);
  |  |13508|     55|            }
  |  |13509|     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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     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|    }
  |  |  ------------------
  |  |13510|     55|        }
  |  |13511|       |
  |  |13512|    881|        TARGET(UNPACK_SEQUENCE_TWO_TUPLE) {
  |  |  ------------------
  |  |  |  |  132|    881|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13513|       |            #if _Py_TAIL_CALL_INTERP
  |  |13514|       |            int opcode = UNPACK_SEQUENCE_TWO_TUPLE;
  |  |13515|       |            (void)(opcode);
  |  |13516|       |            #endif
  |  |13517|    881|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |13518|    881|            (void)this_instr;
  |  |13519|    881|            frame->instr_ptr = next_instr;
  |  |13520|    881|            next_instr += 2;
  |  |13521|    881|            INSTRUCTION_STATS(UNPACK_SEQUENCE_TWO_TUPLE);
  |  |  ------------------
  |  |  |  |   71|    881|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13522|    881|            static_assert(INLINE_CACHE_ENTRIES_UNPACK_SEQUENCE == 1, "incorrect cache size");
  |  |13523|    881|            _PyStackRef tos;
  |  |13524|    881|            _PyStackRef seq;
  |  |13525|    881|            _PyStackRef val1;
  |  |13526|    881|            _PyStackRef val0;
  |  |13527|       |            // _GUARD_TOS_TUPLE
  |  |13528|    881|            {
  |  |13529|    881|                tos = stack_pointer[-1];
  |  |13530|    881|                PyObject *o = PyStackRef_AsPyObjectBorrow(tos);
  |  |13531|    881|                if (!PyTuple_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   28|    881|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    881|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    881|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    881|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (13531:21): [True: 0, False: 881]
  |  |  ------------------
  |  |13532|      0|                    UPDATE_MISS_STATS(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |13533|      0|                    assert(_PyOpcode_Deopt[opcode] == (UNPACK_SEQUENCE));
  |  |  ------------------
  |  |  |  Branch (13533:21): [True: 0, False: 0]
  |  |  ------------------
  |  |13534|      0|                    JUMP_TO_PREDICTED(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |13535|      0|                }
  |  |13536|    881|            }
  |  |13537|       |            /* Skip 1 cache entry */
  |  |13538|       |            // _UNPACK_SEQUENCE_TWO_TUPLE
  |  |13539|    881|            {
  |  |13540|    881|                seq = tos;
  |  |13541|    881|                assert(oparg == 2);
  |  |  ------------------
  |  |  |  Branch (13541:17): [True: 881, False: 0]
  |  |  ------------------
  |  |13542|    881|                PyObject *seq_o = PyStackRef_AsPyObjectBorrow(seq);
  |  |13543|    881|                assert(PyTuple_CheckExact(seq_o));
  |  |  ------------------
  |  |  |  Branch (13543:17): [True: 881, False: 0]
  |  |  ------------------
  |  |13544|    881|                if (PyTuple_GET_SIZE(seq_o) != 2) {
  |  |  ------------------
  |  |  |  |   27|    881|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    881|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    881|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (13544:21): [True: 0, False: 881]
  |  |  ------------------
  |  |13545|      0|                    UPDATE_MISS_STATS(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |13546|      0|                    assert(_PyOpcode_Deopt[opcode] == (UNPACK_SEQUENCE));
  |  |  ------------------
  |  |  |  Branch (13546:21): [True: 0, False: 0]
  |  |  ------------------
  |  |13547|      0|                    JUMP_TO_PREDICTED(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |13548|      0|                }
  |  |13549|    881|                STAT_INC(UNPACK_SEQUENCE, hit);
  |  |  ------------------
  |  |  |  |   73|    881|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |13550|    881|                val0 = PyStackRef_FromPyObjectNew(PyTuple_GET_ITEM(seq_o, 0));
  |  |  ------------------
  |  |  |  |  611|    881|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    881|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.76k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (37:38): [True: 881, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13551|    881|                val1 = PyStackRef_FromPyObjectNew(PyTuple_GET_ITEM(seq_o, 1));
  |  |  ------------------
  |  |  |  |  611|    881|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    881|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.76k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (37:38): [True: 881, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13552|      0|                stack_pointer[-1] = val1;
  |  |13553|    881|                stack_pointer[0] = val0;
  |  |13554|    881|                stack_pointer += 1;
  |  |13555|    881|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    881|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |13556|    881|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13557|    881|                _PyFrame_StackPointerValidate(frame);
  |  |13558|    881|                PyStackRef_CLOSE(seq);
  |  |13559|    881|                _PyFrame_StackPointerInvalidate(frame);
  |  |13560|    881|            }
  |  |13561|    881|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    881|    { \
  |  |  |  |  201|    881|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    881|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    881|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    881|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    881|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    881|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    881|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    881|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 881]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    881|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    881|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    881|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    881|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    881|    }
  |  |  ------------------
  |  |13562|    881|        }
  |  |13563|       |
  |  |13564|      4|        TARGET(WITH_EXCEPT_START) {
  |  |  ------------------
  |  |  |  |  132|      4|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13565|       |            #if _Py_TAIL_CALL_INTERP
  |  |13566|       |            int opcode = WITH_EXCEPT_START;
  |  |13567|       |            (void)(opcode);
  |  |13568|       |            #endif
  |  |13569|      4|            frame->instr_ptr = next_instr;
  |  |13570|      4|            next_instr += 1;
  |  |13571|      4|            INSTRUCTION_STATS(WITH_EXCEPT_START);
  |  |  ------------------
  |  |  |  |   71|      4|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13572|      4|            _PyStackRef exit_func;
  |  |13573|      4|            _PyStackRef exit_self;
  |  |13574|      4|            _PyStackRef lasti;
  |  |13575|      4|            _PyStackRef val;
  |  |13576|      4|            _PyStackRef res;
  |  |13577|      4|            val = stack_pointer[-1];
  |  |13578|      4|            lasti = stack_pointer[-3];
  |  |13579|      4|            exit_self = stack_pointer[-4];
  |  |13580|      4|            exit_func = stack_pointer[-5];
  |  |13581|      4|            PyObject *exc, *tb;
  |  |13582|      4|            PyObject *val_o = PyStackRef_AsPyObjectBorrow(val);
  |  |13583|      4|            PyObject *exit_func_o = PyStackRef_AsPyObjectBorrow(exit_func);
  |  |13584|      4|            assert(val_o && PyExceptionInstance_Check(val_o));
  |  |  ------------------
  |  |  |  Branch (13584:13): [True: 4, False: 0]
  |  |  |  Branch (13584:13): [True: 4, False: 0]
  |  |  ------------------
  |  |13585|      4|            exc = PyExceptionInstance_Class(val_o);
  |  |  ------------------
  |  |  |  |   69|      4|#define PyExceptionInstance_Class(x) _PyObject_CAST(Py_TYPE(x))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13586|      4|            PyObject *original_tb = tb = PyException_GetTraceback(val_o);
  |  |13587|      4|            if (tb == NULL) {
  |  |  ------------------
  |  |  |  Branch (13587:17): [True: 0, False: 4]
  |  |  ------------------
  |  |13588|      0|                tb = Py_None;
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  |  |13589|      0|            }
  |  |13590|      4|            assert(PyStackRef_IsTaggedInt(lasti));
  |  |  ------------------
  |  |  |  Branch (13590:13): [True: 4, False: 0]
  |  |  ------------------
  |  |13591|      4|            (void)lasti;
  |  |13592|      4|            PyObject* res_o;
  |  |13593|      4|            {
  |  |13594|      4|                PyObject *stack[5] = {NULL, PyStackRef_AsPyObjectBorrow(exit_self), exc, val_o, tb};
  |  |13595|      4|                int has_self = !PyStackRef_IsNull(exit_self);
  |  |  ------------------
  |  |  |  |  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
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13596|      4|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13597|      4|                _PyFrame_StackPointerValidate(frame);
  |  |13598|      4|                res_o = PyObject_Vectorcall(exit_func_o, stack + 2 - has_self,
  |  |13599|      4|                    (3 + has_self) | PY_VECTORCALL_ARGUMENTS_OFFSET, NULL);
  |  |  ------------------
  |  |  |  |  287|      4|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      4|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13600|      4|                _PyFrame_StackPointerInvalidate(frame);
  |  |13601|      4|            }
  |  |13602|      4|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (13602:13): [True: 4, False: 0]
  |  |  ------------------
  |  |13603|      4|            _PyFrame_StackPointerValidate(frame);
  |  |13604|      4|            Py_XDECREF(original_tb);
  |  |  ------------------
  |  |  |  |   69|      4|    do { \
  |  |  |  |   70|      4|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   71|      4|        if (xop != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (71:13): [True: 4, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   72|      4|            Py_DECREF(xop); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   80|      4|    do { \
  |  |  |  |  |  |   81|      4|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   82|      4|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  137|      4|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 4]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   84|      0|            break; \
  |  |  |  |  |  |   85|      0|        } \
  |  |  |  |  |  |   86|      4|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   20|      4|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   87|      4|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (87:13): [True: 0, False: 4]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |  |  |   91|      0|        } \
  |  |  |  |  |  |   92|      4|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (92:14): [Folded, False: 4]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   73|      4|        } \
  |  |  |  |   74|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (74:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13605|      4|            _PyFrame_StackPointerInvalidate(frame);
  |  |13606|      4|            if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (13606:17): [True: 0, False: 4]
  |  |  ------------------
  |  |13607|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13608|      0|            }
  |  |13609|      4|            res = PyStackRef_FromPyObjectSteal(res_o);
  |  |13610|      4|            stack_pointer[0] = res;
  |  |13611|      4|            stack_pointer += 1;
  |  |13612|      4|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      4|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |13613|      4|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      4|    { \
  |  |  |  |  201|      4|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      4|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      4|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      4|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      4|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      4|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      4|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      4|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 4]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      4|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      4|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      4|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      4|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      4|    }
  |  |  ------------------
  |  |13614|      4|        }
  |  |13615|       |
  |  |13616|    150|        TARGET(YIELD_VALUE) {
  |  |  ------------------
  |  |  |  |  132|    150|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13617|       |            #if _Py_TAIL_CALL_INTERP
  |  |13618|       |            int opcode = YIELD_VALUE;
  |  |13619|       |            (void)(opcode);
  |  |13620|       |            #endif
  |  |13621|    150|            frame->instr_ptr = next_instr;
  |  |13622|    150|            next_instr += 1;
  |  |13623|    150|            INSTRUCTION_STATS(YIELD_VALUE);
  |  |  ------------------
  |  |  |  |   71|    150|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13624|    150|            opcode = YIELD_VALUE;
  |  |  ------------------
  |  |  |  |  129|    150|#define YIELD_VALUE                            116
  |  |  ------------------
  |  |13625|    150|            _PyStackRef value;
  |  |13626|    150|            _PyStackRef retval;
  |  |13627|       |            // _MAKE_HEAP_SAFE
  |  |13628|    150|            {
  |  |13629|    150|                value = stack_pointer[-1];
  |  |13630|    150|                value = PyStackRef_MakeHeapSafe(value);
  |  |13631|    150|            }
  |  |13632|       |            // _YIELD_VALUE
  |  |13633|    150|            {
  |  |13634|    150|                retval = value;
  |  |13635|    150|                assert(frame->owner != FRAME_OWNED_BY_INTERPRETER);
  |  |  ------------------
  |  |  |  Branch (13635:17): [True: 150, False: 0]
  |  |  ------------------
  |  |13636|    150|                frame->instr_ptr++;
  |  |13637|    150|                PyGenObject *gen = _PyGen_GetGeneratorFromFrame(frame);
  |  |13638|    150|                assert(FRAME_SUSPENDED_YIELD_FROM == FRAME_SUSPENDED + 1);
  |  |  ------------------
  |  |  |  Branch (13638:17): [True: 150, Folded]
  |  |  ------------------
  |  |13639|    150|                assert(oparg == 0 || oparg == 1);
  |  |  ------------------
  |  |  |  Branch (13639:17): [True: 148, False: 2]
  |  |  |  Branch (13639:17): [True: 2, False: 0]
  |  |  ------------------
  |  |13640|    150|                _PyStackRef temp = retval;
  |  |13641|    150|                stack_pointer += -1;
  |  |13642|    150|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    150|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |13643|    150|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13644|    150|                _PyFrame_StackPointerValidate(frame);
  |  |13645|    150|                DTRACE_FUNCTION_RETURN();
  |  |  ------------------
  |  |  |  |  347|    150|#define DTRACE_FUNCTION_RETURN() ((void)0)
  |  |  ------------------
  |  |13646|    150|                tstate->exc_info = gen->gi_exc_state.previous_item;
  |  |13647|    150|                gen->gi_exc_state.previous_item = NULL;
  |  |13648|    150|                _Py_LeaveRecursiveCallPy(tstate);
  |  |13649|    150|                _PyInterpreterFrame *gen_frame = frame;
  |  |13650|    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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13651|    150|                frame = tstate->current_frame = frame->previous;
  |  |13652|    150|                gen_frame->previous = NULL;
  |  |13653|    150|                ((_PyThreadStateImpl *)tstate)->generator_return_kind = GENERATOR_YIELD;
  |  |13654|    150|                FT_ATOMIC_STORE_INT8_RELEASE(gen->gi_frame_state, FRAME_SUSPENDED + oparg);
  |  |  ------------------
  |  |  |  |  167|    150|#define FT_ATOMIC_STORE_INT8_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  |  |13655|    150|                assert(INLINE_CACHE_ENTRIES_SEND == INLINE_CACHE_ENTRIES_FOR_ITER);
  |  |  ------------------
  |  |  |  Branch (13655:17): [True: 150, Folded]
  |  |  ------------------
  |  |13656|       |                #if TIER_ONE && defined(Py_DEBUG)
  |  |13657|       |                if (!PyStackRef_IsNone(frame->f_executable)) {
  |  |13658|       |                    Py_ssize_t i = frame->instr_ptr - _PyFrame_GetBytecode(frame);
  |  |13659|       |                    assert(i >= 0 && i <= INT_MAX);
  |  |13660|       |                    int opcode = _Py_GetBaseCodeUnit(_PyFrame_GetCode(frame), (int)i).op.code;
  |  |13661|       |                    assert(opcode == SEND || opcode == FOR_ITER);
  |  |13662|       |                }
  |  |13663|       |                #endif
  |  |13664|    150|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |13665|    150|                _PyFrame_StackPointerInvalidate(frame);
  |  |13666|    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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13667|    150|                value = temp;
  |  |13668|    150|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|    150|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  |13669|    150|            }
  |  |13670|      0|            stack_pointer[0] = value;
  |  |13671|    150|            stack_pointer += 1;
  |  |13672|    150|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    150|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |13673|    150|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    150|    { \
  |  |  |  |  201|    150|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    150|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    150|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    150|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    150|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    150|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    150|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    150|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 150]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    150|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    150|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    150|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    150|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    150|    }
  |  |  ------------------
  |  |13674|    150|        }
  |  |13675|       |
  |  |13676|       |            /* END INSTRUCTIONS */
  |  |13677|      0|#if !_Py_TAIL_CALL_INTERP
  |  |13678|      0|#if USE_COMPUTED_GOTOS
  |  |13679|      0|        _unknown_opcode:
  |  |13680|       |#else
  |  |13681|       |        EXTRA_CASES  // From pycore_opcode_metadata.h, a 'case' for each unused opcode
  |  |13682|       |#endif
  |  |13683|       |            /* Tell C compilers not to hold the opcode variable in the loop.
  |  |13684|       |               next_instr points the current instruction without TARGET(). */
  |  |13685|      0|            opcode = next_instr->op.code;
  |  |13686|      0|            _PyErr_Format(tstate, PyExc_SystemError,
  |  |13687|      0|              "%U:%d: unknown opcode %d",
  |  |13688|      0|              _PyFrame_GetCode(frame)->co_filename,
  |  |13689|      0|              PyUnstable_InterpreterFrame_GetLine(frame),
  |  |13690|      0|              opcode);
  |  |13691|      0|JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13692|       |
  |  |13693|       |
  |  |13694|      0|        }
  |  |13695|       |
  |  |13696|       |        /* This should never be reached. Every opcode should end with DISPATCH()
  |  |13697|       |           or goto error. */
  |  |13698|      0|        Py_UNREACHABLE();
  |  |  ------------------
  |  |  |  |  289|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  |  |  ------------------
  |  |13699|      0|#endif /* _Py_TAIL_CALL_INTERP */
  |  |13700|       |        /* BEGIN LABELS */
  |  |13701|       |
  |  |13702|      0|        LABEL(pop_2_error)
  |  |  ------------------
  |  |  |  |  137|      0|#  define LABEL(name) name:
  |  |  ------------------
  |  |13703|      0|        {
  |  |13704|      0|            stack_pointer -= 2;
  |  |13705|      0|            assert(WITHIN_STACK_BOUNDS());
  |  |  ------------------
  |  |  |  Branch (13705:13): [True: 0, False: 0]
  |  |  |  Branch (13705:13): [True: 0, False: 0]
  |  |  |  Branch (13705:13): [True: 0, False: 0]
  |  |  ------------------
  |  |13706|      0|            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13707|      0|        }
  |  |13708|       |
  |  |13709|      2|        LABEL(pop_1_error)
  |  |  ------------------
  |  |  |  |  137|      2|#  define LABEL(name) name:
  |  |  ------------------
  |  |13710|      2|        {
  |  |13711|      2|            stack_pointer -= 1;
  |  |13712|      2|            assert(WITHIN_STACK_BOUNDS());
  |  |  ------------------
  |  |  |  Branch (13712:13): [True: 2, False: 0]
  |  |  |  Branch (13712:13): [True: 2, False: 0]
  |  |  |  Branch (13712:13): [True: 0, False: 2]
  |  |  ------------------
  |  |13713|      2|            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      2|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13714|      0|        }
  |  |13715|       |
  |  |13716|    446|        LABEL(error)
  |  |  ------------------
  |  |  |  |  137|    446|#  define LABEL(name) name:
  |  |  ------------------
  |  |13717|    446|        {
  |  |13718|    446|            _PyFrame_StackAssertInvalid(frame);
  |  |13719|       |            #ifdef NDEBUG
  |  |13720|       |            if (!_PyErr_Occurred(tstate)) {
  |  |13721|       |                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13722|       |                _PyFrame_StackPointerValidate(frame);
  |  |13723|       |                _PyErr_SetString(tstate, PyExc_SystemError,
  |  |13724|       |                             "error return without exception set");
  |  |13725|       |                _PyFrame_StackPointerInvalidate(frame);
  |  |13726|       |            }
  |  |13727|       |            #else
  |  |13728|    446|            assert(_PyErr_Occurred(tstate));
  |  |  ------------------
  |  |  |  Branch (13728:13): [True: 446, False: 0]
  |  |  ------------------
  |  |13729|    446|            #endif
  |  |13730|    446|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13731|    446|            _PyFrame_StackPointerValidate(frame);
  |  |13732|    446|            STOP_TRACING();
  |  |  ------------------
  |  |  |  |  168|    446|#define STOP_TRACING() ((void)(0));
  |  |  ------------------
  |  |13733|    446|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |13734|    446|            _PyFrame_StackPointerInvalidate(frame);
  |  |13735|    446|            assert(frame->owner != FRAME_OWNED_BY_INTERPRETER);
  |  |  ------------------
  |  |  |  Branch (13735:13): [True: 446, False: 0]
  |  |  ------------------
  |  |13736|    446|            if (!_PyFrame_IsIncomplete(frame)) {
  |  |  ------------------
  |  |  |  Branch (13736:17): [True: 446, False: 0]
  |  |  ------------------
  |  |13737|    446|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (13737:17): [True: 446, False: 0]
  |  |  ------------------
  |  |13738|    446|                _PyFrame_StackPointerValidate(frame);
  |  |13739|    446|                PyFrameObject *f = _PyFrame_GetFrameObject(frame);
  |  |13740|    446|                _PyFrame_StackPointerInvalidate(frame);
  |  |13741|    446|                if (f != NULL) {
  |  |  ------------------
  |  |  |  Branch (13741:21): [True: 446, False: 0]
  |  |  ------------------
  |  |13742|    446|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (13742:21): [True: 446, False: 0]
  |  |  ------------------
  |  |13743|    446|                    _PyFrame_StackPointerValidate(frame);
  |  |13744|    446|                    PyTraceBack_Here(f);
  |  |13745|    446|                    _PyFrame_StackPointerInvalidate(frame);
  |  |13746|    446|                }
  |  |13747|    446|            }
  |  |13748|    446|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (13748:13): [True: 446, False: 0]
  |  |  ------------------
  |  |13749|    446|            _PyFrame_StackPointerValidate(frame);
  |  |13750|    446|            _PyEval_MonitorRaise(tstate, frame, next_instr-1);
  |  |13751|    446|            _PyFrame_StackPointerInvalidate(frame);
  |  |13752|    446|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (13752:13): [True: 446, False: 0]
  |  |  ------------------
  |  |13753|    446|            _PyFrame_StackPointerValidate(frame);
  |  |13754|    446|            JUMP_TO_LABEL(exception_unwind);
  |  |  ------------------
  |  |  |  |  135|    446|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13755|      0|        }
  |  |13756|       |
  |  |13757|    466|        LABEL(exception_unwind)
  |  |  ------------------
  |  |  |  |  137|    466|#  define LABEL(name) name:
  |  |  ------------------
  |  |13758|    466|        {
  |  |13759|    466|            STOP_TRACING();
  |  |  ------------------
  |  |  |  |  168|    466|#define STOP_TRACING() ((void)(0));
  |  |  ------------------
  |  |13760|    466|            int offset = INSTR_OFFSET()-1;
  |  |  ------------------
  |  |  |  |  250|    466|#define INSTR_OFFSET() ((int)(next_instr - _PyFrame_GetBytecode(frame)))
  |  |  ------------------
  |  |13761|    466|            int level, handler, lasti;
  |  |13762|    466|            int handled = get_exception_handler(_PyFrame_GetCode(frame), offset, &level, &handler, &lasti);
  |  |13763|    466|            if (handled == 0) {
  |  |  ------------------
  |  |  |  Branch (13763:17): [True: 140, False: 326]
  |  |  ------------------
  |  |13764|    140|                assert(_PyErr_Occurred(tstate));
  |  |  ------------------
  |  |  |  Branch (13764:17): [True: 140, False: 0]
  |  |  ------------------
  |  |13765|    140|                _PyStackRef *stackbase = _PyFrame_Stackbase(frame);
  |  |13766|    260|                while (frame->stackpointer > stackbase) {
  |  |  ------------------
  |  |  |  Branch (13766:24): [True: 120, False: 140]
  |  |  ------------------
  |  |13767|    120|                    _PyStackRef ref = _PyFrame_StackPop(frame);
  |  |13768|    120|                    PyStackRef_XCLOSE(ref);
  |  |13769|    120|                }
  |  |13770|    140|                monitor_unwind(tstate, frame, next_instr-1);
  |  |13771|    140|                JUMP_TO_LABEL(exit_unwind);
  |  |  ------------------
  |  |  |  |  135|    140|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13772|      0|            }
  |  |13773|    466|            assert(STACK_LEVEL() >= level);
  |  |  ------------------
  |  |  |  Branch (13773:13): [True: 326, False: 0]
  |  |  ------------------
  |  |13774|    326|            _PyStackRef *new_top = _PyFrame_Stackbase(frame) + level;
  |  |13775|    326|            assert(frame->stackpointer >= new_top);
  |  |  ------------------
  |  |  |  Branch (13775:13): [True: 326, False: 0]
  |  |  ------------------
  |  |13776|    835|            while (frame->stackpointer > new_top) {
  |  |  ------------------
  |  |  |  Branch (13776:20): [True: 509, False: 326]
  |  |  ------------------
  |  |13777|    509|                _PyStackRef ref = _PyFrame_StackPop(frame);
  |  |13778|    509|                PyStackRef_XCLOSE(ref);
  |  |13779|    509|            }
  |  |13780|    326|            if (lasti) {
  |  |  ------------------
  |  |  |  Branch (13780:17): [True: 16, False: 310]
  |  |  ------------------
  |  |13781|     16|                int frame_lasti = _PyInterpreterFrame_LASTI(frame);
  |  |  ------------------
  |  |  |  |   19|     16|    ((int)((IF)->instr_ptr - _PyFrame_GetBytecode((IF))))
  |  |  ------------------
  |  |13782|     16|                _PyStackRef lasti = PyStackRef_TagInt(frame_lasti);
  |  |13783|     16|                _PyFrame_StackPush(frame, lasti);
  |  |13784|     16|            }
  |  |13785|    326|            PyObject *exc = _PyErr_GetRaisedException(tstate);
  |  |13786|    326|            _PyFrame_StackPush(frame, PyStackRef_FromPyObjectSteal(exc));
  |  |13787|    326|            next_instr = _PyFrame_GetBytecode(frame) + handler;
  |  |13788|    326|            int err = monitor_handled(tstate, frame, next_instr, exc);
  |  |13789|    326|            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (13789:17): [True: 0, False: 326]
  |  |  ------------------
  |  |13790|      0|                JUMP_TO_LABEL(exception_unwind);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13791|      0|            }
  |  |13792|       |            #ifdef Py_DEBUG
  |  |13793|       |            if (frame->lltrace >= 5) {
  |  |13794|       |                lltrace_resume_frame(frame);
  |  |13795|       |            }
  |  |13796|       |            #endif
  |  |13797|    326|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |13798|    326|            _PyFrame_StackPointerInvalidate(frame);
  |  |13799|       |            #if _Py_TAIL_CALL_INTERP
  |  |13800|       |            int opcode;
  |  |13801|       |            #endif
  |  |13802|    326|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    326|    { \
  |  |  |  |  201|    326|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    326|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    326|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    326|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    326|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    326|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    326|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    326|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 326]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    326|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    326|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    326|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    326|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    326|    }
  |  |  ------------------
  |  |13803|    326|        }
  |  |13804|       |
  |  |13805|    140|        LABEL(exit_unwind)
  |  |  ------------------
  |  |  |  |  137|    140|#  define LABEL(name) name:
  |  |  ------------------
  |  |13806|    140|        {
  |  |13807|    140|            assert(_PyErr_Occurred(tstate));
  |  |  ------------------
  |  |  |  Branch (13807:13): [True: 140, False: 0]
  |  |  ------------------
  |  |13808|    140|            DTRACE_FUNCTION_RETURN();
  |  |  ------------------
  |  |  |  |  347|    140|#define DTRACE_FUNCTION_RETURN() ((void)0)
  |  |  ------------------
  |  |13809|    140|            JUMP_TO_LABEL(exit_unwind_notrace);
  |  |  ------------------
  |  |  |  |  135|    140|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13810|      0|        }
  |  |13811|       |
  |  |13812|    140|        LABEL(exit_unwind_notrace)
  |  |  ------------------
  |  |  |  |  137|    140|#  define LABEL(name) name:
  |  |  ------------------
  |  |13813|    140|        {
  |  |13814|    140|            assert(_PyErr_Occurred(tstate));
  |  |  ------------------
  |  |  |  Branch (13814:13): [True: 140, False: 0]
  |  |  ------------------
  |  |13815|    140|            _Py_LeaveRecursiveCallPy(tstate);
  |  |13816|    140|            assert(frame->owner != FRAME_OWNED_BY_INTERPRETER);
  |  |  ------------------
  |  |  |  Branch (13816:13): [True: 140, False: 0]
  |  |  ------------------
  |  |13817|    140|            _PyInterpreterFrame *dying = frame;
  |  |13818|    140|            frame = tstate->current_frame = dying->previous;
  |  |13819|    140|            _PyEval_FrameClearAndPop(tstate, dying);
  |  |13820|    140|            frame->return_offset = 0;
  |  |13821|    140|            if (frame->owner == FRAME_OWNED_BY_INTERPRETER) {
  |  |  ------------------
  |  |  |  Branch (13821:17): [True: 69, False: 71]
  |  |  ------------------
  |  |13822|     69|                tstate->current_frame = frame->previous;
  |  |13823|     69|                #if !_Py_TAIL_CALL_INTERP
  |  |13824|     69|                assert(frame == &entry.frame);
  |  |  ------------------
  |  |  |  Branch (13824:17): [True: 69, False: 0]
  |  |  ------------------
  |  |13825|     69|                #endif
  |  |13826|       |                #ifdef _Py_TIER2
  |  |13827|       |                _PyStackRef executor = frame->localsplus[0];
  |  |13828|       |                assert(tstate->current_executor == NULL);
  |  |13829|       |                if (!PyStackRef_IsNull(executor)) {
  |  |13830|       |                    tstate->current_executor = PyStackRef_AsPyObjectBorrow(executor);
  |  |13831|       |                    PyStackRef_CLOSE(executor);
  |  |13832|       |                }
  |  |13833|       |                #endif
  |  |13834|     69|                return NULL;
  |  |13835|     69|            }
  |  |13836|     71|            next_instr = frame->instr_ptr;
  |  |13837|     71|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |13838|     71|            _PyFrame_StackPointerInvalidate(frame);
  |  |13839|     71|            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|     71|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13840|      0|        }
  |  |13841|       |
  |  |13842|  3.19k|        LABEL(start_frame)
  |  |  ------------------
  |  |  |  |  137|  3.19k|#  define LABEL(name) name:
  |  |  ------------------
  |  |13843|  3.19k|        {
  |  |13844|       |            #ifdef Py_DEBUG
  |  |13845|       |            assert(frame->stackpointer_valid == 1);
  |  |13846|       |            #endif
  |  |13847|  3.19k|            int too_deep = _Py_EnterRecursivePy(tstate);
  |  |13848|  3.19k|            if (too_deep) {
  |  |  ------------------
  |  |  |  Branch (13848:17): [True: 0, False: 3.19k]
  |  |  ------------------
  |  |13849|      0|                JUMP_TO_LABEL(exit_unwind_notrace);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13850|      0|            }
  |  |13851|  3.19k|            DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|  3.19k|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  |13852|  3.19k|            next_instr = frame->instr_ptr;
  |  |13853|       |            #ifdef Py_DEBUG
  |  |13854|       |            int lltrace = maybe_lltrace_resume_frame(frame, GLOBALS());
  |  |13855|       |            if (lltrace < 0) {
  |  |13856|       |                JUMP_TO_LABEL(exit_unwind);
  |  |13857|       |            }
  |  |13858|       |            frame->lltrace = lltrace;
  |  |13859|       |            assert(!_PyErr_Occurred(tstate));
  |  |13860|       |            #endif
  |  |13861|  3.19k|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |13862|  3.19k|            _PyFrame_StackPointerInvalidate(frame);
  |  |13863|       |            #if _Py_TAIL_CALL_INTERP
  |  |13864|       |            int opcode;
  |  |13865|       |            #endif
  |  |13866|  3.19k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.19k|    { \
  |  |  |  |  201|  3.19k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  3.19k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  3.19k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  3.19k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  3.19k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  3.19k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  3.19k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  3.19k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 3.19k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.19k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.19k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.19k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.19k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.19k|    }
  |  |  ------------------
  |  |13867|  3.19k|        }
  |  |13868|       |
  |  |13869|       |        #if _Py_TAIL_CALL_INTERP && !defined(_Py_TIER2)
  |  |13870|       |        Py_GCC_ATTRIBUTE((unused))
  |  |13871|       |        #endif
  |  |13872|      0|        LABEL(stop_tracing)
  |  |  ------------------
  |  |  |  |  137|      0|#  define LABEL(name) name:
  |  |  ------------------
  |  |13873|      0|        {
  |  |13874|       |            #if _Py_TIER2
  |  |13875|       |            assert(IS_JIT_TRACING());
  |  |13876|       |            int opcode = next_instr->op.code;
  |  |13877|       |            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13878|       |            _PyFrame_StackPointerValidate(frame);
  |  |13879|       |            _PyJit_translate_single_bytecode_to_trace(tstate, frame, NULL, _EXIT_TRACE);
  |  |13880|       |            _PyFrame_StackPointerInvalidate(frame);
  |  |13881|       |            LEAVE_TRACING();
  |  |13882|       |            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |13883|       |            _PyFrame_StackPointerValidate(frame);
  |  |13884|       |            int err = stop_tracing_and_jit(tstate, frame);
  |  |13885|       |            _PyFrame_StackPointerInvalidate(frame);
  |  |13886|       |            if (err < 0) {
  |  |13887|       |                JUMP_TO_LABEL(error);
  |  |13888|       |            }
  |  |13889|       |            DISPATCH_GOTO_NON_TRACING();
  |  |13890|       |            #else
  |  |13891|      0|            Py_FatalError("JIT label executed in non-jit build.");
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  |  |13892|      0|            #endif
  |  |13893|      0|        }
  |  |13894|       |
  |  |13895|       |/* END LABELS */
  |  |13896|      0|#undef TIER_ONE
  ------------------
 1345|      0|#endif
 1346|       |
 1347|       |
 1348|      0|early_exit:
 1349|      0|    assert(_PyErr_Occurred(tstate));
  ------------------
  |  Branch (1349:5): [True: 0, False: 0]
  ------------------
 1350|      0|    _Py_LeaveRecursiveCallPy(tstate);
 1351|      0|    assert(frame->owner != FRAME_OWNED_BY_INTERPRETER);
  ------------------
  |  Branch (1351:5): [True: 0, False: 0]
  ------------------
 1352|       |    // GH-99729: We need to unlink the frame *before* clearing it:
 1353|      0|    _PyInterpreterFrame *dying = frame;
 1354|      0|    frame = tstate->current_frame = dying->previous;
 1355|      0|    _PyEval_FrameClearAndPop(tstate, dying);
 1356|      0|    frame->return_offset = 0;
 1357|      0|    assert(frame->owner == FRAME_OWNED_BY_INTERPRETER);
  ------------------
  |  Branch (1357:5): [True: 0, False: 0]
  ------------------
 1358|       |    /* Restore previous frame and exit */
 1359|      0|    tstate->current_frame = frame->previous;
 1360|       |    return NULL;
 1361|      0|}
_PyEval_FrameClearAndPop:
 2014|  8.39k|{
 2015|       |    // By this point, tstate->current_frame is already set to the parent frame.
 2016|  8.39k|    _PyThreadState_UpdateLastProfiledFrame(tstate, frame, tstate->current_frame);
  ------------------
  |  |  326|  8.39k|    do { \
  |  |  327|  8.39k|        PyThreadState *tstate_ = (tstate); \
  |  |  328|  8.39k|        _PyInterpreterFrame *frame_ = (frame); \
  |  |  329|  8.39k|        if (tstate_->last_profiled_frame == frame_) { \
  |  |  ------------------
  |  |  |  Branch (329:13): [True: 0, False: 8.39k]
  |  |  ------------------
  |  |  330|      0|            tstate_->last_profiled_frame = (previous); \
  |  |  331|      0|            tstate_->last_profiled_frame_seq++; \
  |  |  332|      0|        } \
  |  |  333|  8.39k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (333:14): [Folded, False: 8.39k]
  |  |  ------------------
  ------------------
 2017|       |
 2018|  8.39k|    if (frame->owner == FRAME_OWNED_BY_THREAD) {
  ------------------
  |  Branch (2018:9): [True: 8.29k, False: 101]
  ------------------
 2019|  8.29k|        clear_thread_frame(tstate, frame);
 2020|  8.29k|    }
 2021|    101|    else {
 2022|    101|        clear_gen_frame(tstate, frame);
 2023|    101|    }
 2024|  8.39k|}
_PyEvalFramePushAndInit:
 2031|  4.91k|{
 2032|  4.91k|    PyFunctionObject *func_obj = (PyFunctionObject *)PyStackRef_AsPyObjectBorrow(func);
 2033|  4.91k|    PyCodeObject * code = (PyCodeObject *)func_obj->func_code;
 2034|  4.91k|    CALL_STAT_INC(frames_pushed);
  ------------------
  |  |   76|  4.91k|#define CALL_STAT_INC(name) ((void)0)
  ------------------
 2035|  4.91k|    _PyInterpreterFrame *frame = _PyThreadState_PushFrame(tstate, code->co_framesize);
 2036|  4.91k|    if (frame == NULL) {
  ------------------
  |  Branch (2036:9): [True: 0, False: 4.91k]
  ------------------
 2037|      0|        goto fail;
 2038|      0|    }
 2039|  4.91k|    _PyFrame_Initialize(tstate, frame, func, locals, code, 0, previous);
 2040|  4.91k|    if (initialize_locals(tstate, func_obj, frame->localsplus, args, argcount, kwnames)) {
  ------------------
  |  Branch (2040:9): [True: 0, False: 4.91k]
  ------------------
 2041|      0|        assert(frame->owner == FRAME_OWNED_BY_THREAD);
  ------------------
  |  Branch (2041:9): [True: 0, False: 0]
  ------------------
 2042|      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]
  |  |  ------------------
  ------------------
 2043|      0|        clear_thread_frame(tstate, frame);
 2044|      0|        return NULL;
 2045|      0|    }
 2046|  4.91k|    return frame;
 2047|      0|fail:
 2048|       |    /* Consume the references */
 2049|      0|    PyStackRef_CLOSE(func);
 2050|      0|    Py_XDECREF(locals);
  ------------------
  |  |   69|      0|    do { \
  |  |   70|      0|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   71|      0|        if (xop != NULL) { \
  |  |  ------------------
  |  |  |  Branch (71:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   72|      0|            Py_DECREF(xop); \
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   73|      0|        } \
  |  |   74|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (74:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2051|      0|    for (size_t i = 0; i < argcount; i++) {
  ------------------
  |  Branch (2051:24): [True: 0, False: 0]
  ------------------
 2052|      0|        PyStackRef_CLOSE(args[i]);
 2053|      0|    }
 2054|      0|    if (kwnames) {
  ------------------
  |  Branch (2054:9): [True: 0, False: 0]
  ------------------
 2055|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2056|      0|        for (Py_ssize_t i = 0; i < kwcount; i++) {
  ------------------
  |  Branch (2056:32): [True: 0, False: 0]
  ------------------
 2057|      0|            PyStackRef_CLOSE(args[i+argcount]);
 2058|      0|        }
 2059|      0|    }
 2060|      0|    PyErr_NoMemory();
 2061|       |    return NULL;
 2062|  4.91k|}
_PyEvalFramePushAndInit_Ex:
 2070|     52|{
 2071|     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 (2071:22): [True: 29, False: 23]
  |  Branch (2071:40): [True: 0, False: 29]
  ------------------
 2072|     52|    PyObject *kwnames = NULL;
 2073|     52|    _PyStackRef *newargs;
 2074|     52|    PyObject *const *object_array = NULL;
 2075|     52|    _PyStackRef stack_array[8] = {0};
 2076|     52|    if (has_dict) {
  ------------------
  |  Branch (2076:9): [True: 0, False: 52]
  ------------------
 2077|      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)
  |  |  ------------------
  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2078|      0|        if (object_array == NULL) {
  ------------------
  |  Branch (2078:13): [True: 0, False: 0]
  ------------------
 2079|      0|            PyStackRef_CLOSE(func);
 2080|      0|            goto error;
 2081|      0|        }
 2082|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2083|      0|        assert(sizeof(PyObject *) == sizeof(_PyStackRef));
  ------------------
  |  Branch (2083:9): [True: 0, Folded]
  ------------------
 2084|      0|        newargs = (_PyStackRef *)object_array;
 2085|       |        /* Positional args are borrowed from callargs tuple, need new reference */
 2086|      0|        for (Py_ssize_t i = 0; i < nargs; i++) {
  ------------------
  |  Branch (2086:32): [True: 0, False: 0]
  ------------------
 2087|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2088|      0|        }
 2089|       |        /* Keyword args are owned by _PyStack_UnpackDict, steal them */
 2090|      0|        for (size_t i = 0; i < nkwargs; i++) {
  ------------------
  |  Branch (2090:28): [True: 0, False: 0]
  ------------------
 2091|      0|            newargs[nargs + i] = PyStackRef_FromPyObjectSteal(object_array[nargs + i]);
 2092|      0|        }
 2093|      0|    }
 2094|     52|    else {
 2095|     52|        if (nargs <= 8) {
  ------------------
  |  Branch (2095:13): [True: 48, False: 4]
  ------------------
 2096|     48|            newargs = stack_array;
 2097|     48|        }
 2098|      4|        else {
 2099|      4|            newargs = PyMem_Malloc(sizeof(_PyStackRef) *nargs);
 2100|      4|            if (newargs == NULL) {
  ------------------
  |  Branch (2100:17): [True: 0, False: 4]
  ------------------
 2101|      0|                PyErr_NoMemory();
 2102|      0|                PyStackRef_CLOSE(func);
 2103|      0|                goto error;
 2104|      0|            }
 2105|      4|        }
 2106|       |        /* We need to create a new reference for all our args since the new frame steals them. */
 2107|    339|        for (Py_ssize_t i = 0; i < nargs; i++) {
  ------------------
  |  Branch (2107:32): [True: 287, False: 52]
  ------------------
 2108|    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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2109|    287|        }
 2110|     52|    }
 2111|     52|    _PyInterpreterFrame *new_frame = _PyEvalFramePushAndInit(
 2112|     52|        tstate, func, locals,
 2113|     52|        newargs, nargs, kwnames, previous
 2114|     52|    );
 2115|     52|    if (has_dict) {
  ------------------
  |  Branch (2115:9): [True: 0, False: 52]
  ------------------
 2116|      0|        _PyStack_UnpackDict_FreeNoDecRef(object_array, kwnames);
 2117|      0|    }
 2118|     52|    else if (nargs > 8) {
  ------------------
  |  Branch (2118:14): [True: 4, False: 48]
  ------------------
 2119|      4|       PyMem_Free((void *)newargs);
 2120|      4|    }
 2121|       |    /* No need to decref func here because the reference has been stolen by
 2122|       |       _PyEvalFramePushAndInit.
 2123|       |    */
 2124|     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); \
  |  |  ------------------
  |  |  |  |  112|     37|    do { \
  |  |  |  |  113|     37|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|     37|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 37]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|     37|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118: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]
  |  |  ------------------
  ------------------
 2125|     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); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|     29|    do { \
  |  |  |  |  |  |  113|     29|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|     29|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 29]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|     29|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118: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]
  |  |  ------------------
  ------------------
 2126|     52|    return new_frame;
 2127|      0|error:
 2128|      0|    Py_DECREF(callargs);
  ------------------
  |  |   80|      0|    do { \
  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|      0|    do { \
  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2129|      0|    Py_XDECREF(kwargs);
  ------------------
  |  |   69|      0|    do { \
  |  |   70|      0|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   71|      0|        if (xop != NULL) { \
  |  |  ------------------
  |  |  |  Branch (71:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   72|      0|            Py_DECREF(xop); \
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   73|      0|        } \
  |  |   74|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (74:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2130|       |    return NULL;
 2131|     52|}
_PyEval_Vector:
 2138|  1.97k|{
 2139|  1.97k|    size_t total_args = argcount;
 2140|  1.97k|    if (kwnames) {
  ------------------
  |  Branch (2140:9): [True: 101, False: 1.87k]
  ------------------
 2141|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2142|    101|    }
 2143|  1.97k|    _PyStackRef stack_array[8] = {0};
 2144|  1.97k|    _PyStackRef *arguments;
 2145|  1.97k|    if (total_args <= 8) {
  ------------------
  |  Branch (2145:9): [True: 1.97k, False: 2]
  ------------------
 2146|  1.97k|        arguments = stack_array;
 2147|  1.97k|    }
 2148|      2|    else {
 2149|      2|        arguments = PyMem_Malloc(sizeof(_PyStackRef) * total_args);
 2150|      2|        if (arguments == NULL) {
  ------------------
  |  Branch (2150:13): [True: 0, False: 2]
  ------------------
 2151|      0|            return PyErr_NoMemory();
 2152|      0|        }
 2153|      2|    }
 2154|       |    /* _PyEvalFramePushAndInit consumes the references
 2155|       |     * to func, locals and all its arguments */
 2156|  1.97k|    Py_XINCREF(locals);
  ------------------
  |  |  514|  1.97k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.97k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.97k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2157|  5.74k|    for (size_t i = 0; i < argcount; i++) {
  ------------------
  |  Branch (2157:24): [True: 3.77k, False: 1.97k]
  ------------------
 2158|  3.77k|        arguments[i] = PyStackRef_FromPyObjectNew(args[i]);
  ------------------
  |  |  611|  3.77k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  3.77k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.77k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2159|  3.77k|    }
 2160|  1.97k|    if (kwnames) {
  ------------------
  |  Branch (2160:9): [True: 101, False: 1.87k]
  ------------------
 2161|    101|        Py_ssize_t kwcount = 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2162|    273|        for (Py_ssize_t i = 0; i < kwcount; i++) {
  ------------------
  |  Branch (2162:32): [True: 172, False: 101]
  ------------------
 2163|    172|            arguments[i+argcount] = PyStackRef_FromPyObjectNew(args[i+argcount]);
  ------------------
  |  |  611|    172|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    172|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    172|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2164|    172|        }
 2165|    101|    }
 2166|  1.97k|    _PyInterpreterFrame *frame = _PyEvalFramePushAndInit(
 2167|  1.97k|        tstate, PyStackRef_FromPyObjectNew(func), locals,
  ------------------
  |  |  611|  1.97k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.97k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.97k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2168|  1.97k|        arguments, argcount, kwnames, NULL);
 2169|  1.97k|    if (total_args > 8) {
  ------------------
  |  Branch (2169:9): [True: 2, False: 1.97k]
  ------------------
 2170|      2|        PyMem_Free(arguments);
 2171|      2|    }
 2172|  1.97k|    if (frame == NULL) {
  ------------------
  |  Branch (2172:9): [True: 0, False: 1.97k]
  ------------------
 2173|      0|        return NULL;
 2174|      0|    }
 2175|  1.97k|    EVAL_CALL_STAT_INC(EVAL_CALL_VECTOR);
  ------------------
  |  |   79|  1.97k|#define EVAL_CALL_STAT_INC(name) ((void)0)
  ------------------
 2176|  1.97k|    return _PyEval_EvalFrame(tstate, frame, 0);
 2177|  1.97k|}
_PyEval_UnpackIterableStackRef:
 2354|     68|{
 2355|     68|    int i = 0, j = 0;
 2356|     68|    Py_ssize_t ll = 0;
 2357|     68|    PyObject *it;  /* iter(v) */
 2358|     68|    PyObject *w;
 2359|     68|    PyObject *l = NULL; /* variable list */
 2360|     68|    assert(v != NULL);
  ------------------
  |  Branch (2360:5): [True: 68, False: 0]
  ------------------
 2361|       |
 2362|     68|    it = PyObject_GetIter(v);
 2363|     68|    if (it == NULL) {
  ------------------
  |  Branch (2363:9): [True: 0, False: 68]
  ------------------
 2364|      0|        if (_PyErr_ExceptionMatches(tstate, PyExc_TypeError) &&
  ------------------
  |  Branch (2364:13): [True: 0, False: 0]
  ------------------
 2365|      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 (2365:13): [True: 0, False: 0]
  |  Branch (2365:44): [True: 0, False: 0]
  ------------------
 2366|      0|        {
 2367|      0|            _PyErr_Format(tstate, PyExc_TypeError,
 2368|      0|                          "cannot unpack non-iterable %.200s object",
 2369|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2370|      0|        }
 2371|      0|        return 0;
 2372|      0|    }
 2373|       |
 2374|    220|    for (; i < argcnt; i++) {
  ------------------
  |  Branch (2374:12): [True: 152, False: 68]
  ------------------
 2375|    152|        w = PyIter_Next(it);
 2376|    152|        if (w == NULL) {
  ------------------
  |  Branch (2376:13): [True: 0, False: 152]
  ------------------
 2377|       |            /* Iterator done, via error or exhaustion. */
 2378|      0|            if (!_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (2378:17): [True: 0, False: 0]
  ------------------
 2379|      0|                if (argcntafter == -1) {
  ------------------
  |  Branch (2379:21): [True: 0, False: 0]
  ------------------
 2380|      0|                    _PyErr_Format(tstate, PyExc_ValueError,
 2381|      0|                                  "not enough values to unpack "
 2382|      0|                                  "(expected %d, got %d)",
 2383|      0|                                  argcnt, i);
 2384|      0|                }
 2385|      0|                else {
 2386|      0|                    _PyErr_Format(tstate, PyExc_ValueError,
 2387|      0|                                  "not enough values to unpack "
 2388|      0|                                  "(expected at least %d, got %d)",
 2389|      0|                                  argcnt + argcntafter, i);
 2390|      0|                }
 2391|      0|            }
 2392|      0|            goto Error;
 2393|      0|        }
 2394|    152|        *--sp = PyStackRef_FromPyObjectSteal(w);
 2395|    152|    }
 2396|       |
 2397|     68|    if (argcntafter == -1) {
  ------------------
  |  Branch (2397:9): [True: 68, False: 0]
  ------------------
 2398|       |        /* We better have exhausted the iterator now. */
 2399|     68|        w = PyIter_Next(it);
 2400|     68|        if (w == NULL) {
  ------------------
  |  Branch (2400:13): [True: 68, False: 0]
  ------------------
 2401|     68|            if (_PyErr_Occurred(tstate))
  ------------------
  |  Branch (2401:17): [True: 0, False: 68]
  ------------------
 2402|      0|                goto Error;
 2403|     68|            Py_DECREF(it);
  ------------------
  |  |   80|     68|    do { \
  |  |   81|     68|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|     68|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     68|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|     68|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|     68|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     68|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     68|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 68]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|     68|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|     68|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|     68|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 68, False: 0]
  |  |  ------------------
  |  |   88|     68|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|     68|    do { \
  |  |  |  |  113|     68|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|     68|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 68]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|     68|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 68]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|     68|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|     68|            (*dealloc)(op); \
  |  |   91|     68|        } \
  |  |   92|     68|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 68]
  |  |  ------------------
  ------------------
 2404|     68|            return 1;
 2405|     68|        }
 2406|      0|        Py_DECREF(w);
  ------------------
  |  |   80|      0|    do { \
  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|      0|    do { \
  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2407|       |
 2408|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2409|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2410|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2411|      0|            if (ll > argcnt) {
  ------------------
  |  Branch (2411:17): [True: 0, False: 0]
  ------------------
 2412|      0|                _PyErr_Format(tstate, PyExc_ValueError,
 2413|      0|                              "too many values to unpack (expected %d, got %zd)",
 2414|      0|                              argcnt, ll);
 2415|      0|                goto Error;
 2416|      0|            }
 2417|      0|        }
 2418|      0|        _PyErr_Format(tstate, PyExc_ValueError,
 2419|      0|                      "too many values to unpack (expected %d)",
 2420|      0|                      argcnt);
 2421|      0|        goto Error;
 2422|      0|    }
 2423|       |
 2424|      0|    l = PySequence_List(it);
 2425|      0|    if (l == NULL)
  ------------------
  |  Branch (2425:9): [True: 0, False: 0]
  ------------------
 2426|      0|        goto Error;
 2427|      0|    *--sp = PyStackRef_FromPyObjectSteal(l);
 2428|      0|    i++;
 2429|       |
 2430|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2431|      0|    if (ll < argcntafter) {
  ------------------
  |  Branch (2431:9): [True: 0, False: 0]
  ------------------
 2432|      0|        _PyErr_Format(tstate, PyExc_ValueError,
 2433|      0|            "not enough values to unpack (expected at least %d, got %zd)",
 2434|      0|            argcnt + argcntafter, argcnt + ll);
 2435|      0|        goto Error;
 2436|      0|    }
 2437|       |
 2438|       |    /* Pop the "after-variable" args off the list. */
 2439|      0|    for (j = argcntafter; j > 0; j--, i++) {
  ------------------
  |  Branch (2439:27): [True: 0, False: 0]
  ------------------
 2440|      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 (2440:46): [True: 0, False: 0]
  ------------------
 2441|      0|    }
 2442|       |    /* Resize the list. */
 2443|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2444|      0|    Py_DECREF(it);
  ------------------
  |  |   80|      0|    do { \
  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|      0|    do { \
  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2445|      0|    return 1;
 2446|       |
 2447|      0|Error:
 2448|      0|    for (; i > 0; i--, sp++) {
  ------------------
  |  Branch (2448:12): [True: 0, False: 0]
  ------------------
 2449|      0|        PyStackRef_CLOSE(*sp);
 2450|      0|    }
 2451|       |    Py_XDECREF(it);
  ------------------
  |  |   69|      0|    do { \
  |  |   70|      0|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   71|      0|        if (xop != NULL) { \
  |  |  ------------------
  |  |  |  Branch (71:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   72|      0|            Py_DECREF(xop); \
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   73|      0|        } \
  |  |   74|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (74:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2452|      0|    return 0;
 2453|      0|}
_PyEval_MonitorRaise:
 2460|    446|{
 2461|    446|    if (no_tools_for_local_event(tstate, frame, PY_MONITORING_EVENT_RAISE)) {
  ------------------
  |  |   32|    446|#define PY_MONITORING_EVENT_RAISE 11
  ------------------
  |  Branch (2461:9): [True: 446, False: 0]
  ------------------
 2462|    446|        return;
 2463|    446|    }
 2464|      0|    do_monitor_exc(tstate, frame, instr, PY_MONITORING_EVENT_RAISE);
  ------------------
  |  |   32|      0|#define PY_MONITORING_EVENT_RAISE 11
  ------------------
 2465|      0|}
_PyEval_NoToolsForUnwind:
 2469|      6|{
 2470|      6|    return no_tools_for_local_event(tstate, frame, PY_MONITORING_EVENT_PY_UNWIND);
  ------------------
  |  |   34|      6|#define PY_MONITORING_EVENT_PY_UNWIND 13
  ------------------
 2471|      6|}
_PyEval_GetFrame:
 2607|    212|{
 2608|    212|    PyThreadState *tstate = _PyThreadState_GET();
 2609|    212|    return _PyThreadState_GetFrame(tstate);
 2610|    212|}
_PyEval_GetBuiltins:
 2628|     57|{
 2629|     57|    _PyInterpreterFrame *frame = _PyThreadState_GetFrame(tstate);
 2630|     57|    if (frame != NULL) {
  ------------------
  |  Branch (2630:9): [True: 51, False: 6]
  ------------------
 2631|     51|        return frame->f_builtins;
 2632|     51|    }
 2633|      6|    return tstate->interp->builtins;
 2634|     57|}
PyEval_GetBuiltins:
 2638|     57|{
 2639|     57|    PyThreadState *tstate = _PyThreadState_GET();
 2640|     57|    return _PyEval_GetBuiltins(tstate);
 2641|     57|}
PyEval_GetGlobals:
 2750|    134|{
 2751|    134|    PyThreadState *tstate = _PyThreadState_GET();
 2752|    134|    return _PyEval_GetGlobals(tstate);
 2753|    134|}
_PyEval_EnsureBuiltins:
 2813|     53|{
 2814|     53|    PyObject *builtins = get_globals_builtins(globals);
 2815|     53|    if (builtins == NULL) {
  ------------------
  |  Branch (2815:9): [True: 51, False: 2]
  ------------------
 2816|     51|        if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (2816:13): [True: 0, False: 51]
  ------------------
 2817|      0|            return -1;
 2818|      0|        }
 2819|     51|        builtins = PyEval_GetBuiltins();  // borrowed
 2820|     51|        if (builtins == NULL) {
  ------------------
  |  Branch (2820:13): [True: 0, False: 51]
  ------------------
 2821|      0|            assert(_PyErr_Occurred(tstate));
  ------------------
  |  Branch (2821:13): [True: 0, False: 0]
  ------------------
 2822|      0|            return -1;
 2823|      0|        }
 2824|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2825|     51|        if (set_globals_builtins(globals, builtins) < 0) {
  ------------------
  |  Branch (2825:13): [True: 0, False: 51]
  ------------------
 2826|      0|            Py_DECREF(builtins);
  ------------------
  |  |   80|      0|    do { \
  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|      0|    do { \
  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2827|      0|            return -1;
 2828|      0|        }
 2829|     51|    }
 2830|     53|    if (p_builtins != NULL) {
  ------------------
  |  Branch (2830:9): [True: 0, False: 53]
  ------------------
 2831|      0|        *p_builtins = builtins;
 2832|      0|    }
 2833|     53|    else {
 2834|       |        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); \
  |  |  ------------------
  |  |  |  |  112|      0|    do { \
  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#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]
  |  |  ------------------
  ------------------
 2835|     53|    }
 2836|     53|    return 0;
 2837|     53|}
_PyEval_EnsureBuiltinsWithModule:
 2842|     15|{
 2843|     15|    PyObject *builtins = get_globals_builtins(globals);
 2844|     15|    if (builtins == NULL) {
  ------------------
  |  Branch (2844:9): [True: 15, False: 0]
  ------------------
 2845|     15|        if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (2845:13): [True: 0, False: 15]
  ------------------
 2846|      0|            return -1;
 2847|      0|        }
 2848|     15|        builtins = PyImport_ImportModuleLevel("builtins", NULL, NULL, NULL, 0);
 2849|     15|        if (builtins == NULL) {
  ------------------
  |  Branch (2849:13): [True: 0, False: 15]
  ------------------
 2850|      0|            return -1;
 2851|      0|        }
 2852|     15|        if (set_globals_builtins(globals, builtins) < 0) {
  ------------------
  |  Branch (2852:13): [True: 0, False: 15]
  ------------------
 2853|      0|            Py_DECREF(builtins);
  ------------------
  |  |   80|      0|    do { \
  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|      0|    do { \
  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2854|      0|            return -1;
 2855|      0|        }
 2856|     15|    }
 2857|     15|    if (p_builtins != NULL) {
  ------------------
  |  Branch (2857:9): [True: 15, False: 0]
  ------------------
 2858|     15|        *p_builtins = builtins;
 2859|     15|    }
 2860|      0|    else {
 2861|       |        Py_DECREF(builtins);
  ------------------
  |  |   80|      0|    do { \
  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|      0|    do { \
  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2862|      0|    }
 2863|     15|    return 0;
 2864|     15|}
PyEval_MergeCompilerFlags:
 2890|     39|{
 2891|     39|    PyThreadState *tstate = _PyThreadState_GET();
 2892|     39|    _PyInterpreterFrame *current_frame = tstate->current_frame;
 2893|     39|    if (current_frame == tstate->base_frame) {
  ------------------
  |  Branch (2893:9): [True: 0, False: 39]
  ------------------
 2894|      0|        current_frame = NULL;
 2895|      0|    }
 2896|     39|    int result = cf->cf_flags != 0;
 2897|       |
 2898|     39|    if (current_frame != NULL) {
  ------------------
  |  Branch (2898:9): [True: 39, False: 0]
  ------------------
 2899|     39|        const int codeflags = _PyFrame_GetCode(current_frame)->co_flags;
 2900|     39|        const int compilerflags = codeflags & PyCF_MASK;
  ------------------
  |  |    6|     39|#define PyCF_MASK (CO_FUTURE_DIVISION | CO_FUTURE_ABSOLUTE_IMPORT | \
  |  |  ------------------
  |  |  |  |  139|     39|#define CO_FUTURE_DIVISION      0x20000
  |  |  ------------------
  |  |               #define PyCF_MASK (CO_FUTURE_DIVISION | CO_FUTURE_ABSOLUTE_IMPORT | \
  |  |  ------------------
  |  |  |  |  140|     39|#define CO_FUTURE_ABSOLUTE_IMPORT 0x40000 /* do absolute imports by default */
  |  |  ------------------
  |  |    7|     39|                   CO_FUTURE_WITH_STATEMENT | CO_FUTURE_PRINT_FUNCTION | \
  |  |  ------------------
  |  |  |  |  141|     39|#define CO_FUTURE_WITH_STATEMENT  0x80000
  |  |  ------------------
  |  |                                  CO_FUTURE_WITH_STATEMENT | CO_FUTURE_PRINT_FUNCTION | \
  |  |  ------------------
  |  |  |  |  142|     39|#define CO_FUTURE_PRINT_FUNCTION  0x100000
  |  |  ------------------
  |  |    8|     39|                   CO_FUTURE_UNICODE_LITERALS | CO_FUTURE_BARRY_AS_BDFL | \
  |  |  ------------------
  |  |  |  |  143|     39|#define CO_FUTURE_UNICODE_LITERALS 0x200000
  |  |  ------------------
  |  |                                  CO_FUTURE_UNICODE_LITERALS | CO_FUTURE_BARRY_AS_BDFL | \
  |  |  ------------------
  |  |  |  |  145|     39|#define CO_FUTURE_BARRY_AS_BDFL  0x400000
  |  |  ------------------
  |  |    9|     39|                   CO_FUTURE_GENERATOR_STOP | CO_FUTURE_ANNOTATIONS)
  |  |  ------------------
  |  |  |  |  146|     39|#define CO_FUTURE_GENERATOR_STOP  0x800000
  |  |  ------------------
  |  |                                  CO_FUTURE_GENERATOR_STOP | CO_FUTURE_ANNOTATIONS)
  |  |  ------------------
  |  |  |  |  147|     39|#define CO_FUTURE_ANNOTATIONS    0x1000000
  |  |  ------------------
  ------------------
 2901|     39|        if (compilerflags) {
  ------------------
  |  Branch (2901:13): [True: 0, False: 39]
  ------------------
 2902|      0|            result = 1;
 2903|      0|            cf->cf_flags |= compilerflags;
 2904|      0|        }
 2905|     39|    }
 2906|     39|    return result;
 2907|     39|}
_PyEval_SliceIndex:
 2944|    760|{
 2945|    760|    if (Py_IsNone(v)) {
  ------------------
  |  |  621|    760|#define Py_IsNone(x) Py_Is((x), Py_None)
  |  |  ------------------
  |  |  |  |  187|    760|#define Py_Is(x, y) ((x) == (y))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (187:21): [True: 174, False: 586]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2946|    174|        return 1;
 2947|    174|    }
 2948|    586|    return _PyEval_SliceIndexNotNone(v, pi);
 2949|    760|}
_PyEval_SliceIndexNotNone:
 2953|    586|{
 2954|    586|    PyThreadState *tstate = _PyThreadState_GET();
 2955|    586|    Py_ssize_t x;
 2956|    586|    if (PyLong_CheckExact(v) && _PyLong_IsCompact((PyLongObject *)v)) {
  ------------------
  |  |   14|    586|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |   65|  1.17k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    586|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    586|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (65:5): [True: 586, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2956:33): [True: 586, False: 0]
  ------------------
 2957|    586|        *pi = _PyLong_CompactValue((PyLongObject *)v);
 2958|    586|        return 1;
 2959|    586|    }
 2960|      0|    if (_PyIndex_Check(v)) {
  ------------------
  |  Branch (2960:9): [True: 0, False: 0]
  ------------------
 2961|      0|        x = PyNumber_AsSsize_t(v, NULL);
 2962|      0|        if (x == -1 && _PyErr_Occurred(tstate))
  ------------------
  |  Branch (2962:13): [True: 0, False: 0]
  |  Branch (2962:24): [True: 0, False: 0]
  ------------------
 2963|      0|            return 0;
 2964|      0|    }
 2965|      0|    else {
 2966|      0|        _PyErr_SetString(tstate, PyExc_TypeError,
 2967|      0|                         "slice indices must be integers or "
 2968|      0|                         "have an __index__ method");
 2969|      0|        return 0;
 2970|      0|    }
 2971|      0|    *pi = x;
 2972|      0|    return 1;
 2973|      0|}
_PyEval_UnpackIndices:
 2979|    152|{
 2980|    152|    if (len < 0) {
  ------------------
  |  Branch (2980:9): [True: 0, False: 152]
  ------------------
 2981|      0|        return 0;
 2982|      0|    }
 2983|    152|    *istart = 0;
 2984|    152|    *istop = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|    152|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
 2985|    152|    if (!_PyEval_SliceIndex(start, istart)) {
  ------------------
  |  Branch (2985:9): [True: 0, False: 152]
  ------------------
 2986|      0|        return 0;
 2987|      0|    }
 2988|    152|    if (!_PyEval_SliceIndex(stop, istop)) {
  ------------------
  |  Branch (2988:9): [True: 0, False: 152]
  ------------------
 2989|      0|        return 0;
 2990|      0|    }
 2991|    152|    PySlice_AdjustIndices(len, istart, istop, 1);
 2992|    152|    return 1;
 2993|    152|}
_PyEval_ImportName:
 2999|    293|{
 3000|    293|    PyObject *import_func;
 3001|    293|    if (PyMapping_GetOptionalItem(builtins, &_Py_ID(__import__),
  ------------------
  |  |  936|    293|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    293|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    293|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3001:9): [True: 0, False: 293]
  ------------------
 3002|    293|                                  &import_func) < 0) {
 3003|      0|        return NULL;
 3004|      0|    }
 3005|    293|    if (import_func == NULL) {
  ------------------
  |  Branch (3005:9): [True: 0, False: 293]
  ------------------
 3006|      0|        _PyErr_SetString(tstate, PyExc_ImportError, "__import__ not found");
 3007|      0|        return NULL;
 3008|      0|    }
 3009|       |
 3010|    293|    PyObject *res = _PyEval_ImportNameWithImport(
 3011|    293|        tstate, import_func, globals, locals, name, fromlist, level);
 3012|       |    Py_DECREF(import_func);
  ------------------
  |  |   80|    293|    do { \
  |  |   81|    293|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|    293|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    293|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|    293|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|    293|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    293|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    293|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 293]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|    293|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|    293|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|    293|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 293]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|      0|    do { \
  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|    293|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 293]
  |  |  ------------------
  ------------------
 3013|    293|    return res;
 3014|    293|}
_PyEval_ImportNameWithImport:
 3020|    293|{
 3021|    293|    if (locals == NULL) {
  ------------------
  |  Branch (3021:9): [True: 100, False: 193]
  ------------------
 3022|    100|        locals = Py_None;
  ------------------
  |  |  616|    100|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3023|    100|    }
 3024|       |
 3025|       |    /* Fast path for not overloaded __import__. */
 3026|    293|    if (_PyImport_IsDefaultImportFunc(tstate->interp, import_func)) {
  ------------------
  |  Branch (3026:9): [True: 293, False: 0]
  ------------------
 3027|    293|        int ilevel = PyLong_AsInt(level);
 3028|    293|        if (ilevel == -1 && _PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (3028:13): [True: 0, False: 293]
  |  Branch (3028:29): [True: 0, False: 0]
  ------------------
 3029|      0|            return NULL;
 3030|      0|        }
 3031|    293|        return PyImport_ImportModuleLevelObject(
 3032|    293|                        name,
 3033|    293|                        globals,
 3034|    293|                        locals,
 3035|    293|                        fromlist,
 3036|    293|                        ilevel);
 3037|    293|    }
 3038|       |
 3039|      0|    PyObject *args[5] = {name, globals, locals, fromlist, level};
 3040|       |    PyObject *res = PyObject_Vectorcall(import_func, args, 5, NULL);
 3041|      0|    return res;
 3042|    293|}
_PyEval_LazyImportName:
 3093|    162|{
 3094|    162|    PyObject *res = NULL;
 3095|       |    // Check if global policy overrides the local syntax
 3096|    162|    switch (PyImport_GetLazyImportsMode()) {
  ------------------
  |  Branch (3096:13): [True: 162, False: 0]
  ------------------
 3097|      0|        case PyImport_LAZY_ALL:
  ------------------
  |  Branch (3097:9): [True: 0, False: 162]
  ------------------
 3098|      0|            if (!lazy) {
  ------------------
  |  Branch (3098:17): [True: 0, False: 0]
  ------------------
 3099|      0|                lazy = is_lazy_import_module_level();
 3100|      0|            }
 3101|      0|            break;
 3102|    162|        case PyImport_LAZY_NORMAL:
  ------------------
  |  Branch (3102:9): [True: 162, False: 0]
  ------------------
 3103|    162|            break;
 3104|    162|    }
 3105|       |
 3106|    162|    if (!lazy) {
  ------------------
  |  Branch (3106:9): [True: 150, False: 12]
  ------------------
 3107|       |        // See if __lazy_modules__ forces this to be lazy.
 3108|       |        // __lazy_modules__ only applies at module level; exec() inside
 3109|       |        // functions or classes should remain eager.
 3110|    150|        if (is_lazy_import_module_level()) {
  ------------------
  |  Branch (3110:13): [True: 150, False: 0]
  ------------------
 3111|    150|            lazy = check_lazy_import_compatibility(tstate, globals, name, level);
 3112|    150|            if (lazy < 0) {
  ------------------
  |  Branch (3112:17): [True: 0, False: 150]
  ------------------
 3113|      0|                return NULL;
 3114|      0|            }
 3115|    150|        }
 3116|    150|    }
 3117|       |
 3118|    162|    if (!lazy) {
  ------------------
  |  Branch (3118:9): [True: 150, False: 12]
  ------------------
 3119|       |        // Not a lazy import or lazy imports are disabled, fallback to the
 3120|       |        // regular import.
 3121|    150|        return _PyEval_ImportName(tstate, builtins, globals, locals,
 3122|    150|                                  name, fromlist, level);
 3123|    150|    }
 3124|       |
 3125|     12|    PyObject *lazy_import_func;
 3126|     12|    if (PyMapping_GetOptionalItem(builtins, &_Py_ID(__lazy_import__),
  ------------------
  |  |  936|     12|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     12|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     12|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3126:9): [True: 0, False: 12]
  ------------------
 3127|     12|                                  &lazy_import_func) < 0) {
 3128|      0|        goto error;
 3129|      0|    }
 3130|     12|    if (lazy_import_func == NULL) {
  ------------------
  |  Branch (3130:9): [True: 0, False: 12]
  ------------------
 3131|      0|        assert(!PyErr_Occurred());
  ------------------
  |  Branch (3131:9): [True: 0, False: 0]
  ------------------
 3132|      0|        _PyErr_SetString(tstate, PyExc_ImportError,
 3133|      0|                         "__lazy_import__ not found");
 3134|      0|        goto error;
 3135|      0|    }
 3136|       |
 3137|     12|    if (locals == NULL) {
  ------------------
  |  Branch (3137:9): [True: 0, False: 12]
  ------------------
 3138|      0|        locals = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3139|      0|    }
 3140|       |
 3141|     12|    if (_PyImport_IsDefaultLazyImportFunc(tstate->interp, lazy_import_func)) {
  ------------------
  |  Branch (3141:9): [True: 12, False: 0]
  ------------------
 3142|     12|        int ilevel = PyLong_AsInt(level);
 3143|     12|        if (ilevel == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (3143:13): [True: 0, False: 12]
  |  Branch (3143:29): [True: 0, False: 0]
  ------------------
 3144|      0|            goto error;
 3145|      0|        }
 3146|       |
 3147|     12|        res = _PyImport_LazyImportModuleLevelObject(
 3148|     12|            tstate, name, builtins, globals, locals, fromlist, ilevel
 3149|     12|        );
 3150|     12|        goto error;
 3151|     12|    }
 3152|       |
 3153|      0|    PyObject *args[6] = {name, globals, locals, fromlist, level, builtins};
 3154|      0|    res = PyObject_Vectorcall(lazy_import_func, args, 6, NULL);
 3155|     12|error:
 3156|       |    Py_XDECREF(lazy_import_func);
  ------------------
  |  |   69|     12|    do { \
  |  |   70|     12|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   71|     12|        if (xop != NULL) { \
  |  |  ------------------
  |  |  |  Branch (71:13): [True: 12, False: 0]
  |  |  ------------------
  |  |   72|     12|            Py_DECREF(xop); \
  |  |  ------------------
  |  |  |  |   80|     12|    do { \
  |  |  |  |   81|     12|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|     12|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|     12|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 12]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|     12|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|     12|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|     12|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 12]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|     12|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 12]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   73|     12|        } \
  |  |   74|     12|    } while (0)
  |  |  ------------------
  |  |  |  Branch (74:14): [Folded, False: 12]
  |  |  ------------------
  ------------------
 3157|     12|    return res;
 3158|      0|}
_PyEval_ImportFrom:
 3162|    195|{
 3163|    195|    PyObject *x;
 3164|    195|    PyObject *fullmodname, *mod_name, *origin, *mod_name_or_unknown, *errmsg, *spec;
 3165|       |
 3166|    195|    if (PyObject_GetOptionalAttr(v, name, &x) != 0) {
  ------------------
  |  Branch (3166:9): [True: 194, False: 1]
  ------------------
 3167|    194|        return x;
 3168|    194|    }
 3169|       |    /* Issue #17636: in case this failed because of a circular relative
 3170|       |       import, try to fallback on reading the module directly from
 3171|       |       sys.modules. */
 3172|      1|    if (PyObject_GetOptionalAttr(v, &_Py_ID(__name__), &mod_name) < 0) {
  ------------------
  |  |  936|      1|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      1|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      1|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3172:9): [True: 0, False: 1]
  ------------------
 3173|      0|        return NULL;
 3174|      0|    }
 3175|      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 (3175:9): [True: 0, False: 1]
  |  Branch (3175:29): [True: 0, False: 1]
  ------------------
 3176|      0|        Py_CLEAR(mod_name);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3177|      0|        goto error;
 3178|      0|    }
 3179|      1|    fullmodname = PyUnicode_FromFormat("%U.%U", mod_name, name);
 3180|      1|    if (fullmodname == NULL) {
  ------------------
  |  Branch (3180:9): [True: 0, False: 1]
  ------------------
 3181|      0|        Py_DECREF(mod_name);
  ------------------
  |  |   80|      0|    do { \
  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|      0|    do { \
  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3182|      0|        return NULL;
 3183|      0|    }
 3184|      1|    x = PyImport_GetModule(fullmodname);
 3185|      1|    Py_DECREF(fullmodname);
  ------------------
  |  |   80|      1|    do { \
  |  |   81|      1|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      1|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      1|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      1|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      1|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      1|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 1, False: 0]
  |  |  ------------------
  |  |   88|      1|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|      1|    do { \
  |  |  |  |  113|      1|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|      1|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|      1|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      1|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      1|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      1|            (*dealloc)(op); \
  |  |   91|      1|        } \
  |  |   92|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 3186|      1|    if (x == NULL && !_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (3186:9): [True: 1, False: 0]
  |  Branch (3186:22): [True: 1, False: 0]
  ------------------
 3187|      1|        goto error;
 3188|      1|    }
 3189|      0|    Py_DECREF(mod_name);
  ------------------
  |  |   80|      0|    do { \
  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|      0|    do { \
  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3190|      0|    return x;
 3191|       |
 3192|      1| error:
 3193|      1|    if (mod_name == NULL) {
  ------------------
  |  Branch (3193:9): [True: 0, False: 1]
  ------------------
 3194|      0|        mod_name_or_unknown = PyUnicode_FromString("<unknown module name>");
 3195|      0|        if (mod_name_or_unknown == NULL) {
  ------------------
  |  Branch (3195:13): [True: 0, False: 0]
  ------------------
 3196|      0|            return NULL;
 3197|      0|        }
 3198|      1|    } else {
 3199|      1|        mod_name_or_unknown = mod_name;
 3200|      1|    }
 3201|       |    // mod_name is no longer an owned reference
 3202|      1|    assert(mod_name_or_unknown);
  ------------------
  |  Branch (3202:5): [True: 1, False: 0]
  ------------------
 3203|      1|    assert(mod_name == NULL || mod_name == mod_name_or_unknown);
  ------------------
  |  Branch (3203:5): [True: 0, False: 1]
  |  Branch (3203:5): [True: 1, False: 0]
  ------------------
 3204|       |
 3205|      1|    origin = NULL;
 3206|      1|    if (PyObject_GetOptionalAttr(v, &_Py_ID(__spec__), &spec) < 0) {
  ------------------
  |  |  936|      1|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      1|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      1|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3206:9): [True: 0, False: 1]
  ------------------
 3207|      0|        Py_DECREF(mod_name_or_unknown);
  ------------------
  |  |   80|      0|    do { \
  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|      0|    do { \
  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3208|      0|        return NULL;
 3209|      0|    }
 3210|      1|    if (spec == NULL) {
  ------------------
  |  Branch (3210:9): [True: 0, False: 1]
  ------------------
 3211|      0|        errmsg = PyUnicode_FromFormat(
 3212|      0|            "cannot import name %R from %R (unknown location)",
 3213|      0|            name, mod_name_or_unknown
 3214|      0|        );
 3215|      0|        goto done_with_errmsg;
 3216|      0|    }
 3217|      1|    if (_PyModuleSpec_GetFileOrigin(spec, &origin) < 0) {
  ------------------
  |  Branch (3217:9): [True: 0, False: 1]
  ------------------
 3218|      0|        goto done;
 3219|      0|    }
 3220|       |
 3221|      1|    int is_possibly_shadowing = _PyModule_IsPossiblyShadowing(origin);
 3222|      1|    if (is_possibly_shadowing < 0) {
  ------------------
  |  Branch (3222:9): [True: 0, False: 1]
  ------------------
 3223|      0|        goto done;
 3224|      0|    }
 3225|      1|    int is_possibly_shadowing_stdlib = 0;
 3226|      1|    if (is_possibly_shadowing) {
  ------------------
  |  Branch (3226:9): [True: 0, False: 1]
  ------------------
 3227|      0|        PyObject *stdlib_modules;
 3228|      0|        if (PySys_GetOptionalAttrString("stdlib_module_names", &stdlib_modules) < 0) {
  ------------------
  |  Branch (3228:13): [True: 0, False: 0]
  ------------------
 3229|      0|            goto done;
 3230|      0|        }
 3231|      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 (3231:13): [True: 0, False: 0]
  ------------------
 3232|      0|            is_possibly_shadowing_stdlib = PySet_Contains(stdlib_modules, mod_name_or_unknown);
 3233|      0|            if (is_possibly_shadowing_stdlib < 0) {
  ------------------
  |  Branch (3233:17): [True: 0, False: 0]
  ------------------
 3234|      0|                Py_DECREF(stdlib_modules);
  ------------------
  |  |   80|      0|    do { \
  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|      0|    do { \
  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3235|      0|                goto done;
 3236|      0|            }
 3237|      0|        }
 3238|      0|        Py_XDECREF(stdlib_modules);
  ------------------
  |  |   69|      0|    do { \
  |  |   70|      0|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   71|      0|        if (xop != NULL) { \
  |  |  ------------------
  |  |  |  Branch (71:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   72|      0|            Py_DECREF(xop); \
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   73|      0|        } \
  |  |   74|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (74:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3239|      0|    }
 3240|       |
 3241|      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 (3241:9): [True: 1, False: 0]
  ------------------
 3242|       |        // Fall back to __file__ for diagnostics if we don't have
 3243|       |        // an origin that is a location
 3244|      1|        origin = PyModule_GetFilenameObject(v);
 3245|      1|        if (origin == NULL) {
  ------------------
  |  Branch (3245:13): [True: 1, False: 0]
  ------------------
 3246|      1|            if (!PyErr_ExceptionMatches(PyExc_SystemError)) {
  ------------------
  |  Branch (3246:17): [True: 0, False: 1]
  ------------------
 3247|      0|                goto done;
 3248|      0|            }
 3249|       |            // PyModule_GetFilenameObject raised "module filename missing"
 3250|      1|            _PyErr_Clear(tstate);
 3251|      1|        }
 3252|      1|        assert(origin == NULL || PyUnicode_Check(origin));
  ------------------
  |  Branch (3252:9): [True: 1, False: 0]
  |  Branch (3252:9): [True: 0, False: 0]
  ------------------
 3253|      1|    }
 3254|       |
 3255|      1|    if (is_possibly_shadowing_stdlib) {
  ------------------
  |  Branch (3255:9): [True: 0, False: 1]
  ------------------
 3256|      0|        assert(origin);
  ------------------
  |  Branch (3256:9): [True: 0, False: 0]
  ------------------
 3257|      0|        errmsg = PyUnicode_FromFormat(
 3258|      0|            "cannot import name %R from %R "
 3259|      0|            "(consider renaming %R since it has the same "
 3260|      0|            "name as the standard library module named %R "
 3261|      0|            "and prevents importing that standard library module)",
 3262|      0|            name, mod_name_or_unknown, origin, mod_name_or_unknown
 3263|      0|        );
 3264|      0|    }
 3265|      1|    else {
 3266|      1|        int rc = _PyModuleSpec_IsInitializing(spec);
 3267|      1|        if (rc < 0) {
  ------------------
  |  Branch (3267:13): [True: 0, False: 1]
  ------------------
 3268|      0|            goto done;
 3269|      0|        }
 3270|      1|        else if (rc > 0) {
  ------------------
  |  Branch (3270:18): [True: 0, False: 1]
  ------------------
 3271|      0|            if (is_possibly_shadowing) {
  ------------------
  |  Branch (3271:17): [True: 0, False: 0]
  ------------------
 3272|      0|                assert(origin);
  ------------------
  |  Branch (3272:17): [True: 0, False: 0]
  ------------------
 3273|       |                // For non-stdlib modules, only mention the possibility of
 3274|       |                // shadowing if the module is being initialized.
 3275|      0|                errmsg = PyUnicode_FromFormat(
 3276|      0|                    "cannot import name %R from %R "
 3277|      0|                    "(consider renaming %R if it has the same name "
 3278|      0|                    "as a library you intended to import)",
 3279|      0|                    name, mod_name_or_unknown, origin
 3280|      0|                );
 3281|      0|            }
 3282|      0|            else if (origin) {
  ------------------
  |  Branch (3282:22): [True: 0, False: 0]
  ------------------
 3283|      0|                errmsg = PyUnicode_FromFormat(
 3284|      0|                    "cannot import name %R from partially initialized module %R "
 3285|      0|                    "(most likely due to a circular import) (%S)",
 3286|      0|                    name, mod_name_or_unknown, origin
 3287|      0|                );
 3288|      0|            }
 3289|      0|            else {
 3290|      0|                errmsg = PyUnicode_FromFormat(
 3291|      0|                    "cannot import name %R from partially initialized module %R "
 3292|      0|                    "(most likely due to a circular import)",
 3293|      0|                    name, mod_name_or_unknown
 3294|      0|                );
 3295|      0|            }
 3296|      0|        }
 3297|      1|        else {
 3298|      1|            assert(rc == 0);
  ------------------
  |  Branch (3298:13): [True: 1, False: 0]
  ------------------
 3299|      1|            if (origin) {
  ------------------
  |  Branch (3299:17): [True: 0, False: 1]
  ------------------
 3300|      0|                errmsg = PyUnicode_FromFormat(
 3301|      0|                    "cannot import name %R from %R (%S)",
 3302|      0|                    name, mod_name_or_unknown, origin
 3303|      0|                );
 3304|      0|            }
 3305|      1|            else {
 3306|      1|                errmsg = PyUnicode_FromFormat(
 3307|      1|                    "cannot import name %R from %R (unknown location)",
 3308|      1|                    name, mod_name_or_unknown
 3309|      1|                );
 3310|      1|            }
 3311|      1|        }
 3312|      1|    }
 3313|       |
 3314|      1|done_with_errmsg:
 3315|      1|    if (errmsg != NULL) {
  ------------------
  |  Branch (3315:9): [True: 1, False: 0]
  ------------------
 3316|       |        /* NULL checks for mod_name and origin done by _PyErr_SetImportErrorWithNameFrom */
 3317|      1|        _PyErr_SetImportErrorWithNameFrom(errmsg, mod_name, origin, name);
 3318|      1|        Py_DECREF(errmsg);
  ------------------
  |  |   80|      1|    do { \
  |  |   81|      1|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      1|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      1|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      1|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      1|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      1|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 1]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|      0|    do { \
  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 3319|      1|    }
 3320|       |
 3321|      1|done:
 3322|      1|    Py_XDECREF(origin);
  ------------------
  |  |   69|      1|    do { \
  |  |   70|      1|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   71|      1|        if (xop != NULL) { \
  |  |  ------------------
  |  |  |  Branch (71:13): [True: 0, False: 1]
  |  |  ------------------
  |  |   72|      0|            Py_DECREF(xop); \
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   73|      0|        } \
  |  |   74|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (74:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 3323|      1|    Py_XDECREF(spec);
  ------------------
  |  |   69|      1|    do { \
  |  |   70|      1|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   71|      1|        if (xop != NULL) { \
  |  |  ------------------
  |  |  |  Branch (71:13): [True: 1, False: 0]
  |  |  ------------------
  |  |   72|      1|            Py_DECREF(xop); \
  |  |  ------------------
  |  |  |  |   80|      1|    do { \
  |  |  |  |   81|      1|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      1|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      1|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      1|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      1|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      1|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      1|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   73|      1|        } \
  |  |   74|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (74:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 3324|      1|    Py_DECREF(mod_name_or_unknown);
  ------------------
  |  |   80|      1|    do { \
  |  |   81|      1|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      1|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      1|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 1, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      1|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      1|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      1|            break; \
  |  |   85|      1|        } \
  |  |   86|      1|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|      0|    do { \
  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3325|       |    return NULL;
 3326|      1|}
_PyEval_LazyImportFrom:
 3330|      2|{
 3331|      2|    assert(PyLazyImport_CheckExact(v));
  ------------------
  |  Branch (3331:5): [True: 2, False: 0]
  ------------------
 3332|      2|    assert(name);
  ------------------
  |  Branch (3332:5): [True: 2, False: 0]
  ------------------
 3333|      2|    assert(PyUnicode_Check(name));
  ------------------
  |  Branch (3333:5): [True: 2, False: 0]
  ------------------
 3334|      2|    PyObject *ret;
 3335|      2|    PyLazyImportObject *d = (PyLazyImportObject *)v;
 3336|      2|    PyObject *mod = NULL;
 3337|       |    // Only `from a import b` can take b off an already imported a;
 3338|       |    // `import a.b as c` has to import a.b first.
 3339|      2|    if (d->lz_attr != NULL && PyTuple_Check(d->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 (3339:9): [True: 2, False: 0]
  ------------------
 3340|      2|        PyTuple_GET_SIZE(d->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 (3340:9): [True: 2, False: 0]
  ------------------
 3341|      2|        mod = PyImport_GetModule(d->lz_from);
 3342|      2|    }
 3343|      2|    if (mod != NULL) {
  ------------------
  |  Branch (3343:9): [True: 0, False: 2]
  ------------------
 3344|       |        // Check if the module already has the attribute, if so, resolve it
 3345|       |        // eagerly.
 3346|      0|        if (PyModule_Check(mod)) {
  ------------------
  |  |   12|      0|#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3347|      0|            PyObject *mod_dict = PyModule_GetDict(mod);
 3348|      0|            if (mod_dict != NULL) {
  ------------------
  |  Branch (3348:17): [True: 0, False: 0]
  ------------------
 3349|      0|                if (PyDict_GetItemRef(mod_dict, name, &ret) < 0) {
  ------------------
  |  Branch (3349:21): [True: 0, False: 0]
  ------------------
 3350|      0|                    Py_DECREF(mod);
  ------------------
  |  |   80|      0|    do { \
  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|      0|    do { \
  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3351|      0|                    return NULL;
 3352|      0|                }
 3353|      0|                if (ret != NULL) {
  ------------------
  |  Branch (3353:21): [True: 0, False: 0]
  ------------------
 3354|      0|                    Py_DECREF(mod);
  ------------------
  |  |   80|      0|    do { \
  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|      0|    do { \
  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3355|      0|                    return ret;
 3356|      0|                }
 3357|      0|            }
 3358|      0|        }
 3359|      0|        Py_DECREF(mod);
  ------------------
  |  |   80|      0|    do { \
  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|      0|    do { \
  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3360|      0|    }
 3361|       |
 3362|      2|    return _PyLazyImport_New(frame, d->lz_builtins, v, name);
 3363|      2|}
_PyEval_CheckExceptTypeValid:
 3373|    312|{
 3374|    312|    if (PyTuple_Check(right)) {
  ------------------
  |  |   27|    312|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    312|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 14, False: 298]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3375|     14|        Py_ssize_t i, length;
 3376|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3377|     42|        for (i = 0; i < length; i++) {
  ------------------
  |  Branch (3377:21): [True: 28, False: 14]
  ------------------
 3378|     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 (3378:29): [True: 28, False: 0]
  ------------------
 3379|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3380|      0|                _PyErr_SetString(tstate, PyExc_TypeError,
 3381|      0|                    CANNOT_CATCH_MSG);
  ------------------
  |  | 3365|      0|#define CANNOT_CATCH_MSG "catching classes that do not inherit from "\
  |  | 3366|      0|                         "BaseException is not allowed"
  ------------------
 3382|      0|                return -1;
 3383|      0|            }
 3384|     28|        }
 3385|     14|    }
 3386|    298|    else {
 3387|    298|        if (!PyExceptionClass_Check(right)) {
  ------------------
  |  |   61|    298|    (PyType_Check((x)) &&                                               \
  |  |  ------------------
  |  |  |  |  766|    596|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    298|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    298|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (766:28): [True: 298, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   62|    298|     PyType_FastSubclass((PyTypeObject*)(x), Py_TPFLAGS_BASE_EXC_SUBCLASS))
  |  |  ------------------
  |  |  |  |  760|    298|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 298, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3388|      0|            _PyErr_SetString(tstate, PyExc_TypeError,
 3389|      0|                CANNOT_CATCH_MSG);
  ------------------
  |  | 3365|      0|#define CANNOT_CATCH_MSG "catching classes that do not inherit from "\
  |  | 3366|      0|                         "BaseException is not allowed"
  ------------------
 3390|      0|            return -1;
 3391|      0|        }
 3392|    298|    }
 3393|    312|    return 0;
 3394|    312|}
_Py_Check_ArgsIterable:
 3435|     37|{
 3436|     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 (3436:9): [True: 0, False: 37]
  |  Branch (3436:43): [True: 0, False: 0]
  ------------------
 3437|      0|        _PyErr_Format(tstate, PyExc_TypeError,
 3438|      0|                      "Value after * must be an iterable, not %.200s",
 3439|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3440|      0|        return -1;
 3441|      0|    }
 3442|     37|    return 0;
 3443|     37|}
Py_EnterRecursiveCall:
 3579|    125|{
 3580|    125|    return _Py_EnterRecursiveCall(where);
 3581|    125|}
Py_LeaveRecursiveCall:
 3584|    106|{
 3585|    106|    _Py_LeaveRecursiveCall();
 3586|    106|}
_PyEval_LoadGlobalStackRef:
 3629|  4.82k|{
 3630|  4.82k|    if (PyAnyDict_CheckExact(globals) && PyAnyDict_CheckExact(builtins)) {
  ------------------
  |  |   41|  9.64k|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   19|  4.82k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  9.64k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  4.82k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  4.82k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 4.82k, 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.82k|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   19|  4.82k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  9.64k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  4.82k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  4.82k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 4.82k, 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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3631|  4.82k|        _PyDict_LoadGlobalStackRef((PyDictObject *)globals,
 3632|  4.82k|                                    (PyDictObject *)builtins,
 3633|  4.82k|                                    name, writeto);
 3634|  4.82k|        if (PyStackRef_IsNull(*writeto) && !PyErr_Occurred()) {
  ------------------
  |  |  482|  9.64k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  4.82k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  4.82k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 0, False: 4.82k]
  |  |  ------------------
  ------------------
  |  Branch (3634:44): [True: 0, False: 0]
  ------------------
 3635|       |            /* _PyDict_LoadGlobal() returns NULL without raising
 3636|       |                * an exception if the key doesn't exist */
 3637|      0|            _PyEval_FormatExcCheckArg(PyThreadState_GET(), PyExc_NameError,
  ------------------
  |  |   63|      0|#define PyThreadState_GET() PyThreadState_Get()
  ------------------
 3638|      0|                                        NAME_ERROR_MSG, name);
  ------------------
  |  |  405|      0|#define NAME_ERROR_MSG "name '%.200s' is not defined"
  ------------------
 3639|      0|        }
 3640|  4.82k|    }
 3641|      0|    else {
 3642|       |        /* Slow-path if globals or builtins is not a dict */
 3643|       |        /* namespace 1: globals */
 3644|      0|        PyObject *res;
 3645|      0|        if (PyMapping_GetOptionalItem(globals, name, &res) < 0) {
  ------------------
  |  Branch (3645:13): [True: 0, False: 0]
  ------------------
 3646|      0|            *writeto = PyStackRef_NULL;
 3647|      0|            return;
 3648|      0|        }
 3649|      0|        if (res == NULL) {
  ------------------
  |  Branch (3649:13): [True: 0, False: 0]
  ------------------
 3650|       |            /* namespace 2: builtins */
 3651|      0|            if (PyMapping_GetOptionalItem(builtins, name, &res) < 0) {
  ------------------
  |  Branch (3651:17): [True: 0, False: 0]
  ------------------
 3652|      0|                *writeto = PyStackRef_NULL;
 3653|      0|                return;
 3654|      0|            }
 3655|      0|            if (res == NULL) {
  ------------------
  |  Branch (3655:17): [True: 0, False: 0]
  ------------------
 3656|      0|                _PyEval_FormatExcCheckArg(
 3657|      0|                            PyThreadState_GET(), PyExc_NameError,
  ------------------
  |  |   63|      0|#define PyThreadState_GET() PyThreadState_Get()
  ------------------
 3658|      0|                            NAME_ERROR_MSG, name);
  ------------------
  |  |  405|      0|#define NAME_ERROR_MSG "name '%.200s' is not defined"
  ------------------
 3659|      0|                *writeto = PyStackRef_NULL;
 3660|      0|                return;
 3661|      0|            }
 3662|      0|        }
 3663|      0|        *writeto = PyStackRef_FromPyObjectSteal(res);
 3664|      0|    }
 3665|       |
 3666|  4.82k|    PyObject *res_o = PyStackRef_AsPyObjectBorrow(*writeto);
 3667|  4.82k|    if (res_o != NULL && PyLazyImport_CheckExact(res_o)) {
  ------------------
  |  |   15|  4.82k|#define PyLazyImport_CheckExact(op) Py_IS_TYPE((op), &PyLazyImport_Type)
  |  |  ------------------
  |  |  |  |   65|  4.82k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.82k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.82k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (65:5): [True: 0, False: 4.82k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3667:9): [True: 4.82k, False: 0]
  ------------------
 3668|      0|        PyObject *l_v = _PyImport_LoadLazyImportTstate(PyThreadState_GET(), res_o);
  ------------------
  |  |   63|      0|#define PyThreadState_GET() PyThreadState_Get()
  ------------------
 3669|      0|        PyStackRef_CLOSE(writeto[0]);
 3670|      0|        if (l_v == NULL) {
  ------------------
  |  Branch (3670:13): [True: 0, False: 0]
  ------------------
 3671|      0|            assert(PyErr_Occurred());
  ------------------
  |  Branch (3671:13): [True: 0, False: 0]
  ------------------
 3672|      0|            *writeto = PyStackRef_NULL;
 3673|      0|            return;
 3674|      0|        }
 3675|      0|        int err = PyDict_SetItem(globals, name, l_v);
 3676|      0|        if (err < 0) {
  ------------------
  |  Branch (3676:13): [True: 0, False: 0]
  ------------------
 3677|      0|            Py_DECREF(l_v);
  ------------------
  |  |   80|      0|    do { \
  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|      0|    do { \
  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3678|      0|            *writeto = PyStackRef_NULL;
 3679|      0|            return;
 3680|      0|        }
 3681|      0|        *writeto = PyStackRef_FromPyObjectSteal(l_v);
 3682|      0|    }
 3683|  4.82k|}
_PyEval_LoadName:
 3711|  3.78k|{
 3712|       |
 3713|  3.78k|    PyObject *value;
 3714|  3.78k|    if (frame->f_locals == NULL) {
  ------------------
  |  Branch (3714:9): [True: 0, False: 3.78k]
  ------------------
 3715|      0|        _PyErr_SetString(tstate, PyExc_SystemError,
 3716|      0|                            "no locals found");
 3717|      0|        return NULL;
 3718|      0|    }
 3719|  3.78k|    if (PyMapping_GetOptionalItem(frame->f_locals, name, &value) < 0) {
  ------------------
  |  Branch (3719:9): [True: 0, False: 3.78k]
  ------------------
 3720|      0|        return NULL;
 3721|      0|    }
 3722|  3.78k|    if (value != NULL) {
  ------------------
  |  Branch (3722:9): [True: 2.75k, False: 1.02k]
  ------------------
 3723|  2.75k|        return value;
 3724|  2.75k|    }
 3725|  1.02k|    if (PyDict_GetItemRef(frame->f_globals, name, &value) < 0) {
  ------------------
  |  Branch (3725:9): [True: 0, False: 1.02k]
  ------------------
 3726|      0|        return NULL;
 3727|      0|    }
 3728|  1.02k|    if (value != NULL) {
  ------------------
  |  Branch (3728:9): [True: 385, False: 642]
  ------------------
 3729|    385|        return value;
 3730|    385|    }
 3731|    642|    if (PyMapping_GetOptionalItem(frame->f_builtins, name, &value) < 0) {
  ------------------
  |  Branch (3731:9): [True: 0, False: 642]
  ------------------
 3732|      0|        return NULL;
 3733|      0|    }
 3734|    642|    if (value == NULL) {
  ------------------
  |  Branch (3734:9): [True: 0, False: 642]
  ------------------
 3735|      0|        _PyEval_FormatExcCheckArg(
 3736|      0|                    tstate, PyExc_NameError,
 3737|      0|                    NAME_ERROR_MSG, name);
  ------------------
  |  |  405|      0|#define NAME_ERROR_MSG "name '%.200s' is not defined"
  ------------------
 3738|      0|    }
 3739|    642|    return value;
 3740|    642|}
_PyForIter_VirtualIteratorNext:
 3743|    869|{
 3744|    869|    PyObject *iter_o = PyStackRef_AsPyObjectBorrow(iter);
 3745|    869|    _PyStackRef index = *index_ptr;
 3746|    869|    if (PyStackRef_IsTaggedInt(index)) {
  ------------------
  |  Branch (3746:9): [True: 131, False: 738]
  ------------------
 3747|    131|        intptr_t i = PyStackRef_UntagInt(index);
 3748|    131|        assert(i >= 0);
  ------------------
  |  Branch (3748:9): [True: 131, False: 0]
  ------------------
 3749|    131|        _PyObjectIndexPair next_index = Py_TYPE(iter_o)->_tp_iteritem(iter_o, i);
  ------------------
  |  |  213|    131|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    131|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    131|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3750|    131|        i = next_index.index;
 3751|    131|        PyObject *next = next_index.object;
 3752|    131|        if (next == NULL) {
  ------------------
  |  Branch (3752:13): [True: 20, False: 111]
  ------------------
 3753|     20|            return i < 0 ? PyStackRef_ERROR : PyStackRef_NULL;
  ------------------
  |  Branch (3753:20): [True: 0, False: 20]
  ------------------
 3754|     20|        }
 3755|    111|        *index_ptr = PyStackRef_TagInt(i);
 3756|    111|        return PyStackRef_FromPyObjectSteal(next);
 3757|    131|    }
 3758|    738|    PyObject *next = (*Py_TYPE(iter_o)->tp_iternext)(iter_o);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3759|    738|    if (next == NULL) {
  ------------------
  |  Branch (3759:9): [True: 132, False: 606]
  ------------------
 3760|    132|        if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (3760:13): [True: 0, False: 132]
  ------------------
 3761|      0|            if (_PyErr_ExceptionMatches(tstate, PyExc_StopIteration)) {
  ------------------
  |  Branch (3761:17): [True: 0, False: 0]
  ------------------
 3762|      0|                _PyEval_MonitorRaise(tstate, frame, frame->instr_ptr);
 3763|      0|                _PyErr_Clear(tstate);
 3764|      0|            }
 3765|      0|            else {
 3766|      0|                return PyStackRef_ERROR;
 3767|      0|            }
 3768|      0|        }
 3769|    132|        return PyStackRef_NULL;
 3770|    132|    }
 3771|    606|    return PyStackRef_FromPyObjectSteal(next);
 3772|    738|}
ceval.c:hardware_stack_limits:
  128|      2|{
  129|       |#ifdef WIN32
  130|       |    ULONG_PTR low, high;
  131|       |    GetCurrentThreadStackLimits(&low, &high);
  132|       |    *top = (uintptr_t)high;
  133|       |    ULONG guarantee = 0;
  134|       |#ifdef MS_WINDOWS_DESKTOP
  135|       |    SetThreadStackGuarantee(&guarantee);
  136|       |#endif
  137|       |    *base = (uintptr_t)low + guarantee;
  138|       |#elif defined(__APPLE__)
  139|       |    pthread_t this_thread = pthread_self();
  140|       |    void *stack_addr = pthread_get_stackaddr_np(this_thread); // top of the stack
  141|       |    size_t stack_size = pthread_get_stacksize_np(this_thread);
  142|       |    *top = (uintptr_t)stack_addr;
  143|       |    *base = ((uintptr_t)stack_addr) - stack_size;
  144|       |#else
  145|       |    /// XXX musl supports HAVE_PTHRED_GETATTR_NP, but the resulting stack size
  146|       |    /// (on alpine at least) is much smaller than expected and imposes undue limits
  147|       |    /// compared to the old stack size estimation.  (We assume musl is not glibc.)
  148|      2|#  if defined(HAVE_PTHREAD_GETATTR_NP) && !defined(_AIX) && \
  149|      2|        !defined(__NetBSD__) && (defined(__GLIBC__) || !defined(__linux__))
  150|      2|    size_t stack_size, guard_size;
  151|      2|    void *stack_addr;
  152|      2|    pthread_attr_t attr;
  153|      2|    int err = pthread_getattr_np(pthread_self(), &attr);
  154|      2|    if (err == 0) {
  ------------------
  |  Branch (154:9): [True: 2, False: 0]
  ------------------
  155|      2|        err = pthread_attr_getguardsize(&attr, &guard_size);
  156|      2|        err |= pthread_attr_getstack(&attr, &stack_addr, &stack_size);
  157|      2|        err |= pthread_attr_destroy(&attr);
  158|      2|    }
  159|      2|    if (err == 0) {
  ------------------
  |  Branch (159:9): [True: 2, False: 0]
  ------------------
  160|      2|        *base = ((uintptr_t)stack_addr) + guard_size;
  161|      2|        *top = (uintptr_t)stack_addr + stack_size;
  162|      2|        return;
  163|      2|    }
  164|      0|#  endif
  165|       |    // Add some space for caller function then round to minimum page size
  166|       |    // This is a guess at the top of the stack, but should be a reasonably
  167|       |    // good guess if called from _PyThreadState_Attach when creating a thread.
  168|       |    // If the thread is attached deep in a call stack, then the guess will be poor.
  169|      0|#if _Py_STACK_GROWS_DOWN
  170|      0|    uintptr_t top_addr = _Py_SIZE_ROUND_UP(sp + 8*sizeof(void*), SYSTEM_PAGE_SIZE);
  ------------------
  |  |  238|      0|#define _Py_SIZE_ROUND_UP(n, a) (((size_t)(n) + \
  |  |  239|      0|        (size_t)((a) - 1)) & ~(size_t)((a) - 1))
  ------------------
  171|      0|    *top = top_addr;
  172|      0|    *base = top_addr - Py_C_STACK_SIZE;
  ------------------
  |  |   65|      0|#  define Py_C_STACK_SIZE 4000000
  ------------------
  173|       |#  else
  174|       |    uintptr_t base_addr = _Py_SIZE_ROUND_DOWN(sp - 8*sizeof(void*), SYSTEM_PAGE_SIZE);
  175|       |    *base = base_addr;
  176|       |    *top = base_addr + Py_C_STACK_SIZE;
  177|       |#endif
  178|      0|#endif
  179|      0|}
ceval.c:tstate_set_stack:
  184|      2|{
  185|      2|    assert(base < top);
  ------------------
  |  Branch (185:5): [True: 2, False: 0]
  ------------------
  186|      2|    assert((top - base) >= _PyOS_MIN_STACK_SIZE);
  ------------------
  |  Branch (186:5): [True: 2, False: 0]
  ------------------
  187|       |
  188|       |#ifdef _Py_THREAD_SANITIZER
  189|       |    // Thread sanitizer crashes if we use more than half the stack.
  190|       |    uintptr_t stacksize = top - base;
  191|       |#  if _Py_STACK_GROWS_DOWN
  192|       |    base += stacksize/2;
  193|       |#  else
  194|       |    top -= stacksize/2;
  195|       |#  endif
  196|       |#endif
  197|      2|    _PyThreadStateImpl *_tstate = (_PyThreadStateImpl *)tstate;
  198|      2|#if _Py_STACK_GROWS_DOWN
  199|      2|    _tstate->c_stack_top = top;
  200|      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
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  201|      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
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  202|      2|#  ifndef NDEBUG
  203|       |    // Sanity checks
  204|      2|    _PyThreadStateImpl *ts = (_PyThreadStateImpl *)tstate;
  205|      2|    assert(ts->c_stack_hard_limit <= ts->c_stack_soft_limit);
  ------------------
  |  Branch (205:5): [True: 2, False: 0]
  ------------------
  206|      2|    assert(ts->c_stack_soft_limit < ts->c_stack_top);
  ------------------
  |  Branch (206:5): [True: 2, False: 0]
  ------------------
  207|      2|#  endif
  208|       |#else
  209|       |    _tstate->c_stack_top = base;
  210|       |    _tstate->c_stack_hard_limit = top - _PyOS_STACK_MARGIN_BYTES;
  211|       |    _tstate->c_stack_soft_limit = top - _PyOS_STACK_MARGIN_BYTES * 2;
  212|       |#  ifndef NDEBUG
  213|       |    // Sanity checks
  214|       |    _PyThreadStateImpl *ts = (_PyThreadStateImpl *)tstate;
  215|       |    assert(ts->c_stack_hard_limit >= ts->c_stack_soft_limit);
  216|       |    assert(ts->c_stack_soft_limit > ts->c_stack_top);
  217|       |#  endif
  218|       |#endif
  219|      2|}
ceval.c:clear_thread_frame:
 1980|  8.29k|{
 1981|  8.29k|    assert(frame->owner == FRAME_OWNED_BY_THREAD);
  ------------------
  |  Branch (1981:5): [True: 8.29k, False: 0]
  ------------------
 1982|       |    // Make sure that this is, indeed, the top frame. We can't check this in
 1983|       |    // _PyThreadState_PopFrame, since f_code is already cleared at that point:
 1984|  8.29k|    assert((PyObject **)frame + _PyFrame_GetCode(frame)->co_framesize ==
  ------------------
  |  Branch (1984:5): [True: 8.29k, False: 0]
  ------------------
 1985|  8.29k|        tstate->datastack_top);
 1986|  8.29k|    assert(frame->frame_obj == NULL || frame->frame_obj->f_frame == frame);
  ------------------
  |  Branch (1986:5): [True: 7.85k, False: 435]
  |  Branch (1986:5): [True: 435, False: 0]
  ------------------
 1987|  8.29k|    _PyFrame_ClearExceptCode(frame);
 1988|  8.29k|    PyStackRef_CLEAR(frame->f_executable);
  ------------------
  |  |  732|  8.29k|    do { \
  |  |  733|  8.29k|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|  8.29k|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|  8.29k|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|  8.29k|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|  8.29k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 8.29k]
  |  |  ------------------
  ------------------
 1989|  8.29k|    _PyThreadState_PopFrame(tstate, frame);
 1990|  8.29k|}
ceval.c:clear_gen_frame:
 1994|    101|{
 1995|    101|    assert(frame->owner == FRAME_OWNED_BY_GENERATOR);
  ------------------
  |  Branch (1995:5): [True: 101, False: 0]
  ------------------
 1996|    101|    PyGenObject *gen = _PyGen_GetGeneratorFromFrame(frame);
 1997|    101|    FT_ATOMIC_STORE_INT8_RELEASE(gen->gi_frame_state, FRAME_CLEARED);
  ------------------
  |  |  167|    101|#define FT_ATOMIC_STORE_INT8_RELEASE(value, new_value) value = new_value
  ------------------
 1998|    101|    assert(tstate->exc_info == &gen->gi_exc_state);
  ------------------
  |  Branch (1998:5): [True: 101, False: 0]
  ------------------
 1999|    101|    tstate->exc_info = gen->gi_exc_state.previous_item;
 2000|    101|    gen->gi_exc_state.previous_item = NULL;
 2001|    101|    frame->previous = NULL;
 2002|    101|    Py_BEGIN_CRITICAL_SECTION(gen);
  ------------------
  |  |   51|    101|    {
  ------------------
 2003|    101|    assert(frame->frame_obj == NULL || frame->frame_obj->f_frame == frame);
  ------------------
  |  Branch (2003:5): [True: 101, False: 0]
  |  Branch (2003:5): [True: 0, False: 0]
  ------------------
 2004|    101|    _PyFrame_ClearExceptCode(frame);
 2005|    101|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    101|    }
  ------------------
 2006|    101|    _PyErr_ClearExcState(&gen->gi_exc_state);
 2007|       |    // gh-143939: There must not be any escaping calls between setting
 2008|       |    // the generator return kind and returning from _PyEval_EvalFrame.
 2009|    101|    ((_PyThreadStateImpl *)tstate)->generator_return_kind = GENERATOR_RETURN;
 2010|    101|}
ceval.c:initialize_locals:
 1733|  4.91k|{
 1734|  4.91k|    PyCodeObject *co = (PyCodeObject*)func->func_code;
 1735|  4.91k|    const Py_ssize_t total_args = co->co_argcount + co->co_kwonlyargcount;
 1736|       |    /* Create a dictionary for keyword parameters (**kwags) */
 1737|  4.91k|    PyObject *kwdict;
 1738|  4.91k|    Py_ssize_t i;
 1739|  4.91k|    if (co->co_flags & CO_VARKEYWORDS) {
  ------------------
  |  |  125|  4.91k|#define CO_VARKEYWORDS  0x0008
  ------------------
  |  Branch (1739:9): [True: 493, False: 4.42k]
  ------------------
 1740|    493|        kwdict = PyDict_New();
 1741|    493|        if (kwdict == NULL) {
  ------------------
  |  Branch (1741:13): [True: 0, False: 493]
  ------------------
 1742|      0|            goto fail_pre_positional;
 1743|      0|        }
 1744|    493|        i = total_args;
 1745|    493|        if (co->co_flags & CO_VARARGS) {
  ------------------
  |  |  124|    493|#define CO_VARARGS      0x0004
  ------------------
  |  Branch (1745:13): [True: 404, False: 89]
  ------------------
 1746|    404|            i++;
 1747|    404|        }
 1748|    493|        assert(PyStackRef_IsNull(localsplus[i]));
  ------------------
  |  Branch (1748:9): [True: 493, False: 0]
  ------------------
 1749|    493|        localsplus[i] = PyStackRef_FromPyObjectSteal(kwdict);
 1750|    493|    }
 1751|  4.42k|    else {
 1752|  4.42k|        kwdict = NULL;
 1753|  4.42k|    }
 1754|       |
 1755|       |    /* Copy all positional arguments into local variables */
 1756|  4.91k|    Py_ssize_t j, n;
 1757|  4.91k|    if (argcount > co->co_argcount) {
  ------------------
  |  Branch (1757:9): [True: 1.21k, False: 3.70k]
  ------------------
 1758|  1.21k|        n = co->co_argcount;
 1759|  1.21k|    }
 1760|  3.70k|    else {
 1761|  3.70k|        n = argcount;
 1762|  3.70k|    }
 1763|  12.8k|    for (j = 0; j < n; j++) {
  ------------------
  |  Branch (1763:17): [True: 7.95k, False: 4.91k]
  ------------------
 1764|  7.95k|        assert(PyStackRef_IsNull(localsplus[j]));
  ------------------
  |  Branch (1764:9): [True: 7.95k, False: 0]
  ------------------
 1765|  7.95k|        localsplus[j] = args[j];
 1766|  7.95k|    }
 1767|       |
 1768|       |    /* Pack other positional arguments into the *args argument */
 1769|  4.91k|    if (co->co_flags & CO_VARARGS) {
  ------------------
  |  |  124|  4.91k|#define CO_VARARGS      0x0004
  ------------------
  |  Branch (1769:9): [True: 1.25k, False: 3.66k]
  ------------------
 1770|  1.25k|        PyObject *u = NULL;
 1771|  1.25k|        if (argcount == n) {
  ------------------
  |  Branch (1771:13): [True: 37, False: 1.21k]
  ------------------
 1772|     37|            u = (PyObject *)&_Py_SINGLETON(tuple_empty);
  ------------------
  |  |   18|     37|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|     37|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
 1773|     37|        }
 1774|  1.21k|        else {
 1775|  1.21k|            u = _PyTuple_FromStackRefStealOnSuccess(args + n, argcount - n);
 1776|  1.21k|            if (u == NULL) {
  ------------------
  |  Branch (1776:17): [True: 0, False: 1.21k]
  ------------------
 1777|      0|                for (Py_ssize_t i = n; i < argcount; i++) {
  ------------------
  |  Branch (1777:40): [True: 0, False: 0]
  ------------------
 1778|      0|                    PyStackRef_CLOSE(args[i]);
 1779|      0|                }
 1780|      0|            }
 1781|  1.21k|        }
 1782|  1.25k|        if (u == NULL) {
  ------------------
  |  Branch (1782:13): [True: 0, False: 1.25k]
  ------------------
 1783|      0|            goto fail_post_positional;
 1784|      0|        }
 1785|  1.25k|        assert(PyStackRef_AsPyObjectBorrow(localsplus[total_args]) == NULL);
  ------------------
  |  Branch (1785:9): [True: 1.25k, False: 0]
  ------------------
 1786|  1.25k|        localsplus[total_args] = PyStackRef_FromPyObjectSteal(u);
 1787|  1.25k|    }
 1788|  3.66k|    else if (argcount > n) {
  ------------------
  |  Branch (1788:14): [True: 0, False: 3.66k]
  ------------------
 1789|       |        /* Too many positional args. Error is reported later */
 1790|      0|        for (j = n; j < argcount; j++) {
  ------------------
  |  Branch (1790:21): [True: 0, False: 0]
  ------------------
 1791|      0|            PyStackRef_CLOSE(args[j]);
 1792|      0|        }
 1793|      0|    }
 1794|       |
 1795|       |    /* Handle keyword arguments */
 1796|  4.91k|    if (kwnames != NULL) {
  ------------------
  |  Branch (1796:9): [True: 600, False: 4.31k]
  ------------------
 1797|    600|        Py_ssize_t kwcount = PyTuple_GET_SIZE(kwnames);
  ------------------
  |  |   27|    600|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    600|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    600|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1798|  1.37k|        for (i = 0; i < kwcount; i++) {
  ------------------
  |  Branch (1798:21): [True: 777, False: 600]
  ------------------
 1799|    777|            PyObject **co_varnames;
 1800|    777|            PyObject *keyword = PyTuple_GET_ITEM(kwnames, i);
  ------------------
  |  |   29|    777|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    777|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    777|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1800:33): [True: 777, False: 0]
  ------------------
 1801|      0|            _PyStackRef value_stackref = args[i+argcount];
 1802|    777|            Py_ssize_t j;
 1803|       |
 1804|    777|            if (keyword == NULL || !PyUnicode_Check(keyword)) {
  ------------------
  |  |  103|    777|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    777|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1804:17): [True: 0, False: 777]
  |  Branch (1804:36): [True: 0, False: 777]
  ------------------
 1805|      0|                _PyErr_Format(tstate, PyExc_TypeError,
 1806|      0|                            "%U() keywords must be strings",
 1807|      0|                          func->func_qualname);
 1808|      0|                goto kw_fail;
 1809|      0|            }
 1810|       |
 1811|       |            /* Speed hack: do raw pointer compares. As names are
 1812|       |            normally interned this should almost always hit. */
 1813|    777|            co_varnames = ((PyTupleObject *)(co->co_localsplusnames))->ob_item;
 1814|  2.43k|            for (j = co->co_posonlyargcount; j < total_args; j++) {
  ------------------
  |  Branch (1814:46): [True: 2.43k, False: 2]
  ------------------
 1815|  2.43k|                PyObject *varname = co_varnames[j];
 1816|  2.43k|                if (varname == keyword) {
  ------------------
  |  Branch (1816:21): [True: 775, False: 1.65k]
  ------------------
 1817|    775|                    goto kw_found;
 1818|    775|                }
 1819|  2.43k|            }
 1820|       |
 1821|       |            /* Slow fallback, just in case */
 1822|      8|            for (j = co->co_posonlyargcount; j < total_args; j++) {
  ------------------
  |  Branch (1822:46): [True: 6, False: 2]
  ------------------
 1823|      6|                PyObject *varname = co_varnames[j];
 1824|      6|                int cmp = PyObject_RichCompareBool( keyword, varname, Py_EQ);
  ------------------
  |  |  654|      6|#define Py_EQ 2
  ------------------
 1825|      6|                if (cmp > 0) {
  ------------------
  |  Branch (1825:21): [True: 0, False: 6]
  ------------------
 1826|      0|                    goto kw_found;
 1827|      0|                }
 1828|      6|                else if (cmp < 0) {
  ------------------
  |  Branch (1828:26): [True: 0, False: 6]
  ------------------
 1829|      0|                    goto kw_fail;
 1830|      0|                }
 1831|      6|            }
 1832|       |
 1833|      2|            assert(j >= total_args);
  ------------------
  |  Branch (1833:13): [True: 2, False: 0]
  ------------------
 1834|      2|            if (kwdict == NULL) {
  ------------------
  |  Branch (1834:17): [True: 0, False: 2]
  ------------------
 1835|       |
 1836|      0|                if (co->co_posonlyargcount
  ------------------
  |  Branch (1836:21): [True: 0, False: 0]
  ------------------
 1837|      0|                    && positional_only_passed_as_keyword(tstate, co,
  ------------------
  |  Branch (1837:24): [True: 0, False: 0]
  ------------------
 1838|      0|                                                        kwcount, kwnames,
 1839|      0|                                                        func->func_qualname))
 1840|      0|                {
 1841|      0|                    goto kw_fail;
 1842|      0|                }
 1843|       |
 1844|      0|                PyObject* suggestion_keyword = NULL;
 1845|      0|                if (total_args > co->co_posonlyargcount) {
  ------------------
  |  Branch (1845:21): [True: 0, False: 0]
  ------------------
 1846|      0|                    PyObject* possible_keywords = PyList_New(total_args - co->co_posonlyargcount);
 1847|       |
 1848|      0|                    if (!possible_keywords) {
  ------------------
  |  Branch (1848:25): [True: 0, False: 0]
  ------------------
 1849|      0|                        PyErr_Clear();
 1850|      0|                    } else {
 1851|      0|                        for (Py_ssize_t k = co->co_posonlyargcount; k < total_args; k++) {
  ------------------
  |  Branch (1851:69): [True: 0, False: 0]
  ------------------
 1852|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1853|      0|                        }
 1854|       |
 1855|      0|                        suggestion_keyword = _Py_CalculateSuggestions(possible_keywords, keyword);
 1856|      0|                        Py_DECREF(possible_keywords);
  ------------------
  |  |   80|      0|    do { \
  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|      0|    do { \
  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1857|      0|                    }
 1858|      0|                }
 1859|       |
 1860|      0|                if (suggestion_keyword) {
  ------------------
  |  Branch (1860:21): [True: 0, False: 0]
  ------------------
 1861|      0|                    _PyErr_Format(tstate, PyExc_TypeError,
 1862|      0|                                "%U() got an unexpected keyword argument '%S'. Did you mean '%S'?",
 1863|      0|                                func->func_qualname, keyword, suggestion_keyword);
 1864|      0|                    Py_DECREF(suggestion_keyword);
  ------------------
  |  |   80|      0|    do { \
  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|      0|    do { \
  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1865|      0|                } else {
 1866|      0|                    _PyErr_Format(tstate, PyExc_TypeError,
 1867|      0|                                "%U() got an unexpected keyword argument '%S'",
 1868|      0|                                func->func_qualname, keyword);
 1869|      0|                }
 1870|       |
 1871|      0|                goto kw_fail;
 1872|      0|            }
 1873|       |
 1874|      2|            if (PyDict_SetItem(kwdict, keyword, PyStackRef_AsPyObjectBorrow(value_stackref)) == -1) {
  ------------------
  |  Branch (1874:17): [True: 0, False: 2]
  ------------------
 1875|      0|                goto kw_fail;
 1876|      0|            }
 1877|      2|            PyStackRef_CLOSE(value_stackref);
 1878|      2|            continue;
 1879|       |
 1880|      0|        kw_fail:
 1881|      0|            for (;i < kwcount; i++) {
  ------------------
  |  Branch (1881:19): [True: 0, False: 0]
  ------------------
 1882|      0|                PyStackRef_CLOSE(args[i+argcount]);
 1883|      0|            }
 1884|      0|            goto fail_post_args;
 1885|       |
 1886|    775|        kw_found:
 1887|    775|            if (PyStackRef_AsPyObjectBorrow(localsplus[j]) != NULL) {
  ------------------
  |  Branch (1887:17): [True: 0, False: 775]
  ------------------
 1888|      0|                _PyErr_Format(tstate, PyExc_TypeError,
 1889|      0|                            "%U() got multiple values for argument '%S'",
 1890|      0|                          func->func_qualname, keyword);
 1891|      0|                goto kw_fail;
 1892|      0|            }
 1893|    775|            localsplus[j] = value_stackref;
 1894|    775|        }
 1895|    600|    }
 1896|       |
 1897|       |    /* Check the number of positional arguments */
 1898|  4.91k|    if ((argcount > co->co_argcount) && !(co->co_flags & CO_VARARGS)) {
  ------------------
  |  |  124|  1.21k|#define CO_VARARGS      0x0004
  ------------------
  |  Branch (1898:9): [True: 1.21k, False: 3.70k]
  |  Branch (1898:41): [True: 0, False: 1.21k]
  ------------------
 1899|      0|        too_many_positional(tstate, co, argcount, func->func_defaults, localsplus,
 1900|      0|                            func->func_qualname);
 1901|      0|        goto fail_post_args;
 1902|      0|    }
 1903|       |
 1904|       |    /* Add missing positional arguments (copy default values from defs) */
 1905|  4.91k|    if (argcount < co->co_argcount) {
  ------------------
  |  Branch (1905:9): [True: 340, False: 4.57k]
  ------------------
 1906|    340|        Py_ssize_t defcount = func->func_defaults == NULL ? 0 : PyTuple_GET_SIZE(func->func_defaults);
  ------------------
  |  |   27|    340|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    340|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    340|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1906:31): [True: 0, False: 340]
  ------------------
 1907|    340|        Py_ssize_t m = co->co_argcount - defcount;
 1908|    340|        Py_ssize_t missing = 0;
 1909|    344|        for (i = argcount; i < m; i++) {
  ------------------
  |  Branch (1909:28): [True: 4, False: 340]
  ------------------
 1910|      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]
  |  |  ------------------
  ------------------
 1911|      0|                missing++;
 1912|      0|            }
 1913|      4|        }
 1914|    340|        if (missing) {
  ------------------
  |  Branch (1914:13): [True: 0, False: 340]
  ------------------
 1915|      0|            missing_arguments(tstate, co, missing, defcount, localsplus,
 1916|      0|                              func->func_qualname);
 1917|      0|            goto fail_post_args;
 1918|      0|        }
 1919|    340|        if (n > m)
  ------------------
  |  Branch (1919:13): [True: 48, False: 292]
  ------------------
 1920|     48|            i = n - m;
 1921|    292|        else
 1922|    292|            i = 0;
 1923|    340|        if (defcount) {
  ------------------
  |  Branch (1923:13): [True: 340, False: 0]
  ------------------
 1924|    340|            PyObject **defs = &PyTuple_GET_ITEM(func->func_defaults, 0);
  ------------------
  |  |   29|    340|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    340|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    340|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1924:32): [True: 340, False: 0]
  ------------------
 1925|    802|            for (; i < defcount; i++) {
  ------------------
  |  Branch (1925:20): [True: 462, False: 340]
  ------------------
 1926|    462|                if (PyStackRef_AsPyObjectBorrow(localsplus[m+i]) == NULL) {
  ------------------
  |  Branch (1926:21): [True: 334, False: 128]
  ------------------
 1927|    334|                    PyObject *def = defs[i];
 1928|    334|                    localsplus[m+i] = PyStackRef_FromPyObjectNew(def);
  ------------------
  |  |  611|    334|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    334|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    334|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1929|    334|                }
 1930|    462|            }
 1931|    340|        }
 1932|    340|    }
 1933|       |
 1934|       |    /* Add missing keyword arguments (copy default values from kwdefs) */
 1935|  4.91k|    if (co->co_kwonlyargcount > 0) {
  ------------------
  |  Branch (1935:9): [True: 936, False: 3.98k]
  ------------------
 1936|    936|        Py_ssize_t missing = 0;
 1937|  2.29k|        for (i = co->co_argcount; i < total_args; i++) {
  ------------------
  |  Branch (1937:35): [True: 1.36k, False: 936]
  ------------------
 1938|  1.36k|            if (PyStackRef_AsPyObjectBorrow(localsplus[i]) != NULL)
  ------------------
  |  Branch (1938:17): [True: 643, False: 718]
  ------------------
 1939|    643|                continue;
 1940|    718|            PyObject *varname = PyTuple_GET_ITEM(co->co_localsplusnames, i);
  ------------------
  |  |   29|    718|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    718|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    718|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1940:33): [True: 718, False: 0]
  ------------------
 1941|    718|            if (func->func_kwdefaults != NULL) {
  ------------------
  |  Branch (1941:17): [True: 718, False: 0]
  ------------------
 1942|    718|                PyObject *def;
 1943|    718|                if (PyDict_GetItemRef(func->func_kwdefaults, varname, &def) < 0) {
  ------------------
  |  Branch (1943:21): [True: 0, False: 718]
  ------------------
 1944|      0|                    goto fail_post_args;
 1945|      0|                }
 1946|    718|                if (def) {
  ------------------
  |  Branch (1946:21): [True: 718, False: 0]
  ------------------
 1947|    718|                    localsplus[i] = PyStackRef_FromPyObjectSteal(def);
 1948|    718|                    continue;
 1949|    718|                }
 1950|    718|            }
 1951|      0|            missing++;
 1952|      0|        }
 1953|    936|        if (missing) {
  ------------------
  |  Branch (1953:13): [True: 0, False: 936]
  ------------------
 1954|      0|            missing_arguments(tstate, co, missing, -1, localsplus,
 1955|      0|                              func->func_qualname);
 1956|      0|            goto fail_post_args;
 1957|      0|        }
 1958|    936|    }
 1959|  4.91k|    return 0;
 1960|       |
 1961|      0|fail_pre_positional:
 1962|      0|    for (j = 0; j < argcount; j++) {
  ------------------
  |  Branch (1962:17): [True: 0, False: 0]
  ------------------
 1963|      0|        PyStackRef_CLOSE(args[j]);
 1964|      0|    }
 1965|       |    /* fall through */
 1966|      0|fail_post_positional:
 1967|      0|    if (kwnames) {
  ------------------
  |  Branch (1967:9): [True: 0, False: 0]
  ------------------
 1968|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1969|      0|        for (j = argcount; j < argcount+kwcount; j++) {
  ------------------
  |  Branch (1969:28): [True: 0, False: 0]
  ------------------
 1970|      0|            PyStackRef_CLOSE(args[j]);
 1971|      0|        }
 1972|      0|    }
 1973|       |    /* fall through */
 1974|      0|fail_post_args:
 1975|      0|    return -1;
 1976|      0|}
ceval.c:_PyEval_GetGlobals:
 2740|    134|{
 2741|    134|    _PyInterpreterFrame *current_frame = _PyThreadState_GetFrame(tstate);
 2742|    134|    if (current_frame == NULL) {
  ------------------
  |  Branch (2742:9): [True: 15, False: 119]
  ------------------
 2743|     15|        return NULL;
 2744|     15|    }
 2745|    119|    return current_frame->f_globals;
 2746|    134|}
ceval.c:get_globals_builtins:
 2773|     68|{
 2774|     68|    PyObject *builtins = NULL;
 2775|     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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2776|     68|        if (PyDict_GetItemRef(globals, &_Py_ID(__builtins__), &builtins) < 0) {
  ------------------
  |  |  936|     68|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     68|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     68|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2776:13): [True: 0, False: 68]
  ------------------
 2777|      0|            return NULL;
 2778|      0|        }
 2779|     68|    }
 2780|      0|    else {
 2781|      0|        if (PyMapping_GetOptionalItem(
  ------------------
  |  Branch (2781:13): [True: 0, False: 0]
  ------------------
 2782|      0|                        globals, &_Py_ID(__builtins__), &builtins) < 0)
  ------------------
  |  |  936|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2783|      0|        {
 2784|      0|            return NULL;
 2785|      0|        }
 2786|      0|    }
 2787|     68|    return builtins;
 2788|     68|}
ceval.c:set_globals_builtins:
 2792|     66|{
 2793|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2794|     66|        if (PyDict_SetItem(globals, &_Py_ID(__builtins__), builtins) < 0) {
  ------------------
  |  |  936|     66|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     66|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     66|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2794:13): [True: 0, False: 66]
  ------------------
 2795|      0|            return -1;
 2796|      0|        }
 2797|     66|    }
 2798|      0|    else {
 2799|      0|        if (PyObject_SetItem(globals, &_Py_ID(__builtins__), builtins) < 0) {
  ------------------
  |  |  936|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2799:13): [True: 0, False: 0]
  ------------------
 2800|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2801|      0|                PyErr_SetString(PyExc_TypeError,
 2802|      0|                                "cannot assign __builtins__ to frozendict globals");
 2803|      0|            }
 2804|      0|            return -1;
 2805|      0|        }
 2806|      0|    }
 2807|     66|    return 0;
 2808|     66|}
ceval.c:is_lazy_import_module_level:
 3084|    150|{
 3085|    150|    _PyInterpreterFrame *frame = _PyEval_GetFrame();
 3086|    150|    return frame != NULL && frame->f_globals == frame->f_locals;
  ------------------
  |  Branch (3086:12): [True: 150, False: 0]
  |  Branch (3086:29): [True: 150, False: 0]
  ------------------
 3087|    150|}
ceval.c:check_lazy_import_compatibility:
 3047|    150|{
 3048|       |     // Check if this module should be imported lazily due to
 3049|       |     // the compatibility mode support via __lazy_modules__.
 3050|    150|    PyObject *lazy_modules = NULL;
 3051|    150|    PyObject *abs_name = NULL;
 3052|    150|    int res = -1;
 3053|       |
 3054|    150|    if (globals != NULL &&
  ------------------
  |  Branch (3054:9): [True: 150, False: 0]
  ------------------
 3055|    150|        PyMapping_GetOptionalItem(globals, &_Py_ID(__lazy_modules__),
  ------------------
  |  |  936|    150|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    150|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    150|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3055:9): [True: 0, False: 150]
  ------------------
 3056|    150|                                  &lazy_modules) < 0)
 3057|      0|    {
 3058|      0|        return -1;
 3059|      0|    }
 3060|    150|    if (lazy_modules == NULL) {
  ------------------
  |  Branch (3060:9): [True: 150, False: 0]
  ------------------
 3061|    150|        assert(!PyErr_Occurred());
  ------------------
  |  Branch (3061:9): [True: 150, False: 0]
  ------------------
 3062|    150|        return 0;
 3063|    150|    }
 3064|       |
 3065|      0|    int ilevel = PyLong_AsInt(level);
 3066|      0|    if (ilevel == -1 && _PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (3066:9): [True: 0, False: 0]
  |  Branch (3066:25): [True: 0, False: 0]
  ------------------
 3067|      0|        goto error;
 3068|      0|    }
 3069|       |
 3070|      0|    abs_name = _PyImport_GetAbsName(tstate, name, globals, ilevel);
 3071|      0|    if (abs_name == NULL) {
  ------------------
  |  Branch (3071:9): [True: 0, False: 0]
  ------------------
 3072|      0|        goto error;
 3073|      0|    }
 3074|       |
 3075|      0|    res = PySequence_Contains(lazy_modules, abs_name);
 3076|      0|error:
 3077|      0|    Py_XDECREF(abs_name);
  ------------------
  |  |   69|      0|    do { \
  |  |   70|      0|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   71|      0|        if (xop != NULL) { \
  |  |  ------------------
  |  |  |  Branch (71:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   72|      0|            Py_DECREF(xop); \
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   73|      0|        } \
  |  |   74|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (74:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3078|       |    Py_XDECREF(lazy_modules);
  ------------------
  |  |   69|      0|    do { \
  |  |   70|      0|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   71|      0|        if (xop != NULL) { \
  |  |  ------------------
  |  |  |  Branch (71:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   72|      0|            Py_DECREF(xop); \
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   73|      0|        } \
  |  |   74|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (74:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3079|      0|    return res;
 3080|      0|}

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

_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.24k|{
  592|  1.24k|    _Py_EnsureTstateNotNULL(tstate);
  ------------------
  |  |  214|  1.24k|    _Py_EnsureFuncTstateNotNULL(__func__, (tstate))
  ------------------
  593|  1.24k|    take_gil(tstate);
  594|  1.24k|}
_PyEval_ReleaseLock:
  600|  1.24k|{
  601|  1.24k|    assert(tstate != NULL);
  ------------------
  |  Branch (601:5): [True: 1.24k, False: 0]
  ------------------
  602|  1.24k|    assert(tstate->interp == interp);
  ------------------
  |  Branch (602:5): [True: 1.24k, False: 0]
  ------------------
  603|  1.24k|    drop_gil(interp, tstate, final_release);
  604|  1.24k|}
PyEval_SaveThread:
  645|  1.24k|{
  646|  1.24k|    PyThreadState *tstate = _PyThreadState_GET();
  647|  1.24k|    _PyThreadState_Detach(tstate);
  648|  1.24k|    return tstate;
  649|  1.24k|}
PyEval_RestoreThread:
  653|  1.24k|{
  654|       |#ifdef MS_WINDOWS
  655|       |    int err = GetLastError();
  656|       |#endif
  657|       |
  658|  1.24k|    _Py_EnsureTstateNotNULL(tstate);
  ------------------
  |  |  214|  1.24k|    _Py_EnsureFuncTstateNotNULL(__func__, (tstate))
  ------------------
  659|  1.24k|    _PyThreadState_Attach(tstate);
  660|       |
  661|       |#ifdef MS_WINDOWS
  662|       |    SetLastError(err);
  663|       |#endif
  664|  1.24k|}
_PyEval_InitState:
 1076|      2|{
 1077|      2|    _gil_initialize(&interp->_gil);
 1078|      2|}
_PyRunRemoteDebugger:
 1260|    464|{
 1261|    464|    const PyConfig *config = _PyInterpreterState_GetConfig(tstate->interp);
 1262|    464|    if (config->remote_debug == 1
  ------------------
  |  Branch (1262:9): [True: 464, False: 0]
  ------------------
 1263|    464|         && tstate->remote_debugger_support.debugger_pending_call == 1)
  ------------------
  |  Branch (1263:13): [True: 0, False: 464]
  ------------------
 1264|      0|    {
 1265|      0|        tstate->remote_debugger_support.debugger_pending_call = 0;
 1266|       |
 1267|       |        // Immediately make a copy in case of a race with another debugger
 1268|       |        // process that's trying to write to the buffer. At least this way
 1269|       |        // we'll be internally consistent: what we audit is what we run.
 1270|      0|        const size_t pathsz
 1271|      0|            = sizeof(tstate->remote_debugger_support.debugger_script_path);
 1272|       |
 1273|      0|        char *path = PyMem_Malloc(pathsz);
 1274|      0|        if (path) {
  ------------------
  |  Branch (1274:13): [True: 0, False: 0]
  ------------------
 1275|       |            // And don't assume the debugger correctly null terminated it.
 1276|      0|            memcpy(
 1277|      0|                path,
 1278|      0|                tstate->remote_debugger_support.debugger_script_path,
 1279|      0|                pathsz);
 1280|      0|            path[pathsz - 1] = '\0';
 1281|      0|            if (*path) {
  ------------------
  |  Branch (1281:17): [True: 0, False: 0]
  ------------------
 1282|      0|                PyObject *path_obj = PyUnicode_DecodeFSDefault(path);
 1283|      0|                if (path_obj == NULL) {
  ------------------
  |  Branch (1283:21): [True: 0, False: 0]
  ------------------
 1284|      0|                    PyErr_FormatUnraisable("Can't decode debugger script");
 1285|      0|                }
 1286|      0|                else {
 1287|      0|                    run_remote_debugger_script(path_obj);
 1288|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1289|      0|                }
 1290|      0|            }
 1291|      0|            PyMem_Free(path);
 1292|      0|        }
 1293|      0|    }
 1294|    464|    return 0;
 1295|    464|}
_Py_HandlePending:
 1359|      8|{
 1360|      8|    uintptr_t breaker = _Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker);
 1361|       |
 1362|       |    /* Stop-the-world */
 1363|      8|    if ((breaker & _PY_EVAL_PLEASE_STOP_BIT) != 0) {
  ------------------
  |  |  350|      8|#define _PY_EVAL_PLEASE_STOP_BIT (1U << 5)
  ------------------
  |  Branch (1363:9): [True: 0, False: 8]
  ------------------
 1364|      0|        _Py_unset_eval_breaker_bit(tstate, _PY_EVAL_PLEASE_STOP_BIT);
  ------------------
  |  |  350|      0|#define _PY_EVAL_PLEASE_STOP_BIT (1U << 5)
  ------------------
 1365|      0|        _PyThreadState_Suspend(tstate);
 1366|       |
 1367|       |        /* The attach blocks until the stop-the-world event is complete. */
 1368|      0|        _PyThreadState_Attach(tstate);
 1369|      0|    }
 1370|       |
 1371|       |    /* Pending signals */
 1372|      8|    if ((breaker & _PY_SIGNALS_PENDING_BIT) != 0) {
  ------------------
  |  |  346|      8|#define _PY_SIGNALS_PENDING_BIT (1U << 1)
  ------------------
  |  Branch (1372:9): [True: 0, False: 8]
  ------------------
 1373|      0|        if (handle_signals(tstate) != 0) {
  ------------------
  |  Branch (1373:13): [True: 0, False: 0]
  ------------------
 1374|      0|            return -1;
 1375|      0|        }
 1376|      0|    }
 1377|       |
 1378|       |    /* Pending calls */
 1379|      8|    if ((breaker & _PY_CALLS_TO_DO_BIT) != 0) {
  ------------------
  |  |  347|      8|#define _PY_CALLS_TO_DO_BIT (1U << 2)
  ------------------
  |  Branch (1379:9): [True: 0, False: 8]
  ------------------
 1380|      0|        if (make_pending_calls(tstate) != 0) {
  ------------------
  |  Branch (1380:13): [True: 0, False: 0]
  ------------------
 1381|      0|            return -1;
 1382|      0|        }
 1383|      0|    }
 1384|       |
 1385|       |#ifdef Py_GIL_DISABLED
 1386|       |    /* Objects with refcounts to merge */
 1387|       |    if ((breaker & _PY_EVAL_EXPLICIT_MERGE_BIT) != 0) {
 1388|       |        _Py_unset_eval_breaker_bit(tstate, _PY_EVAL_EXPLICIT_MERGE_BIT);
 1389|       |        _Py_brc_merge_refcounts(tstate);
 1390|       |    }
 1391|       |    /* Process deferred memory frees held by QSBR */
 1392|       |    if (_Py_qsbr_should_process(((_PyThreadStateImpl *)tstate)->qsbr)) {
 1393|       |        _PyMem_ProcessDelayed(tstate);
 1394|       |    }
 1395|       |#endif
 1396|       |
 1397|       |    /* GC scheduled to run */
 1398|      8|    if ((breaker & _PY_GC_SCHEDULED_BIT) != 0) {
  ------------------
  |  |  349|      8|#define _PY_GC_SCHEDULED_BIT (1U << 4)
  ------------------
  |  Branch (1398:9): [True: 8, False: 0]
  ------------------
 1399|      8|        _Py_unset_eval_breaker_bit(tstate, _PY_GC_SCHEDULED_BIT);
  ------------------
  |  |  349|      8|#define _PY_GC_SCHEDULED_BIT (1U << 4)
  ------------------
 1400|      8|        _Py_RunGC(tstate);
 1401|       |#ifdef _Py_TIER2
 1402|       |        _Py_ClearExecutorDeletionList(tstate->interp);
 1403|       |#endif
 1404|      8|    }
 1405|       |
 1406|       |#ifdef _Py_TIER2
 1407|       |    if ((breaker & _PY_EVAL_JIT_INVALIDATE_COLD_BIT) != 0) {
 1408|       |        _Py_unset_eval_breaker_bit(tstate, _PY_EVAL_JIT_INVALIDATE_COLD_BIT);
 1409|       |        _Py_Executors_InvalidateCold(tstate->interp);
 1410|       |        tstate->interp->executor_creation_counter = JIT_CLEANUP_THRESHOLD;
 1411|       |        _Py_ClearExecutorDeletionList(tstate->interp);
 1412|       |    }
 1413|       |#endif
 1414|       |
 1415|       |    /* GIL drop request */
 1416|      8|    if ((breaker & _PY_GIL_DROP_REQUEST_BIT) != 0) {
  ------------------
  |  |  345|      8|#define _PY_GIL_DROP_REQUEST_BIT (1U << 0)
  ------------------
  |  Branch (1416:9): [True: 0, False: 8]
  ------------------
 1417|       |        /* Give another thread a chance */
 1418|      0|        _PyThreadState_Detach(tstate);
 1419|       |
 1420|       |        /* Other threads may run now */
 1421|       |
 1422|      0|        _PyThreadState_Attach(tstate);
 1423|      0|    }
 1424|       |
 1425|       |    /* Check for asynchronous exception. */
 1426|      8|    if ((breaker & _PY_ASYNC_EXCEPTION_BIT) != 0) {
  ------------------
  |  |  348|      8|#define _PY_ASYNC_EXCEPTION_BIT (1U << 3)
  ------------------
  |  Branch (1426:9): [True: 0, False: 8]
  ------------------
 1427|      0|        if (_PyEval_RaiseAsyncExc(tstate) < 0) {
  ------------------
  |  Branch (1427:13): [True: 0, False: 0]
  ------------------
 1428|      0|            return -1;
 1429|      0|        }
 1430|      0|    }
 1431|       |
 1432|      8|#if defined(Py_REMOTE_DEBUG) && defined(Py_SUPPORTS_REMOTE_DEBUG)
 1433|      8|    _PyRunRemoteDebugger(tstate);
 1434|      8|#endif
 1435|       |
 1436|      8|    return 0;
 1437|      8|}
ceval_gil.c:gil_created:
  156|  1.24k|{
  157|  1.24k|    if (gil == NULL) {
  ------------------
  |  Branch (157:9): [True: 0, False: 1.24k]
  ------------------
  158|      0|        return 0;
  159|      0|    }
  160|  1.24k|    return (_Py_atomic_load_int_acquire(&gil->locked) >= 0);
  161|  1.24k|}
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.24k|{
  288|  1.24k|    int err = errno;
  289|       |
  290|  1.24k|    assert(tstate != NULL);
  ------------------
  |  Branch (290:5): [True: 1.24k, 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.24k|    if (_PyThreadState_MustExit(tstate)) {
  ------------------
  |  Branch (295:9): [True: 0, False: 1.24k]
  ------------------
  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.24k|    assert(_PyThreadState_CheckConsistency(tstate));
  ------------------
  |  Branch (310:5): [True: 1.24k, False: 0]
  ------------------
  311|  1.24k|    PyInterpreterState *interp = tstate->interp;
  312|  1.24k|    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.24k|    assert(gil_created(gil));
  ------------------
  |  Branch (320:5): [True: 1.24k, False: 0]
  ------------------
  321|       |
  322|  2.48k|    MUTEX_LOCK(gil->mutex);
  ------------------
  |  |  117|  1.24k|    if (PyMUTEX_LOCK(&(mut))) { \
  |  |  ------------------
  |  |  |  |   59|  1.24k|#define PyMUTEX_LOCK(mut)       pthread_mutex_lock(mut)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:33): [True: 0, False: 1.24k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  118|  1.24k|        Py_FatalError("PyMUTEX_LOCK(" #mut ") failed"); };
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  ------------------
  323|       |
  324|  2.48k|    tstate->gil_requested = 1;
  325|       |
  326|  2.48k|    int drop_requested = 0;
  327|  2.48k|    while (_Py_atomic_load_int_relaxed(&gil->locked)) {
  ------------------
  |  Branch (327:12): [True: 0, False: 1.24k]
  ------------------
  328|      0|        unsigned long saved_switchnum = gil->switch_number;
  329|       |
  330|      0|        unsigned long interval = _Py_atomic_load_ulong_relaxed(&gil->interval);
  ------------------
  |  |  615|      0|    _Py_atomic_load_uint64_relaxed((uint64_t *)p)
  ------------------
  331|      0|        if (interval < 1) {
  ------------------
  |  Branch (331:13): [True: 0, False: 0]
  ------------------
  332|      0|            interval = 1;
  333|      0|        }
  334|      0|        int timed_out = 0;
  335|      0|        COND_TIMED_WAIT(gil->cond, gil->mutex, interval, timed_out);
  ------------------
  |  |  136|      0|    { \
  |  |  137|      0|        int r = PyCOND_TIMEDWAIT(&(cond), &(mut), (microseconds)); \
  |  |  138|      0|        if (r < 0) \
  |  |  ------------------
  |  |  |  Branch (138:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  139|      0|            Py_FatalError("PyCOND_WAIT(" #cond ") failed"); \
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  |  |  140|      0|        if (r) /* 1 == timeout, 2 == impl. can't say, so assume timeout */ \
  |  |  ------------------
  |  |  |  Branch (140:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  141|      0|            timeout_result = 1; \
  |  |  142|      0|        else \
  |  |  143|      0|            timeout_result = 0; \
  |  |  144|      0|    } \
  ------------------
  336|       |
  337|       |        /* If we timed out and no switch occurred in the meantime, it is time
  338|       |           to ask the GIL-holding thread to drop it. */
  339|      0|        if (timed_out &&
  ------------------
  |  Branch (339:13): [True: 0, False: 0]
  ------------------
  340|      0|            _Py_atomic_load_int_relaxed(&gil->locked) &&
  ------------------
  |  Branch (340:13): [True: 0, False: 0]
  ------------------
  341|      0|            gil->switch_number == saved_switchnum)
  ------------------
  |  Branch (341:13): [True: 0, False: 0]
  ------------------
  342|      0|        {
  343|      0|            PyThreadState *holder_tstate =
  344|      0|                (PyThreadState*)_Py_atomic_load_ptr_relaxed(&gil->last_holder);
  345|      0|            if (_PyThreadState_MustExit(tstate)) {
  ------------------
  |  Branch (345:17): [True: 0, False: 0]
  ------------------
  346|      0|                MUTEX_UNLOCK(gil->mutex);
  ------------------
  |  |  120|      0|    if (PyMUTEX_UNLOCK(&(mut))) { \
  |  |  ------------------
  |  |  |  |   60|      0|#define PyMUTEX_UNLOCK(mut)     pthread_mutex_unlock(mut)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (60:33): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  121|      0|        Py_FatalError("PyMUTEX_UNLOCK(" #mut ") failed"); };
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  ------------------
  347|       |                // gh-96387: If the loop requested a drop request in a previous
  348|       |                // iteration, reset the request. Otherwise, drop_gil() can
  349|       |                // block forever waiting for the thread which exited. Drop
  350|       |                // requests made by other threads are also reset: these threads
  351|       |                // may have to request again a drop request (iterate one more
  352|       |                // time).
  353|      0|                if (drop_requested) {
  ------------------
  |  Branch (353:21): [True: 0, False: 0]
  ------------------
  354|      0|                    _Py_unset_eval_breaker_bit(holder_tstate, _PY_GIL_DROP_REQUEST_BIT);
  ------------------
  |  |  345|      0|#define _PY_GIL_DROP_REQUEST_BIT (1U << 0)
  ------------------
  355|      0|                }
  356|       |                // gh-87135: hang the thread as *thread_exit() is not a safe
  357|       |                // API. It lacks stack unwind and local variable destruction.
  358|      0|                _PyThreadState_HangThread(tstate);
  359|      0|            }
  360|      0|            assert(_PyThreadState_CheckConsistency(tstate));
  ------------------
  |  Branch (360:13): [True: 0, False: 0]
  ------------------
  361|       |
  362|      0|            _Py_set_eval_breaker_bit(holder_tstate, _PY_GIL_DROP_REQUEST_BIT);
  ------------------
  |  |  345|      0|#define _PY_GIL_DROP_REQUEST_BIT (1U << 0)
  ------------------
  363|      0|            drop_requested = 1;
  364|      0|        }
  365|      0|    }
  366|       |
  367|       |#ifdef Py_GIL_DISABLED
  368|       |    if (!_Py_atomic_load_int_relaxed(&gil->enabled)) {
  369|       |        // Another thread disabled the GIL between our check above and
  370|       |        // now. Don't take the GIL, signal any other waiting threads, and
  371|       |        // return.
  372|       |        COND_SIGNAL(gil->cond);
  373|       |        MUTEX_UNLOCK(gil->mutex);
  374|       |        return;
  375|       |    }
  376|       |#endif
  377|       |
  378|  1.24k|#ifdef FORCE_SWITCHING
  379|       |    /* This mutex must be taken before modifying gil->last_holder:
  380|       |       see drop_gil(). */
  381|  2.48k|    MUTEX_LOCK(gil->switch_mutex);
  ------------------
  |  |  117|  1.24k|    if (PyMUTEX_LOCK(&(mut))) { \
  |  |  ------------------
  |  |  |  |   59|  1.24k|#define PyMUTEX_LOCK(mut)       pthread_mutex_lock(mut)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:33): [True: 0, False: 1.24k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  118|  1.24k|        Py_FatalError("PyMUTEX_LOCK(" #mut ") failed"); };
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  ------------------
  382|  2.48k|#endif
  383|       |    /* We now hold the GIL */
  384|  2.48k|    _Py_atomic_store_int_relaxed(&gil->locked, 1);
  385|  2.48k|    _Py_ANNOTATE_RWLOCK_ACQUIRED(&gil->locked, /*is_write=*/1);
  386|       |
  387|  2.48k|    if (tstate != (PyThreadState*)_Py_atomic_load_ptr_relaxed(&gil->last_holder)) {
  ------------------
  |  Branch (387:9): [True: 2, False: 1.24k]
  ------------------
  388|      2|        _Py_atomic_store_ptr_relaxed(&gil->last_holder, tstate);
  389|      2|        ++gil->switch_number;
  390|      2|    }
  391|       |
  392|  2.48k|#ifdef FORCE_SWITCHING
  393|  2.48k|    COND_SIGNAL(gil->switch_cond);
  ------------------
  |  |  130|  1.24k|    if (PyCOND_SIGNAL(&(cond))) { \
  |  |  ------------------
  |  |  |  |   64|  1.24k|#define PyCOND_SIGNAL(cond)     pthread_cond_signal(cond)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (64:33): [True: 0, False: 1.24k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  131|  1.24k|        Py_FatalError("PyCOND_SIGNAL(" #cond ") failed"); };
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  ------------------
  394|  1.24k|    MUTEX_UNLOCK(gil->switch_mutex);
  ------------------
  |  |  120|  1.24k|    if (PyMUTEX_UNLOCK(&(mut))) { \
  |  |  ------------------
  |  |  |  |   60|  1.24k|#define PyMUTEX_UNLOCK(mut)     pthread_mutex_unlock(mut)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (60:33): [True: 0, False: 1.24k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  121|  1.24k|        Py_FatalError("PyMUTEX_UNLOCK(" #mut ") failed"); };
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  ------------------
  395|  1.24k|#endif
  396|       |
  397|  1.24k|    if (_PyThreadState_MustExit(tstate)) {
  ------------------
  |  Branch (397:9): [True: 0, False: 1.24k]
  ------------------
  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.24k|    assert(_PyThreadState_CheckConsistency(tstate));
  ------------------
  |  Branch (411:5): [True: 1.24k, False: 0]
  ------------------
  412|       |
  413|  1.24k|    tstate->gil_requested = 0;
  414|  1.24k|    tstate->holds_gil = 1;
  415|  1.24k|    _Py_unset_eval_breaker_bit(tstate, _PY_GIL_DROP_REQUEST_BIT);
  ------------------
  |  |  345|  1.24k|#define _PY_GIL_DROP_REQUEST_BIT (1U << 0)
  ------------------
  416|  1.24k|    update_eval_breaker_for_thread(interp, tstate);
  417|       |
  418|  1.24k|    MUTEX_UNLOCK(gil->mutex);
  ------------------
  |  |  120|  1.24k|    if (PyMUTEX_UNLOCK(&(mut))) { \
  |  |  ------------------
  |  |  |  |   60|  1.24k|#define PyMUTEX_UNLOCK(mut)     pthread_mutex_unlock(mut)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (60:33): [True: 0, False: 1.24k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  121|  1.24k|        Py_FatalError("PyMUTEX_UNLOCK(" #mut ") failed"); };
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  ------------------
  419|       |
  420|       |    errno = err;
  421|  1.24k|    return;
  422|  1.24k|}
ceval_gil.c:update_eval_breaker_for_thread:
   74|  1.24k|{
   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.24k|    int32_t npending = _Py_atomic_load_int32_relaxed(
   82|  1.24k|        &interp->ceval.pending.npending);
   83|  1.24k|    if (npending) {
  ------------------
  |  Branch (83:9): [True: 0, False: 1.24k]
  ------------------
   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.24k|    else if (_Py_IsMainThread()) {
  ------------------
  |  Branch (86:14): [True: 1.24k, False: 0]
  ------------------
   87|  1.24k|        npending = _Py_atomic_load_int32_relaxed(
   88|  1.24k|            &_PyRuntime.ceval.pending_mainthread.npending);
   89|  1.24k|        if (npending) {
  ------------------
  |  Branch (89:13): [True: 0, False: 1.24k]
  ------------------
   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.24k|    }
   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.24k|    copy_eval_breaker_bits(&interp->ceval.instrumentation_version,
   97|  1.24k|                           &tstate->eval_breaker,
   98|  1.24k|                           ~_PY_EVAL_EVENTS_MASK);
  ------------------
  |  |  356|  1.24k|#define _PY_EVAL_EVENTS_MASK ((1 << _PY_EVAL_EVENTS_BITS)-1)
  |  |  ------------------
  |  |  |  |  355|  1.24k|#define _PY_EVAL_EVENTS_BITS 8
  |  |  ------------------
  ------------------
   99|  1.24k|}
ceval_gil.c:copy_eval_breaker_bits:
   56|  1.24k|{
   57|  1.24k|    uintptr_t from_bits = _Py_atomic_load_uintptr_relaxed(from) & mask;
   58|  1.24k|    uintptr_t old_value = _Py_atomic_load_uintptr_relaxed(to);
   59|  1.24k|    uintptr_t to_bits = old_value & mask;
   60|  1.24k|    if (from_bits == to_bits) {
  ------------------
  |  Branch (60:9): [True: 1.24k, False: 0]
  ------------------
   61|  1.24k|        return;
   62|  1.24k|    }
   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.24k|{
  219|  1.24k|    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.24k|    assert(final_release || tstate != NULL);
  ------------------
  |  Branch (229:5): [True: 0, False: 1.24k]
  |  Branch (229:5): [True: 1.24k, False: 0]
  ------------------
  230|  1.24k|    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.24k|    if (!_Py_atomic_load_int_relaxed(&gil->locked)) {
  ------------------
  |  Branch (239:9): [True: 0, False: 1.24k]
  ------------------
  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.24k|    if (!final_release) {
  ------------------
  |  Branch (243:9): [True: 1.24k, 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.24k|        _Py_atomic_store_ptr_relaxed(&gil->last_holder, tstate);
  248|  1.24k|    }
  249|       |
  250|  1.24k|    drop_gil_impl(tstate, gil);
  251|       |
  252|  1.24k|#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.24k|    if (!final_release &&
  ------------------
  |  Branch (259:9): [True: 1.24k, False: 0]
  ------------------
  260|  1.24k|        _Py_eval_breaker_bit_is_set(tstate, _PY_GIL_DROP_REQUEST_BIT)) {
  ------------------
  |  |  345|  1.24k|#define _PY_GIL_DROP_REQUEST_BIT (1U << 0)
  ------------------
  |  Branch (260:9): [True: 0, False: 1.24k]
  ------------------
  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.24k|#endif
  276|  1.24k|}
ceval_gil.c:drop_gil_impl:
  204|  1.24k|{
  205|  1.24k|    MUTEX_LOCK(gil->mutex);
  ------------------
  |  |  117|  1.24k|    if (PyMUTEX_LOCK(&(mut))) { \
  |  |  ------------------
  |  |  |  |   59|  1.24k|#define PyMUTEX_LOCK(mut)       pthread_mutex_lock(mut)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:33): [True: 0, False: 1.24k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  118|  1.24k|        Py_FatalError("PyMUTEX_LOCK(" #mut ") failed"); };
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  ------------------
  206|  1.24k|    _Py_ANNOTATE_RWLOCK_RELEASED(&gil->locked, /*is_write=*/1);
  207|  1.24k|    _Py_atomic_store_int_relaxed(&gil->locked, 0);
  208|  1.24k|    if (tstate != NULL) {
  ------------------
  |  Branch (208:9): [True: 1.24k, False: 0]
  ------------------
  209|  1.24k|        tstate->holds_gil = 0;
  210|  1.24k|        tstate->gil_requested = 0;
  211|  1.24k|    }
  212|  1.24k|    COND_SIGNAL(gil->cond);
  ------------------
  |  |  130|  1.24k|    if (PyCOND_SIGNAL(&(cond))) { \
  |  |  ------------------
  |  |  |  |   64|  1.24k|#define PyCOND_SIGNAL(cond)     pthread_cond_signal(cond)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (64:33): [True: 0, False: 1.24k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  131|  1.24k|        Py_FatalError("PyCOND_SIGNAL(" #cond ") failed"); };
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  ------------------
  213|  1.24k|    MUTEX_UNLOCK(gil->mutex);
  ------------------
  |  |  120|  1.24k|    if (PyMUTEX_UNLOCK(&(mut))) { \
  |  |  ------------------
  |  |  |  |   60|  1.24k|#define PyMUTEX_UNLOCK(mut)     pthread_mutex_unlock(mut)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (60:33): [True: 0, False: 1.24k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  121|  1.24k|        Py_FatalError("PyMUTEX_UNLOCK(" #mut ") failed"); };
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  ------------------
  214|  1.24k|}
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.19k|static inline int _Py_EnterRecursivePy(PyThreadState *tstate) {
  428|  3.19k|    return (tstate->py_recursion_remaining-- <= 0) &&
  ------------------
  |  Branch (428:12): [True: 0, False: 3.19k]
  ------------------
  429|      0|        _Py_CheckRecursiveCallPy(tstate);
  ------------------
  |  Branch (429:9): [True: 0, False: 0]
  ------------------
  430|  3.19k|}
ceval.c:check_periodics_at_end:
  552|  11.3k|check_periodics_at_end(PyThreadState *tstate, _PyInterpreterFrame *frame) {
  553|  11.3k|    _Py_CHECK_EMSCRIPTEN_SIGNALS_PERIODICALLY();
  554|  11.3k|    QSBR_QUIESCENT_STATE(tstate);
  555|  11.3k|    if (_Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker) & _PY_EVAL_EVENTS_MASK) {
  ------------------
  |  |  356|  11.3k|#define _PY_EVAL_EVENTS_MASK ((1 << _PY_EVAL_EVENTS_BITS)-1)
  |  |  ------------------
  |  |  |  |  355|  11.3k|#define _PY_EVAL_EVENTS_BITS 8
  |  |  ------------------
  ------------------
  |  Branch (555:9): [True: 6, False: 11.3k]
  ------------------
  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.3k|    return 0;
  565|  11.3k|}
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.60k|check_periodics(PyThreadState *tstate) {
  543|  4.60k|    _Py_CHECK_EMSCRIPTEN_SIGNALS_PERIODICALLY();
  544|  4.60k|    QSBR_QUIESCENT_STATE(tstate);
  545|  4.60k|    if (_Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker) & _PY_EVAL_EVENTS_MASK) {
  ------------------
  |  |  356|  4.60k|#define _PY_EVAL_EVENTS_MASK ((1 << _PY_EVAL_EVENTS_BITS)-1)
  |  |  ------------------
  |  |  |  |  355|  4.60k|#define _PY_EVAL_EVENTS_BITS 8
  |  |  ------------------
  ------------------
  |  Branch (545:9): [True: 2, False: 4.60k]
  ------------------
  546|      2|        return _Py_HandlePending(tstate);
  547|      2|    }
  548|  4.60k|    return 0;
  549|  4.60k|}
ceval.c:_Py_LeaveRecursiveCallPy:
  432|  8.65k|static inline void _Py_LeaveRecursiveCallPy(PyThreadState *tstate)  {
  433|  8.65k|    tstate->py_recursion_remaining++;
  434|  8.65k|}

bltinmodule.c:builtin___import__:
   42|     95|{
   43|     95|    PyObject *return_value = NULL;
   44|     95|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
   45|       |
   46|     95|    #define NUM_KEYWORDS 5
   47|     95|    static struct {
   48|     95|        PyGC_Head _this_is_not_used;
   49|     95|        PyObject_VAR_HEAD
   50|     95|        Py_hash_t ob_hash;
   51|     95|        PyObject *ob_item[NUM_KEYWORDS];
   52|     95|    } _kwtuple = {
   53|     95|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|     95|    {                                     \
  |  |   98|     95|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|     95|    {                               \
  |  |  |  |   91|     95|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|     95|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|     95|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|     95|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|     95|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|     95|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|     95|        (type)                      \
  |  |  |  |   93|     95|    },
  |  |  ------------------
  |  |   99|     95|        (size)                            \
  |  |  100|     95|    },
  ------------------
   54|     95|        .ob_hash = -1,
   55|     95|        .ob_item = { &_Py_ID(name), &_Py_ID(globals), &_Py_ID(locals), &_Py_ID(fromlist), &_Py_ID(level), },
  ------------------
  |  |  936|     95|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     95|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     95|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(name), &_Py_ID(globals), &_Py_ID(locals), &_Py_ID(fromlist), &_Py_ID(level), },
  ------------------
  |  |  936|     95|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     95|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     95|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(name), &_Py_ID(globals), &_Py_ID(locals), &_Py_ID(fromlist), &_Py_ID(level), },
  ------------------
  |  |  936|     95|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     95|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     95|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(name), &_Py_ID(globals), &_Py_ID(locals), &_Py_ID(fromlist), &_Py_ID(level), },
  ------------------
  |  |  936|     95|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     95|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     95|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(name), &_Py_ID(globals), &_Py_ID(locals), &_Py_ID(fromlist), &_Py_ID(level), },
  ------------------
  |  |  936|     95|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     95|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     95|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   56|     95|    };
   57|     95|    #undef NUM_KEYWORDS
   58|     95|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
   59|       |
   60|       |    #else  // !Py_BUILD_CORE
   61|       |    #  define KWTUPLE NULL
   62|       |    #endif  // !Py_BUILD_CORE
   63|       |
   64|     95|    static const char * const _keywords[] = {"name", "globals", "locals", "fromlist", "level", NULL};
   65|     95|    static _PyArg_Parser _parser = {
   66|     95|        .keywords = _keywords,
   67|     95|        .fname = "__import__",
   68|     95|        .kwtuple = KWTUPLE,
  ------------------
  |  |   58|     95|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
   69|     95|    };
   70|     95|    #undef KWTUPLE
   71|     95|    PyObject *argsbuf[5];
   72|     95|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1;
  ------------------
  |  |   27|      2|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (72:36): [True: 2, False: 93]
  ------------------
   73|     95|    PyObject *name;
   74|     95|    PyObject *globals = NULL;
   75|     95|    PyObject *locals = NULL;
   76|     95|    PyObject *fromlist = NULL;
   77|     95|    int level = 0;
   78|       |
   79|     95|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|     95|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 93, False: 2]
  |  |  ------------------
  |  |   89|     95|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 93, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 93]
  |  |  |  Branch (89:43): [True: 93, False: 0]
  |  |  |  Branch (89:67): [True: 93, False: 0]
  |  |  ------------------
  |  |   90|     95|      (args) : \
  |  |   91|     95|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      2|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
   80|     95|            /*minpos*/ 1, /*maxpos*/ 5, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
   81|     95|    if (!args) {
  ------------------
  |  Branch (81:9): [True: 0, False: 95]
  ------------------
   82|      0|        goto exit;
   83|      0|    }
   84|     95|    name = args[0];
   85|     95|    if (!noptargs) {
  ------------------
  |  Branch (85:9): [True: 13, False: 82]
  ------------------
   86|     13|        goto skip_optional_pos;
   87|     13|    }
   88|     82|    if (args[1]) {
  ------------------
  |  Branch (88:9): [True: 80, False: 2]
  ------------------
   89|     80|        globals = args[1];
   90|     80|        if (!--noptargs) {
  ------------------
  |  Branch (90:13): [True: 0, False: 80]
  ------------------
   91|      0|            goto skip_optional_pos;
   92|      0|        }
   93|     80|    }
   94|     82|    if (args[2]) {
  ------------------
  |  Branch (94:9): [True: 80, False: 2]
  ------------------
   95|     80|        locals = args[2];
   96|     80|        if (!--noptargs) {
  ------------------
  |  Branch (96:13): [True: 0, False: 80]
  ------------------
   97|      0|            goto skip_optional_pos;
   98|      0|        }
   99|     80|    }
  100|     82|    if (args[3]) {
  ------------------
  |  Branch (100:9): [True: 82, False: 0]
  ------------------
  101|     82|        fromlist = args[3];
  102|     82|        if (!--noptargs) {
  ------------------
  |  Branch (102:13): [True: 0, False: 82]
  ------------------
  103|      0|            goto skip_optional_pos;
  104|      0|        }
  105|     82|    }
  106|     82|    level = PyLong_AsInt(args[4]);
  107|     82|    if (level == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (107:9): [True: 0, False: 82]
  |  Branch (107:24): [True: 0, False: 0]
  ------------------
  108|      0|        goto exit;
  109|      0|    }
  110|     95|skip_optional_pos:
  111|     95|    return_value = builtin___import___impl(module, name, globals, locals, fromlist, level);
  112|       |
  113|     95|exit:
  114|     95|    return return_value;
  115|     95|}
bltinmodule.c:builtin_compile:
  365|     37|{
  366|     37|    PyObject *return_value = NULL;
  367|     37|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  368|       |
  369|     37|    #define NUM_KEYWORDS 8
  370|     37|    static struct {
  371|     37|        PyGC_Head _this_is_not_used;
  372|     37|        PyObject_VAR_HEAD
  373|     37|        Py_hash_t ob_hash;
  374|     37|        PyObject *ob_item[NUM_KEYWORDS];
  375|     37|    } _kwtuple = {
  376|     37|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|     37|    {                                     \
  |  |   98|     37|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|     37|    {                               \
  |  |  |  |   91|     37|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|     37|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|     37|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|     37|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|     37|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|     37|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|     37|        (type)                      \
  |  |  |  |   93|     37|    },
  |  |  ------------------
  |  |   99|     37|        (size)                            \
  |  |  100|     37|    },
  ------------------
  377|     37|        .ob_hash = -1,
  378|     37|        .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), },
  ------------------
  |  |  936|     37|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     37|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     37|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(source), &_Py_ID(filename), &_Py_ID(mode), &_Py_ID(flags), &_Py_ID(dont_inherit), &_Py_ID(optimize), &_Py_ID(module), &_Py_ID(_feature_version), },
  ------------------
  |  |  936|     37|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     37|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     37|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(source), &_Py_ID(filename), &_Py_ID(mode), &_Py_ID(flags), &_Py_ID(dont_inherit), &_Py_ID(optimize), &_Py_ID(module), &_Py_ID(_feature_version), },
  ------------------
  |  |  936|     37|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     37|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     37|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(source), &_Py_ID(filename), &_Py_ID(mode), &_Py_ID(flags), &_Py_ID(dont_inherit), &_Py_ID(optimize), &_Py_ID(module), &_Py_ID(_feature_version), },
  ------------------
  |  |  936|     37|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     37|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     37|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(source), &_Py_ID(filename), &_Py_ID(mode), &_Py_ID(flags), &_Py_ID(dont_inherit), &_Py_ID(optimize), &_Py_ID(module), &_Py_ID(_feature_version), },
  ------------------
  |  |  936|     37|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     37|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     37|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(source), &_Py_ID(filename), &_Py_ID(mode), &_Py_ID(flags), &_Py_ID(dont_inherit), &_Py_ID(optimize), &_Py_ID(module), &_Py_ID(_feature_version), },
  ------------------
  |  |  936|     37|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     37|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     37|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(source), &_Py_ID(filename), &_Py_ID(mode), &_Py_ID(flags), &_Py_ID(dont_inherit), &_Py_ID(optimize), &_Py_ID(module), &_Py_ID(_feature_version), },
  ------------------
  |  |  936|     37|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     37|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     37|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(source), &_Py_ID(filename), &_Py_ID(mode), &_Py_ID(flags), &_Py_ID(dont_inherit), &_Py_ID(optimize), &_Py_ID(module), &_Py_ID(_feature_version), },
  ------------------
  |  |  936|     37|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     37|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     37|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  379|     37|    };
  380|     37|    #undef NUM_KEYWORDS
  381|     37|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  382|       |
  383|       |    #else  // !Py_BUILD_CORE
  384|       |    #  define KWTUPLE NULL
  385|       |    #endif  // !Py_BUILD_CORE
  386|       |
  387|     37|    static const char * const _keywords[] = {"source", "filename", "mode", "flags", "dont_inherit", "optimize", "module", "_feature_version", NULL};
  388|     37|    static _PyArg_Parser _parser = {
  389|     37|        .keywords = _keywords,
  390|     37|        .fname = "compile",
  391|     37|        .kwtuple = KWTUPLE,
  ------------------
  |  |  381|     37|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  392|     37|    };
  393|     37|    #undef KWTUPLE
  394|     37|    PyObject *argsbuf[8];
  395|     37|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 3;
  ------------------
  |  |   27|     37|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     37|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     37|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (395:36): [True: 37, False: 0]
  ------------------
  396|     37|    PyObject *source;
  397|     37|    PyObject *filename = NULL;
  398|     37|    const char *mode;
  399|     37|    int flags = 0;
  400|     37|    int dont_inherit = 0;
  401|     37|    int optimize = -1;
  402|     37|    PyObject *modname = Py_None;
  ------------------
  |  |  616|     37|#  define Py_None (&_Py_NoneStruct)
  ------------------
  403|     37|    int feature_version = -1;
  404|       |
  405|     37|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|     37|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 0, False: 37]
  |  |  ------------------
  |  |   89|     37|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 0, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 0]
  |  |  |  Branch (89:43): [True: 0, False: 0]
  |  |  |  Branch (89:67): [True: 0, False: 0]
  |  |  ------------------
  |  |   90|     37|      (args) : \
  |  |   91|     37|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|     37|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  406|     37|            /*minpos*/ 3, /*maxpos*/ 6, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  407|     37|    if (!args) {
  ------------------
  |  Branch (407:9): [True: 0, False: 37]
  ------------------
  408|      0|        goto exit;
  409|      0|    }
  410|     37|    source = args[0];
  411|     37|    if (!PyUnicode_FSDecoder(args[1], &filename)) {
  ------------------
  |  Branch (411:9): [True: 0, False: 37]
  ------------------
  412|      0|        goto exit;
  413|      0|    }
  414|     37|    if (!PyUnicode_Check(args[2])) {
  ------------------
  |  |  103|     37|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     37|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (414:9): [True: 0, False: 37]
  ------------------
  415|      0|        _PyArg_BadArgument("compile", "argument 'mode'", "str", args[2]);
  416|      0|        goto exit;
  417|      0|    }
  418|     37|    Py_ssize_t mode_length;
  419|     37|    mode = PyUnicode_AsUTF8AndSize(args[2], &mode_length);
  420|     37|    if (mode == NULL) {
  ------------------
  |  Branch (420:9): [True: 0, False: 37]
  ------------------
  421|      0|        goto exit;
  422|      0|    }
  423|     37|    if (strlen(mode) != (size_t)mode_length) {
  ------------------
  |  Branch (423:9): [True: 0, False: 37]
  ------------------
  424|      0|        PyErr_SetString(PyExc_ValueError, "embedded null character");
  425|      0|        goto exit;
  426|      0|    }
  427|     37|    if (!noptargs) {
  ------------------
  |  Branch (427:9): [True: 0, False: 37]
  ------------------
  428|      0|        goto skip_optional_pos;
  429|      0|    }
  430|     37|    if (args[3]) {
  ------------------
  |  Branch (430:9): [True: 37, False: 0]
  ------------------
  431|     37|        flags = PyLong_AsInt(args[3]);
  432|     37|        if (flags == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (432:13): [True: 0, False: 37]
  |  Branch (432:28): [True: 0, False: 0]
  ------------------
  433|      0|            goto exit;
  434|      0|        }
  435|     37|        if (!--noptargs) {
  ------------------
  |  Branch (435:13): [True: 0, False: 37]
  ------------------
  436|      0|            goto skip_optional_pos;
  437|      0|        }
  438|     37|    }
  439|     37|    if (args[4]) {
  ------------------
  |  Branch (439:9): [True: 0, False: 37]
  ------------------
  440|      0|        dont_inherit = PyObject_IsTrue(args[4]);
  441|      0|        if (dont_inherit < 0) {
  ------------------
  |  Branch (441:13): [True: 0, False: 0]
  ------------------
  442|      0|            goto exit;
  443|      0|        }
  444|      0|        if (!--noptargs) {
  ------------------
  |  Branch (444:13): [True: 0, False: 0]
  ------------------
  445|      0|            goto skip_optional_pos;
  446|      0|        }
  447|      0|    }
  448|     37|    if (args[5]) {
  ------------------
  |  Branch (448:9): [True: 37, False: 0]
  ------------------
  449|     37|        optimize = PyLong_AsInt(args[5]);
  450|     37|        if (optimize == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (450:13): [True: 37, False: 0]
  |  Branch (450:31): [True: 0, False: 37]
  ------------------
  451|      0|            goto exit;
  452|      0|        }
  453|     37|        if (!--noptargs) {
  ------------------
  |  Branch (453:13): [True: 0, False: 37]
  ------------------
  454|      0|            goto skip_optional_pos;
  455|      0|        }
  456|     37|    }
  457|     37|skip_optional_pos:
  458|     37|    if (!noptargs) {
  ------------------
  |  Branch (458:9): [True: 0, False: 37]
  ------------------
  459|      0|        goto skip_optional_kwonly;
  460|      0|    }
  461|     37|    if (args[6]) {
  ------------------
  |  Branch (461:9): [True: 37, False: 0]
  ------------------
  462|     37|        modname = args[6];
  463|     37|        if (!--noptargs) {
  ------------------
  |  Branch (463:13): [True: 0, False: 37]
  ------------------
  464|      0|            goto skip_optional_kwonly;
  465|      0|        }
  466|     37|    }
  467|     37|    feature_version = PyLong_AsInt(args[7]);
  468|     37|    if (feature_version == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (468:9): [True: 37, False: 0]
  |  Branch (468:34): [True: 0, False: 37]
  ------------------
  469|      0|        goto exit;
  470|      0|    }
  471|     37|skip_optional_kwonly:
  472|     37|    return_value = builtin_compile_impl(module, source, filename, mode, flags, dont_inherit, optimize, modname, feature_version);
  473|       |
  474|     37|exit:
  475|       |    /* Cleanup for filename */
  476|     37|    Py_XDECREF(filename);
  ------------------
  |  |  524|     37|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     37|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     37|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  477|       |
  478|     37|    return return_value;
  479|     37|}
bltinmodule.c:builtin_delattr:
  811|     36|{
  812|     36|    PyObject *return_value = NULL;
  813|     36|    PyObject *obj;
  814|     36|    PyObject *name;
  815|       |
  816|     36|    if (!_PyArg_CheckPositional("delattr", nargs, 2, 2)) {
  ------------------
  |  |   31|     36|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 36, False: 0]
  |  |  |  Branch (31:27): [True: 36, False: 0]
  |  |  ------------------
  |  |   32|     36|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  817|      0|        goto exit;
  818|      0|    }
  819|     36|    obj = args[0];
  820|     36|    name = args[1];
  821|     36|    return_value = builtin_delattr_impl(module, obj, name);
  822|       |
  823|     36|exit:
  824|     36|    return return_value;
  825|     36|}
bltinmodule.c:builtin_eval:
  532|      2|{
  533|      2|    PyObject *return_value = NULL;
  534|      2|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  535|       |
  536|      2|    #define NUM_KEYWORDS 2
  537|      2|    static struct {
  538|      2|        PyGC_Head _this_is_not_used;
  539|      2|        PyObject_VAR_HEAD
  540|      2|        Py_hash_t ob_hash;
  541|      2|        PyObject *ob_item[NUM_KEYWORDS];
  542|      2|    } _kwtuple = {
  543|      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|    },
  ------------------
  544|      2|        .ob_hash = -1,
  545|      2|        .ob_item = { &_Py_ID(globals), &_Py_ID(locals), },
  ------------------
  |  |  936|      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), },
  ------------------
  |  |  936|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  546|      2|    };
  547|      2|    #undef NUM_KEYWORDS
  548|      2|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  549|       |
  550|       |    #else  // !Py_BUILD_CORE
  551|       |    #  define KWTUPLE NULL
  552|       |    #endif  // !Py_BUILD_CORE
  553|       |
  554|      2|    static const char * const _keywords[] = {"", "globals", "locals", NULL};
  555|      2|    static _PyArg_Parser _parser = {
  556|      2|        .keywords = _keywords,
  557|      2|        .fname = "eval",
  558|      2|        .kwtuple = KWTUPLE,
  ------------------
  |  |  548|      2|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  559|      2|    };
  560|      2|    #undef KWTUPLE
  561|      2|    PyObject *argsbuf[3];
  562|      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 (562:36): [True: 0, False: 2]
  ------------------
  563|      2|    PyObject *source;
  564|      2|    PyObject *globals = Py_None;
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  565|      2|    PyObject *locals = Py_None;
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  566|       |
  567|      2|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|      2|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 2, False: 0]
  |  |  ------------------
  |  |   89|      2|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 2, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 2]
  |  |  |  Branch (89:43): [True: 2, False: 0]
  |  |  |  Branch (89:67): [True: 2, False: 0]
  |  |  ------------------
  |  |   90|      2|      (args) : \
  |  |   91|      2|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  568|      2|            /*minpos*/ 1, /*maxpos*/ 3, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  569|      2|    if (!args) {
  ------------------
  |  Branch (569:9): [True: 0, False: 2]
  ------------------
  570|      0|        goto exit;
  571|      0|    }
  572|      2|    source = args[0];
  573|      2|    if (!noptargs) {
  ------------------
  |  Branch (573:9): [True: 0, False: 2]
  ------------------
  574|      0|        goto skip_optional_pos;
  575|      0|    }
  576|      2|    if (args[1]) {
  ------------------
  |  Branch (576:9): [True: 2, False: 0]
  ------------------
  577|      2|        globals = args[1];
  578|      2|        if (!--noptargs) {
  ------------------
  |  Branch (578:13): [True: 2, False: 0]
  ------------------
  579|      2|            goto skip_optional_pos;
  580|      2|        }
  581|      2|    }
  582|      0|    locals = args[2];
  583|      2|skip_optional_pos:
  584|      2|    return_value = builtin_eval_impl(module, source, globals, locals);
  585|       |
  586|      2|exit:
  587|      2|    return return_value;
  588|      2|}
bltinmodule.c:builtin_exec:
  613|     51|{
  614|     51|    PyObject *return_value = NULL;
  615|     51|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  616|       |
  617|     51|    #define NUM_KEYWORDS 3
  618|     51|    static struct {
  619|     51|        PyGC_Head _this_is_not_used;
  620|     51|        PyObject_VAR_HEAD
  621|     51|        Py_hash_t ob_hash;
  622|     51|        PyObject *ob_item[NUM_KEYWORDS];
  623|     51|    } _kwtuple = {
  624|     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|    },
  ------------------
  625|     51|        .ob_hash = -1,
  626|     51|        .ob_item = { &_Py_ID(globals), &_Py_ID(locals), &_Py_ID(closure), },
  ------------------
  |  |  936|     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), },
  ------------------
  |  |  936|     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), },
  ------------------
  |  |  936|     51|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     51|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     51|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  627|     51|    };
  628|     51|    #undef NUM_KEYWORDS
  629|     51|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  630|       |
  631|       |    #else  // !Py_BUILD_CORE
  632|       |    #  define KWTUPLE NULL
  633|       |    #endif  // !Py_BUILD_CORE
  634|       |
  635|     51|    static const char * const _keywords[] = {"", "globals", "locals", "closure", NULL};
  636|     51|    static _PyArg_Parser _parser = {
  637|     51|        .keywords = _keywords,
  638|     51|        .fname = "exec",
  639|     51|        .kwtuple = KWTUPLE,
  ------------------
  |  |  629|     51|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  640|     51|    };
  641|     51|    #undef KWTUPLE
  642|     51|    PyObject *argsbuf[4];
  643|     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 (643:36): [True: 0, False: 51]
  ------------------
  644|     51|    PyObject *source;
  645|     51|    PyObject *globals = Py_None;
  ------------------
  |  |  616|     51|#  define Py_None (&_Py_NoneStruct)
  ------------------
  646|     51|    PyObject *locals = Py_None;
  ------------------
  |  |  616|     51|#  define Py_None (&_Py_NoneStruct)
  ------------------
  647|     51|    PyObject *closure = NULL;
  648|       |
  649|     51|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|     51|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 51, False: 0]
  |  |  ------------------
  |  |   89|     51|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 51, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 51]
  |  |  |  Branch (89:43): [True: 51, False: 0]
  |  |  |  Branch (89:67): [True: 51, False: 0]
  |  |  ------------------
  |  |   90|     51|      (args) : \
  |  |   91|     51|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  650|     51|            /*minpos*/ 1, /*maxpos*/ 3, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  651|     51|    if (!args) {
  ------------------
  |  Branch (651:9): [True: 0, False: 51]
  ------------------
  652|      0|        goto exit;
  653|      0|    }
  654|     51|    source = args[0];
  655|     51|    if (!noptargs) {
  ------------------
  |  Branch (655:9): [True: 0, False: 51]
  ------------------
  656|      0|        goto skip_optional_pos;
  657|      0|    }
  658|     51|    if (args[1]) {
  ------------------
  |  Branch (658:9): [True: 51, False: 0]
  ------------------
  659|     51|        globals = args[1];
  660|     51|        if (!--noptargs) {
  ------------------
  |  Branch (660:13): [True: 51, False: 0]
  ------------------
  661|     51|            goto skip_optional_pos;
  662|     51|        }
  663|     51|    }
  664|      0|    if (args[2]) {
  ------------------
  |  Branch (664:9): [True: 0, False: 0]
  ------------------
  665|      0|        locals = args[2];
  666|      0|        if (!--noptargs) {
  ------------------
  |  Branch (666:13): [True: 0, False: 0]
  ------------------
  667|      0|            goto skip_optional_pos;
  668|      0|        }
  669|      0|    }
  670|     51|skip_optional_pos:
  671|     51|    if (!noptargs) {
  ------------------
  |  Branch (671:9): [True: 51, False: 0]
  ------------------
  672|     51|        goto skip_optional_kwonly;
  673|     51|    }
  674|      0|    closure = args[3];
  675|     51|skip_optional_kwonly:
  676|     51|    return_value = builtin_exec_impl(module, source, globals, locals, closure);
  677|       |
  678|     51|exit:
  679|     51|    return return_value;
  680|     51|}
bltinmodule.c:builtin_globals:
  699|     50|{
  700|     50|    return builtin_globals_impl(module);
  701|     50|}
bltinmodule.c:builtin_hasattr:
  719|    292|{
  720|    292|    PyObject *return_value = NULL;
  721|    292|    PyObject *obj;
  722|    292|    PyObject *name;
  723|       |
  724|    292|    if (!_PyArg_CheckPositional("hasattr", nargs, 2, 2)) {
  ------------------
  |  |   31|    292|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 292, False: 0]
  |  |  |  Branch (31:27): [True: 292, False: 0]
  |  |  ------------------
  |  |   32|    292|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  725|      0|        goto exit;
  726|      0|    }
  727|    292|    obj = args[0];
  728|    292|    name = args[1];
  729|    292|    return_value = builtin_hasattr_impl(module, obj, name);
  730|       |
  731|    292|exit:
  732|    292|    return return_value;
  733|    292|}
bltinmodule.c:builtin_isinstance:
 1454|     67|{
 1455|     67|    PyObject *return_value = NULL;
 1456|     67|    PyObject *obj;
 1457|     67|    PyObject *class_or_tuple;
 1458|       |
 1459|     67|    if (!_PyArg_CheckPositional("isinstance", nargs, 2, 2)) {
  ------------------
  |  |   31|     67|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 67, False: 0]
  |  |  |  Branch (31:27): [True: 67, False: 0]
  |  |  ------------------
  |  |   32|     67|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1460|      0|        goto exit;
 1461|      0|    }
 1462|     67|    obj = args[0];
 1463|     67|    class_or_tuple = args[1];
 1464|     67|    return_value = builtin_isinstance_impl(module, obj, class_or_tuple);
 1465|       |
 1466|     67|exit:
 1467|     67|    return return_value;
 1468|     67|}
bltinmodule.c:builtin_issubclass:
 1489|     10|{
 1490|     10|    PyObject *return_value = NULL;
 1491|     10|    PyObject *cls;
 1492|     10|    PyObject *class_or_tuple;
 1493|       |
 1494|     10|    if (!_PyArg_CheckPositional("issubclass", nargs, 2, 2)) {
  ------------------
  |  |   31|     10|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 10, False: 0]
  |  |  |  Branch (31:27): [True: 10, False: 0]
  |  |  ------------------
  |  |   32|     10|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1495|      0|        goto exit;
 1496|      0|    }
 1497|     10|    cls = args[0];
 1498|     10|    class_or_tuple = args[1];
 1499|     10|    return_value = builtin_issubclass_impl(module, cls, class_or_tuple);
 1500|       |
 1501|     10|exit:
 1502|     10|    return return_value;
 1503|     10|}
bltinmodule.c:builtin_iter:
  872|     26|{
  873|     26|    PyObject *return_value = NULL;
  874|     26|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  875|       |
  876|     26|    #define NUM_KEYWORDS 2
  877|     26|    static struct {
  878|     26|        PyGC_Head _this_is_not_used;
  879|     26|        PyObject_VAR_HEAD
  880|     26|        Py_hash_t ob_hash;
  881|     26|        PyObject *ob_item[NUM_KEYWORDS];
  882|     26|    } _kwtuple = {
  883|     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|    },
  ------------------
  884|     26|        .ob_hash = -1,
  885|     26|        .ob_item = { &_Py_ID(stop_value), &_Py_ID(stop_exception), },
  ------------------
  |  |  936|     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), },
  ------------------
  |  |  936|     26|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     26|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     26|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  886|     26|    };
  887|     26|    #undef NUM_KEYWORDS
  888|     26|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  889|       |
  890|       |    #else  // !Py_BUILD_CORE
  891|       |    #  define KWTUPLE NULL
  892|       |    #endif  // !Py_BUILD_CORE
  893|       |
  894|     26|    static const char * const _keywords[] = {"", "stop_value", "stop_exception", NULL};
  895|     26|    static _PyArg_Parser _parser = {
  896|     26|        .keywords = _keywords,
  897|     26|        .fname = "iter",
  898|     26|        .kwtuple = KWTUPLE,
  ------------------
  |  |  888|     26|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  899|     26|    };
  900|     26|    #undef KWTUPLE
  901|     26|    PyObject *argsbuf[3];
  902|     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 (902:36): [True: 0, False: 26]
  ------------------
  903|     26|    PyObject *object;
  904|     26|    PyObject *stop_value = NULL;
  905|     26|    PyObject *stop_exception = NULL;
  906|       |
  907|     26|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|     26|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 26, False: 0]
  |  |  ------------------
  |  |   89|     26|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 26, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 26]
  |  |  |  Branch (89:43): [True: 26, False: 0]
  |  |  |  Branch (89:67): [True: 26, False: 0]
  |  |  ------------------
  |  |   90|     26|      (args) : \
  |  |   91|     26|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  908|     26|            /*minpos*/ 1, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  909|     26|    if (!args) {
  ------------------
  |  Branch (909:9): [True: 0, False: 26]
  ------------------
  910|      0|        goto exit;
  911|      0|    }
  912|     26|    object = args[0];
  913|     26|    if (!noptargs) {
  ------------------
  |  Branch (913:9): [True: 26, False: 0]
  ------------------
  914|     26|        goto skip_optional_pos;
  915|     26|    }
  916|      0|    if (args[1]) {
  ------------------
  |  Branch (916:9): [True: 0, False: 0]
  ------------------
  917|      0|        stop_value = args[1];
  918|      0|        if (!--noptargs) {
  ------------------
  |  Branch (918:13): [True: 0, False: 0]
  ------------------
  919|      0|            goto skip_optional_pos;
  920|      0|        }
  921|      0|    }
  922|     26|skip_optional_pos:
  923|     26|    if (!noptargs) {
  ------------------
  |  Branch (923:9): [True: 26, False: 0]
  ------------------
  924|     26|        goto skip_optional_kwonly;
  925|     26|    }
  926|      0|    stop_exception = args[2];
  927|     26|skip_optional_kwonly:
  928|     26|    return_value = builtin_iter_impl(module, object, stop_value, stop_exception);
  929|       |
  930|     26|exit:
  931|     26|    return return_value;
  932|     26|}
bltinmodule.c:builtin_setattr:
  777|    148|{
  778|    148|    PyObject *return_value = NULL;
  779|    148|    PyObject *obj;
  780|    148|    PyObject *name;
  781|    148|    PyObject *value;
  782|       |
  783|    148|    if (!_PyArg_CheckPositional("setattr", nargs, 3, 3)) {
  ------------------
  |  |   31|    148|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 148, False: 0]
  |  |  |  Branch (31:27): [True: 148, False: 0]
  |  |  ------------------
  |  |   32|    148|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  784|      0|        goto exit;
  785|      0|    }
  786|    148|    obj = args[0];
  787|    148|    name = args[1];
  788|    148|    value = args[2];
  789|    148|    return_value = builtin_setattr_impl(module, obj, name, value);
  790|       |
  791|    148|exit:
  792|    148|    return return_value;
  793|    148|}

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

PyCodec_Register:
   34|      4|{
   35|      4|    PyInterpreterState *interp = _PyInterpreterState_GET();
   36|      4|    assert(interp->codecs.initialized);
  ------------------
  |  Branch (36:5): [True: 4, False: 0]
  ------------------
   37|      4|    if (search_function == NULL) {
  ------------------
  |  Branch (37:9): [True: 0, False: 4]
  ------------------
   38|      0|        PyErr_BadArgument();
   39|      0|        goto onError;
   40|      0|    }
   41|      4|    if (!PyCallable_Check(search_function)) {
  ------------------
  |  Branch (41:9): [True: 0, False: 4]
  ------------------
   42|      0|        PyErr_SetString(PyExc_TypeError, "argument must be callable");
   43|      0|        goto onError;
   44|      0|    }
   45|      4|    FT_MUTEX_LOCK(&interp->codecs.search_path_mutex);
  ------------------
  |  |  204|      4|#define FT_MUTEX_LOCK(lock) do {} while (0)
  |  |  ------------------
  |  |  |  Branch (204:42): [Folded, False: 4]
  |  |  ------------------
  ------------------
   46|      4|    int ret = PyList_Append(interp->codecs.search_path, search_function);
   47|      4|    FT_MUTEX_UNLOCK(&interp->codecs.search_path_mutex);
  ------------------
  |  |  206|      4|#define FT_MUTEX_UNLOCK(lock) do {} while (0)
  |  |  ------------------
  |  |  |  Branch (206:44): [Folded, False: 4]
  |  |  ------------------
  ------------------
   48|       |
   49|      4|    return ret;
   50|       |
   51|      0| onError:
   52|      0|    return -1;
   53|      4|}
_PyCodec_Lookup:
  138|     12|{
  139|     12|    if (encoding == NULL) {
  ------------------
  |  Branch (139:9): [True: 0, False: 12]
  ------------------
  140|      0|        PyErr_BadArgument();
  141|      0|        return NULL;
  142|      0|    }
  143|       |
  144|     12|    PyInterpreterState *interp = _PyInterpreterState_GET();
  145|     12|    assert(interp->codecs.initialized);
  ------------------
  |  Branch (145:5): [True: 12, False: 0]
  ------------------
  146|       |
  147|       |    /* Convert the encoding to a normalized Python string: all
  148|       |       ASCII letters are converted to lower case, spaces are
  149|       |       replaced with hyphens. */
  150|     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);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  192|      0|            continue;
  193|      0|        }
  194|      2|        if (!PyTuple_Check(result) || PyTuple_GET_SIZE(result) != 4) {
  ------------------
  |  |   27|      2|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      4|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                      if (!PyTuple_Check(result) || PyTuple_GET_SIZE(result) != 4) {
  ------------------
  |  |   27|      2|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (194:13): [True: 0, False: 2]
  |  Branch (194:39): [True: 0, False: 2]
  ------------------
  195|      0|            PyErr_SetString(PyExc_TypeError,
  196|      0|                            "codec search functions must return 4-tuples");
  197|      0|            Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  198|      0|            goto onError;
  199|      0|        }
  200|      2|        break;
  201|      2|    }
  202|      2|    if (result == NULL) {
  ------------------
  |  Branch (202:9): [True: 0, False: 2]
  ------------------
  203|       |        /* XXX Perhaps we should cache misses too ? */
  204|      0|        PyErr_Format(PyExc_LookupError,
  205|      0|                     "unknown encoding: %s", encoding);
  206|      0|        goto onError;
  207|      0|    }
  208|       |
  209|      2|    _PyUnicode_InternImmortal(interp, &v);
  210|       |
  211|       |    /* Cache and return the result */
  212|      2|    if (PyDict_SetItem(interp->codecs.search_cache, v, result) < 0) {
  ------------------
  |  Branch (212:9): [True: 0, False: 2]
  ------------------
  213|      0|        Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  214|      0|        goto onError;
  215|      0|    }
  216|      2|    Py_DECREF(v);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  217|      2|    return result;
  218|       |
  219|      0| onError:
  220|      0|    Py_DECREF(v);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  221|       |    return NULL;
  222|      2|}
_PyCodecInfo_GetIncrementalDecoder:
  342|      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) {
  ------------------
  |  |  936|      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|     19|{
  652|     19|    PyInterpreterState *interp = _PyInterpreterState_GET();
  653|     19|    assert(interp->codecs.initialized);
  ------------------
  |  Branch (653:5): [True: 19, False: 0]
  ------------------
  654|       |
  655|     19|    if (name==NULL)
  ------------------
  |  Branch (655:9): [True: 7, False: 12]
  ------------------
  656|      7|        name = "strict";
  657|     19|    PyObject *handler;
  658|     19|    if (PyDict_GetItemStringRef(interp->codecs.error_registry, name, &handler) < 0) {
  ------------------
  |  Branch (658:9): [True: 0, False: 19]
  ------------------
  659|      0|        return NULL;
  660|      0|    }
  661|     19|    if (handler == NULL) {
  ------------------
  |  Branch (661:9): [True: 0, False: 19]
  ------------------
  662|      0|        PyErr_Format(PyExc_LookupError, "unknown error handler name '%.400s'", name);
  663|      0|        return NULL;
  664|      0|    }
  665|     19|    return handler;
  666|     19|}
PyCodec_StrictErrors:
  782|      7|{
  783|      7|    if (PyExceptionInstance_Check(exc)) {
  ------------------
  |  |   65|      7|    PyType_FastSubclass(Py_TYPE(x), Py_TPFLAGS_BASE_EXC_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      7|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 7, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  784|      7|        PyErr_SetObject(PyExceptionInstance_Class(exc), exc);
  ------------------
  |  |   69|      7|#define PyExceptionInstance_Class(x) _PyObject_CAST(Py_TYPE(x))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  785|      7|    }
  786|      0|    else {
  787|      0|        PyErr_SetString(PyExc_TypeError, "codec must pass exception instance");
  788|      0|    }
  789|       |    return NULL;
  790|      7|}
_PyCodec_InitRegistry:
 1570|      2|{
 1571|      2|    static struct {
 1572|      2|        const char *name;
 1573|      2|        PyMethodDef def;
 1574|      2|    } methods[] =
 1575|      2|    {
 1576|      2|        {
 1577|      2|            "strict",
 1578|      2|            {
 1579|      2|                "strict_errors",
 1580|      2|                strict_errors,
 1581|      2|                METH_O,
  ------------------
  |  |   99|      2|#define METH_O        0x0008
  ------------------
 1582|      2|                PyDoc_STR("Implements the 'strict' error handling, which "
  ------------------
  |  |  229|      2|#define PyDoc_STR(str) str
  ------------------
 1583|      2|                          "raises a UnicodeError on coding errors.")
 1584|      2|            }
 1585|      2|        },
 1586|      2|        {
 1587|      2|            "ignore",
 1588|      2|            {
 1589|      2|                "ignore_errors",
 1590|      2|                ignore_errors,
 1591|      2|                METH_O,
  ------------------
  |  |   99|      2|#define METH_O        0x0008
  ------------------
 1592|      2|                PyDoc_STR("Implements the 'ignore' error handling, which "
  ------------------
  |  |  229|      2|#define PyDoc_STR(str) str
  ------------------
 1593|      2|                          "ignores malformed data and continues.")
 1594|      2|            }
 1595|      2|        },
 1596|      2|        {
 1597|      2|            "replace",
 1598|      2|            {
 1599|      2|                "replace_errors",
 1600|      2|                replace_errors,
 1601|      2|                METH_O,
  ------------------
  |  |   99|      2|#define METH_O        0x0008
  ------------------
 1602|      2|                PyDoc_STR("Implements the 'replace' error handling, which "
  ------------------
  |  |  229|      2|#define PyDoc_STR(str) str
  ------------------
 1603|      2|                          "replaces malformed data with a replacement marker.")
 1604|      2|            }
 1605|      2|        },
 1606|      2|        {
 1607|      2|            "xmlcharrefreplace",
 1608|      2|            {
 1609|      2|                "xmlcharrefreplace_errors",
 1610|      2|                xmlcharrefreplace_errors,
 1611|      2|                METH_O,
  ------------------
  |  |   99|      2|#define METH_O        0x0008
  ------------------
 1612|      2|                PyDoc_STR("Implements the 'xmlcharrefreplace' error handling, "
  ------------------
  |  |  229|      2|#define PyDoc_STR(str) str
  ------------------
 1613|      2|                          "which replaces an unencodable character with the "
 1614|      2|                          "appropriate XML character reference.")
 1615|      2|            }
 1616|      2|        },
 1617|      2|        {
 1618|      2|            "backslashreplace",
 1619|      2|            {
 1620|      2|                "backslashreplace_errors",
 1621|      2|                backslashreplace_errors,
 1622|      2|                METH_O,
  ------------------
  |  |   99|      2|#define METH_O        0x0008
  ------------------
 1623|      2|                PyDoc_STR("Implements the 'backslashreplace' error handling, "
  ------------------
  |  |  229|      2|#define PyDoc_STR(str) str
  ------------------
 1624|      2|                          "which replaces malformed data with a backslashed "
 1625|      2|                          "escape sequence.")
 1626|      2|            }
 1627|      2|        },
 1628|      2|        {
 1629|      2|            "namereplace",
 1630|      2|            {
 1631|      2|                "namereplace_errors",
 1632|      2|                namereplace_errors,
 1633|      2|                METH_O,
  ------------------
  |  |   99|      2|#define METH_O        0x0008
  ------------------
 1634|      2|                PyDoc_STR("Implements the 'namereplace' error handling, "
  ------------------
  |  |  229|      2|#define PyDoc_STR(str) str
  ------------------
 1635|      2|                          "which replaces an unencodable character with a "
 1636|      2|                          "\\N{...} escape sequence.")
 1637|      2|            }
 1638|      2|        },
 1639|      2|        {
 1640|      2|            "surrogatepass",
 1641|      2|            {
 1642|      2|                "surrogatepass",
 1643|      2|                surrogatepass_errors,
 1644|      2|                METH_O
  ------------------
  |  |   99|      2|#define METH_O        0x0008
  ------------------
 1645|      2|            }
 1646|      2|        },
 1647|      2|        {
 1648|      2|            "surrogateescape",
 1649|      2|            {
 1650|      2|                "surrogateescape",
 1651|      2|                surrogateescape_errors,
 1652|      2|                METH_O
  ------------------
  |  |   99|      2|#define METH_O        0x0008
  ------------------
 1653|      2|            }
 1654|      2|        }
 1655|      2|    };
 1656|       |    // ensure that the built-in error handlers' names are kept in sync
 1657|      2|    assert(Py_ARRAY_LENGTH(methods) == Py_ARRAY_LENGTH(codecs_builtin_error_handlers));
  ------------------
  |  Branch (1657:5): [True: 2, Folded]
  ------------------
 1658|       |
 1659|      2|    assert(interp->codecs.initialized == 0);
  ------------------
  |  Branch (1659:5): [True: 2, False: 0]
  ------------------
 1660|      2|    interp->codecs.search_path = PyList_New(0);
 1661|      2|    if (interp->codecs.search_path == NULL) {
  ------------------
  |  Branch (1661:9): [True: 0, False: 2]
  ------------------
 1662|      0|        return PyStatus_NoMemory();
 1663|      0|    }
 1664|      2|    interp->codecs.search_cache = PyDict_New();
 1665|      2|    if (interp->codecs.search_cache == NULL) {
  ------------------
  |  Branch (1665:9): [True: 0, False: 2]
  ------------------
 1666|      0|        return PyStatus_NoMemory();
 1667|      0|    }
 1668|      2|    interp->codecs.error_registry = PyDict_New();
 1669|      2|    if (interp->codecs.error_registry == NULL) {
  ------------------
  |  Branch (1669:9): [True: 0, False: 2]
  ------------------
 1670|      0|        return PyStatus_NoMemory();
 1671|      0|    }
 1672|     18|    for (size_t i = 0; i < Py_ARRAY_LENGTH(methods); ++i) {
  ------------------
  |  |  221|     18|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (1672:24): [True: 16, False: 2]
  ------------------
 1673|     16|        PyObject *func = PyCFunction_NewEx(&methods[i].def, NULL, NULL);
  ------------------
  |  |   87|     16|#define PyCFunction_NewEx(ML, SELF, MOD) PyCMethod_New((ML), (SELF), (MOD), NULL)
  ------------------
 1674|     16|        if (func == NULL) {
  ------------------
  |  Branch (1674:13): [True: 0, False: 16]
  ------------------
 1675|      0|            return PyStatus_NoMemory();
 1676|      0|        }
 1677|       |
 1678|     16|        int res = PyDict_SetItemString(interp->codecs.error_registry,
 1679|     16|                                       methods[i].name, func);
 1680|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1681|     16|        if (res < 0) {
  ------------------
  |  Branch (1681:13): [True: 0, False: 16]
  ------------------
 1682|      0|            return PyStatus_Error("Failed to insert into codec error registry");
 1683|      0|        }
 1684|     16|    }
 1685|       |
 1686|      2|    interp->codecs.initialized = 1;
 1687|       |
 1688|       |    // Importing `encodings' will call back into this module to register codec
 1689|       |    // search functions, so this is done after everything else is initialized.
 1690|      2|    PyObject *mod = PyImport_ImportModule("encodings");
 1691|      2|    if (mod == NULL) {
  ------------------
  |  Branch (1691:9): [True: 0, False: 2]
  ------------------
 1692|      0|        PyThreadState *tstate = _PyThreadState_GET();
 1693|      0|        _Py_DumpPathConfig(tstate);
 1694|      0|        return PyStatus_Error("Failed to import encodings module");
 1695|      0|    }
 1696|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1697|       |
 1698|      2|    return PyStatus_Ok();
 1699|      2|}
codecs.c:normalizestring:
   93|     12|{
   94|     12|    size_t i;
   95|     12|    size_t len = strlen(string);
   96|     12|    char *p;
   97|     12|    PyObject *v;
   98|       |
   99|     12|    if (len > PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|     12|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (99:9): [True: 0, False: 12]
  ------------------
  100|      0|        PyErr_SetString(PyExc_OverflowError, "string is too large");
  101|      0|        return NULL;
  102|      0|    }
  103|       |
  104|     12|    p = PyMem_Malloc(len + 1);
  105|     12|    if (p == NULL)
  ------------------
  |  Branch (105:9): [True: 0, False: 12]
  ------------------
  106|      0|        return PyErr_NoMemory();
  107|     72|    for (i = 0; i < len; i++) {
  ------------------
  |  Branch (107:17): [True: 60, False: 12]
  ------------------
  108|     60|        char ch = string[i];
  109|     60|        if (ch == ' ')
  ------------------
  |  Branch (109:13): [True: 0, False: 60]
  ------------------
  110|      0|            ch = '-';
  111|     60|        else
  112|     60|            ch = Py_TOLOWER(Py_CHARMASK(ch));
  ------------------
  |  |   32|     60|#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  163|     60|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
  113|     60|        p[i] = ch;
  114|     60|    }
  115|     12|    p[i] = '\0';
  116|     12|    v = PyUnicode_FromString(p);
  117|     12|    PyMem_Free(p);
  118|     12|    return v;
  119|     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:
 1514|      7|{
 1515|      7|    return PyCodec_StrictErrors(exc);
 1516|      7|}

_Py_CArray_Init:
  113|     18|_Py_CArray_Init(_Py_c_array_t* array, int item_size, int initial_num_entries) {
  114|     18|    memset(array, 0, sizeof(_Py_c_array_t));
  115|     18|    array->item_size = item_size;
  116|     18|    array->initial_num_entries = initial_num_entries;
  117|     18|    return 0;
  118|     18|}
_Py_CArray_Fini:
  122|     18|{
  123|     18|    if (array->array) {
  ------------------
  |  Branch (123:9): [True: 0, False: 18]
  ------------------
  124|      0|        PyMem_Free(array->array);
  125|      0|        array->allocated_entries = 0;
  126|      0|    }
  127|     18|}
_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:
  923|      2|{
  924|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  925|      2|    return SUCCESS;
  ------------------
  |  |   47|      2|#define SUCCESS 0
  ------------------
  926|      2|}
_PyCodegen_EnterAnonymousScope:
  988|      2|{
  989|      2|    _Py_DECLARE_STR(anon_module, "<module>");
  990|      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]
  |  |  ------------------
  ------------------
  991|      2|        codegen_enter_scope(c, &_Py_STR(anon_module), COMPILE_SCOPE_MODULE,
  992|      2|                            mod, 1, NULL, NULL));
  993|      2|    return SUCCESS;
  ------------------
  |  |   47|      2|#define SUCCESS 0
  ------------------
  994|      2|}
_PyCodegen_AddReturnAtEnd:
 6784|      4|{
 6785|       |    /* Make sure every instruction stream that falls off the end returns None.
 6786|       |     * This also ensures that no jump target offsets are out of bounds.
 6787|       |     */
 6788|      4|    if (addNone) {
  ------------------
  |  Branch (6788:9): [True: 2, False: 2]
  ------------------
 6789|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6790|      2|    }
 6791|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6792|      4|    return SUCCESS;
  ------------------
  |  |   47|      4|#define SUCCESS 0
  ------------------
 6793|      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:
 3319|     13|{
 3320|     13|    assert(!_PyUnicode_EqualToASCIIString(name, "None") &&
  ------------------
  |  Branch (3320:5): [True: 13, False: 0]
  |  Branch (3320:5): [True: 13, False: 0]
  |  Branch (3320:5): [True: 13, False: 0]
  ------------------
 3321|     13|           !_PyUnicode_EqualToASCIIString(name, "True") &&
 3322|     13|           !_PyUnicode_EqualToASCIIString(name, "False"));
 3323|       |
 3324|     13|    PyObject *mangled = _PyCompile_MaybeMangle(c, name);
 3325|     13|    if (!mangled) {
  ------------------
  |  Branch (3325:9): [True: 0, False: 13]
  ------------------
 3326|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 3327|      0|    }
 3328|       |
 3329|     13|    _PyCompile_optype optype;
 3330|     13|    Py_ssize_t arg = 0;
 3331|     13|    int scope = _PyCompile_ResolveNameop(c, mangled, &optype, &arg);
 3332|     13|    if (scope < 0) {
  ------------------
  |  Branch (3332:9): [True: 0, False: 13]
  ------------------
 3333|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3334|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 3335|      0|    }
 3336|       |
 3337|     13|    int op = 0;
 3338|     13|    switch (optype) {
  ------------------
  |  Branch (3338:13): [True: 13, False: 0]
  ------------------
 3339|      0|    case COMPILE_OP_DEREF:
  ------------------
  |  Branch (3339:5): [True: 0, False: 13]
  ------------------
 3340|      0|        switch (ctx) {
  ------------------
  |  Branch (3340:17): [True: 0, False: 0]
  ------------------
 3341|      0|        case Load:
  ------------------
  |  Branch (3341:9): [True: 0, False: 0]
  ------------------
 3342|      0|            if (SYMTABLE_ENTRY(c)->ste_type == ClassBlock) {
  ------------------
  |  |   71|      0|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  |  Branch (3342:17): [True: 0, False: 0]
  ------------------
 3343|      0|                op = LOAD_FROM_DICT_OR_DEREF;
  ------------------
  |  |   99|      0|#define LOAD_FROM_DICT_OR_DEREF                 86
  ------------------
 3344|       |                // First load the locals
 3345|      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 (3345:21): [True: 0, False: 0]
  ------------------
 3346|      0|                    goto error;
 3347|      0|                }
 3348|      0|            }
 3349|      0|            else if (SYMTABLE_ENTRY(c)->ste_can_see_class_scope) {
  ------------------
  |  |   71|      0|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  |  Branch (3349:22): [True: 0, False: 0]
  ------------------
 3350|      0|                op = LOAD_FROM_DICT_OR_DEREF;
  ------------------
  |  |   99|      0|#define LOAD_FROM_DICT_OR_DEREF                 86
  ------------------
 3351|       |                // First load the classdict
 3352|      0|                if (codegen_load_classdict_freevar(c, loc) < 0) {
  ------------------
  |  Branch (3352:21): [True: 0, False: 0]
  ------------------
 3353|      0|                    goto error;
 3354|      0|                }
 3355|      0|            }
 3356|      0|            else {
 3357|      0|                op = LOAD_DEREF;
  ------------------
  |  |   92|      0|#define LOAD_DEREF                              79
  ------------------
 3358|      0|            }
 3359|      0|            break;
 3360|      0|        case Store: op = STORE_DEREF; break;
  ------------------
  |  |  120|      0|#define STORE_DEREF                            107
  ------------------
  |  Branch (3360:9): [True: 0, False: 0]
  ------------------
 3361|      0|        case Del: op = DELETE_DEREF; break;
  ------------------
  |  |   72|      0|#define DELETE_DEREF                            59
  ------------------
  |  Branch (3361:9): [True: 0, False: 0]
  ------------------
 3362|      0|        }
 3363|      0|        break;
 3364|     11|    case COMPILE_OP_FAST:
  ------------------
  |  Branch (3364:5): [True: 11, False: 2]
  ------------------
 3365|     11|        switch (ctx) {
  ------------------
  |  Branch (3365:17): [True: 11, False: 0]
  ------------------
 3366|     11|        case Load: op = LOAD_FAST; break;
  ------------------
  |  |   93|     11|#define LOAD_FAST                               80
  ------------------
  |  Branch (3366:9): [True: 11, False: 0]
  ------------------
 3367|      0|        case Store: op = STORE_FAST; break;
  ------------------
  |  |  121|      0|#define STORE_FAST                             108
  ------------------
  |  Branch (3367:9): [True: 0, False: 11]
  ------------------
 3368|      0|        case Del: op = DELETE_FAST; break;
  ------------------
  |  |   73|      0|#define DELETE_FAST                             60
  ------------------
  |  Branch (3368:9): [True: 0, False: 11]
  ------------------
 3369|     11|        }
 3370|     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 (3370:9): [True: 11, False: 0]
  ------------------
 3371|     11|        return SUCCESS;
  ------------------
  |  |   47|     11|#define SUCCESS 0
  ------------------
 3372|      2|    case COMPILE_OP_GLOBAL:
  ------------------
  |  Branch (3372:5): [True: 2, False: 11]
  ------------------
 3373|      2|        switch (ctx) {
  ------------------
  |  Branch (3373:17): [True: 2, False: 0]
  ------------------
 3374|      2|        case Load:
  ------------------
  |  Branch (3374:9): [True: 2, False: 0]
  ------------------
 3375|      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 (3375:17): [True: 0, False: 2]
  |  Branch (3375:63): [True: 0, False: 0]
  ------------------
 3376|      0|                op = LOAD_FROM_DICT_OR_GLOBALS;
  ------------------
  |  |  100|      0|#define LOAD_FROM_DICT_OR_GLOBALS               87
  ------------------
 3377|       |                // First load the classdict
 3378|      0|                if (codegen_load_classdict_freevar(c, loc) < 0) {
  ------------------
  |  Branch (3378:21): [True: 0, False: 0]
  ------------------
 3379|      0|                    goto error;
 3380|      0|                }
 3381|      2|            } else {
 3382|      2|                op = LOAD_GLOBAL;
  ------------------
  |  |  101|      2|#define LOAD_GLOBAL                             88
  ------------------
 3383|      2|            }
 3384|      2|            break;
 3385|      2|        case Store: op = STORE_GLOBAL; break;
  ------------------
  |  |  124|      0|#define STORE_GLOBAL                           111
  ------------------
  |  Branch (3385:9): [True: 0, False: 2]
  ------------------
 3386|      0|        case Del:
  ------------------
  |  Branch (3386:9): [True: 0, False: 2]
  ------------------
 3387|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3388|      0|            op = STORE_GLOBAL;
  ------------------
  |  |  124|      0|#define STORE_GLOBAL                           111
  ------------------
 3389|      0|            break;
 3390|      2|        }
 3391|      2|        break;
 3392|      2|    case COMPILE_OP_NAME:
  ------------------
  |  Branch (3392:5): [True: 0, False: 13]
  ------------------
 3393|      0|        switch (ctx) {
  ------------------
  |  Branch (3393:17): [True: 0, False: 0]
  ------------------
 3394|      0|        case Load:
  ------------------
  |  Branch (3394:9): [True: 0, False: 0]
  ------------------
 3395|       |            /* LOAD_NAME in a class reads the class dict; inlined comps must not. */
 3396|      0|            op = (SCOPE_TYPE(c) == COMPILE_SCOPE_CLASS
  ------------------
  |  |   74|      0|#define SCOPE_TYPE(C) _PyCompile_ScopeType(C)
  ------------------
  |  Branch (3396:19): [True: 0, False: 0]
  ------------------
 3397|      0|                  && SYMTABLE_ENTRY(c)->ste_type == InlinedComprehensionBlock)
  ------------------
  |  |   71|      0|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  |  Branch (3397:22): [True: 0, False: 0]
  ------------------
 3398|      0|                ? LOAD_GLOBAL
  ------------------
  |  |  101|      0|#define LOAD_GLOBAL                             88
  ------------------
 3399|      0|                : LOAD_NAME;
  ------------------
  |  |  102|      0|#define LOAD_NAME                               89
  ------------------
 3400|      0|            break;
 3401|      0|        case Store: op = STORE_NAME; break;
  ------------------
  |  |  125|      0|#define STORE_NAME                             112
  ------------------
  |  Branch (3401:9): [True: 0, False: 0]
  ------------------
 3402|      0|        case Del:
  ------------------
  |  Branch (3402:9): [True: 0, False: 0]
  ------------------
 3403|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3404|      0|            op = STORE_NAME;
  ------------------
  |  |  125|      0|#define STORE_NAME                             112
  ------------------
 3405|      0|            break;
 3406|      0|        }
 3407|      0|        break;
 3408|     13|    }
 3409|       |
 3410|     13|    assert(op);
  ------------------
  |  Branch (3410:5): [True: 2, False: 0]
  ------------------
 3411|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3412|      2|    if (op == LOAD_GLOBAL) {
  ------------------
  |  |  101|      2|#define LOAD_GLOBAL                             88
  ------------------
  |  Branch (3412:9): [True: 2, False: 0]
  ------------------
 3413|      2|        arg <<= 1;
 3414|      2|    }
 3415|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3416|      2|    return SUCCESS;
  ------------------
  |  |   47|      2|#define SUCCESS 0
  ------------------
 3417|       |
 3418|      0|error:
 3419|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3420|      0|    return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 3421|      2|}
codegen.c:codegen_default_arguments:
 1231|      2|{
 1232|      2|    Py_ssize_t funcflags = 0;
 1233|      2|    if (args->defaults && asdl_seq_LEN(args->defaults) > 0) {
  ------------------
  |  |   83|      2|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  302|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1233:9): [True: 2, False: 0]
  |  Branch (1233:27): [True: 0, False: 2]
  ------------------
 1234|      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]
  |  |  ------------------
  ------------------
 1235|      0|        funcflags |= MAKE_FUNCTION_DEFAULTS;
  ------------------
  |  |   64|      0|#define MAKE_FUNCTION_DEFAULTS    0x01
  ------------------
 1236|      0|    }
 1237|      2|    if (args->kwonlyargs) {
  ------------------
  |  Branch (1237:9): [True: 2, False: 0]
  ------------------
 1238|      2|        int res = codegen_kwonlydefaults(c, loc,
 1239|      2|                                         args->kwonlyargs,
 1240|      2|                                         args->kw_defaults);
 1241|      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]
  |  |  ------------------
  ------------------
 1242|      2|        if (res > 0) {
  ------------------
  |  Branch (1242:13): [True: 0, False: 2]
  ------------------
 1243|      0|            funcflags |= MAKE_FUNCTION_KWDEFAULTS;
  ------------------
  |  |   65|      0|#define MAKE_FUNCTION_KWDEFAULTS  0x02
  ------------------
 1244|      0|        }
 1245|      2|    }
 1246|      2|    return funcflags;
 1247|      2|}
codegen.c:codegen_kwonlydefaults:
 1066|      2|{
 1067|       |    /* Push a dict of keyword-only default values.
 1068|       |
 1069|       |       Return -1 on error, 0 if no dict pushed, 1 if a dict is pushed.
 1070|       |       */
 1071|      2|    int default_count = 0;
 1072|      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))
  |  |  ------------------
  |  |  |  |  302|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1072:21): [True: 0, False: 2]
  ------------------
 1073|      0|        arg_ty arg = asdl_seq_GET(kwonlyargs, i);
  ------------------
  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1074|      0|        expr_ty default_ = asdl_seq_GET(kw_defaults, i);
  ------------------
  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1075|      0|        if (default_) {
  ------------------
  |  Branch (1075:13): [True: 0, False: 0]
  ------------------
 1076|      0|            default_count++;
 1077|      0|            PyObject *mangled = _PyCompile_MaybeMangle(c, arg->arg);
 1078|      0|            if (!mangled) {
  ------------------
  |  Branch (1078:17): [True: 0, False: 0]
  ------------------
 1079|      0|                return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 1080|      0|            }
 1081|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1082|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1083|      0|        }
 1084|      0|    }
 1085|      2|    if (default_count) {
  ------------------
  |  Branch (1085:9): [True: 0, False: 2]
  ------------------
 1086|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1087|      0|        return 1;
 1088|      0|    }
 1089|      2|    else {
 1090|      2|        return 0;
 1091|      2|    }
 1092|      2|}
codegen.c:codegen_make_closure:
  999|      2|{
 1000|      2|    if (co->co_nfreevars) {
  ------------------
  |  Branch (1000:9): [True: 0, False: 2]
  ------------------
 1001|      0|        int i = PyUnstable_Code_GetFirstFree(co);
 1002|      0|        for (; i < co->co_nlocalsplus; ++i) {
  ------------------
  |  Branch (1002:16): [True: 0, False: 0]
  ------------------
 1003|       |            /* Bypass com_addop_varname because it will generate
 1004|       |               LOAD_DEREF but LOAD_CLOSURE is needed.
 1005|       |            */
 1006|      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 (1006:30): [True: 0, False: 0]
  ------------------
 1007|      0|            int arg = _PyCompile_LookupArg(c, co, name);
 1008|      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]
  |  |  ------------------
  ------------------
 1009|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1010|      0|        }
 1011|      0|        flags |= MAKE_FUNCTION_CLOSURE;
  ------------------
  |  |   67|      0|#define MAKE_FUNCTION_CLOSURE     0x08
  ------------------
 1012|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1013|      0|    }
 1014|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1015|       |
 1016|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1017|       |
 1018|      2|    if (flags & MAKE_FUNCTION_CLOSURE) {
  ------------------
  |  |   67|      2|#define MAKE_FUNCTION_CLOSURE     0x08
  ------------------
  |  Branch (1018:9): [True: 0, False: 2]
  ------------------
 1019|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1020|      0|    }
 1021|      2|    if (flags & MAKE_FUNCTION_ANNOTATIONS) {
  ------------------
  |  |   66|      2|#define MAKE_FUNCTION_ANNOTATIONS 0x04
  ------------------
  |  Branch (1021:9): [True: 0, False: 2]
  ------------------
 1022|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1023|      0|    }
 1024|      2|    if (flags & MAKE_FUNCTION_ANNOTATE) {
  ------------------
  |  |   68|      2|#define MAKE_FUNCTION_ANNOTATE    0x10
  ------------------
  |  Branch (1024:9): [True: 0, False: 2]
  ------------------
 1025|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1026|      0|    }
 1027|      2|    if (flags & MAKE_FUNCTION_KWDEFAULTS) {
  ------------------
  |  |   65|      2|#define MAKE_FUNCTION_KWDEFAULTS  0x02
  ------------------
  |  Branch (1027:9): [True: 0, False: 2]
  ------------------
 1028|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1029|      0|    }
 1030|      2|    if (flags & MAKE_FUNCTION_DEFAULTS) {
  ------------------
  |  |   64|      2|#define MAKE_FUNCTION_DEFAULTS    0x01
  ------------------
  |  Branch (1030:9): [True: 0, False: 2]
  ------------------
 1031|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1032|      0|    }
 1033|      2|    return SUCCESS;
  ------------------
  |  |   47|      2|#define SUCCESS 0
  ------------------
 1034|      2|}
codegen.c:codegen_call_helper_impl:
 4461|      2|{
 4462|      2|    Py_ssize_t i, nseen, nelts, nkwelts;
 4463|       |
 4464|      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]
  |  |  ------------------
  ------------------
 4465|       |
 4466|      2|    nelts = asdl_seq_LEN(args);
  ------------------
  |  |   83|      2|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  302|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4467|      2|    nkwelts = asdl_seq_LEN(keywords);
  ------------------
  |  |   83|      2|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  302|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 2, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4468|       |
 4469|      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 (4469:9): [True: 0, False: 2]
  ------------------
 4470|      0|         goto ex_call;
 4471|      0|    }
 4472|      6|    for (i = 0; i < nelts; i++) {
  ------------------
  |  Branch (4472:17): [True: 4, False: 2]
  ------------------
 4473|      4|        expr_ty elt = asdl_seq_GET(args, i);
  ------------------
  |  |   82|      4|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  302|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4474|      4|        if (elt->kind == Starred_kind) {
  ------------------
  |  Branch (4474:13): [True: 0, False: 4]
  ------------------
 4475|      0|            goto ex_call;
 4476|      0|        }
 4477|      4|    }
 4478|      2|    for (i = 0; i < nkwelts; i++) {
  ------------------
  |  Branch (4478:17): [True: 0, False: 2]
  ------------------
 4479|      0|        keyword_ty kw = asdl_seq_GET(keywords, i);
  ------------------
  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4480|      0|        if (kw->arg == NULL) {
  ------------------
  |  Branch (4480:13): [True: 0, False: 0]
  ------------------
 4481|      0|            goto ex_call;
 4482|      0|        }
 4483|      0|    }
 4484|       |
 4485|       |    /* No * or ** args, so can use faster calling sequence */
 4486|      6|    for (i = 0; i < nelts; i++) {
  ------------------
  |  Branch (4486:17): [True: 4, False: 2]
  ------------------
 4487|      4|        expr_ty elt = asdl_seq_GET(args, i);
  ------------------
  |  |   82|      4|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  302|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4488|      4|        assert(elt->kind != Starred_kind);
  ------------------
  |  Branch (4488:9): [True: 4, False: 0]
  ------------------
 4489|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4490|      4|    }
 4491|      2|    if (injected_arg) {
  ------------------
  |  Branch (4491:9): [True: 0, False: 2]
  ------------------
 4492|      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]
  |  |  ------------------
  ------------------
 4493|      0|        nelts++;
 4494|      0|    }
 4495|      2|    if (nkwelts) {
  ------------------
  |  Branch (4495:9): [True: 0, False: 2]
  ------------------
 4496|      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))
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (302: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)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      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]
  |  |  ------------------
  ------------------
 4497|      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]
  |  |  ------------------
  ------------------
 4498|      0|            codegen_call_simple_kw_helper(c, loc, keywords, nkwelts));
 4499|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4500|      0|    }
 4501|      2|    else {
 4502|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4503|      2|    }
 4504|      2|    return SUCCESS;
  ------------------
  |  |   47|      2|#define SUCCESS 0
  ------------------
 4505|       |
 4506|      0|ex_call:
 4507|       |
 4508|       |    /* Do positional arguments. */
 4509|      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)])
  |  |  ------------------
  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (4509:9): [True: 0, False: 0]
  |  Branch (4509:19): [True: 0, False: 0]
  |  Branch (4509:33): [True: 0, False: 0]
  ------------------
 4510|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4511|      0|    }
 4512|      0|    else {
 4513|      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]
  |  |  ------------------
  ------------------
 4514|      0|                                               BUILD_LIST, LIST_APPEND, LIST_EXTEND, 1));
 4515|      0|    }
 4516|       |    /* Then keyword arguments */
 4517|      0|    if (nkwelts) {
  ------------------
  |  Branch (4517:9): [True: 0, False: 0]
  ------------------
 4518|       |        /* Has a new dict been pushed */
 4519|      0|        int have_dict = 0;
 4520|       |
 4521|      0|        nseen = 0;  /* the number of keyword arguments on the stack following */
 4522|      0|        for (i = 0; i < nkwelts; i++) {
  ------------------
  |  Branch (4522:21): [True: 0, False: 0]
  ------------------
 4523|      0|            keyword_ty kw = asdl_seq_GET(keywords, i);
  ------------------
  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4524|      0|            if (kw->arg == NULL) {
  ------------------
  |  Branch (4524:17): [True: 0, False: 0]
  ------------------
 4525|       |                /* A keyword argument unpacking. */
 4526|      0|                if (nseen) {
  ------------------
  |  Branch (4526:21): [True: 0, False: 0]
  ------------------
 4527|      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]
  |  |  ------------------
  ------------------
 4528|      0|                    if (have_dict) {
  ------------------
  |  Branch (4528:25): [True: 0, False: 0]
  ------------------
 4529|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4530|      0|                    }
 4531|      0|                    have_dict = 1;
 4532|      0|                    nseen = 0;
 4533|      0|                }
 4534|      0|                if (!have_dict) {
  ------------------
  |  Branch (4534:21): [True: 0, False: 0]
  ------------------
 4535|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4536|      0|                    have_dict = 1;
 4537|      0|                }
 4538|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4539|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4540|      0|            }
 4541|      0|            else {
 4542|      0|                nseen++;
 4543|      0|            }
 4544|      0|        }
 4545|      0|        if (nseen) {
  ------------------
  |  Branch (4545:13): [True: 0, False: 0]
  ------------------
 4546|       |            /* Pack up any trailing keyword arguments. */
 4547|      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]
  |  |  ------------------
  ------------------
 4548|      0|            if (have_dict) {
  ------------------
  |  Branch (4548:17): [True: 0, False: 0]
  ------------------
 4549|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4550|      0|            }
 4551|      0|            have_dict = 1;
 4552|      0|        }
 4553|      0|        assert(have_dict);
  ------------------
  |  Branch (4553:9): [True: 0, False: 0]
  ------------------
 4554|      0|    }
 4555|      0|    if (nkwelts == 0) {
  ------------------
  |  Branch (4555:9): [True: 0, False: 0]
  ------------------
 4556|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4557|      0|    }
 4558|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4559|      0|    return SUCCESS;
  ------------------
  |  |   47|      0|#define SUCCESS 0
  ------------------
 4560|      0|}
codegen.c:codegen_validate_keywords:
 4230|      4|{
 4231|      4|    Py_ssize_t nkeywords = asdl_seq_LEN(keywords);
  ------------------
  |  |   83|      4|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  302|      8|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 4, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4232|      4|    for (Py_ssize_t i = 0; i < nkeywords; i++) {
  ------------------
  |  Branch (4232:28): [True: 0, False: 4]
  ------------------
 4233|      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)])
  |  |  ------------------
  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4234|      0|        if (key->arg == NULL) {
  ------------------
  |  Branch (4234:13): [True: 0, False: 0]
  ------------------
 4235|      0|            continue;
 4236|      0|        }
 4237|      0|        for (Py_ssize_t j = i + 1; j < nkeywords; j++) {
  ------------------
  |  Branch (4237:36): [True: 0, False: 0]
  ------------------
 4238|      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)])
  |  |  ------------------
  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4239|      0|            if (other->arg && !PyUnicode_Compare(key->arg, other->arg)) {
  ------------------
  |  Branch (4239:17): [True: 0, False: 0]
  |  Branch (4239:31): [True: 0, False: 0]
  ------------------
 4240|      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 }
  |  |  ------------------
  ------------------
 4241|      0|            }
 4242|      0|        }
 4243|      0|    }
 4244|      4|    return SUCCESS;
  ------------------
  |  |   47|      4|#define SUCCESS 0
  ------------------
 4245|      4|}
codegen.c:starunpack_helper_impl:
 3470|      2|{
 3471|      2|    Py_ssize_t end = asdl_seq_LEN(elts);
  ------------------
  |  |   83|      2|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  302|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3472|      2|    Py_ssize_t n = 0;
 3473|      2|    int seen_star = 0;
 3474|     11|    for (Py_ssize_t i = 0; i < end; i++) {
  ------------------
  |  Branch (3474:28): [True: 9, False: 2]
  ------------------
 3475|      9|        expr_ty elt = asdl_seq_GET(elts, i);
  ------------------
  |  |   82|      9|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  302|      9|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 3476|      9|        if (elt->kind == Starred_kind) {
  ------------------
  |  Branch (3476:13): [True: 0, False: 9]
  ------------------
 3477|      0|            if (is_empty_starred_literal(elt)) {
  ------------------
  |  Branch (3477:17): [True: 0, False: 0]
  ------------------
 3478|      0|                continue;
 3479|      0|            }
 3480|      0|            seen_star = 1;
 3481|      0|        }
 3482|      9|        n++;
 3483|      9|    }
 3484|      2|    int big = n + pushed + (injected_arg ? 1 : 0) > _PY_STACK_USE_GUIDELINE;
  ------------------
  |  |   24|      2|#define _PY_STACK_USE_GUIDELINE 30
  ------------------
  |  Branch (3484:29): [True: 0, False: 2]
  ------------------
 3485|      2|    if (!seen_star && !big) {
  ------------------
  |  Branch (3485:9): [True: 2, False: 0]
  |  Branch (3485:23): [True: 2, False: 0]
  ------------------
 3486|     11|        for (Py_ssize_t i = 0; i < end; i++) {
  ------------------
  |  Branch (3486:32): [True: 9, False: 2]
  ------------------
 3487|      9|            expr_ty elt = asdl_seq_GET(elts, i);
  ------------------
  |  |   82|      9|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  302|      9|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 3488|      9|            if (is_empty_starred_literal(elt)) {
  ------------------
  |  Branch (3488:17): [True: 0, False: 9]
  ------------------
 3489|      0|                continue;
 3490|      0|            }
 3491|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3492|      9|        }
 3493|      2|        if (injected_arg) {
  ------------------
  |  Branch (3493:13): [True: 0, False: 2]
  ------------------
 3494|      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]
  |  |  ------------------
  ------------------
 3495|      0|            n++;
 3496|      0|        }
 3497|      2|        if (tuple) {
  ------------------
  |  Branch (3497:13): [True: 2, False: 0]
  ------------------
 3498|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3499|      2|        } else {
 3500|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3501|      0|        }
 3502|      2|        return SUCCESS;
  ------------------
  |  |   47|      2|#define SUCCESS 0
  ------------------
 3503|      2|    }
 3504|      0|    int sequence_built = 0;
 3505|      0|    Py_ssize_t nitems = 0;
 3506|      0|    if (big) {
  ------------------
  |  Branch (3506:9): [True: 0, False: 0]
  ------------------
 3507|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3508|      0|        sequence_built = 1;
 3509|      0|    }
 3510|      0|    for (Py_ssize_t i = 0; i < end; i++) {
  ------------------
  |  Branch (3510:28): [True: 0, False: 0]
  ------------------
 3511|      0|        expr_ty elt = asdl_seq_GET(elts, i);
  ------------------
  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 3512|       |
 3513|      0|        if (elt->kind == Starred_kind) {
  ------------------
  |  Branch (3513:13): [True: 0, False: 0]
  ------------------
 3514|      0|            if (is_empty_starred_literal(elt)) {
  ------------------
  |  Branch (3514:17): [True: 0, False: 0]
  ------------------
 3515|      0|                continue;
 3516|      0|            }
 3517|      0|            if (sequence_built == 0) {
  ------------------
  |  Branch (3517:17): [True: 0, False: 0]
  ------------------
 3518|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3519|      0|                sequence_built = 1;
 3520|      0|            }
 3521|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3522|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3523|      0|        }
 3524|      0|        else {
 3525|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3526|      0|            if (sequence_built) {
  ------------------
  |  Branch (3526:17): [True: 0, False: 0]
  ------------------
 3527|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3528|      0|            }
 3529|      0|        }
 3530|      0|        nitems++;
 3531|      0|    }
 3532|      0|    assert(sequence_built);
  ------------------
  |  Branch (3532:5): [True: 0, False: 0]
  ------------------
 3533|      0|    if (injected_arg) {
  ------------------
  |  Branch (3533:9): [True: 0, False: 0]
  ------------------
 3534|      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]
  |  |  ------------------
  ------------------
 3535|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3536|      0|    }
 3537|      0|    if (tuple) {
  ------------------
  |  Branch (3537:9): [True: 0, False: 0]
  ------------------
 3538|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3539|      0|    }
 3540|      0|    return SUCCESS;
  ------------------
  |  |   47|      0|#define SUCCESS 0
  ------------------
 3541|      0|}
codegen.c:is_empty_starred_literal:
 3453|      9|{
 3454|      9|    if (elt->kind != Starred_kind) {
  ------------------
  |  Branch (3454:9): [True: 9, False: 0]
  ------------------
 3455|      9|        return false;
 3456|      9|    }
 3457|      0|    expr_ty value = elt->v.Starred.value;
 3458|      0|    return (value->kind == Tuple_kind &&
  ------------------
  |  Branch (3458:13): [True: 0, False: 0]
  ------------------
 3459|      0|            asdl_seq_LEN(value->v.Tuple.elts) == 0) ||
  ------------------
  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3459:13): [True: 0, False: 0]
  ------------------
 3460|      0|           (value->kind == List_kind &&
  ------------------
  |  Branch (3460:13): [True: 0, False: 0]
  ------------------
 3461|      0|            asdl_seq_LEN(value->v.List.elts) == 0) ||
  ------------------
  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3461:13): [True: 0, False: 0]
  ------------------
 3462|      0|           (value->kind == Dict_kind &&
  ------------------
  |  Branch (3462:13): [True: 0, False: 0]
  ------------------
 3463|      0|            asdl_seq_LEN(value->v.Dict.keys) == 0);
  ------------------
  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3463:13): [True: 0, False: 0]
  ------------------
 3464|      9|}
codegen.c:codegen_call_helper:
 4567|      2|{
 4568|       |    return codegen_call_helper_impl(c, loc, n, args, NULL, keywords);
 4569|      2|}
codegen.c:codegen_visit_expr_impl:
 5480|     19|{
 5481|     19|    if (Py_EnterRecursiveCall(" during compilation")) {
  ------------------
  |  Branch (5481:9): [True: 0, False: 19]
  ------------------
 5482|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 5483|      0|    }
 5484|     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 }
  |  |  ------------------
  ------------------
 5485|     19|    switch (e->kind) {
  ------------------
  |  Branch (5485:13): [True: 19, False: 0]
  ------------------
 5486|      0|    case NamedExpr_kind:
  ------------------
  |  Branch (5486:5): [True: 0, False: 19]
  ------------------
 5487|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5488|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5489|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5490|      0|        break;
 5491|      0|    case BoolOp_kind:
  ------------------
  |  Branch (5491:5): [True: 0, False: 19]
  ------------------
 5492|      0|        return codegen_boolop(c, e);
 5493|      0|    case BinOp_kind:
  ------------------
  |  Branch (5493:5): [True: 0, False: 19]
  ------------------
 5494|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5495|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5496|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5497|      0|        break;
 5498|      0|    case UnaryOp_kind:
  ------------------
  |  Branch (5498:5): [True: 0, False: 19]
  ------------------
 5499|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5500|      0|        if (e->v.UnaryOp.op == UAdd) {
  ------------------
  |  Branch (5500:13): [True: 0, False: 0]
  ------------------
 5501|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5502|      0|        }
 5503|      0|        else if (e->v.UnaryOp.op == Not) {
  ------------------
  |  Branch (5503:18): [True: 0, False: 0]
  ------------------
 5504|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5505|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5506|      0|        }
 5507|      0|        else {
 5508|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5509|      0|        }
 5510|      0|        break;
 5511|      2|    case Lambda_kind:
  ------------------
  |  Branch (5511:5): [True: 2, False: 17]
  ------------------
 5512|      2|        return codegen_lambda(c, e);
 5513|      0|    case IfExp_kind:
  ------------------
  |  Branch (5513:5): [True: 0, False: 19]
  ------------------
 5514|      0|        return codegen_ifexp(c, e);
 5515|      0|    case Dict_kind:
  ------------------
  |  Branch (5515:5): [True: 0, False: 19]
  ------------------
 5516|      0|        return codegen_dict(c, e);
 5517|      0|    case Set_kind:
  ------------------
  |  Branch (5517:5): [True: 0, False: 19]
  ------------------
 5518|      0|        return codegen_set(c, e);
 5519|      0|    case GeneratorExp_kind:
  ------------------
  |  Branch (5519:5): [True: 0, False: 19]
  ------------------
 5520|      0|        return codegen_genexp(c, e);
 5521|      0|    case ListComp_kind:
  ------------------
  |  Branch (5521:5): [True: 0, False: 19]
  ------------------
 5522|      0|        return codegen_listcomp(c, e, result_is_unused);
 5523|      0|    case SetComp_kind:
  ------------------
  |  Branch (5523:5): [True: 0, False: 19]
  ------------------
 5524|      0|        return codegen_setcomp(c, e);
 5525|      0|    case DictComp_kind:
  ------------------
  |  Branch (5525:5): [True: 0, False: 19]
  ------------------
 5526|      0|        return codegen_dictcomp(c, e);
 5527|      0|    case Yield_kind:
  ------------------
  |  Branch (5527:5): [True: 0, False: 19]
  ------------------
 5528|      0|        if (!_PyST_IsFunctionLike(SYMTABLE_ENTRY(c))) {
  ------------------
  |  |   71|      0|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  |  Branch (5528:13): [True: 0, False: 0]
  ------------------
 5529|      0|            return _PyCompile_Error(c, loc, "'yield' outside function");
 5530|      0|        }
 5531|      0|        if (e->v.Yield.value) {
  ------------------
  |  Branch (5531:13): [True: 0, False: 0]
  ------------------
 5532|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5533|      0|        }
 5534|      0|        else {
 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|        }
 5537|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5538|      0|        break;
 5539|      0|    case YieldFrom_kind:
  ------------------
  |  Branch (5539:5): [True: 0, False: 19]
  ------------------
 5540|      0|        if (!_PyST_IsFunctionLike(SYMTABLE_ENTRY(c))) {
  ------------------
  |  |   71|      0|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  |  Branch (5540:13): [True: 0, False: 0]
  ------------------
 5541|      0|            return _PyCompile_Error(c, loc, "'yield from' outside function");
 5542|      0|        }
 5543|      0|        if (SCOPE_TYPE(c) == COMPILE_SCOPE_ASYNC_FUNCTION) {
  ------------------
  |  |   74|      0|#define SCOPE_TYPE(C) _PyCompile_ScopeType(C)
  ------------------
  |  Branch (5543:13): [True: 0, False: 0]
  ------------------
 5544|      0|            return _PyCompile_Error(c, loc, "'yield from' inside async function");
 5545|      0|        }
 5546|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5547|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5548|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5549|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5550|      0|        break;
 5551|      0|    case Await_kind:
  ------------------
  |  Branch (5551:5): [True: 0, False: 19]
  ------------------
 5552|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5553|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5554|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5555|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5556|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5557|      0|        break;
 5558|      0|    case Compare_kind:
  ------------------
  |  Branch (5558:5): [True: 0, False: 19]
  ------------------
 5559|      0|        return codegen_compare(c, e);
 5560|      2|    case Call_kind:
  ------------------
  |  Branch (5560:5): [True: 2, False: 17]
  ------------------
 5561|      2|        return codegen_call(c, e);
 5562|      0|    case Constant_kind:
  ------------------
  |  Branch (5562:5): [True: 0, False: 19]
  ------------------
 5563|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5564|      0|        break;
 5565|      0|    case JoinedStr_kind:
  ------------------
  |  Branch (5565:5): [True: 0, False: 19]
  ------------------
 5566|      0|        return codegen_joined_str(c, e);
 5567|      0|    case TemplateStr_kind:
  ------------------
  |  Branch (5567:5): [True: 0, False: 19]
  ------------------
 5568|      0|        return codegen_template_str(c, e);
 5569|      0|    case FormattedValue_kind:
  ------------------
  |  Branch (5569:5): [True: 0, False: 19]
  ------------------
 5570|      0|        return codegen_formatted_value(c, e);
 5571|      0|    case Interpolation_kind:
  ------------------
  |  Branch (5571:5): [True: 0, False: 19]
  ------------------
 5572|      0|        return codegen_interpolation(c, e);
 5573|       |    /* The following exprs can be assignment targets. */
 5574|      0|    case Attribute_kind:
  ------------------
  |  Branch (5574:5): [True: 0, False: 19]
  ------------------
 5575|      0|        if (e->v.Attribute.ctx == Load) {
  ------------------
  |  Branch (5575:13): [True: 0, False: 0]
  ------------------
 5576|      0|            int ret = can_optimize_super_call(c, e);
 5577|      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]
  |  |  ------------------
  ------------------
 5578|      0|            if (ret) {
  ------------------
  |  Branch (5578:17): [True: 0, False: 0]
  ------------------
 5579|      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]
  |  |  ------------------
  ------------------
 5580|      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))
  |  |  ------------------
  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:26): [True: 0, False: 0]
  |  |  |  |  |  Branch (302:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5581|      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
  ------------------
 5582|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5583|      0|                loc = update_start_location_to_match_attr(c, loc, e);
 5584|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5585|      0|                return SUCCESS;
  ------------------
  |  |   47|      0|#define SUCCESS 0
  ------------------
 5586|      0|            }
 5587|      0|        }
 5588|      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]
  |  |  ------------------
  ------------------
 5589|      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 }
  |  |  ------------------
  ------------------
 5590|      0|        loc = update_start_location_to_match_attr(c, loc, e);
 5591|      0|        switch (e->v.Attribute.ctx) {
  ------------------
  |  Branch (5591:17): [True: 0, False: 0]
  ------------------
 5592|      0|        case Load:
  ------------------
  |  Branch (5592:9): [True: 0, False: 0]
  ------------------
 5593|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5594|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5595|      0|            break;
 5596|      0|        case Store:
  ------------------
  |  Branch (5596:9): [True: 0, False: 0]
  ------------------
 5597|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5598|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5599|      0|            break;
 5600|      0|        case Del:
  ------------------
  |  Branch (5600:9): [True: 0, False: 0]
  ------------------
 5601|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5602|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5603|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5604|      0|            break;
 5605|      0|        }
 5606|      0|        break;
 5607|      0|    case Subscript_kind:
  ------------------
  |  Branch (5607:5): [True: 0, False: 19]
  ------------------
 5608|      0|        return codegen_subscript(c, e);
 5609|      0|    case Starred_kind:
  ------------------
  |  Branch (5609:5): [True: 0, False: 19]
  ------------------
 5610|      0|        switch (e->v.Starred.ctx) {
 5611|      0|        case Store:
  ------------------
  |  Branch (5611:9): [True: 0, False: 0]
  ------------------
 5612|       |            /* In all legitimate cases, the Starred node was already replaced
 5613|       |             * by codegen_list/codegen_tuple. XXX: is that okay? */
 5614|      0|            return _PyCompile_Error(c, loc,
 5615|      0|                "starred assignment target must be in a list or tuple");
 5616|      0|        default:
  ------------------
  |  Branch (5616:9): [True: 0, False: 0]
  ------------------
 5617|      0|            return _PyCompile_Error(c, loc,
 5618|      0|                "can't use starred expression here");
 5619|      0|        }
 5620|      0|        break;
 5621|      0|    case Slice_kind:
  ------------------
  |  Branch (5621:5): [True: 0, False: 19]
  ------------------
 5622|      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]
  |  |  ------------------
  ------------------
 5623|      0|        break;
 5624|     13|    case Name_kind:
  ------------------
  |  Branch (5624:5): [True: 13, False: 6]
  ------------------
 5625|     13|        return codegen_nameop(c, loc, e->v.Name.id, e->v.Name.ctx);
 5626|       |    /* child nodes of List and Tuple will have expr_context set */
 5627|      0|    case List_kind:
  ------------------
  |  Branch (5627:5): [True: 0, False: 19]
  ------------------
 5628|      0|        return codegen_list(c, e);
 5629|      2|    case Tuple_kind:
  ------------------
  |  Branch (5629:5): [True: 2, False: 17]
  ------------------
 5630|      2|        return codegen_tuple(c, e);
 5631|     19|    }
 5632|      0|    return SUCCESS;
  ------------------
  |  |   47|      0|#define SUCCESS 0
  ------------------
 5633|     19|}
codegen.c:codegen_lambda:
 2092|      2|{
 2093|      2|    PyCodeObject *co;
 2094|      2|    Py_ssize_t funcflags;
 2095|      2|    arguments_ty args = e->v.Lambda.args;
 2096|      2|    assert(e->kind == Lambda_kind);
  ------------------
  |  Branch (2096:5): [True: 2, False: 0]
  ------------------
 2097|       |
 2098|      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 }
  |  |  ------------------
  ------------------
 2099|      2|    funcflags = codegen_default_arguments(c, loc, args);
 2100|      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]
  |  |  ------------------
  ------------------
 2101|       |
 2102|      2|    _PyCompile_CodeUnitMetadata umd = {
 2103|      2|        .u_argcount = asdl_seq_LEN(args->args),
  ------------------
  |  |   83|      2|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  302|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2104|      2|        .u_posonlyargcount = asdl_seq_LEN(args->posonlyargs),
  ------------------
  |  |   83|      2|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  302|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2105|      2|        .u_kwonlyargcount = asdl_seq_LEN(args->kwonlyargs),
  ------------------
  |  |   83|      2|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  302|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2106|      2|    };
 2107|      2|    _Py_DECLARE_STR(anon_lambda, "<lambda>");
 2108|      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]
  |  |  ------------------
  ------------------
 2109|      2|        codegen_enter_scope(c, &_Py_STR(anon_lambda), COMPILE_SCOPE_LAMBDA,
 2110|      2|                            (void *)e, e->lineno, NULL, &umd));
 2111|       |
 2112|      2|    assert(!SYMTABLE_ENTRY(c)->ste_has_docstring);
  ------------------
  |  Branch (2112:5): [True: 2, False: 0]
  ------------------
 2113|       |
 2114|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2115|      2|    if (SYMTABLE_ENTRY(c)->ste_generator) {
  ------------------
  |  |   71|      2|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  |  Branch (2115:9): [True: 0, False: 2]
  ------------------
 2116|      0|        co = _PyCompile_OptimizeAndAssemble(c, 0);
 2117|      0|    }
 2118|      2|    else {
 2119|      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 }
  |  |  ------------------
  ------------------
 2120|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2121|      2|        co = _PyCompile_OptimizeAndAssemble(c, 1);
 2122|      2|    }
 2123|      2|    _PyCompile_ExitScope(c);
 2124|      2|    if (co == NULL) {
  ------------------
  |  Branch (2124:9): [True: 0, False: 2]
  ------------------
 2125|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 2126|      0|    }
 2127|       |
 2128|      2|    int ret = codegen_make_closure(c, loc, co, funcflags);
 2129|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2130|      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]
  |  |  ------------------
  ------------------
 2131|      2|    return SUCCESS;
  ------------------
  |  |   47|      2|#define SUCCESS 0
  ------------------
 2132|      2|}
codegen.c:starunpack_helper:
 3547|      2|{
 3548|       |    return starunpack_helper_impl(c, loc, elts, NULL, pushed,
 3549|      2|                                  build, add, extend, tuple);
 3550|      2|}
codegen.c:codegen_call:
 4249|      2|{
 4250|      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]
  |  |  ------------------
  ------------------
 4251|      2|    int ret = maybe_optimize_method_call(c, e);
 4252|      2|    if (ret < 0) {
  ------------------
  |  Branch (4252:9): [True: 0, False: 2]
  ------------------
 4253|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 4254|      0|    }
 4255|      2|    if (ret == 1) {
  ------------------
  |  Branch (4255:9): [True: 0, False: 2]
  ------------------
 4256|      0|        return SUCCESS;
  ------------------
  |  |   47|      0|#define SUCCESS 0
  ------------------
 4257|      0|    }
 4258|      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|    }
  ------------------
 4259|      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]
  |  |  ------------------
  ------------------
 4260|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4261|      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]
  |  |  ------------------
  ------------------
 4262|      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 }
  |  |  ------------------
  ------------------
 4263|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4264|      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 }
  |  |  ------------------
  ------------------
 4265|      2|    ret = codegen_call_helper(c, loc, 0,
 4266|      2|                              e->v.Call.args,
 4267|      2|                              e->v.Call.keywords);
 4268|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4269|      2|    return ret;
 4270|      2|}
codegen.c:maybe_optimize_method_call:
 4155|      2|{
 4156|      2|    Py_ssize_t argsl, i, kwdsl;
 4157|      2|    expr_ty meth = e->v.Call.func;
 4158|      2|    asdl_expr_seq *args = e->v.Call.args;
 4159|      2|    asdl_keyword_seq *kwds = e->v.Call.keywords;
 4160|       |
 4161|       |    /* Check that the call node is an attribute access */
 4162|      2|    if (meth->kind != Attribute_kind || meth->v.Attribute.ctx != Load) {
  ------------------
  |  Branch (4162:9): [True: 2, False: 0]
  |  Branch (4162:41): [True: 0, False: 0]
  ------------------
 4163|      2|        return 0;
 4164|      2|    }
 4165|       |
 4166|       |    /* Check that the base object is not something that is imported */
 4167|      0|    int ret = is_import_originated(c, meth->v.Attribute.value);
 4168|      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]
  |  |  ------------------
  ------------------
 4169|      0|    if (ret) {
  ------------------
  |  Branch (4169:9): [True: 0, False: 0]
  ------------------
 4170|      0|        return 0;
 4171|      0|    }
 4172|       |
 4173|       |    /* Check that there aren't too many arguments */
 4174|      0|    argsl = asdl_seq_LEN(args);
  ------------------
  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4175|      0|    kwdsl = asdl_seq_LEN(kwds);
  ------------------
  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4176|      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 (4176:9): [True: 0, False: 0]
  ------------------
 4177|      0|        return 0;
 4178|      0|    }
 4179|       |    /* Check that there are no *varargs types of arguments. */
 4180|      0|    for (i = 0; i < argsl; i++) {
  ------------------
  |  Branch (4180:17): [True: 0, False: 0]
  ------------------
 4181|      0|        expr_ty elt = asdl_seq_GET(args, i);
  ------------------
  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4182|      0|        if (elt->kind == Starred_kind) {
  ------------------
  |  Branch (4182:13): [True: 0, False: 0]
  ------------------
 4183|      0|            return 0;
 4184|      0|        }
 4185|      0|    }
 4186|       |
 4187|      0|    for (i = 0; i < kwdsl; i++) {
  ------------------
  |  Branch (4187:17): [True: 0, False: 0]
  ------------------
 4188|      0|        keyword_ty kw = asdl_seq_GET(kwds, i);
  ------------------
  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4189|      0|        if (kw->arg == NULL) {
  ------------------
  |  Branch (4189:13): [True: 0, False: 0]
  ------------------
 4190|      0|            return 0;
 4191|      0|        }
 4192|      0|    }
 4193|       |
 4194|       |    /* Alright, we can optimize the code. */
 4195|      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 }
  |  |  ------------------
  ------------------
 4196|       |
 4197|      0|    ret = can_optimize_super_call(c, meth);
 4198|      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]
  |  |  ------------------
  ------------------
 4199|      0|    if (ret) {
  ------------------
  |  Branch (4199:9): [True: 0, False: 0]
  ------------------
 4200|      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]
  |  |  ------------------
  ------------------
 4201|      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))
  |  |  ------------------
  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:26): [True: 0, False: 0]
  |  |  |  |  |  Branch (302:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4202|      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
  ------------------
 4203|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4204|      0|        loc = update_start_location_to_match_attr(c, loc, meth);
 4205|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4206|      0|    } else {
 4207|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4208|      0|        loc = update_start_location_to_match_attr(c, loc, meth);
 4209|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4210|      0|    }
 4211|       |
 4212|      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))
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (302: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)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      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|       |
 4214|      0|    if (kwdsl) {
  ------------------
  |  Branch (4214:9): [True: 0, False: 0]
  ------------------
 4215|      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))
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (302: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)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      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]
  |  |  ------------------
  ------------------
 4216|      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]
  |  |  ------------------
  ------------------
 4217|      0|            codegen_call_simple_kw_helper(c, loc, kwds, kwdsl));
 4218|      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 }
  |  |  ------------------
  ------------------
 4219|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4220|      0|    }
 4221|      0|    else {
 4222|      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 }
  |  |  ------------------
  ------------------
 4223|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4224|      0|    }
 4225|      0|    return 1;
 4226|      0|}
codegen.c:check_caller:
 3788|      2|{
 3789|      2|    switch (e->kind) {
 3790|      0|    case Constant_kind:
  ------------------
  |  Branch (3790:5): [True: 0, False: 2]
  ------------------
 3791|      0|    case Tuple_kind:
  ------------------
  |  Branch (3791:5): [True: 0, False: 2]
  ------------------
 3792|      0|    case List_kind:
  ------------------
  |  Branch (3792:5): [True: 0, False: 2]
  ------------------
 3793|      0|    case ListComp_kind:
  ------------------
  |  Branch (3793:5): [True: 0, False: 2]
  ------------------
 3794|      0|    case Dict_kind:
  ------------------
  |  Branch (3794:5): [True: 0, False: 2]
  ------------------
 3795|      0|    case DictComp_kind:
  ------------------
  |  Branch (3795:5): [True: 0, False: 2]
  ------------------
 3796|      0|    case Set_kind:
  ------------------
  |  Branch (3796:5): [True: 0, False: 2]
  ------------------
 3797|      0|    case SetComp_kind:
  ------------------
  |  Branch (3797:5): [True: 0, False: 2]
  ------------------
 3798|      0|    case GeneratorExp_kind:
  ------------------
  |  Branch (3798:5): [True: 0, False: 2]
  ------------------
 3799|      0|    case JoinedStr_kind:
  ------------------
  |  Branch (3799:5): [True: 0, False: 2]
  ------------------
 3800|      0|    case TemplateStr_kind:
  ------------------
  |  Branch (3800:5): [True: 0, False: 2]
  ------------------
 3801|      0|    case FormattedValue_kind:
  ------------------
  |  Branch (3801:5): [True: 0, False: 2]
  ------------------
 3802|      0|    case Interpolation_kind: {
  ------------------
  |  Branch (3802:5): [True: 0, False: 2]
  ------------------
 3803|      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 }
  |  |  ------------------
  ------------------
 3804|      0|        return _PyCompile_Warn(c, loc, "'%.200s' object is not callable; "
 3805|      0|                                       "perhaps you missed a comma?",
 3806|      0|                                       infer_type(e)->tp_name);
 3807|      0|    }
 3808|      2|    default:
  ------------------
  |  Branch (3808:5): [True: 2, False: 0]
  ------------------
 3809|      2|        return SUCCESS;
  ------------------
  |  |   47|      2|#define SUCCESS 0
  ------------------
 3810|      2|    }
 3811|      2|}
codegen.c:maybe_optimize_function_call:
 4013|      2|{
 4014|      2|    asdl_expr_seq *args = e->v.Call.args;
 4015|      2|    asdl_keyword_seq *kwds = e->v.Call.keywords;
 4016|      2|    expr_ty func = e->v.Call.func;
 4017|       |
 4018|      2|    if (! (func->kind == Name_kind &&
  ------------------
  |  Branch (4018:12): [True: 2, False: 0]
  ------------------
 4019|      2|           asdl_seq_LEN(args) == 1 &&
  ------------------
  |  |   83|      2|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  302|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4019:12): [True: 0, False: 2]
  ------------------
 4020|      0|           asdl_seq_LEN(kwds) == 0))
  ------------------
  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4020:12): [True: 0, False: 0]
  ------------------
 4021|      2|    {
 4022|      2|        return 0;
 4023|      2|    }
 4024|       |
 4025|      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 }
  |  |  ------------------
  ------------------
 4026|       |
 4027|      0|    expr_ty arg_expr = asdl_seq_GET(args, 0);
  ------------------
  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4028|       |
 4029|      0|    if (_PyUnicode_EqualToASCIIString(func->v.Name.id, "frozenset")
  ------------------
  |  Branch (4029:9): [True: 0, False: 0]
  ------------------
 4030|      0|        && (arg_expr->kind == Set_kind || arg_expr->kind == SetComp_kind)) {
  ------------------
  |  Branch (4030:13): [True: 0, False: 0]
  |  Branch (4030:43): [True: 0, False: 0]
  ------------------
 4031|      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|    }
  ------------------
 4032|       |
 4033|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4034|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4035|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4036|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4037|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4038|       |
 4039|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4040|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4041|       |
 4042|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4043|       |
 4044|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4045|      0|        return 1;
 4046|      0|    }
 4047|       |
 4048|      0|    if (arg_expr->kind != GeneratorExp_kind) {
  ------------------
  |  Branch (4048:9): [True: 0, False: 0]
  ------------------
 4049|      0|        return 0;
 4050|      0|    }
 4051|       |
 4052|      0|    PySTEntryObject *generator_entry = _PySymtable_Lookup(SYMTABLE(c), (void *)arg_expr);
  ------------------
  |  |   70|      0|#define SYMTABLE(C) _PyCompile_Symtable(C)
  ------------------
 4053|      0|    if (generator_entry->ste_coroutine) {
  ------------------
  |  Branch (4053:9): [True: 0, False: 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|      0|        return 0;
 4056|      0|    }
 4057|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4058|       |
 4059|      0|    int optimized = 0;
 4060|      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|    }
  ------------------
 4061|       |
 4062|      0|    int const_oparg = -1;
 4063|      0|    PyObject *initial_res = NULL;
 4064|      0|    int continue_jump_opcode = -1;
 4065|      0|    if (_PyUnicode_EqualToASCIIString(func->v.Name.id, "all")) {
  ------------------
  |  Branch (4065:9): [True: 0, False: 0]
  ------------------
 4066|      0|        const_oparg = CONSTANT_BUILTIN_ALL;
  ------------------
  |  |   74|      0|#define CONSTANT_BUILTIN_ALL 3
  ------------------
 4067|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4068|      0|        continue_jump_opcode = POP_JUMP_IF_TRUE;
  ------------------
  |  |  112|      0|#define POP_JUMP_IF_TRUE                        99
  ------------------
 4069|      0|    }
 4070|      0|    else if (_PyUnicode_EqualToASCIIString(func->v.Name.id, "any")) {
  ------------------
  |  Branch (4070:14): [True: 0, False: 0]
  ------------------
 4071|      0|        const_oparg = CONSTANT_BUILTIN_ANY;
  ------------------
  |  |   75|      0|#define CONSTANT_BUILTIN_ANY 4
  ------------------
 4072|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4073|      0|        continue_jump_opcode = POP_JUMP_IF_FALSE;
  ------------------
  |  |  109|      0|#define POP_JUMP_IF_FALSE                       96
  ------------------
 4074|      0|    }
 4075|      0|    else if (_PyUnicode_EqualToASCIIString(func->v.Name.id, "tuple")) {
  ------------------
  |  Branch (4075:14): [True: 0, False: 0]
  ------------------
 4076|      0|        const_oparg = CONSTANT_BUILTIN_TUPLE;
  ------------------
  |  |   73|      0|#define CONSTANT_BUILTIN_TUPLE 2
  ------------------
 4077|      0|    }
 4078|      0|    else if (_PyUnicode_EqualToASCIIString(func->v.Name.id, "list")) {
  ------------------
  |  Branch (4078:14): [True: 0, False: 0]
  ------------------
 4079|      0|        const_oparg = CONSTANT_BUILTIN_LIST;
  ------------------
  |  |   76|      0|#define CONSTANT_BUILTIN_LIST 5
  ------------------
 4080|      0|    }
 4081|      0|    else if (_PyUnicode_EqualToASCIIString(func->v.Name.id, "set")) {
  ------------------
  |  Branch (4081:14): [True: 0, False: 0]
  ------------------
 4082|      0|        const_oparg = CONSTANT_BUILTIN_SET;
  ------------------
  |  |   77|      0|#define CONSTANT_BUILTIN_SET 6
  ------------------
 4083|      0|    }
 4084|      0|    else if (_PyUnicode_EqualToASCIIString(func->v.Name.id, "frozenset")) {
  ------------------
  |  Branch (4084:14): [True: 0, False: 0]
  ------------------
 4085|      0|        const_oparg = CONSTANT_BUILTIN_FROZENSET;
  ------------------
  |  |   83|      0|#define CONSTANT_BUILTIN_FROZENSET 12
  ------------------
 4086|      0|    }
 4087|      0|    if (const_oparg != -1) {
  ------------------
  |  Branch (4087:9): [True: 0, False: 0]
  ------------------
 4088|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4089|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4090|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4091|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4092|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4093|       |
 4094|      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 (4094:13): [True: 0, False: 0]
  |  Branch (4094:54): [True: 0, False: 0]
  ------------------
 4095|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4096|      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 (4096:20): [True: 0, False: 0]
  |  Branch (4096:59): [True: 0, False: 0]
  ------------------
 4097|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4098|      0|        }
 4099|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4100|       |
 4101|      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|    }
  ------------------
 4102|      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|    }
  ------------------
 4103|       |
 4104|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4105|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4106|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4107|      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 (4107:13): [True: 0, False: 0]
  |  Branch (4107:54): [True: 0, False: 0]
  ------------------
 4108|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 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|        } 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 (4110:20): [True: 0, False: 0]
  |  Branch (4110:59): [True: 0, False: 0]
  ------------------
 4111|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4112|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4113|      0|        }
 4114|      0|        else {
 4115|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4116|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4117|      0|        }
 4118|       |
 4119|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4120|      0|        if (const_oparg != CONSTANT_BUILTIN_TUPLE &&
  ------------------
  |  |   73|      0|#define CONSTANT_BUILTIN_TUPLE 2
  ------------------
  |  Branch (4120:13): [True: 0, False: 0]
  ------------------
 4121|      0|            const_oparg != CONSTANT_BUILTIN_LIST &&
  ------------------
  |  |   76|      0|#define CONSTANT_BUILTIN_LIST 5
  ------------------
  |  Branch (4121:13): [True: 0, False: 0]
  ------------------
 4122|      0|            const_oparg != CONSTANT_BUILTIN_SET &&
  ------------------
  |  |   77|      0|#define CONSTANT_BUILTIN_SET 6
  ------------------
  |  Branch (4122:13): [True: 0, False: 0]
  ------------------
 4123|      0|            const_oparg != CONSTANT_BUILTIN_FROZENSET) {
  ------------------
  |  |   83|      0|#define CONSTANT_BUILTIN_FROZENSET 12
  ------------------
  |  Branch (4123:13): [True: 0, False: 0]
  ------------------
 4124|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4125|      0|        }
 4126|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4127|       |
 4128|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4129|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4130|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4131|      0|        if (const_oparg == CONSTANT_BUILTIN_TUPLE) {
  ------------------
  |  |   73|      0|#define CONSTANT_BUILTIN_TUPLE 2
  ------------------
  |  Branch (4131:13): [True: 0, False: 0]
  ------------------
 4132|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4133|      0|        } else if (const_oparg == CONSTANT_BUILTIN_LIST) {
  ------------------
  |  |   76|      0|#define CONSTANT_BUILTIN_LIST 5
  ------------------
  |  Branch (4133:20): [True: 0, False: 0]
  ------------------
 4134|       |            // result is already a list
 4135|      0|        } else if (const_oparg == CONSTANT_BUILTIN_SET) {
  ------------------
  |  |   77|      0|#define CONSTANT_BUILTIN_SET 6
  ------------------
  |  Branch (4135:20): [True: 0, False: 0]
  ------------------
 4136|       |            // result is already a set
 4137|      0|        }
 4138|      0|        else if (const_oparg == CONSTANT_BUILTIN_FROZENSET) {
  ------------------
  |  |   83|      0|#define CONSTANT_BUILTIN_FROZENSET 12
  ------------------
  |  Branch (4138:18): [True: 0, False: 0]
  ------------------
 4139|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4140|      0|        }
 4141|      0|        else {
 4142|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4143|      0|        }
 4144|       |
 4145|      0|        optimized = 1;
 4146|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4147|      0|    }
 4148|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4149|      0|    return optimized;
 4150|      0|}
codegen.c:codegen_tuple:
 3612|      2|{
 3613|      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 }
  |  |  ------------------
  ------------------
 3614|      2|    asdl_expr_seq *elts = e->v.Tuple.elts;
 3615|      2|    if (e->v.Tuple.ctx == Store) {
  ------------------
  |  Branch (3615:9): [True: 0, False: 2]
  ------------------
 3616|      0|        return assignment_helper(c, loc, elts);
 3617|      0|    }
 3618|      2|    else if (e->v.Tuple.ctx == Load) {
  ------------------
  |  Branch (3618:14): [True: 2, False: 0]
  ------------------
 3619|      2|        return starunpack_helper(c, loc, elts, 0,
 3620|      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
  ------------------
 3621|      2|    }
 3622|      0|    else {
 3623|      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))
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (302: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)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      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]
  |  |  ------------------
  ------------------
 3624|      0|    }
 3625|      0|    return SUCCESS;
  ------------------
  |  |   47|      0|#define SUCCESS 0
  ------------------
 3626|      2|}
codegen.c:codegen_enter_scope:
  691|      4|{
  692|      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]
  |  |  ------------------
  ------------------
  693|      4|        _PyCompile_EnterScope(c, name, scope_type, key, lineno, private, umd));
  694|      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]
  |  |  ------------------
  ------------------
  695|      4|    location loc = LOCATION(lineno, lineno, 0, 0);
  ------------------
  |  |   86|      4|    ((const _Py_SourceLocation){(LNO), (END_LNO), (COL), (END_COL)})
  ------------------
  696|      4|    if (scope_type == COMPILE_SCOPE_MODULE) {
  ------------------
  |  Branch (696:9): [True: 2, False: 2]
  ------------------
  697|      2|        loc.lineno = 0;
  698|      2|    }
  699|       |    /* Add the generator prefix instructions. */
  700|       |
  701|      4|    PySTEntryObject *ste = SYMTABLE_ENTRY(c);
  ------------------
  |  |   71|      4|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  702|      4|    if (ste->ste_coroutine || ste->ste_generator) {
  ------------------
  |  Branch (702:9): [True: 0, False: 4]
  |  Branch (702:31): [True: 0, False: 4]
  ------------------
  703|       |        /* Note that RETURN_GENERATOR + POP_TOP have a net stack effect
  704|       |         * of 0. This is because RETURN_GENERATOR pushes the generator
  705|       |         before returning. */
  706|      0|        location loc = LOCATION(lineno, lineno, -1, -1);
  ------------------
  |  |   86|      0|    ((const _Py_SourceLocation){(LNO), (END_LNO), (COL), (END_COL)})
  ------------------
  707|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  708|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  709|      0|    }
  710|       |
  711|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  712|      4|    if (scope_type == COMPILE_SCOPE_MODULE) {
  ------------------
  |  Branch (712:9): [True: 2, False: 2]
  ------------------
  713|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  714|      2|    }
  715|      4|    return SUCCESS;
  ------------------
  |  |   47|      4|#define SUCCESS 0
  ------------------
  716|      4|}
codegen.c:codegen_visit_expr:
 5637|     19|{
 5638|       |    return codegen_visit_expr_impl(c, e, false);
 5639|     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);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _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));
  ------------------
  |  |  938|      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);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _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);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _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('.'));
  ------------------
  |  |  940|      0|    ((CH) < 128 \
  |  |  ------------------
  |  |  |  Branch (940:6): [True: 0, Folded]
  |  |  ------------------
  |  |  941|      0|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  942|      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);
  ------------------
  |  |  550|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  332|      2|    }
  333|      2|    u->u_metadata.u_qualname = name;
  334|       |
  335|      2|    return SUCCESS;
  ------------------
  |  |   36|      2|#define SUCCESS 0
  ------------------
  336|      2|}
_PyCompile_DictAddObj:
  461|     17|{
  462|     17|    PyObject *v;
  463|     17|    Py_ssize_t arg;
  464|       |
  465|     17|    if (PyDict_GetItemRef(dict, o, &v) < 0) {
  ------------------
  |  Branch (465:9): [True: 0, False: 17]
  ------------------
  466|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  467|      0|    }
  468|     17|    if (!v) {
  ------------------
  |  Branch (468:9): [True: 6, False: 11]
  ------------------
  469|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  470|      6|        v = PyLong_FromSsize_t(arg);
  471|      6|        if (!v) {
  ------------------
  |  Branch (471:13): [True: 0, False: 6]
  ------------------
  472|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  473|      0|        }
  474|      6|        if (PyDict_SetItem(dict, o, v) < 0) {
  ------------------
  |  Branch (474:13): [True: 0, False: 6]
  ------------------
  475|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  476|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  477|      0|        }
  478|      6|    }
  479|     11|    else
  480|     11|        arg = PyLong_AsLong(v);
  481|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  482|     17|    return arg;
  483|     17|}
_PyCompile_AddConst:
  487|      4|{
  488|      4|    PyObject *key = merge_consts_recursive(c->c_const_cache, o);
  489|      4|    if (key == NULL) {
  ------------------
  |  Branch (489:9): [True: 0, False: 4]
  ------------------
  490|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  491|      0|    }
  492|       |
  493|      4|    Py_ssize_t arg = _PyCompile_DictAddObj(c->u->u_metadata.u_consts, key);
  494|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  495|      4|    return arg;
  496|      4|}
_PyCompile_EnterScope:
  671|      4|{
  672|      4|    struct compiler_unit *u;
  673|      4|    u = (struct compiler_unit *)PyMem_Calloc(1, sizeof(struct compiler_unit));
  674|      4|    if (!u) {
  ------------------
  |  Branch (674:9): [True: 0, False: 4]
  ------------------
  675|      0|        PyErr_NoMemory();
  676|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  677|      0|    }
  678|      4|    u->u_scope_type = scope_type;
  679|      4|    if (umd != NULL) {
  ------------------
  |  Branch (679:9): [True: 2, False: 2]
  ------------------
  680|      2|        u->u_metadata = *umd;
  681|      2|    }
  682|      2|    else {
  683|      2|        u->u_metadata.u_argcount = 0;
  684|      2|        u->u_metadata.u_posonlyargcount = 0;
  685|      2|        u->u_metadata.u_kwonlyargcount = 0;
  686|      2|    }
  687|      4|    u->u_ste = _PySymtable_Lookup(c->c_st, key);
  688|      4|    if (!u->u_ste) {
  ------------------
  |  Branch (688:9): [True: 0, False: 4]
  ------------------
  689|      0|        compiler_unit_free(u);
  690|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  691|      0|    }
  692|      4|    u->u_metadata.u_name = Py_NewRef(name);
  ------------------
  |  |  550|      4|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  693|      4|    u->u_metadata.u_varnames = list2dict(u->u_ste->ste_varnames);
  694|      4|    if (!u->u_metadata.u_varnames) {
  ------------------
  |  Branch (694:9): [True: 0, False: 4]
  ------------------
  695|      0|        compiler_unit_free(u);
  696|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  697|      0|    }
  698|      4|    u->u_metadata.u_cellvars = compiler_cellvars(u->u_ste);
  699|      4|    if (!u->u_metadata.u_cellvars) {
  ------------------
  |  Branch (699:9): [True: 0, False: 4]
  ------------------
  700|      0|        compiler_unit_free(u);
  701|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  702|      0|    }
  703|      4|    if (u->u_ste->ste_needs_class_closure) {
  ------------------
  |  Branch (703:9): [True: 0, False: 4]
  ------------------
  704|       |        /* Cook up an implicit __class__ cell. */
  705|      0|        Py_ssize_t res;
  706|      0|        assert(u->u_scope_type == COMPILE_SCOPE_CLASS);
  ------------------
  |  Branch (706:9): [True: 0, False: 0]
  ------------------
  707|      0|        res = _PyCompile_DictAddObj(u->u_metadata.u_cellvars, &_Py_ID(__class__));
  ------------------
  |  |  936|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  708|      0|        if (res < 0) {
  ------------------
  |  Branch (708:13): [True: 0, False: 0]
  ------------------
  709|      0|            compiler_unit_free(u);
  710|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  711|      0|        }
  712|      0|    }
  713|      4|    if (u->u_ste->ste_needs_classdict) {
  ------------------
  |  Branch (713:9): [True: 0, False: 4]
  ------------------
  714|       |        /* Cook up an implicit __classdict__ cell. */
  715|      0|        Py_ssize_t res;
  716|      0|        assert(u->u_scope_type == COMPILE_SCOPE_CLASS);
  ------------------
  |  Branch (716:9): [True: 0, False: 0]
  ------------------
  717|      0|        res = _PyCompile_DictAddObj(u->u_metadata.u_cellvars, &_Py_ID(__classdict__));
  ------------------
  |  |  936|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  718|      0|        if (res < 0) {
  ------------------
  |  Branch (718:13): [True: 0, False: 0]
  ------------------
  719|      0|            compiler_unit_free(u);
  720|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  721|      0|        }
  722|      0|    }
  723|      4|    if (u->u_ste->ste_has_conditional_annotations) {
  ------------------
  |  Branch (723:9): [True: 0, False: 4]
  ------------------
  724|       |        /* Cook up an implicit __conditional_annotations__ cell */
  725|      0|        Py_ssize_t res;
  726|      0|        assert(u->u_scope_type == COMPILE_SCOPE_CLASS || u->u_scope_type == COMPILE_SCOPE_MODULE);
  ------------------
  |  Branch (726:9): [True: 0, False: 0]
  |  Branch (726:9): [True: 0, False: 0]
  ------------------
  727|      0|        res = _PyCompile_DictAddObj(u->u_metadata.u_cellvars, &_Py_ID(__conditional_annotations__));
  ------------------
  |  |  936|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  728|      0|        if (res < 0) {
  ------------------
  |  Branch (728:13): [True: 0, False: 0]
  ------------------
  729|      0|            compiler_unit_free(u);
  730|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  731|      0|        }
  732|      0|    }
  733|       |
  734|      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 */
  ------------------
  735|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  736|      4|    if (!u->u_metadata.u_freevars) {
  ------------------
  |  Branch (736:9): [True: 0, False: 4]
  ------------------
  737|      0|        compiler_unit_free(u);
  738|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  739|      0|    }
  740|       |
  741|      4|    if (scope_type == COMPILE_SCOPE_MODULE || scope_type == COMPILE_SCOPE_CLASS) {
  ------------------
  |  Branch (741:9): [True: 2, False: 2]
  |  Branch (741:47): [True: 0, False: 2]
  ------------------
  742|      2|        u->u_metadata.u_fasthidden = PySet_New(NULL);
  743|      2|        if (!u->u_metadata.u_fasthidden) {
  ------------------
  |  Branch (743:13): [True: 0, False: 2]
  ------------------
  744|      0|            compiler_unit_free(u);
  745|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  746|      0|        }
  747|      2|    }
  748|      2|    else {
  749|      2|        u->u_metadata.u_fasthidden = NULL;
  750|      2|    }
  751|       |
  752|      4|    u->u_nfblocks = 0;
  753|      4|    u->u_metadata.u_firstlineno = lineno;
  754|      4|    u->u_metadata.u_consts = PyDict_New();
  755|      4|    if (!u->u_metadata.u_consts) {
  ------------------
  |  Branch (755:9): [True: 0, False: 4]
  ------------------
  756|      0|        compiler_unit_free(u);
  757|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  758|      0|    }
  759|      4|    u->u_metadata.u_names = PyDict_New();
  760|      4|    if (!u->u_metadata.u_names) {
  ------------------
  |  Branch (760:9): [True: 0, False: 4]
  ------------------
  761|      0|        compiler_unit_free(u);
  762|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  763|      0|    }
  764|       |
  765|      4|    u->u_deferred_annotations = NULL;
  766|      4|    u->u_conditional_annotation_indices = NULL;
  767|      4|    u->u_next_conditional_annotation_index = 0;
  768|      4|    if (scope_type == COMPILE_SCOPE_CLASS) {
  ------------------
  |  Branch (768:9): [True: 0, False: 4]
  ------------------
  769|      0|        u->u_static_attributes = PySet_New(0);
  770|      0|        if (!u->u_static_attributes) {
  ------------------
  |  Branch (770:13): [True: 0, False: 0]
  ------------------
  771|      0|            compiler_unit_free(u);
  772|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  773|      0|        }
  774|      0|    }
  775|      4|    else {
  776|      4|        u->u_static_attributes = NULL;
  777|      4|    }
  778|       |
  779|      4|    u->u_instr_sequence = (instr_sequence*)_PyInstructionSequence_New();
  780|      4|    if (!u->u_instr_sequence) {
  ------------------
  |  Branch (780:9): [True: 0, False: 4]
  ------------------
  781|      0|        compiler_unit_free(u);
  782|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  783|      0|    }
  784|      4|    u->u_stashed_instr_sequence = NULL;
  785|       |
  786|       |    /* Push the old compiler_unit on the stack. */
  787|      4|    if (c->u) {
  ------------------
  |  Branch (787:9): [True: 2, False: 2]
  ------------------
  788|      2|        PyObject *capsule = PyCapsule_New(c->u, CAPSULE_NAME, NULL);
  ------------------
  |  |  207|      2|#define CAPSULE_NAME "compile.c compiler unit"
  ------------------
  789|      2|        if (!capsule || PyList_Append(c->c_stack, capsule) < 0) {
  ------------------
  |  Branch (789:13): [True: 0, False: 2]
  |  Branch (789:25): [True: 0, False: 2]
  ------------------
  790|      0|            Py_XDECREF(capsule);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  791|      0|            compiler_unit_free(u);
  792|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  793|      0|        }
  794|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  795|      2|        if (private == NULL) {
  ------------------
  |  Branch (795:13): [True: 2, False: 0]
  ------------------
  796|      2|            private = c->u->u_private;
  797|      2|        }
  798|      2|    }
  799|       |
  800|      4|    u->u_private = Py_XNewRef(private);
  ------------------
  |  |  551|      4|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  801|       |
  802|      4|    c->u = u;
  803|      4|    return SUCCESS;
  ------------------
  |  |   36|      4|#define SUCCESS 0
  ------------------
  804|      4|}
_PyCompile_ExitScope:
  808|      4|{
  809|       |    // Don't call PySequence_DelItem() with an exception raised
  810|      4|    PyObject *exc = PyErr_GetRaisedException();
  811|       |
  812|      4|    instr_sequence *nested_seq = NULL;
  813|      4|    if (c->c_save_nested_seqs) {
  ------------------
  |  Branch (813:9): [True: 0, False: 4]
  ------------------
  814|      0|        nested_seq = c->u->u_instr_sequence;
  815|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  816|      0|    }
  817|      4|    compiler_unit_free(c->u);
  818|       |    /* Restore c->u to the parent unit. */
  819|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  820|      4|    if (n >= 0) {
  ------------------
  |  Branch (820:9): [True: 2, False: 2]
  ------------------
  821|      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 (821:29): [True: 2, False: 0]
  ------------------
  822|      2|        c->u = (struct compiler_unit *)PyCapsule_GetPointer(capsule, CAPSULE_NAME);
  ------------------
  |  |  207|      2|#define CAPSULE_NAME "compile.c compiler unit"
  ------------------
  823|      2|        assert(c->u);
  ------------------
  |  Branch (823:9): [True: 2, False: 0]
  ------------------
  824|       |        /* we are deleting from a list so this really shouldn't fail */
  825|      2|        if (PySequence_DelItem(c->c_stack, n) < 0) {
  ------------------
  |  Branch (825:13): [True: 0, False: 2]
  ------------------
  826|      0|            PyErr_FormatUnraisable("Exception ignored while removing "
  827|      0|                                   "the last compiler stack item");
  828|      0|        }
  829|      2|        if (nested_seq != NULL) {
  ------------------
  |  Branch (829:13): [True: 0, False: 2]
  ------------------
  830|      0|            if (_PyInstructionSequence_AddNested(c->u->u_instr_sequence, nested_seq) < 0) {
  ------------------
  |  Branch (830:17): [True: 0, False: 0]
  ------------------
  831|      0|                PyErr_FormatUnraisable("Exception ignored while appending "
  832|      0|                                       "nested instruction sequence");
  833|      0|            }
  834|      0|        }
  835|      2|    }
  836|      2|    else {
  837|      2|        c->u = NULL;
  838|      2|    }
  839|      4|    Py_XDECREF(nested_seq);
  ------------------
  |  |  524|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  840|       |
  841|      4|    PyErr_SetRaisedException(exc);
  842|      4|}
_PyCompile_ResolveNameop:
 1113|     13|{
 1114|     13|    PyObject *dict = c->u->u_metadata.u_names;
 1115|     13|    *optype = COMPILE_OP_NAME;
 1116|       |
 1117|     13|    PySTEntryObject *ste = c->u->u_ste;
 1118|     13|    assert(ste != NULL);
  ------------------
  |  Branch (1118:5): [True: 13, False: 0]
  ------------------
 1119|       |
 1120|     13|    int scope = compiler_resolve_inlined_free(&ste, mangled);
 1121|     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]
  |  |  ------------------
  ------------------
 1122|       |
 1123|     13|    switch (scope) {
 1124|      0|    case FREE:
  ------------------
  |  |  194|      0|#define FREE 4
  ------------------
  |  Branch (1124:5): [True: 0, False: 13]
  ------------------
 1125|      0|        dict = c->u->u_metadata.u_freevars;
 1126|      0|        *optype = COMPILE_OP_DEREF;
 1127|      0|        break;
 1128|      0|    case CELL:
  ------------------
  |  |  195|      0|#define CELL 5
  ------------------
  |  Branch (1128:5): [True: 0, False: 13]
  ------------------
 1129|      0|        dict = c->u->u_metadata.u_cellvars;
 1130|      0|        *optype = COMPILE_OP_DEREF;
 1131|      0|        break;
 1132|     11|    case LOCAL:
  ------------------
  |  |  191|     11|#define LOCAL 1
  ------------------
  |  Branch (1132:5): [True: 11, False: 2]
  ------------------
 1133|       |        /* Inlined comprehensions isolate their locals as FAST, even when
 1134|       |         * nested in class or module scope. */
 1135|     11|        if (_PyST_IsFunctionLike(ste) || ste->ste_type == InlinedComprehensionBlock) {
  ------------------
  |  Branch (1135:13): [True: 11, False: 0]
  |  Branch (1135:42): [True: 0, False: 0]
  ------------------
 1136|     11|            *optype = COMPILE_OP_FAST;
 1137|     11|        }
 1138|     11|        break;
 1139|      2|    case GLOBAL_IMPLICIT: {
  ------------------
  |  |  193|      2|#define GLOBAL_IMPLICIT 3
  ------------------
  |  Branch (1139:5): [True: 2, False: 11]
  ------------------
 1140|       |        /* Opcode depends on the enclosing non-inlined scope. */
 1141|      2|        PySTEntryObject *enclosing = ste;
 1142|      2|        while (enclosing->ste_parent != NULL) {
  ------------------
  |  Branch (1142:16): [True: 0, False: 2]
  ------------------
 1143|      0|            assert(enclosing->ste_type == InlinedComprehensionBlock);
  ------------------
  |  Branch (1143:13): [True: 0, False: 0]
  ------------------
 1144|      0|            enclosing = enclosing->ste_parent;
 1145|      0|        }
 1146|      2|        if (_PyST_IsFunctionLike(enclosing)) {
  ------------------
  |  Branch (1146:13): [True: 2, False: 0]
  ------------------
 1147|      2|            *optype = COMPILE_OP_GLOBAL;
 1148|      2|        }
 1149|      2|        break;
 1150|      2|    }
 1151|      0|    case GLOBAL_EXPLICIT:
  ------------------
  |  |  192|      0|#define GLOBAL_EXPLICIT 2
  ------------------
  |  Branch (1151:5): [True: 0, False: 13]
  ------------------
 1152|      0|        *optype = COMPILE_OP_GLOBAL;
 1153|      0|        break;
 1154|      0|    default:
  ------------------
  |  Branch (1154:5): [True: 0, False: 13]
  ------------------
 1155|       |        /* scope can be 0 */
 1156|      0|        break;
 1157|     13|    }
 1158|       |    /* XXX Handle __doc__ and the like better */
 1159|     13|    assert(scope || PyUnicode_READ_CHAR(mangled, 0) == '_');
  ------------------
  |  Branch (1159:5): [True: 13, False: 0]
  |  Branch (1159:5): [True: 0, False: 0]
  ------------------
 1160|     13|    if (*optype != COMPILE_OP_FAST) {
  ------------------
  |  Branch (1160:9): [True: 2, False: 11]
  ------------------
 1161|      2|        *arg = _PyCompile_DictAddObj(dict, mangled);
 1162|      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]
  |  |  ------------------
  ------------------
 1163|      2|    }
 1164|     13|    return scope;
 1165|     13|}
_PyCompile_MaybeMangle:
 1298|     13|{
 1299|     13|    return _Py_MaybeMangle(c->u->u_private, c->u->u_ste, name);
 1300|     13|}
_PyCompile_InstrSequence:
 1304|     41|{
 1305|     41|    return c->u->u_instr_sequence;
 1306|     41|}
_PyCompile_SymtableEntry:
 1351|     10|{
 1352|     10|    return c->u->u_ste;
 1353|     10|}
_PyCompile_Metadata:
 1385|     11|{
 1386|     11|    return &c->u->u_metadata;
 1387|     11|}
_PyCompile_ConstCacheMergeOne:
 1392|     24|{
 1393|     24|    PyObject *key = const_cache_insert(const_cache, *obj, false);
 1394|     24|    if (key == NULL) {
  ------------------
  |  Branch (1394:9): [True: 0, False: 24]
  ------------------
 1395|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
 1396|      0|    }
 1397|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1398|     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 (1398:26): [True: 24, False: 0]
  ------------------
 1399|     24|        Py_SETREF(*obj, Py_NewRef(item));
  ------------------
  |  |  354|     24|    do { \
  |  |  355|     24|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|     24|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|     24|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|     24|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|     24|        *_tmp_dst_ptr = (src); \
  |  |  358|     24|        Py_DECREF(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|     24|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 24]
  |  |  ------------------
  ------------------
 1400|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1401|     24|    }
 1402|      0|    else {
 1403|      0|        Py_SETREF(*obj, key);
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1404|      0|    }
 1405|     24|    return SUCCESS;
  ------------------
  |  |   36|     24|#define SUCCESS 0
  ------------------
 1406|     24|}
_PyCompile_OptimizeAndAssemble:
 1515|      4|{
 1516|      4|    struct compiler_unit *u = c->u;
 1517|      4|    PyObject *const_cache = c->c_const_cache;
 1518|      4|    PyObject *filename = c->c_filename;
 1519|       |
 1520|      4|    int code_flags = compute_code_flags(c);
 1521|      4|    assert(code_flags >= 0);
  ------------------
  |  Branch (1521:5): [True: 4, False: 0]
  ------------------
 1522|      4|    if (_PyCodegen_AddReturnAtEnd(c, addNone) < 0) {
  ------------------
  |  Branch (1522:9): [True: 0, False: 4]
  ------------------
 1523|      0|        return NULL;
 1524|      0|    }
 1525|       |
 1526|      4|    return optimize_and_assemble_code_unit(u, const_cache, code_flags, filename);
 1527|      4|}
_PyAST_Compile:
 1532|      2|{
 1533|      2|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (1533:5): [True: 2, False: 0]
  ------------------
 1534|      2|    compiler *c = new_compiler(mod, filename, pflags, optimize, arena, module);
 1535|      2|    if (c == NULL) {
  ------------------
  |  Branch (1535:9): [True: 0, False: 2]
  ------------------
 1536|      0|        return NULL;
 1537|      0|    }
 1538|       |
 1539|      2|    PyCodeObject *co = compiler_mod(c, mod);
 1540|      2|    compiler_free(c);
 1541|      2|    assert(co || PyErr_Occurred());
  ------------------
  |  Branch (1541:5): [True: 2, False: 0]
  |  Branch (1541:5): [True: 0, False: 0]
  ------------------
 1542|      2|    return co;
 1543|      2|}
_PyCompile_AstPreprocess:
 1549|     16|{
 1550|     16|    _PyFutureFeatures future;
 1551|     16|    if (!_PyFuture_FromAST(mod, filename, &future)) {
  ------------------
  |  Branch (1551:9): [True: 0, False: 16]
  ------------------
 1552|      0|        return -1;
 1553|      0|    }
 1554|     16|    int flags = future.ff_features | cf->cf_flags;
 1555|     16|    if (optimize == -1) {
  ------------------
  |  Branch (1555:9): [True: 16, False: 0]
  ------------------
 1556|     16|        optimize = _Py_GetConfig()->optimization_level;
 1557|     16|    }
 1558|     16|    if (!_PyAST_Preprocess(mod, arena, filename, optimize, flags,
  ------------------
  |  Branch (1558:9): [True: 0, False: 16]
  ------------------
 1559|     16|                           no_const_folding, 0, module))
 1560|      0|    {
 1561|      0|        return -1;
 1562|      0|    }
 1563|     16|    return 0;
 1564|     16|}
compile.c:merge_consts_recursive:
  455|      4|{
  456|       |    return const_cache_insert(const_cache, o, true);
  457|      4|}
compile.c:compiler_unit_free:
  188|      4|{
  189|      4|    Py_CLEAR(u->u_instr_sequence);
  ------------------
  |  |  484|      4|    do { \
  |  |  485|      4|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      4|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      4|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 4, False: 0]
  |  |  ------------------
  |  |  488|      4|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      4|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      4|        } \
  |  |  491|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  190|      4|    Py_CLEAR(u->u_stashed_instr_sequence);
  ------------------
  |  |  484|      4|    do { \
  |  |  485|      4|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      4|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      4|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 4]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  191|      4|    Py_CLEAR(u->u_ste);
  ------------------
  |  |  484|      4|    do { \
  |  |  485|      4|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      4|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      4|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 4, False: 0]
  |  |  ------------------
  |  |  488|      4|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      4|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      4|        } \
  |  |  491|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  192|      4|    Py_CLEAR(u->u_metadata.u_name);
  ------------------
  |  |  484|      4|    do { \
  |  |  485|      4|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      4|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      4|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 4, False: 0]
  |  |  ------------------
  |  |  488|      4|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      4|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      4|        } \
  |  |  491|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  193|      4|    Py_CLEAR(u->u_metadata.u_qualname);
  ------------------
  |  |  484|      4|    do { \
  |  |  485|      4|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      4|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      4|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2, False: 2]
  |  |  ------------------
  |  |  488|      2|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      2|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      2|        } \
  |  |  491|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  194|      4|    Py_CLEAR(u->u_metadata.u_consts);
  ------------------
  |  |  484|      4|    do { \
  |  |  485|      4|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      4|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      4|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 4, False: 0]
  |  |  ------------------
  |  |  488|      4|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      4|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      4|        } \
  |  |  491|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  195|      4|    Py_CLEAR(u->u_metadata.u_names);
  ------------------
  |  |  484|      4|    do { \
  |  |  485|      4|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      4|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      4|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 4, False: 0]
  |  |  ------------------
  |  |  488|      4|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      4|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      4|        } \
  |  |  491|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  196|      4|    Py_CLEAR(u->u_metadata.u_varnames);
  ------------------
  |  |  484|      4|    do { \
  |  |  485|      4|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      4|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      4|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 4, False: 0]
  |  |  ------------------
  |  |  488|      4|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      4|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      4|        } \
  |  |  491|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  197|      4|    Py_CLEAR(u->u_metadata.u_freevars);
  ------------------
  |  |  484|      4|    do { \
  |  |  485|      4|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      4|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      4|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 4, False: 0]
  |  |  ------------------
  |  |  488|      4|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      4|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      4|        } \
  |  |  491|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  198|      4|    Py_CLEAR(u->u_metadata.u_cellvars);
  ------------------
  |  |  484|      4|    do { \
  |  |  485|      4|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      4|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      4|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 4, False: 0]
  |  |  ------------------
  |  |  488|      4|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      4|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      4|        } \
  |  |  491|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  199|      4|    Py_CLEAR(u->u_metadata.u_fasthidden);
  ------------------
  |  |  484|      4|    do { \
  |  |  485|      4|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      4|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      4|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2, False: 2]
  |  |  ------------------
  |  |  488|      2|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      2|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      2|        } \
  |  |  491|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  200|      4|    Py_CLEAR(u->u_private);
  ------------------
  |  |  484|      4|    do { \
  |  |  485|      4|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      4|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      4|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 4]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  201|      4|    Py_CLEAR(u->u_static_attributes);
  ------------------
  |  |  484|      4|    do { \
  |  |  485|      4|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      4|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      4|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 4]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  202|      4|    Py_CLEAR(u->u_deferred_annotations);
  ------------------
  |  |  484|      4|    do { \
  |  |  485|      4|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      4|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      4|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 4]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  203|       |    Py_CLEAR(u->u_conditional_annotation_indices);
  ------------------
  |  |  484|      4|    do { \
  |  |  485|      4|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      4|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      4|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 4]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  204|      4|    PyMem_Free(u);
  205|      4|}
compile.c:list2dict:
  500|      8|{
  501|      8|    Py_ssize_t i, n;
  502|      8|    PyObject *v, *k;
  503|      8|    PyObject *dict = PyDict_New();
  504|      8|    if (!dict) return NULL;
  ------------------
  |  Branch (504:9): [True: 0, False: 8]
  ------------------
  505|       |
  506|      8|    n = PyList_Size(list);
  507|     19|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (507:17): [True: 11, False: 8]
  ------------------
  508|     11|        v = PyLong_FromSsize_t(i);
  509|     11|        if (!v) {
  ------------------
  |  Branch (509:13): [True: 0, False: 11]
  ------------------
  510|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|      0|            return NULL;
  512|      0|        }
  513|     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 (513:13): [True: 11, False: 0]
  ------------------
  514|     11|        if (PyDict_SetItem(dict, k, v) < 0) {
  ------------------
  |  Branch (514:13): [True: 0, False: 11]
  ------------------
  515|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  516|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  517|      0|            return NULL;
  518|      0|        }
  519|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  520|     11|    }
  521|      8|    return dict;
  522|      8|}
compile.c:compiler_cellvars:
  640|      4|{
  641|      4|    PyObject *names = PySet_New(NULL);
  642|      4|    if (names == NULL) {
  ------------------
  |  Branch (642:9): [True: 0, False: 4]
  ------------------
  643|      0|        return NULL;
  644|      0|    }
  645|      4|    if (add_cell_names_from_symbols(ste->ste_symbols, names) < 0) {
  ------------------
  |  Branch (645:9): [True: 0, False: 4]
  ------------------
  646|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  647|      0|        return NULL;
  648|      0|    }
  649|      4|    if (add_inlined_comprehension_cell_names(ste, names) < 0) {
  ------------------
  |  Branch (649:9): [True: 0, False: 4]
  ------------------
  650|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  651|      0|        return NULL;
  652|      0|    }
  653|      4|    PyObject *sorted = PySequence_List(names);
  654|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  655|      4|    if (sorted == NULL) {
  ------------------
  |  Branch (655:9): [True: 0, False: 4]
  ------------------
  656|      0|        return NULL;
  657|      0|    }
  658|      4|    if (PyList_Sort(sorted) < 0) {
  ------------------
  |  Branch (658:9): [True: 0, False: 4]
  ------------------
  659|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  660|      0|        return NULL;
  661|      0|    }
  662|      4|    PyObject *cellvars = list2dict(sorted);
  663|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  664|      4|    return cellvars;
  665|      4|}
compile.c:add_cell_names_from_symbols:
  600|      4|{
  601|      4|    Py_ssize_t pos = 0;
  602|      4|    PyObject *k, *v;
  603|     17|    while (PyDict_Next(symbols, &pos, &k, &v)) {
  ------------------
  |  Branch (603:12): [True: 13, False: 4]
  ------------------
  604|     13|        long flags = PyLong_AsLong(v);
  605|     13|        if (flags == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (605:13): [True: 0, False: 13]
  |  Branch (605:28): [True: 0, False: 0]
  ------------------
  606|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  607|      0|        }
  608|     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 (608:13): [True: 0, False: 13]
  ------------------
  609|      0|            if (PySet_Add(names, k) < 0) {
  ------------------
  |  Branch (609:17): [True: 0, False: 0]
  ------------------
  610|      0|                return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  611|      0|            }
  612|      0|        }
  613|     13|    }
  614|      4|    return SUCCESS;
  ------------------
  |  |   36|      4|#define SUCCESS 0
  ------------------
  615|      4|}
compile.c:add_inlined_comprehension_cell_names:
  619|      4|{
  620|      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 (620:28): [True: 2, False: 4]
  ------------------
  621|      2|        PySTEntryObject *child =
  622|      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 (622:32): [True: 2, False: 0]
  ------------------
  623|      2|        if (child->ste_type != InlinedComprehensionBlock) {
  ------------------
  |  Branch (623:13): [True: 2, False: 0]
  ------------------
  624|      2|            continue;
  625|      2|        }
  626|      0|        if (add_cell_names_from_symbols(child->ste_symbols, names) < 0) {
  ------------------
  |  Branch (626:13): [True: 0, False: 0]
  ------------------
  627|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  628|      0|        }
  629|      0|        if (add_inlined_comprehension_cell_names(child, names) < 0) {
  ------------------
  |  Branch (629:13): [True: 0, False: 0]
  ------------------
  630|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  631|      0|        }
  632|      0|    }
  633|      4|    return SUCCESS;
  ------------------
  |  |   36|      4|#define SUCCESS 0
  ------------------
  634|      4|}
compile.c:dictbytype:
  534|      4|{
  535|      4|    Py_ssize_t i = offset, num_keys, key_i;
  536|      4|    PyObject *k, *v, *dest = PyDict_New();
  537|      4|    PyObject *sorted_keys;
  538|       |
  539|      4|    assert(offset >= 0);
  ------------------
  |  Branch (539:5): [True: 4, False: 0]
  ------------------
  540|      4|    if (dest == NULL)
  ------------------
  |  Branch (540:9): [True: 0, False: 4]
  ------------------
  541|      0|        return NULL;
  542|       |
  543|       |    /* Sort the keys so that we have a deterministic order on the indexes
  544|       |       saved in the returned dictionary.  These indexes are used as indexes
  545|       |       into the free and cell var storage.  Therefore if they aren't
  546|       |       deterministic, then the generated bytecode is not deterministic.
  547|       |    */
  548|      4|    sorted_keys = PyDict_Keys(src);
  549|      4|    if (sorted_keys == NULL) {
  ------------------
  |  Branch (549:9): [True: 0, False: 4]
  ------------------
  550|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  551|      0|        return NULL;
  552|      0|    }
  553|      4|    if (PyList_Sort(sorted_keys) != 0) {
  ------------------
  |  Branch (553:9): [True: 0, False: 4]
  ------------------
  554|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  555|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  556|      0|        return NULL;
  557|      0|    }
  558|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  559|       |
  560|     17|    for (key_i = 0; key_i < num_keys; key_i++) {
  ------------------
  |  Branch (560:21): [True: 13, False: 4]
  ------------------
  561|     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 (561:13): [True: 13, False: 0]
  ------------------
  562|      0|        v = PyDict_GetItemWithError(src, k);
  563|     13|        if (!v) {
  ------------------
  |  Branch (563:13): [True: 0, False: 13]
  ------------------
  564|      0|            if (!PyErr_Occurred()) {
  ------------------
  |  Branch (564:17): [True: 0, False: 0]
  ------------------
  565|      0|                PyErr_SetObject(PyExc_KeyError, k);
  566|      0|            }
  567|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  568|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  569|      0|            return NULL;
  570|      0|        }
  571|     13|        long vi = PyLong_AsLong(v);
  572|     13|        if (vi == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (572:13): [True: 0, False: 13]
  |  Branch (572:25): [True: 0, False: 0]
  ------------------
  573|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  574|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  575|      0|            return NULL;
  576|      0|        }
  577|     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 (577:13): [True: 0, False: 13]
  |  Branch (577:50): [True: 0, False: 13]
  ------------------
  578|      0|            PyObject *item = PyLong_FromSsize_t(i);
  579|      0|            if (item == NULL) {
  ------------------
  |  Branch (579:17): [True: 0, False: 0]
  ------------------
  580|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  581|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  582|      0|                return NULL;
  583|      0|            }
  584|      0|            i++;
  585|      0|            if (PyDict_SetItem(dest, k, item) < 0) {
  ------------------
  |  Branch (585:17): [True: 0, False: 0]
  ------------------
  586|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  587|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  588|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  589|      0|                return NULL;
  590|      0|            }
  591|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  592|      0|        }
  593|     13|    }
  594|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  595|      4|    return dest;
  596|      4|}
compile.c:compiler_resolve_inlined_free:
  993|     13|{
  994|     13|    int scope = _PyST_GetScope(*ste, name);
  995|     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]
  |  |  ------------------
  ------------------
  996|     13|    while ((*ste)->ste_type == InlinedComprehensionBlock &&
  ------------------
  |  Branch (996:12): [True: 0, False: 13]
  ------------------
  997|      0|           (scope == FREE || scope == 0)) {
  ------------------
  |  |  194|      0|#define FREE 4
  ------------------
  |  Branch (997:13): [True: 0, False: 0]
  |  Branch (997:30): [True: 0, False: 0]
  ------------------
  998|      0|        PySTEntryObject *parent = (*ste)->ste_parent;
  999|      0|        assert(parent != NULL);
  ------------------
  |  Branch (999:9): [True: 0, False: 0]
  ------------------
 1000|      0|        if (parent->ste_type == ClassBlock) {
  ------------------
  |  Branch (1000:13): [True: 0, False: 0]
  ------------------
 1001|      0|            if (_PyST_IsClassClosureName(name)) {
  ------------------
  |  Branch (1001:17): [True: 0, False: 0]
  ------------------
 1002|      0|                return GLOBAL_IMPLICIT;
  ------------------
  |  |  193|      0|#define GLOBAL_IMPLICIT 3
  ------------------
 1003|      0|            }
 1004|      0|            break;
 1005|      0|        }
 1006|      0|        *ste = parent;
 1007|      0|        scope = _PyST_GetScope(*ste, name);
 1008|      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]
  |  |  ------------------
  ------------------
 1009|      0|    }
 1010|     13|    return scope;
 1011|     13|}
compile.c:const_cache_insert:
  343|     28|{
  344|     28|    assert(PyDict_CheckExact(const_cache));
  ------------------
  |  Branch (344:5): [True: 28, False: 0]
  ------------------
  345|       |    // None and Ellipsis are immortal objects, and key is the singleton.
  346|       |    // No need to merge object and key.
  347|     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 (347:9): [True: 2, False: 26]
  |  Branch (347:25): [True: 0, False: 26]
  ------------------
  348|      2|        return o;
  349|      2|    }
  350|       |
  351|     26|    PyObject *key = _PyCode_ConstantKey(o);
  352|     26|    if (key == NULL) {
  ------------------
  |  Branch (352:9): [True: 0, False: 26]
  ------------------
  353|      0|        return NULL;
  354|      0|    }
  355|       |
  356|     26|    PyObject *t;
  357|     26|    int res = PyDict_SetDefaultRef(const_cache, key, key, &t);
  358|     26|    if (res != 0) {
  ------------------
  |  Branch (358:9): [True: 4, False: 22]
  ------------------
  359|       |        // o was not inserted into const_cache. t is either the existing value
  360|       |        // or NULL (on error).
  361|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  362|      4|        return t;
  363|      4|    }
  364|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  365|       |
  366|     22|    if (!recursive) {
  ------------------
  |  Branch (366:9): [True: 20, False: 2]
  ------------------
  367|     20|        return key;
  368|     20|    }
  369|       |
  370|       |    // We registered o in const_cache.
  371|       |    // When o is a tuple or frozenset, we want to merge its
  372|       |    // items too.
  373|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  374|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  375|      0|        for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (375:32): [True: 0, False: 0]
  ------------------
  376|      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 (376:30): [True: 0, False: 0]
  ------------------
  377|      0|            PyObject *u = const_cache_insert(const_cache, item, recursive);
  378|      0|            if (u == NULL) {
  ------------------
  |  Branch (378:17): [True: 0, False: 0]
  ------------------
  379|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  380|      0|                return NULL;
  381|      0|            }
  382|       |
  383|       |            // See _PyCode_ConstantKey()
  384|      0|            PyObject *v;  // borrowed
  385|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  386|      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 (386:21): [True: 0, False: 0]
  ------------------
  387|      0|            }
  388|      0|            else {
  389|      0|                v = u;
  390|      0|            }
  391|      0|            if (v != item) {
  ------------------
  |  Branch (391:17): [True: 0, False: 0]
  ------------------
  392|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  393|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  394|      0|            }
  395|       |
  396|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  397|      0|        }
  398|      0|    }
  399|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  400|       |        // *key* is tuple. And its first item is frozenset of
  401|       |        // constant keys.
  402|       |        // See _PyCode_ConstantKey() for detail.
  403|      0|        assert(PyTuple_CheckExact(key));
  ------------------
  |  Branch (403:9): [True: 0, False: 0]
  ------------------
  404|      0|        assert(PyTuple_GET_SIZE(key) == 2);
  ------------------
  |  Branch (404:9): [True: 0, False: 0]
  ------------------
  405|       |
  406|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  407|      0|        if (len == 0) {  // empty frozenset should not be re-created.
  ------------------
  |  Branch (407:13): [True: 0, False: 0]
  ------------------
  408|      0|            return key;
  409|      0|        }
  410|      0|        PyObject *tuple = PyTuple_New(len);
  411|      0|        if (tuple == NULL) {
  ------------------
  |  Branch (411:13): [True: 0, False: 0]
  ------------------
  412|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  413|      0|            return NULL;
  414|      0|        }
  415|      0|        Py_ssize_t i = 0, pos = 0;
  416|      0|        PyObject *item;
  417|      0|        Py_hash_t hash;
  418|      0|        while (_PySet_NextEntry(o, &pos, &item, &hash)) {
  ------------------
  |  Branch (418:16): [True: 0, False: 0]
  ------------------
  419|      0|            PyObject *k = const_cache_insert(const_cache, item, recursive);
  420|      0|            if (k == NULL) {
  ------------------
  |  Branch (420:17): [True: 0, False: 0]
  ------------------
  421|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  422|      0|                Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  423|      0|                return NULL;
  424|      0|            }
  425|      0|            PyObject *u;
  426|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  427|      0|                u = Py_NewRef(PyTuple_GET_ITEM(k, 1));
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (37:38): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  428|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  429|      0|            }
  430|      0|            else {
  431|      0|                u = k;
  432|      0|            }
  433|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  434|      0|            i++;
  435|      0|        }
  436|       |
  437|       |        // Instead of rewriting o, we create new frozenset and embed in the
  438|       |        // key tuple.  Caller should get merged frozenset from the key tuple.
  439|      0|        PyObject *new = PyFrozenSet_New(tuple);
  440|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  441|      0|        if (new == NULL) {
  ------------------
  |  Branch (441:13): [True: 0, False: 0]
  ------------------
  442|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  443|      0|            return NULL;
  444|      0|        }
  445|      0|        assert(PyTuple_GET_ITEM(key, 1) == o);
  ------------------
  |  Branch (445:9): [True: 0, False: 0]
  |  Branch (445:9): [True: 0, False: 0]
  ------------------
  446|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  447|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  448|      0|    }
  449|       |
  450|      2|    return key;
  451|      2|}
compile.c:compute_code_flags:
 1435|      4|{
 1436|      4|    PySTEntryObject *ste = c->u->u_ste;
 1437|      4|    int flags = 0;
 1438|      4|    if (_PyST_IsFunctionLike(ste)) {
  ------------------
  |  Branch (1438:9): [True: 2, False: 2]
  ------------------
 1439|      2|        flags |= CO_NEWLOCALS | CO_OPTIMIZED;
  ------------------
  |  |  123|      2|#define CO_NEWLOCALS    0x0002
  ------------------
                      flags |= CO_NEWLOCALS | CO_OPTIMIZED;
  ------------------
  |  |  122|      2|#define CO_OPTIMIZED    0x0001
  ------------------
 1440|      2|        if (ste->ste_nested)
  ------------------
  |  Branch (1440:13): [True: 0, False: 2]
  ------------------
 1441|      0|            flags |= CO_NESTED;
  ------------------
  |  |  126|      0|#define CO_NESTED       0x0010
  ------------------
 1442|      2|        if (ste->ste_generator && !ste->ste_coroutine)
  ------------------
  |  Branch (1442:13): [True: 0, False: 2]
  |  Branch (1442:35): [True: 0, False: 0]
  ------------------
 1443|      0|            flags |= CO_GENERATOR;
  ------------------
  |  |  127|      0|#define CO_GENERATOR    0x0020
  ------------------
 1444|      2|        if (ste->ste_generator && ste->ste_coroutine)
  ------------------
  |  Branch (1444:13): [True: 0, False: 2]
  |  Branch (1444:35): [True: 0, False: 0]
  ------------------
 1445|      0|            flags |= CO_ASYNC_GENERATOR;
  ------------------
  |  |  133|      0|#define CO_ASYNC_GENERATOR      0x0200
  ------------------
 1446|      2|        if (ste->ste_varargs)
  ------------------
  |  Branch (1446:13): [True: 0, False: 2]
  ------------------
 1447|      0|            flags |= CO_VARARGS;
  ------------------
  |  |  124|      0|#define CO_VARARGS      0x0004
  ------------------
 1448|      2|        if (ste->ste_varkeywords)
  ------------------
  |  Branch (1448:13): [True: 0, False: 2]
  ------------------
 1449|      0|            flags |= CO_VARKEYWORDS;
  ------------------
  |  |  125|      0|#define CO_VARKEYWORDS  0x0008
  ------------------
 1450|      2|        if (ste->ste_has_docstring)
  ------------------
  |  Branch (1450:13): [True: 0, False: 2]
  ------------------
 1451|      0|            flags |= CO_HAS_DOCSTRING;
  ------------------
  |  |  154|      0|#define CO_HAS_DOCSTRING 0x4000000
  ------------------
 1452|      2|        if (ste->ste_method)
  ------------------
  |  Branch (1452:13): [True: 0, False: 2]
  ------------------
 1453|      0|            flags |= CO_METHOD;
  ------------------
  |  |  157|      0|#define CO_METHOD  0x8000000
  ------------------
 1454|      2|    }
 1455|       |
 1456|      4|    if (ste->ste_coroutine && !ste->ste_generator) {
  ------------------
  |  Branch (1456:9): [True: 0, False: 4]
  |  Branch (1456:31): [True: 0, False: 0]
  ------------------
 1457|      0|        flags |= CO_COROUTINE;
  ------------------
  |  |  131|      0|#define CO_COROUTINE            0x0080
  ------------------
 1458|      0|    }
 1459|       |
 1460|       |    /* (Only) inherit compilerflags in PyCF_MASK */
 1461|      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
  |  |  ------------------
  ------------------
 1462|       |
 1463|      4|    return flags;
 1464|      4|}
compile.c:optimize_and_assemble_code_unit:
 1469|      4|{
 1470|      4|    cfg_builder *g = NULL;
 1471|      4|    instr_sequence optimized_instrs;
 1472|      4|    memset(&optimized_instrs, 0, sizeof(instr_sequence));
 1473|       |
 1474|      4|    PyCodeObject *co = NULL;
 1475|      4|    PyObject *consts = consts_dict_keys_inorder(u->u_metadata.u_consts);
 1476|      4|    if (consts == NULL) {
  ------------------
  |  Branch (1476:9): [True: 0, False: 4]
  ------------------
 1477|      0|        goto error;
 1478|      0|    }
 1479|      4|    g = _PyCfg_FromInstructionSequence(u->u_instr_sequence);
 1480|      4|    if (g == NULL) {
  ------------------
  |  Branch (1480:9): [True: 0, False: 4]
  ------------------
 1481|      0|        goto error;
 1482|      0|    }
 1483|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1484|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1485|      4|    assert(u->u_metadata.u_firstlineno);
  ------------------
  |  Branch (1485:5): [True: 4, False: 0]
  ------------------
 1486|       |
 1487|      4|    if (_PyCfg_OptimizeCodeUnit(g, consts, const_cache, nlocals,
  ------------------
  |  Branch (1487:9): [True: 0, False: 4]
  ------------------
 1488|      4|                                nparams, u->u_metadata.u_firstlineno) < 0) {
 1489|      0|        goto error;
 1490|      0|    }
 1491|       |
 1492|      4|    int stackdepth;
 1493|      4|    int nlocalsplus;
 1494|      4|    if (_PyCfg_OptimizedCfgToInstructionSequence(g, &u->u_metadata,
  ------------------
  |  Branch (1494:9): [True: 0, False: 4]
  ------------------
 1495|      4|                                                 &stackdepth, &nlocalsplus,
 1496|      4|                                                 &optimized_instrs) < 0) {
 1497|      0|        goto error;
 1498|      0|    }
 1499|       |
 1500|       |    /** Assembly **/
 1501|      4|    co = _PyAssemble_MakeCodeObject(&u->u_metadata, const_cache, consts,
 1502|      4|                                    stackdepth, &optimized_instrs, nlocalsplus,
 1503|      4|                                    code_flags, filename);
 1504|       |
 1505|      4|error:
 1506|      4|    Py_XDECREF(consts);
  ------------------
  |  |  524|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1507|      4|    PyInstructionSequence_Fini(&optimized_instrs);
 1508|      4|    _PyCfgBuilder_Free(g);
 1509|      4|    return co;
 1510|      4|}
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);
  ------------------
  |  |  550|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  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);
  ------------------
  |  |  551|      2|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  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:
  967|      2|{
  968|      2|    PyCodeObject *co = NULL;
  969|      2|    int addNone = mod->kind != Expression_kind;
  970|      2|    assert(c->u == NULL);
  ------------------
  |  Branch (970:5): [True: 2, False: 0]
  ------------------
  971|      2|    if (compiler_codegen(c, mod) < 0) {
  ------------------
  |  Branch (971:9): [True: 0, False: 2]
  ------------------
  972|      0|        goto finally;
  973|      0|    }
  974|      2|    co = _PyCompile_OptimizeAndAssemble(c, addNone);
  975|      2|finally:
  976|      2|    if (c->u != NULL) {
  ------------------
  |  Branch (976:9): [True: 2, False: 0]
  ------------------
  977|      2|        _PyCompile_ExitScope(c);
  978|      2|    }
  979|      2|    return co;
  980|      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);
  ------------------
  |  |  524|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  164|      2|    Py_XDECREF(c->c_module);
  ------------------
  |  |  524|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  165|      2|    Py_XDECREF(c->c_const_cache);
  ------------------
  |  |  524|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  166|      2|    Py_XDECREF(c->c_stack);
  ------------------
  |  |  524|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  167|      2|    PyMem_Free(c);
  168|      2|}
compile.c:compiler_codegen:
  937|      2|{
  938|      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]
  |  |  ------------------
  ------------------
  939|      2|    assert(c->u->u_scope_type == COMPILE_SCOPE_MODULE);
  ------------------
  |  Branch (939:5): [True: 2, False: 0]
  ------------------
  940|      2|    switch (mod->kind) {
  941|      0|    case Module_kind: {
  ------------------
  |  Branch (941:5): [True: 0, False: 2]
  ------------------
  942|      0|        asdl_stmt_seq *stmts = mod->v.Module.body;
  943|      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]
  |  |  ------------------
  ------------------
  944|      0|        break;
  945|      0|    }
  946|      0|    case Interactive_kind: {
  ------------------
  |  Branch (946:5): [True: 0, False: 2]
  ------------------
  947|      0|        c->c_interactive = 1;
  948|      0|        asdl_stmt_seq *stmts = mod->v.Interactive.body;
  949|      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]
  |  |  ------------------
  ------------------
  950|      0|        break;
  951|      0|    }
  952|      2|    case Expression_kind: {
  ------------------
  |  Branch (952:5): [True: 2, False: 0]
  ------------------
  953|      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]
  |  |  ------------------
  ------------------
  954|      2|        break;
  955|      2|    }
  956|      2|    default: {
  ------------------
  |  Branch (956:5): [True: 0, False: 2]
  ------------------
  957|      0|        PyErr_Format(PyExc_SystemError,
  958|      0|                     "module kind %d should not be possible",
  959|      0|                     mod->kind);
  960|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  961|      2|    }}
  962|      2|    return SUCCESS;
  ------------------
  |  |   36|      2|#define SUCCESS 0
  ------------------
  963|      2|}
compile.c:consts_dict_keys_inorder:
 1410|      4|{
 1411|      4|    PyObject *consts, *k, *v;
 1412|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1413|       |
 1414|      4|    consts = PyList_New(size);   /* PyCode_Optimize() requires a list */
 1415|      4|    if (consts == NULL)
  ------------------
  |  Branch (1415:9): [True: 0, False: 4]
  ------------------
 1416|      0|        return NULL;
 1417|      8|    while (PyDict_Next(dict, &pos, &k, &v)) {
  ------------------
  |  Branch (1417:12): [True: 4, False: 4]
  ------------------
 1418|      4|        assert(PyLong_CheckExact(v));
  ------------------
  |  Branch (1418:9): [True: 4, False: 0]
  ------------------
 1419|      4|        i = PyLong_AsLong(v);
 1420|       |        /* The keys of the dictionary can be tuples wrapping a constant.
 1421|       |         * (see _PyCompile_DictAddObj and _PyCode_ConstantKey). In that case
 1422|       |         * the object we want is always second. */
 1423|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1424|      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 (1424:17): [True: 0, False: 0]
  ------------------
 1425|      0|        }
 1426|      4|        assert(i < size);
  ------------------
  |  Branch (1426:9): [True: 4, False: 0]
  ------------------
 1427|      4|        assert(i >= 0);
  ------------------
  |  Branch (1427:9): [True: 4, False: 0]
  ------------------
 1428|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1429|      4|    }
 1430|      4|    return consts;
 1431|      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|     22|{
  321|     22|    ENSURE_ContextVar(ovar, -1)
  ------------------
  |  |   31|     22|    if (!PyContextVar_CheckExact(o)) {                              \
  |  |  ------------------
  |  |  |  |   19|     22|#define PyContextVar_CheckExact(o) Py_IS_TYPE((o), &PyContextVar_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|     22|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (31:9): [True: 0, False: 22]
  |  |  ------------------
  |  |   32|      0|        PyErr_SetString(PyExc_TypeError,                            \
  |  |   33|      0|                       "an instance of ContextVar was expected");   \
  |  |   34|      0|        return err_ret;                                             \
  |  |   35|      0|    }
  ------------------
  322|     22|    PyContextVar *var = (PyContextVar *)ovar;
  323|       |
  324|     22|    PyThreadState *ts = _PyThreadState_GET();
  325|     22|    assert(ts != NULL);
  ------------------
  |  Branch (325:5): [True: 22, False: 0]
  ------------------
  326|     22|    if (ts->context == NULL) {
  ------------------
  |  Branch (326:9): [True: 22, False: 0]
  ------------------
  327|     22|        goto not_found;
  328|     22|    }
  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|     22|not_found:
  361|     22|    if (def == NULL) {
  ------------------
  |  Branch (361:9): [True: 22, False: 0]
  ------------------
  362|     22|        if (var->var_default != NULL) {
  ------------------
  |  Branch (362:13): [True: 0, False: 22]
  ------------------
  363|      0|            *val = var->var_default;
  364|      0|            goto found;
  365|      0|        }
  366|       |
  367|     22|        *val = NULL;
  368|     22|        goto found;
  369|     22|    }
  370|      0|    else {
  371|      0|        *val = def;
  372|      0|        goto found;
  373|      0|   }
  374|       |
  375|     22|found:
  376|     22|    Py_XINCREF(*val);
  ------------------
  |  |  514|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  377|     22|    return 0;
  378|       |
  379|      0|error:
  380|       |    *val = NULL;
  381|      0|    return -1;
  382|     22|}
_PyContext_Init:
 1433|      2|{
 1434|      2|    PyObject *missing = get_token_missing();
 1435|      2|    assert(PyUnstable_IsImmortal(missing));
  ------------------
  |  Branch (1435:5): [True: 2, False: 0]
  ------------------
 1436|      2|    if (PyDict_SetItemString(
  ------------------
  |  Branch (1436:9): [True: 0, False: 2]
  ------------------
 1437|      2|        _PyType_GetDict(&PyContextToken_Type), "MISSING", missing))
 1438|      0|    {
 1439|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1440|      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)}
  ------------------
 1441|      0|    }
 1442|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1443|       |
 1444|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 1445|      2|}
context.c:contextvar_new:
  943|      3|{
  944|      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 (944:9): [True: 0, False: 3]
  ------------------
  945|      0|        PyErr_SetString(PyExc_TypeError,
  946|      0|                        "context variable name must be a str");
  947|      0|        return NULL;
  948|      0|    }
  949|       |
  950|      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))
  |  |  ------------------
  ------------------
  951|      3|    if (var == NULL) {
  ------------------
  |  Branch (951:9): [True: 0, False: 3]
  ------------------
  952|      0|        return NULL;
  953|      0|    }
  954|       |
  955|      3|    var->var_name = Py_NewRef(name);
  ------------------
  |  |  550|      3|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  956|      3|    var->var_default = Py_XNewRef(def);
  ------------------
  |  |  551|      3|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  957|       |
  958|      3|#ifndef Py_GIL_DISABLED
  959|      3|    var->var_cached = NULL;
  960|      3|    var->var_cached_tsid = 0;
  961|      3|    var->var_cached_tsver = 0;
  962|      3|#endif
  963|       |
  964|      3|    var->var_hash = contextvar_generate_hash(var, name);
  965|      3|    if (var->var_hash == -1) {
  ------------------
  |  Branch (965:9): [True: 0, False: 3]
  ------------------
  966|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  967|      0|        return NULL;
  968|      0|    }
  969|       |
  970|      3|    if (_PyObject_GC_MAY_BE_TRACKED(name) ||
  ------------------
  |  Branch (970:9): [True: 0, False: 3]
  ------------------
  971|      3|            (def != NULL && _PyObject_GC_MAY_BE_TRACKED(def)))
  ------------------
  |  Branch (971:14): [True: 0, False: 3]
  |  Branch (971:29): [True: 0, False: 0]
  ------------------
  972|      0|    {
  973|      0|        PyObject_GC_Track(var);
  974|      0|    }
  975|      3|    return var;
  976|      3|}
context.c:contextvar_generate_hash:
  915|      3|{
  916|       |    /* Take hash of `name` and XOR it with the object's addr.
  917|       |
  918|       |       The structure of the tree is encoded in objects' hashes, which
  919|       |       means that sufficiently similar hashes would result in tall trees
  920|       |       with many Collision nodes.  Which would, in turn, result in slower
  921|       |       get and set operations.
  922|       |
  923|       |       The XORing helps to ensure that:
  924|       |
  925|       |       (1) sequentially allocated ContextVar objects have
  926|       |           different hashes;
  927|       |
  928|       |       (2) context variables with equal names have
  929|       |           different hashes.
  930|       |    */
  931|       |
  932|      3|    Py_hash_t name_hash = PyObject_Hash(name);
  933|      3|    if (name_hash == -1) {
  ------------------
  |  Branch (933:9): [True: 0, False: 3]
  ------------------
  934|      0|        return -1;
  935|      0|    }
  936|       |
  937|      3|    Py_hash_t res = Py_HashPointer(addr) ^ name_hash;
  938|      3|    return res == -1 ? -2 : res;
  ------------------
  |  Branch (938:12): [True: 0, False: 3]
  ------------------
  939|      3|}
context.c:contextvar_tp_new:
  990|      1|{
  991|      1|    static char *kwlist[] = {"", "default", NULL};
  992|      1|    PyObject *name;
  993|      1|    PyObject *def = NULL;
  994|       |
  995|      1|    if (!PyArg_ParseTupleAndKeywords(
  ------------------
  |  Branch (995:9): [True: 0, False: 1]
  ------------------
  996|      1|            args, kwds, "O|$O:ContextVar", kwlist, &name, &def))
  997|      0|    {
  998|      0|        return NULL;
  999|      0|    }
 1000|       |
 1001|      1|    return (PyObject *)contextvar_new(name, def);
 1002|      1|}
context.c:get_token_missing:
 1423|      2|{
 1424|      2|    return (PyObject *)&_Py_SINGLETON(context_token_missing);
  ------------------
  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
 1425|      2|}

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

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

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

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

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

_PyErr_SetRaisedException:
   27|  2.65k|{
   28|  2.65k|    PyObject *old_exc = tstate->current_exception;
   29|  2.65k|    tstate->current_exception = exc;
   30|  2.65k|    Py_XDECREF(old_exc);
  ------------------
  |  |  524|  2.65k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.65k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.65k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   31|  2.65k|}
_PyErr_Restore:
   62|  1.13k|{
   63|  1.13k|    if (type == NULL) {
  ------------------
  |  Branch (63:9): [True: 644, False: 492]
  ------------------
   64|    644|        assert(value == NULL);
  ------------------
  |  Branch (64:9): [True: 644, False: 0]
  ------------------
   65|    644|        assert(traceback == NULL);
  ------------------
  |  Branch (65:9): [True: 644, False: 0]
  ------------------
   66|    644|        _PyErr_SetRaisedException(tstate, NULL);
   67|    644|        return;
   68|    644|    }
   69|  1.13k|    assert(PyExceptionClass_Check(type));
  ------------------
  |  Branch (69:5): [True: 492, False: 0]
  |  Branch (69:5): [True: 492, False: 0]
  ------------------
   70|    492|    if (value != NULL && type == (PyObject *)Py_TYPE(value)) {
  ------------------
  |  |  213|    492|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    492|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    492|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (70:9): [True: 492, False: 0]
  |  Branch (70:26): [True: 492, False: 0]
  ------------------
   71|       |        /* Already normalized */
   72|       |#ifdef Py_DEBUG
   73|       |        PyObject *tb = PyException_GetTraceback(value);
   74|       |        assert(tb != Py_None);
   75|       |        Py_XDECREF(tb);
   76|       |#endif
   77|    492|    }
   78|      0|    else {
   79|      0|        PyObject *exc = _PyErr_CreateException(type, value);
   80|      0|        Py_XDECREF(value);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   81|      0|        if (exc == NULL) {
  ------------------
  |  Branch (81:13): [True: 0, False: 0]
  ------------------
   82|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   83|      0|            Py_XDECREF(traceback);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   84|      0|            return;
   85|      0|        }
   86|      0|        value = exc;
   87|      0|    }
   88|    492|    assert(PyExceptionInstance_Check(value));
  ------------------
  |  Branch (88:5): [True: 492, False: 0]
  ------------------
   89|    492|    if (traceback != NULL) {
  ------------------
  |  Branch (89:9): [True: 0, False: 492]
  ------------------
   90|      0|        if (PyException_SetTraceback(value, traceback) < 0) {
  ------------------
  |  Branch (90:13): [True: 0, False: 0]
  ------------------
   91|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   92|      0|            Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) 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(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   94|      0|            return;
   95|      0|        }
   96|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   97|      0|    }
   98|    492|    _PyErr_SetRaisedException(tstate, value);
   99|    492|    Py_DECREF(type);
  ------------------
  |  |  430|    492|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    492|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    492|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  100|    492|}
PyErr_Restore:
  104|      2|{
  105|      2|    PyThreadState *tstate = _PyThreadState_GET();
  106|      2|    _PyErr_Restore(tstate, type, value, traceback);
  107|      2|}
PyErr_SetRaisedException:
  111|  1.34k|{
  112|  1.34k|    PyThreadState *tstate = _PyThreadState_GET();
  113|  1.34k|    _PyErr_SetRaisedException(tstate, exc);
  114|  1.34k|}
_PyErr_GetTopmostException:
  118|    490|{
  119|    490|    _PyErr_StackItem *exc_info = tstate->exc_info;
  120|    490|    assert(exc_info);
  ------------------
  |  Branch (120:5): [True: 490, False: 0]
  ------------------
  121|       |
  122|    494|    while (exc_info->exc_value == NULL && exc_info->previous_item != NULL)
  ------------------
  |  Branch (122:12): [True: 473, False: 21]
  |  Branch (122:43): [True: 4, False: 469]
  ------------------
  123|      4|    {
  124|      4|        exc_info = exc_info->previous_item;
  125|      4|    }
  126|    490|    assert(!Py_IsNone(exc_info->exc_value));
  ------------------
  |  Branch (126:5): [True: 490, False: 0]
  ------------------
  127|    490|    return exc_info;
  128|    490|}
_PyErr_SetObject:
  154|    490|{
  155|    490|    PyObject *exc_value;
  156|    490|    PyObject *tb = NULL;
  157|       |
  158|    490|    if (exception != NULL &&
  ------------------
  |  Branch (158:9): [True: 490, False: 0]
  ------------------
  159|    490|        !PyExceptionClass_Check(exception)) {
  ------------------
  |  |   61|    490|    (PyType_Check((x)) &&                                               \
  |  |  ------------------
  |  |  |  |  766|    980|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    490|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    490|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (766:28): [True: 490, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   62|    490|     PyType_FastSubclass((PyTypeObject*)(x), Py_TPFLAGS_BASE_EXC_SUBCLASS))
  |  |  ------------------
  |  |  |  |  760|    490|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 490, 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|    490|    int is_subclass = 0;
  168|    490|    if (value != NULL && PyExceptionInstance_Check(value)) {
  ------------------
  |  |   65|    490|    PyType_FastSubclass(Py_TYPE(x), Py_TPFLAGS_BASE_EXC_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    490|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 325, False: 165]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (168:9): [True: 490, False: 0]
  ------------------
  169|    325|        is_subclass = PyObject_IsSubclass((PyObject *)Py_TYPE(value), exception);
  ------------------
  |  |  213|    325|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    325|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    325|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  170|    325|        if (is_subclass < 0) {
  ------------------
  |  Branch (170:13): [True: 0, False: 325]
  ------------------
  171|      0|            return;
  172|      0|        }
  173|    325|    }
  174|    490|    Py_XINCREF(value);
  ------------------
  |  |  514|    490|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    490|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    490|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  175|    490|    if (!is_subclass) {
  ------------------
  |  Branch (175:9): [True: 165, False: 325]
  ------------------
  176|       |        /* We must normalize the value right now */
  177|       |
  178|       |        /* Issue #23571: functions must not be called with an
  179|       |            exception set */
  180|    165|        _PyErr_Clear(tstate);
  181|       |
  182|    165|        PyObject *fixed_value = _PyErr_CreateException(exception, value);
  183|    165|        if (fixed_value == NULL) {
  ------------------
  |  Branch (183:13): [True: 0, False: 165]
  ------------------
  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);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) 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|    165|        Py_XSETREF(value, fixed_value);
  ------------------
  |  |  376|    165|    do { \
  |  |  377|    165|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|    165|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|    165|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|    165|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|    165|        *_tmp_dst_ptr = (src); \
  |  |  380|    165|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|    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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|    165|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 165]
  |  |  ------------------
  ------------------
  198|    165|    }
  199|       |
  200|    490|    exc_value = _PyErr_GetTopmostException(tstate)->exc_value;
  201|    490|    if (exc_value != NULL && exc_value != Py_None) {
  ------------------
  |  |  616|     21|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (201:9): [True: 21, False: 469]
  |  Branch (201:30): [True: 21, False: 0]
  ------------------
  202|       |        /* Implicit exception chaining */
  203|     21|        Py_INCREF(exc_value);
  ------------------
  |  |  310|     21|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     21|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  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|     21|        if (exc_value != value) {
  ------------------
  |  Branch (210:13): [True: 21, False: 0]
  ------------------
  211|     21|            PyObject *o = exc_value, *context;
  212|     21|            PyObject *slow_o = o;  /* Floyd's cycle detection algo */
  213|     21|            int slow_update_toggle = 0;
  214|     21|            while ((context = PyException_GetContext(o))) {
  ------------------
  |  Branch (214:20): [True: 0, False: 21]
  ------------------
  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|     21|            PyException_SetContext(value, exc_value);
  233|     21|        }
  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|     21|    }
  238|    490|    assert(value != NULL);
  ------------------
  |  Branch (238:5): [True: 490, False: 0]
  ------------------
  239|    490|    if (PyExceptionInstance_Check(value))
  ------------------
  |  |   65|    490|    PyType_FastSubclass(Py_TYPE(x), Py_TPFLAGS_BASE_EXC_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    490|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 490, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  240|    490|        tb = PyException_GetTraceback(value);
  241|    490|    _PyErr_Restore(tstate, Py_NewRef(Py_TYPE(value)), value, tb);
  ------------------
  |  |  550|    490|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    490|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    490|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  242|    490|}
PyErr_SetObject:
  246|     88|{
  247|     88|    PyThreadState *tstate = _PyThreadState_GET();
  248|     88|    _PyErr_SetObject(tstate, exception, value);
  249|     88|}
_PyErr_SetKeyError:
  260|    233|{
  261|    233|    PyThreadState *tstate = _PyThreadState_GET();
  262|       |
  263|       |    // PyObject_CallOneArg() must not be called with an exception set,
  264|       |    // otherwise _Py_CheckFunctionResult() can fail if the function returned
  265|       |    // a result with an excception set.
  266|    233|    _PyErr_Clear(tstate);
  267|       |
  268|    233|    PyObject *exc = PyObject_CallOneArg(PyExc_KeyError, arg);
  269|    233|    if (!exc) {
  ------------------
  |  Branch (269:9): [True: 0, False: 233]
  ------------------
  270|       |        /* caller will expect error to be set anyway */
  271|      0|        return;
  272|      0|    }
  273|       |
  274|    233|    _PyErr_SetObject(tstate, (PyObject*)Py_TYPE(exc), exc);
  ------------------
  |  |  213|    233|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    233|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    233|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  275|    233|    Py_DECREF(exc);
  ------------------
  |  |  430|    233|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    233|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    233|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  276|    233|}
_PyErr_SetString:
  296|      7|{
  297|      7|    PyObject *value = PyUnicode_FromString(string);
  298|      7|    if (value != NULL) {
  ------------------
  |  Branch (298:9): [True: 7, False: 0]
  ------------------
  299|      7|        _PyErr_SetObject(tstate, exception, value);
  300|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  301|      7|    }
  302|      7|}
PyErr_SetString:
  306|      7|{
  307|      7|    PyThreadState *tstate = _PyThreadState_GET();
  308|      7|    _PyErr_SetString(tstate, exception, string);
  309|      7|}
PyErr_Occurred:
  323|  59.0k|{
  324|       |    /* The caller must hold a thread state. */
  325|  59.0k|    _Py_AssertHoldsTstate();
  ------------------
  |  |  324|  59.0k|#define _Py_AssertHoldsTstate() _Py_AssertHoldsTstateFunc(__func__)
  ------------------
  326|       |
  327|  59.0k|    PyThreadState *tstate = _PyThreadState_GET();
  328|  59.0k|    return _PyErr_Occurred(tstate);
  329|  59.0k|}
PyErr_GivenExceptionMatches:
  334|    650|{
  335|    650|    if (err == NULL || exc == NULL) {
  ------------------
  |  Branch (335:9): [True: 0, False: 650]
  |  Branch (335:24): [True: 0, False: 650]
  ------------------
  336|       |        /* maybe caused by "import exceptions" that failed early on */
  337|      0|        return 0;
  338|      0|    }
  339|    650|    if (PyTuple_Check(exc)) {
  ------------------
  |  |   27|    650|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    650|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 14, False: 636]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  340|     14|        Py_ssize_t i, n;
  341|     14|        n = PyTuple_Size(exc);
  342|     14|        for (i = 0; i < n; i++) {
  ------------------
  |  Branch (342:21): [True: 14, False: 0]
  ------------------
  343|       |            /* Test recursively */
  344|     14|             if (PyErr_GivenExceptionMatches(
  ------------------
  |  Branch (344:18): [True: 14, False: 0]
  ------------------
  345|     14|                 err, PyTuple_GET_ITEM(exc, i)))
  ------------------
  |  |   29|     14|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     14|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (345:23): [True: 14, False: 0]
  ------------------
  346|     14|             {
  347|     14|                 return 1;
  348|     14|             }
  349|     14|        }
  350|      0|        return 0;
  351|     14|    }
  352|       |    /* err might be an instance, so check its class. */
  353|    636|    if (PyExceptionInstance_Check(err))
  ------------------
  |  |   65|    636|    PyType_FastSubclass(Py_TYPE(x), Py_TPFLAGS_BASE_EXC_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    636|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 362, False: 274]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  354|    362|        err = PyExceptionInstance_Class(err);
  ------------------
  |  |   69|    362|#define PyExceptionInstance_Class(x) _PyObject_CAST(Py_TYPE(x))
  |  |  ------------------
  |  |  |  |  171|    362|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    362|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  355|       |
  356|    636|    if (PyExceptionClass_Check(err) && PyExceptionClass_Check(exc)) {
  ------------------
  |  |   61|  1.27k|    (PyType_Check((x)) &&                                               \
  |  |  ------------------
  |  |  |  |  766|  1.27k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    636|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    636|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (766:28): [True: 636, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   62|  1.27k|     PyType_FastSubclass((PyTypeObject*)(x), Py_TPFLAGS_BASE_EXC_SUBCLASS))
  |  |  ------------------
  |  |  |  |  760|    636|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 636, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyExceptionClass_Check(err) && PyExceptionClass_Check(exc)) {
  ------------------
  |  |   61|    636|    (PyType_Check((x)) &&                                               \
  |  |  ------------------
  |  |  |  |  766|  1.27k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    636|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    636|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (766:28): [True: 636, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   62|    636|     PyType_FastSubclass((PyTypeObject*)(x), Py_TPFLAGS_BASE_EXC_SUBCLASS))
  |  |  ------------------
  |  |  |  |  760|    636|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 636, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  357|    636|        return PyType_IsSubtype((PyTypeObject *)err, (PyTypeObject *)exc);
  358|    636|    }
  359|       |
  360|      0|    return err == exc;
  361|    636|}
_PyErr_ExceptionMatches:
  366|    274|{
  367|    274|    return PyErr_GivenExceptionMatches(_PyErr_Occurred(tstate), exc);
  368|    274|}
PyErr_ExceptionMatches:
  373|    258|{
  374|    258|    PyThreadState *tstate = _PyThreadState_GET();
  375|    258|    return _PyErr_ExceptionMatches(tstate, exc);
  376|    258|}
_PyErr_GetRaisedException:
  501|  1.87k|_PyErr_GetRaisedException(PyThreadState *tstate) {
  502|  1.87k|    PyObject *exc = tstate->current_exception;
  503|       |    tstate->current_exception = NULL;
  504|  1.87k|    return exc;
  505|  1.87k|}
PyErr_GetRaisedException:
  509|  1.37k|{
  510|  1.37k|    PyThreadState *tstate = _PyThreadState_GET();
  511|  1.37k|    return _PyErr_GetRaisedException(tstate);
  512|  1.37k|}
_PyErr_Fetch:
  517|     19|{
  518|     19|    PyObject *exc = _PyErr_GetRaisedException(tstate);
  519|     19|    *p_value = exc;
  520|     19|    if (exc == NULL) {
  ------------------
  |  Branch (520:9): [True: 0, False: 19]
  ------------------
  521|      0|        *p_type = NULL;
  522|      0|        *p_traceback = NULL;
  523|      0|    }
  524|     19|    else {
  525|     19|        *p_type = Py_NewRef(Py_TYPE(exc));
  ------------------
  |  |  550|     19|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     19|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     19|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  526|     19|        *p_traceback = PyException_GetTraceback(exc);
  527|     19|    }
  528|     19|}
PyErr_Fetch:
  533|     19|{
  534|     19|    PyThreadState *tstate = _PyThreadState_GET();
  535|     19|    _PyErr_Fetch(tstate, p_type, p_value, p_traceback);
  536|     19|}
_PyErr_Clear:
  541|    644|{
  542|    644|    _PyErr_Restore(tstate, NULL, NULL, NULL);
  543|    644|}
PyErr_Clear:
  548|    151|{
  549|    151|    PyThreadState *tstate = _PyThreadState_GET();
  550|    151|    _PyErr_Clear(tstate);
  551|    151|}
_PyErr_ChainExceptions1Tstate:
  709|     27|{
  710|     27|    if (exc == NULL) {
  ------------------
  |  Branch (710:9): [True: 27, False: 0]
  ------------------
  711|     27|        return;
  712|     27|    }
  713|      0|    if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (713:9): [True: 0, False: 0]
  ------------------
  714|      0|        PyObject *exc2 = _PyErr_GetRaisedException(tstate);
  715|      0|        PyException_SetContext(exc2, exc);
  716|      0|        _PyErr_SetRaisedException(tstate, exc2);
  717|      0|    }
  718|      0|    else {
  719|      0|        _PyErr_SetRaisedException(tstate, exc);
  720|      0|    }
  721|      0|}
_PyErr_ChainExceptions1:
  725|     27|{
  726|     27|    PyThreadState *tstate = _PyThreadState_GET();
  727|     27|    _PyErr_ChainExceptions1Tstate(tstate, exc);
  728|     27|}
PyErr_SetFromErrnoWithFilenameObject:
  812|     44|{
  813|       |    return PyErr_SetFromErrnoWithFilenameObjects(exc, filenameObject, NULL);
  814|     44|}
PyErr_SetFromErrnoWithFilenameObjects:
  818|     44|{
  819|     44|    PyThreadState *tstate = _PyThreadState_GET();
  820|     44|    PyObject *message;
  821|     44|    PyObject *v, *args;
  822|     44|    int i = errno;
  823|       |#ifdef MS_WINDOWS
  824|       |    WCHAR *s_buf = NULL;
  825|       |#endif /* Unix/Windows */
  826|       |
  827|     44|#ifdef EINTR
  828|     44|    if (i == EINTR && PyErr_CheckSignals())
  ------------------
  |  Branch (828:9): [True: 0, False: 44]
  |  Branch (828:23): [True: 0, False: 0]
  ------------------
  829|      0|        return NULL;
  830|     44|#endif
  831|       |
  832|     44|#ifndef MS_WINDOWS
  833|     44|    if (i != 0) {
  ------------------
  |  Branch (833:9): [True: 44, False: 0]
  ------------------
  834|     44|        const char *s = strerror(i);
  835|     44|        message = PyUnicode_DecodeLocale(s, "surrogateescape");
  836|     44|    }
  837|      0|    else {
  838|       |        /* Sometimes errno didn't get set */
  839|      0|        message = PyUnicode_FromString("Error");
  840|      0|    }
  841|       |#else
  842|       |    if (i == 0)
  843|       |        message = PyUnicode_FromString("Error"); /* Sometimes errno didn't get set */
  844|       |    else
  845|       |    {
  846|       |        /* Note that the Win32 errors do not lineup with the
  847|       |           errno error.  So if the error is in the MSVC error
  848|       |           table, we use it, otherwise we assume it really _is_
  849|       |           a Win32 error code
  850|       |        */
  851|       |        if (i > 0 && i < _sys_nerr) {
  852|       |            message = PyUnicode_FromString(_sys_errlist[i]);
  853|       |        }
  854|       |        else {
  855|       |            int len = FormatMessageW(
  856|       |                FORMAT_MESSAGE_ALLOCATE_BUFFER |
  857|       |                FORMAT_MESSAGE_FROM_SYSTEM |
  858|       |                FORMAT_MESSAGE_IGNORE_INSERTS,
  859|       |                NULL,                   /* no message source */
  860|       |                i,
  861|       |                MAKELANGID(LANG_NEUTRAL,
  862|       |                           SUBLANG_DEFAULT),
  863|       |                           /* Default language */
  864|       |                (LPWSTR) &s_buf,
  865|       |                0,                      /* size not used */
  866|       |                NULL);                  /* no args */
  867|       |            if (len==0) {
  868|       |                /* Only ever seen this in out-of-mem
  869|       |                   situations */
  870|       |                s_buf = NULL;
  871|       |                message = PyUnicode_FromFormat("Windows Error 0x%x", i);
  872|       |            } else {
  873|       |                /* remove trailing cr/lf and dots */
  874|       |                while (len > 0 && (s_buf[len-1] <= L' ' || s_buf[len-1] == L'.'))
  875|       |                    s_buf[--len] = L'\0';
  876|       |                message = PyUnicode_FromWideChar(s_buf, len);
  877|       |            }
  878|       |        }
  879|       |    }
  880|       |#endif /* Unix/Windows */
  881|       |
  882|     44|    if (message == NULL)
  ------------------
  |  Branch (882:9): [True: 0, False: 44]
  ------------------
  883|      0|    {
  884|       |#ifdef MS_WINDOWS
  885|       |        LocalFree(s_buf);
  886|       |#endif
  887|      0|        return NULL;
  888|      0|    }
  889|       |
  890|     44|    if (filenameObject != NULL) {
  ------------------
  |  Branch (890:9): [True: 44, False: 0]
  ------------------
  891|     44|        if (filenameObject2 != NULL)
  ------------------
  |  Branch (891:13): [True: 0, False: 44]
  ------------------
  892|      0|            args = Py_BuildValue("(iOOiO)", i, message, filenameObject, 0, filenameObject2);
  893|     44|        else
  894|     44|            args = Py_BuildValue("(iOO)", i, message, filenameObject);
  895|     44|    } else {
  896|      0|        assert(filenameObject2 == NULL);
  ------------------
  |  Branch (896:9): [True: 0, False: 0]
  ------------------
  897|      0|        args = Py_BuildValue("(iO)", i, message);
  898|      0|    }
  899|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  900|       |
  901|     44|    if (args != NULL) {
  ------------------
  |  Branch (901:9): [True: 44, False: 0]
  ------------------
  902|     44|        v = PyObject_Call(exc, args, NULL);
  903|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  904|     44|        if (v != NULL) {
  ------------------
  |  Branch (904:13): [True: 44, False: 0]
  ------------------
  905|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  906|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  907|     44|        }
  908|     44|    }
  909|       |#ifdef MS_WINDOWS
  910|       |    LocalFree(s_buf);
  911|       |#endif
  912|       |    return NULL;
  913|     44|}
_PyErr_SetImportErrorWithNameFrom:
 1154|      1|{
 1155|      1|    return _PyErr_SetImportErrorSubclassWithNameFrom(PyExc_ImportError, msg, name, path, from_name);
 1156|      1|}
_PyErr_FormatV:
 1213|     77|{
 1214|     77|    PyObject* string;
 1215|       |
 1216|       |    /* Issue #23571: PyUnicode_FromFormatV() must not be called with an
 1217|       |       exception set, it calls arbitrary Python code like PyObject_Repr() */
 1218|     77|    _PyErr_Clear(tstate);
 1219|       |
 1220|     77|    string = PyUnicode_FromFormatV(format, vargs);
 1221|     77|    if (string != NULL) {
  ------------------
  |  Branch (1221:9): [True: 77, False: 0]
  ------------------
 1222|     77|        _PyErr_SetObject(tstate, exception, string);
 1223|     77|        Py_DECREF(string);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1224|     77|    }
 1225|       |    return NULL;
 1226|     77|}
PyErr_Format:
 1251|     77|{
 1252|     77|    PyThreadState *tstate = _PyThreadState_GET();
 1253|     77|    va_list vargs;
 1254|     77|    va_start(vargs, format);
 1255|     77|    _PyErr_FormatV(tstate, exception, format, vargs);
 1256|     77|    va_end(vargs);
 1257|       |    return NULL;
 1258|     77|}
PyErr_NewException:
 1290|      4|{
 1291|      4|    PyThreadState *tstate = _PyThreadState_GET();
 1292|      4|    PyObject *modulename = NULL;
 1293|      4|    PyObject *mydict = NULL;
 1294|      4|    PyObject *bases = NULL;
 1295|      4|    PyObject *result = NULL;
 1296|       |
 1297|      4|    const char *dot = strrchr(name, '.');
 1298|      4|    if (dot == NULL) {
  ------------------
  |  Branch (1298:9): [True: 0, False: 4]
  ------------------
 1299|      0|        _PyErr_SetString(tstate, PyExc_SystemError,
 1300|      0|                         "PyErr_NewException: name must be module.class");
 1301|      0|        return NULL;
 1302|      0|    }
 1303|      4|    if (base == NULL) {
  ------------------
  |  Branch (1303:9): [True: 0, False: 4]
  ------------------
 1304|      0|        base = PyExc_Exception;
 1305|      0|    }
 1306|      4|    if (dict == NULL) {
  ------------------
  |  Branch (1306:9): [True: 4, False: 0]
  ------------------
 1307|      4|        dict = mydict = PyDict_New();
 1308|      4|        if (dict == NULL)
  ------------------
  |  Branch (1308:13): [True: 0, False: 4]
  ------------------
 1309|      0|            goto failure;
 1310|      4|    }
 1311|       |
 1312|      4|    int r = PyDict_Contains(dict, &_Py_ID(__module__));
  ------------------
  |  |  936|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1313|      4|    if (r < 0) {
  ------------------
  |  Branch (1313:9): [True: 0, False: 4]
  ------------------
 1314|      0|        goto failure;
 1315|      0|    }
 1316|      4|    if (r == 0) {
  ------------------
  |  Branch (1316:9): [True: 4, False: 0]
  ------------------
 1317|      4|        modulename = PyUnicode_FromStringAndSize(name,
 1318|      4|                                             (Py_ssize_t)(dot-name));
 1319|      4|        if (modulename == NULL)
  ------------------
  |  Branch (1319:13): [True: 0, False: 4]
  ------------------
 1320|      0|            goto failure;
 1321|      4|        if (PyDict_SetItem(dict, &_Py_ID(__module__), modulename) != 0)
  ------------------
  |  |  936|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1321:13): [True: 0, False: 4]
  ------------------
 1322|      0|            goto failure;
 1323|      4|    }
 1324|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1325|      2|        bases = Py_NewRef(base);
  ------------------
  |  |  550|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1326|      2|    } else {
 1327|      2|        bases = PyTuple_Pack(1, base);
 1328|      2|        if (bases == NULL)
  ------------------
  |  Branch (1328:13): [True: 0, False: 2]
  ------------------
 1329|      0|            goto failure;
 1330|      2|    }
 1331|       |    /* Create a real class. */
 1332|      4|    result = PyObject_CallFunction((PyObject *)&PyType_Type, "sOO",
 1333|      4|                                   dot+1, bases, dict);
 1334|      4|  failure:
 1335|      4|    Py_XDECREF(bases);
  ------------------
  |  |  524|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1336|      4|    Py_XDECREF(mydict);
  ------------------
  |  |  524|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1337|      4|    Py_XDECREF(modulename);
  ------------------
  |  |  524|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1338|      4|    return result;
 1339|      4|}
_PyErr_InitTypes:
 1402|      2|{
 1403|      2|    if (_PyStructSequence_InitBuiltin(interp, &UnraisableHookArgsType,
  ------------------
  |  Branch (1403:9): [True: 0, False: 2]
  ------------------
 1404|      2|                                      &UnraisableHookArgs_desc) < 0)
 1405|      0|    {
 1406|      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)}
  ------------------
 1407|      0|    }
 1408|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 1409|      2|}
errors.c:_PyErr_CreateException:
   35|    165|{
   36|    165|    PyObject *exc;
   37|       |
   38|    165|    if (value == NULL || value == Py_None) {
  ------------------
  |  |  616|    165|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (38:9): [True: 0, False: 165]
  |  Branch (38:26): [True: 0, False: 165]
  ------------------
   39|      0|        exc = _PyObject_CallNoArgs(exception_type);
   40|      0|    }
   41|    165|    else if (PyTuple_Check(value)) {
  ------------------
  |  |   27|    165|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    165|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 33, False: 132]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   42|     33|        exc = PyObject_Call(exception_type, value, NULL);
   43|     33|    }
   44|    132|    else {
   45|    132|        exc = PyObject_CallOneArg(exception_type, value);
   46|    132|    }
   47|       |
   48|    165|    if (exc != NULL && !PyExceptionInstance_Check(exc)) {
  ------------------
  |  |   65|    165|    PyType_FastSubclass(Py_TYPE(x), Py_TPFLAGS_BASE_EXC_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    165|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (48:9): [True: 165, False: 0]
  |  Branch (48:24): [True: 0, False: 165]
  ------------------
   49|      0|        PyErr_Format(PyExc_TypeError,
   50|      0|                     "calling %R should have returned an instance of "
   51|      0|                     "BaseException, not %s",
   52|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   53|      0|        Py_CLEAR(exc);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
   54|      0|    }
   55|       |
   56|    165|    return exc;
   57|    165|}
errors.c:_PyErr_SetImportErrorSubclassWithNameFrom:
 1133|      1|{
 1134|      1|    PyThreadState *tstate = _PyThreadState_GET();
 1135|      1|    PyObject *error = new_importerror(
 1136|      1|                        tstate, exception, msg, name, path, from_name);
 1137|      1|    if (error != NULL) {
  ------------------
  |  Branch (1137:9): [True: 1, False: 0]
  ------------------
 1138|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1139|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1140|      1|    }
 1141|       |    return NULL;
 1142|      1|}
errors.c:new_importerror:
 1079|      1|{
 1080|      1|    PyObject *exc = NULL;
 1081|      1|    PyObject *kwargs = NULL;
 1082|       |
 1083|      1|    int issubclass = PyObject_IsSubclass(exctype, PyExc_ImportError);
 1084|      1|    if (issubclass < 0) {
  ------------------
  |  Branch (1084:9): [True: 0, False: 1]
  ------------------
 1085|      0|        return NULL;
 1086|      0|    }
 1087|      1|    else if (!issubclass) {
  ------------------
  |  Branch (1087:14): [True: 0, False: 1]
  ------------------
 1088|      0|        _PyErr_SetString(tstate, PyExc_TypeError,
 1089|      0|                         "expected a subclass of ImportError");
 1090|      0|        return NULL;
 1091|      0|    }
 1092|       |
 1093|      1|    if (msg == NULL) {
  ------------------
  |  Branch (1093:9): [True: 0, False: 1]
  ------------------
 1094|      0|        _PyErr_SetString(tstate, PyExc_TypeError,
 1095|      0|                         "expected a message argument");
 1096|      0|        return NULL;
 1097|      0|    }
 1098|       |
 1099|      1|    if (name == NULL) {
  ------------------
  |  Branch (1099:9): [True: 0, False: 1]
  ------------------
 1100|      0|        name = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1101|      0|    }
 1102|      1|    if (path == NULL) {
  ------------------
  |  Branch (1102:9): [True: 1, False: 0]
  ------------------
 1103|      1|        path = Py_None;
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1104|      1|    }
 1105|      1|    if (from_name == NULL) {
  ------------------
  |  Branch (1105:9): [True: 0, False: 1]
  ------------------
 1106|      0|        from_name = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1107|      0|    }
 1108|       |
 1109|      1|    kwargs = PyDict_New();
 1110|      1|    if (kwargs == NULL) {
  ------------------
  |  Branch (1110:9): [True: 0, False: 1]
  ------------------
 1111|      0|        return NULL;
 1112|      0|    }
 1113|      1|    if (PyDict_SetItemString(kwargs, "name", name) < 0) {
  ------------------
  |  Branch (1113:9): [True: 0, False: 1]
  ------------------
 1114|      0|        goto finally;
 1115|      0|    }
 1116|      1|    if (PyDict_SetItemString(kwargs, "path", path) < 0) {
  ------------------
  |  Branch (1116:9): [True: 0, False: 1]
  ------------------
 1117|      0|        goto finally;
 1118|      0|    }
 1119|      1|    if (PyDict_SetItemString(kwargs, "name_from", from_name) < 0) {
  ------------------
  |  Branch (1119:9): [True: 0, False: 1]
  ------------------
 1120|      0|        goto finally;
 1121|      0|    }
 1122|      1|    exc = PyObject_VectorcallDict(exctype, &msg, 1, kwargs);
 1123|       |
 1124|      1|finally:
 1125|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1126|      1|    return exc;
 1127|      1|}

_Py_ResetForceASCII:
  351|      8|{
  352|      8|    force_ascii = -1;
  ------------------
  |  |  236|      8|#define force_ascii (_PyRuntime.fileutils.force_ascii)
  ------------------
  353|      8|}
_Py_DecodeLocaleEx:
  626|    704|{
  627|    704|    if (current_locale) {
  ------------------
  |  Branch (627:9): [True: 44, False: 660]
  ------------------
  628|       |#ifdef _Py_FORCE_UTF8_LOCALE
  629|       |        return _Py_DecodeUTF8Ex(arg, strlen(arg), wstr, wlen, reason,
  630|       |                                errors);
  631|       |#else
  632|     44|        return decode_current_locale(arg, wstr, wlen, reason, errors);
  633|     44|#endif
  634|     44|    }
  635|       |
  636|       |#ifdef _Py_FORCE_UTF8_FS_ENCODING
  637|       |    return _Py_DecodeUTF8Ex(arg, strlen(arg), wstr, wlen, reason,
  638|       |                            errors);
  639|       |#else
  640|    660|    int use_utf8 = (_PyRuntime.preconfig.utf8_mode >= 1);
  641|       |#ifdef MS_WINDOWS
  642|       |    use_utf8 |= (_PyRuntime.preconfig.legacy_windows_fs_encoding == 0);
  643|       |#endif
  644|    660|    if (use_utf8) {
  ------------------
  |  Branch (644:9): [True: 660, False: 0]
  ------------------
  645|    660|        return _Py_DecodeUTF8Ex(arg, strlen(arg), wstr, wlen, reason,
  646|    660|                                errors);
  647|    660|    }
  648|       |
  649|      0|#ifdef USE_FORCE_ASCII
  650|      0|    if (force_ascii == -1) {
  ------------------
  |  |  236|      0|#define force_ascii (_PyRuntime.fileutils.force_ascii)
  ------------------
  |  Branch (650:9): [True: 0, False: 0]
  ------------------
  651|      0|        force_ascii = check_force_ascii();
  ------------------
  |  |  236|      0|#define force_ascii (_PyRuntime.fileutils.force_ascii)
  ------------------
  652|      0|    }
  653|       |
  654|      0|    if (force_ascii) {
  ------------------
  |  |  236|      0|#define force_ascii (_PyRuntime.fileutils.force_ascii)
  |  |  ------------------
  |  |  |  Branch (236:21): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  655|       |        /* force ASCII encoding to workaround mbstowcs() issue */
  656|      0|        return decode_ascii(arg, wstr, wlen, reason, errors);
  657|      0|    }
  658|      0|#endif
  659|       |
  660|      0|    return decode_current_locale(arg, wstr, wlen, reason, errors);
  661|      0|#endif   /* !_Py_FORCE_UTF8_FS_ENCODING */
  662|      0|}
Py_DecodeLocale:
  686|     12|{
  687|     12|    wchar_t *wstr;
  688|     12|    int res = _Py_DecodeLocaleEx(arg, &wstr, wlen,
  689|     12|                                 NULL, 0,
  690|     12|                                 _Py_ERROR_SURROGATEESCAPE);
  691|     12|    if (res != 0) {
  ------------------
  |  Branch (691:9): [True: 0, False: 12]
  ------------------
  692|      0|        assert(res != -3);
  ------------------
  |  Branch (692:9): [True: 0, False: 0]
  ------------------
  693|      0|        if (wlen != NULL) {
  ------------------
  |  Branch (693:13): [True: 0, False: 0]
  ------------------
  694|      0|            *wlen = (size_t)res;
  695|      0|        }
  696|      0|        return NULL;
  697|      0|    }
  698|     12|    return wstr;
  699|     12|}
_Py_EncodeLocaleRaw:
  897|     10|{
  898|     10|    return encode_locale(text, error_pos, 1, 0);
  899|     10|}
_Py_EncodeLocaleEx:
  906|     82|{
  907|     82|    return encode_locale_ex(text, str, error_pos, reason, 1,
  908|     82|                            current_locale, errors);
  909|     82|}
_Py_fstat_noraise:
 1249|     35|{
 1250|       |#ifdef MS_WINDOWS
 1251|       |    FILE_STANDARD_INFO standardInfo = {0};
 1252|       |    FILE_BASIC_INFO basicInfo = {0};
 1253|       |    FILE_ID_INFO idInfo = {0};
 1254|       |    FILE_ID_INFO *pIdInfo = &idInfo;
 1255|       |    HANDLE h;
 1256|       |    int type;
 1257|       |
 1258|       |    h = _Py_get_osfhandle_noraise(fd);
 1259|       |
 1260|       |    if (h == INVALID_HANDLE_VALUE) {
 1261|       |        /* errno is already set by _get_osfhandle, but we also set
 1262|       |           the Win32 error for callers who expect that */
 1263|       |        SetLastError(ERROR_INVALID_HANDLE);
 1264|       |        return -1;
 1265|       |    }
 1266|       |    memset(status, 0, sizeof(*status));
 1267|       |
 1268|       |    type = GetFileType(h);
 1269|       |    if (type == FILE_TYPE_UNKNOWN) {
 1270|       |        DWORD error = GetLastError();
 1271|       |        if (error != 0) {
 1272|       |            errno = winerror_to_errno(error);
 1273|       |            return -1;
 1274|       |        }
 1275|       |        /* else: valid but unknown file */
 1276|       |    }
 1277|       |
 1278|       |    if (type != FILE_TYPE_DISK) {
 1279|       |        if (type == FILE_TYPE_CHAR)
 1280|       |            status->st_mode = _S_IFCHR;
 1281|       |        else if (type == FILE_TYPE_PIPE)
 1282|       |            status->st_mode = _S_IFIFO;
 1283|       |        return 0;
 1284|       |    }
 1285|       |
 1286|       |    if (!GetFileInformationByHandleEx(h,FileStandardInfo, &standardInfo, sizeof(standardInfo)) ||
 1287|       |        !GetFileInformationByHandleEx(h, FileBasicInfo, &basicInfo, sizeof(basicInfo))) {
 1288|       |        /* The Win32 error is already set, but we also set errno for
 1289|       |           callers who expect it */
 1290|       |        errno = winerror_to_errno(GetLastError());
 1291|       |        return -1;
 1292|       |    }
 1293|       |
 1294|       |    if (!GetFileInformationByHandleEx(h, FileIdInfo, &idInfo, sizeof(idInfo))) {
 1295|       |        /* Failed to get FileIdInfo, so do not pass it along */
 1296|       |        pIdInfo = NULL;
 1297|       |    }
 1298|       |
 1299|       |    _Py_attribute_data_to_stat(&standardInfo, 0, &basicInfo, pIdInfo, status);
 1300|       |    return 0;
 1301|       |#else
 1302|     35|    return fstat(fd, status);
 1303|     35|#endif
 1304|     35|}
_Py_wstat:
 1346|      8|{
 1347|      8|    int err;
 1348|       |#ifdef MS_WINDOWS
 1349|       |    struct _stat wstatbuf;
 1350|       |    err = _wstat(path, &wstatbuf);
 1351|       |    if (!err) {
 1352|       |        buf->st_mode = wstatbuf.st_mode;
 1353|       |    }
 1354|       |#else
 1355|      8|    char *fname;
 1356|      8|    fname = _Py_EncodeLocaleRaw(path, NULL);
 1357|      8|    if (fname == NULL) {
  ------------------
  |  Branch (1357:9): [True: 0, False: 8]
  ------------------
 1358|      0|        errno = EINVAL;
 1359|      0|        return -1;
 1360|      0|    }
 1361|      8|    err = stat(fname, buf);
 1362|      8|    PyMem_RawFree(fname);
 1363|      8|#endif
 1364|      8|    return err;
 1365|      8|}
_Py_stat:
 1376|     10|{
 1377|       |#ifdef MS_WINDOWS
 1378|       |    int err;
 1379|       |
 1380|       |    wchar_t *wpath = PyUnicode_AsWideCharString(path, NULL);
 1381|       |    if (wpath == NULL)
 1382|       |        return -2;
 1383|       |
 1384|       |    err = _Py_wstat(wpath, statbuf);
 1385|       |    PyMem_Free(wpath);
 1386|       |    return err;
 1387|       |#else
 1388|     10|    PyObject *bytes = PyUnicode_EncodeFSDefault(path);
 1389|     10|    if (bytes == NULL) {
  ------------------
  |  Branch (1389:9): [True: 0, False: 10]
  ------------------
 1390|      0|        return -2;
 1391|      0|    }
 1392|       |
 1393|       |    /* check for embedded null bytes */
 1394|     10|    char *cpath;
 1395|     10|    if (PyBytes_AsStringAndSize(bytes, &cpath, NULL) == -1) {
  ------------------
  |  Branch (1395:9): [True: 0, False: 10]
  ------------------
 1396|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1397|      0|        return -2;
 1398|      0|    }
 1399|       |
 1400|     10|    int ret = stat(cpath, statbuf);
 1401|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1402|     10|    assert(ret == 0 || ret == -1);
  ------------------
  |  Branch (1402:5): [True: 2, False: 8]
  |  Branch (1402:5): [True: 8, False: 0]
  ------------------
 1403|     10|    return ret;
 1404|     10|#endif
 1405|     10|}
_Py_set_inheritable:
 1617|     27|{
 1618|     27|    return set_inheritable(fd, inheritable, 1, atomic_flag_works);
 1619|     27|}
Py_fopen:
 1779|     10|{
 1780|     10|    _Py_AssertHoldsTstate();
  ------------------
  |  |  324|     10|#define _Py_AssertHoldsTstate() _Py_AssertHoldsTstateFunc(__func__)
  ------------------
 1781|       |
 1782|     10|    if (PySys_Audit("open", "Osi", path, mode, 0) < 0) {
  ------------------
  |  Branch (1782:9): [True: 0, False: 10]
  ------------------
 1783|      0|        return NULL;
 1784|      0|    }
 1785|       |
 1786|     10|    FILE *f;
 1787|     10|    int async_err = 0;
 1788|     10|    int saved_errno;
 1789|       |#ifdef MS_WINDOWS
 1790|       |    PyObject *unicode;
 1791|       |    if (!PyUnicode_FSDecoder(path, &unicode)) {
 1792|       |        return NULL;
 1793|       |    }
 1794|       |
 1795|       |    wchar_t *wpath = PyUnicode_AsWideCharString(unicode, NULL);
 1796|       |    Py_DECREF(unicode);
 1797|       |    if (wpath == NULL) {
 1798|       |        return NULL;
 1799|       |    }
 1800|       |
 1801|       |    wchar_t wmode[10];
 1802|       |    int usize = MultiByteToWideChar(CP_ACP, 0, mode, -1,
 1803|       |                                    wmode, Py_ARRAY_LENGTH(wmode));
 1804|       |    if (usize == 0) {
 1805|       |        PyErr_SetFromWindowsErr(0);
 1806|       |        PyMem_Free(wpath);
 1807|       |        return NULL;
 1808|       |    }
 1809|       |
 1810|       |    do {
 1811|       |        Py_BEGIN_ALLOW_THREADS
 1812|       |        _Py_BEGIN_SUPPRESS_IPH
 1813|       |        f = _wfopen(wpath, wmode);
 1814|       |        _Py_END_SUPPRESS_IPH
 1815|       |        Py_END_ALLOW_THREADS
 1816|       |    } while (f == NULL
 1817|       |             && errno == EINTR && !(async_err = PyErr_CheckSignals()));
 1818|       |    saved_errno = errno;
 1819|       |    PyMem_Free(wpath);
 1820|       |#else
 1821|     10|    PyObject *bytes;
 1822|     10|    if (!PyUnicode_FSConverter(path, &bytes)) {
  ------------------
  |  Branch (1822:9): [True: 0, False: 10]
  ------------------
 1823|      0|        return NULL;
 1824|      0|    }
 1825|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1826|       |
 1827|     10|    do {
 1828|     10|        Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  117|     10|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  118|     10|                        PyThreadState *_save; \
  |  |  119|     10|                        _save = PyEval_SaveThread();
  ------------------
 1829|     10|        f = fopen(path_bytes, mode);
 1830|     10|        Py_END_ALLOW_THREADS
  ------------------
  |  |  122|     10|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  123|     10|                 }
  ------------------
 1831|     10|    } while (f == NULL
  ------------------
  |  Branch (1831:14): [True: 10, False: 0]
  ------------------
 1832|     10|             && errno == EINTR && !(async_err = PyErr_CheckSignals()));
  ------------------
  |  Branch (1832:17): [True: 0, False: 10]
  |  Branch (1832:35): [True: 0, False: 0]
  ------------------
 1833|     10|    saved_errno = errno;
 1834|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1835|     10|#endif
 1836|       |
 1837|     10|    if (async_err) {
  ------------------
  |  Branch (1837:9): [True: 0, False: 10]
  ------------------
 1838|      0|        return NULL;
 1839|      0|    }
 1840|       |
 1841|     10|    if (f == NULL) {
  ------------------
  |  Branch (1841:9): [True: 10, False: 0]
  ------------------
 1842|     10|        errno = saved_errno;
 1843|     10|        PyErr_SetFromErrnoWithFilenameObject(PyExc_OSError, path);
 1844|     10|        return NULL;
 1845|     10|    }
 1846|       |
 1847|      0|    if (set_inheritable(fileno(f), 0, 1, NULL) < 0) {
  ------------------
  |  Branch (1847:9): [True: 0, False: 0]
  ------------------
 1848|      0|        fclose(f);
 1849|      0|        return NULL;
 1850|      0|    }
 1851|      0|    return f;
 1852|      0|}
_Py_read:
 1882|     54|{
 1883|     54|    Py_ssize_t n;
 1884|     54|    int err;
 1885|     54|    int async_err = 0;
 1886|       |
 1887|     54|    _Py_AssertHoldsTstate();
  ------------------
  |  |  324|     54|#define _Py_AssertHoldsTstate() _Py_AssertHoldsTstateFunc(__func__)
  ------------------
 1888|       |
 1889|       |    /* _Py_read() must not be called with an exception set, otherwise the
 1890|       |     * caller may think that read() was interrupted by a signal and the signal
 1891|       |     * handler raised an exception. */
 1892|     54|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (1892:5): [True: 54, False: 0]
  ------------------
 1893|       |
 1894|     54|    if (count > _PY_READ_MAX) {
  ------------------
  |  |   59|     54|#   define _PY_READ_MAX  PY_SSIZE_T_MAX
  |  |  ------------------
  |  |  |  |  137|     54|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  ------------------
  |  Branch (1894:9): [True: 0, False: 54]
  ------------------
 1895|      0|        count = _PY_READ_MAX;
  ------------------
  |  |   59|      0|#   define _PY_READ_MAX  PY_SSIZE_T_MAX
  |  |  ------------------
  |  |  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  ------------------
 1896|      0|    }
 1897|       |
 1898|     54|    _Py_BEGIN_SUPPRESS_IPH
 1899|     54|    do {
 1900|     54|        Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  117|     54|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  118|     54|                        PyThreadState *_save; \
  |  |  119|     54|                        _save = PyEval_SaveThread();
  ------------------
 1901|     54|        errno = 0;
 1902|       |#ifdef MS_WINDOWS
 1903|       |        _doserrno = 0;
 1904|       |        n = read(fd, buf, (int)count);
 1905|       |        // read() on a non-blocking empty pipe fails with EINVAL, which is
 1906|       |        // mapped from the Windows error code ERROR_NO_DATA.
 1907|       |        if (n < 0 && errno == EINVAL) {
 1908|       |            if (_doserrno == ERROR_NO_DATA) {
 1909|       |                errno = EAGAIN;
 1910|       |            }
 1911|       |        }
 1912|       |#else
 1913|     54|        n = read(fd, buf, count);
 1914|     54|#endif
 1915|       |        /* save/restore errno because PyErr_CheckSignals()
 1916|       |         * and PyErr_SetFromErrno() can modify it */
 1917|     54|        err = errno;
 1918|     54|        Py_END_ALLOW_THREADS
  ------------------
  |  |  122|     54|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  123|     54|                 }
  ------------------
 1919|     54|    } while (n < 0 && err == EINTR &&
  ------------------
  |  Branch (1919:14): [True: 0, False: 54]
  |  Branch (1919:23): [True: 0, False: 0]
  ------------------
 1920|      0|            !(async_err = PyErr_CheckSignals()));
  ------------------
  |  Branch (1920:13): [True: 0, False: 0]
  ------------------
 1921|     54|    _Py_END_SUPPRESS_IPH
 1922|       |
 1923|     54|    if (async_err) {
  ------------------
  |  Branch (1923:9): [True: 0, False: 54]
  ------------------
 1924|       |        /* read() was interrupted by a signal (failed with EINTR)
 1925|       |         * and the Python signal handler raised an exception */
 1926|      0|        errno = err;
 1927|      0|        assert(errno == EINTR && PyErr_Occurred());
  ------------------
  |  Branch (1927:9): [True: 0, False: 0]
  |  Branch (1927:9): [True: 0, False: 0]
  ------------------
 1928|      0|        return -1;
 1929|      0|    }
 1930|     54|    if (n < 0) {
  ------------------
  |  Branch (1930:9): [True: 0, False: 54]
  ------------------
 1931|      0|        PyErr_SetFromErrno(PyExc_OSError);
 1932|      0|        errno = err;
 1933|      0|        return -1;
 1934|      0|    }
 1935|       |
 1936|     54|    return n;
 1937|     54|}
_Py_write:
 2052|     22|{
 2053|     22|    _Py_AssertHoldsTstate();
  ------------------
  |  |  324|     22|#define _Py_AssertHoldsTstate() _Py_AssertHoldsTstateFunc(__func__)
  ------------------
 2054|       |
 2055|       |    /* _Py_write() must not be called with an exception set, otherwise the
 2056|       |     * caller may think that write() was interrupted by a signal and the signal
 2057|       |     * handler raised an exception. */
 2058|     22|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (2058:5): [True: 22, False: 0]
  ------------------
 2059|       |
 2060|     22|    return _Py_write_impl(fd, buf, count, 1);
 2061|     22|}
_Py_wreadlink:
 2085|      2|{
 2086|      2|    char *cpath;
 2087|      2|    char cbuf[MAXPATHLEN];
 2088|      2|    size_t cbuf_len = Py_ARRAY_LENGTH(cbuf);
  ------------------
  |  |  221|      2|    (sizeof(array) / sizeof((array)[0]))
  ------------------
 2089|      2|    wchar_t *wbuf;
 2090|      2|    Py_ssize_t res;
 2091|      2|    size_t r1;
 2092|       |
 2093|      2|    cpath = _Py_EncodeLocaleRaw(path, NULL);
 2094|      2|    if (cpath == NULL) {
  ------------------
  |  Branch (2094:9): [True: 0, False: 2]
  ------------------
 2095|      0|        errno = EINVAL;
 2096|      0|        return -1;
 2097|      0|    }
 2098|      2|    res = readlink(cpath, cbuf, cbuf_len);
 2099|      2|    PyMem_RawFree(cpath);
 2100|      2|    if (res == -1) {
  ------------------
  |  Branch (2100:9): [True: 2, False: 0]
  ------------------
 2101|      2|        return -1;
 2102|      2|    }
 2103|      0|    if ((size_t)res == cbuf_len) {
  ------------------
  |  Branch (2103:9): [True: 0, False: 0]
  ------------------
 2104|      0|        errno = EINVAL;
 2105|      0|        return -1;
 2106|      0|    }
 2107|      0|    cbuf[res] = '\0'; /* buf will be null terminated */
 2108|      0|    wbuf = Py_DecodeLocale(cbuf, &r1);
 2109|      0|    if (wbuf == NULL) {
  ------------------
  |  Branch (2109:9): [True: 0, False: 0]
  ------------------
 2110|      0|        errno = EINVAL;
 2111|      0|        return -1;
 2112|      0|    }
 2113|       |    /* wbuf must have space to store the trailing NUL character */
 2114|      0|    if (buflen <= r1) {
  ------------------
  |  Branch (2114:9): [True: 0, False: 0]
  ------------------
 2115|      0|        PyMem_RawFree(wbuf);
 2116|      0|        errno = EINVAL;
 2117|      0|        return -1;
 2118|      0|    }
 2119|      0|    wcsncpy(buf, wbuf, buflen);
 2120|      0|    PyMem_RawFree(wbuf);
 2121|      0|    return (int)r1;
 2122|      0|}
_Py_isabs:
 2172|     74|{
 2173|       |#ifdef MS_WINDOWS
 2174|       |    const wchar_t *tail;
 2175|       |    HRESULT hr = PathCchSkipRoot(path, &tail);
 2176|       |    if (FAILED(hr) || path == tail) {
 2177|       |        return 0;
 2178|       |    }
 2179|       |    if (tail == &path[1] && (path[0] == SEP || path[0] == ALTSEP)) {
 2180|       |        // Exclude paths with leading SEP
 2181|       |        return 0;
 2182|       |    }
 2183|       |    if (tail == &path[2] && path[1] == L':') {
 2184|       |        // Exclude drive-relative paths (e.g. C:filename.ext)
 2185|       |        return 0;
 2186|       |    }
 2187|       |    return 1;
 2188|       |#else
 2189|     74|    return (path[0] == SEP);
  ------------------
  |  |   29|     74|#  define SEP L'/'
  ------------------
 2190|     74|#endif
 2191|     74|}
_Py_abspath:
 2201|      2|{
 2202|      2|    if (path[0] == '\0' || !wcscmp(path, L".")) {
  ------------------
  |  Branch (2202:9): [True: 0, False: 2]
  |  Branch (2202:28): [True: 0, False: 2]
  ------------------
 2203|      0|        wchar_t cwd[MAXPATHLEN + 1];
 2204|      0|        cwd[Py_ARRAY_LENGTH(cwd) - 1] = 0;
  ------------------
  |  |  221|      0|    (sizeof(array) / sizeof((array)[0]))
  ------------------
 2205|      0|        if (!_Py_wgetcwd(cwd, Py_ARRAY_LENGTH(cwd) - 1)) {
  ------------------
  |  |  221|      0|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (2205:13): [True: 0, False: 0]
  ------------------
 2206|       |            /* unable to get the current directory */
 2207|      0|            return -1;
 2208|      0|        }
 2209|      0|        *abspath_p = _PyMem_RawWcsdup(cwd);
 2210|      0|        return 0;
 2211|      0|    }
 2212|       |
 2213|      2|    if (_Py_isabs(path)) {
  ------------------
  |  Branch (2213:9): [True: 2, False: 0]
  ------------------
 2214|      2|        *abspath_p = _PyMem_RawWcsdup(path);
 2215|      2|        return 0;
 2216|      2|    }
 2217|       |
 2218|       |#ifdef MS_WINDOWS
 2219|       |    return _PyOS_getfullpathname(path, abspath_p);
 2220|       |#else
 2221|      0|    wchar_t cwd[MAXPATHLEN + 1];
 2222|      0|    cwd[Py_ARRAY_LENGTH(cwd) - 1] = 0;
  ------------------
  |  |  221|      0|    (sizeof(array) / sizeof((array)[0]))
  ------------------
 2223|      0|    if (!_Py_wgetcwd(cwd, Py_ARRAY_LENGTH(cwd) - 1)) {
  ------------------
  |  |  221|      0|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (2223:9): [True: 0, False: 0]
  ------------------
 2224|       |        /* unable to get the current directory */
 2225|      0|        return -1;
 2226|      0|    }
 2227|       |
 2228|      0|    size_t cwd_len = wcslen(cwd);
 2229|      0|    size_t path_len = wcslen(path);
 2230|      0|    size_t len = cwd_len + 1 + path_len + 1;
 2231|      0|    if (len <= (size_t)PY_SSIZE_T_MAX / sizeof(wchar_t)) {
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (2231:9): [True: 0, False: 0]
  ------------------
 2232|      0|        *abspath_p = PyMem_RawMalloc(len * sizeof(wchar_t));
 2233|      0|    }
 2234|      0|    else {
 2235|      0|        *abspath_p = NULL;
 2236|      0|    }
 2237|      0|    if (*abspath_p == NULL) {
  ------------------
  |  Branch (2237:9): [True: 0, False: 0]
  ------------------
 2238|      0|        return 0;
 2239|      0|    }
 2240|       |
 2241|      0|    wchar_t *abspath = *abspath_p;
 2242|      0|    memcpy(abspath, cwd, cwd_len * sizeof(wchar_t));
 2243|      0|    abspath += cwd_len;
 2244|       |
 2245|      0|    *abspath = (wchar_t)SEP;
  ------------------
  |  |   29|      0|#  define SEP L'/'
  ------------------
 2246|      0|    abspath++;
 2247|       |
 2248|      0|    memcpy(abspath, path, path_len * sizeof(wchar_t));
 2249|      0|    abspath += path_len;
 2250|       |
 2251|      0|    *abspath = 0;
 2252|      0|    return 0;
 2253|      0|#endif
 2254|      0|}
_Py_skiproot:
 2326|     36|{
 2327|     36|    assert(drvsize);
  ------------------
  |  Branch (2327:5): [True: 36, False: 0]
  ------------------
 2328|     36|    assert(rootsize);
  ------------------
  |  Branch (2328:5): [True: 36, False: 0]
  ------------------
 2329|     36|#ifndef MS_WINDOWS
 2330|     36|#define IS_SEP(x) (*(x) == SEP)
 2331|     36|    *drvsize = 0;
 2332|     36|    if (!IS_SEP(&path[0])) {
  ------------------
  |  | 2330|     36|#define IS_SEP(x) (*(x) == SEP)
  |  |  ------------------
  |  |  |  |   29|     36|#  define SEP L'/'
  |  |  ------------------
  ------------------
  |  Branch (2332:9): [True: 0, False: 36]
  ------------------
 2333|       |        // Relative path, e.g.: 'foo'
 2334|      0|        *rootsize = 0;
 2335|      0|    }
 2336|     36|    else if (!IS_SEP(&path[1]) || IS_SEP(&path[2])) {
  ------------------
  |  | 2330|     72|#define IS_SEP(x) (*(x) == SEP)
  |  |  ------------------
  |  |  |  |   29|     36|#  define SEP L'/'
  |  |  ------------------
  ------------------
                  else if (!IS_SEP(&path[1]) || IS_SEP(&path[2])) {
  ------------------
  |  | 2330|      0|#define IS_SEP(x) (*(x) == SEP)
  |  |  ------------------
  |  |  |  |   29|      0|#  define SEP L'/'
  |  |  ------------------
  |  |  |  Branch (2330:19): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2336:14): [True: 36, False: 0]
  ------------------
 2337|       |        // Absolute path, e.g.: '/foo', '///foo', '////foo', etc.
 2338|     36|        *rootsize = 1;
 2339|     36|    }
 2340|      0|    else {
 2341|       |        // Precisely two leading slashes, e.g.: '//foo'. Implementation defined per POSIX, see
 2342|       |        // https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap04.html#tag_04_13
 2343|      0|        *rootsize = 2;
 2344|      0|    }
 2345|     36|#undef IS_SEP
 2346|       |#else
 2347|       |    const wchar_t *pEnd = size >= 0 ? &path[size] : NULL;
 2348|       |#define IS_END(x) (pEnd ? (x) == pEnd : !*(x))
 2349|       |#define IS_SEP(x) (*(x) == SEP || *(x) == ALTSEP)
 2350|       |#define SEP_OR_END(x) (IS_SEP(x) || IS_END(x))
 2351|       |    if (IS_SEP(&path[0])) {
 2352|       |        if (IS_SEP(&path[1])) {
 2353|       |            // Device drives, e.g. \\.\device or \\?\device
 2354|       |            // UNC drives, e.g. \\server\share or \\?\UNC\server\share
 2355|       |            Py_ssize_t idx;
 2356|       |            if (path[2] == L'?' && IS_SEP(&path[3]) &&
 2357|       |                (path[4] == L'U' || path[4] == L'u') &&
 2358|       |                (path[5] == L'N' || path[5] == L'n') &&
 2359|       |                (path[6] == L'C' || path[6] == L'c') &&
 2360|       |                IS_SEP(&path[7]))
 2361|       |            {
 2362|       |                idx = 8;
 2363|       |            }
 2364|       |            else {
 2365|       |                idx = 2;
 2366|       |            }
 2367|       |            while (!SEP_OR_END(&path[idx])) {
 2368|       |                idx++;
 2369|       |            }
 2370|       |            if (IS_END(&path[idx])) {
 2371|       |                *drvsize = idx;
 2372|       |                *rootsize = 0;
 2373|       |            }
 2374|       |            else {
 2375|       |                idx++;
 2376|       |                while (!SEP_OR_END(&path[idx])) {
 2377|       |                    idx++;
 2378|       |                }
 2379|       |                *drvsize = idx;
 2380|       |                if (IS_END(&path[idx])) {
 2381|       |                    *rootsize = 0;
 2382|       |                }
 2383|       |                else {
 2384|       |                    *rootsize = 1;
 2385|       |                }
 2386|       |            }
 2387|       |        }
 2388|       |        else {
 2389|       |            // Relative path with root, e.g. \Windows
 2390|       |            *drvsize = 0;
 2391|       |            *rootsize = 1;
 2392|       |        }
 2393|       |    }
 2394|       |    else if (!IS_END(&path[0]) && path[1] == L':') {
 2395|       |        *drvsize = 2;
 2396|       |        if (IS_SEP(&path[2])) {
 2397|       |            // Absolute drive-letter path, e.g. X:\Windows
 2398|       |            *rootsize = 1;
 2399|       |        }
 2400|       |        else {
 2401|       |            // Relative path with drive, e.g. X:Windows
 2402|       |            *rootsize = 0;
 2403|       |        }
 2404|       |    }
 2405|       |    else {
 2406|       |        // Relative path, e.g. Windows
 2407|       |        *drvsize = 0;
 2408|       |        *rootsize = 0;
 2409|       |    }
 2410|       |#undef SEP_OR_END
 2411|       |#undef IS_SEP
 2412|       |#undef IS_END
 2413|       |#endif
 2414|     36|}
_Py_add_relfile:
 2486|     24|{
 2487|     24|    assert(dirname != NULL && relfile != NULL);
  ------------------
  |  Branch (2487:5): [True: 24, False: 0]
  |  Branch (2487:5): [True: 24, False: 0]
  ------------------
 2488|     24|    assert(bufsize > 0);
  ------------------
  |  Branch (2488:5): [True: 24, False: 0]
  ------------------
 2489|     24|    return join_relfile(dirname, bufsize, dirname, relfile);
 2490|     24|}
_Py_normpath_and_size:
 2512|     36|{
 2513|     36|    assert(path != NULL);
  ------------------
  |  Branch (2513:5): [True: 36, False: 0]
  ------------------
 2514|     36|    if ((size < 0 && !path[0]) || size == 0) {
  ------------------
  |  Branch (2514:10): [True: 26, False: 10]
  |  Branch (2514:22): [True: 0, False: 26]
  |  Branch (2514:35): [True: 0, False: 36]
  ------------------
 2515|      0|        *normsize = 0;
 2516|      0|        return path;
 2517|      0|    }
 2518|     36|    wchar_t *pEnd = size >= 0 ? &path[size] : NULL;
  ------------------
  |  Branch (2518:21): [True: 10, False: 26]
  ------------------
 2519|     36|    wchar_t *p1 = path;     // sequentially scanned address in the path
 2520|     36|    wchar_t *p2 = path;     // destination of a scanned character to be ljusted
 2521|     36|    wchar_t *minP2 = path;  // the beginning of the destination range
 2522|     36|    wchar_t lastC = L'\0';  // the last ljusted character, p2[-1] in most cases
 2523|       |
 2524|     36|#define IS_END(x) (pEnd ? (x) == pEnd : !*(x))
 2525|       |#ifdef ALTSEP
 2526|       |#define IS_SEP(x) (*(x) == SEP || *(x) == ALTSEP)
 2527|       |#else
 2528|     36|#define IS_SEP(x) (*(x) == SEP)
 2529|     36|#endif
 2530|     36|#define SEP_OR_END(x) (IS_SEP(x) || IS_END(x))
 2531|       |
 2532|     36|    Py_ssize_t drvsize, rootsize;
 2533|     36|    _Py_skiproot(path, size, &drvsize, &rootsize);
 2534|     36|    if (drvsize || rootsize) {
  ------------------
  |  Branch (2534:9): [True: 0, False: 36]
  |  Branch (2534:20): [True: 36, False: 0]
  ------------------
 2535|       |        // Skip past root and update minP2
 2536|     36|        p1 = &path[drvsize + rootsize];
 2537|     36|#ifndef ALTSEP
 2538|     36|        p2 = p1;
 2539|       |#else
 2540|       |        for (; p2 < p1; ++p2) {
 2541|       |            if (*p2 == ALTSEP) {
 2542|       |                *p2 = SEP;
 2543|       |            }
 2544|       |        }
 2545|       |#endif
 2546|     36|        minP2 = p2 - 1;
 2547|     36|        lastC = *minP2;
 2548|       |#ifdef MS_WINDOWS
 2549|       |        if (lastC != SEP) {
 2550|       |            minP2++;
 2551|       |        }
 2552|       |#endif
 2553|     36|    }
 2554|     36|    if (p1[0] == L'.' && SEP_OR_END(&p1[1])) {
  ------------------
  |  | 2530|      0|#define SEP_OR_END(x) (IS_SEP(x) || IS_END(x))
  |  |  ------------------
  |  |  |  | 2528|      0|#define IS_SEP(x) (*(x) == SEP)
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|      0|#  define SEP L'/'
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2528:19): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define SEP_OR_END(x) (IS_SEP(x) || IS_END(x))
  |  |  ------------------
  |  |  |  | 2524|      0|#define IS_END(x) (pEnd ? (x) == pEnd : !*(x))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2524:19): [True: 0, False: 0]
  |  |  |  |  |  Branch (2524:20): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2554:9): [True: 0, False: 36]
  ------------------
 2555|       |        // Skip leading '.\'
 2556|      0|        lastC = *++p1;
 2557|       |#ifdef ALTSEP
 2558|       |        if (lastC == ALTSEP) {
 2559|       |            lastC = SEP;
 2560|       |        }
 2561|       |#endif
 2562|      0|        while (IS_SEP(p1)) {
  ------------------
  |  | 2528|      0|#define IS_SEP(x) (*(x) == SEP)
  |  |  ------------------
  |  |  |  |   29|      0|#  define SEP L'/'
  |  |  ------------------
  |  |  |  Branch (2528:19): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2563|      0|            p1++;
 2564|      0|        }
 2565|      0|    }
 2566|       |
 2567|       |    /* if pEnd is specified, check that. Else, check for null terminator */
 2568|  1.99k|    for (; !IS_END(p1); ++p1) {
  ------------------
  |  | 2524|  1.99k|#define IS_END(x) (pEnd ? (x) == pEnd : !*(x))
  |  |  ------------------
  |  |  |  Branch (2524:20): [True: 622, False: 1.37k]
  |  |  ------------------
  ------------------
  |  Branch (2568:12): [True: 1.95k, False: 36]
  ------------------
 2569|  1.95k|        wchar_t c = *p1;
 2570|       |#ifdef ALTSEP
 2571|       |        if (c == ALTSEP) {
 2572|       |            c = SEP;
 2573|       |        }
 2574|       |#endif
 2575|  1.95k|        if (lastC == SEP) {
  ------------------
  |  |   29|  1.95k|#  define SEP L'/'
  ------------------
  |  Branch (2575:13): [True: 174, False: 1.78k]
  ------------------
 2576|    174|            if (c == L'.') {
  ------------------
  |  Branch (2576:17): [True: 0, False: 174]
  ------------------
 2577|      0|                int sep_at_1 = SEP_OR_END(&p1[1]);
  ------------------
  |  | 2530|      0|#define SEP_OR_END(x) (IS_SEP(x) || IS_END(x))
  |  |  ------------------
  |  |  |  | 2528|      0|#define IS_SEP(x) (*(x) == SEP)
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|      0|#  define SEP L'/'
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2528:19): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define SEP_OR_END(x) (IS_SEP(x) || IS_END(x))
  |  |  ------------------
  |  |  |  | 2524|      0|#define IS_END(x) (pEnd ? (x) == pEnd : !*(x))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2524:19): [True: 0, False: 0]
  |  |  |  |  |  Branch (2524:20): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2578|      0|                int sep_at_2 = !sep_at_1 && SEP_OR_END(&p1[2]);
  ------------------
  |  | 2530|      0|#define SEP_OR_END(x) (IS_SEP(x) || IS_END(x))
  |  |  ------------------
  |  |  |  | 2528|      0|#define IS_SEP(x) (*(x) == SEP)
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|      0|#  define SEP L'/'
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2528:19): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define SEP_OR_END(x) (IS_SEP(x) || IS_END(x))
  |  |  ------------------
  |  |  |  | 2524|      0|#define IS_END(x) (pEnd ? (x) == pEnd : !*(x))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2524:19): [True: 0, False: 0]
  |  |  |  |  |  Branch (2524:20): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2578:32): [True: 0, False: 0]
  ------------------
 2579|      0|                if (sep_at_2 && p1[1] == L'.') {
  ------------------
  |  Branch (2579:21): [True: 0, False: 0]
  |  Branch (2579:33): [True: 0, False: 0]
  ------------------
 2580|      0|                    wchar_t *p3 = p2;
 2581|      0|                    while (p3 != minP2 && *--p3 == SEP) { }
  ------------------
  |  |   29|      0|#  define SEP L'/'
  ------------------
  |  Branch (2581:28): [True: 0, False: 0]
  |  Branch (2581:43): [True: 0, False: 0]
  ------------------
 2582|      0|                    while (p3 != minP2 && *(p3 - 1) != SEP) { --p3; }
  ------------------
  |  |   29|      0|#  define SEP L'/'
  ------------------
  |  Branch (2582:28): [True: 0, False: 0]
  |  Branch (2582:43): [True: 0, False: 0]
  ------------------
 2583|      0|                    if (p2 == minP2
  ------------------
  |  Branch (2583:25): [True: 0, False: 0]
  ------------------
 2584|      0|                        || (p3[0] == L'.' && p3[1] == L'.' && IS_SEP(&p3[2])))
  ------------------
  |  | 2528|      0|#define IS_SEP(x) (*(x) == SEP)
  |  |  ------------------
  |  |  |  |   29|      0|#  define SEP L'/'
  |  |  ------------------
  |  |  |  Branch (2528:19): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2584:29): [True: 0, False: 0]
  |  Branch (2584:46): [True: 0, False: 0]
  ------------------
 2585|      0|                    {
 2586|       |                        // Previous segment is also ../, so append instead.
 2587|       |                        // Relative path does not absorb ../ at minP2 as well.
 2588|      0|                        *p2++ = L'.';
 2589|      0|                        *p2++ = L'.';
 2590|      0|                        lastC = L'.';
 2591|      0|                    } else if (p3[0] == SEP) {
  ------------------
  |  |   29|      0|#  define SEP L'/'
  ------------------
  |  Branch (2591:32): [True: 0, False: 0]
  ------------------
 2592|       |                        // Absolute path, so absorb segment
 2593|      0|                        p2 = p3 + 1;
 2594|      0|                    } else {
 2595|      0|                        p2 = p3;
 2596|      0|                    }
 2597|      0|                    p1 += 1;
 2598|      0|                } else if (sep_at_1) {
  ------------------
  |  Branch (2598:28): [True: 0, False: 0]
  ------------------
 2599|      0|                } else {
 2600|      0|                    *p2++ = lastC = c;
 2601|      0|                }
 2602|    174|            } else if (c == SEP) {
  ------------------
  |  |   29|    174|#  define SEP L'/'
  ------------------
  |  Branch (2602:24): [True: 0, False: 174]
  ------------------
 2603|    174|            } else {
 2604|    174|                *p2++ = lastC = c;
 2605|    174|            }
 2606|  1.78k|        } else {
 2607|  1.78k|            *p2++ = lastC = c;
 2608|  1.78k|        }
 2609|  1.95k|    }
 2610|     36|    *p2 = L'\0';
 2611|     36|    if (p2 != minP2) {
  ------------------
  |  Branch (2611:9): [True: 36, False: 0]
  ------------------
 2612|     36|        while (--p2 != minP2 && *p2 == SEP) {
  ------------------
  |  |   29|     36|#  define SEP L'/'
  ------------------
  |  Branch (2612:16): [True: 36, False: 0]
  |  Branch (2612:33): [True: 0, False: 36]
  ------------------
 2613|      0|            *p2 = L'\0';
 2614|      0|        }
 2615|     36|    } else {
 2616|      0|        --p2;
 2617|      0|    }
 2618|     36|    *normsize = p2 - path + 1;
 2619|     36|#undef SEP_OR_END
 2620|     36|#undef IS_SEP
 2621|     36|#undef IS_END
 2622|     36|    return path;
 2623|     36|}
_Py_normpath:
 2632|     26|{
 2633|     26|    Py_ssize_t norm_length;
 2634|     26|    return _Py_normpath_and_size(path, size, &norm_length);
 2635|     26|}
_Py_GetTicksPerSecond:
 3099|      4|{
 3100|      4|#if defined(HAVE_SYSCONF) && defined(_SC_CLK_TCK)
 3101|      4|    long value = sysconf(_SC_CLK_TCK);
 3102|      4|    if (value < 1) {
  ------------------
  |  Branch (3102:9): [True: 0, False: 4]
  ------------------
 3103|      0|        return -1;
 3104|      0|    }
 3105|      4|    *ticks_per_second = value;
 3106|       |#elif defined(HZ)
 3107|       |    assert(HZ >= 1);
 3108|       |    *ticks_per_second = HZ;
 3109|       |#else
 3110|       |    // Magic fallback value; may be bogus
 3111|       |    *ticks_per_second = 60;
 3112|       |#endif
 3113|      4|    return 0;
 3114|      4|}
_Py_IsValidFD:
 3122|      6|{
 3123|       |/* dup() is faster than fstat(): fstat() can require input/output operations,
 3124|       |   whereas dup() doesn't. There is a low risk of EMFILE/ENFILE at Python
 3125|       |   startup. Problem: dup() doesn't check if the file descriptor is valid on
 3126|       |   some platforms.
 3127|       |
 3128|       |   fcntl(fd, F_GETFD) is even faster, because it only checks the process table.
 3129|       |   It is preferred over dup() when available, since it cannot fail with the
 3130|       |   "too many open files" error (EMFILE).
 3131|       |
 3132|       |   bpo-30225: On macOS Tiger, when stdout is redirected to a pipe and the other
 3133|       |   side of the pipe is closed, dup(1) succeed, whereas fstat(1, &st) fails with
 3134|       |   EBADF. FreeBSD has similar issue (bpo-32849).
 3135|       |
 3136|       |   Only use dup() on Linux where dup() is enough to detect invalid FD
 3137|       |   (bpo-32849).
 3138|       |*/
 3139|      6|    if (fd < 0) {
  ------------------
  |  Branch (3139:9): [True: 0, False: 6]
  ------------------
 3140|      0|        return 0;
 3141|      0|    }
 3142|      6|#if defined(F_GETFD) && ( \
 3143|      6|        defined(__linux__) || \
 3144|      6|        defined(__APPLE__) || \
 3145|      6|        (defined(__wasm__) && !defined(__wasi__)))
 3146|      6|    return fcntl(fd, F_GETFD) >= 0;
 3147|       |#elif defined(__linux__)
 3148|       |    int fd2 = dup(fd);
 3149|       |    if (fd2 >= 0) {
 3150|       |        close(fd2);
 3151|       |    }
 3152|       |    return (fd2 >= 0);
 3153|       |#elif defined(MS_WINDOWS)
 3154|       |    HANDLE hfile;
 3155|       |    _Py_BEGIN_SUPPRESS_IPH
 3156|       |    hfile = (HANDLE)_get_osfhandle(fd);
 3157|       |    _Py_END_SUPPRESS_IPH
 3158|       |    return (hfile != INVALID_HANDLE_VALUE
 3159|       |            && GetFileType(hfile) != FILE_TYPE_UNKNOWN);
 3160|       |#else
 3161|       |    struct stat st;
 3162|       |    return (fstat(fd, &st) == 0);
 3163|       |#endif
 3164|      6|}
fileutils.c:_Py_mbstowcs:
  173|     88|{
  174|     88|    size_t count = mbstowcs(dest, src, n);
  175|     88|    if (dest != NULL && count != DECODE_ERROR) {
  ------------------
  |  Branch (175:9): [True: 44, False: 44]
  |  Branch (175:25): [True: 44, False: 0]
  ------------------
  176|  1.14k|        for (size_t i=0; i < count; i++) {
  ------------------
  |  Branch (176:26): [True: 1.10k, False: 44]
  ------------------
  177|  1.10k|            wchar_t ch = dest[i];
  178|  1.10k|            if (!is_valid_wide_char(ch)) {
  ------------------
  |  Branch (178:17): [True: 0, False: 1.10k]
  ------------------
  179|      0|                return DECODE_ERROR;
  180|      0|            }
  181|  1.10k|        }
  182|     44|    }
  183|     88|    return count;
  184|     88|}
fileutils.c:is_valid_wide_char:
  147|  1.10k|{
  148|       |#ifdef HAVE_NON_UNICODE_WCHAR_T_REPRESENTATION
  149|       |    /* Oracle Solaris doesn't use Unicode code points as wchar_t encoding
  150|       |       for non-Unicode locales, which makes values higher than _Py_MAX_UNICODE
  151|       |       possibly valid. */
  152|       |    return 1;
  153|       |#endif
  154|  1.10k|    if (Py_UNICODE_IS_SURROGATE(ch)) {
  ------------------
  |  Branch (154:9): [True: 0, False: 1.10k]
  ------------------
  155|       |        // Reject lone surrogate characters
  156|      0|        return 0;
  157|      0|    }
  158|  1.10k|#if SIZEOF_WCHAR_T > 2
  159|  1.10k|    if (ch > _Py_MAX_UNICODE) {
  ------------------
  |  |   17|  1.10k|#define _Py_MAX_UNICODE 0x10ffff
  ------------------
  |  Branch (159:9): [True: 0, False: 1.10k]
  ------------------
  160|       |        // bpo-35883: Reject characters outside [U+0000; U+10ffff] range.
  161|       |        // The glibc mbstowcs() UTF-8 decoder does not respect the RFC 3629,
  162|       |        // it creates characters outside the [U+0000; U+10ffff] range:
  163|       |        // https://sourceware.org/bugzilla/show_bug.cgi?id=2373
  164|      0|        return 0;
  165|      0|    }
  166|  1.10k|#endif
  167|  1.10k|    return 1;
  168|  1.10k|}
fileutils.c:decode_current_locale:
  486|     44|{
  487|     44|    wchar_t *res;
  488|     44|    size_t argsize;
  489|     44|    size_t count;
  490|     44|#ifdef HAVE_MBRTOWC
  491|     44|    unsigned char *in;
  492|     44|    wchar_t *out;
  493|     44|    mbstate_t mbs;
  494|     44|#endif
  495|       |
  496|     44|    int surrogateescape;
  497|     44|    if (get_surrogateescape(errors, &surrogateescape) < 0) {
  ------------------
  |  Branch (497:9): [True: 0, False: 44]
  ------------------
  498|      0|        return -3;
  499|      0|    }
  500|       |
  501|       |#ifdef HAVE_BROKEN_MBSTOWCS
  502|       |    /* Some platforms have a broken implementation of
  503|       |     * mbstowcs which does not count the characters that
  504|       |     * would result from conversion.  Use an upper bound.
  505|       |     */
  506|       |    argsize = strlen(arg);
  507|       |#else
  508|     44|    argsize = _Py_mbstowcs(NULL, arg, 0);
  509|     44|#endif
  510|     44|    if (argsize != DECODE_ERROR) {
  ------------------
  |  Branch (510:9): [True: 44, False: 0]
  ------------------
  511|     44|        if (argsize > PY_SSIZE_T_MAX / sizeof(wchar_t) - 1) {
  ------------------
  |  |  137|     44|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (511:13): [True: 0, False: 44]
  ------------------
  512|      0|            return -1;
  513|      0|        }
  514|     44|        res = (wchar_t *)PyMem_RawMalloc((argsize + 1) * sizeof(wchar_t));
  515|     44|        if (!res) {
  ------------------
  |  Branch (515:13): [True: 0, False: 44]
  ------------------
  516|      0|            return -1;
  517|      0|        }
  518|       |
  519|     44|        count = _Py_mbstowcs(res, arg, argsize + 1);
  520|     44|        if (count != DECODE_ERROR) {
  ------------------
  |  Branch (520:13): [True: 44, False: 0]
  ------------------
  521|     44|            *wstr = res;
  522|     44|            if (wlen != NULL) {
  ------------------
  |  Branch (522:17): [True: 44, False: 0]
  ------------------
  523|     44|                *wlen = count;
  524|     44|            }
  525|     44|            return 0;
  526|     44|        }
  527|      0|        PyMem_RawFree(res);
  528|      0|    }
  529|       |
  530|       |    /* Conversion failed. Fall back to escaping with surrogateescape. */
  531|      0|#ifdef HAVE_MBRTOWC
  532|       |    /* Try conversion with mbrtwoc (C99), and escape non-decodable bytes. */
  533|       |
  534|       |    /* Overallocate; as multi-byte characters are in the argument, the
  535|       |       actual output could use less memory. */
  536|      0|    argsize = strlen(arg) + 1;
  537|      0|    if (argsize > PY_SSIZE_T_MAX / sizeof(wchar_t)) {
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (537:9): [True: 0, False: 0]
  ------------------
  538|      0|        return -1;
  539|      0|    }
  540|      0|    res = (wchar_t*)PyMem_RawMalloc(argsize * sizeof(wchar_t));
  541|      0|    if (!res) {
  ------------------
  |  Branch (541:9): [True: 0, False: 0]
  ------------------
  542|      0|        return -1;
  543|      0|    }
  544|       |
  545|      0|    in = (unsigned char*)arg;
  546|      0|    out = res;
  547|      0|    memset(&mbs, 0, sizeof mbs);
  548|      0|    while (argsize) {
  ------------------
  |  Branch (548:12): [True: 0, False: 0]
  ------------------
  549|      0|        size_t converted = _Py_mbrtowc(out, (char*)in, argsize, &mbs);
  550|      0|        if (converted == 0) {
  ------------------
  |  Branch (550:13): [True: 0, False: 0]
  ------------------
  551|       |            /* Reached end of string; null char stored. */
  552|      0|            break;
  553|      0|        }
  554|       |
  555|      0|        if (converted == DECODE_ERROR || converted == INCOMPLETE_CHARACTER) {
  ------------------
  |  Branch (555:13): [True: 0, False: 0]
  |  Branch (555:42): [True: 0, False: 0]
  ------------------
  556|      0|            if (!surrogateescape) {
  ------------------
  |  Branch (556:17): [True: 0, False: 0]
  ------------------
  557|      0|                goto decode_error;
  558|      0|            }
  559|       |
  560|       |            /* Decoding error. Escape as UTF-8b, and start over in the initial
  561|       |               shift state. */
  562|      0|            *out++ = 0xdc00 + *in++;
  563|      0|            argsize--;
  564|      0|            memset(&mbs, 0, sizeof mbs);
  565|      0|            continue;
  566|      0|        }
  567|       |
  568|       |        // _Py_mbrtowc() reject lone surrogate characters
  569|      0|        assert(!Py_UNICODE_IS_SURROGATE(*out));
  ------------------
  |  Branch (569:9): [True: 0, False: 0]
  ------------------
  570|       |
  571|       |        /* successfully converted some bytes */
  572|      0|        in += converted;
  573|      0|        argsize -= converted;
  574|      0|        out++;
  575|      0|    }
  576|      0|    if (wlen != NULL) {
  ------------------
  |  Branch (576:9): [True: 0, False: 0]
  ------------------
  577|      0|        *wlen = out - res;
  578|      0|    }
  579|      0|    *wstr = res;
  580|      0|    return 0;
  581|       |
  582|      0|decode_error:
  583|      0|    PyMem_RawFree(res);
  584|      0|    if (wlen) {
  ------------------
  |  Branch (584:9): [True: 0, False: 0]
  ------------------
  585|      0|        *wlen = in - (unsigned char*)arg;
  586|      0|    }
  587|      0|    if (reason) {
  ------------------
  |  Branch (587:9): [True: 0, False: 0]
  ------------------
  588|      0|        *reason = "decoding error";
  589|      0|    }
  590|      0|    return -2;
  591|       |#else   /* HAVE_MBRTOWC */
  592|       |    /* Cannot use C locale for escaping; manually escape as if charset
  593|       |       is ASCII (i.e. escape all bytes > 128. This will still roundtrip
  594|       |       correctly in the locale's charset, which must be an ASCII superset. */
  595|       |    return decode_ascii(arg, wstr, wlen, reason, errors);
  596|       |#endif   /* HAVE_MBRTOWC */
  597|      0|}
fileutils.c:get_surrogateescape:
   63|     44|{
   64|     44|    switch (errors)
   65|     44|    {
   66|      0|    case _Py_ERROR_STRICT:
  ------------------
  |  Branch (66:5): [True: 0, False: 44]
  ------------------
   67|      0|        *surrogateescape = 0;
   68|      0|        return 0;
   69|     44|    case _Py_ERROR_SURROGATEESCAPE:
  ------------------
  |  Branch (69:5): [True: 44, False: 0]
  ------------------
   70|     44|        *surrogateescape = 1;
   71|     44|        return 0;
   72|      0|    default:
  ------------------
  |  Branch (72:5): [True: 0, False: 44]
  ------------------
   73|      0|        return -1;
   74|     44|    }
   75|     44|}
fileutils.c:encode_locale:
  860|     10|{
  861|     10|    char *str;
  862|     10|    int res = encode_locale_ex(text, &str, error_pos, NULL,
  863|     10|                               raw_malloc, current_locale,
  864|     10|                               _Py_ERROR_SURROGATEESCAPE);
  865|     10|    if (res != -2 && error_pos) {
  ------------------
  |  Branch (865:9): [True: 10, False: 0]
  |  Branch (865:22): [True: 0, False: 10]
  ------------------
  866|      0|        *error_pos = (size_t)-1;
  867|      0|    }
  868|     10|    if (res != 0) {
  ------------------
  |  Branch (868:9): [True: 0, False: 10]
  ------------------
  869|      0|        return NULL;
  870|      0|    }
  871|     10|    return str;
  872|     10|}
fileutils.c:encode_locale_ex:
  817|     92|{
  818|     92|    if (current_locale) {
  ------------------
  |  Branch (818:9): [True: 0, False: 92]
  ------------------
  819|       |#ifdef _Py_FORCE_UTF8_LOCALE
  820|       |        return _Py_EncodeUTF8Ex(text, str, error_pos, reason,
  821|       |                                raw_malloc, errors);
  822|       |#else
  823|      0|        return encode_current_locale(text, str, error_pos, reason,
  824|      0|                                     raw_malloc, errors);
  825|      0|#endif
  826|      0|    }
  827|       |
  828|       |#ifdef _Py_FORCE_UTF8_FS_ENCODING
  829|       |    return _Py_EncodeUTF8Ex(text, str, error_pos, reason,
  830|       |                            raw_malloc, errors);
  831|       |#else
  832|     92|    int use_utf8 = (_PyRuntime.preconfig.utf8_mode >= 1);
  833|       |#ifdef MS_WINDOWS
  834|       |    use_utf8 |= (_PyRuntime.preconfig.legacy_windows_fs_encoding == 0);
  835|       |#endif
  836|     92|    if (use_utf8) {
  ------------------
  |  Branch (836:9): [True: 92, False: 0]
  ------------------
  837|     92|        return _Py_EncodeUTF8Ex(text, str, error_pos, reason,
  838|     92|                                raw_malloc, errors);
  839|     92|    }
  840|       |
  841|      0|#ifdef USE_FORCE_ASCII
  842|      0|    if (force_ascii == -1) {
  ------------------
  |  |  236|      0|#define force_ascii (_PyRuntime.fileutils.force_ascii)
  ------------------
  |  Branch (842:9): [True: 0, False: 0]
  ------------------
  843|      0|        force_ascii = check_force_ascii();
  ------------------
  |  |  236|      0|#define force_ascii (_PyRuntime.fileutils.force_ascii)
  ------------------
  844|      0|    }
  845|       |
  846|      0|    if (force_ascii) {
  ------------------
  |  |  236|      0|#define force_ascii (_PyRuntime.fileutils.force_ascii)
  |  |  ------------------
  |  |  |  Branch (236:21): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  847|      0|        return encode_ascii(text, str, error_pos, reason,
  848|      0|                            raw_malloc, errors);
  849|      0|    }
  850|      0|#endif
  851|       |
  852|      0|    return encode_current_locale(text, str, error_pos, reason,
  853|      0|                                 raw_malloc, errors);
  854|      0|#endif   /* _Py_FORCE_UTF8_FS_ENCODING */
  855|      0|}
fileutils.c:get_inheritable:
 1418|      2|{
 1419|       |#ifdef MS_WINDOWS
 1420|       |    HANDLE handle;
 1421|       |    DWORD flags;
 1422|       |
 1423|       |    handle = _Py_get_osfhandle_noraise(fd);
 1424|       |    if (handle == INVALID_HANDLE_VALUE) {
 1425|       |        if (raise)
 1426|       |            PyErr_SetFromErrno(PyExc_OSError);
 1427|       |        return -1;
 1428|       |    }
 1429|       |
 1430|       |    if (!GetHandleInformation(handle, &flags)) {
 1431|       |        if (raise)
 1432|       |            PyErr_SetFromWindowsErr(0);
 1433|       |        return -1;
 1434|       |    }
 1435|       |
 1436|       |    return (flags & HANDLE_FLAG_INHERIT);
 1437|       |#else
 1438|      2|    int flags;
 1439|       |
 1440|      2|    flags = fcntl(fd, F_GETFD, 0);
 1441|      2|    if (flags == -1) {
  ------------------
  |  Branch (1441:9): [True: 0, False: 2]
  ------------------
 1442|      0|        if (raise)
  ------------------
  |  Branch (1442:13): [True: 0, False: 0]
  ------------------
 1443|      0|            PyErr_SetFromErrno(PyExc_OSError);
 1444|      0|        return -1;
 1445|      0|    }
 1446|      2|    return !(flags & FD_CLOEXEC);
 1447|      2|#endif
 1448|      2|}
fileutils.c:set_inheritable:
 1463|     27|{
 1464|       |#ifdef MS_WINDOWS
 1465|       |    HANDLE handle;
 1466|       |    DWORD flags;
 1467|       |#else
 1468|     27|#if defined(HAVE_SYS_IOCTL_H) && defined(FIOCLEX) && defined(FIONCLEX)
 1469|     27|    static int ioctl_works = -1;
 1470|     27|    int request;
 1471|     27|    int err;
 1472|     27|#endif
 1473|     27|    int flags, new_flags;
 1474|     27|    int res;
 1475|     27|#endif
 1476|       |
 1477|       |    /* atomic_flag_works can only be used to make the file descriptor
 1478|       |       non-inheritable */
 1479|     27|    assert(!(atomic_flag_works != NULL && inheritable));
  ------------------
  |  Branch (1479:5): [True: 27, False: 0]
  |  Branch (1479:5): [True: 0, False: 27]
  ------------------
 1480|       |
 1481|     27|    if (atomic_flag_works != NULL && !inheritable) {
  ------------------
  |  Branch (1481:9): [True: 27, False: 0]
  |  Branch (1481:38): [True: 27, False: 0]
  ------------------
 1482|     27|        if (_Py_atomic_load_int_relaxed(atomic_flag_works) == -1) {
  ------------------
  |  Branch (1482:13): [True: 2, False: 25]
  ------------------
 1483|      2|            int isInheritable = get_inheritable(fd, raise);
 1484|      2|            if (isInheritable == -1)
  ------------------
  |  Branch (1484:17): [True: 0, False: 2]
  ------------------
 1485|      0|                return -1;
 1486|      2|            _Py_atomic_store_int_relaxed(atomic_flag_works, !isInheritable);
 1487|      2|        }
 1488|       |
 1489|     27|        if (_Py_atomic_load_int_relaxed(atomic_flag_works))
  ------------------
  |  Branch (1489:13): [True: 27, False: 0]
  ------------------
 1490|     27|            return 0;
 1491|     27|    }
 1492|       |
 1493|       |#ifdef MS_WINDOWS
 1494|       |    handle = _Py_get_osfhandle_noraise(fd);
 1495|       |    if (handle == INVALID_HANDLE_VALUE) {
 1496|       |        if (raise)
 1497|       |            PyErr_SetFromErrno(PyExc_OSError);
 1498|       |        return -1;
 1499|       |    }
 1500|       |
 1501|       |    if (inheritable)
 1502|       |        flags = HANDLE_FLAG_INHERIT;
 1503|       |    else
 1504|       |        flags = 0;
 1505|       |
 1506|       |    if (!SetHandleInformation(handle, HANDLE_FLAG_INHERIT, flags)) {
 1507|       |        if (raise)
 1508|       |            PyErr_SetFromWindowsErr(0);
 1509|       |        return -1;
 1510|       |    }
 1511|       |    return 0;
 1512|       |
 1513|       |#else
 1514|       |
 1515|      0|#if defined(HAVE_SYS_IOCTL_H) && defined(FIOCLEX) && defined(FIONCLEX)
 1516|      0|    if (raise != 0 && _Py_atomic_load_int_relaxed(&ioctl_works) != 0) {
  ------------------
  |  Branch (1516:9): [True: 0, False: 0]
  |  Branch (1516:23): [True: 0, False: 0]
  ------------------
 1517|       |        /* fast-path: ioctl() only requires one syscall */
 1518|       |        /* caveat: raise=0 is an indicator that we must be async-signal-safe
 1519|       |         * thus avoid using ioctl() so we skip the fast-path. */
 1520|      0|        if (inheritable)
  ------------------
  |  Branch (1520:13): [True: 0, False: 0]
  ------------------
 1521|      0|            request = FIONCLEX;
 1522|      0|        else
 1523|      0|            request = FIOCLEX;
 1524|      0|        err = ioctl(fd, request, NULL);
 1525|      0|        if (!err) {
  ------------------
  |  Branch (1525:13): [True: 0, False: 0]
  ------------------
 1526|      0|            if (_Py_atomic_load_int_relaxed(&ioctl_works) == -1) {
  ------------------
  |  Branch (1526:17): [True: 0, False: 0]
  ------------------
 1527|      0|                _Py_atomic_store_int_relaxed(&ioctl_works, 1);
 1528|      0|            }
 1529|      0|            return 0;
 1530|      0|        }
 1531|       |
 1532|      0|#ifdef O_PATH
 1533|      0|        if (errno == EBADF) {
  ------------------
  |  Branch (1533:13): [True: 0, False: 0]
  ------------------
 1534|       |            // bpo-44849: On Linux and FreeBSD, ioctl(FIOCLEX) fails with EBADF
 1535|       |            // on O_PATH file descriptors. Fall through to the fcntl()
 1536|       |            // implementation.
 1537|      0|        }
 1538|      0|        else
 1539|      0|#endif
 1540|      0|        if (errno != ENOTTY && errno != EACCES) {
  ------------------
  |  Branch (1540:13): [True: 0, False: 0]
  |  Branch (1540:32): [True: 0, False: 0]
  ------------------
 1541|      0|            if (raise)
  ------------------
  |  Branch (1541:17): [True: 0, False: 0]
  ------------------
 1542|      0|                PyErr_SetFromErrno(PyExc_OSError);
 1543|      0|            return -1;
 1544|      0|        }
 1545|      0|        else {
 1546|       |            /* Issue #22258: Here, ENOTTY means "Inappropriate ioctl for
 1547|       |               device". The ioctl is declared but not supported by the kernel.
 1548|       |               Remember that ioctl() doesn't work. It is the case on
 1549|       |               Illumos-based OS for example.
 1550|       |
 1551|       |               Issue #27057: When SELinux policy disallows ioctl it will fail
 1552|       |               with EACCES. While FIOCLEX is safe operation it may be
 1553|       |               unavailable because ioctl was denied altogether.
 1554|       |               This can be the case on Android. */
 1555|      0|            _Py_atomic_store_int_relaxed(&ioctl_works, 0);
 1556|      0|        }
 1557|       |        /* fallback to fcntl() if ioctl() does not work */
 1558|      0|    }
 1559|      0|#endif
 1560|       |
 1561|       |    /* slow-path: fcntl() requires two syscalls */
 1562|      0|    flags = fcntl(fd, F_GETFD);
 1563|      0|    if (flags < 0) {
  ------------------
  |  Branch (1563:9): [True: 0, False: 0]
  ------------------
 1564|      0|        if (raise)
  ------------------
  |  Branch (1564:13): [True: 0, False: 0]
  ------------------
 1565|      0|            PyErr_SetFromErrno(PyExc_OSError);
 1566|      0|        return -1;
 1567|      0|    }
 1568|       |
 1569|      0|    if (inheritable) {
  ------------------
  |  Branch (1569:9): [True: 0, False: 0]
  ------------------
 1570|      0|        new_flags = flags & ~FD_CLOEXEC;
 1571|      0|    }
 1572|      0|    else {
 1573|      0|        new_flags = flags | FD_CLOEXEC;
 1574|      0|    }
 1575|       |
 1576|      0|    if (new_flags == flags) {
  ------------------
  |  Branch (1576:9): [True: 0, False: 0]
  ------------------
 1577|       |        /* FD_CLOEXEC flag already set/cleared: nothing to do */
 1578|      0|        return 0;
 1579|      0|    }
 1580|       |
 1581|      0|    res = fcntl(fd, F_SETFD, new_flags);
 1582|      0|    if (res < 0) {
  ------------------
  |  Branch (1582:9): [True: 0, False: 0]
  ------------------
 1583|      0|        if (raise)
  ------------------
  |  Branch (1583:13): [True: 0, False: 0]
  ------------------
 1584|      0|            PyErr_SetFromErrno(PyExc_OSError);
 1585|      0|        return -1;
 1586|      0|    }
 1587|      0|    return 0;
 1588|      0|#endif
 1589|      0|}
fileutils.c:_Py_write_impl:
 1941|     22|{
 1942|     22|    Py_ssize_t n;
 1943|     22|    int err;
 1944|     22|    int async_err = 0;
 1945|       |
 1946|     22|    _Py_BEGIN_SUPPRESS_IPH
 1947|       |#ifdef MS_WINDOWS
 1948|       |    if (count > 32767) {
 1949|       |        /* Issue #11395: the Windows console returns an error (12: not
 1950|       |           enough space error) on writing into stdout if stdout mode is
 1951|       |           binary and the length is greater than 66,000 bytes (or less,
 1952|       |           depending on heap usage). */
 1953|       |        if (gil_held) {
 1954|       |            Py_BEGIN_ALLOW_THREADS
 1955|       |            if (isatty(fd)) {
 1956|       |                count = 32767;
 1957|       |            }
 1958|       |            Py_END_ALLOW_THREADS
 1959|       |        } else {
 1960|       |            if (isatty(fd)) {
 1961|       |                count = 32767;
 1962|       |            }
 1963|       |        }
 1964|       |    }
 1965|       |
 1966|       |#endif
 1967|     22|    if (count > _PY_WRITE_MAX) {
  ------------------
  |  |   60|     22|#   define _PY_WRITE_MAX PY_SSIZE_T_MAX
  |  |  ------------------
  |  |  |  |  137|     22|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  ------------------
  |  Branch (1967:9): [True: 0, False: 22]
  ------------------
 1968|      0|        count = _PY_WRITE_MAX;
  ------------------
  |  |   60|      0|#   define _PY_WRITE_MAX PY_SSIZE_T_MAX
  |  |  ------------------
  |  |  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  ------------------
 1969|      0|    }
 1970|       |
 1971|     22|    if (gil_held) {
  ------------------
  |  Branch (1971:9): [True: 22, False: 0]
  ------------------
 1972|     22|        do {
 1973|     22|            Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  117|     22|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  118|     22|                        PyThreadState *_save; \
  |  |  119|     22|                        _save = PyEval_SaveThread();
  ------------------
 1974|     22|            errno = 0;
 1975|       |#ifdef MS_WINDOWS
 1976|       |            // write() on a non-blocking pipe fails with ENOSPC on Windows if
 1977|       |            // the pipe lacks available space for the entire buffer.
 1978|       |            int c = (int)count;
 1979|       |            do {
 1980|       |                _doserrno = 0;
 1981|       |                n = write(fd, buf, c);
 1982|       |                if (n >= 0 || errno != ENOSPC || _doserrno != 0) {
 1983|       |                    break;
 1984|       |                }
 1985|       |                errno = EAGAIN;
 1986|       |                c /= 2;
 1987|       |            } while (c > 0);
 1988|       |#else
 1989|     22|            n = write(fd, buf, count);
 1990|     22|#endif
 1991|       |            /* save/restore errno because PyErr_CheckSignals()
 1992|       |             * and PyErr_SetFromErrno() can modify it */
 1993|     22|            err = errno;
 1994|     22|            Py_END_ALLOW_THREADS
  ------------------
  |  |  122|     22|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  123|     22|                 }
  ------------------
 1995|     22|        } while (n < 0 && err == EINTR &&
  ------------------
  |  Branch (1995:18): [True: 0, False: 22]
  |  Branch (1995:27): [True: 0, False: 0]
  ------------------
 1996|      0|                !(async_err = PyErr_CheckSignals()));
  ------------------
  |  Branch (1996:17): [True: 0, False: 0]
  ------------------
 1997|     22|    }
 1998|      0|    else {
 1999|      0|        do {
 2000|      0|            errno = 0;
 2001|       |#ifdef MS_WINDOWS
 2002|       |            // write() on a non-blocking pipe fails with ENOSPC on Windows if
 2003|       |            // the pipe lacks available space for the entire buffer.
 2004|       |            int c = (int)count;
 2005|       |            do {
 2006|       |                _doserrno = 0;
 2007|       |                n = write(fd, buf, c);
 2008|       |                if (n >= 0 || errno != ENOSPC || _doserrno != 0) {
 2009|       |                    break;
 2010|       |                }
 2011|       |                errno = EAGAIN;
 2012|       |                c /= 2;
 2013|       |            } while (c > 0);
 2014|       |#else
 2015|      0|            n = write(fd, buf, count);
 2016|      0|#endif
 2017|      0|            err = errno;
 2018|      0|        } while (n < 0 && err == EINTR);
  ------------------
  |  Branch (2018:18): [True: 0, False: 0]
  |  Branch (2018:27): [True: 0, False: 0]
  ------------------
 2019|      0|    }
 2020|     22|    _Py_END_SUPPRESS_IPH
 2021|       |
 2022|     22|    if (async_err) {
  ------------------
  |  Branch (2022:9): [True: 0, False: 22]
  ------------------
 2023|       |        /* write() was interrupted by a signal (failed with EINTR)
 2024|       |           and the Python signal handler raised an exception (if gil_held is
 2025|       |           nonzero). */
 2026|      0|        errno = err;
 2027|      0|        assert(errno == EINTR && (!gil_held || PyErr_Occurred()));
  ------------------
  |  Branch (2027:9): [True: 0, False: 0]
  |  Branch (2027:9): [True: 0, False: 0]
  |  Branch (2027:9): [True: 0, False: 0]
  ------------------
 2028|      0|        return -1;
 2029|      0|    }
 2030|     22|    if (n < 0) {
  ------------------
  |  Branch (2030:9): [True: 0, False: 22]
  ------------------
 2031|      0|        if (gil_held)
  ------------------
  |  Branch (2031:13): [True: 0, False: 0]
  ------------------
 2032|      0|            PyErr_SetFromErrno(PyExc_OSError);
 2033|      0|        errno = err;
 2034|      0|        return -1;
 2035|      0|    }
 2036|       |
 2037|     22|    return n;
 2038|     22|}
fileutils.c:join_relfile:
 2420|     24|{
 2421|       |#ifdef MS_WINDOWS
 2422|       |    if (FAILED(PathCchCombineEx(buffer, bufsize, dirname, relfile,
 2423|       |        PATHCCH_ALLOW_LONG_PATHS))) {
 2424|       |        return -1;
 2425|       |    }
 2426|       |#else
 2427|     24|    assert(!_Py_isabs(relfile));
  ------------------
  |  Branch (2427:5): [True: 24, False: 0]
  ------------------
 2428|     24|    size_t dirlen = wcslen(dirname);
 2429|     24|    size_t rellen = wcslen(relfile);
 2430|     24|    size_t maxlen = bufsize - 1;
 2431|     24|    if (maxlen > MAXPATHLEN || dirlen >= maxlen || rellen >= maxlen - dirlen) {
  ------------------
  |  |   43|     48|#    define MAXPATHLEN PATH_MAX
  ------------------
  |  Branch (2431:9): [True: 0, False: 24]
  |  Branch (2431:32): [True: 0, False: 24]
  |  Branch (2431:52): [True: 0, False: 24]
  ------------------
 2432|      0|        return -1;
 2433|      0|    }
 2434|     24|    if (dirlen == 0) {
  ------------------
  |  Branch (2434:9): [True: 0, False: 24]
  ------------------
 2435|       |        // We do not add a leading separator.
 2436|      0|        wcscpy(buffer, relfile);
 2437|      0|    }
 2438|     24|    else {
 2439|     24|        if (dirname != buffer) {
  ------------------
  |  Branch (2439:13): [True: 0, False: 24]
  ------------------
 2440|      0|            wcscpy(buffer, dirname);
 2441|      0|        }
 2442|     24|        size_t relstart = dirlen;
 2443|     24|        if (dirlen > 1 && dirname[dirlen - 1] != SEP) {
  ------------------
  |  |   29|     24|#  define SEP L'/'
  ------------------
  |  Branch (2443:13): [True: 24, False: 0]
  |  Branch (2443:27): [True: 24, False: 0]
  ------------------
 2444|     24|            buffer[dirlen] = SEP;
  ------------------
  |  |   29|     24|#  define SEP L'/'
  ------------------
 2445|     24|            relstart += 1;
 2446|     24|        }
 2447|     24|        wcscpy(&buffer[relstart], relfile);
 2448|     24|    }
 2449|     24|#endif
 2450|     24|    return 0;
 2451|     24|}

_PyCfgBuilder_New:
  438|      4|{
  439|      4|    cfg_builder *g = PyMem_Malloc(sizeof(cfg_builder));
  440|      4|    if (g == NULL) {
  ------------------
  |  Branch (440:9): [True: 0, False: 4]
  ------------------
  441|      0|        PyErr_NoMemory();
  442|      0|        return NULL;
  443|      0|    }
  444|      4|    memset(g, 0, sizeof(cfg_builder));
  445|      4|    if (init_cfg_builder(g) < 0) {
  ------------------
  |  Branch (445:9): [True: 0, False: 4]
  ------------------
  446|      0|        PyMem_Free(g);
  447|      0|        return NULL;
  448|      0|    }
  449|      4|    return g;
  450|      4|}
_PyCfgBuilder_Free:
  454|      4|{
  455|      4|    if (g == NULL) {
  ------------------
  |  Branch (455:9): [True: 0, False: 4]
  ------------------
  456|      0|        return;
  457|      0|    }
  458|      4|    assert(cfg_builder_check(g));
  ------------------
  |  Branch (458:5): [True: 4, False: 0]
  ------------------
  459|      4|    basicblock *b = g->g_block_list;
  460|     10|    while (b != NULL) {
  ------------------
  |  Branch (460:12): [True: 6, False: 4]
  ------------------
  461|      6|        if (b->b_instr) {
  ------------------
  |  Branch (461:13): [True: 6, False: 0]
  ------------------
  462|      6|            PyMem_Free((void *)b->b_instr);
  463|      6|        }
  464|      6|        basicblock *next = b->b_list;
  465|      6|        PyMem_Free((void *)b);
  466|      6|        b = next;
  467|      6|    }
  468|      4|    PyMem_Free(g);
  469|      4|}
_PyCfgBuilder_CheckSize:
  473|      4|{
  474|      4|    int nblocks = 0;
  475|     10|    for (basicblock *b = g->g_block_list; b != NULL; b = b->b_list) {
  ------------------
  |  Branch (475:43): [True: 6, False: 4]
  ------------------
  476|      6|        nblocks++;
  477|      6|    }
  478|      4|    if ((size_t)nblocks > SIZE_MAX / sizeof(basicblock *)) {
  ------------------
  |  Branch (478:9): [True: 0, False: 4]
  ------------------
  479|      0|        PyErr_NoMemory();
  480|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  481|      0|    }
  482|      4|    return SUCCESS;
  ------------------
  |  |   21|      4|#define SUCCESS 0
  ------------------
  483|      4|}
_PyCfgBuilder_Addop:
  494|     35|{
  495|     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|    }
  ------------------
  496|     35|    return basicblock_addop(g->g_curblock, opcode, oparg, loc);
  497|     35|}
_PyCfg_OptimizeCodeUnit:
 3791|      4|{
 3792|      4|    assert(cfg_builder_check(g));
  ------------------
  |  Branch (3792:5): [True: 4, False: 0]
  ------------------
 3793|      4|    assert(g->g_entryblock->b_iused > 0);
  ------------------
  |  Branch (3793:5): [True: 4, False: 0]
  ------------------
 3794|       |    /** Preprocessing **/
 3795|       |    /* Map labels to targets and mark exception handlers */
 3796|      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|    }
  ------------------
 3797|      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|    }
  ------------------
 3798|      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|    }
  ------------------
 3799|       |
 3800|       |    /** Optimization **/
 3801|       |
 3802|      4|    _Py_hashtable_t *consts_index = _Py_hashtable_new(
 3803|      4|        _Py_hashtable_hash_ptr, _Py_hashtable_compare_direct);
 3804|      4|    if (consts_index == NULL) {
  ------------------
  |  Branch (3804:9): [True: 0, False: 4]
  ------------------
 3805|      0|        PyErr_NoMemory();
 3806|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3807|      0|    }
 3808|       |
 3809|      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 (3809:28): [True: 4, False: 4]
  ------------------
 3810|      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 (3810:26): [True: 4, False: 0]
  ------------------
 3811|      4|        if (_Py_hashtable_get_entry(consts_index, (void *)item) != NULL) {
  ------------------
  |  Branch (3811:13): [True: 0, False: 4]
  ------------------
 3812|      0|            continue;
 3813|      0|        }
 3814|      4|        if (_Py_hashtable_set(consts_index, (void *)item,
  ------------------
  |  Branch (3814:13): [True: 0, False: 4]
  ------------------
 3815|      4|                              (void *)(uintptr_t)i) < 0) {
 3816|      0|            _Py_hashtable_destroy(consts_index);
 3817|      0|            PyErr_NoMemory();
 3818|      0|            return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3819|      0|        }
 3820|      4|    }
 3821|       |
 3822|      4|    int ret = optimize_cfg(g, consts, const_cache, consts_index, firstlineno);
 3823|       |
 3824|      4|    _Py_hashtable_destroy(consts_index);
 3825|       |
 3826|      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|    }
  ------------------
 3827|       |
 3828|      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|    }
  ------------------
 3829|      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|    }
  ------------------
 3830|      4|        add_checks_for_loads_of_uninitialized_variables(
 3831|      4|            g->g_entryblock, nlocals, nparams));
 3832|      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|    }
  ------------------
 3833|       |
 3834|      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|    }
  ------------------
 3835|      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|    }
  ------------------
 3836|       |    // temporarily remove assert. See https://github.com/python/cpython/issues/125845
 3837|       |    // assert(all_exits_have_lineno(g->g_entryblock));
 3838|      4|    return SUCCESS;
  ------------------
  |  |   21|      4|#define SUCCESS 0
  ------------------
 3839|      4|}
_PyCfg_FromInstructionSequence:
 4029|      4|{
 4030|      4|    if (_PyInstructionSequence_ApplyLabelMap(seq) < 0) {
  ------------------
  |  Branch (4030:9): [True: 0, False: 4]
  ------------------
 4031|      0|        return NULL;
 4032|      0|    }
 4033|      4|    cfg_builder *g = _PyCfgBuilder_New();
 4034|      4|    if (g == NULL) {
  ------------------
  |  Branch (4034:9): [True: 0, False: 4]
  ------------------
 4035|      0|        return NULL;
 4036|      0|    }
 4037|     41|    for (int i = 0; i < seq->s_used; i++) {
  ------------------
  |  Branch (4037:21): [True: 37, False: 4]
  ------------------
 4038|     37|        seq->s_instrs[i].i_target = 0;
 4039|     37|    }
 4040|     41|    for (int i = 0; i < seq->s_used; i++) {
  ------------------
  |  Branch (4040:21): [True: 37, False: 4]
  ------------------
 4041|     37|        _PyInstruction *instr = &seq->s_instrs[i];
 4042|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4043|      0|            assert(instr->i_oparg >= 0 && instr->i_oparg < seq->s_used);
  ------------------
  |  Branch (4043:13): [True: 0, False: 0]
  |  Branch (4043:13): [True: 0, False: 0]
  ------------------
 4044|      0|            seq->s_instrs[instr->i_oparg].i_target = 1;
 4045|      0|        }
 4046|     37|    }
 4047|      4|    int offset = 0;
 4048|     41|    for (int i = 0; i < seq->s_used; i++) {
  ------------------
  |  Branch (4048:21): [True: 37, False: 4]
  ------------------
 4049|     37|        _PyInstruction *instr = &seq->s_instrs[i];
 4050|     37|        if (instr->i_opcode == ANNOTATIONS_PLACEHOLDER) {
  ------------------
  |  |  244|     37|#define ANNOTATIONS_PLACEHOLDER                256
  ------------------
  |  Branch (4050:13): [True: 2, False: 35]
  ------------------
 4051|      2|            if (seq->s_annotations_code != NULL) {
  ------------------
  |  Branch (4051:17): [True: 0, False: 2]
  ------------------
 4052|      0|                assert(seq->s_annotations_code->s_labelmap_size == 0
  ------------------
  |  Branch (4052:17): [True: 0, False: 0]
  |  Branch (4052:17): [True: 0, False: 0]
  ------------------
 4053|      0|                    && seq->s_annotations_code->s_nested == NULL);
 4054|      0|                for (int j = 0; j < seq->s_annotations_code->s_used; j++) {
  ------------------
  |  Branch (4054:33): [True: 0, False: 0]
  ------------------
 4055|      0|                    _PyInstruction *ann_instr = &seq->s_annotations_code->s_instrs[j];
 4056|      0|                    assert(!HAS_TARGET(ann_instr->i_opcode));
  ------------------
  |  Branch (4056:21): [True: 0, False: 0]
  |  Branch (4056:21): [True: 0, False: 0]
  |  Branch (4056:21): [True: 0, False: 0]
  |  Branch (4056:21): [True: 0, False: 0]
  ------------------
 4057|      0|                    if (_PyCfgBuilder_Addop(g, ann_instr->i_opcode, ann_instr->i_oparg, ann_instr->i_loc) < 0) {
  ------------------
  |  Branch (4057:25): [True: 0, False: 0]
  ------------------
 4058|      0|                        goto error;
 4059|      0|                    }
 4060|      0|                }
 4061|      0|                offset += seq->s_annotations_code->s_used - 1;
 4062|      0|            }
 4063|      2|            else {
 4064|      2|                offset -= 1;
 4065|      2|            }
 4066|      2|            continue;
 4067|      2|        }
 4068|     35|        if (instr->i_target) {
  ------------------
  |  Branch (4068:13): [True: 0, False: 35]
  ------------------
 4069|      0|            jump_target_label lbl_ = {i + offset};
 4070|      0|            if (_PyCfgBuilder_UseLabel(g, lbl_) < 0) {
  ------------------
  |  Branch (4070:17): [True: 0, False: 0]
  ------------------
 4071|      0|                goto error;
 4072|      0|            }
 4073|      0|        }
 4074|     35|        int opcode = instr->i_opcode;
 4075|     35|        int oparg = instr->i_oparg;
 4076|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4077|      0|            oparg += offset;
 4078|      0|        }
 4079|     35|        if (_PyCfgBuilder_Addop(g, opcode, oparg, instr->i_loc) < 0) {
  ------------------
  |  Branch (4079:13): [True: 0, False: 35]
  ------------------
 4080|      0|            goto error;
 4081|      0|        }
 4082|     35|    }
 4083|      4|    if (_PyCfgBuilder_CheckSize(g) < 0) {
  ------------------
  |  Branch (4083:9): [True: 0, False: 4]
  ------------------
 4084|      0|        goto error;
 4085|      0|    }
 4086|      4|    return g;
 4087|      0|error:
 4088|      0|    _PyCfgBuilder_Free(g);
 4089|       |    return NULL;
 4090|      4|}
_PyCfg_ToInstructionSequence:
 4094|      4|{
 4095|      4|    int lbl = 0;
 4096|     10|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (4096:43): [True: 6, False: 4]
  ------------------
 4097|      6|        b->b_label = (jump_target_label){lbl};
 4098|      6|        lbl += 1;
 4099|      6|    }
 4100|     10|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (4100:43): [True: 6, False: 4]
  ------------------
 4101|      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|    }
  ------------------
 4102|     30|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (4102:25): [True: 24, False: 6]
  ------------------
 4103|     24|            cfg_instr *instr = &b->b_instr[i];
 4104|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4105|       |                /* Set oparg to the label id (it will later be mapped to an offset) */
 4106|      0|                instr->i_oparg = instr->i_target->b_label.id;
 4107|      0|            }
 4108|     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|    }
  ------------------
 4109|     24|                _PyInstructionSequence_Addop(
 4110|     24|                    seq, instr->i_opcode, instr->i_oparg, instr->i_loc));
 4111|       |
 4112|     24|            _PyExceptHandlerInfo *hi = &seq->s_instrs[seq->s_used-1].i_except_handler_info;
 4113|     24|            if (instr->i_except != NULL) {
  ------------------
  |  Branch (4113:17): [True: 0, False: 24]
  ------------------
 4114|      0|                hi->h_label = instr->i_except->b_label.id;
 4115|      0|                hi->h_startdepth = instr->i_except->b_startdepth;
 4116|      0|                hi->h_preserve_lasti = instr->i_except->b_preserve_lasti;
 4117|      0|            }
 4118|     24|            else {
 4119|     24|                hi->h_label = -1;
 4120|     24|            }
 4121|     24|        }
 4122|      6|    }
 4123|      4|    if (_PyInstructionSequence_ApplyLabelMap(seq) < 0) {
  ------------------
  |  Branch (4123:9): [True: 0, False: 4]
  ------------------
 4124|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 4125|      0|    }
 4126|      4|    return SUCCESS;
  ------------------
  |  |   21|      4|#define SUCCESS 0
  ------------------
 4127|      4|}
_PyCfg_OptimizedCfgToInstructionSequence:
 4135|      4|{
 4136|      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|    }
  ------------------
 4137|       |
 4138|      4|    *stackdepth = calculate_stackdepth(g);
 4139|      4|    if (*stackdepth < 0) {
  ------------------
  |  Branch (4139:9): [True: 0, False: 4]
  ------------------
 4140|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 4141|      0|    }
 4142|       |
 4143|      4|    *nlocalsplus = prepare_localsplus(umd, g);
 4144|      4|    if (*nlocalsplus < 0) {
  ------------------
  |  Branch (4144:9): [True: 0, False: 4]
  ------------------
 4145|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 4146|      0|    }
 4147|       |
 4148|      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|    }
  ------------------
 4149|       |
 4150|       |    /* Order of basic blocks must have been determined by now */
 4151|       |
 4152|      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|    }
  ------------------
 4153|      4|    assert(no_redundant_jumps(g));
  ------------------
  |  Branch (4153:5): [True: 4, False: 0]
  ------------------
 4154|       |
 4155|       |    /* Can't modify the bytecode after inserting instructions that produce
 4156|       |     * borrowed references.
 4157|       |     */
 4158|      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|    }
  ------------------
 4159|       |
 4160|       |    /* Can't modify the bytecode after computing jump offsets. */
 4161|      4|    if (_PyCfg_ToInstructionSequence(g, seq) < 0) {
  ------------------
  |  Branch (4161:9): [True: 0, False: 4]
  ------------------
 4162|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 4163|      0|    }
 4164|       |
 4165|      4|    return SUCCESS;
  ------------------
  |  |   21|      4|#define SUCCESS 0
  ------------------
 4166|      4|}
flowgraph.c:init_cfg_builder:
  425|      4|{
  426|      4|    g->g_block_list = NULL;
  427|      4|    basicblock *block = cfg_builder_new_block(g);
  428|      4|    if (block == NULL) {
  ------------------
  |  Branch (428:9): [True: 0, False: 4]
  ------------------
  429|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  430|      0|    }
  431|      4|    g->g_curblock = g->g_entryblock = block;
  432|      4|    g->g_current_label = NO_LABEL;
  ------------------
  |  |   57|      4|#define NO_LABEL ((const _PyJumpTargetLabel){-1})
  ------------------
  433|      4|    return SUCCESS;
  ------------------
  |  |   21|      4|#define SUCCESS 0
  ------------------
  434|      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:
  406|      8|{
  407|     20|    for (basicblock *block = g->g_block_list; block != NULL; block = block->b_list) {
  ------------------
  |  Branch (407:47): [True: 12, False: 8]
  ------------------
  408|     12|        assert(!_PyMem_IsPtrFreed(block));
  ------------------
  |  Branch (408:9): [True: 12, False: 0]
  ------------------
  409|     12|        if (block->b_instr != NULL) {
  ------------------
  |  Branch (409:13): [True: 12, False: 0]
  ------------------
  410|     12|            assert(block->b_ialloc > 0);
  ------------------
  |  Branch (410:13): [True: 12, False: 0]
  ------------------
  411|     12|            assert(block->b_iused >= 0);
  ------------------
  |  Branch (411:13): [True: 12, False: 0]
  ------------------
  412|     12|            assert(block->b_ialloc >= block->b_iused);
  ------------------
  |  Branch (412:13): [True: 12, False: 0]
  ------------------
  413|     12|        }
  414|      0|        else {
  415|      0|            assert (block->b_iused == 0);
  ------------------
  |  Branch (415:13): [True: 0, False: 0]
  ------------------
  416|      0|            assert (block->b_ialloc == 0);
  ------------------
  |  Branch (416:13): [True: 0, False: 0]
  ------------------
  417|      0|        }
  418|     12|    }
  419|      8|    return true;
  420|      8|}
flowgraph.c:cfg_builder_maybe_start_new_block:
  390|     35|{
  391|     35|    if (cfg_builder_current_block_is_terminated(g)) {
  ------------------
  |  Branch (391:9): [True: 2, False: 33]
  ------------------
  392|      2|        basicblock *b = cfg_builder_new_block(g);
  393|      2|        if (b == NULL) {
  ------------------
  |  Branch (393:13): [True: 0, False: 2]
  ------------------
  394|      0|            return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  395|      0|        }
  396|      2|        b->b_label = g->g_current_label;
  397|      2|        g->g_current_label = NO_LABEL;
  ------------------
  |  |   57|      2|#define NO_LABEL ((const _PyJumpTargetLabel){-1})
  ------------------
  398|      2|        cfg_builder_use_next_block(g, b);
  399|      2|    }
  400|     35|    return SUCCESS;
  ------------------
  |  |   21|     35|#define SUCCESS 0
  ------------------
  401|     35|}
flowgraph.c:cfg_builder_current_block_is_terminated:
  370|     35|{
  371|     35|    cfg_instr *last = basicblock_last_instr(g->g_curblock);
  372|     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 (372:9): [True: 31, False: 4]
  ------------------
  373|      2|        return true;
  374|      2|    }
  375|     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]
  |  |  ------------------
  ------------------
  376|      0|        if (last || IS_LABEL(g->g_curblock->b_label)) {
  ------------------
  |  |   96|      0|#define IS_LABEL(L) (!SAME_LABEL((L), (NO_LABEL)))
  |  |  ------------------
  |  |  |  |   95|      0|#define SAME_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  ------------------
  |  |  |  Branch (96:21): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (376:13): [True: 0, False: 0]
  ------------------
  377|      0|            return true;
  378|      0|        }
  379|      0|        else {
  380|       |            /* current block is empty, label it */
  381|      0|            g->g_curblock->b_label = g->g_current_label;
  382|      0|            g->g_current_label = NO_LABEL;
  ------------------
  |  |   57|      0|#define NO_LABEL ((const _PyJumpTargetLabel){-1})
  ------------------
  383|      0|        }
  384|      0|    }
  385|     33|    return false;
  386|     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:
  345|      2|{
  346|      2|    assert(block != NULL);
  ------------------
  |  Branch (346:5): [True: 2, False: 0]
  ------------------
  347|      2|    g->g_curblock->b_next = block;
  348|      2|    g->g_curblock = block;
  349|      2|    return block;
  350|      2|}
flowgraph.c:basicblock_addop:
  192|     35|{
  193|     35|    assert(IS_WITHIN_OPCODE_RANGE(opcode));
  ------------------
  |  Branch (193:5): [True: 35, False: 0]
  |  Branch (193:5): [True: 35, False: 0]
  |  Branch (193:5): [True: 0, False: 0]
  |  Branch (193:5): [True: 0, False: 0]
  |  Branch (193:5): [True: 0, False: 0]
  |  Branch (193:5): [True: 0, False: 0]
  |  Branch (193:5): [True: 0, False: 0]
  |  Branch (193:5): [True: 0, False: 0]
  |  Branch (193:5): [True: 0, False: 0]
  |  Branch (193:5): [True: 0, False: 0]
  |  Branch (193:5): [True: 0, False: 0]
  |  Branch (193:5): [True: 0, False: 0]
  |  Branch (193:5): [True: 0, False: 0]
  |  Branch (193:5): [Folded, False: 0]
  ------------------
  194|     35|    assert(!IS_ASSEMBLER_OPCODE(opcode));
  ------------------
  |  Branch (194:5): [True: 0, False: 35]
  |  Branch (194:5): [True: 0, False: 35]
  |  Branch (194:5): [True: 0, False: 35]
  ------------------
  195|     35|    assert(OPCODE_HAS_ARG(opcode) || HAS_TARGET(opcode) || oparg == 0);
  ------------------
  |  Branch (195:5): [True: 0, False: 10]
  |  Branch (195:5): [True: 0, False: 10]
  |  Branch (195:5): [True: 0, False: 10]
  |  Branch (195:5): [True: 0, False: 10]
  |  Branch (195:5): [True: 25, False: 10]
  |  Branch (195:5): [True: 10, False: 0]
  ------------------
  196|     35|    assert(0 <= oparg && oparg < (1 << 30));
  ------------------
  |  Branch (196:5): [True: 35, False: 0]
  |  Branch (196:5): [True: 35, False: 0]
  ------------------
  197|       |
  198|     35|    int off = basicblock_next_instr(b);
  199|     35|    if (off < 0) {
  ------------------
  |  Branch (199:9): [True: 0, False: 35]
  ------------------
  200|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  201|      0|    }
  202|     35|    cfg_instr *i = &b->b_instr[off];
  203|     35|    i->i_opcode = opcode;
  204|     35|    i->i_oparg = oparg;
  205|     35|    i->i_loc = loc;
  206|       |    // memory is already zero initialized
  207|     35|    assert(i->i_target == NULL);
  ------------------
  |  Branch (207:5): [True: 35, False: 0]
  ------------------
  208|     35|    assert(i->i_except == NULL);
  ------------------
  |  Branch (208:5): [True: 35, False: 0]
  ------------------
  209|       |
  210|     35|    return SUCCESS;
  ------------------
  |  |   21|     35|#define SUCCESS 0
  ------------------
  211|     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:
  647|      4|{
  648|      4|    int max_label = get_max_label(entryblock);
  649|      4|    size_t mapsize = sizeof(basicblock *) * (max_label + 1);
  650|      4|    basicblock **label2block = (basicblock **)PyMem_Malloc(mapsize);
  651|      4|    if (!label2block) {
  ------------------
  |  Branch (651:9): [True: 0, False: 4]
  ------------------
  652|      0|        PyErr_NoMemory();
  653|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  654|      0|    }
  655|      4|    memset(label2block, 0, mapsize);
  656|     10|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (656:38): [True: 6, False: 4]
  ------------------
  657|      6|        if (b->b_label.id >= 0) {
  ------------------
  |  Branch (657:13): [True: 0, False: 6]
  ------------------
  658|      0|            label2block[b->b_label.id] = b;
  659|      0|        }
  660|      6|    }
  661|     10|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (661:38): [True: 6, False: 4]
  ------------------
  662|     41|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (662:25): [True: 35, False: 6]
  ------------------
  663|     35|            cfg_instr *instr = &b->b_instr[i];
  664|     35|            assert(instr->i_target == NULL);
  ------------------
  |  Branch (664:13): [True: 35, False: 0]
  ------------------
  665|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  666|      0|                int lbl = instr->i_oparg;
  667|      0|                assert(lbl >= 0 && lbl <= max_label);
  ------------------
  |  Branch (667:17): [True: 0, False: 0]
  |  Branch (667:17): [True: 0, False: 0]
  ------------------
  668|      0|                instr->i_target = label2block[lbl];
  669|      0|                assert(instr->i_target != NULL);
  ------------------
  |  Branch (669:17): [True: 0, False: 0]
  ------------------
  670|      0|                assert(instr->i_target->b_label.id == lbl);
  ------------------
  |  Branch (670:17): [True: 0, False: 0]
  ------------------
  671|      0|            }
  672|     35|        }
  673|      6|    }
  674|      4|    PyMem_Free(label2block);
  675|      4|    return SUCCESS;
  ------------------
  |  |   21|      4|#define SUCCESS 0
  ------------------
  676|      4|}
flowgraph.c:get_max_label:
  634|     14|{
  635|     14|    int lbl = -1;
  636|     36|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (636:38): [True: 22, False: 14]
  ------------------
  637|     22|        if (b->b_label.id > lbl) {
  ------------------
  |  Branch (637:13): [True: 0, False: 22]
  ------------------
  638|      0|            lbl = b->b_label.id;
  639|      0|        }
  640|     22|    }
  641|     14|    return lbl;
  642|     14|}
flowgraph.c:mark_except_handlers:
  679|      4|mark_except_handlers(basicblock *entryblock) {
  680|      4|#ifndef NDEBUG
  681|     10|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (681:38): [True: 6, False: 4]
  ------------------
  682|      6|        assert(!b->b_except_handler);
  ------------------
  |  Branch (682:9): [True: 6, False: 0]
  ------------------
  683|      6|    }
  684|      4|#endif
  685|     10|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (685:38): [True: 6, False: 4]
  ------------------
  686|     41|        for (int i=0; i < b->b_iused; i++) {
  ------------------
  |  Branch (686:23): [True: 35, False: 6]
  ------------------
  687|     35|            cfg_instr *instr = &b->b_instr[i];
  688|     35|            if (is_block_push(instr)) {
  ------------------
  |  Branch (688:17): [True: 0, False: 35]
  ------------------
  689|      0|                instr->i_target->b_except_handler = 1;
  690|      0|            }
  691|     35|        }
  692|      6|    }
  693|      4|    return SUCCESS;
  ------------------
  |  |   21|      4|#define SUCCESS 0
  ------------------
  694|      4|}
flowgraph.c:is_block_push:
  103|    150|{
  104|    150|    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: 112, False: 38]
  ------------------
  105|    150|    return IS_BLOCK_PUSH_OPCODE(i->i_opcode);
  ------------------
  |  |   18|    150|        ((opcode) == SETUP_FINALLY || \
  |  |  ------------------
  |  |  |  |  252|    300|#define SETUP_FINALLY                          264
  |  |  ------------------
  |  |  |  Branch (18:10): [True: 0, False: 150]
  |  |  ------------------
  |  |   19|    150|         (opcode) == SETUP_WITH || \
  |  |  ------------------
  |  |  |  |  253|    300|#define SETUP_WITH                             265
  |  |  ------------------
  |  |  |  Branch (19:10): [True: 0, False: 150]
  |  |  ------------------
  |  |   20|    150|         (opcode) == SETUP_CLEANUP)
  |  |  ------------------
  |  |  |  |  251|    150|#define SETUP_CLEANUP                          263
  |  |  ------------------
  |  |  |  Branch (20:10): [True: 0, False: 150]
  |  |  ------------------
  ------------------
  106|    150|}
flowgraph.c:label_exception_targets:
  897|      4|label_exception_targets(basicblock *entryblock) {
  898|      4|    basicblock **todo_stack = make_cfg_traversal_stack(entryblock);
  899|      4|    if (todo_stack == NULL) {
  ------------------
  |  Branch (899:9): [True: 0, False: 4]
  ------------------
  900|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  901|      0|    }
  902|      4|    struct _PyCfgExceptStack *except_stack = make_except_stack();
  903|      4|    if (except_stack == NULL) {
  ------------------
  |  Branch (903:9): [True: 0, False: 4]
  ------------------
  904|      0|        PyMem_Free(todo_stack);
  905|      0|        PyErr_NoMemory();
  906|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  907|      0|    }
  908|      4|    except_stack->depth = 0;
  909|      4|    todo_stack[0] = entryblock;
  910|      4|    entryblock->b_visited = 1;
  911|      4|    entryblock->b_exceptstack = except_stack;
  912|      4|    basicblock **todo = &todo_stack[1];
  913|      4|    basicblock *handler = NULL;
  914|      8|    while (todo > todo_stack) {
  ------------------
  |  Branch (914:12): [True: 4, False: 4]
  ------------------
  915|      4|        todo--;
  916|      4|        basicblock *b = todo[0];
  917|      4|        assert(b->b_visited == 1);
  ------------------
  |  Branch (917:9): [True: 4, False: 0]
  ------------------
  918|      4|        except_stack = b->b_exceptstack;
  919|      4|        assert(except_stack != NULL);
  ------------------
  |  Branch (919:9): [True: 4, False: 0]
  ------------------
  920|      4|        b->b_exceptstack = NULL;
  921|      4|        handler = except_stack_top(except_stack);
  922|      4|        int last_yield_except_depth = -1;
  923|     35|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (923:25): [True: 31, False: 4]
  ------------------
  924|     31|            cfg_instr *instr = &b->b_instr[i];
  925|     31|            if (is_block_push(instr)) {
  ------------------
  |  Branch (925:17): [True: 0, False: 31]
  ------------------
  926|      0|                if (!instr->i_target->b_visited) {
  ------------------
  |  Branch (926:21): [True: 0, False: 0]
  ------------------
  927|      0|                    struct _PyCfgExceptStack *copy = copy_except_stack(except_stack);
  928|      0|                    if (copy == NULL) {
  ------------------
  |  Branch (928:25): [True: 0, False: 0]
  ------------------
  929|      0|                        goto error;
  930|      0|                    }
  931|      0|                    instr->i_target->b_exceptstack = copy;
  932|      0|                    todo[0] = instr->i_target;
  933|      0|                    instr->i_target->b_visited = 1;
  934|      0|                    todo++;
  935|      0|                }
  936|      0|                handler = push_except_block(except_stack, instr);
  937|      0|            }
  938|     31|            else if (instr->i_opcode == POP_BLOCK) {
  ------------------
  |  |  250|     31|#define POP_BLOCK                              262
  ------------------
  |  Branch (938:22): [True: 0, False: 31]
  ------------------
  939|      0|                handler = pop_except_block(except_stack);
  940|      0|                INSTR_SET_OP0(instr, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (940:17): [True: 0, False: 0]
  ------------------
  941|      0|            }
  942|     31|            else if (is_jump(instr)) {
  ------------------
  |  Branch (942:22): [True: 0, False: 31]
  ------------------
  943|      0|                instr->i_except = handler;
  944|      0|                assert(i == b->b_iused -1);
  ------------------
  |  Branch (944:17): [True: 0, False: 0]
  ------------------
  945|      0|                if (!instr->i_target->b_visited) {
  ------------------
  |  Branch (945:21): [True: 0, False: 0]
  ------------------
  946|      0|                    if (BB_HAS_FALLTHROUGH(b)) {
  ------------------
  |  |  251|      0|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (251:31): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  947|      0|                        struct _PyCfgExceptStack *copy = copy_except_stack(except_stack);
  948|      0|                        if (copy == NULL) {
  ------------------
  |  Branch (948:29): [True: 0, False: 0]
  ------------------
  949|      0|                            goto error;
  950|      0|                        }
  951|      0|                        instr->i_target->b_exceptstack = copy;
  952|      0|                    }
  953|      0|                    else {
  954|      0|                        instr->i_target->b_exceptstack = except_stack;
  955|      0|                        except_stack = NULL;
  956|      0|                    }
  957|      0|                    todo[0] = instr->i_target;
  958|      0|                    instr->i_target->b_visited = 1;
  959|      0|                    todo++;
  960|      0|                }
  961|      0|            }
  962|     31|            else if (instr->i_opcode == YIELD_VALUE) {
  ------------------
  |  |  129|     31|#define YIELD_VALUE                            116
  ------------------
  |  Branch (962:22): [True: 0, False: 31]
  ------------------
  963|      0|                instr->i_except = handler;
  964|      0|                last_yield_except_depth = except_stack->depth;
  965|      0|            }
  966|     31|            else if (instr->i_opcode == RESUME) {
  ------------------
  |  |  130|     31|#define RESUME                                 128
  ------------------
  |  Branch (966:22): [True: 4, False: 27]
  ------------------
  967|      4|                instr->i_except = handler;
  968|      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 (968:21): [True: 0, False: 4]
  |  Branch (968:63): [True: 0, False: 0]
  ------------------
  969|      0|                    assert(last_yield_except_depth >= 0);
  ------------------
  |  Branch (969:21): [True: 0, False: 0]
  ------------------
  970|      0|                    if (last_yield_except_depth == 1) {
  ------------------
  |  Branch (970:25): [True: 0, False: 0]
  ------------------
  971|      0|                        instr->i_oparg |= RESUME_OPARG_DEPTH1_MASK;
  ------------------
  |  |   95|      0|#define RESUME_OPARG_DEPTH1_MASK 0x8
  ------------------
  972|      0|                    }
  973|      0|                    last_yield_except_depth = -1;
  974|      0|                }
  975|      4|            }
  976|     27|            else if (instr->i_opcode == RETURN_GENERATOR) {
  ------------------
  |  |   45|     27|#define RETURN_GENERATOR                        32
  ------------------
  |  Branch (976:22): [True: 0, False: 27]
  ------------------
  977|      0|                instr->i_except = NULL;
  978|      0|            }
  979|     27|            else {
  980|     27|                instr->i_except = handler;
  981|     27|            }
  982|     31|        }
  983|      4|        if (BB_HAS_FALLTHROUGH(b) && !b->b_next->b_visited) {
  ------------------
  |  |  251|      8|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (251:31): [True: 0, False: 4]
  |  |  ------------------
  ------------------
  |  Branch (983:38): [True: 0, False: 0]
  ------------------
  984|      0|            assert(except_stack != NULL);
  ------------------
  |  Branch (984:13): [True: 0, False: 0]
  ------------------
  985|      0|            b->b_next->b_exceptstack = except_stack;
  986|      0|            todo[0] = b->b_next;
  987|      0|            b->b_next->b_visited = 1;
  988|      0|            todo++;
  989|      0|        }
  990|      4|        else if (except_stack != NULL) {
  ------------------
  |  Branch (990:18): [True: 4, False: 0]
  ------------------
  991|      4|           PyMem_Free(except_stack);
  992|      4|        }
  993|      4|    }
  994|       |#ifdef Py_DEBUG
  995|       |    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  996|       |        assert(b->b_exceptstack == NULL);
  997|       |    }
  998|       |#endif
  999|      4|    PyMem_Free(todo_stack);
 1000|      4|    return SUCCESS;
  ------------------
  |  |   21|      4|#define SUCCESS 0
  ------------------
 1001|      0|error:
 1002|      0|    PyMem_Free(todo_stack);
 1003|      0|    PyMem_Free(except_stack);
 1004|      0|    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 1005|      4|}
flowgraph.c:make_cfg_traversal_stack:
  751|     26|make_cfg_traversal_stack(basicblock *entryblock) {
  752|     26|    int nblocks = 0;
  753|     68|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (753:38): [True: 42, False: 26]
  ------------------
  754|     42|        b->b_visited = 0;
  755|     42|        nblocks++;
  756|     42|    }
  757|     26|    basicblock **stack = (basicblock **)PyMem_Malloc(sizeof(basicblock *) * nblocks);
  758|     26|    if (!stack) {
  ------------------
  |  Branch (758:9): [True: 0, False: 26]
  ------------------
  759|      0|        PyErr_NoMemory();
  760|      0|    }
  761|     26|    return stack;
  762|     26|}
flowgraph.c:make_except_stack:
  728|      4|make_except_stack(void) {
  729|      4|    struct _PyCfgExceptStack *new = PyMem_Malloc(sizeof(struct _PyCfgExceptStack));
  730|      4|    if (new == NULL) {
  ------------------
  |  Branch (730:9): [True: 0, False: 4]
  ------------------
  731|      0|        PyErr_NoMemory();
  732|      0|        return NULL;
  733|      0|    }
  734|      4|    new->depth = 0;
  735|       |    new->handlers[0] = NULL;
  736|      4|    return new;
  737|      4|}
flowgraph.c:except_stack_top:
  723|      4|except_stack_top(struct _PyCfgExceptStack *stack) {
  724|      4|    return stack->handlers[stack->depth];
  725|      4|}
flowgraph.c:is_jump:
  110|    129|{
  111|    129|    return OPCODE_HAS_JUMP(i->i_opcode);
  ------------------
  |  | 1065|    129|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  ------------------
  |  |  |  | 1046|    129|#define HAS_JUMP_FLAG (8)
  |  |  ------------------
  ------------------
  112|    129|}
flowgraph.c:basicblock_nofallthrough:
  243|     42|basicblock_nofallthrough(const basicblock *b) {
  244|     42|    cfg_instr *last = basicblock_last_instr(b);
  245|     42|    return (last &&
  ------------------
  |  Branch (245:13): [True: 36, False: 6]
  ------------------
  246|     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]
  |  |  ------------------
  ------------------
  247|      0|             IS_UNCONDITIONAL_JUMP_OPCODE(last->i_opcode)));
  ------------------
  |  |   40|      0|        ((opcode) == JUMP || \
  |  |  ------------------
  |  |  |  |  245|      0|#define JUMP                                   257
  |  |  ------------------
  |  |  |  Branch (40:10): [True: 0, False: 0]
  |  |  ------------------
  |  |   41|      0|         (opcode) == JUMP_NO_INTERRUPT || \
  |  |  ------------------
  |  |  |  |  248|      0|#define JUMP_NO_INTERRUPT                      260
  |  |  ------------------
  |  |  |  Branch (41:10): [True: 0, False: 0]
  |  |  ------------------
  |  |   42|      0|         (opcode) == JUMP_FORWARD || \
  |  |  ------------------
  |  |  |  |   86|      0|#define JUMP_FORWARD                            73
  |  |  ------------------
  |  |  |  Branch (42:10): [True: 0, False: 0]
  |  |  ------------------
  |  |   43|      0|         (opcode) == JUMP_BACKWARD || \
  |  |  ------------------
  |  |  |  |   84|      0|#define JUMP_BACKWARD                           71
  |  |  ------------------
  |  |  |  Branch (43:10): [True: 0, False: 0]
  |  |  ------------------
  |  |   44|      0|         (opcode) == JUMP_BACKWARD_NO_INTERRUPT)
  |  |  ------------------
  |  |  |  |   85|      0|#define JUMP_BACKWARD_NO_INTERRUPT              72
  |  |  ------------------
  |  |  |  Branch (44:10): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  248|     42|}
flowgraph.c:optimize_cfg:
 2670|      4|{
 2671|      4|    assert(PyDict_CheckExact(const_cache));
  ------------------
  |  Branch (2671:5): [True: 4, False: 0]
  ------------------
 2672|      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|    }
  ------------------
 2673|      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|    }
  ------------------
 2674|      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|    }
  ------------------
 2675|      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|    }
  ------------------
 2676|      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|    }
  ------------------
 2677|     10|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (2677:43): [True: 6, False: 4]
  ------------------
 2678|      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|    }
  ------------------
 2679|      6|    }
 2680|      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|    }
  ------------------
 2681|      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|    }
  ------------------
 2682|      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|    }
  ------------------
 2683|      4|    assert(no_redundant_jumps(g));
  ------------------
  |  Branch (2683:5): [True: 4, False: 0]
  ------------------
 2684|      4|    return SUCCESS;
  ------------------
  |  |   21|      4|#define SUCCESS 0
  ------------------
 2685|      4|}
flowgraph.c:check_cfg:
  615|      4|check_cfg(cfg_builder *g) {
  616|     10|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (616:43): [True: 6, False: 4]
  ------------------
  617|       |        /* Raise SystemError if jump or exit is not last instruction in the block. */
  618|     41|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (618:25): [True: 35, False: 6]
  ------------------
  619|     35|            int opcode = b->b_instr[i].i_opcode;
  620|     35|            assert(!IS_ASSEMBLER_OPCODE(opcode));
  ------------------
  |  Branch (620:13): [True: 0, False: 35]
  |  Branch (620:13): [True: 0, False: 35]
  |  Branch (620:13): [True: 0, False: 35]
  ------------------
  621|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  622|      6|                if (i != b->b_iused - 1) {
  ------------------
  |  Branch (622:21): [True: 0, False: 6]
  ------------------
  623|      0|                    PyErr_SetString(PyExc_SystemError, "malformed control flow graph.");
  624|      0|                    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  625|      0|                }
  626|      6|            }
  627|     35|        }
  628|      6|    }
  629|      4|    return SUCCESS;
  ------------------
  |  |   21|      4|#define SUCCESS 0
  ------------------
  630|      4|}
flowgraph.c:inline_small_or_no_lineno_blocks:
 1262|      4|inline_small_or_no_lineno_blocks(basicblock *entryblock) {
 1263|      4|    bool changes;
 1264|      4|    do {
 1265|      4|        changes = false;
 1266|     10|        for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (1266:42): [True: 6, False: 4]
  ------------------
 1267|      6|            int res = basicblock_inline_small_or_no_lineno_blocks(b);
 1268|      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|    }
  ------------------
 1269|      6|            if (res) {
  ------------------
  |  Branch (1269:17): [True: 0, False: 6]
  ------------------
 1270|      0|                changes = true;
 1271|      0|            }
 1272|      6|        }
 1273|      4|    } while(changes); /* every change removes a jump, ensuring convergence */
  ------------------
  |  Branch (1273:13): [True: 0, False: 4]
  ------------------
 1274|      4|    return changes;
 1275|      4|}
flowgraph.c:basicblock_inline_small_or_no_lineno_blocks:
 1228|      6|basicblock_inline_small_or_no_lineno_blocks(basicblock *bb) {
 1229|      6|    cfg_instr *last = basicblock_last_instr(bb);
 1230|      6|    if (last == NULL) {
  ------------------
  |  Branch (1230:9): [True: 0, False: 6]
  ------------------
 1231|      0|        return 0;
 1232|      0|    }
 1233|      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]
  |  |  ------------------
  ------------------
 1234|      6|        return 0;
 1235|      6|    }
 1236|      0|    basicblock *target = last->i_target;
 1237|      0|    bool small_exit_block = (basicblock_exits_scope(target) &&
  ------------------
  |  Branch (1237:30): [True: 0, False: 0]
  ------------------
 1238|      0|                             target->b_iused <= MAX_COPY_SIZE);
  ------------------
  |  | 1220|      0|#define MAX_COPY_SIZE 4
  ------------------
  |  Branch (1238:30): [True: 0, False: 0]
  ------------------
 1239|      0|    bool no_lineno_no_fallthrough = (basicblock_has_no_lineno(target) &&
  ------------------
  |  Branch (1239:38): [True: 0, False: 0]
  ------------------
 1240|      0|                                     !BB_HAS_FALLTHROUGH(target));
  ------------------
  |  |  251|      0|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  ------------------
  |  Branch (1240:38): [True: 0, False: 0]
  ------------------
 1241|      0|    if (small_exit_block || no_lineno_no_fallthrough) {
  ------------------
  |  Branch (1241:9): [True: 0, False: 0]
  |  Branch (1241:29): [True: 0, False: 0]
  ------------------
 1242|      0|        assert(is_jump(last));
  ------------------
  |  Branch (1242:9): [True: 0, False: 0]
  ------------------
 1243|      0|        int removed_jump_opcode = last->i_opcode;
 1244|      0|        INSTR_SET_OP0(last, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1244:9): [True: 0, False: 0]
  ------------------
 1245|      0|        RETURN_IF_ERROR(basicblock_append_instructions(bb, target));
  ------------------
  |  |   25|      0|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 1246|      0|        if (no_lineno_no_fallthrough) {
  ------------------
  |  Branch (1246:13): [True: 0, False: 0]
  ------------------
 1247|      0|            last = basicblock_last_instr(bb);
 1248|      0|            if (IS_UNCONDITIONAL_JUMP_OPCODE(last->i_opcode) &&
  ------------------
  |  |   40|      0|        ((opcode) == JUMP || \
  |  |  ------------------
  |  |  |  |  245|      0|#define JUMP                                   257
  |  |  ------------------
  |  |  |  Branch (40:10): [True: 0, False: 0]
  |  |  ------------------
  |  |   41|      0|         (opcode) == JUMP_NO_INTERRUPT || \
  |  |  ------------------
  |  |  |  |  248|      0|#define JUMP_NO_INTERRUPT                      260
  |  |  ------------------
  |  |  |  Branch (41:10): [True: 0, False: 0]
  |  |  ------------------
  |  |   42|      0|         (opcode) == JUMP_FORWARD || \
  |  |  ------------------
  |  |  |  |   86|      0|#define JUMP_FORWARD                            73
  |  |  ------------------
  |  |  |  Branch (42:10): [True: 0, False: 0]
  |  |  ------------------
  |  |   43|      0|         (opcode) == JUMP_BACKWARD || \
  |  |  ------------------
  |  |  |  |   84|      0|#define JUMP_BACKWARD                           71
  |  |  ------------------
  |  |  |  Branch (43:10): [True: 0, False: 0]
  |  |  ------------------
  |  |   44|      0|         (opcode) == JUMP_BACKWARD_NO_INTERRUPT)
  |  |  ------------------
  |  |  |  |   85|      0|#define JUMP_BACKWARD_NO_INTERRUPT              72
  |  |  ------------------
  |  |  |  Branch (44:10): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1249|      0|                removed_jump_opcode == JUMP)
  ------------------
  |  |  245|      0|#define JUMP                                   257
  ------------------
  |  Branch (1249:17): [True: 0, False: 0]
  ------------------
 1250|      0|            {
 1251|       |                /* Make sure we don't lose eval breaker checks */
 1252|      0|                last->i_opcode = JUMP;
  ------------------
  |  |  245|      0|#define JUMP                                   257
  ------------------
 1253|      0|            }
 1254|      0|        }
 1255|      0|        target->b_predecessors--;
 1256|      0|        return 1;
 1257|      0|    }
 1258|      0|    return 0;
 1259|      0|}
flowgraph.c:remove_unreachable:
 1010|      8|remove_unreachable(basicblock *entryblock) {
 1011|     20|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (1011:38): [True: 12, False: 8]
  ------------------
 1012|     12|        b->b_predecessors = 0;
 1013|     12|    }
 1014|      8|    basicblock **stack = make_cfg_traversal_stack(entryblock);
 1015|      8|    if (stack == NULL) {
  ------------------
  |  Branch (1015:9): [True: 0, False: 8]
  ------------------
 1016|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 1017|      0|    }
 1018|      8|    basicblock **sp = stack;
 1019|      8|    entryblock->b_predecessors = 1;
 1020|      8|    *sp++ = entryblock;
 1021|      8|    entryblock->b_visited = 1;
 1022|     16|    while (sp > stack) {
  ------------------
  |  Branch (1022:12): [True: 8, False: 8]
  ------------------
 1023|      8|        basicblock *b = *(--sp);
 1024|      8|        if (b->b_next && BB_HAS_FALLTHROUGH(b)) {
  ------------------
  |  |  251|      4|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (251:31): [True: 0, False: 4]
  |  |  ------------------
  ------------------
  |  Branch (1024:13): [True: 4, False: 4]
  ------------------
 1025|      0|            if (!b->b_next->b_visited) {
  ------------------
  |  Branch (1025:17): [True: 0, False: 0]
  ------------------
 1026|      0|                assert(b->b_next->b_predecessors == 0);
  ------------------
  |  Branch (1026:17): [True: 0, False: 0]
  ------------------
 1027|      0|                *sp++ = b->b_next;
 1028|      0|                b->b_next->b_visited = 1;
 1029|      0|            }
 1030|      0|            b->b_next->b_predecessors++;
 1031|      0|        }
 1032|     68|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (1032:25): [True: 60, False: 8]
  ------------------
 1033|     60|            basicblock *target;
 1034|     60|            cfg_instr *instr = &b->b_instr[i];
 1035|     60|            if (is_jump(instr) || is_block_push(instr)) {
  ------------------
  |  Branch (1035:17): [True: 0, False: 60]
  |  Branch (1035:35): [True: 0, False: 60]
  ------------------
 1036|      0|                target = instr->i_target;
 1037|      0|                if (!target->b_visited) {
  ------------------
  |  Branch (1037:21): [True: 0, False: 0]
  ------------------
 1038|      0|                    *sp++ = target;
 1039|      0|                    target->b_visited = 1;
 1040|      0|                }
 1041|      0|                target->b_predecessors++;
 1042|      0|            }
 1043|     60|        }
 1044|      8|    }
 1045|      8|    PyMem_Free(stack);
 1046|       |
 1047|       |    /* Delete unreachable instructions */
 1048|     20|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (1048:38): [True: 12, False: 8]
  ------------------
 1049|     12|       if (b->b_predecessors == 0) {
  ------------------
  |  Branch (1049:12): [True: 4, False: 8]
  ------------------
 1050|      4|            b->b_iused = 0;
 1051|      4|            b->b_except_handler = 0;
 1052|      4|       }
 1053|     12|    }
 1054|      8|    return SUCCESS;
  ------------------
  |  |   21|      8|#define SUCCESS 0
  ------------------
 1055|      8|}
flowgraph.c:optimize_load_const:
 2414|      4|                    _Py_hashtable_t *consts_index) {
 2415|     10|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (2415:43): [True: 6, False: 4]
  ------------------
 2416|      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|    }
  ------------------
 2417|      6|    }
 2418|      4|    return SUCCESS;
  ------------------
  |  |   21|      4|#define SUCCESS 0
  ------------------
 2419|      4|}
flowgraph.c:basicblock_optimize_load_const:
 2271|      6|{
 2272|      6|    assert(PyDict_CheckExact(const_cache));
  ------------------
  |  Branch (2272:5): [True: 6, False: 0]
  ------------------
 2273|      6|    assert(PyList_CheckExact(consts));
  ------------------
  |  Branch (2273:5): [True: 6, False: 0]
  ------------------
 2274|      6|    int opcode = 0;
 2275|      6|    int oparg = 0;
 2276|     37|    for (int i = 0; i < bb->b_iused; i++) {
  ------------------
  |  Branch (2276:21): [True: 31, False: 6]
  ------------------
 2277|     31|        cfg_instr *inst = &bb->b_instr[i];
 2278|     31|        if (inst->i_opcode == LOAD_CONST) {
  ------------------
  |  |   91|     31|#define LOAD_CONST                              78
  ------------------
  |  Branch (2278:13): [True: 2, False: 29]
  ------------------
 2279|      2|            PyObject *constant = get_const_value(inst->i_opcode, inst->i_oparg, consts);
 2280|      2|            if (constant == NULL) {
  ------------------
  |  Branch (2280:17): [True: 0, False: 2]
  ------------------
 2281|      0|                return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2282|      0|            }
 2283|      2|            int res = maybe_instr_make_load_smallint(inst, constant, consts, const_cache);
 2284|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2285|      2|            if (res < 0) {
  ------------------
  |  Branch (2285:17): [True: 0, False: 2]
  ------------------
 2286|      0|                return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2287|      0|            }
 2288|      2|        }
 2289|     31|        bool is_copy_of_load_const = (opcode == LOAD_CONST &&
  ------------------
  |  |   91|     62|#define LOAD_CONST                              78
  ------------------
  |  Branch (2289:39): [True: 2, False: 29]
  ------------------
 2290|      2|                                      inst->i_opcode == COPY &&
  ------------------
  |  |   70|     33|#define COPY                                    57
  ------------------
  |  Branch (2290:39): [True: 0, False: 2]
  ------------------
 2291|      0|                                      inst->i_oparg == 1);
  ------------------
  |  Branch (2291:39): [True: 0, False: 0]
  ------------------
 2292|     31|        if (! is_copy_of_load_const) {
  ------------------
  |  Branch (2292:13): [True: 31, False: 0]
  ------------------
 2293|     31|            opcode = inst->i_opcode;
 2294|     31|            oparg = inst->i_oparg;
 2295|     31|        }
 2296|     31|        assert(!IS_ASSEMBLER_OPCODE(opcode));
  ------------------
  |  Branch (2296:9): [True: 0, False: 31]
  |  Branch (2296:9): [True: 0, False: 31]
  |  Branch (2296:9): [True: 0, False: 31]
  ------------------
 2297|     31|        if (!loads_const(opcode)) {
  ------------------
  |  Branch (2297:13): [True: 29, False: 2]
  ------------------
 2298|     29|            continue;
 2299|     29|        }
 2300|      2|        int nextop = i+1 < bb->b_iused ? bb->b_instr[i+1].i_opcode : 0;
  ------------------
  |  Branch (2300:22): [True: 2, False: 0]
  ------------------
 2301|      2|        switch(nextop) {
  ------------------
  |  Branch (2301:16): [True: 0, False: 2]
  ------------------
 2302|      0|            case POP_JUMP_IF_FALSE:
  ------------------
  |  |  109|      0|#define POP_JUMP_IF_FALSE                       96
  ------------------
  |  Branch (2302:13): [True: 0, False: 2]
  ------------------
 2303|      0|            case POP_JUMP_IF_TRUE:
  ------------------
  |  |  112|      0|#define POP_JUMP_IF_TRUE                        99
  ------------------
  |  Branch (2303:13): [True: 0, False: 2]
  ------------------
 2304|      0|            case JUMP_IF_FALSE:
  ------------------
  |  |  246|      0|#define JUMP_IF_FALSE                          258
  ------------------
  |  Branch (2304:13): [True: 0, False: 2]
  ------------------
 2305|      0|            case JUMP_IF_TRUE:
  ------------------
  |  |  247|      0|#define JUMP_IF_TRUE                           259
  ------------------
  |  Branch (2305:13): [True: 0, False: 2]
  ------------------
 2306|      0|            {
 2307|       |                /* Remove LOAD_CONST const; conditional jump */
 2308|      0|                PyObject* cnt = get_const_value(opcode, oparg, consts);
 2309|      0|                if (cnt == NULL) {
  ------------------
  |  Branch (2309:21): [True: 0, False: 0]
  ------------------
 2310|      0|                    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2311|      0|                }
 2312|      0|                int is_true = PyObject_IsTrue(cnt);
 2313|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2314|      0|                if (is_true == -1) {
  ------------------
  |  Branch (2314:21): [True: 0, False: 0]
  ------------------
 2315|      0|                    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2316|      0|                }
 2317|      0|                if (PyCompile_OpcodeStackEffect(nextop, 0) == -1) {
  ------------------
  |  Branch (2317:21): [True: 0, False: 0]
  ------------------
 2318|       |                    /* POP_JUMP_IF_FALSE or POP_JUMP_IF_TRUE */
 2319|      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 (2319:21): [True: 0, False: 0]
  ------------------
 2320|      0|                }
 2321|      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 (2321:37): [True: 0, False: 0]
  |  Branch (2321:67): [True: 0, False: 0]
  ------------------
 2322|      0|                if (is_true == jump_if_true) {
  ------------------
  |  Branch (2322:21): [True: 0, False: 0]
  ------------------
 2323|      0|                    bb->b_instr[i+1].i_opcode = JUMP;
  ------------------
  |  |  245|      0|#define JUMP                                   257
  ------------------
 2324|      0|                }
 2325|      0|                else {
 2326|      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 (2326:21): [True: 0, False: 0]
  ------------------
 2327|      0|                }
 2328|      0|                break;
 2329|      0|            }
 2330|      0|            case IS_OP:
  ------------------
  |  |   83|      0|#define IS_OP                                   70
  ------------------
  |  Branch (2330:13): [True: 0, False: 2]
  ------------------
 2331|      0|            {
 2332|       |                // Fold to POP_JUMP_IF_NONE:
 2333|       |                // - LOAD_CONST(None) IS_OP(0) POP_JUMP_IF_TRUE
 2334|       |                // - LOAD_CONST(None) IS_OP(1) POP_JUMP_IF_FALSE
 2335|       |                // - LOAD_CONST(None) IS_OP(0) TO_BOOL POP_JUMP_IF_TRUE
 2336|       |                // - LOAD_CONST(None) IS_OP(1) TO_BOOL POP_JUMP_IF_FALSE
 2337|       |                // Fold to POP_JUMP_IF_NOT_NONE:
 2338|       |                // - LOAD_CONST(None) IS_OP(0) POP_JUMP_IF_FALSE
 2339|       |                // - LOAD_CONST(None) IS_OP(1) POP_JUMP_IF_TRUE
 2340|       |                // - LOAD_CONST(None) IS_OP(0) TO_BOOL POP_JUMP_IF_FALSE
 2341|       |                // - LOAD_CONST(None) IS_OP(1) TO_BOOL POP_JUMP_IF_TRUE
 2342|      0|                PyObject *cnt = get_const_value(opcode, oparg, consts);
 2343|      0|                if (cnt == NULL) {
  ------------------
  |  Branch (2343:21): [True: 0, False: 0]
  ------------------
 2344|      0|                    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2345|      0|                }
 2346|      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 (2346:21): [True: 0, False: 0]
  ------------------
 2347|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2348|      0|                    break;
 2349|      0|                }
 2350|      0|                if (bb->b_iused <= i + 2) {
  ------------------
  |  Branch (2350:21): [True: 0, False: 0]
  ------------------
 2351|      0|                    break;
 2352|      0|                }
 2353|      0|                cfg_instr *is_instr = &bb->b_instr[i + 1];
 2354|      0|                cfg_instr *jump_instr = &bb->b_instr[i + 2];
 2355|       |                // Get rid of TO_BOOL regardless:
 2356|      0|                if (jump_instr->i_opcode == TO_BOOL) {
  ------------------
  |  |   50|      0|#define TO_BOOL                                 37
  ------------------
  |  Branch (2356:21): [True: 0, False: 0]
  ------------------
 2357|      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 (2357:21): [True: 0, False: 0]
  ------------------
 2358|      0|                    if (bb->b_iused <= i + 3) {
  ------------------
  |  Branch (2358:25): [True: 0, False: 0]
  ------------------
 2359|      0|                        break;
 2360|      0|                    }
 2361|      0|                    jump_instr = &bb->b_instr[i + 3];
 2362|      0|                }
 2363|      0|                bool invert = is_instr->i_oparg;
 2364|      0|                if (jump_instr->i_opcode == POP_JUMP_IF_FALSE) {
  ------------------
  |  |  109|      0|#define POP_JUMP_IF_FALSE                       96
  ------------------
  |  Branch (2364:21): [True: 0, False: 0]
  ------------------
 2365|      0|                    invert = !invert;
 2366|      0|                }
 2367|      0|                else if (jump_instr->i_opcode != POP_JUMP_IF_TRUE) {
  ------------------
  |  |  112|      0|#define POP_JUMP_IF_TRUE                        99
  ------------------
  |  Branch (2367:26): [True: 0, False: 0]
  ------------------
 2368|      0|                    break;
 2369|      0|                }
 2370|      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 (2370:17): [True: 0, False: 0]
  ------------------
 2371|      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 (2371:17): [True: 0, False: 0]
  ------------------
 2372|      0|                jump_instr->i_opcode = invert ? POP_JUMP_IF_NOT_NONE
  ------------------
  |  |  111|      0|#define POP_JUMP_IF_NOT_NONE                    98
  ------------------
  |  Branch (2372:40): [True: 0, False: 0]
  ------------------
 2373|      0|                                              : POP_JUMP_IF_NONE;
  ------------------
  |  |  110|      0|#define POP_JUMP_IF_NONE                        97
  ------------------
 2374|      0|                break;
 2375|      0|            }
 2376|      0|            case TO_BOOL:
  ------------------
  |  |   50|      0|#define TO_BOOL                                 37
  ------------------
  |  Branch (2376:13): [True: 0, False: 2]
  ------------------
 2377|      0|            {
 2378|      0|                PyObject *cnt = get_const_value(opcode, oparg, consts);
 2379|      0|                if (cnt == NULL) {
  ------------------
  |  Branch (2379:21): [True: 0, False: 0]
  ------------------
 2380|      0|                    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2381|      0|                }
 2382|      0|                int is_true = PyObject_IsTrue(cnt);
 2383|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2384|      0|                if (is_true == -1) {
  ------------------
  |  Branch (2384:21): [True: 0, False: 0]
  ------------------
 2385|      0|                    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2386|      0|                }
 2387|      0|                cnt = PyBool_FromLong(is_true);
 2388|      0|                int index = add_const(cnt, consts, const_cache, consts_index);
 2389|      0|                if (index < 0) {
  ------------------
  |  Branch (2389:21): [True: 0, False: 0]
  ------------------
 2390|      0|                    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2391|      0|                }
 2392|      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 (2392:17): [True: 0, False: 0]
  ------------------
 2393|      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 (2393:17): [True: 0, False: 0]
  ------------------
 2394|      0|                break;
 2395|      0|            }
 2396|      2|        }
 2397|      2|        if (inst->i_opcode == LOAD_CONST) {
  ------------------
  |  |   91|      2|#define LOAD_CONST                              78
  ------------------
  |  Branch (2397:13): [True: 2, False: 0]
  ------------------
 2398|      2|            PyObject *constant = get_const_value(inst->i_opcode, inst->i_oparg, consts);
 2399|      2|            if (constant == NULL) {
  ------------------
  |  Branch (2399:17): [True: 0, False: 2]
  ------------------
 2400|      0|                return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2401|      0|            }
 2402|      2|            int res = maybe_instr_make_load_common_const(inst, constant);
 2403|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2404|      2|            if (res < 0) {
  ------------------
  |  Branch (2404:17): [True: 0, False: 2]
  ------------------
 2405|      0|                return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2406|      0|            }
 2407|      2|        }
 2408|      2|    }
 2409|      6|    return SUCCESS;
  ------------------
  |  |   21|      6|#define SUCCESS 0
  ------------------
 2410|      6|}
flowgraph.c:get_const_value:
 1314|      4|{
 1315|      4|    PyObject *constant = NULL;
 1316|      4|    assert(loads_const(opcode));
  ------------------
  |  Branch (1316:5): [True: 4, False: 0]
  ------------------
 1317|      4|    if (opcode == LOAD_CONST) {
  ------------------
  |  |   91|      4|#define LOAD_CONST                              78
  ------------------
  |  Branch (1317:9): [True: 4, False: 0]
  ------------------
 1318|      4|        assert(PyList_Check(co_consts));
  ------------------
  |  Branch (1318:9): [True: 4, False: 0]
  ------------------
 1319|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1320|      4|        if (oparg < 0 || oparg >= n) {
  ------------------
  |  Branch (1320:13): [True: 0, False: 4]
  |  Branch (1320:26): [True: 0, False: 4]
  ------------------
 1321|      0|            PyErr_Format(PyExc_ValueError,
 1322|      0|                         "LOAD_CONST index %d is out of range for consts (len=%zd)",
 1323|      0|                         oparg, n);
 1324|      0|            return NULL;
 1325|      0|        }
 1326|      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 (1326:20): [True: 4, False: 0]
  ------------------
 1327|      4|    }
 1328|      4|    if (opcode == LOAD_SMALL_INT) {
  ------------------
  |  |  103|      4|#define LOAD_SMALL_INT                          90
  ------------------
  |  Branch (1328:9): [True: 0, False: 4]
  ------------------
 1329|      0|        return PyLong_FromLong(oparg);
 1330|      0|    }
 1331|      4|    if (opcode == LOAD_COMMON_CONSTANT) {
  ------------------
  |  |   90|      4|#define LOAD_COMMON_CONSTANT                    77
  ------------------
  |  Branch (1331:9): [True: 0, False: 4]
  ------------------
 1332|      0|        assert(oparg < NUM_COMMON_CONSTANTS);
  ------------------
  |  Branch (1332:9): [True: 0, False: 0]
  ------------------
 1333|      0|        return PyStackRef_AsPyObjectBorrow(
 1334|      0|            _PyInterpreterState_GET()->common_consts[oparg]);
 1335|      0|    }
 1336|       |
 1337|      4|    if (constant == NULL) {
  ------------------
  |  Branch (1337:9): [True: 0, False: 4]
  ------------------
 1338|      0|        PyErr_SetString(PyExc_SystemError,
 1339|      0|                        "Internal error: failed to get value of a constant");
 1340|      0|        return NULL;
 1341|      0|    }
 1342|      4|    return Py_NewRef(constant);
  ------------------
  |  |  550|      4|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1343|      4|}
flowgraph.c:maybe_instr_make_load_smallint:
 1434|      2|{
 1435|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1436|      0|        int overflow;
 1437|      0|        long val = PyLong_AsLongAndOverflow(newconst, &overflow);
 1438|      0|        if (val == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1438:13): [True: 0, False: 0]
  |  Branch (1438:26): [True: 0, False: 0]
  ------------------
 1439|      0|            return -1;
 1440|      0|        }
 1441|      0|        if (!overflow && _PY_IS_SMALL_INT(val) && 0 <= val && val <= 255) {
  ------------------
  |  |   68|      0|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  ------------------
  |  |  |  |   98|      0|#define _PY_NSMALLNEGINTS           5
  |  |  ------------------
  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  ------------------
  |  |  |  |   97|      0|#define _PY_NSMALLPOSINTS           1025
  |  |  ------------------
  |  |  |  Branch (68:6): [True: 0, False: 0]
  |  |  |  Branch (68:37): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1441:13): [True: 0, False: 0]
  |  Branch (1441:51): [True: 0, False: 0]
  |  Branch (1441:63): [True: 0, False: 0]
  ------------------
 1442|      0|            assert(_Py_IsImmortal(newconst));
  ------------------
  |  Branch (1442:13): [True: 0, False: 0]
  ------------------
 1443|      0|            INSTR_SET_OP1(instr, LOAD_SMALL_INT, (int)val);
  ------------------
  |  |  116|      0|    do { \
  |  |  117|      0|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  120|      0|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1443:13): [True: 0, False: 0]
  ------------------
 1444|      0|            return 1;
 1445|      0|        }
 1446|      0|    }
 1447|      2|    return 0;
 1448|      2|}
flowgraph.c:loads_const:
 1305|     37|{
 1306|     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]
  |  |  ------------------
  ------------------
 1307|     31|        || opcode == LOAD_SMALL_INT
  ------------------
  |  |  103|     68|#define LOAD_SMALL_INT                          90
  ------------------
  |  Branch (1307:12): [True: 0, False: 31]
  ------------------
 1308|     31|        || opcode == LOAD_COMMON_CONSTANT;
  ------------------
  |  |   90|     31|#define LOAD_COMMON_CONSTANT                    77
  ------------------
  |  Branch (1308:12): [True: 0, False: 31]
  ------------------
 1309|     37|}
flowgraph.c:maybe_instr_make_load_common_const:
 1457|      2|{
 1458|      2|    int oparg;
 1459|      2|    if (newconst == Py_None) {
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1459:9): [True: 0, False: 2]
  ------------------
 1460|      0|        oparg = CONSTANT_NONE;
  ------------------
  |  |   78|      0|#define CONSTANT_NONE 7
  ------------------
 1461|      0|    }
 1462|      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 (1462:14): [True: 0, False: 2]
  ------------------
 1463|      0|        oparg = CONSTANT_TRUE;
  ------------------
  |  |   80|      0|#define CONSTANT_TRUE 9
  ------------------
 1464|      0|    }
 1465|      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 (1465:14): [True: 0, False: 2]
  ------------------
 1466|      0|        oparg = CONSTANT_FALSE;
  ------------------
  |  |   81|      0|#define CONSTANT_FALSE 10
  ------------------
 1467|      0|    }
 1468|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1469|      0|             && PyUnicode_GET_LENGTH(newconst) == 0) {
  ------------------
  |  |  299|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1469:17): [True: 0, False: 0]
  ------------------
 1470|      0|        oparg = CONSTANT_EMPTY_STR;
  ------------------
  |  |   79|      0|#define CONSTANT_EMPTY_STR 8
  ------------------
 1471|      0|    }
 1472|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1473|      0|             && PyTuple_GET_SIZE(newconst) == 0) {
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1473:17): [True: 0, False: 0]
  ------------------
 1474|      0|        oparg = CONSTANT_EMPTY_TUPLE;
  ------------------
  |  |   84|      0|#define CONSTANT_EMPTY_TUPLE 13
  ------------------
 1475|      0|    }
 1476|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1477|      0|        int overflow;
 1478|      0|        long val = PyLong_AsLongAndOverflow(newconst, &overflow);
 1479|      0|        if (val == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1479:13): [True: 0, False: 0]
  |  Branch (1479:26): [True: 0, False: 0]
  ------------------
 1480|      0|            return -1;
 1481|      0|        }
 1482|      0|        if (overflow || val != -1) {
  ------------------
  |  Branch (1482:13): [True: 0, False: 0]
  |  Branch (1482:25): [True: 0, False: 0]
  ------------------
 1483|      0|            return 0;
 1484|      0|        }
 1485|      0|        oparg = CONSTANT_MINUS_ONE;
  ------------------
  |  |   82|      0|#define CONSTANT_MINUS_ONE 11
  ------------------
 1486|      0|    }
 1487|      2|    else {
 1488|      2|        return 0;
 1489|      2|    }
 1490|      2|    assert(_Py_IsImmortal(newconst));
  ------------------
  |  Branch (1490:5): [True: 0, False: 0]
  ------------------
 1491|      0|    INSTR_SET_OP1(instr, LOAD_COMMON_CONSTANT, oparg);
  ------------------
  |  |  116|      0|    do { \
  |  |  117|      0|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  120|      0|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1491:5): [True: 0, False: 0]
  ------------------
 1492|      0|    return 1;
 1493|      0|}
flowgraph.c:optimize_basic_block:
 2424|      6|{
 2425|      6|    assert(PyDict_CheckExact(const_cache));
  ------------------
  |  Branch (2425:5): [True: 6, False: 0]
  ------------------
 2426|      6|    assert(PyList_CheckExact(consts));
  ------------------
  |  Branch (2426:5): [True: 6, False: 0]
  ------------------
 2427|      6|    cfg_instr nop;
 2428|      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 (2428:5): [True: 6, False: 0]
  ------------------
 2429|     37|    for (int i = 0; i < bb->b_iused; i++) {
  ------------------
  |  Branch (2429:21): [True: 31, False: 6]
  ------------------
 2430|     31|        cfg_instr *inst = &bb->b_instr[i];
 2431|     31|        cfg_instr *target;
 2432|     31|        int opcode = inst->i_opcode;
 2433|     31|        int oparg = inst->i_oparg;
 2434|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2435|      0|            assert(inst->i_target->b_iused > 0);
  ------------------
  |  Branch (2435:13): [True: 0, False: 0]
  ------------------
 2436|      0|            target = &inst->i_target->b_instr[0];
 2437|      0|            assert(!IS_ASSEMBLER_OPCODE(target->i_opcode));
  ------------------
  |  Branch (2437:13): [True: 0, False: 0]
  |  Branch (2437:13): [True: 0, False: 0]
  |  Branch (2437:13): [True: 0, False: 0]
  ------------------
 2438|      0|        }
 2439|     31|        else {
 2440|     31|            target = &nop;
 2441|     31|        }
 2442|     31|        int nextop = i+1 < bb->b_iused ? bb->b_instr[i+1].i_opcode : 0;
  ------------------
  |  Branch (2442:22): [True: 27, False: 4]
  ------------------
 2443|     31|        assert(!IS_ASSEMBLER_OPCODE(opcode));
  ------------------
  |  Branch (2443:9): [True: 0, False: 31]
  |  Branch (2443:9): [True: 0, False: 31]
  |  Branch (2443:9): [True: 0, False: 31]
  ------------------
 2444|     31|        switch (opcode) {
  ------------------
  |  Branch (2444:17): [True: 4, False: 27]
  ------------------
 2445|       |            /* Try to fold tuples of constants.
 2446|       |               Skip over BUILD_TUPLE(1) UNPACK_SEQUENCE(1).
 2447|       |               Replace BUILD_TUPLE(2) UNPACK_SEQUENCE(2) with SWAP(2).
 2448|       |               Replace BUILD_TUPLE(3) UNPACK_SEQUENCE(3) with SWAP(3). */
 2449|      2|            case BUILD_TUPLE:
  ------------------
  |  |   62|      2|#define BUILD_TUPLE                             49
  ------------------
  |  Branch (2449:13): [True: 2, False: 29]
  ------------------
 2450|      2|                if (nextop == UNPACK_SEQUENCE && oparg == bb->b_instr[i+1].i_oparg) {
  ------------------
  |  |  128|      4|#define UNPACK_SEQUENCE                        115
  ------------------
  |  Branch (2450:21): [True: 0, False: 2]
  |  Branch (2450:50): [True: 0, False: 0]
  ------------------
 2451|      0|                    switch(oparg) {
  ------------------
  |  Branch (2451:28): [True: 0, False: 0]
  ------------------
 2452|      0|                        case 1:
  ------------------
  |  Branch (2452:25): [True: 0, False: 0]
  ------------------
 2453|      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 (2453:29): [True: 0, False: 0]
  ------------------
 2454|      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 (2454:29): [True: 0, False: 0]
  ------------------
 2455|      0|                            continue;
 2456|      0|                        case 2:
  ------------------
  |  Branch (2456:25): [True: 0, False: 0]
  ------------------
 2457|      0|                        case 3:
  ------------------
  |  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|                            bb->b_instr[i+1].i_opcode = SWAP;
  ------------------
  |  |  126|      0|#define SWAP                                   113
  ------------------
 2460|      0|                            continue;
 2461|      0|                    }
 2462|      0|                }
 2463|      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|    }
  ------------------
 2464|      2|                break;
 2465|      0|            case BUILD_LIST:
  ------------------
  |  |   57|      0|#define BUILD_LIST                              44
  ------------------
  |  Branch (2465:13): [True: 0, False: 31]
  ------------------
 2466|      0|            case BUILD_SET:
  ------------------
  |  |   59|      0|#define BUILD_SET                               46
  ------------------
  |  Branch (2466:13): [True: 0, False: 31]
  ------------------
 2467|      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|    }
  ------------------
 2468|      0|                break;
 2469|      0|            case POP_JUMP_IF_NOT_NONE:
  ------------------
  |  |  111|      0|#define POP_JUMP_IF_NOT_NONE                    98
  ------------------
  |  Branch (2469:13): [True: 0, False: 31]
  ------------------
 2470|      0|            case POP_JUMP_IF_NONE:
  ------------------
  |  |  110|      0|#define POP_JUMP_IF_NONE                        97
  ------------------
  |  Branch (2470:13): [True: 0, False: 31]
  ------------------
 2471|      0|                switch (target->i_opcode) {
  ------------------
  |  Branch (2471:25): [True: 0, False: 0]
  ------------------
 2472|      0|                    case JUMP:
  ------------------
  |  |  245|      0|#define JUMP                                   257
  ------------------
  |  Branch (2472:21): [True: 0, False: 0]
  ------------------
 2473|      0|                        i -= jump_thread(bb, inst, target, inst->i_opcode);
 2474|      0|                }
 2475|      0|                break;
 2476|      0|            case POP_JUMP_IF_FALSE:
  ------------------
  |  |  109|      0|#define POP_JUMP_IF_FALSE                       96
  ------------------
  |  Branch (2476:13): [True: 0, False: 31]
  ------------------
 2477|      0|                switch (target->i_opcode) {
  ------------------
  |  Branch (2477:25): [True: 0, False: 0]
  ------------------
 2478|      0|                    case JUMP:
  ------------------
  |  |  245|      0|#define JUMP                                   257
  ------------------
  |  Branch (2478:21): [True: 0, False: 0]
  ------------------
 2479|      0|                        i -= jump_thread(bb, inst, target, POP_JUMP_IF_FALSE);
  ------------------
  |  |  109|      0|#define POP_JUMP_IF_FALSE                       96
  ------------------
 2480|      0|                }
 2481|      0|                break;
 2482|      0|            case POP_JUMP_IF_TRUE:
  ------------------
  |  |  112|      0|#define POP_JUMP_IF_TRUE                        99
  ------------------
  |  Branch (2482:13): [True: 0, False: 31]
  ------------------
 2483|      0|                switch (target->i_opcode) {
  ------------------
  |  Branch (2483:25): [True: 0, False: 0]
  ------------------
 2484|      0|                    case JUMP:
  ------------------
  |  |  245|      0|#define JUMP                                   257
  ------------------
  |  Branch (2484:21): [True: 0, False: 0]
  ------------------
 2485|      0|                        i -= jump_thread(bb, inst, target, POP_JUMP_IF_TRUE);
  ------------------
  |  |  112|      0|#define POP_JUMP_IF_TRUE                        99
  ------------------
 2486|      0|                }
 2487|      0|                break;
 2488|      0|            case JUMP_IF_FALSE:
  ------------------
  |  |  246|      0|#define JUMP_IF_FALSE                          258
  ------------------
  |  Branch (2488:13): [True: 0, False: 31]
  ------------------
 2489|      0|                switch (target->i_opcode) {
  ------------------
  |  Branch (2489:25): [True: 0, False: 0]
  ------------------
 2490|      0|                    case JUMP:
  ------------------
  |  |  245|      0|#define JUMP                                   257
  ------------------
  |  Branch (2490:21): [True: 0, False: 0]
  ------------------
 2491|      0|                    case JUMP_IF_FALSE:
  ------------------
  |  |  246|      0|#define JUMP_IF_FALSE                          258
  ------------------
  |  Branch (2491:21): [True: 0, False: 0]
  ------------------
 2492|      0|                        i -= jump_thread(bb, inst, target, JUMP_IF_FALSE);
  ------------------
  |  |  246|      0|#define JUMP_IF_FALSE                          258
  ------------------
 2493|      0|                        continue;
 2494|      0|                    case JUMP_IF_TRUE:
  ------------------
  |  |  247|      0|#define JUMP_IF_TRUE                           259
  ------------------
  |  Branch (2494:21): [True: 0, False: 0]
  ------------------
 2495|       |                        // No need to check for loops here, a block's b_next
 2496|       |                        // cannot point to itself.
 2497|      0|                        assert(inst->i_target != inst->i_target->b_next);
  ------------------
  |  Branch (2497:25): [True: 0, False: 0]
  ------------------
 2498|      0|                        inst->i_target = inst->i_target->b_next;
 2499|      0|                        i--;
 2500|      0|                        continue;
 2501|      0|                }
 2502|      0|                break;
 2503|      0|            case JUMP_IF_TRUE:
  ------------------
  |  |  247|      0|#define JUMP_IF_TRUE                           259
  ------------------
  |  Branch (2503:13): [True: 0, False: 31]
  ------------------
 2504|      0|                switch (target->i_opcode) {
  ------------------
  |  Branch (2504:25): [True: 0, False: 0]
  ------------------
 2505|      0|                    case JUMP:
  ------------------
  |  |  245|      0|#define JUMP                                   257
  ------------------
  |  Branch (2505:21): [True: 0, False: 0]
  ------------------
 2506|      0|                    case JUMP_IF_TRUE:
  ------------------
  |  |  247|      0|#define JUMP_IF_TRUE                           259
  ------------------
  |  Branch (2506:21): [True: 0, False: 0]
  ------------------
 2507|      0|                        i -= jump_thread(bb, inst, target, JUMP_IF_TRUE);
  ------------------
  |  |  247|      0|#define JUMP_IF_TRUE                           259
  ------------------
 2508|      0|                        continue;
 2509|      0|                    case JUMP_IF_FALSE:
  ------------------
  |  |  246|      0|#define JUMP_IF_FALSE                          258
  ------------------
  |  Branch (2509:21): [True: 0, False: 0]
  ------------------
 2510|       |                        // No need to check for loops here, a block's b_next
 2511|       |                        // cannot point to itself.
 2512|      0|                        assert(inst->i_target != inst->i_target->b_next);
  ------------------
  |  Branch (2512:25): [True: 0, False: 0]
  ------------------
 2513|      0|                        inst->i_target = inst->i_target->b_next;
 2514|      0|                        i--;
 2515|      0|                        continue;
 2516|      0|                }
 2517|      0|                break;
 2518|      0|            case JUMP:
  ------------------
  |  |  245|      0|#define JUMP                                   257
  ------------------
  |  Branch (2518:13): [True: 0, False: 31]
  ------------------
 2519|      0|            case JUMP_NO_INTERRUPT:
  ------------------
  |  |  248|      0|#define JUMP_NO_INTERRUPT                      260
  ------------------
  |  Branch (2519:13): [True: 0, False: 31]
  ------------------
 2520|      0|                switch (target->i_opcode) {
  ------------------
  |  Branch (2520:25): [True: 0, False: 0]
  ------------------
 2521|      0|                    case JUMP:
  ------------------
  |  |  245|      0|#define JUMP                                   257
  ------------------
  |  Branch (2521:21): [True: 0, False: 0]
  ------------------
 2522|      0|                        i -= jump_thread(bb, inst, target, JUMP);
  ------------------
  |  |  245|      0|#define JUMP                                   257
  ------------------
 2523|      0|                        continue;
 2524|      0|                    case JUMP_NO_INTERRUPT:
  ------------------
  |  |  248|      0|#define JUMP_NO_INTERRUPT                      260
  ------------------
  |  Branch (2524:21): [True: 0, False: 0]
  ------------------
 2525|      0|                        i -= jump_thread(bb, inst, target, opcode);
 2526|      0|                        continue;
 2527|      0|                }
 2528|      0|                break;
 2529|      0|            case FOR_ITER:
  ------------------
  |  |   78|      0|#define FOR_ITER                                65
  ------------------
  |  Branch (2529:13): [True: 0, False: 31]
  ------------------
 2530|      0|                if (target->i_opcode == JUMP) {
  ------------------
  |  |  245|      0|#define JUMP                                   257
  ------------------
  |  Branch (2530:21): [True: 0, False: 0]
  ------------------
 2531|       |                    /* This will not work now because the jump (at target) could
 2532|       |                     * be forward or backward and FOR_ITER only jumps forward. We
 2533|       |                     * can re-enable this if ever we implement a backward version
 2534|       |                     * of FOR_ITER.
 2535|       |                     */
 2536|       |                    /*
 2537|       |                    i -= jump_thread(bb, inst, target, FOR_ITER);
 2538|       |                    */
 2539|      0|                }
 2540|      0|                break;
 2541|      0|            case STORE_FAST:
  ------------------
  |  |  121|      0|#define STORE_FAST                             108
  ------------------
  |  Branch (2541:13): [True: 0, False: 31]
  ------------------
 2542|      0|                if (opcode == nextop &&
  ------------------
  |  Branch (2542:21): [True: 0, False: 0]
  ------------------
 2543|      0|                    oparg == bb->b_instr[i+1].i_oparg &&
  ------------------
  |  Branch (2543:21): [True: 0, False: 0]
  ------------------
 2544|      0|                    bb->b_instr[i].i_loc.lineno == bb->b_instr[i+1].i_loc.lineno) {
  ------------------
  |  Branch (2544:21): [True: 0, False: 0]
  ------------------
 2545|      0|                    bb->b_instr[i].i_opcode = POP_TOP;
  ------------------
  |  |   42|      0|#define POP_TOP                                 29
  ------------------
 2546|      0|                    bb->b_instr[i].i_oparg = 0;
 2547|      0|                }
 2548|      0|                break;
 2549|      0|            case SWAP:
  ------------------
  |  |  126|      0|#define SWAP                                   113
  ------------------
  |  Branch (2549:13): [True: 0, False: 31]
  ------------------
 2550|      0|                if (oparg == 1) {
  ------------------
  |  Branch (2550:21): [True: 0, False: 0]
  ------------------
 2551|      0|                    INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2551:21): [True: 0, False: 0]
  ------------------
 2552|      0|                }
 2553|      0|                break;
 2554|      2|            case LOAD_GLOBAL:
  ------------------
  |  |  101|      2|#define LOAD_GLOBAL                             88
  ------------------
  |  Branch (2554:13): [True: 2, False: 29]
  ------------------
 2555|      2|                if (nextop == PUSH_NULL && (oparg & 1) == 0) {
  ------------------
  |  |   44|      4|#define PUSH_NULL                               31
  ------------------
  |  Branch (2555:21): [True: 2, False: 0]
  |  Branch (2555:44): [True: 2, False: 0]
  ------------------
 2556|      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 (2556:21): [True: 2, False: 0]
  ------------------
 2557|      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 (2557:21): [True: 2, False: 0]
  ------------------
 2558|      2|                }
 2559|      2|                break;
 2560|      2|            case COMPARE_OP:
  ------------------
  |  |   67|      0|#define COMPARE_OP                              54
  ------------------
  |  Branch (2560:13): [True: 0, False: 31]
  ------------------
 2561|      0|                if (nextop == TO_BOOL) {
  ------------------
  |  |   50|      0|#define TO_BOOL                                 37
  ------------------
  |  Branch (2561:21): [True: 0, False: 0]
  ------------------
 2562|      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 (2562:21): [True: 0, False: 0]
  ------------------
 2563|      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 (2563:21): [True: 0, False: 0]
  ------------------
 2564|      0|                    continue;
 2565|      0|                }
 2566|      0|                break;
 2567|      0|            case CONTAINS_OP:
  ------------------
  |  |   68|      0|#define CONTAINS_OP                             55
  ------------------
  |  Branch (2567:13): [True: 0, False: 31]
  ------------------
 2568|      0|            case IS_OP:
  ------------------
  |  |   83|      0|#define IS_OP                                   70
  ------------------
  |  Branch (2568:13): [True: 0, False: 31]
  ------------------
 2569|      0|                if (nextop == TO_BOOL) {
  ------------------
  |  |   50|      0|#define TO_BOOL                                 37
  ------------------
  |  Branch (2569:21): [True: 0, False: 0]
  ------------------
 2570|      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 (2570:21): [True: 0, False: 0]
  ------------------
 2571|      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 (2571:21): [True: 0, False: 0]
  ------------------
 2572|      0|                    continue;
 2573|      0|                }
 2574|      0|                if (nextop == UNARY_NOT) {
  ------------------
  |  |   53|      0|#define UNARY_NOT                               40
  ------------------
  |  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|                    int inverted = oparg ^ 1;
 2577|      0|                    assert(inverted == 0 || inverted == 1);
  ------------------
  |  Branch (2577:21): [True: 0, False: 0]
  |  Branch (2577:21): [True: 0, False: 0]
  ------------------
 2578|      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 (2578:21): [True: 0, False: 0]
  ------------------
 2579|      0|                    continue;
 2580|      0|                }
 2581|      0|                break;
 2582|      0|            case TO_BOOL:
  ------------------
  |  |   50|      0|#define TO_BOOL                                 37
  ------------------
  |  Branch (2582:13): [True: 0, False: 31]
  ------------------
 2583|      0|                if (nextop == TO_BOOL) {
  ------------------
  |  |   50|      0|#define TO_BOOL                                 37
  ------------------
  |  Branch (2583:21): [True: 0, False: 0]
  ------------------
 2584|      0|                    INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2584:21): [True: 0, False: 0]
  ------------------
 2585|      0|                    continue;
 2586|      0|                }
 2587|      0|                break;
 2588|      0|            case UNARY_NOT:
  ------------------
  |  |   53|      0|#define UNARY_NOT                               40
  ------------------
  |  Branch (2588:13): [True: 0, False: 31]
  ------------------
 2589|      0|                if (nextop == TO_BOOL) {
  ------------------
  |  |   50|      0|#define TO_BOOL                                 37
  ------------------
  |  Branch (2589:21): [True: 0, False: 0]
  ------------------
 2590|      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 (2590:21): [True: 0, False: 0]
  ------------------
 2591|      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 (2591:21): [True: 0, False: 0]
  ------------------
 2592|      0|                    continue;
 2593|      0|                }
 2594|      0|                if (nextop == UNARY_NOT) {
  ------------------
  |  |   53|      0|#define UNARY_NOT                               40
  ------------------
  |  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], 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 (2596:21): [True: 0, False: 0]
  ------------------
 2597|      0|                    continue;
 2598|      0|                }
 2599|      0|                _Py_FALLTHROUGH;
  ------------------
  |  |  650|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 2600|      0|            case UNARY_INVERT:
  ------------------
  |  |   51|      0|#define UNARY_INVERT                            38
  ------------------
  |  Branch (2600:13): [True: 0, False: 31]
  ------------------
 2601|      0|            case UNARY_NEGATIVE:
  ------------------
  |  |   52|      0|#define UNARY_NEGATIVE                          39
  ------------------
  |  Branch (2601:13): [True: 0, False: 31]
  ------------------
 2602|      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|    }
  ------------------
 2603|      0|                break;
 2604|      0|            case CALL_INTRINSIC_1:
  ------------------
  |  |   64|      0|#define CALL_INTRINSIC_1                        51
  ------------------
  |  Branch (2604:13): [True: 0, False: 31]
  ------------------
 2605|      0|                if (oparg == INTRINSIC_LIST_TO_TUPLE) {
  ------------------
  |  |   15|      0|#define INTRINSIC_LIST_TO_TUPLE                  6
  ------------------
  |  Branch (2605:21): [True: 0, False: 0]
  ------------------
 2606|      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|    }
  ------------------
 2607|      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 (2607:25): [True: 0, False: 0]
  |  Branch (2607:63): [True: 0, False: 0]
  ------------------
 2608|      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 (2608:25): [True: 0, False: 0]
  ------------------
 2609|      0|                    }
 2610|      0|                }
 2611|      0|                else if (oparg == INTRINSIC_UNARY_POSITIVE) {
  ------------------
  |  |   14|      0|#define INTRINSIC_UNARY_POSITIVE                 5
  ------------------
  |  Branch (2611:26): [True: 0, False: 0]
  ------------------
 2612|      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|    }
  ------------------
 2613|      0|                }
 2614|      0|                break;
 2615|      0|            case LIST_APPEND:
  ------------------
  |  |   87|      0|#define LIST_APPEND                             74
  ------------------
  |  Branch (2615:13): [True: 0, False: 31]
  ------------------
 2616|      0|            case SET_ADD:
  ------------------
  |  |  116|      0|#define SET_ADD                                103
  ------------------
  |  Branch (2616:13): [True: 0, False: 31]
  ------------------
 2617|      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 (2617:21): [True: 0, False: 0]
  |  Branch (2617:36): [True: 0, False: 0]
  |  Branch (2617:58): [True: 0, False: 0]
  ------------------
 2618|      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|    }
  ------------------
 2619|      0|                        bb, i, consts, const_cache, consts_index));
 2620|      0|                }
 2621|      0|                break;
 2622|      0|            case BINARY_OP:
  ------------------
  |  |   55|      0|#define BINARY_OP                               42
  ------------------
  |  Branch (2622:13): [True: 0, False: 31]
  ------------------
 2623|      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|    }
  ------------------
 2624|      0|                break;
 2625|     31|        }
 2626|     31|    }
 2627|       |
 2628|     37|    for (int i = 0; i < bb->b_iused; i++) {
  ------------------
  |  Branch (2628:21): [True: 31, False: 6]
  ------------------
 2629|     31|        cfg_instr *inst = &bb->b_instr[i];
 2630|     31|        if (inst->i_opcode == SWAP) {
  ------------------
  |  |  126|     31|#define SWAP                                   113
  ------------------
  |  Branch (2630:13): [True: 0, False: 31]
  ------------------
 2631|      0|            if (swaptimize(bb, &i) < 0) {
  ------------------
  |  Branch (2631:17): [True: 0, False: 0]
  ------------------
 2632|      0|                goto error;
 2633|      0|            }
 2634|      0|            apply_static_swaps(bb, i);
 2635|      0|        }
 2636|     31|    }
 2637|      6|    return SUCCESS;
  ------------------
  |  |   21|      6|#define SUCCESS 0
  ------------------
 2638|      0|error:
 2639|      0|    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2640|      6|}
flowgraph.c:fold_tuple_of_constants:
 1532|      2|{
 1533|       |    /* Pre-conditions */
 1534|      2|    assert(PyDict_CheckExact(const_cache));
  ------------------
  |  Branch (1534:5): [True: 2, False: 0]
  ------------------
 1535|      2|    assert(PyList_CheckExact(consts));
  ------------------
  |  Branch (1535:5): [True: 2, False: 0]
  ------------------
 1536|       |
 1537|      2|    cfg_instr *instr = &bb->b_instr[i];
 1538|      2|    assert(instr->i_opcode == BUILD_TUPLE);
  ------------------
  |  Branch (1538:5): [True: 2, False: 0]
  ------------------
 1539|       |
 1540|      2|    int seq_size = instr->i_oparg;
 1541|      2|    if (seq_size > _PY_STACK_USE_GUIDELINE) {
  ------------------
  |  |   24|      2|#define _PY_STACK_USE_GUIDELINE 30
  ------------------
  |  Branch (1541:9): [True: 0, False: 2]
  ------------------
 1542|      0|        return SUCCESS;
  ------------------
  |  |   21|      0|#define SUCCESS 0
  ------------------
 1543|      0|    }
 1544|       |
 1545|      2|    cfg_instr *const_instrs[_PY_STACK_USE_GUIDELINE];
 1546|      2|    if (!get_const_loading_instrs(bb, i-1, const_instrs, seq_size)) {
  ------------------
  |  Branch (1546:9): [True: 2, False: 0]
  ------------------
 1547|       |        /* not a const sequence */
 1548|      2|        return SUCCESS;
  ------------------
  |  |   21|      2|#define SUCCESS 0
  ------------------
 1549|      2|    }
 1550|       |
 1551|      0|    PyObject *const_tuple = PyTuple_New((Py_ssize_t)seq_size);
 1552|      0|    if (const_tuple == NULL) {
  ------------------
  |  Branch (1552:9): [True: 0, False: 0]
  ------------------
 1553|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 1554|      0|    }
 1555|       |
 1556|      0|    for (int i = 0; i < seq_size; i++) {
  ------------------
  |  Branch (1556:21): [True: 0, False: 0]
  ------------------
 1557|      0|        cfg_instr *inst = const_instrs[i];
 1558|      0|        assert(loads_const(inst->i_opcode));
  ------------------
  |  Branch (1558:9): [True: 0, False: 0]
  ------------------
 1559|      0|        PyObject *element = get_const_value(inst->i_opcode, inst->i_oparg, consts);
 1560|      0|        if (element == NULL) {
  ------------------
  |  Branch (1560:13): [True: 0, False: 0]
  ------------------
 1561|      0|            Py_DECREF(const_tuple);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1562|      0|            return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 1563|      0|        }
 1564|      0|        PyTuple_SET_ITEM(const_tuple, i, element);
  ------------------
  |  |   40|      0|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1565|      0|    }
 1566|       |
 1567|      0|    nop_out(const_instrs, seq_size);
 1568|      0|    return instr_make_load_const(instr, const_tuple, consts, const_cache, consts_index);
 1569|      0|}
flowgraph.c:get_const_loading_instrs:
 1392|      2|{
 1393|      2|    assert(start < bb->b_iused);
  ------------------
  |  Branch (1393:5): [True: 2, False: 0]
  ------------------
 1394|      2|    assert(size >= 0);
  ------------------
  |  Branch (1394:5): [True: 2, False: 0]
  ------------------
 1395|      2|    assert(size <= _PY_STACK_USE_GUIDELINE);
  ------------------
  |  Branch (1395:5): [True: 2, False: 0]
  ------------------
 1396|       |
 1397|      2|    for (; start >= 0 && size > 0; start--) {
  ------------------
  |  Branch (1397:12): [True: 2, False: 0]
  |  Branch (1397:26): [True: 2, False: 0]
  ------------------
 1398|      2|        cfg_instr *instr = &bb->b_instr[start];
 1399|      2|        if (instr->i_opcode == NOP) {
  ------------------
  |  |   38|      2|#define NOP                                     25
  ------------------
  |  Branch (1399:13): [True: 0, False: 2]
  ------------------
 1400|      0|            continue;
 1401|      0|        }
 1402|      2|        if (!loads_const(instr->i_opcode)) {
  ------------------
  |  Branch (1402:13): [True: 2, False: 0]
  ------------------
 1403|      2|            return false;
 1404|      2|        }
 1405|      0|        instrs[--size] = instr;
 1406|      0|    }
 1407|       |
 1408|      0|    return size == 0;
 1409|      2|}
flowgraph.c:remove_redundant_nops_and_pairs:
 1133|      4|{
 1134|      4|    bool done = false;
 1135|       |
 1136|      8|    while (! done) {
  ------------------
  |  Branch (1136:12): [True: 4, False: 4]
  ------------------
 1137|      4|        done = true;
 1138|      4|        cfg_instr *prev_instr = NULL;
 1139|      4|        cfg_instr *instr = NULL;
 1140|     10|        for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (1140:42): [True: 6, False: 4]
  ------------------
 1141|      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|    }
  ------------------
 1142|      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]
  |  |  ------------------
  ------------------
 1143|       |                /* this block is a jump target, forget instr */
 1144|      0|                instr = NULL;
 1145|      0|            }
 1146|     35|            for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (1146:29): [True: 29, False: 6]
  ------------------
 1147|     29|                prev_instr = instr;
 1148|     29|                instr = &b->b_instr[i];
 1149|     29|                int prev_opcode = prev_instr ? prev_instr->i_opcode : 0;
  ------------------
  |  Branch (1149:35): [True: 25, False: 4]
  ------------------
 1150|     29|                int prev_oparg = prev_instr ? prev_instr->i_oparg : 0;
  ------------------
  |  Branch (1150:34): [True: 25, False: 4]
  ------------------
 1151|     29|                int opcode = instr->i_opcode;
 1152|     29|                bool is_redundant_pair = false;
 1153|     29|                if (opcode == POP_TOP) {
  ------------------
  |  |   42|     29|#define POP_TOP                                 29
  ------------------
  |  Branch (1153:21): [True: 0, False: 29]
  ------------------
 1154|      0|                   if (loads_const(prev_opcode)) {
  ------------------
  |  Branch (1154:24): [True: 0, False: 0]
  ------------------
 1155|      0|                       is_redundant_pair = true;
 1156|      0|                   }
 1157|      0|                   else if (prev_opcode == COPY && prev_oparg == 1) {
  ------------------
  |  |   70|      0|#define COPY                                    57
  ------------------
  |  Branch (1157:29): [True: 0, False: 0]
  |  Branch (1157:52): [True: 0, False: 0]
  ------------------
 1158|      0|                       is_redundant_pair = true;
 1159|      0|                   }
 1160|      0|                }
 1161|     29|                if (is_redundant_pair) {
  ------------------
  |  Branch (1161:21): [True: 0, False: 29]
  ------------------
 1162|      0|                    INSTR_SET_OP0(prev_instr, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1162:21): [True: 0, False: 0]
  ------------------
 1163|      0|                    INSTR_SET_OP0(instr, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1163:21): [True: 0, False: 0]
  ------------------
 1164|      0|                    done = false;
 1165|      0|                }
 1166|     29|            }
 1167|      6|            if ((instr && is_jump(instr)) || !BB_HAS_FALLTHROUGH(b)) {
  ------------------
  |  |  251|      6|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  ------------------
  |  Branch (1167:18): [True: 4, False: 2]
  |  Branch (1167:27): [True: 0, False: 4]
  |  Branch (1167:46): [True: 4, False: 2]
  ------------------
 1168|      4|                instr = NULL;
 1169|      4|            }
 1170|      6|        }
 1171|      4|    }
 1172|      4|    return SUCCESS;
  ------------------
  |  |   21|      4|#define SUCCESS 0
  ------------------
 1173|      4|}
flowgraph.c:basicblock_remove_redundant_nops:
 1058|     30|basicblock_remove_redundant_nops(basicblock *bb) {
 1059|       |    /* Remove NOPs when legal to do so. */
 1060|     30|    int dest = 0;
 1061|     30|    int prev_lineno = -1;
 1062|    167|    for (int src = 0; src < bb->b_iused; src++) {
  ------------------
  |  Branch (1062:23): [True: 137, False: 30]
  ------------------
 1063|    137|        int lineno = bb->b_instr[src].i_loc.lineno;
 1064|    137|        if (bb->b_instr[src].i_opcode == NOP) {
  ------------------
  |  |   38|    137|#define NOP                                     25
  ------------------
  |  Branch (1064:13): [True: 7, False: 130]
  ------------------
 1065|       |            /* Eliminate no-op if it doesn't have a line number */
 1066|      7|            if (lineno < 0) {
  ------------------
  |  Branch (1066:17): [True: 0, False: 7]
  ------------------
 1067|      0|                continue;
 1068|      0|            }
 1069|       |            /* or, if the previous instruction had the same line number. */
 1070|      7|            if (prev_lineno == lineno) {
  ------------------
  |  Branch (1070:17): [True: 7, False: 0]
  ------------------
 1071|      7|                continue;
 1072|      7|            }
 1073|       |            /* or, if the next instruction has same line number or no line number */
 1074|      0|            if (src < bb->b_iused - 1) {
  ------------------
  |  Branch (1074:17): [True: 0, False: 0]
  ------------------
 1075|      0|                int next_lineno = bb->b_instr[src+1].i_loc.lineno;
 1076|      0|                if (next_lineno == lineno) {
  ------------------
  |  Branch (1076:21): [True: 0, False: 0]
  ------------------
 1077|      0|                    continue;
 1078|      0|                }
 1079|      0|                if (next_lineno < 0) {
  ------------------
  |  Branch (1079:21): [True: 0, False: 0]
  ------------------
 1080|      0|                    bb->b_instr[src+1].i_loc = bb->b_instr[src].i_loc;
 1081|      0|                    continue;
 1082|      0|                }
 1083|      0|            }
 1084|      0|            else {
 1085|      0|                basicblock *next = next_nonempty_block(bb->b_next);
 1086|       |                /* or if last instruction in BB and next BB has same line number */
 1087|      0|                if (next) {
  ------------------
  |  Branch (1087:21): [True: 0, False: 0]
  ------------------
 1088|      0|                    location next_loc = NO_LOCATION;
 1089|      0|                    for (int next_i=0; next_i < next->b_iused; next_i++) {
  ------------------
  |  Branch (1089:40): [True: 0, False: 0]
  ------------------
 1090|      0|                        cfg_instr *instr = &next->b_instr[next_i];
 1091|      0|                        if (instr->i_opcode == NOP && instr->i_loc.lineno < 0) {
  ------------------
  |  |   38|      0|#define NOP                                     25
  ------------------
  |  Branch (1091:29): [True: 0, False: 0]
  |  Branch (1091:55): [True: 0, False: 0]
  ------------------
 1092|       |                            /* Skip over NOPs without a location, they will be removed */
 1093|      0|                            continue;
 1094|      0|                        }
 1095|      0|                        next_loc = instr->i_loc;
 1096|      0|                        break;
 1097|      0|                    }
 1098|      0|                    if (lineno == next_loc.lineno) {
  ------------------
  |  Branch (1098:25): [True: 0, False: 0]
  ------------------
 1099|      0|                        continue;
 1100|      0|                    }
 1101|      0|                }
 1102|      0|            }
 1103|       |
 1104|      0|        }
 1105|    130|        if (dest != src) {
  ------------------
  |  Branch (1105:13): [True: 27, False: 103]
  ------------------
 1106|     27|            bb->b_instr[dest] = bb->b_instr[src];
 1107|     27|        }
 1108|    130|        dest++;
 1109|    130|        prev_lineno = lineno;
 1110|    130|    }
 1111|     30|    assert(dest <= bb->b_iused);
  ------------------
  |  Branch (1111:5): [True: 30, False: 0]
  ------------------
 1112|     30|    int num_removed = bb->b_iused - dest;
 1113|     30|    bb->b_iused = dest;
 1114|     30|    memset(&bb->b_instr[dest], 0, sizeof(cfg_instr) * num_removed);
 1115|     30|    return num_removed;
 1116|     30|}
flowgraph.c:remove_redundant_nops_and_jumps:
 2646|      8|{
 2647|      8|    int removed_nops, removed_jumps;
 2648|      8|    do {
 2649|       |        /* Convergence is guaranteed because the number of
 2650|       |         * redundant jumps and nops only decreases.
 2651|       |         */
 2652|      8|        removed_nops = remove_redundant_nops(g);
 2653|      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|    }
  ------------------
 2654|      8|        removed_jumps = remove_redundant_jumps(g);
 2655|      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|    }
  ------------------
 2656|      8|    } while(removed_nops + removed_jumps > 0);
  ------------------
  |  Branch (2656:13): [True: 0, False: 8]
  ------------------
 2657|      8|    return SUCCESS;
  ------------------
  |  |   21|      8|#define SUCCESS 0
  ------------------
 2658|      8|}
flowgraph.c:remove_redundant_nops:
 1119|     16|remove_redundant_nops(cfg_builder *g) {
 1120|     16|    int changes = 0;
 1121|     40|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (1121:43): [True: 24, False: 16]
  ------------------
 1122|     24|        int change = basicblock_remove_redundant_nops(b);
 1123|     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|    }
  ------------------
 1124|     24|        changes += change;
 1125|     24|    }
 1126|     16|    return changes;
 1127|     16|}
flowgraph.c:remove_redundant_jumps:
 1176|      8|remove_redundant_jumps(cfg_builder *g) {
 1177|       |    /* If a non-empty block ends with a jump instruction, check if the next
 1178|       |     * non-empty block reached through normal flow control is the target
 1179|       |     * of that jump. If it is, then the jump instruction is redundant and
 1180|       |     * can be deleted.
 1181|       |     *
 1182|       |     * Return the number of changes applied, or -1 on error.
 1183|       |     */
 1184|       |
 1185|      8|    int changes = 0;
 1186|     20|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (1186:43): [True: 12, False: 8]
  ------------------
 1187|     12|        cfg_instr *last = basicblock_last_instr(b);
 1188|     12|        if (last == NULL) {
  ------------------
  |  Branch (1188:13): [True: 4, False: 8]
  ------------------
 1189|      4|            continue;
 1190|      4|        }
 1191|     12|        assert(!IS_ASSEMBLER_OPCODE(last->i_opcode));
  ------------------
  |  Branch (1191:9): [True: 0, False: 8]
  |  Branch (1191:9): [True: 0, False: 8]
  |  Branch (1191:9): [True: 0, False: 8]
  ------------------
 1192|      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]
  |  |  ------------------
  ------------------
 1193|      0|            basicblock* jump_target = next_nonempty_block(last->i_target);
 1194|      0|            if (jump_target == NULL) {
  ------------------
  |  Branch (1194:17): [True: 0, False: 0]
  ------------------
 1195|      0|                PyErr_SetString(PyExc_SystemError, "jump with NULL target");
 1196|      0|                return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 1197|      0|            }
 1198|      0|            basicblock *next = next_nonempty_block(b->b_next);
 1199|      0|            if (jump_target == next) {
  ------------------
  |  Branch (1199:17): [True: 0, False: 0]
  ------------------
 1200|      0|                changes++;
 1201|      0|                INSTR_SET_OP0(last, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1201:17): [True: 0, False: 0]
  ------------------
 1202|      0|            }
 1203|      0|        }
 1204|      8|    }
 1205|       |
 1206|      8|    return changes;
 1207|      8|}
flowgraph.c:remove_unused_consts:
 3297|      4|{
 3298|      4|    assert(PyList_CheckExact(consts));
  ------------------
  |  Branch (3298:5): [True: 4, False: 0]
  ------------------
 3299|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3300|      4|    if (nconsts == 0) {
  ------------------
  |  Branch (3300:9): [True: 0, False: 4]
  ------------------
 3301|      0|        return SUCCESS;  /* nothing to do */
  ------------------
  |  |   21|      0|#define SUCCESS 0
  ------------------
 3302|      0|    }
 3303|       |
 3304|      4|    Py_ssize_t *index_map = NULL;
 3305|      4|    Py_ssize_t *reverse_index_map = NULL;
 3306|      4|    int err = ERROR;
  ------------------
  |  |   22|      4|#define ERROR -1
  ------------------
 3307|       |
 3308|      4|    index_map = PyMem_Malloc(nconsts * sizeof(Py_ssize_t));
 3309|      4|    if (index_map == NULL) {
  ------------------
  |  Branch (3309:9): [True: 0, False: 4]
  ------------------
 3310|      0|        PyErr_NoMemory();
 3311|      0|        goto end;
 3312|      0|    }
 3313|      4|    for (Py_ssize_t i = 1; i < nconsts; i++) {
  ------------------
  |  Branch (3313:28): [True: 0, False: 4]
  ------------------
 3314|      0|        index_map[i] = -1;
 3315|      0|    }
 3316|       |    // The first constant may be docstring; keep it always.
 3317|      4|    index_map[0] = 0;
 3318|       |
 3319|       |    /* mark used consts */
 3320|     10|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3320:38): [True: 6, False: 4]
  ------------------
 3321|     35|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3321:25): [True: 29, False: 6]
  ------------------
 3322|     29|            int opcode = b->b_instr[i].i_opcode;
 3323|     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]
  |  |  ------------------
  ------------------
 3324|      2|                int index = b->b_instr[i].i_oparg;
 3325|      2|                index_map[index] = index;
 3326|      2|            }
 3327|     29|        }
 3328|      6|    }
 3329|       |    /* now index_map[i] == i if consts[i] is used, -1 otherwise */
 3330|       |    /* condense consts */
 3331|      4|    Py_ssize_t n_used_consts = 0;
 3332|      8|    for (Py_ssize_t i = 0; i < nconsts; i++) {
  ------------------
  |  Branch (3332:28): [True: 4, False: 4]
  ------------------
 3333|      4|        if (index_map[i] != -1) {
  ------------------
  |  Branch (3333:13): [True: 4, False: 0]
  ------------------
 3334|      4|            assert(index_map[i] == i);
  ------------------
  |  Branch (3334:13): [True: 4, False: 0]
  ------------------
 3335|      4|            index_map[n_used_consts++] = index_map[i];
 3336|      4|        }
 3337|      4|    }
 3338|      4|    if (n_used_consts == nconsts) {
  ------------------
  |  Branch (3338:9): [True: 4, False: 0]
  ------------------
 3339|       |        /* nothing to do */
 3340|      4|        err = SUCCESS;
  ------------------
  |  |   21|      4|#define SUCCESS 0
  ------------------
 3341|      4|        goto end;
 3342|      4|    }
 3343|       |
 3344|       |    /* move all used consts to the beginning of the consts list */
 3345|      4|    assert(n_used_consts < nconsts);
  ------------------
  |  Branch (3345:5): [True: 0, False: 0]
  ------------------
 3346|      0|    for (Py_ssize_t i = 0; i < n_used_consts; i++) {
  ------------------
  |  Branch (3346:28): [True: 0, False: 0]
  ------------------
 3347|      0|        Py_ssize_t old_index = index_map[i];
 3348|      0|        assert(i <= old_index && old_index < nconsts);
  ------------------
  |  Branch (3348:9): [True: 0, False: 0]
  |  Branch (3348:9): [True: 0, False: 0]
  ------------------
 3349|      0|        if (i != old_index) {
  ------------------
  |  Branch (3349:13): [True: 0, False: 0]
  ------------------
 3350|      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 (3350:31): [True: 0, False: 0]
  ------------------
 3351|      0|            assert(value != NULL);
  ------------------
  |  Branch (3351:13): [True: 0, False: 0]
  ------------------
 3352|      0|            PyList_SetItem(consts, i, Py_NewRef(value));
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3353|      0|        }
 3354|      0|    }
 3355|       |
 3356|       |    /* truncate the consts list at its new size */
 3357|      0|    if (PyList_SetSlice(consts, n_used_consts, nconsts, NULL) < 0) {
  ------------------
  |  Branch (3357:9): [True: 0, False: 0]
  ------------------
 3358|      0|        goto end;
 3359|      0|    }
 3360|       |    /* adjust const indices in the bytecode */
 3361|      0|    reverse_index_map = PyMem_Malloc(nconsts * sizeof(Py_ssize_t));
 3362|      0|    if (reverse_index_map == NULL) {
  ------------------
  |  Branch (3362:9): [True: 0, False: 0]
  ------------------
 3363|      0|        PyErr_NoMemory();
 3364|      0|        goto end;
 3365|      0|    }
 3366|      0|    for (Py_ssize_t i = 0; i < nconsts; i++) {
  ------------------
  |  Branch (3366:28): [True: 0, False: 0]
  ------------------
 3367|      0|        reverse_index_map[i] = -1;
 3368|      0|    }
 3369|      0|    for (Py_ssize_t i = 0; i < n_used_consts; i++) {
  ------------------
  |  Branch (3369:28): [True: 0, False: 0]
  ------------------
 3370|      0|        assert(index_map[i] != -1);
  ------------------
  |  Branch (3370:9): [True: 0, False: 0]
  ------------------
 3371|      0|        assert(reverse_index_map[index_map[i]] == -1);
  ------------------
  |  Branch (3371:9): [True: 0, False: 0]
  ------------------
 3372|      0|        reverse_index_map[index_map[i]] = i;
 3373|      0|    }
 3374|       |
 3375|      0|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3375:38): [True: 0, False: 0]
  ------------------
 3376|      0|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3376:25): [True: 0, False: 0]
  ------------------
 3377|      0|            int opcode = b->b_instr[i].i_opcode;
 3378|      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]
  |  |  ------------------
  ------------------
 3379|      0|                int index = b->b_instr[i].i_oparg;
 3380|      0|                assert(reverse_index_map[index] >= 0);
  ------------------
  |  Branch (3380:17): [True: 0, False: 0]
  ------------------
 3381|      0|                assert(reverse_index_map[index] < n_used_consts);
  ------------------
  |  Branch (3381:17): [True: 0, False: 0]
  ------------------
 3382|      0|                b->b_instr[i].i_oparg = (int)reverse_index_map[index];
 3383|      0|            }
 3384|      0|        }
 3385|      0|    }
 3386|       |
 3387|      0|    err = SUCCESS;
  ------------------
  |  |   21|      0|#define SUCCESS 0
  ------------------
 3388|      4|end:
 3389|      4|    PyMem_Free(index_map);
 3390|      4|    PyMem_Free(reverse_index_map);
 3391|      4|    return err;
 3392|      0|}
flowgraph.c:add_checks_for_loads_of_uninitialized_variables:
 3400|      4|{
 3401|      4|    if (nlocals == 0) {
  ------------------
  |  Branch (3401:9): [True: 2, False: 2]
  ------------------
 3402|      2|        return SUCCESS;
  ------------------
  |  |   21|      2|#define SUCCESS 0
  ------------------
 3403|      2|    }
 3404|      2|    if (nlocals > 64) {
  ------------------
  |  Branch (3404:9): [True: 0, False: 2]
  ------------------
 3405|       |        // To avoid O(nlocals**2) compilation, locals beyond the first
 3406|       |        // 64 are only analyzed one basicblock at a time: initialization
 3407|       |        // info is not passed between basicblocks.
 3408|      0|        if (fast_scan_many_locals(entryblock, nlocals) < 0) {
  ------------------
  |  Branch (3408:13): [True: 0, False: 0]
  ------------------
 3409|      0|            return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3410|      0|        }
 3411|      0|        nlocals = 64;
 3412|      0|    }
 3413|      2|    basicblock **stack = make_cfg_traversal_stack(entryblock);
 3414|      2|    if (stack == NULL) {
  ------------------
  |  Branch (3414:9): [True: 0, False: 2]
  ------------------
 3415|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3416|      0|    }
 3417|      2|    basicblock **sp = stack;
 3418|       |
 3419|       |    // First origin of being uninitialized:
 3420|       |    // The non-parameter locals in the entry block.
 3421|      2|    uint64_t start_mask = 0;
 3422|      2|    for (int i = nparams; i < nlocals; i++) {
  ------------------
  |  Branch (3422:27): [True: 0, False: 2]
  ------------------
 3423|      0|        start_mask |= (uint64_t)1 << i;
 3424|      0|    }
 3425|      2|    maybe_push(entryblock, start_mask, &sp);
 3426|       |
 3427|       |    // Second origin of being uninitialized:
 3428|       |    // There could be DELETE_FAST somewhere, so
 3429|       |    // be sure to scan each basicblock at least once.
 3430|      6|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3430:38): [True: 4, False: 2]
  ------------------
 3431|      4|        scan_block_for_locals(b, &sp);
 3432|      4|    }
 3433|       |    // Now propagate the uncertainty from the origins we found: Use
 3434|       |    // LOAD_FAST_CHECK for any LOAD_FAST where the local could be undefined.
 3435|      2|    while (sp > stack) {
  ------------------
  |  Branch (3435:12): [True: 0, False: 2]
  ------------------
 3436|      0|        basicblock *b = *--sp;
 3437|       |        // mark as no longer on stack
 3438|      0|        b->b_visited = 0;
 3439|      0|        scan_block_for_locals(b, &sp);
 3440|      0|    }
 3441|      2|    PyMem_Free(stack);
 3442|      2|    return SUCCESS;
  ------------------
  |  |   21|      2|#define SUCCESS 0
  ------------------
 3443|      2|}
flowgraph.c:maybe_push:
 3185|      2|{
 3186|       |    // Push b if the unsafe mask is giving us any new information.
 3187|       |    // To avoid overflowing the stack, only allow each block once.
 3188|       |    // Use b->b_visited=1 to mean that b is currently on the stack.
 3189|      2|    uint64_t both = b->b_unsafe_locals_mask | unsafe_mask;
 3190|      2|    if (b->b_unsafe_locals_mask != both) {
  ------------------
  |  Branch (3190:9): [True: 0, False: 2]
  ------------------
 3191|      0|        b->b_unsafe_locals_mask = both;
 3192|       |        // More work left to do.
 3193|      0|        if (!b->b_visited) {
  ------------------
  |  Branch (3193:13): [True: 0, False: 0]
  ------------------
 3194|       |            // not on the stack, so push it.
 3195|      0|            *(*sp)++ = b;
 3196|      0|            b->b_visited = 1;
 3197|      0|        }
 3198|      0|    }
 3199|      2|}
flowgraph.c:scan_block_for_locals:
 3203|      4|{
 3204|       |    // bit i is set if local i is potentially uninitialized
 3205|      4|    uint64_t unsafe_mask = b->b_unsafe_locals_mask;
 3206|     25|    for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3206:21): [True: 21, False: 4]
  ------------------
 3207|     21|        cfg_instr *instr = &b->b_instr[i];
 3208|     21|        assert(instr->i_opcode != EXTENDED_ARG);
  ------------------
  |  Branch (3208:9): [True: 21, False: 0]
  ------------------
 3209|     21|        if (instr->i_except != NULL) {
  ------------------
  |  Branch (3209:13): [True: 0, False: 21]
  ------------------
 3210|      0|            maybe_push(instr->i_except, unsafe_mask, sp);
 3211|      0|        }
 3212|     21|        if (instr->i_oparg >= 64) {
  ------------------
  |  Branch (3212:13): [True: 0, False: 21]
  ------------------
 3213|      0|            continue;
 3214|      0|        }
 3215|     21|        assert(instr->i_oparg >= 0);
  ------------------
  |  Branch (3215:9): [True: 21, False: 0]
  ------------------
 3216|     21|        uint64_t bit = (uint64_t)1 << instr->i_oparg;
 3217|     21|        switch (instr->i_opcode) {
  ------------------
  |  Branch (3217:17): [True: 11, False: 10]
  ------------------
 3218|      0|            case DELETE_FAST:
  ------------------
  |  |   73|      0|#define DELETE_FAST                             60
  ------------------
  |  Branch (3218:13): [True: 0, False: 21]
  ------------------
 3219|      0|            case LOAD_FAST_AND_CLEAR:
  ------------------
  |  |   94|      0|#define LOAD_FAST_AND_CLEAR                     81
  ------------------
  |  Branch (3219:13): [True: 0, False: 21]
  ------------------
 3220|      0|            case STORE_FAST_MAYBE_NULL:
  ------------------
  |  |  254|      0|#define STORE_FAST_MAYBE_NULL                  266
  ------------------
  |  Branch (3220:13): [True: 0, False: 21]
  ------------------
 3221|      0|                unsafe_mask |= bit;
 3222|      0|                break;
 3223|      0|            case STORE_FAST:
  ------------------
  |  |  121|      0|#define STORE_FAST                             108
  ------------------
  |  Branch (3223:13): [True: 0, False: 21]
  ------------------
 3224|      0|                unsafe_mask &= ~bit;
 3225|      0|                break;
 3226|      0|            case LOAD_FAST_CHECK:
  ------------------
  |  |   97|      0|#define LOAD_FAST_CHECK                         84
  ------------------
  |  Branch (3226:13): [True: 0, False: 21]
  ------------------
 3227|       |                // If this doesn't raise, then the local is defined.
 3228|      0|                unsafe_mask &= ~bit;
 3229|      0|                break;
 3230|     11|            case LOAD_FAST:
  ------------------
  |  |   93|     11|#define LOAD_FAST                               80
  ------------------
  |  Branch (3230:13): [True: 11, False: 10]
  ------------------
 3231|     11|                if (unsafe_mask & bit) {
  ------------------
  |  Branch (3231:21): [True: 0, False: 11]
  ------------------
 3232|      0|                    instr->i_opcode = LOAD_FAST_CHECK;
  ------------------
  |  |   97|      0|#define LOAD_FAST_CHECK                         84
  ------------------
 3233|      0|                }
 3234|     11|                unsafe_mask &= ~bit;
 3235|     11|                break;
 3236|     21|        }
 3237|     21|    }
 3238|      4|    if (b->b_next && BB_HAS_FALLTHROUGH(b)) {
  ------------------
  |  |  251|      2|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (251:31): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (3238:9): [True: 2, False: 2]
  ------------------
 3239|      0|        maybe_push(b->b_next, unsafe_mask, sp);
 3240|      0|    }
 3241|      4|    cfg_instr *last = basicblock_last_instr(b);
 3242|      4|    if (last && is_jump(last)) {
  ------------------
  |  Branch (3242:9): [True: 2, False: 2]
  |  Branch (3242:17): [True: 0, False: 2]
  ------------------
 3243|      0|        assert(last->i_target != NULL);
  ------------------
  |  Branch (3243:9): [True: 0, False: 0]
  ------------------
 3244|      0|        maybe_push(last->i_target, unsafe_mask, sp);
 3245|      0|    }
 3246|      4|}
flowgraph.c:insert_superinstructions:
 2705|      4|{
 2706|     10|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (2706:43): [True: 6, False: 4]
  ------------------
 2707|       |
 2708|     35|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (2708:25): [True: 29, False: 6]
  ------------------
 2709|     29|            cfg_instr *inst = &b->b_instr[i];
 2710|     29|            int nextop = i+1 < b->b_iused ? b->b_instr[i+1].i_opcode : 0;
  ------------------
  |  Branch (2710:26): [True: 25, False: 4]
  ------------------
 2711|     29|            switch(inst->i_opcode) {
  ------------------
  |  Branch (2711:20): [True: 6, False: 23]
  ------------------
 2712|      6|                case LOAD_FAST:
  ------------------
  |  |   93|      6|#define LOAD_FAST                               80
  ------------------
  |  Branch (2712:17): [True: 6, False: 23]
  ------------------
 2713|      6|                    if (nextop == LOAD_FAST) {
  ------------------
  |  |   93|      6|#define LOAD_FAST                               80
  ------------------
  |  Branch (2713:25): [True: 5, False: 1]
  ------------------
 2714|      5|                        make_super_instruction(inst, &b->b_instr[i + 1], LOAD_FAST_LOAD_FAST);
  ------------------
  |  |   98|      5|#define LOAD_FAST_LOAD_FAST                     85
  ------------------
 2715|      5|                    }
 2716|      6|                    break;
 2717|      0|                case STORE_FAST:
  ------------------
  |  |  121|      0|#define STORE_FAST                             108
  ------------------
  |  Branch (2717:17): [True: 0, False: 29]
  ------------------
 2718|      0|                    switch (nextop) {
  ------------------
  |  Branch (2718:29): [True: 0, False: 0]
  ------------------
 2719|      0|                        case LOAD_FAST:
  ------------------
  |  |   93|      0|#define LOAD_FAST                               80
  ------------------
  |  Branch (2719:25): [True: 0, False: 0]
  ------------------
 2720|      0|                            make_super_instruction(inst, &b->b_instr[i + 1], STORE_FAST_LOAD_FAST);
  ------------------
  |  |  122|      0|#define STORE_FAST_LOAD_FAST                   109
  ------------------
 2721|      0|                            break;
 2722|      0|                        case STORE_FAST:
  ------------------
  |  |  121|      0|#define STORE_FAST                             108
  ------------------
  |  Branch (2722:25): [True: 0, False: 0]
  ------------------
 2723|      0|                            make_super_instruction(inst, &b->b_instr[i + 1], STORE_FAST_STORE_FAST);
  ------------------
  |  |  123|      0|#define STORE_FAST_STORE_FAST                  110
  ------------------
 2724|      0|                            break;
 2725|      0|                    }
 2726|      0|                    break;
 2727|     29|            }
 2728|     29|        }
 2729|      6|    }
 2730|      4|    int res = remove_redundant_nops(g);
 2731|      4|    assert(no_redundant_nops(g));
  ------------------
  |  Branch (2731:5): [True: 4, False: 0]
  ------------------
 2732|      4|    return res;
 2733|      4|}
flowgraph.c:make_super_instruction:
 2689|      5|{
 2690|      5|    int32_t line1 = inst1->i_loc.lineno;
 2691|      5|    int32_t line2 = inst2->i_loc.lineno;
 2692|       |    /* Skip if instructions are on different lines */
 2693|      5|    if (line1 >= 0 && line2 >= 0 && line1 != line2) {
  ------------------
  |  Branch (2693:9): [True: 5, False: 0]
  |  Branch (2693:23): [True: 5, False: 0]
  |  Branch (2693:37): [True: 0, False: 5]
  ------------------
 2694|      0|        return;
 2695|      0|    }
 2696|      5|    if (inst1->i_oparg >= 16 || inst2->i_oparg >= 16) {
  ------------------
  |  Branch (2696:9): [True: 0, False: 5]
  |  Branch (2696:33): [True: 0, False: 5]
  ------------------
 2697|      0|        return;
 2698|      0|    }
 2699|      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 (2699:5): [True: 5, False: 0]
  ------------------
 2700|      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 (2700:5): [True: 5, False: 0]
  ------------------
 2701|      5|}
flowgraph.c:no_redundant_nops:
  515|      4|no_redundant_nops(cfg_builder *g) {
  516|      4|    if (remove_redundant_nops(g) != 0) {
  ------------------
  |  Branch (516:9): [True: 0, False: 4]
  ------------------
  517|      0|        return false;
  518|      0|    }
  519|      4|    return true;
  520|      4|}
flowgraph.c:push_cold_blocks_to_end:
 3528|      4|push_cold_blocks_to_end(cfg_builder *g) {
 3529|      4|    basicblock *entryblock = g->g_entryblock;
 3530|      4|    if (entryblock->b_next == NULL) {
  ------------------
  |  Branch (3530:9): [True: 2, False: 2]
  ------------------
 3531|       |        /* single basicblock, no need to reorder */
 3532|      2|        return SUCCESS;
  ------------------
  |  |   21|      2|#define SUCCESS 0
  ------------------
 3533|      2|    }
 3534|      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|    }
  ------------------
 3535|       |
 3536|      2|    int next_lbl = get_max_label(g->g_entryblock) + 1;
 3537|       |
 3538|       |    /* If we have a cold block with fallthrough to a warm block, add */
 3539|       |    /* an explicit jump instead of fallthrough */
 3540|      6|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3540:38): [True: 4, False: 2]
  ------------------
 3541|      4|        if (b->b_cold && BB_HAS_FALLTHROUGH(b) && b->b_next && b->b_next->b_warm) {
  ------------------
  |  |  251|      4|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (251:31): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (3541:13): [True: 0, False: 4]
  |  Branch (3541:51): [True: 0, False: 0]
  |  Branch (3541:64): [True: 0, False: 0]
  ------------------
 3542|      0|            basicblock *explicit_jump = cfg_builder_new_block(g);
 3543|      0|            if (explicit_jump == NULL) {
  ------------------
  |  Branch (3543:17): [True: 0, False: 0]
  ------------------
 3544|      0|                return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3545|      0|            }
 3546|      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 (3546:17): [True: 0, False: 0]
  ------------------
 3547|      0|                b->b_next->b_label.id = next_lbl++;
 3548|      0|            }
 3549|      0|            basicblock_addop(explicit_jump, JUMP_NO_INTERRUPT, b->b_next->b_label.id,
  ------------------
  |  |  248|      0|#define JUMP_NO_INTERRUPT                      260
  ------------------
 3550|      0|                             NO_LOCATION);
 3551|      0|            explicit_jump->b_cold = 1;
 3552|      0|            explicit_jump->b_next = b->b_next;
 3553|      0|            explicit_jump->b_predecessors = 1;
 3554|      0|            b->b_next = explicit_jump;
 3555|       |
 3556|       |            /* set target */
 3557|      0|            cfg_instr *last = basicblock_last_instr(explicit_jump);
 3558|      0|            last->i_target = explicit_jump->b_next;
 3559|      0|        }
 3560|      4|    }
 3561|       |
 3562|      2|    assert(!entryblock->b_cold);  /* First block can't be cold */
  ------------------
  |  Branch (3562:5): [True: 2, False: 0]
  ------------------
 3563|      2|    basicblock *cold_blocks = NULL;
 3564|      2|    basicblock *cold_blocks_tail = NULL;
 3565|       |
 3566|      2|    basicblock *b = entryblock;
 3567|      2|    while(b->b_next) {
  ------------------
  |  Branch (3567:11): [True: 2, False: 0]
  ------------------
 3568|      2|        assert(!b->b_cold);
  ------------------
  |  Branch (3568:9): [True: 2, False: 0]
  ------------------
 3569|      4|        while (b->b_next && !b->b_next->b_cold) {
  ------------------
  |  Branch (3569:16): [True: 2, False: 2]
  |  Branch (3569:29): [True: 2, False: 0]
  ------------------
 3570|      2|            b = b->b_next;
 3571|      2|        }
 3572|      2|        if (b->b_next == NULL) {
  ------------------
  |  Branch (3572:13): [True: 2, False: 0]
  ------------------
 3573|       |            /* no more cold blocks */
 3574|      2|            break;
 3575|      2|        }
 3576|       |
 3577|       |        /* b->b_next is the beginning of a cold streak */
 3578|      2|        assert(!b->b_cold && b->b_next->b_cold);
  ------------------
  |  Branch (3578:9): [True: 0, False: 0]
  |  Branch (3578:9): [True: 0, False: 0]
  ------------------
 3579|       |
 3580|      0|        basicblock *b_end = b->b_next;
 3581|      0|        while (b_end->b_next && b_end->b_next->b_cold) {
  ------------------
  |  Branch (3581:16): [True: 0, False: 0]
  |  Branch (3581:33): [True: 0, False: 0]
  ------------------
 3582|      0|            b_end = b_end->b_next;
 3583|      0|        }
 3584|       |
 3585|       |        /* b_end is the end of the cold streak */
 3586|      0|        assert(b_end && b_end->b_cold);
  ------------------
  |  Branch (3586:9): [True: 0, False: 0]
  |  Branch (3586:9): [True: 0, False: 0]
  ------------------
 3587|      0|        assert(b_end->b_next == NULL || !b_end->b_next->b_cold);
  ------------------
  |  Branch (3587:9): [True: 0, False: 0]
  |  Branch (3587:9): [True: 0, False: 0]
  ------------------
 3588|       |
 3589|      0|        if (cold_blocks == NULL) {
  ------------------
  |  Branch (3589:13): [True: 0, False: 0]
  ------------------
 3590|      0|            cold_blocks = b->b_next;
 3591|      0|        }
 3592|      0|        else {
 3593|      0|            cold_blocks_tail->b_next = b->b_next;
 3594|      0|        }
 3595|      0|        cold_blocks_tail = b_end;
 3596|      0|        b->b_next = b_end->b_next;
 3597|      0|        b_end->b_next = NULL;
 3598|      0|    }
 3599|      2|    assert(b != NULL && b->b_next == NULL);
  ------------------
  |  Branch (3599:5): [True: 2, False: 0]
  |  Branch (3599:5): [True: 2, False: 0]
  ------------------
 3600|      2|    b->b_next = cold_blocks;
 3601|       |
 3602|      2|    if (cold_blocks != NULL) {
  ------------------
  |  Branch (3602:9): [True: 0, False: 2]
  ------------------
 3603|      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|    }
  ------------------
 3604|      0|    }
 3605|      2|    return SUCCESS;
  ------------------
  |  |   21|      2|#define SUCCESS 0
  ------------------
 3606|      2|}
flowgraph.c:mark_cold:
 3478|      2|mark_cold(basicblock *entryblock) {
 3479|      6|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3479:38): [True: 4, False: 2]
  ------------------
 3480|      4|        assert(!b->b_cold && !b->b_warm);
  ------------------
  |  Branch (3480:9): [True: 4, False: 0]
  |  Branch (3480:9): [True: 4, False: 0]
  ------------------
 3481|      4|    }
 3482|      2|    if (mark_warm(entryblock) < 0) {
  ------------------
  |  Branch (3482:9): [True: 0, False: 2]
  ------------------
 3483|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3484|      0|    }
 3485|       |
 3486|      2|    basicblock **stack = make_cfg_traversal_stack(entryblock);
 3487|      2|    if (stack == NULL) {
  ------------------
  |  Branch (3487:9): [True: 0, False: 2]
  ------------------
 3488|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3489|      0|    }
 3490|       |
 3491|      2|    basicblock **sp = stack;
 3492|      6|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3492:38): [True: 4, False: 2]
  ------------------
 3493|      4|        if (b->b_except_handler) {
  ------------------
  |  Branch (3493:13): [True: 0, False: 4]
  ------------------
 3494|      0|            assert(!b->b_warm);
  ------------------
  |  Branch (3494:13): [True: 0, False: 0]
  ------------------
 3495|      0|            *sp++ = b;
 3496|      0|            b->b_visited = 1;
 3497|      0|        }
 3498|      4|    }
 3499|       |
 3500|      2|    while (sp > stack) {
  ------------------
  |  Branch (3500:12): [True: 0, False: 2]
  ------------------
 3501|      0|        basicblock *b = *(--sp);
 3502|      0|        b->b_cold = 1;
 3503|      0|        basicblock *next = b->b_next;
 3504|      0|        if (next && BB_HAS_FALLTHROUGH(b)) {
  ------------------
  |  |  251|      0|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (251:31): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (3504:13): [True: 0, False: 0]
  ------------------
 3505|      0|            if (!next->b_warm && !next->b_visited) {
  ------------------
  |  Branch (3505:17): [True: 0, False: 0]
  |  Branch (3505:34): [True: 0, False: 0]
  ------------------
 3506|      0|                *sp++ = next;
 3507|      0|                next->b_visited = 1;
 3508|      0|            }
 3509|      0|        }
 3510|      0|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3510:25): [True: 0, False: 0]
  ------------------
 3511|      0|            cfg_instr *instr = &b->b_instr[i];
 3512|      0|            if (is_jump(instr)) {
  ------------------
  |  Branch (3512:17): [True: 0, False: 0]
  ------------------
 3513|      0|                assert(i == b->b_iused - 1);
  ------------------
  |  Branch (3513:17): [True: 0, False: 0]
  ------------------
 3514|      0|                basicblock *target = b->b_instr[i].i_target;
 3515|      0|                if (!target->b_warm && !target->b_visited) {
  ------------------
  |  Branch (3515:21): [True: 0, False: 0]
  |  Branch (3515:40): [True: 0, False: 0]
  ------------------
 3516|      0|                    *sp++ = target;
 3517|      0|                    target->b_visited = 1;
 3518|      0|                }
 3519|      0|            }
 3520|      0|        }
 3521|      0|    }
 3522|      2|    PyMem_Free(stack);
 3523|      2|    return SUCCESS;
  ------------------
  |  |   21|      2|#define SUCCESS 0
  ------------------
 3524|      2|}
flowgraph.c:mark_warm:
 3447|      2|mark_warm(basicblock *entryblock) {
 3448|      2|    basicblock **stack = make_cfg_traversal_stack(entryblock);
 3449|      2|    if (stack == NULL) {
  ------------------
  |  Branch (3449:9): [True: 0, False: 2]
  ------------------
 3450|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3451|      0|    }
 3452|      2|    basicblock **sp = stack;
 3453|       |
 3454|      2|    *sp++ = entryblock;
 3455|      2|    entryblock->b_visited = 1;
 3456|      4|    while (sp > stack) {
  ------------------
  |  Branch (3456:12): [True: 2, False: 2]
  ------------------
 3457|      2|        basicblock *b = *(--sp);
 3458|      2|        assert(!b->b_except_handler);
  ------------------
  |  Branch (3458:9): [True: 2, False: 0]
  ------------------
 3459|      2|        b->b_warm = 1;
 3460|      2|        basicblock *next = b->b_next;
 3461|      2|        if (next && BB_HAS_FALLTHROUGH(b) && !next->b_visited) {
  ------------------
  |  |  251|      4|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (251:31): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (3461:13): [True: 2, False: 0]
  |  Branch (3461:46): [True: 0, False: 0]
  ------------------
 3462|      0|            *sp++ = next;
 3463|      0|            next->b_visited = 1;
 3464|      0|        }
 3465|     18|        for (int i=0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3465:23): [True: 16, False: 2]
  ------------------
 3466|     16|            cfg_instr *instr = &b->b_instr[i];
 3467|     16|            if (is_jump(instr) && !instr->i_target->b_visited) {
  ------------------
  |  Branch (3467:17): [True: 0, False: 16]
  |  Branch (3467:35): [True: 0, False: 0]
  ------------------
 3468|      0|                *sp++ = instr->i_target;
 3469|      0|                instr->i_target->b_visited = 1;
 3470|      0|            }
 3471|     16|        }
 3472|      2|    }
 3473|      2|    PyMem_Free(stack);
 3474|      2|    return SUCCESS;
  ------------------
  |  |   21|      2|#define SUCCESS 0
  ------------------
 3475|      2|}
flowgraph.c:resolve_line_numbers:
 3782|      8|{
 3783|      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|    }
  ------------------
 3784|      8|    propagate_line_numbers(g->g_entryblock);
 3785|      8|    return SUCCESS;
  ------------------
  |  |   21|      8|#define SUCCESS 0
  ------------------
 3786|      8|}
flowgraph.c:duplicate_exits_without_lineno:
 3688|      8|{
 3689|      8|    int next_lbl = get_max_label(g->g_entryblock) + 1;
 3690|       |
 3691|       |    /* Copy all exit blocks without line number that are targets of a jump.
 3692|       |     */
 3693|      8|    basicblock *entryblock = g->g_entryblock;
 3694|     20|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3694:38): [True: 12, False: 8]
  ------------------
 3695|     12|        cfg_instr *last = basicblock_last_instr(b);
 3696|     12|        if (last == NULL) {
  ------------------
  |  Branch (3696:13): [True: 4, False: 8]
  ------------------
 3697|      4|            continue;
 3698|      4|        }
 3699|      8|        if (is_jump(last)) {
  ------------------
  |  Branch (3699:13): [True: 0, False: 8]
  ------------------
 3700|      0|            basicblock *target = next_nonempty_block(last->i_target);
 3701|      0|            if (is_exit_or_eval_check_without_lineno(target) && target->b_predecessors > 1) {
  ------------------
  |  Branch (3701:17): [True: 0, False: 0]
  |  Branch (3701:65): [True: 0, False: 0]
  ------------------
 3702|      0|                basicblock *new_target = copy_basicblock(g, target);
 3703|      0|                if (new_target == NULL) {
  ------------------
  |  Branch (3703:21): [True: 0, False: 0]
  ------------------
 3704|      0|                    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3705|      0|                }
 3706|      0|                new_target->b_instr[0].i_loc = last->i_loc;
 3707|      0|                last->i_target = new_target;
 3708|      0|                target->b_predecessors--;
 3709|      0|                new_target->b_predecessors = 1;
 3710|      0|                new_target->b_next = target->b_next;
 3711|      0|                new_target->b_label.id = next_lbl++;
 3712|      0|                target->b_next = new_target;
 3713|      0|            }
 3714|      0|        }
 3715|      8|    }
 3716|       |
 3717|       |    /* Any remaining reachable exit blocks without line number can only be reached by
 3718|       |     * fall through, and thus can only have a single predecessor */
 3719|     20|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3719:38): [True: 12, False: 8]
  ------------------
 3720|     12|        if (BB_HAS_FALLTHROUGH(b) && b->b_next && b->b_iused > 0) {
  ------------------
  |  |  251|     24|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (251:31): [True: 4, False: 8]
  |  |  ------------------
  ------------------
  |  Branch (3720:38): [True: 0, False: 4]
  |  Branch (3720:51): [True: 0, False: 0]
  ------------------
 3721|      0|            if (is_exit_or_eval_check_without_lineno(b->b_next)) {
  ------------------
  |  Branch (3721:17): [True: 0, False: 0]
  ------------------
 3722|      0|                cfg_instr *last = basicblock_last_instr(b);
 3723|      0|                assert(last != NULL);
  ------------------
  |  Branch (3723:17): [True: 0, False: 0]
  ------------------
 3724|      0|                b->b_next->b_instr[0].i_loc = last->i_loc;
 3725|      0|            }
 3726|      0|        }
 3727|     12|    }
 3728|      8|    return SUCCESS;
  ------------------
  |  |   21|      8|#define SUCCESS 0
  ------------------
 3729|      8|}
flowgraph.c:propagate_line_numbers:
 3751|      8|{
 3752|     20|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3752:38): [True: 12, False: 8]
  ------------------
 3753|     12|        cfg_instr *last = basicblock_last_instr(b);
 3754|     12|        if (last == NULL) {
  ------------------
  |  Branch (3754:13): [True: 4, False: 8]
  ------------------
 3755|      4|            continue;
 3756|      4|        }
 3757|       |
 3758|      8|        location prev_location = NO_LOCATION;
 3759|     63|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3759:25): [True: 55, False: 8]
  ------------------
 3760|     55|            maybe_propagate_location(b, i, prev_location);
 3761|     55|            prev_location = b->b_instr[i].i_loc;
 3762|     55|        }
 3763|      8|        if (BB_HAS_FALLTHROUGH(b) && b->b_next->b_predecessors == 1) {
  ------------------
  |  |  251|     16|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (251:31): [True: 0, False: 8]
  |  |  ------------------
  ------------------
  |  Branch (3763:38): [True: 0, False: 0]
  ------------------
 3764|      0|            if (b->b_next->b_iused > 0) {
  ------------------
  |  Branch (3764:17): [True: 0, False: 0]
  ------------------
 3765|      0|                maybe_propagate_location(b->b_next, 0, prev_location);
 3766|      0|            }
 3767|      0|        }
 3768|      8|        if (is_jump(last)) {
  ------------------
  |  Branch (3768:13): [True: 0, False: 8]
  ------------------
 3769|      0|            basicblock *target = last->i_target;
 3770|      0|            while (target->b_iused == 0 && target->b_predecessors == 1) {
  ------------------
  |  Branch (3770:20): [True: 0, False: 0]
  |  Branch (3770:44): [True: 0, False: 0]
  ------------------
 3771|      0|                target = target->b_next;
 3772|      0|            }
 3773|      0|            if (target->b_predecessors == 1) {
  ------------------
  |  Branch (3773:17): [True: 0, False: 0]
  ------------------
 3774|      0|                maybe_propagate_location(target, 0, prev_location);
 3775|      0|            }
 3776|      0|        }
 3777|      8|    }
 3778|      8|}
flowgraph.c:maybe_propagate_location:
 3742|     55|{
 3743|     55|    assert(b->b_iused > i);
  ------------------
  |  Branch (3743:5): [True: 55, False: 0]
  ------------------
 3744|     55|    if (b->b_instr[i].i_loc.lineno == NO_LOCATION.lineno) {
  ------------------
  |  Branch (3744:9): [True: 2, False: 53]
  ------------------
 3745|      2|         b->b_instr[i].i_loc = loc;
 3746|      2|    }
 3747|     55|}
flowgraph.c:convert_pseudo_conditional_jumps:
 3610|      4|{
 3611|      4|    basicblock *entryblock = g->g_entryblock;
 3612|     10|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3612:38): [True: 6, False: 4]
  ------------------
 3613|     30|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3613:25): [True: 24, False: 6]
  ------------------
 3614|     24|            cfg_instr *instr = &b->b_instr[i];
 3615|     24|            if (instr->i_opcode == JUMP_IF_FALSE || instr->i_opcode == JUMP_IF_TRUE) {
  ------------------
  |  |  246|     48|#define JUMP_IF_FALSE                          258
  ------------------
                          if (instr->i_opcode == JUMP_IF_FALSE || instr->i_opcode == JUMP_IF_TRUE) {
  ------------------
  |  |  247|     24|#define JUMP_IF_TRUE                           259
  ------------------
  |  Branch (3615:17): [True: 0, False: 24]
  |  Branch (3615:53): [True: 0, False: 24]
  ------------------
 3616|      0|                assert(i == b->b_iused - 1);
  ------------------
  |  Branch (3616:17): [True: 0, False: 0]
  ------------------
 3617|      0|                instr->i_opcode = instr->i_opcode == JUMP_IF_FALSE ?
  ------------------
  |  |  246|      0|#define JUMP_IF_FALSE                          258
  ------------------
  |  Branch (3617:35): [True: 0, False: 0]
  ------------------
 3618|      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
  ------------------
 3619|      0|                location loc = instr->i_loc;
 3620|      0|                basicblock *except = instr->i_except;
 3621|      0|                cfg_instr copy = {
 3622|      0|                            .i_opcode = COPY,
  ------------------
  |  |   70|      0|#define COPY                                    57
  ------------------
 3623|      0|                            .i_oparg = 1,
 3624|      0|                            .i_loc = loc,
 3625|      0|                            .i_target = NULL,
 3626|      0|                            .i_except = except,
 3627|      0|                };
 3628|      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|    }
  ------------------
 3629|      0|                cfg_instr to_bool = {
 3630|      0|                            .i_opcode = TO_BOOL,
  ------------------
  |  |   50|      0|#define TO_BOOL                                 37
  ------------------
 3631|      0|                            .i_oparg = 0,
 3632|      0|                            .i_loc = loc,
 3633|      0|                            .i_target = NULL,
 3634|      0|                            .i_except = except,
 3635|      0|                };
 3636|      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|    }
  ------------------
 3637|      0|            }
 3638|     24|        }
 3639|      6|    }
 3640|      4|    return SUCCESS;
  ------------------
  |  |   21|      4|#define SUCCESS 0
  ------------------
 3641|      4|}
flowgraph.c:calculate_stackdepth:
  821|      4|{
  822|      4|    basicblock *entryblock = g->g_entryblock;
  823|     10|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (823:38): [True: 6, False: 4]
  ------------------
  824|      6|        b->b_startdepth = INT_MIN;
  825|      6|    }
  826|      4|    basicblock **stack = make_cfg_traversal_stack(entryblock);
  827|      4|    if (!stack) {
  ------------------
  |  Branch (827:9): [True: 0, False: 4]
  ------------------
  828|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  829|      0|    }
  830|       |
  831|       |
  832|      4|    int stackdepth = -1;
  833|      4|    int maxdepth = 0;
  834|      4|    basicblock **sp = stack;
  835|      4|    if (stackdepth_push(&sp, entryblock, 0) < 0) {
  ------------------
  |  Branch (835:9): [True: 0, False: 4]
  ------------------
  836|      0|        goto error;
  837|      0|    }
  838|      8|    while (sp != stack) {
  ------------------
  |  Branch (838:12): [True: 4, False: 4]
  ------------------
  839|      4|        basicblock *b = *--sp;
  840|      4|        int depth = b->b_startdepth;
  841|      4|        assert(depth >= 0);
  ------------------
  |  Branch (841:9): [True: 4, False: 0]
  ------------------
  842|      4|        basicblock *next = b->b_next;
  843|     24|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (843:25): [True: 24, False: 0]
  ------------------
  844|     24|            cfg_instr *instr = &b->b_instr[i];
  845|     24|            stack_effects effects;
  846|     24|            if (get_stack_effects(instr->i_opcode, instr->i_oparg, 0, &effects) < 0) {
  ------------------
  |  Branch (846:17): [True: 0, False: 24]
  ------------------
  847|      0|                PyErr_Format(PyExc_SystemError,
  848|      0|                             "Invalid stack effect for opcode=%d, arg=%i",
  849|      0|                             instr->i_opcode, instr->i_oparg);
  850|      0|                goto error;
  851|      0|            }
  852|     24|            int new_depth = depth + effects.net;
  853|     24|            if (new_depth < 0) {
  ------------------
  |  Branch (853:17): [True: 0, False: 24]
  ------------------
  854|      0|                PyErr_Format(PyExc_ValueError,
  855|      0|                             "Invalid CFG, stack underflow at line %d", instr->i_loc.lineno);
  856|      0|                goto error;
  857|      0|            }
  858|     24|            maxdepth = Py_MAX(maxdepth, depth);
  ------------------
  |  |  126|     24|       __extension__ \
  |  |  127|     24|       ({ _Py_TYPEOF (x) _x = (x); \
  |  |  ------------------
  |  |  |  |  552|     24|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  128|     24|          _Py_TYPEOF (y) _y = (y); \
  |  |  ------------------
  |  |  |  |  552|     24|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|     24|          _x > _y ? _x : _y; })
  |  |  ------------------
  |  |  |  Branch (129:11): [True: 4, False: 20]
  |  |  ------------------
  ------------------
  859|     24|            if (HAS_TARGET(instr->i_opcode) && instr->i_opcode != END_ASYNC_FOR) {
  ------------------
  |  |   23|     48|        (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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          if (HAS_TARGET(instr->i_opcode) && instr->i_opcode != END_ASYNC_FOR) {
  ------------------
  |  |   76|      0|#define END_ASYNC_FOR                           63
  ------------------
  |  Branch (859:48): [True: 0, False: 0]
  ------------------
  860|      0|                if (get_stack_effects(instr->i_opcode, instr->i_oparg, 1, &effects) < 0) {
  ------------------
  |  Branch (860:21): [True: 0, False: 0]
  ------------------
  861|      0|                    PyErr_Format(PyExc_SystemError,
  862|      0|                                 "Invalid stack effect for opcode=%d, arg=%i",
  863|      0|                                 instr->i_opcode, instr->i_oparg);
  864|      0|                    goto error;
  865|      0|                }
  866|      0|                int target_depth = depth + effects.net;
  867|      0|                assert(target_depth >= 0); /* invalid code or bug in stackdepth() */
  ------------------
  |  Branch (867:17): [True: 0, False: 0]
  ------------------
  868|      0|                maxdepth = Py_MAX(maxdepth, depth);
  ------------------
  |  |  126|      0|       __extension__ \
  |  |  127|      0|       ({ _Py_TYPEOF (x) _x = (x); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  128|      0|          _Py_TYPEOF (y) _y = (y); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|      0|          _x > _y ? _x : _y; })
  |  |  ------------------
  |  |  |  Branch (129:11): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  869|      0|                if (stackdepth_push(&sp, instr->i_target, target_depth) < 0) {
  ------------------
  |  Branch (869:21): [True: 0, False: 0]
  ------------------
  870|      0|                    goto error;
  871|      0|                }
  872|      0|            }
  873|     24|            depth = new_depth;
  874|     24|            assert(!IS_ASSEMBLER_OPCODE(instr->i_opcode));
  ------------------
  |  Branch (874:13): [True: 0, False: 24]
  |  Branch (874:13): [True: 0, False: 24]
  |  Branch (874:13): [True: 0, False: 24]
  ------------------
  875|     24|            if (IS_UNCONDITIONAL_JUMP_OPCODE(instr->i_opcode) ||
  ------------------
  |  |   40|     48|        ((opcode) == JUMP || \
  |  |  ------------------
  |  |  |  |  245|     48|#define JUMP                                   257
  |  |  ------------------
  |  |  |  Branch (40:10): [True: 0, False: 24]
  |  |  ------------------
  |  |   41|     24|         (opcode) == JUMP_NO_INTERRUPT || \
  |  |  ------------------
  |  |  |  |  248|     48|#define JUMP_NO_INTERRUPT                      260
  |  |  ------------------
  |  |  |  Branch (41:10): [True: 0, False: 24]
  |  |  ------------------
  |  |   42|     24|         (opcode) == JUMP_FORWARD || \
  |  |  ------------------
  |  |  |  |   86|     48|#define JUMP_FORWARD                            73
  |  |  ------------------
  |  |  |  Branch (42:10): [True: 0, False: 24]
  |  |  ------------------
  |  |   43|     24|         (opcode) == JUMP_BACKWARD || \
  |  |  ------------------
  |  |  |  |   84|     48|#define JUMP_BACKWARD                           71
  |  |  ------------------
  |  |  |  Branch (43:10): [True: 0, False: 24]
  |  |  ------------------
  |  |   44|     48|         (opcode) == JUMP_BACKWARD_NO_INTERRUPT)
  |  |  ------------------
  |  |  |  |   85|     24|#define JUMP_BACKWARD_NO_INTERRUPT              72
  |  |  ------------------
  |  |  |  Branch (44:10): [True: 0, False: 24]
  |  |  ------------------
  ------------------
  876|     24|                IS_SCOPE_EXIT_OPCODE(instr->i_opcode))
  ------------------
  |  |   53|     24|        ((opcode) == RETURN_VALUE || \
  |  |  ------------------
  |  |  |  |   46|     48|#define RETURN_VALUE                            33
  |  |  ------------------
  |  |  |  Branch (53:10): [True: 4, False: 20]
  |  |  ------------------
  |  |   54|     24|         (opcode) == RAISE_VARARGS || \
  |  |  ------------------
  |  |  |  |  113|     44|#define RAISE_VARARGS                          100
  |  |  ------------------
  |  |  |  Branch (54:10): [True: 0, False: 20]
  |  |  ------------------
  |  |   55|     24|         (opcode) == RERAISE)
  |  |  ------------------
  |  |  |  |  114|     20|#define RERAISE                                101
  |  |  ------------------
  |  |  |  Branch (55:10): [True: 0, False: 20]
  |  |  ------------------
  ------------------
  877|      4|            {
  878|       |                /* remaining code is dead */
  879|      4|                next = NULL;
  880|      4|                break;
  881|      4|            }
  882|     24|        }
  883|      4|        if (next != NULL) {
  ------------------
  |  Branch (883:13): [True: 0, False: 4]
  ------------------
  884|      0|            assert(BB_HAS_FALLTHROUGH(b));
  ------------------
  |  Branch (884:13): [True: 0, False: 0]
  ------------------
  885|      0|            if (stackdepth_push(&sp, next, depth) < 0) {
  ------------------
  |  Branch (885:17): [True: 0, False: 0]
  ------------------
  886|      0|                goto error;
  887|      0|            }
  888|      0|        }
  889|      4|    }
  890|      4|    stackdepth = maxdepth;
  891|      4|error:
  892|      4|    PyMem_Free(stack);
  893|      4|    return stackdepth;
  894|      4|}
flowgraph.c:stackdepth_push:
  803|      4|{
  804|      4|    if (!(b->b_startdepth < 0 || b->b_startdepth == depth)) {
  ------------------
  |  Branch (804:11): [True: 4, False: 0]
  |  Branch (804:34): [True: 0, False: 0]
  ------------------
  805|      0|        PyErr_Format(PyExc_ValueError, "Invalid CFG, inconsistent stackdepth");
  806|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  807|      0|    }
  808|      4|    if (b->b_startdepth < depth && b->b_startdepth < 100) {
  ------------------
  |  Branch (808:9): [True: 4, False: 0]
  |  Branch (808:36): [True: 4, False: 0]
  ------------------
  809|      4|        assert(b->b_startdepth < 0);
  ------------------
  |  Branch (809:9): [True: 4, False: 0]
  ------------------
  810|      4|        b->b_startdepth = depth;
  811|      4|        *(*sp)++ = b;
  812|      4|    }
  813|      4|    return SUCCESS;
  ------------------
  |  |   21|      4|#define SUCCESS 0
  ------------------
  814|      4|}
flowgraph.c:prepare_localsplus:
 3995|      4|{
 3996|      4|    assert(PyDict_GET_SIZE(umd->u_varnames) < INT_MAX);
  ------------------
  |  Branch (3996:5): [True: 4, False: 0]
  ------------------
 3997|      4|    assert(PyDict_GET_SIZE(umd->u_cellvars) < INT_MAX);
  ------------------
  |  Branch (3997:5): [True: 4, False: 0]
  ------------------
 3998|      4|    assert(PyDict_GET_SIZE(umd->u_freevars) < INT_MAX);
  ------------------
  |  Branch (3998:5): [True: 4, False: 0]
  ------------------
 3999|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4000|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4001|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4002|      4|    assert(INT_MAX - nlocals - ncellvars > 0);
  ------------------
  |  Branch (4002:5): [True: 4, False: 0]
  ------------------
 4003|      4|    assert(INT_MAX - nlocals - ncellvars - nfreevars > 0);
  ------------------
  |  Branch (4003:5): [True: 4, False: 0]
  ------------------
 4004|      4|    int nlocalsplus = nlocals + ncellvars + nfreevars;
 4005|      4|    int* cellfixedoffsets = build_cellfixedoffsets(umd);
 4006|      4|    if (cellfixedoffsets == NULL) {
  ------------------
  |  Branch (4006:9): [True: 0, False: 4]
  ------------------
 4007|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 4008|      0|    }
 4009|       |
 4010|       |    // This must be called before fix_cell_offsets().
 4011|      4|    if (insert_prefix_instructions(umd, g->g_entryblock, cellfixedoffsets, nfreevars)) {
  ------------------
  |  Branch (4011:9): [True: 0, False: 4]
  ------------------
 4012|      0|        PyMem_Free(cellfixedoffsets);
 4013|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 4014|      0|    }
 4015|       |
 4016|      4|    int numdropped = fix_cell_offsets(umd, g->g_entryblock, cellfixedoffsets);
 4017|      4|    PyMem_Free(cellfixedoffsets);  // At this point we're done with it.
 4018|      4|    cellfixedoffsets = NULL;
 4019|      4|    if (numdropped < 0) {
  ------------------
  |  Branch (4019:9): [True: 0, False: 4]
  ------------------
 4020|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 4021|      0|    }
 4022|       |
 4023|      4|    nlocalsplus -= numdropped;
 4024|      4|    return nlocalsplus;
 4025|      4|}
flowgraph.c:build_cellfixedoffsets:
 3843|      4|{
 3844|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3845|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3846|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3847|       |
 3848|      4|    int noffsets = ncellvars + nfreevars;
 3849|      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)) ) )
  ------------------
 3850|      4|    if (fixed == NULL) {
  ------------------
  |  Branch (3850:9): [True: 0, False: 4]
  ------------------
 3851|      0|        PyErr_NoMemory();
 3852|      0|        return NULL;
 3853|      0|    }
 3854|      4|    for (int i = 0; i < noffsets; i++) {
  ------------------
  |  Branch (3854:21): [True: 0, False: 4]
  ------------------
 3855|      0|        fixed[i] = nlocals + i;
 3856|      0|    }
 3857|       |
 3858|      4|    PyObject *varname, *cellindex;
 3859|      4|    Py_ssize_t pos = 0;
 3860|      4|    while (PyDict_Next(umd->u_cellvars, &pos, &varname, &cellindex)) {
  ------------------
  |  Branch (3860:12): [True: 0, False: 4]
  ------------------
 3861|      0|        PyObject *varindex;
 3862|      0|        if (PyDict_GetItemRef(umd->u_varnames, varname, &varindex) < 0) {
  ------------------
  |  Branch (3862:13): [True: 0, False: 0]
  ------------------
 3863|      0|            goto error;
 3864|      0|        }
 3865|      0|        if (varindex == NULL) {
  ------------------
  |  Branch (3865:13): [True: 0, False: 0]
  ------------------
 3866|      0|            continue;
 3867|      0|        }
 3868|       |
 3869|      0|        int argoffset = PyLong_AsInt(varindex);
 3870|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3871|      0|        if (argoffset == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (3871:13): [True: 0, False: 0]
  |  Branch (3871:32): [True: 0, False: 0]
  ------------------
 3872|      0|            goto error;
 3873|      0|        }
 3874|       |
 3875|      0|        int oldindex = PyLong_AsInt(cellindex);
 3876|      0|        if (oldindex == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (3876:13): [True: 0, False: 0]
  |  Branch (3876:31): [True: 0, False: 0]
  ------------------
 3877|      0|            goto error;
 3878|      0|        }
 3879|      0|        fixed[oldindex] = argoffset;
 3880|      0|    }
 3881|      4|    return fixed;
 3882|       |
 3883|      0|error:
 3884|      0|    PyMem_Free(fixed);
 3885|       |    return NULL;
 3886|      4|}
flowgraph.c:insert_prefix_instructions:
 3894|      4|{
 3895|      4|    assert(umd->u_firstlineno > 0);
  ------------------
  |  Branch (3895:5): [True: 4, False: 0]
  ------------------
 3896|       |
 3897|       |    /* Set up cells for any variable that escapes, to be put in a closure. */
 3898|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3899|      4|    if (ncellvars) {
  ------------------
  |  Branch (3899:9): [True: 0, False: 4]
  ------------------
 3900|       |        // umd->u_cellvars has the cells out of order so we sort them
 3901|       |        // before adding the MAKE_CELL instructions.  Note that we
 3902|       |        // adjust for arg cells, which come first.
 3903|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3904|      0|        int *sorted = PyMem_RawCalloc(nvars, sizeof(int));
 3905|      0|        if (sorted == NULL) {
  ------------------
  |  Branch (3905:13): [True: 0, False: 0]
  ------------------
 3906|      0|            PyErr_NoMemory();
 3907|      0|            return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3908|      0|        }
 3909|      0|        for (int i = 0; i < ncellvars; i++) {
  ------------------
  |  Branch (3909:25): [True: 0, False: 0]
  ------------------
 3910|      0|            sorted[fixed[i]] = i + 1;
 3911|      0|        }
 3912|      0|        for (int i = 0, ncellsused = 0; ncellsused < ncellvars; i++) {
  ------------------
  |  Branch (3912:41): [True: 0, False: 0]
  ------------------
 3913|      0|            int oldindex = sorted[i] - 1;
 3914|      0|            if (oldindex == -1) {
  ------------------
  |  Branch (3914:17): [True: 0, False: 0]
  ------------------
 3915|      0|                continue;
 3916|      0|            }
 3917|      0|            cfg_instr make_cell = {
 3918|      0|                .i_opcode = MAKE_CELL,
  ------------------
  |  |  106|      0|#define MAKE_CELL                               93
  ------------------
 3919|       |                // This will get fixed in offset_derefs().
 3920|      0|                .i_oparg = oldindex,
 3921|      0|                .i_loc = NO_LOCATION,
 3922|      0|                .i_target = NULL,
 3923|      0|                .i_except = NULL,
 3924|      0|            };
 3925|      0|            if (basicblock_insert_instruction(entryblock, ncellsused, &make_cell) < 0) {
  ------------------
  |  Branch (3925:17): [True: 0, False: 0]
  ------------------
 3926|      0|                PyMem_RawFree(sorted);
 3927|      0|                return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3928|      0|            }
 3929|      0|            ncellsused += 1;
 3930|      0|        }
 3931|      0|        PyMem_RawFree(sorted);
 3932|      0|    }
 3933|       |
 3934|      4|    if (nfreevars) {
  ------------------
  |  Branch (3934:9): [True: 0, False: 4]
  ------------------
 3935|      0|        cfg_instr copy_frees = {
 3936|      0|            .i_opcode = COPY_FREE_VARS,
  ------------------
  |  |   71|      0|#define COPY_FREE_VARS                          58
  ------------------
 3937|      0|            .i_oparg = nfreevars,
 3938|      0|            .i_loc = NO_LOCATION,
 3939|      0|            .i_target = NULL,
 3940|      0|            .i_except = NULL,
 3941|      0|        };
 3942|      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|    }
  ------------------
 3943|      0|    }
 3944|       |
 3945|      4|    return SUCCESS;
  ------------------
  |  |   21|      4|#define SUCCESS 0
  ------------------
 3946|      4|}
flowgraph.c:fix_cell_offsets:
 3950|      4|{
 3951|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3952|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3953|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3954|      4|    int noffsets = ncellvars + nfreevars;
 3955|       |
 3956|       |    // First deal with duplicates (arg cells).
 3957|      4|    int numdropped = 0;
 3958|      4|    for (int i = 0; i < noffsets ; i++) {
  ------------------
  |  Branch (3958:21): [True: 0, False: 4]
  ------------------
 3959|      0|        if (fixedmap[i] == i + nlocals) {
  ------------------
  |  Branch (3959:13): [True: 0, False: 0]
  ------------------
 3960|      0|            fixedmap[i] -= numdropped;
 3961|      0|        }
 3962|      0|        else {
 3963|       |            // It was a duplicate (cell/arg).
 3964|      0|            numdropped += 1;
 3965|      0|        }
 3966|      0|    }
 3967|       |
 3968|       |    // Then update offsets, either relative to locals or by cell2arg.
 3969|     10|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3969:38): [True: 6, False: 4]
  ------------------
 3970|     30|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3970:25): [True: 24, False: 6]
  ------------------
 3971|     24|            cfg_instr *inst = &b->b_instr[i];
 3972|       |            // This is called before extended args are generated.
 3973|     24|            assert(inst->i_opcode != EXTENDED_ARG);
  ------------------
  |  Branch (3973:13): [True: 24, False: 0]
  ------------------
 3974|     24|            int oldoffset = inst->i_oparg;
 3975|     24|            switch(inst->i_opcode) {
  ------------------
  |  Branch (3975:20): [True: 0, False: 24]
  ------------------
 3976|      0|                case MAKE_CELL:
  ------------------
  |  |  106|      0|#define MAKE_CELL                               93
  ------------------
  |  Branch (3976:17): [True: 0, False: 24]
  ------------------
 3977|      0|                case LOAD_CLOSURE:
  ------------------
  |  |  249|      0|#define LOAD_CLOSURE                           261
  ------------------
  |  Branch (3977:17): [True: 0, False: 24]
  ------------------
 3978|      0|                case LOAD_DEREF:
  ------------------
  |  |   92|      0|#define LOAD_DEREF                              79
  ------------------
  |  Branch (3978:17): [True: 0, False: 24]
  ------------------
 3979|      0|                case STORE_DEREF:
  ------------------
  |  |  120|      0|#define STORE_DEREF                            107
  ------------------
  |  Branch (3979:17): [True: 0, False: 24]
  ------------------
 3980|      0|                case DELETE_DEREF:
  ------------------
  |  |   72|      0|#define DELETE_DEREF                            59
  ------------------
  |  Branch (3980:17): [True: 0, False: 24]
  ------------------
 3981|      0|                case LOAD_FROM_DICT_OR_DEREF:
  ------------------
  |  |   99|      0|#define LOAD_FROM_DICT_OR_DEREF                 86
  ------------------
  |  Branch (3981:17): [True: 0, False: 24]
  ------------------
 3982|      0|                    assert(oldoffset >= 0);
  ------------------
  |  Branch (3982:21): [True: 0, False: 0]
  ------------------
 3983|      0|                    assert(oldoffset < noffsets);
  ------------------
  |  Branch (3983:21): [True: 0, False: 0]
  ------------------
 3984|      0|                    assert(fixedmap[oldoffset] >= 0);
  ------------------
  |  Branch (3984:21): [True: 0, False: 0]
  ------------------
 3985|      0|                    inst->i_oparg = fixedmap[oldoffset];
 3986|     24|            }
 3987|     24|        }
 3988|      6|    }
 3989|       |
 3990|      4|    return numdropped;
 3991|      4|}
flowgraph.c:convert_pseudo_ops:
 3645|      4|{
 3646|      4|    basicblock *entryblock = g->g_entryblock;
 3647|     10|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3647:38): [True: 6, False: 4]
  ------------------
 3648|     30|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3648:25): [True: 24, False: 6]
  ------------------
 3649|     24|            cfg_instr *instr = &b->b_instr[i];
 3650|     24|            if (is_block_push(instr)) {
  ------------------
  |  Branch (3650:17): [True: 0, False: 24]
  ------------------
 3651|      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 (3651:17): [True: 0, False: 0]
  ------------------
 3652|      0|            }
 3653|     24|            else if (instr->i_opcode == LOAD_CLOSURE) {
  ------------------
  |  |  249|     24|#define LOAD_CLOSURE                           261
  ------------------
  |  Branch (3653:22): [True: 0, False: 24]
  ------------------
 3654|      0|                assert(is_pseudo_target(LOAD_CLOSURE, LOAD_FAST));
  ------------------
  |  Branch (3654:17): [True: 0, False: 0]
  ------------------
 3655|      0|                instr->i_opcode = LOAD_FAST;
  ------------------
  |  |   93|      0|#define LOAD_FAST                               80
  ------------------
 3656|      0|            }
 3657|     24|            else if (instr->i_opcode == STORE_FAST_MAYBE_NULL) {
  ------------------
  |  |  254|     24|#define STORE_FAST_MAYBE_NULL                  266
  ------------------
  |  Branch (3657:22): [True: 0, False: 24]
  ------------------
 3658|      0|                assert(is_pseudo_target(STORE_FAST_MAYBE_NULL, STORE_FAST));
  ------------------
  |  Branch (3658:17): [True: 0, False: 0]
  ------------------
 3659|      0|                instr->i_opcode = STORE_FAST;
  ------------------
  |  |  121|      0|#define STORE_FAST                             108
  ------------------
 3660|      0|            }
 3661|     24|        }
 3662|      6|    }
 3663|      4|    return remove_redundant_nops_and_jumps(g);
 3664|      4|}
flowgraph.c:normalize_jumps:
  602|      4|{
  603|      4|    basicblock *entryblock = g->g_entryblock;
  604|     10|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (604:38): [True: 6, False: 4]
  ------------------
  605|      6|        b->b_visited = 0;
  606|      6|    }
  607|     10|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (607:38): [True: 6, False: 4]
  ------------------
  608|      6|        b->b_visited = 1;
  609|      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|    }
  ------------------
  610|      6|    }
  611|      4|    return SUCCESS;
  ------------------
  |  |   21|      4|#define SUCCESS 0
  ------------------
  612|      4|}
flowgraph.c:normalize_jumps_in_block:
  547|      6|normalize_jumps_in_block(cfg_builder *g, basicblock *b) {
  548|      6|    cfg_instr *last = basicblock_last_instr(b);
  549|      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 (549:9): [True: 2, False: 4]
  ------------------
  550|      6|        return SUCCESS;
  ------------------
  |  |   21|      6|#define SUCCESS 0
  ------------------
  551|      6|    }
  552|      6|    assert(!IS_ASSEMBLER_OPCODE(last->i_opcode));
  ------------------
  |  Branch (552:5): [True: 0, False: 0]
  |  Branch (552:5): [True: 0, False: 0]
  |  Branch (552:5): [True: 0, False: 0]
  ------------------
  553|       |
  554|      0|    bool is_forward = last->i_target->b_visited == 0;
  555|      0|    if (is_forward) {
  ------------------
  |  Branch (555:9): [True: 0, False: 0]
  ------------------
  556|      0|        RETURN_IF_ERROR(
  ------------------
  |  |   25|      0|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
  557|      0|            basicblock_addop(b, NOT_TAKEN, 0, last->i_loc));
  558|      0|        return SUCCESS;
  ------------------
  |  |   21|      0|#define SUCCESS 0
  ------------------
  559|      0|    }
  560|       |
  561|      0|    int reversed_opcode = 0;
  562|      0|    switch(last->i_opcode) {
  ------------------
  |  Branch (562:12): [True: 0, False: 0]
  ------------------
  563|      0|        case POP_JUMP_IF_NOT_NONE:
  ------------------
  |  |  111|      0|#define POP_JUMP_IF_NOT_NONE                    98
  ------------------
  |  Branch (563:9): [True: 0, False: 0]
  ------------------
  564|      0|            reversed_opcode = POP_JUMP_IF_NONE;
  ------------------
  |  |  110|      0|#define POP_JUMP_IF_NONE                        97
  ------------------
  565|      0|            break;
  566|      0|        case POP_JUMP_IF_NONE:
  ------------------
  |  |  110|      0|#define POP_JUMP_IF_NONE                        97
  ------------------
  |  Branch (566:9): [True: 0, False: 0]
  ------------------
  567|      0|            reversed_opcode = POP_JUMP_IF_NOT_NONE;
  ------------------
  |  |  111|      0|#define POP_JUMP_IF_NOT_NONE                    98
  ------------------
  568|      0|            break;
  569|      0|        case POP_JUMP_IF_FALSE:
  ------------------
  |  |  109|      0|#define POP_JUMP_IF_FALSE                       96
  ------------------
  |  Branch (569:9): [True: 0, False: 0]
  ------------------
  570|      0|            reversed_opcode = POP_JUMP_IF_TRUE;
  ------------------
  |  |  112|      0|#define POP_JUMP_IF_TRUE                        99
  ------------------
  571|      0|            break;
  572|      0|        case POP_JUMP_IF_TRUE:
  ------------------
  |  |  112|      0|#define POP_JUMP_IF_TRUE                        99
  ------------------
  |  Branch (572:9): [True: 0, False: 0]
  ------------------
  573|      0|            reversed_opcode = POP_JUMP_IF_FALSE;
  ------------------
  |  |  109|      0|#define POP_JUMP_IF_FALSE                       96
  ------------------
  574|      0|            break;
  575|      0|    }
  576|       |    /* transform 'conditional jump T' to
  577|       |     * 'reversed_jump b_next' followed by 'jump_backwards T'
  578|       |     */
  579|       |
  580|      0|    basicblock *target = last->i_target;
  581|      0|    basicblock *backwards_jump = cfg_builder_new_block(g);
  582|      0|    if (backwards_jump == NULL) {
  ------------------
  |  Branch (582:9): [True: 0, False: 0]
  ------------------
  583|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  584|      0|    }
  585|      0|    RETURN_IF_ERROR(
  ------------------
  |  |   25|      0|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
  586|      0|        basicblock_addop(backwards_jump, NOT_TAKEN, 0, last->i_loc));
  587|      0|    RETURN_IF_ERROR(
  ------------------
  |  |   25|      0|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
  588|      0|        basicblock_add_jump(backwards_jump, JUMP, target, last->i_loc));
  589|      0|    backwards_jump->b_startdepth = target->b_startdepth;
  590|      0|    last->i_opcode = reversed_opcode;
  591|      0|    last->i_target = b->b_next;
  592|       |
  593|      0|    backwards_jump->b_cold = b->b_cold;
  594|      0|    backwards_jump->b_next = b->b_next;
  595|      0|    b->b_next = backwards_jump;
  596|      0|    return SUCCESS;
  ------------------
  |  |   21|      0|#define SUCCESS 0
  ------------------
  597|      0|}
flowgraph.c:no_redundant_jumps:
  523|      8|no_redundant_jumps(cfg_builder *g) {
  524|     20|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (524:43): [True: 12, False: 8]
  ------------------
  525|     12|        cfg_instr *last = basicblock_last_instr(b);
  526|     12|        if (last != NULL) {
  ------------------
  |  Branch (526:13): [True: 8, False: 4]
  ------------------
  527|      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]
  |  |  ------------------
  ------------------
  528|      0|                basicblock *next = next_nonempty_block(b->b_next);
  529|      0|                basicblock *jump_target = next_nonempty_block(last->i_target);
  530|      0|                if (jump_target == next) {
  ------------------
  |  Branch (530:21): [True: 0, False: 0]
  ------------------
  531|      0|                    assert(next);
  ------------------
  |  Branch (531:21): [True: 0, False: 0]
  ------------------
  532|      0|                    if (last->i_loc.lineno == next->b_instr[0].i_loc.lineno) {
  ------------------
  |  Branch (532:25): [True: 0, False: 0]
  ------------------
  533|      0|                        assert(0);
  ------------------
  |  Branch (533:25): [Folded, False: 0]
  ------------------
  534|      0|                        return false;
  535|      0|                    }
  536|      0|                }
  537|      0|            }
  538|      8|        }
  539|     12|    }
  540|      8|    return true;
  541|      8|}
flowgraph.c:optimize_load_fast:
 2893|      4|{
 2894|      4|    int status;
 2895|      4|    ref_stack refs = {0};
 2896|      4|    int max_instrs = 0;
 2897|      4|    basicblock *entryblock = g->g_entryblock;
 2898|     10|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (2898:38): [True: 6, False: 4]
  ------------------
 2899|      6|        max_instrs = Py_MAX(max_instrs, b->b_iused);
  ------------------
  |  |  126|      6|       __extension__ \
  |  |  127|      6|       ({ _Py_TYPEOF (x) _x = (x); \
  |  |  ------------------
  |  |  |  |  552|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  128|      6|          _Py_TYPEOF (y) _y = (y); \
  |  |  ------------------
  |  |  |  |  552|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|      6|          _x > _y ? _x : _y; })
  |  |  ------------------
  |  |  |  Branch (129:11): [True: 2, False: 4]
  |  |  ------------------
  ------------------
 2900|      6|    }
 2901|      4|    size_t instr_flags_size = max_instrs * sizeof(uint8_t);
 2902|      4|    uint8_t *instr_flags = PyMem_Malloc(instr_flags_size);
 2903|      4|    if (instr_flags == NULL) {
  ------------------
  |  Branch (2903:9): [True: 0, False: 4]
  ------------------
 2904|      0|        PyErr_NoMemory();
 2905|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2906|      0|    }
 2907|      4|    basicblock **blocks = make_cfg_traversal_stack(entryblock);
 2908|      4|    if (blocks == NULL) {
  ------------------
  |  Branch (2908:9): [True: 0, False: 4]
  ------------------
 2909|      0|        status = ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2910|      0|        goto done;
 2911|      0|    }
 2912|      4|    basicblock **sp = blocks;
 2913|      4|    *sp = entryblock;
 2914|      4|    sp++;
 2915|      4|    entryblock->b_startdepth = 0;
 2916|      4|    entryblock->b_visited = 1;
 2917|       |
 2918|      4|    #define PUSH_REF(instr, local)                \
 2919|      4|        do {                                      \
 2920|      4|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
 2921|      4|                status = ERROR;                   \
 2922|      4|                goto done;                        \
 2923|      4|            }                                     \
 2924|      4|        } while(0)
 2925|       |
 2926|      8|    while (sp != blocks) {
  ------------------
  |  Branch (2926:12): [True: 4, False: 4]
  ------------------
 2927|      4|        basicblock *block = *--sp;
 2928|      4|        assert(block->b_startdepth > -1);
  ------------------
  |  Branch (2928:9): [True: 4, False: 0]
  ------------------
 2929|       |
 2930|       |        // Reset per-block state.
 2931|      4|        memset(instr_flags, 0, block->b_iused * sizeof(*instr_flags));
 2932|       |
 2933|       |        // Reset the stack of refs. We don't track references on the stack
 2934|       |        // across basic blocks, but the bytecode will expect their
 2935|       |        // presence. Add dummy references as necessary.
 2936|      4|        ref_stack_clear(&refs);
 2937|      4|        for (int i = 0; i < block->b_startdepth; i++) {
  ------------------
  |  Branch (2937:25): [True: 0, False: 4]
  ------------------
 2938|      0|            PUSH_REF(DUMMY_INSTR, NOT_LOCAL);
  ------------------
  |  | 2919|      0|        do {                                      \
  |  | 2920|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2920:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2921|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2922|      0|                goto done;                        \
  |  | 2923|      0|            }                                     \
  |  | 2924|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2924:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2939|      0|        }
 2940|       |
 2941|     28|        for (int i = 0; i < block->b_iused; i++) {
  ------------------
  |  Branch (2941:25): [True: 24, False: 4]
  ------------------
 2942|     24|            cfg_instr *instr = &block->b_instr[i];
 2943|     24|            int opcode = instr->i_opcode;
 2944|     24|            int oparg = instr->i_oparg;
 2945|     24|            assert(opcode != EXTENDED_ARG);
  ------------------
  |  Branch (2945:13): [True: 24, False: 0]
  ------------------
 2946|     24|            switch (opcode) {
 2947|       |                // Opcodes that load and store locals
 2948|      0|                case DELETE_FAST: {
  ------------------
  |  |   73|      0|#define DELETE_FAST                             60
  ------------------
  |  Branch (2948:17): [True: 0, False: 24]
  ------------------
 2949|      0|                    kill_local(instr_flags, &refs, oparg);
 2950|      0|                    break;
 2951|      0|                }
 2952|       |
 2953|      1|                case LOAD_FAST: {
  ------------------
  |  |   93|      1|#define LOAD_FAST                               80
  ------------------
  |  Branch (2953:17): [True: 1, False: 23]
  ------------------
 2954|      1|                    PUSH_REF(i, oparg);
  ------------------
  |  | 2919|      1|        do {                                      \
  |  | 2920|      1|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2920:17): [True: 0, False: 1]
  |  |  ------------------
  |  | 2921|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2922|      0|                goto done;                        \
  |  | 2923|      0|            }                                     \
  |  | 2924|      1|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2924:17): [Folded, False: 1]
  |  |  ------------------
  ------------------
 2955|      1|                    break;
 2956|      1|                }
 2957|       |
 2958|      1|                case LOAD_FAST_AND_CLEAR: {
  ------------------
  |  |   94|      0|#define LOAD_FAST_AND_CLEAR                     81
  ------------------
  |  Branch (2958:17): [True: 0, False: 24]
  ------------------
 2959|      0|                    kill_local(instr_flags, &refs, oparg);
 2960|      0|                    PUSH_REF(i, oparg);
  ------------------
  |  | 2919|      0|        do {                                      \
  |  | 2920|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2920:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2921|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2922|      0|                goto done;                        \
  |  | 2923|      0|            }                                     \
  |  | 2924|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2924:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2961|      0|                    break;
 2962|      0|                }
 2963|       |
 2964|      5|                case LOAD_FAST_LOAD_FAST: {
  ------------------
  |  |   98|      5|#define LOAD_FAST_LOAD_FAST                     85
  ------------------
  |  Branch (2964:17): [True: 5, False: 19]
  ------------------
 2965|      5|                    PUSH_REF(i, oparg >> 4);
  ------------------
  |  | 2919|      5|        do {                                      \
  |  | 2920|      5|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2920:17): [True: 0, False: 5]
  |  |  ------------------
  |  | 2921|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2922|      0|                goto done;                        \
  |  | 2923|      0|            }                                     \
  |  | 2924|      5|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2924:17): [Folded, False: 5]
  |  |  ------------------
  ------------------
 2966|      5|                    PUSH_REF(i, oparg & 15);
  ------------------
  |  | 2919|      5|        do {                                      \
  |  | 2920|      5|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2920:17): [True: 0, False: 5]
  |  |  ------------------
  |  | 2921|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2922|      0|                goto done;                        \
  |  | 2923|      0|            }                                     \
  |  | 2924|      5|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2924:17): [Folded, False: 5]
  |  |  ------------------
  ------------------
 2967|      5|                    break;
 2968|      5|                }
 2969|       |
 2970|      5|                case STORE_FAST: {
  ------------------
  |  |  121|      0|#define STORE_FAST                             108
  ------------------
  |  Branch (2970:17): [True: 0, False: 24]
  ------------------
 2971|      0|                    ref r = ref_stack_pop(&refs);
 2972|      0|                    store_local(instr_flags, &refs, oparg, r);
 2973|      0|                    break;
 2974|      5|                }
 2975|       |
 2976|      0|                case STORE_FAST_LOAD_FAST: {
  ------------------
  |  |  122|      0|#define STORE_FAST_LOAD_FAST                   109
  ------------------
  |  Branch (2976:17): [True: 0, False: 24]
  ------------------
 2977|       |                    // STORE_FAST
 2978|      0|                    ref r = ref_stack_pop(&refs);
 2979|      0|                    store_local(instr_flags, &refs, oparg >> 4, r);
 2980|       |                    // LOAD_FAST
 2981|      0|                    PUSH_REF(i, oparg & 15);
  ------------------
  |  | 2919|      0|        do {                                      \
  |  | 2920|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2920:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2921|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2922|      0|                goto done;                        \
  |  | 2923|      0|            }                                     \
  |  | 2924|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2924:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2982|      0|                    break;
 2983|      0|                }
 2984|       |
 2985|      0|                case STORE_FAST_STORE_FAST: {
  ------------------
  |  |  123|      0|#define STORE_FAST_STORE_FAST                  110
  ------------------
  |  Branch (2985:17): [True: 0, False: 24]
  ------------------
 2986|       |                    // STORE_FAST
 2987|      0|                    ref r = ref_stack_pop(&refs);
 2988|      0|                    store_local(instr_flags, &refs, oparg >> 4, r);
 2989|       |                    // STORE_FAST
 2990|      0|                    r = ref_stack_pop(&refs);
 2991|      0|                    store_local(instr_flags, &refs, oparg & 15, r);
 2992|      0|                    break;
 2993|      0|                }
 2994|       |
 2995|       |                // Opcodes that shuffle values on the stack
 2996|      0|                case COPY: {
  ------------------
  |  |   70|      0|#define COPY                                    57
  ------------------
  |  Branch (2996:17): [True: 0, False: 24]
  ------------------
 2997|      0|                    assert(oparg > 0);
  ------------------
  |  Branch (2997:21): [True: 0, False: 0]
  ------------------
 2998|      0|                    Py_ssize_t idx = refs.size - oparg;
 2999|      0|                    ref r = ref_stack_at(&refs, idx);
 3000|      0|                    PUSH_REF(r.instr, r.local);
  ------------------
  |  | 2919|      0|        do {                                      \
  |  | 2920|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2920:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2921|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2922|      0|                goto done;                        \
  |  | 2923|      0|            }                                     \
  |  | 2924|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2924:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3001|      0|                    break;
 3002|      0|                }
 3003|       |
 3004|      0|                case SWAP: {
  ------------------
  |  |  126|      0|#define SWAP                                   113
  ------------------
  |  Branch (3004:17): [True: 0, False: 24]
  ------------------
 3005|      0|                    assert(oparg >= 2);
  ------------------
  |  Branch (3005:21): [True: 0, False: 0]
  ------------------
 3006|      0|                    ref_stack_swap_top(&refs, oparg);
 3007|      0|                    break;
 3008|      0|                }
 3009|       |
 3010|       |                // We treat opcodes that do not consume all of their inputs on
 3011|       |                // a case by case basis, as we have no generic way of knowing
 3012|       |                // how many inputs should be left on the stack.
 3013|       |
 3014|       |                // Opcodes that consume no inputs
 3015|      0|                case FORMAT_SIMPLE:
  ------------------
  |  |   25|      0|#define FORMAT_SIMPLE                           12
  ------------------
  |  Branch (3015:17): [True: 0, False: 24]
  ------------------
 3016|      0|                case GET_ANEXT:
  ------------------
  |  |   28|      0|#define GET_ANEXT                               15
  ------------------
  |  Branch (3016:17): [True: 0, False: 24]
  ------------------
 3017|      0|                case GET_ITER:
  ------------------
  |  |   80|      0|#define GET_ITER                                67
  ------------------
  |  Branch (3017:17): [True: 0, False: 24]
  ------------------
 3018|      0|                case GET_LEN:
  ------------------
  |  |   29|      0|#define GET_LEN                                 16
  ------------------
  |  Branch (3018:17): [True: 0, False: 24]
  ------------------
 3019|      0|                case IMPORT_FROM:
  ------------------
  |  |   81|      0|#define IMPORT_FROM                             68
  ------------------
  |  Branch (3019:17): [True: 0, False: 24]
  ------------------
 3020|      0|                case MATCH_KEYS:
  ------------------
  |  |   35|      0|#define MATCH_KEYS                              22
  ------------------
  |  Branch (3020:17): [True: 0, False: 24]
  ------------------
 3021|      0|                case MATCH_MAPPING:
  ------------------
  |  |   36|      0|#define MATCH_MAPPING                           23
  ------------------
  |  Branch (3021:17): [True: 0, False: 24]
  ------------------
 3022|      0|                case MATCH_SEQUENCE:
  ------------------
  |  |   37|      0|#define MATCH_SEQUENCE                          24
  ------------------
  |  Branch (3022:17): [True: 0, False: 24]
  ------------------
 3023|      0|                case WITH_EXCEPT_START: {
  ------------------
  |  |   54|      0|#define WITH_EXCEPT_START                       41
  ------------------
  |  Branch (3023:17): [True: 0, False: 24]
  ------------------
 3024|      0|                    int num_popped = _PyOpcode_num_popped(opcode, oparg);
 3025|      0|                    int num_pushed = _PyOpcode_num_pushed(opcode, oparg);
 3026|      0|                    int net_pushed = num_pushed - num_popped;
 3027|      0|                    assert(net_pushed >= 0);
  ------------------
  |  Branch (3027:21): [True: 0, False: 0]
  ------------------
 3028|      0|                    for (int j = 0; j < net_pushed; j++) {
  ------------------
  |  Branch (3028:37): [True: 0, False: 0]
  ------------------
 3029|      0|                        PUSH_REF(i, NOT_LOCAL);
  ------------------
  |  | 2919|      0|        do {                                      \
  |  | 2920|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2920:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2921|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2922|      0|                goto done;                        \
  |  | 2923|      0|            }                                     \
  |  | 2924|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2924:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3030|      0|                    }
 3031|      0|                    break;
 3032|      0|                }
 3033|       |
 3034|       |                // Opcodes that consume some inputs and push no new values
 3035|      0|                case DICT_MERGE:
  ------------------
  |  |   74|      0|#define DICT_MERGE                              61
  ------------------
  |  Branch (3035:17): [True: 0, False: 24]
  ------------------
 3036|      0|                case DICT_UPDATE:
  ------------------
  |  |   75|      0|#define DICT_UPDATE                             62
  ------------------
  |  Branch (3036:17): [True: 0, False: 24]
  ------------------
 3037|      0|                case LIST_APPEND:
  ------------------
  |  |   87|      0|#define LIST_APPEND                             74
  ------------------
  |  Branch (3037:17): [True: 0, False: 24]
  ------------------
 3038|      0|                case LIST_EXTEND:
  ------------------
  |  |   88|      0|#define LIST_EXTEND                             75
  ------------------
  |  Branch (3038:17): [True: 0, False: 24]
  ------------------
 3039|      0|                case MAP_ADD:
  ------------------
  |  |  107|      0|#define MAP_ADD                                 94
  ------------------
  |  Branch (3039:17): [True: 0, False: 24]
  ------------------
 3040|      0|                case RERAISE:
  ------------------
  |  |  114|      0|#define RERAISE                                101
  ------------------
  |  Branch (3040:17): [True: 0, False: 24]
  ------------------
 3041|      0|                case SET_ADD:
  ------------------
  |  |  116|      0|#define SET_ADD                                103
  ------------------
  |  Branch (3041:17): [True: 0, False: 24]
  ------------------
 3042|      0|                case SET_UPDATE: {
  ------------------
  |  |  118|      0|#define SET_UPDATE                             105
  ------------------
  |  Branch (3042:17): [True: 0, False: 24]
  ------------------
 3043|      0|                    int num_popped = _PyOpcode_num_popped(opcode, oparg);
 3044|      0|                    int num_pushed = _PyOpcode_num_pushed(opcode, oparg);
 3045|      0|                    int net_popped = num_popped - num_pushed;
 3046|      0|                    assert(net_popped > 0);
  ------------------
  |  Branch (3046:21): [True: 0, False: 0]
  ------------------
 3047|      0|                    for (int i = 0; i < net_popped; i++) {
  ------------------
  |  Branch (3047:37): [True: 0, False: 0]
  ------------------
 3048|      0|                        ref_stack_pop(&refs);
 3049|      0|                    }
 3050|      0|                    break;
 3051|      0|                }
 3052|       |
 3053|      0|                case END_SEND: {
  ------------------
  |  |   23|      0|#define END_SEND                                10
  ------------------
  |  Branch (3053:17): [True: 0, False: 24]
  ------------------
 3054|      0|                    assert(_PyOpcode_num_popped(opcode, oparg) == 3);
  ------------------
  |  Branch (3054:21): [True: 0, False: 0]
  ------------------
 3055|      0|                    assert(_PyOpcode_num_pushed(opcode, oparg) == 1);
  ------------------
  |  Branch (3055:21): [True: 0, False: 0]
  ------------------
 3056|      0|                    ref tos = ref_stack_pop(&refs);
 3057|      0|                    ref_stack_pop(&refs);
 3058|      0|                    ref_stack_pop(&refs);
 3059|      0|                    PUSH_REF(tos.instr, tos.local);
  ------------------
  |  | 2919|      0|        do {                                      \
  |  | 2920|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2920:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2921|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2922|      0|                goto done;                        \
  |  | 2923|      0|            }                                     \
  |  | 2924|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2924:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3060|      0|                    break;
 3061|      0|                }
 3062|       |
 3063|      0|                case SET_FUNCTION_ATTRIBUTE: {
  ------------------
  |  |  117|      0|#define SET_FUNCTION_ATTRIBUTE                 104
  ------------------
  |  Branch (3063:17): [True: 0, False: 24]
  ------------------
 3064|      0|                    assert(_PyOpcode_num_popped(opcode, oparg) == 2);
  ------------------
  |  Branch (3064:21): [True: 0, False: 0]
  ------------------
 3065|      0|                    assert(_PyOpcode_num_pushed(opcode, oparg) == 1);
  ------------------
  |  Branch (3065:21): [True: 0, False: 0]
  ------------------
 3066|      0|                    ref tos = ref_stack_pop(&refs);
 3067|      0|                    ref_stack_pop(&refs);
 3068|      0|                    PUSH_REF(tos.instr, tos.local);
  ------------------
  |  | 2919|      0|        do {                                      \
  |  | 2920|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2920:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2921|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2922|      0|                goto done;                        \
  |  | 2923|      0|            }                                     \
  |  | 2924|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2924:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3069|      0|                    break;
 3070|      0|                }
 3071|       |
 3072|       |                // Opcodes that consume some inputs and push new values
 3073|      0|                case CHECK_EXC_MATCH: {
  ------------------
  |  |   19|      0|#define CHECK_EXC_MATCH                          6
  ------------------
  |  Branch (3073:17): [True: 0, False: 24]
  ------------------
 3074|      0|                    ref_stack_pop(&refs);
 3075|      0|                    PUSH_REF(i, NOT_LOCAL);
  ------------------
  |  | 2919|      0|        do {                                      \
  |  | 2920|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2920:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2921|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2922|      0|                goto done;                        \
  |  | 2923|      0|            }                                     \
  |  | 2924|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2924:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3076|      0|                    break;
 3077|      0|                }
 3078|       |
 3079|      0|                case FOR_ITER: {
  ------------------
  |  |   78|      0|#define FOR_ITER                                65
  ------------------
  |  Branch (3079:17): [True: 0, False: 24]
  ------------------
 3080|      0|                    load_fast_push_block(&sp, instr->i_target, refs.size + 1);
 3081|      0|                    PUSH_REF(i, NOT_LOCAL);
  ------------------
  |  | 2919|      0|        do {                                      \
  |  | 2920|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2920:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2921|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2922|      0|                goto done;                        \
  |  | 2923|      0|            }                                     \
  |  | 2924|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2924:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3082|      0|                    break;
 3083|      0|                }
 3084|       |
 3085|      0|                case LOAD_ATTR:
  ------------------
  |  |   89|      0|#define LOAD_ATTR                               76
  ------------------
  |  Branch (3085:17): [True: 0, False: 24]
  ------------------
 3086|      0|                case LOAD_SUPER_ATTR: {
  ------------------
  |  |  105|      0|#define LOAD_SUPER_ATTR                         92
  ------------------
  |  Branch (3086:17): [True: 0, False: 24]
  ------------------
 3087|      0|                    ref self = ref_stack_pop(&refs);
 3088|      0|                    if (opcode == LOAD_SUPER_ATTR) {
  ------------------
  |  |  105|      0|#define LOAD_SUPER_ATTR                         92
  ------------------
  |  Branch (3088:25): [True: 0, False: 0]
  ------------------
 3089|      0|                        ref_stack_pop(&refs);
 3090|      0|                        ref_stack_pop(&refs);
 3091|      0|                    }
 3092|      0|                    PUSH_REF(i, NOT_LOCAL);
  ------------------
  |  | 2919|      0|        do {                                      \
  |  | 2920|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2920:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2921|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2922|      0|                goto done;                        \
  |  | 2923|      0|            }                                     \
  |  | 2924|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2924:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3093|      0|                    if (oparg & 1) {
  ------------------
  |  Branch (3093:25): [True: 0, False: 0]
  ------------------
 3094|       |                        // A method call; conservatively assume that self is pushed
 3095|       |                        // back onto the stack
 3096|      0|                        PUSH_REF(self.instr, self.local);
  ------------------
  |  | 2919|      0|        do {                                      \
  |  | 2920|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2920:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2921|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2922|      0|                goto done;                        \
  |  | 2923|      0|            }                                     \
  |  | 2924|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2924:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3097|      0|                    }
 3098|      0|                    break;
 3099|      0|                }
 3100|       |
 3101|      0|                case LOAD_SPECIAL:
  ------------------
  |  |  104|      0|#define LOAD_SPECIAL                            91
  ------------------
  |  Branch (3101:17): [True: 0, False: 24]
  ------------------
 3102|      0|                case PUSH_EXC_INFO: {
  ------------------
  |  |   43|      0|#define PUSH_EXC_INFO                           30
  ------------------
  |  Branch (3102:17): [True: 0, False: 24]
  ------------------
 3103|      0|                    ref tos = ref_stack_pop(&refs);
 3104|      0|                    PUSH_REF(i, NOT_LOCAL);
  ------------------
  |  | 2919|      0|        do {                                      \
  |  | 2920|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2920:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2921|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2922|      0|                goto done;                        \
  |  | 2923|      0|            }                                     \
  |  | 2924|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2924:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3105|      0|                    PUSH_REF(tos.instr, tos.local);
  ------------------
  |  | 2919|      0|        do {                                      \
  |  | 2920|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2920:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2921|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2922|      0|                goto done;                        \
  |  | 2923|      0|            }                                     \
  |  | 2924|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2924:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3106|      0|                    break;
 3107|      0|                }
 3108|       |
 3109|      0|                case SEND: {
  ------------------
  |  |  115|      0|#define SEND                                   102
  ------------------
  |  Branch (3109:17): [True: 0, False: 24]
  ------------------
 3110|      0|                    load_fast_push_block(&sp, instr->i_target, refs.size);
 3111|      0|                    ref_stack_pop(&refs);
 3112|      0|                    PUSH_REF(i, NOT_LOCAL);
  ------------------
  |  | 2919|      0|        do {                                      \
  |  | 2920|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2920:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2921|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2922|      0|                goto done;                        \
  |  | 2923|      0|            }                                     \
  |  | 2924|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2924:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3113|      0|                    break;
 3114|      0|                }
 3115|       |
 3116|       |                // Opcodes that consume all of their inputs
 3117|     18|                default: {
  ------------------
  |  Branch (3117:17): [True: 18, False: 6]
  ------------------
 3118|     18|                    int num_popped = _PyOpcode_num_popped(opcode, oparg);
 3119|     18|                    int num_pushed = _PyOpcode_num_pushed(opcode, oparg);
 3120|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3121|      0|                        load_fast_push_block(&sp, instr->i_target, refs.size - num_popped + num_pushed);
 3122|      0|                    }
 3123|     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]
  |  |  ------------------
  ------------------
 3124|       |                        // Block push opcodes only affect the stack when jumping
 3125|       |                        // to the target.
 3126|     41|                        for (int j = 0; j < num_popped; j++) {
  ------------------
  |  Branch (3126:41): [True: 23, False: 18]
  ------------------
 3127|     23|                            ref_stack_pop(&refs);
 3128|     23|                        }
 3129|     34|                        for (int j = 0; j < num_pushed; j++) {
  ------------------
  |  Branch (3129:41): [True: 16, False: 18]
  ------------------
 3130|     16|                            PUSH_REF(i, NOT_LOCAL);
  ------------------
  |  | 2919|     16|        do {                                      \
  |  | 2920|     16|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2920:17): [True: 0, False: 16]
  |  |  ------------------
  |  | 2921|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2922|      0|                goto done;                        \
  |  | 2923|      0|            }                                     \
  |  | 2924|     16|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2924:17): [Folded, False: 16]
  |  |  ------------------
  ------------------
 3131|     16|                        }
 3132|     18|                    }
 3133|     18|                    break;
 3134|     18|                }
 3135|     24|            }
 3136|     24|        }
 3137|       |
 3138|       |        // Push fallthrough block
 3139|      4|        if (BB_HAS_FALLTHROUGH(block)) {
  ------------------
  |  |  251|      4|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (251:31): [True: 0, False: 4]
  |  |  ------------------
  ------------------
 3140|      0|            assert(block->b_next != NULL);
  ------------------
  |  Branch (3140:13): [True: 0, False: 0]
  ------------------
 3141|      0|            load_fast_push_block(&sp, block->b_next, refs.size);
 3142|      0|        }
 3143|       |
 3144|       |        // Mark instructions that produce values that are on the stack at the
 3145|       |        // end of the basic block
 3146|      8|        for (Py_ssize_t i = 0; i < refs.size; i++) {
  ------------------
  |  Branch (3146:32): [True: 4, False: 4]
  ------------------
 3147|      4|            ref r = ref_stack_at(&refs, i);
 3148|      4|            if (r.instr != -1) {
  ------------------
  |  Branch (3148:17): [True: 4, False: 0]
  ------------------
 3149|      4|                instr_flags[r.instr] |= REF_UNCONSUMED;
 3150|      4|            }
 3151|      4|        }
 3152|       |
 3153|       |        // Optimize instructions
 3154|     28|        for (int i = 0; i < block->b_iused; i++) {
  ------------------
  |  Branch (3154:25): [True: 24, False: 4]
  ------------------
 3155|     24|            if (!instr_flags[i]) {
  ------------------
  |  Branch (3155:17): [True: 20, False: 4]
  ------------------
 3156|     20|                cfg_instr *instr = &block->b_instr[i];
 3157|     20|                switch (instr->i_opcode) {
 3158|      1|                    case LOAD_FAST:
  ------------------
  |  |   93|      1|#define LOAD_FAST                               80
  ------------------
  |  Branch (3158:21): [True: 1, False: 19]
  ------------------
 3159|      1|                        instr->i_opcode = LOAD_FAST_BORROW;
  ------------------
  |  |   95|      1|#define LOAD_FAST_BORROW                        82
  ------------------
 3160|      1|                        break;
 3161|      5|                    case LOAD_FAST_LOAD_FAST:
  ------------------
  |  |   98|      5|#define LOAD_FAST_LOAD_FAST                     85
  ------------------
  |  Branch (3161:21): [True: 5, False: 15]
  ------------------
 3162|      5|                        instr->i_opcode = LOAD_FAST_BORROW_LOAD_FAST_BORROW;
  ------------------
  |  |   96|      5|#define LOAD_FAST_BORROW_LOAD_FAST_BORROW       83
  ------------------
 3163|      5|                        break;
 3164|     14|                    default:
  ------------------
  |  Branch (3164:21): [True: 14, False: 6]
  ------------------
 3165|     14|                        break;
 3166|     20|                }
 3167|     20|            }
 3168|     24|        }
 3169|      4|    }
 3170|       |
 3171|      4|    #undef PUSH_REF
 3172|       |
 3173|      4|    status = SUCCESS;
  ------------------
  |  |   21|      4|#define SUCCESS 0
  ------------------
 3174|       |
 3175|      4|done:
 3176|      4|    ref_stack_fini(&refs);
 3177|      4|    PyMem_Free(instr_flags);
 3178|      4|    PyMem_Free(blocks);
 3179|      4|    return status;
 3180|      4|}
flowgraph.c:ref_stack_clear:
 2798|      4|{
 2799|      4|    stack->size = 0;
 2800|      4|}
flowgraph.c:ref_stack_push:
 2754|     27|{
 2755|     27|    if (stack->size == stack->capacity) {
  ------------------
  |  Branch (2755:9): [True: 4, False: 23]
  ------------------
 2756|      4|        Py_ssize_t new_cap = Py_MAX(32, stack->capacity * 2);
  ------------------
  |  |  126|      4|       __extension__ \
  |  |  127|      4|       ({ _Py_TYPEOF (x) _x = (x); \
  |  |  ------------------
  |  |  |  |  552|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  128|      4|          _Py_TYPEOF (y) _y = (y); \
  |  |  ------------------
  |  |  |  |  552|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|      4|          _x > _y ? _x : _y; })
  |  |  ------------------
  |  |  |  Branch (129:11): [True: 4, False: 0]
  |  |  ------------------
  ------------------
 2757|      4|        ref *refs = PyMem_Realloc(stack->refs, sizeof(*stack->refs) * new_cap);
 2758|      4|        if (refs == NULL) {
  ------------------
  |  Branch (2758:13): [True: 0, False: 4]
  ------------------
 2759|      0|            PyErr_NoMemory();
 2760|      0|            return -1;
 2761|      0|        }
 2762|      4|        stack->refs = refs;
 2763|      4|        stack->capacity = new_cap;
 2764|      4|    }
 2765|     27|    stack->refs[stack->size] = r;
 2766|     27|    stack->size++;
 2767|     27|    return 0;
 2768|     27|}
flowgraph.c:ref_stack_pop:
 2772|     23|{
 2773|     23|    assert(stack->size > 0);
  ------------------
  |  Branch (2773:5): [True: 23, False: 0]
  ------------------
 2774|     23|    stack->size--;
 2775|     23|    ref r = stack->refs[stack->size];
 2776|     23|    return r;
 2777|     23|}
flowgraph.c:ref_stack_at:
 2791|      4|{
 2792|      4|    assert(idx >= 0 && idx < stack->size);
  ------------------
  |  Branch (2792:5): [True: 4, False: 0]
  |  Branch (2792:5): [True: 4, False: 0]
  ------------------
 2793|      4|    return stack->refs[idx];
 2794|      4|}
flowgraph.c:ref_stack_fini:
 2804|      4|{
 2805|      4|    if (stack->refs != NULL) {
  ------------------
  |  Branch (2805:9): [True: 4, False: 0]
  ------------------
 2806|      4|        PyMem_Free(stack->refs);
 2807|      4|    }
 2808|       |    stack->refs = NULL;
 2809|      4|    stack->capacity = 0;
 2810|      4|    stack->size = 0;
 2811|      4|}
flowgraph.c:get_stack_effects:
  780|     24|{
  781|     24|    if (opcode < 0) {
  ------------------
  |  Branch (781:9): [True: 0, False: 24]
  ------------------
  782|      0|        return -1;
  783|      0|    }
  784|     24|    if ((opcode <= MAX_REAL_OPCODE) && (_PyOpcode_Deopt[opcode] != opcode)) {
  ------------------
  |  |   11|     24|#define MAX_REAL_OPCODE 254
  ------------------
  |  Branch (784:9): [True: 24, False: 0]
  |  Branch (784:40): [True: 0, False: 24]
  ------------------
  785|       |        // Specialized instructions are not supported.
  786|      0|        return -1;
  787|      0|    }
  788|     24|    int popped = _PyOpcode_num_popped(opcode, oparg);
  789|     24|    int pushed = _PyOpcode_num_pushed(opcode, oparg);
  790|     24|    if (popped < 0 || pushed < 0) {
  ------------------
  |  Branch (790:9): [True: 0, False: 24]
  |  Branch (790:23): [True: 0, False: 24]
  ------------------
  791|      0|        return -1;
  792|      0|    }
  793|     24|    if (IS_BLOCK_PUSH_OPCODE(opcode) && !jump) {
  ------------------
  |  |   18|     48|        ((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|     48|         (opcode) == SETUP_CLEANUP)
  |  |  ------------------
  |  |  |  |  251|     24|#define SETUP_CLEANUP                          263
  |  |  ------------------
  |  |  |  Branch (20:10): [True: 0, False: 24]
  |  |  ------------------
  ------------------
  |  Branch (793:41): [True: 0, False: 0]
  ------------------
  794|      0|        effects->net = 0;
  795|      0|        return 0;
  796|      0|    }
  797|     24|    effects->net = pushed - popped;
  798|     24|    return 0;
  799|     24|}

_PyFrame_MakeAndSetFrameObject:
   22|    435|{
   23|    435|    PyObject *exc = PyErr_GetRaisedException();
   24|       |
   25|    435|    PyFrameObject *f = _PyFrame_New_NoTrack(_PyFrame_GetCode(frame));
   26|    435|    if (f == NULL) {
  ------------------
  |  Branch (26:9): [True: 0, False: 435]
  ------------------
   27|      0|        Py_XDECREF(exc);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   28|      0|        return NULL;
   29|      0|    }
   30|    435|    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|    435|    assert(frame->owner != FRAME_OWNED_BY_FRAME_OBJECT);
  ------------------
  |  Branch (39:5): [True: 435, False: 0]
  ------------------
   40|    435|    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|    435|    assert(frame->frame_obj == NULL);
  ------------------
  |  Branch (48:5): [True: 435, False: 0]
  ------------------
   49|    435|    frame->frame_obj = f;
   50|    435|#endif
   51|    435|    return f;
   52|    435|}
_PyFrame_ClearLocals:
  101|  8.26k|{
  102|  8.26k|    assert(frame->stackpointer != NULL);
  ------------------
  |  Branch (102:5): [True: 8.26k, False: 0]
  ------------------
  103|  8.26k|    _PyStackRef *sp = frame->stackpointer;
  104|  8.26k|    _PyStackRef *locals = frame->localsplus;
  105|  8.26k|    frame->stackpointer = locals;
  106|  36.3k|    while (sp > locals) {
  ------------------
  |  Branch (106:12): [True: 28.1k, False: 8.26k]
  ------------------
  107|  28.1k|        sp--;
  108|  28.1k|        PyStackRef_XCLOSE(*sp);
  109|  28.1k|    }
  110|       |    Py_CLEAR(frame->f_locals);
  ------------------
  |  |  484|  8.26k|    do { \
  |  |  485|  8.26k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|  8.26k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  8.26k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|  8.26k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  8.26k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  8.26k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 300, False: 7.96k]
  |  |  ------------------
  |  |  488|    300|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    300|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|    300|            Py_DECREF(_tmp_old_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|    300|        } \
  |  |  491|  8.26k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 8.26k]
  |  |  ------------------
  ------------------
  111|  8.26k|}
_PyFrame_ClearExceptCode:
  115|  8.40k|{
  116|       |    /* It is the responsibility of the owning generator/coroutine
  117|       |     * to have cleared the enclosing generator, if any. */
  118|  8.40k|    assert(frame->owner != FRAME_OWNED_BY_GENERATOR ||
  ------------------
  |  Branch (118:5): [True: 8.29k, False: 113]
  |  Branch (118:5): [True: 113, False: 0]
  ------------------
  119|  8.40k|           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.40k|    assert(_PyThreadState_GET()->current_frame != frame);
  ------------------
  |  Branch (122:5): [True: 8.40k, False: 0]
  ------------------
  123|  8.40k|    PyFrameObject *f = FT_ATOMIC_LOAD_PTR_RELAXED(frame->frame_obj);
  ------------------
  |  |  153|  8.40k|#define FT_ATOMIC_LOAD_PTR_RELAXED(value) value
  ------------------
  124|  8.40k|    if (f != NULL) {
  ------------------
  |  Branch (124:9): [True: 435, False: 7.97k]
  ------------------
  125|    435|        FT_ATOMIC_STORE_PTR_RELAXED(frame->frame_obj, NULL);
  ------------------
  |  |  163|    435|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
  126|    435|        if (!_PyObject_IsUniquelyReferenced((PyObject *)f)) {
  ------------------
  |  Branch (126:13): [True: 140, False: 295]
  ------------------
  127|    140|            take_ownership(f, frame);
  128|    140|            Py_DECREF(f);
  ------------------
  |  |  430|    140|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    140|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    140|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  129|    140|            return;
  130|    140|        }
  131|    295|        Py_DECREF(f);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  132|    295|    }
  133|  8.26k|    _PyFrame_ClearLocals(frame);
  134|  8.26k|    PyStackRef_CLEAR(frame->f_funcobj);
  ------------------
  |  |  732|  8.26k|    do { \
  |  |  733|  8.26k|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|  8.26k|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|  8.26k|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|  8.26k|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|  8.26k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 8.26k]
  |  |  ------------------
  ------------------
  135|  8.26k|}
frame.c:take_ownership:
   56|    140|{
   57|    140|    Py_BEGIN_CRITICAL_SECTION(f);
  ------------------
  |  |   51|    140|    {
  ------------------
   58|    140|    assert(frame->owner < FRAME_OWNED_BY_INTERPRETER);
  ------------------
  |  Branch (58:5): [True: 140, False: 0]
  ------------------
   59|    140|    assert(frame->owner != FRAME_OWNED_BY_FRAME_OBJECT);
  ------------------
  |  Branch (59:5): [True: 140, False: 0]
  ------------------
   60|    140|    _PyInterpreterFrame *new_frame = (_PyInterpreterFrame *)f->_f_frame_data;
   61|    140|    _PyFrame_Copy(frame, new_frame);
   62|       |    // _PyFrame_Copy takes the reference to the executable,
   63|       |    // so we need to restore it.
   64|    140|    new_frame->f_executable = PyStackRef_DUP(new_frame->f_executable);
   65|    140|    f->f_frame = new_frame;
   66|    140|    new_frame->owner = FRAME_OWNED_BY_FRAME_OBJECT;
   67|    140|    if (_PyFrame_IsIncomplete(new_frame)) {
  ------------------
  |  Branch (67:9): [True: 0, False: 140]
  ------------------
   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|    140|    assert(!_PyFrame_IsIncomplete(new_frame));
  ------------------
  |  Branch (74:5): [True: 140, False: 0]
  ------------------
   75|    140|    assert(f->f_back == NULL);
  ------------------
  |  Branch (75:5): [True: 140, False: 0]
  ------------------
   76|    140|    _PyInterpreterFrame *prev = _PyFrame_GetFirstComplete(frame->previous);
   77|    140|    if (prev) {
  ------------------
  |  Branch (77:9): [True: 103, False: 37]
  ------------------
   78|    103|        assert(prev->owner < FRAME_OWNED_BY_INTERPRETER);
  ------------------
  |  Branch (78:9): [True: 103, False: 0]
  ------------------
   79|    103|        PyObject *exc = PyErr_GetRaisedException();
   80|       |        /* Link PyFrameObjects.f_back and remove link through _PyInterpreterFrame.previous */
   81|    103|        PyFrameObject *back = _PyFrame_GetFrameObject(prev);
   82|    103|        if (back == NULL) {
  ------------------
  |  Branch (82:13): [True: 0, False: 103]
  ------------------
   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|    103|        else {
   89|    103|            f->f_back = (PyFrameObject *)Py_NewRef(back);
  ------------------
  |  |  550|    103|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    103|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    103|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   90|    103|        }
   91|    103|        PyErr_SetRaisedException(exc);
   92|    103|    }
   93|    140|    if (!_PyObject_GC_IS_TRACKED((PyObject *)f)) {
  ------------------
  |  |   81|    140|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|    140|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (93:9): [True: 140, False: 0]
  ------------------
   94|    140|        _PyObject_GC_TRACK((PyObject *)f);
  ------------------
  |  |  505|    140|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    140|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    140|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   95|    140|    }
   96|    140|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    140|    }
  ------------------
   97|    140|}

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

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

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

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

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

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

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

_Py_hashtable_hash_ptr:
   94|     12|{
   95|     12|    return (Py_uhash_t)_Py_HashPointerRaw(key);
   96|     12|}
_Py_hashtable_get_entry_generic:
  141|  25.1k|{
  142|  25.1k|    Py_uhash_t key_hash = ht->hash_func(key);
  143|  25.1k|    size_t index = key_hash & (ht->nbuckets - 1);
  144|  25.1k|    _Py_hashtable_entry_t *entry = TABLE_HEAD(ht, index);
  ------------------
  |  |   59|  25.1k|        ((_Py_hashtable_entry_t *)_Py_SLIST_HEAD(&(HT)->buckets[BUCKET]))
  |  |  ------------------
  |  |  |  |   23|  25.1k|#define _Py_SLIST_HEAD(SLIST) _Py_RVALUE(((_Py_slist_t *)(SLIST))->head)
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|  25.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  145|  31.7k|    while (1) {
  ------------------
  |  Branch (145:12): [True: 31.7k, Folded]
  ------------------
  146|  31.7k|        if (entry == NULL) {
  ------------------
  |  Branch (146:13): [True: 17.8k, False: 13.8k]
  ------------------
  147|  17.8k|            return NULL;
  148|  17.8k|        }
  149|  13.8k|        if (entry->key_hash == key_hash && ht->compare_func(key, entry->key)) {
  ------------------
  |  Branch (149:13): [True: 7.29k, False: 6.53k]
  |  Branch (149:44): [True: 7.29k, False: 0]
  ------------------
  150|  7.29k|            break;
  151|  7.29k|        }
  152|  6.53k|        entry = ENTRY_NEXT(entry);
  ------------------
  |  |   61|  6.53k|        ((_Py_hashtable_entry_t *)_Py_SLIST_ITEM_NEXT(ENTRY))
  |  |  ------------------
  |  |  |  |   21|  6.53k|#define _Py_SLIST_ITEM_NEXT(ITEM) _Py_RVALUE(((_Py_slist_item_t *)(ITEM))->next)
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|  6.53k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  153|  6.53k|    }
  154|  7.29k|    return entry;
  155|  25.1k|}
_Py_hashtable_set:
  218|  2.28k|{
  219|  2.28k|    _Py_hashtable_entry_t *entry;
  220|       |
  221|  2.28k|#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.28k|    entry = ht->get_entry_func(ht, key);
  226|  2.28k|    assert(entry == NULL);
  ------------------
  |  Branch (226:5): [True: 2.28k, False: 0]
  ------------------
  227|  2.28k|#endif
  228|       |
  229|  2.28k|    entry = ht->alloc.malloc(sizeof(_Py_hashtable_entry_t));
  230|  2.28k|    if (entry == NULL) {
  ------------------
  |  Branch (230:9): [True: 0, False: 2.28k]
  ------------------
  231|       |        /* memory allocation failed */
  232|      0|        return -1;
  233|      0|    }
  234|       |
  235|  2.28k|    entry->key_hash = ht->hash_func(key);
  236|  2.28k|    entry->key = (void *)key;
  237|  2.28k|    entry->value = value;
  238|       |
  239|  2.28k|    ht->nentries++;
  240|  2.28k|    if ((float)ht->nentries / (float)ht->nbuckets > HASHTABLE_HIGH) {
  ------------------
  |  |   52|  2.28k|#define HASHTABLE_HIGH 0.50
  ------------------
  |  Branch (240:9): [True: 16, False: 2.27k]
  ------------------
  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.28k|    size_t index = entry->key_hash & (ht->nbuckets - 1);
  249|  2.28k|    _Py_slist_prepend(&ht->buckets[index], (_Py_slist_item_t*)entry);
  250|  2.28k|    return 0;
  251|  2.28k|}
_Py_hashtable_get:
  256|  22.8k|{
  257|  22.8k|    _Py_hashtable_entry_t *entry = ht->get_entry_func(ht, key);
  258|  22.8k|    if (entry != NULL) {
  ------------------
  |  Branch (258:9): [True: 7.29k, False: 15.5k]
  ------------------
  259|  7.29k|        return entry->value;
  260|  7.29k|    }
  261|  15.5k|    else {
  262|       |        return NULL;
  263|  15.5k|    }
  264|  22.8k|}
_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)
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|     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)
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      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.36k|{
   76|  6.36k|    item->next = list->head;
   77|  6.36k|    list->head = item;
   78|  6.36k|}
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)
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|  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)
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|  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)
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      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)
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      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:
  154|    362|{
  155|    362|    _PyRecursiveMutex_Lock(&IMPORT_LOCK(interp));
  ------------------
  |  |  114|    362|    (interp)->imports.lock
  ------------------
  156|    362|}
_PyImport_ReleaseLock:
  160|    362|{
  161|    362|    _PyRecursiveMutex_Unlock(&IMPORT_LOCK(interp));
  ------------------
  |  |  114|    362|    (interp)->imports.lock
  ------------------
  162|    362|}
_PyImport_InitModules:
  178|      2|{
  179|      2|    assert(MODULES(interp) == NULL);
  ------------------
  |  Branch (179:5): [True: 2, False: 0]
  ------------------
  180|      2|    MODULES(interp) = PyDict_New();
  ------------------
  |  |   90|      2|    (interp)->imports.modules
  ------------------
  181|      2|    if (MODULES(interp) == NULL) {
  ------------------
  |  |   90|      2|    (interp)->imports.modules
  ------------------
  |  Branch (181:9): [True: 0, False: 2]
  ------------------
  182|      0|        return NULL;
  183|      0|    }
  184|      2|    return MODULES(interp);
  ------------------
  |  |   90|      2|    (interp)->imports.modules
  ------------------
  185|      2|}
_PyImport_GetModules:
  189|     68|{
  190|     68|    return MODULES(interp);
  ------------------
  |  |   90|     68|    (interp)->imports.modules
  ------------------
  191|     68|}
_PyImport_SetModuleString:
  250|      2|{
  251|      2|    PyThreadState *tstate = _PyThreadState_GET();
  252|       |    PyObject *modules = get_modules_dict(tstate, true);
  253|      2|    return PyMapping_SetItemString(modules, name, m);
  254|      2|}
_PyImport_InitLazyModules:
  273|      2|{
  274|      2|    assert(LAZY_MODULES(interp) == NULL &&
  ------------------
  |  Branch (274:5): [True: 2, False: 0]
  |  Branch (274:5): [True: 2, False: 0]
  ------------------
  275|      2|           LAZY_PENDING_SUBMODULES(interp) == NULL);
  276|       |
  277|      2|    LAZY_PENDING_SUBMODULES(interp) = PyDict_New();
  ------------------
  |  |   96|      2|    (interp)->imports.lazy_pending_submodules
  ------------------
  278|      2|    LAZY_MODULES(interp) = PySet_New(0);
  ------------------
  |  |   94|      2|    (interp)->imports.lazy_modules
  ------------------
  279|      2|    return LAZY_MODULES(interp);
  ------------------
  |  |   94|      2|    (interp)->imports.lazy_modules
  ------------------
  280|      2|}
PyImport_GetModule:
  354|     69|{
  355|     69|    PyThreadState *tstate = _PyThreadState_GET();
  356|     69|    PyObject *mod;
  357|       |
  358|     69|    mod = import_get_module(tstate, name);
  359|     69|    if (mod != NULL && mod != Py_None) {
  ------------------
  |  |  616|     64|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (359:9): [True: 64, False: 5]
  |  Branch (359:24): [True: 64, False: 0]
  ------------------
  360|     64|        if (import_ensure_initialized(tstate->interp, mod, name) < 0) {
  ------------------
  |  Branch (360:13): [True: 0, False: 64]
  ------------------
  361|      0|            goto error;
  362|      0|        }
  363|       |        /* Verify the module is still in sys.modules. Another thread may have
  364|       |           removed it (due to import failure) between our import_get_module()
  365|       |           call and the _initializing check in import_ensure_initialized(). */
  366|     64|        PyObject *mod_check = import_get_module(tstate, name);
  367|     64|        if (mod_check != mod) {
  ------------------
  |  Branch (367:13): [True: 0, False: 64]
  ------------------
  368|      0|            Py_XDECREF(mod_check);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  369|      0|            if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (369:17): [True: 0, False: 0]
  ------------------
  370|      0|                goto error;
  371|      0|            }
  372|       |            /* The module was removed or replaced. Return NULL to report
  373|       |               "not found" rather than trying to keep up with racing
  374|       |               modifications to sys.modules; returning the new value would
  375|       |               require looping to redo the ensure_initialized check. */
  376|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  377|      0|            return NULL;
  378|      0|        }
  379|     64|        Py_DECREF(mod_check);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  380|     64|    }
  381|     69|    return mod;
  382|       |
  383|      0|error:
  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|    remove_importlib_frames(tstate);
  386|       |    return NULL;
  387|     69|}
PyImport_AddModuleRef:
  432|      4|{
  433|      4|    PyObject *name_obj = PyUnicode_FromString(name);
  434|      4|    if (name_obj == NULL) {
  ------------------
  |  Branch (434:9): [True: 0, False: 4]
  ------------------
  435|      0|        return NULL;
  436|      0|    }
  437|      4|    PyThreadState *tstate = _PyThreadState_GET();
  438|      4|    PyObject *module = import_add_module(tstate, name_obj);
  439|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  440|      4|    return module;
  441|      4|}
PyImport_AddModuleObject:
  446|      2|{
  447|      2|    PyThreadState *tstate = _PyThreadState_GET();
  448|      2|    PyObject *mod = import_add_module(tstate, name);
  449|      2|    if (!mod) {
  ------------------
  |  Branch (449:9): [True: 0, False: 2]
  ------------------
  450|      0|        return NULL;
  451|      0|    }
  452|       |
  453|       |    // gh-86160: PyImport_AddModuleObject() returns a borrowed reference.
  454|       |    // Create a weak reference to produce a borrowed reference, since it can
  455|       |    // become NULL. sys.modules type can be different than dict and it is not
  456|       |    // guaranteed that it keeps a strong reference to the module. It can be a
  457|       |    // custom mapping with __getitem__() which returns a new object or removes
  458|       |    // returned object, or __setitem__ which does nothing. There is so much
  459|       |    // unknown.  With weakref we can be sure that we get either a reference to
  460|       |    // live object or NULL.
  461|       |    //
  462|       |    // Use PyImport_AddModuleRef() to avoid these issues.
  463|      2|    PyObject *ref = PyWeakref_NewRef(mod, NULL);
  464|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  465|      2|    if (ref == NULL) {
  ------------------
  |  Branch (465:9): [True: 0, False: 2]
  ------------------
  466|      0|        return NULL;
  467|      0|    }
  468|      2|    mod = _PyWeakref_GET_REF(ref);
  469|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  470|      2|    Py_XDECREF(mod);
  ------------------
  |  |  524|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  471|       |
  472|      2|    if (mod == NULL && !PyErr_Occurred()) {
  ------------------
  |  Branch (472:9): [True: 0, False: 2]
  |  Branch (472:24): [True: 0, False: 0]
  ------------------
  473|      0|        PyErr_SetString(PyExc_RuntimeError,
  474|      0|                        "sys.modules does not hold a strong reference "
  475|      0|                        "to the module");
  476|      0|    }
  477|      2|    return mod; /* borrowed reference */
  478|      2|}
_PyImport_GetNextModuleIndex:
  525|     42|{
  526|     42|    return _Py_atomic_add_ssize(&LAST_MODULE_INDEX, 1) + 1;
  ------------------
  |  |   81|     42|#define LAST_MODULE_INDEX _PyRuntime.imports.last_module_index
  ------------------
  527|     42|}
_PyImport_ResolveNameWithPackageContext:
  904|      8|{
  905|      8|    if (PKGCONTEXT != NULL) {
  ------------------
  |  |  900|      8|# define PKGCONTEXT pkgcontext
  ------------------
  |  Branch (905:9): [True: 0, False: 8]
  ------------------
  906|      0|        const char *p = strrchr(PKGCONTEXT, '.');
  ------------------
  |  |  900|      0|# define PKGCONTEXT pkgcontext
  ------------------
  907|      0|        if (p != NULL && strcmp(name, p+1) == 0) {
  ------------------
  |  Branch (907:13): [True: 0, False: 0]
  |  Branch (907:26): [True: 0, False: 0]
  ------------------
  908|      0|            name = PKGCONTEXT;
  ------------------
  |  |  900|      0|# define PKGCONTEXT pkgcontext
  ------------------
  909|      0|            PKGCONTEXT = NULL;
  ------------------
  |  |  900|      0|# define PKGCONTEXT pkgcontext
  ------------------
  910|      0|        }
  911|      0|    }
  912|      8|    return name;
  913|      8|}
_PyImport_SwapPackageContext:
  917|     68|{
  918|     68|    const char *oldcontext = PKGCONTEXT;
  ------------------
  |  |  900|     68|# define PKGCONTEXT pkgcontext
  ------------------
  919|     68|    PKGCONTEXT = newcontext;
  ------------------
  |  |  900|     68|# define PKGCONTEXT pkgcontext
  ------------------
  920|     68|    return oldcontext;
  921|     68|}
_PyImport_GetDLOpenFlags:
  926|      2|{
  927|      2|    return FT_ATOMIC_LOAD_INT_RELAXED(DLOPENFLAGS(interp));
  ------------------
  |  |  186|      2|#define FT_ATOMIC_LOAD_INT_RELAXED(value) value
  ------------------
  928|      2|}
_PyImport_FixupBuiltin:
 2408|      4|{
 2409|      4|    int res = -1;
 2410|      4|    assert(mod != NULL && PyModule_Check(mod));
  ------------------
  |  Branch (2410:5): [True: 4, False: 0]
  |  Branch (2410:5): [True: 4, False: 0]
  ------------------
 2411|       |
 2412|      4|    PyObject *nameobj;
 2413|      4|    nameobj = PyUnicode_InternFromString(name);
 2414|      4|    if (nameobj == NULL) {
  ------------------
  |  Branch (2414:9): [True: 0, False: 4]
  ------------------
 2415|      0|        return -1;
 2416|      0|    }
 2417|       |
 2418|      4|    PyModuleDef *def = _PyModule_GetDefOrNull(mod);
 2419|      4|    if (def == NULL) {
  ------------------
  |  Branch (2419:9): [True: 0, False: 4]
  ------------------
 2420|      0|        assert(!PyErr_Occurred());
  ------------------
  |  Branch (2420:9): [True: 0, False: 0]
  ------------------
 2421|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2422|      0|        goto finally;
 2423|      0|    }
 2424|       |
 2425|       |    /* We only use _PyImport_FixupBuiltin() for the core builtin modules
 2426|       |     * (sys and builtins).  These modules are single-phase init with no
 2427|       |     * module state, but we also don't populate def->m_base.m_copy
 2428|       |     * for them. */
 2429|      4|    assert(is_core_module(tstate->interp, nameobj, nameobj));
  ------------------
  |  Branch (2429:5): [True: 4, False: 0]
  ------------------
 2430|      4|    assert_singlephase_def(def);
  ------------------
  |  | 1805|      4|    do {                                                            \
  |  | 1806|      4|        _Py_ext_module_kind kind = _get_extension_kind(def, true);  \
  |  | 1807|      4|        assert(kind == _Py_ext_module_kind_SINGLEPHASE              \
  |  | 1808|      4|                || kind == _Py_ext_module_kind_UNKNOWN);            \
  |  | 1809|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1809:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  |  Branch (2430:5): [True: 4, False: 0]
  |  Branch (2430:5): [True: 0, False: 0]
  ------------------
 2431|      4|    assert(def->m_size == -1);
  ------------------
  |  Branch (2431:5): [True: 4, False: 0]
  ------------------
 2432|      4|    assert(def->m_base.m_copy == NULL);
  ------------------
  |  Branch (2432:5): [True: 4, False: 0]
  ------------------
 2433|      4|    assert(def->m_base.m_index >= 0);
  ------------------
  |  Branch (2433:5): [True: 4, False: 0]
  ------------------
 2434|       |
 2435|       |    /* We aren't using import_find_extension() for core modules,
 2436|       |     * so we have to do the extra check to make sure the module
 2437|       |     * isn't already in the global cache before calling
 2438|       |     * update_global_state_for_extension(). */
 2439|      4|    struct extensions_cache_value *cached
 2440|      4|            = _extensions_cache_get(nameobj, nameobj);
 2441|      4|    if (cached == NULL) {
  ------------------
  |  Branch (2441:9): [True: 4, False: 0]
  ------------------
 2442|      4|        struct singlephase_global_update singlephase = {
 2443|      4|            .m_index=def->m_base.m_index,
 2444|       |            /* We don't want def->m_base.m_copy populated. */
 2445|      4|            .m_dict=NULL,
 2446|      4|            .origin=_Py_ext_module_origin_CORE,
 2447|       |#ifdef Py_GIL_DISABLED
 2448|       |            /* Unused when m_dict == NULL. */
 2449|       |            .md_requires_gil=false,
 2450|       |#endif
 2451|      4|        };
 2452|      4|        cached = update_global_state_for_extension(
 2453|      4|                tstate, nameobj, nameobj, def, &singlephase);
 2454|      4|        if (cached == NULL) {
  ------------------
  |  Branch (2454:13): [True: 0, False: 4]
  ------------------
 2455|      0|            goto finally;
 2456|      0|        }
 2457|      4|    }
 2458|       |
 2459|      4|    if (finish_singlephase_extension(tstate, mod, cached, nameobj, modules) < 0) {
  ------------------
  |  Branch (2459:9): [True: 0, False: 4]
  ------------------
 2460|      0|        goto finally;
 2461|      0|    }
 2462|       |
 2463|      4|    res = 0;
 2464|       |
 2465|      4|finally:
 2466|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2467|      4|    return res;
 2468|      4|}
_PyImport_GetBuiltinModuleNames:
 2713|      2|{
 2714|      2|    PyObject *list = PyList_New(0);
 2715|      2|    if (list == NULL) {
  ------------------
  |  Branch (2715:9): [True: 0, False: 2]
  ------------------
 2716|      0|        return NULL;
 2717|      0|    }
 2718|      2|    struct _inittab *inittab = INITTAB;
  ------------------
  |  |   80|      2|#define INITTAB _PyRuntime.imports.inittab
  ------------------
 2719|     78|    for (Py_ssize_t i = 0; inittab[i].name != NULL; i++) {
  ------------------
  |  Branch (2719:28): [True: 76, False: 2]
  ------------------
 2720|     76|        PyObject *name = PyUnicode_FromString(inittab[i].name);
 2721|     76|        if (name == NULL) {
  ------------------
  |  Branch (2721:13): [True: 0, False: 76]
  ------------------
 2722|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2723|      0|            return NULL;
 2724|      0|        }
 2725|     76|        if (PyList_Append(list, name) < 0) {
  ------------------
  |  Branch (2725:13): [True: 0, False: 76]
  ------------------
 2726|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2727|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2728|      0|            return NULL;
 2729|      0|        }
 2730|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2731|     76|    }
 2732|      2|    return list;
 2733|      2|}
PyImport_ImportFrozenModuleObject:
 3258|      4|{
 3259|      4|    PyThreadState *tstate = _PyThreadState_GET();
 3260|      4|    PyObject *co, *m, *d = NULL;
 3261|      4|    int err;
 3262|       |
 3263|      4|    struct frozen_info info;
 3264|      4|    frozen_status status = find_frozen(name, &info);
 3265|      4|    if (status == FROZEN_NOT_FOUND || status == FROZEN_DISABLED) {
  ------------------
  |  Branch (3265:9): [True: 0, False: 4]
  |  Branch (3265:39): [True: 0, False: 4]
  ------------------
 3266|      0|        return 0;
 3267|      0|    }
 3268|      4|    else if (status == FROZEN_BAD_NAME) {
  ------------------
  |  Branch (3268:14): [True: 0, False: 4]
  ------------------
 3269|      0|        return 0;
 3270|      0|    }
 3271|      4|    else if (status != FROZEN_OKAY) {
  ------------------
  |  Branch (3271:14): [True: 0, False: 4]
  ------------------
 3272|      0|        set_frozen_error(status, name);
 3273|      0|        return -1;
 3274|      0|    }
 3275|      4|    co = unmarshal_frozen_code(tstate->interp, &info);
 3276|      4|    if (co == NULL) {
  ------------------
  |  Branch (3276:9): [True: 0, False: 4]
  ------------------
 3277|      0|        return -1;
 3278|      0|    }
 3279|      4|    if (info.is_package) {
  ------------------
  |  Branch (3279:9): [True: 0, False: 4]
  ------------------
 3280|       |        /* Set __path__ to the empty list */
 3281|      0|        PyObject *l;
 3282|      0|        m = import_add_module(tstate, name);
 3283|      0|        if (m == NULL)
  ------------------
  |  Branch (3283:13): [True: 0, False: 0]
  ------------------
 3284|      0|            goto err_return;
 3285|      0|        d = PyModule_GetDict(m);
 3286|      0|        l = PyList_New(0);
 3287|      0|        if (l == NULL) {
  ------------------
  |  Branch (3287:13): [True: 0, False: 0]
  ------------------
 3288|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3289|      0|            goto err_return;
 3290|      0|        }
 3291|      0|        err = PyDict_SetItemString(d, "__path__", l);
 3292|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3293|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3294|      0|        if (err != 0)
  ------------------
  |  Branch (3294:13): [True: 0, False: 0]
  ------------------
 3295|      0|            goto err_return;
 3296|      0|    }
 3297|      4|    d = module_dict_for_exec(tstate, name);
 3298|      4|    if (d == NULL) {
  ------------------
  |  Branch (3298:9): [True: 0, False: 4]
  ------------------
 3299|      0|        goto err_return;
 3300|      0|    }
 3301|      4|    m = exec_code_in_module(tstate, name, d, co);
 3302|      4|    if (m == NULL) {
  ------------------
  |  Branch (3302:9): [True: 0, False: 4]
  ------------------
 3303|      0|        goto err_return;
 3304|      0|    }
 3305|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3306|       |    /* Set __origname__ (consumed in FrozenImporter._setup_module()). */
 3307|      4|    PyObject *origname;
 3308|      4|    if (info.origname) {
  ------------------
  |  Branch (3308:9): [True: 4, False: 0]
  ------------------
 3309|      4|        origname = PyUnicode_FromString(info.origname);
 3310|      4|        if (origname == NULL) {
  ------------------
  |  Branch (3310:13): [True: 0, False: 4]
  ------------------
 3311|      0|            goto err_return;
 3312|      0|        }
 3313|      4|    }
 3314|      0|    else {
 3315|      0|        origname = Py_NewRef(Py_None);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3316|      0|    }
 3317|      4|    err = PyDict_SetItemString(d, "__origname__", origname);
 3318|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3319|      4|    if (err != 0) {
  ------------------
  |  Branch (3319:9): [True: 0, False: 4]
  ------------------
 3320|      0|        goto err_return;
 3321|      0|    }
 3322|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3323|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3324|      4|    return 1;
 3325|       |
 3326|      0|err_return:
 3327|      0|    Py_XDECREF(d);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3328|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3329|      0|    return -1;
 3330|      4|}
PyImport_ImportFrozenModule:
 3334|      4|{
 3335|      4|    PyObject *nameobj;
 3336|      4|    int ret;
 3337|      4|    nameobj = PyUnicode_InternFromString(name);
 3338|      4|    if (nameobj == NULL)
  ------------------
  |  Branch (3338:9): [True: 0, False: 4]
  ------------------
 3339|      0|        return -1;
 3340|      4|    ret = PyImport_ImportFrozenModuleObject(nameobj);
 3341|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3342|      4|    return ret;
 3343|      4|}
_PyImport_GetImportlibLoader:
 3473|      2|{
 3474|      2|    return PyObject_GetAttrString(IMPORTLIB(interp), loader_name);
  ------------------
  |  |   98|      2|    (interp)->imports.importlib
  ------------------
 3475|      2|}
_PyImport_InitDefaultImportFunc:
 3602|      2|{
 3603|       |    // Get the __import__ function
 3604|      2|    PyObject *import_func;
 3605|      2|    if (PyDict_GetItemStringRef(interp->builtins, "__import__", &import_func) <= 0) {
  ------------------
  |  Branch (3605:9): [True: 0, False: 2]
  ------------------
 3606|      0|        return -1;
 3607|      0|    }
 3608|      2|    IMPORT_FUNC(interp) = import_func;
  ------------------
  |  |  108|      2|    (interp)->imports.import_func
  ------------------
 3609|       |
 3610|       |    // Get the __lazy_import__ function
 3611|      2|    if (PyDict_GetItemStringRef(interp->builtins, "__lazy_import__",
  ------------------
  |  Branch (3611:9): [True: 0, False: 2]
  ------------------
 3612|      2|                                &import_func) <= 0) {
 3613|      0|        return -1;
 3614|      0|    }
 3615|      2|    LAZY_IMPORT_FUNC(interp) = import_func;
  ------------------
  |  |  111|      2|    (interp)->imports.lazy_import_func
  ------------------
 3616|      2|    return 0;
 3617|      2|}
_PyImport_IsDefaultImportFunc:
 3621|    293|{
 3622|    293|    return func == IMPORT_FUNC(interp);
  ------------------
  |  |  108|    293|    (interp)->imports.import_func
  ------------------
 3623|    293|}
_PyImport_IsDefaultLazyImportFunc:
 3627|     12|{
 3628|     12|    return func == LAZY_IMPORT_FUNC(interp);
  ------------------
  |  |  111|     12|    (interp)->imports.lazy_import_func
  ------------------
 3629|     12|}
PyImport_ImportModule:
 3636|     12|{
 3637|     12|    PyObject *pname;
 3638|     12|    PyObject *result;
 3639|       |
 3640|     12|    pname = PyUnicode_FromString(name);
 3641|     12|    if (pname == NULL)
  ------------------
  |  Branch (3641:9): [True: 0, False: 12]
  ------------------
 3642|      0|        return NULL;
 3643|     12|    result = PyImport_Import(pname);
 3644|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3645|     12|    return result;
 3646|     12|}
PyImport_ImportModuleLevelObject:
 4209|    407|{
 4210|    407|    PyThreadState *tstate = _PyThreadState_GET();
 4211|    407|    PyObject *abs_name = NULL;
 4212|    407|    PyObject *final_mod = NULL;
 4213|    407|    PyObject *mod = NULL;
 4214|    407|    PyInterpreterState *interp = tstate->interp;
 4215|    407|    int has_from;
 4216|       |
 4217|    407|    if (name == NULL) {
  ------------------
  |  Branch (4217:9): [True: 0, False: 407]
  ------------------
 4218|      0|        _PyErr_SetString(tstate, PyExc_ValueError, "Empty module name");
 4219|      0|        goto error;
 4220|      0|    }
 4221|       |
 4222|       |    /* The below code is importlib.__import__() & _gcd_import(), ported to C
 4223|       |       for added performance. */
 4224|       |
 4225|    407|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|    407|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    407|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4225:9): [True: 0, False: 407]
  ------------------
 4226|      0|        _PyErr_SetString(tstate, PyExc_TypeError,
 4227|      0|                         "module name must be a string");
 4228|      0|        goto error;
 4229|      0|    }
 4230|    407|    if (level < 0) {
  ------------------
  |  Branch (4230:9): [True: 0, False: 407]
  ------------------
 4231|      0|        _PyErr_SetString(tstate, PyExc_ValueError, "level must be >= 0");
 4232|      0|        goto error;
 4233|      0|    }
 4234|       |
 4235|    407|    abs_name = get_abs_name(tstate, name, globals, level);
 4236|    407|    if (abs_name == NULL) {
  ------------------
  |  Branch (4236:9): [True: 0, False: 407]
  ------------------
 4237|      0|        goto error;
 4238|      0|    }
 4239|       |
 4240|    407|    mod = import_get_module(tstate, abs_name);
 4241|    407|    if (mod == NULL && _PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (4241:9): [True: 81, False: 326]
  |  Branch (4241:24): [True: 0, False: 81]
  ------------------
 4242|      0|        goto error;
 4243|      0|    }
 4244|       |
 4245|    407|    if (mod != NULL && mod != Py_None) {
  ------------------
  |  |  616|    326|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (4245:9): [True: 326, False: 81]
  |  Branch (4245:24): [True: 326, False: 0]
  ------------------
 4246|    326|        if (import_ensure_initialized(tstate->interp, mod, abs_name) < 0) {
  ------------------
  |  Branch (4246:13): [True: 0, False: 326]
  ------------------
 4247|      0|            goto error;
 4248|      0|        }
 4249|       |        /* Verify the module is still in sys.modules. Another thread may have
 4250|       |           removed it (due to import failure) between our import_get_module()
 4251|       |           call and the _initializing check in import_ensure_initialized().
 4252|       |           If removed, we retry the import to preserve normal semantics: the
 4253|       |           caller gets the exception from the actual import failure rather
 4254|       |           than a synthetic error. */
 4255|    326|        PyObject *mod_check = import_get_module(tstate, abs_name);
 4256|    326|        if (mod_check != mod) {
  ------------------
  |  Branch (4256:13): [True: 0, False: 326]
  ------------------
 4257|      0|            Py_XDECREF(mod_check);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4258|      0|            if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (4258:17): [True: 0, False: 0]
  ------------------
 4259|      0|                goto error;
 4260|      0|            }
 4261|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4262|      0|            mod = import_find_and_load(tstate, abs_name);
 4263|      0|            if (mod == NULL) {
  ------------------
  |  Branch (4263:17): [True: 0, False: 0]
  ------------------
 4264|      0|                goto error;
 4265|      0|            }
 4266|      0|        }
 4267|    326|        else {
 4268|    326|            Py_DECREF(mod_check);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4269|    326|        }
 4270|    326|    }
 4271|     81|    else {
 4272|     81|        Py_XDECREF(mod);
  ------------------
  |  |  524|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4273|     81|        mod = import_find_and_load(tstate, abs_name);
 4274|     81|        if (mod == NULL) {
  ------------------
  |  Branch (4274:13): [True: 4, False: 77]
  ------------------
 4275|      4|            goto error;
 4276|      4|        }
 4277|     81|    }
 4278|       |
 4279|    403|    has_from = 0;
 4280|    403|    if (fromlist != NULL && fromlist != Py_None) {
  ------------------
  |  |  616|    371|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (4280:9): [True: 371, False: 32]
  |  Branch (4280:29): [True: 173, False: 198]
  ------------------
 4281|    173|        has_from = PyObject_IsTrue(fromlist);
 4282|    173|        if (has_from < 0)
  ------------------
  |  Branch (4282:13): [True: 0, False: 173]
  ------------------
 4283|      0|            goto error;
 4284|    173|    }
 4285|    403|    if (!has_from) {
  ------------------
  |  Branch (4285:9): [True: 310, False: 93]
  ------------------
 4286|    310|        Py_ssize_t len = PyUnicode_GET_LENGTH(name);
  ------------------
  |  |  299|    310|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    310|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    310|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4287|    310|        if (level == 0 || len > 0) {
  ------------------
  |  Branch (4287:13): [True: 310, False: 0]
  |  Branch (4287:27): [True: 0, False: 0]
  ------------------
 4288|    310|            Py_ssize_t dot;
 4289|       |
 4290|    310|            dot = PyUnicode_FindChar(name, '.', 0, len, 1);
 4291|    310|            if (dot == -2) {
  ------------------
  |  Branch (4291:17): [True: 0, False: 310]
  ------------------
 4292|      0|                goto error;
 4293|      0|            }
 4294|       |
 4295|    310|            if (dot == -1) {
  ------------------
  |  Branch (4295:17): [True: 306, False: 4]
  ------------------
 4296|       |                /* No dot in module name, simple exit */
 4297|    306|                final_mod = Py_NewRef(mod);
  ------------------
  |  |  550|    306|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    306|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    306|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4298|    306|                goto error;
 4299|    306|            }
 4300|       |
 4301|      4|            if (level == 0) {
  ------------------
  |  Branch (4301:17): [True: 4, False: 0]
  ------------------
 4302|      4|                PyObject *front = PyUnicode_Substring(name, 0, dot);
 4303|      4|                if (front == NULL) {
  ------------------
  |  Branch (4303:21): [True: 0, False: 4]
  ------------------
 4304|      0|                    goto error;
 4305|      0|                }
 4306|       |
 4307|      4|                final_mod = PyImport_ImportModuleLevelObject(front, NULL, NULL, NULL, 0);
 4308|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4309|      4|            }
 4310|      0|            else {
 4311|      0|                Py_ssize_t cut_off = len - dot;
 4312|      0|                Py_ssize_t abs_name_len = PyUnicode_GET_LENGTH(abs_name);
  ------------------
  |  |  299|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4313|      0|                PyObject *to_return = PyUnicode_Substring(abs_name, 0,
 4314|      0|                                                        abs_name_len - cut_off);
 4315|      0|                if (to_return == NULL) {
  ------------------
  |  Branch (4315:21): [True: 0, False: 0]
  ------------------
 4316|      0|                    goto error;
 4317|      0|                }
 4318|       |
 4319|      0|                final_mod = import_get_module(tstate, to_return);
 4320|      0|                if (final_mod == NULL) {
  ------------------
  |  Branch (4320:21): [True: 0, False: 0]
  ------------------
 4321|      0|                    if (!_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (4321:25): [True: 0, False: 0]
  ------------------
 4322|      0|                        _PyErr_Format(tstate, PyExc_KeyError,
 4323|      0|                                      "%R not in sys.modules as expected",
 4324|      0|                                      to_return);
 4325|      0|                    }
 4326|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4327|      0|                    goto error;
 4328|      0|                }
 4329|       |
 4330|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4331|      0|            }
 4332|      4|        }
 4333|      0|        else {
 4334|      0|            final_mod = Py_NewRef(mod);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4335|      0|        }
 4336|    310|    }
 4337|     93|    else {
 4338|     93|        int has_path = PyObject_HasAttrWithError(mod, &_Py_ID(__path__));
  ------------------
  |  |  936|     93|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     93|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     93|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4339|     93|        if (has_path < 0) {
  ------------------
  |  Branch (4339:13): [True: 0, False: 93]
  ------------------
 4340|      0|            goto error;
 4341|      0|        }
 4342|     93|        if (has_path) {
  ------------------
  |  Branch (4342:13): [True: 6, False: 87]
  ------------------
 4343|      6|            final_mod = PyObject_CallMethodObjArgs(
 4344|      6|                        IMPORTLIB(interp), &_Py_ID(_handle_fromlist),
  ------------------
  |  |   98|      6|    (interp)->imports.importlib
  ------------------
                                      IMPORTLIB(interp), &_Py_ID(_handle_fromlist),
  ------------------
  |  |  936|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4345|      6|                        mod, fromlist, IMPORT_FUNC(interp), NULL);
  ------------------
  |  |  108|      6|    (interp)->imports.import_func
  ------------------
 4346|      6|        }
 4347|     87|        else {
 4348|     87|            final_mod = Py_NewRef(mod);
  ------------------
  |  |  550|     87|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     87|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     87|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4349|     87|        }
 4350|     93|    }
 4351|       |
 4352|    407|  error:
 4353|    407|    Py_XDECREF(abs_name);
  ------------------
  |  |  524|    407|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    407|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    407|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4354|    407|    Py_XDECREF(mod);
  ------------------
  |  |  524|    407|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    407|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    407|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4355|    407|    if (final_mod == NULL) {
  ------------------
  |  Branch (4355:9): [True: 4, False: 403]
  ------------------
 4356|      4|        remove_importlib_frames(tstate);
 4357|      4|    }
 4358|    407|    return final_mod;
 4359|    403|}
_PyImport_TryLoadLazySubmodule:
 4469|    261|{
 4470|    261|    assert(result != NULL);
  ------------------
  |  Branch (4470:5): [True: 261, False: 0]
  ------------------
 4471|    261|    *result = NULL;
 4472|       |
 4473|    261|    PyThreadState *tstate = _PyThreadState_GET();
 4474|    261|    PyInterpreterState *interp = tstate->interp;
 4475|    261|    PyObject *lazy_pending = LAZY_PENDING_SUBMODULES(interp);
  ------------------
  |  |   96|    261|    (interp)->imports.lazy_pending_submodules
  ------------------
 4476|    261|    if (lazy_pending == NULL) {
  ------------------
  |  Branch (4476:9): [True: 0, False: 261]
  ------------------
 4477|      0|        return _Py_LAZY_SUBMODULE_NOT_FOUND;
 4478|      0|    }
 4479|       |
 4480|    261|    PyObject *pending_set;
 4481|    261|    int rc = PyDict_GetItemRef(lazy_pending, mod_name, &pending_set);
 4482|    261|    if (rc < 0) {
  ------------------
  |  Branch (4482:9): [True: 0, False: 261]
  ------------------
 4483|      0|        return _Py_LAZY_SUBMODULE_ERROR;
 4484|      0|    }
 4485|    261|    if (rc == 0) {
  ------------------
  |  Branch (4485:9): [True: 259, False: 2]
  ------------------
 4486|    259|        return _Py_LAZY_SUBMODULE_NOT_FOUND;
 4487|    259|    }
 4488|       |
 4489|      2|    int contains = PySet_Contains(pending_set, attr_name);
 4490|      2|    if (contains < 0) {
  ------------------
  |  Branch (4490:9): [True: 0, False: 2]
  ------------------
 4491|      0|        Py_DECREF(pending_set);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4492|      0|        return _Py_LAZY_SUBMODULE_ERROR;
 4493|      0|    }
 4494|      2|    if (contains == 0) {
  ------------------
  |  Branch (4494:9): [True: 2, False: 0]
  ------------------
 4495|      2|        Py_DECREF(pending_set);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4496|      2|        return _Py_LAZY_SUBMODULE_NOT_FOUND;
 4497|      2|    }
 4498|       |
 4499|      0|    PyObject *full_name = PyUnicode_FromFormat("%U.%U", mod_name, attr_name);
 4500|      0|    if (full_name == NULL) {
  ------------------
  |  Branch (4500:9): [True: 0, False: 0]
  ------------------
 4501|      0|        Py_DECREF(pending_set);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4502|      0|        return _Py_LAZY_SUBMODULE_ERROR;
 4503|      0|    }
 4504|       |
 4505|      0|    PyObject *mod = import_find_and_load_with_name(
 4506|      0|        tstate, full_name, &_Py_ID(_find_and_load_lazy_submodule), Py_None);
  ------------------
  |  |  936|      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)
  ------------------
 4507|      0|    if (mod == NULL) {
  ------------------
  |  Branch (4507:9): [True: 0, False: 0]
  ------------------
 4508|      0|        Py_DECREF(pending_set);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4509|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4510|      0|        remove_importlib_frames(tstate);
 4511|      0|        return _Py_LAZY_SUBMODULE_ERROR;
 4512|      0|    }
 4513|      0|    if (mod == Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (4513:9): [True: 0, False: 0]
  ------------------
 4514|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4515|      0|        Py_DECREF(pending_set);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4516|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4517|      0|        return _Py_LAZY_SUBMODULE_NOT_FOUND;
 4518|      0|    }
 4519|       |
 4520|      0|    if (PySet_Discard(pending_set, attr_name) < 0) {
  ------------------
  |  Branch (4520:9): [True: 0, False: 0]
  ------------------
 4521|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4522|      0|        Py_DECREF(pending_set);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4523|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4524|      0|        return _Py_LAZY_SUBMODULE_ERROR;
 4525|      0|    }
 4526|      0|    Py_DECREF(pending_set);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4527|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4528|      0|    *result = mod;
 4529|      0|    return _Py_LAZY_SUBMODULE_LOADED;
 4530|      0|}
_PyImport_LazyImportModuleLevelObject:
 4537|     12|{
 4538|     12|    assert(name != NULL);
  ------------------
  |  Branch (4538:5): [True: 12, False: 0]
  ------------------
 4539|     12|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|     12|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     12|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4539:9): [True: 0, False: 12]
  ------------------
 4540|      0|        _PyErr_Format(tstate, PyExc_TypeError,
 4541|      0|                      "module name must be a string, got %T", name);
 4542|      0|        return NULL;
 4543|      0|    }
 4544|     12|    if (level < 0) {
  ------------------
  |  Branch (4544:9): [True: 0, False: 12]
  ------------------
 4545|      0|        _PyErr_SetString(tstate, PyExc_ValueError, "level must be >= 0");
 4546|      0|        return NULL;
 4547|      0|    }
 4548|       |
 4549|     12|    PyObject *abs_name = get_abs_name(tstate, name, globals, level);
 4550|     12|    if (abs_name == NULL) {
  ------------------
  |  Branch (4550:9): [True: 0, False: 12]
  ------------------
 4551|      0|        return NULL;
 4552|      0|    }
 4553|       |
 4554|     12|    PyInterpreterState *interp = tstate->interp;
 4555|     12|    _PyInterpreterFrame *frame = _PyEval_GetFrame();
 4556|     12|    if (frame == NULL || frame->f_globals != frame->f_locals) {
  ------------------
  |  Branch (4556:9): [True: 0, False: 12]
  |  Branch (4556:26): [True: 0, False: 12]
  ------------------
 4557|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4558|      0|        PyErr_SetString(PyExc_SyntaxError,
 4559|      0|                        "'lazy import' is only allowed at module level");
 4560|      0|        return NULL;
 4561|      0|    }
 4562|       |
 4563|       |    // Check if the filter disables the lazy import.
 4564|       |    // We must hold a reference to the filter while calling it to prevent
 4565|       |    // use-after-free if another thread replaces it via
 4566|       |    // PyImport_SetLazyImportsFilter.
 4567|     12|    LAZY_IMPORTS_LOCK(interp);
 4568|     12|    PyObject *filter = Py_XNewRef(LAZY_IMPORTS_FILTER(interp));
  ------------------
  |  |  551|     12|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4569|     12|    LAZY_IMPORTS_UNLOCK(interp);
 4570|       |
 4571|     12|    if (filter != NULL) {
  ------------------
  |  Branch (4571:9): [True: 0, False: 12]
  ------------------
 4572|      0|        PyObject *modname;
 4573|      0|        if (PyDict_GetItemRef(globals, &_Py_ID(__name__), &modname) < 0) {
  ------------------
  |  |  936|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4573:13): [True: 0, False: 0]
  ------------------
 4574|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4575|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4576|      0|            return NULL;
 4577|      0|        }
 4578|      0|        if (modname == NULL) {
  ------------------
  |  Branch (4578:13): [True: 0, False: 0]
  ------------------
 4579|      0|            assert(!PyErr_Occurred());
  ------------------
  |  Branch (4579:13): [True: 0, False: 0]
  ------------------
 4580|      0|            modname = Py_NewRef(Py_None);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4581|      0|        }
 4582|      0|        if (fromlist == NULL) {
  ------------------
  |  Branch (4582:13): [True: 0, False: 0]
  ------------------
 4583|      0|            assert(!PyErr_Occurred());
  ------------------
  |  Branch (4583:13): [True: 0, False: 0]
  ------------------
 4584|      0|            fromlist = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
 4585|      0|        }
 4586|      0|        PyObject *args[] = {modname, abs_name, fromlist};
 4587|      0|        PyObject *res = PyObject_Vectorcall(filter, args, 3, NULL);
 4588|       |
 4589|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4590|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4591|       |
 4592|      0|        if (res == NULL) {
  ------------------
  |  Branch (4592:13): [True: 0, False: 0]
  ------------------
 4593|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4594|      0|            return NULL;
 4595|      0|        }
 4596|       |
 4597|      0|        int is_true = PyObject_IsTrue(res);
 4598|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4599|       |
 4600|      0|        if (is_true < 0) {
  ------------------
  |  Branch (4600:13): [True: 0, False: 0]
  ------------------
 4601|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4602|      0|            return NULL;
 4603|      0|        }
 4604|      0|        if (!is_true) {
  ------------------
  |  Branch (4604:13): [True: 0, False: 0]
  ------------------
 4605|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4606|      0|            return PyImport_ImportModuleLevelObject(
 4607|      0|                name, globals, locals, fromlist, level
 4608|      0|            );
 4609|      0|        }
 4610|      0|    }
 4611|       |
 4612|       |    // here, 'filter' is either NULL or is equivalent to a borrowed reference
 4613|     12|    if (fromlist && PyUnicode_Check(fromlist)) {
  ------------------
  |  |  103|     12|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     12|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 12]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4613:9): [True: 12, False: 0]
  ------------------
 4614|      0|        fromlist = PyTuple_Pack(1, fromlist);
 4615|      0|        if (fromlist == NULL) {
  ------------------
  |  Branch (4615:13): [True: 0, False: 0]
  ------------------
 4616|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4617|      0|            return NULL;
 4618|      0|        }
 4619|      0|    }
 4620|     12|    else {
 4621|     12|        Py_XINCREF(fromlist);
  ------------------
  |  |  514|     12|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4622|     12|    }
 4623|     12|    PyObject *res = _PyLazyImport_New(frame, builtins, abs_name, fromlist);
 4624|     12|    if (res == NULL) {
  ------------------
  |  Branch (4624:9): [True: 0, False: 12]
  ------------------
 4625|      0|        Py_XDECREF(fromlist);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4626|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4627|      0|        return NULL;
 4628|      0|    }
 4629|       |
 4630|       |    // Add the module name to sys.lazy_modules set (PEP 810).
 4631|     12|    PyObject *lazy_modules = LAZY_MODULES(tstate->interp);
  ------------------
  |  |   94|     12|    (interp)->imports.lazy_modules
  ------------------
 4632|     12|    if (PySet_Add(lazy_modules, abs_name) < 0) {
  ------------------
  |  Branch (4632:9): [True: 0, False: 12]
  ------------------
 4633|      0|        goto error;
 4634|      0|    }
 4635|       |
 4636|     12|    if (fromlist && PyTuple_Check(fromlist) && PyTuple_GET_SIZE(fromlist)) {
  ------------------
  |  |   27|     12|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     24|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 2, False: 10]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (fromlist && PyTuple_Check(fromlist) && PyTuple_GET_SIZE(fromlist)) {
  ------------------
  |  |   27|      2|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (27:30): [True: 2, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (4636:9): [True: 12, False: 0]
  ------------------
 4637|      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 (4637:32): [True: 2, False: 2]
  ------------------
 4638|      2|            if (register_from_lazy_on_parent(tstate, abs_name,
  ------------------
  |  Branch (4638:17): [True: 0, False: 2]
  ------------------
 4639|      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 (4639:46): [True: 2, False: 0]
  ------------------
 4640|      0|            {
 4641|      0|                goto error;
 4642|      0|            }
 4643|      2|        }
 4644|      2|    }
 4645|     10|    else if (register_lazy_on_parent(tstate, abs_name) < 0) {
  ------------------
  |  Branch (4645:14): [True: 0, False: 10]
  ------------------
 4646|      0|        goto error;
 4647|      0|    }
 4648|       |
 4649|     12|    Py_XDECREF(fromlist);
  ------------------
  |  |  524|     12|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4650|     12|    Py_DECREF(abs_name);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4651|     12|    return res;
 4652|      0|error:
 4653|      0|    Py_XDECREF(fromlist);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4654|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4655|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4656|       |    return NULL;
 4657|     12|}
PyImport_ImportModuleLevel:
 4662|     15|{
 4663|     15|    PyObject *nameobj, *mod;
 4664|     15|    nameobj = PyUnicode_FromString(name);
 4665|     15|    if (nameobj == NULL)
  ------------------
  |  Branch (4665:9): [True: 0, False: 15]
  ------------------
 4666|      0|        return NULL;
 4667|     15|    mod = PyImport_ImportModuleLevelObject(nameobj, globals, locals,
 4668|     15|                                           fromlist, level);
 4669|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4670|     15|    return mod;
 4671|     15|}
PyImport_Import:
 4710|     80|{
 4711|     80|    PyThreadState *tstate = _PyThreadState_GET();
 4712|     80|    PyObject *globals = NULL;
 4713|     80|    PyObject *import = NULL;
 4714|     80|    PyObject *builtins = NULL;
 4715|     80|    PyObject *r = NULL;
 4716|       |
 4717|     80|    PyObject *from_list = PyList_New(0);
 4718|     80|    if (from_list == NULL) {
  ------------------
  |  Branch (4718:9): [True: 0, False: 80]
  ------------------
 4719|      0|        goto err;
 4720|      0|    }
 4721|       |
 4722|       |    /* Get the builtins from current globals */
 4723|     80|    globals = PyEval_GetGlobals();  // borrowed
 4724|     80|    if (globals != NULL) {
  ------------------
  |  Branch (4724:9): [True: 65, False: 15]
  ------------------
 4725|     65|        Py_INCREF(globals);
  ------------------
  |  |  310|     65|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     65|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     65|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4726|       |        // XXX Use _PyEval_EnsureBuiltins()?
 4727|     65|        builtins = PyObject_GetItem(globals, &_Py_ID(__builtins__));
  ------------------
  |  |  936|     65|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     65|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     65|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4728|     65|        if (builtins == NULL) {
  ------------------
  |  Branch (4728:13): [True: 0, False: 65]
  ------------------
 4729|       |            // XXX Fall back to interp->builtins or sys.modules['builtins']?
 4730|      0|            goto err;
 4731|      0|        }
 4732|     65|    }
 4733|     15|    else if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (4733:14): [True: 0, False: 15]
  ------------------
 4734|      0|        goto err;
 4735|      0|    }
 4736|     15|    else {
 4737|       |        /* No globals -- use standard builtins, and fake globals */
 4738|     15|        globals = PyDict_New();
 4739|     15|        if (globals == NULL) {
  ------------------
  |  Branch (4739:13): [True: 0, False: 15]
  ------------------
 4740|      0|            goto err;
 4741|      0|        }
 4742|     15|        if (_PyEval_EnsureBuiltinsWithModule(tstate, globals, &builtins) < 0) {
  ------------------
  |  Branch (4742:13): [True: 0, False: 15]
  ------------------
 4743|      0|            goto err;
 4744|      0|        }
 4745|     15|    }
 4746|       |
 4747|       |    /* Get the __import__ function from the builtins */
 4748|     80|    if (PyDict_Check(builtins)) {
  ------------------
  |  |   18|     80|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     80|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 65, False: 15]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4749|     65|        import = PyObject_GetItem(builtins, &_Py_ID(__import__));
  ------------------
  |  |  936|     65|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     65|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     65|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4750|     65|        if (import == NULL) {
  ------------------
  |  Branch (4750:13): [True: 0, False: 65]
  ------------------
 4751|      0|            _PyErr_SetObject(tstate, PyExc_KeyError, &_Py_ID(__import__));
  ------------------
  |  |  936|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4752|      0|        }
 4753|     65|    }
 4754|     15|    else
 4755|     15|        import = PyObject_GetAttr(builtins, &_Py_ID(__import__));
  ------------------
  |  |  936|     15|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     15|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     15|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4756|     80|    if (import == NULL)
  ------------------
  |  Branch (4756:9): [True: 0, False: 80]
  ------------------
 4757|      0|        goto err;
 4758|       |
 4759|       |    /* Call the __import__ function with the proper argument list
 4760|       |       Always use absolute import here.
 4761|       |       Calling for side-effect of import. */
 4762|     80|    r = PyObject_CallFunction(import, "OOOOi", module_name, globals,
 4763|     80|                              globals, from_list, 0, NULL);
 4764|     80|    if (r == NULL)
  ------------------
  |  Branch (4764:9): [True: 0, False: 80]
  ------------------
 4765|      0|        goto err;
 4766|     80|    Py_DECREF(r);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4767|       |
 4768|     80|    r = import_get_module(tstate, module_name);
 4769|     80|    if (r == NULL && !_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (4769:9): [True: 0, False: 80]
  |  Branch (4769:22): [True: 0, False: 0]
  ------------------
 4770|      0|        _PyErr_SetObject(tstate, PyExc_KeyError, module_name);
 4771|      0|    }
 4772|       |
 4773|     80|  err:
 4774|     80|    Py_XDECREF(globals);
  ------------------
  |  |  524|     80|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     80|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     80|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4775|     80|    Py_XDECREF(builtins);
  ------------------
  |  |  524|     80|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     80|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     80|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4776|     80|    Py_XDECREF(import);
  ------------------
  |  |  524|     80|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     80|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     80|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4777|     80|    Py_XDECREF(from_list);
  ------------------
  |  |  524|     80|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     80|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     80|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4778|       |
 4779|     80|    return r;
 4780|     80|}
_PyImport_Init:
 4789|      2|{
 4790|      2|    if (INITTAB != NULL) {
  ------------------
  |  |   80|      2|#define INITTAB _PyRuntime.imports.inittab
  ------------------
  |  Branch (4790:9): [True: 0, False: 2]
  ------------------
 4791|      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)}
  ------------------
 4792|      0|    }
 4793|      2|    if (init_builtin_modules_table() != 0) {
  ------------------
  |  Branch (4793:9): [True: 0, False: 2]
  ------------------
 4794|      0|        return PyStatus_NoMemory();
 4795|      0|    }
 4796|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 4797|      2|}
_PyImport_InitCore:
 4829|      2|{
 4830|       |    // XXX Initialize here: interp->modules and interp->import_func.
 4831|       |    // XXX Initialize here: sys.modules and sys.meta_path.
 4832|       |
 4833|      2|    if (importlib) {
  ------------------
  |  Branch (4833:9): [True: 2, False: 0]
  ------------------
 4834|       |        /* This call sets up builtin and frozen import support */
 4835|      2|        if (init_importlib(tstate, sysmod) < 0) {
  ------------------
  |  Branch (4835:13): [True: 0, False: 2]
  ------------------
 4836|      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)}
  ------------------
 4837|      0|        }
 4838|      2|    }
 4839|       |
 4840|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 4841|      2|}
_PyImport_InitExternal:
 4935|      2|{
 4936|      2|    int verbose = _PyInterpreterState_GetConfig(tstate->interp)->verbose;
 4937|       |
 4938|       |    // XXX Initialize here: sys.path_hooks and sys.path_importer_cache.
 4939|       |
 4940|      2|    if (init_importlib_external(tstate->interp) != 0) {
  ------------------
  |  Branch (4940:9): [True: 0, False: 2]
  ------------------
 4941|      0|        _PyErr_Print(tstate);
 4942|      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)}
  ------------------
 4943|      0|    }
 4944|       |
 4945|      2|    if (init_zipimport(tstate, verbose) != 0) {
  ------------------
  |  Branch (4945:9): [True: 0, False: 2]
  ------------------
 4946|      0|        PyErr_Print();
 4947|      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)}
  ------------------
 4948|      0|    }
 4949|       |
 4950|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 4951|      2|}
PyImport_ImportModuleAttr:
 4977|     46|{
 4978|     46|    PyObject *mod = PyImport_Import(modname);
 4979|     46|    if (mod == NULL) {
  ------------------
  |  Branch (4979:9): [True: 0, False: 46]
  ------------------
 4980|      0|        return NULL;
 4981|      0|    }
 4982|     46|    PyObject *result = PyObject_GetAttr(mod, attrname);
 4983|     46|    Py_DECREF(mod);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4984|     46|    return result;
 4985|     46|}
PyImport_ImportModuleAttrString:
 4989|     46|{
 4990|     46|    PyObject *pmodname = PyUnicode_FromString(modname);
 4991|     46|    if (pmodname == NULL) {
  ------------------
  |  Branch (4991:9): [True: 0, False: 46]
  ------------------
 4992|      0|        return NULL;
 4993|      0|    }
 4994|     46|    PyObject *pattrname = PyUnicode_FromString(attrname);
 4995|     46|    if (pattrname == NULL) {
  ------------------
  |  Branch (4995:9): [True: 0, False: 46]
  ------------------
 4996|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4997|      0|        return NULL;
 4998|      0|    }
 4999|     46|    PyObject *result = PyImport_ImportModuleAttr(pmodname, pattrname);
 5000|     46|    Py_DECREF(pattrname);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5001|     46|    Py_DECREF(pmodname);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5002|     46|    return result;
 5003|     46|}
PyImport_GetLazyImportsMode:
 5053|    162|{
 5054|    162|    PyInterpreterState *interp = _PyInterpreterState_GET();
 5055|    162|    return FT_ATOMIC_LOAD_INT_RELAXED(LAZY_IMPORTS_MODE(interp));
  ------------------
  |  |  186|    162|#define FT_ATOMIC_LOAD_INT_RELAXED(value) value
  ------------------
 5056|    162|}
PyInit__imp:
 5744|      2|{
 5745|      2|    return PyModuleDef_Init(&imp_module);
 5746|      2|}
import.c:get_modules_dict:
  215|    996|{
  216|       |    /* Technically, it would make sense to incref the dict,
  217|       |     * since sys.modules could be swapped out and decref'ed to 0
  218|       |     * before the caller is done using it.  However, that is highly
  219|       |     * unlikely, especially since we can rely on a global lock
  220|       |     * (i.e. the GIL) for thread-safety. */
  221|    996|    PyObject *modules = MODULES(tstate->interp);
  ------------------
  |  |   90|    996|    (interp)->imports.modules
  ------------------
  222|    996|    if (modules == NULL) {
  ------------------
  |  Branch (222:9): [True: 0, False: 996]
  ------------------
  223|      0|        if (fatal) {
  ------------------
  |  Branch (223:13): [True: 0, False: 0]
  ------------------
  224|      0|            Py_FatalError("interpreter has no modules dictionary");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
  225|      0|        }
  226|      0|        _PyErr_SetString(tstate, PyExc_RuntimeError,
  227|      0|                         "unable to get sys.modules");
  228|      0|        return NULL;
  229|      0|    }
  230|    996|    return modules;
  231|    996|}
import.c:import_get_module:
  258|    950|{
  259|    950|    PyObject *modules = get_modules_dict(tstate, false);
  260|    950|    if (modules == NULL) {
  ------------------
  |  Branch (260:9): [True: 0, False: 950]
  ------------------
  261|      0|        return NULL;
  262|      0|    }
  263|       |
  264|    950|    PyObject *m;
  265|    950|    Py_INCREF(modules);
  ------------------
  |  |  310|    950|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    950|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    950|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  266|    950|    (void)PyMapping_GetOptionalItem(modules, name, &m);
  267|    950|    Py_DECREF(modules);
  ------------------
  |  |  430|    950|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    950|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    950|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  268|    950|    return m;
  269|    950|}
import.c:import_ensure_initialized:
  304|    390|{
  305|    390|    PyObject *spec;
  306|       |
  307|       |    /* Optimization: only call _bootstrap._lock_unlock_module() if
  308|       |       __spec__._initializing is true.
  309|       |       NOTE: because of this, initializing must be set *before*
  310|       |       stuffing the new module in sys.modules.
  311|       |    */
  312|    390|    int rc = PyObject_GetOptionalAttr(mod, &_Py_ID(__spec__), &spec);
  ------------------
  |  |  936|    390|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    390|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    390|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  313|    390|    if (rc > 0) {
  ------------------
  |  Branch (313:9): [True: 390, False: 0]
  ------------------
  314|    390|        rc = _PyModuleSpec_IsInitializing(spec);
  315|    390|        Py_DECREF(spec);
  ------------------
  |  |  430|    390|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    390|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    390|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  316|    390|    }
  317|    390|    if (rc == 0) {
  ------------------
  |  Branch (317:9): [True: 368, False: 22]
  ------------------
  318|    368|        goto done;
  319|    368|    }
  320|     22|    else if (rc < 0) {
  ------------------
  |  Branch (320:14): [True: 0, False: 22]
  ------------------
  321|      0|        return rc;
  322|      0|    }
  323|       |
  324|       |    /* Wait until module is done importing. */
  325|     22|    PyObject *value = PyObject_CallMethodOneArg(
  326|     22|        IMPORTLIB(interp), &_Py_ID(_lock_unlock_module), name);
  ------------------
  |  |   98|     22|    (interp)->imports.importlib
  ------------------
                      IMPORTLIB(interp), &_Py_ID(_lock_unlock_module), name);
  ------------------
  |  |  936|     22|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     22|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     22|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  327|     22|    if (value == NULL) {
  ------------------
  |  Branch (327:9): [True: 0, False: 22]
  ------------------
  328|      0|        return -1;
  329|      0|    }
  330|     22|    Py_DECREF(value);
  ------------------
  |  |  430|     22|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  331|       |
  332|    390|done:
  333|       |    /* When -X importtime=2, print an import time entry even if an
  334|       |       imported module has already been loaded.
  335|       |     */
  336|    390|    if (_PyInterpreterState_GetConfig(interp)->import_time == 2) {
  ------------------
  |  Branch (336:9): [True: 0, False: 390]
  ------------------
  337|      0|        _IMPORT_TIME_HEADER(interp);
  ------------------
  |  |  135|      0|    do {                                                                      \
  |  |  136|      0|        if (FIND_AND_LOAD((interp)).header) {                                 \
  |  |  ------------------
  |  |  |  |  117|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  |  |  |  Branch (136:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  137|      0|            fputs("import time: self [us] | cumulative | imported package\n", \
  |  |  138|      0|                  stderr);                                                    \
  |  |  139|      0|            FIND_AND_LOAD((interp)).header = 0;                               \
  |  |  ------------------
  |  |  |  |  117|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  |  |  140|      0|        }                                                                     \
  |  |  141|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (141:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  338|      0|#define import_level FIND_AND_LOAD(interp).import_level
  339|      0|        PyObject *encoded_name = get_importtime_name(name);
  340|      0|        fprintf(stderr, "import time: cached    | cached     | %*s\n",
  341|      0|                import_level*2,
  ------------------
  |  |  338|      0|#define import_level FIND_AND_LOAD(interp).import_level
  |  |  ------------------
  |  |  |  |  117|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  ------------------
  342|      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 (342:17): [True: 0, False: 0]
  ------------------
  343|      0|        Py_XDECREF(encoded_name);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  344|      0|#undef import_level
  345|      0|    }
  346|       |
  347|    390|    return 0;
  348|     22|}
import.c:import_add_module:
  417|     10|{
  418|     10|    PyObject *modules = get_modules_dict(tstate, false);
  419|     10|    if (modules == NULL) {
  ------------------
  |  Branch (419:9): [True: 0, False: 10]
  ------------------
  420|      0|        return NULL;
  421|      0|    }
  422|       |
  423|     10|    PyObject *m;
  424|     10|    Py_BEGIN_CRITICAL_SECTION(modules);
  ------------------
  |  |   51|     10|    {
  ------------------
  425|     10|    m = import_add_module_lock_held(modules, name);
  426|     10|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     10|    }
  ------------------
  427|     10|    return m;
  428|     10|}
import.c:import_add_module_lock_held:
  395|     10|{
  396|     10|    PyObject *m;
  397|     10|    if (PyMapping_GetOptionalItem(modules, name, &m) < 0) {
  ------------------
  |  Branch (397:9): [True: 0, False: 10]
  ------------------
  398|      0|        return NULL;
  399|      0|    }
  400|     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 (400:9): [True: 4, False: 6]
  ------------------
  401|      4|        return m;
  402|      4|    }
  403|      6|    Py_XDECREF(m);
  ------------------
  |  |  524|      6|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  404|      6|    m = PyModule_NewObject(name);
  405|      6|    if (m == NULL)
  ------------------
  |  Branch (405:9): [True: 0, False: 6]
  ------------------
  406|      0|        return NULL;
  407|      6|    if (PyObject_SetItem(modules, name, m) != 0) {
  ------------------
  |  Branch (407:9): [True: 0, False: 6]
  ------------------
  408|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  409|      0|        return NULL;
  410|      0|    }
  411|       |
  412|      6|    return m;
  413|      6|}
import.c:_get_cached_module_index:
 1139|      4|{
 1140|      4|    assert(cached->m_index > 0);
  ------------------
  |  Branch (1140:5): [True: 4, False: 0]
  ------------------
 1141|      4|    return cached->m_index;
 1142|      4|}
import.c:_modules_by_index_set:
  595|      4|{
  596|      4|    assert(index > 0);
  ------------------
  |  Branch (596:5): [True: 4, False: 0]
  ------------------
  597|       |
  598|      4|    if (MODULES_BY_INDEX(interp) == NULL) {
  ------------------
  |  |   92|      4|    (interp)->imports.modules_by_index
  ------------------
  |  Branch (598:9): [True: 2, False: 2]
  ------------------
  599|      2|        MODULES_BY_INDEX(interp) = PyList_New(0);
  ------------------
  |  |   92|      2|    (interp)->imports.modules_by_index
  ------------------
  600|      2|        if (MODULES_BY_INDEX(interp) == NULL) {
  ------------------
  |  |   92|      2|    (interp)->imports.modules_by_index
  ------------------
  |  Branch (600:13): [True: 0, False: 2]
  ------------------
  601|      0|            return -1;
  602|      0|        }
  603|      2|    }
  604|       |
  605|     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 (605:12): [True: 10, False: 4]
  ------------------
  606|     10|        if (PyList_Append(MODULES_BY_INDEX(interp), Py_None) < 0) {
  ------------------
  |  |   92|     10|    (interp)->imports.modules_by_index
  ------------------
                      if (PyList_Append(MODULES_BY_INDEX(interp), Py_None) < 0) {
  ------------------
  |  |  616|     10|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (606:13): [True: 0, False: 10]
  ------------------
  607|      0|            return -1;
  608|      0|        }
  609|     10|    }
  610|       |
  611|      4|    return PyList_SetItem(MODULES_BY_INDEX(interp), index, Py_NewRef(module));
  ------------------
  |  |   92|      4|    (interp)->imports.modules_by_index
  ------------------
                  return PyList_SetItem(MODULES_BY_INDEX(interp), index, Py_NewRef(module));
  ------------------
  |  |  550|      4|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  612|      4|}
import.c:switch_to_main_interpreter:
 1683|     34|{
 1684|     34|    if (_Py_IsMainInterpreter(tstate->interp)) {
  ------------------
  |  Branch (1684:9): [True: 34, False: 0]
  ------------------
 1685|     34|        return tstate;
 1686|     34|    }
 1687|      0|    PyThreadState *main_tstate = _PyThreadState_NewBound(
 1688|      0|            _PyInterpreterState_Main(), _PyThreadState_WHENCE_EXEC);
  ------------------
  |  |  109|      0|#  define _PyThreadState_WHENCE_EXEC 5
  ------------------
 1689|      0|    if (main_tstate == NULL) {
  ------------------
  |  Branch (1689:9): [True: 0, False: 0]
  ------------------
 1690|      0|        return NULL;
 1691|      0|    }
 1692|      0|#ifndef NDEBUG
 1693|      0|    PyThreadState *old_tstate = PyThreadState_Swap(main_tstate);
 1694|      0|    assert(old_tstate == tstate);
  ------------------
  |  Branch (1694:5): [True: 0, False: 0]
  ------------------
 1695|       |#else
 1696|       |    (void)PyThreadState_Swap(main_tstate);
 1697|       |#endif
 1698|      0|    return main_tstate;
 1699|      0|}
import.c:extensions_lock_acquire:
 1052|     46|{
 1053|     46|    PyMutex_Lock(&_PyRuntime.imports.extensions.mutex);
  ------------------
  |  |   59|     46|#define PyMutex_Lock _PyMutex_Lock
  ------------------
 1054|     46|}
import.c:_extensions_cache_find_unlocked:
 1401|     46|{
 1402|     46|    if (EXTENSIONS.hashtable == NULL) {
  ------------------
  |  |   82|     46|#define EXTENSIONS _PyRuntime.imports.extensions
  ------------------
  |  Branch (1402:9): [True: 4, False: 42]
  ------------------
 1403|      4|        return NULL;
 1404|      4|    }
 1405|     42|    void *key = hashtable_key_from_2_strings(path, name, HTSEP);
  ------------------
  |  | 1378|     42|#define HTSEP ':'
  ------------------
 1406|     42|    if (key == NULL) {
  ------------------
  |  Branch (1406:9): [True: 0, False: 42]
  ------------------
 1407|      0|        return NULL;
 1408|      0|    }
 1409|     42|    _Py_hashtable_entry_t *entry =
 1410|     42|            _Py_hashtable_get_entry(EXTENSIONS.hashtable, key);
  ------------------
  |  |   82|     42|#define EXTENSIONS _PyRuntime.imports.extensions
  ------------------
 1411|     42|    if (p_key != NULL) {
  ------------------
  |  Branch (1411:9): [True: 4, False: 38]
  ------------------
 1412|      4|        *p_key = key;
 1413|      4|    }
 1414|     38|    else {
 1415|     38|        hashtable_destroy_str(key);
 1416|     38|    }
 1417|     42|    return entry;
 1418|     42|}
import.c:hashtable_key_from_2_strings:
 1297|     42|{
 1298|     42|    const char *str1_data = _PyUnicode_AsUTF8NoNUL(str1);
 1299|     42|    const char *str2_data = _PyUnicode_AsUTF8NoNUL(str2);
 1300|     42|    if (str1_data == NULL || str2_data == NULL) {
  ------------------
  |  Branch (1300:9): [True: 0, False: 42]
  |  Branch (1300:30): [True: 0, False: 42]
  ------------------
 1301|      0|        return NULL;
 1302|      0|    }
 1303|     42|    Py_ssize_t str1_len = strlen(str1_data);
 1304|     42|    Py_ssize_t str2_len = strlen(str2_data);
 1305|       |
 1306|       |    /* Make sure sep and the NULL byte won't cause an overflow. */
 1307|     42|    assert(SIZE_MAX - str1_len - str2_len > 2);
  ------------------
  |  Branch (1307:5): [True: 42, False: 0]
  ------------------
 1308|     42|    size_t size = str1_len + 1 + str2_len + 1;
 1309|       |
 1310|       |    // XXX Use a buffer if it's a temp value (every case but "set").
 1311|     42|    char *key = PyMem_RawMalloc(size);
 1312|     42|    if (key == NULL) {
  ------------------
  |  Branch (1312:9): [True: 0, False: 42]
  ------------------
 1313|      0|        PyErr_NoMemory();
 1314|      0|        return NULL;
 1315|      0|    }
 1316|       |
 1317|     42|    memcpy(key, str1_data, str1_len);
 1318|     42|    key[str1_len] = sep;
 1319|     42|    memcpy(key + str1_len + 1, str2_data, str2_len);
 1320|     42|    key[size - 1] = '\0';
 1321|     42|    assert(strlen(key) == size - 1);
  ------------------
  |  Branch (1321:5): [True: 42, False: 0]
  ------------------
 1322|     42|    return key;
 1323|     42|}
import.c:hashtable_destroy_str:
 1339|     38|{
 1340|     38|    PyMem_RawFree(ptr);
 1341|     38|}
import.c:extensions_lock_release:
 1058|     46|{
 1059|     46|    PyMutex_Unlock(&_PyRuntime.imports.extensions.mutex);
  ------------------
  |  |   70|     46|#define PyMutex_Unlock _PyMutex_Unlock
  ------------------
 1060|     46|}
import.c:is_core_module:
 1752|     42|{
 1753|       |    /* This might be called before the core dict copies are in place,
 1754|       |       so we can't rely on get_core_module_dict() here. */
 1755|     42|    if (path == name) {
  ------------------
  |  Branch (1755:9): [True: 41, False: 1]
  ------------------
 1756|     41|        if (PyUnicode_CompareWithASCIIString(name, "sys") == 0) {
  ------------------
  |  Branch (1756:13): [True: 4, False: 37]
  ------------------
 1757|      4|            return 1;
 1758|      4|        }
 1759|     37|        if (PyUnicode_CompareWithASCIIString(name, "builtins") == 0) {
  ------------------
  |  Branch (1759:13): [True: 4, False: 33]
  ------------------
 1760|      4|            return 1;
 1761|      4|        }
 1762|     37|    }
 1763|     34|    return 0;
 1764|     42|}
import.c:_get_extension_kind:
 1769|     38|{
 1770|     38|    _Py_ext_module_kind kind;
 1771|     38|    if (def == NULL) {
  ------------------
  |  Branch (1771:9): [True: 0, False: 38]
  ------------------
 1772|       |        /* It must be a module created by reload_singlephase_extension()
 1773|       |         * from m_copy.  Ideally we'd do away with this case. */
 1774|      0|        kind = _Py_ext_module_kind_SINGLEPHASE;
 1775|      0|    }
 1776|     38|    else if (def->m_slots != NULL) {
  ------------------
  |  Branch (1776:14): [True: 34, False: 4]
  ------------------
 1777|     34|        kind = _Py_ext_module_kind_MULTIPHASE;
 1778|     34|    }
 1779|      4|    else if (check_size && def->m_size == -1) {
  ------------------
  |  Branch (1779:14): [True: 4, False: 0]
  |  Branch (1779:28): [True: 4, False: 0]
  ------------------
 1780|      4|        kind = _Py_ext_module_kind_SINGLEPHASE;
 1781|      4|    }
 1782|      0|    else if (def->m_base.m_init != NULL) {
  ------------------
  |  Branch (1782:14): [True: 0, False: 0]
  ------------------
 1783|      0|        kind = _Py_ext_module_kind_SINGLEPHASE;
 1784|      0|    }
 1785|      0|    else {
 1786|       |        // This is probably single-phase init, but a multi-phase
 1787|       |        // module *can* have NULL m_slots.
 1788|      0|        kind = _Py_ext_module_kind_UNKNOWN;
 1789|      0|    }
 1790|     38|    return kind;
 1791|     38|}
import.c:_extensions_cache_get:
 1423|     42|{
 1424|     42|    struct extensions_cache_value *value = NULL;
 1425|     42|    extensions_lock_acquire();
 1426|       |
 1427|     42|    _Py_hashtable_entry_t *entry =
 1428|     42|            _extensions_cache_find_unlocked(path, name, NULL);
 1429|     42|    if (entry == NULL) {
  ------------------
  |  Branch (1429:9): [True: 42, False: 0]
  ------------------
 1430|       |        /* It was never added. */
 1431|     42|        goto finally;
 1432|     42|    }
 1433|      0|    value = (struct extensions_cache_value *)entry->value;
 1434|       |
 1435|     42|finally:
 1436|     42|    extensions_lock_release();
 1437|     42|    return value;
 1438|      0|}
import.c:update_global_state_for_extension:
 1837|      4|{
 1838|      4|    struct extensions_cache_value *cached = NULL;
 1839|      4|    PyModInitFunction m_init = NULL;
 1840|      4|    PyObject *m_dict = NULL;
 1841|       |
 1842|       |    /* Set up for _extensions_cache_set(). */
 1843|      4|    if (singlephase == NULL) {
  ------------------
  |  Branch (1843:9): [True: 0, False: 4]
  ------------------
 1844|      0|        assert(def->m_base.m_init == NULL);
  ------------------
  |  Branch (1844:9): [True: 0, False: 0]
  ------------------
 1845|      0|        assert(def->m_base.m_copy == NULL);
  ------------------
  |  Branch (1845:9): [True: 0, False: 0]
  ------------------
 1846|      0|    }
 1847|      4|    else {
 1848|      4|        if (singlephase->m_init != NULL) {
  ------------------
  |  Branch (1848:13): [True: 0, False: 4]
  ------------------
 1849|      0|            assert(singlephase->m_dict == NULL);
  ------------------
  |  Branch (1849:13): [True: 0, False: 0]
  ------------------
 1850|      0|            assert(def->m_base.m_copy == NULL);
  ------------------
  |  Branch (1850:13): [True: 0, False: 0]
  ------------------
 1851|      0|            assert(def->m_size >= 0);
  ------------------
  |  Branch (1851:13): [True: 0, False: 0]
  ------------------
 1852|       |            /* Remember pointer to module init function. */
 1853|       |            // XXX If two modules share a def then def->m_base will
 1854|       |            // reflect the last one added (here) to the global cache.
 1855|       |            // We should prevent this somehow.  The simplest solution
 1856|       |            // is probably to store m_copy/m_init in the cache along
 1857|       |            // with the def, rather than within the def.
 1858|      0|            m_init = singlephase->m_init;
 1859|      0|        }
 1860|      4|        else if (singlephase->m_dict == NULL) {
  ------------------
  |  Branch (1860:18): [True: 4, False: 0]
  ------------------
 1861|       |            /* It must be a core builtin module. */
 1862|      4|            assert(is_core_module(tstate->interp, name, path));
  ------------------
  |  Branch (1862:13): [True: 4, False: 0]
  ------------------
 1863|      4|            assert(def->m_size == -1);
  ------------------
  |  Branch (1863:13): [True: 4, False: 0]
  ------------------
 1864|      4|            assert(def->m_base.m_copy == NULL);
  ------------------
  |  Branch (1864:13): [True: 4, False: 0]
  ------------------
 1865|      4|            assert(def->m_base.m_init == NULL);
  ------------------
  |  Branch (1865:13): [True: 4, False: 0]
  ------------------
 1866|      4|        }
 1867|      0|        else {
 1868|      0|            assert(PyDict_Check(singlephase->m_dict));
  ------------------
  |  Branch (1868:13): [True: 0, False: 0]
  ------------------
 1869|       |            // gh-88216: Extensions and def->m_base.m_copy can be updated
 1870|       |            // when the extension module doesn't support sub-interpreters.
 1871|      0|            assert(def->m_size == -1);
  ------------------
  |  Branch (1871:13): [True: 0, False: 0]
  ------------------
 1872|      0|            assert(!is_core_module(tstate->interp, name, path));
  ------------------
  |  Branch (1872:13): [True: 0, False: 0]
  ------------------
 1873|      0|            assert(PyUnicode_CompareWithASCIIString(name, "sys") != 0);
  ------------------
  |  Branch (1873:13): [True: 0, False: 0]
  ------------------
 1874|      0|            assert(PyUnicode_CompareWithASCIIString(name, "builtins") != 0);
  ------------------
  |  Branch (1874:13): [True: 0, False: 0]
  ------------------
 1875|      0|            m_dict = singlephase->m_dict;
 1876|      0|        }
 1877|      4|    }
 1878|       |
 1879|       |    /* Add the module's def to the global cache. */
 1880|       |    // XXX Why special-case the main interpreter?
 1881|      4|    if (_Py_IsMainInterpreter(tstate->interp) || def->m_size == -1) {
  ------------------
  |  Branch (1881:9): [True: 4, False: 0]
  |  Branch (1881:50): [True: 0, False: 0]
  ------------------
 1882|      4|#ifndef NDEBUG
 1883|      4|        cached = _extensions_cache_get(path, name);
 1884|      4|        assert(cached == NULL || cached->def == def);
  ------------------
  |  Branch (1884:9): [True: 4, False: 0]
  |  Branch (1884:9): [True: 0, False: 0]
  ------------------
 1885|      4|#endif
 1886|      4|        cached = _extensions_cache_set(
 1887|      4|                path, name, def, m_init, singlephase->m_index, m_dict,
 1888|      4|                singlephase->origin, singlephase->md_requires_gil);
 1889|      4|        if (cached == NULL) {
  ------------------
  |  Branch (1889:13): [True: 0, False: 4]
  ------------------
 1890|       |            // XXX Ignore this error?  Doing so would effectively
 1891|       |            // mark the module as not loadable.
 1892|      0|            return NULL;
 1893|      0|        }
 1894|      4|    }
 1895|       |
 1896|      4|    return cached;
 1897|      4|}
import.c:_extensions_cache_set:
 1446|      4|{
 1447|      4|    struct extensions_cache_value *value = NULL;
 1448|      4|    void *key = NULL;
 1449|      4|    struct extensions_cache_value *newvalue = NULL;
 1450|      4|    PyModuleDef_Base olddefbase = def->m_base;
 1451|       |
 1452|      4|    assert(def != NULL);
  ------------------
  |  Branch (1452:5): [True: 4, False: 0]
  ------------------
 1453|      4|    assert(m_init == NULL || m_dict == NULL);
  ------------------
  |  Branch (1453:5): [True: 4, False: 0]
  |  Branch (1453:5): [True: 0, False: 0]
  ------------------
 1454|       |    /* We expect the same symbol to be used and the shared object file
 1455|       |     * to have remained loaded, so it must be the same pointer. */
 1456|      4|    assert(def->m_base.m_init == NULL || def->m_base.m_init == m_init);
  ------------------
  |  Branch (1456:5): [True: 4, False: 0]
  |  Branch (1456:5): [True: 0, False: 0]
  ------------------
 1457|       |    /* For now we don't worry about comparing value->m_copy. */
 1458|      4|    assert(def->m_base.m_copy == NULL || m_dict != NULL);
  ------------------
  |  Branch (1458:5): [True: 4, False: 0]
  |  Branch (1458:5): [True: 0, False: 0]
  ------------------
 1459|      4|    assert((origin == _Py_ext_module_origin_DYNAMIC) == (name != path));
  ------------------
  |  Branch (1459:5): [True: 4, False: 0]
  ------------------
 1460|      4|    assert(origin != _Py_ext_module_origin_CORE || m_dict == NULL);
  ------------------
  |  Branch (1460:5): [True: 0, False: 4]
  |  Branch (1460:5): [True: 4, False: 0]
  ------------------
 1461|       |
 1462|      4|    extensions_lock_acquire();
 1463|       |
 1464|      4|    if (EXTENSIONS.hashtable == NULL) {
  ------------------
  |  |   82|      4|#define EXTENSIONS _PyRuntime.imports.extensions
  ------------------
  |  Branch (1464:9): [True: 2, False: 2]
  ------------------
 1465|      2|        if (_extensions_cache_init() < 0) {
  ------------------
  |  Branch (1465:13): [True: 0, False: 2]
  ------------------
 1466|      0|            goto finally;
 1467|      0|        }
 1468|      2|    }
 1469|       |
 1470|       |    /* Create a cached value to populate for the module. */
 1471|      4|    _Py_hashtable_entry_t *entry =
 1472|      4|            _extensions_cache_find_unlocked(path, name, &key);
 1473|      4|    value = entry == NULL
  ------------------
  |  Branch (1473:13): [True: 4, False: 0]
  ------------------
 1474|      4|        ? NULL
 1475|      4|        : (struct extensions_cache_value *)entry->value;
 1476|      4|    if (value != NULL) {
  ------------------
  |  Branch (1476:9): [True: 0, False: 4]
  ------------------
 1477|       |        /* gh-123880: If there's an existing cache value, it means a module is
 1478|       |         * being imported recursively from its PyInit_* or Py_mod_* function.
 1479|       |         * (That function presumably handles returning a partially
 1480|       |         *  constructed module in such a case.)
 1481|       |         * We can reuse the existing cache value; it is owned by the cache.
 1482|       |         * (Entries get removed from it in exceptional circumstances,
 1483|       |         *  after interpreter shutdown, and in runtime shutdown.)
 1484|       |         */
 1485|      0|        goto finally_oldvalue;
 1486|      0|    }
 1487|      4|    newvalue = alloc_extensions_cache_value();
 1488|      4|    if (newvalue == NULL) {
  ------------------
  |  Branch (1488:9): [True: 0, False: 4]
  ------------------
 1489|      0|        goto finally;
 1490|      0|    }
 1491|       |
 1492|       |    /* Populate the new cache value data. */
 1493|      4|    *newvalue = (struct extensions_cache_value){
 1494|      4|        .def=def,
 1495|      4|        .m_init=m_init,
 1496|      4|        .m_index=m_index,
 1497|       |        /* m_dict is set by set_cached_m_dict(). */
 1498|      4|        .origin=origin,
 1499|       |#ifdef Py_GIL_DISABLED
 1500|       |        .md_requires_gil=requires_gil,
 1501|       |#endif
 1502|      4|    };
 1503|      4|#ifndef Py_GIL_DISABLED
 1504|      4|    (void)requires_gil;
 1505|      4|#endif
 1506|      4|    if (init_cached_m_dict(newvalue, m_dict) < 0) {
  ------------------
  |  Branch (1506:9): [True: 0, False: 4]
  ------------------
 1507|      0|        goto finally;
 1508|      0|    }
 1509|      4|    fixup_cached_def(newvalue);
 1510|       |
 1511|      4|    if (entry == NULL) {
  ------------------
  |  Branch (1511:9): [True: 4, False: 0]
  ------------------
 1512|       |        /* It was never added. */
 1513|      4|        if (_Py_hashtable_set(EXTENSIONS.hashtable, key, newvalue) < 0) {
  ------------------
  |  |   82|      4|#define EXTENSIONS _PyRuntime.imports.extensions
  ------------------
  |  Branch (1513:13): [True: 0, False: 4]
  ------------------
 1514|      0|            PyErr_NoMemory();
 1515|      0|            goto finally;
 1516|      0|        }
 1517|       |        /* The hashtable owns the key now. */
 1518|      4|        key = NULL;
 1519|      4|    }
 1520|      0|    else if (value == NULL) {
  ------------------
  |  Branch (1520:14): [True: 0, False: 0]
  ------------------
 1521|       |        /* It was previously deleted. */
 1522|      0|        entry->value = newvalue;
 1523|      0|    }
 1524|      0|    else {
 1525|       |        /* We are updating the entry for an existing module. */
 1526|       |        /* We expect def to be static, so it must be the same pointer. */
 1527|      0|        assert(value->def == def);
  ------------------
  |  Branch (1527:9): [True: 0, False: 0]
  ------------------
 1528|       |        /* We expect the same symbol to be used and the shared object file
 1529|       |         * to have remained loaded, so it must be the same pointer. */
 1530|      0|        assert(value->m_init == m_init);
  ------------------
  |  Branch (1530:9): [True: 0, False: 0]
  ------------------
 1531|       |        /* The same module can't switch between caching __dict__ and not. */
 1532|      0|        assert((value->m_dict == NULL) == (m_dict == NULL));
  ------------------
  |  Branch (1532:9): [True: 0, False: 0]
  ------------------
 1533|       |        /* This shouldn't ever happen. */
 1534|      0|        Py_UNREACHABLE();
  ------------------
  |  |  289|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1535|      0|    }
 1536|       |
 1537|      4|    value = newvalue;
 1538|       |
 1539|      4|finally:
 1540|      4|    if (value == NULL) {
  ------------------
  |  Branch (1540:9): [True: 0, False: 4]
  ------------------
 1541|      0|        restore_old_cached_def(def, &olddefbase);
 1542|      0|        if (newvalue != NULL) {
  ------------------
  |  Branch (1542:13): [True: 0, False: 0]
  ------------------
 1543|      0|            del_extensions_cache_value(newvalue);
 1544|      0|        }
 1545|      0|    }
 1546|      4|    else {
 1547|      4|        cleanup_old_cached_def(&olddefbase);
 1548|      4|    }
 1549|       |
 1550|      4|finally_oldvalue:
 1551|      4|    extensions_lock_release();
 1552|      4|    if (key != NULL) {
  ------------------
  |  Branch (1552:9): [True: 0, False: 4]
  ------------------
 1553|      0|        hashtable_destroy_str(key);
 1554|      0|    }
 1555|       |
 1556|      4|    return value;
 1557|      4|}
import.c:_extensions_cache_init:
 1382|      2|{
 1383|      2|    _Py_hashtable_allocator_t alloc = {PyMem_RawMalloc, PyMem_RawFree};
 1384|      2|    EXTENSIONS.hashtable = _Py_hashtable_new_full(
  ------------------
  |  |   82|      2|#define EXTENSIONS _PyRuntime.imports.extensions
  ------------------
 1385|      2|        hashtable_hash_str,
 1386|      2|        hashtable_compare_str,
 1387|      2|        hashtable_destroy_str,  // key
 1388|      2|        del_extensions_cache_value,  // value
 1389|      2|        &alloc
 1390|      2|    );
 1391|      2|    if (EXTENSIONS.hashtable == NULL) {
  ------------------
  |  |   82|      2|#define EXTENSIONS _PyRuntime.imports.extensions
  ------------------
  |  Branch (1391:9): [True: 0, False: 2]
  ------------------
 1392|      0|        PyErr_NoMemory();
 1393|      0|        return -1;
 1394|      0|    }
 1395|      2|    return 0;
 1396|      2|}
import.c:hashtable_hash_str:
 1327|     50|{
 1328|     50|    return Py_HashBuffer(key, strlen((const char *)key));
 1329|     50|}
import.c:alloc_extensions_cache_value:
 1120|      4|{
 1121|      4|    struct extensions_cache_value *value
 1122|      4|            = PyMem_RawMalloc(sizeof(struct extensions_cache_value));
 1123|      4|    if (value == NULL) {
  ------------------
  |  Branch (1123:9): [True: 0, False: 4]
  ------------------
 1124|      0|        PyErr_NoMemory();
 1125|      0|        return NULL;
 1126|      0|    }
 1127|      4|    *value = (struct extensions_cache_value){0};
 1128|      4|    return value;
 1129|      4|}
import.c:init_cached_m_dict:
 1207|      4|{
 1208|      4|    assert(value != NULL);
  ------------------
  |  Branch (1208:5): [True: 4, False: 0]
  ------------------
 1209|       |    /* This should only have been called without an m_dict already set. */
 1210|      4|    assert(value->m_dict == NULL);
  ------------------
  |  Branch (1210:5): [True: 4, False: 0]
  ------------------
 1211|      4|    if (m_dict == NULL) {
  ------------------
  |  Branch (1211:9): [True: 4, False: 0]
  ------------------
 1212|      4|        return 0;
 1213|      4|    }
 1214|      4|    assert(PyDict_Check(m_dict));
  ------------------
  |  Branch (1214:5): [True: 0, False: 0]
  ------------------
 1215|      0|    assert(value->origin != _Py_ext_module_origin_CORE);
  ------------------
  |  Branch (1215:5): [True: 0, False: 0]
  ------------------
 1216|       |
 1217|      0|    PyInterpreterState *interp = _PyInterpreterState_GET();
 1218|      0|    assert(!is_interpreter_isolated(interp));
  ------------------
  |  Branch (1218:5): [True: 0, False: 0]
  ------------------
 1219|       |
 1220|       |    /* XXX gh-88216: The copied dict is owned by the current
 1221|       |     * interpreter.  That's a problem if the interpreter has
 1222|       |     * its own obmalloc state or if the module is successfully
 1223|       |     * imported into such an interpreter.  If the interpreter
 1224|       |     * has its own GIL then there may be data races and
 1225|       |     * PyImport_ClearModulesByIndex() can crash.  Normally,
 1226|       |     * a single-phase init module cannot be imported in an
 1227|       |     * isolated interpreter, but there are ways around that.
 1228|       |     * Hence, heere be dragons!  Ideally we would instead do
 1229|       |     * something like make a read-only, immortal copy of the
 1230|       |     * dict using PyMem_RawMalloc() and store *that* in m_copy.
 1231|       |     * Then we'd need to make sure to clear that when the
 1232|       |     * runtime is finalized, rather than in
 1233|       |     * PyImport_ClearModulesByIndex(). */
 1234|      0|    PyObject *copied = PyDict_Copy(m_dict);
 1235|      0|    if (copied == NULL) {
  ------------------
  |  Branch (1235:9): [True: 0, False: 0]
  ------------------
 1236|       |        /* We expect this can only be "out of memory". */
 1237|      0|        return -1;
 1238|      0|    }
 1239|       |    // XXX We may want to make the copy immortal.
 1240|       |
 1241|      0|    value->_m_dict = (struct cached_m_dict){
 1242|      0|        .copied=copied,
 1243|      0|        .interpid=PyInterpreterState_GetID(interp),
 1244|      0|    };
 1245|       |
 1246|      0|    value->m_dict = &value->_m_dict;
 1247|      0|    return 0;
 1248|      0|}
import.c:fixup_cached_def:
 1146|      4|{
 1147|       |    /* For the moment, the values in the def's m_base may belong
 1148|       |     * to another module, and we're replacing them here.  This can
 1149|       |     * cause problems later if the old module is reloaded.
 1150|       |     *
 1151|       |     * Also, we don't decref any old cached values first when we
 1152|       |     * replace them here, in case we need to restore them in the
 1153|       |     * near future.  Instead, the caller is responsible for wrapping
 1154|       |     * this up by calling cleanup_old_cached_def() or
 1155|       |     * restore_old_cached_def() if there was an error. */
 1156|      4|    PyModuleDef *def = value->def;
 1157|      4|    assert(def != NULL);
  ------------------
  |  Branch (1157:5): [True: 4, False: 0]
  ------------------
 1158|       |
 1159|       |    /* We assume that all module defs are statically allocated
 1160|       |       and will never be freed.  Otherwise, we would incref here. */
 1161|      4|    _Py_SetImmortalUntracked((PyObject *)def);
 1162|       |
 1163|      4|    def->m_base.m_init = value->m_init;
 1164|       |
 1165|      4|    assert(value->m_index > 0);
  ------------------
  |  Branch (1165:5): [True: 4, False: 0]
  ------------------
 1166|      4|    _set_module_index(def, value->m_index);
 1167|       |
 1168|       |    /* Different modules can share the same def, so we can't just
 1169|       |     * expect m_copy to be NULL. */
 1170|      4|    assert(def->m_base.m_copy == NULL
  ------------------
  |  Branch (1170:5): [True: 4, False: 0]
  |  Branch (1170:5): [True: 0, False: 0]
  |  Branch (1170:5): [True: 0, False: 0]
  ------------------
 1171|      4|           || def->m_base.m_init == NULL
 1172|      4|           || value->m_dict != NULL);
 1173|      4|    if (value->m_dict != NULL) {
  ------------------
  |  Branch (1173:9): [True: 0, False: 4]
  ------------------
 1174|      0|        assert(value->m_dict->copied != NULL);
  ------------------
  |  Branch (1174:9): [True: 0, False: 0]
  ------------------
 1175|       |        /* As noted above, we don't first decref the old value, if any. */
 1176|      0|        def->m_base.m_copy = Py_NewRef(value->m_dict->copied);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1177|      0|    }
 1178|      4|}
import.c:_set_module_index:
  548|      4|{
  549|      4|    assert(index > 0);
  ------------------
  |  Branch (549:5): [True: 4, False: 0]
  ------------------
  550|      4|    if (index == def->m_base.m_index) {
  ------------------
  |  Branch (550:9): [True: 4, False: 0]
  ------------------
  551|       |        /* There's nothing to do. */
  552|      4|    }
  553|      0|    else if (def->m_base.m_index == 0) {
  ------------------
  |  Branch (553:14): [True: 0, False: 0]
  ------------------
  554|       |        /* It should have been initialized by PyModuleDef_Init().
  555|       |         * We assert here to catch this in dev, but keep going otherwise. */
  556|      0|        assert(def->m_base.m_index != 0);
  ------------------
  |  Branch (556:9): [True: 0, False: 0]
  ------------------
  557|      0|        def->m_base.m_index = index;
  558|      0|    }
  559|      0|    else {
  560|       |        /* It was already set for a different module.
  561|       |         * We replace the old value. */
  562|      0|        assert(def->m_base.m_index > 0);
  ------------------
  |  Branch (562:9): [True: 0, False: 0]
  ------------------
  563|      0|        def->m_base.m_index = index;
  564|      0|    }
  565|      4|}
import.c:cleanup_old_cached_def:
 1188|      4|{
 1189|      4|    Py_XDECREF(oldbase->m_copy);
  ------------------
  |  |  524|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1190|      4|}
import.c:finish_singlephase_extension:
 1905|      4|{
 1906|      4|    assert(mod != NULL && PyModule_Check(mod));
  ------------------
  |  Branch (1906:5): [True: 4, False: 0]
  |  Branch (1906:5): [True: 4, False: 0]
  ------------------
 1907|      4|    assert(cached->def == _PyModule_GetDefOrNull(mod));
  ------------------
  |  Branch (1907:5): [True: 4, False: 0]
  ------------------
 1908|       |
 1909|      4|    Py_ssize_t index = _get_cached_module_index(cached);
 1910|      4|    if (_modules_by_index_set(tstate->interp, index, mod) < 0) {
  ------------------
  |  Branch (1910:9): [True: 0, False: 4]
  ------------------
 1911|      0|        return -1;
 1912|      0|    }
 1913|       |
 1914|      4|    if (modules != NULL) {
  ------------------
  |  Branch (1914:9): [True: 4, False: 0]
  ------------------
 1915|      4|        if (PyObject_SetItem(modules, name, mod) < 0) {
  ------------------
  |  Branch (1915:13): [True: 0, False: 4]
  ------------------
 1916|      0|            return -1;
 1917|      0|        }
 1918|      4|    }
 1919|       |
 1920|      4|    return 0;
 1921|      4|}
import.c:create_builtin:
 2505|     33|{
 2506|     33|    struct _Py_ext_module_loader_info info;
 2507|     33|    if (_Py_ext_module_loader_info_init_for_builtin(&info, name) < 0) {
  ------------------
  |  Branch (2507:9): [True: 0, False: 33]
  ------------------
 2508|      0|        return NULL;
 2509|      0|    }
 2510|       |
 2511|     33|    struct extensions_cache_value *cached = NULL;
 2512|     33|    PyObject *mod = import_find_extension(tstate, &info, &cached);
 2513|     33|    if (mod != NULL) {
  ------------------
  |  Branch (2513:9): [True: 0, False: 33]
  ------------------
 2514|      0|        assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (2514:9): [True: 0, False: 0]
  ------------------
 2515|      0|        assert(cached != NULL);
  ------------------
  |  Branch (2515:9): [True: 0, False: 0]
  ------------------
 2516|       |        /* The module might not have md_def set in certain reload cases. */
 2517|      0|        assert(_PyModule_GetDefOrNull(mod) == NULL
  ------------------
  |  Branch (2517:9): [True: 0, False: 0]
  |  Branch (2517:9): [True: 0, False: 0]
  ------------------
 2518|      0|                || cached->def == _PyModule_GetDefOrNull(mod));
 2519|      0|        assert_singlephase(cached);
  ------------------
  |  | 1812|      0|    do {                                                                    \
  |  | 1813|      0|        _Py_ext_module_kind kind = _get_extension_kind(cached->def, true);  \
  |  | 1814|      0|        assert(kind == _Py_ext_module_kind_SINGLEPHASE);                    \
  |  | 1815|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1815:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2519:9): [True: 0, False: 0]
  ------------------
 2520|      0|        goto finally;
 2521|      0|    }
 2522|     33|    else if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (2522:14): [True: 0, False: 33]
  ------------------
 2523|      0|        goto finally;
 2524|      0|    }
 2525|       |
 2526|       |    /* If the module was added to the global cache
 2527|       |     * but def->m_base.m_copy was cleared (e.g. subinterp fini)
 2528|       |     * then we have to do a little dance here. */
 2529|     33|    if (cached != NULL) {
  ------------------
  |  Branch (2529:9): [True: 0, False: 33]
  ------------------
 2530|      0|        assert(cached->def->m_base.m_copy == NULL);
  ------------------
  |  Branch (2530:9): [True: 0, False: 0]
  ------------------
 2531|       |        /* For now we clear the cache and move on. */
 2532|      0|        _extensions_cache_delete(info.path, info.name);
 2533|      0|    }
 2534|       |
 2535|     33|    PyModInitFunction p0 = NULL;
 2536|     33|    if (initfunc == NULL) {
  ------------------
  |  Branch (2536:9): [True: 33, False: 0]
  ------------------
 2537|     33|        struct _inittab *entry = lookup_inittab_entry(&info);
 2538|     33|        if (entry == NULL) {
  ------------------
  |  Branch (2538:13): [True: 0, False: 33]
  ------------------
 2539|      0|            mod = NULL;
 2540|      0|            _PyErr_SetModuleNotFoundError(name);
 2541|      0|            goto finally;
 2542|      0|        }
 2543|       |
 2544|     33|        p0 = (PyModInitFunction)entry->initfunc;
 2545|     33|    }
 2546|      0|    else {
 2547|      0|        p0 = initfunc;
 2548|      0|    }
 2549|       |
 2550|     33|    if (p0 == NULL) {
  ------------------
  |  Branch (2550:9): [True: 0, False: 33]
  ------------------
 2551|       |        /* Cannot re-init internal module ("sys" or "builtins") */
 2552|      0|        assert(is_core_module(tstate->interp, info.name, info.path));
  ------------------
  |  Branch (2552:9): [True: 0, False: 0]
  ------------------
 2553|      0|        mod = import_add_module(tstate, info.name);
 2554|      0|        goto finally;
 2555|      0|    }
 2556|       |
 2557|       |
 2558|       |#ifdef Py_GIL_DISABLED
 2559|       |    // This call (and the corresponding call to _PyImport_CheckGILForModule())
 2560|       |    // would ideally be inside import_run_extension(). They are kept in the
 2561|       |    // callers for now because that would complicate the control flow inside
 2562|       |    // import_run_extension(). It should be possible to restructure
 2563|       |    // import_run_extension() to address this.
 2564|       |    _PyEval_EnableGILTransient(tstate);
 2565|       |#endif
 2566|       |    /* Now load it. */
 2567|     33|    mod = import_run_extension(
 2568|     33|                    tstate, p0, &info, spec, get_modules_dict(tstate, true));
 2569|       |#ifdef Py_GIL_DISABLED
 2570|       |    if (_PyImport_CheckGILForModule(mod, info.name) < 0) {
 2571|       |        Py_CLEAR(mod);
 2572|       |        goto finally;
 2573|       |    }
 2574|       |#endif
 2575|       |
 2576|     33|finally:
 2577|     33|    _Py_ext_module_loader_info_clear(&info);
 2578|     33|    return mod;
 2579|     33|}
import.c:import_find_extension:
 2039|     34|{
 2040|       |    /* Only single-phase init modules will be in the cache. */
 2041|     34|    struct extensions_cache_value *cached
 2042|     34|            = _extensions_cache_get(info->path, info->name);
 2043|     34|    if (cached == NULL) {
  ------------------
  |  Branch (2043:9): [True: 34, False: 0]
  ------------------
 2044|     34|        return NULL;
 2045|     34|    }
 2046|     34|    assert(cached->def != NULL);
  ------------------
  |  Branch (2046:5): [True: 0, False: 0]
  ------------------
 2047|      0|    assert_singlephase(cached);
  ------------------
  |  | 1812|      0|    do {                                                                    \
  |  | 1813|      0|        _Py_ext_module_kind kind = _get_extension_kind(cached->def, true);  \
  |  | 1814|      0|        assert(kind == _Py_ext_module_kind_SINGLEPHASE);                    \
  |  | 1815|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1815:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2047:5): [True: 0, False: 0]
  ------------------
 2048|      0|    *p_cached = cached;
 2049|       |
 2050|       |    /* It may have been successfully imported previously
 2051|       |       in an interpreter that allows legacy modules
 2052|       |       but is not allowed in the current interpreter. */
 2053|      0|    const char *name_buf = PyUnicode_AsUTF8(info->name);
 2054|      0|    assert(name_buf != NULL);
  ------------------
  |  Branch (2054:5): [True: 0, False: 0]
  ------------------
 2055|      0|    if (_PyImport_CheckSubinterpIncompatibleExtensionAllowed(name_buf) < 0) {
  ------------------
  |  Branch (2055:9): [True: 0, False: 0]
  ------------------
 2056|      0|        return NULL;
 2057|      0|    }
 2058|       |
 2059|      0|    PyObject *mod = reload_singlephase_extension(tstate, cached, info);
 2060|      0|    if (mod == NULL) {
  ------------------
  |  Branch (2060:9): [True: 0, False: 0]
  ------------------
 2061|      0|        return NULL;
 2062|      0|    }
 2063|       |
 2064|      0|    int verbose = _PyInterpreterState_GetConfig(tstate->interp)->verbose;
 2065|      0|    if (verbose) {
  ------------------
  |  Branch (2065:9): [True: 0, False: 0]
  ------------------
 2066|      0|        PySys_FormatStderr("import %U # previously loaded (%R)\n",
 2067|      0|                           info->name, info->path);
 2068|      0|    }
 2069|       |
 2070|      0|    return mod;
 2071|      0|}
import.c:lookup_inittab_entry:
 2490|     33|{
 2491|    665|    for (struct _inittab *p = INITTAB; p->name != NULL; p++) {
  ------------------
  |  |   80|     33|#define INITTAB _PyRuntime.imports.inittab
  ------------------
  |  Branch (2491:40): [True: 665, False: 0]
  ------------------
 2492|    665|        if (_PyUnicode_EqualToASCIIString(info->name, p->name)) {
  ------------------
  |  Branch (2492:13): [True: 33, False: 632]
  ------------------
 2493|     33|            return p;
 2494|     33|        }
 2495|    665|    }
 2496|       |    // not found
 2497|      0|    return NULL;
 2498|     33|}
import.c:import_run_extension:
 2114|     34|{
 2115|       |    /* Core modules go through _PyImport_FixupBuiltin(). */
 2116|     34|    assert(!is_core_module(tstate->interp, info->name, info->path));
  ------------------
  |  Branch (2116:5): [True: 34, False: 0]
  ------------------
 2117|       |
 2118|     34|    PyObject *mod = NULL;
 2119|     34|    PyModuleDef *def = NULL;
 2120|     34|    struct extensions_cache_value *cached = NULL;
 2121|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2122|       |
 2123|       |    /* We cannot know if the module is single-phase init or
 2124|       |     * multi-phase init until after we call its init function. Even
 2125|       |     * in isolated interpreters (that do not support single-phase init),
 2126|       |     * the init function will run without restriction.  For multi-phase
 2127|       |     * init modules that isn't a problem because the init function only
 2128|       |     * runs PyModuleDef_Init() on the module's def and then returns it.
 2129|       |     *
 2130|       |     * However, for single-phase init the module's init function will
 2131|       |     * create the module, create other objects (and allocate other
 2132|       |     * memory), populate it and its module state, and initialize static
 2133|       |     * types.  Some modules store other objects and data in global C
 2134|       |     * variables and register callbacks with the runtime/stdlib or
 2135|       |     * even external libraries (which is part of why we can't just
 2136|       |     * dlclose() the module in the error case).  That's a problem
 2137|       |     * for isolated interpreters since all of the above happens
 2138|       |     * and only then * will the import fail.  Memory will leak,
 2139|       |     * callbacks will still get used, and sometimes there
 2140|       |     * will be crashes (memory access violations
 2141|       |     * and use-after-free).
 2142|       |     *
 2143|       |     * To put it another way, if the module is single-phase init
 2144|       |     * then the import will probably break interpreter isolation
 2145|       |     * and should fail ASAP.  However, the module's init function
 2146|       |     * will still get run.  That means it may still store state
 2147|       |     * in the shared-object/DLL address space (which never gets
 2148|       |     * closed/cleared), including objects (e.g. static types).
 2149|       |     * This is a problem for isolated subinterpreters since each
 2150|       |     * has its own object allocator.  If the loaded shared-object
 2151|       |     * still holds a reference to an object after the corresponding
 2152|       |     * interpreter has finalized then either we must let it leak
 2153|       |     * or else any later use of that object by another interpreter
 2154|       |     * (or across multiple init-fini cycles) will crash the process.
 2155|       |     *
 2156|       |     * To avoid all of that, we make sure the module's init function
 2157|       |     * is always run first with the main interpreter active.  If it was
 2158|       |     * already the main interpreter then we can continue loading the
 2159|       |     * module like normal.  Otherwise, right after the init function,
 2160|       |     * we take care of some import state bookkeeping, switch back
 2161|       |     * to the subinterpreter, check for single-phase init,
 2162|       |     * and then continue loading like normal. */
 2163|       |
 2164|     34|    bool switched = false;
 2165|       |    /* We *could* leave in place a legacy interpreter here
 2166|       |     * (one that shares obmalloc/GIL with main interp),
 2167|       |     * but there isn't a big advantage, we anticipate
 2168|       |     * such interpreters will be increasingly uncommon,
 2169|       |     * and the code is a bit simpler if we always switch
 2170|       |     * to the main interpreter. */
 2171|     34|    PyThreadState *main_tstate = switch_to_main_interpreter(tstate);
 2172|     34|    if (main_tstate == NULL) {
  ------------------
  |  Branch (2172:9): [True: 0, False: 34]
  ------------------
 2173|      0|        return NULL;
 2174|      0|    }
 2175|     34|    else if (main_tstate != tstate) {
  ------------------
  |  Branch (2175:14): [True: 0, False: 34]
  ------------------
 2176|      0|        switched = true;
 2177|       |        /* In the switched case, we could play it safe
 2178|       |         * by getting the main interpreter's import lock here.
 2179|       |         * It's unlikely to matter though. */
 2180|      0|    }
 2181|       |
 2182|     34|    struct _Py_ext_module_loader_result res;
 2183|     34|    int rc = _PyImport_RunModInitFunc(p0, info, &res);
 2184|     34|    bool main_error = false;
 2185|     34|    if (rc < 0) {
  ------------------
  |  Branch (2185:9): [True: 0, False: 34]
  ------------------
 2186|       |        /* We discard res.def. */
 2187|      0|        assert(res.module == NULL);
  ------------------
  |  Branch (2187:9): [True: 0, False: 0]
  ------------------
 2188|      0|    }
 2189|     34|    else {
 2190|     34|        assert(!PyErr_Occurred());
  ------------------
  |  Branch (2190:9): [True: 34, False: 0]
  ------------------
 2191|     34|        assert(res.err == NULL);
  ------------------
  |  Branch (2191:9): [True: 34, False: 0]
  ------------------
 2192|       |
 2193|     34|        mod = res.module;
 2194|     34|        res.module = NULL;
 2195|     34|        def = res.def;
 2196|     34|        assert(def != NULL);
  ------------------
  |  Branch (2196:9): [True: 34, False: 0]
  ------------------
 2197|       |
 2198|       |        /* Do anything else that should be done
 2199|       |         * while still using the main interpreter. */
 2200|     34|        if (res.kind == _Py_ext_module_kind_SINGLEPHASE) {
  ------------------
  |  Branch (2200:13): [True: 0, False: 34]
  ------------------
 2201|       |            /* Remember the filename as the __file__ attribute */
 2202|      0|            if (info->filename != NULL) {
  ------------------
  |  Branch (2202:17): [True: 0, False: 0]
  ------------------
 2203|      0|                PyObject *filename = NULL;
 2204|      0|                if (switched) {
  ------------------
  |  Branch (2204:21): [True: 0, False: 0]
  ------------------
 2205|       |                    // The original filename may be allocated by subinterpreter's
 2206|       |                    // obmalloc, so we create a copy here.
 2207|      0|                    filename = _PyUnicode_Copy(info->filename);
 2208|      0|                    if (filename == NULL) {
  ------------------
  |  Branch (2208:25): [True: 0, False: 0]
  ------------------
 2209|      0|                        main_error = true;
 2210|      0|                        goto main_finally;
 2211|      0|                    }
 2212|      0|                }
 2213|      0|                else {
 2214|      0|                    filename = Py_NewRef(info->filename);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2215|      0|                }
 2216|       |                // XXX There's a refleak somewhere with the filename.
 2217|       |                // Until we can track it down, we immortalize it.
 2218|      0|                PyInterpreterState *interp = _PyInterpreterState_GET();
 2219|      0|                _PyUnicode_InternImmortal(interp, &filename);
 2220|       |
 2221|      0|                if (PyModule_AddObjectRef(mod, "__file__", filename) < 0) {
  ------------------
  |  Branch (2221:21): [True: 0, False: 0]
  ------------------
 2222|      0|                    PyErr_Clear(); /* Not important enough to report */
 2223|      0|                }
 2224|      0|            }
 2225|       |
 2226|       |            /* Update global import state. */
 2227|      0|            assert(def->m_base.m_index != 0);
  ------------------
  |  Branch (2227:13): [True: 0, False: 0]
  ------------------
 2228|      0|            struct singlephase_global_update singlephase = {
 2229|       |                // XXX Modules that share a def should each get their own index,
 2230|       |                // whereas currently they share (which means the per-interpreter
 2231|       |                // cache is less reliable than it should be).
 2232|      0|                .m_index=def->m_base.m_index,
 2233|      0|                .origin=info->origin,
 2234|       |#ifdef Py_GIL_DISABLED
 2235|       |                .md_requires_gil=((PyModuleObject *)mod)->md_requires_gil,
 2236|       |#endif
 2237|      0|            };
 2238|       |            // gh-88216: Extensions and def->m_base.m_copy can be updated
 2239|       |            // when the extension module doesn't support sub-interpreters.
 2240|      0|            if (def->m_size == -1) {
  ------------------
  |  Branch (2240:17): [True: 0, False: 0]
  ------------------
 2241|       |                /* We will reload from m_copy. */
 2242|      0|                assert(def->m_base.m_init == NULL);
  ------------------
  |  Branch (2242:17): [True: 0, False: 0]
  ------------------
 2243|      0|                singlephase.m_dict = PyModule_GetDict(mod);
 2244|      0|                assert(singlephase.m_dict != NULL);
  ------------------
  |  Branch (2244:17): [True: 0, False: 0]
  ------------------
 2245|      0|            }
 2246|      0|            else {
 2247|       |                /* We will reload via the init function. */
 2248|      0|                assert(def->m_size >= 0);
  ------------------
  |  Branch (2248:17): [True: 0, False: 0]
  ------------------
 2249|      0|                assert(def->m_base.m_copy == NULL);
  ------------------
  |  Branch (2249:17): [True: 0, False: 0]
  ------------------
 2250|      0|                singlephase.m_init = p0;
 2251|      0|            }
 2252|      0|            cached = update_global_state_for_extension(
 2253|      0|                    main_tstate, info->path, info->name, def, &singlephase);
 2254|      0|            if (cached == NULL) {
  ------------------
  |  Branch (2254:17): [True: 0, False: 0]
  ------------------
 2255|      0|                assert(PyErr_Occurred());
  ------------------
  |  Branch (2255:17): [True: 0, False: 0]
  ------------------
 2256|      0|                main_error = true;
 2257|      0|                goto main_finally;
 2258|      0|            }
 2259|      0|        }
 2260|     34|    }
 2261|       |
 2262|     34|main_finally:
 2263|     34|    if (rc < 0) {
  ------------------
  |  Branch (2263:9): [True: 0, False: 34]
  ------------------
 2264|      0|        _Py_ext_module_loader_result_apply_error(&res, name_buf);
 2265|      0|    }
 2266|       |
 2267|       |    /* Switch back to the subinterpreter. */
 2268|     34|    if (switched) {
  ------------------
  |  Branch (2268:9): [True: 0, False: 34]
  ------------------
 2269|       |        // gh-144601: The exception object can't be transferred across
 2270|       |        // interpreters. Instead, we print out an unraisable exception, and
 2271|       |        // then raise a different exception for the calling interpreter.
 2272|      0|        if (rc < 0 || main_error) {
  ------------------
  |  Branch (2272:13): [True: 0, False: 0]
  |  Branch (2272:23): [True: 0, False: 0]
  ------------------
 2273|      0|            assert(PyErr_Occurred());
  ------------------
  |  Branch (2273:13): [True: 0, False: 0]
  ------------------
 2274|      0|            PyErr_FormatUnraisable("Exception while importing from subinterpreter");
 2275|      0|        }
 2276|      0|        assert(main_tstate != tstate);
  ------------------
  |  Branch (2276:9): [True: 0, False: 0]
  ------------------
 2277|      0|        switch_back_from_main_interpreter(tstate, main_tstate, mod);
 2278|       |        /* Any module we got from the init function will have to be
 2279|       |         * reloaded in the subinterpreter. */
 2280|      0|        mod = NULL;
 2281|      0|        if (rc < 0 || main_error) {
  ------------------
  |  Branch (2281:13): [True: 0, False: 0]
  |  Branch (2281:23): [True: 0, False: 0]
  ------------------
 2282|      0|            PyErr_SetString(PyExc_ImportError,
 2283|      0|                            "failed to import from subinterpreter due to exception");
 2284|      0|            goto error;
 2285|      0|        }
 2286|      0|    }
 2287|       |
 2288|       |    /*****************************************************************/
 2289|       |    /* At this point we are back to the interpreter we started with. */
 2290|       |    /*****************************************************************/
 2291|       |
 2292|       |    /* Finally we handle the error return from _PyImport_RunModInitFunc(). */
 2293|     34|    if (rc < 0) {
  ------------------
  |  Branch (2293:9): [True: 0, False: 34]
  ------------------
 2294|      0|        goto error;
 2295|      0|    }
 2296|     34|    if (main_error) {
  ------------------
  |  Branch (2296:9): [True: 0, False: 34]
  ------------------
 2297|      0|        goto error;
 2298|      0|    }
 2299|       |
 2300|     34|    if (res.kind == _Py_ext_module_kind_MULTIPHASE) {
  ------------------
  |  Branch (2300:9): [True: 34, False: 0]
  ------------------
 2301|     34|        assert_multiphase_def(def);
  ------------------
  |  | 1797|     34|    do {                                                            \
  |  | 1798|     34|        _Py_ext_module_kind kind = _get_extension_kind(def, false); \
  |  | 1799|     34|        assert(kind == _Py_ext_module_kind_MULTIPHASE               \
  |  | 1800|     34|                /* m_slots can be NULL. */                          \
  |  | 1801|     34|                || kind == _Py_ext_module_kind_UNKNOWN);            \
  |  | 1802|     34|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1802:14): [Folded, False: 34]
  |  |  ------------------
  ------------------
  |  Branch (2301:9): [True: 34, False: 0]
  |  Branch (2301:9): [True: 0, False: 0]
  ------------------
 2302|     34|        assert(mod == NULL);
  ------------------
  |  Branch (2302:9): [True: 34, False: 0]
  ------------------
 2303|       |        /* Note that we cheat a little by not repeating the calls
 2304|       |         * to _PyImport_GetModuleExportHooks() and _PyImport_RunModInitFunc(). */
 2305|     34|        mod = PyModule_FromDefAndSpec(def, spec);
  ------------------
  |  |   80|     34|    PyModule_FromDefAndSpec2((module), (spec), PYTHON_API_VERSION)
  |  |  ------------------
  |  |  |  |   59|     34|#define PYTHON_API_VERSION 1013
  |  |  ------------------
  ------------------
 2306|     34|        if (mod == NULL) {
  ------------------
  |  Branch (2306:13): [True: 0, False: 34]
  ------------------
 2307|      0|            goto error;
 2308|      0|        }
 2309|     34|    }
 2310|      0|    else {
 2311|      0|        assert(res.kind == _Py_ext_module_kind_SINGLEPHASE);
  ------------------
  |  Branch (2311:9): [True: 0, False: 0]
  ------------------
 2312|      0|        assert_singlephase_def(def);
  ------------------
  |  | 1805|      0|    do {                                                            \
  |  | 1806|      0|        _Py_ext_module_kind kind = _get_extension_kind(def, true);  \
  |  | 1807|      0|        assert(kind == _Py_ext_module_kind_SINGLEPHASE              \
  |  | 1808|      0|                || kind == _Py_ext_module_kind_UNKNOWN);            \
  |  | 1809|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1809:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2312:9): [True: 0, False: 0]
  |  Branch (2312:9): [True: 0, False: 0]
  ------------------
 2313|       |
 2314|      0|        if (_PyImport_CheckSubinterpIncompatibleExtensionAllowed(name_buf) < 0) {
  ------------------
  |  Branch (2314:13): [True: 0, False: 0]
  ------------------
 2315|      0|            goto error;
 2316|      0|        }
 2317|      0|        assert(!PyErr_Occurred());
  ------------------
  |  Branch (2317:9): [True: 0, False: 0]
  ------------------
 2318|       |
 2319|      0|        if (switched) {
  ------------------
  |  Branch (2319:13): [True: 0, False: 0]
  ------------------
 2320|       |            /* We switched to the main interpreter to run the init
 2321|       |             * function, so now we will "reload" the module from the
 2322|       |             * cached data using the original subinterpreter. */
 2323|      0|            assert(mod == NULL);
  ------------------
  |  Branch (2323:13): [True: 0, False: 0]
  ------------------
 2324|      0|            mod = reload_singlephase_extension(tstate, cached, info);
 2325|      0|            if (mod == NULL) {
  ------------------
  |  Branch (2325:17): [True: 0, False: 0]
  ------------------
 2326|      0|                goto error;
 2327|      0|            }
 2328|      0|            assert(!PyErr_Occurred());
  ------------------
  |  Branch (2328:13): [True: 0, False: 0]
  ------------------
 2329|      0|            assert(PyModule_Check(mod));
  ------------------
  |  Branch (2329:13): [True: 0, False: 0]
  ------------------
 2330|      0|        }
 2331|      0|        else {
 2332|      0|            assert(mod != NULL);
  ------------------
  |  Branch (2332:13): [True: 0, False: 0]
  ------------------
 2333|      0|            assert(PyModule_Check(mod));
  ------------------
  |  Branch (2333:13): [True: 0, False: 0]
  ------------------
 2334|       |
 2335|       |            /* Update per-interpreter import state. */
 2336|      0|            PyObject *modules = get_modules_dict(tstate, true);
 2337|      0|            if (finish_singlephase_extension(
  ------------------
  |  Branch (2337:17): [True: 0, False: 0]
  ------------------
 2338|      0|                    tstate, mod, cached, info->name, modules) < 0)
 2339|      0|            {
 2340|      0|                goto error;
 2341|      0|            }
 2342|      0|        }
 2343|      0|    }
 2344|       |
 2345|     34|    _Py_ext_module_loader_result_clear(&res);
 2346|     34|    return mod;
 2347|       |
 2348|      0|error:
 2349|      0|    Py_XDECREF(mod);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2350|      0|    _Py_ext_module_loader_result_clear(&res);
 2351|       |    return NULL;
 2352|     34|}
import.c:module_dict_for_exec:
 2840|      4|{
 2841|      4|    PyObject *m, *d;
 2842|       |
 2843|      4|    m = import_add_module(tstate, name);
 2844|      4|    if (m == NULL)
  ------------------
  |  Branch (2844:9): [True: 0, False: 4]
  ------------------
 2845|      0|        return NULL;
 2846|       |    /* If the module is being reloaded, we get the old module back
 2847|       |       and re-use its dict to exec the new code. */
 2848|      4|    d = PyModule_GetDict(m);
 2849|      4|    int r = PyDict_Contains(d, &_Py_ID(__builtins__));
  ------------------
  |  |  936|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2850|      4|    if (r == 0) {
  ------------------
  |  Branch (2850:9): [True: 4, False: 0]
  ------------------
 2851|      4|        r = PyDict_SetItem(d, &_Py_ID(__builtins__), PyEval_GetBuiltins());
  ------------------
  |  |  936|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2852|      4|    }
 2853|      4|    if (r < 0) {
  ------------------
  |  Branch (2853:9): [True: 0, False: 4]
  ------------------
 2854|      0|        remove_module(tstate, name);
 2855|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2856|      0|        return NULL;
 2857|      0|    }
 2858|       |
 2859|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2860|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2861|      4|    return d;
 2862|      4|}
import.c:exec_code_in_module:
 2867|      4|{
 2868|      4|    PyObject *v, *m;
 2869|       |
 2870|      4|    v = PyEval_EvalCode(code_object, module_dict, module_dict);
 2871|      4|    if (v == NULL) {
  ------------------
  |  Branch (2871:9): [True: 0, False: 4]
  ------------------
 2872|      0|        remove_module(tstate, name);
 2873|      0|        return NULL;
 2874|      0|    }
 2875|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2876|       |
 2877|      4|    m = import_get_module(tstate, name);
 2878|      4|    if (m == NULL && !_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (2878:9): [True: 0, False: 4]
  |  Branch (2878:22): [True: 0, False: 0]
  ------------------
 2879|      0|        _PyErr_Format(tstate, PyExc_ImportError,
 2880|      0|                      "Loaded module %R not found in sys.modules",
 2881|      0|                      name);
 2882|      0|    }
 2883|       |
 2884|      4|    return m;
 2885|      4|}
import.c:find_frozen:
 3182|     92|{
 3183|     92|    if (info != NULL) {
  ------------------
  |  Branch (3183:9): [True: 92, False: 0]
  ------------------
 3184|     92|        memset(info, 0, sizeof(*info));
 3185|     92|    }
 3186|       |
 3187|     92|    if (nameobj == NULL || nameobj == Py_None) {
  ------------------
  |  |  616|     92|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3187:9): [True: 0, False: 92]
  |  Branch (3187:28): [True: 0, False: 92]
  ------------------
 3188|      0|        return FROZEN_BAD_NAME;
 3189|      0|    }
 3190|     92|    const char *name = _PyUnicode_AsUTF8NoNUL(nameobj);
 3191|     92|    if (name == NULL) {
  ------------------
  |  Branch (3191:9): [True: 0, False: 92]
  ------------------
 3192|       |        // Note that this function previously used
 3193|       |        // _PyUnicode_EqualToASCIIString().  We clear the error here
 3194|       |        // (instead of propagating it) to match the earlier behavior
 3195|       |        // more closely.
 3196|      0|        PyErr_Clear();
 3197|      0|        return FROZEN_BAD_NAME;
 3198|      0|    }
 3199|       |
 3200|     92|    const struct _frozen *p = look_up_frozen(name);
 3201|     92|    if (p == NULL) {
  ------------------
  |  Branch (3201:9): [True: 32, False: 60]
  ------------------
 3202|     32|        return FROZEN_NOT_FOUND;
 3203|     32|    }
 3204|     60|    if (info != NULL) {
  ------------------
  |  Branch (3204:9): [True: 60, False: 0]
  ------------------
 3205|     60|        info->nameobj = nameobj;  // borrowed
 3206|     60|        info->data = (const char *)p->code;
 3207|     60|        info->size = p->size;
 3208|     60|        info->is_package = p->is_package;
 3209|     60|        if (p->size < 0) {
  ------------------
  |  Branch (3209:13): [True: 0, False: 60]
  ------------------
 3210|       |            // backward compatibility with negative size values
 3211|      0|            info->size = -(p->size);
 3212|      0|            info->is_package = true;
 3213|      0|        }
 3214|     60|        info->origname = name;
 3215|     60|        info->is_alias = resolve_module_alias(name, _PyImport_FrozenAliases,
 3216|     60|                                              &info->origname);
 3217|     60|    }
 3218|     60|    if (p->code == NULL) {
  ------------------
  |  Branch (3218:9): [True: 0, False: 60]
  ------------------
 3219|       |        /* It is frozen but marked as un-importable. */
 3220|      0|        return FROZEN_EXCLUDED;
 3221|      0|    }
 3222|     60|    if (p->code[0] == '\0' || p->size == 0) {
  ------------------
  |  Branch (3222:9): [True: 0, False: 60]
  |  Branch (3222:31): [True: 0, False: 60]
  ------------------
 3223|       |        /* Does not contain executable code. */
 3224|      0|        return FROZEN_INVALID;
 3225|      0|    }
 3226|     60|    return FROZEN_OKAY;
 3227|     60|}
import.c:look_up_frozen:
 3125|     92|{
 3126|     92|    const struct _frozen *p;
 3127|       |    // We always use the bootstrap modules.
 3128|    410|    for (p = _PyImport_FrozenBootstrap; ; p++) {
 3129|    410|        if (p->name == NULL) {
  ------------------
  |  Branch (3129:13): [True: 72, False: 338]
  ------------------
 3130|       |            // We hit the end-of-list sentinel value.
 3131|     72|            break;
 3132|     72|        }
 3133|    338|        if (strcmp(name, p->name) == 0) {
  ------------------
  |  Branch (3133:13): [True: 20, False: 318]
  ------------------
 3134|     20|            return p;
 3135|     20|        }
 3136|    338|    }
 3137|       |    // Prefer custom modules, if any.  Frozen stdlib modules can be
 3138|       |    // disabled here by setting "code" to NULL in the array entry.
 3139|     72|    if (PyImport_FrozenModules != NULL) {
  ------------------
  |  Branch (3139:9): [True: 0, False: 72]
  ------------------
 3140|      0|        for (p = PyImport_FrozenModules; ; p++) {
 3141|      0|            if (p->name == NULL) {
  ------------------
  |  Branch (3141:17): [True: 0, False: 0]
  ------------------
 3142|      0|                break;
 3143|      0|            }
 3144|      0|            if (strcmp(name, p->name) == 0) {
  ------------------
  |  Branch (3144:17): [True: 0, False: 0]
  ------------------
 3145|      0|                return p;
 3146|      0|            }
 3147|      0|        }
 3148|      0|    }
 3149|       |    // Frozen stdlib modules may be disabled.
 3150|     72|    if (use_frozen()) {
  ------------------
  |  Branch (3150:9): [True: 72, False: 0]
  ------------------
 3151|    766|        for (p = _PyImport_FrozenStdlib; ; p++) {
 3152|    766|            if (p->name == NULL) {
  ------------------
  |  Branch (3152:17): [True: 32, False: 734]
  ------------------
 3153|     32|                break;
 3154|     32|            }
 3155|    734|            if (strcmp(name, p->name) == 0) {
  ------------------
  |  Branch (3155:17): [True: 40, False: 694]
  ------------------
 3156|     40|                return p;
 3157|     40|            }
 3158|    734|        }
 3159|    384|        for (p = _PyImport_FrozenTest; ; p++) {
 3160|    384|            if (p->name == NULL) {
  ------------------
  |  Branch (3160:17): [True: 32, False: 352]
  ------------------
 3161|     32|                break;
 3162|     32|            }
 3163|    352|            if (strcmp(name, p->name) == 0) {
  ------------------
  |  Branch (3163:17): [True: 0, False: 352]
  ------------------
 3164|      0|                return p;
 3165|      0|            }
 3166|    352|        }
 3167|     32|    }
 3168|     32|    return NULL;
 3169|     72|}
import.c:use_frozen:
 2984|     72|{
 2985|     72|    PyInterpreterState *interp = _PyInterpreterState_GET();
 2986|     72|    int override = OVERRIDE_FROZEN_MODULES(interp);
  ------------------
  |  |  102|     72|    (interp)->imports.override_frozen_modules
  ------------------
 2987|     72|    if (override > 0) {
  ------------------
  |  Branch (2987:9): [True: 0, False: 72]
  ------------------
 2988|      0|        return true;
 2989|      0|    }
 2990|     72|    else if (override < 0) {
  ------------------
  |  Branch (2990:14): [True: 0, False: 72]
  ------------------
 2991|      0|        return false;
 2992|      0|    }
 2993|     72|    else {
 2994|     72|        return interp->config.use_frozen_modules;
 2995|     72|    }
 2996|     72|}
import.c:resolve_module_alias:
 2966|     60|{
 2967|     60|    const struct _module_alias *entry;
 2968|    472|    for (entry = aliases; ; entry++) {
 2969|    472|        if (entry->name == NULL) {
  ------------------
  |  Branch (2969:13): [True: 44, False: 428]
  ------------------
 2970|       |            /* It isn't an alias. */
 2971|     44|            return false;
 2972|     44|        }
 2973|    428|        if (strcmp(name, entry->name) == 0) {
  ------------------
  |  Branch (2973:13): [True: 16, False: 412]
  ------------------
 2974|     16|            if (alias != NULL) {
  ------------------
  |  Branch (2974:17): [True: 16, False: 0]
  ------------------
 2975|     16|                *alias = entry->orig;
 2976|     16|            }
 2977|       |            return true;
 2978|     16|        }
 2979|    428|    }
 2980|     60|}
import.c:unmarshal_frozen_code:
 3231|     28|{
 3232|     28|    PyObject *co = PyMarshal_ReadObjectFromString(info->data, info->size);
 3233|     28|    if (co == NULL) {
  ------------------
  |  Branch (3233:9): [True: 0, False: 28]
  ------------------
 3234|       |        /* Does not contain executable code. */
 3235|      0|        PyErr_Clear();
 3236|      0|        set_frozen_error(FROZEN_INVALID, info->nameobj);
 3237|      0|        return NULL;
 3238|      0|    }
 3239|     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 (3239:9): [True: 0, False: 28]
  ------------------
 3240|       |        // We stick with TypeError for backward compatibility.
 3241|      0|        PyErr_Format(PyExc_TypeError,
 3242|      0|                     "frozen object %R is not a code object",
 3243|      0|                     info->nameobj);
 3244|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3245|      0|        return NULL;
 3246|      0|    }
 3247|     28|    return co;
 3248|     28|}
import.c:remove_importlib_frames:
 3677|      4|{
 3678|      4|    const char *importlib_filename = "<frozen importlib._bootstrap>";
 3679|      4|    const char *external_filename = "<frozen importlib._bootstrap_external>";
 3680|      4|    const char *remove_frames = "_call_with_frames_removed";
 3681|      4|    int always_trim = 0;
 3682|      4|    int in_importlib = 0;
 3683|      4|    PyObject **prev_link, **outer_link = NULL;
 3684|      4|    PyObject *base_tb = NULL;
 3685|       |
 3686|       |    /* Synopsis: if it's an ImportError, we trim all importlib chunks
 3687|       |       from the traceback. We always trim chunks
 3688|       |       which end with a call to "_call_with_frames_removed". */
 3689|       |
 3690|      4|    PyObject *exc = _PyErr_GetRaisedException(tstate);
 3691|      4|    if (exc == NULL || _PyInterpreterState_GetConfig(tstate->interp)->verbose) {
  ------------------
  |  Branch (3691:9): [True: 0, False: 4]
  |  Branch (3691:24): [True: 0, False: 4]
  ------------------
 3692|      0|        goto done;
 3693|      0|    }
 3694|       |
 3695|      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 (3695:9): [True: 4, False: 0]
  ------------------
 3696|      4|        always_trim = 1;
 3697|      4|    }
 3698|       |
 3699|      4|    assert(PyExceptionInstance_Check(exc));
  ------------------
  |  Branch (3699:5): [True: 4, False: 0]
  ------------------
 3700|      4|    base_tb = PyException_GetTraceback(exc);
 3701|      4|    prev_link = &base_tb;
 3702|      4|    PyObject *tb = base_tb;
 3703|     12|    while (tb != NULL) {
  ------------------
  |  Branch (3703:12): [True: 8, False: 4]
  ------------------
 3704|      8|        assert(PyTraceBack_Check(tb));
  ------------------
  |  Branch (3704:9): [True: 8, False: 0]
  ------------------
 3705|      8|        PyTracebackObject *traceback = (PyTracebackObject *)tb;
 3706|      8|        PyObject *next = (PyObject *) traceback->tb_next;
 3707|      8|        PyFrameObject *frame = traceback->tb_frame;
 3708|      8|        PyCodeObject *code = PyFrame_GetCode(frame);
 3709|      8|        int now_in_importlib;
 3710|       |
 3711|      8|        now_in_importlib = _PyUnicode_EqualToASCIIString(code->co_filename, importlib_filename) ||
  ------------------
  |  Branch (3711:28): [True: 8, False: 0]
  ------------------
 3712|      0|                           _PyUnicode_EqualToASCIIString(code->co_filename, external_filename);
  ------------------
  |  Branch (3712:28): [True: 0, False: 0]
  ------------------
 3713|      8|        if (now_in_importlib && !in_importlib) {
  ------------------
  |  Branch (3713:13): [True: 8, False: 0]
  |  Branch (3713:33): [True: 4, False: 4]
  ------------------
 3714|       |            /* This is the link to this chunk of importlib tracebacks */
 3715|      4|            outer_link = prev_link;
 3716|      4|        }
 3717|      8|        in_importlib = now_in_importlib;
 3718|       |
 3719|      8|        if (in_importlib &&
  ------------------
  |  Branch (3719:13): [True: 8, False: 0]
  ------------------
 3720|      8|            (always_trim ||
  ------------------
  |  Branch (3720:14): [True: 8, False: 0]
  ------------------
 3721|      8|             _PyUnicode_EqualToASCIIString(code->co_name, remove_frames))) {
  ------------------
  |  Branch (3721:14): [True: 0, False: 0]
  ------------------
 3722|      8|            Py_XSETREF(*outer_link, Py_XNewRef(next));
  ------------------
  |  |  376|      8|    do { \
  |  |  377|      8|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|      8|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|      8|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|      8|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|      8|        *_tmp_dst_ptr = (src); \
  |  |  380|      8|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|      8|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 3723|      8|            prev_link = outer_link;
 3724|      8|        }
 3725|      0|        else {
 3726|      0|            prev_link = (PyObject **) &traceback->tb_next;
 3727|      0|        }
 3728|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3729|      8|        tb = next;
 3730|      8|    }
 3731|      4|    if (base_tb == NULL) {
  ------------------
  |  Branch (3731:9): [True: 4, False: 0]
  ------------------
 3732|      4|        base_tb = Py_None;
  ------------------
  |  |  616|      4|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3733|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3734|      4|    }
 3735|      4|    PyException_SetTraceback(exc, base_tb);
 3736|      4|done:
 3737|      4|    Py_XDECREF(base_tb);
  ------------------
  |  |  524|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3738|      4|    _PyErr_SetRaisedException(tstate, exc);
 3739|      4|}
import.c:resolve_name:
 3744|     12|{
 3745|     12|    PyObject *abs_name;
 3746|     12|    PyObject *package = NULL;
 3747|     12|    PyObject *spec = NULL;
 3748|     12|    Py_ssize_t last_dot;
 3749|     12|    PyObject *base;
 3750|     12|    int level_up;
 3751|       |
 3752|     12|    if (globals == NULL) {
  ------------------
  |  Branch (3752:9): [True: 0, False: 12]
  ------------------
 3753|      0|        _PyErr_SetString(tstate, PyExc_KeyError, "'__name__' not in globals");
 3754|      0|        goto error;
 3755|      0|    }
 3756|     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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3757|      0|        _PyErr_SetString(tstate, PyExc_TypeError,
 3758|      0|                         "globals must be a dict or a frozendict");
 3759|      0|        goto error;
 3760|      0|    }
 3761|     12|    if (PyDict_GetItemRef(globals, &_Py_ID(__package__), &package) < 0) {
  ------------------
  |  |  936|     12|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     12|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     12|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3761:9): [True: 0, False: 12]
  ------------------
 3762|      0|        goto error;
 3763|      0|    }
 3764|     12|    if (package == Py_None) {
  ------------------
  |  |  616|     12|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3764:9): [True: 0, False: 12]
  ------------------
 3765|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3766|      0|        package = NULL;
 3767|      0|    }
 3768|     12|    if (PyDict_GetItemRef(globals, &_Py_ID(__spec__), &spec) < 0) {
  ------------------
  |  |  936|     12|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     12|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     12|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3768:9): [True: 0, False: 12]
  ------------------
 3769|      0|        goto error;
 3770|      0|    }
 3771|       |
 3772|     12|    if (package != NULL) {
  ------------------
  |  Branch (3772:9): [True: 12, False: 0]
  ------------------
 3773|     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 (3773:13): [True: 0, False: 12]
  ------------------
 3774|      0|            _PyErr_SetString(tstate, PyExc_TypeError,
 3775|      0|                             "package must be a string");
 3776|      0|            goto error;
 3777|      0|        }
 3778|     12|        else if (spec != NULL && spec != Py_None) {
  ------------------
  |  |  616|     12|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3778:18): [True: 12, False: 0]
  |  Branch (3778:34): [True: 12, False: 0]
  ------------------
 3779|     12|            int equal;
 3780|     12|            PyObject *parent = PyObject_GetAttr(spec, &_Py_ID(parent));
  ------------------
  |  |  936|     12|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     12|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     12|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3781|     12|            if (parent == NULL) {
  ------------------
  |  Branch (3781:17): [True: 0, False: 12]
  ------------------
 3782|      0|                goto error;
 3783|      0|            }
 3784|       |
 3785|     12|            equal = PyObject_RichCompareBool(package, parent, Py_EQ);
  ------------------
  |  |  654|     12|#define Py_EQ 2
  ------------------
 3786|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3787|     12|            if (equal < 0) {
  ------------------
  |  Branch (3787:17): [True: 0, False: 12]
  ------------------
 3788|      0|                goto error;
 3789|      0|            }
 3790|     12|            else if (equal == 0) {
  ------------------
  |  Branch (3790:22): [True: 0, False: 12]
  ------------------
 3791|      0|                if (PyErr_WarnEx(PyExc_DeprecationWarning,
  ------------------
  |  Branch (3791:21): [True: 0, False: 0]
  ------------------
 3792|      0|                        "__package__ != __spec__.parent", 1) < 0) {
 3793|      0|                    goto error;
 3794|      0|                }
 3795|      0|            }
 3796|     12|        }
 3797|     12|    }
 3798|      0|    else if (spec != NULL && spec != Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3798:14): [True: 0, False: 0]
  |  Branch (3798:30): [True: 0, False: 0]
  ------------------
 3799|      0|        package = PyObject_GetAttr(spec, &_Py_ID(parent));
  ------------------
  |  |  936|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3800|      0|        if (package == NULL) {
  ------------------
  |  Branch (3800:13): [True: 0, False: 0]
  ------------------
 3801|      0|            goto error;
 3802|      0|        }
 3803|      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 (3803:18): [True: 0, False: 0]
  ------------------
 3804|      0|            _PyErr_SetString(tstate, PyExc_TypeError,
 3805|      0|                             "__spec__.parent must be a string");
 3806|      0|            goto error;
 3807|      0|        }
 3808|      0|    }
 3809|      0|    else {
 3810|      0|        if (PyErr_WarnEx(PyExc_ImportWarning,
  ------------------
  |  Branch (3810:13): [True: 0, False: 0]
  ------------------
 3811|      0|                    "can't resolve package from __spec__ or __package__, "
 3812|      0|                    "falling back on __name__ and __path__", 1) < 0) {
 3813|      0|            goto error;
 3814|      0|        }
 3815|       |
 3816|      0|        if (PyDict_GetItemRef(globals, &_Py_ID(__name__), &package) < 0) {
  ------------------
  |  |  936|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3816:13): [True: 0, False: 0]
  ------------------
 3817|      0|            goto error;
 3818|      0|        }
 3819|      0|        if (package == NULL) {
  ------------------
  |  Branch (3819:13): [True: 0, False: 0]
  ------------------
 3820|      0|            _PyErr_SetString(tstate, PyExc_KeyError,
 3821|      0|                             "'__name__' not in globals");
 3822|      0|            goto error;
 3823|      0|        }
 3824|       |
 3825|      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 (3825:13): [True: 0, False: 0]
  ------------------
 3826|      0|            _PyErr_SetString(tstate, PyExc_TypeError,
 3827|      0|                             "__name__ must be a string");
 3828|      0|            goto error;
 3829|      0|        }
 3830|       |
 3831|      0|        int haspath = PyDict_Contains(globals, &_Py_ID(__path__));
  ------------------
  |  |  936|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3832|      0|        if (haspath < 0) {
  ------------------
  |  Branch (3832:13): [True: 0, False: 0]
  ------------------
 3833|      0|            goto error;
 3834|      0|        }
 3835|      0|        if (!haspath) {
  ------------------
  |  Branch (3835:13): [True: 0, False: 0]
  ------------------
 3836|      0|            Py_ssize_t dot;
 3837|       |
 3838|      0|            dot = PyUnicode_FindChar(package, '.',
 3839|      0|                                        0, PyUnicode_GET_LENGTH(package), -1);
  ------------------
  |  |  299|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3840|      0|            if (dot == -2) {
  ------------------
  |  Branch (3840:17): [True: 0, False: 0]
  ------------------
 3841|      0|                goto error;
 3842|      0|            }
 3843|      0|            else if (dot == -1) {
  ------------------
  |  Branch (3843:22): [True: 0, False: 0]
  ------------------
 3844|      0|                goto no_parent_error;
 3845|      0|            }
 3846|      0|            PyObject *substr = PyUnicode_Substring(package, 0, dot);
 3847|      0|            if (substr == NULL) {
  ------------------
  |  Branch (3847:17): [True: 0, False: 0]
  ------------------
 3848|      0|                goto error;
 3849|      0|            }
 3850|      0|            Py_SETREF(package, substr);
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3851|      0|        }
 3852|      0|    }
 3853|       |
 3854|     12|    last_dot = PyUnicode_GET_LENGTH(package);
  ------------------
  |  |  299|     12|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3855|     12|    if (last_dot == 0) {
  ------------------
  |  Branch (3855:9): [True: 0, False: 12]
  ------------------
 3856|      0|        goto no_parent_error;
 3857|      0|    }
 3858|       |
 3859|     12|    for (level_up = 1; level_up < level; level_up += 1) {
  ------------------
  |  Branch (3859:24): [True: 0, False: 12]
  ------------------
 3860|      0|        last_dot = PyUnicode_FindChar(package, '.', 0, last_dot, -1);
 3861|      0|        if (last_dot == -2) {
  ------------------
  |  Branch (3861:13): [True: 0, False: 0]
  ------------------
 3862|      0|            goto error;
 3863|      0|        }
 3864|      0|        else if (last_dot == -1) {
  ------------------
  |  Branch (3864:18): [True: 0, False: 0]
  ------------------
 3865|      0|            _PyErr_SetString(tstate, PyExc_ImportError,
 3866|      0|                             "attempted relative import beyond top-level "
 3867|      0|                             "package");
 3868|      0|            goto error;
 3869|      0|        }
 3870|      0|    }
 3871|       |
 3872|     12|    Py_XDECREF(spec);
  ------------------
  |  |  524|     12|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3873|     12|    base = PyUnicode_Substring(package, 0, last_dot);
 3874|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3875|     12|    if (base == NULL || PyUnicode_GET_LENGTH(name) == 0) {
  ------------------
  |  |  299|     12|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3875:9): [True: 0, False: 12]
  |  Branch (3875:25): [True: 5, False: 7]
  ------------------
 3876|      5|        return base;
 3877|      5|    }
 3878|       |
 3879|      7|    abs_name = PyUnicode_FromFormat("%U.%U", base, name);
 3880|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3881|      7|    return abs_name;
 3882|       |
 3883|      0|  no_parent_error:
 3884|      0|    _PyErr_SetString(tstate, PyExc_ImportError,
 3885|      0|                     "attempted relative import "
 3886|      0|                     "with no known parent package");
 3887|       |
 3888|      0|  error:
 3889|      0|    Py_XDECREF(spec);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3890|      0|    Py_XDECREF(package);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3891|       |    return NULL;
 3892|      0|}
import.c:get_abs_name:
 4186|    419|{
 4187|    419|    if (level > 0) {
  ------------------
  |  Branch (4187:9): [True: 12, False: 407]
  ------------------
 4188|     12|        return resolve_name(tstate, name, globals, level);
 4189|     12|    }
 4190|    407|    if (PyUnicode_GET_LENGTH(name) == 0) {
  ------------------
  |  |  299|    407|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    407|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    407|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4190:9): [True: 0, False: 407]
  ------------------
 4191|      0|        _PyErr_SetString(tstate, PyExc_ValueError, "Empty module name");
 4192|      0|        return NULL;
 4193|      0|    }
 4194|    407|    return Py_NewRef(name);
  ------------------
  |  |  550|    407|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    407|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    407|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4195|    407|}
import.c:import_find_and_load:
 4178|     81|{
 4179|     81|    return import_find_and_load_with_name(
 4180|     81|        tstate, abs_name, &_Py_ID(_find_and_load), NULL);
  ------------------
  |  |  936|     81|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     81|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     81|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4181|     81|}
import.c:import_find_and_load_with_name:
 4119|     81|{
 4120|     81|    PyObject *mod = NULL;
 4121|     81|    PyInterpreterState *interp = tstate->interp;
 4122|     81|    int import_time = _PyInterpreterState_GetConfig(interp)->import_time;
 4123|     81|#define import_level FIND_AND_LOAD(interp).import_level
 4124|     81|#define accumulated FIND_AND_LOAD(interp).accumulated
 4125|       |
 4126|     81|    PyTime_t t1 = 0, accumulated_copy = accumulated;
  ------------------
  |  | 4124|     81|#define accumulated FIND_AND_LOAD(interp).accumulated
  |  |  ------------------
  |  |  |  |  117|     81|    (interp)->imports.find_and_load
  |  |  ------------------
  ------------------
 4127|       |
 4128|       |    /* XOptions is initialized after first some imports.
 4129|       |     * So we can't have negative cache before completed initialization.
 4130|       |     * Anyway, importlib._find_and_load is much slower than
 4131|       |     * _PyDict_GetItemIdWithError().
 4132|       |     */
 4133|     81|    if (import_time) {
  ------------------
  |  Branch (4133:9): [True: 0, False: 81]
  ------------------
 4134|      0|        _IMPORT_TIME_HEADER(interp);
  ------------------
  |  |  135|      0|    do {                                                                      \
  |  |  136|      0|        if (FIND_AND_LOAD((interp)).header) {                                 \
  |  |  ------------------
  |  |  |  |  117|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  |  |  |  Branch (136:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  137|      0|            fputs("import time: self [us] | cumulative | imported package\n", \
  |  |  138|      0|                  stderr);                                                    \
  |  |  139|      0|            FIND_AND_LOAD((interp)).header = 0;                               \
  |  |  ------------------
  |  |  |  |  117|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  |  |  140|      0|        }                                                                     \
  |  |  141|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (141:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4135|       |
 4136|      0|        import_level++;
  ------------------
  |  | 4123|      0|#define import_level FIND_AND_LOAD(interp).import_level
  |  |  ------------------
  |  |  |  |  117|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  ------------------
 4137|       |        // ignore error: don't block import if reading the clock fails
 4138|      0|        (void)PyTime_PerfCounterRaw(&t1);
 4139|      0|        accumulated = 0;
  ------------------
  |  | 4124|      0|#define accumulated FIND_AND_LOAD(interp).accumulated
  |  |  ------------------
  |  |  |  |  117|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  ------------------
 4140|      0|    }
 4141|       |
 4142|     81|    if (PyDTrace_IMPORT_FIND_LOAD_START_ENABLED())
  ------------------
  |  Branch (4142:9): [True: 0, False: 81]
  ------------------
 4143|      0|        PyDTrace_IMPORT_FIND_LOAD_START(PyUnicode_AsUTF8(abs_name));
 4144|       |
 4145|     81|    mod = PyObject_CallMethodObjArgs(IMPORTLIB(interp), find_and_load,
  ------------------
  |  |   98|     81|    (interp)->imports.importlib
  ------------------
 4146|     81|                                     abs_name, IMPORT_FUNC(interp), NULL);
  ------------------
  |  |  108|     81|    (interp)->imports.import_func
  ------------------
 4147|       |
 4148|     81|    if (PyDTrace_IMPORT_FIND_LOAD_DONE_ENABLED()) {
  ------------------
  |  Branch (4148:9): [True: 0, False: 81]
  ------------------
 4149|      0|        int found = mod != NULL && mod != not_found;
  ------------------
  |  Branch (4149:21): [True: 0, False: 0]
  |  Branch (4149:36): [True: 0, False: 0]
  ------------------
 4150|      0|        PyDTrace_IMPORT_FIND_LOAD_DONE(PyUnicode_AsUTF8(abs_name),
 4151|      0|                                       found);
 4152|      0|    }
 4153|       |
 4154|     81|    if (import_time) {
  ------------------
  |  Branch (4154:9): [True: 0, False: 81]
  ------------------
 4155|      0|        PyTime_t t2;
 4156|      0|        (void)PyTime_PerfCounterRaw(&t2);
 4157|      0|        PyTime_t cum = t2 - t1;
 4158|       |
 4159|      0|        import_level--;
  ------------------
  |  | 4123|      0|#define import_level FIND_AND_LOAD(interp).import_level
  |  |  ------------------
  |  |  |  |  117|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  ------------------
 4160|      0|        PyObject *encoded_name = get_importtime_name(abs_name);
 4161|      0|        fprintf(stderr, "import time: %9ld | %10ld | %*s%s\n",
 4162|      0|                (long)_PyTime_AsMicroseconds(cum - accumulated, _PyTime_ROUND_CEILING),
  ------------------
  |  | 4124|      0|#define accumulated FIND_AND_LOAD(interp).accumulated
  |  |  ------------------
  |  |  |  |  117|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  ------------------
 4163|      0|                (long)_PyTime_AsMicroseconds(cum, _PyTime_ROUND_CEILING),
 4164|      0|                import_level*2, "",
  ------------------
  |  | 4123|      0|#define import_level FIND_AND_LOAD(interp).import_level
  |  |  ------------------
  |  |  |  |  117|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  ------------------
 4165|      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 (4165:17): [True: 0, False: 0]
  ------------------
 4166|      0|        Py_XDECREF(encoded_name);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4167|       |
 4168|      0|        accumulated = accumulated_copy + cum;
  ------------------
  |  | 4124|      0|#define accumulated FIND_AND_LOAD(interp).accumulated
  |  |  ------------------
  |  |  |  |  117|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  ------------------
 4169|      0|    }
 4170|       |
 4171|     81|    return mod;
 4172|     81|#undef import_level
 4173|     81|#undef accumulated
 4174|     81|}
import.c:register_from_lazy_on_parent:
 4448|      2|{
 4449|      2|    PyObject *fromname = PyUnicode_FromFormat("%U.%U", abs_name, from);
 4450|      2|    if (fromname == NULL) {
  ------------------
  |  Branch (4450:9): [True: 0, False: 2]
  ------------------
 4451|      0|        return -1;
 4452|      0|    }
 4453|       |
 4454|       |    // Add the module name to sys.lazy_modules set (PEP 810).
 4455|      2|    PyObject *lazy_modules = LAZY_MODULES(tstate->interp);
  ------------------
  |  |   94|      2|    (interp)->imports.lazy_modules
  ------------------
 4456|      2|    if (PySet_Add(lazy_modules, fromname) < 0) {
  ------------------
  |  Branch (4456:9): [True: 0, False: 2]
  ------------------
 4457|      0|        Py_DECREF(fromname);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4458|      0|        return -1;
 4459|      0|    }
 4460|       |
 4461|      2|    int res = register_lazy_on_parent(tstate, fromname);
 4462|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4463|      2|    return res;
 4464|      2|}
import.c:register_lazy_on_parent:
 4389|     12|{
 4390|     12|    int ret = -1;
 4391|     12|    PyObject *parent = NULL;
 4392|     12|    PyObject *child = NULL;
 4393|       |
 4394|     12|    PyInterpreterState *interp = tstate->interp;
 4395|     12|    PyObject *lazy_pending_submodules = LAZY_PENDING_SUBMODULES(interp);
  ------------------
  |  |   96|     12|    (interp)->imports.lazy_pending_submodules
  ------------------
 4396|     12|    assert(lazy_pending_submodules != NULL);
  ------------------
  |  Branch (4396:5): [True: 12, False: 0]
  ------------------
 4397|       |
 4398|     12|    Py_INCREF(name);
  ------------------
  |  |  310|     12|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4399|     14|    while (true) {
  ------------------
  |  Branch (4399:12): [True: 14, Folded]
  ------------------
 4400|     14|        Py_ssize_t dot = PyUnicode_FindChar(name, '.', 0,
 4401|     14|                                            PyUnicode_GET_LENGTH(name), -1);
  ------------------
  |  |  299|     14|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4402|     14|        if (dot < 0) {
  ------------------
  |  Branch (4402:13): [True: 12, False: 2]
  ------------------
 4403|     12|            PyObject *lazy_submodules = ensure_lazy_pending_submodules(
 4404|     12|                (PyDictObject *)lazy_pending_submodules, name);
 4405|     12|            if (lazy_submodules == NULL) {
  ------------------
  |  Branch (4405:17): [True: 0, False: 12]
  ------------------
 4406|      0|                goto done;
 4407|      0|            }
 4408|     12|            Py_DECREF(lazy_submodules);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4409|     12|            ret = 0;
 4410|     12|            goto done;
 4411|     12|        }
 4412|      2|        parent = PyUnicode_Substring(name, 0, dot);
 4413|      2|        if (parent == NULL) {
  ------------------
  |  Branch (4413:13): [True: 0, False: 2]
  ------------------
 4414|      0|            goto done;
 4415|      0|        }
 4416|      2|        Py_XDECREF(child);
  ------------------
  |  |  524|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4417|      2|        child = PyUnicode_Substring(name, dot + 1, PyUnicode_GET_LENGTH(name));
  ------------------
  |  |  299|      2|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4418|      2|        if (child == NULL) {
  ------------------
  |  Branch (4418:13): [True: 0, False: 2]
  ------------------
 4419|      0|            goto done;
 4420|      0|        }
 4421|       |
 4422|      2|        PyObject *lazy_submodules = ensure_lazy_pending_submodules(
 4423|      2|            (PyDictObject *)lazy_pending_submodules, parent);
 4424|      2|        if (lazy_submodules == NULL) {
  ------------------
  |  Branch (4424:13): [True: 0, False: 2]
  ------------------
 4425|      0|            goto done;
 4426|      0|        }
 4427|       |
 4428|      2|        if (PySet_Add(lazy_submodules, child) < 0) {
  ------------------
  |  Branch (4428:13): [True: 0, False: 2]
  ------------------
 4429|      0|            Py_DECREF(lazy_submodules);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4430|      0|            goto done;
 4431|      0|        }
 4432|      2|        Py_DECREF(lazy_submodules);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4433|       |
 4434|      2|        Py_SETREF(name, parent);
  ------------------
  |  |  354|      2|    do { \
  |  |  355|      2|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      2|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      2|        *_tmp_dst_ptr = (src); \
  |  |  358|      2|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4435|      2|        parent = NULL;
 4436|      2|    }
 4437|       |
 4438|     12|done:
 4439|     12|    Py_XDECREF(child);
  ------------------
  |  |  524|     12|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4440|     12|    Py_XDECREF(parent);
  ------------------
  |  |  524|     12|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4441|     12|    Py_XDECREF(name);
  ------------------
  |  |  524|     12|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4442|     12|    return ret;
 4443|     12|}
import.c:ensure_lazy_pending_submodules:
 4365|     14|{
 4366|     14|    PyObject *lazy_submodules;
 4367|     14|    Py_BEGIN_CRITICAL_SECTION(lazy_modules);
  ------------------
  |  |   51|     14|    {
  ------------------
 4368|     14|    int err = _PyDict_GetItemRef_Unicode_LockHeld(lazy_modules, parent,
 4369|     14|                                                  &lazy_submodules);
 4370|     14|    if (err == 0) {
  ------------------
  |  Branch (4370:9): [True: 11, False: 3]
  ------------------
 4371|       |        // value isn't present
 4372|     11|        lazy_submodules = PySet_New(NULL);
 4373|     11|        if (lazy_submodules != NULL &&
  ------------------
  |  Branch (4373:13): [True: 11, False: 0]
  ------------------
 4374|     11|            _PyDict_SetItem_LockHeld(lazy_modules, parent,
  ------------------
  |  Branch (4374:13): [True: 0, False: 11]
  ------------------
 4375|     11|                                     lazy_submodules) < 0) {
 4376|      0|            Py_CLEAR(lazy_submodules);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4377|      0|        }
 4378|     11|    }
 4379|     14|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     14|    }
  ------------------
 4380|     14|    return lazy_submodules;
 4381|     14|}
import.c:init_builtin_modules_table:
 2687|      2|{
 2688|      2|    size_t size;
 2689|     78|    for (size = 0; PyImport_Inittab[size].name != NULL; size++)
  ------------------
  |  Branch (2689:20): [True: 76, False: 2]
  ------------------
 2690|     76|        ;
 2691|      2|    size++;
 2692|       |
 2693|       |    /* Make the copy. */
 2694|      2|    struct _inittab *copied = _PyMem_DefaultRawMalloc(size * sizeof(struct _inittab));
 2695|      2|    if (copied == NULL) {
  ------------------
  |  Branch (2695:9): [True: 0, False: 2]
  ------------------
 2696|      0|        return -1;
 2697|      0|    }
 2698|      2|    memcpy(copied, PyImport_Inittab, size * sizeof(struct _inittab));
 2699|      2|    INITTAB = copied;
  ------------------
  |  |   80|      2|#define INITTAB _PyRuntime.imports.inittab
  ------------------
 2700|      2|    return 0;
 2701|      2|}
import.c:init_importlib:
 3410|      2|{
 3411|      2|    assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (3411:5): [True: 2, False: 0]
  ------------------
 3412|       |
 3413|      2|    PyInterpreterState *interp = tstate->interp;
 3414|      2|    int verbose = _PyInterpreterState_GetConfig(interp)->verbose;
 3415|       |
 3416|       |    // Import _importlib through its frozen version, _frozen_importlib.
 3417|      2|    if (verbose) {
  ------------------
  |  Branch (3417:9): [True: 0, False: 2]
  ------------------
 3418|      0|        PySys_FormatStderr("import _frozen_importlib # frozen\n");
 3419|      0|    }
 3420|      2|    if (PyImport_ImportFrozenModule("_frozen_importlib") <= 0) {
  ------------------
  |  Branch (3420:9): [True: 0, False: 2]
  ------------------
 3421|      0|        return -1;
 3422|      0|    }
 3423|       |
 3424|      2|    PyObject *importlib = PyImport_AddModuleRef("_frozen_importlib");
 3425|      2|    if (importlib == NULL) {
  ------------------
  |  Branch (3425:9): [True: 0, False: 2]
  ------------------
 3426|      0|        return -1;
 3427|      0|    }
 3428|      2|    IMPORTLIB(interp) = importlib;
  ------------------
  |  |   98|      2|    (interp)->imports.importlib
  ------------------
 3429|       |
 3430|       |    // Import the _imp module
 3431|      2|    if (verbose) {
  ------------------
  |  Branch (3431:9): [True: 0, False: 2]
  ------------------
 3432|      0|        PySys_FormatStderr("import _imp # builtin\n");
 3433|      0|    }
 3434|      2|    PyObject *imp_mod = bootstrap_imp(tstate);
 3435|      2|    if (imp_mod == NULL) {
  ------------------
  |  Branch (3435:9): [True: 0, False: 2]
  ------------------
 3436|      0|        return -1;
 3437|      0|    }
 3438|      2|    if (_PyImport_SetModuleString("_imp", imp_mod) < 0) {
  ------------------
  |  Branch (3438:9): [True: 0, False: 2]
  ------------------
 3439|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3440|      0|        return -1;
 3441|      0|    }
 3442|       |
 3443|       |    // Install importlib as the implementation of import
 3444|      2|    PyObject *value = PyObject_CallMethod(importlib, "_install",
 3445|      2|                                          "OO", sysmod, imp_mod);
 3446|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3447|      2|    if (value == NULL) {
  ------------------
  |  Branch (3447:9): [True: 0, False: 2]
  ------------------
 3448|      0|        return -1;
 3449|      0|    }
 3450|      2|    Py_DECREF(value);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3451|       |
 3452|      2|    assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (3452:5): [True: 2, False: 0]
  ------------------
 3453|      2|    return 0;
 3454|      2|}
import.c:bootstrap_imp:
 3356|      2|{
 3357|      2|    PyObject *name = PyUnicode_FromString("_imp");
 3358|      2|    if (name == NULL) {
  ------------------
  |  Branch (3358:9): [True: 0, False: 2]
  ------------------
 3359|      0|        return NULL;
 3360|      0|    }
 3361|       |
 3362|       |    // Mock a ModuleSpec object just good enough for PyModule_FromDefAndSpec():
 3363|       |    // an object with just a name attribute.
 3364|       |    //
 3365|       |    // _imp.__spec__ is overridden by importlib._bootstrap._instal() anyway.
 3366|      2|    PyObject *attrs = Py_BuildValue("{sO}", "name", name);
 3367|      2|    if (attrs == NULL) {
  ------------------
  |  Branch (3367:9): [True: 0, False: 2]
  ------------------
 3368|      0|        goto error;
 3369|      0|    }
 3370|      2|    PyObject *spec = _PyNamespace_New(attrs);
 3371|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3372|      2|    if (spec == NULL) {
  ------------------
  |  Branch (3372:9): [True: 0, False: 2]
  ------------------
 3373|      0|        goto error;
 3374|      0|    }
 3375|       |
 3376|       |    // Create the _imp module from its definition.
 3377|      2|    PyObject *mod = create_builtin(tstate, name, spec, NULL);
 3378|      2|    Py_CLEAR(name);
  ------------------
  |  |  484|      2|    do { \
  |  |  485|      2|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      2|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      2|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2, False: 0]
  |  |  ------------------
  |  |  488|      2|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      2|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      2|        } \
  |  |  491|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 3379|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3380|      2|    if (mod == NULL) {
  ------------------
  |  Branch (3380:9): [True: 0, False: 2]
  ------------------
 3381|      0|        goto error;
 3382|      0|    }
 3383|      2|    assert(mod != Py_None);  // not found
  ------------------
  |  Branch (3383:5): [True: 2, False: 0]
  ------------------
 3384|       |
 3385|       |    // Execute the _imp module: call imp_module_exec().
 3386|      2|    if (exec_builtin_or_dynamic(mod) < 0) {
  ------------------
  |  Branch (3386:9): [True: 0, False: 2]
  ------------------
 3387|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3388|      0|        goto error;
 3389|      0|    }
 3390|      2|    return mod;
 3391|       |
 3392|      0|error:
 3393|      0|    Py_XDECREF(name);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3394|       |    return NULL;
 3395|      2|}
import.c:exec_builtin_or_dynamic:
  940|     34|exec_builtin_or_dynamic(PyObject *mod) {
  941|     34|    void *state;
  942|       |
  943|     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 (943:9): [True: 0, False: 34]
  ------------------
  944|      0|        return 0;
  945|      0|    }
  946|       |
  947|     34|    state = PyModule_GetState(mod);
  948|     34|    if (state) {
  ------------------
  |  Branch (948:9): [True: 0, False: 34]
  ------------------
  949|       |        /* Already initialized; skip reload */
  950|      0|        return 0;
  951|      0|    }
  952|       |
  953|     34|    return PyModule_Exec(mod);
  954|     34|}
import.c:init_importlib_external:
 3459|      2|{
 3460|      2|    PyObject *value;
 3461|      2|    value = PyObject_CallMethod(IMPORTLIB(interp),
  ------------------
  |  |   98|      2|    (interp)->imports.importlib
  ------------------
 3462|      2|                                "_install_external_importers", "");
 3463|      2|    if (value == NULL) {
  ------------------
  |  Branch (3463:9): [True: 0, False: 2]
  ------------------
 3464|      0|        return -1;
 3465|      0|    }
 3466|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3467|      2|    return 0;
 3468|      2|}
import.c:init_zipimport:
 4899|      2|{
 4900|      2|    PyObject *path_hooks = PySys_GetAttrString("path_hooks");
 4901|      2|    if (path_hooks == NULL) {
  ------------------
  |  Branch (4901:9): [True: 0, False: 2]
  ------------------
 4902|      0|        return -1;
 4903|      0|    }
 4904|       |
 4905|      2|    if (verbose) {
  ------------------
  |  Branch (4905:9): [True: 0, False: 2]
  ------------------
 4906|      0|        PySys_WriteStderr("# installing zipimport hook\n");
 4907|      0|    }
 4908|       |
 4909|      2|    PyObject *zipimporter = PyImport_ImportModuleAttrString("zipimport", "zipimporter");
 4910|      2|    if (zipimporter == NULL) {
  ------------------
  |  Branch (4910:9): [True: 0, False: 2]
  ------------------
 4911|      0|        _PyErr_Clear(tstate); /* No zipimporter object -- okay */
 4912|      0|        if (verbose) {
  ------------------
  |  Branch (4912:13): [True: 0, False: 0]
  ------------------
 4913|      0|            PySys_WriteStderr("# can't import zipimport.zipimporter\n");
 4914|      0|        }
 4915|      0|    }
 4916|      2|    else {
 4917|       |        /* sys.path_hooks.insert(0, zipimporter) */
 4918|      2|        int err = PyList_Insert(path_hooks, 0, zipimporter);
 4919|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4920|      2|        if (err < 0) {
  ------------------
  |  Branch (4920:13): [True: 0, False: 2]
  ------------------
 4921|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4922|      0|            return -1;
 4923|      0|        }
 4924|      2|        if (verbose) {
  ------------------
  |  Branch (4924:13): [True: 0, False: 2]
  ------------------
 4925|      0|            PySys_WriteStderr("# installed zipimport hook\n");
 4926|      0|        }
 4927|      2|    }
 4928|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4929|       |
 4930|      2|    return 0;
 4931|      2|}
import.c:_imp_extension_suffixes_impl:
 5194|      4|{
 5195|      4|    PyObject *list;
 5196|       |
 5197|      4|    list = PyList_New(0);
 5198|      4|    if (list == NULL)
  ------------------
  |  Branch (5198:9): [True: 0, False: 4]
  ------------------
 5199|      0|        return NULL;
 5200|      4|#ifdef HAVE_DYNAMIC_LOADING
 5201|      4|    const char *suffix;
 5202|      4|    unsigned int index = 0;
 5203|       |
 5204|     28|    while ((suffix = _PyImport_DynLoadFiletab[index])) {
  ------------------
  |  Branch (5204:12): [True: 24, False: 4]
  ------------------
 5205|     24|        PyObject *item = PyUnicode_FromString(suffix);
 5206|     24|        if (item == NULL) {
  ------------------
  |  Branch (5206:13): [True: 0, False: 24]
  ------------------
 5207|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5208|      0|            return NULL;
 5209|      0|        }
 5210|     24|        if (PyList_Append(list, item) < 0) {
  ------------------
  |  Branch (5210:13): [True: 0, False: 24]
  ------------------
 5211|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5212|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5213|      0|            return NULL;
 5214|      0|        }
 5215|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5216|     24|        index += 1;
 5217|     24|    }
 5218|      4|#endif
 5219|      4|    return list;
 5220|      4|}
import.c:_imp_acquire_lock_impl:
 5091|    362|{
 5092|    362|    PyInterpreterState *interp = _PyInterpreterState_GET();
 5093|    362|    _PyImport_AcquireLock(interp);
 5094|    362|    Py_RETURN_NONE;
  ------------------
  |  |  628|    362|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    362|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 5095|    362|}
import.c:_imp_release_lock_impl:
 5108|    362|{
 5109|    362|    PyInterpreterState *interp = _PyInterpreterState_GET();
 5110|    362|    if (!_PyRecursiveMutex_IsLockedByCurrentThread(&IMPORT_LOCK(interp))) {
  ------------------
  |  |  114|    362|    (interp)->imports.lock
  ------------------
  |  Branch (5110:9): [True: 0, False: 362]
  ------------------
 5111|      0|        PyErr_SetString(PyExc_RuntimeError,
 5112|      0|                        "not holding the import lock");
 5113|      0|        return NULL;
 5114|      0|    }
 5115|    362|    _PyImport_ReleaseLock(interp);
 5116|    362|    Py_RETURN_NONE;
  ------------------
  |  |  628|    362|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    362|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 5117|    362|}
import.c:_imp_find_frozen_impl:
 5270|     56|{
 5271|     56|    struct frozen_info info;
 5272|     56|    frozen_status status = find_frozen(name, &info);
 5273|     56|    if (status == FROZEN_NOT_FOUND || status == FROZEN_DISABLED) {
  ------------------
  |  Branch (5273:9): [True: 32, False: 24]
  |  Branch (5273:39): [True: 0, False: 24]
  ------------------
 5274|     32|        Py_RETURN_NONE;
  ------------------
  |  |  628|     32|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     32|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 5275|     32|    }
 5276|     24|    else if (status == FROZEN_BAD_NAME) {
  ------------------
  |  Branch (5276:14): [True: 0, False: 24]
  ------------------
 5277|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 5278|      0|    }
 5279|     24|    else if (status != FROZEN_OKAY) {
  ------------------
  |  Branch (5279:14): [True: 0, False: 24]
  ------------------
 5280|      0|        set_frozen_error(status, name);
 5281|      0|        return NULL;
 5282|      0|    }
 5283|       |
 5284|     24|    PyObject *data = NULL;
 5285|     24|    if (withdata) {
  ------------------
  |  Branch (5285:9): [True: 0, False: 24]
  ------------------
 5286|      0|        data = PyMemoryView_FromMemory((char *)info.data, info.size, PyBUF_READ);
  ------------------
  |  |  137|      0|#define PyBUF_READ  0x100
  ------------------
 5287|      0|        if (data == NULL) {
  ------------------
  |  Branch (5287:13): [True: 0, False: 0]
  ------------------
 5288|      0|            return NULL;
 5289|      0|        }
 5290|      0|    }
 5291|       |
 5292|     24|    PyObject *origname = NULL;
 5293|     24|    if (info.origname != NULL && info.origname[0] != '\0') {
  ------------------
  |  Branch (5293:9): [True: 24, False: 0]
  |  Branch (5293:34): [True: 24, False: 0]
  ------------------
 5294|     24|        origname = PyUnicode_FromString(info.origname);
 5295|     24|        if (origname == NULL) {
  ------------------
  |  Branch (5295:13): [True: 0, False: 24]
  ------------------
 5296|      0|            Py_XDECREF(data);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5297|      0|            return NULL;
 5298|      0|        }
 5299|     24|    }
 5300|       |
 5301|     24|    PyObject *result = PyTuple_Pack(3, data ? data : Py_None,
  ------------------
  |  |  616|     24|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (5301:40): [True: 0, False: 24]
  ------------------
 5302|     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 (5302:37): [True: 0, False: 24]
  ------------------
 5303|     24|                                    origname ? origname : Py_None);
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (5303:37): [True: 24, False: 0]
  ------------------
 5304|     24|    Py_XDECREF(origname);
  ------------------
  |  |  524|     24|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5305|     24|    Py_XDECREF(data);
  ------------------
  |  |  524|     24|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5306|     24|    return result;
 5307|     24|}
import.c:_imp_get_frozen_object_impl:
 5323|     24|{
 5324|     24|    struct frozen_info info = {0};
 5325|     24|    Py_buffer buf = {0};
 5326|     24|    if (PyObject_CheckBuffer(dataobj)) {
  ------------------
  |  Branch (5326:9): [True: 0, False: 24]
  ------------------
 5327|      0|        if (PyObject_GetBuffer(dataobj, &buf, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|      0|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (5327:13): [True: 0, False: 0]
  ------------------
 5328|      0|            return NULL;
 5329|      0|        }
 5330|      0|        info.data = (const char *)buf.buf;
 5331|      0|        info.size = buf.len;
 5332|      0|    }
 5333|     24|    else if (dataobj != Py_None) {
  ------------------
  |  |  616|     24|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (5333:14): [True: 0, False: 24]
  ------------------
 5334|      0|        _PyArg_BadArgument("get_frozen_object", "argument 2", "bytes", dataobj);
 5335|      0|        return NULL;
 5336|      0|    }
 5337|     24|    else {
 5338|     24|        frozen_status status = find_frozen(name, &info);
 5339|     24|        if (status != FROZEN_OKAY) {
  ------------------
  |  Branch (5339:13): [True: 0, False: 24]
  ------------------
 5340|      0|            set_frozen_error(status, name);
 5341|      0|            return NULL;
 5342|      0|        }
 5343|     24|    }
 5344|       |
 5345|     24|    if (info.nameobj == NULL) {
  ------------------
  |  Branch (5345:9): [True: 0, False: 24]
  ------------------
 5346|      0|        info.nameobj = name;
 5347|      0|    }
 5348|     24|    if (info.size == 0) {
  ------------------
  |  Branch (5348:9): [True: 0, False: 24]
  ------------------
 5349|       |        /* Does not contain executable code. */
 5350|      0|        set_frozen_error(FROZEN_INVALID, name);
 5351|      0|        return NULL;
 5352|      0|    }
 5353|       |
 5354|     24|    PyInterpreterState *interp = _PyInterpreterState_GET();
 5355|     24|    PyObject *codeobj = unmarshal_frozen_code(interp, &info);
 5356|     24|    if (dataobj != Py_None) {
  ------------------
  |  |  616|     24|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (5356:9): [True: 0, False: 24]
  ------------------
 5357|      0|        PyBuffer_Release(&buf);
 5358|      0|    }
 5359|     24|    return codeobj;
 5360|     24|}
import.c:_imp_is_frozen_package_impl:
 5374|      4|{
 5375|      4|    struct frozen_info info;
 5376|      4|    frozen_status status = find_frozen(name, &info);
 5377|      4|    if (status != FROZEN_OKAY && status != FROZEN_EXCLUDED) {
  ------------------
  |  Branch (5377:9): [True: 0, False: 4]
  |  Branch (5377:34): [True: 0, False: 0]
  ------------------
 5378|      0|        set_frozen_error(status, name);
 5379|      0|        return NULL;
 5380|      0|    }
 5381|      4|    return PyBool_FromLong(info.is_package);
 5382|      4|}
import.c:_imp_create_builtin:
 5157|     31|{
 5158|     31|    PyThreadState *tstate = _PyThreadState_GET();
 5159|       |
 5160|     31|    PyObject *name = PyObject_GetAttrString(spec, "name");
 5161|     31|    if (name == NULL) {
  ------------------
  |  Branch (5161:9): [True: 0, False: 31]
  ------------------
 5162|      0|        return NULL;
 5163|      0|    }
 5164|       |
 5165|     31|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|     31|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     31|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (5165:9): [True: 0, False: 31]
  ------------------
 5166|      0|        PyErr_Format(PyExc_TypeError,
 5167|      0|                     "name must be string, not %.200s",
 5168|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5169|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5170|      0|        return NULL;
 5171|      0|    }
 5172|       |
 5173|     31|    if (PyUnicode_GetLength(name) == 0) {
  ------------------
  |  Branch (5173:9): [True: 0, False: 31]
  ------------------
 5174|      0|        PyErr_Format(PyExc_ValueError, "name must not be empty");
 5175|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5176|      0|        return NULL;
 5177|      0|    }
 5178|       |
 5179|     31|    PyObject *mod = create_builtin(tstate, name, spec, NULL);
 5180|     31|    Py_DECREF(name);
  ------------------
  |  |  430|     31|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     31|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     31|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5181|     31|    return mod;
 5182|     31|}
import.c:_imp_is_builtin_impl:
 5396|     87|{
 5397|     87|    return PyLong_FromLong(is_builtin(name));
 5398|     87|}
import.c:is_builtin:
 2474|     87|{
 2475|     87|    int i;
 2476|     87|    struct _inittab *inittab = INITTAB;
  ------------------
  |  |   80|     87|#define INITTAB _PyRuntime.imports.inittab
  ------------------
 2477|  2.78k|    for (i = 0; inittab[i].name != NULL; i++) {
  ------------------
  |  Branch (2477:17): [True: 2.73k, False: 56]
  ------------------
 2478|  2.73k|        if (_PyUnicode_EqualToASCIIString(name, inittab[i].name)) {
  ------------------
  |  Branch (2478:13): [True: 31, False: 2.70k]
  ------------------
 2479|     31|            if (inittab[i].initfunc == NULL)
  ------------------
  |  Branch (2479:17): [True: 0, False: 31]
  ------------------
 2480|      0|                return -1;
 2481|     31|            else
 2482|     31|                return 1;
 2483|     31|        }
 2484|  2.73k|    }
 2485|     56|    return 0;
 2486|     87|}
import.c:_imp_is_frozen_impl:
 5412|      4|{
 5413|      4|    struct frozen_info info;
 5414|      4|    frozen_status status = find_frozen(name, &info);
 5415|      4|    if (status != FROZEN_OKAY) {
  ------------------
  |  Branch (5415:9): [True: 0, False: 4]
  ------------------
 5416|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5417|      0|    }
 5418|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5419|      4|}
import.c:_imp_create_dynamic_impl:
 5506|      1|{
 5507|      1|    FILE *fp = NULL;
 5508|      1|    PyObject *mod = NULL;
 5509|      1|    PyThreadState *tstate = _PyThreadState_GET();
 5510|       |
 5511|      1|    struct _Py_ext_module_loader_info info;
 5512|      1|    if (_Py_ext_module_loader_info_init_from_spec(&info, spec) < 0) {
  ------------------
  |  Branch (5512:9): [True: 0, False: 1]
  ------------------
 5513|      0|        return NULL;
 5514|      0|    }
 5515|       |
 5516|      1|    struct extensions_cache_value *cached = NULL;
 5517|      1|    mod = import_find_extension(tstate, &info, &cached);
 5518|      1|    if (mod != NULL) {
  ------------------
  |  Branch (5518:9): [True: 0, False: 1]
  ------------------
 5519|      0|        assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (5519:9): [True: 0, False: 0]
  ------------------
 5520|      0|        assert(cached != NULL);
  ------------------
  |  Branch (5520:9): [True: 0, False: 0]
  ------------------
 5521|       |        /* The module might not have md_def set in certain reload cases. */
 5522|      0|        assert(_PyModule_GetDefOrNull(mod) == NULL
  ------------------
  |  Branch (5522:9): [True: 0, False: 0]
  |  Branch (5522:9): [True: 0, False: 0]
  ------------------
 5523|      0|                || cached->def == _PyModule_GetDefOrNull(mod));
 5524|      0|        assert_singlephase(cached);
  ------------------
  |  | 1812|      0|    do {                                                                    \
  |  | 1813|      0|        _Py_ext_module_kind kind = _get_extension_kind(cached->def, true);  \
  |  | 1814|      0|        assert(kind == _Py_ext_module_kind_SINGLEPHASE);                    \
  |  | 1815|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1815:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (5524:9): [True: 0, False: 0]
  ------------------
 5525|      0|        goto finally;
 5526|      0|    }
 5527|      1|    else if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (5527:14): [True: 0, False: 1]
  ------------------
 5528|      0|        goto finally;
 5529|      0|    }
 5530|       |    /* Otherwise it must be multi-phase init or the first time it's loaded. */
 5531|       |
 5532|       |    /* If the module was added to the global cache
 5533|       |     * but def->m_base.m_copy was cleared (e.g. subinterp fini)
 5534|       |     * then we have to do a little dance here. */
 5535|      1|    if (cached != NULL) {
  ------------------
  |  Branch (5535:9): [True: 0, False: 1]
  ------------------
 5536|      0|        assert(cached->def->m_base.m_copy == NULL);
  ------------------
  |  Branch (5536:9): [True: 0, False: 0]
  ------------------
 5537|       |        /* For now we clear the cache and move on. */
 5538|      0|        _extensions_cache_delete(info.path, info.name);
 5539|      0|    }
 5540|       |
 5541|      1|    if (PySys_Audit("import", "OOOOO", info.name, info.filename,
  ------------------
  |  Branch (5541:9): [True: 0, False: 1]
  ------------------
 5542|      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)
  ------------------
 5543|      0|    {
 5544|      0|        goto finally;
 5545|      0|    }
 5546|       |
 5547|       |    /* We would move this (and the fclose() below) into
 5548|       |     * _PyImport_GetModuleExportHooks(), but it isn't clear if the intervening
 5549|       |     * code relies on fp still being open. */
 5550|      1|    if (file != NULL) {
  ------------------
  |  Branch (5550:9): [True: 0, False: 1]
  ------------------
 5551|      0|        fp = Py_fopen(info.filename, "r");
 5552|      0|        if (fp == NULL) {
  ------------------
  |  Branch (5552:13): [True: 0, False: 0]
  ------------------
 5553|      0|            goto finally;
 5554|      0|        }
 5555|      0|    }
 5556|       |
 5557|      1|    PyModInitFunction p0 = NULL;
 5558|      1|    PyModExportFunction ex0 = NULL;
 5559|      1|    _PyImport_GetModuleExportHooks(&info, fp, &p0, &ex0);
 5560|      1|    if (ex0) {
  ------------------
  |  Branch (5560:9): [True: 0, False: 1]
  ------------------
 5561|      0|        mod = import_run_modexport(tstate, ex0, &info, spec);
 5562|       |        // Modules created from slots handle GIL enablement (Py_mod_gil slot)
 5563|       |        // when they're created.
 5564|      0|        goto finally;
 5565|      0|    }
 5566|      1|    if (p0 == NULL) {
  ------------------
  |  Branch (5566:9): [True: 0, False: 1]
  ------------------
 5567|      0|        goto finally;
 5568|      0|    }
 5569|       |
 5570|       |#ifdef Py_GIL_DISABLED
 5571|       |    // This call (and the corresponding call to _PyImport_CheckGILForModule())
 5572|       |    // would ideally be inside import_run_extension(). They are kept in the
 5573|       |    // callers for now because that would complicate the control flow inside
 5574|       |    // import_run_extension(). It should be possible to restructure
 5575|       |    // import_run_extension() to address this.
 5576|       |    _PyEval_EnableGILTransient(tstate);
 5577|       |#endif
 5578|      1|    mod = import_run_extension(
 5579|      1|                    tstate, p0, &info, spec, get_modules_dict(tstate, true));
 5580|       |#ifdef Py_GIL_DISABLED
 5581|       |    if (_PyImport_CheckGILForModule(mod, info.name) < 0) {
 5582|       |        Py_CLEAR(mod);
 5583|       |        goto finally;
 5584|       |    }
 5585|       |#endif
 5586|       |
 5587|      1|finally:
 5588|      1|    if (fp != NULL) {
  ------------------
  |  Branch (5588:9): [True: 0, False: 1]
  ------------------
 5589|      0|        fclose(fp);
 5590|      0|    }
 5591|      1|    _Py_ext_module_loader_info_clear(&info);
 5592|      1|    return mod;
 5593|      1|}
import.c:_imp_exec_dynamic_impl:
 5607|      1|{
 5608|      1|    return exec_builtin_or_dynamic(mod);
 5609|      1|}
import.c:_imp_exec_builtin_impl:
 5626|     31|{
 5627|     31|    return exec_builtin_or_dynamic(mod);
 5628|     31|}
import.c:_imp__fix_co_filename_impl:
 5138|     27|{
 5139|     27|    update_compiled_module(code, path);
 5140|       |
 5141|     27|    Py_RETURN_NONE;
  ------------------
  |  |  628|     27|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     27|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 5142|     27|}
import.c:update_compiled_module:
 2943|     27|{
 2944|     27|    PyObject *oldname;
 2945|       |
 2946|     27|    if (PyUnicode_Compare(co->co_filename, newname) == 0)
  ------------------
  |  Branch (2946:9): [True: 27, False: 0]
  ------------------
 2947|     27|        return;
 2948|       |
 2949|      0|    oldname = co->co_filename;
 2950|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2951|      0|    update_code_filenames(co, oldname, newname);
 2952|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2953|      0|}
import.c:_imp__set_lazy_attributes_impl:
 5670|     77|{
 5671|     77|    PyInterpreterState *interp = _PyInterpreterState_GET();
 5672|     77|    if (PySet_Discard(LAZY_MODULES(interp), name) < 0) {
  ------------------
  |  |   94|     77|    (interp)->imports.lazy_modules
  ------------------
  |  Branch (5672:9): [True: 0, False: 77]
  ------------------
 5673|      0|        return NULL;
 5674|      0|    }
 5675|     77|    Py_RETURN_NONE;
  ------------------
  |  |  628|     77|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     77|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 5676|     77|}
import.c:imp_module_exec:
 5708|      2|{
 5709|      2|    const wchar_t *mode = _Py_GetConfig()->check_hash_pycs_mode;
 5710|      2|    PyObject *pyc_mode = PyUnicode_FromWideChar(mode, -1);
 5711|      2|    if (PyModule_Add(module, "check_hash_based_pycs", pyc_mode) < 0) {
  ------------------
  |  Branch (5711:9): [True: 0, False: 2]
  ------------------
 5712|      0|        return -1;
 5713|      0|    }
 5714|       |
 5715|      2|    if (PyModule_AddIntConstant(
  ------------------
  |  Branch (5715:9): [True: 0, False: 2]
  ------------------
 5716|      2|            module, "pyc_magic_number_token", PYC_MAGIC_NUMBER_TOKEN) < 0)
  ------------------
  |  |  320|      2|    ((uint32_t)PYC_MAGIC_NUMBER | ((uint32_t)'\r' << 16) | ((uint32_t)'\n' << 24))
  |  |  ------------------
  |  |  |  |  316|      2|#define PYC_MAGIC_NUMBER 3706
  |  |  ------------------
  ------------------
 5717|      0|    {
 5718|      0|        return -1;
 5719|      0|    }
 5720|       |
 5721|      2|    return 0;
 5722|      2|}

_Py_ext_module_loader_info_clear:
   86|     34|{
   87|     34|    Py_CLEAR(info->filename);
  ------------------
  |  |  484|     34|    do { \
  |  |  485|     34|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|     34|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     34|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|     34|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     34|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     34|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 1, False: 33]
  |  |  ------------------
  |  |  488|      1|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      1|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      1|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      1|        } \
  |  |  491|     34|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 34]
  |  |  ------------------
  ------------------
   88|     34|#ifndef MS_WINDOWS
   89|     34|    Py_CLEAR(info->filename_encoded);
  ------------------
  |  |  484|     34|    do { \
  |  |  485|     34|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|     34|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     34|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|     34|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     34|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     34|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 1, False: 33]
  |  |  ------------------
  |  |  488|      1|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      1|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      1|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      1|        } \
  |  |  491|     34|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 34]
  |  |  ------------------
  ------------------
   90|     34|#endif
   91|     34|    Py_CLEAR(info->name);
  ------------------
  |  |  484|     34|    do { \
  |  |  485|     34|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|     34|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     34|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|     34|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     34|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     34|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 34, False: 0]
  |  |  ------------------
  |  |  488|     34|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     34|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     34|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|     34|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     34|        } \
  |  |  491|     34|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 34]
  |  |  ------------------
  ------------------
   92|       |    Py_CLEAR(info->name_encoded);
  ------------------
  |  |  484|     34|    do { \
  |  |  485|     34|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|     34|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     34|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|     34|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     34|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     34|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 34, False: 0]
  |  |  ------------------
  |  |  488|     34|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     34|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     34|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|     34|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     34|        } \
  |  |  491|     34|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 34]
  |  |  ------------------
  ------------------
   93|     34|}
_Py_ext_module_loader_info_init:
   99|      1|{
  100|      1|    struct _Py_ext_module_loader_info info = {
  101|      1|        .origin=origin,
  102|      1|    };
  103|       |
  104|      1|    assert(name != NULL);
  ------------------
  |  Branch (104:5): [True: 1, False: 0]
  ------------------
  105|      1|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|      1|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      1|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (105:9): [True: 0, False: 1]
  ------------------
  106|      0|        PyErr_SetString(PyExc_TypeError,
  107|      0|                        "module name must be a string");
  108|      0|        _Py_ext_module_loader_info_clear(&info);
  109|      0|        return -1;
  110|      0|    }
  111|      1|    assert(PyUnicode_GetLength(name) > 0);
  ------------------
  |  Branch (111:5): [True: 1, False: 0]
  ------------------
  112|      1|    info.name = Py_NewRef(name);
  ------------------
  |  |  550|      1|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  113|       |
  114|      1|    info.name_encoded = get_encoded_name(info.name, &info.hook_prefixes);
  115|      1|    if (info.name_encoded == NULL) {
  ------------------
  |  Branch (115:9): [True: 0, False: 1]
  ------------------
  116|      0|        _Py_ext_module_loader_info_clear(&info);
  117|      0|        return -1;
  118|      0|    }
  119|       |
  120|      1|    info.newcontext = PyUnicode_AsUTF8(info.name);
  121|      1|    if (info.newcontext == NULL) {
  ------------------
  |  Branch (121:9): [True: 0, False: 1]
  ------------------
  122|      0|        _Py_ext_module_loader_info_clear(&info);
  123|      0|        return -1;
  124|      0|    }
  125|       |
  126|      1|    if (filename != NULL) {
  ------------------
  |  Branch (126:9): [True: 1, False: 0]
  ------------------
  127|      1|        if (!PyUnicode_Check(filename)) {
  ------------------
  |  |  103|      1|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      1|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (127:13): [True: 0, False: 1]
  ------------------
  128|      0|            PyErr_SetString(PyExc_TypeError,
  129|      0|                            "module filename must be a string");
  130|      0|            _Py_ext_module_loader_info_clear(&info);
  131|      0|            return -1;
  132|      0|        }
  133|      1|        info.filename = Py_NewRef(filename);
  ------------------
  |  |  550|      1|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  134|       |
  135|      1|#ifndef MS_WINDOWS
  136|      1|        info.filename_encoded = PyUnicode_EncodeFSDefault(info.filename);
  137|      1|        if (info.filename_encoded == NULL) {
  ------------------
  |  Branch (137:13): [True: 0, False: 1]
  ------------------
  138|      0|            _Py_ext_module_loader_info_clear(&info);
  139|      0|            return -1;
  140|      0|        }
  141|      1|#endif
  142|       |
  143|      1|        info.path = info.filename;
  144|      1|    }
  145|      0|    else {
  146|      0|        info.path = info.name;
  147|      0|    }
  148|       |
  149|      1|    *p_info = info;
  150|      1|    return 0;
  151|      1|}
_Py_ext_module_loader_info_init_for_builtin:
  157|     33|{
  158|     33|    assert(PyUnicode_Check(name));
  ------------------
  |  Branch (158:5): [True: 33, False: 0]
  ------------------
  159|     33|    assert(PyUnicode_GetLength(name) > 0);
  ------------------
  |  Branch (159:5): [True: 33, False: 0]
  ------------------
  160|       |
  161|     33|    PyObject *name_encoded = PyUnicode_AsEncodedString(name, "ascii", NULL);
  162|     33|    if (name_encoded == NULL) {
  ------------------
  |  Branch (162:9): [True: 0, False: 33]
  ------------------
  163|      0|        return -1;
  164|      0|    }
  165|       |
  166|     33|    *info = (struct _Py_ext_module_loader_info){
  167|     33|        .name=Py_NewRef(name),
  ------------------
  |  |  550|     33|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  168|     33|        .name_encoded=name_encoded,
  169|       |        /* We won't need filename. */
  170|     33|        .path=name,
  171|     33|        .origin=_Py_ext_module_origin_BUILTIN,
  172|     33|        .hook_prefixes=&ascii_only_prefixes,
  173|       |        .newcontext=NULL,
  174|     33|    };
  175|     33|    return 0;
  176|     33|}
_Py_ext_module_loader_info_init_from_spec:
  195|      1|{
  196|      1|    PyObject *name = PyObject_GetAttrString(spec, "name");
  197|      1|    if (name == NULL) {
  ------------------
  |  Branch (197:9): [True: 0, False: 1]
  ------------------
  198|      0|        return -1;
  199|      0|    }
  200|      1|    PyObject *filename = PyObject_GetAttrString(spec, "origin");
  201|      1|    if (filename == NULL) {
  ------------------
  |  Branch (201:9): [True: 0, False: 1]
  ------------------
  202|      0|        Py_DECREF(name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  203|      0|        return -1;
  204|      0|    }
  205|       |    /* We could also accommodate builtin modules here without much trouble. */
  206|      1|    _Py_ext_module_origin origin = _Py_ext_module_origin_DYNAMIC;
  207|      1|    int err = _Py_ext_module_loader_info_init(p_info, name, filename, origin);
  208|      1|    Py_DECREF(name);
  ------------------
  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  209|      1|    Py_DECREF(filename);
  ------------------
  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  210|      1|    return err;
  211|      1|}
_Py_ext_module_loader_result_clear:
  221|     34|{
  222|       |    /* Instead, the caller should have called
  223|       |     * _Py_ext_module_loader_result_apply_error(). */
  224|     34|    assert(res->err == NULL);
  ------------------
  |  Branch (224:5): [True: 34, False: 0]
  ------------------
  225|     34|    *res = (struct _Py_ext_module_loader_result){0};
  226|     34|}
_PyImport_GetModuleExportHooks:
  381|      1|{
  382|      1|    *modinit = NULL;
  383|      1|    *modexport = NULL;
  384|       |
  385|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  386|      1|    dl_funcptr exportfunc;
  387|       |
  388|      1|    exportfunc = findfuncptr(
  389|      1|        info->hook_prefixes->export_prefix,
  390|      1|        name_buf, info, fp);
  391|      1|    if (exportfunc) {
  ------------------
  |  Branch (391:9): [True: 0, False: 1]
  ------------------
  392|      0|        *modexport = (PyModExportFunction)exportfunc;
  393|      0|        return 2;
  394|      0|    }
  395|      1|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (395:9): [True: 0, False: 1]
  ------------------
  396|      0|        return -1;
  397|      0|    }
  398|       |
  399|      1|    exportfunc = findfuncptr(
  400|      1|        info->hook_prefixes->init_prefix,
  401|      1|        name_buf, info, fp);
  402|      1|    if (exportfunc) {
  ------------------
  |  Branch (402:9): [True: 1, False: 0]
  ------------------
  403|      1|        *modinit = (PyModInitFunction)exportfunc;
  404|      1|        return 1;
  405|      1|    }
  406|       |
  407|      0|    if (!PyErr_Occurred()) {
  ------------------
  |  Branch (407:9): [True: 0, False: 0]
  ------------------
  408|      0|        PyObject *msg;
  409|      0|        msg = PyUnicode_FromFormat(
  410|      0|            "dynamic module does not define "
  411|      0|            "module export function (%s_%s or %s_%s)",
  412|      0|            info->hook_prefixes->export_prefix, name_buf,
  413|      0|            info->hook_prefixes->init_prefix, name_buf);
  414|      0|        if (msg != NULL) {
  ------------------
  |  Branch (414:13): [True: 0, False: 0]
  ------------------
  415|      0|            PyErr_SetImportError(msg, info->name, info->filename);
  416|      0|            Py_DECREF(msg);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  417|      0|        }
  418|      0|    }
  419|      0|    return -1;
  420|      1|}
_PyImport_RunModInitFunc:
  427|     34|{
  428|     34|    struct _Py_ext_module_loader_result res = {
  429|     34|        .kind=_Py_ext_module_kind_UNKNOWN,
  430|     34|    };
  431|       |
  432|       |    /* Call the module init function. */
  433|       |
  434|       |    /* Package context is needed for single-phase init */
  435|     34|    const char *oldcontext = _PyImport_SwapPackageContext(info->newcontext);
  436|     34|    PyObject *m = p0();
  437|     34|    _PyImport_SwapPackageContext(oldcontext);
  438|       |
  439|       |    /* Validate the result (and populate "res". */
  440|       |
  441|     34|    if (m == NULL) {
  ------------------
  |  Branch (441:9): [True: 0, False: 34]
  ------------------
  442|       |        /* The init func for multi-phase init modules is expected
  443|       |         * to return a PyModuleDef after calling PyModuleDef_Init().
  444|       |         * That function never raises an exception nor returns NULL,
  445|       |         * so at this point it must be a single-phase init modules. */
  446|      0|        res.kind = _Py_ext_module_kind_SINGLEPHASE;
  447|      0|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (447:13): [True: 0, False: 0]
  ------------------
  448|      0|            _Py_ext_module_loader_result_set_error(
  449|      0|                        &res, _Py_ext_module_loader_result_EXCEPTION);
  450|      0|        }
  451|      0|        else {
  452|      0|            _Py_ext_module_loader_result_set_error(
  453|      0|                        &res, _Py_ext_module_loader_result_ERR_MISSING);
  454|      0|        }
  455|      0|        goto error;
  456|     34|    } else if (PyErr_Occurred()) {
  ------------------
  |  Branch (456:16): [True: 0, False: 34]
  ------------------
  457|       |        /* Likewise, we infer that this is a single-phase init module. */
  458|      0|        res.kind = _Py_ext_module_kind_SINGLEPHASE;
  459|      0|        _Py_ext_module_loader_result_set_error(
  460|      0|                &res, _Py_ext_module_loader_result_ERR_UNREPORTED_EXC);
  461|       |        /* We would probably be correct to decref m here,
  462|       |         * but we weren't doing so before,
  463|       |         * so we stick with doing nothing. */
  464|      0|        m = NULL;
  465|      0|        goto error;
  466|      0|    }
  467|       |
  468|     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]
  |  |  ------------------
  ------------------
  469|       |        /* This can happen when a PyModuleDef is returned without calling
  470|       |         * PyModuleDef_Init on it
  471|       |         */
  472|      0|        _Py_ext_module_loader_result_set_error(
  473|      0|                &res, _Py_ext_module_loader_result_ERR_UNINITIALIZED);
  474|       |        /* Likewise, decref'ing here makes sense.  However, the original
  475|       |         * code has a note about "prevent segfault in DECREF",
  476|       |         * so we play it safe and leave it alone. */
  477|      0|        m = NULL; /* prevent segfault in DECREF */
  478|      0|        goto error;
  479|      0|    }
  480|       |
  481|     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]
  |  |  ------------------
  ------------------
  482|       |        /* multi-phase init */
  483|     34|        res.kind = _Py_ext_module_kind_MULTIPHASE;
  484|     34|        res.def = (PyModuleDef *)m;
  485|       |        /* Run PyModule_FromDefAndSpec() to finish loading the module. */
  486|     34|    }
  487|      0|    else if (info->hook_prefixes == &nonascii_prefixes) {
  ------------------
  |  Branch (487:14): [True: 0, False: 0]
  ------------------
  488|       |        /* Non-ASCII is only supported for multi-phase init. */
  489|      0|        res.kind = _Py_ext_module_kind_MULTIPHASE;
  490|       |        /* Don't allow legacy init for non-ASCII module names. */
  491|      0|        _Py_ext_module_loader_result_set_error(
  492|      0|                &res, _Py_ext_module_loader_result_ERR_NONASCII_NOT_MULTIPHASE);
  493|      0|        goto error;
  494|      0|    }
  495|      0|    else {
  496|       |        /* single-phase init (legacy) */
  497|      0|        res.kind = _Py_ext_module_kind_SINGLEPHASE;
  498|      0|        res.module = m;
  499|       |
  500|      0|        if (!PyModule_Check(m)) {
  ------------------
  |  |   12|      0|#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (500:13): [True: 0, False: 0]
  ------------------
  501|      0|            _Py_ext_module_loader_result_set_error(
  502|      0|                    &res, _Py_ext_module_loader_result_ERR_NOT_MODULE);
  503|      0|            goto error;
  504|      0|        }
  505|       |
  506|      0|        res.def = _PyModule_GetDefOrNull(m);
  507|      0|        if (res.def == NULL) {
  ------------------
  |  Branch (507:13): [True: 0, False: 0]
  ------------------
  508|      0|            PyErr_Clear();
  509|      0|            _Py_ext_module_loader_result_set_error(
  510|      0|                    &res, _Py_ext_module_loader_result_ERR_MISSING_DEF);
  511|      0|            goto error;
  512|      0|        }
  513|      0|    }
  514|       |
  515|     34|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (515:5): [True: 34, False: 0]
  ------------------
  516|     34|    assert(res.err == NULL);
  ------------------
  |  Branch (516:5): [True: 34, False: 0]
  ------------------
  517|     34|    *p_res = res;
  518|     34|    return 0;
  519|       |
  520|      0|error:
  521|      0|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (521:5): [True: 0, False: 0]
  ------------------
  522|      0|    assert(res.err != NULL);
  ------------------
  |  Branch (522:5): [True: 0, False: 0]
  ------------------
  523|      0|    Py_CLEAR(res.module);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  524|       |    res.def = NULL;
  525|      0|    *p_res = res;
  526|      0|    p_res->err = &p_res->_err;
  527|      0|    return -1;
  528|      0|}
importdl.c:get_encoded_name:
   29|      1|get_encoded_name(PyObject *name, const struct hook_prefixes **hook_prefixes) {
   30|      1|    PyObject *tmp;
   31|      1|    PyObject *encoded = NULL;
   32|      1|    PyObject *modname = NULL;
   33|      1|    Py_ssize_t name_len, lastdot;
   34|       |
   35|       |    /* Get the short name (substring after last dot) */
   36|      1|    name_len = PyUnicode_GetLength(name);
   37|      1|    if (name_len < 0) {
  ------------------
  |  Branch (37:9): [True: 0, False: 1]
  ------------------
   38|      0|        return NULL;
   39|      0|    }
   40|      1|    lastdot = PyUnicode_FindChar(name, '.', 0, name_len, -1);
   41|      1|    if (lastdot < -1) {
  ------------------
  |  Branch (41:9): [True: 0, False: 1]
  ------------------
   42|      0|        return NULL;
   43|      1|    } else if (lastdot >= 0) {
  ------------------
  |  Branch (43:16): [True: 0, False: 1]
  ------------------
   44|      0|        tmp = PyUnicode_Substring(name, lastdot + 1, name_len);
   45|      0|        if (tmp == NULL)
  ------------------
  |  Branch (45:13): [True: 0, False: 0]
  ------------------
   46|      0|            return NULL;
   47|      0|        name = tmp;
   48|       |        /* "name" now holds a new reference to the substring */
   49|      1|    } else {
   50|      1|        Py_INCREF(name);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   51|      1|    }
   52|       |
   53|       |    /* Encode to ASCII or Punycode, as needed */
   54|      1|    encoded = PyUnicode_AsEncodedString(name, "ascii", NULL);
   55|      1|    if (encoded != NULL) {
  ------------------
  |  Branch (55:9): [True: 1, False: 0]
  ------------------
   56|      1|        *hook_prefixes = &ascii_only_prefixes;
   57|      1|    } else {
   58|      0|        if (PyErr_ExceptionMatches(PyExc_UnicodeEncodeError)) {
  ------------------
  |  Branch (58:13): [True: 0, False: 0]
  ------------------
   59|      0|            PyErr_Clear();
   60|      0|            encoded = PyUnicode_AsEncodedString(name, "punycode", NULL);
   61|      0|            if (encoded == NULL) {
  ------------------
  |  Branch (61:17): [True: 0, False: 0]
  ------------------
   62|      0|                goto error;
   63|      0|            }
   64|      0|            *hook_prefixes = &nonascii_prefixes;
   65|      0|        } else {
   66|      0|            goto error;
   67|      0|        }
   68|      0|    }
   69|       |
   70|       |    /* Replace '-' by '_' */
   71|      1|    modname = _PyObject_CallMethod(encoded, &_Py_ID(replace), "cc", '-', '_');
  ------------------
  |  |  936|      1|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      1|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      1|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   72|      1|    if (modname == NULL)
  ------------------
  |  Branch (72:9): [True: 0, False: 1]
  ------------------
   73|      0|        goto error;
   74|       |
   75|      1|    Py_DECREF(name);
  ------------------
  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   76|      1|    Py_DECREF(encoded);
  ------------------
  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   77|      1|    return modname;
   78|      0|error:
   79|      0|    Py_DECREF(name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   80|      0|    Py_XDECREF(encoded);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   81|       |    return NULL;
   82|      1|}
importdl.c:findfuncptr:
  364|      2|{
  365|       |#ifdef MS_WINDOWS
  366|       |    return _PyImport_FindSharedFuncptrWindows(
  367|       |            prefix, name_buf, info->filename, fp);
  368|       |#else
  369|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  370|      2|    return _PyImport_FindSharedFuncptr(
  371|      2|            prefix, name_buf, path_buf, fp);
  372|      2|#endif
  373|      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();
  ------------------
  |  |  289|      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();
  ------------------
  |  |  289|      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:
 3710|      2|{
 3711|      2|    PyStatus status;
 3712|       |
 3713|      2|    status = _Py_PreInitializeFromConfig(config, NULL);
 3714|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3715|      0|        return status;
 3716|      0|    }
 3717|       |
 3718|      2|    config_read_preconfig(config);
 3719|       |
 3720|       |    // Set default values
 3721|      2|    if (config->bytes_warning < 0) {
  ------------------
  |  Branch (3721:9): [True: 0, False: 2]
  ------------------
 3722|      0|        config->bytes_warning = 0;
 3723|      0|    }
 3724|      2|    if (config->inspect < 0) {
  ------------------
  |  Branch (3724:9): [True: 0, False: 2]
  ------------------
 3725|      0|        config->inspect = 0;
 3726|      0|    }
 3727|      2|    if (config->interactive < 0) {
  ------------------
  |  Branch (3727:9): [True: 0, False: 2]
  ------------------
 3728|      0|        config->interactive = 0;
 3729|      0|    }
 3730|      2|    if (config->optimization_level < 0) {
  ------------------
  |  Branch (3730:9): [True: 0, False: 2]
  ------------------
 3731|      0|        config->optimization_level = 0;
 3732|      0|    }
 3733|      2|    if (config->parser_debug < 0) {
  ------------------
  |  Branch (3733:9): [True: 0, False: 2]
  ------------------
 3734|      0|        config->parser_debug = 0;
 3735|      0|    }
 3736|      2|    if (config->quiet < 0) {
  ------------------
  |  Branch (3736:9): [True: 0, False: 2]
  ------------------
 3737|      0|        config->quiet = 0;
 3738|      0|    }
 3739|      2|    if (config->use_environment < 0) {
  ------------------
  |  Branch (3739:9): [True: 0, False: 2]
  ------------------
 3740|      0|        config->use_environment = 0;
 3741|      0|    }
 3742|      2|    if (config->verbose < 0) {
  ------------------
  |  Branch (3742:9): [True: 0, False: 2]
  ------------------
 3743|      0|        config->verbose = 0;
 3744|      0|    }
 3745|      2|    if (config->write_bytecode < 0) {
  ------------------
  |  Branch (3745:9): [True: 0, False: 2]
  ------------------
 3746|      0|        config->write_bytecode = 1;
 3747|      0|    }
 3748|      2|    if (config->buffered_stdio < 0) {
  ------------------
  |  Branch (3748:9): [True: 0, False: 2]
  ------------------
 3749|      0|        config->buffered_stdio = 1;
 3750|      0|    }
 3751|      2|    if (config->isolated < 0) {
  ------------------
  |  Branch (3751:9): [True: 0, False: 2]
  ------------------
 3752|      0|        config->isolated = 0;
 3753|      0|    }
 3754|       |#ifdef MS_WINDOWS
 3755|       |    if (config->legacy_windows_stdio < 0) {
 3756|       |        config->legacy_windows_stdio = 0;
 3757|       |    }
 3758|       |#endif
 3759|      2|    if (config->pathconfig_warnings < 0) {
  ------------------
  |  Branch (3759:9): [True: 0, False: 2]
  ------------------
 3760|      0|        config->pathconfig_warnings = 1;
 3761|      0|    }
 3762|      2|    if (config->site_import < 0) {
  ------------------
  |  Branch (3762:9): [True: 0, False: 2]
  ------------------
 3763|      0|        config->site_import = 1;
 3764|      0|    }
 3765|      2|    if (config->user_site_directory < 0) {
  ------------------
  |  Branch (3765:9): [True: 0, False: 2]
  ------------------
 3766|      0|        config->user_site_directory = 1;
 3767|      0|    }
 3768|       |
 3769|       |#ifdef __CYGWIN__
 3770|       |    status = config_argv0_add_exe(config);
 3771|       |    if (_PyStatus_EXCEPTION(status)) {
 3772|       |        return status;
 3773|       |    }
 3774|       |#endif
 3775|       |
 3776|      2|    if (config->orig_argv.length == 0
  ------------------
  |  Branch (3776:9): [True: 2, False: 0]
  ------------------
 3777|      2|        && !(config->argv.length == 1
  ------------------
  |  Branch (3777:14): [True: 0, False: 2]
  ------------------
 3778|      0|             && wcscmp(config->argv.items[0], L"") == 0))
  ------------------
  |  Branch (3778:17): [True: 0, False: 0]
  ------------------
 3779|      2|    {
 3780|      2|        if (_PyWideStringList_Copy(&config->orig_argv, &config->argv) < 0) {
  ------------------
  |  Branch (3780:13): [True: 0, False: 2]
  ------------------
 3781|      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)}
  |  |  ------------------
  ------------------
 3782|      0|        }
 3783|      2|    }
 3784|       |
 3785|      2|    _PyPreCmdline precmdline = _PyPreCmdline_INIT;
  ------------------
  |  |  111|      2|    (_PyPreCmdline){ \
  |  |  112|      2|        .use_environment = -1, \
  |  |  113|      2|        .isolated = -1, \
  |  |  114|      2|        .dev_mode = -1}
  ------------------
 3786|      2|    status = core_read_precmdline(config, &precmdline);
 3787|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3788|      0|        goto done;
 3789|      0|    }
 3790|       |
 3791|      2|    assert(config->isolated >= 0);
  ------------------
  |  Branch (3791:5): [True: 2, False: 0]
  ------------------
 3792|      2|    if (config->isolated) {
  ------------------
  |  Branch (3792:9): [True: 0, False: 2]
  ------------------
 3793|      0|        config->safe_path = 1;
 3794|      0|        config->use_environment = 0;
 3795|      0|        config->user_site_directory = 0;
 3796|      0|    }
 3797|       |
 3798|      2|    status = config_read_cmdline(config);
 3799|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3800|      0|        goto done;
 3801|      0|    }
 3802|       |
 3803|       |    /* Handle early PySys_AddXOption() calls */
 3804|      2|    status = _PySys_ReadPreinitXOptions(config);
 3805|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3806|      0|        goto done;
 3807|      0|    }
 3808|       |
 3809|      2|    status = config_read(config, compute_path_config);
 3810|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3811|      0|        goto done;
 3812|      0|    }
 3813|       |
 3814|      2|    assert(config_check_consistency(config));
  ------------------
  |  Branch (3814:5): [True: 2, False: 0]
  ------------------
 3815|       |
 3816|      2|    status = _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3817|       |
 3818|      2|done:
 3819|      2|    _PyPreCmdline_Clear(&precmdline);
 3820|      2|    return status;
 3821|      2|}
_PyConfig_CreateXOptionsDict:
 4594|      4|{
 4595|      4|    PyObject *dict = PyDict_New();
 4596|      4|    if (dict == NULL) {
  ------------------
  |  Branch (4596:9): [True: 0, False: 4]
  ------------------
 4597|      0|        return NULL;
 4598|      0|    }
 4599|       |
 4600|      4|    Py_ssize_t nxoption = config->xoptions.length;
 4601|      4|    wchar_t **xoptions = config->xoptions.items;
 4602|      4|    for (Py_ssize_t i=0; i < nxoption; i++) {
  ------------------
  |  Branch (4602:26): [True: 0, False: 4]
  ------------------
 4603|      0|        const wchar_t *option = xoptions[i];
 4604|      0|        if (config_add_xoption(dict, option) < 0) {
  ------------------
  |  Branch (4604:13): [True: 0, False: 0]
  ------------------
 4605|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4606|      0|            return NULL;
 4607|      0|        }
 4608|      0|    }
 4609|      4|    return dict;
 4610|      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);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _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:
 3480|      2|{
 3481|      2|    PyStatus status;
 3482|       |
 3483|      2|    if (config->parse_argv == 1) {
  ------------------
  |  Branch (3483:9): [True: 2, False: 0]
  ------------------
 3484|      2|        if (_PyWideStringList_Copy(&precmdline->argv, &config->argv) < 0) {
  ------------------
  |  Branch (3484:13): [True: 0, False: 2]
  ------------------
 3485|      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)}
  |  |  ------------------
  ------------------
 3486|      0|        }
 3487|      2|    }
 3488|       |
 3489|      2|    PyPreConfig preconfig;
 3490|       |
 3491|      2|    status = _PyPreConfig_InitFromPreConfig(&preconfig, &_PyRuntime.preconfig);
 3492|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3493|      0|        return status;
 3494|      0|    }
 3495|       |
 3496|      2|    _PyPreConfig_GetConfig(&preconfig, config);
 3497|       |
 3498|      2|    status = _PyPreCmdline_Read(precmdline, &preconfig);
 3499|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3500|      0|        return status;
 3501|      0|    }
 3502|       |
 3503|      2|    status = _PyPreCmdline_SetConfig(precmdline, config);
 3504|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3505|      0|        return status;
 3506|      0|    }
 3507|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3508|      2|}
initconfig.c:config_read_cmdline:
 3544|      2|{
 3545|      2|    PyStatus status;
 3546|      2|    PyWideStringList cmdline_warnoptions = _PyWideStringList_INIT;
  ------------------
  |  |   53|      2|#define _PyWideStringList_INIT (PyWideStringList){.length = 0, .items = NULL}
  ------------------
 3547|      2|    PyWideStringList env_warnoptions = _PyWideStringList_INIT;
  ------------------
  |  |   53|      2|#define _PyWideStringList_INIT (PyWideStringList){.length = 0, .items = NULL}
  ------------------
 3548|      2|    PyWideStringList sys_warnoptions = _PyWideStringList_INIT;
  ------------------
  |  |   53|      2|#define _PyWideStringList_INIT (PyWideStringList){.length = 0, .items = NULL}
  ------------------
 3549|       |
 3550|      2|    if (config->parse_argv < 0) {
  ------------------
  |  Branch (3550:9): [True: 0, False: 2]
  ------------------
 3551|      0|        config->parse_argv = 1;
 3552|      0|    }
 3553|       |
 3554|      2|    if (config->parse_argv == 1) {
  ------------------
  |  Branch (3554:9): [True: 2, False: 0]
  ------------------
 3555|      2|        Py_ssize_t opt_index;
 3556|      2|        status = config_parse_cmdline(config, &cmdline_warnoptions, &opt_index);
 3557|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3558|      0|            goto done;
 3559|      0|        }
 3560|       |
 3561|      2|        status = config_run_filename_abspath(config);
 3562|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3563|      0|            goto done;
 3564|      0|        }
 3565|       |
 3566|      2|        status = config_update_argv(config, opt_index);
 3567|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3568|      0|            goto done;
 3569|      0|        }
 3570|      2|    }
 3571|      0|    else {
 3572|      0|        status = config_run_filename_abspath(config);
 3573|      0|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3574|      0|            goto done;
 3575|      0|        }
 3576|      0|    }
 3577|       |
 3578|      2|    if (config->use_environment) {
  ------------------
  |  Branch (3578:9): [True: 2, False: 0]
  ------------------
 3579|      2|        status = config_init_env_warnoptions(config, &env_warnoptions);
 3580|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3581|      0|            goto done;
 3582|      0|        }
 3583|      2|    }
 3584|       |
 3585|       |    /* Handle early PySys_AddWarnOption() calls */
 3586|      2|    status = _PySys_ReadPreinitWarnOptions(&sys_warnoptions);
 3587|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3588|      0|        goto done;
 3589|      0|    }
 3590|       |
 3591|      2|    status = config_init_warnoptions(config,
 3592|      2|                                     &cmdline_warnoptions,
 3593|      2|                                     &env_warnoptions,
 3594|      2|                                     &sys_warnoptions);
 3595|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3596|      0|        goto done;
 3597|      0|    }
 3598|       |
 3599|      2|    status = _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3600|       |
 3601|      2|done:
 3602|      2|    _PyWideStringList_Clear(&cmdline_warnoptions);
 3603|      2|    _PyWideStringList_Clear(&env_warnoptions);
 3604|      2|    _PyWideStringList_Clear(&sys_warnoptions);
 3605|      2|    return status;
 3606|      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|    _PyOS_ResetGetOpt();
 3013|      2|    do {
 3014|      2|        int longindex = -1;
 3015|      2|        int c = _PyOS_GetOpt(argv->length, argv->items, &longindex);
 3016|      2|        if (c == EOF) {
  ------------------
  |  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(_PyOS_optarg) + 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, _PyOS_optarg, (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(_PyOS_optarg);
 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
 3055|      0|            if (wcscmp(_PyOS_optarg, L"always") == 0
  ------------------
  |  Branch (3055:17): [True: 0, False: 0]
  ------------------
 3056|      0|                || wcscmp(_PyOS_optarg, L"never") == 0
  ------------------
  |  Branch (3056:20): [True: 0, False: 0]
  ------------------
 3057|      0|                || wcscmp(_PyOS_optarg, 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|                                            _PyOS_optarg);
 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
 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
 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
 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, _PyOS_optarg);
 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|        && _PyOS_optind < argv->length
  ------------------
  |  Branch (3180:12): [True: 0, False: 2]
  ------------------
 3181|      0|        && wcscmp(argv->items[_PyOS_optind], 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[_PyOS_optind]);
 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 _PyOS_optind */
 3192|      0|        _PyOS_optind--;
 3193|      0|    }
 3194|       |
 3195|      2|    *opt_index = _PyOS_optind;
 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:
 3514|      2|{
 3515|      2|    if (!config->run_filename) {
  ------------------
  |  Branch (3515:9): [True: 2, False: 0]
  ------------------
 3516|      2|        return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3517|      2|    }
 3518|       |
 3519|      0|#ifndef MS_WINDOWS
 3520|      0|    if (_Py_isabs(config->run_filename)) {
  ------------------
  |  Branch (3520:9): [True: 0, False: 0]
  ------------------
 3521|       |        /* path is already absolute */
 3522|      0|        return _PyStatus_OK();
  ------------------
  |  |   24|      0|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3523|      0|    }
 3524|      0|#endif
 3525|       |
 3526|      0|    wchar_t *abs_filename;
 3527|      0|    if (_Py_abspath(config->run_filename, &abs_filename) < 0) {
  ------------------
  |  Branch (3527:9): [True: 0, False: 0]
  ------------------
 3528|       |        /* failed to get the absolute path of the command line filename:
 3529|       |           ignore the error, keep the relative path */
 3530|      0|        return _PyStatus_OK();
  ------------------
  |  |   24|      0|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3531|      0|    }
 3532|      0|    if (abs_filename == NULL) {
  ------------------
  |  Branch (3532:9): [True: 0, False: 0]
  ------------------
 3533|      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)}
  |  |  ------------------
  ------------------
 3534|      0|    }
 3535|       |
 3536|      0|    PyMem_RawFree(config->run_filename);
 3537|      0|    config->run_filename = abs_filename;
 3538|      0|    return _PyStatus_OK();
  ------------------
  |  |   24|      0|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3539|      0|}
initconfig.c:config_update_argv:
 3429|      2|{
 3430|      2|    const PyWideStringList *cmdline_argv = &config->argv;
 3431|      2|    PyWideStringList config_argv = _PyWideStringList_INIT;
  ------------------
  |  |   53|      2|#define _PyWideStringList_INIT (PyWideStringList){.length = 0, .items = NULL}
  ------------------
 3432|       |
 3433|       |    /* Copy argv to be able to modify it (to force -c/-m) */
 3434|      2|    if (cmdline_argv->length <= opt_index) {
  ------------------
  |  Branch (3434:9): [True: 2, False: 0]
  ------------------
 3435|       |        /* Ensure at least one (empty) argument is seen */
 3436|      2|        PyStatus status = PyWideStringList_Append(&config_argv, L"");
 3437|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3438|      0|            return status;
 3439|      0|        }
 3440|      2|    }
 3441|      0|    else {
 3442|      0|        PyWideStringList slice;
 3443|      0|        slice.length = cmdline_argv->length - opt_index;
 3444|      0|        slice.items = &cmdline_argv->items[opt_index];
 3445|      0|        if (_PyWideStringList_Copy(&config_argv, &slice) < 0) {
  ------------------
  |  Branch (3445:13): [True: 0, False: 0]
  ------------------
 3446|      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)}
  |  |  ------------------
  ------------------
 3447|      0|        }
 3448|      0|    }
 3449|      2|    assert(config_argv.length >= 1);
  ------------------
  |  Branch (3449:5): [True: 2, False: 0]
  ------------------
 3450|       |
 3451|      2|    wchar_t *arg0 = NULL;
 3452|      2|    if (config->run_command != NULL) {
  ------------------
  |  Branch (3452:9): [True: 0, False: 2]
  ------------------
 3453|       |        /* Force sys.argv[0] = '-c' */
 3454|      0|        arg0 = L"-c";
 3455|      0|    }
 3456|      2|    else if (config->run_module != NULL) {
  ------------------
  |  Branch (3456:14): [True: 0, False: 2]
  ------------------
 3457|       |        /* Force sys.argv[0] = '-m'*/
 3458|      0|        arg0 = L"-m";
 3459|      0|    }
 3460|       |
 3461|      2|    if (arg0 != NULL) {
  ------------------
  |  Branch (3461:9): [True: 0, False: 2]
  ------------------
 3462|      0|        arg0 = _PyMem_RawWcsdup(arg0);
 3463|      0|        if (arg0 == NULL) {
  ------------------
  |  Branch (3463:13): [True: 0, False: 0]
  ------------------
 3464|      0|            _PyWideStringList_Clear(&config_argv);
 3465|      0|            return _PyStatus_NO_MEMORY();
  ------------------
  |  |   33|      0|#define _PyStatus_NO_MEMORY() _PyStatus_ERR(_PyStatus_NO_MEMORY_ERRMSG)
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  ------------------
 3466|      0|        }
 3467|       |
 3468|      0|        PyMem_RawFree(config_argv.items[0]);
 3469|      0|        config_argv.items[0] = arg0;
 3470|      0|    }
 3471|       |
 3472|      2|    _PyWideStringList_Clear(&config->argv);
 3473|      2|    config->argv = config_argv;
 3474|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3475|      2|}
initconfig.c:config_init_env_warnoptions:
 3276|      2|{
 3277|      2|    PyStatus status;
 3278|       |    /* CONFIG_GET_ENV_DUP requires dest to be initialized to NULL */
 3279|      2|    wchar_t *env = NULL;
 3280|      2|    status = CONFIG_GET_ENV_DUP(config, &env,
  ------------------
  |  | 1763|      2|    config_get_env_dup(CONFIG, DEST, WNAME, NAME, "cannot decode " NAME)
  ------------------
 3281|      2|                             L"PYTHONWARNINGS", "PYTHONWARNINGS");
 3282|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3283|      0|        return status;
 3284|      0|    }
 3285|       |
 3286|       |    /* env var is not set or is empty */
 3287|      2|    if (env == NULL) {
  ------------------
  |  Branch (3287:9): [True: 2, False: 0]
  ------------------
 3288|      2|        return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3289|      2|    }
 3290|       |
 3291|       |
 3292|      0|    wchar_t *warning, *context = NULL;
 3293|      0|    for (warning = WCSTOK(env, L",", &context);
  ------------------
  |  | 3270|      0|#  define WCSTOK wcstok
  ------------------
 3294|      0|         warning != NULL;
  ------------------
  |  Branch (3294:10): [True: 0, False: 0]
  ------------------
 3295|      0|         warning = WCSTOK(NULL, L",", &context))
  ------------------
  |  | 3270|      0|#  define WCSTOK wcstok
  ------------------
 3296|      0|    {
 3297|      0|        status = PyWideStringList_Append(warnoptions, warning);
 3298|      0|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3299|      0|            PyMem_RawFree(env);
 3300|      0|            return status;
 3301|      0|        }
 3302|      0|    }
 3303|      0|    PyMem_RawFree(env);
 3304|      0|    return _PyStatus_OK();
  ------------------
  |  |   24|      0|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3305|      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:
 3350|      2|{
 3351|      2|    PyStatus status;
 3352|      2|    PyWideStringList options = _PyWideStringList_INIT;
  ------------------
  |  |   53|      2|#define _PyWideStringList_INIT (PyWideStringList){.length = 0, .items = NULL}
  ------------------
 3353|       |
 3354|       |    /* Priority of warnings options, lowest to highest:
 3355|       |     *
 3356|       |     * - any implicit filters added by _warnings.c/warnings.py
 3357|       |     * - PyConfig.dev_mode: "default" filter
 3358|       |     * - PYTHONWARNINGS environment variable
 3359|       |     * - '-W' command line options
 3360|       |     * - PyConfig.bytes_warning ('-b' and '-bb' command line options):
 3361|       |     *   "default::BytesWarning" or "error::BytesWarning" filter
 3362|       |     * - early PySys_AddWarnOption() calls
 3363|       |     * - PyConfig.warnoptions
 3364|       |     *
 3365|       |     * PyConfig.warnoptions is copied to sys.warnoptions. Since the warnings
 3366|       |     * module works on the basis of "the most recently added filter will be
 3367|       |     * checked first", we add the lowest precedence entries first so that later
 3368|       |     * entries override them.
 3369|       |     */
 3370|       |
 3371|      2|    if (config->dev_mode) {
  ------------------
  |  Branch (3371:9): [True: 0, False: 2]
  ------------------
 3372|      0|        status = warnoptions_append(config, &options, L"default");
 3373|      0|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3374|      0|            goto error;
 3375|      0|        }
 3376|      0|    }
 3377|       |
 3378|      2|    status = warnoptions_extend(config, &options, env_warnoptions);
 3379|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3380|      0|        goto error;
 3381|      0|    }
 3382|       |
 3383|      2|    status = warnoptions_extend(config, &options, cmdline_warnoptions);
 3384|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3385|      0|        goto error;
 3386|      0|    }
 3387|       |
 3388|       |    /* If the bytes_warning_flag isn't set, bytesobject.c and bytearrayobject.c
 3389|       |     * don't even try to emit a warning, so we skip setting the filter in that
 3390|       |     * case.
 3391|       |     */
 3392|      2|    if (config->bytes_warning) {
  ------------------
  |  Branch (3392:9): [True: 0, False: 2]
  ------------------
 3393|      0|        const wchar_t *filter;
 3394|      0|        if (config->bytes_warning> 1) {
  ------------------
  |  Branch (3394:13): [True: 0, False: 0]
  ------------------
 3395|      0|            filter = L"error::BytesWarning";
 3396|      0|        }
 3397|      0|        else {
 3398|      0|            filter = L"default::BytesWarning";
 3399|      0|        }
 3400|      0|        status = warnoptions_append(config, &options, filter);
 3401|      0|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3402|      0|            goto error;
 3403|      0|        }
 3404|      0|    }
 3405|       |
 3406|      2|    status = warnoptions_extend(config, &options, sys_warnoptions);
 3407|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3408|      0|        goto error;
 3409|      0|    }
 3410|       |
 3411|       |    /* Always add all PyConfig.warnoptions options */
 3412|      2|    status = _PyWideStringList_Extend(&options, &config->warnoptions);
 3413|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3414|      0|        goto error;
 3415|      0|    }
 3416|       |
 3417|      2|    _PyWideStringList_Clear(&config->warnoptions);
 3418|      2|    config->warnoptions = options;
 3419|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3420|       |
 3421|      0|error:
 3422|      0|    _PyWideStringList_Clear(&options);
 3423|      0|    return status;
 3424|      2|}
initconfig.c:warnoptions_extend:
 3331|      6|{
 3332|      6|    const Py_ssize_t len = options2->length;
 3333|      6|    wchar_t *const *items = options2->items;
 3334|       |
 3335|      6|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (3335:28): [True: 0, False: 6]
  ------------------
 3336|      0|        PyStatus status = warnoptions_append(config, options, items[i]);
 3337|      0|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3338|      0|            return status;
 3339|      0|        }
 3340|      0|    }
 3341|      6|    return _PyStatus_OK();
  ------------------
  |  |   24|      6|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3342|      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:
 4634|    144|{
 4635|    144|    if (use_sys) {
  ------------------
  |  Branch (4635:9): [True: 0, False: 144]
  ------------------
 4636|      0|        if (spec->sys.attr != NULL) {
  ------------------
  |  Branch (4636:13): [True: 0, False: 0]
  ------------------
 4637|      0|            return PySys_GetAttrString(spec->sys.attr);
 4638|      0|        }
 4639|       |
 4640|      0|        if (strcmp(spec->name, "write_bytecode") == 0) {
  ------------------
  |  Branch (4640:13): [True: 0, False: 0]
  ------------------
 4641|      0|            int value;
 4642|      0|            if (config_get_sys_write_bytecode(config, &value) < 0) {
  ------------------
  |  Branch (4642:17): [True: 0, False: 0]
  ------------------
 4643|      0|                return NULL;
 4644|      0|            }
 4645|      0|            return PyBool_FromLong(value);
 4646|      0|        }
 4647|       |
 4648|      0|        if (strcmp(spec->name, "int_max_str_digits") == 0) {
  ------------------
  |  Branch (4648:13): [True: 0, False: 0]
  ------------------
 4649|      0|            PyInterpreterState *interp = _PyInterpreterState_GET();
 4650|      0|            int maxdigits = _Py_atomic_load_int(&interp->long_state.max_str_digits);
 4651|      0|            return PyLong_FromLong(maxdigits);
 4652|      0|        }
 4653|      0|    }
 4654|       |
 4655|    144|    void *member = config_get_spec_member(config, spec);
 4656|    144|    switch (spec->type) {
 4657|     10|    case PyConfig_MEMBER_INT:
  ------------------
  |  Branch (4657:5): [True: 10, False: 134]
  ------------------
 4658|     26|    case PyConfig_MEMBER_UINT:
  ------------------
  |  Branch (4658:5): [True: 16, False: 128]
  ------------------
 4659|     26|    {
 4660|     26|        int value = *(int *)member;
 4661|     26|        return PyLong_FromLong(value);
 4662|     10|    }
 4663|       |
 4664|     62|    case PyConfig_MEMBER_BOOL:
  ------------------
  |  Branch (4664:5): [True: 62, False: 82]
  ------------------
 4665|     62|    {
 4666|     62|        int value = *(int *)member;
 4667|     62|        return PyBool_FromLong(value != 0);
 4668|     10|    }
 4669|       |
 4670|      2|    case PyConfig_MEMBER_ULONG:
  ------------------
  |  Branch (4670:5): [True: 2, False: 142]
  ------------------
 4671|      2|    {
 4672|      2|        unsigned long value = *(unsigned long *)member;
 4673|      2|        return PyLong_FromUnsignedLong(value);
 4674|     10|    }
 4675|       |
 4676|     12|    case PyConfig_MEMBER_WSTR:
  ------------------
  |  Branch (4676:5): [True: 12, False: 132]
  ------------------
 4677|     44|    case PyConfig_MEMBER_WSTR_OPT:
  ------------------
  |  Branch (4677:5): [True: 32, False: 112]
  ------------------
 4678|     44|    {
 4679|     44|        wchar_t *wstr = *(wchar_t **)member;
 4680|     44|        if (wstr != NULL) {
  ------------------
  |  Branch (4680:13): [True: 12, False: 32]
  ------------------
 4681|     12|            return PyUnicode_FromWideChar(wstr, -1);
 4682|     12|        }
 4683|     32|        else {
 4684|     32|            return Py_NewRef(Py_None);
  ------------------
  |  |  550|     32|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     32|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4685|     32|        }
 4686|     44|    }
 4687|       |
 4688|     10|    case PyConfig_MEMBER_WSTR_LIST:
  ------------------
  |  Branch (4688:5): [True: 10, False: 134]
  ------------------
 4689|     10|    {
 4690|     10|        if (strcmp(spec->name, "xoptions") == 0) {
  ------------------
  |  Branch (4690:13): [True: 2, False: 8]
  ------------------
 4691|      2|            return _PyConfig_CreateXOptionsDict(config);
 4692|      2|        }
 4693|      8|        else {
 4694|      8|            const PyWideStringList *list = (const PyWideStringList *)member;
 4695|      8|            return _PyWideStringList_AsTuple(list);
 4696|      8|        }
 4697|     10|    }
 4698|       |
 4699|      0|    default:
  ------------------
  |  Branch (4699:5): [True: 0, False: 144]
  ------------------
 4700|      0|        Py_UNREACHABLE();
  ------------------
  |  |  289|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 4701|    144|    }
 4702|    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);
  ------------------
  |  |  524|      8|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  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);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  201|      0|    }
  202|       |
  203|      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)
  |  |  ------------------
  |  |  |  |  302|     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)};
  ------------------
  |  |  158|     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:
 2569|      2|{
 2570|      2|    PyObject *mod = _PyModule_CreateInitialized(&monitoring_module, PYTHON_API_VERSION);
  ------------------
  |  |   59|      2|#define PYTHON_API_VERSION 1013
  ------------------
 2571|      2|    if (mod == NULL) {
  ------------------
  |  Branch (2571:9): [True: 0, False: 2]
  ------------------
 2572|      0|        return NULL;
 2573|      0|    }
 2574|      2|    if (PyObject_SetAttrString(mod, "DISABLE", &_PyInstrumentation_DISABLE)) {
  ------------------
  |  Branch (2574:9): [True: 0, False: 2]
  ------------------
 2575|      0|        goto error;
 2576|      0|    }
 2577|      2|    if (PyObject_SetAttrString(mod, "MISSING", &_PyInstrumentation_MISSING)) {
  ------------------
  |  Branch (2577:9): [True: 0, False: 2]
  ------------------
 2578|      0|        goto error;
 2579|      0|    }
 2580|      2|    PyObject *events = _PyNamespace_New(NULL);
 2581|      2|    if (events == NULL) {
  ------------------
  |  Branch (2581:9): [True: 0, False: 2]
  ------------------
 2582|      0|        goto error;
 2583|      0|    }
 2584|      2|    int err = PyObject_SetAttrString(mod, "events", events);
 2585|      2|    Py_DECREF(events);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2586|      2|    if (err) {
  ------------------
  |  Branch (2586:9): [True: 0, False: 2]
  ------------------
 2587|      0|        goto error;
 2588|      0|    }
 2589|     40|    for (int i = 0; i < _PY_MONITORING_EVENTS; i++) {
  ------------------
  |  |   77|     40|#define _PY_MONITORING_EVENTS 19
  ------------------
  |  Branch (2589:21): [True: 38, False: 2]
  ------------------
 2590|     38|        if (add_power2_constant(events, event_names[i], i)) {
  ------------------
  |  Branch (2590:13): [True: 0, False: 38]
  ------------------
 2591|      0|            goto error;
 2592|      0|        }
 2593|     38|    }
 2594|      2|    err = PyObject_SetAttrString(events, "NO_EVENTS", _PyLong_GetZero());
 2595|      2|    if (err) goto error;
  ------------------
  |  Branch (2595:9): [True: 0, False: 2]
  ------------------
 2596|      2|    PyObject *val = PyLong_FromLong(PY_MONITORING_DEBUGGER_ID);
  ------------------
  |  |   20|      2|#define PY_MONITORING_DEBUGGER_ID 0
  ------------------
 2597|      2|    assert(val != NULL); /* Can't return NULL because the int is small. */
  ------------------
  |  Branch (2597:5): [True: 2, False: 0]
  ------------------
 2598|      2|    err = PyObject_SetAttrString(mod, "DEBUGGER_ID", val);
 2599|      2|    Py_DECREF(val);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2600|      2|    if (err) goto error;
  ------------------
  |  Branch (2600:9): [True: 0, False: 2]
  ------------------
 2601|      2|    val = PyLong_FromLong(PY_MONITORING_COVERAGE_ID);
  ------------------
  |  |   21|      2|#define PY_MONITORING_COVERAGE_ID 1
  ------------------
 2602|      2|    assert(val != NULL);
  ------------------
  |  Branch (2602:5): [True: 2, False: 0]
  ------------------
 2603|      2|    err = PyObject_SetAttrString(mod, "COVERAGE_ID", val);
 2604|      2|    Py_DECREF(val);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2605|      2|    if (err) goto error;
  ------------------
  |  Branch (2605:9): [True: 0, False: 2]
  ------------------
 2606|      2|    val = PyLong_FromLong(PY_MONITORING_PROFILER_ID);
  ------------------
  |  |   22|      2|#define PY_MONITORING_PROFILER_ID 2
  ------------------
 2607|      2|    assert(val != NULL);
  ------------------
  |  Branch (2607:5): [True: 2, False: 0]
  ------------------
 2608|      2|    err = PyObject_SetAttrString(mod, "PROFILER_ID", val);
 2609|      2|    Py_DECREF(val);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2610|      2|    if (err) goto error;
  ------------------
  |  Branch (2610:9): [True: 0, False: 2]
  ------------------
 2611|      2|    val = PyLong_FromLong(PY_MONITORING_OPTIMIZER_ID);
  ------------------
  |  |   23|      2|#define PY_MONITORING_OPTIMIZER_ID 5
  ------------------
 2612|      2|    assert(val != NULL);
  ------------------
  |  Branch (2612:5): [True: 2, False: 0]
  ------------------
 2613|      2|    err = PyObject_SetAttrString(mod, "OPTIMIZER_ID", val);
 2614|      2|    Py_DECREF(val);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2615|      2|    if (err) goto error;
  ------------------
  |  Branch (2615:9): [True: 0, False: 2]
  ------------------
 2616|      2|    return mod;
 2617|      0|error:
 2618|      0|    Py_DECREF(mod);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2619|       |    return NULL;
 2620|      2|}
instrumentation.c:add_power2_constant:
 2506|     38|{
 2507|     38|    PyObject *val = PyLong_FromLong(1<<i);
 2508|     38|    if (val == NULL) {
  ------------------
  |  Branch (2508:9): [True: 0, False: 38]
  ------------------
 2509|      0|        return -1;
 2510|      0|    }
 2511|     38|    int err = PyObject_SetAttrString(obj, name, val);
 2512|     38|    Py_DECREF(val);
  ------------------
  |  |  430|     38|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     38|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     38|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2513|     38|    return err;
 2514|     38|}

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

PyMarshal_ReadObjectFromString:
 1950|     30|{
 1951|     30|    RFILE rf;
 1952|     30|    PyObject *result;
 1953|     30|    rf.allow_code = 1;
 1954|     30|    rf.fp = NULL;
 1955|     30|    rf.readable = NULL;
 1956|     30|    rf.ptr = str;
 1957|     30|    rf.end = str + len;
 1958|     30|    rf.buf = NULL;
 1959|     30|    rf.depth = 0;
 1960|     30|    rf.refs = PyList_New(0);
 1961|     30|    if (rf.refs == NULL)
  ------------------
  |  Branch (1961:9): [True: 0, False: 30]
  ------------------
 1962|      0|        return NULL;
 1963|     30|    result = read_object(&rf);
 1964|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1965|     30|    if (rf.buf != NULL)
  ------------------
  |  Branch (1965:9): [True: 0, False: 30]
  ------------------
 1966|      0|        PyMem_Free(rf.buf);
 1967|     30|    return result;
 1968|     30|}
PyMarshal_Init:
 2242|      2|{
 2243|      2|    return PyModuleDef_Init(&marshalmodule);
 2244|      2|}
marshal.c:r_short:
  993|     29|{
  994|     29|    short x = -1;
  995|     29|    const unsigned char *buffer;
  996|       |
  997|     29|    buffer = (const unsigned char *) r_string(2, p);
  998|     29|    if (buffer != NULL) {
  ------------------
  |  Branch (998:9): [True: 29, False: 0]
  ------------------
  999|     29|        x = buffer[0];
 1000|     29|        x |= buffer[1] << 8;
 1001|       |        /* Sign-extension, in case short greater than 16 bits */
 1002|     29|        x |= -(x & 0x8000);
 1003|     29|    }
 1004|     29|    return x;
 1005|     29|}
marshal.c:r_string:
  873|  70.3k|{
  874|  70.3k|    Py_ssize_t read = -1;
  875|       |
  876|  70.3k|    if (p->ptr != NULL) {
  ------------------
  |  Branch (876:9): [True: 70.3k, False: 0]
  ------------------
  877|       |        /* Fast path for loads() */
  878|  70.3k|        const char *res = p->ptr;
  879|  70.3k|        Py_ssize_t left = p->end - p->ptr;
  880|  70.3k|        if (left < n) {
  ------------------
  |  Branch (880:13): [True: 0, False: 70.3k]
  ------------------
  881|      0|            PyErr_SetString(PyExc_EOFError,
  882|      0|                            "marshal data too short");
  883|      0|            return NULL;
  884|      0|        }
  885|  70.3k|        p->ptr += n;
  886|  70.3k|        return res;
  887|  70.3k|    }
  888|      0|    if (p->buf == NULL) {
  ------------------
  |  Branch (888:9): [True: 0, False: 0]
  ------------------
  889|      0|        p->buf = PyMem_Malloc(n);
  890|      0|        if (p->buf == NULL) {
  ------------------
  |  Branch (890:13): [True: 0, False: 0]
  ------------------
  891|      0|            PyErr_NoMemory();
  892|      0|            return NULL;
  893|      0|        }
  894|      0|        p->buf_size = n;
  895|      0|    }
  896|      0|    else if (p->buf_size < n) {
  ------------------
  |  Branch (896:14): [True: 0, False: 0]
  ------------------
  897|      0|        char *tmp = PyMem_Realloc(p->buf, n);
  898|      0|        if (tmp == NULL) {
  ------------------
  |  Branch (898:13): [True: 0, False: 0]
  ------------------
  899|      0|            PyErr_NoMemory();
  900|      0|            return NULL;
  901|      0|        }
  902|      0|        p->buf = tmp;
  903|      0|        p->buf_size = n;
  904|      0|    }
  905|       |
  906|      0|    if (!p->readable) {
  ------------------
  |  Branch (906:9): [True: 0, False: 0]
  ------------------
  907|      0|        assert(p->fp != NULL);
  ------------------
  |  Branch (907:9): [True: 0, False: 0]
  ------------------
  908|      0|        read = fread(p->buf, 1, n, p->fp);
  909|      0|        if (read != n) {
  ------------------
  |  Branch (909:13): [True: 0, False: 0]
  ------------------
  910|      0|            assert(read < n);
  ------------------
  |  Branch (910:13): [True: 0, False: 0]
  ------------------
  911|      0|            int saved_errno = errno;
  912|      0|            if (!PyErr_CheckSignals() && ferror(p->fp)) {
  ------------------
  |  Branch (912:17): [True: 0, False: 0]
  |  Branch (912:42): [True: 0, False: 0]
  ------------------
  913|      0|                errno = saved_errno;
  914|      0|                PyErr_SetFromErrno(PyExc_OSError);
  915|      0|            }
  916|      0|        }
  917|      0|    }
  918|      0|    else {
  919|      0|        PyObject *res, *mview;
  920|      0|        Py_buffer buf;
  921|       |
  922|      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 (922:13): [True: 0, False: 0]
  ------------------
  923|      0|            return NULL;
  924|      0|        mview = PyMemoryView_FromBuffer(&buf);
  925|      0|        if (mview == NULL)
  ------------------
  |  Branch (925:13): [True: 0, False: 0]
  ------------------
  926|      0|            return NULL;
  927|       |
  928|      0|        res = _PyObject_CallMethod(p->readable, &_Py_ID(readinto), "N", mview);
  ------------------
  |  |  936|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  929|      0|        if (res == NULL) {
  ------------------
  |  Branch (929:13): [True: 0, False: 0]
  ------------------
  930|      0|            return NULL;
  931|      0|        }
  932|      0|        read = PyNumber_AsSsize_t(res, PyExc_ValueError);
  933|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  934|      0|        if (read == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (934:13): [True: 0, False: 0]
  |  Branch (934:27): [True: 0, False: 0]
  ------------------
  935|      0|            return NULL;
  936|      0|        }
  937|      0|        if (read > n) {
  ------------------
  |  Branch (937:13): [True: 0, False: 0]
  ------------------
  938|      0|            PyErr_Format(PyExc_ValueError,
  939|      0|                         "read() returned too much data: "
  940|      0|                         "%zd bytes requested, %zd returned",
  941|      0|                         n, read);
  942|      0|            return NULL;
  943|      0|        }
  944|      0|    }
  945|      0|    if (read != n) {
  ------------------
  |  Branch (945:9): [True: 0, False: 0]
  ------------------
  946|      0|        if (!PyErr_Occurred()) {
  ------------------
  |  Branch (946:13): [True: 0, False: 0]
  ------------------
  947|      0|            PyErr_SetString(PyExc_EOFError,
  948|      0|                            "EOF read where not expected");
  949|      0|        }
  950|      0|        return NULL;
  951|      0|    }
  952|      0|    return p->buf;
  953|      0|}
marshal.c:r_long:
 1009|  48.2k|{
 1010|  48.2k|    long x = -1;
 1011|  48.2k|    const unsigned char *buffer;
 1012|       |
 1013|  48.2k|    buffer = (const unsigned char *) r_string(4, p);
 1014|  48.2k|    if (buffer != NULL) {
  ------------------
  |  Branch (1014:9): [True: 48.2k, False: 0]
  ------------------
 1015|  48.2k|        x = buffer[0];
 1016|  48.2k|        x |= (long)buffer[1] << 8;
 1017|  48.2k|        x |= (long)buffer[2] << 16;
 1018|  48.2k|        x |= (long)buffer[3] << 24;
 1019|  48.2k|#if SIZEOF_LONG > 4
 1020|       |        /* Sign extension for 64-bit machines */
 1021|  48.2k|        x |= -(x & 0x80000000L);
 1022|  48.2k|#endif
 1023|  48.2k|    }
 1024|  48.2k|    return x;
 1025|  48.2k|}
marshal.c:read_object:
 1819|     57|{
 1820|     57|    PyObject *v;
 1821|     57|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (1821:9): [True: 0, False: 57]
  ------------------
 1822|      0|        fprintf(stderr, "XXX readobject called with exception set\n");
 1823|      0|        return NULL;
 1824|      0|    }
 1825|     57|    if (p->ptr && p->end) {
  ------------------
  |  Branch (1825:9): [True: 57, False: 0]
  |  Branch (1825:19): [True: 57, False: 0]
  ------------------
 1826|     57|        if (PySys_Audit("marshal.loads", "y#", p->ptr, (Py_ssize_t)(p->end - p->ptr)) < 0) {
  ------------------
  |  Branch (1826:13): [True: 0, False: 57]
  ------------------
 1827|      0|            return NULL;
 1828|      0|        }
 1829|     57|    } else if (p->fp || p->readable) {
  ------------------
  |  Branch (1829:16): [True: 0, False: 0]
  |  Branch (1829:25): [True: 0, False: 0]
  ------------------
 1830|      0|        if (PySys_Audit("marshal.load", NULL) < 0) {
  ------------------
  |  Branch (1830:13): [True: 0, False: 0]
  ------------------
 1831|      0|            return NULL;
 1832|      0|        }
 1833|      0|    }
 1834|     57|    v = r_object(p);
 1835|     57|    if (v == NULL && !PyErr_Occurred())
  ------------------
  |  Branch (1835:9): [True: 0, False: 57]
  |  Branch (1835:22): [True: 0, False: 0]
  ------------------
 1836|      0|        PyErr_SetString(PyExc_TypeError, "NULL object in marshal data for object");
 1837|     57|    return v;
 1838|     57|}
marshal.c:r_object:
 1230|  57.0k|{
 1231|       |    /* NULL is a valid return value, it does not necessarily means that
 1232|       |       an exception is set. */
 1233|  57.0k|    PyObject *v, *v2;
 1234|  57.0k|    Py_ssize_t idx = 0;
 1235|  57.0k|    long i, n;
 1236|  57.0k|    int type, code = r_byte(p);
 1237|  57.0k|    int flag, is_interned = 0;
 1238|  57.0k|    PyObject *retval = NULL;
 1239|       |
 1240|  57.0k|    if (code == EOF) {
  ------------------
  |  Branch (1240:9): [True: 0, False: 57.0k]
  ------------------
 1241|      0|        if (PyErr_ExceptionMatches(PyExc_EOFError)) {
  ------------------
  |  Branch (1241:13): [True: 0, False: 0]
  ------------------
 1242|      0|            PyErr_SetString(PyExc_EOFError,
 1243|      0|                            "EOF read where object expected");
 1244|      0|        }
 1245|      0|        return NULL;
 1246|      0|    }
 1247|       |
 1248|  57.0k|    p->depth++;
 1249|       |
 1250|  57.0k|    if (p->depth > MAX_MARSHAL_STACK_DEPTH) {
  ------------------
  |  |   54|  57.0k|#  define MAX_MARSHAL_STACK_DEPTH 2000
  ------------------
  |  Branch (1250:9): [True: 0, False: 57.0k]
  ------------------
 1251|      0|        p->depth--;
 1252|      0|        PyErr_SetString(PyExc_ValueError, "recursion limit exceeded");
 1253|      0|        return NULL;
 1254|      0|    }
 1255|       |
 1256|  57.0k|    flag = code & FLAG_REF;
  ------------------
  |  |  100|  57.0k|#define FLAG_REF                '\x80' /* with a type, add obj to index */
  ------------------
 1257|  57.0k|    type = code & ~FLAG_REF;
  ------------------
  |  |  100|  57.0k|#define FLAG_REF                '\x80' /* with a type, add obj to index */
  ------------------
 1258|       |
 1259|  57.0k|#define R_REF(O) do{\
 1260|  57.0k|    if (flag) \
 1261|  57.0k|        O = r_ref(O, flag, p);\
 1262|  57.0k|} while (0)
 1263|       |
 1264|  57.0k|    switch (type) {
 1265|       |
 1266|      0|    case TYPE_NULL:
  ------------------
  |  |   58|      0|#define TYPE_NULL               '0'
  ------------------
  |  Branch (1266:5): [True: 0, False: 57.0k]
  ------------------
 1267|      0|        break;
 1268|       |
 1269|    408|    case TYPE_NONE:
  ------------------
  |  |   59|    408|#define TYPE_NONE               'N'
  ------------------
  |  Branch (1269:5): [True: 408, False: 56.6k]
  ------------------
 1270|    408|        retval = Py_None;
  ------------------
  |  |  616|    408|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1271|    408|        break;
 1272|       |
 1273|      0|    case TYPE_STOPITER:
  ------------------
  |  |   62|      0|#define TYPE_STOPITER           'S'
  ------------------
  |  Branch (1273:5): [True: 0, False: 57.0k]
  ------------------
 1274|      0|        retval = Py_NewRef(PyExc_StopIteration);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1275|      0|        break;
 1276|       |
 1277|      4|    case TYPE_ELLIPSIS:
  ------------------
  |  |   63|      4|#define TYPE_ELLIPSIS           '.'
  ------------------
  |  Branch (1277:5): [True: 4, False: 57.0k]
  ------------------
 1278|      4|        retval = Py_Ellipsis;
  ------------------
  |  |   14|      4|#  define Py_Ellipsis (&_Py_EllipsisObject)
  ------------------
 1279|      4|        break;
 1280|       |
 1281|     36|    case TYPE_FALSE:
  ------------------
  |  |   60|     36|#define TYPE_FALSE              'F'
  ------------------
  |  Branch (1281:5): [True: 36, False: 56.9k]
  ------------------
 1282|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1283|     36|        break;
 1284|       |
 1285|     39|    case TYPE_TRUE:
  ------------------
  |  |   61|     39|#define TYPE_TRUE               'T'
  ------------------
  |  Branch (1285:5): [True: 39, False: 56.9k]
  ------------------
 1286|     39|        retval = Py_True;
  ------------------
  |  |   26|     39|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|     39|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     39|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1287|     39|        break;
 1288|       |
 1289|    478|    case TYPE_INT:
  ------------------
  |  |   90|    478|#define TYPE_INT                'i'  // All versions. 32-bit encoding.
  ------------------
  |  Branch (1289:5): [True: 478, False: 56.5k]
  ------------------
 1290|    478|        n = r_long(p);
 1291|    478|        if (n == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1291:13): [True: 7, False: 471]
  |  Branch (1291:24): [True: 0, False: 7]
  ------------------
 1292|      0|            break;
 1293|      0|        }
 1294|    478|        retval = PyLong_FromLong(n);
 1295|    478|        R_REF(retval);
  ------------------
  |  | 1259|    478|#define R_REF(O) do{\
  |  | 1260|    478|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1260:9): [True: 363, False: 115]
  |  |  ------------------
  |  | 1261|    478|        O = r_ref(O, flag, p);\
  |  | 1262|    478|} while (0)
  |  |  ------------------
  |  |  |  Branch (1262:10): [Folded, False: 478]
  |  |  ------------------
  ------------------
 1296|    478|        break;
 1297|       |
 1298|      0|    case TYPE_INT64:
  ------------------
  |  |   96|      0|#define TYPE_INT64              'I'  // Not generated any more.
  ------------------
  |  Branch (1298:5): [True: 0, False: 57.0k]
  ------------------
 1299|      0|        retval = r_long64(p);
 1300|      0|        R_REF(retval);
  ------------------
  |  | 1259|      0|#define R_REF(O) do{\
  |  | 1260|      0|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1260:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 1261|      0|        O = r_ref(O, flag, p);\
  |  | 1262|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (1262:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1301|      0|        break;
 1302|       |
 1303|      9|    case TYPE_LONG:
  ------------------
  |  |   66|      9|#define TYPE_LONG               'l'  // See also TYPE_INT.
  ------------------
  |  Branch (1303:5): [True: 9, False: 57.0k]
  ------------------
 1304|      9|        retval = r_PyLong(p);
 1305|      9|        R_REF(retval);
  ------------------
  |  | 1259|      9|#define R_REF(O) do{\
  |  | 1260|      9|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1260:9): [True: 2, False: 7]
  |  |  ------------------
  |  | 1261|      9|        O = r_ref(O, flag, p);\
  |  | 1262|      9|} while (0)
  |  |  ------------------
  |  |  |  Branch (1262:10): [Folded, False: 9]
  |  |  ------------------
  ------------------
 1306|      9|        break;
 1307|       |
 1308|      0|    case TYPE_FLOAT:
  ------------------
  |  |   95|      0|#define TYPE_FLOAT              'f'  // Generated for version 0 only.
  ------------------
  |  Branch (1308:5): [True: 0, False: 57.0k]
  ------------------
 1309|      0|        {
 1310|      0|            double x = r_float_str(p);
 1311|      0|            if (x == -1.0 && PyErr_Occurred())
  ------------------
  |  Branch (1311:17): [True: 0, False: 0]
  |  Branch (1311:30): [True: 0, False: 0]
  ------------------
 1312|      0|                break;
 1313|      0|            retval = PyFloat_FromDouble(x);
 1314|      0|            R_REF(retval);
  ------------------
  |  | 1259|      0|#define R_REF(O) do{\
  |  | 1260|      0|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1260:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 1261|      0|        O = r_ref(O, flag, p);\
  |  | 1262|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (1262:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1315|      0|            break;
 1316|      0|        }
 1317|       |
 1318|      0|    case TYPE_BINARY_FLOAT:
  ------------------
  |  |   64|      0|#define TYPE_BINARY_FLOAT       'g'  // Version 0 uses TYPE_FLOAT instead.
  ------------------
  |  Branch (1318:5): [True: 0, False: 57.0k]
  ------------------
 1319|      0|        {
 1320|      0|            double x = r_float_bin(p);
 1321|      0|            if (x == -1.0 && PyErr_Occurred())
  ------------------
  |  Branch (1321:17): [True: 0, False: 0]
  |  Branch (1321:30): [True: 0, False: 0]
  ------------------
 1322|      0|                break;
 1323|      0|            retval = PyFloat_FromDouble(x);
 1324|      0|            R_REF(retval);
  ------------------
  |  | 1259|      0|#define R_REF(O) do{\
  |  | 1260|      0|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1260:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 1261|      0|        O = r_ref(O, flag, p);\
  |  | 1262|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (1262:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1325|      0|            break;
 1326|      0|        }
 1327|       |
 1328|      0|    case TYPE_COMPLEX:
  ------------------
  |  |   94|      0|#define TYPE_COMPLEX            'x'  // Generated for version 0 only.
  ------------------
  |  Branch (1328:5): [True: 0, False: 57.0k]
  ------------------
 1329|      0|        {
 1330|      0|            Py_complex c;
 1331|      0|            c.real = r_float_str(p);
 1332|      0|            if (c.real == -1.0 && PyErr_Occurred())
  ------------------
  |  Branch (1332:17): [True: 0, False: 0]
  |  Branch (1332:35): [True: 0, False: 0]
  ------------------
 1333|      0|                break;
 1334|      0|            c.imag = r_float_str(p);
 1335|      0|            if (c.imag == -1.0 && PyErr_Occurred())
  ------------------
  |  Branch (1335:17): [True: 0, False: 0]
  |  Branch (1335:35): [True: 0, False: 0]
  ------------------
 1336|      0|                break;
 1337|      0|            retval = PyComplex_FromCComplex(c);
 1338|      0|            R_REF(retval);
  ------------------
  |  | 1259|      0|#define R_REF(O) do{\
  |  | 1260|      0|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1260:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 1261|      0|        O = r_ref(O, flag, p);\
  |  | 1262|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (1262:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1339|      0|            break;
 1340|      0|        }
 1341|       |
 1342|      0|    case TYPE_BINARY_COMPLEX:
  ------------------
  |  |   65|      0|#define TYPE_BINARY_COMPLEX     'y'  // Version 0 uses TYPE_COMPLEX instead.
  ------------------
  |  Branch (1342:5): [True: 0, False: 57.0k]
  ------------------
 1343|      0|        {
 1344|      0|            Py_complex c;
 1345|      0|            c.real = r_float_bin(p);
 1346|      0|            if (c.real == -1.0 && PyErr_Occurred())
  ------------------
  |  Branch (1346:17): [True: 0, False: 0]
  |  Branch (1346:35): [True: 0, False: 0]
  ------------------
 1347|      0|                break;
 1348|      0|            c.imag = r_float_bin(p);
 1349|      0|            if (c.imag == -1.0 && PyErr_Occurred())
  ------------------
  |  Branch (1349:17): [True: 0, False: 0]
  |  Branch (1349:35): [True: 0, False: 0]
  ------------------
 1350|      0|                break;
 1351|      0|            retval = PyComplex_FromCComplex(c);
 1352|      0|            R_REF(retval);
  ------------------
  |  | 1259|      0|#define R_REF(O) do{\
  |  | 1260|      0|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1260:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 1261|      0|        O = r_ref(O, flag, p);\
  |  | 1262|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (1262:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1353|      0|            break;
 1354|      0|        }
 1355|       |
 1356|  7.38k|    case TYPE_STRING:
  ------------------
  |  |   67|  7.38k|#define TYPE_STRING             's'  // Bytes. (Name comes from Python 2.)
  ------------------
  |  Branch (1356:5): [True: 7.38k, False: 49.6k]
  ------------------
 1357|  7.38k|        {
 1358|  7.38k|            const char *ptr;
 1359|  7.38k|            n = r_long(p);
 1360|  7.38k|            if (n < 0 || n > SIZE32_MAX) {
  ------------------
  |  |  230|  7.38k|#define SIZE32_MAX  0x7FFFFFFF
  ------------------
  |  Branch (1360:17): [True: 0, False: 7.38k]
  |  Branch (1360:26): [True: 0, False: 7.38k]
  ------------------
 1361|      0|                if (!PyErr_Occurred()) {
  ------------------
  |  Branch (1361:21): [True: 0, False: 0]
  ------------------
 1362|      0|                    PyErr_SetString(PyExc_ValueError,
 1363|      0|                        "bad marshal data (bytes object size out of range)");
 1364|      0|                }
 1365|      0|                break;
 1366|      0|            }
 1367|  7.38k|            ptr = r_string(n, p);
 1368|  7.38k|            if (ptr == NULL) {
  ------------------
  |  Branch (1368:17): [True: 0, False: 7.38k]
  ------------------
 1369|      0|                break;
 1370|      0|            }
 1371|       |            // Get a singleton for 1-byte string
 1372|  7.38k|            retval = PyBytes_FromStringAndSize(ptr, n);  // can be NULL
 1373|  7.38k|            R_REF(retval);
  ------------------
  |  | 1259|  7.38k|#define R_REF(O) do{\
  |  | 1260|  7.38k|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1260:9): [True: 2.65k, False: 4.73k]
  |  |  ------------------
  |  | 1261|  7.38k|        O = r_ref(O, flag, p);\
  |  | 1262|  7.38k|} while (0)
  |  |  ------------------
  |  |  |  Branch (1262:10): [Folded, False: 7.38k]
  |  |  ------------------
  ------------------
 1374|  7.38k|            break;
 1375|  7.38k|        }
 1376|       |
 1377|      0|    case TYPE_ASCII_INTERNED:
  ------------------
  |  |   85|      0|#define TYPE_ASCII_INTERNED     'A'
  ------------------
  |  Branch (1377:5): [True: 0, False: 57.0k]
  ------------------
 1378|      0|        is_interned = 1;
 1379|      0|        _Py_FALLTHROUGH;
  ------------------
  |  |  650|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 1380|    207|    case TYPE_ASCII:
  ------------------
  |  |   84|    207|#define TYPE_ASCII              'a'
  ------------------
  |  Branch (1380:5): [True: 207, False: 56.8k]
  ------------------
 1381|    207|        n = r_long(p);
 1382|    207|        if (n < 0 || n > SIZE32_MAX) {
  ------------------
  |  |  230|    207|#define SIZE32_MAX  0x7FFFFFFF
  ------------------
  |  Branch (1382:13): [True: 0, False: 207]
  |  Branch (1382:22): [True: 0, False: 207]
  ------------------
 1383|      0|            if (!PyErr_Occurred()) {
  ------------------
  |  Branch (1383:17): [True: 0, False: 0]
  ------------------
 1384|      0|                PyErr_SetString(PyExc_ValueError,
 1385|      0|                    "bad marshal data (string size out of range)");
 1386|      0|            }
 1387|      0|            break;
 1388|      0|        }
 1389|    207|        goto _read_ascii;
 1390|       |
 1391|  12.3k|    case TYPE_SHORT_ASCII_INTERNED:
  ------------------
  |  |   87|  12.3k|#define TYPE_SHORT_ASCII_INTERNED 'Z'
  ------------------
  |  Branch (1391:5): [True: 12.3k, False: 44.6k]
  ------------------
 1392|  12.3k|        is_interned = 1;
 1393|  12.3k|        _Py_FALLTHROUGH;
  ------------------
  |  |  650|  12.3k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 1394|  14.4k|    case TYPE_SHORT_ASCII:
  ------------------
  |  |   86|  14.4k|#define TYPE_SHORT_ASCII        'z'
  ------------------
  |  Branch (1394:5): [True: 2.06k, False: 54.9k]
  ------------------
 1395|  14.4k|        n = r_byte(p);
 1396|  14.4k|        if (n == EOF) {
  ------------------
  |  Branch (1396:13): [True: 0, False: 14.4k]
  ------------------
 1397|      0|            break;
 1398|      0|        }
 1399|  14.6k|    _read_ascii:
 1400|  14.6k|        {
 1401|  14.6k|            const char *ptr;
 1402|  14.6k|            ptr = r_string(n, p);
 1403|  14.6k|            if (ptr == NULL)
  ------------------
  |  Branch (1403:17): [True: 0, False: 14.6k]
  ------------------
 1404|      0|                break;
 1405|  14.6k|            v = PyUnicode_FromKindAndData(PyUnicode_1BYTE_KIND, ptr, n);
 1406|  14.6k|            if (v == NULL)
  ------------------
  |  Branch (1406:17): [True: 0, False: 14.6k]
  ------------------
 1407|      0|                break;
 1408|  14.6k|            if (is_interned) {
  ------------------
  |  Branch (1408:17): [True: 12.3k, False: 2.27k]
  ------------------
 1409|       |                // marshal is meant to serialize .pyc files with code
 1410|       |                // objects, and code-related strings are currently immortal.
 1411|  12.3k|                PyInterpreterState *interp = _PyInterpreterState_GET();
 1412|  12.3k|                _PyUnicode_InternImmortal(interp, &v);
 1413|  12.3k|            }
 1414|  14.6k|            retval = v;
 1415|  14.6k|            R_REF(retval);
  ------------------
  |  | 1259|  14.6k|#define R_REF(O) do{\
  |  | 1260|  14.6k|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1260:9): [True: 12.4k, False: 2.16k]
  |  |  ------------------
  |  | 1261|  14.6k|        O = r_ref(O, flag, p);\
  |  | 1262|  14.6k|} while (0)
  |  |  ------------------
  |  |  |  Branch (1262:10): [Folded, False: 14.6k]
  |  |  ------------------
  ------------------
 1416|  14.6k|            break;
 1417|  14.6k|        }
 1418|       |
 1419|      0|    case TYPE_INTERNED:
  ------------------
  |  |   83|      0|#define TYPE_INTERNED           't' // Version 1+
  ------------------
  |  Branch (1419:5): [True: 0, False: 57.0k]
  ------------------
 1420|      0|        is_interned = 1;
 1421|      0|        _Py_FALLTHROUGH;
  ------------------
  |  |  650|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 1422|      2|    case TYPE_UNICODE:
  ------------------
  |  |   73|      2|#define TYPE_UNICODE            'u'
  ------------------
  |  Branch (1422:5): [True: 2, False: 57.0k]
  ------------------
 1423|      2|        {
 1424|      2|        const char *buffer;
 1425|       |
 1426|      2|        n = r_long(p);
 1427|      2|        if (n < 0 || n > SIZE32_MAX) {
  ------------------
  |  |  230|      2|#define SIZE32_MAX  0x7FFFFFFF
  ------------------
  |  Branch (1427:13): [True: 0, False: 2]
  |  Branch (1427:22): [True: 0, False: 2]
  ------------------
 1428|      0|            if (!PyErr_Occurred()) {
  ------------------
  |  Branch (1428:17): [True: 0, False: 0]
  ------------------
 1429|      0|                PyErr_SetString(PyExc_ValueError,
 1430|      0|                    "bad marshal data (string size out of range)");
 1431|      0|            }
 1432|      0|            break;
 1433|      0|        }
 1434|      2|        if (n != 0) {
  ------------------
  |  Branch (1434:13): [True: 2, False: 0]
  ------------------
 1435|      2|            buffer = r_string(n, p);
 1436|      2|            if (buffer == NULL)
  ------------------
  |  Branch (1436:17): [True: 0, False: 2]
  ------------------
 1437|      0|                break;
 1438|      2|            v = PyUnicode_DecodeUTF8(buffer, n, "surrogatepass");
 1439|      2|        }
 1440|      0|        else {
 1441|      0|            v = Py_GetConstant(Py_CONSTANT_EMPTY_STR);
  ------------------
  |  |  597|      0|#define Py_CONSTANT_EMPTY_STR 7
  ------------------
 1442|      0|        }
 1443|      2|        if (v == NULL)
  ------------------
  |  Branch (1443:13): [True: 0, False: 2]
  ------------------
 1444|      0|            break;
 1445|      2|        if (is_interned) {
  ------------------
  |  Branch (1445:13): [True: 0, False: 2]
  ------------------
 1446|       |            // marshal is meant to serialize .pyc files with code
 1447|       |            // objects, and code-related strings are currently immortal.
 1448|      0|            PyInterpreterState *interp = _PyInterpreterState_GET();
 1449|      0|            _PyUnicode_InternImmortal(interp, &v);
 1450|      0|        }
 1451|      2|        retval = v;
 1452|      2|        R_REF(retval);
  ------------------
  |  | 1259|      2|#define R_REF(O) do{\
  |  | 1260|      2|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1260:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1261|      2|        O = r_ref(O, flag, p);\
  |  | 1262|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (1262:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1453|      2|        break;
 1454|      2|        }
 1455|       |
 1456|  5.71k|    case TYPE_SMALL_TUPLE:
  ------------------
  |  |   91|  5.71k|#define TYPE_SMALL_TUPLE        ')'  // Version 4+
  ------------------
  |  Branch (1456:5): [True: 5.71k, False: 51.3k]
  ------------------
 1457|  5.71k|        n = r_byte(p);
 1458|  5.71k|        if (n == EOF) {
  ------------------
  |  Branch (1458:13): [True: 0, False: 5.71k]
  ------------------
 1459|      0|            break;
 1460|      0|        }
 1461|  5.71k|        goto _read_tuple;
 1462|  5.71k|    case TYPE_TUPLE:
  ------------------
  |  |   68|      2|#define TYPE_TUPLE              '('  // See also TYPE_SMALL_TUPLE.
  ------------------
  |  Branch (1462:5): [True: 2, False: 57.0k]
  ------------------
 1463|      2|        n = r_long(p);
 1464|      2|        if (n < 0 || n > SIZE32_MAX) {
  ------------------
  |  |  230|      2|#define SIZE32_MAX  0x7FFFFFFF
  ------------------
  |  Branch (1464:13): [True: 0, False: 2]
  |  Branch (1464:22): [True: 0, False: 2]
  ------------------
 1465|      0|            if (!PyErr_Occurred()) {
  ------------------
  |  Branch (1465:17): [True: 0, False: 0]
  ------------------
 1466|      0|                PyErr_SetString(PyExc_ValueError,
 1467|      0|                    "bad marshal data (tuple size out of range)");
 1468|      0|            }
 1469|      0|            break;
 1470|      0|        }
 1471|  5.71k|    _read_tuple:
 1472|  5.71k|        idx = r_ref_reserve(flag, p);
 1473|  5.71k|        if (idx < 0)
  ------------------
  |  Branch (1473:13): [True: 0, False: 5.71k]
  ------------------
 1474|      0|            break;
 1475|  5.71k|        v = PyTuple_New(n);
 1476|  5.71k|        if (v == NULL)
  ------------------
  |  Branch (1476:13): [True: 0, False: 5.71k]
  ------------------
 1477|      0|            break;
 1478|       |
 1479|  38.2k|        for (i = 0; i < n; i++) {
  ------------------
  |  Branch (1479:21): [True: 32.5k, False: 5.71k]
  ------------------
 1480|  32.5k|            v2 = r_object(p);
 1481|  32.5k|            if ( v2 == NULL ) {
  ------------------
  |  Branch (1481:18): [True: 0, False: 32.5k]
  ------------------
 1482|      0|                if (!PyErr_Occurred())
  ------------------
  |  Branch (1482:21): [True: 0, False: 0]
  ------------------
 1483|      0|                    PyErr_SetString(PyExc_TypeError,
 1484|      0|                        "NULL object in marshal data for tuple");
 1485|      0|                Py_SETREF(v, NULL);
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1486|      0|                break;
 1487|      0|            }
 1488|  32.5k|            PyTuple_SET_ITEM(v, i, v2);
  ------------------
  |  |   40|  32.5k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  32.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  32.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  32.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  32.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1489|  32.5k|        }
 1490|  5.71k|        retval = r_ref_insert(v, idx, flag, p);
 1491|  5.71k|        break;
 1492|       |
 1493|      0|    case TYPE_LIST:
  ------------------
  |  |   69|      0|#define TYPE_LIST               '['
  ------------------
  |  Branch (1493:5): [True: 0, False: 57.0k]
  ------------------
 1494|      0|        n = r_long(p);
 1495|      0|        if (n < 0 || n > SIZE32_MAX) {
  ------------------
  |  |  230|      0|#define SIZE32_MAX  0x7FFFFFFF
  ------------------
  |  Branch (1495:13): [True: 0, False: 0]
  |  Branch (1495:22): [True: 0, False: 0]
  ------------------
 1496|      0|            if (!PyErr_Occurred()) {
  ------------------
  |  Branch (1496:17): [True: 0, False: 0]
  ------------------
 1497|      0|                PyErr_SetString(PyExc_ValueError,
 1498|      0|                    "bad marshal data (list size out of range)");
 1499|      0|            }
 1500|      0|            break;
 1501|      0|        }
 1502|      0|        v = PyList_New(n);
 1503|      0|        R_REF(v);
  ------------------
  |  | 1259|      0|#define R_REF(O) do{\
  |  | 1260|      0|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1260:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 1261|      0|        O = r_ref(O, flag, p);\
  |  | 1262|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (1262:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1504|      0|        if (v == NULL)
  ------------------
  |  Branch (1504:13): [True: 0, False: 0]
  ------------------
 1505|      0|            break;
 1506|      0|        for (i = 0; i < n; i++) {
  ------------------
  |  Branch (1506:21): [True: 0, False: 0]
  ------------------
 1507|      0|            v2 = r_object(p);
 1508|      0|            if ( v2 == NULL ) {
  ------------------
  |  Branch (1508:18): [True: 0, False: 0]
  ------------------
 1509|      0|                if (!PyErr_Occurred())
  ------------------
  |  Branch (1509:21): [True: 0, False: 0]
  ------------------
 1510|      0|                    PyErr_SetString(PyExc_TypeError,
 1511|      0|                        "NULL object in marshal data for list");
 1512|      0|                Py_SETREF(v, NULL);
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1513|      0|                break;
 1514|      0|            }
 1515|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1516|      0|        }
 1517|      0|        retval = v;
 1518|      0|        break;
 1519|       |
 1520|      0|    case TYPE_DICT:
  ------------------
  |  |   70|      0|#define TYPE_DICT               '{'
  ------------------
  |  Branch (1520:5): [True: 0, False: 57.0k]
  ------------------
 1521|      0|    case TYPE_FROZENDICT:
  ------------------
  |  |   71|      0|#define TYPE_FROZENDICT         '}'
  ------------------
  |  Branch (1521:5): [True: 0, False: 57.0k]
  ------------------
 1522|      0|        v = PyDict_New();
 1523|      0|        if (v == NULL) {
  ------------------
  |  Branch (1523:13): [True: 0, False: 0]
  ------------------
 1524|      0|            break;
 1525|      0|        }
 1526|      0|        if (type == TYPE_DICT) {
  ------------------
  |  |   70|      0|#define TYPE_DICT               '{'
  ------------------
  |  Branch (1526:13): [True: 0, False: 0]
  ------------------
 1527|      0|            R_REF(v);
  ------------------
  |  | 1259|      0|#define R_REF(O) do{\
  |  | 1260|      0|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1260:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 1261|      0|        O = r_ref(O, flag, p);\
  |  | 1262|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (1262:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1528|      0|            if (v == NULL) {
  ------------------
  |  Branch (1528:17): [True: 0, False: 0]
  ------------------
 1529|      0|                break;
 1530|      0|            }
 1531|      0|        }
 1532|      0|        else {
 1533|      0|            idx = r_ref_reserve(flag, p);
 1534|      0|            if (idx < 0) {
  ------------------
  |  Branch (1534:17): [True: 0, False: 0]
  ------------------
 1535|      0|                Py_CLEAR(v);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1536|      0|                break;
 1537|      0|            }
 1538|      0|        }
 1539|      0|        for (;;) {
 1540|      0|            PyObject *key, *val;
 1541|      0|            key = r_object(p);
 1542|      0|            if (key == NULL)
  ------------------
  |  Branch (1542:17): [True: 0, False: 0]
  ------------------
 1543|      0|                break;
 1544|      0|            val = r_object(p);
 1545|      0|            if (val == NULL) {
  ------------------
  |  Branch (1545:17): [True: 0, False: 0]
  ------------------
 1546|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1547|      0|                break;
 1548|      0|            }
 1549|      0|            if (PyDict_SetItem(v, key, val) < 0) {
  ------------------
  |  Branch (1549:17): [True: 0, False: 0]
  ------------------
 1550|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1551|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1552|      0|                break;
 1553|      0|            }
 1554|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1555|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1556|      0|        }
 1557|      0|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (1557:13): [True: 0, False: 0]
  ------------------
 1558|      0|            Py_CLEAR(v);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1559|      0|        }
 1560|      0|        if (type == TYPE_FROZENDICT && v != NULL) {
  ------------------
  |  |   71|      0|#define TYPE_FROZENDICT         '}'
  ------------------
  |  Branch (1560:13): [True: 0, False: 0]
  |  Branch (1560:40): [True: 0, False: 0]
  ------------------
 1561|      0|            Py_SETREF(v, PyFrozenDict_New(v));
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1562|      0|            v = r_ref_insert(v, idx, flag, p);
 1563|      0|        }
 1564|      0|        retval = v;
 1565|      0|        break;
 1566|       |
 1567|      0|    case TYPE_SET:
  ------------------
  |  |   76|      0|#define TYPE_SET                '<'
  ------------------
  |  Branch (1567:5): [True: 0, False: 57.0k]
  ------------------
 1568|     13|    case TYPE_FROZENSET:
  ------------------
  |  |   77|     13|#define TYPE_FROZENSET          '>'
  ------------------
  |  Branch (1568:5): [True: 13, False: 57.0k]
  ------------------
 1569|     13|        n = r_long(p);
 1570|     13|        if (n < 0 || n > SIZE32_MAX) {
  ------------------
  |  |  230|     13|#define SIZE32_MAX  0x7FFFFFFF
  ------------------
  |  Branch (1570:13): [True: 0, False: 13]
  |  Branch (1570:22): [True: 0, False: 13]
  ------------------
 1571|      0|            if (!PyErr_Occurred()) {
  ------------------
  |  Branch (1571:17): [True: 0, False: 0]
  ------------------
 1572|      0|                PyErr_SetString(PyExc_ValueError,
 1573|      0|                    "bad marshal data (set size out of range)");
 1574|      0|            }
 1575|      0|            break;
 1576|      0|        }
 1577|       |
 1578|     13|        if (n == 0 && type == TYPE_FROZENSET) {
  ------------------
  |  |   77|      0|#define TYPE_FROZENSET          '>'
  ------------------
  |  Branch (1578:13): [True: 0, False: 13]
  |  Branch (1578:23): [True: 0, False: 0]
  ------------------
 1579|       |            /* call frozenset() to get the empty frozenset singleton */
 1580|      0|            v = _PyObject_CallNoArgs((PyObject*)&PyFrozenSet_Type);
 1581|      0|            if (v == NULL)
  ------------------
  |  Branch (1581:17): [True: 0, False: 0]
  ------------------
 1582|      0|                break;
 1583|      0|            R_REF(v);
  ------------------
  |  | 1259|      0|#define R_REF(O) do{\
  |  | 1260|      0|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1260:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 1261|      0|        O = r_ref(O, flag, p);\
  |  | 1262|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (1262:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1584|      0|            retval = v;
 1585|      0|        }
 1586|     13|        else {
 1587|     13|            v = (type == TYPE_SET) ? PySet_New(NULL) : PyFrozenSet_New(NULL);
  ------------------
  |  |   76|     13|#define TYPE_SET                '<'
  ------------------
  |  Branch (1587:17): [True: 0, False: 13]
  ------------------
 1588|     13|            if (type == TYPE_SET) {
  ------------------
  |  |   76|     13|#define TYPE_SET                '<'
  ------------------
  |  Branch (1588:17): [True: 0, False: 13]
  ------------------
 1589|      0|                R_REF(v);
  ------------------
  |  | 1259|      0|#define R_REF(O) do{\
  |  | 1260|      0|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1260:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 1261|      0|        O = r_ref(O, flag, p);\
  |  | 1262|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (1262:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1590|     13|            } else {
 1591|       |                /* must use delayed registration of frozensets because they must
 1592|       |                 * be init with a refcount of 1
 1593|       |                 */
 1594|     13|                idx = r_ref_reserve(flag, p);
 1595|     13|                if (idx < 0)
  ------------------
  |  Branch (1595:21): [True: 0, False: 13]
  ------------------
 1596|      0|                    Py_CLEAR(v); /* signal error */
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1597|     13|            }
 1598|     13|            if (v == NULL)
  ------------------
  |  Branch (1598:17): [True: 0, False: 13]
  ------------------
 1599|      0|                break;
 1600|       |
 1601|     62|            for (i = 0; i < n; i++) {
  ------------------
  |  Branch (1601:25): [True: 49, False: 13]
  ------------------
 1602|     49|                v2 = r_object(p);
 1603|     49|                if ( v2 == NULL ) {
  ------------------
  |  Branch (1603:22): [True: 0, False: 49]
  ------------------
 1604|      0|                    if (!PyErr_Occurred())
  ------------------
  |  Branch (1604:25): [True: 0, False: 0]
  ------------------
 1605|      0|                        PyErr_SetString(PyExc_TypeError,
 1606|      0|                            "NULL object in marshal data for set");
 1607|      0|                    Py_SETREF(v, NULL);
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1608|      0|                    break;
 1609|      0|                }
 1610|     49|                if (PySet_Add(v, v2) == -1) {
  ------------------
  |  Branch (1610:21): [True: 0, False: 49]
  ------------------
 1611|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1612|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1613|      0|                    v = NULL;
 1614|      0|                    break;
 1615|      0|                }
 1616|     49|                Py_DECREF(v2);
  ------------------
  |  |  430|     49|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     49|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     49|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1617|     49|            }
 1618|     13|            if (type != TYPE_SET)
  ------------------
  |  |   76|     13|#define TYPE_SET                '<'
  ------------------
  |  Branch (1618:17): [True: 13, False: 0]
  ------------------
 1619|     13|                v = r_ref_insert(v, idx, flag, p);
 1620|     13|            retval = v;
 1621|     13|        }
 1622|     13|        break;
 1623|       |
 1624|  2.39k|    case TYPE_CODE:
  ------------------
  |  |   72|  2.39k|#define TYPE_CODE               'c'
  ------------------
  |  Branch (1624:5): [True: 2.39k, False: 54.6k]
  ------------------
 1625|  2.39k|        {
 1626|  2.39k|            int argcount;
 1627|  2.39k|            int posonlyargcount;
 1628|  2.39k|            int kwonlyargcount;
 1629|  2.39k|            int stacksize;
 1630|  2.39k|            int flags;
 1631|  2.39k|            PyObject *code = NULL;
 1632|  2.39k|            PyObject *consts = NULL;
 1633|  2.39k|            PyObject *names = NULL;
 1634|  2.39k|            PyObject *localsplusnames = NULL;
 1635|  2.39k|            PyObject *localspluskinds = NULL;
 1636|  2.39k|            PyObject *filename = NULL;
 1637|  2.39k|            PyObject *name = NULL;
 1638|  2.39k|            PyObject *qualname = NULL;
 1639|  2.39k|            int firstlineno;
 1640|  2.39k|            PyObject* linetable = NULL;
 1641|  2.39k|            PyObject *exceptiontable = NULL;
 1642|       |
 1643|  2.39k|            if (!p->allow_code) {
  ------------------
  |  Branch (1643:17): [True: 0, False: 2.39k]
  ------------------
 1644|      0|                PyErr_SetString(PyExc_ValueError,
 1645|      0|                                "unmarshalling code objects is disallowed");
 1646|      0|                break;
 1647|      0|            }
 1648|  2.39k|            idx = r_ref_reserve(flag, p);
 1649|  2.39k|            if (idx < 0)
  ------------------
  |  Branch (1649:17): [True: 0, False: 2.39k]
  ------------------
 1650|      0|                break;
 1651|       |
 1652|  2.39k|            v = NULL;
 1653|       |
 1654|       |            /* XXX ignore long->int overflows for now */
 1655|  2.39k|            argcount = (int)r_long(p);
 1656|  2.39k|            if (argcount == -1 && PyErr_Occurred())
  ------------------
  |  Branch (1656:17): [True: 0, False: 2.39k]
  |  Branch (1656:35): [True: 0, False: 0]
  ------------------
 1657|      0|                goto code_error;
 1658|  2.39k|            posonlyargcount = (int)r_long(p);
 1659|  2.39k|            if (posonlyargcount == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1659:17): [True: 0, False: 2.39k]
  |  Branch (1659:42): [True: 0, False: 0]
  ------------------
 1660|      0|                goto code_error;
 1661|      0|            }
 1662|  2.39k|            kwonlyargcount = (int)r_long(p);
 1663|  2.39k|            if (kwonlyargcount == -1 && PyErr_Occurred())
  ------------------
  |  Branch (1663:17): [True: 0, False: 2.39k]
  |  Branch (1663:41): [True: 0, False: 0]
  ------------------
 1664|      0|                goto code_error;
 1665|  2.39k|            stacksize = (int)r_long(p);
 1666|  2.39k|            if (stacksize == -1 && PyErr_Occurred())
  ------------------
  |  Branch (1666:17): [True: 0, False: 2.39k]
  |  Branch (1666:36): [True: 0, False: 0]
  ------------------
 1667|      0|                goto code_error;
 1668|  2.39k|            flags = (int)r_long(p);
 1669|  2.39k|            if (flags == -1 && PyErr_Occurred())
  ------------------
  |  Branch (1669:17): [True: 0, False: 2.39k]
  |  Branch (1669:32): [True: 0, False: 0]
  ------------------
 1670|      0|                goto code_error;
 1671|  2.39k|            code = r_object(p);
 1672|  2.39k|            if (code == NULL)
  ------------------
  |  Branch (1672:17): [True: 0, False: 2.39k]
  ------------------
 1673|      0|                goto code_error;
 1674|  2.39k|            consts = r_object(p);
 1675|  2.39k|            if (consts == NULL)
  ------------------
  |  Branch (1675:17): [True: 0, False: 2.39k]
  ------------------
 1676|      0|                goto code_error;
 1677|  2.39k|            names = r_object(p);
 1678|  2.39k|            if (names == NULL)
  ------------------
  |  Branch (1678:17): [True: 0, False: 2.39k]
  ------------------
 1679|      0|                goto code_error;
 1680|  2.39k|            localsplusnames = r_object(p);
 1681|  2.39k|            if (localsplusnames == NULL)
  ------------------
  |  Branch (1681:17): [True: 0, False: 2.39k]
  ------------------
 1682|      0|                goto code_error;
 1683|  2.39k|            localspluskinds = r_object(p);
 1684|  2.39k|            if (localspluskinds == NULL)
  ------------------
  |  Branch (1684:17): [True: 0, False: 2.39k]
  ------------------
 1685|      0|                goto code_error;
 1686|  2.39k|            filename = r_object(p);
 1687|  2.39k|            if (filename == NULL)
  ------------------
  |  Branch (1687:17): [True: 0, False: 2.39k]
  ------------------
 1688|      0|                goto code_error;
 1689|  2.39k|            name = r_object(p);
 1690|  2.39k|            if (name == NULL)
  ------------------
  |  Branch (1690:17): [True: 0, False: 2.39k]
  ------------------
 1691|      0|                goto code_error;
 1692|  2.39k|            qualname = r_object(p);
 1693|  2.39k|            if (qualname == NULL)
  ------------------
  |  Branch (1693:17): [True: 0, False: 2.39k]
  ------------------
 1694|      0|                goto code_error;
 1695|  2.39k|            firstlineno = (int)r_long(p);
 1696|  2.39k|            if (firstlineno == -1 && PyErr_Occurred())
  ------------------
  |  Branch (1696:17): [True: 0, False: 2.39k]
  |  Branch (1696:38): [True: 0, False: 0]
  ------------------
 1697|      0|                goto code_error;
 1698|  2.39k|            linetable = r_object(p);
 1699|  2.39k|            if (linetable == NULL)
  ------------------
  |  Branch (1699:17): [True: 0, False: 2.39k]
  ------------------
 1700|      0|                goto code_error;
 1701|  2.39k|            exceptiontable = r_object(p);
 1702|  2.39k|            if (exceptiontable == NULL)
  ------------------
  |  Branch (1702:17): [True: 0, False: 2.39k]
  ------------------
 1703|      0|                goto code_error;
 1704|       |
 1705|  2.39k|            struct _PyCodeConstructor con = {
 1706|  2.39k|                .filename = filename,
 1707|  2.39k|                .name = name,
 1708|  2.39k|                .qualname = qualname,
 1709|  2.39k|                .flags = flags,
 1710|       |
 1711|  2.39k|                .code = code,
 1712|  2.39k|                .firstlineno = firstlineno,
 1713|  2.39k|                .linetable = linetable,
 1714|       |
 1715|  2.39k|                .consts = consts,
 1716|  2.39k|                .names = names,
 1717|       |
 1718|  2.39k|                .localsplusnames = localsplusnames,
 1719|  2.39k|                .localspluskinds = localspluskinds,
 1720|       |
 1721|  2.39k|                .argcount = argcount,
 1722|  2.39k|                .posonlyargcount = posonlyargcount,
 1723|  2.39k|                .kwonlyargcount = kwonlyargcount,
 1724|       |
 1725|  2.39k|                .stacksize = stacksize,
 1726|       |
 1727|  2.39k|                .exceptiontable = exceptiontable,
 1728|  2.39k|            };
 1729|       |
 1730|  2.39k|            if (_PyCode_Validate(&con) < 0) {
  ------------------
  |  Branch (1730:17): [True: 0, False: 2.39k]
  ------------------
 1731|      0|                goto code_error;
 1732|      0|            }
 1733|       |
 1734|  2.39k|            v = (PyObject *)_PyCode_New(&con);
 1735|  2.39k|            if (v == NULL) {
  ------------------
  |  Branch (1735:17): [True: 0, False: 2.39k]
  ------------------
 1736|      0|                goto code_error;
 1737|      0|            }
 1738|       |
 1739|  2.39k|            v = r_ref_insert(v, idx, flag, p);
 1740|       |
 1741|  2.39k|          code_error:
 1742|  2.39k|            if (v == NULL && !PyErr_Occurred()) {
  ------------------
  |  Branch (1742:17): [True: 0, False: 2.39k]
  |  Branch (1742:30): [True: 0, False: 0]
  ------------------
 1743|      0|                PyErr_SetString(PyExc_TypeError,
 1744|      0|                    "NULL object in marshal data for code object");
 1745|      0|            }
 1746|  2.39k|            Py_XDECREF(code);
  ------------------
  |  |  524|  2.39k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.39k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1747|  2.39k|            Py_XDECREF(consts);
  ------------------
  |  |  524|  2.39k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.39k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1748|  2.39k|            Py_XDECREF(names);
  ------------------
  |  |  524|  2.39k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.39k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1749|  2.39k|            Py_XDECREF(localsplusnames);
  ------------------
  |  |  524|  2.39k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.39k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1750|  2.39k|            Py_XDECREF(localspluskinds);
  ------------------
  |  |  524|  2.39k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.39k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1751|  2.39k|            Py_XDECREF(filename);
  ------------------
  |  |  524|  2.39k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.39k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1752|  2.39k|            Py_XDECREF(name);
  ------------------
  |  |  524|  2.39k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.39k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1753|  2.39k|            Py_XDECREF(qualname);
  ------------------
  |  |  524|  2.39k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.39k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1754|  2.39k|            Py_XDECREF(linetable);
  ------------------
  |  |  524|  2.39k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.39k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1755|  2.39k|            Py_XDECREF(exceptiontable);
  ------------------
  |  |  524|  2.39k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.39k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1756|  2.39k|        }
 1757|      0|        retval = v;
 1758|  2.39k|        break;
 1759|       |
 1760|  25.7k|    case TYPE_REF:
  ------------------
  |  |   99|  25.7k|#define TYPE_REF                'r'
  ------------------
  |  Branch (1760:5): [True: 25.7k, False: 31.2k]
  ------------------
 1761|  25.7k|        n = r_long(p);
 1762|  25.7k|        if (n < 0 || n >= PyList_GET_SIZE(p->refs)) {
  ------------------
  |  |   38|  25.7k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  25.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  25.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1762:13): [True: 0, False: 25.7k]
  |  Branch (1762:22): [True: 0, False: 25.7k]
  ------------------
 1763|      0|            if (!PyErr_Occurred()) {
  ------------------
  |  Branch (1763:17): [True: 0, False: 0]
  ------------------
 1764|      0|                PyErr_SetString(PyExc_ValueError,
 1765|      0|                    "bad marshal data (invalid reference)");
 1766|      0|            }
 1767|      0|            break;
 1768|      0|        }
 1769|  25.7k|        v = PyList_GET_ITEM(p->refs, n);
  ------------------
  |  |   40|  25.7k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|  25.7k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  25.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1769:13): [True: 25.7k, False: 0]
  ------------------
 1770|  25.7k|        if (v == Py_None) {
  ------------------
  |  |  616|  25.7k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1770:13): [True: 0, False: 25.7k]
  ------------------
 1771|      0|            PyErr_SetString(PyExc_ValueError, "bad marshal data (invalid reference)");
 1772|      0|            break;
 1773|      0|        }
 1774|  25.7k|        retval = Py_NewRef(v);
  ------------------
  |  |  550|  25.7k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  25.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  25.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1775|  25.7k|        break;
 1776|       |
 1777|    123|    case TYPE_SLICE:
  ------------------
  |  |   79|    123|#define TYPE_SLICE              ':'
  ------------------
  |  Branch (1777:5): [True: 123, False: 56.9k]
  ------------------
 1778|    123|    {
 1779|    123|        Py_ssize_t idx = r_ref_reserve(flag, p);
 1780|    123|        if (idx < 0) {
  ------------------
  |  Branch (1780:13): [True: 0, False: 123]
  ------------------
 1781|      0|            break;
 1782|      0|        }
 1783|    123|        PyObject *stop = NULL;
 1784|    123|        PyObject *step = NULL;
 1785|    123|        PyObject *start = r_object(p);
 1786|    123|        if (start == NULL) {
  ------------------
  |  Branch (1786:13): [True: 0, False: 123]
  ------------------
 1787|      0|            goto cleanup;
 1788|      0|        }
 1789|    123|        stop = r_object(p);
 1790|    123|        if (stop == NULL) {
  ------------------
  |  Branch (1790:13): [True: 0, False: 123]
  ------------------
 1791|      0|            goto cleanup;
 1792|      0|        }
 1793|    123|        step = r_object(p);
 1794|    123|        if (step == NULL) {
  ------------------
  |  Branch (1794:13): [True: 0, False: 123]
  ------------------
 1795|      0|            goto cleanup;
 1796|      0|        }
 1797|    123|        retval = PySlice_New(start, stop, step);
 1798|    123|        r_ref_insert(retval, idx, flag, p);
 1799|    123|    cleanup:
 1800|    123|        Py_XDECREF(start);
  ------------------
  |  |  524|    123|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    123|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    123|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1801|    123|        Py_XDECREF(stop);
  ------------------
  |  |  524|    123|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    123|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    123|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1802|    123|        Py_XDECREF(step);
  ------------------
  |  |  524|    123|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    123|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    123|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1803|    123|        break;
 1804|    123|    }
 1805|       |
 1806|      0|    default:
  ------------------
  |  Branch (1806:5): [True: 0, False: 57.0k]
  ------------------
 1807|       |        /* Bogus data got written, which isn't ideal.
 1808|       |           This will let you keep working and recover. */
 1809|      0|        PyErr_SetString(PyExc_ValueError, "bad marshal data (unknown type code)");
 1810|      0|        break;
 1811|       |
 1812|  57.0k|    }
 1813|  57.0k|    p->depth--;
 1814|  57.0k|    return retval;
 1815|  57.0k|}
marshal.c:r_byte:
  957|  77.1k|{
  958|  77.1k|    if (p->ptr != NULL) {
  ------------------
  |  Branch (958:9): [True: 77.1k, False: 0]
  ------------------
  959|  77.1k|        if (p->ptr < p->end) {
  ------------------
  |  Branch (959:13): [True: 77.1k, False: 0]
  ------------------
  960|  77.1k|            return (unsigned char) *p->ptr++;
  961|  77.1k|        }
  962|  77.1k|    }
  963|      0|    else if (!p->readable) {
  ------------------
  |  Branch (963:14): [True: 0, False: 0]
  ------------------
  964|      0|        assert(p->fp);
  ------------------
  |  Branch (964:9): [True: 0, False: 0]
  ------------------
  965|      0|        int c = getc(p->fp);
  966|      0|        if (c != EOF) {
  ------------------
  |  Branch (966:13): [True: 0, False: 0]
  ------------------
  967|      0|            return c;
  968|      0|        }
  969|      0|        int saved_errno = errno;
  970|      0|        if (PyErr_CheckSignals()) {
  ------------------
  |  Branch (970:13): [True: 0, False: 0]
  ------------------
  971|      0|            return EOF;
  972|      0|        }
  973|      0|        if (ferror(p->fp)) {
  ------------------
  |  Branch (973:13): [True: 0, False: 0]
  ------------------
  974|      0|            errno = saved_errno;
  975|      0|            PyErr_SetFromErrno(PyExc_OSError);
  976|      0|            return EOF;
  977|      0|        }
  978|      0|    }
  979|      0|    else {
  980|      0|        const char *ptr = r_string(1, p);
  981|      0|        if (ptr != NULL) {
  ------------------
  |  Branch (981:13): [True: 0, False: 0]
  ------------------
  982|      0|            return *(const unsigned char *) ptr;
  983|      0|        }
  984|      0|        return EOF;
  985|      0|    }
  986|      0|    PyErr_SetString(PyExc_EOFError,
  987|      0|                    "EOF read where not expected");
  988|       |    return EOF;
  989|  77.1k|}
marshal.c:r_ref:
 1217|  15.4k|{
 1218|  15.4k|    assert(flag & FLAG_REF);
  ------------------
  |  Branch (1218:5): [True: 15.4k, False: 0]
  ------------------
 1219|  15.4k|    if (o == NULL)
  ------------------
  |  Branch (1219:9): [True: 0, False: 15.4k]
  ------------------
 1220|      0|        return NULL;
 1221|  15.4k|    if (PyList_Append(p->refs, o) < 0) {
  ------------------
  |  Branch (1221:9): [True: 0, False: 15.4k]
  ------------------
 1222|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1223|      0|        return NULL;
 1224|      0|    }
 1225|  15.4k|    return o;
 1226|  15.4k|}
marshal.c:r_PyLong:
 1094|      9|{
 1095|      9|    long n = r_long(p);
 1096|      9|    if (n == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1096:9): [True: 0, False: 9]
  |  Branch (1096:20): [True: 0, False: 0]
  ------------------
 1097|      0|        return NULL;
 1098|      0|    }
 1099|      9|    if (n < -SIZE32_MAX || n > SIZE32_MAX) {
  ------------------
  |  |  230|     18|#define SIZE32_MAX  0x7FFFFFFF
  ------------------
                  if (n < -SIZE32_MAX || n > SIZE32_MAX) {
  ------------------
  |  |  230|      9|#define SIZE32_MAX  0x7FFFFFFF
  ------------------
  |  Branch (1099:9): [True: 0, False: 9]
  |  Branch (1099:28): [True: 0, False: 9]
  ------------------
 1100|      0|        PyErr_SetString(PyExc_ValueError,
 1101|      0|                       "bad marshal data (long size out of range)");
 1102|      0|        return NULL;
 1103|      0|    }
 1104|       |
 1105|      9|    const PyLongLayout *layout = PyLong_GetNativeLayout();
 1106|      9|    Py_ssize_t marshal_ratio = layout->bits_per_digit/PyLong_MARSHAL_SHIFT;
  ------------------
  |  |  265|      9|#define PyLong_MARSHAL_SHIFT 15
  ------------------
 1107|       |
 1108|       |    /* must be a multiple of PyLong_MARSHAL_SHIFT */
 1109|      9|    assert(layout->bits_per_digit % PyLong_MARSHAL_SHIFT == 0);
  ------------------
  |  Branch (1109:5): [True: 9, False: 0]
  ------------------
 1110|      9|    assert(layout->bits_per_digit >= PyLong_MARSHAL_SHIFT);
  ------------------
  |  Branch (1110:5): [True: 9, False: 0]
  ------------------
 1111|       |
 1112|       |    /* other assumptions on PyLongObject internals */
 1113|      9|    assert(layout->bits_per_digit <= 32);
  ------------------
  |  Branch (1113:5): [True: 9, False: 0]
  ------------------
 1114|      9|    assert(layout->digits_order == -1);
  ------------------
  |  Branch (1114:5): [True: 9, False: 0]
  ------------------
 1115|      9|    assert(layout->digit_endianness == (PY_LITTLE_ENDIAN ? -1 : 1));
  ------------------
  |  Branch (1115:5): [True: 9, Folded]
  |  Branch (1115:5): [True: 9, False: 0]
  ------------------
 1116|      9|    assert(layout->digit_size == 2 || layout->digit_size == 4);
  ------------------
  |  Branch (1116:5): [True: 0, False: 9]
  |  Branch (1116:5): [True: 9, False: 0]
  ------------------
 1117|       |
 1118|      9|    Py_ssize_t size = 1 + (Py_ABS(n) - 1) / marshal_ratio;
  ------------------
  |  |  132|      9|       __extension__ \
  |  |  133|      9|       ({ _Py_TYPEOF (x) _x = (x); \
  |  |  ------------------
  |  |  |  |  552|      9|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  134|      9|          _x < 0 ? -_x : _x; })
  |  |  ------------------
  |  |  |  Branch (134:11): [True: 0, False: 9]
  |  |  ------------------
  ------------------
 1119|       |
 1120|      9|    assert(size >= 1);
  ------------------
  |  Branch (1120:5): [True: 9, False: 0]
  ------------------
 1121|       |
 1122|      9|    int shorts_in_top_digit = 1 + (Py_ABS(n) - 1) % marshal_ratio;
  ------------------
  |  |  132|      9|       __extension__ \
  |  |  133|      9|       ({ _Py_TYPEOF (x) _x = (x); \
  |  |  ------------------
  |  |  |  |  552|      9|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  134|      9|          _x < 0 ? -_x : _x; })
  |  |  ------------------
  |  |  |  Branch (134:11): [True: 0, False: 9]
  |  |  ------------------
  ------------------
 1123|      9|    void *digits;
 1124|      9|    PyLongWriter *writer = PyLongWriter_Create(n < 0, size, &digits);
 1125|       |
 1126|      9|    if (writer == NULL) {
  ------------------
  |  Branch (1126:9): [True: 0, False: 9]
  ------------------
 1127|      0|        return NULL;
 1128|      0|    }
 1129|       |
 1130|      9|    int ret;
 1131|       |
 1132|      9|    if (layout->digit_size == 4) {
  ------------------
  |  Branch (1132:9): [True: 9, False: 0]
  ------------------
 1133|      9|        ret = _w_digits32(digits, size, marshal_ratio, shorts_in_top_digit, p);
 1134|      9|    }
 1135|      0|    else {
 1136|      0|        ret = _w_digits16(digits, size, marshal_ratio, shorts_in_top_digit, p);
 1137|      0|    }
 1138|      9|    if (ret < 0) {
  ------------------
  |  Branch (1138:9): [True: 0, False: 9]
  ------------------
 1139|      0|        PyLongWriter_Discard(writer);
 1140|      0|        return NULL;
 1141|      0|    }
 1142|      9|    return PyLongWriter_Finish(writer);
 1143|      9|}
marshal.c:r_ref_reserve:
 1178|  8.24k|{
 1179|  8.24k|    if (flag) { /* currently only FLAG_REF is defined */
  ------------------
  |  Branch (1179:9): [True: 651, False: 7.59k]
  ------------------
 1180|    651|        Py_ssize_t idx = PyList_GET_SIZE(p->refs);
  ------------------
  |  |   38|    651|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    651|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    651|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1181|    651|        if (idx >= 0x7ffffffe) {
  ------------------
  |  Branch (1181:13): [True: 0, False: 651]
  ------------------
 1182|      0|            PyErr_SetString(PyExc_ValueError, "bad marshal data (index list too large)");
 1183|      0|            return -1;
 1184|      0|        }
 1185|    651|        if (PyList_Append(p->refs, Py_None) < 0)
  ------------------
  |  |  616|    651|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1185:13): [True: 0, False: 651]
  ------------------
 1186|      0|            return -1;
 1187|    651|        return idx;
 1188|    651|    } else
 1189|  7.59k|        return 0;
 1190|  8.24k|}
marshal.c:r_ref_insert:
 1202|  8.24k|{
 1203|  8.24k|    if (o != NULL && flag) { /* currently only FLAG_REF is defined */
  ------------------
  |  Branch (1203:9): [True: 8.24k, False: 0]
  |  Branch (1203:22): [True: 651, False: 7.59k]
  ------------------
 1204|    651|        PyObject *tmp = PyList_GET_ITEM(p->refs, idx);
  ------------------
  |  |   40|    651|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|    651|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    651|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1204:25): [True: 651, False: 0]
  ------------------
 1205|    651|        PyList_SET_ITEM(p->refs, idx, Py_NewRef(o));
  ------------------
  |  |   50|    651|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    651|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    651|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    651|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    651|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1206|    651|        Py_DECREF(tmp);
  ------------------
  |  |  430|    651|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    651|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    651|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1207|    651|    }
 1208|  8.24k|    return o;
 1209|  8.24k|}
marshal.c:marshal_loads_impl:
 2158|     27|{
 2159|     27|    RFILE rf;
 2160|     27|    char *s = bytes->buf;
 2161|     27|    Py_ssize_t n = bytes->len;
 2162|     27|    PyObject* result;
 2163|     27|    rf.allow_code = allow_code;
 2164|     27|    rf.fp = NULL;
 2165|     27|    rf.readable = NULL;
 2166|     27|    rf.ptr = s;
 2167|     27|    rf.end = s + n;
 2168|     27|    rf.depth = 0;
 2169|     27|    if ((rf.refs = PyList_New(0)) == NULL)
  ------------------
  |  Branch (2169:9): [True: 0, False: 27]
  ------------------
 2170|      0|        return NULL;
 2171|     27|    result = read_object(&rf);
 2172|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2173|     27|    return result;
 2174|     27|}
marshal.c:marshal_module_exec:
 2217|      2|{
 2218|      2|    if (PyModule_AddIntConstant(mod, "version", Py_MARSHAL_VERSION) < 0) {
  ------------------
  |  |    9|      2|#define Py_MARSHAL_VERSION 6
  ------------------
  |  Branch (2218:9): [True: 0, False: 2]
  ------------------
 2219|      0|        return -1;
 2220|      0|    }
 2221|      2|    return 0;
 2222|      2|}

Py_BuildValue:
  497|    106|{
  498|    106|    va_list va;
  499|    106|    PyObject* retval;
  500|    106|    va_start(va, format);
  501|    106|    retval = va_build_value(format, va);
  502|       |    va_end(va);
  503|    106|    return retval;
  504|    106|}
_Py_VaBuildStack:
  555|    334|{
  556|    334|    const char *f;
  557|    334|    Py_ssize_t n;
  558|    334|    va_list lva;
  559|    334|    PyObject **stack;
  560|    334|    int res;
  561|       |
  562|    334|    n = countformat(format, '\0');
  563|    334|    if (n < 0) {
  ------------------
  |  Branch (563:9): [True: 0, False: 334]
  ------------------
  564|      0|        *p_nargs = 0;
  565|      0|        return NULL;
  566|      0|    }
  567|       |
  568|    334|    if (n == 0) {
  ------------------
  |  Branch (568:9): [True: 0, False: 334]
  ------------------
  569|      0|        *p_nargs = 0;
  570|      0|        return small_stack;
  571|      0|    }
  572|       |
  573|    334|    if (n <= small_stack_len) {
  ------------------
  |  Branch (573:9): [True: 322, False: 12]
  ------------------
  574|    322|        stack = small_stack;
  575|    322|    }
  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|    334|    va_copy(lva, va);
  585|    334|    f = format;
  586|    334|    res = do_mkstack(stack, &f, &lva, '\0', n);
  587|    334|    va_end(lva);
  588|       |
  589|    334|    if (res < 0) {
  ------------------
  |  Branch (589:9): [True: 0, False: 334]
  ------------------
  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|    334|    *p_nargs = n;
  597|    334|    return stack;
  598|    334|}
PyModule_AddObjectRef:
  603|    793|{
  604|    793|    if (!PyModule_Check(mod)) {
  ------------------
  |  |   12|    793|#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  378|    793|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    793|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    793|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (604:9): [True: 0, False: 793]
  ------------------
  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|    793|    if (!value) {
  ------------------
  |  Branch (610:9): [True: 0, False: 793]
  ------------------
  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|    793|    PyObject *dict = PyModule_GetDict(mod);
  620|    793|    if (dict == NULL) {
  ------------------
  |  Branch (620:9): [True: 0, False: 793]
  ------------------
  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|    793|    return PyDict_SetItemString(dict, name, value);
  627|    793|}
PyModule_Add:
  631|    520|{
  632|    520|    int res = PyModule_AddObjectRef(mod, name, value);
  633|    520|    Py_XDECREF(value);
  ------------------
  |  |  524|    520|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    520|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    520|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|    520|    return res;
  635|    520|}
PyModule_AddIntConstant:
  649|    496|{
  650|    496|    return PyModule_Add(m, name, PyLong_FromLong(value));
  651|    496|}
PyModule_AddStringConstant:
  655|      2|{
  656|      2|    return PyModule_Add(m, name, PyUnicode_FromString(value));
  657|      2|}
PyModule_AddType:
  661|     77|{
  662|     77|    if (!_PyType_IsReady(type) && PyType_Ready(type) < 0) {
  ------------------
  |  Branch (662:9): [True: 0, False: 77]
  |  Branch (662:35): [True: 0, False: 0]
  ------------------
  663|      0|        return -1;
  664|      0|    }
  665|       |
  666|     77|    const char *name = _PyType_Name(type);
  667|     77|    assert(name != NULL);
  ------------------
  |  Branch (667:5): [True: 77, False: 0]
  ------------------
  668|       |
  669|     77|    return PyModule_AddObjectRef(module, name, (PyObject *)type);
  670|     77|}
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)) {
  ------------------
  |  |  315|      0|#define Py_PACK_VERSION _Py_PACK_VERSION
  |  |  ------------------
  |  |  |  |  310|      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|       |#if Py_GIL_DISABLED
  771|       |    if (gilflags == PyABIInfo_GIL) {
  772|       |        return _abiinfo_raise(module_name,
  773|       |                              "incompatible with free-threaded CPython");
  774|       |    }
  775|       |#else
  776|     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|    106|{
  532|    106|    const char *f = format;
  533|    106|    Py_ssize_t n = countformat(f, '\0');
  534|    106|    va_list lva;
  535|    106|    PyObject *retval;
  536|       |
  537|    106|    if (n < 0)
  ------------------
  |  Branch (537:9): [True: 0, False: 106]
  ------------------
  538|      0|        return NULL;
  539|    106|    if (n == 0) {
  ------------------
  |  Branch (539:9): [True: 0, False: 106]
  ------------------
  540|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  541|      0|    }
  542|    106|    va_copy(lva, va);
  543|    106|    if (n == 1) {
  ------------------
  |  Branch (543:9): [True: 106, False: 0]
  ------------------
  544|    106|        retval = do_mkvalue(&f, &lva);
  545|    106|    } else {
  546|      0|        retval = do_mktuple(&f, &lva, '\0', n);
  547|      0|    }
  548|       |    va_end(lva);
  549|    106|    return retval;
  550|    106|}
modsupport.c:do_mkvalue:
  287|  2.86k|{
  288|  2.86k|    for (;;) {
  289|  2.86k|        switch (*(*p_format)++) {
  290|    251|        case '(':
  ------------------
  |  Branch (290:9): [True: 251, False: 2.60k]
  ------------------
  291|    251|            return do_mktuple(p_format, p_va, ')',
  292|    251|                              countformat(*p_format, ')'));
  293|       |
  294|      0|        case '[':
  ------------------
  |  Branch (294:9): [True: 0, False: 2.86k]
  ------------------
  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.73k]
  ------------------
  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: 2.86k]
  ------------------
  303|      0|        case 'B':
  ------------------
  |  Branch (303:9): [True: 0, False: 2.86k]
  ------------------
  304|      0|        case 'h':
  ------------------
  |  Branch (304:9): [True: 0, False: 2.86k]
  ------------------
  305|    283|        case 'i':
  ------------------
  |  Branch (305:9): [True: 283, False: 2.57k]
  ------------------
  306|    283|            return PyLong_FromLong((long)va_arg(*p_va, int));
  307|       |
  308|      0|        case 'H':
  ------------------
  |  Branch (308:9): [True: 0, False: 2.86k]
  ------------------
  309|      0|            return PyLong_FromLong((long)va_arg(*p_va, unsigned int));
  310|       |
  311|      0|        case 'I':
  ------------------
  |  Branch (311:9): [True: 0, False: 2.86k]
  ------------------
  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|     74|        case 'n':
  ------------------
  |  Branch (318:9): [True: 74, False: 2.78k]
  ------------------
  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|     74|            _Py_FALLTHROUGH;
  ------------------
  |  |  650|     74|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  324|     74|        case 'l':
  ------------------
  |  Branch (324:9): [True: 0, False: 2.86k]
  ------------------
  325|     74|            return PyLong_FromLong(va_arg(*p_va, long));
  326|       |
  327|      0|        case 'k':
  ------------------
  |  Branch (327:9): [True: 0, False: 2.86k]
  ------------------
  328|      0|        {
  329|      0|            unsigned long n;
  330|      0|            n = va_arg(*p_va, unsigned long);
  331|      0|            return PyLong_FromUnsignedLong(n);
  332|     74|        }
  333|       |
  334|      0|        case 'L':
  ------------------
  |  Branch (334:9): [True: 0, False: 2.86k]
  ------------------
  335|      0|            return PyLong_FromLongLong((long long)va_arg(*p_va, long long));
  336|       |
  337|      0|        case 'K':
  ------------------
  |  Branch (337:9): [True: 0, False: 2.86k]
  ------------------
  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: 2.86k]
  ------------------
  342|      0|        {
  343|      0|            PyObject *v;
  344|      0|            const wchar_t *u = va_arg(*p_va, wchar_t*);
  345|      0|            Py_ssize_t n;
  346|      0|            if (**p_format == '#') {
  ------------------
  |  Branch (346:17): [True: 0, False: 0]
  ------------------
  347|      0|                ++*p_format;
  348|      0|                n = va_arg(*p_va, Py_ssize_t);
  349|      0|            }
  350|      0|            else
  351|      0|                n = -1;
  352|      0|            if (u == NULL) {
  ------------------
  |  Branch (352:17): [True: 0, False: 0]
  ------------------
  353|      0|                v = Py_NewRef(Py_None);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  354|      0|            }
  355|      0|            else {
  356|      0|                if (n < 0)
  ------------------
  |  Branch (356:21): [True: 0, False: 0]
  ------------------
  357|      0|                    n = wcslen(u);
  358|      0|                v = PyUnicode_FromWideChar(u, n);
  359|      0|            }
  360|      0|            return v;
  361|     74|        }
  362|      0|        case 'f':
  ------------------
  |  Branch (362:9): [True: 0, False: 2.86k]
  ------------------
  363|      0|        case 'd':
  ------------------
  |  Branch (363:9): [True: 0, False: 2.86k]
  ------------------
  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: 2.86k]
  ------------------
  368|      0|            return PyComplex_FromCComplex(
  369|      0|                *((Py_complex *)va_arg(*p_va, Py_complex *)));
  370|       |
  371|      2|        case 'c':
  ------------------
  |  Branch (371:9): [True: 2, False: 2.85k]
  ------------------
  372|      2|        {
  373|      2|            char p[1];
  374|      2|            p[0] = (char)va_arg(*p_va, int);
  375|      2|            return PyBytes_FromStringAndSize(p, 1);
  376|      0|        }
  377|      0|        case 'C':
  ------------------
  |  Branch (377:9): [True: 0, False: 2.86k]
  ------------------
  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: 2.86k]
  ------------------
  383|      0|        {
  384|      0|            int i = va_arg(*p_va, int);
  385|      0|            return PyBool_FromLong(i);
  386|      0|        }
  387|       |
  388|    360|        case 's':
  ------------------
  |  Branch (388:9): [True: 360, False: 2.50k]
  ------------------
  389|    368|        case 'z':
  ------------------
  |  Branch (389:9): [True: 8, False: 2.85k]
  ------------------
  390|    368|        case 'U':   /* XXX deprecated alias */
  ------------------
  |  Branch (390:9): [True: 0, False: 2.86k]
  ------------------
  391|    368|        {
  392|    368|            PyObject *v;
  393|    368|            const char *str = va_arg(*p_va, const char *);
  394|    368|            Py_ssize_t n;
  395|    368|            if (**p_format == '#') {
  ------------------
  |  Branch (395:17): [True: 0, False: 368]
  ------------------
  396|      0|                ++*p_format;
  397|      0|                n = va_arg(*p_va, Py_ssize_t);
  398|      0|            }
  399|    368|            else
  400|    368|                n = -1;
  401|    368|            if (str == NULL) {
  ------------------
  |  Branch (401:17): [True: 0, False: 368]
  ------------------
  402|      0|                v = Py_NewRef(Py_None);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  403|      0|            }
  404|    368|            else {
  405|    368|                if (n < 0) {
  ------------------
  |  Branch (405:21): [True: 368, False: 0]
  ------------------
  406|    368|                    size_t m = strlen(str);
  407|    368|                    if (m > PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|    368|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (407:25): [True: 0, False: 368]
  ------------------
  408|      0|                        PyErr_SetString(PyExc_OverflowError,
  409|      0|                            "string too long for Python string");
  410|      0|                        return NULL;
  411|      0|                    }
  412|    368|                    n = (Py_ssize_t)m;
  413|    368|                }
  414|    368|                v = PyUnicode_FromStringAndSize(str, n);
  415|    368|            }
  416|    368|            return v;
  417|    368|        }
  418|       |
  419|      7|        case 'y':
  ------------------
  |  Branch (419:9): [True: 7, False: 2.85k]
  ------------------
  420|      7|        {
  421|      7|            PyObject *v;
  422|      7|            const char *str = va_arg(*p_va, const char *);
  423|      7|            Py_ssize_t n;
  424|      7|            if (**p_format == '#') {
  ------------------
  |  Branch (424:17): [True: 7, False: 0]
  ------------------
  425|      7|                ++*p_format;
  426|      7|                n = va_arg(*p_va, Py_ssize_t);
  427|      7|            }
  428|      0|            else
  429|      0|                n = -1;
  430|      7|            if (str == NULL) {
  ------------------
  |  Branch (430:17): [True: 0, False: 7]
  ------------------
  431|      0|                v = Py_NewRef(Py_None);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  432|      0|            }
  433|      7|            else {
  434|      7|                if (n < 0) {
  ------------------
  |  Branch (434:21): [True: 0, False: 7]
  ------------------
  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|      7|                v = PyBytes_FromStringAndSize(str, n);
  444|      7|            }
  445|      7|            return v;
  446|      7|        }
  447|       |
  448|     54|        case 'N':
  ------------------
  |  Branch (448:9): [True: 54, False: 2.80k]
  ------------------
  449|     54|        case 'S':
  ------------------
  |  Branch (449:9): [True: 0, False: 2.86k]
  ------------------
  450|  1.74k|        case 'O':
  ------------------
  |  Branch (450:9): [True: 1.69k, False: 1.16k]
  ------------------
  451|  1.74k|        if (**p_format == '&') {
  ------------------
  |  Branch (451:13): [True: 0, False: 1.74k]
  ------------------
  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.74k|        else {
  459|  1.74k|            PyObject *v;
  460|  1.74k|            v = va_arg(*p_va, PyObject *);
  461|  1.74k|            if (v != NULL) {
  ------------------
  |  Branch (461:17): [True: 1.74k, False: 0]
  ------------------
  462|  1.74k|                if (*(*p_format - 1) != 'N')
  ------------------
  |  Branch (462:21): [True: 1.69k, False: 54]
  ------------------
  463|  1.69k|                    Py_INCREF(v);
  ------------------
  |  |  310|  1.69k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.69k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.69k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  464|  1.74k|            }
  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.74k|            return v;
  477|  1.74k|        }
  478|       |
  479|      0|        case ':':
  ------------------
  |  Branch (479:9): [True: 0, False: 2.86k]
  ------------------
  480|      0|        case ',':
  ------------------
  |  Branch (480:9): [True: 0, False: 2.86k]
  ------------------
  481|      0|        case ' ':
  ------------------
  |  Branch (481:9): [True: 0, False: 2.86k]
  ------------------
  482|      0|        case '\t':
  ------------------
  |  Branch (482:9): [True: 0, False: 2.86k]
  ------------------
  483|      0|            break;
  484|       |
  485|      0|        default:
  ------------------
  |  Branch (485:9): [True: 0, False: 2.86k]
  ------------------
  486|      0|            PyErr_SetString(PyExc_SystemError,
  487|      0|                "bad format char passed to Py_BuildValue");
  488|      0|            return NULL;
  489|       |
  490|  2.86k|        }
  491|  2.86k|    }
  492|  2.86k|}
modsupport.c:check_end:
  107|    714|{
  108|    714|    const char *f = *p_format;
  109|    714|    while (*f != endchar) {
  ------------------
  |  Branch (109:12): [True: 0, False: 714]
  ------------------
  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|    714|    if (endchar) {
  ------------------
  |  Branch (117:9): [True: 380, False: 334]
  ------------------
  118|    380|        f++;
  119|    380|    }
  120|    714|    *p_format = f;
  121|    714|    return 1;
  122|    714|}
modsupport.c:do_mkdict:
  150|    129|{
  151|    129|    PyObject *d;
  152|    129|    Py_ssize_t i;
  153|    129|    if (n < 0)
  ------------------
  |  Branch (153:9): [True: 0, False: 129]
  ------------------
  154|      0|        return NULL;
  155|    129|    if (n % 2) {
  ------------------
  |  Branch (155:9): [True: 0, False: 129]
  ------------------
  156|      0|        PyErr_SetString(PyExc_SystemError,
  157|      0|                        "Bad dict format");
  158|      0|        do_ignore(p_format, p_va, endchar, n);
  159|      0|        return NULL;
  160|      0|    }
  161|       |    /* Note that we can't bail immediately on error as this will leak
  162|       |       refcounts on any 'N' arguments. */
  163|    129|    if ((d = PyDict_New()) == NULL) {
  ------------------
  |  Branch (163:9): [True: 0, False: 129]
  ------------------
  164|      0|        do_ignore(p_format, p_va, endchar, n);
  165|      0|        return NULL;
  166|      0|    }
  167|    631|    for (i = 0; i < n; i+= 2) {
  ------------------
  |  Branch (167:17): [True: 502, False: 129]
  ------------------
  168|    502|        PyObject *k, *v;
  169|       |
  170|    502|        k = do_mkvalue(p_format, p_va);
  171|    502|        if (k == NULL) {
  ------------------
  |  Branch (171:13): [True: 0, False: 502]
  ------------------
  172|      0|            do_ignore(p_format, p_va, endchar, n - i - 1);
  173|      0|            Py_DECREF(d);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  174|      0|            return NULL;
  175|      0|        }
  176|    502|        v = do_mkvalue(p_format, p_va);
  177|    502|        if (v == NULL || PyDict_SetItem(d, k, v) < 0) {
  ------------------
  |  Branch (177:13): [True: 0, False: 502]
  |  Branch (177:26): [True: 0, False: 502]
  ------------------
  178|      0|            do_ignore(p_format, p_va, endchar, n - i - 2);
  179|      0|            Py_DECREF(k);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  180|      0|            Py_XDECREF(v);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  181|      0|            Py_DECREF(d);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  182|      0|            return NULL;
  183|      0|        }
  184|    502|        Py_DECREF(k);
  ------------------
  |  |  430|    502|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    502|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    502|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  185|    502|        Py_DECREF(v);
  ------------------
  |  |  430|    502|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    502|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    502|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  186|    502|    }
  187|    129|    if (!check_end(p_format, endchar)) {
  ------------------
  |  Branch (187:9): [True: 0, False: 129]
  ------------------
  188|      0|        Py_DECREF(d);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  189|      0|        return NULL;
  190|      0|    }
  191|    129|    return d;
  192|    129|}
modsupport.c:do_mktuple:
  258|    251|{
  259|    251|    PyObject *v;
  260|    251|    Py_ssize_t i;
  261|    251|    if (n < 0)
  ------------------
  |  Branch (261:9): [True: 0, False: 251]
  ------------------
  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|    251|    if ((v = PyTuple_New(n)) == NULL) {
  ------------------
  |  Branch (265:9): [True: 0, False: 251]
  ------------------
  266|      0|        do_ignore(p_format, p_va, endchar, n);
  267|      0|        return NULL;
  268|      0|    }
  269|    829|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (269:17): [True: 578, False: 251]
  ------------------
  270|    578|        PyObject *w = do_mkvalue(p_format, p_va);
  271|    578|        if (w == NULL) {
  ------------------
  |  Branch (271:13): [True: 0, False: 578]
  ------------------
  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|    578|        PyTuple_SET_ITEM(v, i, w);
  ------------------
  |  |   40|    578|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    578|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    578|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    578|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    578|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  277|    578|    }
  278|    251|    if (!check_end(p_format, endchar)) {
  ------------------
  |  Branch (278:9): [True: 0, False: 251]
  ------------------
  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|    251|    return v;
  283|    251|}
modsupport.c:countformat:
   55|    820|{
   56|    820|    Py_ssize_t count = 0;
   57|    820|    int level = 0;
   58|  5.77k|    while (level > 0 || *format != endchar) {
  ------------------
  |  Branch (58:12): [True: 2.08k, False: 3.68k]
  |  Branch (58:25): [True: 2.86k, False: 820]
  ------------------
   59|  4.95k|        switch (*format) {
   60|      0|        case '\0':
  ------------------
  |  Branch (60:9): [True: 0, False: 4.95k]
  ------------------
   61|       |            /* Premature end */
   62|      0|            PyErr_SetString(PyExc_SystemError,
   63|      0|                            "unmatched paren in format");
   64|      0|            return -1;
   65|    269|        case '(':
  ------------------
  |  Branch (65:9): [True: 269, False: 4.68k]
  ------------------
   66|    269|        case '[':
  ------------------
  |  Branch (66:9): [True: 0, False: 4.95k]
  ------------------
   67|    398|        case '{':
  ------------------
  |  Branch (67:9): [True: 129, False: 4.82k]
  ------------------
   68|    398|            if (level == 0) {
  ------------------
  |  Branch (68:17): [True: 380, False: 18]
  ------------------
   69|    380|                count++;
   70|    380|            }
   71|    398|            level++;
   72|    398|            break;
   73|    269|        case ')':
  ------------------
  |  Branch (73:9): [True: 269, False: 4.68k]
  ------------------
   74|    269|        case ']':
  ------------------
  |  Branch (74:9): [True: 0, False: 4.95k]
  ------------------
   75|    398|        case '}':
  ------------------
  |  Branch (75:9): [True: 129, False: 4.82k]
  ------------------
   76|    398|            level--;
   77|    398|            break;
   78|      7|        case '#':
  ------------------
  |  Branch (78:9): [True: 7, False: 4.94k]
  ------------------
   79|      7|        case '&':
  ------------------
  |  Branch (79:9): [True: 0, False: 4.95k]
  ------------------
   80|      7|        case ',':
  ------------------
  |  Branch (80:9): [True: 0, False: 4.95k]
  ------------------
   81|      7|        case ':':
  ------------------
  |  Branch (81:9): [True: 0, False: 4.95k]
  ------------------
   82|      7|        case ' ':
  ------------------
  |  Branch (82:9): [True: 0, False: 4.95k]
  ------------------
   83|      7|        case '\t':
  ------------------
  |  Branch (83:9): [True: 0, False: 4.95k]
  ------------------
   84|      7|            break;
   85|  4.15k|        default:
  ------------------
  |  Branch (85:9): [True: 4.15k, False: 803]
  ------------------
   86|  4.15k|            if (level == 0) {
  ------------------
  |  Branch (86:17): [True: 2.48k, False: 1.67k]
  ------------------
   87|  2.48k|                count++;
   88|  2.48k|            }
   89|  4.95k|        }
   90|  4.95k|        format++;
   91|  4.95k|    }
   92|    820|    return count;
   93|    820|}
modsupport.c:do_mkstack:
  227|    334|{
  228|    334|    Py_ssize_t i;
  229|       |
  230|    334|    if (n < 0) {
  ------------------
  |  Branch (230:9): [True: 0, False: 334]
  ------------------
  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.50k|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (235:17): [True: 1.17k, False: 334]
  ------------------
  236|  1.17k|        PyObject *w = do_mkvalue(p_format, p_va);
  237|  1.17k|        if (w == NULL) {
  ------------------
  |  Branch (237:13): [True: 0, False: 1.17k]
  ------------------
  238|      0|            do_ignore(p_format, p_va, endchar, n - i - 1);
  239|      0|            goto error;
  240|      0|        }
  241|  1.17k|        stack[i] = w;
  242|  1.17k|    }
  243|    334|    if (!check_end(p_format, endchar)) {
  ------------------
  |  Branch (243:9): [True: 0, False: 334]
  ------------------
  244|      0|        goto error;
  245|      0|    }
  246|    334|    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|    334|}

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

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

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

Py_HashPointer:
  134|    799|{
  135|    799|    Py_hash_t hash = _Py_HashPointerRaw(ptr);
  136|    799|    if (hash == -1) {
  ------------------
  |  Branch (136:9): [True: 0, False: 799]
  ------------------
  137|      0|        hash = -2;
  138|      0|    }
  139|    799|    return hash;
  140|    799|}
PyObject_GenericHash:
  144|    666|{
  145|    666|    return Py_HashPointer(obj);
  146|    666|}
Py_HashBuffer:
  150|  26.6k|{
  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|  26.6k|    if (len == 0) {
  ------------------
  |  Branch (155:9): [True: 3, False: 26.6k]
  ------------------
  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|  26.6k|    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|  26.6k|    {
  190|  26.6k|        x = PyHash_Func.hash(ptr, len);
  191|  26.6k|    }
  192|       |
  193|  26.6k|    if (x == -1) {
  ------------------
  |  Branch (193:9): [True: 0, False: 26.6k]
  ------------------
  194|      0|        return -2;
  195|      0|    }
  196|  26.6k|    return x;
  197|  26.6k|}
PyHash_GetFuncDef:
  216|      2|{
  217|      2|    return &PyHash_Func;
  218|      2|}
pyhash.c:siphash13:
  371|  26.6k|siphash13(uint64_t k0, uint64_t k1, const void *src, Py_ssize_t src_sz) {
  372|  26.6k|    uint64_t b = (uint64_t)src_sz << 56;
  373|  26.6k|    const uint8_t *in = (const uint8_t*)src;
  374|       |
  375|  26.6k|    uint64_t v0 = k0 ^ 0x736f6d6570736575ULL;
  376|  26.6k|    uint64_t v1 = k1 ^ 0x646f72616e646f6dULL;
  377|  26.6k|    uint64_t v2 = k0 ^ 0x6c7967656e657261ULL;
  378|  26.6k|    uint64_t v3 = k1 ^ 0x7465646279746573ULL;
  379|       |
  380|  26.6k|    uint64_t t;
  381|  26.6k|    uint8_t *pt;
  382|       |
  383|  7.76M|    while (src_sz >= 8) {
  ------------------
  |  Branch (383:12): [True: 7.74M, False: 26.6k]
  ------------------
  384|  7.74M|        uint64_t mi;
  385|  7.74M|        memcpy(&mi, in, sizeof(mi));
  386|  7.74M|        mi = _le64toh(mi);
  ------------------
  |  |  332|  7.74M|#  define _le64toh(x) ((uint64_t)(x))
  ------------------
  387|  7.74M|        in += sizeof(mi);
  388|  7.74M|        src_sz -= sizeof(mi);
  389|  7.74M|        v3 ^= mi;
  390|  7.74M|        SINGLE_ROUND(v0,v1,v2,v3);
  ------------------
  |  |  362|  7.74M|    HALF_ROUND(v0,v1,v2,v3,13,16);  \
  |  |  ------------------
  |  |  |  |  356|  7.74M|    a += b; c += d;                 \
  |  |  |  |  357|  7.74M|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  7.74M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  7.74M|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  7.74M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  7.74M|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  7.74M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  363|  7.74M|    HALF_ROUND(v2,v1,v0,v3,17,21);
  |  |  ------------------
  |  |  |  |  356|  7.74M|    a += b; c += d;                 \
  |  |  |  |  357|  7.74M|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  7.74M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  7.74M|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  7.74M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  7.74M|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  7.74M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  391|  7.74M|        v0 ^= mi;
  392|  7.74M|    }
  393|       |
  394|  26.6k|    t = 0;
  395|  26.6k|    pt = (uint8_t *)&t;
  396|  26.6k|    switch (src_sz) {
  ------------------
  |  Branch (396:13): [True: 22.8k, False: 3.81k]
  ------------------
  397|  3.50k|        case 7: pt[6] = in[6]; _Py_FALLTHROUGH;
  ------------------
  |  |  650|  3.50k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  |  Branch (397:9): [True: 3.50k, False: 23.1k]
  ------------------
  398|  7.17k|        case 6: pt[5] = in[5]; _Py_FALLTHROUGH;
  ------------------
  |  |  650|  7.17k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  |  Branch (398:9): [True: 3.67k, False: 23.0k]
  ------------------
  399|  10.1k|        case 5: pt[4] = in[4]; _Py_FALLTHROUGH;
  ------------------
  |  |  650|  10.1k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  |  Branch (399:9): [True: 2.93k, False: 23.7k]
  ------------------
  400|  13.6k|        case 4: memcpy(pt, in, sizeof(uint32_t)); break;
  ------------------
  |  Branch (400:9): [True: 3.54k, False: 23.1k]
  ------------------
  401|  3.24k|        case 3: pt[2] = in[2]; _Py_FALLTHROUGH;
  ------------------
  |  |  650|  3.24k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  |  Branch (401:9): [True: 3.24k, False: 23.4k]
  ------------------
  402|  6.35k|        case 2: pt[1] = in[1]; _Py_FALLTHROUGH;
  ------------------
  |  |  650|  6.35k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  |  Branch (402:9): [True: 3.11k, False: 23.5k]
  ------------------
  403|  9.22k|        case 1: pt[0] = in[0]; break;
  ------------------
  |  Branch (403:9): [True: 2.86k, False: 23.8k]
  ------------------
  404|  26.6k|    }
  405|  26.6k|    b |= _le64toh(t);
  ------------------
  |  |  332|  26.6k|#  define _le64toh(x) ((uint64_t)(x))
  ------------------
  406|       |
  407|  26.6k|    v3 ^= b;
  408|  26.6k|    SINGLE_ROUND(v0,v1,v2,v3);
  ------------------
  |  |  362|  26.6k|    HALF_ROUND(v0,v1,v2,v3,13,16);  \
  |  |  ------------------
  |  |  |  |  356|  26.6k|    a += b; c += d;                 \
  |  |  |  |  357|  26.6k|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  26.6k|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  26.6k|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  26.6k|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  26.6k|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  26.6k|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  363|  26.6k|    HALF_ROUND(v2,v1,v0,v3,17,21);
  |  |  ------------------
  |  |  |  |  356|  26.6k|    a += b; c += d;                 \
  |  |  |  |  357|  26.6k|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  26.6k|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  26.6k|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  26.6k|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  26.6k|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  26.6k|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  409|  26.6k|    v0 ^= b;
  410|  26.6k|    v2 ^= 0xff;
  411|  26.6k|    SINGLE_ROUND(v0,v1,v2,v3);
  ------------------
  |  |  362|  26.6k|    HALF_ROUND(v0,v1,v2,v3,13,16);  \
  |  |  ------------------
  |  |  |  |  356|  26.6k|    a += b; c += d;                 \
  |  |  |  |  357|  26.6k|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  26.6k|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  26.6k|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  26.6k|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  26.6k|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  26.6k|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  363|  26.6k|    HALF_ROUND(v2,v1,v0,v3,17,21);
  |  |  ------------------
  |  |  |  |  356|  26.6k|    a += b; c += d;                 \
  |  |  |  |  357|  26.6k|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  26.6k|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  26.6k|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  26.6k|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  26.6k|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  26.6k|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  412|  26.6k|    SINGLE_ROUND(v0,v1,v2,v3);
  ------------------
  |  |  362|  26.6k|    HALF_ROUND(v0,v1,v2,v3,13,16);  \
  |  |  ------------------
  |  |  |  |  356|  26.6k|    a += b; c += d;                 \
  |  |  |  |  357|  26.6k|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  26.6k|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  26.6k|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  26.6k|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  26.6k|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  26.6k|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  363|  26.6k|    HALF_ROUND(v2,v1,v0,v3,17,21);
  |  |  ------------------
  |  |  |  |  356|  26.6k|    a += b; c += d;                 \
  |  |  |  |  357|  26.6k|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  26.6k|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  26.6k|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  26.6k|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  26.6k|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  26.6k|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  413|  26.6k|    SINGLE_ROUND(v0,v1,v2,v3);
  ------------------
  |  |  362|  26.6k|    HALF_ROUND(v0,v1,v2,v3,13,16);  \
  |  |  ------------------
  |  |  |  |  356|  26.6k|    a += b; c += d;                 \
  |  |  |  |  357|  26.6k|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  26.6k|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  26.6k|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  26.6k|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  26.6k|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  26.6k|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  363|  26.6k|    HALF_ROUND(v2,v1,v0,v3,17,21);
  |  |  ------------------
  |  |  |  |  356|  26.6k|    a += b; c += d;                 \
  |  |  |  |  357|  26.6k|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  26.6k|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  26.6k|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  26.6k|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  26.6k|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  26.6k|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  414|       |
  415|       |    /* modified */
  416|  26.6k|    t = (v0 ^ v1) ^ (v2 ^ v3);
  417|  26.6k|    return t;
  418|  26.6k|}
pyhash.c:pysiphash:
  480|  26.6k|pysiphash(const void *src, Py_ssize_t src_sz) {
  481|  26.6k|    return (Py_hash_t)siphash13(
  482|  26.6k|        _le64toh(_Py_HashSecret.siphash.k0), _le64toh(_Py_HashSecret.siphash.k1),
  ------------------
  |  |  332|  26.6k|#  define _le64toh(x) ((uint64_t)(x))
  ------------------
                      _le64toh(_Py_HashSecret.siphash.k0), _le64toh(_Py_HashSecret.siphash.k1),
  ------------------
  |  |  332|  26.6k|#  define _le64toh(x) ((uint64_t)(x))
  ------------------
  483|  26.6k|        src, src_sz);
  484|  26.6k|}

_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.27k|{
  178|  2.27k|    return _PyRuntimeState_GetInitialized(&_PyRuntime);
  179|  2.27k|}
_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|     22|{
 2850|       |    /* We check the runtime first since, in a daemon thread,
 2851|       |       interp might be dangling pointer. */
 2852|     22|    PyThreadState *finalizing = _PyRuntimeState_GetFinalizing(&_PyRuntime);
 2853|     22|    if (finalizing == NULL) {
  ------------------
  |  Branch (2853:9): [True: 22, False: 0]
  ------------------
 2854|     22|        finalizing = _PyInterpreterState_GetFinalizing(interp);
 2855|     22|    }
 2856|       |    return finalizing != NULL;
 2857|     22|}
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);
  ------------------
  |  |  524|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 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);
  ------------------
  |  |  550|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  860|       |
  861|      2|    PyObject *isinstance = PyDict_GetItemWithError(builtins_dict, &_Py_ID(isinstance));
  ------------------
  |  |  936|      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));
  ------------------
  |  |  936|      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));
  ------------------
  |  |  936|      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));
  ------------------
  |  |  936|      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));
  ------------------
  |  |  936|      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__));
  ------------------
  |  |  936|      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);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) 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);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) 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);
  ------------------
  |  |  524|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 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));
  ------------------
  |  |  936|      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|    PySys_SetObject("__stdin__", std);
 3215|      2|    _PySys_SetAttr(&_Py_ID(stdin), std);
  ------------------
  |  |  936|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3216|      2|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3217|       |
 3218|       |    /* Set sys.stdout */
 3219|      2|    fd = fileno(stdout);
 3220|      2|    std = create_stdio(config, iomod, fd, 1, "<stdout>",
 3221|      2|                       config->stdio_encoding,
 3222|      2|                       config->stdio_errors);
 3223|      2|    if (std == NULL)
  ------------------
  |  Branch (3223:9): [True: 0, False: 2]
  ------------------
 3224|      0|        goto error;
 3225|      2|    PySys_SetObject("__stdout__", std);
 3226|      2|    _PySys_SetAttr(&_Py_ID(stdout), std);
  ------------------
  |  |  936|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3227|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3228|       |
 3229|      2|#if 1 /* Disable this if you have trouble debugging bootstrap stuff */
 3230|       |    /* Set sys.stderr, replaces the preliminary stderr */
 3231|      2|    fd = fileno(stderr);
 3232|      2|    std = create_stdio(config, iomod, fd, 1, "<stderr>",
 3233|      2|                       config->stdio_encoding,
 3234|      2|                       L"backslashreplace");
 3235|      2|    if (std == NULL)
  ------------------
  |  Branch (3235:9): [True: 0, False: 2]
  ------------------
 3236|      0|        goto error;
 3237|       |
 3238|       |    /* Same as hack above, pre-import stderr's codec to avoid recursion
 3239|       |       when import.c tries to write to stderr in verbose mode. */
 3240|      2|    encoding_attr = PyObject_GetAttrString(std, "encoding");
 3241|      2|    if (encoding_attr != NULL) {
  ------------------
  |  Branch (3241:9): [True: 2, False: 0]
  ------------------
 3242|      2|        const char *std_encoding = PyUnicode_AsUTF8(encoding_attr);
 3243|      2|        if (std_encoding != NULL) {
  ------------------
  |  Branch (3243:13): [True: 2, False: 0]
  ------------------
 3244|      2|            PyObject *codec_info = _PyCodec_Lookup(std_encoding);
 3245|      2|            Py_XDECREF(codec_info);
  ------------------
  |  |  524|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3246|      2|        }
 3247|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3248|      2|    }
 3249|      2|    _PyErr_Clear(tstate);  /* Not a fatal error if codec isn't available */
 3250|       |
 3251|      2|    if (PySys_SetObject("__stderr__", std) < 0) {
  ------------------
  |  Branch (3251:9): [True: 0, False: 2]
  ------------------
 3252|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3253|      0|        goto error;
 3254|      0|    }
 3255|      2|    if (_PySys_SetAttr(&_Py_ID(stderr), std) < 0) {
  ------------------
  |  |  936|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3255:9): [True: 0, False: 2]
  ------------------
 3256|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3257|      0|        goto error;
 3258|      0|    }
 3259|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3260|      2|#endif
 3261|       |
 3262|      2|    goto done;
 3263|       |
 3264|      0|error:
 3265|      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)}
  ------------------
 3266|       |
 3267|      2|done:
 3268|      2|    Py_XDECREF(iomod);
  ------------------
  |  |  524|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3269|      2|    return res;
 3270|      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",
  ------------------
  |  |  936|      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));
  ------------------
  |  |  936|      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);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _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)
  ------------------
  |  |  936|      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));
  ------------------
  |  |  936|      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);
  ------------------
  |  |  484|      6|    do { \
  |  |  485|      6|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      6|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      6|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 6, False: 0]
  |  |  ------------------
  |  |  488|      6|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      6|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      6|        } \
  |  |  491|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 3070|      6|    Py_CLEAR(text);
  ------------------
  |  |  484|      6|    do { \
  |  |  485|      6|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      6|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      6|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 6, False: 0]
  |  |  ------------------
  |  |  488|      6|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      6|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      6|        } \
  |  |  491|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 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);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491: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);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3103|      0|        Py_CLEAR(encoding_str);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3104|      0|        goto error;
 3105|      0|    }
 3106|       |
 3107|      6|    stream = _PyObject_CallMethod(io, &_Py_ID(TextIOWrapper), "OOOsOO",
  ------------------
  |  |  936|      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);
  ------------------
  |  |  484|      6|    do { \
  |  |  485|      6|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      6|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      6|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 6, False: 0]
  |  |  ------------------
  |  |  488|      6|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      6|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      6|        } \
  |  |  491|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 3111|      6|    Py_CLEAR(encoding_str);
  ------------------
  |  |  484|      6|    do { \
  |  |  485|      6|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      6|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      6|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 6, False: 0]
  |  |  ------------------
  |  |  488|      6|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      6|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      6|        } \
  |  |  491|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 3112|      6|    Py_CLEAR(errors_str);
  ------------------
  |  |  484|      6|    do { \
  |  |  485|      6|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      6|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      6|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 6, False: 0]
  |  |  ------------------
  |  |  488|      6|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      6|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      6|        } \
  |  |  491|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 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)
  ------------------
  |  |  936|      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);
  ------------------
  |  |  484|      6|    do { \
  |  |  485|      6|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      6|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      6|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 6, False: 0]
  |  |  ------------------
  |  |  488|      6|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      6|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      6|        } \
  |  |  491|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 3124|      6|    return stream;
 3125|       |
 3126|      0|error:
 3127|      0|    Py_XDECREF(buf);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3128|      0|    Py_XDECREF(stream);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3129|      0|    Py_XDECREF(text);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3130|      0|    Py_XDECREF(raw);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 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);
  ------------------
  |  |  524|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 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__));
  ------------------
  |  |  936|      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);
  ------------------
  |  |  524|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 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|      8|unsigned short _Py_get_387controlword(void) {
   11|      8|    unsigned short cw;
   12|      8|    __asm__ __volatile__ ("fnstcw %0" : "=m" (cw));
   13|      8|    return cw;
   14|      8|}
_Py_set_387controlword:
   16|     16|void _Py_set_387controlword(unsigned short cw) {
   17|     16|    __asm__ __volatile__ ("fldcw %0" : : "m" (cw));
   18|     16|}

_PyRuntimeState_Init:
  354|      2|{
  355|       |    /* We preserve the hook across init, because there is
  356|       |       currently no public API to set it between runtime
  357|       |       initialization and interpreter initialization. */
  358|      2|    void *open_code_hook = runtime->open_code_hook;
  359|      2|    void *open_code_userdata = runtime->open_code_userdata;
  360|      2|    _Py_AuditHookEntry *audit_hook_head = runtime->audit_hooks.head;
  361|       |    // bpo-42882: Preserve next_index value if Py_Initialize()/Py_Finalize()
  362|       |    // is called multiple times.
  363|      2|    Py_ssize_t unicode_next_index = runtime->unicode_state.ids.next_index;
  364|       |
  365|      2|    if (runtime->_initialized) {
  ------------------
  |  Branch (365:9): [True: 0, False: 2]
  ------------------
  366|       |        // Py_Initialize() must be running again.
  367|       |        // Reset to _PyRuntimeState_INIT.
  368|      0|        memcpy(runtime, &initial, sizeof(*runtime));
  369|       |        // Preserve the cookie from the original runtime.
  370|      0|        memcpy(runtime->debug_offsets.cookie, _Py_Debug_Cookie, 8);
  ------------------
  |  |   12|      0|#define _Py_Debug_Cookie "xdebugpy"
  ------------------
  371|      0|        assert(!runtime->_initialized);
  ------------------
  |  Branch (371:9): [True: 0, False: 0]
  ------------------
  372|      0|    }
  373|       |
  374|      2|    PyStatus status = _PyTime_Init(&runtime->time);
  375|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  376|      0|        return status;
  377|      0|    }
  378|       |
  379|      2|    init_runtime(runtime, open_code_hook, open_code_userdata, audit_hook_head,
  380|      2|                 unicode_next_index);
  381|       |
  382|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  383|      2|}
_PyInterpreterState_Enable:
  442|      2|{
  443|      2|    struct pyinterpreters *interpreters = &runtime->interpreters;
  444|      2|    interpreters->next_id = 0;
  445|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  446|      2|}
_PyInterpreterState_New:
  683|      2|{
  684|      2|    *pinterp = NULL;
  685|       |
  686|       |    // Don't get runtime from tstate since tstate can be NULL
  687|      2|    _PyRuntimeState *runtime = &_PyRuntime;
  688|       |
  689|       |    // tstate is NULL when pycore_create_interpreter() calls
  690|       |    // _PyInterpreterState_New() to create the main interpreter.
  691|      2|    if (tstate != NULL) {
  ------------------
  |  Branch (691:9): [True: 0, False: 2]
  ------------------
  692|      0|        if (_PySys_Audit(tstate, "cpython.PyInterpreterState_New", NULL) < 0) {
  ------------------
  |  Branch (692:13): [True: 0, False: 0]
  ------------------
  693|      0|            return _PyStatus_ERR("sys.audit failed");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
  694|      0|        }
  695|      0|    }
  696|       |
  697|       |    /* We completely serialize creation of multiple interpreters, since
  698|       |       it simplifies things here and blocking concurrent calls isn't a problem.
  699|       |       Regardless, we must fully block subinterpreter creation until
  700|       |       after the main interpreter is created. */
  701|      2|    HEAD_LOCK(runtime);
  ------------------
  |  |  284|      2|    PyMutex_LockFlags(&(runtime)->interpreters.mutex, _Py_LOCK_DONT_DETACH)
  ------------------
  702|       |
  703|      2|    struct pyinterpreters *interpreters = &runtime->interpreters;
  704|      2|    int64_t id = interpreters->next_id;
  705|      2|    interpreters->next_id += 1;
  706|       |
  707|       |    // Allocate the interpreter and add it to the runtime state.
  708|      2|    PyInterpreterState *interp;
  709|      2|    PyStatus status;
  710|      2|    PyInterpreterState *old_head = interpreters->head;
  711|      2|    if (old_head == NULL) {
  ------------------
  |  Branch (711:9): [True: 2, False: 0]
  ------------------
  712|       |        // We are creating the main interpreter.
  713|      2|        assert(interpreters->main == NULL);
  ------------------
  |  Branch (713:9): [True: 2, False: 0]
  ------------------
  714|      2|        assert(id == 0);
  ------------------
  |  Branch (714:9): [True: 2, False: 0]
  ------------------
  715|       |
  716|      2|        interp = &runtime->_main_interpreter;
  717|      2|        assert(interp->id == 0);
  ------------------
  |  Branch (717:9): [True: 2, False: 0]
  ------------------
  718|      2|        assert(interp->next == NULL);
  ------------------
  |  Branch (718:9): [True: 2, False: 0]
  ------------------
  719|       |
  720|      2|        interpreters->main = interp;
  721|      2|    }
  722|      0|    else {
  723|      0|        assert(interpreters->main != NULL);
  ------------------
  |  Branch (723:9): [True: 0, False: 0]
  ------------------
  724|      0|        assert(id != 0);
  ------------------
  |  Branch (724:9): [True: 0, False: 0]
  ------------------
  725|       |
  726|      0|        interp = alloc_interpreter();
  727|      0|        if (interp == NULL) {
  ------------------
  |  Branch (727:13): [True: 0, False: 0]
  ------------------
  728|      0|            status = _PyStatus_NO_MEMORY();
  ------------------
  |  |   33|      0|#define _PyStatus_NO_MEMORY() _PyStatus_ERR(_PyStatus_NO_MEMORY_ERRMSG)
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  ------------------
  729|      0|            goto error;
  730|      0|        }
  731|       |        // Set to _PyInterpreterState_INIT.
  732|      0|        memcpy(interp, &initial._main_interpreter, sizeof(*interp));
  733|       |
  734|      0|        if (id < 0) {
  ------------------
  |  Branch (734:13): [True: 0, False: 0]
  ------------------
  735|       |            /* overflow or Py_Initialize() not called yet! */
  736|      0|            status = _PyStatus_ERR("failed to get an interpreter ID");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
  737|      0|            goto error;
  738|      0|        }
  739|      0|    }
  740|      2|    interpreters->head = interp;
  741|       |
  742|      2|    long whence = _PyInterpreterState_WHENCE_UNKNOWN;
  ------------------
  |  |   17|      2|#define _PyInterpreterState_WHENCE_UNKNOWN 0
  ------------------
  743|      2|    status = init_interpreter(interp, runtime,
  744|      2|                              id, old_head, whence);
  745|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  746|      0|        goto error;
  747|      0|    }
  748|       |
  749|      2|    HEAD_UNLOCK(runtime);
  ------------------
  |  |  286|      2|    PyMutex_Unlock(&(runtime)->interpreters.mutex)
  |  |  ------------------
  |  |  |  |   70|      2|#define PyMutex_Unlock _PyMutex_Unlock
  |  |  ------------------
  ------------------
  750|       |
  751|      2|    assert(interp != NULL);
  ------------------
  |  Branch (751:5): [True: 2, False: 0]
  ------------------
  752|      2|    *pinterp = interp;
  753|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  754|       |
  755|      0|error:
  756|      0|    HEAD_UNLOCK(runtime);
  ------------------
  |  |  286|      0|    PyMutex_Unlock(&(runtime)->interpreters.mutex)
  |  |  ------------------
  |  |  |  |   70|      0|#define PyMutex_Unlock _PyMutex_Unlock
  |  |  ------------------
  ------------------
  757|       |
  758|      0|    if (interp != NULL) {
  ------------------
  |  Branch (758:9): [True: 0, False: 0]
  ------------------
  759|      0|        free_interpreter(interp);
  760|      0|    }
  761|      0|    return status;
  762|      2|}
_PyInterpreterState_SetWhence:
 1225|      2|{
 1226|      2|    assert(interp->_whence != _PyInterpreterState_WHENCE_NOTSET);
  ------------------
  |  Branch (1226:5): [True: 2, False: 0]
  ------------------
 1227|      2|    assert(check_interpreter_whence(whence) == 0);
  ------------------
  |  Branch (1227:5): [True: 2, False: 0]
  ------------------
 1228|      2|    interp->_whence = whence;
 1229|      2|}
_PyThreadState_New:
 1741|      2|{
 1742|      2|    return new_threadstate(interp, whence);
 1743|      2|}
_PyThreadState_GetDict:
 2124|     48|{
 2125|     48|    assert(tstate != NULL);
  ------------------
  |  Branch (2125:5): [True: 48, False: 0]
  ------------------
 2126|     48|    if (tstate->dict == NULL) {
  ------------------
  |  Branch (2126:9): [True: 1, False: 47]
  ------------------
 2127|      1|        tstate->dict = PyDict_New();
 2128|      1|        if (tstate->dict == NULL) {
  ------------------
  |  Branch (2128:13): [True: 0, False: 1]
  ------------------
 2129|      0|            _PyErr_Clear(tstate);
 2130|      0|        }
 2131|      1|    }
 2132|     48|    return tstate->dict;
 2133|     48|}
PyThreadState_GetDict:
 2138|     48|{
 2139|     48|    PyThreadState *tstate = current_fast_get();
 2140|     48|    if (tstate == NULL) {
  ------------------
  |  Branch (2140:9): [True: 0, False: 48]
  ------------------
 2141|      0|        return NULL;
 2142|      0|    }
 2143|     48|    return _PyThreadState_GetDict(tstate);
 2144|     48|}
_PyThreadState_Attach:
 2292|  1.24k|{
 2293|       |#if defined(Py_DEBUG)
 2294|       |    // This is called from PyEval_RestoreThread(). Similar
 2295|       |    // to it, we need to ensure errno doesn't change.
 2296|       |    int err = errno;
 2297|       |#endif
 2298|       |
 2299|  1.24k|    _Py_EnsureTstateNotNULL(tstate);
  ------------------
  |  |  214|  1.24k|    _Py_EnsureFuncTstateNotNULL(__func__, (tstate))
  ------------------
 2300|  1.24k|    if (current_fast_get() != NULL) {
  ------------------
  |  Branch (2300:9): [True: 0, False: 1.24k]
  ------------------
 2301|      0|        Py_FatalError("non-NULL old thread state");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
 2302|      0|    }
 2303|  1.24k|    _PyThreadStateImpl *_tstate = (_PyThreadStateImpl *)tstate;
 2304|  1.24k|    if (_tstate->c_stack_hard_limit == 0) {
  ------------------
  |  Branch (2304:9): [True: 2, False: 1.24k]
  ------------------
 2305|      2|        _Py_InitializeRecursionLimits(tstate);
 2306|      2|    }
 2307|       |
 2308|  1.24k|    while (1) {
  ------------------
  |  Branch (2308:12): [True: 1.24k, Folded]
  ------------------
 2309|  1.24k|        _PyEval_AcquireLock(tstate);
 2310|       |
 2311|       |        // XXX assert(tstate_is_alive(tstate));
 2312|  1.24k|        current_fast_set(&_PyRuntime, tstate);
 2313|  1.24k|        if (!tstate_try_attach(tstate)) {
  ------------------
  |  Branch (2313:13): [True: 0, False: 1.24k]
  ------------------
 2314|      0|            tstate_wait_attach(tstate);
 2315|      0|        }
 2316|  1.24k|        tstate_activate(tstate);
 2317|       |
 2318|       |#ifdef Py_GIL_DISABLED
 2319|       |        if (_PyEval_IsGILEnabled(tstate) && !tstate->holds_gil) {
 2320|       |            // The GIL was enabled between our call to _PyEval_AcquireLock()
 2321|       |            // and when we attached (the GIL can't go from enabled to disabled
 2322|       |            // here because only a thread holding the GIL can disable
 2323|       |            // it). Detach and try again.
 2324|       |            tstate_set_detached(tstate, _Py_THREAD_DETACHED);
 2325|       |            tstate_deactivate(tstate);
 2326|       |            current_fast_clear(&_PyRuntime);
 2327|       |            continue;
 2328|       |        }
 2329|       |        _Py_qsbr_attach(((_PyThreadStateImpl *)tstate)->qsbr);
 2330|       |#endif
 2331|  1.24k|        break;
 2332|  1.24k|    }
 2333|       |
 2334|       |    // Resume previous critical section. This acquires the lock(s) from the
 2335|       |    // top-most critical section.
 2336|  1.24k|    if (tstate->critical_section != 0) {
  ------------------
  |  Branch (2336:9): [True: 0, False: 1.24k]
  ------------------
 2337|      0|        _PyCriticalSection_Resume(tstate);
 2338|      0|    }
 2339|       |
 2340|       |#ifdef Py_STATS
 2341|       |    _PyStats_Attach((_PyThreadStateImpl *)tstate);
 2342|       |#endif
 2343|       |
 2344|       |#if defined(Py_DEBUG)
 2345|       |    errno = err;
 2346|       |#endif
 2347|  1.24k|}
_PyThreadState_Detach:
 2369|  1.24k|{
 2370|  1.24k|    detach_thread(tstate, _Py_THREAD_DETACHED);
  ------------------
  |  |   44|  1.24k|#define _Py_THREAD_DETACHED             0
  ------------------
 2371|  1.24k|}
_PyEval_StopTheWorld:
 2615|    108|{
 2616|       |#ifdef Py_GIL_DISABLED
 2617|       |    stop_the_world(&interp->stoptheworld);
 2618|       |#endif
 2619|    108|}
_PyEval_StartTheWorld:
 2623|    108|{
 2624|       |#ifdef Py_GIL_DISABLED
 2625|       |    start_the_world(&interp->stoptheworld);
 2626|       |#endif
 2627|    108|}
PyThreadState_GetUnchecked:
 2687|     24|{
 2688|     24|    return current_fast_get();
 2689|     24|}
PyThreadState_Get:
 2694|    495|{
 2695|    495|    PyThreadState *tstate = current_fast_get();
 2696|    495|    _Py_EnsureTstateNotNULL(tstate);
  ------------------
  |  |  214|    495|    _Py_EnsureFuncTstateNotNULL(__func__, (tstate))
  ------------------
 2697|    495|    return tstate;
 2698|    495|}
_PyThreadState_Bind:
 2722|      2|{
 2723|       |    // gh-104690: If Python is being finalized and PyInterpreterState_Delete()
 2724|       |    // was called, tstate becomes a dangling pointer.
 2725|      2|    assert(_PyThreadState_CheckConsistency(tstate));
  ------------------
  |  Branch (2725:5): [True: 2, False: 0]
  ------------------
 2726|       |
 2727|      2|    bind_tstate(tstate);
 2728|       |    // This makes sure there's a gilstate tstate bound
 2729|       |    // as soon as possible.
 2730|      2|    if (gilstate_get() == NULL) {
  ------------------
  |  Branch (2730:9): [True: 2, False: 0]
  ------------------
 2731|      2|        bind_gilstate_tstate(tstate);
 2732|      2|    }
 2733|      2|}
_PyGILState_Init:
 2921|      2|{
 2922|      2|    if (!_Py_IsMainInterpreter(interp)) {
  ------------------
  |  Branch (2922:9): [True: 0, False: 2]
  ------------------
 2923|       |        /* Currently, PyGILState is shared by all interpreters. The main
 2924|       |         * interpreter is responsible to initialize it. */
 2925|      0|        return _PyStatus_OK();
  ------------------
  |  |   24|      0|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2926|      0|    }
 2927|      2|    _PyRuntimeState *runtime = interp->runtime;
 2928|      2|    assert(gilstate_get() == NULL);
  ------------------
  |  Branch (2928:5): [True: 2, False: 0]
  ------------------
 2929|      2|    assert(runtime->gilstate.autoInterpreterState == NULL);
  ------------------
  |  Branch (2929:5): [True: 2, False: 0]
  ------------------
 2930|      2|    runtime->gilstate.autoInterpreterState = interp;
 2931|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2932|      2|}
_PyGILState_SetTstate:
 2949|      2|{
 2950|       |    /* must init with valid states */
 2951|      2|    assert(tstate != NULL);
  ------------------
  |  Branch (2951:5): [True: 2, False: 0]
  ------------------
 2952|      2|    assert(tstate->interp != NULL);
  ------------------
  |  Branch (2952:5): [True: 2, False: 0]
  ------------------
 2953|       |
 2954|      2|    if (!_Py_IsMainInterpreter(tstate->interp)) {
  ------------------
  |  Branch (2954:9): [True: 0, False: 2]
  ------------------
 2955|       |        /* Currently, PyGILState is shared by all interpreters. The main
 2956|       |         * interpreter is responsible to initialize it. */
 2957|      0|        return;
 2958|      0|    }
 2959|       |
 2960|      2|#ifndef NDEBUG
 2961|      2|    _PyRuntimeState *runtime = tstate->interp->runtime;
 2962|       |
 2963|      2|    assert(runtime->gilstate.autoInterpreterState == tstate->interp);
  ------------------
  |  Branch (2963:5): [True: 2, False: 0]
  ------------------
 2964|      2|    assert(gilstate_get() == tstate);
  ------------------
  |  Branch (2964:5): [True: 2, False: 0]
  ------------------
 2965|      2|    assert(tstate->gilstate_counter == 1);
  ------------------
  |  Branch (2965:5): [True: 2, False: 0]
  ------------------
 2966|      2|#endif
 2967|      2|}
_PyInterpreterState_IsSpecializationEnabled:
 3165|    329|{
 3166|    329|    return interp->eval_frame == NULL
  ------------------
  |  Branch (3166:12): [True: 329, False: 0]
  ------------------
 3167|      0|        || interp->eval_frame_allow_specialization;
  ------------------
  |  Branch (3167:12): [True: 0, False: 0]
  ------------------
 3168|    329|}
_PyInterpreterState_GetConfig:
 3173|  4.20k|{
 3174|  4.20k|    return &interp->config;
 3175|  4.20k|}
_Py_GetConfig:
 3180|  2.42k|{
 3181|  2.42k|    PyThreadState *tstate = current_fast_get();
 3182|  2.42k|    _Py_EnsureTstateNotNULL(tstate);
  ------------------
  |  |  214|  2.42k|    _Py_EnsureFuncTstateNotNULL(__func__, (tstate))
  ------------------
 3183|  2.42k|    return _PyInterpreterState_GetConfig(tstate->interp);
 3184|  2.42k|}
_PyThreadState_PushFrame:
 3234|  4.91k|{
 3235|  4.91k|    assert(size < INT_MAX/sizeof(PyObject *));
  ------------------
  |  Branch (3235:5): [True: 4.91k, False: 0]
  ------------------
 3236|  4.91k|    if (_PyThreadState_HasStackSpace(tstate, (int)size)) {
  ------------------
  |  Branch (3236:9): [True: 4.91k, False: 2]
  ------------------
 3237|  4.91k|        _PyInterpreterFrame *res = (_PyInterpreterFrame *)tstate->datastack_top;
 3238|  4.91k|        tstate->datastack_top += size;
 3239|  4.91k|        return res;
 3240|  4.91k|    }
 3241|      2|    return (_PyInterpreterFrame *)push_chunk(tstate, (int)size);
 3242|  4.91k|}
_PyThreadState_PopFrame:
 3246|  8.40k|{
 3247|  8.40k|    assert(tstate->datastack_chunk);
  ------------------
  |  Branch (3247:5): [True: 8.40k, False: 0]
  ------------------
 3248|  8.40k|    PyObject **base = (PyObject **)frame;
 3249|  8.40k|    if (base == &tstate->datastack_chunk->data[0]) {
  ------------------
  |  Branch (3249:9): [True: 0, False: 8.40k]
  ------------------
 3250|      0|        _PyStackChunk *chunk = tstate->datastack_chunk;
 3251|      0|        _PyStackChunk *previous = chunk->previous;
 3252|      0|        _PyStackChunk *cached = tstate->datastack_cached_chunk;
 3253|       |        // push_chunk ensures that the root chunk is never popped:
 3254|      0|        assert(previous);
  ------------------
  |  Branch (3254:9): [True: 0, False: 0]
  ------------------
 3255|      0|        tstate->datastack_top = &previous->data[previous->top];
 3256|      0|        tstate->datastack_chunk = previous;
 3257|      0|        tstate->datastack_limit = (PyObject **)(((char *)previous) + previous->size);
 3258|      0|        chunk->previous = NULL;
 3259|      0|        if (cached != NULL) {
  ------------------
  |  Branch (3259:13): [True: 0, False: 0]
  ------------------
 3260|      0|            _PyObject_VirtualFree(cached, cached->size);
 3261|      0|        }
 3262|      0|        tstate->datastack_cached_chunk = chunk;
 3263|      0|    }
 3264|  8.40k|    else {
 3265|  8.40k|        assert(tstate->datastack_top);
  ------------------
  |  Branch (3265:9): [True: 8.40k, False: 0]
  ------------------
 3266|  8.40k|        assert(tstate->datastack_top >= base);
  ------------------
  |  Branch (3266:9): [True: 8.40k, False: 0]
  ------------------
 3267|  8.40k|        tstate->datastack_top = base;
 3268|  8.40k|    }
 3269|  8.40k|}
_PyThreadState_CheckConsistency:
 3282|  2.48k|{
 3283|  2.48k|    assert(!_PyMem_IsPtrFreed(tstate));
  ------------------
  |  Branch (3283:5): [True: 2.48k, False: 0]
  ------------------
 3284|  2.48k|    assert(!_PyMem_IsPtrFreed(tstate->interp));
  ------------------
  |  Branch (3284:5): [True: 2.48k, False: 0]
  ------------------
 3285|  2.48k|    return 1;
 3286|  2.48k|}
_PyThreadState_MustExit:
 3300|  2.48k|{
 3301|  2.48k|    int state = _Py_atomic_load_int_relaxed(&tstate->state);
 3302|  2.48k|    return state == _Py_THREAD_SHUTTING_DOWN;
  ------------------
  |  |   47|  2.48k|#define _Py_THREAD_SHUTTING_DOWN        3
  ------------------
 3303|  2.48k|}
_Py_IsMainThread:
 3393|  1.69k|{
 3394|  1.69k|    unsigned long thread = PyThread_get_thread_ident();
 3395|  1.69k|    return (thread == _PyRuntime.main_thread);
 3396|  1.69k|}
_PyInterpreterState_Main:
 3401|    924|{
 3402|    924|    return _PyRuntime.interpreters.main;
 3403|    924|}
pystate.c:current_fast_get:
   86|  5.47k|{
   87|  5.47k|    return _Py_tss_tstate;
   88|  5.47k|}
pystate.c:init_runtime:
  332|      2|{
  333|      2|    assert(!runtime->preinitializing);
  ------------------
  |  Branch (333:5): [True: 2, False: 0]
  ------------------
  334|      2|    assert(!runtime->preinitialized);
  ------------------
  |  Branch (334:5): [True: 2, False: 0]
  ------------------
  335|      2|    assert(!_PyRuntimeState_GetCoreInitialized(runtime));
  ------------------
  |  Branch (335:5): [True: 2, False: 0]
  ------------------
  336|      2|    assert(!_PyRuntimeState_GetInitialized(runtime));
  ------------------
  |  Branch (336:5): [True: 2, False: 0]
  ------------------
  337|      2|    assert(!runtime->_initialized);
  ------------------
  |  Branch (337:5): [True: 2, False: 0]
  ------------------
  338|       |
  339|      2|    runtime->open_code_hook = open_code_hook;
  340|      2|    runtime->open_code_userdata = open_code_userdata;
  341|      2|    runtime->audit_hooks.head = audit_hook_head;
  342|       |
  343|      2|    PyPreConfig_InitPythonConfig(&runtime->preconfig);
  344|       |
  345|       |    // Set it to the ID of the main thread of the main interpreter.
  346|      2|    runtime->main_thread = PyThread_get_thread_ident();
  347|       |
  348|      2|    runtime->unicode_state.ids.next_index = unicode_next_index;
  349|      2|    runtime->_initialized = 1;
  350|      2|}
pystate.c:init_interpreter:
  545|      2|{
  546|      2|    if (interp->_initialized) {
  ------------------
  |  Branch (546:9): [True: 0, False: 2]
  ------------------
  547|      0|        return _PyStatus_ERR("interpreter already initialized");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
  548|      0|    }
  549|       |
  550|      2|    assert(interp->_whence == _PyInterpreterState_WHENCE_NOTSET);
  ------------------
  |  Branch (550:5): [True: 2, False: 0]
  ------------------
  551|      2|    assert(check_interpreter_whence(whence) == 0);
  ------------------
  |  Branch (551:5): [True: 2, False: 0]
  ------------------
  552|      2|    interp->_whence = whence;
  553|       |
  554|      2|    assert(runtime != NULL);
  ------------------
  |  Branch (554:5): [True: 2, False: 0]
  ------------------
  555|      2|    interp->runtime = runtime;
  556|       |
  557|      2|    assert(id > 0 || (id == 0 && interp == runtime->interpreters.main));
  ------------------
  |  Branch (557:5): [True: 2, False: 0]
  |  Branch (557:5): [True: 2, False: 0]
  |  Branch (557:5): [True: 0, False: 2]
  ------------------
  558|      2|    interp->id = id;
  559|       |
  560|      2|    interp->id_refcount = 0;
  561|       |
  562|      2|    assert(runtime->interpreters.head == interp);
  ------------------
  |  Branch (562:5): [True: 2, False: 0]
  ------------------
  563|      2|    assert(next != NULL || (interp == runtime->interpreters.main));
  ------------------
  |  Branch (563:5): [True: 0, False: 2]
  |  Branch (563:5): [True: 2, False: 0]
  ------------------
  564|      2|    interp->next = next;
  565|       |
  566|      2|    interp->threads.preallocated = &interp->_initial_thread;
  567|       |
  568|       |    // We would call _PyObject_InitState() at this point
  569|       |    // if interp->feature_flags were alredy set.
  570|       |
  571|      2|    _PyEval_InitState(interp);
  572|      2|    _PyGC_InitState(&interp->gc);
  573|      2|    PyConfig_InitPythonConfig(&interp->config);
  574|       |#ifdef Py_GIL_DISABLED
  575|       |    _Py_brc_init_state(interp);
  576|       |#endif
  577|       |
  578|      2|    llist_init(&interp->mem_free_queue.head);
  579|      2|    llist_init(&interp->asyncio_tasks_head);
  580|      2|    interp->asyncio_tasks_lock = (PyMutex){0};
  581|     34|    for (int i = 0; i < _PY_MONITORING_UNGROUPED_EVENTS; i++) {
  ------------------
  |  |   75|     34|#define _PY_MONITORING_UNGROUPED_EVENTS 16
  ------------------
  |  Branch (581:21): [True: 32, False: 2]
  ------------------
  582|     32|        interp->monitors.tools[i] = 0;
  583|     32|    }
  584|     18|    for (int t = 0; t < PY_MONITORING_TOOL_IDS; t++) {
  ------------------
  |  |   72|     18|#define  PY_MONITORING_TOOL_IDS 8
  ------------------
  |  Branch (584:21): [True: 16, False: 2]
  ------------------
  585|    320|        for (int e = 0; e < _PY_MONITORING_EVENTS; e++) {
  ------------------
  |  |   77|    320|#define _PY_MONITORING_EVENTS 19
  ------------------
  |  Branch (585:25): [True: 304, False: 16]
  ------------------
  586|    304|            interp->monitoring_callables[t][e] = NULL;
  587|       |
  588|    304|        }
  589|     16|        interp->monitoring_tool_versions[t] = 0;
  590|     16|    }
  591|      2|    interp->_code_object_generation = 0;
  592|      2|    interp->jit = false;
  593|      2|    interp->compiling = false;
  594|      2|    interp->executor_blooms = NULL;
  595|      2|    interp->executor_ptrs = NULL;
  596|      2|    interp->executor_count = 0;
  597|      2|    interp->executor_capacity = 0;
  598|      2|    interp->executor_deletion_list_head = NULL;
  599|      2|    interp->executor_creation_counter = JIT_CLEANUP_THRESHOLD;
  ------------------
  |  |  308|      2|#define JIT_CLEANUP_THRESHOLD 1000
  ------------------
  600|       |
  601|       |    // Initialize optimization configuration from environment variables
  602|       |    // PYTHON_JIT_STRESS sets aggressive defaults for testing, but can be overridden
  603|      2|    uint16_t jump_default = JUMP_BACKWARD_INITIAL_VALUE;
  ------------------
  |  |  134|      2|#define JUMP_BACKWARD_INITIAL_VALUE 4000
  ------------------
  604|      2|    uint16_t resume_default = RESUME_INITIAL_VALUE;
  ------------------
  |  |  148|      2|#define RESUME_INITIAL_VALUE 8190
  ------------------
  605|      2|    uint16_t side_exit_default = SIDE_EXIT_INITIAL_VALUE;
  ------------------
  |  |  162|      2|#define SIDE_EXIT_INITIAL_VALUE 4000
  ------------------
  606|       |
  607|      2|    if (is_env_enabled("PYTHON_JIT_STRESS")) {
  ------------------
  |  Branch (607:9): [True: 0, False: 2]
  ------------------
  608|      0|        jump_default = 63;
  609|      0|        side_exit_default = 63;
  610|      0|        resume_default = 127;
  611|      0|    }
  612|       |
  613|      2|    init_policy(&interp->opt_config.jump_backward_initial_value,
  614|      2|                "PYTHON_JIT_JUMP_BACKWARD_INITIAL_VALUE",
  615|      2|                jump_default, 1, MAX_VALUE);
  ------------------
  |  |   41|      2|#define MAX_VALUE 0x1FFF
  ------------------
  616|      2|    init_policy(&interp->opt_config.jump_backward_initial_backoff,
  617|      2|                "PYTHON_JIT_JUMP_BACKWARD_INITIAL_BACKOFF",
  618|      2|                JUMP_BACKWARD_INITIAL_BACKOFF, 0, MAX_BACKOFF);
  ------------------
  |  |  135|      2|#define JUMP_BACKWARD_INITIAL_BACKOFF 6
  ------------------
                              JUMP_BACKWARD_INITIAL_BACKOFF, 0, MAX_BACKOFF);
  ------------------
  |  |   39|      2|#define MAX_BACKOFF 6
  ------------------
  619|      2|    init_policy(&interp->opt_config.resume_initial_value,
  620|      2|                "PYTHON_JIT_RESUME_INITIAL_VALUE",
  621|      2|                resume_default, 1, MAX_VALUE);
  ------------------
  |  |   41|      2|#define MAX_VALUE 0x1FFF
  ------------------
  622|      2|    init_policy(&interp->opt_config.resume_initial_backoff,
  623|      2|                "PYTHON_JIT_RESUME_INITIAL_BACKOFF",
  624|      2|                RESUME_INITIAL_BACKOFF, 0, MAX_BACKOFF);
  ------------------
  |  |  149|      2|#define RESUME_INITIAL_BACKOFF 6
  ------------------
                              RESUME_INITIAL_BACKOFF, 0, MAX_BACKOFF);
  ------------------
  |  |   39|      2|#define MAX_BACKOFF 6
  ------------------
  625|      2|    init_policy(&interp->opt_config.side_exit_initial_value,
  626|      2|                "PYTHON_JIT_SIDE_EXIT_INITIAL_VALUE",
  627|      2|                side_exit_default, 1, MAX_VALUE);
  ------------------
  |  |   41|      2|#define MAX_VALUE 0x1FFF
  ------------------
  628|      2|    init_policy(&interp->opt_config.side_exit_initial_backoff,
  629|      2|                "PYTHON_JIT_SIDE_EXIT_INITIAL_BACKOFF",
  630|      2|                SIDE_EXIT_INITIAL_BACKOFF, 0, MAX_BACKOFF);
  ------------------
  |  |  163|      2|#define SIDE_EXIT_INITIAL_BACKOFF 6
  ------------------
                              SIDE_EXIT_INITIAL_BACKOFF, 0, MAX_BACKOFF);
  ------------------
  |  |   39|      2|#define MAX_BACKOFF 6
  ------------------
  631|       |
  632|       |    // Trace fitness configuration
  633|      2|    init_policy(&interp->opt_config.fitness_initial,
  634|      2|                "PYTHON_JIT_FITNESS_INITIAL",
  635|      2|                FITNESS_INITIAL, EXIT_QUALITY_CLOSE_LOOP, FITNESS_INITIAL);
  ------------------
  |  |   41|      2|#define FITNESS_INITIAL 2500
  ------------------
                              FITNESS_INITIAL, EXIT_QUALITY_CLOSE_LOOP, FITNESS_INITIAL);
  ------------------
  |  |   39|      2|#define EXIT_QUALITY_CLOSE_LOOP      (FITNESS_INITIAL - AVG_SLOTS_PER_INSTRUCTION*4)
  |  |  ------------------
  |  |  |  |   41|      2|#define FITNESS_INITIAL 2500
  |  |  ------------------
  |  |               #define EXIT_QUALITY_CLOSE_LOOP      (FITNESS_INITIAL - AVG_SLOTS_PER_INSTRUCTION*4)
  |  |  ------------------
  |  |  |  |   46|      2|#define AVG_SLOTS_PER_INSTRUCTION  6
  |  |  ------------------
  ------------------
                              FITNESS_INITIAL, EXIT_QUALITY_CLOSE_LOOP, FITNESS_INITIAL);
  ------------------
  |  |   41|      2|#define FITNESS_INITIAL 2500
  ------------------
  636|       |
  637|      2|    interp->opt_config.specialization_enabled = !is_env_enabled("PYTHON_SPECIALIZATION_OFF");
  638|      2|    interp->opt_config.uops_optimize_enabled = !is_env_disabled("PYTHON_UOPS_OPTIMIZE");
  639|      2|    if (interp != &runtime->_main_interpreter) {
  ------------------
  |  Branch (639:9): [True: 0, False: 2]
  ------------------
  640|       |        /* Fix the self-referential, statically initialized fields. */
  641|      0|        interp->dtoa = (struct _dtoa_state)_dtoa_state_INIT(interp);
  ------------------
  |  |   22|      0|    { \
  |  |   23|      0|        .preallocated_next = (INTERP)->dtoa.preallocated, \
  |  |   24|      0|    }
  ------------------
  642|      0|    }
  643|       |#if !defined(Py_GIL_DISABLED) && defined(Py_STACKREF_DEBUG)
  644|       |    interp->next_stackref = INITIAL_STACKREF_INDEX;
  645|       |    _Py_hashtable_allocator_t alloc = {
  646|       |        .malloc = malloc,
  647|       |        .free = free,
  648|       |    };
  649|       |    interp->open_stackrefs_table = _Py_hashtable_new_full(
  650|       |        _Py_hashtable_hash_ptr,
  651|       |        _Py_hashtable_compare_direct,
  652|       |        NULL,
  653|       |        NULL,
  654|       |        &alloc
  655|       |    );
  656|       |    if (interp->open_stackrefs_table == NULL) {
  657|       |        return _PyStatus_NO_MEMORY();
  658|       |    }
  659|       |#  ifdef Py_STACKREF_CLOSE_DEBUG
  660|       |    interp->closed_stackrefs_table = _Py_hashtable_new_full(
  661|       |        _Py_hashtable_hash_ptr,
  662|       |        _Py_hashtable_compare_direct,
  663|       |        NULL,
  664|       |        NULL,
  665|       |        &alloc
  666|       |    );
  667|       |    if (interp->closed_stackrefs_table == NULL) {
  668|       |        return _PyStatus_NO_MEMORY();
  669|       |    }
  670|       |#  endif
  671|       |    _Py_stackref_associate(interp, Py_None, PyStackRef_None);
  672|       |    _Py_stackref_associate(interp, Py_False, PyStackRef_False);
  673|       |    _Py_stackref_associate(interp, Py_True, PyStackRef_True);
  674|       |#endif
  675|       |
  676|      2|    interp->_initialized = 1;
  677|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  678|      2|}
pystate.c:is_env_enabled:
  514|      4|{
  515|      4|    char *env = Py_GETENV(env_name);
  516|      4|    return env && *env != '\0' && *env != '0';
  ------------------
  |  Branch (516:12): [True: 0, False: 4]
  |  Branch (516:19): [True: 0, False: 0]
  |  Branch (516:35): [True: 0, False: 0]
  ------------------
  517|      4|}
pystate.c:init_policy:
  529|     14|{
  530|     14|    *target = default_value;
  531|     14|    char *env = Py_GETENV(env_name);
  532|     14|    if (env && *env != '\0') {
  ------------------
  |  Branch (532:9): [True: 0, False: 14]
  |  Branch (532:16): [True: 0, False: 0]
  ------------------
  533|      0|        long value = atol(env);
  534|      0|        if (value >= min_value && value <= max_value) {
  ------------------
  |  Branch (534:13): [True: 0, False: 0]
  |  Branch (534:35): [True: 0, False: 0]
  ------------------
  535|      0|            *target = (uint16_t)value;
  536|      0|        }
  537|      0|    }
  538|     14|}
pystate.c:is_env_disabled:
  521|      2|{
  522|      2|    char *env = Py_GETENV(env_name);
  523|      2|    return env != NULL && *env == '0';
  ------------------
  |  Branch (523:12): [True: 0, False: 2]
  |  Branch (523:27): [True: 0, False: 0]
  ------------------
  524|      2|}
pystate.c:check_interpreter_whence:
 1205|      4|{
 1206|      4|    if(whence < 0) {
  ------------------
  |  Branch (1206:8): [True: 0, False: 4]
  ------------------
 1207|      0|        return -1;
 1208|      0|    }
 1209|      4|    if (whence > _PyInterpreterState_WHENCE_MAX) {
  ------------------
  |  |   23|      4|#define _PyInterpreterState_WHENCE_MAX 5
  ------------------
  |  Branch (1209:9): [True: 0, False: 4]
  ------------------
 1210|      0|        return -1;
 1211|      0|    }
 1212|      4|    return 0;
 1213|      4|}
pystate.c:new_threadstate:
 1665|      2|{
 1666|       |    // Allocate the thread state.
 1667|      2|    _PyThreadStateImpl *tstate = alloc_threadstate(interp);
 1668|      2|    if (tstate == NULL) {
  ------------------
  |  Branch (1668:9): [True: 0, False: 2]
  ------------------
 1669|      0|        return NULL;
 1670|      0|    }
 1671|       |
 1672|       |#ifdef Py_STATS
 1673|       |    // The PyStats structure is quite large and is allocated separated from
 1674|       |    // tstate.
 1675|       |    if (!_PyStats_ThreadInit(interp, tstate)) {
 1676|       |        free_threadstate(tstate);
 1677|       |        return NULL;
 1678|       |    }
 1679|       |#endif
 1680|       |#ifdef Py_GIL_DISABLED
 1681|       |    int32_t tlbc_idx = _Py_ReserveTLBCIndex(interp);
 1682|       |    if (tlbc_idx < 0) {
 1683|       |        free_threadstate(tstate);
 1684|       |        return NULL;
 1685|       |    }
 1686|       |    Py_ssize_t qsbr_idx = _Py_qsbr_reserve(interp);
 1687|       |    if (qsbr_idx < 0) {
 1688|       |        _Py_UnreserveTLBCIndex(interp, tlbc_idx);
 1689|       |        free_threadstate(tstate);
 1690|       |        return NULL;
 1691|       |    }
 1692|       |#endif
 1693|       |
 1694|       |    /* We serialize concurrent creation to protect global state. */
 1695|      2|    HEAD_LOCK(interp->runtime);
  ------------------
  |  |  284|      2|    PyMutex_LockFlags(&(runtime)->interpreters.mutex, _Py_LOCK_DONT_DETACH)
  ------------------
 1696|       |
 1697|       |    // Initialize the new thread state.
 1698|      2|    interp->threads.next_unique_id += 1;
 1699|      2|    uint64_t id = interp->threads.next_unique_id;
 1700|      2|    init_threadstate(tstate, interp, id, whence);
 1701|       |
 1702|       |    // Add the new thread state to the interpreter.
 1703|      2|    PyThreadState *old_head = interp->threads.head;
 1704|      2|    add_threadstate(interp, (PyThreadState *)tstate, old_head);
 1705|       |
 1706|      2|    HEAD_UNLOCK(interp->runtime);
  ------------------
  |  |  286|      2|    PyMutex_Unlock(&(runtime)->interpreters.mutex)
  |  |  ------------------
  |  |  |  |   70|      2|#define PyMutex_Unlock _PyMutex_Unlock
  |  |  ------------------
  ------------------
 1707|       |
 1708|       |#ifdef Py_GIL_DISABLED
 1709|       |    // Must be called with lock unlocked to avoid lock ordering deadlocks.
 1710|       |    _Py_qsbr_register(tstate, interp, qsbr_idx);
 1711|       |    tstate->tlbc_index = tlbc_idx;
 1712|       |#endif
 1713|       |
 1714|      2|    return (PyThreadState *)tstate;
 1715|      2|}
pystate.c:alloc_threadstate:
 1497|      2|{
 1498|      2|    _PyThreadStateImpl *tstate;
 1499|       |
 1500|       |    // Try the preallocated tstate first.
 1501|      2|    tstate = _Py_atomic_exchange_ptr(&interp->threads.preallocated, NULL);
 1502|       |
 1503|       |    // Fall back to the allocator.
 1504|      2|    if (tstate == NULL) {
  ------------------
  |  Branch (1504:9): [True: 0, False: 2]
  ------------------
 1505|      0|        tstate = PyMem_RawCalloc(1, sizeof(_PyThreadStateImpl));
 1506|      0|        if (tstate == NULL) {
  ------------------
  |  Branch (1506:13): [True: 0, False: 0]
  ------------------
 1507|      0|            return NULL;
 1508|      0|        }
 1509|      0|        reset_threadstate(tstate);
 1510|      0|    }
 1511|       |    // Set the interpreter before any later initialization can fail.
 1512|      2|    tstate->base.interp = interp;
 1513|      2|    return tstate;
 1514|      2|}
pystate.c:init_threadstate:
 1556|      2|{
 1557|      2|    PyThreadState *tstate = (PyThreadState *)_tstate;
 1558|      2|    if (tstate->_status.initialized) {
  ------------------
  |  Branch (1558:9): [True: 0, False: 2]
  ------------------
 1559|      0|        Py_FatalError("thread state already initialized");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
 1560|      0|    }
 1561|       |
 1562|      2|    assert(interp != NULL);
  ------------------
  |  Branch (1562:5): [True: 2, False: 0]
  ------------------
 1563|      2|    tstate->interp = interp;
 1564|      2|    tstate->eval_breaker =
 1565|      2|        _Py_atomic_load_uintptr_relaxed(&interp->ceval.instrumentation_version);
 1566|       |
 1567|       |    // next/prev are set in add_threadstate().
 1568|      2|    assert(tstate->next == NULL);
  ------------------
  |  Branch (1568:5): [True: 2, False: 0]
  ------------------
 1569|      2|    assert(tstate->prev == NULL);
  ------------------
  |  Branch (1569:5): [True: 2, False: 0]
  ------------------
 1570|       |
 1571|      2|    assert(tstate->_whence == _PyThreadState_WHENCE_NOTSET);
  ------------------
  |  Branch (1571:5): [True: 2, False: 0]
  ------------------
 1572|      2|    assert(whence >= 0 && whence <= _PyThreadState_WHENCE_THREADING_DAEMON);
  ------------------
  |  Branch (1572:5): [True: 2, False: 0]
  |  Branch (1572:5): [True: 2, False: 0]
  ------------------
 1573|      2|    tstate->_whence = whence;
 1574|       |
 1575|      2|    assert(id > 0);
  ------------------
  |  Branch (1575:5): [True: 2, False: 0]
  ------------------
 1576|      2|    tstate->id = id;
 1577|       |
 1578|       |    // thread_id and native_thread_id are set in bind_tstate().
 1579|       |
 1580|      2|    tstate->py_recursion_limit = interp->ceval.recursion_limit;
 1581|      2|    tstate->py_recursion_remaining = interp->ceval.recursion_limit;
 1582|      2|    tstate->exc_info = &tstate->exc_state;
 1583|       |
 1584|       |    // PyGILState_Release must not try to delete this thread state.
 1585|       |    // This is cleared when PyGILState_Ensure() creates the thread state.
 1586|      2|    tstate->gilstate_counter = 1;
 1587|       |
 1588|       |    // Initialize the embedded base frame - sentinel at the bottom of the frame stack
 1589|      2|    _tstate->base_frame.previous = NULL;
 1590|      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
  |  |  ------------------
  ------------------
 1591|      2|    _tstate->base_frame.f_funcobj = PyStackRef_NULL;
 1592|      2|    _tstate->base_frame.f_globals = NULL;
 1593|      2|    _tstate->base_frame.f_builtins = NULL;
 1594|      2|    _tstate->base_frame.f_locals = NULL;
 1595|      2|    _tstate->base_frame.frame_obj = NULL;
 1596|      2|    _tstate->base_frame.instr_ptr = NULL;
 1597|      2|    _tstate->base_frame.stackpointer = _tstate->base_frame.localsplus;
 1598|      2|    _tstate->base_frame.return_offset = 0;
 1599|      2|    _tstate->base_frame.owner = FRAME_OWNED_BY_INTERPRETER;
 1600|      2|    _tstate->base_frame.visited = 0;
 1601|       |#ifdef Py_DEBUG
 1602|       |    _tstate->base_frame.lltrace = 0;
 1603|       |#endif
 1604|       |#ifdef Py_GIL_DISABLED
 1605|       |    _tstate->base_frame.tlbc_index = 0;
 1606|       |#endif
 1607|      2|    _tstate->base_frame.localsplus[0] = PyStackRef_NULL;
 1608|       |
 1609|       |    // current_frame starts pointing to the base frame
 1610|      2|    tstate->current_frame = &_tstate->base_frame;
 1611|       |    // base_frame pointer for profilers to validate stack unwinding
 1612|      2|    tstate->base_frame = &_tstate->base_frame;
 1613|      2|    tstate->last_profiled_frame = NULL;
 1614|      2|    tstate->last_profiled_frame_seq = 0;
 1615|      2|    tstate->datastack_chunk = NULL;
 1616|      2|    tstate->datastack_top = NULL;
 1617|      2|    tstate->datastack_limit = NULL;
 1618|      2|    tstate->datastack_cached_chunk = NULL;
 1619|      2|    tstate->what_event = -1;
 1620|      2|    tstate->current_executor = NULL;
 1621|      2|    tstate->jit_exit = NULL;
 1622|      2|    tstate->dict_global_version = 0;
 1623|       |
 1624|      2|    _tstate->c_stack_soft_limit = UINTPTR_MAX;
 1625|      2|    _tstate->c_stack_top = 0;
 1626|      2|    _tstate->c_stack_hard_limit = 0;
 1627|       |
 1628|      2|    _tstate->c_stack_init_base = 0;
 1629|      2|    _tstate->c_stack_init_top = 0;
 1630|       |
 1631|      2|    _tstate->asyncio_running_loop = NULL;
 1632|      2|    _tstate->asyncio_running_task = NULL;
 1633|       |
 1634|       |#ifdef _Py_TIER2
 1635|       |    _tstate->jit_tracer_state = NULL;
 1636|       |#endif
 1637|      2|    tstate->delete_later = NULL;
 1638|       |
 1639|      2|    llist_init(&_tstate->mem_free_queue);
 1640|      2|    llist_init(&_tstate->asyncio_tasks_head);
 1641|      2|    if (interp->stoptheworld.requested || _PyRuntime.stoptheworld.requested) {
  ------------------
  |  Branch (1641:9): [True: 0, False: 2]
  |  Branch (1641:43): [True: 0, False: 2]
  ------------------
 1642|       |        // Start in the suspended state if there is an ongoing stop-the-world.
 1643|      0|        tstate->state = _Py_THREAD_SUSPENDED;
  ------------------
  |  |   46|      0|#define _Py_THREAD_SUSPENDED            2
  ------------------
 1644|      0|    }
 1645|       |
 1646|      2|    tstate->_status.initialized = 1;
 1647|      2|}
pystate.c:add_threadstate:
 1652|      2|{
 1653|      2|    assert(interp->threads.head != tstate);
  ------------------
  |  Branch (1653:5): [True: 2, False: 0]
  ------------------
 1654|      2|    if (next != NULL) {
  ------------------
  |  Branch (1654:9): [True: 0, False: 2]
  ------------------
 1655|      0|        assert(next->prev == NULL || next->prev == tstate);
  ------------------
  |  Branch (1655:9): [True: 0, False: 0]
  |  Branch (1655:9): [True: 0, False: 0]
  ------------------
 1656|      0|        next->prev = tstate;
 1657|      0|    }
 1658|      2|    tstate->next = next;
 1659|      2|    assert(tstate->prev == NULL);
  ------------------
  |  Branch (1659:5): [True: 2, False: 0]
  ------------------
 1660|      2|    interp->threads.head = tstate;
 1661|      2|}
pystate.c:bind_tstate:
  165|      2|{
  166|      2|    assert(tstate != NULL);
  ------------------
  |  Branch (166:5): [True: 2, False: 0]
  ------------------
  167|      2|    assert(tstate_is_alive(tstate) && !tstate->_status.bound);
  ------------------
  |  Branch (167:5): [True: 2, False: 0]
  |  Branch (167:5): [True: 2, False: 0]
  ------------------
  168|      2|    assert(!tstate->_status.unbound);  // just in case
  ------------------
  |  Branch (168:5): [True: 2, False: 0]
  ------------------
  169|      2|    assert(!tstate->_status.bound_gilstate);
  ------------------
  |  Branch (169:5): [True: 2, False: 0]
  ------------------
  170|      2|    assert(tstate != gilstate_get());
  ------------------
  |  Branch (170:5): [True: 2, False: 0]
  ------------------
  171|      2|    assert(!tstate->_status.active);
  ------------------
  |  Branch (171:5): [True: 2, False: 0]
  ------------------
  172|      2|    assert(tstate->thread_id == 0);
  ------------------
  |  Branch (172:5): [True: 2, False: 0]
  ------------------
  173|      2|    assert(tstate->native_thread_id == 0);
  ------------------
  |  Branch (173:5): [True: 2, False: 0]
  ------------------
  174|       |
  175|       |    // Currently we don't necessarily store the thread state
  176|       |    // in thread-local storage (e.g. per-interpreter).
  177|       |
  178|      2|    tstate->thread_id = PyThread_get_thread_ident();
  179|      2|#ifdef PY_HAVE_THREAD_NATIVE_ID
  180|      2|    tstate->native_thread_id = PyThread_get_thread_native_id();
  181|      2|#endif
  182|       |
  183|       |#ifdef Py_GIL_DISABLED
  184|       |    // Initialize biased reference counting inter-thread queue. Note that this
  185|       |    // needs to be initialized from the active thread.
  186|       |    _Py_brc_init_thread(tstate);
  187|       |#endif
  188|       |
  189|       |    // mimalloc state needs to be initialized from the active thread.
  190|      2|    tstate_mimalloc_bind(tstate);
  191|       |
  192|      2|    tstate->_status.bound = 1;
  193|      2|}
pystate.c:tstate_is_alive:
 1459|      4|{
 1460|      4|    return (tstate->_status.initialized &&
  ------------------
  |  Branch (1460:13): [True: 4, False: 0]
  ------------------
 1461|      4|            !tstate->_status.finalized &&
  ------------------
  |  Branch (1461:13): [True: 4, False: 0]
  ------------------
 1462|      4|            !tstate->_status.cleared &&
  ------------------
  |  Branch (1462:13): [True: 4, False: 0]
  ------------------
 1463|      4|            !tstate->_status.finalizing);
  ------------------
  |  Branch (1463:13): [True: 4, False: 0]
  ------------------
 1464|      4|}
pystate.c:tstate_mimalloc_bind:
 3319|      2|{
 3320|       |#ifdef Py_GIL_DISABLED
 3321|       |    struct _mimalloc_thread_state *mts = &((_PyThreadStateImpl*)tstate)->mimalloc;
 3322|       |
 3323|       |    // Initialize the mimalloc thread state. This must be called from the
 3324|       |    // same thread that will use the thread state. The "mem" heap doubles as
 3325|       |    // the "backing" heap.
 3326|       |    mi_tld_t *tld = &mts->tld;
 3327|       |    _mi_tld_init(tld, &mts->heaps[_Py_MIMALLOC_HEAP_MEM]);
 3328|       |    llist_init(&mts->page_list);
 3329|       |
 3330|       |    // Exiting threads push any remaining in-use segments to the abandoned
 3331|       |    // pool to be re-claimed later by other threads. We use per-interpreter
 3332|       |    // pools to keep Python objects from different interpreters separate.
 3333|       |    tld->segments.abandoned = &tstate->interp->mimalloc.abandoned_pool;
 3334|       |
 3335|       |    // Don't fill in the first N bytes up to ob_type in debug builds. We may
 3336|       |    // access ob_tid and the refcount fields in the dict and list lock-less
 3337|       |    // accesses, so they must remain valid for a while after deallocation.
 3338|       |    size_t base_offset = offsetof(PyObject, ob_type);
 3339|       |    if (_PyMem_DebugEnabled()) {
 3340|       |        // The debug allocator adds two words at the beginning of each block.
 3341|       |        base_offset += 2 * sizeof(size_t);
 3342|       |    }
 3343|       |    size_t debug_offsets[_Py_MIMALLOC_HEAP_COUNT] = {
 3344|       |        [_Py_MIMALLOC_HEAP_OBJECT] = base_offset,
 3345|       |        [_Py_MIMALLOC_HEAP_GC] = base_offset,
 3346|       |        [_Py_MIMALLOC_HEAP_GC_PRE] = base_offset + 2 * sizeof(PyObject *),
 3347|       |    };
 3348|       |
 3349|       |    // Initialize each heap
 3350|       |    for (uint8_t i = 0; i < _Py_MIMALLOC_HEAP_COUNT; i++) {
 3351|       |        _mi_heap_init_ex(&mts->heaps[i], tld, _mi_arena_id_none(), false, i);
 3352|       |        mts->heaps[i].debug_offset = (uint8_t)debug_offsets[i];
 3353|       |    }
 3354|       |
 3355|       |    // Heaps that store Python objects should use QSBR to delay freeing
 3356|       |    // mimalloc pages while there may be concurrent lock-free readers.
 3357|       |    mts->heaps[_Py_MIMALLOC_HEAP_OBJECT].page_use_qsbr = true;
 3358|       |    mts->heaps[_Py_MIMALLOC_HEAP_GC].page_use_qsbr = true;
 3359|       |    mts->heaps[_Py_MIMALLOC_HEAP_GC_PRE].page_use_qsbr = true;
 3360|       |
 3361|       |    // By default, object allocations use _Py_MIMALLOC_HEAP_OBJECT.
 3362|       |    // _PyObject_GC_New() and similar functions temporarily override this to
 3363|       |    // use one of the GC heaps.
 3364|       |    mts->current_object_heap = &mts->heaps[_Py_MIMALLOC_HEAP_OBJECT];
 3365|       |
 3366|       |    _Py_atomic_store_int(&mts->initialized, 1);
 3367|       |#endif
 3368|      2|}
pystate.c:gilstate_get:
  130|  1.25k|{
  131|  1.25k|    return _Py_tss_gilstate;
  132|  1.25k|}
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.48k|{
  154|  2.48k|    return tstate->_status.bound && !tstate->_status.unbound;
  ------------------
  |  Branch (154:12): [True: 2.48k, False: 0]
  |  Branch (154:37): [True: 2.48k, False: 0]
  ------------------
  155|  2.48k|}
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.24k|{
  102|  1.24k|    _Py_tss_tstate = NULL;
  103|       |    _Py_tss_interp = NULL;
  104|  1.24k|}
pystate.c:current_fast_set:
   92|  1.24k|{
   93|  1.24k|    assert(tstate != NULL);
  ------------------
  |  Branch (93:5): [True: 1.24k, False: 0]
  ------------------
   94|  1.24k|    _Py_tss_tstate = tstate;
   95|  1.24k|    assert(tstate->interp != NULL);
  ------------------
  |  Branch (95:5): [True: 1.24k, False: 0]
  ------------------
   96|  1.24k|    _Py_tss_interp = tstate->interp;
   97|  1.24k|}
pystate.c:tstate_try_attach:
 2216|  1.24k|{
 2217|       |#ifdef Py_GIL_DISABLED
 2218|       |    int expected = _Py_THREAD_DETACHED;
 2219|       |    return _Py_atomic_compare_exchange_int(&tstate->state,
 2220|       |                                           &expected,
 2221|       |                                           _Py_THREAD_ATTACHED);
 2222|       |#else
 2223|  1.24k|    assert(tstate->state == _Py_THREAD_DETACHED);
  ------------------
  |  Branch (2223:5): [True: 1.24k, False: 0]
  ------------------
 2224|  1.24k|    tstate->state = _Py_THREAD_ATTACHED;
  ------------------
  |  |   45|  1.24k|#define _Py_THREAD_ATTACHED             1
  ------------------
 2225|  1.24k|    return 1;
 2226|  1.24k|#endif
 2227|  1.24k|}
pystate.c:tstate_activate:
 2181|  1.24k|{
 2182|  1.24k|    assert(tstate != NULL);
  ------------------
  |  Branch (2182:5): [True: 1.24k, False: 0]
  ------------------
 2183|       |    // XXX assert(tstate_is_alive(tstate));
 2184|  1.24k|    assert(tstate_is_bound(tstate));
  ------------------
  |  Branch (2184:5): [True: 1.24k, False: 0]
  ------------------
 2185|  1.24k|    assert(!tstate->_status.active);
  ------------------
  |  Branch (2185:5): [True: 1.24k, False: 0]
  ------------------
 2186|       |
 2187|  1.24k|    assert(!tstate->_status.bound_gilstate ||
  ------------------
  |  Branch (2187:5): [True: 0, False: 1.24k]
  |  Branch (2187:5): [True: 1.24k, False: 0]
  ------------------
 2188|  1.24k|           tstate == gilstate_get());
 2189|  1.24k|    if (!tstate->_status.bound_gilstate) {
  ------------------
  |  Branch (2189:9): [True: 0, False: 1.24k]
  ------------------
 2190|      0|        bind_gilstate_tstate(tstate);
 2191|      0|    }
 2192|       |
 2193|  1.24k|    tstate->_status.active = 1;
 2194|  1.24k|}
pystate.c:detach_thread:
 2351|  1.24k|{
 2352|       |    // XXX assert(tstate_is_alive(tstate) && tstate_is_bound(tstate));
 2353|  1.24k|    assert(_Py_atomic_load_int_relaxed(&tstate->state) == _Py_THREAD_ATTACHED);
  ------------------
  |  Branch (2353:5): [True: 1.24k, False: 0]
  ------------------
 2354|  1.24k|    assert(tstate == current_fast_get());
  ------------------
  |  Branch (2354:5): [True: 1.24k, False: 0]
  ------------------
 2355|  1.24k|    if (tstate->critical_section != 0) {
  ------------------
  |  Branch (2355:9): [True: 0, False: 1.24k]
  ------------------
 2356|      0|        _PyCriticalSection_SuspendAll(tstate);
 2357|      0|    }
 2358|       |#ifdef Py_GIL_DISABLED
 2359|       |    _Py_qsbr_detach(((_PyThreadStateImpl *)tstate)->qsbr);
 2360|       |#endif
 2361|  1.24k|    tstate_deactivate(tstate);
 2362|  1.24k|    tstate_set_detached(tstate, detached_state);
 2363|  1.24k|    current_fast_clear(&_PyRuntime);
 2364|  1.24k|    _PyEval_ReleaseLock(tstate->interp, tstate, 0);
 2365|  1.24k|}
pystate.c:tstate_deactivate:
 2198|  1.24k|{
 2199|  1.24k|    assert(tstate != NULL);
  ------------------
  |  Branch (2199:5): [True: 1.24k, False: 0]
  ------------------
 2200|       |    // XXX assert(tstate_is_alive(tstate));
 2201|  1.24k|    assert(tstate_is_bound(tstate));
  ------------------
  |  Branch (2201:5): [True: 1.24k, False: 0]
  ------------------
 2202|  1.24k|    assert(tstate->_status.active);
  ------------------
  |  Branch (2202:5): [True: 1.24k, False: 0]
  ------------------
 2203|       |
 2204|       |#if Py_STATS
 2205|       |    _PyStats_Detach((_PyThreadStateImpl *)tstate);
 2206|       |#endif
 2207|       |
 2208|  1.24k|    tstate->_status.active = 0;
 2209|       |
 2210|       |    // We do not unbind the gilstate tstate here.
 2211|       |    // It will still be used in PyGILState_Ensure().
 2212|  1.24k|}
pystate.c:tstate_set_detached:
 2247|  1.24k|{
 2248|  1.24k|    assert(_Py_atomic_load_int_relaxed(&tstate->state) == _Py_THREAD_ATTACHED);
  ------------------
  |  Branch (2248:5): [True: 1.24k, False: 0]
  ------------------
 2249|       |#ifdef Py_GIL_DISABLED
 2250|       |    _Py_atomic_store_int(&tstate->state, detached_state);
 2251|       |#else
 2252|  1.24k|    tstate->state = detached_state;
 2253|  1.24k|#endif
 2254|  1.24k|}
pystate.c:push_chunk:
 3198|      2|{
 3199|      2|    int allocate_size = _PY_DATA_STACK_CHUNK_SIZE;
  ------------------
  |  |   65|      2|#define _PY_DATA_STACK_CHUNK_SIZE (16*1024)
  ------------------
 3200|      2|    while (allocate_size < (int)sizeof(PyObject*)*(size + MINIMUM_OVERHEAD)) {
  ------------------
  |  | 3194|      2|#define MINIMUM_OVERHEAD 1000
  ------------------
  |  Branch (3200:12): [True: 0, False: 2]
  ------------------
 3201|      0|        allocate_size *= 2;
 3202|      0|    }
 3203|      2|    _PyStackChunk *new;
 3204|      2|    if (tstate->datastack_cached_chunk != NULL
  ------------------
  |  Branch (3204:9): [True: 0, False: 2]
  ------------------
 3205|      0|        && (size_t)allocate_size <= tstate->datastack_cached_chunk->size)
  ------------------
  |  Branch (3205:12): [True: 0, False: 0]
  ------------------
 3206|      0|    {
 3207|      0|        new = tstate->datastack_cached_chunk;
 3208|      0|        tstate->datastack_cached_chunk = NULL;
 3209|      0|        new->previous = tstate->datastack_chunk;
 3210|      0|        new->top = 0;
 3211|      0|    }
 3212|      2|    else {
 3213|      2|        new = allocate_chunk(allocate_size, tstate->datastack_chunk);
 3214|      2|        if (new == NULL) {
  ------------------
  |  Branch (3214:13): [True: 0, False: 2]
  ------------------
 3215|      0|            return NULL;
 3216|      0|        }
 3217|      2|    }
 3218|      2|    if (tstate->datastack_chunk) {
  ------------------
  |  Branch (3218:9): [True: 0, False: 2]
  ------------------
 3219|      0|        tstate->datastack_chunk->top = tstate->datastack_top -
 3220|      0|                                       &tstate->datastack_chunk->data[0];
 3221|      0|    }
 3222|      2|    tstate->datastack_chunk = new;
 3223|      2|    tstate->datastack_limit = (PyObject **)(((char *)new) + allocate_size);
 3224|       |    // When new is the "root" chunk (i.e. new->previous == NULL), we can keep
 3225|       |    // _PyThreadState_PopFrame from freeing it later by "skipping" over the
 3226|       |    // first element:
 3227|       |    PyObject **res = &new->data[new->previous == NULL];
 3228|      2|    tstate->datastack_top = res + size;
 3229|      2|    return res;
 3230|      2|}
pystate.c:allocate_chunk:
 1474|      2|{
 1475|      2|    assert(size_in_bytes % sizeof(PyObject **) == 0);
  ------------------
  |  Branch (1475:5): [True: 2, False: 0]
  ------------------
 1476|      2|    _PyStackChunk *res = _PyObject_VirtualAlloc(size_in_bytes);
 1477|      2|    if (res == NULL) {
  ------------------
  |  Branch (1477:9): [True: 0, False: 2]
  ------------------
 1478|      0|        return NULL;
 1479|      0|    }
 1480|      2|    res->previous = previous;
 1481|      2|    res->size = size_in_bytes;
 1482|      2|    res->top = 0;
 1483|      2|    return res;
 1484|      2|}

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

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

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

_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|    125|{
  557|    125|    PyTime_t ns = _PyTime_Mul(us, US_TO_NS);
  ------------------
  |  |   33|    125|#define US_TO_NS 1000
  ------------------
  558|    125|    return ns;
  559|    125|}
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|    125|{
  174|    125|    (void)pytime_mul(&t, k);
  175|    125|    return t;
  176|    125|}
pytime.c:pytime_mul:
  157|    141|{
  158|    141|    assert(k >= 0);
  ------------------
  |  Branch (158:5): [True: 141, False: 0]
  ------------------
  159|    141|    if (pytime_mul_check_overflow(*t, k)) {
  ------------------
  |  Branch (159:9): [True: 0, False: 141]
  ------------------
  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|    141|    else {
  164|    141|        *t *= k;
  165|    141|        return 0;
  166|    141|    }
  167|    141|}
pytime.c:pytime_mul_check_overflow:
  143|    141|{
  144|    141|    if (b != 0) {
  ------------------
  |  Branch (144:9): [True: 141, False: 0]
  ------------------
  145|    141|        assert(b > 0);
  ------------------
  |  Branch (145:9): [True: 141, False: 0]
  ------------------
  146|    141|        return ((a < PyTime_MIN / b) || (PyTime_MAX / b < a));
  ------------------
  |  |   11|    141|#define PyTime_MIN INT64_MIN
  ------------------
                      return ((a < PyTime_MIN / b) || (PyTime_MAX / b < a));
  ------------------
  |  |   12|    141|#define PyTime_MAX INT64_MAX
  ------------------
  |  Branch (146:17): [True: 0, False: 141]
  |  Branch (146:41): [True: 0, False: 141]
  ------------------
  147|    141|    }
  148|      0|    else {
  149|      0|        return 0;
  150|      0|    }
  151|    141|}
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|    190|{
   62|    190|    init_with_kind(it, slots, kind, kind);
   63|    190|}
_PySlotIterator_Rewind:
   67|    122|{
   68|    122|    MSG("");
   69|    122|    MSG("rewind (%s slot iterator)", kind_name(it->kind));
   70|    122|    assert (it->is_at_end);
  ------------------
  |  Branch (70:5): [True: 122, False: 0]
  ------------------
   71|    122|    assert (it->recursion_level == 0);
  ------------------
  |  Branch (71:5): [True: 122, False: 0]
  ------------------
   72|    122|    assert (it->state == it->states);
  ------------------
  |  Branch (72:5): [True: 122, False: 0]
  ------------------
   73|    122|    it->is_at_end = false;
   74|    122|    it->state->any_slot = slots;
   75|       |    it->is_first_run = false;
   76|    122|}
_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.48k|{
  117|  2.48k|    MSG("next");
  118|  2.48k|    assert(it);
  ------------------
  |  Branch (118:5): [True: 2.48k, False: 0]
  ------------------
  119|  2.48k|    assert(!it->is_at_end);
  ------------------
  |  Branch (119:5): [True: 2.48k, False: 0]
  ------------------
  120|  2.48k|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (120:5): [True: 2.48k, False: 0]
  ------------------
  121|       |
  122|  2.48k|    it->current.sl_id = -1;
  123|       |
  124|  2.79k|    while (true) {
  ------------------
  |  Branch (124:12): [True: 2.79k, Folded]
  ------------------
  125|  2.79k|        if (it->state->slot == NULL) {
  ------------------
  |  Branch (125:13): [True: 312, False: 2.48k]
  ------------------
  126|    312|            if (it->recursion_level == 0) {
  ------------------
  |  Branch (126:17): [True: 312, False: 0]
  ------------------
  127|    312|                MSG("end (initial nesting level done)");
  128|    312|                it->is_at_end = true;
  129|    312|                return 0;
  130|    312|            }
  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|    312|        }
  137|       |
  138|  2.48k|        switch (it->state->slot_struct_kind) {
  139|      0|            case _PySlot_KIND_SLOT: {
  ------------------
  |  Branch (139:13): [True: 0, False: 2.48k]
  ------------------
  140|      0|                MSG("copying PySlot structure");
  141|      0|                it->current = *it->state->slot;
  142|      0|            } break;
  143|  2.15k|            case _PySlot_KIND_TYPE: {
  ------------------
  |  Branch (143:13): [True: 2.15k, False: 328]
  ------------------
  144|  2.15k|                MSG("converting PyType_Slot structure");
  145|  2.15k|                memset(&it->current, 0, sizeof(it->current));
  146|  2.15k|                it->current.sl_id = (uint16_t)it->state->tp_slot->slot;
  147|  2.15k|                it->current.sl_flags = PySlot_INTPTR;
  ------------------
  |  |   23|  2.15k|#define PySlot_INTPTR 0x0004
  ------------------
  148|  2.15k|                it->current.sl_ptr = (void*)it->state->tp_slot->pfunc;
  149|  2.15k|            } break;
  150|    328|            case _PySlot_KIND_MOD: {
  ------------------
  |  Branch (150:13): [True: 328, False: 2.15k]
  ------------------
  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.48k]
  ------------------
  158|      0|                Py_UNREACHABLE();
  ------------------
  |  |  289|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  159|      0|            } break;
  160|  2.48k|        }
  161|       |
  162|       |        /* shorter local names */
  163|  2.48k|        PySlot *const result = &it->current;
  164|  2.48k|        uint16_t flags = result->sl_flags;
  165|       |
  166|  2.48k|        MSG("slot %d, flags 0x%x, from %p",
  167|  2.48k|            (int)result->sl_id, (unsigned)flags, it->state->slot);
  168|       |
  169|  2.48k|        uint16_t orig_id = result->sl_id;
  170|  2.48k|        switch (it->kind) {
  171|  2.15k|            case _PySlot_KIND_TYPE:
  ------------------
  |  Branch (171:13): [True: 2.15k, False: 328]
  ------------------
  172|  2.15k|                result->sl_id = _PySlot_resolve_type_slot(result->sl_id);
  173|  2.15k|                break;
  174|    328|            case _PySlot_KIND_MOD:
  ------------------
  |  Branch (174:13): [True: 328, False: 2.15k]
  ------------------
  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.48k]
  ------------------
  178|      0|                Py_UNREACHABLE();
  ------------------
  |  |  289|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  179|  2.48k|        }
  180|  2.48k|        MSG("resolved to slot %d (%s)",
  181|  2.48k|            (int)result->sl_id, _PySlot_GetName(result->sl_id));
  182|       |
  183|  2.48k|        if (result->sl_id == Py_slot_invalid) {
  ------------------
  |  |   25|  2.48k|#define Py_slot_invalid 0xffff
  ------------------
  |  Branch (183:13): [True: 0, False: 2.48k]
  ------------------
  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.48k|        if (result->sl_id == Py_slot_end) {
  ------------------
  |  |   12|  2.48k|#define Py_slot_end 0
  ------------------
  |  Branch (192:13): [True: 312, False: 2.17k]
  ------------------
  193|    312|            MSG("sentinel slot, flags %x", (unsigned)flags);
  194|    312|            if (flags & PySlot_OPTIONAL) {
  ------------------
  |  |   21|    312|#define PySlot_OPTIONAL 0x0001
  ------------------
  |  Branch (194:17): [True: 0, False: 312]
  ------------------
  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|    312|            it->state->slot = NULL;
  202|    312|            continue;
  203|    312|        }
  204|       |
  205|  2.17k|        if (result->sl_id == Py_slot_subslots
  ------------------
  |  |  100|  4.34k|#define Py_slot_subslots 92
  ------------------
  |  Branch (205:13): [True: 0, False: 2.17k]
  ------------------
  206|  2.17k|            || result->sl_id == Py_tp_slots
  ------------------
  |  |  101|  4.34k|#define Py_tp_slots 93
  ------------------
  |  Branch (206:16): [True: 0, False: 2.17k]
  ------------------
  207|  2.17k|            || result->sl_id == Py_mod_slots
  ------------------
  |  |  102|  2.17k|#define Py_mod_slots 94
  ------------------
  |  Branch (207:16): [True: 0, False: 2.17k]
  ------------------
  208|  2.17k|        ) {
  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.17k|        if (flags & PySlot_INTPTR) {
  ------------------
  |  |   23|  2.17k|#define PySlot_INTPTR 0x0004
  ------------------
  |  Branch (245:13): [True: 2.17k, False: 0]
  ------------------
  246|  2.17k|            MSG("casting from intptr");
  247|       |            /* this should compile to nothing on common architectures */
  248|  2.17k|            switch (_PySlot_get_dtype(result->sl_id)) {
  ------------------
  |  Branch (248:21): [True: 2.17k, False: 0]
  ------------------
  249|      0|                case _PySlot_DTYPE_SIZE: {
  ------------------
  |  Branch (249:17): [True: 0, False: 2.17k]
  ------------------
  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.17k]
  ------------------
  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|    658|                case _PySlot_DTYPE_PTR:
  ------------------
  |  Branch (258:17): [True: 658, False: 1.51k]
  ------------------
  259|  2.03k|                case _PySlot_DTYPE_FUNC:
  ------------------
  |  Branch (259:17): [True: 1.38k, False: 794]
  ------------------
  260|  2.03k|                case _PySlot_DTYPE_VOID:
  ------------------
  |  Branch (260:17): [True: 0, False: 2.17k]
  ------------------
  261|  2.03k|                    break;
  262|  2.17k|            }
  263|  2.17k|        }
  264|       |
  265|  2.17k|        advance(it);
  266|  2.17k|        switch (_PySlot_get_dtype(result->sl_id)) {
  ------------------
  |  Branch (266:17): [True: 2.17k, False: 0]
  ------------------
  267|      0|            case _PySlot_DTYPE_VOID:
  ------------------
  |  Branch (267:13): [True: 0, False: 2.17k]
  ------------------
  268|    658|            case _PySlot_DTYPE_PTR:
  ------------------
  |  Branch (268:13): [True: 658, False: 1.51k]
  ------------------
  269|    658|                MSG("result: %d (%s): %p",
  270|    658|                    (int)result->sl_id, _PySlot_GetName(result->sl_id),
  271|    658|                    (void*)result->sl_ptr);
  272|    658|                break;
  273|  1.38k|            case _PySlot_DTYPE_FUNC:
  ------------------
  |  Branch (273:13): [True: 1.38k, False: 794]
  ------------------
  274|  1.38k|                MSG("result: %d (%s): %p",
  275|  1.38k|                    (int)result->sl_id, _PySlot_GetName(result->sl_id),
  276|  1.38k|                    (void*)result->sl_func);
  277|  1.38k|                break;
  278|      0|            case _PySlot_DTYPE_SIZE:
  ------------------
  |  Branch (278:13): [True: 0, False: 2.17k]
  ------------------
  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.17k]
  ------------------
  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.17k|        }
  295|  2.17k|        assert (result->sl_id > 0);
  ------------------
  |  Branch (295:9): [True: 2.17k, False: 0]
  ------------------
  296|  2.17k|        assert (result->sl_id <= _Py_slot_COUNT);
  ------------------
  |  Branch (296:9): [True: 2.17k, False: 0]
  ------------------
  297|  2.17k|        if (it->is_first_run && (handle_first_run(it) < 0)) {
  ------------------
  |  Branch (297:13): [True: 1.21k, False: 957]
  |  Branch (297:33): [True: 0, False: 1.21k]
  ------------------
  298|      0|            goto error;
  299|      0|        }
  300|  2.17k|        return result->sl_id != Py_slot_end;
  ------------------
  |  |   12|  2.17k|#define Py_slot_end 0
  ------------------
  301|  2.17k|    }
  302|  2.48k|    Py_UNREACHABLE();
  ------------------
  |  |  289|      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.48k|}
slots.c:init_with_kind:
   36|    190|{
   37|    190|    MSG("");
   38|    190|    MSG("init (%s slot iterator)", kind_name(result_kind));
   39|    190|    it->state = it->states;
   40|    190|    it->state->any_slot = slots;
   41|    190|    it->state->slot_struct_kind = slot_struct_kind;
   42|    190|    it->kind = result_kind;
   43|    190|    it->name = NULL;
   44|    190|    it->recursion_level = 0;
   45|    190|    it->is_at_end = false;
   46|       |    it->is_first_run = true;
   47|    190|    it->current.sl_id = 0;
   48|    190|    memset(it->seen, 0, sizeof(it->seen));
   49|    190|}
slots.c:seen_index:
   80|  2.43k|{
   81|  2.43k|    return id / _PySlot_SEEN_ENTRY_BITS;
  ------------------
  |  |   53|  2.43k|#define _PySlot_SEEN_ENTRY_BITS (8 * sizeof(unsigned int))
  ------------------
   82|  2.43k|}
slots.c:seen_mask:
   86|  2.43k|{
   87|  2.43k|    return ((unsigned int)1) << (id % _PySlot_SEEN_ENTRY_BITS);
  ------------------
  |  |   53|  2.43k|#define _PySlot_SEEN_ENTRY_BITS (8 * sizeof(unsigned int))
  ------------------
   88|  2.43k|}
slots.c:advance:
  101|  2.17k|{
  102|  2.17k|    MSG("advance (at level %d)", (int)it->recursion_level);
  103|  2.17k|    switch (it->state->slot_struct_kind) {
  104|      0|        case _PySlot_KIND_SLOT: it->state->slot++; break;
  ------------------
  |  Branch (104:9): [True: 0, False: 2.17k]
  ------------------
  105|  1.91k|        case _PySlot_KIND_TYPE: it->state->tp_slot++; break;
  ------------------
  |  Branch (105:9): [True: 1.91k, False: 260]
  ------------------
  106|    260|        case _PySlot_KIND_MOD: it->state->mod_slot++; break;
  ------------------
  |  Branch (106:9): [True: 260, False: 1.91k]
  ------------------
  107|      0|        default:
  ------------------
  |  Branch (107:9): [True: 0, False: 2.17k]
  ------------------
  108|      0|            Py_UNREACHABLE();
  ------------------
  |  |  289|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  109|  2.17k|    }
  110|  2.17k|}
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: 201, False: 1.01k]
  ------------------
  316|    201|        if (!(it->current.sl_flags & PySlot_STATIC)
  ------------------
  |  |   22|    201|#define PySlot_STATIC 0x0002
  ------------------
  |  Branch (316:13): [True: 201, False: 0]
  ------------------
  317|    201|            && (it->state->slot_struct_kind == _PySlot_KIND_SLOT))
  ------------------
  |  Branch (317:16): [True: 0, False: 201]
  ------------------
  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|    201|    }
  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: 983, False: 234]
  ------------------
  329|    983|        bool is_null = false;
  330|    983|        switch (_PySlot_get_dtype(id)) {
  331|    261|            case _PySlot_DTYPE_PTR: {
  ------------------
  |  Branch (331:13): [True: 261, False: 722]
  ------------------
  332|    261|                is_null = it->current.sl_ptr == NULL;
  333|    261|            } break;
  334|    722|            case _PySlot_DTYPE_FUNC: {
  ------------------
  |  Branch (334:13): [True: 722, False: 261]
  ------------------
  335|    722|                is_null = it->current.sl_func == NULL;
  336|    722|            } break;
  337|      0|            default: {
  ------------------
  |  Branch (337:13): [True: 0, False: 983]
  ------------------
  338|       |                //Py_UNREACHABLE();
  339|      0|            } break;
  340|    983|        }
  341|    983|        if (is_null) {
  ------------------
  |  Branch (341:13): [True: 0, False: 983]
  ------------------
  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|    983|    }
  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.09k, False: 124]
  ------------------
  369|  1.09k|        if (_PySlotIterator_SawSlot(it, id)) {
  ------------------
  |  Branch (369:13): [True: 0, False: 1.09k]
  ------------------
  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.09k|    }
  402|  1.21k|    it->seen[seen_index(id)] |= seen_mask(id);
  403|  1.21k|    return 0;
  404|  1.21k|}

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

_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);
  ------------------
  |  |  238|      0|#define _Py_SIZE_ROUND_UP(n, a) (((size_t)(n) + \
  |  |  239|      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));
  ------------------
  |  |  176|      0|#define FT_ATOMIC_LOAD_CHAR_RELAXED(value) value
  ------------------
   50|      0|        break;
   51|      0|    case Py_T_BYTE:
  ------------------
  |  |   62|      0|#define Py_T_BYTE      8   /* 8-bit signed int */
  ------------------
  |  Branch (51:5): [True: 0, False: 138]
  ------------------
   52|      0|        v = PyLong_FromLong(FT_ATOMIC_LOAD_CHAR_RELAXED(*(char*)addr));
  ------------------
  |  |  176|      0|#define FT_ATOMIC_LOAD_CHAR_RELAXED(value) value
  ------------------
   53|      0|        break;
   54|      0|    case Py_T_UBYTE:
  ------------------
  |  |   64|      0|#define Py_T_UBYTE     9
  ------------------
  |  Branch (54:5): [True: 0, False: 138]
  ------------------
   55|      0|        v = PyLong_FromUnsignedLong(FT_ATOMIC_LOAD_UCHAR_RELAXED(*(unsigned char*)addr));
  ------------------
  |  |  178|      0|#define FT_ATOMIC_LOAD_UCHAR_RELAXED(value) value
  ------------------
   56|      0|        break;
   57|      0|    case Py_T_SHORT:
  ------------------
  |  |   53|      0|#define Py_T_SHORT     0
  ------------------
  |  Branch (57:5): [True: 0, False: 138]
  ------------------
   58|      0|        v = PyLong_FromLong(FT_ATOMIC_LOAD_SHORT_RELAXED(*(short*)addr));
  ------------------
  |  |  180|      0|#define FT_ATOMIC_LOAD_SHORT_RELAXED(value) value
  ------------------
   59|      0|        break;
   60|      0|    case Py_T_USHORT:
  ------------------
  |  |   65|      0|#define Py_T_USHORT    10
  ------------------
  |  Branch (60:5): [True: 0, False: 138]
  ------------------
   61|      0|        v = PyLong_FromUnsignedLong(FT_ATOMIC_LOAD_USHORT_RELAXED(*(unsigned short*)addr));
  ------------------
  |  |  182|      0|#define FT_ATOMIC_LOAD_USHORT_RELAXED(value) value
  ------------------
   62|      0|        break;
   63|      0|    case Py_T_INT:
  ------------------
  |  |   54|      0|#define Py_T_INT       1
  ------------------
  |  Branch (63:5): [True: 0, False: 138]
  ------------------
   64|      0|        v = PyLong_FromLong(FT_ATOMIC_LOAD_INT_RELAXED(*(int*)addr));
  ------------------
  |  |  186|      0|#define FT_ATOMIC_LOAD_INT_RELAXED(value) value
  ------------------
   65|      0|        break;
   66|      0|    case Py_T_UINT:
  ------------------
  |  |   66|      0|#define Py_T_UINT      11
  ------------------
  |  Branch (66:5): [True: 0, False: 138]
  ------------------
   67|      0|        v = PyLong_FromUnsignedLong(FT_ATOMIC_LOAD_UINT_RELAXED(*(unsigned int*)addr));
  ------------------
  |  |  189|      0|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  ------------------
   68|      0|        break;
   69|      0|    case Py_T_LONG:
  ------------------
  |  |   55|      0|#define Py_T_LONG      2
  ------------------
  |  Branch (69:5): [True: 0, False: 138]
  ------------------
   70|      0|        v = PyLong_FromLong(FT_ATOMIC_LOAD_LONG_RELAXED(*(long*)addr));
  ------------------
  |  |  191|      0|#define FT_ATOMIC_LOAD_LONG_RELAXED(value) value
  ------------------
   71|      0|        break;
   72|      0|    case Py_T_ULONG:
  ------------------
  |  |   67|      0|#define Py_T_ULONG     12
  ------------------
  |  Branch (72:5): [True: 0, False: 138]
  ------------------
   73|      0|        v = PyLong_FromUnsignedLong(FT_ATOMIC_LOAD_ULONG_RELAXED(*(unsigned long*)addr));
  ------------------
  |  |  162|      0|#define FT_ATOMIC_LOAD_ULONG_RELAXED(value) value
  ------------------
   74|      0|        break;
   75|      0|    case Py_T_PYSSIZET:
  ------------------
  |  |   79|      0|#define Py_T_PYSSIZET  19      /* Py_ssize_t */
  ------------------
  |  Branch (75:5): [True: 0, False: 138]
  ------------------
   76|      0|        v = PyLong_FromSsize_t(FT_ATOMIC_LOAD_SSIZE_RELAXED(*(Py_ssize_t*)addr));
  ------------------
  |  |  149|      0|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
   77|      0|        break;
   78|      0|    case Py_T_FLOAT:
  ------------------
  |  |   56|      0|#define Py_T_FLOAT     3
  ------------------
  |  Branch (78:5): [True: 0, False: 138]
  ------------------
   79|      0|        v = PyFloat_FromDouble((double)FT_ATOMIC_LOAD_FLOAT_RELAXED(*(float*)addr));
  ------------------
  |  |  195|      0|#define FT_ATOMIC_LOAD_FLOAT_RELAXED(value) value
  ------------------
   80|      0|        break;
   81|      0|    case Py_T_DOUBLE:
  ------------------
  |  |   57|      0|#define Py_T_DOUBLE    4
  ------------------
  |  Branch (81:5): [True: 0, False: 138]
  ------------------
   82|      0|        v = PyFloat_FromDouble(FT_ATOMIC_LOAD_DOUBLE_RELAXED(*(double*)addr));
  ------------------
  |  |  197|      0|#define FT_ATOMIC_LOAD_DOUBLE_RELAXED(value) value
  ------------------
   83|      0|        break;
   84|      0|    case Py_T_STRING:
  ------------------
  |  |   58|      0|#define Py_T_STRING    5
  ------------------
  |  Branch (84:5): [True: 0, False: 138]
  ------------------
   85|      0|        if (*(char**)addr == NULL) {
  ------------------
  |  Branch (85:13): [True: 0, False: 0]
  ------------------
   86|      0|            v = Py_NewRef(Py_None);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   87|      0|        }
   88|      0|        else
   89|      0|            v = PyUnicode_FromString(*(char**)addr);
   90|      0|        break;
   91|      0|    case Py_T_STRING_INPLACE:
  ------------------
  |  |   70|      0|#define Py_T_STRING_INPLACE    13
  ------------------
  |  Branch (91:5): [True: 0, False: 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);
  ------------------
  |  |  176|      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);
  ------------------
  |  |  145|    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);
  ------------------
  |  |  514|     18|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  121|       |#else
  122|       |        if (v != NULL) {
  123|       |            if (!_Py_TryIncrefCompare((PyObject **) addr, v)) {
  124|       |                Py_BEGIN_CRITICAL_SECTION((PyObject *) obj_addr);
  125|       |                v = member_get_object(addr, obj_addr, l);
  126|       |                Py_XINCREF(v);
  127|       |                Py_END_CRITICAL_SECTION();
  128|       |            }
  129|       |        }
  130|       |#endif
  131|     18|        break;
  132|      0|    case Py_T_LONGLONG:
  ------------------
  |  |   76|      0|#define Py_T_LONGLONG  17
  ------------------
  |  Branch (132:5): [True: 0, False: 138]
  ------------------
  133|      0|        v = PyLong_FromLongLong(FT_ATOMIC_LOAD_LLONG_RELAXED(*(long long *)addr));
  ------------------
  |  |  199|      0|#define FT_ATOMIC_LOAD_LLONG_RELAXED(value) value
  ------------------
  134|      0|        break;
  135|      0|    case Py_T_ULONGLONG:
  ------------------
  |  |   77|      0|#define Py_T_ULONGLONG 18
  ------------------
  |  Branch (135:5): [True: 0, False: 138]
  ------------------
  136|      0|        v = PyLong_FromUnsignedLongLong(FT_ATOMIC_LOAD_ULLONG_RELAXED(*(unsigned long long *)addr));
  ------------------
  |  |  201|      0|#define FT_ATOMIC_LOAD_ULLONG_RELAXED(value) value
  ------------------
  137|      0|        break;
  138|      0|    case _Py_T_NONE:
  ------------------
  |  |   80|      0|#define _Py_T_NONE     20 // Deprecated. Value is always None.
  ------------------
  |  Branch (138:5): [True: 0, False: 138]
  ------------------
  139|       |        // doesn't require free-threading code path
  140|      0|        v = Py_NewRef(Py_None);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  141|      0|        break;
  142|      0|    default:
  ------------------
  |  Branch (142:5): [True: 0, False: 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);
  ------------------
  |  |  177|      0|#define FT_ATOMIC_STORE_CHAR_RELAXED(value, new_value) value = new_value
  ------------------
  188|      0|        else
  189|      0|            FT_ATOMIC_STORE_CHAR_RELAXED(*(char*)addr, 0);
  ------------------
  |  |  177|      0|#define FT_ATOMIC_STORE_CHAR_RELAXED(value, new_value) value = new_value
  ------------------
  190|      0|        break;
  191|      0|        }
  192|      0|    case Py_T_BYTE:{
  ------------------
  |  |   62|      0|#define Py_T_BYTE      8   /* 8-bit signed int */
  ------------------
  |  Branch (192:5): [True: 0, False: 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);
  ------------------
  |  |  177|      0|#define FT_ATOMIC_STORE_CHAR_RELAXED(value, new_value) value = new_value
  ------------------
  197|       |        /* XXX: For compatibility, only warn about truncations
  198|       |           for now. */
  199|      0|        if ((long_val > CHAR_MAX) || (long_val < CHAR_MIN))
  ------------------
  |  Branch (199:13): [True: 0, False: 0]
  |  Branch (199:38): [True: 0, False: 0]
  ------------------
  200|      0|            WARN("Truncation of value to char");
  ------------------
  |  |  150|      0|    do {                                                        \
  |  |  151|      0|    if (PyErr_WarnEx(PyExc_RuntimeWarning, msg, 1) < 0)         \
  |  |  ------------------
  |  |  |  Branch (151:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  152|      0|        return -1;                                              \
  |  |  153|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (153:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  201|      0|        break;
  202|      0|        }
  203|      0|    case Py_T_UBYTE:{
  ------------------
  |  |   64|      0|#define Py_T_UBYTE     9
  ------------------
  |  Branch (203:5): [True: 0, False: 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);
  ------------------
  |  |  179|      0|#define FT_ATOMIC_STORE_UCHAR_RELAXED(value, new_value) value = new_value
  ------------------
  208|      0|        if ((long_val > UCHAR_MAX) || (long_val < 0))
  ------------------
  |  Branch (208:13): [True: 0, False: 0]
  |  Branch (208:39): [True: 0, False: 0]
  ------------------
  209|      0|            WARN("Truncation of value to unsigned char");
  ------------------
  |  |  150|      0|    do {                                                        \
  |  |  151|      0|    if (PyErr_WarnEx(PyExc_RuntimeWarning, msg, 1) < 0)         \
  |  |  ------------------
  |  |  |  Branch (151:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  152|      0|        return -1;                                              \
  |  |  153|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (153:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  210|      0|        break;
  211|      0|        }
  212|      0|    case Py_T_SHORT:{
  ------------------
  |  |   53|      0|#define Py_T_SHORT     0
  ------------------
  |  Branch (212:5): [True: 0, False: 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);
  ------------------
  |  |  181|      0|#define FT_ATOMIC_STORE_SHORT_RELAXED(value, new_value) value = new_value
  ------------------
  217|      0|        if ((long_val > SHRT_MAX) || (long_val < SHRT_MIN))
  ------------------
  |  Branch (217:13): [True: 0, False: 0]
  |  Branch (217:38): [True: 0, False: 0]
  ------------------
  218|      0|            WARN("Truncation of value to short");
  ------------------
  |  |  150|      0|    do {                                                        \
  |  |  151|      0|    if (PyErr_WarnEx(PyExc_RuntimeWarning, msg, 1) < 0)         \
  |  |  ------------------
  |  |  |  Branch (151:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  152|      0|        return -1;                                              \
  |  |  153|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (153:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  219|      0|        break;
  220|      0|        }
  221|      0|    case Py_T_USHORT:{
  ------------------
  |  |   65|      0|#define Py_T_USHORT    10
  ------------------
  |  Branch (221:5): [True: 0, False: 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);
  ------------------
  |  |  183|      0|#define FT_ATOMIC_STORE_USHORT_RELAXED(value, new_value) value = new_value
  ------------------
  226|      0|        if ((long_val > USHRT_MAX) || (long_val < 0))
  ------------------
  |  Branch (226:13): [True: 0, False: 0]
  |  Branch (226:39): [True: 0, False: 0]
  ------------------
  227|      0|            WARN("Truncation of value to unsigned short");
  ------------------
  |  |  150|      0|    do {                                                        \
  |  |  151|      0|    if (PyErr_WarnEx(PyExc_RuntimeWarning, msg, 1) < 0)         \
  |  |  ------------------
  |  |  |  Branch (151:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  152|      0|        return -1;                                              \
  |  |  153|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (153:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  228|      0|        break;
  229|      0|        }
  230|      0|    case Py_T_INT:{
  ------------------
  |  |   54|      0|#define Py_T_INT       1
  ------------------
  |  Branch (230:5): [True: 0, False: 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);
  ------------------
  |  |  187|      0|#define FT_ATOMIC_STORE_INT_RELAXED(value, new_value) value = new_value
  ------------------
  235|      0|        if ((long_val > INT_MAX) || (long_val < INT_MIN))
  ------------------
  |  Branch (235:13): [True: 0, False: 0]
  |  Branch (235:37): [True: 0, False: 0]
  ------------------
  236|      0|            WARN("Truncation of value to int");
  ------------------
  |  |  150|      0|    do {                                                        \
  |  |  151|      0|    if (PyErr_WarnEx(PyExc_RuntimeWarning, msg, 1) < 0)         \
  |  |  ------------------
  |  |  |  Branch (151:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  152|      0|        return -1;                                              \
  |  |  153|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (153:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  237|      0|        break;
  238|      0|        }
  239|      0|    case Py_T_UINT: {
  ------------------
  |  |   66|      0|#define Py_T_UINT      11
  ------------------
  |  Branch (239:5): [True: 0, False: 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);
  ------------------
  |  |  190|      0|#define FT_ATOMIC_STORE_UINT_RELAXED(value, new_value) value = new_value
  ------------------
  253|      0|            WARN("Writing negative value into unsigned field");
  ------------------
  |  |  150|      0|    do {                                                        \
  |  |  151|      0|    if (PyErr_WarnEx(PyExc_RuntimeWarning, msg, 1) < 0)         \
  |  |  ------------------
  |  |  |  Branch (151:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  152|      0|        return -1;                                              \
  |  |  153|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (153:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  254|      0|        }
  255|      0|        else {
  256|      0|            unsigned long ulong_val = PyLong_AsUnsignedLong(v);
  257|      0|            Py_DECREF(v);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  258|      0|            if (ulong_val == (unsigned long)-1 && PyErr_Occurred()) {
  ------------------
  |  Branch (258:17): [True: 0, False: 0]
  |  Branch (258:51): [True: 0, False: 0]
  ------------------
  259|      0|                return -1;
  260|      0|            }
  261|      0|            FT_ATOMIC_STORE_UINT_RELAXED(*(unsigned int *)addr, (unsigned int)ulong_val);
  ------------------
  |  |  190|      0|#define FT_ATOMIC_STORE_UINT_RELAXED(value, new_value) value = new_value
  ------------------
  262|      0|            if (ulong_val > UINT_MAX) {
  ------------------
  |  Branch (262:17): [True: 0, False: 0]
  ------------------
  263|      0|                WARN("Truncation of value to unsigned int");
  ------------------
  |  |  150|      0|    do {                                                        \
  |  |  151|      0|    if (PyErr_WarnEx(PyExc_RuntimeWarning, msg, 1) < 0)         \
  |  |  ------------------
  |  |  |  Branch (151:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  152|      0|        return -1;                                              \
  |  |  153|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (153:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  264|      0|            }
  265|      0|        }
  266|      0|        break;
  267|      0|    }
  268|      0|    case Py_T_LONG: {
  ------------------
  |  |   55|      0|#define Py_T_LONG      2
  ------------------
  |  Branch (268:5): [True: 0, False: 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);
  ------------------
  |  |  192|      0|#define FT_ATOMIC_STORE_LONG_RELAXED(value, new_value) value = new_value
  ------------------
  273|      0|        break;
  274|      0|    }
  275|      0|    case Py_T_ULONG: {
  ------------------
  |  |   67|      0|#define Py_T_ULONG     12
  ------------------
  |  Branch (275:5): [True: 0, False: 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);
  ------------------
  |  |  193|      0|#define FT_ATOMIC_STORE_ULONG_RELAXED(value, new_value) value = new_value
  ------------------
  289|      0|            WARN("Writing negative value into unsigned field");
  ------------------
  |  |  150|      0|    do {                                                        \
  |  |  151|      0|    if (PyErr_WarnEx(PyExc_RuntimeWarning, msg, 1) < 0)         \
  |  |  ------------------
  |  |  |  Branch (151:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  152|      0|        return -1;                                              \
  |  |  153|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (153:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  290|      0|        }
  291|      0|        else {
  292|      0|            unsigned long ulong_val = PyLong_AsUnsignedLong(v);
  293|      0|            Py_DECREF(v);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  294|      0|            if (ulong_val == (unsigned long)-1 && PyErr_Occurred()) {
  ------------------
  |  Branch (294:17): [True: 0, False: 0]
  |  Branch (294:51): [True: 0, False: 0]
  ------------------
  295|      0|                return -1;
  296|      0|            }
  297|      0|            FT_ATOMIC_STORE_ULONG_RELAXED(*(unsigned long *)addr, ulong_val);
  ------------------
  |  |  193|      0|#define FT_ATOMIC_STORE_ULONG_RELAXED(value, new_value) value = new_value
  ------------------
  298|      0|        }
  299|      0|        break;
  300|      0|    }
  301|      0|    case Py_T_PYSSIZET: {
  ------------------
  |  |   79|      0|#define Py_T_PYSSIZET  19      /* Py_ssize_t */
  ------------------
  |  Branch (301:5): [True: 0, False: 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);
  ------------------
  |  |  194|      0|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  306|      0|        break;
  307|      0|    }
  308|      0|    case Py_T_FLOAT:{
  ------------------
  |  |   56|      0|#define Py_T_FLOAT     3
  ------------------
  |  Branch (308:5): [True: 0, False: 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);
  ------------------
  |  |  196|      0|#define FT_ATOMIC_STORE_FLOAT_RELAXED(value, new_value) value = new_value
  ------------------
  313|      0|        break;
  314|      0|        }
  315|      0|    case Py_T_DOUBLE: {
  ------------------
  |  |   57|      0|#define Py_T_DOUBLE    4
  ------------------
  |  Branch (315:5): [True: 0, False: 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);
  ------------------
  |  |  198|      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));
  ------------------
  |  |  164|    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);
  ------------------
  |  |  524|    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]);
  ------------------
  |  |  177|      0|#define FT_ATOMIC_STORE_CHAR_RELAXED(value, new_value) value = new_value
  ------------------
  349|      0|        break;
  350|      0|        }
  351|      0|    case Py_T_STRING:
  ------------------
  |  |   58|      0|#define Py_T_STRING    5
  ------------------
  |  Branch (351:5): [True: 0, False: 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);
  ------------------
  |  |  200|      0|#define FT_ATOMIC_STORE_LLONG_RELAXED(value, new_value) value = new_value
  ------------------
  360|      0|        break;
  361|      0|        }
  362|      0|    case Py_T_ULONGLONG: {
  ------------------
  |  |   77|      0|#define Py_T_ULONGLONG 18
  ------------------
  |  Branch (362:5): [True: 0, False: 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);
  ------------------
  |  |  202|      0|#define FT_ATOMIC_STORE_ULLONG_RELAXED(value, new_value) value = new_value
  ------------------
  374|      0|            WARN("Writing negative value into unsigned field");
  ------------------
  |  |  150|      0|    do {                                                        \
  |  |  151|      0|    if (PyErr_WarnEx(PyExc_RuntimeWarning, msg, 1) < 0)         \
  |  |  ------------------
  |  |  |  Branch (151:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  152|      0|        return -1;                                              \
  |  |  153|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (153:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  375|      0|        }
  376|      0|        else {
  377|      0|            unsigned long long ulonglong_val = PyLong_AsUnsignedLongLong(v);
  378|      0|            Py_DECREF(v);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  379|      0|            if (ulonglong_val == (unsigned long long)-1 && PyErr_Occurred()) {
  ------------------
  |  Branch (379:17): [True: 0, False: 0]
  |  Branch (379:60): [True: 0, False: 0]
  ------------------
  380|      0|                return -1;
  381|      0|            }
  382|      0|            FT_ATOMIC_STORE_ULLONG_RELAXED(*(unsigned long long *)addr, ulonglong_val);
  ------------------
  |  |  202|      0|#define FT_ATOMIC_STORE_ULLONG_RELAXED(value, new_value) value = new_value
  ------------------
  383|      0|        }
  384|      0|        break;
  385|      0|    }
  386|      0|    default:
  ------------------
  |  Branch (386:5): [True: 0, False: 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);
  ------------------
  |  |  145|     18|#define FT_ATOMIC_LOAD_PTR(value) value
  ------------------
   16|     18|    if (v == NULL) {
  ------------------
  |  Branch (16:9): [True: 0, False: 18]
  ------------------
   17|      0|        PyErr_Format(PyExc_AttributeError,
   18|      0|                     "'%T' object has no attribute '%s'",
   19|      0|                     (PyObject *)obj_addr, l->name);
   20|      0|    }
   21|     18|    return v;
   22|     18|}

_PySymtable_Build:
  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);
  ------------------
  |  |  550|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  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)) {
  ------------------
  |  |  936|      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))
  |  |  ------------------
  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302: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)])
  |  |  ------------------
  |  |  |  |  302|      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))
  |  |  ------------------
  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302: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)])
  |  |  ------------------
  |  |  |  |  302|      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);
  ------------------
  |  |  524|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  506|      2|    Py_XDECREF(st->st_blocks);
  ------------------
  |  |  524|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  507|      2|    Py_XDECREF(st->st_stack);
  ------------------
  |  |  524|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  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:
 3292|     37|{
 3293|       |    /* Special case for type parameter blocks around generic classes:
 3294|       |     * we want to mangle type parameter names (so a type param with a private
 3295|       |     * name can be used inside the class body), but we don't want to mangle
 3296|       |     * any other names that appear within the type parameter scope.
 3297|       |     */
 3298|     37|    if (ste->ste_mangled_names != NULL) {
  ------------------
  |  Branch (3298:9): [True: 0, False: 37]
  ------------------
 3299|      0|        int result = PySet_Contains(ste->ste_mangled_names, name);
 3300|      0|        if (result < 0) {
  ------------------
  |  Branch (3300:13): [True: 0, False: 0]
  ------------------
 3301|      0|            return NULL;
 3302|      0|        }
 3303|      0|        if (result == 0) {
  ------------------
  |  Branch (3303:13): [True: 0, False: 0]
  ------------------
 3304|      0|            return Py_NewRef(name);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3305|      0|        }
 3306|      0|    }
 3307|     37|    return _Py_Mangle(privateobj, name);
 3308|     37|}
_Py_Mangle:
 3333|     66|{
 3334|       |    /* Name mangling: __private becomes _classname__private.
 3335|       |       This is independent from how the name is used. */
 3336|     66|    if (privateobj == NULL || !PyUnicode_Check(privateobj) ||
  ------------------
  |  |  103|     29|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     95|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3336:9): [True: 37, False: 29]
  |  Branch (3336:31): [True: 0, False: 29]
  ------------------
 3337|     29|        PyUnicode_READ_CHAR(ident, 0) != '_' ||
  ------------------
  |  |  381|     29|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|     29|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3337:9): [True: 8, False: 21]
  ------------------
 3338|     66|        PyUnicode_READ_CHAR(ident, 1) != '_') {
  ------------------
  |  |  381|     21|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|     21|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3338:9): [True: 21, False: 0]
  ------------------
 3339|     66|        return Py_NewRef(ident);
  ------------------
  |  |  550|     66|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     66|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     66|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3340|     66|    }
 3341|      0|    size_t nlen = PyUnicode_GET_LENGTH(ident);
  ------------------
  |  |  299|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3342|      0|    size_t plen = PyUnicode_GET_LENGTH(privateobj);
  ------------------
  |  |  299|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3343|       |    /* Don't mangle __id__ or names with dots.
 3344|       |
 3345|       |       The only time a name with a dot can occur is when
 3346|       |       we are compiling an import statement that has a
 3347|       |       package name.
 3348|       |
 3349|       |       TODO(jhylton): Decide whether we want to support
 3350|       |       mangling of the module name, e.g. __M.X.
 3351|       |    */
 3352|      0|    if ((PyUnicode_READ_CHAR(ident, nlen-1) == '_' &&
  ------------------
  |  |  381|      0|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3352:10): [True: 0, False: 0]
  ------------------
 3353|      0|         PyUnicode_READ_CHAR(ident, nlen-2) == '_') ||
  ------------------
  |  |  381|      0|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3353:10): [True: 0, False: 0]
  ------------------
 3354|      0|        PyUnicode_FindChar(ident, '.', 0, nlen, 1) != -1) {
  ------------------
  |  Branch (3354:9): [True: 0, False: 0]
  ------------------
 3355|      0|        return Py_NewRef(ident); /* Don't mangle __whatever__ */
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3356|      0|    }
 3357|       |    /* Strip leading underscores from class name */
 3358|      0|    size_t ipriv = 0;
 3359|      0|    while (PyUnicode_READ_CHAR(privateobj, ipriv) == '_') {
  ------------------
  |  |  381|      0|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3359:12): [True: 0, False: 0]
  ------------------
 3360|      0|        ipriv++;
 3361|      0|    }
 3362|      0|    if (ipriv == plen) {
  ------------------
  |  Branch (3362:9): [True: 0, False: 0]
  ------------------
 3363|      0|        return Py_NewRef(ident); /* Don't mangle if class is just underscores */
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3364|      0|    }
 3365|       |
 3366|      0|    if (nlen + (plen - ipriv) >= PY_SSIZE_T_MAX - 1) {
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (3366:9): [True: 0, False: 0]
  ------------------
 3367|      0|        PyErr_SetString(PyExc_OverflowError,
 3368|      0|                        "private identifier too large to be mangled");
 3369|      0|        return NULL;
 3370|      0|    }
 3371|       |
 3372|      0|    PyUnicodeWriter *writer = PyUnicodeWriter_Create(1 + nlen + (plen - ipriv));
 3373|      0|    if (!writer) {
  ------------------
  |  Branch (3373:9): [True: 0, False: 0]
  ------------------
 3374|      0|        return NULL;
 3375|      0|    }
 3376|       |    // ident = "_" + priv[ipriv:] + ident
 3377|      0|    if (PyUnicodeWriter_WriteChar(writer, '_') < 0) {
  ------------------
  |  Branch (3377:9): [True: 0, False: 0]
  ------------------
 3378|      0|        goto error;
 3379|      0|    }
 3380|      0|    if (PyUnicodeWriter_WriteSubstring(writer, privateobj, ipriv, plen) < 0) {
  ------------------
  |  Branch (3380:9): [True: 0, False: 0]
  ------------------
 3381|      0|        goto error;
 3382|      0|    }
 3383|      0|    if (PyUnicodeWriter_WriteStr(writer, ident) < 0) {
  ------------------
  |  Branch (3383:9): [True: 0, False: 0]
  ------------------
 3384|      0|        goto error;
 3385|      0|    }
 3386|      0|    return PyUnicodeWriter_Finish(writer);
 3387|       |
 3388|      0|error:
 3389|      0|    PyUnicodeWriter_Discard(writer);
 3390|       |    return NULL;
 3391|      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);
  ------------------
  |  |  524|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  197|      4|    Py_XDECREF(ste->ste_name);
  ------------------
  |  |  524|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  198|      4|    Py_XDECREF(ste->ste_function_name);
  ------------------
  |  |  524|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  199|      4|    Py_XDECREF(ste->ste_symbols);
  ------------------
  |  |  524|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  200|      4|    Py_XDECREF(ste->ste_varnames);
  ------------------
  |  |  524|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  201|      4|    Py_XDECREF(ste->ste_children);
  ------------------
  |  |  524|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  202|      4|    Py_XDECREF(ste->ste_directives);
  ------------------
  |  |  524|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  203|      4|    Py_XDECREF(ste->ste_annotation_block);
  ------------------
  |  |  524|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  204|      4|    Py_XDECREF(ste->ste_mangled_names);
  ------------------
  |  |  524|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  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:
 1409|      2|{
 1410|      2|    PyObject *free, *global, *type_params;
 1411|      2|    int r;
 1412|       |
 1413|      2|    free = PySet_New(NULL);
 1414|      2|    if (!free)
  ------------------
  |  Branch (1414:9): [True: 0, False: 2]
  ------------------
 1415|      0|        return 0;
 1416|      2|    global = PySet_New(NULL);
 1417|      2|    if (!global) {
  ------------------
  |  Branch (1417:9): [True: 0, False: 2]
  ------------------
 1418|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1419|      0|        return 0;
 1420|      0|    }
 1421|      2|    type_params = PySet_New(NULL);
 1422|      2|    if (!type_params) {
  ------------------
  |  Branch (1422:9): [True: 0, False: 2]
  ------------------
 1423|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1424|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1425|      0|        return 0;
 1426|      0|    }
 1427|      2|    r = analyze_block(st->st_top, NULL, free, global, type_params, NULL);
 1428|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1429|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1430|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1431|      2|    return r;
 1432|      2|}
symtable.c:analyze_block:
 1166|      4|{
 1167|      4|    PyObject *name, *v, *local = NULL, *scopes = NULL, *newbound = NULL;
 1168|      4|    PyObject *newglobal = NULL, *newfree = NULL, *inlined_cells = NULL;
 1169|      4|    PyObject *temp;
 1170|      4|    int success = 0;
 1171|      4|    Py_ssize_t i, pos = 0;
 1172|       |
 1173|      4|    local = PySet_New(NULL);  /* collect new names bound in block */
 1174|      4|    if (!local)
  ------------------
  |  Branch (1174:9): [True: 0, False: 4]
  ------------------
 1175|      0|        goto error;
 1176|      4|    scopes = PyDict_New();  /* collect scopes defined for each name */
 1177|      4|    if (!scopes)
  ------------------
  |  Branch (1177:9): [True: 0, False: 4]
  ------------------
 1178|      0|        goto error;
 1179|       |
 1180|       |    /* Allocate new global, bound and free variable sets.  These
 1181|       |       sets hold the names visible in nested blocks.  For
 1182|       |       ClassBlocks, the bound and global names are initialized
 1183|       |       before analyzing names, because class bindings aren't
 1184|       |       visible in methods.  For other blocks, they are initialized
 1185|       |       after this block's declarations are recorded.
 1186|       |     */
 1187|       |
 1188|       |    /* TODO(jhylton): Package these dicts in a struct so that we
 1189|       |       can write reasonable helper functions?
 1190|       |    */
 1191|      4|    newglobal = PySet_New(NULL);
 1192|      4|    if (!newglobal)
  ------------------
  |  Branch (1192:9): [True: 0, False: 4]
  ------------------
 1193|      0|        goto error;
 1194|      4|    newfree = PySet_New(NULL);
 1195|      4|    if (!newfree)
  ------------------
  |  Branch (1195:9): [True: 0, False: 4]
  ------------------
 1196|      0|        goto error;
 1197|      4|    newbound = PySet_New(NULL);
 1198|      4|    if (!newbound)
  ------------------
  |  Branch (1198:9): [True: 0, False: 4]
  ------------------
 1199|      0|        goto error;
 1200|      4|    inlined_cells = PySet_New(NULL);
 1201|      4|    if (!inlined_cells)
  ------------------
  |  Branch (1201:9): [True: 0, False: 4]
  ------------------
 1202|      0|        goto error;
 1203|       |    /* Class namespace has no effect on names visible in
 1204|       |       nested functions, so populate the global and bound
 1205|       |       sets to be passed to child blocks before analyzing
 1206|       |       this one.
 1207|       |     */
 1208|      4|    if (ste->ste_type == ClassBlock) {
  ------------------
  |  Branch (1208:9): [True: 0, False: 4]
  ------------------
 1209|       |        /* Pass down known globals */
 1210|      0|        temp = PyNumber_InPlaceOr(newglobal, global);
 1211|      0|        if (!temp)
  ------------------
  |  Branch (1211:13): [True: 0, False: 0]
  ------------------
 1212|      0|            goto error;
 1213|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1214|       |        /* Pass down previously bound symbols */
 1215|      0|        if (bound) {
  ------------------
  |  Branch (1215:13): [True: 0, False: 0]
  ------------------
 1216|      0|            temp = PyNumber_InPlaceOr(newbound, bound);
 1217|      0|            if (!temp)
  ------------------
  |  Branch (1217:17): [True: 0, False: 0]
  ------------------
 1218|      0|                goto error;
 1219|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1220|      0|        }
 1221|      0|    }
 1222|       |
 1223|       |    /* Record bindings and global/nonlocal declarations first so child
 1224|       |       blocks see this scope's locals. Uses are classified after children
 1225|       |       so inlined comprehensions can add USE flags to this table. */
 1226|     17|    while (PyDict_Next(ste->ste_symbols, &pos, &name, &v)) {
  ------------------
  |  Branch (1226:12): [True: 13, False: 4]
  ------------------
 1227|     13|        long flags = PyLong_AsLong(v);
 1228|     13|        if (flags == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1228:13): [True: 0, False: 13]
  |  Branch (1228:28): [True: 0, False: 0]
  ------------------
 1229|      0|            goto error;
 1230|      0|        }
 1231|     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 (1231:13): [True: 2, False: 11]
  ------------------
 1232|      2|            continue;
 1233|      2|        }
 1234|     11|        if (!analyze_name(ste, scopes, name, flags,
  ------------------
  |  Branch (1234:13): [True: 0, False: 11]
  ------------------
 1235|     11|                          bound, local, free, global, type_params, class_entry))
 1236|      0|            goto error;
 1237|     11|    }
 1238|       |
 1239|       |    /* Populate global and bound sets to be passed to children. */
 1240|      4|    if (ste->ste_type != ClassBlock) {
  ------------------
  |  Branch (1240:9): [True: 4, False: 0]
  ------------------
 1241|       |        /* Add function locals to bound set */
 1242|      4|        if (ste_uses_fast_locals(ste)) {
  ------------------
  |  Branch (1242:13): [True: 2, False: 2]
  ------------------
 1243|      2|            temp = PyNumber_InPlaceOr(newbound, local);
 1244|      2|            if (!temp)
  ------------------
  |  Branch (1244:17): [True: 0, False: 2]
  ------------------
 1245|      0|                goto error;
 1246|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1247|      2|        }
 1248|       |        /* Pass down previously bound symbols */
 1249|      4|        if (bound) {
  ------------------
  |  Branch (1249:13): [True: 2, False: 2]
  ------------------
 1250|      2|            temp = PyNumber_InPlaceOr(newbound, bound);
 1251|      2|            if (!temp)
  ------------------
  |  Branch (1251:17): [True: 0, False: 2]
  ------------------
 1252|      0|                goto error;
 1253|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1254|      2|        }
 1255|       |        /* Pass down known globals */
 1256|      4|        temp = PyNumber_InPlaceOr(newglobal, global);
 1257|      4|        if (!temp)
  ------------------
  |  Branch (1257:13): [True: 0, False: 4]
  ------------------
 1258|      0|            goto error;
 1259|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1260|      4|    }
 1261|      0|    else {
 1262|       |        /* Special-case __class__ and __classdict__ */
 1263|      0|        if (PySet_Add(newbound, &_Py_ID(__class__)) < 0)
  ------------------
  |  |  936|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1263:13): [True: 0, False: 0]
  ------------------
 1264|      0|            goto error;
 1265|      0|        if (PySet_Add(newbound, &_Py_ID(__classdict__)) < 0)
  ------------------
  |  |  936|      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(__conditional_annotations__)) < 0)
  ------------------
  |  |  936|      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|    }
 1270|       |
 1271|       |    /* Recursively call analyze_child_block() on each child block.
 1272|       |
 1273|       |       newbound, newglobal now contain the names visible in
 1274|       |       nested blocks.  The free variables in the children will
 1275|       |       be added to newfree.
 1276|       |    */
 1277|      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 (1277:17): [True: 2, False: 4]
  ------------------
 1278|      2|        PyObject *child_free = NULL;
 1279|      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 (1279:23): [True: 2, False: 0]
  ------------------
 1280|      0|        PySTEntryObject* entry;
 1281|      2|        assert(c && PySTEntry_Check(c));
  ------------------
  |  Branch (1281:9): [True: 2, False: 0]
  |  Branch (1281:9): [True: 2, False: 0]
  ------------------
 1282|      2|        entry = (PySTEntryObject*)c;
 1283|       |
 1284|      2|        PySTEntryObject *new_class_entry = NULL;
 1285|      2|        if (entry->ste_can_see_class_scope) {
  ------------------
  |  Branch (1285:13): [True: 0, False: 2]
  ------------------
 1286|      0|            if (ste->ste_type == ClassBlock) {
  ------------------
  |  Branch (1286:17): [True: 0, False: 0]
  ------------------
 1287|      0|                new_class_entry = ste;
 1288|      0|            }
 1289|      0|            else if (class_entry) {
  ------------------
  |  Branch (1289:22): [True: 0, False: 0]
  ------------------
 1290|      0|                new_class_entry = class_entry;
 1291|      0|            }
 1292|      0|        }
 1293|       |
 1294|       |        // Finalize inlined children before classifying this block's uses
 1295|       |        // and analyze_cells, so their loads are USE here and do not force
 1296|       |        // a cell unless a real nested unit needs one.
 1297|      2|        if (!analyze_child_block(entry, newbound, newfree, newglobal,
  ------------------
  |  Branch (1297:13): [True: 0, False: 2]
  ------------------
 1298|      2|                                 type_params, new_class_entry, &child_free))
 1299|      0|        {
 1300|      0|            goto error;
 1301|      0|        }
 1302|      2|        if (entry->ste_type == InlinedComprehensionBlock) {
  ------------------
  |  Branch (1302:13): [True: 0, False: 2]
  ------------------
 1303|      0|            if (!finalize_inlined_comprehension(ste, entry, child_free, newfree,
  ------------------
  |  Branch (1303:17): [True: 0, False: 0]
  ------------------
 1304|      0|                                                inlined_cells)) {
 1305|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1306|      0|                goto error;
 1307|      0|            }
 1308|      0|        }
 1309|      2|        temp = PyNumber_InPlaceOr(newfree, child_free);
 1310|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1311|      2|        if (!temp)
  ------------------
  |  Branch (1311:13): [True: 0, False: 2]
  ------------------
 1312|      0|            goto error;
 1313|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1314|      2|    }
 1315|       |
 1316|       |    /* Complete the classification. */
 1317|      4|    pos = 0;
 1318|     17|    while (PyDict_Next(ste->ste_symbols, &pos, &name, &v)) {
  ------------------
  |  Branch (1318:12): [True: 13, False: 4]
  ------------------
 1319|     13|        long flags = PyLong_AsLong(v);
 1320|     13|        if (flags == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1320:13): [True: 0, False: 13]
  |  Branch (1320:28): [True: 0, False: 0]
  ------------------
 1321|      0|            goto error;
 1322|      0|        }
 1323|     13|        int contains = PyDict_Contains(scopes, name);
 1324|     13|        if (contains < 0) {
  ------------------
  |  Branch (1324:13): [True: 0, False: 13]
  ------------------
 1325|      0|            goto error;
 1326|      0|        }
 1327|     13|        if (contains) {
  ------------------
  |  Branch (1327:13): [True: 11, False: 2]
  ------------------
 1328|     11|            continue;
 1329|     11|        }
 1330|      2|        if (!analyze_name(ste, scopes, name, flags,
  ------------------
  |  Branch (1330:13): [True: 0, False: 2]
  ------------------
 1331|      2|                          bound, local, free, global, type_params, class_entry))
 1332|      0|            goto error;
 1333|      2|    }
 1334|       |
 1335|       |    /* Check if any local variables must be converted to cell variables */
 1336|      4|    if (ste_uses_fast_locals(ste) && !analyze_cells(scopes, newfree, inlined_cells)) {
  ------------------
  |  Branch (1336:9): [True: 2, False: 2]
  |  Branch (1336:38): [True: 0, False: 2]
  ------------------
 1337|      0|        goto error;
 1338|      0|    }
 1339|      4|    else if (ste->ste_type == ClassBlock && !drop_class_free(ste, newfree)) {
  ------------------
  |  Branch (1339:14): [True: 0, False: 4]
  |  Branch (1339:45): [True: 0, False: 0]
  ------------------
 1340|      0|        goto error;
 1341|      0|    }
 1342|       |    /* Records the results of the analysis in the symbol table entry */
 1343|      4|    if (!update_symbols(ste->ste_symbols, scopes, bound, newfree,
  ------------------
  |  Branch (1343:9): [True: 0, False: 4]
  ------------------
 1344|      4|                        (ste->ste_type == ClassBlock) || ste->ste_can_see_class_scope))
  ------------------
  |  Branch (1344:25): [True: 0, False: 4]
  |  Branch (1344:58): [True: 0, False: 4]
  ------------------
 1345|      0|        goto error;
 1346|      4|    temp = PyNumber_InPlaceOr(free, newfree);
 1347|      4|    if (!temp)
  ------------------
  |  Branch (1347:9): [True: 0, False: 4]
  ------------------
 1348|      0|        goto error;
 1349|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1350|      4|    success = 1;
 1351|      4| error:
 1352|      4|    Py_XDECREF(scopes);
  ------------------
  |  |  524|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1353|      4|    Py_XDECREF(local);
  ------------------
  |  |  524|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1354|      4|    Py_XDECREF(newbound);
  ------------------
  |  |  524|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1355|      4|    Py_XDECREF(newglobal);
  ------------------
  |  |  524|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1356|      4|    Py_XDECREF(newfree);
  ------------------
  |  |  524|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1357|      4|    Py_XDECREF(inlined_cells);
  ------------------
  |  |  524|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1358|      4|    if (!success)
  ------------------
  |  Branch (1358:9): [True: 0, False: 4]
  ------------------
 1359|      4|        assert(PyErr_Occurred());
  ------------------
  |  Branch (1359:9): [True: 0, False: 0]
  ------------------
 1360|      4|    return success;
 1361|      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|      2|    if (class_entry != NULL) {
  ------------------
  |  Branch (756:9): [True: 0, False: 2]
  ------------------
  757|      0|        long class_flags = _PyST_GetSymbol(class_entry, name);
  758|      0|        if (class_flags < 0) {
  ------------------
  |  Branch (758:13): [True: 0, False: 0]
  ------------------
  759|      0|            return 0;
  760|      0|        }
  761|      0|        if (class_flags & DEF_GLOBAL) {
  ------------------
  |  |  170|      0|#define DEF_GLOBAL 1             /* global stmt */
  ------------------
  |  Branch (761:13): [True: 0, False: 0]
  ------------------
  762|      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]
  |  |  ------------------
  ------------------
  763|      0|            return 1;
  764|      0|        }
  765|      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 (765:18): [True: 0, False: 0]
  |  Branch (765:47): [True: 0, False: 0]
  ------------------
  766|      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]
  |  |  ------------------
  ------------------
  767|      0|            return 1;
  768|      0|        }
  769|      0|    }
  770|       |    /* If an enclosing block has a binding for this name, it
  771|       |       is a free variable rather than a global variable.
  772|       |       Note that having a non-NULL bound implies that the block
  773|       |       is nested.
  774|       |    */
  775|      2|    if (bound) {
  ------------------
  |  Branch (775:9): [True: 2, False: 0]
  ------------------
  776|      2|        contains = PySet_Contains(bound, name);
  777|      2|        if (contains < 0) {
  ------------------
  |  Branch (777:13): [True: 0, False: 2]
  ------------------
  778|      0|            return 0;
  779|      0|        }
  780|      2|        if (contains) {
  ------------------
  |  Branch (780:13): [True: 0, False: 2]
  ------------------
  781|      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]
  |  |  ------------------
  ------------------
  782|      0|            return PySet_Add(free, name) >= 0;
  783|      0|        }
  784|      2|    }
  785|       |    /* If a parent has a global statement, then call it global
  786|       |       explicit?  It could also be global implicit.
  787|       |     */
  788|      2|    if (global) {
  ------------------
  |  Branch (788:9): [True: 2, False: 0]
  ------------------
  789|      2|        contains = PySet_Contains(global, name);
  790|      2|        if (contains < 0) {
  ------------------
  |  Branch (790:13): [True: 0, False: 2]
  ------------------
  791|      0|            return 0;
  792|      0|        }
  793|      2|        if (contains) {
  ------------------
  |  Branch (793:13): [True: 0, False: 2]
  ------------------
  794|      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]
  |  |  ------------------
  ------------------
  795|      0|            return 1;
  796|      0|        }
  797|      2|    }
  798|      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]
  |  |  ------------------
  ------------------
  799|      2|    return 1;
  800|      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:
 1367|      2|{
 1368|      2|    PyObject *temp_bound = NULL, *temp_global = NULL, *temp_free = NULL;
 1369|      2|    PyObject *temp_type_params = NULL;
 1370|       |
 1371|       |    /* Copy the bound/global/free sets.
 1372|       |
 1373|       |       These sets are used by all blocks enclosed by the
 1374|       |       current block.  The analyze_block() call modifies these
 1375|       |       sets.
 1376|       |
 1377|       |    */
 1378|      2|    temp_bound = PySet_New(bound);
 1379|      2|    if (!temp_bound)
  ------------------
  |  Branch (1379:9): [True: 0, False: 2]
  ------------------
 1380|      0|        goto error;
 1381|      2|    temp_free = PySet_New(free);
 1382|      2|    if (!temp_free)
  ------------------
  |  Branch (1382:9): [True: 0, False: 2]
  ------------------
 1383|      0|        goto error;
 1384|      2|    temp_global = PySet_New(global);
 1385|      2|    if (!temp_global)
  ------------------
  |  Branch (1385:9): [True: 0, False: 2]
  ------------------
 1386|      0|        goto error;
 1387|      2|    temp_type_params = PySet_New(type_params);
 1388|      2|    if (!temp_type_params)
  ------------------
  |  Branch (1388:9): [True: 0, False: 2]
  ------------------
 1389|      0|        goto error;
 1390|       |
 1391|      2|    if (!analyze_block(entry, temp_bound, temp_free, temp_global,
  ------------------
  |  Branch (1391:9): [True: 0, False: 2]
  ------------------
 1392|      2|                       temp_type_params, class_entry))
 1393|      0|        goto error;
 1394|      2|    *child_free = temp_free;
 1395|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1396|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1397|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1398|      2|    return 1;
 1399|      0| error:
 1400|      0|    Py_XDECREF(temp_bound);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1401|      0|    Py_XDECREF(temp_free);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1402|      0|    Py_XDECREF(temp_global);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1403|      0|    Py_XDECREF(temp_type_params);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1404|      0|    return 0;
 1405|      2|}
symtable.c:symtable_add_flag:
  831|     24|{
  832|     24|    PyObject *o = PyDict_GetItemWithError(dict, name);
  833|     24|    long val;
  834|     24|    if (o != NULL) {
  ------------------
  |  Branch (834:9): [True: 11, False: 13]
  ------------------
  835|     11|        val = PyLong_AsLong(o);
  836|     11|        if (val == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (836:13): [True: 0, False: 11]
  |  Branch (836:26): [True: 0, False: 0]
  ------------------
  837|      0|            return 0;
  838|      0|        }
  839|     11|        val |= flag;
  840|     11|    }
  841|     13|    else if (PyErr_Occurred()) {
  ------------------
  |  Branch (841:14): [True: 0, False: 13]
  ------------------
  842|      0|        return 0;
  843|      0|    }
  844|     13|    else {
  845|     13|        val = flag;
  846|     13|    }
  847|     24|    o = PyLong_FromLong(val);
  848|     24|    if (o == NULL) {
  ------------------
  |  Branch (848:9): [True: 0, False: 24]
  ------------------
  849|      0|        return 0;
  850|      0|    }
  851|     24|    int rc = PyDict_SetItem(dict, name, o);
  852|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  853|     24|    return rc >= 0;
  854|     24|}
symtable.c:analyze_cells:
  953|      2|{
  954|      2|    PyObject *name, *v, *v_cell;
  955|      2|    int success = 0;
  956|      2|    Py_ssize_t pos = 0;
  957|       |
  958|      2|    v_cell = PyLong_FromLong(CELL);
  ------------------
  |  |  195|      2|#define CELL 5
  ------------------
  959|      2|    if (!v_cell)
  ------------------
  |  Branch (959:9): [True: 0, False: 2]
  ------------------
  960|      0|        return 0;
  961|     15|    while (PyDict_Next(scopes, &pos, &name, &v)) {
  ------------------
  |  Branch (961:12): [True: 13, False: 2]
  ------------------
  962|     13|        long scope = PyLong_AsLong(v);
  963|     13|        if (scope == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (963:13): [True: 0, False: 13]
  |  Branch (963:28): [True: 0, False: 0]
  ------------------
  964|      0|            goto error;
  965|      0|        }
  966|     13|        if (scope != LOCAL)
  ------------------
  |  |  191|     13|#define LOCAL 1
  ------------------
  |  Branch (966:13): [True: 2, False: 11]
  ------------------
  967|      2|            continue;
  968|     11|        int contains = PySet_Contains(free, name);
  969|     11|        if (contains < 0) {
  ------------------
  |  Branch (969:13): [True: 0, False: 11]
  ------------------
  970|      0|            goto error;
  971|      0|        }
  972|     11|        if (!contains) {
  ------------------
  |  Branch (972:13): [True: 11, False: 0]
  ------------------
  973|     11|            contains = PySet_Contains(inlined_cells, name);
  974|     11|            if (contains < 0) {
  ------------------
  |  Branch (974:17): [True: 0, False: 11]
  ------------------
  975|      0|                goto error;
  976|      0|            }
  977|     11|            if (!contains) {
  ------------------
  |  Branch (977:17): [True: 11, False: 0]
  ------------------
  978|     11|                continue;
  979|     11|            }
  980|     11|        }
  981|       |        /* Replace LOCAL with CELL for this name, and remove
  982|       |           from free. It is safe to replace the value of name
  983|       |           in the dict, because it will not cause a resize.
  984|       |         */
  985|      0|        if (PyDict_SetItem(scopes, name, v_cell) < 0)
  ------------------
  |  Branch (985:13): [True: 0, False: 0]
  ------------------
  986|      0|            goto error;
  987|      0|        if (PySet_Discard(free, name) < 0)
  ------------------
  |  Branch (987:13): [True: 0, False: 0]
  ------------------
  988|      0|            goto error;
  989|      0|    }
  990|      2|    success = 1;
  991|      2| error:
  992|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  993|      2|    return success;
  994|      2|}
symtable.c:update_symbols:
 1027|      4|{
 1028|      4|    PyObject *name = NULL, *itr = NULL;
 1029|      4|    PyObject *v = NULL, *v_scope = NULL, *v_new = NULL, *v_free = NULL;
 1030|      4|    Py_ssize_t pos = 0;
 1031|       |
 1032|       |    /* Update scope information for all symbols in this scope */
 1033|     17|    while (PyDict_Next(symbols, &pos, &name, &v)) {
  ------------------
  |  Branch (1033:12): [True: 13, False: 4]
  ------------------
 1034|     13|        long flags = PyLong_AsLong(v);
 1035|     13|        if (flags == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1035:13): [True: 0, False: 13]
  |  Branch (1035:28): [True: 0, False: 0]
  ------------------
 1036|      0|            return 0;
 1037|      0|        }
 1038|     13|        if (PyDict_GetItemRef(scopes, name, &v_scope) < 0) {
  ------------------
  |  Branch (1038:13): [True: 0, False: 13]
  ------------------
 1039|      0|            return 0;
 1040|      0|        }
 1041|     13|        if (!v_scope) {
  ------------------
  |  Branch (1041:13): [True: 0, False: 13]
  ------------------
 1042|      0|            PyErr_SetObject(PyExc_KeyError, name);
 1043|      0|            return 0;
 1044|      0|        }
 1045|     13|        long scope = PyLong_AsLong(v_scope);
 1046|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1047|     13|        if (scope == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1047:13): [True: 0, False: 13]
  |  Branch (1047:28): [True: 0, False: 0]
  ------------------
 1048|      0|            return 0;
 1049|      0|        }
 1050|     13|        flags |= (scope << SCOPE_OFFSET);
  ------------------
  |  |  187|     13|#define SCOPE_OFFSET 12
  ------------------
 1051|     13|        v_new = PyLong_FromLong(flags);
 1052|     13|        if (!v_new)
  ------------------
  |  Branch (1052:13): [True: 0, False: 13]
  ------------------
 1053|      0|            return 0;
 1054|     13|        if (PyDict_SetItem(symbols, name, v_new) < 0) {
  ------------------
  |  Branch (1054:13): [True: 0, False: 13]
  ------------------
 1055|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1056|      0|            return 0;
 1057|      0|        }
 1058|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1059|     13|    }
 1060|       |
 1061|       |    /* Record not yet resolved free variables from children (if any) */
 1062|      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
  ------------------
 1063|      4|    if (!v_free)
  ------------------
  |  Branch (1063:9): [True: 0, False: 4]
  ------------------
 1064|      0|        return 0;
 1065|       |
 1066|      4|    itr = PyObject_GetIter(free);
 1067|      4|    if (itr == NULL) {
  ------------------
  |  Branch (1067:9): [True: 0, False: 4]
  ------------------
 1068|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1069|      0|        return 0;
 1070|      0|    }
 1071|       |
 1072|      4|    while ((name = PyIter_Next(itr))) {
  ------------------
  |  Branch (1072:12): [True: 0, False: 4]
  ------------------
 1073|      0|        v = PyDict_GetItemWithError(symbols, name);
 1074|       |
 1075|       |        /* Handle symbol that already exists in this scope */
 1076|      0|        if (v) {
  ------------------
  |  Branch (1076:13): [True: 0, False: 0]
  ------------------
 1077|       |            /* Handle a free variable in a method of
 1078|       |               the class that has the same name as a local
 1079|       |               or global in the class scope.
 1080|       |            */
 1081|      0|            if  (classflag) {
  ------------------
  |  Branch (1081:18): [True: 0, False: 0]
  ------------------
 1082|      0|                long flags = PyLong_AsLong(v);
 1083|      0|                if (flags == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1083:21): [True: 0, False: 0]
  |  Branch (1083:36): [True: 0, False: 0]
  ------------------
 1084|      0|                    goto error;
 1085|      0|                }
 1086|      0|                flags |= DEF_FREE_CLASS;
  ------------------
  |  |  175|      0|#define DEF_FREE_CLASS (2<<5)    /* free variable from class's method */
  ------------------
 1087|      0|                v_new = PyLong_FromLong(flags);
 1088|      0|                if (!v_new) {
  ------------------
  |  Branch (1088:21): [True: 0, False: 0]
  ------------------
 1089|      0|                    goto error;
 1090|      0|                }
 1091|      0|                if (PyDict_SetItem(symbols, name, v_new) < 0) {
  ------------------
  |  Branch (1091:21): [True: 0, False: 0]
  ------------------
 1092|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1093|      0|                    goto error;
 1094|      0|                }
 1095|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1096|      0|            }
 1097|       |            /* It's a cell, or already free in this scope */
 1098|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1099|      0|            continue;
 1100|      0|        }
 1101|      0|        else if (PyErr_Occurred()) {
  ------------------
  |  Branch (1101:18): [True: 0, False: 0]
  ------------------
 1102|      0|            goto error;
 1103|      0|        }
 1104|       |        /* Handle global symbol */
 1105|      0|        if (bound) {
  ------------------
  |  Branch (1105:13): [True: 0, False: 0]
  ------------------
 1106|      0|            int contains = PySet_Contains(bound, name);
 1107|      0|            if (contains < 0) {
  ------------------
  |  Branch (1107:17): [True: 0, False: 0]
  ------------------
 1108|      0|                goto error;
 1109|      0|            }
 1110|      0|            if (!contains) {
  ------------------
  |  Branch (1110:17): [True: 0, False: 0]
  ------------------
 1111|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1112|      0|                continue;       /* it's a global */
 1113|      0|            }
 1114|      0|        }
 1115|       |        /* Propagate new free symbol up the lexical stack */
 1116|      0|        if (PyDict_SetItem(symbols, name, v_free) < 0) {
  ------------------
  |  Branch (1116:13): [True: 0, False: 0]
  ------------------
 1117|      0|            goto error;
 1118|      0|        }
 1119|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1120|      0|    }
 1121|       |
 1122|       |    /* Check if loop ended because of exception in PyIter_Next */
 1123|      4|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (1123:9): [True: 0, False: 4]
  ------------------
 1124|      0|        goto error;
 1125|      0|    }
 1126|       |
 1127|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1128|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1129|      4|    return 1;
 1130|      0|error:
 1131|      0|    Py_XDECREF(v_free);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1132|      0|    Py_XDECREF(itr);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1133|      0|    Py_XDECREF(name);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1134|      0|    return 0;
 1135|      4|}
symtable.c:symtable_exit_block:
 1441|      4|{
 1442|      4|    Py_ssize_t size;
 1443|       |
 1444|      4|    st->st_cur = NULL;
 1445|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1446|      4|    if (size) {
  ------------------
  |  Branch (1446:9): [True: 4, False: 0]
  ------------------
 1447|      4|        if (PyList_SetSlice(st->st_stack, size - 1, size, NULL) < 0)
  ------------------
  |  Branch (1447:13): [True: 0, False: 4]
  ------------------
 1448|      0|            return 0;
 1449|      4|        if (--size)
  ------------------
  |  Branch (1449:13): [True: 2, False: 2]
  ------------------
 1450|      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 (1450:45): [True: 2, False: 0]
  ------------------
 1451|      4|    }
 1452|      4|    return 1;
 1453|      4|}
symtable.c:symtable_enter_block:
 1499|      4|{
 1500|      4|    PySTEntryObject *ste = ste_new(st, name, block, ast, loc);
 1501|      4|    if (ste == NULL) {
  ------------------
  |  Branch (1501:9): [True: 0, False: 4]
  ------------------
 1502|      0|        return 0;
 1503|      0|    }
 1504|      4|    int result = symtable_enter_existing_block(st, ste, /* add_to_children */true);
 1505|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1506|      4|    if (result == 0) {
  ------------------
  |  Branch (1506:9): [True: 0, False: 4]
  ------------------
 1507|      0|        return 0;
 1508|      0|    }
 1509|      4|    if (block == AnnotationBlock || block == TypeVariableBlock || block == TypeAliasBlock) {
  ------------------
  |  Branch (1509:9): [True: 0, False: 4]
  |  Branch (1509:37): [True: 0, False: 4]
  |  Branch (1509:67): [True: 0, False: 4]
  ------------------
 1510|      0|        _Py_DECLARE_STR(format, ".format");
 1511|       |        // We need to insert code that reads this "parameter" to the function.
 1512|      0|        if (!symtable_add_def(st, &_Py_STR(format), DEF_PARAM, loc)) {
  ------------------
  |  |  938|      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 (1512:13): [True: 0, False: 0]
  ------------------
 1513|      0|            symtable_exit_block(st);
 1514|      0|            return 0;
 1515|      0|        }
 1516|      0|        if (!symtable_add_def(st, &_Py_STR(format), USE, loc)) {
  ------------------
  |  |  938|      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 (1516:13): [True: 0, False: 0]
  ------------------
 1517|      0|            symtable_exit_block(st);
 1518|      0|            return 0;
 1519|      0|        }
 1520|      0|    }
 1521|      4|    return 1;
 1522|      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);
  ------------------
  |  |  550|      4|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  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);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) 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:
 1457|      4|{
 1458|      4|    if (PyList_Append(st->st_stack, (PyObject *)ste) < 0) {
  ------------------
  |  Branch (1458:9): [True: 0, False: 4]
  ------------------
 1459|      0|        return 0;
 1460|      0|    }
 1461|      4|    PySTEntryObject *prev = st->st_cur;
 1462|       |    /* bpo-37757: For now, disallow *all* assignment expressions in the
 1463|       |     * outermost iterator expression of a comprehension, even those inside
 1464|       |     * a nested comprehension or a lambda expression.
 1465|       |     */
 1466|      4|    if (prev) {
  ------------------
  |  Branch (1466:9): [True: 2, False: 2]
  ------------------
 1467|      2|        ste->ste_comp_iter_expr = prev->ste_comp_iter_expr;
 1468|      2|    }
 1469|       |    /* No need to inherit ste_mangled_names in classes, where all names
 1470|       |     * are mangled. */
 1471|      4|    if (prev && prev->ste_mangled_names != NULL && ste->ste_type != ClassBlock) {
  ------------------
  |  Branch (1471:9): [True: 2, False: 2]
  |  Branch (1471:17): [True: 0, False: 2]
  |  Branch (1471:52): [True: 0, False: 0]
  ------------------
 1472|      0|        ste->ste_mangled_names = Py_NewRef(prev->ste_mangled_names);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1473|      0|    }
 1474|       |    /* The entry is owned by the stack. Borrow it for st_cur. */
 1475|      4|    st->st_cur = ste;
 1476|       |
 1477|       |    /* If "from __future__ import annotations" is active,
 1478|       |     * annotation blocks shouldn't have any affect on the symbol table since in
 1479|       |     * the compilation stage, they will all be transformed to strings. */
 1480|      4|    if (st->st_future->ff_features & CO_FUTURE_ANNOTATIONS && ste->ste_type == AnnotationBlock) {
  ------------------
  |  |  147|      8|#define CO_FUTURE_ANNOTATIONS    0x1000000
  ------------------
  |  Branch (1480:9): [True: 0, False: 4]
  |  Branch (1480:63): [True: 0, False: 0]
  ------------------
 1481|      0|        return 1;
 1482|      0|    }
 1483|       |
 1484|      4|    if (ste->ste_type == ModuleBlock)
  ------------------
  |  Branch (1484:9): [True: 2, False: 2]
  ------------------
 1485|      2|        st->st_global = st->st_cur->ste_symbols;
 1486|       |
 1487|      4|    if (add_to_children && prev) {
  ------------------
  |  Branch (1487:9): [True: 4, False: 0]
  |  Branch (1487:28): [True: 2, False: 2]
  ------------------
 1488|      2|        if (PyList_Append(prev->ste_children, (PyObject *)ste) < 0) {
  ------------------
  |  Branch (1488:13): [True: 0, False: 2]
  ------------------
 1489|      0|            symtable_exit_block(st);
 1490|      0|            return 0;
 1491|      0|        }
 1492|      2|    }
 1493|      4|    return 1;
 1494|      4|}
symtable.c:symtable_add_def:
 1676|     11|{
 1677|     11|    return symtable_add_def_ctx(st, name, flag, loc,
 1678|     11|                                flag == USE ? Load : Store);
  ------------------
  |  |  174|     11|#define USE (2<<3)               /* name is used */
  ------------------
  |  Branch (1678:33): [True: 0, False: 11]
  ------------------
 1679|     11|}
symtable.c:symtable_add_def_ctx:
 1660|     24|{
 1661|     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 */
  ------------------
 1662|     24|    if ((flag & write_mask) && !check_name(st, name, loc, ctx)) {
  ------------------
  |  Branch (1662:9): [True: 11, False: 13]
  |  Branch (1662:32): [True: 0, False: 11]
  ------------------
 1663|      0|        return 0;
 1664|      0|    }
 1665|     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 (1665:9): [True: 0, False: 24]
  |  Branch (1665:36): [True: 0, False: 0]
  ------------------
 1666|      0|        if(PySet_Add(st->st_cur->ste_mangled_names, name) < 0) {
  ------------------
  |  Branch (1666:12): [True: 0, False: 0]
  ------------------
 1667|      0|            return 0;
 1668|      0|        }
 1669|      0|    }
 1670|     24|    return symtable_add_def_helper(st, name, flag, st->st_cur, loc);
 1671|     24|}
symtable.c:check_name:
 1616|     11|{
 1617|     11|    if (ctx == Store && _PyUnicode_EqualToASCIIString(name, "__debug__")) {
  ------------------
  |  Branch (1617:9): [True: 11, False: 0]
  |  Branch (1617:25): [True: 0, False: 11]
  ------------------
 1618|      0|        PyErr_SetString(PyExc_SyntaxError, "cannot assign to __debug__");
 1619|      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)
  ------------------
 1620|      0|        return 0;
 1621|      0|    }
 1622|     11|    if (ctx == Del && _PyUnicode_EqualToASCIIString(name, "__debug__")) {
  ------------------
  |  Branch (1622:9): [True: 0, False: 11]
  |  Branch (1622:23): [True: 0, False: 0]
  ------------------
 1623|      0|        PyErr_SetString(PyExc_SyntaxError, "cannot delete __debug__");
 1624|      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)
  ------------------
 1625|      0|        return 0;
 1626|      0|    }
 1627|     11|    return 1;
 1628|     11|}
symtable.c:symtable_add_def_helper:
 1547|     24|{
 1548|     24|    PyObject *o;
 1549|     24|    long val = 0;
 1550|     24|    PyObject *mangled = _Py_MaybeMangle(st->st_private, st->st_cur, name);
 1551|       |
 1552|     24|    if (!mangled)
  ------------------
  |  Branch (1552:9): [True: 0, False: 24]
  ------------------
 1553|      0|        return 0;
 1554|     24|    if ((o = PyDict_GetItemWithError(ste->ste_symbols, mangled))) {
  ------------------
  |  Branch (1554:9): [True: 11, False: 13]
  ------------------
 1555|     11|        val = PyLong_AsLong(o);
 1556|     11|        if (val == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1556:13): [True: 0, False: 11]
  |  Branch (1556:26): [True: 0, False: 0]
  ------------------
 1557|      0|            goto error;
 1558|      0|        }
 1559|     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 (1559:13): [True: 0, False: 11]
  |  Branch (1559:35): [True: 0, False: 0]
  ------------------
 1560|       |            /* Is it better to use 'mangled' or 'name' here? */
 1561|      0|            PyErr_Format(PyExc_SyntaxError, DUPLICATE_PARAMETER, name);
  ------------------
  |  |  393|      0|#define DUPLICATE_PARAMETER \
  |  |  394|      0|"duplicate parameter '%U' in function definition"
  ------------------
 1562|      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)
  ------------------
 1563|      0|            goto error;
 1564|      0|        }
 1565|     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 (1565:13): [True: 0, False: 11]
  |  Branch (1565:40): [True: 0, False: 0]
  ------------------
 1566|      0|            PyErr_Format(PyExc_SyntaxError, DUPLICATE_TYPE_PARAM, name);
  ------------------
  |  |   77|      0|#define DUPLICATE_TYPE_PARAM \
  |  |   78|      0|"duplicate type parameter '%U'"
  ------------------
 1567|      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)
  ------------------
 1568|      0|            goto error;
 1569|      0|        }
 1570|     11|    }
 1571|     13|    else if (PyErr_Occurred()) {
  ------------------
  |  Branch (1571:14): [True: 0, False: 13]
  ------------------
 1572|      0|        goto error;
 1573|      0|    }
 1574|       |
 1575|     24|    int to_add = flag;
 1576|     24|    if (ste->ste_comp_iter_target) {
  ------------------
  |  Branch (1576:9): [True: 0, False: 24]
  ------------------
 1577|       |        /* This name is an iteration variable in a comprehension,
 1578|       |         * so check for a binding conflict with any named expressions.
 1579|       |         * Otherwise, mark it as an iteration variable so subsequent
 1580|       |         * named expressions can check for conflicts.
 1581|       |         */
 1582|      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 (1582:13): [True: 0, False: 0]
  ------------------
 1583|      0|            PyErr_Format(PyExc_SyntaxError,
 1584|      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'"
  ------------------
 1585|      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)
  ------------------
 1586|      0|            goto error;
 1587|      0|        }
 1588|      0|        to_add |= DEF_COMP_ITER;
  ------------------
  |  |  178|      0|#define DEF_COMP_ITER (2<<8)     /* this name is a comprehension iteration variable */
  ------------------
 1589|      0|    }
 1590|     24|    if (!symtable_add_flag(ste->ste_symbols, mangled, to_add)) {
  ------------------
  |  Branch (1590:9): [True: 0, False: 24]
  ------------------
 1591|      0|        goto error;
 1592|      0|    }
 1593|       |
 1594|     24|    if (flag & DEF_PARAM) {
  ------------------
  |  |  172|     24|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
  |  Branch (1594:9): [True: 11, False: 13]
  ------------------
 1595|     11|        if (PyList_Append(ste->ste_varnames, mangled) < 0)
  ------------------
  |  Branch (1595:13): [True: 0, False: 11]
  ------------------
 1596|      0|            goto error;
 1597|     11|    }
 1598|     13|    else if (flag & DEF_GLOBAL) {
  ------------------
  |  |  170|     13|#define DEF_GLOBAL 1             /* global stmt */
  ------------------
  |  Branch (1598:14): [True: 0, False: 13]
  ------------------
 1599|       |        /* XXX need to update DEF_GLOBAL for other flags too;
 1600|       |           perhaps only DEF_FREE_GLOBAL */
 1601|      0|        if (!symtable_add_flag(st->st_global, mangled, flag)) {
  ------------------
  |  Branch (1601:13): [True: 0, False: 0]
  ------------------
 1602|      0|            goto error;
 1603|      0|        }
 1604|      0|    }
 1605|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1606|     24|    return 1;
 1607|       |
 1608|      0|error:
 1609|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1610|      0|    return 0;
 1611|     24|}
symtable.c:symtable_visit_arguments:
 2982|      2|{
 2983|       |    /* skip default arguments inside function block
 2984|       |       XXX should ast be different?
 2985|       |    */
 2986|      2|    if (a->posonlyargs && !symtable_visit_params(st, a->posonlyargs))
  ------------------
  |  Branch (2986:9): [True: 2, False: 0]
  |  Branch (2986:27): [True: 0, False: 2]
  ------------------
 2987|      0|        return 0;
 2988|      2|    if (a->args && !symtable_visit_params(st, a->args))
  ------------------
  |  Branch (2988:9): [True: 2, False: 0]
  |  Branch (2988:20): [True: 0, False: 2]
  ------------------
 2989|      0|        return 0;
 2990|      2|    if (a->kwonlyargs && !symtable_visit_params(st, a->kwonlyargs))
  ------------------
  |  Branch (2990:9): [True: 2, False: 0]
  |  Branch (2990:26): [True: 0, False: 2]
  ------------------
 2991|      0|        return 0;
 2992|      2|    if (a->vararg) {
  ------------------
  |  Branch (2992:9): [True: 0, False: 2]
  ------------------
 2993|      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 (2993:13): [True: 0, False: 0]
  ------------------
 2994|      0|            return 0;
 2995|      0|        st->st_cur->ste_varargs = 1;
 2996|      0|    }
 2997|      2|    if (a->kwarg) {
  ------------------
  |  Branch (2997:9): [True: 0, False: 2]
  ------------------
 2998|      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 (2998:13): [True: 0, False: 0]
  ------------------
 2999|      0|            return 0;
 3000|      0|        st->st_cur->ste_varkeywords = 1;
 3001|      0|    }
 3002|      2|    return 1;
 3003|      2|}
symtable.c:symtable_visit_params:
 2857|      6|{
 2858|      6|    Py_ssize_t i;
 2859|       |
 2860|     17|    for (i = 0; i < asdl_seq_LEN(args); i++) {
  ------------------
  |  |   83|     17|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  302|     34|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 0, False: 17]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2860:17): [True: 11, False: 6]
  ------------------
 2861|     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)])
  |  |  ------------------
  |  |  |  |  302|     11|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2862|     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 (2862:13): [True: 0, False: 11]
  ------------------
 2863|      0|            return 0;
 2864|     11|    }
 2865|       |
 2866|      6|    return 1;
 2867|      6|}
symtable.c:check_keywords:
 1632|      2|{
 1633|      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))
  |  |  ------------------
  |  |  |  |  302|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (302:37): [True: 2, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1633:28): [True: 0, False: 2]
  ------------------
 1634|      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)])
  |  |  ------------------
  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1635|      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 (1635:13): [True: 0, False: 0]
  |  Branch (1635:26): [True: 0, False: 0]
  ------------------
 1636|      0|            return 0;
 1637|      0|        }
 1638|      0|    }
 1639|      2|    return 1;
 1640|      2|}
symtable.c:symtable_visit_expr:
 2503|     19|{
 2504|     19|    ENTER_RECURSIVE();
  ------------------
  |  | 1802|     19|#define ENTER_RECURSIVE() \
  |  | 1803|     19|if (Py_EnterRecursiveCall(" during compilation")) { \
  |  |  ------------------
  |  |  |  Branch (1803:5): [True: 0, False: 19]
  |  |  ------------------
  |  | 1804|      0|    return 0; \
  |  | 1805|      0|}
  ------------------
 2505|     19|    switch (e->kind) {
  ------------------
  |  Branch (2505:13): [True: 19, False: 0]
  ------------------
 2506|      0|    case NamedExpr_kind:
  ------------------
  |  Branch (2506:5): [True: 0, False: 19]
  ------------------
 2507|      0|        if (!symtable_raise_if_annotation_block(st, "named expression", e)) {
  ------------------
  |  Branch (2507:13): [True: 0, False: 0]
  ------------------
 2508|      0|            return 0;
 2509|      0|        }
 2510|      0|        if(!symtable_handle_namedexpr(st, e))
  ------------------
  |  Branch (2510:12): [True: 0, False: 0]
  ------------------
 2511|      0|            return 0;
 2512|      0|        break;
 2513|      0|    case BoolOp_kind:
  ------------------
  |  Branch (2513:5): [True: 0, False: 19]
  ------------------
 2514|      0|        VISIT_SEQ(st, expr, e->v.BoolOp.values);
  ------------------
  |  | 1755|      0|    do { \
  |  | 1756|      0|        Py_ssize_t i; \
  |  | 1757|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1758|      0|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (302:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1758:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1759|      0|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1760|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1760:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1761|      0|                return 0;                 \
  |  | 1762|      0|        } \
  |  | 1763|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1763:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2515|      0|        break;
 2516|      0|    case BinOp_kind:
  ------------------
  |  Branch (2516:5): [True: 0, False: 19]
  ------------------
 2517|      0|        VISIT(st, expr, e->v.BinOp.left);
  ------------------
  |  | 1748|      0|    do { \
  |  | 1749|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1749:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1750|      0|            return 0; \
  |  | 1751|      0|        } \
  |  | 1752|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1752:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2518|      0|        VISIT(st, expr, e->v.BinOp.right);
  ------------------
  |  | 1748|      0|    do { \
  |  | 1749|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1749:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1750|      0|            return 0; \
  |  | 1751|      0|        } \
  |  | 1752|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1752:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2519|      0|        break;
 2520|      0|    case UnaryOp_kind:
  ------------------
  |  Branch (2520:5): [True: 0, False: 19]
  ------------------
 2521|      0|        VISIT(st, expr, e->v.UnaryOp.operand);
  ------------------
  |  | 1748|      0|    do { \
  |  | 1749|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1749:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1750|      0|            return 0; \
  |  | 1751|      0|        } \
  |  | 1752|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1752:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2522|      0|        break;
 2523|      2|    case Lambda_kind: {
  ------------------
  |  Branch (2523:5): [True: 2, False: 17]
  ------------------
 2524|      2|        if (e->v.Lambda.args->defaults)
  ------------------
  |  Branch (2524:13): [True: 2, False: 0]
  ------------------
 2525|      2|            VISIT_SEQ(st, expr, e->v.Lambda.args->defaults);
  ------------------
  |  | 1755|      2|    do { \
  |  | 1756|      2|        Py_ssize_t i; \
  |  | 1757|      2|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1758|      2|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      2|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (302:37): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1758:21): [True: 0, False: 2]
  |  |  ------------------
  |  | 1759|      0|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1760|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1760:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1761|      0|                return 0;                 \
  |  | 1762|      0|        } \
  |  | 1763|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1763:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2526|      2|        if (e->v.Lambda.args->kw_defaults)
  ------------------
  |  Branch (2526:13): [True: 2, False: 0]
  ------------------
 2527|      2|            VISIT_SEQ_WITH_NULL(st, expr, e->v.Lambda.args->kw_defaults);
  ------------------
  |  | 1777|      2|    do { \
  |  | 1778|      2|        int i = 0; \
  |  | 1779|      2|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1780|      2|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      2|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (302:37): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1780:21): [True: 0, False: 2]
  |  |  ------------------
  |  | 1781|      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)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1782|      0|            if (!elt) continue; /* can be NULL */ \
  |  |  ------------------
  |  |  |  Branch (1782:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1783|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1783:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1784|      0|                return 0;             \
  |  | 1785|      0|        } \
  |  | 1786|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1786:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2528|      2|        if (!symtable_enter_block(st, &_Py_STR(anon_lambda),
  ------------------
  |  |  938|      2|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2528:13): [True: 0, False: 2]
  ------------------
 2529|      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 }
  |  |  ------------------
  ------------------
 2530|      0|            return 0;
 2531|      0|        }
 2532|      2|        VISIT(st, arguments, e->v.Lambda.args);
  ------------------
  |  | 1748|      2|    do { \
  |  | 1749|      2|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1749:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 1750|      0|            return 0; \
  |  | 1751|      0|        } \
  |  | 1752|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1752:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2533|      2|        VISIT(st, expr, e->v.Lambda.body);
  ------------------
  |  | 1748|      2|    do { \
  |  | 1749|      2|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1749:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 1750|      0|            return 0; \
  |  | 1751|      0|        } \
  |  | 1752|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1752:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2534|      2|        if (!symtable_exit_block(st))
  ------------------
  |  Branch (2534:13): [True: 0, False: 2]
  ------------------
 2535|      0|            return 0;
 2536|      2|        break;
 2537|      2|    }
 2538|      2|    case IfExp_kind:
  ------------------
  |  Branch (2538:5): [True: 0, False: 19]
  ------------------
 2539|      0|        VISIT(st, expr, e->v.IfExp.test);
  ------------------
  |  | 1748|      0|    do { \
  |  | 1749|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1749:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1750|      0|            return 0; \
  |  | 1751|      0|        } \
  |  | 1752|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1752:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2540|      0|        VISIT(st, expr, e->v.IfExp.body);
  ------------------
  |  | 1748|      0|    do { \
  |  | 1749|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1749:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1750|      0|            return 0; \
  |  | 1751|      0|        } \
  |  | 1752|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1752:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2541|      0|        VISIT(st, expr, e->v.IfExp.orelse);
  ------------------
  |  | 1748|      0|    do { \
  |  | 1749|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1749:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1750|      0|            return 0; \
  |  | 1751|      0|        } \
  |  | 1752|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1752:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2542|      0|        break;
 2543|      0|    case Dict_kind:
  ------------------
  |  Branch (2543:5): [True: 0, False: 19]
  ------------------
 2544|      0|        VISIT_SEQ_WITH_NULL(st, expr, e->v.Dict.keys);
  ------------------
  |  | 1777|      0|    do { \
  |  | 1778|      0|        int i = 0; \
  |  | 1779|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1780|      0|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (302:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1780:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1781|      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)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1782|      0|            if (!elt) continue; /* can be NULL */ \
  |  |  ------------------
  |  |  |  Branch (1782:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1783|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1783:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1784|      0|                return 0;             \
  |  | 1785|      0|        } \
  |  | 1786|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1786:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2545|      0|        VISIT_SEQ(st, expr, e->v.Dict.values);
  ------------------
  |  | 1755|      0|    do { \
  |  | 1756|      0|        Py_ssize_t i; \
  |  | 1757|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1758|      0|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (302:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1758:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1759|      0|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1760|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1760:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1761|      0|                return 0;                 \
  |  | 1762|      0|        } \
  |  | 1763|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1763:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2546|      0|        break;
 2547|      0|    case Set_kind:
  ------------------
  |  Branch (2547:5): [True: 0, False: 19]
  ------------------
 2548|      0|        VISIT_SEQ(st, expr, e->v.Set.elts);
  ------------------
  |  | 1755|      0|    do { \
  |  | 1756|      0|        Py_ssize_t i; \
  |  | 1757|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1758|      0|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (302:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1758:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1759|      0|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1760|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1760:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1761|      0|                return 0;                 \
  |  | 1762|      0|        } \
  |  | 1763|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1763:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2549|      0|        break;
 2550|      0|    case GeneratorExp_kind:
  ------------------
  |  Branch (2550:5): [True: 0, False: 19]
  ------------------
 2551|      0|        if (!symtable_visit_genexp(st, e))
  ------------------
  |  Branch (2551:13): [True: 0, False: 0]
  ------------------
 2552|      0|            return 0;
 2553|      0|        break;
 2554|      0|    case ListComp_kind:
  ------------------
  |  Branch (2554:5): [True: 0, False: 19]
  ------------------
 2555|      0|        if (!symtable_visit_listcomp(st, e))
  ------------------
  |  Branch (2555:13): [True: 0, False: 0]
  ------------------
 2556|      0|            return 0;
 2557|      0|        break;
 2558|      0|    case SetComp_kind:
  ------------------
  |  Branch (2558:5): [True: 0, False: 19]
  ------------------
 2559|      0|        if (!symtable_visit_setcomp(st, e))
  ------------------
  |  Branch (2559:13): [True: 0, False: 0]
  ------------------
 2560|      0|            return 0;
 2561|      0|        break;
 2562|      0|    case DictComp_kind:
  ------------------
  |  Branch (2562:5): [True: 0, False: 19]
  ------------------
 2563|      0|        if (!symtable_visit_dictcomp(st, e))
  ------------------
  |  Branch (2563:13): [True: 0, False: 0]
  ------------------
 2564|      0|            return 0;
 2565|      0|        break;
 2566|      0|    case Yield_kind:
  ------------------
  |  Branch (2566:5): [True: 0, False: 19]
  ------------------
 2567|      0|        if (!symtable_raise_if_annotation_block(st, "yield expression", e)) {
  ------------------
  |  Branch (2567:13): [True: 0, False: 0]
  ------------------
 2568|      0|            return 0;
 2569|      0|        }
 2570|      0|        if (e->v.Yield.value)
  ------------------
  |  Branch (2570:13): [True: 0, False: 0]
  ------------------
 2571|      0|            VISIT(st, expr, e->v.Yield.value);
  ------------------
  |  | 1748|      0|    do { \
  |  | 1749|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1749:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1750|      0|            return 0; \
  |  | 1751|      0|        } \
  |  | 1752|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1752:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2572|      0|        st->st_cur->ste_generator = 1;
 2573|      0|        if (st->st_cur->ste_comprehension) {
  ------------------
  |  Branch (2573:13): [True: 0, False: 0]
  ------------------
 2574|      0|            return symtable_raise_if_comprehension_block(st, e);
 2575|      0|        }
 2576|      0|        break;
 2577|      0|    case YieldFrom_kind:
  ------------------
  |  Branch (2577:5): [True: 0, False: 19]
  ------------------
 2578|      0|        if (!symtable_raise_if_annotation_block(st, "yield expression", e)) {
  ------------------
  |  Branch (2578:13): [True: 0, False: 0]
  ------------------
 2579|      0|            return 0;
 2580|      0|        }
 2581|      0|        VISIT(st, expr, e->v.YieldFrom.value);
  ------------------
  |  | 1748|      0|    do { \
  |  | 1749|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1749:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1750|      0|            return 0; \
  |  | 1751|      0|        } \
  |  | 1752|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1752:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2582|      0|        st->st_cur->ste_generator = 1;
 2583|      0|        if (st->st_cur->ste_comprehension) {
  ------------------
  |  Branch (2583:13): [True: 0, False: 0]
  ------------------
 2584|      0|            return symtable_raise_if_comprehension_block(st, e);
 2585|      0|        }
 2586|      0|        break;
 2587|      0|    case Await_kind:
  ------------------
  |  Branch (2587:5): [True: 0, False: 19]
  ------------------
 2588|      0|        if (!symtable_raise_if_annotation_block(st, "await expression", e)) {
  ------------------
  |  Branch (2588:13): [True: 0, False: 0]
  ------------------
 2589|      0|            return 0;
 2590|      0|        }
 2591|      0|        if (!allows_top_level_await(st)) {
  ------------------
  |  Branch (2591:13): [True: 0, False: 0]
  ------------------
 2592|      0|            if (!ste_uses_fast_locals(st->st_cur)) {
  ------------------
  |  Branch (2592:17): [True: 0, False: 0]
  ------------------
 2593|      0|                PyErr_SetString(PyExc_SyntaxError,
 2594|      0|                                "'await' outside function");
 2595|      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)
  ------------------
 2596|      0|                return 0;
 2597|      0|            }
 2598|      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 (2598:38): [True: 0, False: 0]
  ------------------
 2599|      0|                PyErr_SetString(PyExc_SyntaxError,
 2600|      0|                                "'await' outside async function");
 2601|      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)
  ------------------
 2602|      0|                return 0;
 2603|      0|            }
 2604|      0|        }
 2605|      0|        VISIT(st, expr, e->v.Await.value);
  ------------------
  |  | 1748|      0|    do { \
  |  | 1749|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1749:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1750|      0|            return 0; \
  |  | 1751|      0|        } \
  |  | 1752|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1752:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2606|      0|        st->st_cur->ste_coroutine = 1;
 2607|      0|        break;
 2608|      0|    case Compare_kind:
  ------------------
  |  Branch (2608:5): [True: 0, False: 19]
  ------------------
 2609|      0|        VISIT(st, expr, e->v.Compare.left);
  ------------------
  |  | 1748|      0|    do { \
  |  | 1749|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1749:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1750|      0|            return 0; \
  |  | 1751|      0|        } \
  |  | 1752|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1752:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2610|      0|        VISIT_SEQ(st, expr, e->v.Compare.comparators);
  ------------------
  |  | 1755|      0|    do { \
  |  | 1756|      0|        Py_ssize_t i; \
  |  | 1757|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1758|      0|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (302:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1758:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1759|      0|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1760|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1760:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1761|      0|                return 0;                 \
  |  | 1762|      0|        } \
  |  | 1763|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1763:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2611|      0|        break;
 2612|      2|    case Call_kind:
  ------------------
  |  Branch (2612:5): [True: 2, False: 17]
  ------------------
 2613|      2|        VISIT(st, expr, e->v.Call.func);
  ------------------
  |  | 1748|      2|    do { \
  |  | 1749|      2|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1749:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 1750|      0|            return 0; \
  |  | 1751|      0|        } \
  |  | 1752|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1752:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2614|      2|        VISIT_SEQ(st, expr, e->v.Call.args);
  ------------------
  |  | 1755|      2|    do { \
  |  | 1756|      2|        Py_ssize_t i; \
  |  | 1757|      2|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1758|      6|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      6|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|     12|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (302:37): [True: 0, False: 6]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1758:21): [True: 4, False: 2]
  |  |  ------------------
  |  | 1759|      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)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1760|      4|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1760:17): [True: 0, False: 4]
  |  |  ------------------
  |  | 1761|      4|                return 0;                 \
  |  | 1762|      4|        } \
  |  | 1763|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1763:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2615|      2|        if (!check_keywords(st, e->v.Call.keywords)) {
  ------------------
  |  Branch (2615:13): [True: 0, False: 2]
  ------------------
 2616|      0|            return 0;
 2617|      0|        }
 2618|      2|        VISIT_SEQ_WITH_NULL(st, keyword, e->v.Call.keywords);
  ------------------
  |  | 1777|      2|    do { \
  |  | 1778|      2|        int i = 0; \
  |  | 1779|      2|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1780|      2|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      2|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (302:37): [True: 2, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1780:21): [True: 0, False: 2]
  |  |  ------------------
  |  | 1781|      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)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1782|      0|            if (!elt) continue; /* can be NULL */ \
  |  |  ------------------
  |  |  |  Branch (1782:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1783|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1783:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1784|      0|                return 0;             \
  |  | 1785|      0|        } \
  |  | 1786|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1786:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2619|      2|        break;
 2620|      2|    case FormattedValue_kind:
  ------------------
  |  Branch (2620:5): [True: 0, False: 19]
  ------------------
 2621|      0|        VISIT(st, expr, e->v.FormattedValue.value);
  ------------------
  |  | 1748|      0|    do { \
  |  | 1749|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1749:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1750|      0|            return 0; \
  |  | 1751|      0|        } \
  |  | 1752|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1752:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2622|      0|        if (e->v.FormattedValue.format_spec)
  ------------------
  |  Branch (2622:13): [True: 0, False: 0]
  ------------------
 2623|      0|            VISIT(st, expr, e->v.FormattedValue.format_spec);
  ------------------
  |  | 1748|      0|    do { \
  |  | 1749|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1749:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1750|      0|            return 0; \
  |  | 1751|      0|        } \
  |  | 1752|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1752:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2624|      0|        break;
 2625|      0|    case Interpolation_kind:
  ------------------
  |  Branch (2625:5): [True: 0, False: 19]
  ------------------
 2626|      0|        VISIT(st, expr, e->v.Interpolation.value);
  ------------------
  |  | 1748|      0|    do { \
  |  | 1749|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1749:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1750|      0|            return 0; \
  |  | 1751|      0|        } \
  |  | 1752|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1752:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2627|      0|        if (e->v.Interpolation.format_spec)
  ------------------
  |  Branch (2627:13): [True: 0, False: 0]
  ------------------
 2628|      0|            VISIT(st, expr, e->v.Interpolation.format_spec);
  ------------------
  |  | 1748|      0|    do { \
  |  | 1749|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1749:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1750|      0|            return 0; \
  |  | 1751|      0|        } \
  |  | 1752|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1752:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2629|      0|        break;
 2630|      0|    case JoinedStr_kind:
  ------------------
  |  Branch (2630:5): [True: 0, False: 19]
  ------------------
 2631|      0|        VISIT_SEQ(st, expr, e->v.JoinedStr.values);
  ------------------
  |  | 1755|      0|    do { \
  |  | 1756|      0|        Py_ssize_t i; \
  |  | 1757|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1758|      0|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (302:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1758:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1759|      0|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1760|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1760:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1761|      0|                return 0;                 \
  |  | 1762|      0|        } \
  |  | 1763|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1763:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2632|      0|        break;
 2633|      0|    case TemplateStr_kind:
  ------------------
  |  Branch (2633:5): [True: 0, False: 19]
  ------------------
 2634|      0|        VISIT_SEQ(st, expr, e->v.TemplateStr.values);
  ------------------
  |  | 1755|      0|    do { \
  |  | 1756|      0|        Py_ssize_t i; \
  |  | 1757|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1758|      0|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (302:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1758:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1759|      0|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1760|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1760:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1761|      0|                return 0;                 \
  |  | 1762|      0|        } \
  |  | 1763|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1763:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2635|      0|        break;
 2636|      0|    case Constant_kind:
  ------------------
  |  Branch (2636:5): [True: 0, False: 19]
  ------------------
 2637|       |        /* Nothing to do here. */
 2638|      0|        break;
 2639|       |    /* The following exprs can be assignment targets. */
 2640|      0|    case Attribute_kind:
  ------------------
  |  Branch (2640:5): [True: 0, False: 19]
  ------------------
 2641|      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 (2641:13): [True: 0, False: 0]
  ------------------
 2642|      0|            return 0;
 2643|      0|        }
 2644|      0|        VISIT(st, expr, e->v.Attribute.value);
  ------------------
  |  | 1748|      0|    do { \
  |  | 1749|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1749:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1750|      0|            return 0; \
  |  | 1751|      0|        } \
  |  | 1752|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1752:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2645|      0|        break;
 2646|      0|    case Subscript_kind:
  ------------------
  |  Branch (2646:5): [True: 0, False: 19]
  ------------------
 2647|      0|        VISIT(st, expr, e->v.Subscript.value);
  ------------------
  |  | 1748|      0|    do { \
  |  | 1749|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1749:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1750|      0|            return 0; \
  |  | 1751|      0|        } \
  |  | 1752|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1752:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2648|      0|        VISIT(st, expr, e->v.Subscript.slice);
  ------------------
  |  | 1748|      0|    do { \
  |  | 1749|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1749:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1750|      0|            return 0; \
  |  | 1751|      0|        } \
  |  | 1752|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1752:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2649|      0|        break;
 2650|      0|    case Starred_kind:
  ------------------
  |  Branch (2650:5): [True: 0, False: 19]
  ------------------
 2651|      0|        VISIT(st, expr, e->v.Starred.value);
  ------------------
  |  | 1748|      0|    do { \
  |  | 1749|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1749:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1750|      0|            return 0; \
  |  | 1751|      0|        } \
  |  | 1752|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1752:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2652|      0|        break;
 2653|      0|    case Slice_kind:
  ------------------
  |  Branch (2653:5): [True: 0, False: 19]
  ------------------
 2654|      0|        if (e->v.Slice.lower)
  ------------------
  |  Branch (2654:13): [True: 0, False: 0]
  ------------------
 2655|      0|            VISIT(st, expr, e->v.Slice.lower);
  ------------------
  |  | 1748|      0|    do { \
  |  | 1749|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1749:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1750|      0|            return 0; \
  |  | 1751|      0|        } \
  |  | 1752|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1752:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2656|      0|        if (e->v.Slice.upper)
  ------------------
  |  Branch (2656:13): [True: 0, False: 0]
  ------------------
 2657|      0|            VISIT(st, expr, e->v.Slice.upper);
  ------------------
  |  | 1748|      0|    do { \
  |  | 1749|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1749:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1750|      0|            return 0; \
  |  | 1751|      0|        } \
  |  | 1752|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1752:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2658|      0|        if (e->v.Slice.step)
  ------------------
  |  Branch (2658:13): [True: 0, False: 0]
  ------------------
 2659|      0|            VISIT(st, expr, e->v.Slice.step);
  ------------------
  |  | 1748|      0|    do { \
  |  | 1749|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1749:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1750|      0|            return 0; \
  |  | 1751|      0|        } \
  |  | 1752|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1752:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2660|      0|        break;
 2661|     13|    case Name_kind:
  ------------------
  |  Branch (2661:5): [True: 13, False: 6]
  ------------------
 2662|     13|        if (!st->st_cur->ste_in_unevaluated_annotation) {
  ------------------
  |  Branch (2662:13): [True: 13, False: 0]
  ------------------
 2663|     13|            if (!symtable_add_def_ctx(st, e->v.Name.id,
  ------------------
  |  Branch (2663:17): [True: 0, False: 13]
  ------------------
 2664|     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 (2664:37): [True: 13, False: 0]
  ------------------
 2665|     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 }
  |  |  ------------------
  ------------------
 2666|      0|                return 0;
 2667|      0|            }
 2668|       |            /* Special-case super: it counts as a use of __class__ */
 2669|     13|            if (e->v.Name.ctx == Load &&
  ------------------
  |  Branch (2669:17): [True: 13, False: 0]
  ------------------
 2670|     13|                ste_uses_fast_locals(st->st_cur) &&
  ------------------
  |  Branch (2670:17): [True: 13, False: 0]
  ------------------
 2671|     13|                _PyUnicode_EqualToASCIIString(e->v.Name.id, "super")) {
  ------------------
  |  Branch (2671:17): [True: 0, False: 13]
  ------------------
 2672|      0|                if (!symtable_add_def(st, &_Py_ID(__class__), USE, LOCATION(e)))
  ------------------
  |  |  936|      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 (2672:21): [True: 0, False: 0]
  ------------------
 2673|      0|                    return 0;
 2674|      0|            }
 2675|     13|        }
 2676|     13|        break;
 2677|       |    /* child nodes of List and Tuple will have expr_context set */
 2678|     13|    case List_kind:
  ------------------
  |  Branch (2678:5): [True: 0, False: 19]
  ------------------
 2679|      0|        VISIT_SEQ(st, expr, e->v.List.elts);
  ------------------
  |  | 1755|      0|    do { \
  |  | 1756|      0|        Py_ssize_t i; \
  |  | 1757|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1758|      0|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (302:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1758:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1759|      0|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1760|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1760:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1761|      0|                return 0;                 \
  |  | 1762|      0|        } \
  |  | 1763|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1763:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2680|      0|        break;
 2681|      2|    case Tuple_kind:
  ------------------
  |  Branch (2681:5): [True: 2, False: 17]
  ------------------
 2682|      2|        VISIT_SEQ(st, expr, e->v.Tuple.elts);
  ------------------
  |  | 1755|      2|    do { \
  |  | 1756|      2|        Py_ssize_t i; \
  |  | 1757|      2|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1758|     11|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|     11|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|     22|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (302:37): [True: 0, False: 11]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1758:21): [True: 9, False: 2]
  |  |  ------------------
  |  | 1759|      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)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  302|      9|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1760|      9|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1760:17): [True: 0, False: 9]
  |  |  ------------------
  |  | 1761|      9|                return 0;                 \
  |  | 1762|      9|        } \
  |  | 1763|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1763:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2683|      2|        break;
 2684|     19|    }
 2685|     19|    LEAVE_RECURSIVE();
  ------------------
  |  | 1807|     19|#define LEAVE_RECURSIVE() Py_LeaveRecursiveCall();
  ------------------
 2686|     19|    return 1;
 2687|     19|}

PySys_GetAttrString:
  103|      2|{
  104|      2|    PyThreadState *tstate = _PyThreadState_GET();
  105|      2|    PyObject *sysdict = tstate->interp->sysdict;
  106|      2|    if (sysdict == NULL) {
  ------------------
  |  Branch (106:9): [True: 0, False: 2]
  ------------------
  107|      0|        PyErr_SetString(PyExc_RuntimeError, "no sys module");
  108|      0|        return NULL;
  109|      0|    }
  110|      2|    PyObject *value;
  111|      2|    if (PyDict_GetItemStringRef(sysdict, name, &value) == 0) {
  ------------------
  |  Branch (111:9): [True: 0, False: 2]
  ------------------
  112|      0|        PyErr_Format(PyExc_RuntimeError, "lost sys.%s", name);
  113|      0|    }
  114|      2|    return value;
  115|      2|}
PySys_GetOptionalAttrString:
  138|      2|{
  139|      2|    PyThreadState *tstate = _PyThreadState_GET();
  140|      2|    PyObject *sysdict = tstate->interp->sysdict;
  141|      2|    if (sysdict == NULL) {
  ------------------
  |  Branch (141:9): [True: 0, False: 2]
  ------------------
  142|      0|        *value = NULL;
  143|      0|        return 0;
  144|      0|    }
  145|      2|    return PyDict_GetItemStringRef(sysdict, name, value);
  146|      2|}
_PySys_SetAttr:
  193|      8|{
  194|      8|    PyInterpreterState *interp = _PyInterpreterState_GET();
  195|      8|    return sys_set_object(interp, key, v);
  196|      8|}
PySys_SetObject:
  210|      6|{
  211|      6|    PyInterpreterState *interp = _PyInterpreterState_GET();
  212|      6|    return sys_set_object_str(interp, name, v);
  213|      6|}
_PySys_Audit:
  374|      4|{
  375|      4|    va_list vargs;
  376|      4|    va_start(vargs, argFormat);
  377|      4|    int res = sys_audit_tstate(tstate, event, argFormat, vargs);
  378|       |    va_end(vargs);
  379|      4|    return res;
  380|      4|}
PySys_Audit:
  384|    212|{
  385|    212|    PyThreadState *tstate = _PyThreadState_GET();
  386|    212|    va_list vargs;
  387|    212|    va_start(vargs, argFormat);
  388|    212|    int res = sys_audit_tstate(tstate, event, argFormat, vargs);
  389|       |    va_end(vargs);
  390|    212|    return res;
  391|    212|}
_PySys_ReadPreinitWarnOptions:
 3100|      2|{
 3101|      2|    PyStatus status;
 3102|      2|    _Py_PreInitEntry entry;
 3103|       |
 3104|      2|    for (entry = _preinit_warnoptions; entry != NULL; entry = entry->next) {
  ------------------
  |  Branch (3104:40): [True: 0, False: 2]
  ------------------
 3105|      0|        status = PyWideStringList_Append(options, entry->value);
 3106|      0|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3107|      0|            return status;
 3108|      0|        }
 3109|      0|    }
 3110|       |
 3111|      2|    _clear_preinit_entries(&_preinit_warnoptions);
 3112|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3113|      2|}
_PySys_ReadPreinitXOptions:
 3118|      2|{
 3119|      2|    PyStatus status;
 3120|      2|    _Py_PreInitEntry entry;
 3121|       |
 3122|      2|    for (entry = _preinit_xoptions; entry != NULL; entry = entry->next) {
  ------------------
  |  Branch (3122:37): [True: 0, False: 2]
  ------------------
 3123|      0|        status = PyWideStringList_Append(&config->xoptions, entry->value);
 3124|      0|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3125|      0|            return status;
 3126|      0|        }
 3127|      0|    }
 3128|       |
 3129|      2|    _clear_preinit_entries(&_preinit_xoptions);
 3130|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3131|      2|}
_PySys_UpdateConfig:
 4135|      2|{
 4136|      2|    PyInterpreterState *interp = tstate->interp;
 4137|      2|    PyObject *sysdict = interp->sysdict;
 4138|      2|    const PyConfig *config = _PyInterpreterState_GetConfig(interp);
 4139|      2|    int res;
 4140|       |
 4141|      2|#define COPY_LIST(KEY, VALUE) \
 4142|      2|        SET_SYS(KEY, _PyWideStringList_AsList(&(VALUE)));
 4143|       |
 4144|      2|#define SET_SYS_FROM_WSTR(KEY, VALUE) \
 4145|      2|        SET_SYS(KEY, PyUnicode_FromWideChar(VALUE, -1));
 4146|       |
 4147|      2|#define COPY_WSTR(SYS_ATTR, WSTR) \
 4148|      2|    if (WSTR != NULL) { \
 4149|      2|        SET_SYS_FROM_WSTR(SYS_ATTR, WSTR); \
 4150|      2|    }
 4151|       |
 4152|      2|    if (config->module_search_paths_set) {
  ------------------
  |  Branch (4152:9): [True: 2, False: 0]
  ------------------
 4153|      2|        COPY_LIST("path", config->module_search_paths);
  ------------------
  |  | 4142|      2|        SET_SYS(KEY, _PyWideStringList_AsList(&(VALUE)));
  |  |  ------------------
  |  |  |  | 3987|      2|    do {                                                   \
  |  |  |  | 3988|      2|        PyObject *v = (value);                             \
  |  |  |  | 3989|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3989:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3990|      0|            goto err_occurred;                             \
  |  |  |  | 3991|      0|        }                                                  \
  |  |  |  | 3992|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 3993|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3994|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3995|      0|            goto err_occurred;                             \
  |  |  |  | 3996|      0|        }                                                  \
  |  |  |  | 3997|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3997:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4154|      2|    }
 4155|       |
 4156|      2|    COPY_WSTR("executable", config->executable);
  ------------------
  |  | 4148|      2|    if (WSTR != NULL) { \
  |  |  ------------------
  |  |  |  Branch (4148:9): [True: 2, False: 0]
  |  |  ------------------
  |  | 4149|      2|        SET_SYS_FROM_WSTR(SYS_ATTR, WSTR); \
  |  |  ------------------
  |  |  |  | 4145|      2|        SET_SYS(KEY, PyUnicode_FromWideChar(VALUE, -1));
  |  |  |  |  ------------------
  |  |  |  |  |  | 3987|      2|    do {                                                   \
  |  |  |  |  |  | 3988|      2|        PyObject *v = (value);                             \
  |  |  |  |  |  | 3989|      2|        if (v == NULL) {                                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3989:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3990|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 3991|      0|        }                                                  \
  |  |  |  |  |  | 3992|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  |  |  | 3993|      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))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3994|      2|        if (res < 0) {                                     \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3995|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 3996|      0|        }                                                  \
  |  |  |  |  |  | 3997|      2|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3997:14): [Folded, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4150|      2|    }
  ------------------
 4157|      2|    COPY_WSTR("_base_executable", config->base_executable);
  ------------------
  |  | 4148|      2|    if (WSTR != NULL) { \
  |  |  ------------------
  |  |  |  Branch (4148:9): [True: 2, False: 0]
  |  |  ------------------
  |  | 4149|      2|        SET_SYS_FROM_WSTR(SYS_ATTR, WSTR); \
  |  |  ------------------
  |  |  |  | 4145|      2|        SET_SYS(KEY, PyUnicode_FromWideChar(VALUE, -1));
  |  |  |  |  ------------------
  |  |  |  |  |  | 3987|      2|    do {                                                   \
  |  |  |  |  |  | 3988|      2|        PyObject *v = (value);                             \
  |  |  |  |  |  | 3989|      2|        if (v == NULL) {                                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3989:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3990|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 3991|      0|        }                                                  \
  |  |  |  |  |  | 3992|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  |  |  | 3993|      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))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3994|      2|        if (res < 0) {                                     \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3995|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 3996|      0|        }                                                  \
  |  |  |  |  |  | 3997|      2|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3997:14): [Folded, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4150|      2|    }
  ------------------
 4158|      2|    COPY_WSTR("prefix", config->prefix);
  ------------------
  |  | 4148|      2|    if (WSTR != NULL) { \
  |  |  ------------------
  |  |  |  Branch (4148:9): [True: 2, False: 0]
  |  |  ------------------
  |  | 4149|      2|        SET_SYS_FROM_WSTR(SYS_ATTR, WSTR); \
  |  |  ------------------
  |  |  |  | 4145|      2|        SET_SYS(KEY, PyUnicode_FromWideChar(VALUE, -1));
  |  |  |  |  ------------------
  |  |  |  |  |  | 3987|      2|    do {                                                   \
  |  |  |  |  |  | 3988|      2|        PyObject *v = (value);                             \
  |  |  |  |  |  | 3989|      2|        if (v == NULL) {                                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3989:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3990|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 3991|      0|        }                                                  \
  |  |  |  |  |  | 3992|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  |  |  | 3993|      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))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3994|      2|        if (res < 0) {                                     \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3995|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 3996|      0|        }                                                  \
  |  |  |  |  |  | 3997|      2|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3997:14): [Folded, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4150|      2|    }
  ------------------
 4159|      2|    COPY_WSTR("base_prefix", config->base_prefix);
  ------------------
  |  | 4148|      2|    if (WSTR != NULL) { \
  |  |  ------------------
  |  |  |  Branch (4148:9): [True: 2, False: 0]
  |  |  ------------------
  |  | 4149|      2|        SET_SYS_FROM_WSTR(SYS_ATTR, WSTR); \
  |  |  ------------------
  |  |  |  | 4145|      2|        SET_SYS(KEY, PyUnicode_FromWideChar(VALUE, -1));
  |  |  |  |  ------------------
  |  |  |  |  |  | 3987|      2|    do {                                                   \
  |  |  |  |  |  | 3988|      2|        PyObject *v = (value);                             \
  |  |  |  |  |  | 3989|      2|        if (v == NULL) {                                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3989:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3990|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 3991|      0|        }                                                  \
  |  |  |  |  |  | 3992|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  |  |  | 3993|      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))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3994|      2|        if (res < 0) {                                     \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3995|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 3996|      0|        }                                                  \
  |  |  |  |  |  | 3997|      2|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3997:14): [Folded, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4150|      2|    }
  ------------------
 4160|      2|    COPY_WSTR("exec_prefix", config->exec_prefix);
  ------------------
  |  | 4148|      2|    if (WSTR != NULL) { \
  |  |  ------------------
  |  |  |  Branch (4148:9): [True: 2, False: 0]
  |  |  ------------------
  |  | 4149|      2|        SET_SYS_FROM_WSTR(SYS_ATTR, WSTR); \
  |  |  ------------------
  |  |  |  | 4145|      2|        SET_SYS(KEY, PyUnicode_FromWideChar(VALUE, -1));
  |  |  |  |  ------------------
  |  |  |  |  |  | 3987|      2|    do {                                                   \
  |  |  |  |  |  | 3988|      2|        PyObject *v = (value);                             \
  |  |  |  |  |  | 3989|      2|        if (v == NULL) {                                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3989:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3990|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 3991|      0|        }                                                  \
  |  |  |  |  |  | 3992|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  |  |  | 3993|      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))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3994|      2|        if (res < 0) {                                     \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3995|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 3996|      0|        }                                                  \
  |  |  |  |  |  | 3997|      2|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3997:14): [Folded, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4150|      2|    }
  ------------------
 4161|      2|    COPY_WSTR("base_exec_prefix", config->base_exec_prefix);
  ------------------
  |  | 4148|      2|    if (WSTR != NULL) { \
  |  |  ------------------
  |  |  |  Branch (4148:9): [True: 2, False: 0]
  |  |  ------------------
  |  | 4149|      2|        SET_SYS_FROM_WSTR(SYS_ATTR, WSTR); \
  |  |  ------------------
  |  |  |  | 4145|      2|        SET_SYS(KEY, PyUnicode_FromWideChar(VALUE, -1));
  |  |  |  |  ------------------
  |  |  |  |  |  | 3987|      2|    do {                                                   \
  |  |  |  |  |  | 3988|      2|        PyObject *v = (value);                             \
  |  |  |  |  |  | 3989|      2|        if (v == NULL) {                                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3989:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3990|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 3991|      0|        }                                                  \
  |  |  |  |  |  | 3992|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  |  |  | 3993|      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))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3994|      2|        if (res < 0) {                                     \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3995|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 3996|      0|        }                                                  \
  |  |  |  |  |  | 3997|      2|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3997:14): [Folded, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4150|      2|    }
  ------------------
 4162|      2|    COPY_WSTR("platlibdir", config->platlibdir);
  ------------------
  |  | 4148|      2|    if (WSTR != NULL) { \
  |  |  ------------------
  |  |  |  Branch (4148:9): [True: 2, False: 0]
  |  |  ------------------
  |  | 4149|      2|        SET_SYS_FROM_WSTR(SYS_ATTR, WSTR); \
  |  |  ------------------
  |  |  |  | 4145|      2|        SET_SYS(KEY, PyUnicode_FromWideChar(VALUE, -1));
  |  |  |  |  ------------------
  |  |  |  |  |  | 3987|      2|    do {                                                   \
  |  |  |  |  |  | 3988|      2|        PyObject *v = (value);                             \
  |  |  |  |  |  | 3989|      2|        if (v == NULL) {                                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3989:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3990|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 3991|      0|        }                                                  \
  |  |  |  |  |  | 3992|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  |  |  | 3993|      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))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3994|      2|        if (res < 0) {                                     \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3995|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 3996|      0|        }                                                  \
  |  |  |  |  |  | 3997|      2|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3997:14): [Folded, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4150|      2|    }
  ------------------
 4163|       |
 4164|      2|    if (config->pycache_prefix != NULL) {
  ------------------
  |  Branch (4164:9): [True: 0, False: 2]
  ------------------
 4165|      0|        SET_SYS_FROM_WSTR("pycache_prefix", config->pycache_prefix);
  ------------------
  |  | 4145|      0|        SET_SYS(KEY, PyUnicode_FromWideChar(VALUE, -1));
  |  |  ------------------
  |  |  |  | 3987|      0|    do {                                                   \
  |  |  |  | 3988|      0|        PyObject *v = (value);                             \
  |  |  |  | 3989|      0|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3989:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 3990|      0|            goto err_occurred;                             \
  |  |  |  | 3991|      0|        }                                                  \
  |  |  |  | 3992|      0|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 3993|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3994|      0|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3994:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 3995|      0|            goto err_occurred;                             \
  |  |  |  | 3996|      0|        }                                                  \
  |  |  |  | 3997|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3997:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4166|      2|    } else {
 4167|      2|        if (PyDict_SetItemString(sysdict, "pycache_prefix", Py_None) < 0) {
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (4167:13): [True: 0, False: 2]
  ------------------
 4168|      0|            return -1;
 4169|      0|        }
 4170|      2|    }
 4171|       |
 4172|      2|    COPY_LIST("argv", config->argv);
  ------------------
  |  | 4142|      2|        SET_SYS(KEY, _PyWideStringList_AsList(&(VALUE)));
  |  |  ------------------
  |  |  |  | 3987|      2|    do {                                                   \
  |  |  |  | 3988|      2|        PyObject *v = (value);                             \
  |  |  |  | 3989|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3989:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3990|      0|            goto err_occurred;                             \
  |  |  |  | 3991|      0|        }                                                  \
  |  |  |  | 3992|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 3993|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3994|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3995|      0|            goto err_occurred;                             \
  |  |  |  | 3996|      0|        }                                                  \
  |  |  |  | 3997|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3997:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4173|      2|    COPY_LIST("orig_argv", config->orig_argv);
  ------------------
  |  | 4142|      2|        SET_SYS(KEY, _PyWideStringList_AsList(&(VALUE)));
  |  |  ------------------
  |  |  |  | 3987|      2|    do {                                                   \
  |  |  |  | 3988|      2|        PyObject *v = (value);                             \
  |  |  |  | 3989|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3989:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3990|      0|            goto err_occurred;                             \
  |  |  |  | 3991|      0|        }                                                  \
  |  |  |  | 3992|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 3993|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3994|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3995|      0|            goto err_occurred;                             \
  |  |  |  | 3996|      0|        }                                                  \
  |  |  |  | 3997|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3997:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4174|      2|    COPY_LIST("warnoptions", config->warnoptions);
  ------------------
  |  | 4142|      2|        SET_SYS(KEY, _PyWideStringList_AsList(&(VALUE)));
  |  |  ------------------
  |  |  |  | 3987|      2|    do {                                                   \
  |  |  |  | 3988|      2|        PyObject *v = (value);                             \
  |  |  |  | 3989|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3989:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3990|      0|            goto err_occurred;                             \
  |  |  |  | 3991|      0|        }                                                  \
  |  |  |  | 3992|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 3993|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3994|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3995|      0|            goto err_occurred;                             \
  |  |  |  | 3996|      0|        }                                                  \
  |  |  |  | 3997|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3997:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4175|       |
 4176|      2|    SET_SYS("_xoptions", _PyConfig_CreateXOptionsDict(config));
  ------------------
  |  | 3987|      2|    do {                                                   \
  |  | 3988|      2|        PyObject *v = (value);                             \
  |  | 3989|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3989:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3990|      0|            goto err_occurred;                             \
  |  | 3991|      0|        }                                                  \
  |  | 3992|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3993|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3994|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3995|      0|            goto err_occurred;                             \
  |  | 3996|      0|        }                                                  \
  |  | 3997|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3997:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4177|       |
 4178|      2|    const wchar_t *stdlibdir = _Py_GetStdlibDir();
 4179|      2|    if (stdlibdir != NULL) {
  ------------------
  |  Branch (4179:9): [True: 2, False: 0]
  ------------------
 4180|      2|        SET_SYS_FROM_WSTR("_stdlib_dir", stdlibdir);
  ------------------
  |  | 4145|      2|        SET_SYS(KEY, PyUnicode_FromWideChar(VALUE, -1));
  |  |  ------------------
  |  |  |  | 3987|      2|    do {                                                   \
  |  |  |  | 3988|      2|        PyObject *v = (value);                             \
  |  |  |  | 3989|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3989:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3990|      0|            goto err_occurred;                             \
  |  |  |  | 3991|      0|        }                                                  \
  |  |  |  | 3992|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 3993|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3994|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3995|      0|            goto err_occurred;                             \
  |  |  |  | 3996|      0|        }                                                  \
  |  |  |  | 3997|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3997:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4181|      2|    }
 4182|      0|    else {
 4183|      0|        if (PyDict_SetItemString(sysdict, "_stdlib_dir", Py_None) < 0) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (4183:13): [True: 0, False: 0]
  ------------------
 4184|      0|            return -1;
 4185|      0|        }
 4186|      0|    }
 4187|       |
 4188|      2|#undef SET_SYS_FROM_WSTR
 4189|      2|#undef COPY_LIST
 4190|      2|#undef COPY_WSTR
 4191|       |
 4192|       |    // replace sys.flags
 4193|      2|    PyObject *new_flags = PyStructSequence_New(&FlagsType);
 4194|      2|    if (new_flags == NULL) {
  ------------------
  |  Branch (4194:9): [True: 0, False: 2]
  ------------------
 4195|      0|        return -1;
 4196|      0|    }
 4197|      2|    if (set_flags_from_config(interp, new_flags) < 0) {
  ------------------
  |  Branch (4197:9): [True: 0, False: 2]
  ------------------
 4198|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4199|      0|        return -1;
 4200|      0|    }
 4201|       |
 4202|      2|    res = _PySys_SetAttr(&_Py_ID(flags), new_flags);
  ------------------
  |  |  936|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4203|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4204|      2|    if (res < 0) {
  ------------------
  |  Branch (4204:9): [True: 0, False: 2]
  ------------------
 4205|      0|        return -1;
 4206|      0|    }
 4207|       |
 4208|      2|    SET_SYS("dont_write_bytecode", PyBool_FromLong(!config->write_bytecode));
  ------------------
  |  | 3987|      2|    do {                                                   \
  |  | 3988|      2|        PyObject *v = (value);                             \
  |  | 3989|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3989:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3990|      0|            goto err_occurred;                             \
  |  | 3991|      0|        }                                                  \
  |  | 3992|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3993|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3994|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3995|      0|            goto err_occurred;                             \
  |  | 3996|      0|        }                                                  \
  |  | 3997|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3997:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4209|       |
 4210|      2|    if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (4210:9): [True: 0, False: 2]
  ------------------
 4211|      0|        goto err_occurred;
 4212|      0|    }
 4213|       |
 4214|      2|    return 0;
 4215|       |
 4216|      0|err_occurred:
 4217|      0|    return -1;
 4218|      2|}
_PySys_Create:
 4323|      2|{
 4324|      2|    assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (4324:5): [True: 2, False: 0]
  ------------------
 4325|       |
 4326|      2|    PyInterpreterState *interp = tstate->interp;
 4327|       |
 4328|      2|    PyObject *modules = _PyImport_InitModules(interp);
 4329|      2|    if (modules == NULL) {
  ------------------
  |  Branch (4329:9): [True: 0, False: 2]
  ------------------
 4330|      0|        goto error;
 4331|      0|    }
 4332|       |
 4333|      2|    PyObject *sysmod = _PyModule_CreateInitialized(&sysmodule, PYTHON_API_VERSION);
  ------------------
  |  |   59|      2|#define PYTHON_API_VERSION 1013
  ------------------
 4334|      2|    if (sysmod == NULL) {
  ------------------
  |  Branch (4334:9): [True: 0, False: 2]
  ------------------
 4335|      0|        return _PyStatus_ERR("failed to create a module object");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 4336|      0|    }
 4337|       |#ifdef Py_GIL_DISABLED
 4338|       |    PyUnstable_Module_SetGIL(sysmod, Py_MOD_GIL_NOT_USED);
 4339|       |#endif
 4340|       |
 4341|      2|    PyObject *sysdict = PyModule_GetDict(sysmod);
 4342|      2|    if (sysdict == NULL) {
  ------------------
  |  Branch (4342:9): [True: 0, False: 2]
  ------------------
 4343|      0|        goto error;
 4344|      0|    }
 4345|      2|    interp->sysdict = Py_NewRef(sysdict);
  ------------------
  |  |  550|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4346|       |
 4347|      2|    interp->sysdict_copy = PyDict_Copy(sysdict);
 4348|      2|    if (interp->sysdict_copy == NULL) {
  ------------------
  |  Branch (4348:9): [True: 0, False: 2]
  ------------------
 4349|      0|        goto error;
 4350|      0|    }
 4351|       |
 4352|      2|    if (PyDict_SetItemString(sysdict, "modules", modules) < 0) {
  ------------------
  |  Branch (4352:9): [True: 0, False: 2]
  ------------------
 4353|      0|        goto error;
 4354|      0|    }
 4355|       |
 4356|      2|    PyObject *lazy_modules = _PyImport_InitLazyModules(interp); // borrowed reference
 4357|      2|    if (lazy_modules == NULL) {
  ------------------
  |  Branch (4357:9): [True: 0, False: 2]
  ------------------
 4358|      0|        goto error;
 4359|      0|    }
 4360|       |
 4361|      2|    if (PyDict_SetItemString(sysdict, "lazy_modules", lazy_modules) < 0) {
  ------------------
  |  Branch (4361:9): [True: 0, False: 2]
  ------------------
 4362|      0|        goto error;
 4363|      0|    }
 4364|       |
 4365|      2|    PyStatus status = _PySys_SetPreliminaryStderr(sysdict);
 4366|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 4367|      0|        return status;
 4368|      0|    }
 4369|       |
 4370|      2|    status = _PySys_InitCore(tstate, sysdict);
 4371|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 4372|      0|        return status;
 4373|      0|    }
 4374|       |
 4375|      2|    if (_PyImport_FixupBuiltin(tstate, sysmod, "sys", modules) < 0) {
  ------------------
  |  Branch (4375:9): [True: 0, False: 2]
  ------------------
 4376|      0|        goto error;
 4377|      0|    }
 4378|       |
 4379|      2|    PyObject *monitoring = _Py_CreateMonitoringObject();
 4380|      2|    if (monitoring == NULL) {
  ------------------
  |  Branch (4380:9): [True: 0, False: 2]
  ------------------
 4381|      0|        goto error;
 4382|      0|    }
 4383|      2|    int err = PyDict_SetItemString(sysdict, "monitoring", monitoring);
 4384|      2|    Py_DECREF(monitoring);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4385|      2|    if (err < 0) {
  ------------------
  |  Branch (4385:9): [True: 0, False: 2]
  ------------------
 4386|      0|        goto error;
 4387|      0|    }
 4388|       |
 4389|      2|    PyObject *_jit = _PyModule_CreateInitialized(&_jit_module, PYTHON_API_VERSION);
  ------------------
  |  |   59|      2|#define PYTHON_API_VERSION 1013
  ------------------
 4390|      2|    if (_jit == NULL) {
  ------------------
  |  Branch (4390:9): [True: 0, False: 2]
  ------------------
 4391|      0|        goto error;
 4392|      0|    }
 4393|      2|    err = PyDict_SetItemString(sysdict, "_jit", _jit);
 4394|      2|    Py_DECREF(_jit);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4395|      2|    if (err) {
  ------------------
  |  Branch (4395:9): [True: 0, False: 2]
  ------------------
 4396|      0|        goto error;
 4397|      0|    }
 4398|       |
 4399|      2|    assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (4399:5): [True: 2, False: 0]
  ------------------
 4400|       |
 4401|      2|    *sysmod_p = sysmod;
 4402|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 4403|       |
 4404|      0|error:
 4405|      0|    return _PyStatus_ERR("can't initialize sys module");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 4406|      2|}
sysmodule.c:sys_set_object:
  171|     14|{
  172|     14|    if (key == NULL) {
  ------------------
  |  Branch (172:9): [True: 0, False: 14]
  ------------------
  173|      0|        return -1;
  174|      0|    }
  175|     14|    PyObject *sd = interp->sysdict;
  176|     14|    if (sd == NULL) {
  ------------------
  |  Branch (176:9): [True: 0, False: 14]
  ------------------
  177|      0|        PyErr_SetString(PyExc_RuntimeError, "no sys module");
  178|      0|        return -1;
  179|      0|    }
  180|     14|    if (v == NULL) {
  ------------------
  |  Branch (180:9): [True: 0, False: 14]
  ------------------
  181|      0|        if (PyDict_Pop(sd, key, NULL) < 0) {
  ------------------
  |  Branch (181:13): [True: 0, False: 0]
  ------------------
  182|      0|            return -1;
  183|      0|        }
  184|      0|        return 0;
  185|      0|    }
  186|     14|    else {
  187|     14|        return PyDict_SetItem(sd, key, v);
  188|     14|    }
  189|     14|}
sysmodule.c:sys_set_object_str:
  200|      6|{
  201|      6|    PyObject *key = v ? PyUnicode_InternFromString(name)
  ------------------
  |  Branch (201:21): [True: 6, False: 0]
  ------------------
  202|      6|                      : PyUnicode_FromString(name);
  203|      6|    int r = sys_set_object(interp, key, v);
  204|      6|    Py_XDECREF(key);
  ------------------
  |  |  524|      6|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  205|      6|    return r;
  206|      6|}
sysmodule.c:sys_audit_tstate:
  247|    216|{
  248|    216|    assert(event != NULL);
  ------------------
  |  Branch (248:5): [True: 216, False: 0]
  ------------------
  249|    216|    assert(!argFormat || !strchr(argFormat, 'N'));
  ------------------
  |  Branch (249:5): [True: 0, False: 216]
  |  Branch (249:5): [True: 216, False: 0]
  ------------------
  250|       |
  251|    216|    if (!ts) {
  ------------------
  |  Branch (251:9): [True: 0, False: 216]
  ------------------
  252|       |        /* Audit hooks cannot be called with a NULL thread state */
  253|      0|        return 0;
  254|      0|    }
  255|       |
  256|       |    /* The current implementation cannot be called if tstate is not
  257|       |       the current Python thread state. */
  258|    216|    assert(ts == _PyThreadState_GET());
  ------------------
  |  Branch (258:5): [True: 216, False: 0]
  ------------------
  259|       |
  260|       |    /* Early exit when no hooks are registered */
  261|    216|    PyInterpreterState *is = ts->interp;
  262|    216|    if (!should_audit(is)) {
  ------------------
  |  Branch (262:9): [True: 216, False: 0]
  ------------------
  263|    216|        return 0;
  264|    216|    }
  265|       |
  266|      0|    PyObject *eventName = NULL;
  267|      0|    PyObject *eventArgs = NULL;
  268|      0|    PyObject *hooks = NULL;
  269|      0|    PyObject *hook = NULL;
  270|      0|    int res = -1;
  271|       |
  272|      0|    int dtrace = PyDTrace_AUDIT_ENABLED();
  273|       |
  274|       |
  275|      0|    PyObject *exc = _PyErr_GetRaisedException(ts);
  276|       |
  277|       |    /* Initialize event args now */
  278|      0|    if (argFormat && argFormat[0]) {
  ------------------
  |  Branch (278:9): [True: 0, False: 0]
  |  Branch (278:22): [True: 0, False: 0]
  ------------------
  279|      0|        eventArgs = Py_VaBuildValue(argFormat, vargs);
  280|      0|        if (eventArgs && !PyTuple_Check(eventArgs)) {
  ------------------
  |  |   27|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (280:13): [True: 0, False: 0]
  |  Branch (280:26): [True: 0, False: 0]
  ------------------
  281|      0|            PyObject *argTuple = PyTuple_Pack(1, eventArgs);
  282|      0|            Py_SETREF(eventArgs, argTuple);
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  283|      0|        }
  284|      0|    }
  285|      0|    else {
  286|      0|        eventArgs = PyTuple_New(0);
  287|      0|    }
  288|      0|    if (!eventArgs) {
  ------------------
  |  Branch (288:9): [True: 0, False: 0]
  ------------------
  289|      0|        goto exit;
  290|      0|    }
  291|       |
  292|       |    /* Call global hooks
  293|       |     *
  294|       |     * We don't worry about any races on hooks getting added,
  295|       |     * since that would not leave is in an inconsistent state. */
  296|      0|    _Py_AuditHookEntry *e = is->runtime->audit_hooks.head;
  297|      0|    for (; e; e = e->next) {
  ------------------
  |  Branch (297:12): [True: 0, False: 0]
  ------------------
  298|      0|        if (e->hookCFunction(event, eventArgs, e->userData) < 0) {
  ------------------
  |  Branch (298:13): [True: 0, False: 0]
  ------------------
  299|      0|            goto exit;
  300|      0|        }
  301|      0|    }
  302|       |
  303|       |    /* Dtrace USDT point */
  304|      0|    if (dtrace) {
  ------------------
  |  Branch (304:9): [True: 0, False: 0]
  ------------------
  305|      0|        PyDTrace_AUDIT(event, (void *)eventArgs);
  306|      0|    }
  307|       |
  308|       |    /* Call interpreter hooks */
  309|      0|    if (is->audit_hooks) {
  ------------------
  |  Branch (309:9): [True: 0, False: 0]
  ------------------
  310|      0|        eventName = PyUnicode_FromString(event);
  311|      0|        if (!eventName) {
  ------------------
  |  Branch (311:13): [True: 0, False: 0]
  ------------------
  312|      0|            goto exit;
  313|      0|        }
  314|       |
  315|      0|        hooks = PyObject_GetIter(is->audit_hooks);
  316|      0|        if (!hooks) {
  ------------------
  |  Branch (316:13): [True: 0, False: 0]
  ------------------
  317|      0|            goto exit;
  318|      0|        }
  319|       |
  320|       |        /* Disallow tracing in hooks unless explicitly enabled */
  321|      0|        PyThreadState_EnterTracing(ts);
  322|      0|        while ((hook = PyIter_Next(hooks)) != NULL) {
  ------------------
  |  Branch (322:16): [True: 0, False: 0]
  ------------------
  323|      0|            PyObject *o;
  324|      0|            int canTrace = PyObject_GetOptionalAttr(hook, &_Py_ID(__cantrace__), &o);
  ------------------
  |  |  936|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  325|      0|            if (o) {
  ------------------
  |  Branch (325:17): [True: 0, False: 0]
  ------------------
  326|      0|                canTrace = PyObject_IsTrue(o);
  327|      0|                Py_DECREF(o);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  328|      0|            }
  329|      0|            if (canTrace < 0) {
  ------------------
  |  Branch (329:17): [True: 0, False: 0]
  ------------------
  330|      0|                break;
  331|      0|            }
  332|      0|            if (canTrace) {
  ------------------
  |  Branch (332:17): [True: 0, False: 0]
  ------------------
  333|      0|                PyThreadState_LeaveTracing(ts);
  334|      0|            }
  335|      0|            PyObject* args[2] = {eventName, eventArgs};
  336|      0|            o = _PyObject_VectorcallTstate(ts, hook, args, 2, NULL);
  337|      0|            if (canTrace) {
  ------------------
  |  Branch (337:17): [True: 0, False: 0]
  ------------------
  338|      0|                PyThreadState_EnterTracing(ts);
  339|      0|            }
  340|      0|            if (!o) {
  ------------------
  |  Branch (340:17): [True: 0, False: 0]
  ------------------
  341|      0|                break;
  342|      0|            }
  343|      0|            Py_DECREF(o);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  344|      0|            Py_CLEAR(hook);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  345|      0|        }
  346|      0|        PyThreadState_LeaveTracing(ts);
  347|      0|        if (_PyErr_Occurred(ts)) {
  ------------------
  |  Branch (347:13): [True: 0, False: 0]
  ------------------
  348|      0|            goto exit;
  349|      0|        }
  350|      0|    }
  351|       |
  352|      0|    res = 0;
  353|       |
  354|      0|exit:
  355|      0|    Py_XDECREF(hook);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  356|      0|    Py_XDECREF(hooks);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  357|      0|    Py_XDECREF(eventName);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  358|      0|    Py_XDECREF(eventArgs);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  359|       |
  360|      0|    if (!res) {
  ------------------
  |  Branch (360:9): [True: 0, False: 0]
  ------------------
  361|      0|        _PyErr_SetRaisedException(ts, exc);
  362|      0|    }
  363|      0|    else {
  364|      0|        assert(_PyErr_Occurred(ts));
  ------------------
  |  Branch (364:9): [True: 0, False: 0]
  ------------------
  365|      0|        Py_XDECREF(exc);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  366|      0|    }
  367|       |
  368|      0|    return res;
  369|      0|}
sysmodule.c:should_audit:
  232|    297|{
  233|       |    /* interp must not be NULL, but test it just in case for extra safety */
  234|    297|    assert(interp != NULL);
  ------------------
  |  Branch (234:5): [True: 297, False: 0]
  ------------------
  235|    297|    if (!interp) {
  ------------------
  |  Branch (235:9): [True: 0, False: 297]
  ------------------
  236|      0|        return 0;
  237|      0|    }
  238|    297|    return (interp->runtime->audit_hooks.head
  ------------------
  |  Branch (238:13): [True: 0, False: 297]
  ------------------
  239|    297|            || interp->audit_hooks
  ------------------
  |  Branch (239:16): [True: 0, False: 297]
  ------------------
  240|    297|            || PyDTrace_AUDIT_ENABLED());
  ------------------
  |  Branch (240:16): [True: 0, False: 297]
  ------------------
  241|    297|}
sysmodule.c:_clear_preinit_entries:
 3085|      4|{
 3086|      4|    _Py_PreInitEntry current = *optionlist;
 3087|      4|    *optionlist = NULL;
 3088|       |    /* Deallocate the nodes and their contents using the default allocator */
 3089|      4|    while (current != NULL) {
  ------------------
  |  Branch (3089:12): [True: 0, False: 4]
  ------------------
 3090|      0|        _Py_PreInitEntry next = current->next;
 3091|      0|        _PyMem_DefaultRawFree(current->value);
 3092|      0|        _PyMem_DefaultRawFree(current);
 3093|      0|        current = next;
 3094|      0|    }
 3095|      4|}
sysmodule.c:sys_set_flag:
 3492|     88|{
 3493|     88|    assert(pos >= 0 && pos < (Py_ssize_t)(Py_ARRAY_LENGTH(flags_fields) - 1));
  ------------------
  |  Branch (3493:5): [True: 88, False: 0]
  |  Branch (3493:5): [True: 88, False: 0]
  ------------------
 3494|       |
 3495|     88|    PyObject *old_value = PyStructSequence_GET_ITEM(flags, pos);
  ------------------
  |  |   12|     88|#define PyStructSequence_GET_ITEM PyStructSequence_GetItem
  ------------------
 3496|     88|    PyStructSequence_SET_ITEM(flags, pos, Py_NewRef(value));
  ------------------
  |  |   11|     88|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  ------------------
                  PyStructSequence_SET_ITEM(flags, pos, Py_NewRef(value));
  ------------------
  |  |  550|     88|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     88|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     88|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3497|     88|    Py_XDECREF(old_value);
  ------------------
  |  |  524|     88|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     88|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     88|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3498|     88|}
sysmodule.c:set_flags_from_config:
 3556|      4|{
 3557|      4|    const PyPreConfig *preconfig = &interp->runtime->preconfig;
 3558|      4|    const PyConfig *config = _PyInterpreterState_GetConfig(interp);
 3559|       |
 3560|      4|    Py_ssize_t pos = 0;
 3561|      4|#define SetFlagObj(expr) \
 3562|      4|    do { \
 3563|      4|        PyObject *value = (expr); \
 3564|      4|        if (value == NULL) { \
 3565|      4|            return -1; \
 3566|      4|        } \
 3567|      4|        sys_set_flag(flags, pos, value); \
 3568|      4|        Py_DECREF(value); \
 3569|      4|        pos++; \
 3570|      4|    } while (0)
 3571|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
 3572|       |
 3573|      4|    SetFlag(config->parser_debug);
  ------------------
  |  | 3571|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3562|      4|    do { \
  |  |  |  | 3563|      4|        PyObject *value = (expr); \
  |  |  |  | 3564|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3564:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3565|      0|            return -1; \
  |  |  |  | 3566|      0|        } \
  |  |  |  | 3567|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3568|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3569|      4|        pos++; \
  |  |  |  | 3570|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3570:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3574|      4|    SetFlag(config->inspect);
  ------------------
  |  | 3571|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3562|      4|    do { \
  |  |  |  | 3563|      4|        PyObject *value = (expr); \
  |  |  |  | 3564|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3564:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3565|      0|            return -1; \
  |  |  |  | 3566|      0|        } \
  |  |  |  | 3567|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3568|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3569|      4|        pos++; \
  |  |  |  | 3570|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3570:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3575|      4|    SetFlag(config->interactive);
  ------------------
  |  | 3571|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3562|      4|    do { \
  |  |  |  | 3563|      4|        PyObject *value = (expr); \
  |  |  |  | 3564|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3564:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3565|      0|            return -1; \
  |  |  |  | 3566|      0|        } \
  |  |  |  | 3567|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3568|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3569|      4|        pos++; \
  |  |  |  | 3570|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3570:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3576|      4|    SetFlag(config->optimization_level);
  ------------------
  |  | 3571|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3562|      4|    do { \
  |  |  |  | 3563|      4|        PyObject *value = (expr); \
  |  |  |  | 3564|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3564:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3565|      0|            return -1; \
  |  |  |  | 3566|      0|        } \
  |  |  |  | 3567|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3568|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3569|      4|        pos++; \
  |  |  |  | 3570|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3570:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3577|      4|    SetFlag(!config->write_bytecode);
  ------------------
  |  | 3571|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3562|      4|    do { \
  |  |  |  | 3563|      4|        PyObject *value = (expr); \
  |  |  |  | 3564|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3564:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3565|      0|            return -1; \
  |  |  |  | 3566|      0|        } \
  |  |  |  | 3567|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3568|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3569|      4|        pos++; \
  |  |  |  | 3570|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3570:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3578|      4|    SetFlag(!config->user_site_directory);
  ------------------
  |  | 3571|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3562|      4|    do { \
  |  |  |  | 3563|      4|        PyObject *value = (expr); \
  |  |  |  | 3564|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3564:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3565|      0|            return -1; \
  |  |  |  | 3566|      0|        } \
  |  |  |  | 3567|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3568|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3569|      4|        pos++; \
  |  |  |  | 3570|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3570:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3579|      4|    SetFlag(!config->site_import);
  ------------------
  |  | 3571|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3562|      4|    do { \
  |  |  |  | 3563|      4|        PyObject *value = (expr); \
  |  |  |  | 3564|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3564:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3565|      0|            return -1; \
  |  |  |  | 3566|      0|        } \
  |  |  |  | 3567|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3568|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3569|      4|        pos++; \
  |  |  |  | 3570|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3570:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3580|      4|    SetFlag(!config->use_environment);
  ------------------
  |  | 3571|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3562|      4|    do { \
  |  |  |  | 3563|      4|        PyObject *value = (expr); \
  |  |  |  | 3564|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3564:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3565|      0|            return -1; \
  |  |  |  | 3566|      0|        } \
  |  |  |  | 3567|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3568|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3569|      4|        pos++; \
  |  |  |  | 3570|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3570:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3581|      4|    SetFlag(config->verbose);
  ------------------
  |  | 3571|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3562|      4|    do { \
  |  |  |  | 3563|      4|        PyObject *value = (expr); \
  |  |  |  | 3564|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3564:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3565|      0|            return -1; \
  |  |  |  | 3566|      0|        } \
  |  |  |  | 3567|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3568|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3569|      4|        pos++; \
  |  |  |  | 3570|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3570:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3582|      4|    SetFlag(config->bytes_warning);
  ------------------
  |  | 3571|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3562|      4|    do { \
  |  |  |  | 3563|      4|        PyObject *value = (expr); \
  |  |  |  | 3564|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3564:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3565|      0|            return -1; \
  |  |  |  | 3566|      0|        } \
  |  |  |  | 3567|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3568|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3569|      4|        pos++; \
  |  |  |  | 3570|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3570:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3583|      4|    SetFlag(config->quiet);
  ------------------
  |  | 3571|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3562|      4|    do { \
  |  |  |  | 3563|      4|        PyObject *value = (expr); \
  |  |  |  | 3564|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3564:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3565|      0|            return -1; \
  |  |  |  | 3566|      0|        } \
  |  |  |  | 3567|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3568|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3569|      4|        pos++; \
  |  |  |  | 3570|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3570:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3584|      4|    SetFlag(config->use_hash_seed == 0 || config->hash_seed != 0);
  ------------------
  |  | 3571|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3562|      4|    do { \
  |  |  |  | 3563|      4|        PyObject *value = (expr); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3563:28): [True: 4, False: 0]
  |  |  |  |  |  Branch (3563:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 3564|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3564:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3565|      0|            return -1; \
  |  |  |  | 3566|      0|        } \
  |  |  |  | 3567|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3568|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3569|      4|        pos++; \
  |  |  |  | 3570|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3570:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3585|      4|    SetFlag(config->isolated);
  ------------------
  |  | 3571|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3562|      4|    do { \
  |  |  |  | 3563|      4|        PyObject *value = (expr); \
  |  |  |  | 3564|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3564:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3565|      0|            return -1; \
  |  |  |  | 3566|      0|        } \
  |  |  |  | 3567|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3568|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3569|      4|        pos++; \
  |  |  |  | 3570|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3570:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3586|      4|    SetFlagObj(PyBool_FromLong(config->dev_mode));
  ------------------
  |  | 3562|      4|    do { \
  |  | 3563|      4|        PyObject *value = (expr); \
  |  | 3564|      4|        if (value == NULL) { \
  |  |  ------------------
  |  |  |  Branch (3564:13): [True: 0, False: 4]
  |  |  ------------------
  |  | 3565|      0|            return -1; \
  |  | 3566|      0|        } \
  |  | 3567|      4|        sys_set_flag(flags, pos, value); \
  |  | 3568|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3569|      4|        pos++; \
  |  | 3570|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3570:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
 3587|      4|    SetFlag(preconfig->utf8_mode);
  ------------------
  |  | 3571|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3562|      4|    do { \
  |  |  |  | 3563|      4|        PyObject *value = (expr); \
  |  |  |  | 3564|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3564:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3565|      0|            return -1; \
  |  |  |  | 3566|      0|        } \
  |  |  |  | 3567|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3568|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3569|      4|        pos++; \
  |  |  |  | 3570|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3570:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3588|      4|    SetFlag(config->warn_default_encoding);
  ------------------
  |  | 3571|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3562|      4|    do { \
  |  |  |  | 3563|      4|        PyObject *value = (expr); \
  |  |  |  | 3564|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3564:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3565|      0|            return -1; \
  |  |  |  | 3566|      0|        } \
  |  |  |  | 3567|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3568|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3569|      4|        pos++; \
  |  |  |  | 3570|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3570:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3589|      4|    SetFlagObj(PyBool_FromLong(config->safe_path));
  ------------------
  |  | 3562|      4|    do { \
  |  | 3563|      4|        PyObject *value = (expr); \
  |  | 3564|      4|        if (value == NULL) { \
  |  |  ------------------
  |  |  |  Branch (3564:13): [True: 0, False: 4]
  |  |  ------------------
  |  | 3565|      0|            return -1; \
  |  | 3566|      0|        } \
  |  | 3567|      4|        sys_set_flag(flags, pos, value); \
  |  | 3568|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3569|      4|        pos++; \
  |  | 3570|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3570:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
 3590|      4|    SetFlag(config->int_max_str_digits);
  ------------------
  |  | 3571|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3562|      4|    do { \
  |  |  |  | 3563|      4|        PyObject *value = (expr); \
  |  |  |  | 3564|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3564:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3565|      0|            return -1; \
  |  |  |  | 3566|      0|        } \
  |  |  |  | 3567|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3568|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3569|      4|        pos++; \
  |  |  |  | 3570|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3570:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3591|       |#ifdef Py_GIL_DISABLED
 3592|       |    if (config->enable_gil == _PyConfig_GIL_DEFAULT) {
 3593|       |        SetFlagObj(Py_NewRef(Py_None));
 3594|       |    }
 3595|       |    else {
 3596|       |        SetFlag(config->enable_gil);
 3597|       |    }
 3598|       |#else
 3599|      4|    SetFlagObj(PyLong_FromLong(1));
  ------------------
  |  | 3562|      4|    do { \
  |  | 3563|      4|        PyObject *value = (expr); \
  |  | 3564|      4|        if (value == NULL) { \
  |  |  ------------------
  |  |  |  Branch (3564:13): [True: 0, False: 4]
  |  |  ------------------
  |  | 3565|      0|            return -1; \
  |  | 3566|      0|        } \
  |  | 3567|      4|        sys_set_flag(flags, pos, value); \
  |  | 3568|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3569|      4|        pos++; \
  |  | 3570|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3570:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
 3600|      4|#endif
 3601|      4|    SetFlag(config->thread_inherit_context);
  ------------------
  |  | 3571|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3562|      4|    do { \
  |  |  |  | 3563|      4|        PyObject *value = (expr); \
  |  |  |  | 3564|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3564:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3565|      0|            return -1; \
  |  |  |  | 3566|      0|        } \
  |  |  |  | 3567|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3568|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3569|      4|        pos++; \
  |  |  |  | 3570|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3570:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3602|      4|    SetFlag(config->context_aware_warnings);
  ------------------
  |  | 3571|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3562|      4|    do { \
  |  |  |  | 3563|      4|        PyObject *value = (expr); \
  |  |  |  | 3564|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3564:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3565|      0|            return -1; \
  |  |  |  | 3566|      0|        } \
  |  |  |  | 3567|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3568|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3569|      4|        pos++; \
  |  |  |  | 3570|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3570:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3603|      4|    SetFlag(config->lazy_imports);
  ------------------
  |  | 3571|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3562|      4|    do { \
  |  |  |  | 3563|      4|        PyObject *value = (expr); \
  |  |  |  | 3564|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3564:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3565|      0|            return -1; \
  |  |  |  | 3566|      0|        } \
  |  |  |  | 3567|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3568|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3569|      4|        pos++; \
  |  |  |  | 3570|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3570:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3604|      4|#undef SetFlagObj
 3605|      4|#undef SetFlag
 3606|      4|    return 0;
 3607|      4|}
sysmodule.c:sys_audit_impl:
  568|     81|{
  569|     81|    PyThreadState *tstate = _PyThreadState_GET();
  570|     81|    _Py_EnsureTstateNotNULL(tstate);
  ------------------
  |  |  214|     81|    _Py_EnsureFuncTstateNotNULL(__func__, (tstate))
  ------------------
  571|       |
  572|     81|    if (!should_audit(tstate->interp)) {
  ------------------
  |  Branch (572:9): [True: 81, False: 0]
  ------------------
  573|     81|        Py_RETURN_NONE;
  ------------------
  |  |  628|     81|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     81|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  574|     81|    }
  575|       |
  576|      0|    int res = _PySys_Audit(tstate, event, "O", args);
  577|      0|    if (res < 0) {
  ------------------
  |  Branch (577:9): [True: 0, False: 0]
  ------------------
  578|      0|        return NULL;
  579|      0|    }
  580|       |
  581|      0|    Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  582|      0|}
sysmodule.c:get_utf8_unicode:
  927|      4|{
  928|      4|    _Py_DECLARE_STR(utf_8, "utf-8");
  929|      4|    PyObject *ret = &_Py_STR(utf_8);
  ------------------
  |  |  938|      4|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  930|      4|    return Py_NewRef(ret);
  ------------------
  |  |  550|      4|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  931|      4|}
sysmodule.c:sys_getfilesystemencoding_impl:
  955|      4|{
  956|      4|    PyInterpreterState *interp = _PyInterpreterState_GET();
  957|      4|    const PyConfig *config = _PyInterpreterState_GetConfig(interp);
  958|       |
  959|      4|    if (wcscmp(config->filesystem_encoding, L"utf-8") == 0) {
  ------------------
  |  Branch (959:9): [True: 4, False: 0]
  ------------------
  960|      4|        return get_utf8_unicode();
  961|      4|    }
  962|       |
  963|      0|    PyObject *u = PyUnicode_FromWideChar(config->filesystem_encoding, -1);
  964|      0|    if (u == NULL) {
  ------------------
  |  Branch (964:9): [True: 0, False: 0]
  ------------------
  965|      0|        return NULL;
  966|      0|    }
  967|      0|    _PyUnicode_InternImmortal(interp, &u);
  968|      0|    return u;
  969|      0|}
sysmodule.c:sys_getfilesystemencodeerrors_impl:
  980|      2|{
  981|      2|    PyInterpreterState *interp = _PyInterpreterState_GET();
  982|      2|    const PyConfig *config = _PyInterpreterState_GetConfig(interp);
  983|      2|    PyObject *u = PyUnicode_FromWideChar(config->filesystem_errors, -1);
  984|      2|    if (u == NULL) {
  ------------------
  |  Branch (984:9): [True: 0, False: 2]
  ------------------
  985|      0|        return NULL;
  986|      0|    }
  987|      2|    _PyUnicode_InternImmortal(interp, &u);
  988|      2|    return u;
  989|      2|}
sysmodule.c:sys__getframe_impl:
 2085|      2|{
 2086|      2|    PyThreadState *tstate = _PyThreadState_GET();
 2087|      2|    _PyInterpreterFrame *frame = tstate->current_frame;
 2088|       |
 2089|      2|    if (frame != NULL) {
  ------------------
  |  Branch (2089:9): [True: 2, False: 0]
  ------------------
 2090|      2|        while (depth > 0) {
  ------------------
  |  Branch (2090:16): [True: 0, False: 2]
  ------------------
 2091|      0|            frame = _PyFrame_GetFirstComplete(frame->previous);
 2092|      0|            if (frame == NULL) {
  ------------------
  |  Branch (2092:17): [True: 0, False: 0]
  ------------------
 2093|      0|                break;
 2094|      0|            }
 2095|      0|            --depth;
 2096|      0|        }
 2097|      2|    }
 2098|      2|    if (frame == NULL) {
  ------------------
  |  Branch (2098:9): [True: 0, False: 2]
  ------------------
 2099|      0|        _PyErr_SetString(tstate, PyExc_ValueError,
 2100|      0|                         "call stack is not deep enough");
 2101|      0|        return NULL;
 2102|      0|    }
 2103|       |
 2104|      2|    PyObject *pyFrame = Py_XNewRef((PyObject *)_PyFrame_GetFrameObject(frame));
  ------------------
  |  |  551|      2|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2105|      2|    if (pyFrame && _PySys_Audit(tstate, "sys._getframe", "(O)", pyFrame) < 0) {
  ------------------
  |  Branch (2105:9): [True: 2, False: 0]
  |  Branch (2105:20): [True: 0, False: 2]
  ------------------
 2106|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2107|      0|        return NULL;
 2108|      0|    }
 2109|      2|    return pyFrame;
 2110|      2|}
sysmodule.c:sys__getframemodulename_impl:
 2589|      2|{
 2590|      2|    if (PySys_Audit("sys._getframemodulename", "i", depth) < 0) {
  ------------------
  |  Branch (2590:9): [True: 0, False: 2]
  ------------------
 2591|      0|        return NULL;
 2592|      0|    }
 2593|      2|    _PyInterpreterFrame *f = _PyThreadState_GET()->current_frame;
 2594|      4|    while (f && (_PyFrame_IsIncomplete(f) || depth-- > 0)) {
  ------------------
  |  Branch (2594:12): [True: 4, False: 0]
  |  Branch (2594:18): [True: 0, False: 4]
  |  Branch (2594:46): [True: 2, False: 2]
  ------------------
 2595|      2|        f = f->previous;
 2596|      2|    }
 2597|      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 (2597:9): [True: 0, False: 2]
  ------------------
 2598|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 2599|      0|    }
 2600|      2|    PyObject *func = PyStackRef_AsPyObjectBorrow(f->f_funcobj);
 2601|      2|    PyObject *r = PyFunction_GetModule(func);
 2602|      2|    if (!r) {
  ------------------
  |  Branch (2602:9): [True: 0, False: 2]
  ------------------
 2603|      0|        PyErr_Clear();
 2604|      0|        r = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
 2605|      0|    }
 2606|      2|    return Py_NewRef(r);
  ------------------
  |  |  550|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2607|      2|}
sysmodule.c:sys_intern_impl:
 1007|     20|{
 1008|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1009|     20|        PyInterpreterState *interp = _PyInterpreterState_GET();
 1010|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1011|     20|        _PyUnicode_InternMortal(interp, &s);
 1012|     20|        return s;
 1013|     20|    }
 1014|      0|    else {
 1015|      0|        PyErr_Format(PyExc_TypeError,
 1016|      0|                     "can't intern %.400s", Py_TYPE(s)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1017|       |        return NULL;
 1018|      0|    }
 1019|     20|}
sysmodule.c:sys__get_cpu_count_config_impl:
 2618|      2|{
 2619|      2|    const PyConfig *config = _Py_GetConfig();
 2620|      2|    return config->cpu_count;
 2621|      2|}
sysmodule.c:_PySys_SetPreliminaryStderr:
 4230|      2|{
 4231|      2|    PyObject *pstderr = PyFile_NewStdPrinter(fileno(stderr));
 4232|      2|    if (pstderr == NULL) {
  ------------------
  |  Branch (4232:9): [True: 0, False: 2]
  ------------------
 4233|      0|        goto error;
 4234|      0|    }
 4235|      2|    if (PyDict_SetItem(sysdict, &_Py_ID(stderr), pstderr) < 0) {
  ------------------
  |  |  936|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4235:9): [True: 0, False: 2]
  ------------------
 4236|      0|        goto error;
 4237|      0|    }
 4238|      2|    if (PyDict_SetItemString(sysdict, "__stderr__", pstderr) < 0) {
  ------------------
  |  Branch (4238:9): [True: 0, False: 2]
  ------------------
 4239|      0|        goto error;
 4240|      0|    }
 4241|      2|    Py_DECREF(pstderr);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4242|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 4243|       |
 4244|      0|error:
 4245|      0|    Py_XDECREF(pstderr);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4246|      0|    return _PyStatus_ERR("can't set preliminary stderr");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 4247|      2|}
sysmodule.c:_PySys_InitCore:
 4004|      2|{
 4005|      2|    PyObject *version_info;
 4006|      2|    int res;
 4007|      2|    PyInterpreterState *interp = tstate->interp;
 4008|       |
 4009|       |    /* stdin/stdout/stderr are set in pylifecycle.c */
 4010|       |
 4011|      2|#define COPY_SYS_ATTR(tokey, fromkey) \
 4012|      2|        SET_SYS(tokey, PyMapping_GetItemString(sysdict, fromkey))
 4013|       |
 4014|      2|    COPY_SYS_ATTR("__displayhook__", "displayhook");
  ------------------
  |  | 4012|      2|        SET_SYS(tokey, PyMapping_GetItemString(sysdict, fromkey))
  |  |  ------------------
  |  |  |  | 3987|      2|    do {                                                   \
  |  |  |  | 3988|      2|        PyObject *v = (value);                             \
  |  |  |  | 3989|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3989:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3990|      0|            goto err_occurred;                             \
  |  |  |  | 3991|      0|        }                                                  \
  |  |  |  | 3992|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 3993|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3994|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3995|      0|            goto err_occurred;                             \
  |  |  |  | 3996|      0|        }                                                  \
  |  |  |  | 3997|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3997:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4015|      2|    COPY_SYS_ATTR("__excepthook__", "excepthook");
  ------------------
  |  | 4012|      2|        SET_SYS(tokey, PyMapping_GetItemString(sysdict, fromkey))
  |  |  ------------------
  |  |  |  | 3987|      2|    do {                                                   \
  |  |  |  | 3988|      2|        PyObject *v = (value);                             \
  |  |  |  | 3989|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3989:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3990|      0|            goto err_occurred;                             \
  |  |  |  | 3991|      0|        }                                                  \
  |  |  |  | 3992|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 3993|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3994|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3995|      0|            goto err_occurred;                             \
  |  |  |  | 3996|      0|        }                                                  \
  |  |  |  | 3997|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3997:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4016|      2|    COPY_SYS_ATTR("__breakpointhook__", "breakpointhook");
  ------------------
  |  | 4012|      2|        SET_SYS(tokey, PyMapping_GetItemString(sysdict, fromkey))
  |  |  ------------------
  |  |  |  | 3987|      2|    do {                                                   \
  |  |  |  | 3988|      2|        PyObject *v = (value);                             \
  |  |  |  | 3989|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3989:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3990|      0|            goto err_occurred;                             \
  |  |  |  | 3991|      0|        }                                                  \
  |  |  |  | 3992|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 3993|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3994|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3995|      0|            goto err_occurred;                             \
  |  |  |  | 3996|      0|        }                                                  \
  |  |  |  | 3997|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3997:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4017|      2|    COPY_SYS_ATTR("__unraisablehook__", "unraisablehook");
  ------------------
  |  | 4012|      2|        SET_SYS(tokey, PyMapping_GetItemString(sysdict, fromkey))
  |  |  ------------------
  |  |  |  | 3987|      2|    do {                                                   \
  |  |  |  | 3988|      2|        PyObject *v = (value);                             \
  |  |  |  | 3989|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3989:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3990|      0|            goto err_occurred;                             \
  |  |  |  | 3991|      0|        }                                                  \
  |  |  |  | 3992|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 3993|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3994|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3995|      0|            goto err_occurred;                             \
  |  |  |  | 3996|      0|        }                                                  \
  |  |  |  | 3997|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3997:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4018|       |
 4019|      2|#undef COPY_SYS_ATTR
 4020|       |
 4021|      2|    SET_SYS_FROM_STRING("version", Py_GetVersion());
  ------------------
  |  | 4000|      2|        SET_SYS(key, PyUnicode_FromString(value))
  |  |  ------------------
  |  |  |  | 3987|      2|    do {                                                   \
  |  |  |  | 3988|      2|        PyObject *v = (value);                             \
  |  |  |  | 3989|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3989:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3990|      0|            goto err_occurred;                             \
  |  |  |  | 3991|      0|        }                                                  \
  |  |  |  | 3992|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 3993|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3994|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3995|      0|            goto err_occurred;                             \
  |  |  |  | 3996|      0|        }                                                  \
  |  |  |  | 3997|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3997:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4022|      2|    SET_SYS("hexversion", PyLong_FromLong(PY_VERSION_HEX));
  ------------------
  |  | 3987|      2|    do {                                                   \
  |  | 3988|      2|        PyObject *v = (value);                             \
  |  | 3989|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3989:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3990|      0|            goto err_occurred;                             \
  |  | 3991|      0|        }                                                  \
  |  | 3992|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3993|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3994|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3995|      0|            goto err_occurred;                             \
  |  | 3996|      0|        }                                                  \
  |  | 3997|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3997:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4023|      2|    SET_SYS("_git", Py_BuildValue("(szz)", "CPython", _Py_gitidentifier(),
  ------------------
  |  | 3987|      2|    do {                                                   \
  |  | 3988|      2|        PyObject *v = (value);                             \
  |  | 3989|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3989:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3990|      0|            goto err_occurred;                             \
  |  | 3991|      0|        }                                                  \
  |  | 3992|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3993|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3994|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3995|      0|            goto err_occurred;                             \
  |  | 3996|      0|        }                                                  \
  |  | 3997|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3997:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4024|      2|                                  _Py_gitversion()));
 4025|      2|    SET_SYS_FROM_STRING("_framework", _PYTHONFRAMEWORK);
  ------------------
  |  | 4000|      2|        SET_SYS(key, PyUnicode_FromString(value))
  |  |  ------------------
  |  |  |  | 3987|      2|    do {                                                   \
  |  |  |  | 3988|      2|        PyObject *v = (value);                             \
  |  |  |  | 3989|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3989:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3990|      0|            goto err_occurred;                             \
  |  |  |  | 3991|      0|        }                                                  \
  |  |  |  | 3992|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 3993|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3994|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3995|      0|            goto err_occurred;                             \
  |  |  |  | 3996|      0|        }                                                  \
  |  |  |  | 3997|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3997:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4026|      2|    SET_SYS("api_version", PyLong_FromLong(PYTHON_API_VERSION));
  ------------------
  |  | 3987|      2|    do {                                                   \
  |  | 3988|      2|        PyObject *v = (value);                             \
  |  | 3989|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3989:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3990|      0|            goto err_occurred;                             \
  |  | 3991|      0|        }                                                  \
  |  | 3992|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3993|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3994|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3995|      0|            goto err_occurred;                             \
  |  | 3996|      0|        }                                                  \
  |  | 3997|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3997:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4027|      2|    SET_SYS_FROM_STRING("copyright", Py_GetCopyright());
  ------------------
  |  | 4000|      2|        SET_SYS(key, PyUnicode_FromString(value))
  |  |  ------------------
  |  |  |  | 3987|      2|    do {                                                   \
  |  |  |  | 3988|      2|        PyObject *v = (value);                             \
  |  |  |  | 3989|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3989:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3990|      0|            goto err_occurred;                             \
  |  |  |  | 3991|      0|        }                                                  \
  |  |  |  | 3992|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 3993|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3994|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3995|      0|            goto err_occurred;                             \
  |  |  |  | 3996|      0|        }                                                  \
  |  |  |  | 3997|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3997:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4028|      2|    SET_SYS_FROM_STRING("platform", Py_GetPlatform());
  ------------------
  |  | 4000|      2|        SET_SYS(key, PyUnicode_FromString(value))
  |  |  ------------------
  |  |  |  | 3987|      2|    do {                                                   \
  |  |  |  | 3988|      2|        PyObject *v = (value);                             \
  |  |  |  | 3989|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3989:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3990|      0|            goto err_occurred;                             \
  |  |  |  | 3991|      0|        }                                                  \
  |  |  |  | 3992|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 3993|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3994|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3995|      0|            goto err_occurred;                             \
  |  |  |  | 3996|      0|        }                                                  \
  |  |  |  | 3997|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3997:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4029|      2|    SET_SYS("maxsize", PyLong_FromSsize_t(PY_SSIZE_T_MAX));
  ------------------
  |  | 3987|      2|    do {                                                   \
  |  | 3988|      2|        PyObject *v = (value);                             \
  |  | 3989|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3989:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3990|      0|            goto err_occurred;                             \
  |  | 3991|      0|        }                                                  \
  |  | 3992|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3993|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3994|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3995|      0|            goto err_occurred;                             \
  |  | 3996|      0|        }                                                  \
  |  | 3997|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3997:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4030|      2|    SET_SYS("float_info", PyFloat_GetInfo());
  ------------------
  |  | 3987|      2|    do {                                                   \
  |  | 3988|      2|        PyObject *v = (value);                             \
  |  | 3989|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3989:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3990|      0|            goto err_occurred;                             \
  |  | 3991|      0|        }                                                  \
  |  | 3992|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3993|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3994|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3995|      0|            goto err_occurred;                             \
  |  | 3996|      0|        }                                                  \
  |  | 3997|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3997:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4031|      2|    SET_SYS("int_info", PyLong_GetInfo());
  ------------------
  |  | 3987|      2|    do {                                                   \
  |  | 3988|      2|        PyObject *v = (value);                             \
  |  | 3989|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3989:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3990|      0|            goto err_occurred;                             \
  |  | 3991|      0|        }                                                  \
  |  | 3992|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3993|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3994|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3995|      0|            goto err_occurred;                             \
  |  | 3996|      0|        }                                                  \
  |  | 3997|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3997:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4032|       |    /* initialize hash_info */
 4033|      2|    if (_PyStructSequence_InitBuiltin(interp, &Hash_InfoType,
  ------------------
  |  Branch (4033:9): [True: 0, False: 2]
  ------------------
 4034|      2|                                      &hash_info_desc) < 0)
 4035|      0|    {
 4036|      0|        goto type_init_failed;
 4037|      0|    }
 4038|      2|    SET_SYS("hash_info", get_hash_info(tstate));
  ------------------
  |  | 3987|      2|    do {                                                   \
  |  | 3988|      2|        PyObject *v = (value);                             \
  |  | 3989|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3989:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3990|      0|            goto err_occurred;                             \
  |  | 3991|      0|        }                                                  \
  |  | 3992|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3993|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3994|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3995|      0|            goto err_occurred;                             \
  |  | 3996|      0|        }                                                  \
  |  | 3997|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3997:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4039|      2|    SET_SYS("maxunicode", PyLong_FromLong(0x10FFFF));
  ------------------
  |  | 3987|      2|    do {                                                   \
  |  | 3988|      2|        PyObject *v = (value);                             \
  |  | 3989|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3989:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3990|      0|            goto err_occurred;                             \
  |  | 3991|      0|        }                                                  \
  |  | 3992|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3993|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3994|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3995|      0|            goto err_occurred;                             \
  |  | 3996|      0|        }                                                  \
  |  | 3997|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3997:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4040|      2|    SET_SYS("builtin_module_names", list_builtin_module_names());
  ------------------
  |  | 3987|      2|    do {                                                   \
  |  | 3988|      2|        PyObject *v = (value);                             \
  |  | 3989|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3989:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3990|      0|            goto err_occurred;                             \
  |  | 3991|      0|        }                                                  \
  |  | 3992|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3993|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3994|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3995|      0|            goto err_occurred;                             \
  |  | 3996|      0|        }                                                  \
  |  | 3997|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3997:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4041|      2|    SET_SYS("stdlib_module_names", list_stdlib_module_names());
  ------------------
  |  | 3987|      2|    do {                                                   \
  |  | 3988|      2|        PyObject *v = (value);                             \
  |  | 3989|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3989:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3990|      0|            goto err_occurred;                             \
  |  | 3991|      0|        }                                                  \
  |  | 3992|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3993|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3994|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3995|      0|            goto err_occurred;                             \
  |  | 3996|      0|        }                                                  \
  |  | 3997|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3997:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4042|       |#if PY_BIG_ENDIAN
 4043|       |    SET_SYS("byteorder", &_Py_ID(big));
 4044|       |#else
 4045|      2|    SET_SYS("byteorder", &_Py_ID(little));
  ------------------
  |  | 3987|      2|    do {                                                   \
  |  | 3988|      2|        PyObject *v = (value);                             \
  |  | 3989|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3989:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3990|      0|            goto err_occurred;                             \
  |  | 3991|      0|        }                                                  \
  |  | 3992|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3993|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3994|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3995|      0|            goto err_occurred;                             \
  |  | 3996|      0|        }                                                  \
  |  | 3997|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3997:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4046|      2|#endif
 4047|       |
 4048|       |#ifdef MS_COREDLL
 4049|       |    SET_SYS("dllhandle", PyLong_FromVoidPtr(PyWin_DLLhModule));
 4050|       |    SET_SYS_FROM_STRING("winver", PyWin_DLLVersionString);
 4051|       |#endif
 4052|      2|#ifdef ABIFLAGS
 4053|      2|    SET_SYS_FROM_STRING("abiflags", ABIFLAGS);
  ------------------
  |  | 4000|      2|        SET_SYS(key, PyUnicode_FromString(value))
  |  |  ------------------
  |  |  |  | 3987|      2|    do {                                                   \
  |  |  |  | 3988|      2|        PyObject *v = (value);                             \
  |  |  |  | 3989|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3989:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3990|      0|            goto err_occurred;                             \
  |  |  |  | 3991|      0|        }                                                  \
  |  |  |  | 3992|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 3993|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3994|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3995|      0|            goto err_occurred;                             \
  |  |  |  | 3996|      0|        }                                                  \
  |  |  |  | 3997|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3997:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4054|      2|#endif
 4055|       |
 4056|      2|#define ENSURE_INFO_TYPE(TYPE, DESC) \
 4057|      2|    do { \
 4058|      2|        if (_PyStructSequence_InitBuiltinWithFlags( \
 4059|      2|                interp, &TYPE, &DESC, Py_TPFLAGS_DISALLOW_INSTANTIATION) < 0) { \
 4060|      2|            goto type_init_failed; \
 4061|      2|        } \
 4062|      2|    } while (0)
 4063|       |
 4064|       |    /* version_info */
 4065|      2|    ENSURE_INFO_TYPE(VersionInfoType, version_info_desc);
  ------------------
  |  | 4057|      2|    do { \
  |  | 4058|      2|        if (_PyStructSequence_InitBuiltinWithFlags( \
  |  |  ------------------
  |  |  |  Branch (4058:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4059|      2|                interp, &TYPE, &DESC, Py_TPFLAGS_DISALLOW_INSTANTIATION) < 0) { \
  |  |  ------------------
  |  |  |  |  497|      2|#define Py_TPFLAGS_DISALLOW_INSTANTIATION (1UL << 7)
  |  |  ------------------
  |  | 4060|      0|            goto type_init_failed; \
  |  | 4061|      0|        } \
  |  | 4062|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4062:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4066|      2|    version_info = make_version_info(tstate);
 4067|      2|    SET_SYS("version_info", version_info);
  ------------------
  |  | 3987|      2|    do {                                                   \
  |  | 3988|      2|        PyObject *v = (value);                             \
  |  | 3989|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3989:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3990|      0|            goto err_occurred;                             \
  |  | 3991|      0|        }                                                  \
  |  | 3992|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3993|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3994|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3995|      0|            goto err_occurred;                             \
  |  | 3996|      0|        }                                                  \
  |  | 3997|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3997:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4068|       |
 4069|       |    /* implementation */
 4070|      2|    SET_SYS("implementation", make_impl_info(version_info));
  ------------------
  |  | 3987|      2|    do {                                                   \
  |  | 3988|      2|        PyObject *v = (value);                             \
  |  | 3989|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3989:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3990|      0|            goto err_occurred;                             \
  |  | 3991|      0|        }                                                  \
  |  | 3992|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3993|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3994|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3995|      0|            goto err_occurred;                             \
  |  | 3996|      0|        }                                                  \
  |  | 3997|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3997:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4071|       |
 4072|       |    // sys.flags: updated later by _PySys_UpdateConfig()
 4073|      2|    ENSURE_INFO_TYPE(FlagsType, flags_desc);
  ------------------
  |  | 4057|      2|    do { \
  |  | 4058|      2|        if (_PyStructSequence_InitBuiltinWithFlags( \
  |  |  ------------------
  |  |  |  Branch (4058:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4059|      2|                interp, &TYPE, &DESC, Py_TPFLAGS_DISALLOW_INSTANTIATION) < 0) { \
  |  |  ------------------
  |  |  |  |  497|      2|#define Py_TPFLAGS_DISALLOW_INSTANTIATION (1UL << 7)
  |  |  ------------------
  |  | 4060|      0|            goto type_init_failed; \
  |  | 4061|      0|        } \
  |  | 4062|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4062:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4074|      2|    SET_SYS("flags", make_flags(tstate->interp));
  ------------------
  |  | 3987|      2|    do {                                                   \
  |  | 3988|      2|        PyObject *v = (value);                             \
  |  | 3989|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3989:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3990|      0|            goto err_occurred;                             \
  |  | 3991|      0|        }                                                  \
  |  | 3992|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3993|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3994|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3995|      0|            goto err_occurred;                             \
  |  | 3996|      0|        }                                                  \
  |  | 3997|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3997:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4075|       |
 4076|       |#if defined(MS_WINDOWS)
 4077|       |    /* getwindowsversion */
 4078|       |    ENSURE_INFO_TYPE(WindowsVersionType, windows_version_desc);
 4079|       |
 4080|       |    SET_SYS_FROM_STRING("_vpath", VPATH);
 4081|       |#endif
 4082|       |
 4083|      2|#undef ENSURE_INFO_TYPE
 4084|       |
 4085|       |    /* float repr style: 0.03 (short) vs 0.029999999999999999 (legacy) */
 4086|      2|#if _PY_SHORT_FLOAT_REPR == 1
 4087|      2|    SET_SYS("float_repr_style", &_Py_ID(short));
  ------------------
  |  | 3987|      2|    do {                                                   \
  |  | 3988|      2|        PyObject *v = (value);                             \
  |  | 3989|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3989:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3990|      0|            goto err_occurred;                             \
  |  | 3991|      0|        }                                                  \
  |  | 3992|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3993|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3994|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3995|      0|            goto err_occurred;                             \
  |  | 3996|      0|        }                                                  \
  |  | 3997|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3997:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4088|       |#else
 4089|       |    SET_SYS("float_repr_style", &_Py_ID(legacy));
 4090|       |#endif
 4091|       |
 4092|      2|    SET_SYS("thread_info", PyThread_GetInfo());
  ------------------
  |  | 3987|      2|    do {                                                   \
  |  | 3988|      2|        PyObject *v = (value);                             \
  |  | 3989|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3989:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3990|      0|            goto err_occurred;                             \
  |  | 3991|      0|        }                                                  \
  |  | 3992|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3993|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3994|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3995|      0|            goto err_occurred;                             \
  |  | 3996|      0|        }                                                  \
  |  | 3997|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3997:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4093|       |
 4094|      2|    SET_SYS("abi_info", make_abi_info());
  ------------------
  |  | 3987|      2|    do {                                                   \
  |  | 3988|      2|        PyObject *v = (value);                             \
  |  | 3989|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3989:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3990|      0|            goto err_occurred;                             \
  |  | 3991|      0|        }                                                  \
  |  | 3992|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3993|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3994|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3995|      0|            goto err_occurred;                             \
  |  | 3996|      0|        }                                                  \
  |  | 3997|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3997:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4095|       |
 4096|       |    /* initialize asyncgen_hooks */
 4097|      2|    if (_PyStructSequence_InitBuiltin(interp, &AsyncGenHooksType,
  ------------------
  |  Branch (4097:9): [True: 0, False: 2]
  ------------------
 4098|      2|                                      &asyncgen_hooks_desc) < 0)
 4099|      0|    {
 4100|      0|        goto type_init_failed;
 4101|      0|    }
 4102|       |
 4103|       |#ifdef __EMSCRIPTEN__
 4104|       |    if (EmscriptenInfoType == NULL) {
 4105|       |        EmscriptenInfoType = PyStructSequence_NewType(&emscripten_info_desc);
 4106|       |        if (EmscriptenInfoType == NULL) {
 4107|       |            goto type_init_failed;
 4108|       |        }
 4109|       |    }
 4110|       |    SET_SYS("_emscripten_info", make_emscripten_info());
 4111|       |#endif
 4112|       |
 4113|       |    /* adding sys.path_hooks and sys.path_importer_cache */
 4114|      2|    SET_SYS("meta_path", PyList_New(0));
  ------------------
  |  | 3987|      2|    do {                                                   \
  |  | 3988|      2|        PyObject *v = (value);                             \
  |  | 3989|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3989:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3990|      0|            goto err_occurred;                             \
  |  | 3991|      0|        }                                                  \
  |  | 3992|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3993|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3994|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3995|      0|            goto err_occurred;                             \
  |  | 3996|      0|        }                                                  \
  |  | 3997|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3997:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4115|      2|    SET_SYS("path_importer_cache", PyDict_New());
  ------------------
  |  | 3987|      2|    do {                                                   \
  |  | 3988|      2|        PyObject *v = (value);                             \
  |  | 3989|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3989:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3990|      0|            goto err_occurred;                             \
  |  | 3991|      0|        }                                                  \
  |  | 3992|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3993|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3994|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3995|      0|            goto err_occurred;                             \
  |  | 3996|      0|        }                                                  \
  |  | 3997|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3997:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4116|      2|    SET_SYS("path_hooks", PyList_New(0));
  ------------------
  |  | 3987|      2|    do {                                                   \
  |  | 3988|      2|        PyObject *v = (value);                             \
  |  | 3989|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3989:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3990|      0|            goto err_occurred;                             \
  |  | 3991|      0|        }                                                  \
  |  | 3992|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3993|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3994|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3995|      0|            goto err_occurred;                             \
  |  | 3996|      0|        }                                                  \
  |  | 3997|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3997:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4117|       |
 4118|      2|    if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (4118:9): [True: 0, False: 2]
  ------------------
 4119|      0|        goto err_occurred;
 4120|      0|    }
 4121|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 4122|       |
 4123|      0|type_init_failed:
 4124|      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)}
  ------------------
 4125|       |
 4126|      0|err_occurred:
 4127|      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)}
  ------------------
 4128|      2|}
sysmodule.c:get_hash_info:
 1570|      2|{
 1571|      2|    PyObject *hash_info;
 1572|      2|    int field = 0;
 1573|      2|    PyHash_FuncDef *hashfunc;
 1574|      2|    hash_info = PyStructSequence_New(&Hash_InfoType);
 1575|      2|    if (hash_info == NULL) {
  ------------------
  |  Branch (1575:9): [True: 0, False: 2]
  ------------------
 1576|      0|        return NULL;
 1577|      0|    }
 1578|      2|    hashfunc = PyHash_GetFuncDef();
 1579|       |
 1580|      2|#define SET_HASH_INFO_ITEM(CALL)                             \
 1581|      2|    do {                                                     \
 1582|      2|        PyObject *item = (CALL);                             \
 1583|      2|        if (item == NULL) {                                  \
 1584|      2|            Py_CLEAR(hash_info);                             \
 1585|      2|            return NULL;                                     \
 1586|      2|        }                                                    \
 1587|      2|        PyStructSequence_SET_ITEM(hash_info, field++, item); \
 1588|      2|    } while(0)
 1589|       |
 1590|      2|    SET_HASH_INFO_ITEM(PyLong_FromLong(8 * sizeof(Py_hash_t)));
  ------------------
  |  | 1581|      2|    do {                                                     \
  |  | 1582|      2|        PyObject *item = (CALL);                             \
  |  | 1583|      2|        if (item == NULL) {                                  \
  |  |  ------------------
  |  |  |  Branch (1583:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 1584|      0|            Py_CLEAR(hash_info);                             \
  |  |  ------------------
  |  |  |  |  484|      0|    do { \
  |  |  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  490|      0|        } \
  |  |  |  |  491|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1585|      0|            return NULL;                                     \
  |  | 1586|      0|        }                                                    \
  |  | 1587|      2|        PyStructSequence_SET_ITEM(hash_info, field++, item); \
  |  |  ------------------
  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 1588|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1588:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1591|      2|    SET_HASH_INFO_ITEM(PyLong_FromSsize_t(PyHASH_MODULUS));
  ------------------
  |  | 1581|      2|    do {                                                     \
  |  | 1582|      2|        PyObject *item = (CALL);                             \
  |  | 1583|      2|        if (item == NULL) {                                  \
  |  |  ------------------
  |  |  |  Branch (1583:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 1584|      0|            Py_CLEAR(hash_info);                             \
  |  |  ------------------
  |  |  |  |  484|      0|    do { \
  |  |  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  490|      0|        } \
  |  |  |  |  491|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1585|      0|            return NULL;                                     \
  |  | 1586|      0|        }                                                    \
  |  | 1587|      2|        PyStructSequence_SET_ITEM(hash_info, field++, item); \
  |  |  ------------------
  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 1588|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1588:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1592|      2|    SET_HASH_INFO_ITEM(PyLong_FromLong(PyHASH_INF));
  ------------------
  |  | 1581|      2|    do {                                                     \
  |  | 1582|      2|        PyObject *item = (CALL);                             \
  |  | 1583|      2|        if (item == NULL) {                                  \
  |  |  ------------------
  |  |  |  Branch (1583:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 1584|      0|            Py_CLEAR(hash_info);                             \
  |  |  ------------------
  |  |  |  |  484|      0|    do { \
  |  |  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  490|      0|        } \
  |  |  |  |  491|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1585|      0|            return NULL;                                     \
  |  | 1586|      0|        }                                                    \
  |  | 1587|      2|        PyStructSequence_SET_ITEM(hash_info, field++, item); \
  |  |  ------------------
  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 1588|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1588:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1593|      2|    SET_HASH_INFO_ITEM(PyLong_FromLong(0));  // This is no longer used
  ------------------
  |  | 1581|      2|    do {                                                     \
  |  | 1582|      2|        PyObject *item = (CALL);                             \
  |  | 1583|      2|        if (item == NULL) {                                  \
  |  |  ------------------
  |  |  |  Branch (1583:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 1584|      0|            Py_CLEAR(hash_info);                             \
  |  |  ------------------
  |  |  |  |  484|      0|    do { \
  |  |  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  490|      0|        } \
  |  |  |  |  491|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1585|      0|            return NULL;                                     \
  |  | 1586|      0|        }                                                    \
  |  | 1587|      2|        PyStructSequence_SET_ITEM(hash_info, field++, item); \
  |  |  ------------------
  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 1588|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1588:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1594|      2|    SET_HASH_INFO_ITEM(PyLong_FromLong(PyHASH_IMAG));
  ------------------
  |  | 1581|      2|    do {                                                     \
  |  | 1582|      2|        PyObject *item = (CALL);                             \
  |  | 1583|      2|        if (item == NULL) {                                  \
  |  |  ------------------
  |  |  |  Branch (1583:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 1584|      0|            Py_CLEAR(hash_info);                             \
  |  |  ------------------
  |  |  |  |  484|      0|    do { \
  |  |  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  490|      0|        } \
  |  |  |  |  491|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1585|      0|            return NULL;                                     \
  |  | 1586|      0|        }                                                    \
  |  | 1587|      2|        PyStructSequence_SET_ITEM(hash_info, field++, item); \
  |  |  ------------------
  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 1588|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1588:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1595|      2|    SET_HASH_INFO_ITEM(PyUnicode_FromString(hashfunc->name));
  ------------------
  |  | 1581|      2|    do {                                                     \
  |  | 1582|      2|        PyObject *item = (CALL);                             \
  |  | 1583|      2|        if (item == NULL) {                                  \
  |  |  ------------------
  |  |  |  Branch (1583:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 1584|      0|            Py_CLEAR(hash_info);                             \
  |  |  ------------------
  |  |  |  |  484|      0|    do { \
  |  |  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  490|      0|        } \
  |  |  |  |  491|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1585|      0|            return NULL;                                     \
  |  | 1586|      0|        }                                                    \
  |  | 1587|      2|        PyStructSequence_SET_ITEM(hash_info, field++, item); \
  |  |  ------------------
  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 1588|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1588:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1596|      2|    SET_HASH_INFO_ITEM(PyLong_FromLong(hashfunc->hash_bits));
  ------------------
  |  | 1581|      2|    do {                                                     \
  |  | 1582|      2|        PyObject *item = (CALL);                             \
  |  | 1583|      2|        if (item == NULL) {                                  \
  |  |  ------------------
  |  |  |  Branch (1583:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 1584|      0|            Py_CLEAR(hash_info);                             \
  |  |  ------------------
  |  |  |  |  484|      0|    do { \
  |  |  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  490|      0|        } \
  |  |  |  |  491|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1585|      0|            return NULL;                                     \
  |  | 1586|      0|        }                                                    \
  |  | 1587|      2|        PyStructSequence_SET_ITEM(hash_info, field++, item); \
  |  |  ------------------
  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 1588|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1588:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1597|      2|    SET_HASH_INFO_ITEM(PyLong_FromLong(hashfunc->seed_bits));
  ------------------
  |  | 1581|      2|    do {                                                     \
  |  | 1582|      2|        PyObject *item = (CALL);                             \
  |  | 1583|      2|        if (item == NULL) {                                  \
  |  |  ------------------
  |  |  |  Branch (1583:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 1584|      0|            Py_CLEAR(hash_info);                             \
  |  |  ------------------
  |  |  |  |  484|      0|    do { \
  |  |  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  490|      0|        } \
  |  |  |  |  491|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1585|      0|            return NULL;                                     \
  |  | 1586|      0|        }                                                    \
  |  | 1587|      2|        PyStructSequence_SET_ITEM(hash_info, field++, item); \
  |  |  ------------------
  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 1588|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1588:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1598|      2|    SET_HASH_INFO_ITEM(PyLong_FromLong(Py_HASH_CUTOFF));
  ------------------
  |  | 1581|      2|    do {                                                     \
  |  | 1582|      2|        PyObject *item = (CALL);                             \
  |  | 1583|      2|        if (item == NULL) {                                  \
  |  |  ------------------
  |  |  |  Branch (1583:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 1584|      0|            Py_CLEAR(hash_info);                             \
  |  |  ------------------
  |  |  |  |  484|      0|    do { \
  |  |  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  490|      0|        } \
  |  |  |  |  491|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1585|      0|            return NULL;                                     \
  |  | 1586|      0|        }                                                    \
  |  | 1587|      2|        PyStructSequence_SET_ITEM(hash_info, field++, item); \
  |  |  ------------------
  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 1588|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1588:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1599|       |
 1600|      2|#undef SET_HASH_INFO_ITEM
 1601|       |
 1602|      2|    return hash_info;
 1603|      2|}
sysmodule.c:list_builtin_module_names:
 2973|      2|{
 2974|      2|    PyObject *list = _PyImport_GetBuiltinModuleNames();
 2975|      2|    if (list == NULL) {
  ------------------
  |  Branch (2975:9): [True: 0, False: 2]
  ------------------
 2976|      0|        return NULL;
 2977|      0|    }
 2978|      2|    if (PyList_Sort(list) != 0) {
  ------------------
  |  Branch (2978:9): [True: 0, False: 2]
  ------------------
 2979|      0|        goto error;
 2980|      0|    }
 2981|      2|    PyObject *tuple = PyList_AsTuple(list);
 2982|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2983|      2|    return tuple;
 2984|       |
 2985|      0|error:
 2986|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2987|       |    return NULL;
 2988|      2|}
sysmodule.c:list_stdlib_module_names:
 2993|      2|{
 2994|      2|    Py_ssize_t len = Py_ARRAY_LENGTH(_Py_stdlib_module_names);
  ------------------
  |  |  221|      2|    (sizeof(array) / sizeof((array)[0]))
  ------------------
 2995|      2|    PyObject *names = PyTuple_New(len);
 2996|      2|    if (names == NULL) {
  ------------------
  |  Branch (2996:9): [True: 0, False: 2]
  ------------------
 2997|      0|        return NULL;
 2998|      0|    }
 2999|       |
 3000|    596|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (3000:28): [True: 594, False: 2]
  ------------------
 3001|    594|        PyObject *name = PyUnicode_FromString(_Py_stdlib_module_names[i]);
 3002|    594|        if (name == NULL) {
  ------------------
  |  Branch (3002:13): [True: 0, False: 594]
  ------------------
 3003|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3004|      0|            return NULL;
 3005|      0|        }
 3006|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3007|    594|    }
 3008|       |
 3009|      2|    PyObject *set = PyObject_CallFunction((PyObject *)&PyFrozenSet_Type,
 3010|      2|                                          "(O)", names);
 3011|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3012|      2|    return set;
 3013|      2|}
sysmodule.c:make_version_info:
 3651|      2|{
 3652|      2|    PyObject *version_info;
 3653|      2|    char *s;
 3654|      2|    int pos = 0;
 3655|       |
 3656|      2|    version_info = PyStructSequence_New(&VersionInfoType);
 3657|      2|    if (version_info == NULL) {
  ------------------
  |  Branch (3657:9): [True: 0, False: 2]
  ------------------
 3658|      0|        return NULL;
 3659|      0|    }
 3660|       |
 3661|       |    /*
 3662|       |     * These release level checks are mutually exclusive and cover
 3663|       |     * the field, so don't get too fancy with the pre-processor!
 3664|       |     */
 3665|      2|#if PY_RELEASE_LEVEL == PY_RELEASE_LEVEL_ALPHA
 3666|      2|    s = "alpha";
 3667|       |#elif PY_RELEASE_LEVEL == PY_RELEASE_LEVEL_BETA
 3668|       |    s = "beta";
 3669|       |#elif PY_RELEASE_LEVEL == PY_RELEASE_LEVEL_GAMMA
 3670|       |    s = "candidate";
 3671|       |#elif PY_RELEASE_LEVEL == PY_RELEASE_LEVEL_FINAL
 3672|       |    s = "final";
 3673|       |#endif
 3674|       |
 3675|      2|#define SetIntItem(flag) \
 3676|      2|    PyStructSequence_SET_ITEM(version_info, pos++, PyLong_FromLong(flag))
 3677|      2|#define SetStrItem(flag) \
 3678|      2|    PyStructSequence_SET_ITEM(version_info, pos++, PyUnicode_FromString(flag))
 3679|       |
 3680|      2|    SetIntItem(PY_MAJOR_VERSION);
  ------------------
  |  | 3676|      2|    PyStructSequence_SET_ITEM(version_info, pos++, PyLong_FromLong(flag))
  |  |  ------------------
  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  ------------------
 3681|      2|    SetIntItem(PY_MINOR_VERSION);
  ------------------
  |  | 3676|      2|    PyStructSequence_SET_ITEM(version_info, pos++, PyLong_FromLong(flag))
  |  |  ------------------
  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  ------------------
 3682|      2|    SetIntItem(PY_MICRO_VERSION);
  ------------------
  |  | 3676|      2|    PyStructSequence_SET_ITEM(version_info, pos++, PyLong_FromLong(flag))
  |  |  ------------------
  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  ------------------
 3683|      2|    SetStrItem(s);
  ------------------
  |  | 3678|      2|    PyStructSequence_SET_ITEM(version_info, pos++, PyUnicode_FromString(flag))
  |  |  ------------------
  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  ------------------
 3684|      2|    SetIntItem(PY_RELEASE_SERIAL);
  ------------------
  |  | 3676|      2|    PyStructSequence_SET_ITEM(version_info, pos++, PyLong_FromLong(flag))
  |  |  ------------------
  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  ------------------
 3685|      2|#undef SetIntItem
 3686|      2|#undef SetStrItem
 3687|       |
 3688|      2|    if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (3688:9): [True: 0, False: 2]
  ------------------
 3689|      0|        Py_CLEAR(version_info);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3690|      0|        return NULL;
 3691|      0|    }
 3692|      2|    return version_info;
 3693|      2|}
sysmodule.c:make_impl_info:
 3715|      2|{
 3716|      2|    int res;
 3717|      2|    PyObject *impl_info, *value, *ns;
 3718|       |
 3719|      2|    impl_info = PyDict_New();
 3720|      2|    if (impl_info == NULL)
  ------------------
  |  Branch (3720:9): [True: 0, False: 2]
  ------------------
 3721|      0|        return NULL;
 3722|       |
 3723|       |    /* populate the dict */
 3724|       |
 3725|      2|    value = PyUnicode_FromString(_PySys_ImplName);
 3726|      2|    if (value == NULL)
  ------------------
  |  Branch (3726:9): [True: 0, False: 2]
  ------------------
 3727|      0|        goto error;
 3728|      2|    res = PyDict_SetItemString(impl_info, "name", value);
 3729|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3730|      2|    if (res < 0)
  ------------------
  |  Branch (3730:9): [True: 0, False: 2]
  ------------------
 3731|      0|        goto error;
 3732|       |
 3733|      2|    value = _PySys_ImplCacheTag
  ------------------
  |  Branch (3733:13): [True: 2, False: 0]
  ------------------
 3734|      2|        ? PyUnicode_FromString(_PySys_ImplCacheTag)
 3735|      2|        : Py_NewRef(Py_None);
  ------------------
  |  |  550|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3736|      2|    if (value == NULL) {
  ------------------
  |  Branch (3736:9): [True: 0, False: 2]
  ------------------
 3737|      0|        goto error;
 3738|      0|    }
 3739|      2|    res = PyDict_SetItemString(impl_info, "cache_tag", value);
 3740|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3741|      2|    if (res < 0)
  ------------------
  |  Branch (3741:9): [True: 0, False: 2]
  ------------------
 3742|      0|        goto error;
 3743|       |
 3744|      2|    res = PyDict_SetItemString(impl_info, "version", version_info);
 3745|      2|    if (res < 0)
  ------------------
  |  Branch (3745:9): [True: 0, False: 2]
  ------------------
 3746|      0|        goto error;
 3747|       |
 3748|      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)
  ------------------
 3749|      2|    if (value == NULL)
  ------------------
  |  Branch (3749:9): [True: 0, False: 2]
  ------------------
 3750|      0|        goto error;
 3751|      2|    res = PyDict_SetItemString(impl_info, "hexversion", value);
 3752|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3753|      2|    if (res < 0)
  ------------------
  |  Branch (3753:9): [True: 0, False: 2]
  ------------------
 3754|      0|        goto error;
 3755|       |
 3756|      2|#ifdef MULTIARCH
 3757|      2|    value = PyUnicode_FromString(MULTIARCH);
 3758|      2|    if (value == NULL)
  ------------------
  |  Branch (3758:9): [True: 0, False: 2]
  ------------------
 3759|      0|        goto error;
 3760|      2|    res = PyDict_SetItemString(impl_info, "_multiarch", value);
 3761|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3762|      2|    if (res < 0)
  ------------------
  |  Branch (3762:9): [True: 0, False: 2]
  ------------------
 3763|      0|        goto error;
 3764|      2|#endif
 3765|       |
 3766|       |    // PEP-734
 3767|       |#if defined(__wasi__) || defined(__EMSCRIPTEN__)
 3768|       |    // It is not enabled on WASM builds just yet
 3769|       |    value = Py_False;
 3770|       |#else
 3771|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3772|      2|#endif
 3773|      2|    res = PyDict_SetItemString(impl_info, "supports_isolated_interpreters", value);
 3774|      2|    if (res < 0) {
  ------------------
  |  Branch (3774:9): [True: 0, False: 2]
  ------------------
 3775|      0|        goto error;
 3776|      0|    }
 3777|       |
 3778|       |    /* dict ready */
 3779|       |
 3780|      2|    ns = _PyNamespace_New(impl_info);
 3781|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3782|      2|    return ns;
 3783|       |
 3784|      0|error:
 3785|      0|    Py_CLEAR(impl_info);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  552|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3786|       |    return NULL;
 3787|      2|}
sysmodule.c:make_flags:
 3612|      2|{
 3613|      2|    PyObject *flags = PyStructSequence_New(&FlagsType);
 3614|      2|    if (flags == NULL) {
  ------------------
  |  Branch (3614:9): [True: 0, False: 2]
  ------------------
 3615|      0|        return NULL;
 3616|      0|    }
 3617|       |
 3618|      2|    if (set_flags_from_config(interp, flags) < 0) {
  ------------------
  |  Branch (3618:9): [True: 0, False: 2]
  ------------------
 3619|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3620|      0|        return NULL;
 3621|      0|    }
 3622|      2|    return flags;
 3623|      2|}
sysmodule.c:make_abi_info:
 3792|      2|{
 3793|       |    // New entries should be added when needed for a supported platform,
 3794|       |    // or by core dev consensus for enabling an unsupported one.
 3795|       |
 3796|      2|    PyObject *value;
 3797|      2|    PyObject *abi_info = PyDict_New();
 3798|      2|    if (abi_info == NULL) {
  ------------------
  |  Branch (3798:9): [True: 0, False: 2]
  ------------------
 3799|      0|        return NULL;
 3800|      0|    }
 3801|       |
 3802|      2|    value = PyLong_FromLong(sizeof(void *) * 8);
 3803|      2|    if (value == NULL) {
  ------------------
  |  Branch (3803:9): [True: 0, False: 2]
  ------------------
 3804|      0|        goto error;
 3805|      0|    }
 3806|      2|    if (PyDict_SetItem(abi_info, &_Py_ID(pointer_bits), value) < 0) {
  ------------------
  |  |  936|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3806:9): [True: 0, False: 2]
  ------------------
 3807|      0|        goto error;
 3808|      0|    }
 3809|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3810|       |
 3811|       |#ifdef Py_GIL_DISABLED
 3812|       |    value = Py_True;
 3813|       |#else
 3814|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3815|      2|#endif
 3816|      2|    if (PyDict_SetItem(abi_info, &_Py_ID(free_threaded), value) < 0) {
  ------------------
  |  |  936|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3816:9): [True: 0, False: 2]
  ------------------
 3817|      0|        goto error;
 3818|      0|    }
 3819|       |
 3820|       |#ifdef Py_DEBUG
 3821|       |    value = Py_True;
 3822|       |#else
 3823|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3824|      2|#endif
 3825|      2|    if (PyDict_SetItem(abi_info, &_Py_ID(debug), value) < 0) {
  ------------------
  |  |  936|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3825:9): [True: 0, False: 2]
  ------------------
 3826|      0|        goto error;
 3827|      0|    }
 3828|       |
 3829|       |#if PY_BIG_ENDIAN
 3830|       |    value = &_Py_ID(big);
 3831|       |#else
 3832|      2|    value = &_Py_ID(little);
  ------------------
  |  |  936|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3833|      2|#endif
 3834|      2|    if (PyDict_SetItem(abi_info, &_Py_ID(byteorder), value) < 0) {
  ------------------
  |  |  936|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3834:9): [True: 0, False: 2]
  ------------------
 3835|      0|        goto error;
 3836|      0|    }
 3837|       |
 3838|      2|    PyObject *ns = _PyNamespace_New(abi_info);
 3839|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3840|      2|    return ns;
 3841|       |
 3842|      0|error:
 3843|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3844|      0|    Py_XDECREF(value);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3845|       |    return NULL;
 3846|      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|    125|{
  104|    125|    PyTime_t timeout;  // relative timeout
  105|    125|    if (microseconds >= 0) {
  ------------------
  |  Branch (105:9): [True: 125, 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|    125|        timeout = _PyTime_FromMicrosecondsClamp(microseconds);
  115|    125|    }
  116|      0|    else {
  117|      0|        timeout = -1;
  118|      0|    }
  119|       |
  120|    125|    _PyLockFlags flags = _Py_LOCK_DONT_DETACH;
  121|    125|    if (intr_flag) {
  ------------------
  |  Branch (121:9): [True: 0, False: 125]
  ------------------
  122|      0|        flags |= _PY_FAIL_IF_INTERRUPTED;
  123|      0|    }
  124|       |
  125|    125|    return _PyMutex_LockTimed((PyMutex *)lock, timeout, flags);
  126|    125|}
PyThread_release_lock:
  130|    125|{
  131|    125|    PyMutex_Unlock((PyMutex *)lock);
  ------------------
  |  |   70|    125|#define PyMutex_Unlock _PyMutex_Unlock
  ------------------
  132|    125|}
PyThread_acquire_lock:
  143|    125|{
  144|    125|    return PyThread_acquire_lock_timed(lock, waitflag ? -1 : 0, /*intr_flag=*/0);
  ------------------
  |  Branch (144:46): [True: 0, False: 125]
  ------------------
  145|    125|}
PyThread_GetInfo:
  310|      2|{
  311|      2|    PyObject *threadinfo, *value;
  312|      2|    int pos = 0;
  313|      2|#if (defined(_POSIX_THREADS) && defined(HAVE_CONFSTR) \
  314|      2|     && defined(_CS_GNU_LIBPTHREAD_VERSION))
  315|      2|    char buffer[255];
  316|      2|    int len;
  317|      2|#endif
  318|       |
  319|      2|    PyInterpreterState *interp = _PyInterpreterState_GET();
  320|      2|    if (_PyStructSequence_InitBuiltin(interp, &ThreadInfoType, &threadinfo_desc) < 0) {
  ------------------
  |  Branch (320:9): [True: 0, False: 2]
  ------------------
  321|      0|        return NULL;
  322|      0|    }
  323|       |
  324|      2|    threadinfo = PyStructSequence_New(&ThreadInfoType);
  325|      2|    if (threadinfo == NULL)
  ------------------
  |  Branch (325:9): [True: 0, False: 2]
  ------------------
  326|      0|        return NULL;
  327|       |
  328|      2|    value = PyUnicode_FromString(PYTHREAD_NAME);
  ------------------
  |  |   64|      2|#     define PYTHREAD_NAME "pthread"
  ------------------
  329|      2|    if (value == NULL) {
  ------------------
  |  Branch (329:9): [True: 0, False: 2]
  ------------------
  330|      0|        Py_DECREF(threadinfo);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  331|      0|        return NULL;
  332|      0|    }
  333|      2|    PyStructSequence_SET_ITEM(threadinfo, pos++, value);
  ------------------
  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  ------------------
  334|       |
  335|       |#ifdef HAVE_PTHREAD_STUBS
  336|       |    value = Py_NewRef(Py_None);
  337|       |#else
  338|      2|    value = PyUnicode_FromString("pymutex");
  339|      2|    if (value == NULL) {
  ------------------
  |  Branch (339:9): [True: 0, False: 2]
  ------------------
  340|      0|        Py_DECREF(threadinfo);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  341|      0|        return NULL;
  342|      0|    }
  343|      2|#endif
  344|      2|    PyStructSequence_SET_ITEM(threadinfo, pos++, value);
  ------------------
  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  ------------------
  345|       |
  346|      2|#if (defined(_POSIX_THREADS) && defined(HAVE_CONFSTR) \
  347|      2|     && defined(_CS_GNU_LIBPTHREAD_VERSION))
  348|      2|    value = NULL;
  349|      2|    len = confstr(_CS_GNU_LIBPTHREAD_VERSION, buffer, sizeof(buffer));
  350|      2|    if (1 < len && (size_t)len < sizeof(buffer)) {
  ------------------
  |  Branch (350:9): [True: 2, False: 0]
  |  Branch (350:20): [True: 2, False: 0]
  ------------------
  351|      2|        value = PyUnicode_DecodeFSDefaultAndSize(buffer, len-1);
  352|      2|        if (value == NULL)
  ------------------
  |  Branch (352:13): [True: 0, False: 2]
  ------------------
  353|      0|            PyErr_Clear();
  354|      2|    }
  355|      2|    if (value == NULL)
  ------------------
  |  Branch (355:9): [True: 0, False: 2]
  ------------------
  356|      0|#endif
  357|      0|    {
  358|      0|        value = Py_NewRef(Py_None);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  359|      0|    }
  360|      2|    PyStructSequence_SET_ITEM(threadinfo, pos++, value);
  ------------------
  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  ------------------
  361|      2|    return threadinfo;
  362|      2|}

_PyThread_cond_init:
  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.63k|PyThread_get_thread_ident_ex(void) {
  365|  3.63k|    volatile pthread_t threadid;
  366|  3.63k|    if (!initialized)
  ------------------
  |  |   45|  3.63k|#define initialized _PyRuntime.threads.initialized
  ------------------
  |  Branch (366:9): [True: 2, False: 3.62k]
  ------------------
  367|      2|        PyThread_init_thread();
  368|  3.63k|    threadid = pthread_self();
  369|  3.63k|    return _pthread_t_to_ident(threadid);
  370|  3.63k|}
PyThread_get_thread_ident:
  374|  1.82k|{
  375|  1.82k|    return (unsigned long) PyThread_get_thread_ident_ex();
  376|  1.82k|}
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(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.63k|_pthread_t_to_ident(pthread_t value) {
  309|       |// Cast through an integer type of the same size to avoid sign-extension.
  310|  3.63k|#if SIZEOF_PTHREAD_T == SIZEOF_VOID_P
  311|  3.63k|    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.63k|}

_PyTraceBack_FromFrame:
  305|    446|{
  306|    446|    assert(tb_next == NULL || PyTraceBack_Check(tb_next));
  ------------------
  |  Branch (306:5): [True: 361, False: 85]
  |  Branch (306:5): [True: 85, False: 0]
  ------------------
  307|    446|    assert(frame != NULL);
  ------------------
  |  Branch (307:5): [True: 446, False: 0]
  ------------------
  308|    446|    int addr = _PyInterpreterFrame_LASTI(frame->f_frame) * sizeof(_Py_CODEUNIT);
  ------------------
  |  |   19|    446|    ((int)((IF)->instr_ptr - _PyFrame_GetBytecode((IF))))
  ------------------
  309|    446|    return tb_create_raw((PyTracebackObject *)tb_next, frame, addr, -1);
  310|    446|}
PyTraceBack_Here:
  315|    446|{
  316|    446|    PyObject *exc = PyErr_GetRaisedException();
  317|    446|    assert(PyExceptionInstance_Check(exc));
  ------------------
  |  Branch (317:5): [True: 446, False: 0]
  ------------------
  318|    446|    PyObject *tb = PyException_GetTraceback(exc);
  319|    446|    PyObject *newtb = _PyTraceBack_FromFrame(tb, frame);
  320|    446|    Py_XDECREF(tb);
  ------------------
  |  |  524|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  321|    446|    if (newtb == NULL) {
  ------------------
  |  Branch (321:9): [True: 0, False: 446]
  ------------------
  322|      0|        _PyErr_ChainExceptions1(exc);
  323|      0|        return -1;
  324|      0|    }
  325|    446|    PyException_SetTraceback(exc, newtb);
  326|    446|    Py_XDECREF(newtb);
  ------------------
  |  |  524|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  327|    446|    PyErr_SetRaisedException(exc);
  328|    446|    return 0;
  329|    446|}
_Py_DumpTraceback_Init:
 1459|      2|{
 1460|       |#ifdef MS_WINDOWS
 1461|       |    if (pGetThreadDescription != NULL) {
 1462|       |        return;
 1463|       |    }
 1464|       |
 1465|       |    HMODULE kernelbase = GetModuleHandleW(L"kernelbase.dll");
 1466|       |    if (kernelbase != NULL) {
 1467|       |        pGetThreadDescription = (PF_GET_THREAD_DESCRIPTION)GetProcAddress(
 1468|       |                                    kernelbase, "GetThreadDescription");
 1469|       |    }
 1470|       |#endif
 1471|      2|}
traceback.c:tb_dealloc:
  235|    446|{
  236|    446|    PyTracebackObject *tb = _PyTracebackObject_CAST(op);
  ------------------
  |  |   66|    446|#define _PyTracebackObject_CAST(op)   ((PyTracebackObject *)(op))
  ------------------
  237|    446|    PyObject_GC_UnTrack(tb);
  238|    446|    Py_XDECREF(tb->tb_next);
  ------------------
  |  |  524|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  239|    446|    Py_XDECREF(tb->tb_frame);
  ------------------
  |  |  524|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  240|    446|    PyObject_GC_Del(tb);
  241|    446|}
traceback.c:tb_create_raw:
   80|    446|{
   81|    446|    PyTracebackObject *tb;
   82|    446|    if ((next != NULL && !PyTraceBack_Check(next)) ||
  ------------------
  |  |   14|     85|#define PyTraceBack_Check(v) Py_IS_TYPE((v), &PyTraceBack_Type)
  |  |  ------------------
  |  |  |  |  215|     85|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     85|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     85|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (82:10): [True: 85, False: 361]
  |  Branch (82:26): [True: 0, False: 85]
  ------------------
   83|    446|                    frame == NULL || !PyFrame_Check(frame)) {
  ------------------
  |  |    8|    446|#define PyFrame_Check(op) Py_IS_TYPE((op), &PyFrame_Type)
  |  |  ------------------
  |  |  |  |  215|    446|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    446|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    446|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (83:21): [True: 0, False: 446]
  |  Branch (83:38): [True: 0, False: 446]
  ------------------
   84|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
   85|      0|        return NULL;
   86|      0|    }
   87|    446|    tb = PyObject_GC_New(PyTracebackObject, &PyTraceBack_Type);
  ------------------
  |  |  181|    446|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|    446|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   88|    446|    if (tb != NULL) {
  ------------------
  |  Branch (88:9): [True: 446, False: 0]
  ------------------
   89|    446|        tb->tb_next = (PyTracebackObject*)Py_XNewRef(next);
  ------------------
  |  |  551|    446|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    446|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    446|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   90|    446|        tb->tb_frame = (PyFrameObject*)Py_XNewRef(frame);
  ------------------
  |  |  551|    446|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    446|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    446|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   91|    446|        tb->tb_lasti = lasti;
   92|    446|        tb->tb_lineno = lineno;
   93|    446|        PyObject_GC_Track(tb);
   94|    446|    }
   95|    446|    return (PyObject *)tb;
   96|    446|}

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

fuzzer.c:Py_XDECREF:
  518|     37|{
  519|     37|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     37|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 0, False: 37]
  ------------------
  520|      0|        Py_DECREF(op);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|      0|    }
  522|     37|}
fuzzer.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: 0, False: 37]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|     37|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     37|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     37|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 37, False: 0]
  ------------------
  427|     37|        _Py_Dealloc(op);
  428|     37|    }
  429|     37|}
fuzzer.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|}

